const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["static/js/mqtt-client-Sc9xn8Sf.js","static/js/_commonjs-dynamic-modules-TDtrdbi3.js","static/js/verify-DOowU97F.js","static/css/verify-D7Xq3bdT.css","static/js/index-DFq0u5mz.js","static/js/print-B-zH8tbv.js","static/js/pieChart.vue_vue_type_script_setup_true_lang-BDPDJGdG.js","static/css/index-MR8Je6N3.css","static/js/excel-Cbu_THFh.js","static/js/xlsx-CX_Vxrsw.js","static/js/draggable-Bqrv092C.js","static/js/sortable.esm-C0jtZaAC.js","static/js/app-lkb3k0tK.js","static/css/draggable-CkjxYQjO.css","static/js/qrcode-CpVRjG5m.js","static/js/index-C7xX7N_B.js","static/js/propTypes-B9jTUFW5.js","static/js/refresh-right-B34i53Qb.js","static/css/index-DEdeVkvZ.css","static/js/map-CeN1uya_.js","static/js/mock-uCYiN2SS.js","static/css/map-U0WP8MiH.css","static/js/video-CJhuHHlE.js","static/js/hooks-C4kBTCXq.js","static/css/video-DrpZ9hrK.css","static/js/index-BXZkxjri.js","static/js/mitt-E5P-NQ8u.js","static/css/index-BwRqNHSH.css","static/js/index-CzXthEua.js","static/css/index-E6vuhlVN.css","static/js/menu-tree-Btwjzzcq.js","static/js/line-tree-DX4FSN4g.js","static/css/line-tree-CancgMuV.css","static/js/typeit-DXcvtEfR.js","static/js/index-B7A1cOix.js","static/js/pinyin-Dcqh83tL.js","static/js/index-BRdRAY24.js","static/css/pinyin-Bez_7T2V.css","static/js/index-qSECcA1F.js","static/js/columns-BCMD5k9D.js","static/css/index-BX-lb-H3.css","static/js/frame-27tEfk9B.js","static/css/frame-CmNEg7RX.css","static/js/index-p_fPHxdJ.js","static/js/ChatGPT.vue_vue_type_script_setup_true_lang-DUnhnwFQ.js","static/js/deepChat-BEyU0r4q.js","static/js/Bard.vue_vue_type_script_setup_true_lang-Bw36F7ZM.js","static/js/Bing.vue_vue_type_script_setup_true_lang-D1ivd-Pq.js","static/js/iMessage.vue_vue_type_script_setup_true_lang-CTruYETa.js","static/js/Blue.vue_vue_type_script_setup_true_lang-Cll-RS2_.js","static/js/LoFi.vue_vue_type_script_setup_true_lang-h6m1fLsX.js","static/js/Red.vue_vue_type_script_setup_true_lang-BQYYCJ7C.js","static/js/Dark.vue_vue_type_script_setup_true_lang-RCfUWO6y.js","static/js/FullInput.vue_vue_type_script_setup_true_lang-BYAMVAiW.js","static/js/Group.vue_vue_type_script_setup_true_lang-iA074iZM.js","static/js/MessageCode.vue_vue_type_script_setup_true_lang-BSCqQINX.js","static/js/Speech.vue_vue_type_script_setup_true_lang-BTJfeRGS.js","static/js/IntroPanel.vue_vue_type_script_setup_true_lang-C_Cxe7Xi.js","static/css/index-nL5LWf3E.css","static/js/index-DozWJnEX.js","static/css/index-B4NaUdkD.css","static/js/index-DaaD5E6f.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-envrI0Gj.js","static/js/form.vue_vue_type_script_setup_true_lang-DiVWWKUF.js","static/css/index-Bl3aozTN.css","static/js/index-BAolTmmn.js","static/js/formPrimitive.vue_vue_type_script_setup_true_lang-ZpvmMH4v.js","static/js/form.vue_vue_type_script_setup_true_lang-B-O6BfG4.js","static/js/message-Df8EDRnV.js","static/js/check-CKgW9oji.js","static/js/index-CzNN_2eE.js","static/js/form.vue_vue_type_script_setup_true_lang-Dnnu_v7y.js","static/css/index-CZbnyStL.css","static/js/check-card-COl_wCu0.js","static/js/_plugin-vue_export-helper-BvWjx8-P.js","static/css/_plugin-vue_export-helper-DzyELQg4.css","static/css/check-card-BkDVN1p1.css","static/js/date-picker-DzoDK41m.js","static/css/date-picker-CsUbb_EJ.css","static/js/datetime-picker-poDSNwkp.js","static/css/datetime-picker-BZznROGk.css","static/js/animatecss-qNNYryWi.js","static/js/index-CxsXdKf6.js","static/css/index-BqymwgzK.css","static/js/index-DDcrUGN6.js","static/js/index-DZcHBZsy.js","static/css/index-Da3WRaVc.css","static/js/segmented-The-hDyj.js","static/js/index-DA1fIhPd.js","static/css/index-BqdLbzFO.css","static/css/segmented-BTT6XxPx.css","static/js/text-K0_2uqCF.js","static/js/index-CMp5vqOH.js","static/css/text-D8L6wWhI.css","static/js/index-DnlThzFs.js","static/js/Base-B6ViIGzO.js","static/css/Base-CvyTKP02.css","static/js/Step-C2fntjba.js","static/css/Step-CQkAA8uA.css","static/js/Size-zp7Nup9c.js","static/css/Size-BTvQUni1.css","static/js/Input-BrdEnxfr.js","static/css/Input-C-Ay-chQ.css","static/js/Range-CmcgoKhd.js","static/css/Range-B-X_OsbP.css","static/js/Marks-DjEHrXCI.js","static/css/Marks-C4o5EcK-.css","static/js/Vertical-ktAIs_BA.js","static/css/Vertical-Ck7GD_Lu.css","static/js/Placement--irb3039.js","static/css/Placement-CyfF6boe.css","static/js/el-button-BfSindnz.js","static/css/el-button-BXinA3Nk.css","static/js/check-button-Cx3Xukja.js","static/css/check-button-QgQMtLuf.css","static/js/progress-CnoEAonf.js","static/css/progress-hMPf9UwJ.css","static/js/tag-BF8pa4Rk.js","static/css/tag-CKWhDps9.css","static/js/statistic-BOXRkNmg.js","static/js/index-BW-F7XKS.js","static/css/statistic-Doe5hmXg.css","static/js/selector-_-SytHB7.js","static/css/selector-CurZcDK6.css","static/js/index-ftG5Mnug.js","static/js/back_top-Ctpb-oet.js","static/css/index-BqK4HMjy.css","static/js/split-pane-CjbRIbT_.js","static/css/split-pane-Cab_Lk_s.css","static/js/swiper-D5pNQct5.js","static/css/swiper-CSm_VK9R.css","static/js/timeline-D1CD9Sje.js","static/js/index-sh5CyvH8.js","static/css/index-C3dUIcUV.css","static/js/iphone-GwvMyzqL.js","static/css/timeline-DAnBWWSW.css","static/js/count-to-D_v9wKOA.js","static/js/index-hjERQJl8.js","static/css/index-CD87VaJl.css","static/js/index-CpGD2SWR.js","static/js/basic-Djs25ZFg.js","static/js/index.esm-Cqn94WpY.js","static/css/basic-C5XQqVzN.css","static/js/menuGroup-D3TIpT-_.js","static/css/menuGroup-B-BL1fj1.css","static/js/menuDynamic-CPFio7bI.js","static/css/menuDynamic-B0cluslQ.css","static/css/index-CVMtTQsw.css","static/js/json-editor-SCf8kPEU.js","static/js/vue-json-pretty-D2MQltt8.js","static/css/vue-json-pretty-BoGhiunL.css","static/js/seamless-scroll-D8YzBxVH.js","static/css/seamless-scroll-BKnQysaB.css","static/js/index-DN2W9B9T.js","static/js/vertical-CaNMQ94a.js","static/js/vue-virtual-scroller.esm-DRPTSZUi.js","static/css/vertical-hk-wt-0r.css","static/js/horizontal-iahJxnUc.js","static/css/horizontal-hvhRWrVl.css","static/css/index-fqa9z_3o.css","static/js/index-CkbqxxeV.js","static/js/EditorBase.vue_vue_type_script_setup_true_lang-CQy2o7Kr.js","static/js/index.esm-DzZ11tjS.js","static/css/index-D4OmdPqt.css","static/js/EditorMulti.vue_vue_type_script_setup_true_lang-Be7mNs1s.js","static/js/EditorUpload.vue_vue_type_script_setup_true_lang-3hyduvUs.js","static/css/index-CgnB0p8d.css","static/js/403-BThdJqDf.js","static/css/403-DjuzhhlE.css","static/js/404-DZGbVnnT.js","static/css/404-DgQozwK4.css","static/js/500-B5lh3OV9.js","static/css/500-d2Um_kna.css","static/js/index-DHr4p8tD.js","static/js/orderBy-CtZOTclR.js","static/css/index-D5pVr0Gg.css","static/js/index-BOqSFRAI.js","static/js/list-BAYuMefX.js","static/js/base.vue_vue_type_script_setup_true_lang-CT2gpqeU.js","static/js/plus-form-lx6s0Wbl.js","static/css/plus-form-KrAO8LVL.css","static/js/dialog.vue_vue_type_script_setup_true_lang-Y5oIpHEU.js","static/css/dialog-CdP95UHP.css","static/css/el-overlay-Db7iXMEX.css","static/js/drawer.vue_vue_type_script_setup_true_lang-BHCv2Xem.js","static/css/drawer-Bos53tqY.css","static/js/steps.vue_vue_type_script_setup_true_lang-bWAkw7Jc.js","static/css/steps-DwTMGW5-.css","static/js/search.vue_vue_type_script_setup_true_lang-CWykdm_0.js","static/css/search-Bvhzmlqj.css","static/css/index-CZM_Qj6k.css","static/js/index-BgTlcszz.js","static/css/index-Cbxzk3GH.css","static/js/index-Cii3cJrL.js","static/js/useDataThemeChange-BzWZKz94.js","static/js/epTheme-BQJVtvjH.js","static/js/close-BSK2DRUt.js","static/js/arrow-right-s-line-BDE7yvWJ.js","static/js/SidebarTopCollapse.vue_vue_type_script_setup_true_lang-Bny42Xj4.js","static/js/dark-BvP4YzWc.js","static/js/user-DNtD0Fqa.js","static/css/index-DIdKoHdA.css","static/js/index-BADhr3lz.js","static/js/index-QMwIMez5.js","static/js/columns-BZ1SU_ps.js","static/css/index-D0OasfMX.css","static/js/ChartBar.vue_vue_type_script_setup_true_lang-CA4CI5qW.js","static/js/ChartLine.vue_vue_type_script_setup_true_lang-Bdk8Ay9j.js","static/js/ChartRound.vue_vue_type_script_setup_true_lang-C8MrEp3z.js","static/css/index-ORthQlP7.css","static/js/index-BLfvrcic.js","static/js/ListCard-Bv3_pQbZ.js","static/css/ListCard-C7Hmu4EH.css","static/js/ListDialogForm.vue_vue_type_script_setup_true_lang-CkAmYyUO.js","static/js/add-circle-line-BJgyIw1B.js","static/js/index-D0S7hPTT.js","static/js/Vditor.vue_vue_type_script_setup_true_lang-DC77SeAs.js","static/css/Vditor-jt99y-AH.css","static/js/success-Bj1M0zgF.js","static/css/success-BDjNe3wl.css","static/js/fail-DF2TM2lA.js","static/js/columns-DaxgCDDg.js","static/css/fail-ClCMK4Bk.css","static/js/index-WfoFp6RH.js","static/js/list-DncDgPoz.js","static/js/base.vue_vue_type_script_setup_true_lang-DRkKjA2-.js","static/js/data-CbaamCJW.js","static/js/stripe.vue_vue_type_script_setup_true_lang-CsT5FA8N.js","static/js/border.vue_vue_type_script_setup_true_lang-CwcWuV1M.js","static/js/status.vue_vue_type_style_index_0_lang-Dd_EJBna.js","static/css/status-_5fTMTfK.css","static/js/fixHeader.vue_vue_type_script_setup_true_lang-fjTqVsAt.js","static/js/fixColumn.vue_vue_type_script_setup_true_lang-BGTGv9N8.js","static/js/fluidHeight.vue_vue_type_script_setup_true_lang-DM1zwT16.js","static/js/groupHeader.vue_vue_type_script_setup_true_lang-Rnihfmgw.js","static/js/radio.vue_vue_type_script_setup_true_lang-F9lrUo0V.js","static/js/multipleChoice.vue_vue_type_script_setup_true_lang-Ds6_vLbu.js","static/js/sortable.vue_vue_type_script_setup_true_lang-CQ94Cw2F.js","static/js/filters.vue_vue_type_script_setup_true_lang-CBJ37q6y.js","static/js/index.vue_vue_type_script_setup_true_lang-tr8l6coV.js","static/js/columns-DFvDVkkP.js","static/js/index.vue_vue_type_script_setup_true_lang-CoTrhM2I.js","static/js/columns-IjjXDFet.js","static/js/expand.vue_vue_type_script_setup_true_lang-B56jQ6kQ.js","static/js/tree.vue_vue_type_script_setup_true_lang-zjF6H7KE.js","static/js/totalRow.vue_vue_type_script_setup_true_lang-DzqV93Wu.js","static/js/merge.vue_vue_type_script_setup_true_lang-CzhO_Je5.js","static/js/customIndex.vue_vue_type_script_setup_true_lang-BKDznrP3.js","static/js/layout.vue_vue_type_script_setup_true_lang-61pja0gi.js","static/js/nestProp.vue_vue_type_script_setup_true_lang-CghwQQWM.js","static/js/imgPreview.vue_vue_type_script_setup_true_lang-DJOWaDIP.js","static/css/index-Bx84EpEE.css","static/js/high-BZSckjwz.js","static/js/list-Chnq8RCl.js","static/js/index.vue_vue_type_script_setup_true_lang-CrlXGcgL.js","static/js/columns-E8e9vdZg.js","static/js/data-CimY_HfV.js","static/js/index.vue_vue_type_script_setup_true_lang-CVVzEwdf.js","static/js/columns-6FbcXbbn.js","static/js/index.vue_vue_type_script_setup_true_lang-C204_0kb.js","static/js/columns-Co830Z6n.js","static/js/index.vue_vue_type_script_setup_true_lang-CveEhubf.js","static/js/columns-BH4lC5Xs.js","static/js/index.vue_vue_type_script_setup_true_lang-CunI8zWK.js","static/js/columns-C8sNvk7-.js","static/js/index.vue_vue_type_script_setup_true_lang-ChKQsqpD.js","static/js/columns-Dux98s8F.js","static/js/index.vue_vue_type_script_setup_true_lang-BIHMw_cJ.js","static/js/columns-YcPj0Tnd.js","static/js/index.vue_vue_type_script_setup_true_lang-DA7H9Thb.js","static/js/columns-BkKS_zx_.js","static/js/index.vue_vue_type_script_setup_true_lang-CdfgUkFA.js","static/js/columns-DjU_PhZg.js","static/js/index.vue_vue_type_script_setup_true_lang-MYVDRBOh.js","static/js/columns-BX8OT0uL.js","static/js/index.vue_vue_type_script_setup_true_lang-2M9IqA2s.js","static/js/index.vue_vue_type_script_setup_true_lang-D2uQ3LrM.js","static/js/columns-C5D32AQ4.js","static/js/index.vue_vue_type_script_setup_true_lang-CN4Ao7Ik.js","static/js/columns-Da6rquXr.js","static/css/high-BRYurAPu.css","static/js/edit-BOqqajPS.js","static/js/list-Cm-310uI.js","static/js/index-D443zIbS.js","static/js/columns-Tw5Sz8IJ.js","static/js/data-Dd4sCrbk.js","static/js/delete-DLENhwab.js","static/css/index--YYZbQ6A.css","static/js/index.vue_vue_type_script_setup_true_lang-1iij0Gf-.js","static/js/columns-BCq8KP4Y.js","static/js/index.vue_vue_type_script_setup_true_lang-Bpi-zfd7.js","static/js/columns-C5PtkViZ.js","static/js/edit-pen--9aHPIhe.js","static/css/edit-D5wroTKx.css","static/js/virtual-ahwVDe9r.js","static/js/list-Dh84jNlI.js","static/js/list.vue_vue_type_script_setup_true_lang-CU-cZoWU.js","static/js/index-BFRabFyR.js","static/js/collapse-CL0kI0zP.js","static/js/treeList.vue_vue_type_script_setup_true_lang-CTBjUGm1.js","static/js/pageList.vue_vue_type_script_setup_true_lang-C-gUhMHZ.js","static/css/virtual-Ce-m8Wi9.css","static/js/index-D19Fh9w8.js","static/js/icon.vue_vue_type_script_setup_true_lang-CK6vz8c2.js","static/js/vue-flow-core-B83_Jvqk.js","static/js/processNode-DXYIM2sn.js","static/css/processNode-CUdgA8dL.css","static/js/animationEdge-DfDHx4Cy.js","static/css/animationEdge-DPFosjk8.css","static/css/index-DRKAA_g7.css","static/js/pieChart-DIl1qZPx.js","static/js/AccountManagement-erU7X-o3.js","static/css/AccountManagement-nCjwHfvs.css","static/js/Preferences-2p_vkBon.js","static/css/Preferences-CESP4J6m.css","static/js/Profile-CJMDvfng.js","static/js/Profile.vue_vue_type_script_setup_true_lang-BroyFW0-.js","static/js/index-BqHwJSpd.js","static/js/upload-line-DJwupR3C.js","static/js/SecurityLog-CpaRHaeA.js","static/js/SecurityLog.vue_vue_type_script_setup_true_lang-D16F1A95.js","static/js/index-BtgV6yhb.js","static/css/index-Bq15aacC.css","static/js/Bard-CUrONFr0.js","static/js/Bing-DB1WNtQ6.js","static/js/Blue-BJVUGAJD.js","static/js/ChatGPT-CnqsmGx1.js","static/js/Dark-D87-Gp4Q.js","static/js/FullInput-Db-INc2M.js","static/js/Group-CRmihqel.js","static/js/IntroPanel-BewixsBc.js","static/js/LoFi-CelIhZPx.js","static/js/MessageCode-B-malaud.js","static/js/Red-BmZj9Wku.js","static/js/Speech-0XE_-3Ya.js","static/js/iMessage-UGuvZEx6.js","static/js/form-XhS-hJj6.js","static/js/formPrimitive-C7AK8lCF.js","static/js/form-ChetleQW.js","static/js/formPrimitive-DoLtHKSd.js","static/js/form-BWZPkTT7.js","static/js/EditorBase-_9JD7HdF.js","static/js/EditorMulti-ZjDhV5Ln.js","static/js/EditorUpload-DlEEeOer.js","static/js/index-C1vmMvJf.js","static/css/index-Cb5Asd10.css","static/js/ListDialogForm-Cmyk4lcL.js","static/js/LoginPhone-C4qE1fY0.js","static/js/LoginPhone.vue_vue_type_script_setup_true_lang-CPWdO7n4.js","static/js/motion-DymKPkI6.js","static/js/shield-keyhole-line-RqULjeQP.js","static/js/LoginQrCode-WzKn31Oa.js","static/js/LoginQrCode.vue_vue_type_script_setup_true_lang-ChFymih6.js","static/js/LoginRegist-DkrJnulW.js","static/js/LoginRegist.vue_vue_type_script_setup_true_lang-BoImkDNp.js","static/js/lock-fill-CZPfIn7m.js","static/js/LoginUpdate-CAav4qkJ.js","static/js/LoginUpdate.vue_vue_type_script_setup_true_lang-DZE9GeET.js","static/js/index-B37DTkB7.js","static/css/index-B2SakfsR.css","static/js/Vditor-C1-PJr9J.js","static/js/hook-vjQUFhrt.js","static/js/system-DfIZYZP3.js","static/js/hooks-CQjlkAR3.js","static/js/index-BYSX_s1V.js","static/js/utils-DClTvWi2.js","static/js/refresh-Cv3uEVag.js","static/css/index-DZp9LCAa.css","static/js/hook-o8LkLqkD.js","static/js/index-CGBPBZKy.js","static/css/index-CpabudI_.css","static/js/detail-CpwDVnfw.js","static/js/detail.vue_vue_type_script_setup_true_lang-DCDxyxBI.js","static/js/hook-mVXKTmwz.js","static/js/index-DZkE9mty.js","static/css/index-Bf7QLXUD.css","static/js/hook-T2zu8UwG.js","static/js/index-DgZAzOx5.js","static/css/index-CkCHzXgc.css","static/js/base-NIyocvcb.js","static/js/dialog-DOdjG8vw.js","static/js/drawer-CjBW9ZEc.js","static/js/search-Ivol7uH4.js","static/js/steps-C7hCCa9U.js","static/js/form-Bu7vjxKz.js","static/js/form.vue_vue_type_script_setup_true_lang-ueZujfPZ.js","static/js/index-DokCKo3X.js","static/js/hook-Bo4mTqKY.js","static/css/index-CeyzIkJE.css","static/js/form-QkAhPzun.js","static/js/form.vue_vue_type_script_setup_true_lang-CCWsc7iE.js","static/js/index-BP_2Po0B.js","static/js/hook-0o-l3QlN.js","static/css/index-bGfywB5C.css","static/js/form-dw1N_6zM.js","static/js/form.vue_vue_type_script_setup_true_lang-Do5faSpP.js","static/js/index-DbBdS_zJ.js","static/js/hook-8GBswN7i.js","static/css/index-B4hWjknw.css","static/js/index-CV1fDce5.js","static/js/index.vue_vue_type_script_setup_true_lang-CxHjEnuB.js","static/js/role-Dj7qD1Py.js","static/js/role.vue_vue_type_script_setup_true_lang-CRevZI54.js","static/js/index-DutAAXSa.js","static/js/tree-B3TMLujF.js","static/css/tree-C9uMN1qs.css","static/js/hook-XcVoGmdm.js","static/css/hook-B8poJyYs.css","static/css/index-D8-QJyrm.css","static/js/base-BAUqhzDl.js","static/js/border-XHwFvw_3.js","static/js/index-BHz4DkUU.js","static/js/customIndex-MAn7lTDy.js","static/js/expand-gEOqSVCT.js","static/js/filters-yjKHHC7G.js","static/js/fixColumn-B5uLFblj.js","static/js/fixHeader-BcULCst8.js","static/js/fluidHeight-CkT-WiWv.js","static/js/groupHeader-CynvKxf8.js","static/js/index-DcjkgMgQ.js","static/js/imgPreview-CtChgn4F.js","static/js/layout-zxBy7av2.js","static/js/merge-JcZI81hY.js","static/js/multipleChoice-mwKsE9l3.js","static/js/nestProp-CCFfiNNN.js","static/js/radio-BHXLXKin.js","static/js/sortable-DyLgl5CC.js","static/js/status-BnlQoqtB.js","static/js/stripe-CwFLOgZY.js","static/js/totalRow-CasqnBMj.js","static/js/tree-BJbOioXq.js","static/js/index-D2FwtJM0.js","static/js/index-BPzdT-ZB.js","static/js/index-CBkixIAi.js","static/js/index-D2vd9Bys.js","static/js/index-96YrXFGk.js","static/js/index-C6ae8Pqu.js","static/js/index-DYD4nA5m.js","static/js/index-B1-HkTz7.js","static/js/index-XkZbPwyG.js","static/js/index-CmD7wFlk.js","static/js/index-D2uaAcuU.js","static/js/index-LwpIg9P9.js","static/js/index-CtuKU5lF.js","static/js/index-DpPXH8K5.js","static/js/index-DiYVcHrJ.js","static/js/list-CdtWHWIH.js","static/js/pageList-C7lFRefv.js","static/js/treeList-CxLmuMkw.js","static/js/index-nm8rWJoe.js","static/js/hooks-CmXl1DPj.js","static/js/params-detail-B6FtTXP7.js","static/js/query-detail-Bxd6mkWF.js","static/js/icon-cOCPUWNt.js","static/js/ChartBar-CYFTGgBE.js","static/js/ChartLine-B808V1mp.js","static/js/ChartRound-DnIH2qp2.js"])))=>i.map(i=>d[i]); var w5e=Object.defineProperty,S5e=Object.defineProperties;var A5e=Object.getOwnPropertyDescriptors;var P4=Object.getOwnPropertySymbols;var JV=Object.prototype.hasOwnProperty,XV=Object.prototype.propertyIsEnumerable;var yv=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),D5e=e=>{throw TypeError(e)},Gl=Math.pow,fE=(e,t,n)=>t in e?w5e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Te=(e,t)=>{for(var n in t||(t={}))JV.call(t,n)&&fE(e,n,t[n]);if(P4)for(var n of P4(t))XV.call(t,n)&&fE(e,n,t[n]);return e},Et=(e,t)=>S5e(e,A5e(t));var Fo=(e,t)=>{var n={};for(var r in e)JV.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&P4)for(var r of P4(e))t.indexOf(r)<0&&XV.call(e,r)&&(n[r]=e[r]);return n};var Hn=(e,t,n)=>fE(e,typeof t!="symbol"?t+"":t,n);var Xt=(e,t,n)=>new Promise((r,a)=>{var i=s=>{try{l(n.next(s))}catch(u){a(u)}},o=s=>{try{l(n.throw(s))}catch(u){a(u)}},l=s=>s.done?r(s.value):Promise.resolve(s.value).then(i,o);l((n=n.apply(e,t)).next())}),Hp=function(e,t){this[0]=e,this[1]=t},pE=(e,t,n)=>{var r=(o,l,s,u)=>{try{var c=n[o](l),d=(l=c.value)instanceof Hp,f=c.done;Promise.resolve(d?l[0]:l).then(p=>d?r(o==="return"?o:"next",l[1]?{done:p.done,value:p.value}:p,s,u):s({value:p,done:f})).catch(p=>r("throw",p,s,u))}catch(p){u(p)}},a=o=>i[o]=l=>new Promise((s,u)=>r(o,l,s,u)),i={};return n=n.apply(e,t),i[yv("asyncIterator")]=()=>i,a("next"),a("throw"),a("return"),i},Pg=e=>{var t=e[yv("asyncIterator")],n=!1,r,a={};return t==null?(t=e[yv("iterator")](),r=i=>a[i]=o=>t[i](o)):(t=t.call(e),r=i=>a[i]=o=>{if(n){if(n=!1,i==="throw")throw o;return o}return n=!0,{done:!1,value:new Hp(new Promise(l=>{var s=t[i](o);s instanceof Object||D5e("Object expected"),l(s)}),1)}}),a[yv("iterator")]=()=>a,r("next"),"throw"in t?r("throw"):a.throw=i=>{throw i},"return"in t&&r("return"),a},ZV=(e,t,n)=>(t=e[yv("asyncIterator")])?t.call(e):(e=e[yv("iterator")](),t={},n=(r,a)=>(a=e[r])&&(t[r]=i=>new Promise((o,l,s)=>(i=a.call(e,i),s=i.done,Promise.resolve(i.value).then(u=>o({value:u,done:s}),l)))),n("next"),n("return"),t);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();window.__VITE__PLUGIN__FAKE__SERVER__={meta:{name:"vite-plugin-fake-server",type:"module",version:"2.2.2",description:"A fake server plugin for Vite.",author:"Condor Hero",license:"MIT",homepage:"https://github.com/condorheroblog/vite-plugin-fake-server/blob/main/README.md",repository:{type:"git",url:"git+https://github.com/condorheroblog/vite-plugin-fake-server.git",directory:"packages/vite-plugin-fake-server"},bugs:{url:"https://github.com/condorheroblog/vite-plugin-fake-server/issues"},keywords:["vite-plugin-fake-server","vite-plugin-fake","vite-plugin-faker","vite-plugin-mock-server","vite-plugin-mock","faker-server"],exports:{".":{import:"./dist/index.mjs",require:"./dist/index.cjs"},"./client":{import:"./dist/client.mjs",require:"./dist/client.cjs"}},main:"dist/index.cjs",module:"dist/index.mjs",types:"dist/index.d.cts",typesVersions:{"*":{"*":["./dist/*","./dist/index.d.ts"]}},files:["dist"],scripts:{prepublishOnly:"nr build",test:"vitest",dev:"esno ./src/index.ts",build:"rimraf dist && rollup -c","build:watch":"rimraf dist && rollup -c -w",typecheck:"tsc --noEmit"},dependencies:{"bundle-import":"^0.0.2",chokidar:"^4.0.3","path-to-regexp":"^8.3.0",picocolors:"^1.1.1",tinyglobby:"^0.2.15"},devDependencies:{vite:"^7.1.12"},publishConfig:{access:"public",registry:"https://registry.npmjs.org"}},vitePluginFakeServerOptions:{include:["mock"],exclude:[],infixName:!1,extensions:["ts","js","mjs","cjs","cts","mts"],enableProd:!0,enableDev:!0,watch:!0,logger:!1,basename:"",headers:{},build:!1,http2:!0}};const T5e=0,k5e=1,_5e=2,x5e=3,M5e=4,B5e=5,R5e=6,L5e=7,O5e=8,P5e=9,I5e=10,N5e=11,$5e=12,V5e=13,H5e=14,z5e=15,W5e=16,G5e=17,j5e=18,K5e=19,U5e=20,q5e=21,Y5e=22,J5e=23,X5e=24,Z5e=25,Q5e=26,e4e=27,t4e={path:"/system",meta:{icon:"ri:settings-3-line",title:"menus.pureSysManagement",rank:H5e},children:[{path:"/system/user/index",name:"SystemUser",meta:{icon:"ri:admin-line",title:"menus.pureUser",roles:["admin"]}},{path:"/system/role/index",name:"SystemRole",meta:{icon:"ri:admin-fill",title:"menus.pureRole",roles:["admin"]}},{path:"/system/menu/index",name:"SystemMenu",meta:{icon:"ep:menu",title:"menus.pureSystemMenu",roles:["admin"]}},{path:"/system/dept/index",name:"SystemDept",meta:{icon:"ri:git-branch-line",title:"menus.pureDept",roles:["admin"]}}]},n4e={path:"/monitor",meta:{icon:"ep:monitor",title:"menus.pureSysMonitor",rank:z5e},children:[{path:"/monitor/online-user",component:"monitor/online/index",name:"OnlineUser",meta:{icon:"ri:user-voice-line",title:"menus.pureOnlineUser",roles:["admin"]}},{path:"/monitor/login-logs",component:"monitor/logs/login/index",name:"LoginLog",meta:{icon:"ri:window-line",title:"menus.pureLoginLog",roles:["admin"]}},{path:"/monitor/operation-logs",component:"monitor/logs/operation/index",name:"OperationLog",meta:{icon:"ri:history-fill",title:"menus.pureOperationLog",roles:["admin"]}},{path:"/monitor/system-logs",component:"monitor/logs/system/index",name:"SystemLog",meta:{icon:"ri:file-search-line",title:"menus.pureSystemLog",roles:["admin"]}}]},r4e={path:"/permission",meta:{title:"menus.purePermission",icon:"ep:lollipop",rank:V5e},children:[{path:"/permission/page/index",name:"PermissionPage",meta:{title:"menus.purePermissionPage",roles:["admin","common"]}},{path:"/permission/button",meta:{title:"menus.purePermissionButton",roles:["admin","common"]},children:[{path:"/permission/button/router",component:"permission/button/index",name:"PermissionButtonRouter",meta:{title:"menus.purePermissionButtonRouter",auths:["permission:btn:add","permission:btn:edit","permission:btn:delete"]}},{path:"/permission/button/login",component:"permission/button/perms",name:"PermissionButtonLogin",meta:{title:"menus.purePermissionButtonLogin"}}]}]},a4e={path:"/iframe",meta:{icon:"ri:links-fill",title:"menus.pureExternalPage",rank:N5e},children:[{path:"/iframe/embedded",meta:{title:"menus.pureEmbeddedDoc"},children:[{path:"/iframe/colorhunt",name:"FrameColorHunt",meta:{title:"menus.pureColorHuntDoc",frameSrc:"https://colorhunt.co/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/uigradients",name:"FrameUiGradients",meta:{title:"menus.pureUiGradients",frameSrc:"https://uigradients.com/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/ep",name:"FrameEp",meta:{title:"menus.pureEpDoc",frameSrc:"https://element-plus.org/zh-CN/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/tailwindcss",name:"FrameTailwindcss",meta:{title:"menus.pureTailwindcssDoc",frameSrc:"https://tailwindcss.com/docs/installation",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/vue3",name:"FrameVue",meta:{title:"menus.pureVueDoc",frameSrc:"https://cn.vuejs.org/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/vite",name:"FrameVite",meta:{title:"menus.pureViteDoc",frameSrc:"https://cn.vitejs.dev/",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/pinia",name:"FramePinia",meta:{title:"menus.purePiniaDoc",frameSrc:"https://pinia.vuejs.org/zh/index.html",keepAlive:!0,roles:["admin","common"]}},{path:"/iframe/vue-router",name:"FrameRouter",meta:{title:"menus.pureRouterDoc",frameSrc:"https://router.vuejs.org/zh/",keepAlive:!0,roles:["admin","common"]}}]},{path:"/iframe/external",meta:{title:"menus.pureExternalDoc"},children:[{path:"/external",name:"https://pure-admin.cn/",meta:{title:"menus.pureExternalLink",roles:["admin","common"]}},{path:"/pureUtilsLink",name:"https://pure-admin-utils.netlify.app/",meta:{title:"menus.pureUtilsLink",roles:["admin","common"]}}]}]},i4e={path:"/tabs",meta:{icon:"ri:bookmark-2-line",title:"menus.pureTabs",rank:W5e},children:[{path:"/tabs/index",name:"Tabs",meta:{title:"menus.pureTabs",roles:["admin","common"]}},{path:"/tabs/query-detail",name:"TabQueryDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}},{path:"/tabs/params-detail/:id",component:"params-detail",name:"TabParamsDetail",meta:{showLink:!1,activePath:"/tabs/index",roles:["admin","common"]}}]},o4e=[{url:"/get-async-routes",method:"get",response:()=>({code:0,message:"操作成功",data:[t4e,n4e,r4e,a4e,i4e]})}],l4e=Object.freeze(Object.defineProperty({__proto__:null,default:o4e},Symbol.toStringTag,{value:"Module"})),s4e=[{url:"/get-card-list",method:"post",response:()=>({code:0,message:"操作成功",data:{list:[{index:1,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:2,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:3,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:4,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:5,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:6,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:7,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:8,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:9,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:10,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:11,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:12,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:13,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:14,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:15,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:16,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:17,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:18,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"云数据库",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:19,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:20,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:21,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:22,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:23,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:24,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"人脸识别",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:25,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:26,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:27,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:28,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:29,isSetup:!1,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:30,isSetup:!0,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:31,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:32,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:33,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:34,isSetup:!1,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:35,isSetup:!1,type:1,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"云数据库",description:"基于腾讯优图强大的面部分析技术,提供包括人脸检测与分析、五官定位、人脸搜索、人脸比对、人脸"},{index:36,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/face-recognition.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:37,isSetup:!0,type:5,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"CVM",description:"云数据库MySQL为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。"},{index:38,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"云数据库",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:39,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"人脸识别",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:40,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"CVM",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:41,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:42,isSetup:!0,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"T-Sec 云防火墙",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:43,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-db.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:44,isSetup:!0,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/t-sec.jpg",name:"SSL证书",description:"云硬盘为您提供用于CVM的持久性数据块级存储服务。云硬盘中的数据自动地可用区内以多副本冗"},{index:45,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:46,isSetup:!0,type:2,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"},{index:47,isSetup:!1,type:4,banner:"https://tdesign.gtimg.com/tdesign-pro/cloud-server.jpg",name:"SSL证书",description:"腾讯安全云防火墙产品,是腾讯云安全团队结合云原生的优势,自主研发的SaaS化防火墙产品,无需客无需客无需客无需客无需客无需客无需客"},{index:48,isSetup:!1,type:3,banner:"https://tdesign.gtimg.com/tdesign-pro/ssl.jpg",name:"T-Sec 云防火墙",description:"SSL证书又叫服务器证书,腾讯云为您提供证书的一站式服务,包括免费、付费证书的申请、管理及部"}]}})}],u4e=Object.freeze(Object.defineProperty({__proto__:null,default:s4e},Symbol.toStringTag,{value:"Module"})),c4e=[{url:"/login",method:"post",response:({body:e})=>e.username==="admin"?{code:0,message:"操作成功",data:{avatar:"https://avatars.githubusercontent.com/u/44761321",username:"admin",nickname:"小铭",roles:["admin"],permissions:["*:*:*"],accessToken:"eyJhbGciOiJIUzUxMiJ9.admin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.adminRefresh",expires:"2030/10/30 00:00:00"}}:{code:0,message:"操作成功",data:{avatar:"https://avatars.githubusercontent.com/u/52823142",username:"common",nickname:"小林",roles:["common"],permissions:["permission:btn:add","permission:btn:edit"],accessToken:"eyJhbGciOiJIUzUxMiJ9.common",refreshToken:"eyJhbGciOiJIUzUxMiJ9.commonRefresh",expires:"2030/10/30 00:00:00"}}}],d4e=Object.freeze(Object.defineProperty({__proto__:null,default:c4e},Symbol.toStringTag,{value:"Module"}));var f4e=[{name:"Aegean Airlines",iataCode:"A3"},{name:"Aeroflot",iataCode:"SU"},{name:"Aerolineas Argentinas",iataCode:"AR"},{name:"Aeromexico",iataCode:"AM"},{name:"Air Algerie",iataCode:"AH"},{name:"Air Arabia",iataCode:"G9"},{name:"Air Canada",iataCode:"AC"},{name:"Air China",iataCode:"CA"},{name:"Air Europa",iataCode:"UX"},{name:"Air France",iataCode:"AF"},{name:"Air India",iataCode:"AI"},{name:"Air Mauritius",iataCode:"MK"},{name:"Air New Zealand",iataCode:"NZ"},{name:"Air Niugini",iataCode:"PX"},{name:"Air Tahiti",iataCode:"VT"},{name:"Air Tahiti Nui",iataCode:"TN"},{name:"Air Transat",iataCode:"TS"},{name:"AirAsia X",iataCode:"D7"},{name:"AirAsia",iataCode:"AK"},{name:"Aircalin",iataCode:"SB"},{name:"Alaska Airlines",iataCode:"AS"},{name:"Alitalia",iataCode:"AZ"},{name:"All Nippon Airways",iataCode:"NH"},{name:"Allegiant Air",iataCode:"G4"},{name:"American Airlines",iataCode:"AA"},{name:"Asiana Airlines",iataCode:"OZ"},{name:"Avianca",iataCode:"AV"},{name:"Azul Linhas Aereas Brasileiras",iataCode:"AD"},{name:"Azur Air",iataCode:"ZF"},{name:"Beijing Capital Airlines",iataCode:"JD"},{name:"Boliviana de Aviacion",iataCode:"OB"},{name:"British Airways",iataCode:"BA"},{name:"Cathay Pacific",iataCode:"CX"},{name:"Cebu Pacific Air",iataCode:"5J"},{name:"China Airlines",iataCode:"CI"},{name:"China Eastern Airlines",iataCode:"MU"},{name:"China Southern Airlines",iataCode:"CZ"},{name:"Condor",iataCode:"DE"},{name:"Copa Airlines",iataCode:"CM"},{name:"Delta Air Lines",iataCode:"DL"},{name:"Easyfly",iataCode:"VE"},{name:"EasyJet",iataCode:"U2"},{name:"EcoJet",iataCode:"8J"},{name:"Egyptair",iataCode:"MS"},{name:"El Al",iataCode:"LY"},{name:"Emirates Airlines",iataCode:"EK"},{name:"Ethiopian Airlines",iataCode:"ET"},{name:"Etihad Airways",iataCode:"EY"},{name:"EVA Air",iataCode:"BR"},{name:"Fiji Airways",iataCode:"FJ"},{name:"Finnair",iataCode:"AY"},{name:"Flybondi",iataCode:"FO"},{name:"Flydubai",iataCode:"FZ"},{name:"FlySafair",iataCode:"FA"},{name:"Frontier Airlines",iataCode:"F9"},{name:"Garuda Indonesia",iataCode:"GA"},{name:"Go First",iataCode:"G8"},{name:"Gol Linhas Aereas Inteligentes",iataCode:"G3"},{name:"Hainan Airlines",iataCode:"HU"},{name:"Hawaiian Airlines",iataCode:"HA"},{name:"IndiGo Airlines",iataCode:"6E"},{name:"Japan Airlines",iataCode:"JL"},{name:"Jeju Air",iataCode:"7C"},{name:"Jet2",iataCode:"LS"},{name:"JetBlue Airways",iataCode:"B6"},{name:"JetSMART",iataCode:"JA"},{name:"Juneyao Airlines",iataCode:"HO"},{name:"Kenya Airways",iataCode:"KQ"},{name:"KLM Royal Dutch Airlines",iataCode:"KL"},{name:"Korean Air",iataCode:"KE"},{name:"Kulula.com",iataCode:"MN"},{name:"LATAM Airlines",iataCode:"LA"},{name:"Lion Air",iataCode:"JT"},{name:"LOT Polish Airlines",iataCode:"LO"},{name:"Lufthansa",iataCode:"LH"},{name:"Libyan Airlines",iataCode:"LN"},{name:"Linea Aerea Amaszonas",iataCode:"Z8"},{name:"Malaysia Airlines",iataCode:"MH"},{name:"Nordwind Airlines",iataCode:"N4"},{name:"Norwegian Air Shuttle",iataCode:"DY"},{name:"Oman Air",iataCode:"WY"},{name:"Pakistan International Airlines",iataCode:"PK"},{name:"Pegasus Airlines",iataCode:"PC"},{name:"Philippine Airlines",iataCode:"PR"},{name:"Qantas Group",iataCode:"QF"},{name:"Qatar Airways",iataCode:"QR"},{name:"Republic Airways",iataCode:"YX"},{name:"Royal Air Maroc",iataCode:"AT"},{name:"Ryanair",iataCode:"FR"},{name:"S7 Airlines",iataCode:"S7"},{name:"SAS",iataCode:"SK"},{name:"Satena",iataCode:"9R"},{name:"Saudia",iataCode:"SV"},{name:"Shandong Airlines",iataCode:"SC"},{name:"Sichuan Airlines",iataCode:"3U"},{name:"Singapore Airlines",iataCode:"SQ"},{name:"Sky Airline",iataCode:"H2"},{name:"SkyWest Airlines",iataCode:"OO"},{name:"South African Airways",iataCode:"SA"},{name:"Southwest Airlines",iataCode:"WN"},{name:"SpiceJet",iataCode:"SG"},{name:"Spirit Airlines",iataCode:"NK"},{name:"Spring Airlines",iataCode:"9C"},{name:"SriLankan Airlines",iataCode:"UL"},{name:"Star Peru",iataCode:"2I"},{name:"Sun Country Airlines",iataCode:"SY"},{name:"SunExpress",iataCode:"XQ"},{name:"TAP Air Portugal",iataCode:"TP"},{name:"Thai AirAsia",iataCode:"FD"},{name:"Thai Airways",iataCode:"TG"},{name:"TUI Airways",iataCode:"BY"},{name:"Tunisair",iataCode:"TU"},{name:"Turkish Airlines",iataCode:"TK"},{name:"Ukraine International",iataCode:"PS"},{name:"United Airlines",iataCode:"UA"},{name:"Ural Airlines",iataCode:"U6"},{name:"VietJet Air",iataCode:"VJ"},{name:"Vietnam Airlines",iataCode:"VN"},{name:"Virgin Atlantic Airways",iataCode:"VS"},{name:"Virgin Australia",iataCode:"VA"},{name:"VivaAerobus",iataCode:"VB"},{name:"VOEPASS Linhas Aereas",iataCode:"2Z"},{name:"Volaris",iataCode:"Y4"},{name:"WestJet",iataCode:"WS"},{name:"Wingo",iataCode:"P5"},{name:"Wizz Air",iataCode:"W6"}],p4e=[{name:"Aerospatiale/BAC Concorde",iataTypeCode:"SSC"},{name:"Airbus A300",iataTypeCode:"AB3"},{name:"Airbus A310",iataTypeCode:"310"},{name:"Airbus A310-200",iataTypeCode:"312"},{name:"Airbus A310-300",iataTypeCode:"313"},{name:"Airbus A318",iataTypeCode:"318"},{name:"Airbus A319",iataTypeCode:"319"},{name:"Airbus A319neo",iataTypeCode:"31N"},{name:"Airbus A320",iataTypeCode:"320"},{name:"Airbus A320neo",iataTypeCode:"32N"},{name:"Airbus A321",iataTypeCode:"321"},{name:"Airbus A321neo",iataTypeCode:"32Q"},{name:"Airbus A330",iataTypeCode:"330"},{name:"Airbus A330-200",iataTypeCode:"332"},{name:"Airbus A330-300",iataTypeCode:"333"},{name:"Airbus A330-800neo",iataTypeCode:"338"},{name:"Airbus A330-900neo",iataTypeCode:"339"},{name:"Airbus A340",iataTypeCode:"340"},{name:"Airbus A340-200",iataTypeCode:"342"},{name:"Airbus A340-300",iataTypeCode:"343"},{name:"Airbus A340-500",iataTypeCode:"345"},{name:"Airbus A340-600",iataTypeCode:"346"},{name:"Airbus A350",iataTypeCode:"350"},{name:"Airbus A350-900",iataTypeCode:"359"},{name:"Airbus A350-1000",iataTypeCode:"351"},{name:"Airbus A380",iataTypeCode:"380"},{name:"Airbus A380-800",iataTypeCode:"388"},{name:"Antonov An-12",iataTypeCode:"ANF"},{name:"Antonov An-24",iataTypeCode:"AN4"},{name:"Antonov An-26",iataTypeCode:"A26"},{name:"Antonov An-28",iataTypeCode:"A28"},{name:"Antonov An-30",iataTypeCode:"A30"},{name:"Antonov An-32",iataTypeCode:"A32"},{name:"Antonov An-72",iataTypeCode:"AN7"},{name:"Antonov An-124 Ruslan",iataTypeCode:"A4F"},{name:"Antonov An-140",iataTypeCode:"A40"},{name:"Antonov An-148",iataTypeCode:"A81"},{name:"Antonov An-158",iataTypeCode:"A58"},{name:"Antonov An-225 Mriya",iataTypeCode:"A5F"},{name:"Boeing 707",iataTypeCode:"703"},{name:"Boeing 717",iataTypeCode:"717"},{name:"Boeing 720B",iataTypeCode:"B72"},{name:"Boeing 727",iataTypeCode:"727"},{name:"Boeing 727-100",iataTypeCode:"721"},{name:"Boeing 727-200",iataTypeCode:"722"},{name:"Boeing 737 MAX 7",iataTypeCode:"7M7"},{name:"Boeing 737 MAX 8",iataTypeCode:"7M8"},{name:"Boeing 737 MAX 9",iataTypeCode:"7M9"},{name:"Boeing 737 MAX 10",iataTypeCode:"7MJ"},{name:"Boeing 737",iataTypeCode:"737"},{name:"Boeing 737-100",iataTypeCode:"731"},{name:"Boeing 737-200",iataTypeCode:"732"},{name:"Boeing 737-300",iataTypeCode:"733"},{name:"Boeing 737-400",iataTypeCode:"734"},{name:"Boeing 737-500",iataTypeCode:"735"},{name:"Boeing 737-600",iataTypeCode:"736"},{name:"Boeing 737-700",iataTypeCode:"73G"},{name:"Boeing 737-800",iataTypeCode:"738"},{name:"Boeing 737-900",iataTypeCode:"739"},{name:"Boeing 747",iataTypeCode:"747"},{name:"Boeing 747-100",iataTypeCode:"741"},{name:"Boeing 747-200",iataTypeCode:"742"},{name:"Boeing 747-300",iataTypeCode:"743"},{name:"Boeing 747-400",iataTypeCode:"744"},{name:"Boeing 747-400D",iataTypeCode:"74J"},{name:"Boeing 747-8",iataTypeCode:"748"},{name:"Boeing 747SP",iataTypeCode:"74L"},{name:"Boeing 747SR",iataTypeCode:"74R"},{name:"Boeing 757",iataTypeCode:"757"},{name:"Boeing 757-200",iataTypeCode:"752"},{name:"Boeing 757-300",iataTypeCode:"753"},{name:"Boeing 767",iataTypeCode:"767"},{name:"Boeing 767-200",iataTypeCode:"762"},{name:"Boeing 767-300",iataTypeCode:"763"},{name:"Boeing 767-400",iataTypeCode:"764"},{name:"Boeing 777",iataTypeCode:"777"},{name:"Boeing 777-200",iataTypeCode:"772"},{name:"Boeing 777-200LR",iataTypeCode:"77L"},{name:"Boeing 777-300",iataTypeCode:"773"},{name:"Boeing 777-300ER",iataTypeCode:"77W"},{name:"Boeing 787",iataTypeCode:"787"},{name:"Boeing 787-8",iataTypeCode:"788"},{name:"Boeing 787-9",iataTypeCode:"789"},{name:"Boeing 787-10",iataTypeCode:"781"},{name:"Canadair Challenger",iataTypeCode:"CCJ"},{name:"Canadair CL-44",iataTypeCode:"CL4"},{name:"Canadair Regional Jet 100",iataTypeCode:"CR1"},{name:"Canadair Regional Jet 200",iataTypeCode:"CR2"},{name:"Canadair Regional Jet 700",iataTypeCode:"CR7"},{name:"Canadair Regional Jet 705",iataTypeCode:"CRA"},{name:"Canadair Regional Jet 900",iataTypeCode:"CR9"},{name:"Canadair Regional Jet 1000",iataTypeCode:"CRK"},{name:"De Havilland Canada DHC-2 Beaver",iataTypeCode:"DHP"},{name:"De Havilland Canada DHC-2 Turbo-Beaver",iataTypeCode:"DHR"},{name:"De Havilland Canada DHC-3 Otter",iataTypeCode:"DHL"},{name:"De Havilland Canada DHC-4 Caribou",iataTypeCode:"DHC"},{name:"De Havilland Canada DHC-6 Twin Otter",iataTypeCode:"DHT"},{name:"De Havilland Canada DHC-7 Dash 7",iataTypeCode:"DH7"},{name:"De Havilland Canada DHC-8-100 Dash 8 / 8Q",iataTypeCode:"DH1"},{name:"De Havilland Canada DHC-8-200 Dash 8 / 8Q",iataTypeCode:"DH2"},{name:"De Havilland Canada DHC-8-300 Dash 8 / 8Q",iataTypeCode:"DH3"},{name:"De Havilland Canada DHC-8-400 Dash 8Q",iataTypeCode:"DH4"},{name:"De Havilland DH.104 Dove",iataTypeCode:"DHD"},{name:"De Havilland DH.114 Heron",iataTypeCode:"DHH"},{name:"Douglas DC-3",iataTypeCode:"D3F"},{name:"Douglas DC-6",iataTypeCode:"D6F"},{name:"Douglas DC-8-50",iataTypeCode:"D8T"},{name:"Douglas DC-8-62",iataTypeCode:"D8L"},{name:"Douglas DC-8-72",iataTypeCode:"D8Q"},{name:"Douglas DC-9-10",iataTypeCode:"D91"},{name:"Douglas DC-9-20",iataTypeCode:"D92"},{name:"Douglas DC-9-30",iataTypeCode:"D93"},{name:"Douglas DC-9-40",iataTypeCode:"D94"},{name:"Douglas DC-9-50",iataTypeCode:"D95"},{name:"Douglas DC-10",iataTypeCode:"D10"},{name:"Douglas DC-10-10",iataTypeCode:"D1X"},{name:"Douglas DC-10-30",iataTypeCode:"D1Y"},{name:"Embraer 170",iataTypeCode:"E70"},{name:"Embraer 175",iataTypeCode:"E75"},{name:"Embraer 190",iataTypeCode:"E90"},{name:"Embraer 195",iataTypeCode:"E95"},{name:"Embraer E190-E2",iataTypeCode:"290"},{name:"Embraer E195-E2",iataTypeCode:"295"},{name:"Embraer EMB.110 Bandeirante",iataTypeCode:"EMB"},{name:"Embraer EMB.120 Brasilia",iataTypeCode:"EM2"},{name:"Embraer Legacy 600",iataTypeCode:"ER3"},{name:"Embraer Phenom 100",iataTypeCode:"EP1"},{name:"Embraer Phenom 300",iataTypeCode:"EP3"},{name:"Embraer RJ135",iataTypeCode:"ER3"},{name:"Embraer RJ140",iataTypeCode:"ERD"},{name:"Embraer RJ145 Amazon",iataTypeCode:"ER4"},{name:"Ilyushin IL18",iataTypeCode:"IL8"},{name:"Ilyushin IL62",iataTypeCode:"IL6"},{name:"Ilyushin IL76",iataTypeCode:"IL7"},{name:"Ilyushin IL86",iataTypeCode:"ILW"},{name:"Ilyushin IL96-300",iataTypeCode:"I93"},{name:"Ilyushin IL114",iataTypeCode:"I14"},{name:"Lockheed L-182 / 282 / 382 (L-100) Hercules",iataTypeCode:"LOH"},{name:"Lockheed L-188 Electra",iataTypeCode:"LOE"},{name:"Lockheed L-1011 Tristar",iataTypeCode:"L10"},{name:"Lockheed L-1049 Super Constellation",iataTypeCode:"L49"},{name:"McDonnell Douglas MD11",iataTypeCode:"M11"},{name:"McDonnell Douglas MD80",iataTypeCode:"M80"},{name:"McDonnell Douglas MD81",iataTypeCode:"M81"},{name:"McDonnell Douglas MD82",iataTypeCode:"M82"},{name:"McDonnell Douglas MD83",iataTypeCode:"M83"},{name:"McDonnell Douglas MD87",iataTypeCode:"M87"},{name:"McDonnell Douglas MD88",iataTypeCode:"M88"},{name:"McDonnell Douglas MD90",iataTypeCode:"M90"},{name:"Sukhoi Superjet 100-95",iataTypeCode:"SU9"},{name:"Tupolev Tu-134",iataTypeCode:"TU3"},{name:"Tupolev Tu-154",iataTypeCode:"TU5"},{name:"Tupolev Tu-204",iataTypeCode:"T20"},{name:"Yakovlev Yak-40",iataTypeCode:"YK4"},{name:"Yakovlev Yak-42",iataTypeCode:"YK2"}],h4e=[{name:"Adelaide International Airport",iataCode:"ADL"},{name:"Adolfo Suarez Madrid-Barajas Airport",iataCode:"MAD"},{name:"Aeroparque Jorge Newbery Airport",iataCode:"AEP"},{name:"Afonso Pena International Airport",iataCode:"CWB"},{name:"Alfonso Bonilla Aragon International Airport",iataCode:"CLO"},{name:"Amsterdam Airport Schiphol",iataCode:"AMS"},{name:"Arturo Merino Benitez International Airport",iataCode:"SCL"},{name:"Auckland International Airport",iataCode:"AKL"},{name:"Beijing Capital International Airport",iataCode:"PEK"},{name:"Belem Val de Cans International Airport",iataCode:"BEL"},{name:"Belo Horizonte Tancredo Neves International Airport",iataCode:"CNF"},{name:"Berlin-Tegel Airport",iataCode:"TXL"},{name:"Bole International Airport",iataCode:"ADD"},{name:"Brasilia-Presidente Juscelino Kubitschek International Airport",iataCode:"BSB"},{name:"Brisbane International Airport",iataCode:"BNE"},{name:"Brussels Airport",iataCode:"BRU"},{name:"Cairns Airport",iataCode:"CNS"},{name:"Cairo International Airport",iataCode:"CAI"},{name:"Canberra Airport",iataCode:"CBR"},{name:"Capetown International Airport",iataCode:"CPT"},{name:"Charles de Gaulle International Airport",iataCode:"CDG"},{name:"Charlotte Douglas International Airport",iataCode:"CLT"},{name:"Chengdu Shuangliu International Airport",iataCode:"CTU"},{name:"Chhatrapati Shivaji International Airport",iataCode:"BOM"},{name:"Chicago O'Hare International Airport",iataCode:"ORD"},{name:"Chongqing Jiangbei International Airport",iataCode:"CKG"},{name:"Christchurch International Airport",iataCode:"CHC"},{name:"Copenhagen Kastrup Airport",iataCode:"CPH"},{name:"Dallas Fort Worth International Airport",iataCode:"DFW"},{name:"Daniel K. Inouye International Airport",iataCode:"HNL"},{name:"Denver International Airport",iataCode:"DEN"},{name:"Don Mueang International Airport",iataCode:"DMK"},{name:"Dubai International Airport",iataCode:"DXB"},{name:"Dublin Airport",iataCode:"DUB"},{name:"Dusseldorf Airport",iataCode:"DUS"},{name:"El Dorado International Airport",iataCode:"BOG"},{name:"Eleftherios Venizelos International Airport",iataCode:"ATH"},{name:"Faa'a International Airport",iataCode:"PPT"},{name:"Fort Lauderdale Hollywood International Airport",iataCode:"FLL"},{name:"Fortaleza Pinto Martins International Airport",iataCode:"FOR"},{name:"Frankfurt am Main Airport",iataCode:"FRA"},{name:"George Bush Intercontinental Houston Airport",iataCode:"IAH"},{name:"Gold Coast Airport",iataCode:"OOL"},{name:"Guarulhos - Governador Andre Franco Montoro International Airport",iataCode:"GRU"},{name:"Hartsfield-Jackson Atlanta International Airport",iataCode:"ATL"},{name:"Helsinki Vantaa Airport",iataCode:"HEL"},{name:"Hobart International Airport",iataCode:"HBA"},{name:"Hong Kong International Airport",iataCode:"HKG"},{name:"Houari Boumediene Airport",iataCode:"ALG"},{name:"Hurgada International Airport",iataCode:"HRG"},{name:"Incheon International Airport",iataCode:"ICN"},{name:"Indira Gandhi International Airport",iataCode:"DEL"},{name:"Istanbul Airport",iataCode:"IST"},{name:"Jacksons International Airport",iataCode:"POM"},{name:"Jeju International Airport",iataCode:"CJU"},{name:"John F Kennedy International Airport",iataCode:"JFK"},{name:"Jorge Chavez International Airport",iataCode:"LIM"},{name:"Jose Maria Cordova International Airport",iataCode:"MDE"},{name:"Josep Tarradellas Barcelona-El Prat Airport",iataCode:"BCN"},{name:"Kahului Airport",iataCode:"OGG"},{name:"King Abdulaziz International Airport",iataCode:"JED"},{name:"Kuala Lumpur International Airport",iataCode:"KUL"},{name:"Kunming Changshui International Airport",iataCode:"KMG"},{name:"La Tontouta International Airport",iataCode:"NOU"},{name:"Leonardo da Vinci-Fiumicino Airport",iataCode:"FCO"},{name:"London Heathrow Airport",iataCode:"LHR"},{name:"Los Angeles International Airport",iataCode:"LAX"},{name:"McCarran International Airport",iataCode:"LAS"},{name:"Melbourne International Airport",iataCode:"MEL"},{name:"Mexico City International Airport",iataCode:"MEX"},{name:"Miami International Airport",iataCode:"MIA"},{name:"Ministro Pistarini International Airport",iataCode:"EZE"},{name:"Minneapolis-St Paul International/Wold-Chamberlain Airport",iataCode:"MSP"},{name:"Mohammed V International Airport",iataCode:"CMN"},{name:"Moscow Domodedovo Airport",iataCode:"DME"},{name:"Munich Airport",iataCode:"MUC"},{name:"Murtala Muhammed International Airport",iataCode:"LOS"},{name:"Nadi International Airport",iataCode:"NAN"},{name:"Nairobi Jomo Kenyatta International Airport",iataCode:"NBO"},{name:"Narita International Airport",iataCode:"NRT"},{name:"Newark Liberty International Airport",iataCode:"EWR"},{name:"Ninoy Aquino International Airport",iataCode:"MNL"},{name:"Noumea Magenta Airport",iataCode:"GEA"},{name:"O. R. Tambo International Airport",iataCode:"JNB"},{name:"Orlando International Airport",iataCode:"MCO"},{name:"Oslo Lufthavn",iataCode:"OSL"},{name:"Perth Airport",iataCode:"PER"},{name:"Phoenix Sky Harbor International Airport",iataCode:"PHX"},{name:"Recife Guararapes-Gilberto Freyre International Airport",iataCode:"REC"},{name:"Rio de Janeiro Galeao International Airport",iataCode:"GIG"},{name:"Salgado Filho International Airport",iataCode:"POA"},{name:"Salvador Deputado Luis Eduardo Magalhaes International Airport",iataCode:"SSA"},{name:"San Francisco International Airport",iataCode:"SFO"},{name:"Santos Dumont Airport",iataCode:"SDU"},{name:"Sao Paulo-Congonhas Airport",iataCode:"CGH"},{name:"Seattle Tacoma International Airport",iataCode:"SEA"},{name:"Shanghai Hongqiao International Airport",iataCode:"SHA"},{name:"Shanghai Pudong International Airport",iataCode:"PVG"},{name:"Shenzhen Bao'an International Airport",iataCode:"SZX"},{name:"Sheremetyevo International Airport",iataCode:"SVO"},{name:"Singapore Changi Airport",iataCode:"SIN"},{name:"Soekarno-Hatta International Airport",iataCode:"CGK"},{name:'Stockholm-Arlanda Airport"',iataCode:"ARN"},{name:"Suvarnabhumi Airport",iataCode:"BKK"},{name:"Sydney Kingsford Smith International Airport",iataCode:"SYD"},{name:"Taiwan Taoyuan International Airport",iataCode:"TPE"},{name:"Tan Son Nhat International Airport",iataCode:"SGN"},{name:"Tokyo Haneda International Airport",iataCode:"HND"},{name:"Toronto Pearson International Airport",iataCode:"YYZ"},{name:"Tunis Carthage International Airport",iataCode:"TUN"},{name:"Vancouver International Airport",iataCode:"YVR"},{name:"Vienna International Airport",iataCode:"VIE"},{name:"Viracopos International Airport",iataCode:"VCP"},{name:"Vnukovo International Airport",iataCode:"VKO"},{name:"Wellington International Airport",iataCode:"WLG"},{name:"Xi'an Xianyang International Airport",iataCode:"XIY"},{name:"Zhukovsky International Airport",iataCode:"ZIA"},{name:"Zurich Airport",iataCode:"ZRH"}],m4e={airline:f4e,airplane:p4e,airport:h4e},v4e=m4e,g4e=["American black bear","Asian black bear","Brown bear","Giant panda","Polar bear","Sloth bear","Spectacled bear","Sun bear"],y4e=["Abert's Towhee","Acadian Flycatcher","Acorn Woodpecker","Alder Flycatcher","Aleutian Tern","Allen's Hummingbird","Altamira Oriole","American Avocet","American Bittern","American Black Duck","American Coot","American Crow","American Dipper","American Golden-Plover","American Goldfinch","American Kestrel","American Oystercatcher","American Pipit","American Redstart","American Robin","American Tree Sparrow","American White Pelican","American Wigeon","American Woodcock","Ancient Murrelet","Anhinga","Anna's Hummingbird","Antillean Nighthawk","Antillean Palm Swift","Aplomado Falcon","Arctic Loon","Arctic Tern","Arctic Warbler","Ash-throated Flycatcher","Ashy Storm-Petrel","Asian Brown Flycatcher","Atlantic Puffin","Audubon's Oriole","Audubon's Shearwater","Aztec Thrush","Azure Gallinule","Bachman's Sparrow","Bachman's Warbler","Bahama Mockingbird","Bahama Swallow","Bahama Woodstar","Baikal Teal","Baird's Sandpiper","Baird's Sparrow","Bald Eagle","Baltimore Oriole","Bananaquit","Band-rumped Storm-Petrel","Band-tailed Gull","Band-tailed Pigeon","Bank Swallow","Bar-tailed Godwit","Barn Owl","Barn Swallow","Barnacle Goose","Barred Owl","Barrow's Goldeneye","Bay-breasted Warbler","Bean Goose","Bell's Vireo","Belted Kingfisher","Bendire's Thrasher","Berylline Hummingbird","Bewick's Wren","Bicknell's Thrush","Black Catbird","Black Guillemot","Black Noddy","Black Oystercatcher","Black Phoebe","Black Rail","Black Rosy-Finch","Black Scoter","Black Skimmer","Black Storm-Petrel","Black Swift","Black Tern","Black Turnstone","Black Vulture","Black-and-white Warbler","Black-backed Wagtail","Black-backed Woodpecker","Black-bellied Plover","Black-bellied Whistling-Duck","Black-billed Cuckoo","Black-billed Magpie","Black-browed Albatross","Black-capped Chickadee","Black-capped Gnatcatcher","Black-capped Petrel","Black-capped Vireo","Black-chinned Hummingbird","Black-chinned Sparrow","Black-crowned Night-Heron","Black-faced Grassquit","Black-footed Albatross","Black-headed Grosbeak","Black-headed Gull","Black-legged Kittiwake","Black-necked Stilt","Black-tailed Gnatcatcher","Black-tailed Godwit","Black-tailed Gull","Black-throated Blue Warbler","Black-throated Gray Warbler","Black-throated Green Warbler","Black-throated Sparrow","Black-vented Oriole","Black-vented Shearwater","Black-whiskered Vireo","Black-winged Stilt","Blackburnian Warbler","Blackpoll Warbler","Blue Bunting","Blue Grosbeak","Blue Grouse","Blue Jay","Blue Mockingbird","Blue-footed Booby","Blue-gray Gnatcatcher","Blue-headed Vireo","Blue-throated Hummingbird","Blue-winged Teal","Blue-winged Warbler","Bluethroat","Boat-tailed Grackle","Bobolink","Bohemian Waxwing","Bonaparte's Gull","Boreal Chickadee","Boreal Owl","Botteri's Sparrow","Brambling","Brandt's Cormorant","Brant","Brewer's Blackbird","Brewer's Sparrow","Bridled Tern","Bridled Titmouse","Bristle-thighed Curlew","Broad-billed Hummingbird","Broad-billed Sandpiper","Broad-tailed Hummingbird","Broad-winged Hawk","Bronzed Cowbird","Brown Booby","Brown Creeper","Brown Jay","Brown Noddy","Brown Pelican","Brown Shrike","Brown Thrasher","Brown-capped Rosy-Finch","Brown-chested Martin","Brown-crested Flycatcher","Brown-headed Cowbird","Brown-headed Nuthatch","Budgerigar","Buff-bellied Hummingbird","Buff-breasted Flycatcher","Buff-breasted Sandpiper","Buff-collared Nightjar","Bufflehead","Buller's Shearwater","Bullock's Oriole","Bumblebee Hummingbird","Burrowing Owl","Bushtit","Cactus Wren","California Condor","California Gnatcatcher","California Gull","California Quail","California Thrasher","California Towhee","Calliope Hummingbird","Canada Goose","Canada Warbler","Canvasback","Canyon Towhee","Canyon Wren","Cape May Warbler","Caribbean Elaenia","Carolina Chickadee","Carolina Parakeet","Carolina Wren","Caspian Tern","Cassin's Auklet","Cassin's Finch","Cassin's Kingbird","Cassin's Sparrow","Cassin's Vireo","Cattle Egret","Cave Swallow","Cedar Waxwing","Cerulean Warbler","Chestnut-backed Chickadee","Chestnut-collared Longspur","Chestnut-sided Warbler","Chihuahuan Raven","Chimney Swift","Chinese Egret","Chipping Sparrow","Chuck-will's-widow","Chukar","Cinnamon Hummingbird","Cinnamon Teal","Citrine Wagtail","Clapper Rail","Clark's Grebe","Clark's Nutcracker","Clay-colored Robin","Clay-colored Sparrow","Cliff Swallow","Colima Warbler","Collared Forest-Falcon","Collared Plover","Common Black-Hawk","Common Chaffinch","Common Crane","Common Cuckoo","Common Eider","Common Goldeneye","Common Grackle","Common Greenshank","Common Ground-Dove","Common House-Martin","Common Loon","Common Merganser","Common Moorhen","Common Murre","Common Nighthawk","Common Pauraque","Common Pochard","Common Poorwill","Common Raven","Common Redpoll","Common Ringed Plover","Common Rosefinch","Common Sandpiper","Common Snipe","Common Swift","Common Tern","Common Yellowthroat","Connecticut Warbler","Cook's Petrel","Cooper's Hawk","Cordilleran Flycatcher","Corn Crake","Cory's Shearwater","Costa's Hummingbird","Couch's Kingbird","Crane Hawk","Craveri's Murrelet","Crescent-chested Warbler","Crested Auklet","Crested Caracara","Crested Myna","Crimson-collared Grosbeak","Crissal Thrasher","Cuban Martin","Curlew Sandpiper","Curve-billed Thrasher","Dark-eyed Junco","Dickcissel","Double-crested Cormorant","Double-striped Thick-knee","Dovekie","Downy Woodpecker","Dunlin","Dusky Flycatcher","Dusky Thrush","Dusky Warbler","Dusky-capped Flycatcher","Eared Grebe","Eared Trogon","Eastern Bluebird","Eastern Kingbird","Eastern Meadowlark","Eastern Phoebe","Eastern Screech-Owl","Eastern Towhee","Eastern Wood-Pewee","Elegant Tern","Elegant Trogon","Elf Owl","Emperor Goose","Eskimo Curlew","Eurasian Blackbird","Eurasian Bullfinch","Eurasian Collared-Dove","Eurasian Coot","Eurasian Curlew","Eurasian Dotterel","Eurasian Hobby","Eurasian Jackdaw","Eurasian Kestrel","Eurasian Oystercatcher","Eurasian Siskin","Eurasian Tree Sparrow","Eurasian Wigeon","Eurasian Woodcock","Eurasian Wryneck","European Golden-Plover","European Starling","European Storm-Petrel","European Turtle-Dove","Evening Grosbeak","Eyebrowed Thrush","Falcated Duck","Fan-tailed Warbler","Far Eastern Curlew","Ferruginous Hawk","Ferruginous Pygmy-Owl","Field Sparrow","Fieldfare","Fish Crow","Five-striped Sparrow","Flame-colored Tanager","Flammulated Owl","Flesh-footed Shearwater","Florida Scrub-Jay","Fork-tailed Flycatcher","Fork-tailed Storm-Petrel","Fork-tailed Swift","Forster's Tern","Fox Sparrow","Franklin's Gull","Fulvous Whistling-Duck","Gadwall","Gambel's Quail","Garganey","Gila Woodpecker","Gilded Flicker","Glaucous Gull","Glaucous-winged Gull","Glossy Ibis","Golden Eagle","Golden-cheeked Warbler","Golden-crowned Kinglet","Golden-crowned Sparrow","Golden-crowned Warbler","Golden-fronted Woodpecker","Golden-winged Warbler","Grace's Warbler","Grasshopper Sparrow","Gray Bunting","Gray Catbird","Gray Flycatcher","Gray Hawk","Gray Jay","Gray Kingbird","Gray Partridge","Gray Silky-flycatcher","Gray Vireo","Gray Wagtail","Gray-breasted Martin","Gray-cheeked Thrush","Gray-crowned Rosy-Finch","Gray-crowned Yellowthroat","Gray-headed Chickadee","Gray-spotted Flycatcher","Gray-tailed Tattler","Great Auk","Great Black-backed Gull","Great Blue Heron","Great Cormorant","Great Crested Flycatcher","Great Egret","Great Frigatebird","Great Gray Owl","Great Horned Owl","Great Kiskadee","Great Knot","Great Skua","Great Spotted Woodpecker","Great-tailed Grackle","Greater Flamingo","Greater Pewee","Greater Prairie-chicken","Greater Roadrunner","Greater Scaup","Greater Shearwater","Greater White-fronted Goose","Greater Yellowlegs","Green Heron","Green Jay","Green Kingfisher","Green Sandpiper","Green Violet-ear","Green-breasted Mango","Green-tailed Towhee","Green-winged Teal","Greenish Elaenia","Groove-billed Ani","Gull-billed Tern","Gyrfalcon","Hairy Woodpecker","Hammond's Flycatcher","Harlequin Duck","Harris's Hawk","Harris's Sparrow","Hawfinch","Heermann's Gull","Henslow's Sparrow","Hepatic Tanager","Herald Petrel","Hermit Thrush","Hermit Warbler","Herring Gull","Himalayan Snowcock","Hoary Redpoll","Hooded Merganser","Hooded Oriole","Hooded Warbler","Hook-billed Kite","Hoopoe","Horned Grebe","Horned Lark","Horned Puffin","House Finch","House Sparrow","House Wren","Hudsonian Godwit","Hutton's Vireo","Iceland Gull","Inca Dove","Indigo Bunting","Island Scrub-Jay","Ivory Gull","Ivory-billed Woodpecker","Jabiru","Jack Snipe","Jungle Nightjar","Juniper Titmouse","Kentucky Warbler","Key West Quail-Dove","Killdeer","King Eider","King Rail","Kirtland's Warbler","Kittlitz's Murrelet","La Sagra's Flycatcher","Labrador Duck","Ladder-backed Woodpecker","Lanceolated Warbler","Lapland Longspur","Large-billed Tern","Lark Bunting","Lark Sparrow","Laughing Gull","Lawrence's Goldfinch","Laysan Albatross","Lazuli Bunting","Le Conte's Sparrow","Le Conte's Thrasher","Leach's Storm-Petrel","Least Auklet","Least Bittern","Least Flycatcher","Least Grebe","Least Sandpiper","Least Storm-Petrel","Least Tern","Lesser Black-backed Gull","Lesser Frigatebird","Lesser Goldfinch","Lesser Nighthawk","Lesser Prairie-chicken","Lesser Scaup","Lesser White-fronted Goose","Lesser Yellowlegs","Lewis's Woodpecker","Limpkin","Lincoln's Sparrow","Little Blue Heron","Little Bunting","Little Curlew","Little Egret","Little Gull","Little Ringed Plover","Little Shearwater","Little Stint","Loggerhead Kingbird","Loggerhead Shrike","Long-billed Curlew","Long-billed Dowitcher","Long-billed Murrelet","Long-billed Thrasher","Long-eared Owl","Long-tailed Jaeger","Long-toed Stint","Louisiana Waterthrush","Lucifer Hummingbird","Lucy's Warbler","MacGillivray's Warbler","Magnificent Frigatebird","Magnificent Hummingbird","Magnolia Warbler","Mallard","Mangrove Cuckoo","Manx Shearwater","Marbled Godwit","Marbled Murrelet","Marsh Sandpiper","Marsh Wren","Masked Booby","Masked Duck","Masked Tityra","McCown's Longspur","McKay's Bunting","Merlin","Mew Gull","Mexican Chickadee","Mexican Jay","Middendorff's Grasshopper-Warbler","Mississippi Kite","Mongolian Plover","Monk Parakeet","Montezuma Quail","Mottled Duck","Mottled Owl","Mottled Petrel","Mountain Bluebird","Mountain Chickadee","Mountain Plover","Mountain Quail","Mourning Dove","Mourning Warbler","Mugimaki Flycatcher","Murphy's Petrel","Muscovy Duck","Mute Swan","Narcissus Flycatcher","Nashville Warbler","Nelson's Sharp-tailed Sparrow","Neotropic Cormorant","Northern Beardless-Tyrannulet","Northern Bobwhite","Northern Cardinal","Northern Flicker","Northern Fulmar","Northern Gannet","Northern Goshawk","Northern Harrier","Northern Hawk Owl","Northern Jacana","Northern Lapwing","Northern Mockingbird","Northern Parula","Northern Pintail","Northern Pygmy-Owl","Northern Rough-winged Swallow","Northern Saw-whet Owl","Northern Shoveler","Northern Shrike","Northern Waterthrush","Northern Wheatear","Northwestern Crow","Nuttall's Woodpecker","Nutting's Flycatcher","Oak Titmouse","Oldsquaw","Olive Sparrow","Olive Warbler","Olive-backed Pipit","Olive-sided Flycatcher","Orange-crowned Warbler","Orchard Oriole","Oriental Cuckoo","Oriental Greenfinch","Oriental Pratincole","Oriental Scops-Owl","Oriental Turtle-Dove","Osprey","Ovenbird","Pacific Golden-Plover","Pacific Loon","Pacific-slope Flycatcher","Paint-billed Crake","Painted Bunting","Painted Redstart","Pallas's Bunting","Palm Warbler","Parakeet Auklet","Parasitic Jaeger","Passenger Pigeon","Pechora Pipit","Pectoral Sandpiper","Pelagic Cormorant","Peregrine Falcon","Phainopepla","Philadelphia Vireo","Pied-billed Grebe","Pigeon Guillemot","Pileated Woodpecker","Pin-tailed Snipe","Pine Bunting","Pine Grosbeak","Pine Siskin","Pine Warbler","Pink-footed Goose","Pink-footed Shearwater","Pinyon Jay","Piping Plover","Plain Chachalaca","Plain-capped Starthroat","Plumbeous Vireo","Pomarine Jaeger","Prairie Falcon","Prairie Warbler","Prothonotary Warbler","Purple Finch","Purple Gallinule","Purple Martin","Purple Sandpiper","Pygmy Nuthatch","Pyrrhuloxia","Razorbill","Red Crossbill","Red Knot","Red Phalarope","Red-bellied Woodpecker","Red-billed Pigeon","Red-billed Tropicbird","Red-breasted Flycatcher","Red-breasted Merganser","Red-breasted Nuthatch","Red-breasted Sapsucker","Red-cockaded Woodpecker","Red-crowned Parrot","Red-eyed Vireo","Red-faced Cormorant","Red-faced Warbler","Red-flanked Bluetail","Red-footed Booby","Red-headed Woodpecker","Red-legged Kittiwake","Red-naped Sapsucker","Red-necked Grebe","Red-necked Phalarope","Red-necked Stint","Red-shouldered Hawk","Red-tailed Hawk","Red-tailed Tropicbird","Red-throated Loon","Red-throated Pipit","Red-whiskered Bulbul","Red-winged Blackbird","Reddish Egret","Redhead","Redwing","Reed Bunting","Rhinoceros Auklet","Ring-billed Gull","Ring-necked Duck","Ring-necked Pheasant","Ringed Kingfisher","Roadside Hawk","Rock Dove","Rock Ptarmigan","Rock Sandpiper","Rock Wren","Rose-breasted Grosbeak","Rose-throated Becard","Roseate Spoonbill","Roseate Tern","Ross's Goose","Ross's Gull","Rough-legged Hawk","Royal Tern","Ruby-crowned Kinglet","Ruby-throated Hummingbird","Ruddy Duck","Ruddy Ground-Dove","Ruddy Quail-Dove","Ruddy Turnstone","Ruff","Ruffed Grouse","Rufous Hummingbird","Rufous-backed Robin","Rufous-capped Warbler","Rufous-crowned Sparrow","Rufous-winged Sparrow","Rustic Bunting","Rusty Blackbird","Sabine's Gull","Sage Grouse","Sage Sparrow","Sage Thrasher","Saltmarsh Sharp-tailed Sparrow","Sanderling","Sandhill Crane","Sandwich Tern","Savannah Sparrow","Say's Phoebe","Scaled Quail","Scaly-naped Pigeon","Scarlet Ibis","Scarlet Tanager","Scissor-tailed Flycatcher","Scott's Oriole","Seaside Sparrow","Sedge Wren","Semipalmated Plover","Semipalmated Sandpiper","Sharp-shinned Hawk","Sharp-tailed Grouse","Sharp-tailed Sandpiper","Shiny Cowbird","Short-billed Dowitcher","Short-eared Owl","Short-tailed Albatross","Short-tailed Hawk","Short-tailed Shearwater","Shy Albatross","Siberian Accentor","Siberian Blue Robin","Siberian Flycatcher","Siberian Rubythroat","Sky Lark","Slate-throated Redstart","Slaty-backed Gull","Slender-billed Curlew","Smew","Smith's Longspur","Smooth-billed Ani","Snail Kite","Snow Bunting","Snow Goose","Snowy Egret","Snowy Owl","Snowy Plover","Solitary Sandpiper","Song Sparrow","Sooty Shearwater","Sooty Tern","Sora","South Polar Skua","Southern Martin","Spectacled Eider","Spoonbill Sandpiper","Spot-billed Duck","Spot-breasted Oriole","Spotted Dove","Spotted Owl","Spotted Rail","Spotted Redshank","Spotted Sandpiper","Spotted Towhee","Sprague's Pipit","Spruce Grouse","Stejneger's Petrel","Steller's Eider","Steller's Jay","Steller's Sea-Eagle","Stilt Sandpiper","Stonechat","Streak-backed Oriole","Streaked Shearwater","Strickland's Woodpecker","Stripe-headed Tanager","Sulphur-bellied Flycatcher","Summer Tanager","Surf Scoter","Surfbird","Swainson's Hawk","Swainson's Thrush","Swainson's Warbler","Swallow-tailed Kite","Swamp Sparrow","Tamaulipas Crow","Tawny-shouldered Blackbird","Temminck's Stint","Tennessee Warbler","Terek Sandpiper","Thayer's Gull","Thick-billed Kingbird","Thick-billed Murre","Thick-billed Parrot","Thick-billed Vireo","Three-toed Woodpecker","Townsend's Solitaire","Townsend's Warbler","Tree Pipit","Tree Swallow","Tricolored Blackbird","Tricolored Heron","Tropical Kingbird","Tropical Parula","Trumpeter Swan","Tufted Duck","Tufted Flycatcher","Tufted Puffin","Tufted Titmouse","Tundra Swan","Turkey Vulture","Upland Sandpiper","Varied Bunting","Varied Thrush","Variegated Flycatcher","Vaux's Swift","Veery","Verdin","Vermilion Flycatcher","Vesper Sparrow","Violet-crowned Hummingbird","Violet-green Swallow","Virginia Rail","Virginia's Warbler","Wandering Albatross","Wandering Tattler","Warbling Vireo","Wedge-rumped Storm-Petrel","Wedge-tailed Shearwater","Western Bluebird","Western Grebe","Western Gull","Western Kingbird","Western Meadowlark","Western Reef-Heron","Western Sandpiper","Western Screech-Owl","Western Scrub-Jay","Western Tanager","Western Wood-Pewee","Whimbrel","Whip-poor-will","Whiskered Auklet","Whiskered Screech-Owl","Whiskered Tern","White Ibis","White Wagtail","White-breasted Nuthatch","White-cheeked Pintail","White-chinned Petrel","White-collared Seedeater","White-collared Swift","White-crowned Pigeon","White-crowned Sparrow","White-eared Hummingbird","White-eyed Vireo","White-faced Ibis","White-faced Storm-Petrel","White-headed Woodpecker","White-rumped Sandpiper","White-tailed Eagle","White-tailed Hawk","White-tailed Kite","White-tailed Ptarmigan","White-tailed Tropicbird","White-throated Needletail","White-throated Robin","White-throated Sparrow","White-throated Swift","White-tipped Dove","White-winged Crossbill","White-winged Dove","White-winged Parakeet","White-winged Scoter","White-winged Tern","Whooper Swan","Whooping Crane","Wild Turkey","Willet","Williamson's Sapsucker","Willow Flycatcher","Willow Ptarmigan","Wilson's Phalarope","Wilson's Plover","Wilson's Storm-Petrel","Wilson's Warbler","Winter Wren","Wood Duck","Wood Sandpiper","Wood Stork","Wood Thrush","Wood Warbler","Worm-eating Warbler","Worthen's Sparrow","Wrentit","Xantus's Hummingbird","Xantus's Murrelet","Yellow Bittern","Yellow Grosbeak","Yellow Rail","Yellow Wagtail","Yellow Warbler","Yellow-bellied Flycatcher","Yellow-bellied Sapsucker","Yellow-billed Cuckoo","Yellow-billed Loon","Yellow-billed Magpie","Yellow-breasted Bunting","Yellow-breasted Chat","Yellow-crowned Night-Heron","Yellow-eyed Junco","Yellow-faced Grassquit","Yellow-footed Gull","Yellow-green Vireo","Yellow-headed Blackbird","Yellow-legged Gull","Yellow-nosed Albatross","Yellow-rumped Warbler","Yellow-throated Vireo","Yellow-throated Warbler","Yucatan Vireo","Zenaida Dove","Zone-tailed Hawk"],b4e=["Abyssinian","American Bobtail","American Curl","American Shorthair","American Wirehair","Balinese","Bengal","Birman","Bombay","British Shorthair","Burmese","Chartreux","Chausie","Cornish Rex","Devon Rex","Donskoy","Egyptian Mau","Exotic Shorthair","Havana","Highlander","Himalayan","Japanese Bobtail","Korat","Kurilian Bobtail","LaPerm","Maine Coon","Manx","Minskin","Munchkin","Nebelung","Norwegian Forest Cat","Ocicat","Ojos Azules","Oriental","Persian","Peterbald","Pixiebob","Ragdoll","Russian Blue","Savannah","Scottish Fold","Selkirk Rex","Serengeti","Siamese","Siberian","Singapura","Snowshoe","Sokoke","Somali","Sphynx","Thai","Tonkinese","Toyger","Turkish Angora","Turkish Van"],C4e=["Amazon River Dolphin","Arnoux's Beaked Whale","Atlantic Humpbacked Dolphin","Atlantic Spotted Dolphin","Atlantic White-Sided Dolphin","Australian Snubfin Dolphin","Australian humpback Dolphin","Blue Whale","Bottlenose Dolphin","Bryde’s whale","Burrunan Dolphin","Chilean Dolphin","Chinese River Dolphin","Chinese White Dolphin","Clymene Dolphin","Commerson’s Dolphin","Costero","Dusky Dolphin","False Killer Whale","Fin Whale","Fraser’s Dolphin","Ganges River Dolphin","Guiana Dolphin","Heaviside’s Dolphin","Hector’s Dolphin","Hourglass Dolphin","Humpback whale","Indo-Pacific Bottlenose Dolphin","Indo-Pacific Hump-backed Dolphin","Irrawaddy Dolphin","Killer Whale (Orca)","La Plata Dolphin","Long-Beaked Common Dolphin","Long-finned Pilot Whale","Longman's Beaked Whale","Melon-headed Whale","Northern Rightwhale Dolphin","Omura’s whale","Pacific White-Sided Dolphin","Pantropical Spotted Dolphin","Peale’s Dolphin","Pygmy Killer Whale","Risso’s Dolphin","Rough-Toothed Dolphin","Sei Whale","Short-Beaked Common Dolphin","Short-finned Pilot Whale","Southern Bottlenose Whale","Southern Rightwhale Dolphin","Sperm Whale","Spinner Dolphin","Striped Dolphin","Tucuxi","White-Beaked Dolphin"],F4e=["Aberdeen Angus","Abergele","Abigar","Abondance","Abyssinian Shorthorned Zebu","Aceh","Achham","Adamawa","Adaptaur","Afar","Africangus","Afrikaner","Agerolese","Alambadi","Alatau","Albanian","Albera","Alderney","Alentejana","Aleutian wild cattle","Aliad Dinka","Alistana-Sanabresa","Allmogekor","Alur","American","American Angus","American Beef Friesian","American Brown Swiss","American Milking Devon","American White Park","Amerifax","Amrit Mahal","Amsterdam Island cattle","Anatolian Black","Andalusian Black","Andalusian Blond","Andalusian Grey","Angeln","Angoni","Ankina","Ankole","Ankole-Watusi","Aracena","Arado","Argentine Criollo","Argentine Friesian","Armorican","Arouquesa","Arsi","Asturian Mountain","Asturian Valley","Aubrac","Aulie-Ata","Aure et Saint-Girons","Australian Braford","Australian Brangus","Australian Charbray","Australian Friesian Sahiwal","Australian Lowline","Australian Milking Zebu","Australian Shorthorn","Austrian Simmental","Austrian Yellow","Avileña-Negra Ibérica","Avétonou","Aweil Dinka","Ayrshire","Azaouak","Azebuado","Azerbaijan Zebu","Azores","Bachaur cattle","Baherie cattle","Bakosi cattle","Balancer","Baoule","Bargur cattle","Barrosã","Barzona","Bazadaise","Beef Freisian","Beefalo","Beefmaker","Beefmaster","Begayt","Belgian Blue","Belgian Red","Belgian Red Pied","Belgian White-and-Red","Belmont Red","Belted Galloway","Bernese","Berrenda cattle","Betizu","Bianca Modenese","Blaarkop","Black Angus","Black Baldy","Black Hereford","Blanca Cacereña","Blanco Orejinegro BON","Blonde d'Aquitaine","Blue Albion","Blue Grey","Bohuskulla","Bonsmara","Boran","Boškarin","Braford","Brahman","Brahmousin","Brangus","Braunvieh","Brava","Breed","British Friesian","British White","Brown Carpathian","Brown Caucasian","Brown Swiss","Bue Lingo","Burlina","Bushuyev","Butana cattle","Buša cattle","Cachena","Caldelana","Camargue","Campbell Island cattle","Canadian Speckle Park","Canadienne","Canaria","Canchim","Caracu","Carinthian Blondvieh","Carora","Charbray","Charolais","Chateaubriand","Chiangus","Chianina","Chillingham cattle","Chinese Black Pied","Cholistani","Coloursided White Back","Commercial","Corriente","Corsican cattle","Costeño con Cuernos","Crioulo Lageano","Cárdena Andaluza","Dajal","Dangi cattle","Danish Black-Pied","Danish Jersey","Danish Red","Deep Red cattle","Deoni","Devon","Dexter cattle","Dhanni","Doayo cattle","Doela","Drakensberger","Droughtmaster","Dulong'","Dutch Belted","Dutch Friesian","Dwarf Lulu","Dølafe","East Anatolian Red","Eastern Finncattle","Eastern Red Polled","Enderby Island cattle","English Longhorn","Ennstaler Bergscheck","Estonian Holstein","Estonian Native","Estonian Red cattle","Finncattle","Finnish Ayrshire","Finnish Holstein-Friesian","Fjäll","Fleckvieh","Florida Cracker cattle","Fogera","French Simmental","Fribourgeoise","Friesian Red and White","Fulani Sudanese","Fēng Cattle","Galician Blond","Galloway cattle","Gangatiri","Gaolao","Garvonesa","Gascon cattle","Gelbvieh","Georgian Mountain cattle","German Angus","German Black Pied Dairy","German Black Pied cattle","German Red Pied","Gir","Glan cattle","Gloucester","Gobra","Greek Shorthorn","Greek Steppe","Greyman cattle","Gudali","Guernsey cattle","Guzerá","Hallikar4","Hanwoo","Hariana cattle","Hartón del Valle","Harzer Rotvieh","Hays Converter","Heck cattle","Hereford","Herens","Highland cattle","Hinterwald","Holando-Argentino","Holstein Friesian cattle","Horro","Hungarian Grey","Huáng Cattle","Hybridmaster","Iberian cattle","Icelandic","Illawarra cattle","Improved Red and White","Indo-Brazilian","Irish Moiled","Israeli Holstein","Israeli Red","Istoben cattle","Istrian cattle","Jamaica Black","Jamaica Hope","Jamaica Red","Japanese Brown","Jarmelista","Javari cattle","Jersey cattle","Jutland cattle","Kabin Buri cattle","Kalmyk cattle","Kamphaeng Saen cattle","Kangayam","Kankrej","Karan Swiss","Kasaragod Dwarf cattle","Kathiawadi","Kazakh Whiteheaded","Kenana cattle","Kenkatha cattle","Kerry cattle","Kherigarh","Khillari cattle","Kholomogory","Korat Wagyu","Kostroma cattle","Krishna Valley cattle","Kurgan cattle","Kuri","La Reina cattle","Lakenvelder cattle","Lampurger","Latvian Blue","Latvian Brown","Latvian Danish Red","Lebedyn","Levantina","Limia cattle","Limousin","Limpurger","Lincoln Red","Lineback","Lithuanian Black-and-White","Lithuanian Light Grey","Lithuanian Red","Lithuanian White-Backed","Lohani cattle","Lourdais","Lucerna cattle","Luing","Madagascar Zebu","Madura","Maine-Anjou","Malnad Gidda","Malvi","Mandalong Special","Mantequera Leonesa","Maramureş Brown","Marchigiana","Maremmana","Marinhoa","Maronesa","Masai","Mashona","Menorquina","Mertolenga","Meuse-Rhine-Issel","Mewati","Milking Shorthorn","Minhota","Mirandesa","Mirkadim","Mocăniţă","Mollie","Monchina","Mongolian","Montbéliarde","Morucha","Murboden","Murnau-Werdenfels","Murray Grey","Muturu","N'Dama","Nagori","Negra Andaluza","Nelore","Nguni","Nimari","Normande","North Bengal Grey","Northern Finncattle","Northern Shorthorn","Norwegian Red","Ongole","Original Simmental","Pajuna","Palmera","Pantaneiro","Parda Alpina","Parthenaise","Pasiega","Pembroke","Philippine Native","Pie Rouge des Plaines","Piedmontese cattle","Pineywoods","Pinzgauer","Pirenaica","Podolac","Podolica","Polish Black-and-White","Polish Red","Poll Shorthorn","Polled Hereford","Polled Shorthorn","Ponwar","Preta","Pulikulam","Punganur","Pustertaler Sprinzen","Qinchaun","Queensland Miniature Boran","RX3","Ramo Grande","Randall","Raramuri Criollo","Rathi","Raya","Red Angus","Red Brangus","Red Chittagong","Red Fulani","Red Gorbatov","Red Holstein","Red Kandhari","Red Mingrelian","Red Poll","Red Polled Østland","Red Sindhi","Retinta","Riggit Galloway","Ringamåla","Rohjan","Romagnola","Romanian Bălţata","Romanian Steppe Gray","Romosinuano","Russian Black Pied","Rätisches Grauvieh","Sahiwal","Salers","Salorn","Sanga","Sanhe","Santa Cruz","Santa Gertrudis","Sayaguesa","Schwyz","Selembu","Senepol","Serbian Pied","Serbian Steppe","Sheko","Shetland","Shorthorn","Siboney de Cuba","Simbrah","Simford","Simmental","Siri","South Devon","Spanish Fighting Bull","Speckle Park","Square Meater","Sussex","Swedish Friesian","Swedish Polled","Swedish Red Pied","Swedish Red Polled","Swedish Red-and-White","Tabapuã","Tarentaise","Tasmanian Grey","Tauros","Telemark","Texas Longhorn","Texon","Thai Black","Thai Fighting Bull","Thai Friesian","Thai Milking Zebu","Tharparkar","Tswana","Tudanca","Tuli","Tulim","Turkish Grey Steppe","Tux-Zillertal","Tyrol Grey","Ukrainian Grey","Umblachery","Valdostana Castana","Valdostana Pezzata Nera","Valdostana Pezzata Rossa","Vaynol","Vechur8","Vestland Fjord","Vestland Red Polled","Vianesa","Volinian Beef","Vorderwald","Vosgienne","Väneko","Waguli","Wagyu","Wangus","Welsh Black","Western Finncattle","White Cáceres","White Fulani","White Lamphun","White Park","Whitebred Shorthorn","Xingjiang Brown","Yakutian","Yanbian","Yanhuang","Yurino","Zebu","Évolène cattle","Żubroń"],E4e=["African Slender-snouted Crocodile","Alligator mississippiensis","American Crocodile","Australian Freshwater Crocodile","Black Caiman","Broad-snouted Caiman","Chinese Alligator","Cuban Crocodile","Cuvier’s Dwarf Caiman","Dwarf Crocodile","Gharial","Morelet’s Crocodile","Mugger Crocodile","New Guinea Freshwater Crocodile","Nile Crocodile","Orinoco Crocodile","Philippine Crocodile","Saltwater Crocodile","Schneider’s Smooth-fronted Caiman","Siamese Crocodile","Spectacled Caiman","Tomistoma","West African Crocodile","Yacare Caiman"],w4e=["Affenpinscher","Afghan Hound","Aidi","Airedale Terrier","Akbash","Akita","Alano Español","Alapaha Blue Blood Bulldog","Alaskan Husky","Alaskan Klee Kai","Alaskan Malamute","Alopekis","Alpine Dachsbracke","American Bulldog","American Bully","American Cocker Spaniel","American English Coonhound","American Foxhound","American Hairless Terrier","American Pit Bull Terrier","American Staffordshire Terrier","American Water Spaniel","Andalusian Hound","Anglo-Français de Petite Vénerie","Appenzeller Sennenhund","Ariegeois","Armant","Armenian Gampr dog","Artois Hound","Australian Cattle Dog","Australian Kelpie","Australian Shepherd","Australian Stumpy Tail Cattle Dog","Australian Terrier","Austrian Black and Tan Hound","Austrian Pinscher","Azawakh","Bakharwal dog","Banjara Hound","Barbado da Terceira","Barbet","Basenji","Basque Shepherd Dog","Basset Artésien Normand","Basset Bleu de Gascogne","Basset Fauve de Bretagne","Basset Hound","Bavarian Mountain Hound","Beagle","Beagle-Harrier","Bearded Collie","Beauceron","Bedlington Terrier","Belgian Shepherd","Bergamasco Shepherd","Berger Picard","Bernese Mountain Dog","Bhotia","Bichon Frisé","Billy","Black Mouth Cur","Black Norwegian Elkhound","Black Russian Terrier","Black and Tan Coonhound","Bloodhound","Blue Lacy","Blue Picardy Spaniel","Bluetick Coonhound","Boerboel","Bohemian Shepherd","Bolognese","Border Collie","Border Terrier","Borzoi","Bosnian Coarse-haired Hound","Boston Terrier","Bouvier des Ardennes","Bouvier des Flandres","Boxer","Boykin Spaniel","Bracco Italiano","Braque Francais","Braque Saint-Germain","Braque d'Auvergne","Braque de l'Ariège","Braque du Bourbonnais","Briard","Briquet Griffon Vendéen","Brittany","Broholmer","Bruno Jura Hound","Brussels Griffon","Bucovina Shepherd Dog","Bull Arab","Bull Terrier","Bulldog","Bullmastiff","Bully Kutta","Burgos Pointer","Cairn Terrier","Campeiro Bulldog","Can de Chira","Canaan Dog","Canadian Eskimo Dog","Cane Corso","Cane Paratore","Cane di Oropa","Cantabrian Water Dog","Cardigan Welsh Corgi","Carea Castellano Manchego","Carolina Dog","Carpathian Shepherd Dog","Catahoula Leopard Dog","Catalan Sheepdog","Caucasian Shepherd Dog","Cavalier King Charles Spaniel","Central Asian Shepherd Dog","Cesky Fousek","Cesky Terrier","Chesapeake Bay Retriever","Chien Français Blanc et Noir","Chien Français Blanc et Orange","Chien Français Tricolore","Chihuahua","Chilean Terrier","Chinese Chongqing Dog","Chinese Crested Dog","Chinook","Chippiparai","Chongqing dog","Chortai","Chow Chow","Cimarrón Uruguayo","Cirneco dell'Etna","Clumber Spaniel","Colombian fino hound","Coton de Tulear","Cretan Hound","Croatian Sheepdog","Curly-Coated Retriever","Cursinu","Czechoslovakian Wolfdog","Cão Fila de São Miguel","Cão da Serra de Aires","Cão de Castro Laboreiro","Cão de Gado Transmontano","Dachshund","Dalmatian","Dandie Dinmont Terrier","Danish-Swedish Farmdog","Denmark Feist","Dingo","Doberman Pinscher","Dogo Argentino","Dogo Guatemalteco","Dogo Sardesco","Dogue Brasileiro","Dogue de Bordeaux","Drentse Patrijshond","Drever","Dunker","Dutch Shepherd","Dutch Smoushond","East European Shepherd","East Siberian Laika","English Cocker Spaniel","English Foxhound","English Mastiff","English Setter","English Shepherd","English Springer Spaniel","English Toy Terrier","Entlebucher Mountain Dog","Estonian Hound","Estrela Mountain Dog","Eurasier","Field Spaniel","Fila Brasileiro","Finnish Hound","Finnish Lapphund","Finnish Spitz","Flat-Coated Retriever","French Bulldog","French Spaniel","Galgo Español","Galician Shepherd Dog","Garafian Shepherd","Gascon Saintongeois","Georgian Shepherd","German Hound","German Longhaired Pointer","German Pinscher","German Roughhaired Pointer","German Shepherd Dog","German Shorthaired Pointer","German Spaniel","German Spitz","German Wirehaired Pointer","Giant Schnauzer","Glen of Imaal Terrier","Golden Retriever","Gordon Setter","Gończy Polski","Grand Anglo-Français Blanc et Noir","Grand Anglo-Français Blanc et Orange","Grand Anglo-Français Tricolore","Grand Basset Griffon Vendéen","Grand Bleu de Gascogne","Grand Griffon Vendéen","Great Dane","Greater Swiss Mountain Dog","Greek Harehound","Greek Shepherd","Greenland Dog","Greyhound","Griffon Bleu de Gascogne","Griffon Fauve de Bretagne","Griffon Nivernais","Gull Dong","Gull Terrier","Hamiltonstövare","Hanover Hound","Harrier","Havanese","Hierran Wolfdog","Hokkaido","Hovawart","Huntaway","Hygen Hound","Hällefors Elkhound","Ibizan Hound","Icelandic Sheepdog","Indian Spitz","Indian pariah dog","Irish Red and White Setter","Irish Setter","Irish Terrier","Irish Water Spaniel","Irish Wolfhound","Istrian Coarse-haired Hound","Istrian Shorthaired Hound","Italian Greyhound","Jack Russell Terrier","Jagdterrier","Japanese Chin","Japanese Spitz","Japanese Terrier","Jindo","Jonangi","Kai Ken","Kaikadi","Kangal Shepherd Dog","Kanni","Karakachan dog","Karelian Bear Dog","Kars","Karst Shepherd","Keeshond","Kerry Beagle","Kerry Blue Terrier","King Charles Spaniel","King Shepherd","Kintamani","Kishu","Kokoni","Kombai","Komondor","Kooikerhondje","Koolie","Koyun dog","Kromfohrländer","Kuchi","Kuvasz","Labrador Retriever","Lagotto Romagnolo","Lakeland Terrier","Lancashire Heeler","Landseer","Lapponian Herder","Large Münsterländer","Leonberger","Levriero Sardo","Lhasa Apso","Lithuanian Hound","Lupo Italiano","Löwchen","Mackenzie River Husky","Magyar agár","Mahratta Greyhound","Maltese","Manchester Terrier","Maremmano-Abruzzese Sheepdog","McNab dog","Miniature American Shepherd","Miniature Bull Terrier","Miniature Fox Terrier","Miniature Pinscher","Miniature Schnauzer","Molossus of Epirus","Montenegrin Mountain Hound","Mountain Cur","Mountain Feist","Mucuchies","Mudhol Hound","Mudi","Neapolitan Mastiff","New Guinea Singing Dog","New Zealand Heading Dog","Newfoundland","Norfolk Terrier","Norrbottenspets","Northern Inuit Dog","Norwegian Buhund","Norwegian Elkhound","Norwegian Lundehund","Norwich Terrier","Nova Scotia Duck Tolling Retriever","Old Croatian Sighthound","Old Danish Pointer","Old English Sheepdog","Old English Terrier","Olde English Bulldogge","Otterhound","Pachon Navarro","Paisley Terrier","Pampas Deerhound","Papillon","Parson Russell Terrier","Pastore della Lessinia e del Lagorai","Patagonian Sheepdog","Patterdale Terrier","Pekingese","Pembroke Welsh Corgi","Perro Majorero","Perro de Pastor Mallorquin","Perro de Presa Canario","Perro de Presa Mallorquin","Peruvian Inca Orchid","Petit Basset Griffon Vendéen","Petit Bleu de Gascogne","Phalène","Pharaoh Hound","Phu Quoc Ridgeback","Picardy Spaniel","Plott Hound","Plummer Terrier","Podenco Canario","Podenco Valenciano","Pointer","Poitevin","Polish Greyhound","Polish Hound","Polish Lowland Sheepdog","Polish Tatra Sheepdog","Pomeranian","Pont-Audemer Spaniel","Poodle","Porcelaine","Portuguese Podengo","Portuguese Pointer","Portuguese Water Dog","Posavac Hound","Pražský Krysařík","Pshdar Dog","Pudelpointer","Pug","Puli","Pumi","Pungsan Dog","Pyrenean Mastiff","Pyrenean Mountain Dog","Pyrenean Sheepdog","Rafeiro do Alentejo","Rajapalayam","Rampur Greyhound","Rat Terrier","Ratonero Bodeguero Andaluz","Ratonero Mallorquin","Ratonero Murciano de Huerta","Ratonero Valenciano","Redbone Coonhound","Rhodesian Ridgeback","Romanian Mioritic Shepherd Dog","Romanian Raven Shepherd Dog","Rottweiler","Rough Collie","Russian Spaniel","Russian Toy","Russo-European Laika","Saarloos Wolfdog","Sabueso Español","Saint Bernard","Saint Hubert Jura Hound","Saint-Usuge Spaniel","Saluki","Samoyed","Sapsali","Sarabi dog","Sardinian Shepherd Dog","Schapendoes","Schillerstövare","Schipperke","Schweizer Laufhund","Schweizerischer Niederlaufhund","Scottish Deerhound","Scottish Terrier","Sealyham Terrier","Segugio Italiano","Segugio Maremmano","Segugio dell'Appennino","Seppala Siberian Sleddog","Serbian Hound","Serbian Tricolour Hound","Serrano Bulldog","Shar Pei","Shetland Sheepdog","Shiba Inu","Shih Tzu","Shikoku","Shiloh Shepherd","Siberian Husky","Silken Windhound","Silky Terrier","Sinhala Hound","Skye Terrier","Sloughi","Slovakian Wirehaired Pointer","Slovenský Cuvac","Slovenský Kopov","Smalandstövare","Small Greek domestic dog","Small Münsterländer","Smooth Collie","Smooth Fox Terrier","Soft-Coated Wheaten Terrier","South Russian Ovcharka","Spanish Mastiff","Spanish Water Dog","Spinone Italiano","Sporting Lucas Terrier","Stabyhoun","Staffordshire Bull Terrier","Standard Schnauzer","Stephens Stock","Styrian Coarse-haired Hound","Sussex Spaniel","Swedish Elkhound","Swedish Lapphund","Swedish Vallhund","Swedish White Elkhound","Taigan","Taiwan Dog","Tamaskan Dog","Teddy Roosevelt Terrier","Telomian","Tenterfield Terrier","Terrier Brasileiro","Thai Bangkaew Dog","Thai Ridgeback","Tibetan Mastiff","Tibetan Spaniel","Tibetan Terrier","Tornjak","Tosa","Toy Fox Terrier","Toy Manchester Terrier","Transylvanian Hound","Treeing Cur","Treeing Feist","Treeing Tennessee Brindle","Treeing Walker Coonhound","Trigg Hound","Tyrolean Hound","Vikhan","Villano de Las Encartaciones","Villanuco de Las Encartaciones","Vizsla","Volpino Italiano","Weimaraner","Welsh Sheepdog","Welsh Springer Spaniel","Welsh Terrier","West Highland White Terrier","West Siberian Laika","Westphalian Dachsbracke","Wetterhoun","Whippet","White Shepherd","White Swiss Shepherd Dog","Wire Fox Terrier","Wirehaired Pointing Griffon","Wirehaired Vizsla","Xiasi Dog","Xoloitzcuintli","Yakutian Laika","Yorkshire Terrier","Šarplaninac"],S4e=["Alaska pollock","Albacore","Amur catfish","Araucanian herring","Argentine hake","Asari","Asian swamp eel","Atlantic cod","Atlantic herring","Atlantic horse mackerel","Atlantic mackerel","Atlantic menhaden","Atlantic salmon","Bigeye scad","Bigeye tuna","Bighead carp","Black carp","Blood cockle","Blue swimming crab","Blue whiting","Bombay-duck","Bonga shad","California pilchard","Cape horse mackerel","Capelin","Catla","Channel catfish","Chilean jack mackerel","Chinese perch","Chinese softshell turtle","Chub mackerel","Chum salmon","Common carp","Crucian carp","Daggertooth pike conger","European anchovy","European pilchard","European sprat","Filipino Venus","Gazami crab","Goldstripe sardinella","Grass carp","Gulf menhaden","Haddock","Hilsa shad","Indian mackerel","Indian oil sardine","Iridescent shark","Japanese anchovy","Japanese cockle","Japanese common catfish","Japanese flying squid","Japanese jack mackerel","Japanese littleneck","Japanese pilchard","Jumbo flying squid","Kawakawa","Korean bullhead","Largehead hairtail","Longtail tuna","Madeiran sardinella","Mandarin fish","Milkfish","Mrigal carp","Narrow-barred Spanish mackerel","Nile perch","Nile tilapia","North Pacific hake","Northern snakehead","Pacific anchoveta","Pacific cod","Pacific herring","Pacific sand lance","Pacific sandlance","Pacific saury","Pacific thread herring","Peruvian anchoveta","Pink salmon","Pollock","Pond loach","Rainbow trout","Rohu","Round sardinella","Short mackerel","Silver carp","Silver cyprinid","Skipjack tuna","Southern African anchovy","Southern rough shrimp","Whiteleg shrimp","Wuchang bream","Yellow croaker","Yellowfin tuna","Yellowhead catfish","Yellowstripe scad"],A4e=["Abaco Barb","Abtenauer","Abyssinian","Aegidienberger","Akhal-Teke","Albanian Horse","Altai Horse","Altèr Real","American Albino","American Cream Draft","American Indian Horse","American Paint Horse","American Quarter Horse","American Saddlebred","American Warmblood","Andalusian Horse","Andravida Horse","Anglo-Arabian","Anglo-Arabo-Sardo","Anglo-Kabarda","Appaloosa","AraAppaloosa","Arabian Horse","Ardennes Horse","Arenberg-Nordkirchen","Argentine Criollo","Asian wild Horse","Assateague Horse","Asturcón","Augeron","Australian Brumby","Australian Draught Horse","Australian Stock Horse","Austrian Warmblood","Auvergne Horse","Auxois","Azerbaijan Horse","Azteca Horse","Baise Horse","Bale","Balearic Horse","Balikun Horse","Baluchi Horse","Banker Horse","Barb Horse","Bardigiano","Bashkir Curly","Basque Mountain Horse","Bavarian Warmblood","Belgian Half-blood","Belgian Horse","Belgian Warmblood","Bhutia Horse","Black Forest Horse","Blazer Horse","Boerperd","Borana","Boulonnais Horse","Brabant","Brandenburger","Brazilian Sport Horse","Breton Horse","Brumby","Budyonny Horse","Burguete Horse","Burmese Horse","Byelorussian Harness Horse","Calabrese Horse","Camargue Horse","Camarillo White Horse","Campeiro","Campolina","Canadian Horse","Canadian Pacer","Carolina Marsh Tacky","Carthusian Horse","Caspian Horse","Castilian Horse","Castillonnais","Catria Horse","Cavallo Romano della Maremma Laziale","Cerbat Mustang","Chickasaw Horse","Chilean Corralero","Choctaw Horse","Cleveland Bay","Clydesdale Horse","Cob","Coldblood Trotter","Colonial Spanish Horse","Colorado Ranger","Comtois Horse","Corsican Horse","Costa Rican Saddle Horse","Cretan Horse","Criollo Horse","Croatian Coldblood","Cuban Criollo","Cumberland Island Horse","Curly Horse","Czech Warmblood","Daliboz","Danish Warmblood","Danube Delta Horse","Dole Gudbrandsdal","Don","Dongola Horse","Draft Trotter","Dutch Harness Horse","Dutch Heavy Draft","Dutch Warmblood","Dzungarian Horse","East Bulgarian","East Friesian Horse","Estonian Draft","Estonian Horse","Falabella","Faroese","Finnhorse","Fjord Horse","Fleuve","Florida Cracker Horse","Foutanké","Frederiksborg Horse","Freiberger","French Trotter","Friesian Cross","Friesian Horse","Friesian Sporthorse","Furioso-North Star","Galiceño","Galician Pony","Gelderland Horse","Georgian Grande Horse","German Warmblood","Giara Horse","Gidran","Groningen Horse","Gypsy Horse","Hackney Horse","Haflinger","Hanoverian Horse","Heck Horse","Heihe Horse","Henson Horse","Hequ Horse","Hirzai","Hispano-Bretón","Holsteiner Horse","Horro","Hungarian Warmblood","Icelandic Horse","Iomud","Irish Draught","Irish Sport Horse sometimes called Irish Hunter","Italian Heavy Draft","Italian Trotter","Jaca Navarra","Jeju Horse","Jutland Horse","Kabarda Horse","Kafa","Kaimanawa Horses","Kalmyk Horse","Karabair","Karabakh Horse","Karachai Horse","Karossier","Kathiawari","Kazakh Horse","Kentucky Mountain Saddle Horse","Kiger Mustang","Kinsky Horse","Kisber Felver","Kiso Horse","Kladruber","Knabstrupper","Konik","Kundudo","Kustanair","Kyrgyz Horse","Latvian Horse","Lipizzan","Lithuanian Heavy Draught","Lokai","Losino Horse","Lusitano","Lyngshest","M'Bayar","M'Par","Mallorquín","Malopolski","Mangalarga","Mangalarga Marchador","Maremmano","Marismeño Horse","Marsh Tacky","Marwari Horse","Mecklenburger","Menorquín","Messara Horse","Metis Trotter","Mezőhegyesi Sport Horse","Međimurje Horse","Miniature Horse","Misaki Horse","Missouri Fox Trotter","Monchina","Mongolian Horse","Mongolian Wild Horse","Monterufolino","Morab","Morgan Horse","Mountain Pleasure Horse","Moyle Horse","Murakoz Horse","Murgese","Mustang Horse","Mérens Horse","Namib Desert Horse","Nangchen Horse","National Show Horse","Nez Perce Horse","Nivernais Horse","Nokota Horse","Noma","Nonius Horse","Nooitgedachter","Nordlandshest","Noriker Horse","Norman Cob","North American Single-Footer Horse","North Swedish Horse","Norwegian Coldblood Trotter","Norwegian Fjord","Novokirghiz","Oberlander Horse","Ogaden","Oldenburg Horse","Orlov trotter","Ostfriesen","Paint","Pampa Horse","Paso Fino","Pentro Horse","Percheron","Persano Horse","Peruvian Paso","Pintabian","Pleven Horse","Poitevin Horse","Posavac Horse","Pottok","Pryor Mountain Mustang","Przewalski's Horse","Pura Raza Española","Purosangue Orientale","Qatgani","Quarab","Quarter Horse","Racking Horse","Retuerta Horse","Rhenish German Coldblood","Rhinelander Horse","Riwoche Horse","Rocky Mountain Horse","Romanian Sporthorse","Rottaler","Russian Don","Russian Heavy Draft","Russian Trotter","Saddlebred","Salerno Horse","Samolaco Horse","San Fratello Horse","Sarcidano Horse","Sardinian Anglo-Arab","Schleswig Coldblood","Schwarzwälder Kaltblut","Selale","Sella Italiano","Selle Français","Shagya Arabian","Shan Horse","Shire Horse","Siciliano Indigeno","Silesian Horse","Sokolsky Horse","Sorraia","South German Coldblood","Soviet Heavy Draft","Spanish Anglo-Arab","Spanish Barb","Spanish Jennet Horse","Spanish Mustang","Spanish Tarpan","Spanish-Norman Horse","Spiti Horse","Spotted Saddle Horse","Standardbred Horse","Suffolk Punch","Swedish Ardennes","Swedish Warmblood","Swedish coldblood trotter","Swiss Warmblood","Taishū Horse","Takhi","Tawleed","Tchernomor","Tennessee Walking Horse","Tersk Horse","Thoroughbred","Tiger Horse","Tinker Horse","Tolfetano","Tori Horse","Trait Du Nord","Trakehner","Tsushima","Tuigpaard","Ukrainian Riding Horse","Unmol Horse","Uzunyayla","Ventasso Horse","Virginia Highlander","Vlaamperd","Vladimir Heavy Draft","Vyatka","Waler","Waler Horse","Walkaloosa","Warlander","Warmblood","Welsh Cob","Westphalian Horse","Wielkopolski","Württemberger","Xilingol Horse","Yakutian Horse","Yili Horse","Yonaguni Horse","Zaniskari","Zhemaichu","Zweibrücker","Žemaitukas"],D4e=["Acacia-ants","Acorn-plum gall","Aerial yellowjacket","Africanized honey bee","Allegheny mound ant","Almond stone wasp","Ant","Arboreal ant","Argentine ant","Asian paper wasp","Baldfaced hornet","Bee","Bigheaded ant","Black and yellow mud dauber","Black carpenter ant","Black imported fire ant","Blue horntail woodwasp","Blue orchard bee","Braconid wasp","Bumble bee","Carpenter ant","Carpenter wasp","Chalcid wasp","Cicada killer","Citrus blackfly parasitoid","Common paper wasp","Crazy ant","Cuckoo wasp","Cynipid gall wasp","Eastern Carpenter bee","Eastern yellowjacket","Elm sawfly","Encyrtid wasp","Erythrina gall wasp","Eulophid wasp","European hornet","European imported fire ant","False honey ant","Fire ant","Forest bachac","Forest yellowjacket","German yellowjacket","Ghost ant","Giant ichneumon wasp","Giant resin bee","Giant wood wasp","Golden northern bumble bee","Golden paper wasp","Gouty oak gall","Grass Carrying Wasp","Great black wasp","Great golden digger wasp","Hackberry nipple gall parasitoid","Honey bee","Horned oak gall","Horse guard wasp","Hunting wasp","Ichneumonid wasp","Keyhole wasp","Knopper gall","Large garden bumble bee","Large oak-apple gall","Leafcutting bee","Little fire ant","Little yellow ant","Long-horned bees","Long-legged ant","Macao paper wasp","Mallow bee","Marble gall","Mossyrose gall wasp","Mud-daubers","Multiflora rose seed chalcid","Oak apple gall wasp","Oak rough bulletgall wasp","Oak saucer gall","Oak shoot sawfly","Odorous house ant","Orange-tailed bumble bee","Orangetailed potter wasp","Oriental chestnut gall wasp","Paper wasp","Pavement ant","Pigeon tremex","Pip gall wasp","Prairie yellowjacket","Pteromalid wasp","Pyramid ant","Raspberry Horntail","Red ant","Red carpenter ant","Red harvester ant","Red imported fire ant","Red wasp","Red wood ant","Red-tailed wasp","Reddish carpenter ant","Rough harvester ant","Sawfly parasitic wasp","Scale parasitoid","Silky ant","Sirex woodwasp","Siricid woodwasp","Smaller yellow ant","Southeastern blueberry bee","Southern fire ant","Southern yellowjacket","Sphecid wasp","Stony gall","Sweat bee","Texas leafcutting ant","Tiphiid wasp","Torymid wasp","Tramp ant","Valentine ant","Velvet ant","Vespid wasp","Weevil parasitoid","Western harvester ant","Western paper wasp","Western thatching ant","Western yellowjacket","White-horned horntail","Willow shoot sawfly","Woodwasp","Wool sower gall maker","Yellow Crazy Ant","Yellow and black potter wasp","Yellow-horned horntail"],T4e=["Asiatic Lion","Barbary Lion","Cape lion","Masai Lion","Northeast Congo Lion","Transvaal lion","West African Lion"],k4e=["Ace","Archie","Bailey","Bandit","Bella","Bentley","Bruno","Buddy","Charlie","Coco","Cookie","Cooper","Daisy","Dixie","Finn","Ginger","Gracie","Gus","Hank","Jack","Jax","Joey","Kobe","Leo","Lola","Louie","Lucy","Maggie","Max","Mia","Milo","Molly","Murphey","Nala","Nova","Ollie","Oreo","Rosie","Scout","Stella","Teddy","Tuffy"],_4e=["American","American Chinchilla","American Fuzzy Lop","American Sable","Argente Brun","Belgian Hare","Beveren","Blanc de Hotot","Britannia Petite","Californian","Champagne D’Argent","Checkered Giant","Cinnamon","Crème D’Argent","Dutch","Dwarf Hotot","English Angora","English Lop","English Spot","Flemish Giant","Florida White","French Angora","French Lop","Giant Angora","Giant Chinchilla","Harlequin","Havana","Himalayan","Holland Lop","Jersey Wooly","Lilac","Lionhead","Mini Lop","Mini Rex","Mini Satin","Netherland Dwarf","New Zealand","Palomino","Polish","Rex","Rhinelander","Satin","Satin Angora","Silver","Silver Fox","Silver Marten","Standard Chinchilla","Tan","Thrianta"],x4e=["Abrocoma","Abrocoma schistacea","Aconaemys","Aconaemys porteri","African brush-tailed porcupine","Andean mountain cavy","Argentine tuco-tuco","Ashy chinchilla rat","Asiatic brush-tailed porcupine","Atherurus","Azara's agouti","Azara's tuco-tuco","Bahia porcupine","Bathyergus","Bathyergus janetta","Bathyergus suillus","Bennett's chinchilla rat","Bicolored-spined porcupine","Black agouti","Black dwarf porcupine","Black-rumped agouti","Black-tailed hairy dwarf porcupine","Bolivian chinchilla rat","Bolivian tuco-tuco","Bonetto's tuco-tuco","Brandt's yellow-toothed cavy","Brazilian guinea pig","Brazilian porcupine","Brazilian tuco-tuco","Bridge's degu","Brown hairy dwarf porcupine","Budin's chinchilla rat, A. budini","Cape porcupine","Catamarca tuco-tuco","Cavia","Central American agouti","Chacoan tuco-tuco","Chilean rock rat","Chinchilla","Coendou","Coiban agouti","Colburn's tuco-tuco","Collared tuco-tuco","Common degu","Common yellow-toothed cavy","Conover's tuco-tuco","Coruro","Crested agouti","Crested porcupine","Cryptomys","Cryptomys bocagei","Cryptomys damarensis","Cryptomys foxi","Cryptomys hottentotus","Cryptomys mechowi","Cryptomys ochraceocinereus","Cryptomys zechi","Ctenomys","Cuniculus","Cuscomys","Cuscomys ashanika","Dactylomys","Dactylomys boliviensis","Dactylomys dactylinus","Dactylomys peruanus","Dasyprocta","Domestic guinea pig","Emily's tuco-tuco","Erethizon","Famatina chinchilla rat","Frosted hairy dwarf porcupine","Fukomys","Fukomys amatus","Fukomys anselli","Fukomys bocagei","Fukomys damarensis","Fukomys darlingi","Fukomys foxi","Fukomys ilariae","Fukomys kafuensis","Fukomys mechowii","Fukomys micklemi","Fukomys occlusus","Fukomys ochraceocinereus","Fukomys whytei","Fukomys zechi","Furtive tuco-tuco","Galea","Georychus","Georychus capensis","Golden viscacha-rat","Goya tuco-tuco","Greater guinea pig","Green acouchi","Haig's tuco-tuco","Heliophobius","Heliophobius argenteocinereus","Heterocephalus","Heterocephalus glaber","Highland tuco-tuco","Hystrix","Indian porcupine","Isla Mocha degu","Kalinowski agouti","Kannabateomys","Kannabateomys amblyonyx","Lagidium","Lagostomus","Lewis' tuco-tuco","Long-tailed chinchilla","Long-tailed porcupine","Los Chalchaleros' viscacha-rat","Lowland paca","Magellanic tuco-tuco","Malayan porcupine","Maule tuco-tuco","Mendoza tuco-tuco","Mexican agouti","Mexican hairy dwarf porcupine","Microcavia","Montane guinea pig","Moon-toothed degu","Mottled tuco-tuco","Mountain degu","Mountain paca","Mountain viscacha-rat","Myoprocta","Natterer's tuco-tuco","North American porcupine","Northern viscacha","Octodon","Octodontomys","Octomys","Olallamys","Olallamys albicauda","Olallamys edax","Orinoco agouti","Paraguaian hairy dwarf porcupine","Pearson's tuco-tuco","Peruvian tuco-tuco","Philippine porcupine","Pipanacoctomys","Plains viscacha","Plains viscacha-rat","Porteous' tuco-tuco","Punta de Vacas chinchilla rat","Red acouchi","Red-rumped agouti","Reddish tuco-tuco","Rio Negro tuco-tuco","Robust tuco-tuco","Roosmalen's dwarf porcupine","Rothschild's porcupine","Ruatan Island agouti","Sage's rock rat","Salinoctomys","Salta tuco-tuco","San Luis tuco-tuco","Santa Catarina's guinea pig","Shiny guinea pig","Shipton's mountain cavy","Short-tailed chinchilla","Silky tuco-tuco","Social tuco-tuco","Southern mountain cavy","Southern tuco-tuco","Southern viscacha","Spalacopus","Spix's yellow-toothed cavy","Steinbach's tuco-tuco","Streaked dwarf porcupine","Strong tuco-tuco","Stump-tailed porcupine","Sumatran porcupine","Sunda porcupine","Talas tuco-tuco","Tawny tuco-tuco","Thick-spined porcupine","Tiny tuco-tuco","Trichys","Tucuman tuco-tuco","Tympanoctomys","Uspallata chinchilla rat","White-toothed tuco-tuco","Wolffsohn's viscacha"],M4e=["Abaco Island boa","Aesculapian snake","African beaked snake","African puff adder","African rock python","African twig snake","African wolf snake","Amazon tree boa","Amazonian palm viper","American Vine Snake","American copperhead","Amethystine python","Anaconda","Andaman cat snake","Andaman cobra","Angolan python","Annulated sea snake","Arabian cobra","Arafura file snake","Arizona black rattlesnake","Arizona coral snake","Aruba rattlesnake","Asian Vine Snake, Whip Snake","Asian cobra","Asian keelback","Asian pipe snake","Asp","Asp viper","Assam keelback","Australian copperhead","Australian scrub python","Baird's rat snake","Baja California lyresnake","Ball Python","Ball python","Bamboo pitviper","Bamboo viper","Banded Flying Snake","Banded cat-eyed snake","Banded krait","Banded pitviper","Banded water cobra","Barbour's pit viper","Barred wolf snake","Beaked sea snake","Beauty rat snake","Beddome's cat snake","Beddome's coral snake","Bimini racer","Bird snake","Bismarck ringed python","Black headed python","Black krait","Black mamba","Black rat snake","Black snake","Black tree cobra","Black-banded trinket snake","Black-headed snake","Black-necked cobra","Black-necked spitting cobra","Black-speckled palm-pitviper","Black-striped keelback","Black-tailed horned pit viper","Blanding's tree snake","Blind snake","Blonde hognose snake","Blood python","Blue krait","Blunt-headed tree snake","Bluntnose viper","Boa","Boa constrictor","Bocourt's water snake","Boelen python","Boiga","Bolivian anaconda","Boomslang","Bornean pitviper","Borneo short-tailed python","Brahminy blind snake","Brazilian coral snake","Brazilian mud Viper","Brazilian smooth snake","Bredl's python","Brongersma's pitviper","Brown snake","Brown spotted pitviper[4]","Brown tree snake","Brown water python","Brown white-lipped python","Buff striped keelback","Bull snake","Burmese keelback","Burmese krait","Burmese python","Burrowing cobra","Burrowing viper","Bush viper","Bushmaster","Buttermilk racer","Calabar python","California kingsnake","Canebrake","Cantil","Cantor's pitviper","Cape cobra","Cape coral snake","Cape gopher snake","Carpet viper","Cascabel","Caspian cobra","Cat snake","Cat-eyed night snake","Cat-eyed snake","Central American lyre snake","Central ranges taipan","Centralian carpet python","Ceylon krait","Chappell Island tiger snake","Checkered garter snake","Checkered keelback","Chicken snake","Chihuahuan ridge-nosed rattlesnake","Children's python","Chinese tree viper","Coachwhip snake","Coastal carpet python","Coastal taipan","Cobra","Collett's snake","Colorado desert sidewinder","Common adder","Common cobra","Common garter snake","Common ground snake","Common keelback","Common lancehead","Common tiger snake","Common worm snake","Congo snake","Congo water cobra","Copperhead","Coral snake","Corn snake","Coronado Island rattlesnake","Cottonmouth","Crossed viper","Crowned snake","Cuban boa","Cuban wood snake","Cyclades blunt-nosed viper","Dauan Island water python","De Schauensee's anaconda","Death Adder","Desert death adder","Desert kingsnake","Desert woma python","Diamond python","Dog-toothed cat snake","Down's tiger snake","Dubois's sea snake","Dumeril's boa","Durango rock rattlesnake","Dusky pigmy rattlesnake","Dusty hognose snake","Dwarf beaked snake","Dwarf boa","Dwarf pipe snake","Dwarf sand adder","Eastern brown snake","Eastern coral snake","Eastern diamondback rattlesnake","Eastern green mamba","Eastern hognose snake","Eastern lyre snake","Eastern mud snake","Eastern racer","Eastern tiger snake","Eastern water cobra","Eastern yellowbelly sad racer","Egg-eater","Egyptian asp","Egyptian cobra","Elegant pitviper","Emerald tree boa","Equatorial spitting cobra","European asp","European smooth snake","Eyelash palm-pitviper","Eyelash pit viper","Eyelash viper","False cobra","False horned viper","False water cobra","Fan-Si-Pan horned pitviper","Fea's viper","Fer-de-lance","Fierce snake","Fifty pacer","Fishing snake","Flat-nosed pitviper","Flinders python","Flying snake","Forest cobra","Forest flame snake","Forsten's cat snake","Fox snake, three species of Pantherophis","Gaboon viper","Garter snake","Giant Malagasy hognose snake","Godman's pit viper","Gold tree cobra","Gold-ringed cat snake","Golden tree snake","Grand Canyon rattlesnake","Grass snake","Gray cat snake","Great Basin rattlesnake","Great Lakes bush viper","Great Plains rat snake","Green anaconda","Green cat-eyed snake","Green mamba","Green palm viper","Green rat snake","Green snake","Green tree pit viper","Green tree python","Grey Lora","Grey-banded kingsnake","Ground snake","Guatemalan palm viper","Guatemalan tree viper","Habu","Habu pit viper","Hagen's pitviper","Hairy bush viper","Halmahera python","Hardwicke's sea snake","Harlequin coral snake","High Woods coral snake","Hill keelback","Himalayan keelback","Hogg Island boa","Hognose snake","Hognosed viper","Honduran palm viper","Hook Nosed Sea Snake","Hopi rattlesnake","Horned adder","Horned desert viper","Horned viper","Horseshoe pitviper","Hundred pacer","Hutton's tree viper","Ikaheka snake","Indian cobra","Indian flying snake","Indian krait","Indian python","Indian tree viper","Indigo snake","Indochinese spitting cobra","Indonesian water python","Inland carpet python","Inland taipan","Jamaican Tree Snake","Jamaican boa","Jan's hognose snake","Japanese forest rat snake","Japanese rat snake","Japanese striped snake","Javan spitting cobra","Jerdon's pitviper","Jumping viper","Jungle carpet python","Kanburian pit viper","Kaulback's lance-headed pitviper","Kayaudi dwarf reticulated python","Kaznakov's viper","Keelback","Kham Plateau pitviper","Khasi Hills keelback","King Island tiger snake","King brown","King cobra","King rat snake","King snake","Krait","Krefft's tiger snake","Lance-headed rattlesnake","Lancehead","Large shield snake","Large-eyed pitviper","Large-scaled tree viper","Leaf viper","Leaf-nosed viper","Lesser black krait","Levant viper","Long-nosed adder","Long-nosed tree snake","Long-nosed viper","Long-nosed whip snake","Long-tailed rattlesnake","Longnosed worm snake","Lora","Lyre snake","Machete savane","Macklot's python","Madagascar ground boa","Madagascar tree boa","Malabar rock pitviper","Malayan krait","Malayan long-glanded coral snake","Malayan pit viper","Malcolm's tree viper","Mamba","Mamushi","Manchurian Black Water Snake","Mandalay cobra","Mandarin rat snake","Mangrove pit viper","Mangrove snake","Mangshan pitviper","Many-banded krait","Many-banded tree snake","Many-horned adder","Many-spotted cat snake","Massasauga rattlesnake","McMahon's viper","Mexican black kingsnake","Mexican green rattlesnake","Mexican hognose snake","Mexican palm-pitviper","Mexican parrot snake","Mexican racer","Mexican vine snake","Mexican west coast rattlesnake","Midget faded rattlesnake","Milk snake","Moccasin snake","Modest keelback","Mojave desert sidewinder","Mojave rattlesnake","Mole viper","Mollucan python","Moluccan flying snake","Montpellier snake","Motuo bamboo pitviper","Mountain adder","Mozambique spitting cobra","Mud adder","Mud snake","Mussurana","Namaqua dwarf adder","Namib dwarf sand adder","Narrowhead Garter Snake","New Guinea carpet python","Nichell snake","Nicobar Island keelback","Nicobar bamboo pitviper","Night snake","Nightingale adder","Nilgiri keelback","Nitsche's bush viper","Nitsche's tree viper","North Philippine cobra","North eastern king snake","Northeastern hill krait","Northern black-tailed rattlesnake","Northern tree snake","Northern water snake","Northern white-lipped python","Northwestern carpet python","Nose-horned viper","Nubian spitting cobra","Oaxacan small-headed rattlesnake","Oenpelli python","Olive python","Olive sea snake","Orange-collared keelback","Ornate flying snake","Palestine viper","Pallas' viper","Palm viper","Papuan python","Paradise flying snake","Parrot snake","Patchnose snake","Paupan taipan","Pelagic sea snake","Peninsula tiger snake","Peringuey's adder","Perrotet's shieldtail snake","Persian rat snake","Philippine cobra","Philippine pitviper","Pine snake","Pipe snake","Pit viper","Pointed-scaled pit viper[5]","Pope's tree viper","Portuguese viper","Prairie kingsnake","Puerto Rican boa","Puff adder","Pygmy python","Python","Queen snake","Racer","Raddysnake","Rainbow boa","Rat snake","Rattler","Rattlesnake","Red blood python","Red diamond rattlesnake","Red spitting cobra","Red-backed rat snake","Red-bellied black snake","Red-headed krait","Red-necked keelback","Red-tailed bamboo pitviper","Red-tailed boa","Red-tailed pipe snake","Reticulated python","Rhinoceros viper","Rhombic night adder","Ribbon snake","Rinkhals","Rinkhals cobra","River jack","Rosy boa","Rough green snake","Rough-scaled bush viper","Rough-scaled python","Rough-scaled tree viper","Royal python","Rubber boa","Rufous beaked snake","Rungwe tree viper","San Francisco garter snake","Sand adder","Sand boa","Savu python","Saw-scaled viper","Scarlet kingsnake","Schlegel's viper","Schultze's pitviper","Sea snake","Sedge viper","Selayer reticulated python","Sharp-nosed viper","Shield-nosed cobra","Shield-tailed snake","Siamese palm viper","Side-striped palm-pitviper","Sidewinder","Sikkim keelback","Sinai desert cobra","Sind krait","Small-eyed snake","Smooth green snake","Smooth snake","Snorkel viper","Snouted cobra","Sonoran sidewinder","South American hognose snake","South eastern corn snake","Southern Indonesian spitting cobra","Southern Pacific rattlesnake","Southern Philippine cobra","Southern black racer","Southern white-lipped python","Southwestern black spitting cobra","Southwestern blackhead snake","Southwestern carpet python","Southwestern speckled rattlesnake","Speckle-bellied keelback","Speckled kingsnake","Spectacled cobra","Spiny bush viper","Spitting cobra","Spotted python","Sri Lankan pit viper","Stejneger's bamboo pitviper","Stiletto snake","Stimson's python","Stoke's sea snake","Storm water cobra","Striped snake","Sumatran short-tailed python","Sumatran tree viper","Sunbeam snake","Taipan","Taiwan cobra","Tan racer","Tancitaran dusky rattlesnake","Tanimbar python","Tasmanian tiger snake","Tawny cat snake","Temple pit viper","Temple viper","Tentacled snake","Texas Coral Snake","Texas blind snake","Texas garter snake","Texas lyre snake","Texas night snake","Thai cobra","Three-lined ground snake","Tibetan bamboo pitviper","Tic polonga","Tiger pit viper","Tiger rattlesnake","Tiger snake","Tigre snake","Timber rattlesnake","Timor python","Titanboa","Tree boa","Tree snake","Tree viper","Trinket snake","Tropical rattlesnake","Twig snake","Twin Headed King Snake","Twin-Barred tree snake","Twin-spotted rat snake","Twin-spotted rattlesnake","Undulated pit viper","Uracoan rattlesnake","Ursini's viper","Urutu","Vine snake","Viper","Viper Adder","Vipera ammodytes","Wagler's pit viper","Wart snake","Water adder","Water moccasin","Water snake","West Indian racer","Western blind snake","Western carpet python","Western coral snake","Western diamondback rattlesnake","Western green mamba","Western ground snake","Western hog-nosed viper","Western mud snake","Western tiger snake","Western woma python","Wetar Island python","Whip snake","White-lipped keelback","White-lipped python","White-lipped tree viper","Wirot's pit viper","Wolf snake","Woma python","Worm snake","Wutu","Wynaad keelback","Yarara","Yellow anaconda","Yellow-banded sea snake","Yellow-bellied sea snake","Yellow-lined palm viper","Yellow-lipped sea snake","Yellow-striped rat snake","Yunnan keelback","Zebra snake","Zebra spitting cobra"],B4e=["bat","bear","bee","bird","butterfly","cat","cow","crocodile","deer","dog","dolphin","eagle","elephant","fish","flamingo","fox","frog","gecko","giraffe","gorilla","hamster","hippopotamus","horse","kangaroo","koala","lion","monkey","ostrich","panda","parrot","peacock","penguin","polar bear","rabbit","rhinoceros","sea lion","shark","snake","squirrel","tiger","turtle","whale","wolf","zebra"],R4e={bear:g4e,bird:y4e,cat:b4e,cetacean:C4e,cow:F4e,crocodilia:E4e,dog:w4e,fish:S4e,horse:A4e,insect:D4e,lion:T4e,pet_name:k4e,rabbit:_4e,rodent:x4e,snake:M4e,type:B4e},L4e=R4e,O4e=["{{person.name}}","{{company.name}}"],P4e=["Redhold","Treeflex","Trippledex","Kanlam","Bigtax","Daltfresh","Toughjoyfax","Mat Lam Tam","Otcom","Tres-Zap","Y-Solowarm","Tresom","Voltsillam","Biodex","Greenlam","Viva","Matsoft","Temp","Zoolab","Subin","Rank","Job","Stringtough","Tin","It","Home Ing","Zamit","Sonsing","Konklab","Alpha","Latlux","Voyatouch","Alphazap","Holdlamis","Zaam-Dox","Sub-Ex","Quo Lux","Bamity","Ventosanzap","Lotstring","Hatity","Tempsoft","Overhold","Fixflex","Konklux","Zontrax","Tampflex","Span","Namfix","Transcof","Stim","Fix San","Sonair","Stronghold","Fintone","Y-find","Opela","Lotlux","Ronstring","Zathin","Duobam","Keylex"],I4e=["0.#.#","0.##","#.##","#.#","#.#.#"],N4e={author:O4e,name:P4e,version:I4e},$4e=N4e,V4e=["A.A. Milne","Agatha Christie","Alan Moore and Dave Gibbons","Albert Camus","Aldous Huxley","Alexander Pope","Alexandre Dumas","Alice Walker","Andrew Lang","Anne Frank","Anthony Burgess","Anthony Trollope","Antoine de Saint-Exupéry","Anton Chekhov","Anton Pavlovich Chekhov","Arthur Conan Doyle","Arthur Schopenhauer","Aylmer Maude","Ayn Rand","Beatrix Potter","Benjamin Disraeli","Benjamin Jowett","Bernard Shaw","Bertrand Russell","Bhagavanlal Indrajit","Boris Pasternak","Bram Stoker","Brian Evenson","C.E. Brock","C.S. Lewis","Carson McCallers","Charles Dickens","Charles E. Derbyshire","Charlotte Brontë","Charlotte Perkins Gilman","Chinua Achebe","Clifford R. Adams","Constance Garnett","Cormac McCarthy","D.H. Lawrence","Dan Brown","Daniel Defoe","Dante Alighieri","Dashiell Hammett","David Widger","David Wyllie","Dean Koontz","Don DeLillo","E.M. Forster","Edgar Allan Poe","Edgar Rice Burroughs","Elizabeth Cleghorn Gaskell","Elizabeth Von Arnim","Emily Brontë","Erich Remarque","Ernest Hemingway","Evelyn Waugh","F. Scott Fitzgerald","Ford Madox Ford","Frances Hodgson Burnett","Frank Herbert","Frank T. Merrill","Franz Kafka","Friedrich Wilhelm Nietzsche","Fyodor Dostoyevsky","G.K. Chesterton","Gabriel Garcia Marquez","Geoffrey Chaucer","George Eliot","George Grossmith","George Orwell","George R. R. Martin","George Saunders","Grady Ward","Graham Greene","Gustave Doré","Gustave Flaubert","Guy de Maupassant","Günter Grass","H.G. Wells","H.P. Lovecraft","Harper Lee","Harriet Beecher Stowe","Haruki Murakami","Henrik Ibsen","Henry David Thoreau","Henry Fielding","Henry James","Henry Miller","Henry Morley","Herman Melville","Hermann Broch","Homer","Honoré de Balzac","Ian McEwan","Isabel Florence Hapgood","Italo Calvino","J.D. Salinger","J.K. Rowling","J.M. Barrie","J.R.R. Tolkien","Jack Kerouac","Jack London","Jacob Grimm","Jacqueline Crooks","James Baldwin","James Dickey","James Ellroy","James Joyce","James Patterson","Jane Austen","Johann Wolfgang von Goethe","John Bunyan","John Camden Hotten","John Dos Passos","John Green","John Grisham","John Kennedy Toole","John Milton","John Ormsby","John Steinbeck","John Updike","Jonathan Franzen","Jonathan Swift","Joseph Conrad","Joseph Heller","José Rizal","Judy Blume","Jules Verne","Junot Diaz","Karl Marx","Kazuo Ishiguro","Ken Follett","Ken Kesey","Kenneth Grahame","Khaled Hosseini","Kingsley Amis","Kurt Vonnegut","L. Frank Baum","L.M. Montgomery","Laurence Sterne","Leo Tolstoy","Lewis Carroll","Louisa May Alcott","Louise Maude","Malcolm Lowry","Marcel Proust","Margaret Atwood","Margaret Mitchell","Marilynne Robinson","Mark Twain","Martin Amis","Mary Shelley","Michael Chabon","Miguel de Cervantes","Mikhail Bulgakov","Muriel Spark","Nancy Mitford","Nathanael West","Nathaniel Hawthorne","Neil Gaiman","Niccolo Machiavelli","Norman Mailer","Oscar Levy","Oscar Wilde","P.G. Wodehouse","Paulo Coelho","Peter Carey","Philip Pullman","Philip Roth","Plato","R.L. Stine","Rachel Kushner","Ralph Ellison","Ray Bradbury","Raymond Chandler","Richard Wagner","Richard Wright","Richard Yates","Roald Dahl","Robert Graves","Robert Louis Stevenson","Robert Penn Warren","Rudyard Kipling","Salman Rushdie","Samuel Beckett","Samuel Butler","Samuel Richardson","Saul Bellow","Shivaram Parashuram Bhide","Sir Arthur Conan Doyle","Sir Richard Francis Burton","Stendhal","Stephen Hawking","Stephen King","Sun Tzu","Suzanne Collins","T. Smollett","T.S. Eliot","Theodore Alois Buckley","Theodore Dreiser","Thomas Hardy","Thomas Love Peacock","Thomas Mann","Toni Morrison","Truman Capote","V.S. Naipaul","Vance Packard","Vatsyayana","Victor Hugo","Virgil","Virginia Woolf","Vladimir Nabokov","Voltaire","W.G. Sebald","W.K. Marriott","Walker Percy","Walt Whitman","Walter Scott","Wilhelm Grimm","Wilkie Collins","William Faulkner","William Gibson","William Golding","William Makepeace Thackeray","William Shakespeare","Zadie Smith"],H4e=["Audiobook","Ebook","Hardcover","Paperback"],z4e=["Adventure","Biography","Business","Children's Literature","Classic","Comedy","Comic","Detective","Drama","Fantasy","Graphic Novel","Historical Fiction","Horror","Memoir","Mystery","Mythology","Philosophy","Poetry","Psychology","Religion","Romance","Science Fiction","Thriller","Western","Young Adult"],W4e=["Academic Press","Ace Books","Addison-Wesley","Adis International","Airiti Press","Allen Ltd","Andrews McMeel Publishing","Anova Books","Anvil Press Poetry","Applewood Books","Apress","Athabasca University Press","Atheneum Books","Atheneum Publishers","Atlantic Books","Atlas Press","BBC Books","Ballantine Books","Banner of Truth Trust","Bantam Books","Bantam Spectra","Barrie & Jenkins","Basic Books","Belknap Press","Bella Books","Bellevue Literary Press","Berg Publishers","Berkley Books","Bison Books","Black Dog Publishing","Black Library","Black Sparrow Books","Blackie and Son Limited","Blackstaff Press","Blackwell Publishing","Bloodaxe Books","Bloomsbury Publishing Plc","Blue Ribbon Books","Book League of America","Book Works","Booktrope","Borgo Press","Bowes & Bowes","Boydell & Brewer","Breslov Research Institute","Brill","Brimstone Press","Broadview Press","Burns & Oates","Butterworth-Heinemann","Caister Academic Press","Cambridge University Press","Candlewick Press","Canongate Books","Carcanet Press","Carlton Books","Carlton Publishing Group","Carnegie Mellon University Press","Casemate Publishers","Cengage Learning","Central European University Press","Chambers Harrap","Charles Scribner's Sons","Chatto and Windus","Chick Publications","Chronicle Books","Churchill Livingstone","Cisco Press","City Lights Publishers","Cloverdale Corporation","D. Appleton & Company","D. Reidel","DAW Books","Da Capo Press","Daedalus Publishing","Dalkey Archive Press","Darakwon Press","David & Charles","Dedalus Books","Del Rey Books","E. P. Dutton","ECW Press","Earthscan","Edupedia Publications","Eel Pie Publishing","Eerdmans Publishing","Ellora's Cave","Elsevier","Emerald Group Publishing","Etruscan Press","FabJob","Faber and Faber","Fairview Press","Farrar, Straus & Giroux","Fearless Books","Felony & Mayhem Press","Firebrand Books","Flame Tree Publishing","Focal Press","G-Unit Books","G. P. Putnam's Sons","Gaspereau Press","Gay Men's Press","Gefen Publishing House","George H. Doran Company","George Newnes","George Routledge & Sons","Godwit Press","Golden Cockerel Press","HMSO","Hachette Book Group USA","Hackett Publishing Company","Hamish Hamilton","Happy House","Harcourt Assessment","Harcourt Trade Publishers","Harlequin Enterprises Ltd","Harper & Brothers","Harper & Row","HarperCollins","HarperPrism","HarperTrophy","Harry N. Abrams, Inc.","Harvard University Press","Harvest House","Harvill Press at Random House","Hawthorne Books","Hay House","Haynes Manuals","Heyday Books","Hodder & Stoughton","Hodder Headline","Hogarth Press","Holland Park Press","Holt McDougal","Horizon Scientific Press","Ian Allan Publishing","Ignatius Press","Imperial War Museum","Indiana University Press","J. M. Dent","Jaico Publishing House","Jarrolds Publishing","John Blake Publishing","Karadi Tales","Kensington Books","Kessinger Publishing","Kodansha","Kogan Page","Koren Publishers Jerusalem","Ladybird Books","Leaf Books","Leafwood Publishers","Left Book Club","Legend Books","Lethe Press","Libertas Academica","Liberty Fund","Library of America","Lion Hudson","Macmillan Publishers","Mainstream Publishing","Manchester University Press","Mandrake Press","Mandrake of Oxford","Manning Publications","Manor House Publishing","Mapin Publishing","Marion Boyars Publishers","Mark Batty Publisher","Marshall Cavendish","Marshall Pickering","Martinus Nijhoff Publishers","Mascot Books","Matthias Media","McClelland and Stewart","McFarland & Company","McGraw Hill Financial","McGraw-Hill Education","Medknow Publications","Naiad Press","Nauka","NavPress","New Directions Publishing","New English Library","New Holland Publishers","New Village Press","Newnes","No Starch Press","Nonesuch Press","O'Reilly Media","Oberon Books","Open Court Publishing Company","Open University Press","Orchard Books","Orion Books","Packt Publishing","Palgrave Macmillan","Pan Books","Pantheon Books at Random House","Papadakis Publisher","Parachute Publishing","Parragon","Pathfinder Press","Paulist Press","Pavilion Books","Peace Hill Press","Pecan Grove Press","Pen and Sword Books","Penguin Books","Random House","Reed Elsevier","Reed Publishing","SAGE Publications","Salt Publishing","Sams Publishing","Schocken Books","Scholastic Press","Seagull Books","Secker & Warburg","Shambhala Publications","Shire Books","Shoemaker & Hoard Publishers","Shuter & Shooter Publishers","Sidgwick & Jackson","Signet Books","Simon & Schuster","St. Martin's Press","T & T Clark","Tachyon Publications","Tammi","Target Books","Tarpaulin Sky Press","Tartarus Press","Tate Publishing & Enterprises","Taunton Press","Taylor & Francis","Ten Speed Press","UCL Press","Unfinished Monument Press","United States Government Publishing Office","University of Akron Press","University of Alaska Press","University of California Press","University of Chicago Press","University of Michigan Press","University of Minnesota Press","University of Nebraska Press","Velazquez Press","Verso Books","Victor Gollancz Ltd","Viking Press","Vintage Books","Vintage Books at Random House","Virago Press","Virgin Publishing","Voyager Books","Zed Books","Ziff Davis Media","Zondervan"],G4e=["A Song of Ice and Fire","Anna Karenina","Colonel Race","Discworld","Dune","Harry Potter","Hercule Poirot","His Dark Materials","Jane Austen Murder Mysteries","Little Women","Outlander","Percy Jackson","Sherlock Holmes","The Arc of a Scythe","The Bartimaeus Trilogy","The Border Trilogy","The Chronicles of Narnia","The Dark Tower","The Dresden Files","The Eighth Life","The Foundation Series","The Hitchhiker's Guide to the Galaxy","The Hunger Games","The Infinity Cycle","The Inheritance Cycle","The Lord of the Rings","The Maze Runner","The Prison Healer","The Red Rising Saga","The Southern Reach","The Wheel of Time","Thursday Next Series","Twilight","War and Peace"],j4e=["1984","20,000 Leagues Under the Sea","A Bend in the River","A Brief History of Time","A Clockwork Orange","A Confederacy of Dunces","A Doll's House","A Handful of Dust","A Modest Proposal","A Passage to India","A Portrait of the Artist as a Young Man","A Room with a View","A Study in Scarlet","A Tale of Two Cities","A Wrinkle in Time","Absalom, Absalom!","Adventures of Huckleberry Finn","Alice's Adventures in Wonderland","All Quiet on the Western Front","All the King's Men","American Pastoral","An American Tragedy","And Then There Were None","Animal Farm","Anna Karenina","Anne of Green Gables","Are You There God? It's Me, Margaret","As I Lay Dying","Atlas Shrugged","Atonement","Austerlitz","Beloved","Beyond Good and Evil","Bible","Bleak House","Blood Meridian","Brave New World","Brideshead Revisited","Candide","Carmilla","Catch-22","Charlie and the Chocolate Factory","Charlotte's Web","Clarissa","Cranford","Crime and Punishment","Dao De Jing: A Minimalist Translation","David Copperfield","Deliverance","Don Quixote","Dora","Dr. Zhivago","Dracula","Dubliners","Dune","East of Eden","Emma","Fahrenheit 451","Faust","For Whom the Bell Tolls","Frankenstein","Freakonomics","Go Tell It on the Mountain","Gone with the Wind","Great Expectations","Grimms' Fairy Tales","Gulliver's Travels","Hamlet","Harry Potter and the Sorcerer's Stone","Heart of Darkness","Herzog","His Dark Materials","Hitting the line","Housekeeping","I, Claudius","If on a Winter's Night a Traveler","In Cold Blood","In Search of Lost Time","Invisible Man","It","Jane Eyre","Josefine Mutzenbacher","Jude the Obscure","L.A. Confidential","Leaves of Grass","Les Miserables","Life of Pi","Little Women","Lolita","Long Walk to Freedom","Lord Jim","Lord of the Flies","Lucky Jim","Madame Bovary","Malone Dies","Meditations","Men Without Women","Metamorphosis","Middlemarch","Midnight's Children","Moby Dick","Money","Mrs. Dalloway","My Bondage and My Freedom","My Life","Native Son","Neuromancer","Never Let Me Go","Nightmare Abbey","Nineteen Eighty Four","Nostromo","Notes from the Underground","Of Mice and Men","Oliver Twist","On the Duty of Civil Disobedience","On the Road","One Flew Over the Cuckoo's Nest","One Hundred Years of Solitude","One Thousand and One Nights","Oscar and Lucinda","Pale Fire","Paradise Lost","Peter Pan","Portnoy's Complaint","Pride and Prejudice","Rabbit, Run","Republic","Revolutionary Road","Robinson Crusoe","Romeo and Juliet","Ruth Fielding in Alaska","Scoop","Second Treatise of Government","Slaughterhouse Five","Stories of Anton Chekhov","Sybil","Tess of the d'Urbervilles","The Adventures of Augie March","The Adventures of Huckleberry Finn","The Adventures of Sherlock Holmes","The Adventures of Tom Sawyer","The Aeneid","The Alchemist","The Ambassadors","The Art of War","The Big Sleep","The Black Sheep","The Blue Castle","The Brief Wondrous Life of Oscar Wao","The Brothers Karamazov","The Call of the Wild","The Canterbury Tales","The Catcher in the Rye","The Color Purple","The Complete Works of Edgar Allen Poe","The Corrections","The Count of Monte Cristo","The Day of the Locust","The Diary of a Nobody","The Diary of a Young Girl","The Divine Comedy","The Enchanted April","The Fountainhead","The Golden Bowl","The Golden Notebook","The Good Soldier","The Grapes of Wrath","The Great Gatsby","The Handmaid's Tale","The Heart is a Lonely Hunter","The Heart of the Matter","The Hobbit","The Hound of the Baskervilles","The Idiot","The Iliad","The King in Yellow","The Kite Runner","The Lion, the Witch, and the Wardrobe","The Little Prince","The Lord of the Rings","The Magic Mountain","The Maltese Falcon","The Master and Margarita","The Moviegoer","The Naked and the Dead","The Odyssey","The Old Man and the Sea","The Pickwick Papers","The Picture of Dorian Gray","The Pilgrim's Progress","The Pillars of the Earth","The Plague","The Portrait of a Lady","The Prime of Miss Jean Brodie","The Prince","The Problems of Philosophy","The Prophet","The Pursuit of Love","The Rainbow","The Red and the Black","The Remains of the Day","The Republic","The Scarlet Letter","The Sleepwalkers","The Sound and the Fury","The Stand","The Strange Case of Dr. Jekyll and Mr. Hyde","The Stranger","The Sun Also Rises","The Thirty-Nine Steps","The Three Musketeers","The Time Machine","The Tin Drum","The Trial","The War of the Worlds","The Waste Land","The Way We Live Now","The Wind in the Willows","The Woman in White","The Wonderful Wizard of Oz","The Works of Edgar Allan Poe","The Yellow Wallpaper","Things Fall Apart","Tinker, Tailor, Soldier, Spy","To Kill a Mockingbird","To the Lighthouse","Tom Jones","Treasure Island","Tristram Shandy","Tropic of Cancer","U.S.A. Trilogy","Ulysses","Uncle Tom's Cabin","Under the Volcano","Underworld","Vanity Fair","Walden","War and Peace","Watchmen","Winnie-the-Pooh","Wuthering Heights"],K4e={author:V4e,format:H4e,genre:z4e,publisher:W4e,series:G4e,title:j4e},U4e=K4e,q4e=["###-###-####","(###) ###-####","1-###-###-####","###.###.####"],Y4e={formats:q4e},J4e=Y4e,X4e=["azure","black","blue","cyan","fuchsia","gold","green","grey","indigo","ivory","lavender","lime","magenta","maroon","mint green","olive","orange","orchid","pink","plum","purple","red","salmon","silver","sky blue","tan","teal","turquoise","violet","white","yellow"],Z4e={human:X4e},Q4e=Z4e,e8e=["Automotive","Baby","Beauty","Books","Clothing","Computers","Electronics","Games","Garden","Grocery","Health","Home","Industrial","Jewelry","Kids","Movies","Music","Outdoors","Shoes","Sports","Tools","Toys"],t8e=["Discover the {{animal.type}}-like agility of our {{commerce.product}}, perfect for {{word.adjective}} users","Discover the {{word.adjective}} new {{commerce.product}} with an exciting mix of {{commerce.productMaterial}} ingredients","Ergonomic {{commerce.product}} made with {{commerce.productMaterial}} for all-day {{word.adjective}} support","Experience the {{color.human}} brilliance of our {{commerce.product}}, perfect for {{word.adjective}} environments","Featuring {{science.chemical_element.name}}-enhanced technology, our {{commerce.product}} offers unparalleled {{word.adjective}} performance","Innovative {{commerce.product}} featuring {{word.adjective}} technology and {{commerce.productMaterial}} construction","Introducing the {{location.country}}-inspired {{commerce.product}}, blending {{word.adjective}} style with local craftsmanship","New {{color.human}} {{commerce.product}} with ergonomic design for {{word.adjective}} comfort",'New {{commerce.product}} model with {{number.int({"min": 1, "max": 100})}} GB RAM, {{number.int({"min": 1, "max": 1000})}} GB storage, and {{word.adjective}} features',"Our {{animal.type}}-friendly {{commerce.product}} ensures {{word.adjective}} comfort for your pets","Our {{food.adjective}}-inspired {{commerce.product}} brings a taste of luxury to your {{word.adjective}} lifestyle","Professional-grade {{commerce.product}} perfect for {{word.adjective}} training and recreational use","Savor the {{food.adjective}} essence in our {{commerce.product}}, designed for {{word.adjective}} culinary adventures","Stylish {{commerce.product}} designed to make you stand out with {{word.adjective}} looks","The sleek and {{word.adjective}} {{commerce.product}} comes with {{color.human}} LED lighting for smart functionality","The {{color.human}} {{commerce.product}} combines {{location.country}} aesthetics with {{science.chemical_element.name}}-based durability","The {{company.catchPhrase}} {{commerce.product}} offers reliable performance and {{word.adjective}} design","The {{person.firstName}} {{commerce.product}} is the latest in a series of {{word.adjective}} products from {{company.name}}","{{commerce.productAdjective}} {{commerce.product}} designed with {{commerce.productMaterial}} for {{word.adjective}} performance","{{company.name}}'s most advanced {{commerce.product}} technology increases {{word.adjective}} capabilities"],n8e={adjective:["Awesome","Bespoke","Electronic","Elegant","Ergonomic","Fantastic","Fresh","Frozen","Generic","Gorgeous","Handcrafted","Handmade","Incredible","Intelligent","Licensed","Luxurious","Modern","Oriental","Practical","Recycled","Refined","Rustic","Sleek","Small","Soft","Tasty","Unbranded"],material:["Aluminum","Bamboo","Bronze","Ceramic","Concrete","Cotton","Gold","Granite","Marble","Metal","Plastic","Rubber","Silk","Steel","Wooden"],product:["Bacon","Ball","Bike","Car","Chair","Cheese","Chicken","Chips","Computer","Fish","Gloves","Hat","Keyboard","Mouse","Pants","Pizza","Salad","Sausages","Shirt","Shoes","Soap","Table","Towels","Tuna"],pattern:["{{commerce.productAdjective}} {{commerce.productMaterial}} {{commerce.product}}"]},r8e={department:e8e,product_description:t8e,product_name:n8e},a8e=r8e,i8e=["AI-driven","Adaptive","Advanced","Automated","Balanced","Business-focused","Centralized","Compatible","Configurable","Cross-platform","Customer-focused","Customizable","Decentralized","Devolved","Digitized","Distributed","Diverse","Enhanced","Ergonomic","Exclusive","Expanded","Extended","Face to face","Focused","Front-line","Fully-configurable","Fundamental","Future-proofed","Grass-roots","Horizontal","Immersive","Implemented","Innovative","Integrated","Intuitive","Managed","Monitored","Multi-tiered","Networked","Open-architected","Open-source","Operative","Optimized","Optional","Organic","Organized","Persevering","Persistent","Phased","Polarised","Proactive","Profit-focused","Profound","Programmable","Progressive","Public-key","Quality-focused","Reactive","Realigned","Reduced","Reverse-engineered","Robust","Seamless","Secured","Self-enabling","Sharable","Smart","Stand-alone","Streamlined","Sustainable","Synchronised","Team-oriented","Total","Triple-buffered","Universal","Upgradable","User-centric","User-friendly","Versatile","Virtual","Visionary"],o8e=["24/7","AI-driven","B2B","B2C","back-end","best-of-breed","bleeding-edge","collaborative","compelling","cross-media","cross-platform","customized","cutting-edge","decentralized","distributed","dynamic","efficient","end-to-end","enterprise","extensible","frictionless","front-end","generative","global","granular","holistic","immersive","impactful","innovative","integrated","interactive","intuitive","killer","leading-edge","magnetic","mission-critical","next-generation","one-to-one","open-source","out-of-the-box","plug-and-play","proactive","quantum","real-time","revolutionary","rich","robust","scalable","seamless","smart","sticky","strategic","sustainable","synergistic","transparent","turn-key","ubiquitous","user-centric","value-added","vertical","viral","virtual","visionary","world-class"],l8e=["AI","ROI","applications","architectures","blockchains","channels","communities","content","convergence","deliverables","e-commerce","experiences","functionalities","infrastructures","initiatives","interfaces","large language models","lifetime value","markets","methodologies","metrics","mindshare","models","networks","niches","paradigms","partnerships","platforms","relationships","schemas","smart contracts","solutions","supply-chains","synergies","systems","technologies","users","web services"],s8e=["aggregate","architect","benchmark","brand","collaborate","cultivate","deliver","deploy","disintermediate","drive","embrace","empower","enable","engage","engineer","enhance","evolve","expedite","exploit","extend","facilitate","gamify","generate","grow","harness","implement","incentivize","incubate","innovate","integrate","iterate","leverage","maximize","mesh","monetize","optimize","orchestrate","productize","redefine","reinvent","repurpose","revolutionize","scale","seize","simplify","strategize","streamline","syndicate","synthesize","target","transform","transition","unleash","utilize","visualize","whiteboard"],u8e=["24 hour","24/7","AI-powered","actuating","analyzing","asymmetric","asynchronous","attitude-oriented","bifurcated","bottom-line","clear-thinking","client-driven","client-server","cloud-native","coherent","cohesive","composite","content-based","context-sensitive","contextually-based","data-driven","dedicated","demand-driven","directional","discrete","disintermediate","dynamic","eco-centric","empowering","encompassing","executive","explicit","exuding","fault-tolerant","fresh-thinking","full-range","global","heuristic","high-level","holistic","homogeneous","human-resource","hybrid","immersive","impactful","incremental","intangible","interactive","intermediate","leading edge","local","logistical","maximized","methodical","mission-critical","mobile","modular","motivating","national","needs-based","neutral","next generation","optimal","optimizing","radical","real-time","reciprocal","regional","resilient","responsive","scalable","secondary","stable","static","sustainable","system-worthy","systematic","systemic","tangible","tertiary","transitional","uniform","user-facing","value-added","well-modulated","zero administration","zero defect","zero tolerance","zero trust"],c8e=["Group","Inc","LLC","and Sons"],d8e=["{{person.last_name.generic}} - {{person.last_name.generic}}","{{person.last_name.generic}} {{company.legal_entity_type}}","{{person.last_name.generic}}, {{person.last_name.generic}} and {{person.last_name.generic}}"],f8e=["ability","access","adapter","algorithm","alliance","analyzer","application","approach","architecture","archive","array","artificial intelligence","attitude","benchmark","budgetary management","capability","capacity","challenge","circuit","collaboration","complexity","concept","conglomeration","contingency","core","customer loyalty","data-warehouse","database","definition","emulation","encoding","encryption","firmware","flexibility","focus group","forecast","frame","framework","function","functionalities","generative AI","hardware","help-desk","hierarchy","hub","implementation","infrastructure","initiative","installation","instruction set","interface","internet solution","intranet","knowledge base","knowledge user","leverage","local area network","matrices","matrix","methodology","microservice","middleware","migration","model","moderator","monitoring","moratorium","neural-net","open architecture","orchestration","paradigm","parallelism","policy","portal","pricing structure","process improvement","product","productivity","project","projection","protocol","service-desk","software","solution","standardization","strategy","structure","success","support","synergy","system engine","task-force","throughput","time-frame","toolset","utilisation","website","workforce"],p8e={adjective:i8e,buzz_adjective:o8e,buzz_noun:l8e,buzz_verb:s8e,descriptor:u8e,legal_entity_type:c8e,name_pattern:d8e,noun:f8e},h8e=p8e,m8e=["avatar","category","comment","createdAt","email","group","id","name","password","phone","status","title","token","updatedAt"],v8e={column:m8e},g8e=v8e,y8e={wide:["April","August","December","February","January","July","June","March","May","November","October","September"],abbr:["Apr","Aug","Dec","Feb","Jan","Jul","Jun","Mar","May","Nov","Oct","Sep"]},b8e={wide:["Friday","Monday","Saturday","Sunday","Thursday","Tuesday","Wednesday"],abbr:["Fri","Mon","Sat","Sun","Thu","Tue","Wed"]},C8e={month:y8e,weekday:b8e},F8e=C8e,E8e=["Auto Loan","Checking","Credit Card","Home Loan","Investment","Money Market","Personal Loan","Savings"],w8e=["34##-######-####L","37##-######-####L"],S8e=["30[0-5]#-######-###L","36##-######-###L"],A8e=["6011-####-####-###L","65##-####-####-###L"],D8e=["3528-####-####-###L","3529-####-####-###L","35[3-8]#-####-####-###L"],T8e=["2[221-720]-####-####-###L","5[1-5]##-####-####-###L"],k8e=["4###########L","4###-####-####-###L"],_8e={american_express:w8e,diners_club:S8e,discover:A8e,jcb:D8e,mastercard:T8e,visa:k8e},x8e=_8e,M8e=[{name:"UAE Dirham",code:"AED",symbol:"",numericCode:"784"},{name:"Afghani",code:"AFN",symbol:"؋",numericCode:"971"},{name:"Lek",code:"ALL",symbol:"Lek",numericCode:"008"},{name:"Armenian Dram",code:"AMD",symbol:"",numericCode:"051"},{name:"Netherlands Antillian Guilder",code:"ANG",symbol:"ƒ",numericCode:"532"},{name:"Kwanza",code:"AOA",symbol:"",numericCode:"973"},{name:"Argentine Peso",code:"ARS",symbol:"$",numericCode:"032"},{name:"Australian Dollar",code:"AUD",symbol:"$",numericCode:"036"},{name:"Aruban Guilder",code:"AWG",symbol:"ƒ",numericCode:"533"},{name:"Azerbaijanian Manat",code:"AZN",symbol:"ман",numericCode:"944"},{name:"Convertible Marks",code:"BAM",symbol:"KM",numericCode:"977"},{name:"Barbados Dollar",code:"BBD",symbol:"$",numericCode:"052"},{name:"Taka",code:"BDT",symbol:"",numericCode:"050"},{name:"Bulgarian Lev",code:"BGN",symbol:"лв",numericCode:"975"},{name:"Bahraini Dinar",code:"BHD",symbol:"",numericCode:"048"},{name:"Burundi Franc",code:"BIF",symbol:"",numericCode:"108"},{name:"Bermudian Dollar (customarily known as Bermuda Dollar)",code:"BMD",symbol:"$",numericCode:"060"},{name:"Brunei Dollar",code:"BND",symbol:"$",numericCode:"096"},{name:"Boliviano boliviano",code:"BOB",symbol:"Bs",numericCode:"068"},{name:"Brazilian Real",code:"BRL",symbol:"R$",numericCode:"986"},{name:"Bahamian Dollar",code:"BSD",symbol:"$",numericCode:"044"},{name:"Pula",code:"BWP",symbol:"P",numericCode:"072"},{name:"Belarusian Ruble",code:"BYN",symbol:"Rbl",numericCode:"933"},{name:"Belize Dollar",code:"BZD",symbol:"BZ$",numericCode:"084"},{name:"Canadian Dollar",code:"CAD",symbol:"$",numericCode:"124"},{name:"Congolese Franc",code:"CDF",symbol:"",numericCode:"976"},{name:"Swiss Franc",code:"CHF",symbol:"CHF",numericCode:"756"},{name:"Chilean Peso",code:"CLP",symbol:"$",numericCode:"152"},{name:"Yuan Renminbi",code:"CNY",symbol:"¥",numericCode:"156"},{name:"Colombian Peso",code:"COP",symbol:"$",numericCode:"170"},{name:"Costa Rican Colon",code:"CRC",symbol:"₡",numericCode:"188"},{name:"Cuban Peso",code:"CUP",symbol:"₱",numericCode:"192"},{name:"Cape Verde Escudo",code:"CVE",symbol:"",numericCode:"132"},{name:"Czech Koruna",code:"CZK",symbol:"Kč",numericCode:"203"},{name:"Djibouti Franc",code:"DJF",symbol:"",numericCode:"262"},{name:"Danish Krone",code:"DKK",symbol:"kr",numericCode:"208"},{name:"Dominican Peso",code:"DOP",symbol:"RD$",numericCode:"214"},{name:"Algerian Dinar",code:"DZD",symbol:"",numericCode:"012"},{name:"Egyptian Pound",code:"EGP",symbol:"£",numericCode:"818"},{name:"Nakfa",code:"ERN",symbol:"",numericCode:"232"},{name:"Ethiopian Birr",code:"ETB",symbol:"",numericCode:"230"},{name:"Euro",code:"EUR",symbol:"€",numericCode:"978"},{name:"Fiji Dollar",code:"FJD",symbol:"$",numericCode:"242"},{name:"Falkland Islands Pound",code:"FKP",symbol:"£",numericCode:"238"},{name:"Pound Sterling",code:"GBP",symbol:"£",numericCode:"826"},{name:"Lari",code:"GEL",symbol:"",numericCode:"981"},{name:"Cedi",code:"GHS",symbol:"",numericCode:"936"},{name:"Gibraltar Pound",code:"GIP",symbol:"£",numericCode:"292"},{name:"Dalasi",code:"GMD",symbol:"",numericCode:"270"},{name:"Guinea Franc",code:"GNF",symbol:"",numericCode:"324"},{name:"Quetzal",code:"GTQ",symbol:"Q",numericCode:"320"},{name:"Guyana Dollar",code:"GYD",symbol:"$",numericCode:"328"},{name:"Hong Kong Dollar",code:"HKD",symbol:"$",numericCode:"344"},{name:"Lempira",code:"HNL",symbol:"L",numericCode:"340"},{name:"Gourde",code:"HTG",symbol:"",numericCode:"332"},{name:"Forint",code:"HUF",symbol:"Ft",numericCode:"348"},{name:"Rupiah",code:"IDR",symbol:"Rp",numericCode:"360"},{name:"New Israeli Sheqel",code:"ILS",symbol:"₪",numericCode:"376"},{name:"Bhutanese Ngultrum",code:"BTN",symbol:"Nu",numericCode:"064"},{name:"Indian Rupee",code:"INR",symbol:"₹",numericCode:"356"},{name:"Iraqi Dinar",code:"IQD",symbol:"",numericCode:"368"},{name:"Iranian Rial",code:"IRR",symbol:"﷼",numericCode:"364"},{name:"Iceland Krona",code:"ISK",symbol:"kr",numericCode:"352"},{name:"Jamaican Dollar",code:"JMD",symbol:"J$",numericCode:"388"},{name:"Jordanian Dinar",code:"JOD",symbol:"",numericCode:"400"},{name:"Yen",code:"JPY",symbol:"¥",numericCode:"392"},{name:"Kenyan Shilling",code:"KES",symbol:"",numericCode:"404"},{name:"Som",code:"KGS",symbol:"лв",numericCode:"417"},{name:"Riel",code:"KHR",symbol:"៛",numericCode:"116"},{name:"Comoro Franc",code:"KMF",symbol:"",numericCode:"174"},{name:"North Korean Won",code:"KPW",symbol:"₩",numericCode:"408"},{name:"Won",code:"KRW",symbol:"₩",numericCode:"410"},{name:"Kuwaiti Dinar",code:"KWD",symbol:"",numericCode:"414"},{name:"Cayman Islands Dollar",code:"KYD",symbol:"$",numericCode:"136"},{name:"Tenge",code:"KZT",symbol:"лв",numericCode:"398"},{name:"Kip",code:"LAK",symbol:"₭",numericCode:"418"},{name:"Lebanese Pound",code:"LBP",symbol:"£",numericCode:"422"},{name:"Sri Lanka Rupee",code:"LKR",symbol:"₨",numericCode:"144"},{name:"Liberian Dollar",code:"LRD",symbol:"$",numericCode:"430"},{name:"Libyan Dinar",code:"LYD",symbol:"",numericCode:"434"},{name:"Moroccan Dirham",code:"MAD",symbol:"",numericCode:"504"},{name:"Moldovan Leu",code:"MDL",symbol:"",numericCode:"498"},{name:"Malagasy Ariary",code:"MGA",symbol:"",numericCode:"969"},{name:"Denar",code:"MKD",symbol:"ден",numericCode:"807"},{name:"Kyat",code:"MMK",symbol:"",numericCode:"104"},{name:"Tugrik",code:"MNT",symbol:"₮",numericCode:"496"},{name:"Pataca",code:"MOP",symbol:"",numericCode:"446"},{name:"Ouguiya",code:"MRU",symbol:"",numericCode:"929"},{name:"Mauritius Rupee",code:"MUR",symbol:"₨",numericCode:"480"},{name:"Rufiyaa",code:"MVR",symbol:"",numericCode:"462"},{name:"Kwacha",code:"MWK",symbol:"",numericCode:"454"},{name:"Mexican Peso",code:"MXN",symbol:"$",numericCode:"484"},{name:"Malaysian Ringgit",code:"MYR",symbol:"RM",numericCode:"458"},{name:"Metical",code:"MZN",symbol:"MT",numericCode:"943"},{name:"Naira",code:"NGN",symbol:"₦",numericCode:"566"},{name:"Cordoba Oro",code:"NIO",symbol:"C$",numericCode:"558"},{name:"Norwegian Krone",code:"NOK",symbol:"kr",numericCode:"578"},{name:"Nepalese Rupee",code:"NPR",symbol:"₨",numericCode:"524"},{name:"New Zealand Dollar",code:"NZD",symbol:"$",numericCode:"554"},{name:"Rial Omani",code:"OMR",symbol:"﷼",numericCode:"512"},{name:"Balboa",code:"PAB",symbol:"B/.",numericCode:"590"},{name:"Nuevo Sol",code:"PEN",symbol:"S/.",numericCode:"604"},{name:"Kina",code:"PGK",symbol:"",numericCode:"598"},{name:"Philippine Peso",code:"PHP",symbol:"Php",numericCode:"608"},{name:"Pakistan Rupee",code:"PKR",symbol:"₨",numericCode:"586"},{name:"Zloty",code:"PLN",symbol:"zł",numericCode:"985"},{name:"Guarani",code:"PYG",symbol:"Gs",numericCode:"600"},{name:"Qatari Rial",code:"QAR",symbol:"﷼",numericCode:"634"},{name:"New Leu",code:"RON",symbol:"lei",numericCode:"946"},{name:"Serbian Dinar",code:"RSD",symbol:"Дин.",numericCode:"941"},{name:"Russian Ruble",code:"RUB",symbol:"руб",numericCode:"643"},{name:"Rwanda Franc",code:"RWF",symbol:"",numericCode:"646"},{name:"Saudi Riyal",code:"SAR",symbol:"﷼",numericCode:"682"},{name:"Solomon Islands Dollar",code:"SBD",symbol:"$",numericCode:"090"},{name:"Seychelles Rupee",code:"SCR",symbol:"₨",numericCode:"690"},{name:"Sudanese Pound",code:"SDG",symbol:"",numericCode:"938"},{name:"Swedish Krona",code:"SEK",symbol:"kr",numericCode:"752"},{name:"Singapore Dollar",code:"SGD",symbol:"$",numericCode:"702"},{name:"Saint Helena Pound",code:"SHP",symbol:"£",numericCode:"654"},{name:"Leone",code:"SLE",symbol:"",numericCode:"925"},{name:"Somali Shilling",code:"SOS",symbol:"S",numericCode:"706"},{name:"Surinam Dollar",code:"SRD",symbol:"$",numericCode:"968"},{name:"South Sudanese pound",code:"SSP",symbol:"",numericCode:"728"},{name:"Dobra",code:"STN",symbol:"Db",numericCode:"930"},{name:"Syrian Pound",code:"SYP",symbol:"£",numericCode:"760"},{name:"Lilangeni",code:"SZL",symbol:"",numericCode:"748"},{name:"Baht",code:"THB",symbol:"฿",numericCode:"764"},{name:"Somoni",code:"TJS",symbol:"",numericCode:"972"},{name:"Manat",code:"TMT",symbol:"",numericCode:"934"},{name:"Tunisian Dinar",code:"TND",symbol:"",numericCode:"788"},{name:"Pa'anga",code:"TOP",symbol:"",numericCode:"776"},{name:"Turkish Lira",code:"TRY",symbol:"₺",numericCode:"949"},{name:"Trinidad and Tobago Dollar",code:"TTD",symbol:"TT$",numericCode:"780"},{name:"New Taiwan Dollar",code:"TWD",symbol:"NT$",numericCode:"901"},{name:"Tanzanian Shilling",code:"TZS",symbol:"",numericCode:"834"},{name:"Hryvnia",code:"UAH",symbol:"₴",numericCode:"980"},{name:"Uganda Shilling",code:"UGX",symbol:"",numericCode:"800"},{name:"US Dollar",code:"USD",symbol:"$",numericCode:"840"},{name:"Peso Uruguayo",code:"UYU",symbol:"$U",numericCode:"858"},{name:"Uzbekistan Sum",code:"UZS",symbol:"лв",numericCode:"860"},{name:"Venezuelan bolívar",code:"VES",symbol:"Bs",numericCode:"928"},{name:"Dong",code:"VND",symbol:"₫",numericCode:"704"},{name:"Vatu",code:"VUV",symbol:"",numericCode:"548"},{name:"Tala",code:"WST",symbol:"",numericCode:"882"},{name:"CFA Franc BEAC",code:"XAF",symbol:"",numericCode:"950"},{name:"East Caribbean Dollar",code:"XCD",symbol:"$",numericCode:"951"},{name:"CFA Franc BCEAO",code:"XOF",symbol:"",numericCode:"952"},{name:"CFP Franc",code:"XPF",symbol:"",numericCode:"953"},{name:"Yemeni Rial",code:"YER",symbol:"﷼",numericCode:"886"},{name:"Rand",code:"ZAR",symbol:"R",numericCode:"710"},{name:"Lesotho Loti",code:"LSL",symbol:"",numericCode:"426"},{name:"Namibia Dollar",code:"NAD",symbol:"N$",numericCode:"516"},{name:"Zambian Kwacha",code:"ZMW",symbol:"K",numericCode:"967"},{name:"Zimbabwe Dollar",code:"ZWL",symbol:"",numericCode:"932"}],B8e=["A {{finance.transactionType}} for {{finance.currencyCode}} {{finance.amount}} was made at {{company.name}} via card ending ****{{string.numeric(4)}} on account ***{{string.numeric(4)}}.","A {{finance.transactionType}} of {{finance.currencyCode}} {{finance.amount}} occurred at {{company.name}} using a card ending in ****{{string.numeric(4)}} for account ***{{string.numeric(4)}}.","Payment of {{finance.currencyCode}} {{finance.amount}} for {{finance.transactionType}} at {{company.name}}, processed with card ending ****{{string.numeric(4)}} linked to account ***{{string.numeric(4)}}.","Transaction alert: {{finance.transactionType}} at {{company.name}} using card ending ****{{string.numeric(4)}} for an amount of {{finance.currencyCode}} {{finance.amount}} on account ***{{string.numeric(4)}}.","You made a {{finance.transactionType}} of {{finance.currencyCode}} {{finance.amount}} at {{company.name}} using card ending in ****{{string.numeric(4)}} from account ***{{string.numeric(4)}}.","Your {{finance.transactionType}} of {{finance.currencyCode}} {{finance.amount}} at {{company.name}} was successful. Charged via card ****{{string.numeric(4)}} to account ***{{string.numeric(4)}}.","{{finance.transactionType}} at {{company.name}} with a card ending in ****{{string.numeric(4)}} for {{finance.currencyCode}} {{finance.amount}} from account ***{{string.numeric(4)}}.","{{finance.transactionType}} confirmed at {{company.name}} for {{finance.currencyCode}} {{finance.amount}}, card ending in ****{{string.numeric(4)}} associated with account ***{{string.numeric(4)}}.","{{finance.transactionType}} of {{finance.currencyCode}} {{finance.amount}} at {{company.name}} charged to account ending in {{string.numeric(4)}} using card ending in ****{{string.numeric(4)}}.","{{finance.transactionType}} processed at {{company.name}} for {{finance.currencyCode}} {{finance.amount}}, using card ending ****{{string.numeric(4)}}. Account: ***{{string.numeric(4)}}.","{{finance.transactionType}} transaction at {{company.name}} using card ending with ****{{string.numeric(4)}} for {{finance.currencyCode}} {{finance.amount}} in account ***{{string.numeric(4)}}."],R8e=["deposit","invoice","payment","withdrawal"],L8e={account_type:E8e,credit_card:x8e,currency:M8e,transaction_description_pattern:B8e,transaction_type:R8e},O8e=L8e,P8e=["bitter","creamy","crispy","crunchy","delicious","fluffy","fresh","golden","juicy","moist","rich","salty","savory","smoky","sour","spicy","sweet","tangy","tender","zesty"],I8e=["A classic pie filled with delicious {{food.meat}} and {{food.adjective}} {{food.ingredient}}, baked in a {{food.adjective}} pastry crust and topped with a golden-brown lattice.","A delightful tart combining {{food.adjective}} {{food.vegetable}} and sweet {{food.fruit}}, set in a buttery pastry shell and finished with a hint of {{food.spice}}.","A heartwarming {{food.ethnic_category}} soup, featuring fresh {{food.ingredient}} and an aromatic blend of traditional spices.","A robust {{food.adjective}} stew featuring {{food.ethnic_category}} flavors, loaded with {{food.adjective}} meat, {{food.adjective}} vegetables, and a {{food.adjective}}, {{food.adjective}} broth.","A simple {{food.fruit}} pie. No fancy stuff. Just pie.","A slow-roasted {{animal.bird}} with a {{food.adjective}}, {{food.adjective}} exterior. Stuffed with {{food.fruit}} and covered in {{food.fruit}} sauce. Sides with {{food.vegetable}} puree and wild {{food.vegetable}}.","A special {{color.human}} {{food.ingredient}} from {{location.country}}. To support the strong flavor it is sided with a tablespoon of {{food.spice}}.","A succulent {{food.meat}} steak, encased in a {{food.adjective}} {{food.spice}} crust, served with a side of {{food.spice}} mashed {{food.vegetable}}.","An exquisite {{food.meat}} roast, infused with the essence of {{food.fruit}}, slow-roasted to bring out its natural flavors and served with a side of creamy {{food.vegetable}}","Baked {{food.ingredient}}-stuffed {{food.meat}}, seasoned with {{food.spice}} and {{food.adjective}} herbs, accompanied by roasted {{food.vegetable}} medley.","Crispy fried {{food.meat}} bites, seasoned with {{food.spice}} and served with a tangy {{food.fruit}} dipping sauce.","Fresh mixed greens tossed with {{food.spice}}-rubbed {{food.meat}}, {{food.vegetable}}, and a light dressing.","Fresh {{food.ingredient}} with a pinch of {{food.spice}}, topped by a caramelized {{food.fruit}} with whipped cream","Grilled {{food.meat}} kebabs, marinated in {{food.ethnic_category}} spices and served with a fresh {{food.vegetable}} and {{food.fruit}} salad.","Hearty {{food.ingredient}} and {{food.meat}} stew, slow-cooked with {{food.spice}} and {{food.vegetable}} for a comforting, flavorful meal.","Juicy {{food.meat}}, grilled to your liking and drizzled with a bold {{food.spice}} sauce, served alongside roasted {{food.vegetable}}.","Our {{food.adjective}} {{food.meat}}, slow-cooked to perfection, accompanied by steamed {{food.vegetable}} and a rich, savory gravy.","Tender {{food.meat}} skewers, glazed with a sweet and tangy {{food.fruit}} sauce, served over a bed of fragrant jasmine rice.","Tenderly braised {{food.meat}} in a rich {{food.spice}} and {{food.vegetable}} sauce, served with a side of creamy {{food.vegetable}}.","Three {{food.ingredient}} with {{food.vegetable}}, {{food.vegetable}}, {{food.vegetable}}, {{food.vegetable}} and {{food.ingredient}}. With a side of baked {{food.fruit}}, and your choice of {{food.ingredient}} or {{food.ingredient}}.",'{{number.int({"min":1, "max":99})}}-day aged {{food.meat}} steak, with choice of {{number.int({"min":2, "max":4})}} sides.'],N8e=["California maki","Peking duck","Philadelphia maki","arepas","barbecue ribs","bruschette with tomato","bunny chow","caesar salad","caprese salad","cauliflower penne","cheeseburger","chicken fajitas","chicken milanese","chicken parm","chicken wings","chilli con carne","ebiten maki","fettuccine alfredo","fish and chips","french fries with sausages","french toast","hummus","katsu curry","kebab","lasagne","linguine with clams","massaman curry","meatballs with sauce","mushroom risotto","pappardelle alla bolognese","pasta and beans","pasta carbonara","pasta with tomato and basil","pho","pierogi","pizza","poke","pork belly buns","pork sausage roll","poutine","ricotta stuffed ravioli","risotto with seafood","salmon nigiri","scotch eggs","seafood paella","som tam","souvlaki","stinky tofu","sushi","tacos","teriyaki chicken donburi","tiramisù","tuna sashimi","vegetable soup"],$8e=["{{food.adjective}} {{food.ethnic_category}} stew","{{food.adjective}} {{food.meat}} with {{food.vegetable}}","{{food.ethnic_category}} {{food.ingredient}} soup","{{food.fruit}} and {{food.fruit}} tart","{{food.fruit}} pie","{{food.fruit}}-glazed {{food.meat}} skewers","{{food.fruit}}-infused {{food.meat}} roast","{{food.ingredient}} and {{food.meat}} pie","{{food.ingredient}}-infused {{food.meat}}","{{food.meat}} steak","{{food.meat}} with {{food.fruit}} sauce","{{food.spice}}-crusted {{food.meat}}","{{food.spice}}-rubbed {{food.meat}} salad","{{food.vegetable}} salad","{{person.first_name.generic}}'s special {{food.ingredient}}"],V8e=["Ainu","Albanian","American","Andhra","Anglo-Indian","Arab","Argentine","Armenian","Assyrian","Awadhi","Azerbaijani","Balochi","Bangladeshi","Bashkir","Belarusian","Bengali","Berber","Brazilian","British","Buddhist","Bulgarian","Cajun","Cantonese","Caribbean","Chechen","Chinese","Chinese Islamic","Circassian","Crimean Tatar","Cypriot","Czech","Danish","Egyptian","English","Eritrean","Estonian","Ethiopian","Filipino","French","Georgian","German","Goan","Goan Catholic","Greek","Gujarati","Hyderabad","Indian","Indian Chinese","Indian Singaporean","Indonesian","Inuit","Irish","Italian","Italian-American","Jamaican","Japanese","Jewish - Israeli","Karnataka","Kazakh","Keralite","Korean","Kurdish","Laotian","Latvian","Lebanese","Lithuanian","Louisiana Creole","Maharashtrian","Malay","Malaysian Chinese","Malaysian Indian","Mangalorean","Mediterranean","Mennonite","Mexican","Mordovian","Mughal","Native American","Nepalese","New Mexican","Odia","Pakistani","Parsi","Pashtun","Pennsylvania Dutch","Peranakan","Persian","Peruvian","Polish","Portuguese","Punjabi","Québécois","Rajasthani","Romani","Romanian","Russian","Sami","Serbian","Sindhi","Slovak","Slovenian","Somali","South Indian","Soviet","Spanish","Sri Lankan","Taiwanese","Tamil","Tatar","Texan","Thai","Turkish","Udupi","Ukrainian","Vietnamese","Yamal","Zambian","Zanzibari"],H8e=["apple","apricot","aubergine","avocado","banana","berry","blackberry","blood orange","blueberry","bush tomato","butternut pumpkin","cantaloupe","cavalo","cherry","corella pear","cranberry","cumquat","currant","custard apple","custard apples daikon","date","dragonfruit","dried apricot","elderberry","feijoa","fig","fingerlime","goji berry","grape","grapefruit","guava","honeydew melon","incaberry","jarrahdale pumpkin","juniper berry","kiwi fruit","kiwiberry","lemon","lime","longan","loquat","lychee","mandarin","mango","mangosteen","melon","mulberry","nashi pear","nectarine","olive","orange","papaw","papaya","passionfruit","peach","pear","pineapple","plum","pomegranate","prune","raspberry","rockmelon","snowpea","sprout","starfruit","strawberry","sultana","tangelo","tomato","watermelon"],z8e=["achacha","adzuki beans","agar","agave syrup","ajowan seed","albacore tuna","alfalfa","allspice","almond oil","almonds","amaranth","amchur","anchovies","aniseed","annatto seed","apple cider vinegar","apple juice","apple juice concentrate","apples","apricots","arborio rice","arrowroot","artichoke","arugula","asafoetida","asian greens","asian noodles","asparagus","aubergine","avocado","avocado oil","avocado spread","bacon","baking powder","baking soda","balsamic vinegar","bamboo shoots","banana","barberry","barley","barramundi","basil basmati rice","bay leaves","bean shoots","bean sprouts","beans","beef","beef stock","beetroot","berries","besan","black eyed beans","blackberries","blood oranges","blue cheese","blue eye trevalla","blue swimmer crab","blueberries","bocconcini","bok choy","bonito flakes","bonza","borlotti beans","bran","brazil nut","bread","brie","broccoli","broccolini","brown flour","brown mushrooms","brown rice","brown rice vinegar","brussels sprouts","buckwheat","buckwheat flour","buckwheat noodles","bulghur","bush tomato","butter","butter beans","buttermilk","butternut lettuce","butternut pumpkin","cabbage","cacao","cake","calamari","camellia tea oil","camembert","camomile","candle nut","cannellini beans","canola oil","cantaloupe","capers","capsicum","caraway seed","cardamom","carob carrot","carrot","cashews","cassia bark","cauliflower","cavalo","cayenne","celery","celery seed","cheddar","cherries","chestnut","chia seeds","chicken","chicken stock","chickory","chickpea","chilli pepper","chinese cabbage","chinese five spice","chives","choy sum","cinnamon","clams","cloves","cocoa powder","coconut","coconut oil","coconut water","coffee","common cultivated mushrooms","corella pear","coriander leaves","coriander seed","corn oil","corn syrup","corn tortilla","cornichons","cornmeal","cos lettuce","cottage cheese","cous cous","crabs","cranberry","cream","cream cheese","cucumber","cumin","cumquat","currants","curry leaves","curry powder","custard apples","dandelion","dark chocolate","dashi","dates","dill","dragonfruit","dried apricots","dried chinese broccoli","duck","edam","edamame","eggplant","eggs","elderberry","endive","english spinach","enoki mushrooms","extra virgin olive oil","farmed prawns","feijoa","fennel","fennel seeds","fenugreek","feta","figs","file powder","fingerlime","fish sauce","fish stock","flat mushrooms","flathead","flaxseed","flaxseed oil","flounder","flour","freekeh","french eschallots","fresh chillies","fromage blanc","fruit","galangal","garam masala","garlic","goat cheese","goat milk","goji berry","grape seed oil","grapefruit","grapes","green beans","green pepper","green tea","green tea noodles","greenwheat freekeh","gruyere","guava","gula melaka","haloumi","ham","haricot beans","harissa","hazelnut","hijiki","hiramasa kingfish","hokkien noodles","honey","honeydew melon","horseradish","hot smoked salmon","hummus","iceberg lettuce","incaberries","jarrahdale pumpkin","jasmine rice","jelly","jerusalem artichoke","jewfish","jicama","juniper berries","kale","kangaroo","kecap manis","kenchur","kidney beans","kidneys","kiwi berries","kiwi fruit","kohlrabi","kokam","kombu","koshihikari rice","kudzu","kumera","lamb","lavender flowers","leeks","lemon","lemongrass","lentils","lettuce","licorice","lime leaves","limes","liver","lobster","longan","loquats","lotus root","lychees","macadamia nut","macadamia oil","mace","mackerel","mahi mahi","mahlab","malt vinegar","mandarins","mango","mangosteens","maple syrup","margarine","marigold","marjoram","mastic","melon","milk","milk chocolate","mint","miso","molasses","monkfish","morwong","mountain bread","mozzarella","muesli","mulberries","mullet","mung beans","mussels","mustard","mustard seed","nashi pear","nasturtium","nectarines","nori","nutmeg","nutritional yeast","nuts","oat flour","oatmeal","oats","octopus","okra","olive oil","olives","omega spread","onion","oranges","oregano","oyster mushrooms","oyster sauce","oysters","pandanus leaves","papaw","papaya","paprik","parmesan cheese","parrotfish","parsley","parsnip","passionfruit","pasta","peaches","peanuts","pear","pear juice","pears","peas","pecan nut","pecorino","pepitas","peppercorns","peppermint","peppers","persimmon","pine nut","pineapple","pinto beans","pistachio nut","plums","polenta","pomegranate","poppy seed","porcini mushrooms","pork","potato flour","potatoes","provolone","prunes","pumpkin","pumpkin seed","purple carrot","purple rice","quark","quince","quinoa","radicchio","radish","raisin","raspberry","red cabbage","red lentils","red pepper","red wine","red wine vinegar","redfish","rhubarb","rice flour","rice noodles","rice paper","rice syrup","ricemilk","ricotta","rockmelon","rose water","rosemary","rye","rye bread","safflower oil","saffron","sage","sake","salmon","sardines","sausages","scallops","sea salt","semolina","sesame oil","sesame seeds","shark","shiitake mushrooms","silverbeet","slivered almonds","smoked trout","snapper","snowpea sprouts","snowpeas","soba","sour dough bread","soy","soy beans","soy flour","soy milk","soy sauce","soymilk","spearmint","spelt","spelt bread","spinach","spring onions","sprouts","squash","squid","star anise","star fruit","starfruit","stevia","strawberries","sugar","sultanas","sun-dried tomatoes","sunflower oil","sunflower seeds","sweet chilli sauce","sweet potato","swiss chard","swordfish","szechuan pepperberry","tabasco","tahini","taleggio cheese","tamari","tamarillo","tangelo","tapioca","tapioca flour","tarragon","tea","tea oil","tempeh","thyme","tinned","tofu","tom yum","tomatoes","trout","tuna","turkey","turmeric","turnips","unbleached flour","vanilla beans","vegetable oil","vegetable spaghetti","vegetable stock","vermicelli noodles","vinegar","wakame","walnut","warehou","wasabi","water","watercress","watermelon","wattleseed","wheat","wheatgrass juice","white bread","white flour","white rice","white wine","white wine vinegar","whiting wild rice","wholegrain bread","wholemeal","wholewheat flour","william pear","yeast","yellow papaw","yellowtail kingfish","yoghurt","yogurt","zucchini"],W8e=["beef","chicken","crocodile","duck","emu","goose","kangaroo","lamb","ostrich","pigeon","pork","quail","rabbit","salmon","turkey","venison"],G8e=["achiote seed","ajwain seed","ajwan seed","allspice","amchoor","anise","anise star","aniseed","annatto seed","arrowroot","asafoetida","baharat","balti masala","balti stir fry mix","basil","bay leaves","bbq","caraway seed","cardamom","cassia","cayenne pepper","celery","chamomile","chervil","chilli","chilli pepper","chillies","china star","chives","cinnamon","cloves","colombo","coriander","cumin","curly leaf parsley","curry","dhansak","dill","fennel seed","fenugreek","fines herbes","five spice","french lavender","galangal","garam masala","garlic","german chamomile","ginger","green cardamom","herbes de provence","jalfrezi","jerk","kaffir leaves","korma","lavender","lemon grass","lemon pepper","lime leaves","liquorice root","mace","mango","marjoram","methi","mint","mustard","nutmeg","onion seed","orange zest","oregano","paprika","parsley","pepper","peppercorns","pimento","piri piri","poppy seed","pot marjoram","poudre de colombo","ras-el-hanout","rice paper","rogan josh","rose baie","rosemary","saffron","sage","sesame seed","spearmint","sumac","sweet basil","sweet laurel","tagine","tandoori masala","tarragon","thyme","tikka masala","turmeric","vanilla","zahtar"],j8e=["artichoke","arugula","asian greens","asparagus","bean shoots","bean sprouts","beans","beetroot","bok choy","broccoli","broccolini","brussels sprouts","butternut lettuce","cabbage","capers","carob carrot","carrot","cauliflower","celery","chilli pepper","chinese cabbage","chives","cornichons","cos lettuce","cucumber","dried chinese broccoli","eggplant","endive","english spinach","french eschallots","fresh chillies","garlic","green beans","green pepper","hijiki","iceberg lettuce","jerusalem artichoke","jicama","kale","kohlrabi","leeks","lettuce","okra","onion","parsnip","peas","peppers","potatoes","pumpkin","purple carrot","radicchio","radish","red cabbage","red pepper","rhubarb","snowpea sprouts","spinach","squash","sun dried tomatoes","sweet potato","swiss chard","turnips","zucchini"],K8e={adjective:P8e,description_pattern:I8e,dish:N8e,dish_pattern:$8e,ethnic_category:V8e,fruit:H8e,ingredient:z8e,meat:W8e,spice:G8e,vegetable:j8e},U8e=K8e,q8e=["1080p","auxiliary","back-end","bluetooth","cross-platform","digital","haptic","mobile","multi-byte","neural","online","open-source","optical","primary","redundant","solid state","virtual","wireless"],Y8e=["backing up","bypassing","calculating","compressing","connecting","copying","generating","hacking","indexing","navigating","overriding","parsing","programming","quantifying","synthesizing","transmitting"],J8e=["alarm","application","array","bandwidth","bus","capacitor","card","circuit","driver","feed","firewall","hard drive","interface","matrix","microchip","monitor","panel","pixel","port","program","protocol","sensor","system","transmitter"],X8e=["I'll {{verb}} the {{adjective}} {{abbreviation}} {{noun}}, that should {{noun}} the {{abbreviation}} {{noun}}!","If we {{verb}} the {{noun}}, we can get to the {{abbreviation}} {{noun}} through the {{adjective}} {{abbreviation}} {{noun}}!","The {{abbreviation}} {{noun}} is down, {{verb}} the {{adjective}} {{noun}} so we can {{verb}} the {{abbreviation}} {{noun}}!","Try to {{verb}} the {{abbreviation}} {{noun}}, maybe it will {{verb}} the {{adjective}} {{noun}}!","Use the {{adjective}} {{abbreviation}} {{noun}}, then you can {{verb}} the {{adjective}} {{noun}}!","We need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!","You can't {{verb}} the {{noun}} without {{ingverb}} the {{adjective}} {{abbreviation}} {{noun}}!","{{ingverb}} the {{noun}} won't do anything, we need to {{verb}} the {{adjective}} {{abbreviation}} {{noun}}!"],Z8e=["back up","bypass","calculate","compress","connect","copy","generate","hack","index","input","navigate","override","parse","program","quantify","reboot","synthesize","transmit"],Q8e={adjective:q8e,ingverb:Y8e,noun:J8e,phrase:X8e,verb:Z8e},e3e=Q8e,t3e=["biz","com","info","name","net","org"],n3e=["example.com","example.net","example.org"],r3e=["gmail.com","hotmail.com","yahoo.com"],a3e={domain_suffix:t3e,example_email:n3e,free_email:r3e},i3e=a3e,o3e=["#####","####","###"],l3e=["Abilene","Akron","Alafaya","Alameda","Albany","Albuquerque","Alexandria","Alhambra","Aliso Viejo","Allen","Allentown","Aloha","Alpharetta","Altadena","Altamonte Springs","Altoona","Amarillo","Ames","Anaheim","Anchorage","Anderson","Ankeny","Ann Arbor","Annandale","Antelope","Antioch","Apex","Apopka","Apple Valley","Appleton","Arcadia","Arden-Arcade","Arecibo","Arlington","Arlington Heights","Arvada","Ashburn","Asheville","Aspen Hill","Atascocita","Athens-Clarke County","Atlanta","Attleboro","Auburn","Augusta-Richmond County","Aurora","Austin","Avondale","Azusa","Bakersfield","Baldwin Park","Baltimore","Barnstable Town","Bartlett","Baton Rouge","Battle Creek","Bayamon","Bayonne","Baytown","Beaumont","Beavercreek","Beaverton","Bedford","Bel Air South","Bell Gardens","Belleville","Bellevue","Bellflower","Bellingham","Bend","Bentonville","Berkeley","Berwyn","Bethesda","Bethlehem","Billings","Biloxi","Binghamton","Birmingham","Bismarck","Blacksburg","Blaine","Bloomington","Blue Springs","Boca Raton","Boise City","Bolingbrook","Bonita Springs","Bossier City","Boston","Bothell","Boulder","Bountiful","Bowie","Bowling Green","Boynton Beach","Bozeman","Bradenton","Brandon","Brentwood","Bridgeport","Bristol","Brockton","Broken Arrow","Brookhaven","Brookline","Brooklyn Park","Broomfield","Brownsville","Bryan","Buckeye","Buena Park","Buffalo","Buffalo Grove","Burbank","Burien","Burke","Burleson","Burlington","Burnsville","Caguas","Caldwell","Camarillo","Cambridge","Camden","Canton","Cape Coral","Carlsbad","Carmel","Carmichael","Carolina","Carrollton","Carson","Carson City","Cary","Casa Grande","Casas Adobes","Casper","Castle Rock","Castro Valley","Catalina Foothills","Cathedral City","Catonsville","Cedar Hill","Cedar Park","Cedar Rapids","Centennial","Centreville","Ceres","Cerritos","Champaign","Chandler","Chapel Hill","Charleston","Charlotte","Charlottesville","Chattanooga","Cheektowaga","Chesapeake","Chesterfield","Cheyenne","Chicago","Chico","Chicopee","Chino","Chino Hills","Chula Vista","Cicero","Cincinnati","Citrus Heights","Clarksville","Clearwater","Cleveland","Cleveland Heights","Clifton","Clovis","Coachella","Coconut Creek","Coeur d'Alene","College Station","Collierville","Colorado Springs","Colton","Columbia","Columbus","Commerce City","Compton","Concord","Conroe","Conway","Coon Rapids","Coral Gables","Coral Springs","Corona","Corpus Christi","Corvallis","Costa Mesa","Council Bluffs","Country Club","Covina","Cranston","Cupertino","Cutler Bay","Cuyahoga Falls","Cypress","Dale City","Dallas","Daly City","Danbury","Danville","Davenport","Davie","Davis","Dayton","Daytona Beach","DeKalb","DeSoto","Dearborn","Dearborn Heights","Decatur","Deerfield Beach","Delano","Delray Beach","Deltona","Denton","Denver","Des Moines","Des Plaines","Detroit","Diamond Bar","Doral","Dothan","Downers Grove","Downey","Draper","Dublin","Dubuque","Duluth","Dundalk","Dunwoody","Durham","Eagan","East Hartford","East Honolulu","East Lansing","East Los Angeles","East Orange","East Providence","Eastvale","Eau Claire","Eden Prairie","Edina","Edinburg","Edmond","El Cajon","El Centro","El Dorado Hills","El Monte","El Paso","Elgin","Elizabeth","Elk Grove","Elkhart","Ellicott City","Elmhurst","Elyria","Encinitas","Enid","Enterprise","Erie","Escondido","Euclid","Eugene","Euless","Evanston","Evansville","Everett","Fairfield","Fall River","Fargo","Farmington","Farmington Hills","Fayetteville","Federal Way","Findlay","Fishers","Flagstaff","Flint","Florence-Graham","Florin","Florissant","Flower Mound","Folsom","Fond du Lac","Fontana","Fort Collins","Fort Lauderdale","Fort Myers","Fort Pierce","Fort Smith","Fort Wayne","Fort Worth","Fountain Valley","Fountainebleau","Framingham","Franklin","Frederick","Freeport","Fremont","Fresno","Frisco","Fullerton","Gainesville","Gaithersburg","Galveston","Garden Grove","Gardena","Garland","Gary","Gastonia","Georgetown","Germantown","Gilbert","Gilroy","Glen Burnie","Glendale","Glendora","Glenview","Goodyear","Grand Forks","Grand Island","Grand Junction","Grand Prairie","Grand Rapids","Grapevine","Great Falls","Greeley","Green Bay","Greensboro","Greenville","Greenwood","Gresham","Guaynabo","Gulfport","Hacienda Heights","Hackensack","Haltom City","Hamilton","Hammond","Hampton","Hanford","Harlingen","Harrisburg","Harrisonburg","Hartford","Hattiesburg","Haverhill","Hawthorne","Hayward","Hemet","Hempstead","Henderson","Hendersonville","Hesperia","Hialeah","Hicksville","High Point","Highland","Highlands Ranch","Hillsboro","Hilo","Hoboken","Hoffman Estates","Hollywood","Homestead","Honolulu","Hoover","Houston","Huntersville","Huntington","Huntington Beach","Huntington Park","Huntsville","Hutchinson","Idaho Falls","Independence","Indianapolis","Indio","Inglewood","Iowa City","Irondequoit","Irvine","Irving","Jackson","Jacksonville","Janesville","Jefferson City","Jeffersonville","Jersey City","Johns Creek","Johnson City","Joliet","Jonesboro","Joplin","Jupiter","Jurupa Valley","Kalamazoo","Kannapolis","Kansas City","Kearny","Keller","Kendale Lakes","Kendall","Kenner","Kennewick","Kenosha","Kent","Kentwood","Kettering","Killeen","Kingsport","Kirkland","Kissimmee","Knoxville","Kokomo","La Crosse","La Habra","La Mesa","La Mirada","Lacey","Lafayette","Laguna Niguel","Lake Charles","Lake Elsinore","Lake Forest","Lake Havasu City","Lake Ridge","Lakeland","Lakeville","Lakewood","Lancaster","Lansing","Laredo","Largo","Las Cruces","Las Vegas","Lauderhill","Lawrence","Lawton","Layton","League City","Lee's Summit","Leesburg","Lehi","Lehigh Acres","Lenexa","Levittown","Lewisville","Lexington-Fayette","Lincoln","Linden","Little Rock","Littleton","Livermore","Livonia","Lodi","Logan","Lombard","Lompoc","Long Beach","Longmont","Longview","Lorain","Los Angeles","Louisville/Jefferson County","Loveland","Lowell","Lubbock","Lynchburg","Lynn","Lynwood","Macon-Bibb County","Madera","Madison","Malden","Manchester","Manhattan","Mansfield","Manteca","Maple Grove","Margate","Maricopa","Marietta","Marysville","Mayaguez","McAllen","McKinney","McLean","Medford","Melbourne","Memphis","Menifee","Mentor","Merced","Meriden","Meridian","Mesa","Mesquite","Metairie","Methuen Town","Miami","Miami Beach","Miami Gardens","Middletown","Midland","Midwest City","Milford","Millcreek","Milpitas","Milwaukee","Minneapolis","Minnetonka","Minot","Miramar","Mishawaka","Mission","Mission Viejo","Missoula","Missouri City","Mobile","Modesto","Moline","Monroe","Montebello","Monterey Park","Montgomery","Moore","Moreno Valley","Morgan Hill","Mount Pleasant","Mount Prospect","Mount Vernon","Mountain View","Muncie","Murfreesboro","Murray","Murrieta","Nampa","Napa","Naperville","Nashua","Nashville-Davidson","National City","New Bedford","New Braunfels","New Britain","New Brunswick","New Haven","New Orleans","New Rochelle","New York","Newark","Newport Beach","Newport News","Newton","Niagara Falls","Noblesville","Norfolk","Normal","Norman","North Bethesda","North Charleston","North Highlands","North Las Vegas","North Lauderdale","North Little Rock","North Miami","North Miami Beach","North Port","North Richland Hills","Norwalk","Novato","Novi","O'Fallon","Oak Lawn","Oak Park","Oakland","Oakland Park","Ocala","Oceanside","Odessa","Ogden","Oklahoma City","Olathe","Olympia","Omaha","Ontario","Orange","Orem","Orland Park","Orlando","Oro Valley","Oshkosh","Overland Park","Owensboro","Oxnard","Palatine","Palm Bay","Palm Beach Gardens","Palm Coast","Palm Desert","Palm Harbor","Palm Springs","Palmdale","Palo Alto","Paradise","Paramount","Parker","Parma","Pasadena","Pasco","Passaic","Paterson","Pawtucket","Peabody","Pearl City","Pearland","Pembroke Pines","Pensacola","Peoria","Perris","Perth Amboy","Petaluma","Pflugerville","Pharr","Philadelphia","Phoenix","Pico Rivera","Pine Bluff","Pine Hills","Pinellas Park","Pittsburg","Pittsburgh","Pittsfield","Placentia","Plainfield","Plano","Plantation","Pleasanton","Plymouth","Pocatello","Poinciana","Pomona","Pompano Beach","Ponce","Pontiac","Port Arthur","Port Charlotte","Port Orange","Port St. Lucie","Portage","Porterville","Portland","Portsmouth","Potomac","Poway","Providence","Provo","Pueblo","Quincy","Racine","Raleigh","Rancho Cordova","Rancho Cucamonga","Rancho Palos Verdes","Rancho Santa Margarita","Rapid City","Reading","Redding","Redlands","Redmond","Redondo Beach","Redwood City","Reno","Renton","Reston","Revere","Rialto","Richardson","Richland","Richmond","Rio Rancho","Riverside","Riverton","Riverview","Roanoke","Rochester","Rochester Hills","Rock Hill","Rockford","Rocklin","Rockville","Rockwall","Rocky Mount","Rogers","Rohnert Park","Rosemead","Roseville","Roswell","Round Rock","Rowland Heights","Rowlett","Royal Oak","Sacramento","Saginaw","Salem","Salina","Salinas","Salt Lake City","Sammamish","San Angelo","San Antonio","San Bernardino","San Bruno","San Buenaventura (Ventura)","San Clemente","San Diego","San Francisco","San Jacinto","San Jose","San Juan","San Leandro","San Luis Obispo","San Marcos","San Mateo","San Rafael","San Ramon","San Tan Valley","Sandy","Sandy Springs","Sanford","Santa Ana","Santa Barbara","Santa Clara","Santa Clarita","Santa Cruz","Santa Fe","Santa Maria","Santa Monica","Santa Rosa","Santee","Sarasota","Savannah","Sayreville","Schaumburg","Schenectady","Scottsdale","Scranton","Seattle","Severn","Shawnee","Sheboygan","Shoreline","Shreveport","Sierra Vista","Silver Spring","Simi Valley","Sioux City","Sioux Falls","Skokie","Smyrna","Somerville","South Bend","South Gate","South Hill","South Jordan","South San Francisco","South Valley","South Whittier","Southaven","Southfield","Sparks","Spokane","Spokane Valley","Spring","Spring Hill","Spring Valley","Springdale","Springfield","St. Charles","St. Clair Shores","St. Cloud","St. George","St. Joseph","St. Louis","St. Louis Park","St. Paul","St. Peters","St. Petersburg","Stamford","State College","Sterling Heights","Stillwater","Stockton","Stratford","Strongsville","Suffolk","Sugar Land","Summerville","Sunnyvale","Sunrise","Sunrise Manor","Surprise","Syracuse","Tacoma","Tallahassee","Tamarac","Tamiami","Tampa","Taunton","Taylor","Taylorsville","Temecula","Tempe","Temple","Terre Haute","Texas City","The Hammocks","The Villages","The Woodlands","Thornton","Thousand Oaks","Tigard","Tinley Park","Titusville","Toledo","Toms River","Tonawanda","Topeka","Torrance","Town 'n' Country","Towson","Tracy","Trenton","Troy","Trujillo Alto","Tuckahoe","Tucson","Tulare","Tulsa","Turlock","Tuscaloosa","Tustin","Twin Falls","Tyler","Union City","University","Upland","Urbana","Urbandale","Utica","Vacaville","Valdosta","Vallejo","Vancouver","Victoria","Victorville","Vineland","Virginia Beach","Visalia","Vista","Waco","Waipahu","Waldorf","Walnut Creek","Waltham","Warner Robins","Warren","Warwick","Washington","Waterbury","Waterloo","Watsonville","Waukegan","Waukesha","Wauwatosa","Wellington","Wesley Chapel","West Allis","West Babylon","West Covina","West Des Moines","West Hartford","West Haven","West Jordan","West Lafayette","West New York","West Palm Beach","West Sacramento","West Seneca","West Valley City","Westfield","Westland","Westminster","Weston","Weymouth Town","Wheaton","White Plains","Whittier","Wichita","Wichita Falls","Wilmington","Wilson","Winston-Salem","Woodbury","Woodland","Worcester","Wylie","Wyoming","Yakima","Yonkers","Yorba Linda","York","Youngstown","Yuba City","Yucaipa","Yuma"],s3e=["{{location.city_prefix}} {{person.first_name.generic}}{{location.city_suffix}}","{{location.city_prefix}} {{person.first_name.generic}}","{{person.first_name.generic}}{{location.city_suffix}}","{{person.last_name.generic}}{{location.city_suffix}}","{{location.city_name}}"],u3e=["North","East","West","South","New","Lake","Port","Fort"],c3e=["town","ton","land","ville","berg","burgh","boro","borough","bury","view","port","mouth","stad","stead","furt","chester","cester","fort","field","haven","side","shire","worth"],d3e=["Africa","Antarctica","Asia","Australia","Europe","North America","South America"],f3e=["Afghanistan","Åland Islands","Albania","Algeria","American Samoa","Andorra","Angola","Anguilla","Antarctica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia","Bonaire, Sint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory (Chagos Archipelago)","Brunei Darussalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Cook Islands","Costa Rica","Côte d'Ivoire","Croatia","Cuba","Curaçao","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Faroe Islands","Falkland Islands (Malvinas)","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guam","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See (Vatican City State)","Honduras","Hong Kong","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Democratic People's Republic of Korea","Republic of Korea","Kuwait","Kyrgyz Republic","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","North Macedonia","Northern Mariana Islands","Norway","Oman","Pakistan","Palau","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn Islands","Poland","Portugal","Puerto Rico","Qatar","Réunion","Romania","Russian Federation","Rwanda","Saint Barthélemy","Saint Helena","Saint Kitts and Nevis","Saint Lucia","Saint Martin","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard & Jan Mayen Islands","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","United States Minor Outlying Islands","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Virgin Islands, British","Virgin Islands, U.S.","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"],p3e=["Adams County","Calhoun County","Carroll County","Clark County","Clay County","Crawford County","Douglas County","Fayette County","Franklin County","Grant County","Greene County","Hamilton County","Hancock County","Henry County","Jackson County","Jefferson County","Johnson County","Lake County","Lawrence County","Lee County","Lincoln County","Logan County","Madison County","Marion County","Marshall County","Monroe County","Montgomery County","Morgan County","Perry County","Pike County","Polk County","Scott County","Union County","Warren County","Washington County","Wayne County","Avon","Bedfordshire","Berkshire","Borders","Buckinghamshire","Cambridgeshire","Central","Cheshire","Cleveland","Clwyd","Cornwall","County Antrim","County Armagh","County Down","County Fermanagh","County Londonderry","County Tyrone","Cumbria","Derbyshire","Devon","Dorset","Dumfries and Galloway","Durham","Dyfed","East Sussex","Essex","Fife","Gloucestershire","Grampian","Greater Manchester","Gwent","Gwynedd County","Hampshire","Herefordshire","Hertfordshire","Highlands and Islands","Humberside","Isle of Wight","Kent","Lancashire","Leicestershire","Lincolnshire","Lothian","Merseyside","Mid Glamorgan","Norfolk","North Yorkshire","Northamptonshire","Northumberland","Nottinghamshire","Oxfordshire","Powys","Rutland","Shropshire","Somerset","South Glamorgan","South Yorkshire","Staffordshire","Strathclyde","Suffolk","Surrey","Tayside","Tyne and Wear","Warwickshire","West Glamorgan","West Midlands","West Sussex","West Yorkshire","Wiltshire","Worcestershire"],h3e={cardinal:["North","East","South","West"],cardinal_abbr:["N","E","S","W"],ordinal:["Northeast","Northwest","Southeast","Southwest"],ordinal_abbr:["NE","NW","SE","SW"]},m3e=[{name:"Afrikaans",alpha2:"af",alpha3:"afr"},{name:"Azerbaijani",alpha2:"az",alpha3:"aze"},{name:"Maldivian",alpha2:"dv",alpha3:"div"},{name:"Farsi/Persian",alpha2:"fa",alpha3:"fas"},{name:"Latvian",alpha2:"lv",alpha3:"lav"},{name:"Indonesian",alpha2:"id",alpha3:"ind"},{name:"Nepali",alpha2:"ne",alpha3:"nep"},{name:"Thai",alpha2:"th",alpha3:"tha"},{name:"Uzbek",alpha2:"uz",alpha3:"uzb"},{name:"Yoruba",alpha2:"yo",alpha3:"yor"},{name:"Pashto",alpha2:"ps",alpha3:"pus"},{name:"English",alpha2:"en",alpha3:"eng"},{name:"Urdu",alpha2:"ur",alpha3:"urd"},{name:"German",alpha2:"de",alpha3:"deu"},{name:"French",alpha2:"fr",alpha3:"fra"},{name:"Spanish",alpha2:"es",alpha3:"spa"},{name:"Italian",alpha2:"it",alpha3:"ita"},{name:"Dutch",alpha2:"nl",alpha3:"nld"},{name:"Russian",alpha2:"ru",alpha3:"rus"},{name:"Portuguese",alpha2:"pt",alpha3:"por"},{name:"Polish",alpha2:"pl",alpha3:"pol"},{name:"Arabic",alpha2:"ar",alpha3:"ara"},{name:"Japanese",alpha2:"ja",alpha3:"jpn"},{name:"Chinese",alpha2:"zh",alpha3:"zho"},{name:"Hindi",alpha2:"hi",alpha3:"hin"},{name:"Bengali",alpha2:"bn",alpha3:"ben"},{name:"Gujarati",alpha2:"gu",alpha3:"guj"},{name:"Tamil",alpha2:"ta",alpha3:"tam"},{name:"Telugu",alpha2:"te",alpha3:"tel"},{name:"Punjabi",alpha2:"pa",alpha3:"pan"},{name:"Vietnamese",alpha2:"vi",alpha3:"vie"},{name:"Korean",alpha2:"ko",alpha3:"kor"},{name:"Turkish",alpha2:"tr",alpha3:"tur"},{name:"Swedish",alpha2:"sv",alpha3:"swe"},{name:"Greek",alpha2:"el",alpha3:"ell"},{name:"Czech",alpha2:"cs",alpha3:"ces"},{name:"Hungarian",alpha2:"hu",alpha3:"hun"},{name:"Romanian",alpha2:"ro",alpha3:"ron"},{name:"Ukrainian",alpha2:"uk",alpha3:"ukr"},{name:"Norwegian",alpha2:"no",alpha3:"nor"},{name:"Serbian",alpha2:"sr",alpha3:"srp"},{name:"Croatian",alpha2:"hr",alpha3:"hrv"},{name:"Slovak",alpha2:"sk",alpha3:"slk"},{name:"Slovenian",alpha2:"sl",alpha3:"slv"},{name:"Icelandic",alpha2:"is",alpha3:"isl"},{name:"Finnish",alpha2:"fi",alpha3:"fin"},{name:"Danish",alpha2:"da",alpha3:"dan"},{name:"Swahili",alpha2:"sw",alpha3:"swa"},{name:"Bashkir",alpha2:"ba",alpha3:"bak"},{name:"Basque",alpha2:"eu",alpha3:"eus"},{name:"Catalan",alpha2:"ca",alpha3:"cat"},{name:"Galician",alpha2:"gl",alpha3:"glg"},{name:"Esperanto",alpha2:"eo",alpha3:"epo"},{name:"Fijian",alpha2:"fj",alpha3:"fij"},{name:"Malagasy",alpha2:"mg",alpha3:"mlg"},{name:"Maltese",alpha2:"mt",alpha3:"mlt"},{name:"Albanian",alpha2:"sq",alpha3:"sqi"},{name:"Armenian",alpha2:"hy",alpha3:"hye"},{name:"Georgian",alpha2:"ka",alpha3:"kat"},{name:"Macedonian",alpha2:"mk",alpha3:"mkd"},{name:"Kazakh",alpha2:"kk",alpha3:"kaz"},{name:"Haitian Creole",alpha2:"ht",alpha3:"hat"},{name:"Mongolian",alpha2:"mn",alpha3:"mon"},{name:"Kyrgyz",alpha2:"ky",alpha3:"kir"},{name:"Finnish",alpha2:"fi",alpha3:"fin"},{name:"Tagalog",alpha2:"tl",alpha3:"tgl"},{name:"Malay",alpha2:"ms",alpha3:"msa"},{name:"Tajik",alpha2:"tg",alpha3:"tgk"},{name:"Swati",alpha2:"ss",alpha3:"ssw"},{name:"Tatar",alpha2:"tt",alpha3:"tat"},{name:"Zulu",alpha2:"zu",alpha3:"zul"}],v3e=["#####","#####-####"],g3e=["Apt. ###","Suite ###"],y3e=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],b3e=["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"],C3e={normal:"{{location.buildingNumber}} {{location.street}}",full:"{{location.buildingNumber}} {{location.street}} {{location.secondaryAddress}}"},F3e=["10th Street","11th Street","12th Street","13th Street","14th Street","15th Street","16th Street","1st Avenue","1st Street","2nd Avenue","2nd Street","3rd Avenue","3rd Street","4th Avenue","4th Street","5th Avenue","5th Street","6th Avenue","6th Street","7th Avenue","7th Street","8th Avenue","8th Street","9th Street","A Street","Abbey Road","Adams Avenue","Adams Street","Airport Road","Albany Road","Albert Road","Albion Street","Alexandra Road","Alfred Street","Alma Street","Ash Close","Ash Grove","Ash Road","Ash Street","Aspen Close","Atlantic Avenue","Avenue Road","Back Lane","Baker Street","Balmoral Road","Barn Close","Barton Road","Bath Road","Bath Street","Bay Street","Beach Road","Bedford Road","Beech Close","Beech Drive","Beech Grove","Beech Road","Beechwood Avenue","Bell Lane","Belmont Road","Birch Avenue","Birch Close","Birch Grove","Birch Road","Blind Lane","Bluebell Close","Boundary Road","Bramble Close","Bramley Close","Bridge Road","Bridge Street","Broad Lane","Broad Street","Broadway","Broadway Avenue","Broadway Street","Brook Lane","Brook Road","Brook Street","Brookside","Buckingham Road","Cambridge Street","Canal Street","Castle Close","Castle Lane","Castle Road","Castle Street","Cavendish Road","Cedar Avenue","Cedar Close","Cedar Grove","Cedar Road","Cedar Street","Cemetery Road","Center Avenue","Center Road","Center Street","Central Avenue","Central Street","Chapel Close","Chapel Hill","Chapel Road","Chapel Street","Charles Street","Cherry Close","Cherry Street","Cherry Tree Close","Chester Road","Chestnut Close","Chestnut Drive","Chestnut Grove","Chestnut Street","Church Avenue","Church Close","Church Hill","Church Lane","Church Path","Church Road","Church Street","Church View","Church Walk","Claremont Road","Clarence Road","Clarence Street","Clarendon Road","Clark Street","Clay Lane","Cleveland Street","Cliff Road","Clifton Road","Clinton Street","College Avenue","College Street","Columbia Avenue","Commerce Street","Commercial Road","Commercial Street","Common Lane","Coronation Avenue","Coronation Road","County Line Road","County Road","Court Street","Cow Lane","Crescent Road","Cromwell Road","Cross Lane","Cross Street","Crown Street","Cumberland Street","Dale Street","Dark Lane","Davis Street","Depot Street","Derby Road","Derwent Close","Devonshire Road","Division Street","Douglas Road","Duke Street","E 10th Street","E 11th Street","E 12th Street","E 14th Street","E 1st Street","E 2nd Street","E 3rd Street","E 4th Avenue","E 4th Street","E 5th Street","E 6th Avenue","E 6th Street","E 7th Street","E 8th Street","E 9th Street","E Bridge Street","E Broad Street","E Broadway","E Broadway Street","E Cedar Street","E Center Street","E Central Avenue","E Church Street","E Elm Street","E Franklin Street","E Front Street","E Grand Avenue","E High Street","E Jackson Street","E Jefferson Street","E Main","E Main Street","E Maple Street","E Market Street","E North Street","E Oak Street","E Park Avenue","E Pine Street","E River Road","E South Street","E State Street","E Union Street","E Walnut Street","E Washington Avenue","E Washington Street","E Water Street","East Avenue","East Road","East Street","Edward Street","Elm Close","Elm Grove","Elm Road","Elm Street","Euclid Avenue","Fairfield Road","Farm Close","Ferry Road","Field Close","Field Lane","First Avenue","First Street","Fore Street","Forest Avenue","Forest Road","Fourth Avenue","Franklin Avenue","Franklin Road","Franklin Street","Front Street","Frontage Road","Garden Close","Garden Street","George Street","Gladstone Road","Glebe Close","Gloucester Road","Gordon Road","Gordon Street","Grand Avenue","Grange Avenue","Grange Close","Grange Road","Grant Street","Green Close","Green Lane","Green Street","Greenville Road","Greenway","Greenwood Road","Grove Lane","Grove Road","Grove Street","Hall Lane","Hall Street","Harrison Avenue","Harrison Street","Hawthorn Avenue","Hawthorn Close","Hazel Close","Hazel Grove","Heath Road","Heather Close","Henry Street","Heron Close","Hickory Street","High Road","High Street","Highfield Avenue","Highfield Close","Highfield Road","Highland Avenue","Hill Road","Hill Street","Hillside","Hillside Avenue","Hillside Close","Hillside Road","Holly Close","Honeysuckle Close","Howard Road","Howard Street","Jackson Avenue","Jackson Street","James Street","Jefferson Avenue","Jefferson Street","Johnson Street","Jubilee Close","Juniper Close","Kent Road","Kestrel Close","King Street","King's Road","Kingfisher Close","Kings Highway","Kingsway","Laburnum Grove","Lafayette Street","Lake Avenue","Lake Drive","Lake Road","Lake Street","Lancaster Road","Lansdowne Road","Larch Close","Laurel Close","Lawrence Street","Lee Street","Liberty Street","Lime Grove","Lincoln Avenue","Lincoln Highway","Lincoln Road","Lincoln Street","Locust Street","Lodge Close","Lodge Lane","London Road","Long Lane","Low Road","Madison Avenue","Madison Street","Main","Main Avenue","Main Road","Main Street","Main Street E","Main Street N","Main Street S","Main Street W","Manchester Road","Manor Close","Manor Drive","Manor Gardens","Manor Road","Manor Way","Maple Avenue","Maple Close","Maple Drive","Maple Road","Maple Street","Market Place","Market Square","Market Street","Marlborough Road","Marsh Lane","Martin Luther King Boulevard","Martin Luther King Drive","Martin Luther King Jr Boulevard","Mary Street","Mayfield Road","Meadow Close","Meadow Drive","Meadow Lane","Meadow View","Meadow Way","Memorial Drive","Middle Street","Mill Close","Mill Lane","Mill Road","Mill Street","Milton Road","Milton Street","Monroe Street","Moor Lane","Moss Lane","Mount Pleasant","Mount Street","Mulberry Street","N 1st Street","N 2nd Street","N 3rd Street","N 4th Street","N 5th Street","N 6th Street","N 7th Street","N 8th Street","N 9th Street","N Bridge Street","N Broad Street","N Broadway","N Broadway Street","N Cedar Street","N Center Street","N Central Avenue","N Chestnut Street","N Church Street","N College Street","N Court Street","N Division Street","N East Street","N Elm Street","N Franklin Street","N Front Street","N Harrison Street","N High Street","N Jackson Street","N Jefferson Street","N Lincoln Street","N Locust Street","N Main","N Main Avenue","N Main Street","N Maple Street","N Market Street","N Monroe Street","N Oak Street","N Park Street","N Pearl Street","N Pine Street","N Poplar Street","N Railroad Street","N State Street","N Union Street","N Walnut Street","N Washington Avenue","N Washington Street","N Water Street","Nelson Road","Nelson Street","New Lane","New Road","New Street","Newton Road","Nightingale Close","Norfolk Road","North Avenue","North Lane","North Road","North Street","Northfield Road","Oak Avenue","Oak Drive","Oak Lane","Oak Road","Oak Street","Oakfield Road","Oaklands","Old Lane","Old Military Road","Old Road","Old State Road","Orchard Drive","Orchard Lane","Orchard Road","Orchard Street","Oxford Road","Oxford Street","Park Avenue","Park Crescent","Park Drive","Park Lane","Park Place","Park Road","Park Street","Park View","Parkside","Pearl Street","Pennsylvania Avenue","Pine Close","Pine Grove","Pine Street","Pinfold Lane","Pleasant Street","Poplar Avenue","Poplar Close","Poplar Road","Poplar Street","Post Road","Pound Lane","Princes Street","Princess Street","Priory Close","Priory Road","Prospect Avenue","Prospect Place","Prospect Road","Prospect Street","Quarry Lane","Quarry Road","Queen's Road","Railroad Avenue","Railroad Street","Railway Street","Rectory Close","Rectory Lane","Richmond Close","Richmond Road","Ridge Road","River Road","River Street","Riverside","Riverside Avenue","Riverside Drive","Roman Road","Roman Way","Rowan Close","Russell Street","S 10th Street","S 14th Street","S 1st Avenue","S 1st Street","S 2nd Street","S 3rd Street","S 4th Street","S 5th Street","S 6th Street","S 7th Street","S 8th Street","S 9th Street","S Bridge Street","S Broad Street","S Broadway","S Broadway Street","S Center Street","S Central Avenue","S Chestnut Street","S Church Street","S College Street","S Division Street","S East Street","S Elm Street","S Franklin Street","S Front Street","S Grand Avenue","S High Street","S Jackson Street","S Jefferson Street","S Lincoln Street","S Main","S Main Avenue","S Main Street","S Maple Street","S Market Street","S Mill Street","S Monroe Street","S Oak Street","S Park Street","S Pine Street","S Railroad Street","S State Street","S Union Street","S Walnut Street","S Washington Avenue","S Washington Street","S Water Street","S West Street","Salisbury Road","Sandringham Road","Sandy Lane","School Close","School Lane","School Road","School Street","Second Avenue","Silver Street","Skyline Drive","Smith Street","Somerset Road","South Avenue","South Drive","South Road","South Street","South View","Spring Gardens","Spring Street","Springfield Close","Springfield Road","Spruce Street","St Andrew's Road","St Andrews Close","St George's Road","St John's Road","St Mary's Close","St Mary's Road","Stanley Road","Stanley Street","State Avenue","State Line Road","State Road","State Street","Station Road","Station Street","Stoney Lane","Sycamore Avenue","Sycamore Close","Sycamore Drive","Sycamore Street","Talbot Road","Tennyson Road","The Avenue","The Beeches","The Causeway","The Chase","The Coppice","The Copse","The Crescent","The Croft","The Dell","The Drive","The Fairway","The Glebe","The Grange","The Green","The Grove","The Hawthorns","The Lane","The Laurels","The Limes","The Maltings","The Meadows","The Mews","The Mount","The Oaks","The Orchard","The Oval","The Paddock","The Paddocks","The Poplars","The Ridgeway","The Ridings","The Rise","The Sidings","The Spinney","The Square","The Willows","The Woodlands","Third Avenue","Third Street","Tower Road","Trinity Road","Tudor Close","Union Avenue","Union Street","University Avenue","University Drive","Valley Road","Veterans Memorial Drive","Veterans Memorial Highway","Vicarage Close","Vicarage Lane","Vicarage Road","Victoria Place","Victoria Road","Victoria Street","Vine Street","W 10th Street","W 11th Street","W 12th Street","W 14th Street","W 1st Street","W 2nd Street","W 3rd Street","W 4th Avenue","W 4th Street","W 5th Street","W 6th Avenue","W 6th Street","W 7th Street","W 8th Street","W 9th Street","W Bridge Street","W Broad Street","W Broadway","W Broadway Avenue","W Broadway Street","W Center Street","W Central Avenue","W Chestnut Street","W Church Street","W Division Street","W Elm Street","W Franklin Street","W Front Street","W Grand Avenue","W High Street","W Jackson Street","W Jefferson Street","W Lake Street","W Main","W Main Street","W Maple Street","W Market Street","W Monroe Street","W North Street","W Oak Street","W Park Street","W Pine Street","W River Road","W South Street","W State Street","W Union Street","W Walnut Street","W Washington Avenue","W Washington Street","Walnut Close","Walnut Street","Warren Close","Warren Road","Washington Avenue","Washington Boulevard","Washington Road","Washington Street","Water Lane","Water Street","Waterloo Road","Waterside","Watery Lane","Waverley Road","Well Lane","Wellington Road","Wellington Street","West Avenue","West End","West Lane","West Road","West Street","West View","Western Avenue","Western Road","Westfield Road","Westgate","William Street","Willow Close","Willow Drive","Willow Grove","Willow Road","Willow Street","Windermere Road","Windmill Close","Windmill Lane","Windsor Avenue","Windsor Close","Windsor Drive","Wood Lane","Wood Street","Woodland Close","Woodland Road","Woodlands","Woodlands Avenue","Woodlands Close","Woodlands Road","Woodside","Woodside Road","Wren Close","Yew Tree Close","York Road","York Street"],E3e=["{{person.first_name.generic}} {{location.street_suffix}}","{{person.last_name.generic}} {{location.street_suffix}}","{{location.street_name}}"],w3e=["Alley","Avenue","Branch","Bridge","Brook","Brooks","Burg","Burgs","Bypass","Camp","Canyon","Cape","Causeway","Center","Centers","Circle","Circles","Cliff","Cliffs","Club","Common","Corner","Corners","Course","Court","Courts","Cove","Coves","Creek","Crescent","Crest","Crossing","Crossroad","Curve","Dale","Dam","Divide","Drive","Drives","Estate","Estates","Expressway","Extension","Extensions","Fall","Falls","Ferry","Field","Fields","Flat","Flats","Ford","Fords","Forest","Forge","Forges","Fork","Forks","Fort","Freeway","Garden","Gardens","Gateway","Glen","Glens","Green","Greens","Grove","Groves","Harbor","Harbors","Haven","Heights","Highway","Hill","Hills","Hollow","Inlet","Island","Islands","Isle","Junction","Junctions","Key","Keys","Knoll","Knolls","Lake","Lakes","Land","Landing","Lane","Light","Lights","Loaf","Lock","Locks","Lodge","Loop","Mall","Manor","Manors","Meadow","Meadows","Mews","Mill","Mills","Mission","Motorway","Mount","Mountain","Mountains","Neck","Orchard","Oval","Overpass","Park","Parks","Parkway","Parkways","Pass","Passage","Path","Pike","Pine","Pines","Place","Plain","Plains","Plaza","Point","Points","Port","Ports","Prairie","Radial","Ramp","Ranch","Rapid","Rapids","Rest","Ridge","Ridges","River","Road","Roads","Route","Row","Rue","Run","Shoal","Shoals","Shore","Shores","Skyway","Spring","Springs","Spur","Spurs","Square","Squares","Station","Stravenue","Stream","Street","Streets","Summit","Terrace","Throughway","Trace","Track","Trafficway","Trail","Tunnel","Turnpike","Underpass","Union","Unions","Valley","Valleys","Via","Viaduct","View","Views","Village","Villages","Ville","Vista","Walk","Walks","Wall","Way","Ways","Well","Wells"],S3e={building_number:o3e,city_name:l3e,city_pattern:s3e,city_prefix:u3e,city_suffix:c3e,continent:d3e,country:f3e,county:p3e,direction:h3e,language:m3e,postcode:v3e,secondary_address:g3e,state:y3e,state_abbr:b3e,street_address:C3e,street_name:F3e,street_pattern:E3e,street_suffix:w3e},A3e=S3e,D3e=["a","ab","abbas","abduco","abeo","abscido","absconditus","absens","absorbeo","absque","abstergo","absum","abundans","abutor","accedo","accendo","acceptus","accommodo","accusamus","accusantium","accusator","acer","acerbitas","acervus","acidus","acies","acquiro","acsi","ad","adamo","adaugeo","addo","adduco","ademptio","adeo","adeptio","adfectus","adfero","adficio","adflicto","adhaero","adhuc","adicio","adimpleo","adinventitias","adipisci","adipiscor","adiuvo","administratio","admiratio","admitto","admoneo","admoveo","adnuo","adopto","adsidue","adstringo","adsuesco","adsum","adulatio","adulescens","aduro","advenio","adversus","advoco","aedificium","aeger","aegre","aegrotatio","aegrus","aeneus","aequitas","aequus","aer","aestas","aestivus","aestus","aetas","aeternus","ager","aggero","aggredior","agnitio","agnosco","ago","ait","aiunt","alias","alienus","alii","alioqui","aliqua","aliquam","aliquid","alius","allatus","alo","alter","altus","alveus","amaritudo","ambitus","ambulo","amet","amicitia","amiculum","amissio","amita","amitto","amo","amor","amoveo","amplexus","amplitudo","amplus","ancilla","angelus","angulus","angustus","animadverto","animi","animus","annus","anser","ante","antea","antepono","antiquus","aperiam","aperio","aperte","apostolus","apparatus","appello","appono","appositus","approbo","apto","aptus","apud","aqua","ara","aranea","arbitro","arbor","arbustum","arca","arceo","arcesso","architecto","arcus","argentum","argumentum","arguo","arma","armarium","aro","ars","articulus","artificiose","arto","arx","ascisco","ascit","asper","asperiores","aspernatur","aspicio","asporto","assentator","assumenda","astrum","at","atavus","ater","atque","atqui","atrocitas","atrox","attero","attollo","attonbitus","auctor","auctus","audacia","audax","audentia","audeo","audio","auditor","aufero","aureus","aurum","aut","autem","autus","auxilium","avaritia","avarus","aveho","averto","baiulus","balbus","barba","bardus","basium","beatae","beatus","bellicus","bellum","bene","beneficium","benevolentia","benigne","bestia","bibo","bis","blandior","blanditiis","bonus","bos","brevis","cado","caecus","caelestis","caelum","calamitas","calcar","calco","calculus","callide","campana","candidus","canis","canonicus","canto","capillus","capio","capitulus","capto","caput","carbo","carcer","careo","caries","cariosus","caritas","carmen","carpo","carus","casso","caste","casus","catena","caterva","cattus","cauda","causa","caute","caveo","cavus","cedo","celebrer","celer","celo","cena","cenaculum","ceno","censura","centum","cerno","cernuus","certe","certus","cervus","cetera","charisma","chirographum","cibo","cibus","cicuta","cilicium","cimentarius","ciminatio","cinis","circumvenio","cito","civis","civitas","clam","clamo","claro","clarus","claudeo","claustrum","clementia","clibanus","coadunatio","coaegresco","coepi","coerceo","cogito","cognatus","cognomen","cogo","cohaero","cohibeo","cohors","colligo","collum","colo","color","coma","combibo","comburo","comedo","comes","cometes","comis","comitatus","commemoro","comminor","commodi","commodo","communis","comparo","compello","complectus","compono","comprehendo","comptus","conatus","concedo","concido","conculco","condico","conduco","confero","confido","conforto","confugo","congregatio","conicio","coniecto","conitor","coniuratio","conor","conqueror","conscendo","consectetur","consequatur","consequuntur","conservo","considero","conspergo","constans","consuasor","contabesco","contego","contigo","contra","conturbo","conventus","convoco","copia","copiose","cornu","corona","corporis","corpus","correptius","corrigo","corroboro","corrumpo","corrupti","coruscus","cotidie","crapula","cras","crastinus","creator","creber","crebro","credo","creo","creptio","crepusculum","cresco","creta","cribro","crinis","cruciamentum","crudelis","cruentus","crur","crustulum","crux","cubicularis","cubitum","cubo","cui","cuius","culpa","culpo","cultellus","cultura","cum","cumque","cunabula","cunae","cunctatio","cupiditas","cupiditate","cupio","cuppedia","cupressus","cur","cura","curatio","curia","curiositas","curis","curo","curriculum","currus","cursim","curso","cursus","curto","curtus","curvo","custodia","damnatio","damno","dapifer","debeo","debilito","debitis","decens","decerno","decet","decimus","decipio","decor","decretum","decumbo","dedecor","dedico","deduco","defaeco","defendo","defero","defessus","defetiscor","deficio","defleo","defluo","defungo","degenero","degero","degusto","deinde","delectatio","delectus","delego","deleniti","deleo","delibero","delicate","delinquo","deludo","demens","demergo","demitto","demo","demonstro","demoror","demulceo","demum","denego","denique","dens","denuncio","denuo","deorsum","depereo","depono","depopulo","deporto","depraedor","deprecator","deprimo","depromo","depulso","deputo","derelinquo","derideo","deripio","deserunt","desidero","desino","desipio","desolo","desparatus","despecto","dicta","dignissimos","distinctio","dolor","dolore","dolorem","doloremque","dolores","doloribus","dolorum","ducimus","ea","eaque","earum","eius","eligendi","enim","eos","error","esse","est","et","eum","eveniet","ex","excepturi","exercitationem","expedita","explicabo","facere","facilis","fuga","fugiat","fugit","harum","hic","id","illo","illum","impedit","in","incidunt","infit","inflammatio","inventore","ipsa","ipsam","ipsum","iste","itaque","iure","iusto","labore","laboriosam","laborum","laudantium","libero","magnam","magni","maiores","maxime","minima","minus","modi","molestiae","molestias","mollitia","nam","natus","necessitatibus","nemo","neque","nesciunt","nihil","nisi","nobis","non","nostrum","nulla","numquam","occaecati","ocer","odio","odit","officia","officiis","omnis","optio","paens","pariatur","patior","patria","patrocinor","patruus","pauci","paulatim","pauper","pax","peccatus","pecco","pecto","pectus","pecus","peior","pel","perferendis","perspiciatis","placeat","porro","possimus","praesentium","provident","quae","quaerat","quam","quas","quasi","qui","quia","quibusdam","quidem","quis","quisquam","quo","quod","quos","ratione","recusandae","reiciendis","rem","repellat","repellendus","reprehenderit","repudiandae","rerum","saepe","sapiente","sed","sequi","similique","sint","sit","socius","sodalitas","sol","soleo","solio","solitudo","solium","sollers","sollicito","solum","solus","soluta","solutio","solvo","somniculosus","somnus","sonitus","sono","sophismata","sopor","sordeo","sortitus","spargo","speciosus","spectaculum","speculum","sperno","spero","spes","spiculum","spiritus","spoliatio","sponte","stabilis","statim","statua","stella","stillicidium","stipes","stips","sto","strenuus","strues","studio","stultus","suadeo","suasoria","sub","subito","subiungo","sublime","subnecto","subseco","substantia","subvenio","succedo","succurro","sufficio","suffoco","suffragium","suggero","sui","sulum","sum","summa","summisse","summopere","sumo","sumptus","sunt","supellex","super","suppellex","supplanto","suppono","supra","surculus","surgo","sursum","suscipio","suscipit","suspendo","sustineo","suus","synagoga","tabella","tabernus","tabesco","tabgo","tabula","taceo","tactus","taedium","talio","talis","talus","tam","tamdiu","tamen","tametsi","tamisium","tamquam","tandem","tantillus","tantum","tardus","tego","temeritas","temperantia","templum","tempora","tempore","temporibus","temptatio","tempus","tenax","tendo","teneo","tener","tenetur","tenuis","tenus","tepesco","tepidus","ter","terebro","teres","terga","tergeo","tergiversatio","tergo","tergum","termes","terminatio","tero","terra","terreo","territo","terror","tersus","tertius","testimonium","texo","textilis","textor","textus","thalassinus","theatrum","theca","thema","theologus","thermae","thesaurus","thesis","thorax","thymbra","thymum","tibi","timidus","timor","titulus","tolero","tollo","tondeo","tonsor","torqueo","torrens","tot","totam","totidem","toties","totus","tracto","trado","traho","trans","tredecim","tremo","trepide","tres","tribuo","tricesimus","triduana","tripudio","tristis","triumphus","trucido","truculenter","tubineus","tui","tum","tumultus","tunc","turba","turbo","turpis","tutamen","tutis","tyrannus","uberrime","ubi","ulciscor","ullam","ullus","ulterius","ultio","ultra","umbra","umerus","umquam","una","unde","undique","universe","unus","urbanus","urbs","uredo","usitas","usque","ustilo","ustulo","usus","ut","uter","uterque","utilis","utique","utor","utpote","utrimque","utroque","utrum","uxor","vaco","vacuus","vado","vae","valde","valens","valeo","valetudo","validus","vallum","vapulus","varietas","varius","vehemens","vel","velit","velociter","velum","velut","venia","veniam","venio","ventito","ventosus","ventus","venustas","ver","verbera","verbum","vere","verecundia","vereor","vergo","veritas","veritatis","vero","versus","verto","verumtamen","verus","vesco","vesica","vesper","vespillo","vester","vestigium","vestrum","vetus","via","vicinus","vicissitudo","victoria","victus","videlicet","video","viduo","vigilo","vigor","vilicus","vilis","vilitas","villa","vinco","vinculum","vindico","vinitor","vinum","vir","virga","virgo","viridis","viriliter","virtus","vis","viscus","vita","vitae","vitiosus","vitium","vito","vivo","vix","vobis","vociferor","voco","volaticus","volo","volubilis","voluntarius","volup","voluptas","voluptate","voluptatem","voluptates","voluptatibus","voluptatum","volutabrum","volva","vomer","vomica","vomito","vorago","vorax","voro","vos","votum","voveo","vox","vulariter","vulgaris","vulgivagus","vulgo","vulgus","vulnero","vulnus","vulpes","vulticulus","xiphias"],T3e={word:D3e},k3e=T3e,_3e={title:"English",code:"en",language:"en",endonym:"English",dir:"ltr",script:"Latn"},x3e=_3e,M3e=['"Awaken, My Love!"',"(What's The Story) Morning Glory?","- Tragedy +","13 Reasons Why (Season 3)","21st Century Breakdown","30 De Febrero","432 Hz Deep Healing","5-Star","528 Hz Meditation Music","54+1","8 Mile","808s & Heartbreak","9 To 5 And Odd Jobs","A Beautiful Lie","A Day At The Races","A Day Without Rain","A Fever You Can't Sweat Out","A Gangsta's Pain","A Gift & A Curse","A Hard Day's Night","A Head Full Of Dreams","A Kind Of Magic","A Million Ways To Murder","A Moment Apart","A Song For Every Moon","A Thousand Suns","A Winter Romance","ABBA","AI YoungBoy","AJ Tracey","Act One","After Hours","Agent Provocateur","All About You","All I Know So Far: Setlist","All Or Nothing","All Out","All Over The Place","All Stand Together","All The Lost Souls","All The Things I Never Said","All Things Must Pass","Alleen","Alright, Still","Alta Suciedad","America","American Heartbreak","American Teen","And Justice For None","Animal Songs","Another Friday Night","Anything Goes","Ao Vivo Em São Paulo","Ao Vivo No Ibirapuera","Apricot Princess","Aqui E Agora (Ao Vivo)","Arcane League Of Legends","Ardipithecus","Aretha Now","Around The Fur","Arrival","Artist 2.0","As She Pleases","Ascend","Ashlyn","Astro Lounge","At Night, Alone.","At. Long. Last. ASAP","Atlas","Audioslave","Aura","Austin","Awake","Away From The Sun","Ayayay!","Baby On Baby","Back For Everything","Back From The Edge","Back In Black","Back To Black","Back To The Game","Bad","Bahía Ducati","Baila","Barbie The Album","Battleground","Bayou Country","Bcos U Will Never B Free","Be","Be Here Now","Beautiful Mind","Beautiful Thugger Girls","Beautiful Trauma","Beauty And The Beast","Beggars Banquet","Being Funny In A Foreign Language","Berlin Lebt","Berry Is On Top","Best White Noise For Baby Sleep - Loopable With No Fade","Big Baby DRAM","Bigger, Better, Faster, More!","Billy Talent II","Black Star Elephant","Blackout","Blank Face LP","Bleach","Blizzard Of Ozz","Blonde","Blood Sugar Sex Magik","Bloom","Blowin' Your Mind!","Blu Celeste","Blue","Blue Banisters","Blue Hawaii","Blue Neighbourhood","Bluebird Days","Bobby Tarantino","Bobby Tarantino II","Bon Iver","Born Pink","Born To Run","Brand New Eyes","Break The Cycle","Breakfast In America","Breakthrough","Brett Young","Bridge Over Troubled Water","Bright: The Album","Brol","Buds","Buena Vista Social Club","Built On Glass","Bury Me At Makeout Creek","Busyhead","By The Way","CB6","CNCO","California Sunrise","Californication","Call Me Irresponsible","Calm","Camino Palmero","Camp","Caracal","Carbon Fiber Hits","Carnival","Carry On","Cartel De Santa","Certified Lover Boy","Chaaama","Chama Meu Nome","Chapter 1: Snake Oil","Chapter 2: Swamp Savant","Chapter One","Charlie's Angels","Cherry Bomb","Chief","Chocolate Factory","Chosen","Chris Brown","Christina Aguilera","Chromatica","Church","City Of Evil","Clandestino","Clouds","Coco","Collision Course","Colour Vision","Combat Rock","Come Around Sundown","Come Away With Me","Come Home The Kids Miss You","Come What(ever) May","Commando","Common Sense","Communion","Conditions","Confident","Confrontation","Control The Streets, Volume 2","Corinne Bailey Rae","Costello Music","Cottonwood","Covers, Vol. 2","Cozy Tapes Vol. 2: Too Cozy","Crash Talk","Crazy Love","Crazysexycool","Crowded House","Cruisin' With Junior H","Culture","Current Mood","DS2","Dale","Danger Days: The True Lives Of The Fabulous Killjoys","Dangerous Woman","Dangerous: The Double Album","Dark Horse","Day69","Daydream","De Fiesta","De Viaje","DeAnn","Death Race For Love","Delirium","Delta","Demidevil","Depression Cherry","Descendants","Desgenerados Mixtape","Destin","Destiny Fulfilled","Desvelado","Detroit 2","Dex Meets Dexter","Dharma","Die A Legend","Different World","Dig Your Roots","Digital Druglord","Dirt","Disclaimer I / II","Discovery","Disraeli Gears","Disumano","Dizzy Up The Girl","Don't Play That Song","Donda","Donde Quiero Estar","Doo-Wops & Hooligans","Down The Way","Dr. Feelgood","Dream Your Life Away","Dreaming Out Loud","Drip Harder","Drive","Drones","Dropped Outta College","Drowning","Dua Warna Cinta","Dulce Beat","Dusty In Memphis","Dutty Rock","Dying To Live","ENR","East Atlanta Love Letter","Editorial","Edna","El Abayarde","El Amor En Los Tiempos Del Perreo","El Camino","El Comienzo","El Dorado","El Karma","El Mal Querer","El Malo","El Trabajo Es La Suerte","El Viaje De Copperpot","Electric Ladyland","Emotion","En Tus Planes","Endless Summer Vacation","Enter The Wu-Tang (36 Chambers)","Equals (=)","Estrella","Euphoria","Europop","Evermore","Every Kingdom","Everyday Life","Evolve","Expectations","Face Yourself","Facelift","Fallin'","Fancy You","Fantasía","Favourite Worst Nightmare","Fear Of The Dark","Fearless","Feel Something","Feels Like Home","Femme Fatale","Ferxxocalipsis","Fifty Shades Darker","Fifty Shades Freed","Fifty Shades Of Grey","Final (Vol.1)","Finding Beauty In Negative Spaces","Fine Line","First Impressions Of Earth","First Steps","Five Seconds Flat","Folklore","For Emma, Forever Ago","Forajido EP 1","Forever","Forever Young","Formula Of Love: O+T=<3","Free 6lack","Freudian","Frozen II","Full Moon Fever","Funhouse","Funk Wav Bounces Vol.1","Future History","FutureSex/LoveSounds","Fuzzybrain","Gallery","Gangsta's Paradise","Gemini","Gemini Rights","Generationwhy","Get A Grip","Get Up","Gettin' Old","Girl","Gladiator","Glisten","Globalization","Gloria","Glory Days","God's Project","Gold Skies","Golden","Good Evening","Good Thing","Goodbye Yellow Brick Road","Gossip Columns","Got Your Six","Graceland","Graduation","Grand Champ","Grandson, Vol. 1","Green River","Guerra","Ha*Ash Primera Fila - Hecho Realidad","Haiz","Hamilton","Happy Endings","Harry Styles","Hasta La Raíz","Hatful Of Hollow","Head In The Clouds","Heard It In A Past Life","Heart Shaped World","Heartbeat City","Heartbreak On A Full Moon / Cuffing Season - 12 Days Of Christmas","Heaven Or Hell","Heaven knows","Hellbilly Deluxe","Hellboy","Help!","Her Loss","Here Comes The Cowboy","Hey World","High School Musical","High Tide In The Snake's Nest","Historias De Un Capricornio","Hndrxx","Hombres G (Devuélveme A Mi Chica)","Homerun","Homework","Hot Fuss","Hot Pink","Hot Sauce / Hello Future","Hot Space","Hotel Diablo","Houses Of The Holy","How Big, How Blue, How Beautiful","How I'm Feeling","How To Be Human","How To Save A Life","How To: Friend, Love, Freefall","Hozier","Human","Huncho Jack, Jack Huncho","Hunter Hayes","Hysteria","I Am...Sasha Fierce","I Can't Handle Change","I Met You When I Was 18. (The Playlist)","I Never Liked You","I Never Loved A Man The Way I Love You","I See You","I Think You Think Too Much Of Me","I Used To Know Her","I Used To Think I Could Fly","I'm Comin' Over","Ich & Keine Maske","If You Can Believe Your Eyes & Ears","Il Ballo Della Vita","Ill Communication","Imagination & The Misfit Kid","Imagine","Immortalized","In A Perfect World...","In Colour","In My Own Words","In Rainbows","In Return","In The Lonely Hour","Infest","Innuendo","Inter Shibuya - La Mafia","Interstellar","Is This It","It Was Written","It's Not Me, It's You","It's Only Me","Ivory","JackBoys","Jamie","Jazz","Jibrail & Iblis","Jordi","Jordin Sparks","Jose","Just As I Am","Just Cause Y'all Waited 2","Just Like You","Justified","K-12 / After School","K.I.D.S.","K.O.","K.O.B. Live","KG0516","KOD","Kane Brown","Kid A","Kid Krow","Kids See Ghosts","Kids in Love","Kinks (You Really Got Me)","Know-It-All","Konvicted","Kring","LANY","LM5","La Criatura","La Flaca","La Melodia De La Calle","La Revolucion","Lady Lady","Lady Wood","Langit Mong Bughaw","Las Que No Iban A Salir","Last Day Of Summer","Last Year Was Complicated","Layers","Layover","Lazarus","Led Zeppelin","Left Of The Middle","Leftoverture","Legends Never Die","Let's Skip To The Wedding","Let's Talk About Love","Licensed To Ill","Life In Cartoon Motion","Life Thru A Lens","Lifelines","Like..?","Lil Big Pac","Lil Boat","Lil Boat 2","Lil Boat 3.5","Lil Kiwi","Lil Pump","Limon Y Sal","Listen Without Prejudice","Little Voice","Live On Red Barn Radio I & II","Lo Que Andábamos Buscando","Lofi Fruits Music 2021","London Calling","Los Campeones Del Pueblo","Los Extraterrestres","Los Favoritos 2","Lost","Lost In Love","Loud","Love Sick","Love Story","Love Stuff","Love Yourself: Tear","Lover","Luca Brasi 2: Gangsta Grillz","Lust For Life","Luv Is Rage","M!ssundaztood","Ma Fleur","Made In Lagos","Mafia Bidness","Magazines Or Novels","Mainstream Sellout","Majestic","Make It Big","Make Yourself","Making Mirrors","Mamma Mia! Here We Go Again","Man Of The Woods","Manic","Me And My Gang","Meduza","Meet The Orphans","Meet The Woo","Melim","Mellon Collie And The Infinite Sadness","Melly vs. Melvin","Memories...Do Not Open","Menagerie","Midnights","Minecraft - Volume Alpha","Minutes To Midnight","Mix Pa Llorar En Tu Cuarto","Modo Avión","Monkey Business","Mono.","Montana","Montevallo","Moosetape","Morning View","Motivan2","Moving Pictures","Mr. Davis","Mr. Misunderstood","Mulan","Mura Masa","Music From The Edge Of Heaven","Music Of The Sun","My House","My Kinda Party","My Krazy Life","My Liver Will Handle What My Heart Can't","My Moment","My Own Lane","My Turn","My Worlds","Na Praia (Ao Vivo)","Nakamura","Nation Of Two","Navegando","Need You Now","Neon Future III","Neotheater","Never Trust A Happy Song","New English","News Of The World","Nicole","Night & Day","Nimmerland","Nimrod","Nine Track Mind","No Angel","No Me Pidas Perdón","No More Drama","No Protection","No Strings Attached","No Time To Die","Nobody Is Listening","Non Stop Erotic Cabaret","Non-Fiction","Northsbest","Nostalgia","Nostalgia, Ultra","Notes On A Conditional Form","Now Or Never","O Embaixador (Ao Vivo)","O My Heart","OK Computer","Ocean","Ocean Avenue","Ocean Eyes","Odisea","Oh My My","Oh, What A Life","On The 6","One In A Million","One More Light","One Of These Nights","Open Up And Say...Ahh!","Ordinary Man","Origins","Out Of The Blue","Over It","OzuTochi","PTSD","Pa Las Baby's Y Belikeada","Pa Que Hablen","Pa' Luego Es Tarde","Pa' Otro La 'O","Pablo Honey","Pain Is Love","Pain Is Temporary","Painting Pictures","Palmen Aus Plastik 2","Para Mi Ex","Para Siempre","Partners In Crime","Pawn Shop","Pegasus / Neon Shark VS Pegasus","Pet Sounds","Piece By Piece","Pier Pressure","Pineapple Sunrise","Piseiro 2020 Ao Vivo","Planet Pit","Plans","Play Deep","Playa Saturno","Por Primera Vez","Por Vida","Positions","Post Human: Survival Horror","Poster Girl","Prazer, Eu Sou Ferrugem (Ao Vivo)","Pretty Girls Like Trap Music","Pretty. Odd.","Prince Royce","Prisma","Prometo","Providence","Puberty 2","Punisher","Purgatory","Purple Rain","Que Bendición","Queen Of The Clouds","Quiero Volver","R&G (Rhythm & Gangsta): The Masterpiece","Raise!","Ransom 2","Rapunzel","Rare","Re Mida","Ready To Die","Realer","Rebelde","Reclassified","Recovery","Recuerden Mi Estilo","Reggatta De Blanc","Regulate… G Funk Era","Reik","Reise, Reise","Relapse","Relaxing Piano Lullabies And Natural Sleep Aid For Baby Sleep Music","Religiously. The Album.","Replay","Results May Vary","Revenge","Revolve","Revolver","Ricky Martin","Rien 100 Rien","Ripcord","Rise And Fall, Rage And Grace","Rise Of An Empire","Robin Hood: Prince Of Thieves","Rock N Roll Jesus","Romance","Romances","Ronan","Royal Blood","Rumours","Sad Boyz 4 Life II","San Lucas","Santana World","Saturation III","Sauce Boyz","Savage Mode","Saxobeats","Scarlet","Schwarzes Herz","Seal The Deal & Let's Boogie","Section.80","Segundo Romance","Sehnsucht","Shake The Snow Globe","Shang-Chi And The Legend Of The Ten Rings: The Album","Sheer Heart Attack","Shiesty Season","Shock Value","Shoot For The Stars, Aim For The Moon","Signed Sealed And Delivered","Signos","Silent Alarm","Simplemente Gracias","Sin Bandera","Sing Me A Lullaby, My Sweet Temptation","Sinner","Sirio","Sit Still, Look Pretty","Skin","Slowhand","Smash","Smithereens","Snow Cougar","Social Cues","Some Girls","Song Hits From Holiday Inn","Songs For Dads","Songs For The Deaf","Songs For You, Truths For Me","Songs In The Key Of Life","Souled Out","Sounds Of Silence","Soy Como Quiero Ser","Speak Now","Speak Your Mind","Speakerboxxx/The Love Below","Spider-Man: Into The Spider-Verse","Split Decision","Square Up","SremmLife","Starboy","Stay +","Stay Dangerous","Staying At Tamara's","Steppenwolf","Stick Season","Still Bill","Straight Outta Compton","Strange Trails","Stronger","Suavemente","Sublime","Suck It and See","Sucker","Sueños","Sugar","Summer Forever","Summer,","Sunset Season","Sunshine On Leith","Surfer Rosa","Sweet Talker","SweetSexySavage","System Of A Down","TA13OO","Talk That Talk","Talking Heads: 77","Tangled Up","Tango In The Night","Taxi Driver","Taylor Swift","Tell Me It's Real","Ten","Ten Summoner's Tales","Terra Sem Cep (Ao Vivo)","Terral","Testing","Tha Carter III","Thank Me Later","That's Christmas To Me","The Academy","The Adventures Of Bobby Ray","The Album","The Andy Williams Christmas Album","The Aviary","The Balcony","The Battle Of Los Angeles","The Beatles (White Album)","The Beginning","The Better Life","The Big Day","The Book","The Breakfast Club","The Cars","The Colour And The Shape","The Death Of Peace Of Mind","The Diary Of Alicia Keys","The Documentary","The Emancipation Of Mimi","The Eminem Show","The End Of Everything","The Final Countdown","The Forever Story","The Foundation","The Goat","The Golden Child","The Good Parts","The Greatest Showman: Reimagined","The Green Trip","The Hardest Love","The Head And The Heart","The Human Condition","The Infamous","The Lady Killer","The Last Don II","The Lion King","The Lockdown Sessions","The London Sessions","The Lord Of The Rings: The Fellowship Of The Ring","The Lost Boy","The Magic Of Christmas / The Christmas Song","The Marshall Mathers LP","The Martin Garrix Collection","The Melodic Blue","The Mockingbird & The Crow","The Pains Of Growing","The Papercut Chronicles","The Perfect Luv Tape","The Pinkprint","The Predator","The Queen Is Dead","The ReVe Festival: Finale","The Rise And Fall Of Ziggy Stardust And The Spiders From Mars","The Rising Tied","The River","The Stone Roses","The Story Of Us","The Stranger","The Sufferer & The Witness","The Sun's Tirade","The Temptations Sing Smokey","The Time Of Our Lives","The Way It Is","The Wonderful World Of Sam Cooke","The Writing's On The Wall","The Young And The Hopeless","Therapy","Therapy Session","There Is More (Live)","There Is Nothing Left To Lose","These Things Happen","Third Eye Blind","This Is Me...Then","This Unruly Mess I've Made","Threat to Survival","Thrill Of The Chase","Time","Timelezz","To Let A Good Thing Die","To Pimp A Butterfly","Toast To Our Differences","Todos Os Cantos, Vol. 1 (Ao Vivo)","Too Hard","Torches X","Total Xanarchy","Toto IV","Toulouse Street","Tourist History","Toxicity","Tragic Kingdom","Tranquility Base Hotel & Casino","Traumazine","Traveler","Tres Hombres","Trip At Knight","Tron: Legacy","True Blue","True Colors","Trustfall","Tu Veneno Mortal","Tudo Em Paz","Ubuntu","Ugly Is Beautiful","Ultra 2021","Una Mattina","Unbroken","Uncovered","Under Pressure","Unsponsored Content","Unstoppable","Unwritten","Urban Flora","Urban Hymns","Use Your Illusion I","Veneer","Versions Of Me","Vibes","Vice Versa","Vices & Virtues","Victory","Vida","Viejo Marihuano","Visualízate","Walk Away","Walk Me Home...","Watch The Throne","Wave","We Broke The Rules","We Love You Tecca","We Love You Tecca 2","Weezer (Green Album)","Welcome To The Madhouse","Westlife","What A Time To Be Alive","What Do You Think About The Car?","What Is Love?","What Makes You Country","What Separates Me From You","What You See Is What You Get / What You See Ain't Always What You Get","When It's Dark Out","When We All Fall Asleep, Where Do We Go?","Where The Light Is","While The World Was Burning","White Pony","Whitney","Who Really Cares","Who You Are","Who's Next","Wide Open","Wilder Mind","Wildfire","Willy And The Poor Boys","Wings / You Never Walk Alone","Wish","Wish You Were Here","Without Warning","Wonder","X&Y","XOXO","Y Que Quede Claro","YBN: The Mixtape","Yo Creo","You Will Regret","Youngblood","Younger Now","Youth"],B3e=["$NOT","$uicideboy$","(G)I-DLE","*NSYNC","2 Chainz","21 Savage","6LACK","? & The Mysterians","A Boogie Wit da Hoodie","A Taste of Honey","A Tribe Called Quest","A-Ha","ABBA","AC/DC","AJ Tracey","ATEEZ","Ace of Base","Adele","Ado","Aerosmith","Agust D","Aitana","Al Dexter & his Troopers","Al Green","Al Jolson","Al Martino","Alan Jackson","Alannah Myles","Alec Benjamin","Alejandro Sanz","Alesso","Alfredo Olivas","Ali Gatie","Alice In Chains","Alina Baraz","All Time Low","All-4-One","All-American Rejects","Alok","America","American Quartet","Amii Stewart","Amitabh Bhattacharya","Ana Castela","Anderson .Paak","Andy Grammer","Angus & Julia Stone","Anirudh Ravichander","Anita Ward","Anitta","Anton Karas","Anuel AA","Arcade Fire","Archie Bell & The Drells","Archies","Aretha Franklin","Arizona Zervas","Armin van Buuren","Arthur Conley","Artie Shaw","Asake","Asees Kaur","Association","Atif Aslam","Audioslave","Aventura","Avril Lavigne","Aya Nakamura","B J Thomas","B.o.B","BLACKPINK","BONES","BROCKHAMPTON","BTS","Baby Keem","Bachman-Turner Overdrive","Backstreet Boys","Bad Bunny","Badshah","Bailey Zimmerman","Banda El Recodo","Barbra Streisand","Barry White","Bazzi","Bebe Rexha","Becky G","Becky Hill","Bee Gees","Ben Bernie","Ben Howard","Ben Selvin","Berlin","Bessie Smith","Bethel Music","Bette Midler","Beyonce","Bibi Blocksberg","Bibi und Tina","BigXthaPlug","Bill Doggett","Bill Haley & his Comets","Bill Withers","Billy Davis Jr","Billy Joel","Billy Paul","Billy Preston","Billy Swan","Birdy","Bizarrap","Blake Shelton","Blur","Bob Marley & The Wailers","Bob Seger","Bobby Darin","Bobby Lewis","Bobby McFerrin","Bobby Vinton","Boney M.","Bonez MC","Bonnie Tyler","Booba","Boston","BoyWithUke","Boyce Avenue","Bradley Cooper","Bread","Brent Faiyaz","Brett Young","Bring Me The Horizon","Britney Spears","Brooks & Dunn","Bruce Channel","Bruno & Marrone","Bryan Adams","Bryce Vine","Buddy Holly","Burna Boy","C. Tangana","CKay","CRO","Camilo","Capital Bra","Captain & Tennille","Cardi B","Carin Leon","Carlos Vives","Carly Simon","Carpenters","Cavetown","Celine Dion","Central Cee","Chaka Khan","Champs","Charlie Rich","Chayanne","Cheat Codes","Cher","Chic","Chicago","Chris Brown","Chris Isaak","Chris Young","Christina Aguilera","Christina Perri","Christopher Cross","Chuck Berry","Ciara","Cigarettes After Sex","Cliff Edwards (Ukelele Ike)","Cody Johnson","Colbie Caillat","Colby O'Donis","Cole Swindell","Coleman Hawkins","Contours","Coolio","Count Basie","Cris Mj","Culture Club","Cyndi Lauper","D-Block Europe","DAY6","DJ Khaled","DJ Luian","DJ Nelson","DMX","DNCE","DaVido","Dadju","Daft Punk","Dan + Shay","Daniel Powter","Danny Ocean","Darius Rucker","Dave","David Bowie","David Guetta","Daya","Dean Martin","Deee-Lite","Deep Purple","Deftones","Demi Lovato","Dennis Lloyd","Denzel Curry","Dermot Kennedy","Desiigner","Devo","Dewa 19","Dexys Midnight Runners","Diddy","Dido","Die drei !!!","Diego & Victor Hugo","Diljit Dosanjh","Dimitri Vegas & Like Mike","Dinah Shore","Dionne Warwick","Dire Straits","Disclosure","Dixie Cups","Doja Cat","Dolly Parton","Don Diablo","Don Henley","Don McLean","Don Omar","Donna Summer","Donovan","Dr. Dre","Drake","Dreamville","Dua Lipa","EMF","ENHYPEN","Earth, Wind & Fire","Ed Sheeran","Eddie Cantor","Eddie Cochran","Eddy Howard","Edgar Winter Group","Edwin Hawkins Singers","Edwin Starr","El Alfa","Eladio Carrion","Electric Light Orchestra","Elevation Worship","Ella Henderson","Ellie Goulding","Elton John","Elvis Presley","Empire of the Sun","En Vogue","Enrique Iglesias","Eslabon Armado","Ethel Waters","Etta James","Evanescence","Exile","Extreme","Faith Hill","Fall Out Boy","Fanny Brice","Farruko","Fats Domino","Fats Waller","Feid","Felix Jaehn","Fergie","Fetty Wap","Fiersa Besari","Fifth Harmony","Fine Young Cannibals","Five Finger Death Punch","Fleetwood Mac","Flo-Rida","Florence + The Machine","Flume","Foo Fighters","Foreigner","Foster The People","Four Aces","Frank Ocean","Frank Sinatra","Frankie Avalon","Frankie Valli","Fred Astaire","Freda Payne","Freddie Dredd","Freddy Fender","French Montana","Fuerza Regida","Fujii Kaze","Future","G-Eazy","Garfunkel and Oates","Gary Lewis & The Playboys","Gary Numan","Gene Autry","Gene Chandler","Gene Vincent","George Michael","George Strait","Gera MX","Ghost","Ghostemane","Gigi D'Agostino","Gladys Knight & The Pips","Glass Animals","Glee Cast","Gloria Gaynor","Godsmack","Gorillaz","Gotye","Grand Funk Railroad","Green Day","Grouplove","Grupo Firme","Grupo Marca Registrada","Gryffin","Gucci Mane","Guess Who","Gunna","Gusttavo Lima","Guy Mitchell","Gwen Stefani","Gzuz","H.E.R.","HARDY","Hailee Steinfeld","Halsey","Hans Zimmer","Harris Jayaraj","Harry Chapin","Harry James","Harry Nilsson","Harry Styles","Hayley Williams","Herb Alpert","Herman's Hermits","Hillsong UNITED","Hillsong Worship","Hollywood Undead","Honey Cone","Hoobastank","Hues Corporation","I Prevail","ITZY","IVE","Ice Cube","Ice Spice","Iggy Azalea","Imagine Dragons","Incubus","Internet Money","Isaac Hayes","J Geils Band","J. Cole","JAY-Z","JJ Lin","JP Saxe","JVKE","Jack Harlow","Jack Johnson","Jackie Wilson","Jacquees","James Arthur","James Brown","James TW","James Taylor","Jamie Foxx","Janet Jackson","Janis Joplin","Jason Aldean","Jason Mraz","Jay Chou","Jay Sean","Jay Wheeler","Jaymes Young","Jean Knight","Jeezy","Jennifer Lopez","Jennifer Warnes","Jeremih","Jeremy Zucker","Jerry Lee Lewis","Jerry Murad's Harmonicats","Jess Glynne","Jessie J","Jewel","Jimi Hendrix","Jimin","Jimmie Rodgers","Jimmy Dean","Jo Stafford","Joan Jett & The Blackhearts","Joao Gilberto","Joel Corry","John Fred & The Playboy Band","John Legend","John Mayer","John Williams","Johnnie Ray","Johnnie Taylor","Johnny Cash","Johnny Horton","Johnny Mathis","Johnny Mercer","Johnny Nash","Joji","Jon Bellion","Jonas Blue","Jonas Brothers","Joni James","Jorja Smith","Juan Gabriel","Juan Luis Guerra 4.40","Juanes","Juice Newton","Julia Michaels","Justin Bieber","Justin Quiles","KALEO","KAROL G","KAYTRANADA","KK","KSI","KYLE","Kacey Musgraves","Kane Brown","Kanye West","Karan Aujla","Kate Smith","Katy Perry","Kay Kyser","Ke$ha","Kehlani","Kelly Clarkson","Kenny Chesney","Kenny Loggins","Kenny Rogers","Kenshi Yonezu","Kenya Grace","Kevin Gates","Key Glock","Khalid","Kim Carnes","Kim Petras","Kimbra","Kina","King Gnu","Kings of Leon","Kingsmen","Kitty Kallen","Kodak Black","Kodaline","Kollegah","Kool & The Gang","Kungs","Kygo","Kylie Minogue","LE SSERAFIM","LISA","LMFAO","LUDMILLA","La Adictiva Banda San José de Mesillas","La Oreja de Van Gogh","Labrinth","Lady Antebellum","Lady GaGa","Lainey Wilson","Lana Del Rey","Latto","Lauryn Hill","Lauv","League of Legends","Lee Brice","Leon Bridges","Leona Lewis","Lesley Gore","Leslie Odom Jr.","Liam Payne","Lifehouse","Lil Baby","Lil Dicky","Lil Durk","Lil Mosey","Lil Nas X","Lil Pump","Lil Skies","Lil Tjay","Lil Uzi Vert","Lil Yachty","Lil' Kim","Lil' Wayne","Lin-Manuel Miranda","Linkin Park","Lionel Richie","Lipps Inc","Lisa Loeb","Little Peggy March","Little Richard","Lofi Fruits Music","Lord Huron","Los Del Rio","Los Dos Carnales","Los Lobos","Los Temerarios","Los Tigres Del Norte","Los Tucanes De Tijuana","Lou Reed","Loud Luxury","Louis Jordan","Louis Tomlinson","Love Unlimited","Lovin' Spoonful","Luan Santana","Luciano","Luis Miguel","Luis R Conriquez","Lulu","Lunay","Lupe Fiasco","M","MAX","MC Hammer","MC Ryan SP","MKTO","Mabel","Machine Gun Kelly","Madison Beer","Madonna","Mahalini","Major Lazer","Mambo Kingz","Maneskin","Marco Antonio Solís","Margaret Whiting","Maria Becerra","Mario","Mario Lanza","Mark Ronson","Maroon 5","Marshmello","Martin Garrix","Mary Ford","Mary J Blige","Mary J. Blige","Mary Wells","Matoma","Mau y Ricky","Meek Mill","Megadeth","Melanie","Melanie Martinez","Melendi","Men At Work","Metro Boomin","Michael Bublé","Michael Jackson","Michael McDonald","Michael Sembello","Miguel","Mike Posner","Miley Cyrus","Milky Chance","Minnie Riperton","Miracle Tones","Miranda Lambert","Mohit Chauhan","Mon Laferte","Moneybagg Yo","Monsta X","Mora","Morad","Morat","Mother Mother","Motley Crue","Ms. Lauryn Hill","Mumford & Sons","Muse","Mya","Myke Towers","NCT 127","NCT DREAM","NEFFEX","Nadin Amizah","Nancy Sinatra","Nat King Cole","Nate Smith","Natti Natasha","Nayer","Neil Diamond","Neil Sedaka","Nekfeu","Nelly","New Vaudeville Band","Next","Nickelback","Nicki Minaj","Nicki Nicole","Nicky Jam","Nina Simone","Ninho","Nipsey Hussle","Nirvana","Niska","No Doubt","Norah Jones","Normani","OMI","ONE OK ROCK","Oasis","Official HIGE DANdism","Offset","Old Dominion","Oliver Heldens","Olivia Rodrigo","Omah Lay","One Direction","Otis Redding","OutKast","Owl City","P Diddy","P!nk","PLK","PNL","Pamungkas","Passenger","Pat Boone","Patsy Cline","Patti LaBelle","Patti Page","Paul & Paula","Paul Revere & the Raiders","Paul Robeson","Paul Russell","Paul Whiteman","Paula Abdul","Peaches & Herb","Pearl Jam","Pee Wee Hunt","Pee Wee King","Pentatonix","Percy Faith","Percy Sledge","Peso Pluma","Peter Cetera","Peter Gabriel","Peter, Paul & Mary","Pharrell Williams","Pierce The Veil","Pineapple StormTv","Pink Floyd","Pink Sweat$","Piso 21","Pitbull","Plan B","Player","Polo G","Pop Smoke","Portugal. The Man","Pouya","Prince","Prince Royce","Pusha T","Quality Control","Queen","Quinn XCII","R. Kelly","RAF Camora","RAYE","REM","REO Speedwagon","Radiohead","Rag'n'Bone Man","Rage Against The Machine","Rahat Fateh Ali Khan","Rainbow Kitten Surprise","Rammstein","Rauw Alejandro","Ray Charles","Ray Parker Jr","Ray Stevens","Red Foley","Red Hot Chili Peppers","Red Velvet","Regard","Regina Belle","Reik","Rels B","Rema","Ricardo Arjona","Rich The Kid","Rick Astley","Rick Dees & his Cast of Idiots","Rick Ross","Rick Springfield","Ricky Martin","Ricky Nelson","Rihanna","Rita Ora","Ritchie Valens","Rizky Febian","Rob Thomas","Roberta Flack","Robin Schulz","Robin Thicke","Rod Stewart","Rod Wave","Roddy Ricch","Roger Miller","Romeo Santos","Rosemary Clooney","Roxette","Roy Acuff","Roy Orbison","Rudimental","Ruel","Ruth B.","Ryan Lewis","SCH","SEVENTEEN","SWV","Sabaton","Sabrina Carpenter","Sachet Tandon","Sachin-Jigar","Sade","Sam Cooke","Sam Feldt","Sam Hunt","Sam Smith","Sam The Sham & The Pharaohs","Sammy Davis Jr","Sammy Kaye","Santana","Sasha Alex Sloan","Savage Garden","Saweetie","Scorpions","Sean Kingston","Sean Paul","Sebastian Yatra","Sech","Seeb","Sezen Aksu","Sfera Ebbasta","Shaggy","Shania Twain","Shawn Mendes","Sheena Easton","Shinedown","Shubh","Sia","Sid Sriram","Sidhu Moose Wala","Silk","Silver Convention","Simon & Garfunkel","Sinead O'Connor","Sir Mix-a-Lot","Sister Sledge","Ski Mask The Slump God","Skillet","Skrillex","Sleeping At Last","Smokey Robinson","Snoop Dogg","Snow Patrol","Soda Stereo","Sonu Nigam","Sophie Ellis-Bextor","Spencer Davis Group","Spice Girls","Stan Getz","Starland Vocal Band","Stephen Sanchez","Steve Aoki","Steve Lacy","Steve Winwood","Stevie B","Sting","Stormzy","Strawberry Alarm Clock","Stray Kids","Stromae","Sublime","Sum 41","Summer Walker","Supertramp","Survivor","Swedish House Mafia","System Of A Down","T-Pain","T.I.","TAEYEON","TKKG","TLC","TOMORROW X TOGETHER","TOTO","TWICE","Tag Team","Tainy","Tammi Terrell","Tanishk Bagchi","Tate McRae","Taylor Swift","Tears For Fears","Tems","Tennessee Ernie Ford","Terence Trent D'Arby","Teresa Brewer","Terry Jacks","The Ames Brothers","The Animals","The B52s","The Bangles","The Beatles","The Black Eyed Peas","The Black Keys","The Box Tops","The Chainsmokers","The Chiffons","The Chordettes","The Clash","The Coasters","The Commodores","The Cowsills","The Cranberries","The Crew-Cuts","The Cure","The Detroit Spinners","The Diamonds","The Doobie Brothers","The Doors","The Drifters","The Emotions","The Eurythmics","The Fireballs","The Flamingos","The Foundations","The Four Seasons","The Fray","The Game","The Go Gos","The Goo Goo Dolls","The Head And The Heart","The Hollies","The Ink Spots","The Isley Brothers","The Jackson 5","The Kid LAROI","The Killers","The Kingston Trio","The Kooks","The Lemon Pipers","The Living Tombstone","The Lumineers","The Mamas & The Papas","The Marvelettes","The McCoys","The Mills Brothers","The Miracles","The Monkees","The Moody Blues","The National","The Neighbourhood","The Notorious B.I.G.","The O'Jays","The Offspring","The Osmonds","The Partridge Family","The Penguins","The Pet Shop Boys","The Platters","The Righteous Brothers","The Rolling Stones","The Ronettes","The Score","The Script","The Seekers","The Shangri-Las","The Smashing Pumpkins","The Staple Singers","The Strokes","The Supremes","The Temptations","The Turtles","The Vamps","The Verve","The Village People","The Weavers","The White Stripes","The Young Rascals","The Zombies","Thelma Houston","Thomas Rhett","Three Days Grace","Three Dog Night","Three Man Down","Timbaland","Timmy Trumpet","Toby Keith","Tom Jones","Tom Petty and the Heartbreakers","Tommy Dorsey","Tommy Edwards","Tommy James & the Shondells","Tone Loc","Toni Braxton","Topic","Tory Lanez","Tove Lo","Trevor Daniel","Trey Songz","Trippie Redd","Trueno","Tulsi Kumar","Tulus","Twenty One Pilots","Two Feet","Ty Dolla $ign","Tyga","Tyler Hubbard","U2","UB40","UZI","Ufo361","Upchurch","V","Vampire Weekend","Van McCoy","Van Morrison","Vance Joy","Vanessa Carlton","Vanessa Williams","Vera Lynn","Vernon Dalhart","Vicente Fernandez","Vishal-Shekhar","Volbeat","WILLOW","Wale","Wallows","Weezer","Wham!","Whitney Houston","Why Don't We","Wilbert Harrison","Wilson Phillips","Wiz Khalifa","Woody Guthrie","Wyclef Jean","XXXTENTACION","Xavi","YG","YNW Melly","YOASOBI","Yandel","Years & Years","Yeat","Yo Gotti","Young Dolph","Young Miko","Young Thug","YoungBoy Never Broke Again","Yung Gravy","Yuuri","Yuvan Shankar Raja","ZAYN","ZZ Top","Zac Brown Band","Zach Bryan","Zara Larsson","aespa","benny blanco","blink-182","d4vd","deadmau5","girl in red","gnash","iann dior","will.i.am"],R3e=["Acid House","Acid Jazz","Acid Rock","Acoustic","Acoustic Blues","Afro-Pop","Afrobeat","Alt-Rock","Alternative","Ambient","American Trad Rock","Americana","Anime","Arena Rock","Art-Rock","Avant-Garde","Avant-Punk","Baladas y Boleros","Barbershop","Baroque","Bebop","Big Band","Black Metal","Blue Note","Bluegrass","Blues","Boogaloo","Bop","Bossa Nova","Bounce","Brazilian Funk","Breakbeat","Britpop","CCM","Cajun","Cantopop","Celtic","Celtic Folk","Chamber Music","Chant","Chanukah","Chicago Blues","Chicago House","Chicano","Children’s Music","Chill","Choral","Christian","Christmas","Classical","Club","College Rock","Conjunto","Cool Jazz","Country","Crunk","Dance","Dancehall","Death Metal","Deep House","Delta Blues","Detroit Techno","Dirty South","Disco","Disney","Dixieland","Doo-wop","Downtempo","Dream Pop","Drill","Drinking Songs","Drone","Drum'n'bass","Dub","Dubstep","EDM","Early Music","East Coast Rap","Easter","Easy Listening","Eclectic","Electric Blues","Electro","Electronic","Electronica","Emo","Enka","Environmental","Ethio-jazz","Experimental","Experimental Rock","Flamenco","Folk","Folk-Rock","Forro","French Pop","Funk","Fusion","Gangsta Rap","Garage","German Folk","German Pop","Glam Rock","Gospel","Goth","Grime","Grindcore","Groove","Grunge","Hair Metal","Halloween","Happy","Hard Bop","Hard Dance","Hard Rock","Hardcore","Hardcore Punk","Hardcore Rap","Hardstyle","Healing","Heavy Metal","High Classical","Hip Hop","Holiday","Honky Tonk","House","IDM","Impressionist","Indie","Industrial","Instrumental","J-Dance","J-Idol","J-Pop","J-Punk","J-Rock","J-Ska","J-Synth","Jackin House","Jam Bands","Japanese Pop","Jazz","Jungle","K-Pop","Karaoke","Kayokyoku","Kids","Kitsch","Klezmer","Krautrock","Latin","Latin Jazz","Latin Rap","Local","Lounge","Lullabies","MPB","Mainstream Jazz","Malay","Mandopop","March","Mariachi","Mawwal","Medieval","Meditation","Metal","Metalcore","Minimal Techno","Minimalism","Modern","Motown","Mugham","Musicals","Musique Concrète","Nature","Neo-Soul","Nerdcore","New Acoustic","New Age","New Mex","New Wave","No Wave","Noise","Nordic","Novelty","OPM","Oi!","Old School Rap","Opera","Orchestral","Original Score","Outlaw Country","Pagode","Party","Piano","Polka","Pop","Pop Film","Pop Latino","Post Dubstep","Power Pop","Praise & Worship","Progressive House","Progressive Rock","Proto-punk","Psych Rock","Psychedelic","Punk","Punk Rock","Qawwali","Quiet Storm","R&B","Ragtime","Rainy Day","Rap","Reggae","Reggaeton","Regional Mexicano","Relaxation","Renaissance","Retro","Rock","Rockabilly","Rocksteady","Romance","Romantic","Roots Reggae","Roots Rock","SKA","Sad","Salsa","Samba","Second Line","Sertanejo","Shaabi","Shoegaze","Sleep","Smooth Jazz","Soft Rock","Soul","Soundtrack","Southern Gospel","Southern Rock","Space Rock","Stage And Screen","Steampunk","Summer","Surf","Swamp Pop","Swing","Synth Pop","Tango","Techno","Teen Pop","Tejano","Tex-Mex","Thanksgiving","Traditional","Trance","Trip Hop","Tropical","Underground Rap","Urban","Urban Cowboy","West Coast Rap","Western Swing","World","Worldbeat","Zydeco"],L3e=["(Everything I Do) I Do it For You","(Ghost) Riders in the Sky","(I Can't Get No) Satisfaction","(I've Got a Gal In) Kalamazoo","(I've Had) the Time of My Life","(It's No) Sin","(Just Like) Starting Over","(Let Me Be Your) Teddy Bear","(Put Another Nickel In) Music! Music! Music!","(Sexual) Healing","(Sittin' On) the Dock of the Bay","(They Long to Be) Close to You","(You Keep Me) Hangin' On","(You're My) Soul & Inspiration","(Your Love Keeps Lifting Me) Higher & Higher","12th Street Rag","1999","19th Nervous Breakdown","50 Ways to Leave Your Lover","9 to 5","96 Tears","A Boy Named Sue","A Hard Day's Night","A String of Pearls","A Thousand Miles","A Tree in the Meadow","A Whiter Shade of Pale","A Whole New World (Aladdin's Theme)","A Woman in Love","A-Tisket A-Tasket","ABC","Abracadabra","Ac-cent-tchu-ate the Positive","Addicted to Love","After You've Gone","Afternoon Delight","Again","Against All Odds (Take a Look At Me Now)","Ain't Misbehavin'","Ain't No Mountain High Enough","Ain't No Sunshine","Ain't That a Shame","Airplanes","All Along the Watchtower","All I Have to Do is Dream","All I Wanna Do","All My Lovin' (You're Never Gonna Get It)","All Night Long (All Night)","All Out of Love","All Shook Up","All You Need is Love","Alone","Alone Again (Naturally)","Always On My Mind","American Pie","American Woman","Angie","Another Brick in the Wall (part 2)","Another Day in Paradise","Another Night","Another One Bites the Dust","Apologize","April Showers","Aquarius/Let The Sunshine In","Are You Lonesome Tonight?","Arthur's Theme (Best That You Can Do)","As Time Goes By","At Last","At the Hop","Auf Wiederseh'n Sweetheart","Baby Baby","Baby Come Back","Baby Got Back","Baby Love","Baby One More Time","Bad Day","Bad Girls","Bad Moon Rising","Bad Romance","Bad, Bad Leroy Brown","Baker Street","Ball of Confusion (That's What the World is Today)","Ballad of the Green Berets","Ballerina","Band On the Run","Band of Gold","Battle of New Orleans","Be Bop a Lula","Be My Baby","Be My Love","Beat It","Beautiful Day","Beauty & the Beast","Because I Love You (The Postman Song)","Because You Loved Me","Because of You","Before The Next Teardrop Falls","Begin the Beguine","Behind Closed Doors","Being With You","Believe","Ben","Bennie & the Jets","Besame Mucho","Best of My Love","Bette Davis Eyes","Big Bad John","Big Girls Don't Cry","Billie Jean","Bitter Sweet Symphony","Black Or White","Black Velvet","Blaze of Glory","Bleeding Love","Blue Suede Shoes","Blue Tango","Blueberry Hill","Blurred Lines","Body & Soul","Bohemian Rhapsody","Boogie Oogie Oogie","Boogie Woogie Bugle Boy","Boom Boom Pow","Born in the USA","Born to Be Wild","Born to Run","Boulevard of Broken Dreams","Brand New Key","Brandy (You're A Fine Girl)","Breaking Up is Hard to Do","Breathe","Bridge Over Troubled Water","Brother Louie","Brother, Can You Spare a Dime?","Brown Eyed Girl","Brown Sugar","Build Me Up Buttercup","Burn","Buttons & Bows","Bye Bye Love","Bye Bye, Blackbird","Bye, Bye, Bye","Caldonia Boogie (What Makes Your Big Head So Hard)","California Dreamin'","California Girls","Call Me","Call Me Maybe","Can You Feel the Love Tonight","Can't Buy Me Love","Can't Get Enough of Your Love, Babe","Can't Help Falling in Love","Candle in the Wind '97","Candy Man","Car Wash","Careless Whisper","Cars","Cat's in the Cradle","Cathy's Clown","Celebration","Centerfold","Chain of Fools","Chances Are","Change the World","Chapel of Love","Chattanooga Choo Choo","Chattanoogie Shoe-Shine Boy","Check On It","Cheek to Cheek","Cherish","Cherry Pink & Apple Blossom White","Cold, Cold Heart","Colors of the Wind","Come On Eileen","Come On-a My House","Come Together","Coming Up","Cracklin' Rosie","Crazy","Crazy For You","Crazy Little Thing Called Love","Crazy in Love","Creep","Crimson & Clover","Crocodile Rock","Cry","Cry Like a Baby","Crying","Da Doo Ron Ron (When He Walked Me Home)","Dance to the Music","Dancing Queen","Dancing in the Dark","Dancing in the Street","Dardanella","Daydream Believer","December 1963 (Oh What a Night)","Delicado","Dilemma","Disco Duck","Disco Lady","Disturbia","Dizzy","Do That to Me One More Time","Do Wah Diddy Diddy","Do Ya Think I'm Sexy?","Do You Love Me?","Don't Be Cruel","Don't Fence Me In","Don't Go Breaking My Heart","Don't Leave Me This Way","Don't Let the Stars Get in Your Eyes","Don't Let the Sun Go Down On Me","Don't Speak","Don't Stop 'Til You Get Enough","Don't Worry Be Happy","Don't You (Forget About Me)","Don't You Want Me","Doo Wop (That Thing)","Down","Down Hearted Blues","Down Under","Downtown","Dreamlover","Dreams","Drop it Like It's Hot","Drops of Jupiter (Tell Me)","Duke of Earl","E.T.","Earth Angel","Ebony & Ivory","Eight Days a Week","Empire State Of Mind","End of the Road","Endless Love","Escape (The Pina Colada Song)","Eve of Destruction","Every Breath You Take","Every Little Thing She Does is Magic","Everybody Loves Somebody","Everybody Wants to Rule the World","Everyday People","Eye of the Tiger","Faith","Fallin'","Fame","Family Affair","Fantasy","Fast Car","Feel Good Inc","Feel Like Making Love","Fire & Rain","Firework","Flashdance. What a Feeling","Fly Robin Fly","Foolish Games","Footloose","For What It's Worth (Stop, Hey What's That Sound)","Fortunate Son","Frankenstein","Freak Me","Freebird","Frenesi","Funkytown","Gangsta's Paradise","Georgia On My Mind","Georgy Girl","Get Back","Get Down Tonight","Get Off of My Cloud","Ghostbusters","Gimme Some Lovin'","Girls Just Wanna Have Fun","Give Me Everything","Gives You Hell","Glamorous","Glory of Love","Go Your Own Way","God Bless America","God Bless the Child","Gold Digger","Gonna Make You Sweat (Everybody Dance Now)","Good Lovin'","Good Times","Good Vibrations","Goodbye Yellow Brick Road","Goodnight, Irene","Got to Give it Up","Grease","Great Balls of Fire","Greatest Love of All","Green Onions","Green River","Green Tambourine","Grenade","Groove is in the Heart","Groovin'","Gypsies, Tramps & Thieves","Hair","Hang On Sloopy","Hanging by a Moment","Hanky Panky","Happy Days Are Here Again","Happy Together","Harbour Lights","Hard to Say I'm Sorry","Harper Valley PTA","Have You Ever Really Loved a Woman?","He'll Have to Go","He's So Fine","He's a Rebel","Heart of Glass","Heart of Gold","Heartbreak Hotel","Hello Dolly","Hello, I Love You, Won't You Tell Me Your Name?","Help Me, Rhonda","Help!","Here Without You","Here in My Heart","Hero","Hey Baby","Hey Jude","Hey Paula","Hey There","Hey There Delilah","Hey Ya!","Higher Love","Hips don't lie","Hit the Road, Jack","Hold On","Hollaback Girl","Honey","Honky Tonk","Honky Tonk Woman","Horse With No Name","Hot Child In The City","Hot Stuff","Hotel California","Hound Dog","House of the Rising Sun","How Deep is Your Love?","How Do I Live?","How Do You Mend a Broken Heart","How High the Moon","How Much is That Doggy in the Window?","How Will I Know","How You Remind Me","How to Save a Life","Hungry Heart","Hurt So Good","I Believe I Can Fly","I Can Dream, Can't I?","I Can Help","I Can See Clearly Now","I Can't Get Next to You","I Can't Get Started","I Can't Go For That (No Can Do)","I Can't Help Myself (Sugar Pie, Honey Bunch)","I Can't Stop Loving You","I Don't Want to Miss a Thing","I Fall to Pieces","I Feel Fine","I Feel For You","I Feel Love","I Get Around","I Got You (I Feel Good)","I Got You Babe","I Gotta Feeling","I Heard it Through the Grapevine","I Honestly Love You","I Just Called to Say I Love You","I Just Wanna Be Your Everything","I Kissed A Girl","I Love Rock 'n' Roll","I Need You Now","I Only Have Eyes For You","I Shot the Sheriff","I Still Haven't Found What I'm Looking For","I Swear","I Think I Love You","I Walk the Line","I Wanna Dance With Somebody (Who Loves Me)","I Wanna Love You","I Want You Back","I Want to Hold Your Hand","I Want to Know What Love Is","I Went to Your Wedding","I Will Always Love You","I Will Follow Him","I Will Survive","I Write the Songs","I'll Be Missing You","I'll Be There","I'll Make Love to You","I'll Never Smile Again","I'll Take You There","I'll Walk Alone","I'll be seeing you","I'm Looking Over a Four Leaf Clover","I'm So Lonesome I Could Cry","I'm Sorry","I'm Walking Behind You","I'm Your Boogie Man","I'm Yours","I'm a Believer","I've Heard That Song Before","If (They Made Me a King)","If I Didn't Care","If You Don't Know Me By Now","If You Leave Me Now","Imagine","In Da Club","In the End","In the Ghetto","In the Mood","In the Summertime","In the Year 2525 (Exordium & Terminus)","Incense & Peppermints","Indian Reservation (The Lament Of The Cherokee Reservation Indian)","Instant Karma","Iris","Ironic","Irreplaceable","It Had to Be You","It's All in the Game","It's My Party","It's Now Or Never","It's Still Rock 'n' Roll to Me","It's Too Late","Jack & Diane","Jailhouse Rock","Jessie's Girl","Jive Talkin'","Johnny B Goode","Joy to the World","Judy in Disguise (With Glasses)","Jump","Jumpin' Jack Flash","Just Dance","Just My Imagination (Running Away With Me)","Just the Way You Are","Kansas City","Karma Chameleon","Keep On Loving You","Killing Me Softly With His Song","King of the Road","Kiss","Kiss & Say Goodbye","Kiss From a Rose","Kiss Me","Kiss On My List","Kiss You All Over","Knock On Wood","Knock Three Times","Kokomo","Kryptonite","Kung Fu Fighting","La Bamba","Lady","Lady Marmalade (Voulez-Vous Coucher Aver Moi Ce Soir?)","Last Train to Clarksville","Layla","Le Freak","Leader of the Pack","Lean On Me","Leaving, on a Jet Plane","Let Me Call You Sweetheart","Let Me Love You","Let it Be","Let it Snow! Let it Snow! Let it Snow!","Let's Dance","Let's Get it On","Let's Groove","Let's Hear it For the Boy","Let's Stay Together","Light My Fire","Lights","Like a Prayer","Like a Rolling Stone","Like a Virgin","Little Darlin'","Little Things Mean a Lot","Live & Let Die","Livin' La Vida Loca","Livin' On a Prayer","Living For the City","Locked Out Of Heaven","Lola","Lonely Boy","Long Cool Woman in a Black Dress","Long Tall Sally","Look Away","Lookin' Out My Back Door","Lose Yourself","Losing My Religion","Louie Louie","Love Child","Love Hangover","Love In This Club","Love Is Blue (L'Amour Est Bleu)","Love Letters in the Sand","Love Me Do","Love Me Tender","Love Shack","Love Theme From 'A Star is Born' (Evergreen)","Love Train","Love Will Keep Us Together","Love is a Many Splendoured Thing","Love to Love You Baby","Love's Theme","Loving You","Low","Macarena","Mack the Knife","Maggie May","Magic","Magic Carpet Ride","Make Love to Me","Make it With You","Makin' Whoopee","Mama Told Me Not to Come","Man in the Mirror","Manana (Is Soon Enough For Me)","Maneater","Maniac","Maybellene","Me & Bobby McGee","Me & Mrs Jones","Memories Are Made of This","Mercy Mercy Me (The Ecology)","Mickey","Midnight Train to Georgia","Minnie the Moocher","Miss You","Miss You Much","Mister Sandman","Mmmbop","Mona Lisa","Monday Monday","Money For Nothing","Mony Mony","Mood Indigo","Moonlight Cocktail","Moonlight Serenade","More Than Words","More Than a Feeling","Morning Train (Nine to Five)","Mr Big Stuff","Mr Brightside","Mr Tambourine Man","Mrs Brown You've Got a Lovely Daughter","Mrs Robinson","Mule Train","Music","My Blue Heaven","My Boyfriend's Back","My Eyes Adored You","My Girl","My Guy","My Heart Will Go On","My Life","My Love","My Man","My Prayer","My Sharona","My Sweet Lord","Na Na Hey Hey (Kiss Him Goodbye)","Nature Boy","Near You","Need You Now","Need You Tonight","Never Gonna Give You Up","Night & Day","Night Fever","Nights in White Satin","No One","No Scrubs","Nobody Does it Better","Nothin' on You","Nothing Compares 2 U","Nothing's Gonna Stop Us Now","Ode To Billie Joe","Oh Happy Day","Oh My Papa (O Mein Papa)","Oh, Pretty Woman","Ol' Man River","Ole Buttermilk Sky","On Bended Knee","On My Own","On the Atchison, Topeka & the Santa Fe","One","One Bad Apple","One More Try","One O'Clock Jump","One Sweet Day","One of These Nights","One of Us","Only The Lonely (Know The Way I Feel)","Only You (And You Alone)","Open Arms","Over There","Over the Rainbow","Paint it Black","Papa Don't Preach","Papa Was a Rolling Stone","Papa's Got a Brand New Bag","Paper Doll","Paper Planes","Paperback Writer","Party Rock Anthem","Peg o' My Heart","Peggy Sue","Pennies From Heaven","Penny Lane","People","People Got to Be Free","Personality","Philadelphia Freedom","Physical","Piano Man","Pick Up the Pieces","Pistol Packin' Mama","Play That Funky Music","Please Mr Postman","Poker Face","Pon De Replay","Pony Time","Pop Muzik","Prisoner of Love","Private Eyes","Promiscuous","Proud Mary","Purple Haze","Purple Rain","Puttin' on the Ritz","Que sera sera (Whatever will be will be)","Queen of Hearts","Rag Doll","Rag Mop","Rags to Riches","Raindrops Keep Falling On My Head","Rapture","Ray of Light","Reach Out (I'll Be There)","Red Red Wine","Rehab","Respect","Return to Sender","Reunited","Revolution","Rhapsody in Blue","Rhinestone Cowboy","Rich Girl","Riders On the Storm","Right Back Where We Started From","Ring My Bell","Ring of Fire","Rock Around the Clock","Rock With You","Rock Your Baby","Rock the Boat","Rock the Casbah","Roll Over Beethoven","Roll With It","Rolling In The Deep","Rosanna","Roses Are Red","Royals","Ruby Tuesday","Rudolph, the Red-Nosed Reindeer","Rum & Coca-Cola","Runaround Sue","Runaway","Running Scared","Rush Rush","Sailing","Save the Best For Last","Save the Last Dance For Me","Say It Right","Say My Name","Say Say Say","Say You, Say Me","School's Out","Seasons in the Sun","Secret Love","Sentimental Journey","Sexyback","Sh-Boom (Life Could Be a Dream)","Shadow Dancing","Shake Down","Shake You Down","She Drives Me Crazy","She Loves You","She's a Lady","Shining Star","Shop Around","Shout","Silly Love Songs","Since U Been Gone","Sing, Sing, Sing (With A Swing)","Singing The Blues","Single Ladies (Put A Ring On It)","Sir Duke","Sixteen Tons","Sledgehammer","Sleep Walk","Sleepy Lagoon","Slow Poke","Smells Like Teen Spirit","Smoke Gets in Your Eyes","Smoke On the Water","Smoke! Smoke! Smoke! (That Cigarette)","Smooth","So Much in Love","Soldier Boy","Some Enchanted Evening","Some of These Days","Somebody That I Used to Know","Somebody to Love","Someday","Somethin' Stupid","Something","Soul Man","Spanish Harlem","Spill the Wine","Spinning Wheel","Spirit in the Sky","St George & the Dragonette","St Louis Blues","Stagger Lee","Stairway to Heaven","Stand By Me","Stardust","Stars & Stripes Forever","Stay (I Missed You)","Stayin' Alive","Stop! in the Name of Love","Stormy Weather (Keeps Rainin' All the Time)","Straight Up","Strange Fruit","Stranger On the Shore","Strangers in the Night","Strawberry Fields Forever","Streets of Philadelphia","Stronger","Stuck On You","Sugar Shack","Sugar Sugar","Summer in the City","Summertime Blues","Sunday, Monday or Always","Sunshine Superman","Sunshine of Your Love","Superstar","Superstition","Surfin' USA","Suspicious Minds","Swanee","Sweet Caroline (Good Times Never Seemed So Good)","Sweet Child O' Mine","Sweet Dreams (Are Made of This)","Sweet Georgia Brown","Sweet Home Alabama","Sweet Soul Music","Swinging On a Star","T For Texas (Blue Yodel No 1)","TSOP (The Sound of Philadelphia)","Take Me Home, Country Roads","Take My Breath Away","Take On Me","Take The 'A' Train","Take a Bow","Tammy","Tangerine","Tears in Heaven","Tears of a Clown","Temperature","Tennessee Waltz","Tequila","Tha Crossroads","Thank You (Falettinme be Mice Elf Again)","That Lucky Old Sun (Just Rolls Around Heaven All Day)","That Old Black Magic","That'll Be the Day","That's Amore","That's What Friends Are For","That's the Way (I Like It)","That's the Way Love Goes","The Boy is Mine","The Boys of Summer","The Christmas Song (Chestnuts Roasting On An Open Fire)","The End of the World","The First Time Ever I Saw Your Face","The Girl From Ipanema","The Glow-Worm","The Great Pretender","The Gypsy","The Hustle","The Joker","The Last Dance","The Letter","The Loco-Motion","The Long & Winding Road","The Love You Save","The Morning After","The Power of Love","The Prisoner's Song","The Reason","The Rose","The Sign","The Song From Moulin Rouge (Where Is Your Heart)","The Sounds of Silence","The Streak","The Sweet Escape","The Thing","The Tide is High","The Tracks of My Tears","The Twist","The Wanderer","The Way We Were","The Way You Look Tonight","The Way You Move","Theme From 'A Summer Place'","Theme From 'Greatest American Hero' (Believe It Or Not)","Theme From 'Shaft'","There goes my baby","These Boots Are Made For Walking","Third Man Theme","This Diamond Ring","This Guy's in Love With You","This Land is Your Land","This Love","This Ole House","This Used to Be My Playground","Three Coins in the Fountain","Three Times a Lady","Thrift Shop","Thriller","Ticket to Ride","Tie a Yellow Ribbon 'round the Old Oak Tree","Tiger Rag","Tighten Up","Tik-Toc","Till I Waltz Again With You","Till The End of Time","Time After Time","Time of the Season","To Sir, with Love","Tom Dooley","Tonight's the Night (Gonna Be Alright)","Too Close","Too Young","Tossing & Turning","Total Eclipse of the Heart","Touch Me","Toxic","Travellin' Band","Travellin' Man","Truly Madly Deeply","Turn! Turn! Turn! (To Everything There is a Season)","Tutti Frutti","Twist & Shout","Two Hearts","U Can't Touch This","U Got it Bad","Umbrella","Un-Break My Heart","Unbelievable","Unchained Melody","Uncle Albert (Admiral Halsey)","Under the Boardwalk","Under the Bridge","Unforgettable","Up Around the Bend","Up Up & Away","Up Where We Belong","Upside Down","Use Somebody","Vaya Con Dios (may God Be With You)","Venus","Vision of Love","Viva La Vida","Vogue","Volare","Wabash Cannonball","Waiting For a Girl Like You","Wake Me Up Before You Go Go","Wake Up Little Susie","Walk Don't Run","Walk Like a Man","Walk Like an Egyptian","Walk On By","Walk On the Wild Side","Walk This Way","Wannabe","Want Ads","Wanted","War","Waterfalls","Wayward Wind","We Are Family","We Are Young","We Are the Champions","We Are the World","We Belong Together","We Built This City","We Can Work it Out","We Didn't Start the Fire","We Found Love","We Got The Beat","We Will Rock You","We've Only Just Begun","Weak","Wedding Bell Blues","West End Blues","West End Girls","What Goes Around Comes Around","What a Fool Believes","What'd I Say","What's Going On?","What's Love Got to Do With It?","Whatcha Say","Wheel of Fortune","When Doves Cry","When You Wish Upon a Star","When a Man Loves a Woman","Where Did Our Love Go","Where is the Love?","Whip It","Whispering","White Christmas","White Rabbit","Whole Lotta Love","Whole Lotta Shakin' Goin' On","Whoomp! (There it Is)","Why Do Fools Fall in Love?","Why Don't You Believe Me?","Wichita Lineman","Wicked Game","Wild Thing","Wild Wild West","Will It Go Round In Circles","Will You Love Me Tomorrow","Winchester Cathedral","Wind Beneath My Wings","Wipe Out","Wishing Well","With Or Without You","Without Me","Without You","Woman","Won't Get Fooled Again","Wooly Bully","Working My Way Back to You","YMCA","Yakety Yak","Yeah!","Yellow Rose of Texas","Yesterday","You Ain't Seen Nothin' Yet","You Always Hurt the One You Love","You Are the Sunshine of My Life","You Belong With Me","You Belong to Me","You Can't Hurry Love","You Don't Bring Me Flowers","You Don't Have to Be a Star (To Be in My Show)","You Light Up My Life","You Make Me Feel Brand New","You Make Me Feel Like Dancing","You Really Got Me","You Send Me","You Sexy Thing","You Were Meant for Me","You make Me Wanna","You'll Never Know","You're Beautiful","You're So Vain","You're Still the One","You're the One That I Want","You've Got a Friend","You've Lost That Lovin' Feelin'","Your Cheatin' Heart","Your Song"],O3e={album:M3e,artist:B3e,genre:R3e,song_name:L3e},P3e=O3e,I3e=["activist","artist","author","blogger","business owner","coach","creator","designer","developer","dreamer","educator","engineer","entrepreneur","environmentalist","film lover","filmmaker","foodie","founder","friend","gamer","geek","grad","inventor","leader","model","musician","nerd","parent","patriot","person","philosopher","photographer","public speaker","scientist","singer","streamer","student","teacher","traveler","veteran","writer"],N3e=["{{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}, {{person.bio_part}}","{{person.bio_part}}, {{person.bio_part}}, {{person.bio_part}} {{internet.emoji}}","{{word.noun}} {{person.bio_supporter}}","{{word.noun}} {{person.bio_supporter}} {{internet.emoji}}","{{word.noun}} {{person.bio_supporter}}, {{person.bio_part}}","{{word.noun}} {{person.bio_supporter}}, {{person.bio_part}} {{internet.emoji}}"],$3e=["advocate","devotee","enthusiast","fan","junkie","lover","supporter"],V3e={generic:["Aaliyah","Aaron","Abagail","Abbey","Abbie","Abbigail","Abby","Abdiel","Abdul","Abdullah","Abe","Abel","Abelardo","Abigail","Abigale","Abigayle","Abner","Abraham","Ada","Adah","Adalberto","Adaline","Adam","Adan","Addie","Addison","Adela","Adelbert","Adele","Adelia","Adeline","Adell","Adella","Adelle","Aditya","Adolf","Adolfo","Adolph","Adolphus","Adonis","Adrain","Adrian","Adriana","Adrianna","Adriel","Adrien","Adrienne","Afton","Aglae","Agnes","Agustin","Agustina","Ahmad","Ahmed","Aida","Aidan","Aiden","Aileen","Aimee","Aisha","Aiyana","Akeem","Al","Alaina","Alan","Alana","Alanis","Alanna","Alayna","Alba","Albert","Alberta","Albertha","Alberto","Albin","Albina","Alda","Alden","Alec","Aleen","Alejandra","Alejandrin","Alek","Alena","Alene","Alessandra","Alessandro","Alessia","Aletha","Alex","Alexa","Alexander","Alexandra","Alexandre","Alexandrea","Alexandria","Alexandrine","Alexandro","Alexane","Alexanne","Alexie","Alexis","Alexys","Alexzander","Alf","Alfonso","Alfonzo","Alford","Alfred","Alfreda","Alfredo","Ali","Alia","Alice","Alicia","Alisa","Alisha","Alison","Alivia","Aliya","Aliyah","Aliza","Alize","Allan","Allen","Allene","Allie","Allison","Ally","Alphonso","Alta","Althea","Alva","Alvah","Alvena","Alvera","Alverta","Alvina","Alvis","Alyce","Alycia","Alysa","Alysha","Alyson","Alysson","Amalia","Amanda","Amani","Amara","Amari","Amaya","Amber","Ambrose","Amelia","Amelie","Amely","America","Americo","Amie","Amina","Amir","Amira","Amiya","Amos","Amparo","Amy","Amya","Ana","Anabel","Anabelle","Anahi","Anais","Anastacio","Anastasia","Anderson","Andre","Andreane","Andreanne","Andres","Andrew","Andy","Angel","Angela","Angelica","Angelina","Angeline","Angelita","Angelo","Angie","Angus","Anibal","Anika","Anissa","Anita","Aniya","Aniyah","Anjali","Anna","Annabel","Annabell","Annabelle","Annalise","Annamae","Annamarie","Anne","Annetta","Annette","Annie","Ansel","Ansley","Anthony","Antoinette","Antone","Antonetta","Antonette","Antonia","Antonietta","Antonina","Antonio","Antwan","Antwon","Anya","April","Ara","Araceli","Aracely","Arch","Archibald","Ardella","Arden","Ardith","Arely","Ari","Ariane","Arianna","Aric","Ariel","Arielle","Arjun","Arlene","Arlie","Arlo","Armand","Armando","Armani","Arnaldo","Arne","Arno","Arnold","Arnoldo","Arnulfo","Aron","Art","Arthur","Arturo","Arvel","Arvid","Arvilla","Aryanna","Asa","Asha","Ashlee","Ashleigh","Ashley","Ashly","Ashlynn","Ashton","Ashtyn","Asia","Assunta","Astrid","Athena","Aubree","Aubrey","Audie","Audra","Audreanne","Audrey","August","Augusta","Augustine","Augustus","Aurelia","Aurelie","Aurelio","Aurore","Austen","Austin","Austyn","Autumn","Ava","Avery","Avis","Axel","Ayana","Ayden","Ayla","Aylin","Baby","Bailee","Bailey","Barbara","Barney","Baron","Barrett","Barry","Bart","Bartholome","Barton","Baylee","Beatrice","Beau","Beaulah","Bell","Bella","Belle","Ben","Benedict","Benjamin","Bennett","Bennie","Benny","Benton","Berenice","Bernadette","Bernadine","Bernard","Bernardo","Berneice","Bernhard","Bernice","Bernie","Berniece","Bernita","Berry","Bert","Berta","Bertha","Bertram","Bertrand","Beryl","Bessie","Beth","Bethany","Bethel","Betsy","Bette","Bettie","Betty","Bettye","Beulah","Beverly","Bianka","Bill","Billie","Billy","Birdie","Blair","Blaise","Blake","Blanca","Blanche","Blaze","Bo","Bobbie","Bobby","Bonita","Bonnie","Boris","Boyd","Brad","Braden","Bradford","Bradley","Bradly","Brady","Braeden","Brain","Brandi","Brando","Brandon","Brandt","Brandy","Brandyn","Brannon","Branson","Brant","Braulio","Braxton","Brayan","Breana","Breanna","Breanne","Brenda","Brendan","Brenden","Brendon","Brenna","Brennan","Brennon","Brent","Bret","Brett","Bria","Brian","Briana","Brianne","Brice","Bridget","Bridgette","Bridie","Brielle","Brigitte","Brionna","Brisa","Britney","Brittany","Brock","Broderick","Brody","Brook","Brooke","Brooklyn","Brooks","Brown","Bruce","Bryana","Bryce","Brycen","Bryon","Buck","Bud","Buddy","Buford","Bulah","Burdette","Burley","Burnice","Buster","Cade","Caden","Caesar","Caitlyn","Cale","Caleb","Caleigh","Cali","Calista","Callie","Camden","Cameron","Camila","Camilla","Camille","Camren","Camron","Camryn","Camylle","Candace","Candelario","Candice","Candida","Candido","Cara","Carey","Carissa","Carlee","Carleton","Carley","Carli","Carlie","Carlo","Carlos","Carlotta","Carmel","Carmela","Carmella","Carmelo","Carmen","Carmine","Carol","Carolanne","Carole","Carolina","Caroline","Carolyn","Carolyne","Carrie","Carroll","Carson","Carter","Cary","Casandra","Casey","Casimer","Casimir","Casper","Cassandra","Cassandre","Cassidy","Cassie","Catalina","Caterina","Catharine","Catherine","Cathrine","Cathryn","Cathy","Cayla","Ceasar","Cecelia","Cecil","Cecile","Cecilia","Cedrick","Celestine","Celestino","Celia","Celine","Cesar","Chad","Chadd","Chadrick","Chaim","Chance","Chandler","Chanel","Chanelle","Charity","Charlene","Charles","Charley","Charlie","Charlotte","Chase","Chasity","Chauncey","Chaya","Chaz","Chelsea","Chelsey","Chelsie","Chesley","Chester","Chet","Cheyanne","Cheyenne","Chloe","Chris","Christ","Christa","Christelle","Christian","Christiana","Christina","Christine","Christop","Christophe","Christopher","Christy","Chyna","Ciara","Cicero","Cielo","Cierra","Cindy","Citlalli","Clair","Claire","Clara","Clarabelle","Clare","Clarissa","Clark","Claud","Claude","Claudia","Claudie","Claudine","Clay","Clemens","Clement","Clementina","Clementine","Clemmie","Cleo","Cleora","Cleta","Cletus","Cleve","Cleveland","Clifford","Clifton","Clint","Clinton","Clotilde","Clovis","Cloyd","Clyde","Coby","Cody","Colby","Cole","Coleman","Colin","Colleen","Collin","Colt","Colten","Colton","Columbus","Concepcion","Conner","Connie","Connor","Conor","Conrad","Constance","Constantin","Consuelo","Cooper","Cora","Coralie","Corbin","Cordelia","Cordell","Cordia","Cordie","Corene","Corine","Cornelius","Cornell","Corrine","Cortez","Cortney","Cory","Coty","Courtney","Coy","Craig","Crawford","Creola","Cristal","Cristian","Cristina","Cristobal","Cristopher","Cruz","Crystal","Crystel","Cullen","Curt","Curtis","Cydney","Cynthia","Cyril","Cyrus","D'angelo","Dagmar","Dahlia","Daija","Daisha","Daisy","Dakota","Dale","Dallas","Dallin","Dalton","Damaris","Dameon","Damian","Damien","Damion","Damon","Dan","Dana","Dandre","Dane","Dangelo","Danial","Daniela","Daniella","Danielle","Danika","Dannie","Danny","Dante","Danyka","Daphne","Daphnee","Daphney","Darby","Daren","Darian","Dariana","Darien","Dario","Darion","Darius","Darlene","Daron","Darrel","Darrell","Darren","Darrick","Darrin","Darrion","Darron","Darryl","Darwin","Daryl","Dashawn","Dasia","Dave","David","Davin","Davion","Davon","Davonte","Dawn","Dawson","Dax","Dayana","Dayna","Dayne","Dayton","Dean","Deangelo","Deanna","Deborah","Declan","Dedric","Dedrick","Dee","Deion","Deja","Dejah","Dejon","Dejuan","Delaney","Delbert","Delfina","Delia","Delilah","Dell","Della","Delmer","Delores","Delpha","Delphia","Delphine","Delta","Demarco","Demarcus","Demario","Demetris","Demetrius","Demond","Dena","Denis","Dennis","Deon","Deondre","Deontae","Deonte","Dereck","Derek","Derick","Deron","Derrick","Deshaun","Deshawn","Desiree","Desmond","Dessie","Destany","Destin","Destinee","Destiney","Destini","Destiny","Devan","Devante","Deven","Devin","Devon","Devonte","Devyn","Dewayne","Dewitt","Dexter","Diamond","Diana","Dianna","Diego","Dillan","Dillon","Dimitri","Dina","Dino","Dion","Dixie","Dock","Dolly","Dolores","Domenic","Domenica","Domenick","Domenico","Domingo","Dominic","Dominique","Don","Donald","Donato","Donavon","Donna","Donnell","Donnie","Donny","Dora","Dorcas","Dorian","Doris","Dorothea","Dorothy","Dorris","Dortha","Dorthy","Doug","Douglas","Dovie","Doyle","Drake","Drew","Duane","Dudley","Dulce","Duncan","Durward","Dustin","Dusty","Dwight","Dylan","Earl","Earlene","Earline","Earnest","Earnestine","Easter","Easton","Ebba","Ebony","Ed","Eda","Edd","Eddie","Eden","Edgar","Edgardo","Edison","Edmond","Edmund","Edna","Eduardo","Edward","Edwardo","Edwin","Edwina","Edyth","Edythe","Effie","Efrain","Efren","Eileen","Einar","Eino","Eladio","Elaina","Elbert","Elda","Eldon","Eldora","Eldred","Eldridge","Eleanora","Eleanore","Eleazar","Electa","Elena","Elenor","Elenora","Eleonore","Elfrieda","Eli","Elian","Eliane","Elias","Eliezer","Elijah","Elinor","Elinore","Elisa","Elisabeth","Elise","Eliseo","Elisha","Elissa","Eliza","Elizabeth","Ella","Ellen","Ellie","Elliot","Elliott","Ellis","Ellsworth","Elmer","Elmira","Elmo","Elmore","Elna","Elnora","Elody","Eloisa","Eloise","Elouise","Eloy","Elroy","Elsa","Else","Elsie","Elta","Elton","Elva","Elvera","Elvie","Elvis","Elwin","Elwyn","Elyse","Elyssa","Elza","Emanuel","Emelia","Emelie","Emely","Emerald","Emerson","Emery","Emie","Emil","Emile","Emilia","Emiliano","Emilie","Emilio","Emily","Emma","Emmalee","Emmanuel","Emmanuelle","Emmet","Emmett","Emmie","Emmitt","Emmy","Emory","Ena","Enid","Enoch","Enola","Enos","Enrico","Enrique","Ephraim","Era","Eriberto","Eric","Erica","Erich","Erick","Ericka","Erik","Erika","Erin","Erling","Erna","Ernest","Ernestina","Ernestine","Ernesto","Ernie","Ervin","Erwin","Eryn","Esmeralda","Esperanza","Esta","Esteban","Estefania","Estel","Estell","Estella","Estelle","Estevan","Esther","Estrella","Etha","Ethan","Ethel","Ethelyn","Ethyl","Ettie","Eudora","Eugene","Eugenia","Eula","Eulah","Eulalia","Euna","Eunice","Eusebio","Eva","Evalyn","Evan","Evangeline","Evans","Eve","Eveline","Evelyn","Everardo","Everett","Everette","Evert","Evie","Ewald","Ewell","Ezekiel","Ezequiel","Ezra","Fabian","Fabiola","Fae","Fannie","Fanny","Fatima","Faustino","Fausto","Favian","Fay","Faye","Federico","Felicia","Felicita","Felicity","Felipa","Felipe","Felix","Felton","Fermin","Fern","Fernando","Ferne","Fidel","Filiberto","Filomena","Finn","Fiona","Flavie","Flavio","Fleta","Fletcher","Flo","Florence","Florencio","Florian","Florida","Florine","Flossie","Floy","Floyd","Ford","Forest","Forrest","Foster","Frances","Francesca","Francesco","Francis","Francisca","Francisco","Franco","Frank","Frankie","Franz","Fred","Freda","Freddie","Freddy","Frederic","Frederick","Frederik","Frederique","Fredrick","Fredy","Freeda","Freeman","Freida","Frida","Frieda","Friedrich","Fritz","Furman","Gabe","Gabriel","Gabriella","Gabrielle","Gaetano","Gage","Gail","Gardner","Garett","Garfield","Garland","Garnet","Garnett","Garret","Garrett","Garrick","Garrison","Garry","Garth","Gaston","Gavin","Gayle","Gene","General","Genesis","Genevieve","Gennaro","Genoveva","Geo","Geoffrey","George","Georgette","Georgiana","Georgianna","Geovanni","Geovanny","Geovany","Gerald","Geraldine","Gerard","Gerardo","Gerda","Gerhard","Germaine","German","Gerry","Gerson","Gertrude","Gia","Gianni","Gideon","Gilbert","Gilberto","Gilda","Giles","Gillian","Gina","Gino","Giovani","Giovanna","Giovanni","Giovanny","Gisselle","Giuseppe","Gladyce","Gladys","Glen","Glenda","Glenna","Glennie","Gloria","Godfrey","Golda","Golden","Gonzalo","Gordon","Grace","Gracie","Graciela","Grady","Graham","Grant","Granville","Grayce","Grayson","Green","Greg","Gregg","Gregoria","Gregorio","Gregory","Greta","Gretchen","Greyson","Griffin","Grover","Guadalupe","Gudrun","Guido","Guillermo","Guiseppe","Gunnar","Gunner","Gus","Gussie","Gust","Gustave","Guy","Gwen","Gwendolyn","Hadley","Hailee","Hailey","Hailie","Hal","Haleigh","Haley","Halie","Halle","Hallie","Hank","Hanna","Hannah","Hans","Hardy","Harley","Harmon","Harmony","Harold","Harrison","Harry","Harvey","Haskell","Hassan","Hassie","Hattie","Haven","Hayden","Haylee","Hayley","Haylie","Hazel","Hazle","Heath","Heather","Heaven","Heber","Hector","Heidi","Helen","Helena","Helene","Helga","Hellen","Helmer","Heloise","Henderson","Henri","Henriette","Henry","Herbert","Herman","Hermann","Hermina","Herminia","Herminio","Hershel","Herta","Hertha","Hester","Hettie","Hilario","Hilbert","Hilda","Hildegard","Hillard","Hillary","Hilma","Hilton","Hipolito","Hiram","Hobart","Holden","Hollie","Hollis","Holly","Hope","Horace","Horacio","Hortense","Hosea","Houston","Howard","Howell","Hoyt","Hubert","Hudson","Hugh","Hulda","Humberto","Hunter","Hyman","Ian","Ibrahim","Icie","Ida","Idell","Idella","Ignacio","Ignatius","Ike","Ila","Ilene","Iliana","Ima","Imani","Imelda","Immanuel","Imogene","Ines","Irma","Irving","Irwin","Isaac","Isabel","Isabell","Isabella","Isabelle","Isac","Isadore","Isai","Isaiah","Isaias","Isidro","Ismael","Isobel","Isom","Israel","Issac","Itzel","Iva","Ivah","Ivory","Ivy","Izabella","Izaiah","Jabari","Jace","Jacey","Jacinthe","Jacinto","Jack","Jackeline","Jackie","Jacklyn","Jackson","Jacky","Jaclyn","Jacquelyn","Jacques","Jacynthe","Jada","Jade","Jaden","Jadon","Jadyn","Jaeden","Jaida","Jaiden","Jailyn","Jaime","Jairo","Jakayla","Jake","Jakob","Jaleel","Jalen","Jalon","Jalyn","Jamaal","Jamal","Jamar","Jamarcus","Jamel","Jameson","Jamey","Jamie","Jamil","Jamir","Jamison","Jammie","Jan","Jana","Janae","Jane","Janelle","Janessa","Janet","Janice","Janick","Janie","Janis","Janiya","Jannie","Jany","Jaquan","Jaquelin","Jaqueline","Jared","Jaren","Jarod","Jaron","Jarred","Jarrell","Jarret","Jarrett","Jarrod","Jarvis","Jasen","Jasmin","Jason","Jasper","Jaunita","Javier","Javon","Javonte","Jay","Jayce","Jaycee","Jayda","Jayde","Jayden","Jaydon","Jaylan","Jaylen","Jaylin","Jaylon","Jayme","Jayne","Jayson","Jazlyn","Jazmin","Jazmyn","Jazmyne","Jean","Jeanette","Jeanie","Jeanne","Jed","Jedediah","Jedidiah","Jeff","Jefferey","Jeffery","Jeffrey","Jeffry","Jena","Jenifer","Jennie","Jennifer","Jennings","Jennyfer","Jensen","Jerad","Jerald","Jeramie","Jeramy","Jerel","Jeremie","Jeremy","Jermain","Jermaine","Jermey","Jerod","Jerome","Jeromy","Jerrell","Jerrod","Jerrold","Jerry","Jess","Jesse","Jessica","Jessie","Jessika","Jessy","Jessyca","Jesus","Jett","Jettie","Jevon","Jewel","Jewell","Jillian","Jimmie","Jimmy","Jo","Joan","Joana","Joanie","Joanne","Joannie","Joanny","Joany","Joaquin","Jocelyn","Jodie","Jody","Joe","Joel","Joelle","Joesph","Joey","Johan","Johann","Johanna","Johathan","John","Johnathan","Johnathon","Johnnie","Johnny","Johnpaul","Johnson","Jolie","Jon","Jonas","Jonatan","Jonathan","Jonathon","Jordan","Jordane","Jordi","Jordon","Jordy","Jordyn","Jorge","Jose","Josefa","Josefina","Joseph","Josephine","Josh","Joshua","Joshuah","Josiah","Josiane","Josianne","Josie","Josue","Jovan","Jovani","Jovanny","Jovany","Joy","Joyce","Juana","Juanita","Judah","Judd","Jude","Judge","Judson","Judy","Jules","Julia","Julian","Juliana","Julianne","Julie","Julien","Juliet","Julio","Julius","June","Junior","Junius","Justen","Justice","Justina","Justine","Juston","Justus","Justyn","Juvenal","Juwan","Kacey","Kaci","Kacie","Kade","Kaden","Kadin","Kaela","Kaelyn","Kaia","Kailee","Kailey","Kailyn","Kaitlin","Kaitlyn","Kale","Kaleb","Kaleigh","Kaley","Kali","Kallie","Kameron","Kamille","Kamren","Kamron","Kamryn","Kane","Kara","Kareem","Karelle","Karen","Kari","Kariane","Karianne","Karina","Karine","Karl","Karlee","Karley","Karli","Karlie","Karolann","Karson","Kasandra","Kasey","Kassandra","Katarina","Katelin","Katelyn","Katelynn","Katharina","Katherine","Katheryn","Kathleen","Kathlyn","Kathryn","Kathryne","Katlyn","Katlynn","Katrina","Katrine","Kattie","Kavon","Kay","Kaya","Kaycee","Kayden","Kayla","Kaylah","Kaylee","Kayleigh","Kayley","Kayli","Kaylie","Kaylin","Keagan","Keanu","Keara","Keaton","Keegan","Keeley","Keely","Keenan","Keira","Keith","Kellen","Kelley","Kelli","Kellie","Kelly","Kelsi","Kelsie","Kelton","Kelvin","Ken","Kendall","Kendra","Kendrick","Kenna","Kennedi","Kennedy","Kenneth","Kennith","Kenny","Kenton","Kenya","Kenyatta","Kenyon","Keon","Keshaun","Keshawn","Keven","Kevin","Kevon","Keyon","Keyshawn","Khalid","Khalil","Kian","Kiana","Kianna","Kiara","Kiarra","Kiel","Kiera","Kieran","Kiley","Kim","Kimberly","King","Kip","Kira","Kirk","Kirsten","Kirstin","Kitty","Kobe","Koby","Kody","Kolby","Kole","Korbin","Korey","Kory","Kraig","Kris","Krista","Kristian","Kristin","Kristina","Kristofer","Kristoffer","Kristopher","Kristy","Krystal","Krystel","Krystina","Kurt","Kurtis","Kyla","Kyle","Kylee","Kyleigh","Kyler","Kylie","Kyra","Lacey","Lacy","Ladarius","Lafayette","Laila","Laisha","Lamar","Lambert","Lamont","Lance","Landen","Lane","Laney","Larissa","Laron","Larry","Larue","Laura","Laurel","Lauren","Laurence","Lauretta","Lauriane","Laurianne","Laurie","Laurine","Laury","Lauryn","Lavada","Lavern","Laverna","Laverne","Lavina","Lavinia","Lavon","Lavonne","Lawrence","Lawson","Layla","Layne","Lazaro","Lea","Leann","Leanna","Leanne","Leatha","Leda","Lee","Leif","Leila","Leilani","Lela","Lelah","Leland","Lelia","Lempi","Lemuel","Lenna","Lennie","Lenny","Lenora","Lenore","Leo","Leola","Leon","Leonard","Leonardo","Leone","Leonel","Leonie","Leonor","Leonora","Leopold","Leopoldo","Leora","Lera","Lesley","Leslie","Lesly","Lessie","Lester","Leta","Letha","Letitia","Levi","Lew","Lewis","Lexi","Lexie","Lexus","Lia","Liam","Liana","Libbie","Libby","Lila","Lilian","Liliana","Liliane","Lilla","Lillian","Lilliana","Lillie","Lilly","Lily","Lilyan","Lina","Lincoln","Linda","Lindsay","Lindsey","Linnea","Linnie","Linwood","Lionel","Lisa","Lisandro","Lisette","Litzy","Liza","Lizeth","Lizzie","Llewellyn","Lloyd","Logan","Lois","Lola","Lolita","Loma","Lon","London","Lonie","Lonnie","Lonny","Lonzo","Lora","Loraine","Loren","Lorena","Lorenz","Lorenza","Lorenzo","Lori","Lorine","Lorna","Lottie","Lou","Louie","Louisa","Lourdes","Louvenia","Lowell","Loy","Loyal","Loyce","Lucas","Luciano","Lucie","Lucienne","Lucile","Lucinda","Lucio","Lucious","Lucius","Lucy","Ludie","Ludwig","Lue","Luella","Luigi","Luis","Luisa","Lukas","Lula","Lulu","Luna","Lupe","Lura","Lurline","Luther","Luz","Lyda","Lydia","Lyla","Lynn","Lyric","Lysanne","Mabel","Mabelle","Mable","Mac","Macey","Maci","Macie","Mack","Mackenzie","Macy","Madaline","Madalyn","Maddison","Madeline","Madelyn","Madelynn","Madge","Madie","Madilyn","Madisen","Madison","Madisyn","Madonna","Madyson","Mae","Maegan","Maeve","Mafalda","Magali","Magdalen","Magdalena","Maggie","Magnolia","Magnus","Maia","Maida","Maiya","Major","Makayla","Makenna","Makenzie","Malachi","Malcolm","Malika","Malinda","Mallie","Mallory","Malvina","Mandy","Manley","Manuel","Manuela","Mara","Marc","Marcel","Marcelina","Marcelino","Marcella","Marcelle","Marcellus","Marcelo","Marcia","Marco","Marcos","Marcus","Margaret","Margarete","Margarett","Margaretta","Margarette","Margarita","Marge","Margie","Margot","Margret","Marguerite","Maria","Mariah","Mariam","Marian","Mariana","Mariane","Marianna","Marianne","Mariano","Maribel","Marie","Mariela","Marielle","Marietta","Marilie","Marilou","Marilyne","Marina","Mario","Marion","Marisa","Marisol","Maritza","Marjolaine","Marjorie","Marjory","Mark","Markus","Marlee","Marlen","Marlene","Marley","Marlin","Marlon","Marques","Marquis","Marquise","Marshall","Marta","Martin","Martina","Martine","Marty","Marvin","Mary","Maryam","Maryjane","Maryse","Mason","Mateo","Mathew","Mathias","Mathilde","Matilda","Matilde","Matt","Matteo","Mattie","Maud","Maude","Maudie","Maureen","Maurice","Mauricio","Maurine","Maverick","Mavis","Max","Maxie","Maxime","Maximilian","Maximillia","Maximillian","Maximo","Maximus","Maxine","Maxwell","May","Maya","Maybell","Maybelle","Maye","Maymie","Maynard","Mayra","Mazie","Mckayla","Mckenna","Mckenzie","Meagan","Meaghan","Meda","Megane","Meggie","Meghan","Mekhi","Melany","Melba","Melisa","Melissa","Mellie","Melody","Melvin","Melvina","Melyna","Melyssa","Mercedes","Meredith","Merl","Merle","Merlin","Merritt","Mertie","Mervin","Meta","Mia","Micaela","Micah","Michael","Michaela","Michale","Micheal","Michel","Michele","Michelle","Miguel","Mikayla","Mike","Mikel","Milan","Miles","Milford","Miller","Millie","Milo","Milton","Mina","Minerva","Minnie","Miracle","Mireille","Mireya","Misael","Missouri","Misty","Mitchel","Mitchell","Mittie","Modesta","Modesto","Mohamed","Mohammad","Mohammed","Moises","Mollie","Molly","Mona","Monica","Monique","Monroe","Monserrat","Monserrate","Montana","Monte","Monty","Morgan","Moriah","Morris","Mortimer","Morton","Mose","Moses","Moshe","Mossie","Mozell","Mozelle","Muhammad","Muriel","Murl","Murphy","Murray","Mustafa","Mya","Myah","Mylene","Myles","Myra","Myriam","Myrl","Myrna","Myron","Myrtice","Myrtie","Myrtis","Myrtle","Nadia","Nakia","Name","Nannie","Naomi","Naomie","Napoleon","Narciso","Nash","Nasir","Nat","Natalia","Natalie","Natasha","Nathan","Nathanael","Nathanial","Nathaniel","Nathen","Nayeli","Neal","Ned","Nedra","Neha","Neil","Nelda","Nella","Nelle","Nellie","Nels","Nelson","Neoma","Nestor","Nettie","Neva","Newell","Newton","Nia","Nicholas","Nicholaus","Nichole","Nick","Nicklaus","Nickolas","Nico","Nicola","Nicolas","Nicole","Nicolette","Nigel","Nikita","Nikki","Nikko","Niko","Nikolas","Nils","Nina","Noah","Noble","Noe","Noel","Noelia","Noemi","Noemie","Noemy","Nola","Nolan","Nona","Nora","Norbert","Norberto","Norene","Norma","Norris","Norval","Norwood","Nova","Novella","Nya","Nyah","Nyasia","Obie","Oceane","Ocie","Octavia","Oda","Odell","Odessa","Odie","Ofelia","Okey","Ola","Olaf","Ole","Olen","Oleta","Olga","Olin","Oliver","Ollie","Oma","Omari","Omer","Ona","Onie","Opal","Ophelia","Ora","Oral","Oran","Oren","Orie","Orin","Orion","Orland","Orlando","Orlo","Orpha","Orrin","Orval","Orville","Osbaldo","Osborne","Oscar","Osvaldo","Oswald","Oswaldo","Otha","Otho","Otilia","Otis","Ottilie","Ottis","Otto","Ova","Owen","Ozella","Pablo","Paige","Palma","Pamela","Pansy","Paolo","Paris","Parker","Pascale","Pasquale","Pat","Patience","Patricia","Patrick","Patsy","Pattie","Paul","Paula","Pauline","Paxton","Payton","Pearl","Pearlie","Pearline","Pedro","Peggie","Penelope","Percival","Percy","Perry","Pete","Peter","Petra","Peyton","Philip","Phoebe","Phyllis","Pierce","Pierre","Pietro","Pink","Pinkie","Piper","Polly","Porter","Precious","Presley","Preston","Price","Prince","Princess","Priscilla","Providenci","Prudence","Queen","Queenie","Quentin","Quincy","Quinn","Quinten","Quinton","Rachael","Rachel","Rachelle","Rae","Raegan","Rafael","Rafaela","Raheem","Rahsaan","Rahul","Raina","Raleigh","Ralph","Ramiro","Ramon","Ramona","Randal","Randall","Randi","Randy","Ransom","Raoul","Raphael","Raphaelle","Raquel","Rashad","Rashawn","Rasheed","Raul","Raven","Ray","Raymond","Raymundo","Reagan","Reanna","Reba","Rebeca","Rebecca","Rebeka","Rebekah","Reece","Reed","Reese","Regan","Reggie","Reginald","Reid","Reilly","Reina","Reinhold","Remington","Rene","Renee","Ressie","Reta","Retha","Retta","Reuben","Reva","Rex","Rey","Reyes","Reymundo","Reyna","Reynold","Rhea","Rhett","Rhianna","Rhiannon","Rhoda","Ricardo","Richard","Richie","Richmond","Rick","Rickey","Rickie","Ricky","Rico","Rigoberto","Riley","Rita","River","Robb","Robbie","Robert","Roberta","Roberto","Robin","Robyn","Rocio","Rocky","Rod","Roderick","Rodger","Rodolfo","Rodrick","Rodrigo","Roel","Rogelio","Roger","Rogers","Rolando","Rollin","Roma","Romaine","Roman","Ron","Ronaldo","Ronny","Roosevelt","Rory","Rosa","Rosalee","Rosalia","Rosalind","Rosalinda","Rosalyn","Rosamond","Rosanna","Rosario","Roscoe","Rose","Rosella","Roselyn","Rosemarie","Rosemary","Rosendo","Rosetta","Rosie","Rosina","Roslyn","Ross","Rossie","Rowan","Rowena","Rowland","Roxane","Roxanne","Roy","Royal","Royce","Rozella","Ruben","Rubie","Ruby","Rubye","Rudolph","Rudy","Rupert","Russ","Russel","Russell","Rusty","Ruth","Ruthe","Ruthie","Ryan","Ryann","Ryder","Rylan","Rylee","Ryleigh","Ryley","Sabina","Sabrina","Sabryna","Sadie","Sadye","Sage","Saige","Sallie","Sally","Salma","Salvador","Salvatore","Sam","Samanta","Samantha","Samara","Samir","Sammie","Sammy","Samson","Sandra","Sandrine","Sandy","Sanford","Santa","Santiago","Santina","Santino","Santos","Sarah","Sarai","Sarina","Sasha","Saul","Savanah","Savanna","Savannah","Savion","Scarlett","Schuyler","Scot","Scottie","Scotty","Seamus","Sean","Sebastian","Sedrick","Selena","Selina","Selmer","Serena","Serenity","Seth","Shad","Shaina","Shakira","Shana","Shane","Shanel","Shanelle","Shania","Shanie","Shaniya","Shanna","Shannon","Shanny","Shanon","Shany","Sharon","Shaun","Shawn","Shawna","Shaylee","Shayna","Shayne","Shea","Sheila","Sheldon","Shemar","Sheridan","Sherman","Sherwood","Shirley","Shyann","Shyanne","Sibyl","Sid","Sidney","Sienna","Sierra","Sigmund","Sigrid","Sigurd","Silas","Sim","Simeon","Simone","Sincere","Sister","Skye","Skyla","Skylar","Sofia","Soledad","Solon","Sonia","Sonny","Sonya","Sophia","Sophie","Spencer","Stacey","Stacy","Stan","Stanford","Stanley","Stanton","Stefan","Stefanie","Stella","Stephan","Stephania","Stephanie","Stephany","Stephen","Stephon","Sterling","Steve","Stevie","Stewart","Stone","Stuart","Summer","Sunny","Susan","Susana","Susanna","Susie","Suzanne","Sven","Syble","Sydnee","Sydney","Sydni","Sydnie","Sylvan","Sylvester","Sylvia","Tabitha","Tad","Talia","Talon","Tamara","Tamia","Tania","Tanner","Tanya","Tara","Taryn","Tate","Tatum","Tatyana","Taurean","Tavares","Taya","Taylor","Teagan","Ted","Telly","Terence","Teresa","Terrance","Terrell","Terrence","Terrill","Terry","Tess","Tessie","Tevin","Thad","Thaddeus","Thalia","Thea","Thelma","Theo","Theodora","Theodore","Theresa","Therese","Theresia","Theron","Thomas","Thora","Thurman","Tia","Tiana","Tianna","Tiara","Tierra","Tiffany","Tillman","Timmothy","Timmy","Timothy","Tina","Tito","Titus","Tobin","Toby","Tod","Tom","Tomas","Tomasa","Tommie","Toney","Toni","Tony","Torey","Torrance","Torrey","Toy","Trace","Tracey","Tracy","Travis","Travon","Tre","Tremaine","Tremayne","Trent","Trenton","Tressa","Tressie","Treva","Trever","Trevion","Trevor","Trey","Trinity","Trisha","Tristian","Tristin","Triston","Troy","Trudie","Trycia","Trystan","Turner","Twila","Tyler","Tyra","Tyree","Tyreek","Tyrel","Tyrell","Tyrese","Tyrique","Tyshawn","Tyson","Ubaldo","Ulices","Ulises","Una","Unique","Urban","Uriah","Uriel","Ursula","Vada","Valentin","Valentina","Valentine","Valerie","Vallie","Van","Vance","Vanessa","Vaughn","Veda","Velda","Vella","Velma","Velva","Vena","Verda","Verdie","Vergie","Verla","Verlie","Vern","Verna","Verner","Vernice","Vernie","Vernon","Verona","Veronica","Vesta","Vicenta","Vicente","Vickie","Vicky","Victor","Victoria","Vida","Vidal","Vilma","Vince","Vincent","Vincenza","Vincenzo","Vinnie","Viola","Violet","Violette","Virgie","Virgil","Virginia","Virginie","Vita","Vito","Viva","Vivian","Viviane","Vivianne","Vivien","Vivienne","Vladimir","Wade","Waino","Waldo","Walker","Wallace","Walter","Walton","Wanda","Ward","Warren","Watson","Wava","Waylon","Wayne","Webster","Weldon","Wellington","Wendell","Wendy","Werner","Westley","Weston","Whitney","Wilber","Wilbert","Wilburn","Wiley","Wilford","Wilfred","Wilfredo","Wilfrid","Wilhelm","Wilhelmine","Will","Willa","Willard","William","Willie","Willis","Willow","Willy","Wilma","Wilmer","Wilson","Wilton","Winfield","Winifred","Winnifred","Winona","Winston","Woodrow","Wyatt","Wyman","Xander","Xavier","Xzavier","Yadira","Yasmeen","Yasmin","Yasmine","Yazmin","Yesenia","Yessenia","Yolanda","Yoshiko","Yvette","Yvonne","Zachariah","Zachary","Zachery","Zack","Zackary","Zackery","Zakary","Zander","Zane","Zaria","Zechariah","Zelda","Zella","Zelma","Zena","Zetta","Zion","Zita","Zoe","Zoey","Zoie","Zoila","Zola","Zora","Zula"],female:["Ada","Adrienne","Agnes","Alberta","Alexandra","Alexis","Alice","Alicia","Alison","Allison","Alma","Alyssa","Amanda","Amber","Amelia","Amy","Ana","Andrea","Angel","Angela","Angelica","Angelina","Angie","Anita","Ann","Anna","Anne","Annette","Annie","Antoinette","Antonia","April","Arlene","Ashley","Audrey","Barbara","Beatrice","Becky","Belinda","Bernadette","Bernice","Bertha","Bessie","Beth","Bethany","Betsy","Betty","Beulah","Beverly","Billie","Blanca","Blanche","Bobbie","Bonnie","Brandi","Brandy","Brenda","Bridget","Brittany","Brooke","Camille","Candace","Candice","Carla","Carmen","Carol","Carole","Caroline","Carolyn","Carrie","Casey","Cassandra","Catherine","Cathy","Cecelia","Cecilia","Celia","Charlene","Charlotte","Chelsea","Cheryl","Christie","Christina","Christine","Christy","Cindy","Claire","Clara","Claudia","Colleen","Connie","Constance","Cora","Courtney","Cristina","Crystal","Cynthia","Daisy","Dana","Danielle","Darla","Darlene","Dawn","Deanna","Debbie","Deborah","Debra","Delia","Della","Delores","Denise","Desiree","Diana","Diane","Dianna","Dianne","Dixie","Dolores","Donna","Dora","Doreen","Doris","Dorothy","Ebony","Edith","Edna","Eileen","Elaine","Eleanor","Elena","Elisa","Elizabeth","Ella","Ellen","Eloise","Elsa","Elsie","Elvira","Emily","Emma","Erica","Erika","Erin","Erma","Ernestine","Essie","Estelle","Esther","Ethel","Eula","Eunice","Eva","Evelyn","Faith","Fannie","Faye","Felicia","Flora","Florence","Frances","Francis","Freda","Gail","Gayle","Geneva","Genevieve","Georgia","Geraldine","Gertrude","Gina","Ginger","Gladys","Glenda","Gloria","Grace","Gretchen","Guadalupe","Gwen","Gwendolyn","Hannah","Harriet","Hattie","Hazel","Heather","Heidi","Helen","Henrietta","Hilda","Holly","Hope","Ida","Inez","Irene","Iris","Irma","Isabel","Jackie","Jacqueline","Jacquelyn","Jaime","Jamie","Jan","Jana","Jane","Janet","Janice","Janie","Janis","Jasmine","Jean","Jeanette","Jeanne","Jeannette","Jeannie","Jenna","Jennie","Jennifer","Jenny","Jessica","Jessie","Jill","Jo","Joan","Joann","Joanna","Joanne","Jodi","Jody","Johanna","Johnnie","Josefina","Josephine","Joy","Joyce","Juana","Juanita","Judith","Judy","Julia","Julie","June","Kara","Karen","Kari","Karla","Kate","Katherine","Kathleen","Kathryn","Kathy","Katie","Katrina","Kay","Kayla","Kelley","Kelli","Kellie","Kelly","Kendra","Kerry","Kim","Kimberly","Krista","Kristen","Kristi","Kristie","Kristin","Kristina","Kristine","Kristy","Krystal","Lana","Latoya","Laura","Lauren","Laurie","Laverne","Leah","Lee","Leigh","Lela","Lena","Leona","Leslie","Leticia","Lila","Lillian","Lillie","Linda","Lindsay","Lindsey","Lisa","Lois","Lola","Lora","Lorena","Lorene","Loretta","Lori","Lorraine","Louise","Lucia","Lucille","Lucy","Lula","Luz","Lydia","Lynda","Lynette","Lynn","Lynne","Mabel","Mable","Madeline","Mae","Maggie","Mamie","Mandy","Marcella","Marcia","Margaret","Margarita","Margie","Marguerite","Maria","Marian","Marianne","Marie","Marilyn","Marion","Marjorie","Marlene","Marsha","Marta","Martha","Mary","Maryann","Mattie","Maureen","Maxine","May","Megan","Meghan","Melanie","Melba","Melinda","Melissa","Melody","Mercedes","Meredith","Michele","Michelle","Mildred","Mindy","Minnie","Miranda","Miriam","Misty","Molly","Mona","Monica","Monique","Muriel","Myra","Myrtle","Nadine","Nancy","Naomi","Natalie","Natasha","Nellie","Nettie","Nichole","Nicole","Nina","Nora","Norma","Olga","Olive","Olivia","Ollie","Opal","Ora","Pam","Pamela","Pat","Patricia","Patsy","Patti","Patty","Paula","Paulette","Pauline","Pearl","Peggy","Penny","Phyllis","Priscilla","Rachael","Rachel","Ramona","Raquel","Rebecca","Regina","Renee","Rhonda","Rita","Roberta","Robin","Robyn","Rochelle","Rosa","Rosalie","Rose","Rosemarie","Rosemary","Rosie","Roxanne","Ruby","Ruth","Sabrina","Sadie","Sally","Samantha","Sandra","Sandy","Sara","Sarah","Shannon","Shari","Sharon","Shawna","Sheila","Shelia","Shelley","Shelly","Sheri","Sherri","Sherry","Sheryl","Shirley","Silvia","Sonia","Sonja","Sonya","Sophia","Sophie","Stacey","Stacy","Stella","Stephanie","Sue","Susan","Susie","Suzanne","Sylvia","Tabitha","Tamara","Tami","Tammy","Tanya","Tara","Tasha","Teresa","Teri","Terri","Terry","Thelma","Theresa","Tiffany","Tina","Toni","Tonya","Tracey","Traci","Tracy","Tricia","Valerie","Vanessa","Velma","Vera","Verna","Veronica","Vicki","Vickie","Vicky","Victoria","Viola","Violet","Virginia","Vivian","Wanda","Wendy","Whitney","Willie","Wilma","Winifred","Yolanda","Yvette","Yvonne"],male:["Aaron","Abel","Abraham","Adam","Adrian","Al","Alan","Albert","Alberto","Alejandro","Alex","Alexander","Alfonso","Alfred","Alfredo","Allan","Allen","Alonzo","Alton","Alvin","Amos","Andre","Andres","Andrew","Andy","Angel","Angelo","Anthony","Antonio","Archie","Armando","Arnold","Arthur","Arturo","Aubrey","Austin","Barry","Ben","Benjamin","Bennie","Benny","Bernard","Bert","Bill","Billy","Blake","Bob","Bobby","Boyd","Brad","Bradford","Bradley","Brandon","Brendan","Brent","Brett","Brian","Bruce","Bryan","Bryant","Byron","Caleb","Calvin","Cameron","Carl","Carlos","Carlton","Carroll","Cary","Casey","Cecil","Cedric","Cesar","Chad","Charles","Charlie","Chester","Chris","Christian","Christopher","Clarence","Clark","Claude","Clay","Clayton","Clifford","Clifton","Clint","Clinton","Clyde","Cody","Colin","Conrad","Corey","Cornelius","Cory","Courtney","Craig","Curtis","Dale","Dallas","Damon","Dan","Dana","Daniel","Danny","Darin","Darnell","Darrel","Darrell","Darren","Darrin","Darryl","Daryl","Dave","David","Dean","Delbert","Dennis","Derek","Derrick","Devin","Dewey","Dexter","Domingo","Dominic","Dominick","Don","Donald","Donnie","Doug","Douglas","Doyle","Drew","Duane","Dustin","Dwayne","Dwight","Earl","Earnest","Ed","Eddie","Edgar","Edmond","Edmund","Eduardo","Edward","Edwin","Elbert","Elias","Elijah","Ellis","Elmer","Emanuel","Emilio","Emmett","Enrique","Eric","Erick","Erik","Ernest","Ernesto","Ervin","Eugene","Evan","Everett","Felipe","Felix","Fernando","Floyd","Forrest","Francis","Francisco","Frank","Frankie","Franklin","Fred","Freddie","Frederick","Fredrick","Gabriel","Garrett","Garry","Gary","Gene","Geoffrey","George","Gerald","Gerard","Gerardo","Gilbert","Gilberto","Glen","Glenn","Gordon","Grady","Grant","Greg","Gregg","Gregory","Guadalupe","Guillermo","Gustavo","Guy","Harold","Harry","Harvey","Hector","Henry","Herbert","Herman","Homer","Horace","Howard","Hubert","Hugh","Hugo","Ian","Ignacio","Ira","Irvin","Irving","Isaac","Ismael","Israel","Ivan","Jack","Jackie","Jacob","Jaime","Jake","James","Jamie","Jan","Jared","Jason","Javier","Jay","Jean","Jeff","Jeffery","Jeffrey","Jerald","Jeremiah","Jeremy","Jermaine","Jerome","Jerry","Jesse","Jessie","Jesus","Jim","Jimmie","Jimmy","Jody","Joe","Joel","Joey","John","Johnathan","Johnnie","Johnny","Jon","Jonathan","Jonathon","Jordan","Jorge","Jose","Joseph","Josh","Joshua","Juan","Julian","Julio","Julius","Justin","Karl","Keith","Kelly","Kelvin","Ken","Kenneth","Kenny","Kent","Kerry","Kevin","Kim","Kirk","Kristopher","Kurt","Kyle","Lamar","Lance","Larry","Laurence","Lawrence","Lee","Leland","Leo","Leon","Leonard","Leroy","Leslie","Lester","Levi","Lewis","Lionel","Lloyd","Lonnie","Loren","Lorenzo","Louis","Lowell","Lucas","Luis","Luke","Luther","Lyle","Lynn","Mack","Malcolm","Manuel","Marc","Marco","Marcos","Marcus","Mario","Marion","Mark","Marlon","Marshall","Martin","Marty","Marvin","Mathew","Matt","Matthew","Maurice","Max","Melvin","Merle","Michael","Micheal","Miguel","Mike","Milton","Mitchell","Morris","Moses","Myron","Nathan","Nathaniel","Neal","Neil","Nelson","Nicholas","Nick","Nicolas","Noah","Noel","Norman","Oliver","Omar","Orlando","Orville","Oscar","Otis","Owen","Pablo","Pat","Patrick","Paul","Pedro","Percy","Perry","Pete","Peter","Phil","Philip","Phillip","Preston","Rafael","Ralph","Ramiro","Ramon","Randal","Randall","Randolph","Randy","Raul","Ray","Raymond","Reginald","Rene","Rex","Ricardo","Richard","Rick","Rickey","Ricky","Robert","Roberto","Robin","Roderick","Rodney","Rodolfo","Rogelio","Roger","Roland","Rolando","Roman","Ron","Ronald","Ronnie","Roosevelt","Ross","Roy","Ruben","Rudolph","Rudy","Rufus","Russell","Ryan","Salvador","Salvatore","Sam","Sammy","Samuel","Santiago","Santos","Saul","Scott","Sean","Sergio","Seth","Shane","Shannon","Shaun","Shawn","Sheldon","Sherman","Sidney","Simon","Spencer","Stanley","Stephen","Steve","Steven","Stewart","Stuart","Sylvester","Taylor","Ted","Terence","Terrance","Terrell","Terrence","Terry","Theodore","Thomas","Tim","Timmy","Timothy","Toby","Todd","Tom","Tomas","Tommie","Tommy","Tony","Tracy","Travis","Trevor","Troy","Tyler","Tyrone","Van","Vernon","Victor","Vincent","Virgil","Wade","Wallace","Walter","Warren","Wayne","Wendell","Wesley","Wilbert","Wilbur","Wilfred","Willard","William","Willie","Willis","Wilson","Winston","Wm","Woodrow","Zachary"]},H3e=["Agender","Androgyne","Androgynous","Bigender","Cis female","Cis male","Cis man","Cis woman","Cis","Cisgender female","Cisgender male","Cisgender man","Cisgender woman","Cisgender","Demi-boy","Demi-girl","Demi-man","Demi-woman","Demiflux","Demigender","F2M","FTM","Female to male trans man","Female to male transgender man","Female to male transsexual man","Female to male","Gender fluid","Gender neutral","Gender nonconforming","Gender questioning","Gender variant","Genderflux","Genderqueer","Hermaphrodite","Intersex man","Intersex person","Intersex woman","Intersex","M2F","MTF","Male to female trans woman","Male to female transgender woman","Male to female transsexual woman","Male to female","Man","Multigender","Neither","Neutrois","Non-binary","Omnigender","Other","Pangender","Polygender","T* man","T* woman","Trans female","Trans male","Trans man","Trans person","Trans woman","Trans","Transsexual female","Transsexual male","Transsexual man","Transsexual person","Transsexual woman","Transsexual","Transgender female","Transgender person","Transmasculine","Trigender","Two* person","Two-spirit person","Two-spirit","Woman","Xenogender"],z3e=["Solutions","Program","Brand","Security","Research","Marketing","Directives","Implementation","Integration","Functionality","Response","Paradigm","Tactics","Identity","Markets","Group","Division","Applications","Optimization","Operations","Infrastructure","Intranet","Communications","Web","Branding","Quality","Assurance","Mobility","Accounts","Data","Creative","Configuration","Accountability","Interactions","Factors","Usability","Metrics"],W3e=["Lead","Senior","Direct","Corporate","Dynamic","Future","Product","National","Regional","District","Central","Global","Customer","Investor","International","Legacy","Forward","Internal","Human","Chief","Principal"],G3e=["{{person.jobDescriptor}} {{person.jobArea}} {{person.jobType}}"],j3e=["Supervisor","Associate","Executive","Liaison","Officer","Manager","Engineer","Specialist","Director","Coordinator","Administrator","Architect","Analyst","Designer","Planner","Orchestrator","Technician","Developer","Producer","Consultant","Assistant","Facilitator","Agent","Representative","Strategist"],K3e={generic:["Abbott","Abernathy","Abshire","Adams","Altenwerth","Anderson","Ankunding","Armstrong","Auer","Aufderhar","Bahringer","Bailey","Balistreri","Barrows","Bartell","Bartoletti","Barton","Bashirian","Batz","Bauch","Baumbach","Bayer","Beahan","Beatty","Bechtelar","Becker","Bednar","Beer","Beier","Berge","Bergnaum","Bergstrom","Bernhard","Bernier","Bins","Blanda","Blick","Block","Bode","Boehm","Bogan","Bogisich","Borer","Bosco","Botsford","Boyer","Boyle","Bradtke","Brakus","Braun","Breitenberg","Brekke","Brown","Bruen","Buckridge","Carroll","Carter","Cartwright","Casper","Cassin","Champlin","Christiansen","Cole","Collier","Collins","Conn","Connelly","Conroy","Considine","Corkery","Cormier","Corwin","Cremin","Crist","Crona","Cronin","Crooks","Cruickshank","Cummerata","Cummings","D'Amore","Dach","Daniel","Dare","Daugherty","Davis","Deckow","Denesik","Dibbert","Dickens","Dicki","Dickinson","Dietrich","Donnelly","Dooley","Douglas","Doyle","DuBuque","Durgan","Ebert","Effertz","Emard","Emmerich","Erdman","Ernser","Fadel","Fahey","Farrell","Fay","Feeney","Feest","Feil","Ferry","Fisher","Flatley","Frami","Franecki","Franey","Friesen","Fritsch","Funk","Gerhold","Gerlach","Gibson","Gislason","Gleason","Gleichner","Glover","Goldner","Goodwin","Gorczany","Gottlieb","Goyette","Grady","Graham","Grant","Green","Greenfelder","Greenholt","Grimes","Gulgowski","Gusikowski","Gutkowski","Gutmann","Haag","Hackett","Hagenes","Hahn","Haley","Halvorson","Hamill","Hammes","Hand","Hane","Hansen","Harber","Harris","Hartmann","Harvey","Hauck","Hayes","Heaney","Heathcote","Hegmann","Heidenreich","Heller","Herman","Hermann","Hermiston","Herzog","Hessel","Hettinger","Hickle","Hilll","Hills","Hilpert","Hintz","Hirthe","Hodkiewicz","Hoeger","Homenick","Hoppe","Howe","Howell","Hudson","Huel","Huels","Hyatt","Jacobi","Jacobs","Jacobson","Jakubowski","Jaskolski","Jast","Jenkins","Jerde","Johns","Johnson","Johnston","Jones","Kassulke","Kautzer","Keebler","Keeling","Kemmer","Kerluke","Kertzmann","Kessler","Kiehn","Kihn","Kilback","King","Kirlin","Klein","Kling","Klocko","Koch","Koelpin","Koepp","Kohler","Konopelski","Koss","Kovacek","Kozey","Krajcik","Kreiger","Kris","Kshlerin","Kub","Kuhic","Kuhlman","Kuhn","Kulas","Kunde","Kunze","Kuphal","Kutch","Kuvalis","Labadie","Lakin","Lang","Langosh","Langworth","Larkin","Larson","Leannon","Lebsack","Ledner","Leffler","Legros","Lehner","Lemke","Lesch","Leuschke","Lind","Lindgren","Littel","Little","Lockman","Lowe","Lubowitz","Lueilwitz","Luettgen","Lynch","MacGyver","Macejkovic","Maggio","Mann","Mante","Marks","Marquardt","Marvin","Mayer","Mayert","McClure","McCullough","McDermott","McGlynn","McKenzie","McLaughlin","Medhurst","Mertz","Metz","Miller","Mills","Mitchell","Moen","Mohr","Monahan","Moore","Morar","Morissette","Mosciski","Mraz","Mueller","Muller","Murazik","Murphy","Murray","Nader","Nicolas","Nienow","Nikolaus","Nitzsche","Nolan","O'Connell","O'Conner","O'Hara","O'Keefe","O'Kon","O'Reilly","Oberbrunner","Okuneva","Olson","Ondricka","Orn","Ortiz","Osinski","Pacocha","Padberg","Pagac","Parisian","Parker","Paucek","Pfannerstill","Pfeffer","Pollich","Pouros","Powlowski","Predovic","Price","Prohaska","Prosacco","Purdy","Quigley","Quitzon","Rath","Ratke","Rau","Raynor","Reichel","Reichert","Reilly","Reinger","Rempel","Renner","Reynolds","Rice","Rippin","Ritchie","Robel","Roberts","Rodriguez","Rogahn","Rohan","Rolfson","Romaguera","Roob","Rosenbaum","Rowe","Ruecker","Runolfsdottir","Runolfsson","Runte","Russel","Rutherford","Ryan","Sanford","Satterfield","Sauer","Sawayn","Schaden","Schaefer","Schamberger","Schiller","Schimmel","Schinner","Schmeler","Schmidt","Schmitt","Schneider","Schoen","Schowalter","Schroeder","Schulist","Schultz","Schumm","Schuppe","Schuster","Senger","Shanahan","Shields","Simonis","Sipes","Skiles","Smith","Smitham","Spencer","Spinka","Sporer","Stamm","Stanton","Stark","Stehr","Steuber","Stiedemann","Stokes","Stoltenberg","Stracke","Streich","Stroman","Strosin","Swaniawski","Swift","Terry","Thiel","Thompson","Tillman","Torp","Torphy","Towne","Toy","Trantow","Tremblay","Treutel","Tromp","Turcotte","Turner","Ullrich","Upton","Vandervort","Veum","Volkman","Von","VonRueden","Waelchi","Walker","Walsh","Walter","Ward","Waters","Watsica","Weber","Wehner","Weimann","Weissnat","Welch","West","White","Wiegand","Wilderman","Wilkinson","Will","Williamson","Willms","Windler","Wintheiser","Wisoky","Wisozk","Witting","Wiza","Wolf","Wolff","Wuckert","Wunsch","Wyman","Yost","Yundt","Zboncak","Zemlak","Ziemann","Zieme","Zulauf"]},U3e={generic:[{value:"{{person.last_name.generic}}",weight:95},{value:"{{person.last_name.generic}}-{{person.last_name.generic}}",weight:5}]},q3e={generic:["Addison","Alex","Anderson","Angel","Arden","August","Austin","Avery","Bailey","Billie","Blake","Bowie","Brooklyn","Cameron","Charlie","Corey","Dakota","Drew","Elliott","Ellis","Emerson","Finley","Gray","Greer","Harper","Hayden","Jaden","James","Jamie","Jordan","Jules","Kai","Kendall","Kennedy","Kyle","Leslie","Logan","London","Marlowe","Micah","Nico","Noah","North","Parker","Phoenix","Quinn","Reagan","Reese","Reign","Riley","River","Robin","Rory","Rowan","Ryan","Sage","Sasha","Sawyer","Shawn","Shiloh","Skyler","Taylor"],female:["Abigail","Adele","Alex","Alice","Alisha","Amber","Amelia","Amora","Anaïs","Angelou","Anika","Anise","Annabel","Anne","Aphrodite","Aretha","Arya","Ashton","Aster","Audrey","Avery","Bailee","Bay","Belle","Beth","Billie","Blair","Blaise","Blake","Blanche","Blue","Bree","Brielle","Brienne","Brooke","Caleen","Candice","Caprice","Carelyn","Caylen","Celine","Cerise","Cia","Claire","Claudia","Clementine","Coral","Coraline","Dahlia","Dakota","Dawn","Della","Demi","Denise","Denver","Devine","Devon","Diana","Dylan","Ebony","Eden","Eleanor","Elein","Elizabeth","Ellen","Elodie","Eloise","Ember","Emma","Erin","Eyre","Faith","Farrah","Fawn","Fayre","Fern","France","Francis","Frida","Genisis","Georgia","Grace","Gwen","Harley","Harper","Hazel","Helen","Hippolyta","Holly","Hope","Imani","Iowa","Ireland","Irene","Iris","Isa","Isla","Ivy","Jade","Jane","Jazz","Jean","Jess","Jett","Jo","Joan","Jolie","Jordan","Josie","Journey","Joy","Jules","Julien","Juliet","Juniper","Justice","Kali","Karma","Kat","Kate","Kennedy","Keva","Kylie","Lake","Lane","Lark","Layla","Lee","Leigh","Leona","Lexi","London","Lou","Louise","Love","Luna","Lux","Lynn","Lyric","Maddie","Mae","Marie","Matilda","Maude","Maybel","Meadow","Medusa","Mercy","Michelle","Mirabel","Monroe","Morgan","Nalia","Naomi","Nova","Olive","Paige","Parker","Pax","Pearl","Penelope","Phoenix","Quinn","Rae","Rain","Raven","Ray","Raye","Rebel","Reese","Reeve","Regan","Riley","River","Robin","Rory","Rose","Royal","Ruth","Rylie","Sage","Sam","Saturn","Scout","Serena","Sky","Skylar","Sofia","Sophia","Storm","Sue","Suzanne","Sydney","Taylen","Taylor","Teagan","Tempest","Tenley","Thea","Trinity","Valerie","Venus","Vera","Violet","Willow","Winter","Xena","Zaylee","Zion","Zoe"],male:["Ace","Aiden","Alexander","Ander","Anthony","Asher","August","Aziel","Bear","Beckham","Benjamin","Buddy","Calvin","Carter","Charles","Christopher","Clyde","Cooper","Daniel","David","Dior","Dylan","Elijah","Ellis","Emerson","Ethan","Ezra","Fletcher","Flynn","Gabriel","Grayson","Gus","Hank","Harrison","Hendrix","Henry","Houston","Hudson","Hugh","Isaac","Jack","Jackson","Jacob","Jakobe","James","Jaxon","Jaxtyn","Jayden","John","Joseph","Josiah","Jude","Julian","Karsyn","Kenji","Kobe","Kylo","Lennon","Leo","Levi","Liam","Lincoln","Logan","Louis","Lucas","Lucky","Luke","Mason","Mateo","Matthew","Maverick","Michael","Monroe","Nixon","Ocean","Oliver","Otis","Otto","Owen","Ozzy","Parker","Rocky","Samuel","Sebastian","Sonny","Teddy","Theo","Theodore","Thomas","Truett","Walter","Warren","Watson","William","Wison","Wyatt","Ziggy","Zyair"]},Y3e=[{value:"{{person.firstName}} {{person.lastName}}",weight:49},{value:"{{person.prefix}} {{person.firstName}} {{person.lastName}}",weight:7},{value:"{{person.firstName}} {{person.lastName}} {{person.suffix}}",weight:7},{value:"{{person.prefix}} {{person.firstName}} {{person.lastName}} {{person.suffix}}",weight:1}],J3e={generic:["Dr.","Miss","Mr.","Mrs.","Ms."],female:["Dr.","Miss","Mrs.","Ms."],male:["Dr.","Mr."]},X3e=["female","male"],Z3e=["Jr.","Sr.","I","II","III","IV","V","MD","DDS","PhD","DVM"],Q3e=["Aquarius","Pisces","Aries","Taurus","Gemini","Cancer","Leo","Virgo","Libra","Scorpio","Sagittarius","Capricorn"],e7e={bio_part:I3e,bio_pattern:N3e,bio_supporter:$3e,first_name:V3e,gender:H3e,job_area:z3e,job_descriptor:W3e,job_title_pattern:G3e,job_type:j3e,last_name:K3e,last_name_pattern:U3e,middle_name:q3e,name:Y3e,prefix:J3e,sex:X3e,suffix:Z3e,western_zodiac_sign:Q3e},t7e=e7e,n7e=["!##-!##-####","(!##) !##-####","1-!##-!##-####","!##.!##.####","!##-!##-#### x###","(!##) !##-#### x###","1-!##-!##-#### x###","!##.!##.#### x###","!##-!##-#### x####","(!##) !##-#### x####","1-!##-!##-#### x####","!##.!##.#### x####","!##-!##-#### x#####","(!##) !##-#### x#####","1-!##-!##-#### x#####","!##.!##.#### x#####"],r7e=["+1!##!######"],a7e=["(!##) !##-####"],i7e={human:n7e,international:r7e,national:a7e},o7e=i7e,l7e={format:o7e},s7e=l7e,u7e=[{symbol:"H",name:"Hydrogen",atomicNumber:1},{symbol:"He",name:"Helium",atomicNumber:2},{symbol:"Li",name:"Lithium",atomicNumber:3},{symbol:"Be",name:"Beryllium",atomicNumber:4},{symbol:"B",name:"Boron",atomicNumber:5},{symbol:"C",name:"Carbon",atomicNumber:6},{symbol:"N",name:"Nitrogen",atomicNumber:7},{symbol:"O",name:"Oxygen",atomicNumber:8},{symbol:"F",name:"Fluorine",atomicNumber:9},{symbol:"Ne",name:"Neon",atomicNumber:10},{symbol:"Na",name:"Sodium",atomicNumber:11},{symbol:"Mg",name:"Magnesium",atomicNumber:12},{symbol:"Al",name:"Aluminium",atomicNumber:13},{symbol:"Si",name:"Silicon",atomicNumber:14},{symbol:"P",name:"Phosphorus",atomicNumber:15},{symbol:"S",name:"Sulfur",atomicNumber:16},{symbol:"Cl",name:"Chlorine",atomicNumber:17},{symbol:"Ar",name:"Argon",atomicNumber:18},{symbol:"K",name:"Potassium",atomicNumber:19},{symbol:"Ca",name:"Calcium",atomicNumber:20},{symbol:"Sc",name:"Scandium",atomicNumber:21},{symbol:"Ti",name:"Titanium",atomicNumber:22},{symbol:"V",name:"Vanadium",atomicNumber:23},{symbol:"Cr",name:"Chromium",atomicNumber:24},{symbol:"Mn",name:"Manganese",atomicNumber:25},{symbol:"Fe",name:"Iron",atomicNumber:26},{symbol:"Co",name:"Cobalt",atomicNumber:27},{symbol:"Ni",name:"Nickel",atomicNumber:28},{symbol:"Cu",name:"Copper",atomicNumber:29},{symbol:"Zn",name:"Zinc",atomicNumber:30},{symbol:"Ga",name:"Gallium",atomicNumber:31},{symbol:"Ge",name:"Germanium",atomicNumber:32},{symbol:"As",name:"Arsenic",atomicNumber:33},{symbol:"Se",name:"Selenium",atomicNumber:34},{symbol:"Br",name:"Bromine",atomicNumber:35},{symbol:"Kr",name:"Krypton",atomicNumber:36},{symbol:"Rb",name:"Rubidium",atomicNumber:37},{symbol:"Sr",name:"Strontium",atomicNumber:38},{symbol:"Y",name:"Yttrium",atomicNumber:39},{symbol:"Zr",name:"Zirconium",atomicNumber:40},{symbol:"Nb",name:"Niobium",atomicNumber:41},{symbol:"Mo",name:"Molybdenum",atomicNumber:42},{symbol:"Tc",name:"Technetium",atomicNumber:43},{symbol:"Ru",name:"Ruthenium",atomicNumber:44},{symbol:"Rh",name:"Rhodium",atomicNumber:45},{symbol:"Pd",name:"Palladium",atomicNumber:46},{symbol:"Ag",name:"Silver",atomicNumber:47},{symbol:"Cd",name:"Cadmium",atomicNumber:48},{symbol:"In",name:"Indium",atomicNumber:49},{symbol:"Sn",name:"Tin",atomicNumber:50},{symbol:"Sb",name:"Antimony",atomicNumber:51},{symbol:"Te",name:"Tellurium",atomicNumber:52},{symbol:"I",name:"Iodine",atomicNumber:53},{symbol:"Xe",name:"Xenon",atomicNumber:54},{symbol:"Cs",name:"Caesium",atomicNumber:55},{symbol:"Ba",name:"Barium",atomicNumber:56},{symbol:"La",name:"Lanthanum",atomicNumber:57},{symbol:"Ce",name:"Cerium",atomicNumber:58},{symbol:"Pr",name:"Praseodymium",atomicNumber:59},{symbol:"Nd",name:"Neodymium",atomicNumber:60},{symbol:"Pm",name:"Promethium",atomicNumber:61},{symbol:"Sm",name:"Samarium",atomicNumber:62},{symbol:"Eu",name:"Europium",atomicNumber:63},{symbol:"Gd",name:"Gadolinium",atomicNumber:64},{symbol:"Tb",name:"Terbium",atomicNumber:65},{symbol:"Dy",name:"Dysprosium",atomicNumber:66},{symbol:"Ho",name:"Holmium",atomicNumber:67},{symbol:"Er",name:"Erbium",atomicNumber:68},{symbol:"Tm",name:"Thulium",atomicNumber:69},{symbol:"Yb",name:"Ytterbium",atomicNumber:70},{symbol:"Lu",name:"Lutetium",atomicNumber:71},{symbol:"Hf",name:"Hafnium",atomicNumber:72},{symbol:"Ta",name:"Tantalum",atomicNumber:73},{symbol:"W",name:"Tungsten",atomicNumber:74},{symbol:"Re",name:"Rhenium",atomicNumber:75},{symbol:"Os",name:"Osmium",atomicNumber:76},{symbol:"Ir",name:"Iridium",atomicNumber:77},{symbol:"Pt",name:"Platinum",atomicNumber:78},{symbol:"Au",name:"Gold",atomicNumber:79},{symbol:"Hg",name:"Mercury",atomicNumber:80},{symbol:"Tl",name:"Thallium",atomicNumber:81},{symbol:"Pb",name:"Lead",atomicNumber:82},{symbol:"Bi",name:"Bismuth",atomicNumber:83},{symbol:"Po",name:"Polonium",atomicNumber:84},{symbol:"At",name:"Astatine",atomicNumber:85},{symbol:"Rn",name:"Radon",atomicNumber:86},{symbol:"Fr",name:"Francium",atomicNumber:87},{symbol:"Ra",name:"Radium",atomicNumber:88},{symbol:"Ac",name:"Actinium",atomicNumber:89},{symbol:"Th",name:"Thorium",atomicNumber:90},{symbol:"Pa",name:"Protactinium",atomicNumber:91},{symbol:"U",name:"Uranium",atomicNumber:92},{symbol:"Np",name:"Neptunium",atomicNumber:93},{symbol:"Pu",name:"Plutonium",atomicNumber:94},{symbol:"Am",name:"Americium",atomicNumber:95},{symbol:"Cm",name:"Curium",atomicNumber:96},{symbol:"Bk",name:"Berkelium",atomicNumber:97},{symbol:"Cf",name:"Californium",atomicNumber:98},{symbol:"Es",name:"Einsteinium",atomicNumber:99},{symbol:"Fm",name:"Fermium",atomicNumber:100},{symbol:"Md",name:"Mendelevium",atomicNumber:101},{symbol:"No",name:"Nobelium",atomicNumber:102},{symbol:"Lr",name:"Lawrencium",atomicNumber:103},{symbol:"Rf",name:"Rutherfordium",atomicNumber:104},{symbol:"Db",name:"Dubnium",atomicNumber:105},{symbol:"Sg",name:"Seaborgium",atomicNumber:106},{symbol:"Bh",name:"Bohrium",atomicNumber:107},{symbol:"Hs",name:"Hassium",atomicNumber:108},{symbol:"Mt",name:"Meitnerium",atomicNumber:109},{symbol:"Ds",name:"Darmstadtium",atomicNumber:110},{symbol:"Rg",name:"Roentgenium",atomicNumber:111},{symbol:"Cn",name:"Copernicium",atomicNumber:112},{symbol:"Nh",name:"Nihonium",atomicNumber:113},{symbol:"Fl",name:"Flerovium",atomicNumber:114},{symbol:"Mc",name:"Moscovium",atomicNumber:115},{symbol:"Lv",name:"Livermorium",atomicNumber:116},{symbol:"Ts",name:"Tennessine",atomicNumber:117},{symbol:"Og",name:"Oganesson",atomicNumber:118}],c7e=[{name:"meter",symbol:"m"},{name:"second",symbol:"s"},{name:"mole",symbol:"mol"},{name:"ampere",symbol:"A"},{name:"kelvin",symbol:"K"},{name:"candela",symbol:"cd"},{name:"kilogram",symbol:"kg"},{name:"radian",symbol:"rad"},{name:"hertz",symbol:"Hz"},{name:"newton",symbol:"N"},{name:"pascal",symbol:"Pa"},{name:"joule",symbol:"J"},{name:"watt",symbol:"W"},{name:"coulomb",symbol:"C"},{name:"volt",symbol:"V"},{name:"ohm",symbol:"Ω"},{name:"tesla",symbol:"T"},{name:"degree Celsius",symbol:"°C"},{name:"lumen",symbol:"lm"},{name:"becquerel",symbol:"Bq"},{name:"gray",symbol:"Gy"},{name:"sievert",symbol:"Sv"},{name:"steradian",symbol:"sr"},{name:"farad",symbol:"F"},{name:"siemens",symbol:"S"},{name:"weber",symbol:"Wb"},{name:"henry",symbol:"H"},{name:"lux",symbol:"lx"},{name:"katal",symbol:"kat"}],d7e={chemical_element:u7e,unit:c7e},f7e=d7e,p7e=["ants","bats","bears","bees","birds","buffalo","cats","chickens","cattle","dogs","dolphins","ducks","elephants","fishes","foxes","frogs","geese","goats","horses","kangaroos","lions","monkeys","owls","oxen","penguins","people","pigs","rabbits","sheep","tigers","whales","wolves","zebras","banshees","crows","black cats","chimeras","ghosts","conspirators","dragons","dwarves","elves","enchanters","exorcists","sons","foes","giants","gnomes","goblins","gooses","griffins","lycanthropes","nemesis","ogres","oracles","prophets","sorcerors","spiders","spirits","vampires","warlocks","vixens","werewolves","witches","worshipers","zombies","druids"],h7e=["{{location.state}} {{team.creature}}"],m7e={creature:p7e,name:h7e},v7e=m7e,g7e=["Adventure Road Bicycle","BMX Bicycle","City Bicycle","Cruiser Bicycle","Cyclocross Bicycle","Dual-Sport Bicycle","Fitness Bicycle","Flat-Foot Comfort Bicycle","Folding Bicycle","Hybrid Bicycle","Mountain Bicycle","Recumbent Bicycle","Road Bicycle","Tandem Bicycle","Touring Bicycle","Track/Fixed-Gear Bicycle","Triathlon/Time Trial Bicycle","Tricycle"],y7e=["Diesel","Electric","Gasoline","Hybrid"],b7e=["Aston Martin","Audi","BMW","BYD","Bentley","Bugatti","Cadillac","Chevrolet","Chrysler","Citroën","Dodge","Ferrari","Fiat","Ford","Honda","Hyundai","Jaguar","Jeep","Kia","Lamborghini","Land Rover","MG","Mahindra & Mahindra","Maruti","Maserati","Mazda","Mercedes Benz","Mini","Mitsubishi","NIO","Nissan","Peugeot","Polestar","Porsche","Renault","Rivian","Rolls Royce","Skoda","Smart","Subaru","Suzuki","Tata","Tesla","Toyota","Vauxhall","Volkswagen","Volvo"],C7e=["1","2","911","A4","A8","ATS","Accord","Alpine","Altima","Aventador","Beetle","CTS","CX-9","Camaro","Camry","Challenger","Charger","Civic","Colorado","Corvette","Countach","Cruze","Durango","El Camino","Element","Escalade","Expedition","Explorer","F-150","Fiesta","Focus","Fortwo","Golf","Grand Caravan","Grand Cherokee","Impala","Jetta","Land Cruiser","LeBaron","Malibu","Model 3","Model S","Model T","Model X","Model Y","Murcielago","Mustang","PT Cruiser","Prius","Ranchero","Roadster","Sentra","Silverado","Spyder","Taurus","V90","Volt","Wrangler","XC90","XTS"],F7e=["Cargo Van","Convertible","Coupe","Crew Cab Pickup","Extended Cab Pickup","Hatchback","Minivan","Passenger Van","SUV","Sedan","Wagon"],E7e={bicycle_type:g7e,fuel:y7e,manufacturer:b7e,model:C7e,type:F7e},w7e=E7e,S7e=["abandoned","able","acceptable","acclaimed","accomplished","accurate","aching","acidic","actual","admired","adolescent","advanced","affectionate","afraid","aged","aggravating","aggressive","agile","agitated","agreeable","ajar","alarmed","alert","alienated","alive","all","altruistic","amazing","ambitious","ample","amused","angelic","anguished","animated","annual","another","antique","any","apprehensive","appropriate","apt","arid","artistic","ashamed","assured","astonishing","athletic","austere","authentic","authorized","avaricious","average","aware","awesome","awful","babyish","back","bad","baggy","bare","basic","beloved","beneficial","best","better","big","biodegradable","bitter","black","black-and-white","blank","blaring","bleak","blind","blond","blue","blushing","bogus","boiling","bony","boring","bossy","both","bouncy","bowed","brave","breakable","bright","brilliant","brisk","broken","brown","bruised","bulky","burdensome","burly","bustling","busy","buttery","buzzing","calculating","candid","carefree","careless","caring","cautious","cavernous","celebrated","charming","cheap","cheerful","chilly","chubby","circular","classic","clean","clear","clear-cut","close","closed","cloudy","clueless","clumsy","cluttered","coarse","colorful","colorless","colossal","comfortable","common","compassionate","competent","complete","complicated","concerned","concrete","confused","considerate","content","cool","cooperative","coordinated","corny","corrupt","courageous","courteous","crafty","crazy","creamy","creative","criminal","critical","crooked","crowded","cruel","crushing","cuddly","cultivated","cumbersome","curly","cute","damaged","damp","dapper","dark","darling","dazzling","dead","deadly","deafening","dearest","decent","decisive","deep","defenseless","defensive","deficient","definite","definitive","delectable","delicious","delirious","dense","dental","dependable","dependent","descriptive","deserted","determined","devoted","different","difficult","digital","diligent","dim","direct","dirty","discrete","disloyal","dismal","distant","distinct","distorted","doting","downright","drab","dramatic","dreary","dual","dull","dutiful","each","early","earnest","easy","ecstatic","edible","educated","elastic","elderly","electric","elegant","elementary","elliptical","eminent","emotional","empty","enchanted","enchanting","energetic","enlightened","enraged","entire","equatorial","essential","esteemed","ethical","everlasting","every","evil","exalted","excellent","excitable","excited","exhausted","exotic","expensive","experienced","expert","extra-large","extroverted","failing","faint","fair","fake","familiar","fantastic","far","far-flung","far-off","faraway","fat","fatal","fatherly","favorable","favorite","fearless","feline","filthy","fine","finished","firm","first","firsthand","fixed","flashy","flawed","flawless","flickering","flimsy","flowery","fluffy","flustered","focused","fond","foolhardy","foolish","forceful","formal","forsaken","fortunate","fragrant","frail","frank","free","french","frequent","friendly","frightened","frilly","frivolous","frizzy","front","frozen","frugal","fruitful","functional","funny","fussy","fuzzy","gaseous","general","gentle","genuine","gifted","gigantic","giving","glaring","glass","gleaming","glittering","gloomy","glorious","glossy","glum","golden","good","good-natured","gorgeous","graceful","gracious","grandiose","granular","grave","gray","great","greedy","grim","grimy","gripping","grizzled","grouchy","grounded","growing","grown","grubby","gruesome","grumpy","guilty","gullible","gummy","hairy","handsome","handy","happy","happy-go-lucky","hard-to-find","harmful","hasty","hateful","haunting","heartfelt","heavenly","heavy","hefty","helpful","helpless","hidden","hoarse","hollow","homely","honorable","honored","hopeful","hospitable","hot","huge","humble","humiliating","hungry","hurtful","husky","icy","ideal","idealistic","idolized","ignorant","ill","ill-fated","illiterate","illustrious","imaginary","imaginative","immaculate","immediate","immense","impartial","impassioned","impeccable","impish","impolite","important","impossible","impractical","impressionable","impressive","improbable","impure","inborn","incomparable","incomplete","inconsequential","indelible","indolent","inexperienced","infamous","infatuated","inferior","infinite","informal","innocent","insecure","insidious","insignificant","insistent","instructive","intelligent","intent","interesting","internal","international","intrepid","ironclad","irresponsible","jagged","jam-packed","jaunty","jealous","jittery","joyful","joyous","jubilant","judicious","juicy","jumbo","junior","juvenile","kaleidoscopic","key","knotty","knowledgeable","known","kooky","kosher","lanky","last","lasting","late","lavish","lawful","lazy","leading","lean","left","legal","light","lighthearted","likable","likely","limited","limp","limping","linear","lined","liquid","little","live","lively","livid","lone","lonely","long","long-term","lost","lovable","lovely","low","lucky","lumbering","lumpy","lustrous","mad","made-up","magnificent","majestic","major","male","mammoth","married","marvelous","massive","mature","meager","mealy","mean","measly","meaty","mediocre","medium","memorable","menacing","merry","messy","metallic","mild","milky","mindless","minor","minty","miserable","miserly","misguided","mixed","moist","monstrous","monthly","monumental","moral","motionless","muddy","muffled","multicolored","mundane","murky","mushy","musty","muted","mysterious","narrow","natural","naughty","nautical","near","neat","necessary","needy","negative","neglected","negligible","neighboring","nervous","new","next","nice","nifty","nimble","nippy","nocturnal","normal","noted","noteworthy","noxious","numb","nutritious","obedient","oblong","obvious","odd","oddball","official","oily","old","old-fashioned","only","optimal","optimistic","orange","orderly","ordinary","ornate","ornery","other","our","outgoing","outlandish","outlying","outrageous","outstanding","oval","overcooked","overdue","palatable","pale","paltry","parallel","parched","partial","passionate","pastel","peaceful","peppery","perfumed","perky","personal","pertinent","pessimistic","petty","phony","physical","pink","pitiful","plain","pleasant","pleased","pleasing","plump","pointed","pointless","polished","polite","political","poor","portly","posh","possible","potable","powerful","powerless","practical","precious","present","prestigious","pretty","pricey","prickly","primary","prime","private","probable","productive","profitable","profuse","proper","proud","prudent","punctual","puny","pure","purple","pushy","putrid","puzzled","qualified","quarrelsome","quarterly","queasy","querulous","questionable","quick","quick-witted","quiet","quintessential","quixotic","radiant","ragged","rapid","rare","raw","realistic","reasonable","recent","reckless","rectangular","red","reflecting","regal","regular","remarkable","remorseful","repentant","respectful","responsible","rewarding","rich","right","rigid","ripe","roasted","robust","rosy","rotating","rotten","rough","round","rowdy","royal","rubbery","ruddy","rundown","runny","rural","rusty","sad","salty","same","sandy","sarcastic","sardonic","scaly","scared","scary","scented","scientific","scornful","scratchy","second","second-hand","secondary","secret","self-assured","self-reliant","selfish","sentimental","separate","serene","serpentine","severe","shabby","shadowy","shady","shallow","shameful","shameless","shimmering","shiny","shocked","shoddy","short","short-term","showy","shrill","shy","sick","silent","silky","silver","similar","simple","simplistic","sinful","sizzling","skeletal","sleepy","slight","slimy","slow","slushy","small","smart","smoggy","smooth","smug","snappy","snarling","sneaky","sniveling","snoopy","sociable","soft","soggy","somber","some","sophisticated","sore","sorrowful","soulful","soupy","sour","spanish","sparkling","sparse","specific","speedy","spherical","spiffy","spirited","spiteful","splendid","spotless","square","squeaky","squiggly","stable","staid","stained","stale","standard","stark","steel","steep","sticky","stiff","stingy","stormy","straight","strange","strict","strident","striking","strong","stunning","stupendous","sturdy","stylish","subdued","submissive","substantial","subtle","suburban","sudden","sugary","sunny","super","superb","superficial","superior","supportive","sure-footed","surprised","svelte","sweet","swift","talkative","tall","tame","tangible","tasty","tattered","taut","tedious","teeming","tempting","tender","tense","tepid","terrible","that","these","thick","thin","thorny","thorough","those","thrifty","tidy","tight","timely","tinted","tiny","tired","torn","total","tough","tragic","trained","triangular","tricky","trim","trivial","troubled","true","trusting","trustworthy","trusty","turbulent","twin","ugly","ultimate","unaware","uncomfortable","uncommon","unconscious","understated","uneven","unfinished","unfit","unfortunate","unhappy","unhealthy","uniform","unimportant","unique","unkempt","unknown","unlawful","unlined","unlucky","unpleasant","unrealistic","unripe","unruly","unselfish","unsightly","unsteady","unsung","untidy","untimely","untried","untrue","unused","unusual","unwelcome","unwieldy","unwilling","unwritten","upbeat","upright","upset","urban","usable","useless","utilized","utter","vague","vain","valuable","variable","vast","velvety","vengeful","vibrant","victorious","violent","vivacious","vivid","voluminous","warlike","warm","warmhearted","warped","wasteful","waterlogged","watery","wavy","wealthy","weary","webbed","wee","weekly","weighty","weird","well-documented","well-groomed","well-lit","well-made","well-off","well-to-do","well-worn","which","whimsical","whirlwind","whispered","white","whole","whopping","wicked","wide","wide-eyed","wiggly","willing","wilted","winding","windy","winged","wise","witty","wobbly","woeful","wonderful","wordy","worldly","worse","worst","worthless","worthwhile","worthy","wrathful","wretched","writhing","wrong","wry","yearly","yellow","yellowish","young","youthful","yummy","zany","zealous","zesty"],A7e=["abnormally","absentmindedly","accidentally","acidly","actually","adventurously","afterwards","almost","always","angrily","annually","anxiously","arrogantly","awkwardly","badly","bashfully","beautifully","bitterly","bleakly","blindly","blissfully","boastfully","boldly","bravely","briefly","brightly","briskly","broadly","busily","calmly","carefully","carelessly","cautiously","certainly","cheerfully","clearly","cleverly","closely","coaxingly","colorfully","commonly","continually","coolly","correctly","courageously","crossly","cruelly","curiously","daily","daintily","dearly","deceivingly","deeply","defiantly","deliberately","delightfully","diligently","dimly","doubtfully","dreamily","easily","elegantly","energetically","enormously","enthusiastically","equally","especially","even","evenly","eventually","exactly","excitedly","extremely","fairly","faithfully","famously","far","fast","fatally","ferociously","fervently","fiercely","fondly","foolishly","fortunately","frankly","frantically","freely","frenetically","frightfully","fully","furiously","generally","generously","gently","gladly","gleefully","gracefully","gratefully","greatly","greedily","happily","hastily","healthily","heavily","helpfully","helplessly","highly","honestly","hopelessly","hourly","hungrily","immediately","innocently","inquisitively","instantly","intensely","intently","interestingly","inwardly","irritably","jaggedly","jealously","joshingly","jovially","joyfully","joyously","jubilantly","judgementally","justly","keenly","kiddingly","kindheartedly","kindly","kissingly","knavishly","knottily","knowingly","knowledgeably","kookily","lazily","less","lightly","likely","limply","lively","loftily","longingly","loosely","loudly","lovingly","loyally","madly","majestically","meaningfully","mechanically","merrily","miserably","mockingly","monthly","more","mortally","mostly","mysteriously","naturally","nearly","neatly","needily","nervously","never","nicely","noisily","not","obediently","obnoxiously","oddly","offensively","officially","often","only","openly","optimistically","overconfidently","owlishly","painfully","partially","patiently","perfectly","physically","playfully","politely","poorly","positively","potentially","powerfully","promptly","properly","punctually","quaintly","quarrelsomely","queasily","questionably","questioningly","quicker","quickly","quietly","quirkily","quizzically","rapidly","rarely","readily","really","reassuringly","recklessly","regularly","reluctantly","repeatedly","reproachfully","restfully","righteously","rightfully","rigidly","roughly","rudely","sadly","safely","scarcely","scarily","searchingly","sedately","seemingly","seldom","selfishly","separately","seriously","shakily","sharply","sheepishly","shrilly","shyly","silently","sleepily","slowly","smoothly","softly","solemnly","solidly","sometimes","soon","speedily","stealthily","sternly","strictly","successfully","suddenly","surprisingly","suspiciously","sweetly","swiftly","sympathetically","tenderly","tensely","terribly","thankfully","thoroughly","thoughtfully","tightly","tomorrow","too","tremendously","triumphantly","truly","truthfully","ultimately","unabashedly","unaccountably","unbearably","unethically","unexpectedly","unfortunately","unimpressively","unnaturally","unnecessarily","upbeat","upliftingly","upright","upside-down","upward","upwardly","urgently","usefully","uselessly","usually","utterly","vacantly","vaguely","vainly","valiantly","vastly","verbally","very","viciously","victoriously","violently","vivaciously","voluntarily","warmly","weakly","wearily","well","wetly","wholly","wildly","willfully","wisely","woefully","wonderfully","worriedly","wrongly","yawningly","yearly","yearningly","yesterday","yieldingly","youthfully"],D7e=["after","although","and","as","because","before","but","consequently","even","finally","for","furthermore","hence","how","however","if","inasmuch","incidentally","indeed","instead","lest","likewise","meanwhile","nor","now","once","or","provided","since","so","supposing","than","that","though","till","unless","until","what","when","whenever","where","whereas","wherever","whether","which","while","who","whoever","whose","why","yet"],T7e=["yuck","oh","phooey","blah","boo","whoa","yowza","huzzah","boohoo","fooey","geez","pfft","ew","ah","yum","brr","hm","yahoo","aha","woot","drat","gah","meh","psst","aw","ugh","yippee","eek","gee","bah","gadzooks","duh","ha","mmm","ouch","phew","ack","uh-huh","gosh","hmph","pish","zowie","er","ick","oof","um"],k7e=["CD","SUV","abacus","academics","accelerator","accompanist","account","accountability","acquaintance","ad","adaptation","address","adrenalin","adult","advancement","advertisement","adviser","affect","affiliate","aftermath","agreement","airbus","aircraft","airline","airmail","airman","airport","alb","alert","allegation","alliance","alligator","allocation","almighty","amendment","amnesty","analogy","angle","annual","antelope","anticodon","apparatus","appliance","approach","apricot","arcade","archaeology","armchair","armoire","asset","assist","atrium","attraction","availability","avalanche","awareness","babushka","backbone","backburn","bakeware","bandwidth","bar","barge","baritone","barracks","baseboard","basket","bathhouse","bathrobe","battle","begonia","behest","bell","bench","bend","beret","best-seller","bid","bidet","bin","birdbath","birdcage","birth","blight","blossom","blowgun","bob","bog","bonfire","bonnet","bookcase","bookend","boulevard","bourgeoisie","bowler","bowling","boyfriend","brace","bracelet","bran","breastplate","brief","brochure","brook","brush","bug","bump","bungalow","cafe","cake","calculus","cannon","cantaloupe","cap","cappelletti","captain","caption","carboxyl","cardboard","carnival","case","casement","cash","casket","cassava","castanet","catalyst","cauliflower","cellar","celsius","cemetery","ceramic","ceramics","certification","chainstay","chairperson","challenge","championship","chap","chapel","character","characterization","charlatan","charm","chasuble","cheese","cheetah","chiffonier","chops","chow","cinder","cinema","circumference","citizen","clamp","clavicle","cleaner","climb","co-producer","coal","coast","cod","coil","coin","coliseum","collaboration","collectivization","colon","colonialism","comestible","commercial","commodity","community","comparison","completion","complication","compromise","concentration","configuration","confusion","conservation","conservative","consistency","contractor","contrail","convection","conversation","cook","coordination","cop-out","cope","cork","cornet","corporation","corral","cosset","costume","couch","council","councilman","countess","courtroom","cow","creator","creature","crest","cricket","crocodile","cross-contamination","cruelty","cuckoo","curl","custody","custom","cutlet","cutover","cycle","daddy","dandelion","dash","daughter","dead","decision","deck","declaration","decongestant","decryption","deduction","deed","deer","defendant","density","department","dependency","deployment","depot","derby","descendant","descent","design","designation","desk","detective","devastation","developing","developmental","devil","diagram","digestive","digit","dime","director","disadvantage","disappointment","disclosure","disconnection","discourse","dish","disk","disposer","distinction","diver","diversity","dividend","divine","doing","doorpost","doubter","draft","draw","dream","dredger","dress","drive","drug","duffel","dulcimer","dusk","duster","dwell","e-mail","earth","ecliptic","ectoderm","edge","editor","effector","eggplant","electronics","elevation","elevator","elver","embarrassment","embossing","emergent","encouragement","entry","epic","equal","essence","eternity","ethyl","euphonium","event","exasperation","excess","executor","exhaust","expansion","expense","experience","exploration","extension","extent","exterior","eyebrow","eyeliner","farm","farmer","fat","fax","feather","fedora","fellow","fen","fencing","ferret","festival","fibre","filter","final","finding","finer","finger","fireplace","fisherman","fishery","fit","flame","flat","fledgling","flight","flint","flood","flu","fog","fold","folklore","follower","following","foodstuffs","footrest","forage","forager","forgery","fork","formamide","formation","formula","fort","fowl","fraudster","freckle","freezing","freight","fuel","fun","fund","fundraising","futon","gallery","galoshes","gastropod","gazebo","gerbil","ghost","giant","gift","giggle","glider","gloom","goat","godfather","godparent","going","goodwill","governance","government","gown","gradient","graffiti","grandpa","grandson","granny","grass","gray","gripper","grouper","guacamole","guard","guidance","guide","gym","gymnast","habit","haircut","halt","hamburger","hammock","handful","handle","handover","harp","haversack","hawk","heartache","heartbeat","heating","hello","help","hepatitis","heroine","hexagon","hierarchy","hippodrome","honesty","hoof","hope","horde","hornet","horst","hose","hospitalization","hovel","hovercraft","hubris","humidity","humor","hundred","hunger","hunt","husband","hutch","hydrant","hydrocarbon","hydrolyse","hydrolyze","hyena","hygienic","hyphenation","ice-cream","icebreaker","igloo","ignorance","illusion","impact","import","importance","impostor","in-joke","incandescence","independence","individual","information","injunction","innovation","insolence","inspection","instance","institute","instruction","instructor","integer","intellect","intent","interchange","interior","intervention","interviewer","invite","iridescence","issue","jacket","jazz","jellyfish","jet","jogging","joy","juggernaut","jump","jungle","junior","jury","kettledrum","kick","kielbasa","kinase","king","kiss","kit","knickers","knight","knitting","knuckle","label","labourer","lace","lady","lamp","language","larva","lashes","laughter","lava","lawmaker","lay","leading","league","legend","legging","legislature","lender","license","lid","lieu","lifestyle","lift","linseed","litter","loaf","lobster","longboat","lotion","lounge","louse","lox","loyalty","luck","lyre","maestro","mainstream","maintainer","majority","makeover","making","mallard","management","manner","mantua","marathon","march","marimba","marketplace","marksman","markup","marten","massage","masterpiece","mathematics","meadow","meal","meander","meatloaf","mechanic","median","membership","mentor","merit","metabolite","metal","middle","midwife","milestone","millet","minion","minister","minor","minority","mixture","mobility","molasses","mom","moment","monasticism","monocle","monster","morbidity","morning","mortise","mountain","mouser","mousse","mozzarella","muscat","mythology","napkin","necklace","nectarine","negotiation","nephew","nerve","netsuke","newsletter","newsprint","newsstand","nightlife","noon","nougat","nucleotidase","nudge","numeracy","numeric","nun","obedience","obesity","object","obligation","ocelot","octave","offset","oil","omelet","onset","opera","operating","optimal","orchid","order","ostrich","other","outlaw","outrun","outset","overcoat","overheard","overload","ownership","pacemaker","packaging","paintwork","palate","pants","pantyhose","papa","parade","parsnip","partridge","passport","pasta","patroller","pear","pearl","pecan","pendant","peninsula","pension","peony","pepper","perfection","permafrost","perp","petal","petticoat","pharmacopoeia","phrase","pick","piglet","pigpen","pigsty","pile","pillbox","pillow","pilot","pine","pinstripe","place","plain","planula","plastic","platter","platypus","pleasure","pliers","plugin","plumber","pneumonia","pocket-watch","poetry","polarisation","polyester","pomelo","pop","poppy","popularity","populist","porter","possession","postbox","precedent","premeditation","premier","premise","premium","pressure","presume","priesthood","printer","privilege","procurement","produce","programme","prohibition","promise","pronoun","providence","provider","provision","publication","publicity","pulse","punctuation","pupil","puppet","puritan","quart","quinoa","quit","railway","range","rationale","ravioli","rawhide","reach","reasoning","reboot","receptor","recommendation","reconsideration","recovery","redesign","relative","release","remark","reorganisation","repeat","replacement","reporter","representation","republican","request","requirement","reservation","resolve","resource","responsibility","restaurant","retention","retrospectivity","reward","ribbon","rim","riser","roadway","role","rosemary","roundabout","rubric","ruin","rule","runway","rust","safe","sailor","saloon","sand","sandbar","sanity","sarong","sauerkraut","saw","scaffold","scale","scarification","scenario","schedule","schnitzel","scholarship","scorn","scorpion","scout","scrap","scratch","seafood","seagull","seal","season","secrecy","secret","section","sediment","self-confidence","sermon","sesame","settler","shadowbox","shark","shipper","shore","shoulder","sideboard","siege","sightseeing","signature","silk","simple","singing","skean","skeleton","skyline","skyscraper","slide","slime","slipper","smog","smoke","sock","soliloquy","solution","solvency","someplace","sonar","sonata","sonnet","soup","soybean","space","spear","spirit","spork","sport","spring","sprinkles","squid","stall","starboard","statue","status","stay","steak","steeple","step","step-mother","sticker","stir-fry","stitcher","stock","stool","story","strait","stranger","strategy","straw","stump","subexpression","submitter","subsidy","substitution","suitcase","summary","summer","sunbeam","sundae","supplier","surface","sushi","suspension","sustenance","swanling","swath","sweatshop","swim","swine","swing","switch","switchboard","swordfish","synergy","t-shirt","tabletop","tackle","tail","tapioca","taro","tarragon","taxicab","teammate","technician","technologist","tectonics","tenant","tenement","tennis","tentacle","teriyaki","term","testimonial","testing","thigh","thongs","thorn","thread","thunderbolt","thyme","tinderbox","toaster","tomatillo","tomb","tomography","tool","tooth","toothbrush","toothpick","topsail","traditionalism","traffic","translation","transom","transparency","trash","travel","tray","trench","tribe","tributary","trick","trolley","tuba","tuber","tune-up","turret","tusk","tuxedo","typeface","typewriter","unblinking","underneath","underpants","understanding","unibody","unique","unit","utilization","valentine","validity","valley","valuable","vanadyl","vein","velocity","venom","version","verve","vestment","veto","viability","vibraphone","vibration","vicinity","video","violin","vision","vista","vol","volleyball","wafer","waist","wallaby","warming","wasabi","waterspout","wear","wedding","whack","whale","wheel","widow","wilderness","willow","window","wombat","word","worth","wriggler","yak","yarmulke","yeast","yin","yogurt","zebra","zen"],_7e=["a","abaft","aboard","about","above","absent","across","afore","after","against","along","alongside","amid","amidst","among","amongst","an","anenst","anti","apropos","apud","around","as","aside","astride","at","athwart","atop","barring","before","behind","below","beneath","beside","besides","between","beyond","but","by","circa","concerning","considering","despite","down","during","except","excepting","excluding","failing","following","for","forenenst","from","given","in","including","inside","into","lest","like","mid","midst","minus","modulo","near","next","notwithstanding","of","off","on","onto","opposite","out","outside","over","pace","past","per","plus","pro","qua","regarding","round","sans","save","since","than","the","through","throughout","till","times","to","toward","towards","under","underneath","unlike","until","unto","up","upon","versus","via","vice","with","within","without","worth"],x7e=["abnegate","abscond","abseil","absolve","accentuate","accept","access","accessorise","accompany","account","accredit","achieve","acknowledge","acquire","adjourn","adjudge","admonish","adumbrate","advocate","afford","airbrush","ameliorate","amend","amount","anaesthetise","analyse","anesthetize","anneal","annex","antagonize","ape","apologise","apostrophize","appertain","appreciate","appropriate","approximate","arbitrate","archive","arraign","arrange","ascertain","ascribe","assail","atomize","attend","attest","attribute","augment","avow","axe","baa","banish","bank","baptise","battle","beard","beep","behold","belabor","bemuse","besmirch","bestride","better","bewail","bicycle","bide","bind","biodegrade","blacken","blaspheme","bleach","blend","blink","bliss","bloom","bludgeon","bobble","boggle","bolster","book","boom","bootleg","border","bore","boss","braid","brand","brandish","break","breed","broadcast","broadside","brood","browse","buck","burgeon","bus","butter","buzzing","camouflage","cannibalise","canter","cap","capitalise","capitalize","capsize","card","carouse","carp","carpool","catalog","catalyze","catch","categorise","cease","celebrate","censor","certify","char","charter","chase","chatter","chime","chip","christen","chromakey","chunder","chunter","cinch","circle","circulate","circumnavigate","clamor","clamour","claw","cleave","clinch","clinking","clone","clonk","coagulate","coexist","coincide","collaborate","colligate","colorize","colour","comb","come","commandeer","commemorate","communicate","compete","conceal","conceptualize","conclude","concrete","condense","cone","confide","confirm","confiscate","confound","confute","congregate","conjecture","connect","consign","construe","contradict","contrast","contravene","controvert","convalesce","converse","convince","convoke","coop","cop","corner","covenant","cow","crackle","cram","crank","creak","creaking","cripple","croon","cross","crumble","crystallize","culminate","culture","curry","curse","customise","cycle","dally","dampen","darn","debit","debut","decide","decode","decouple","decriminalize","deduce","deduct","deflate","deflect","deform","defrag","degenerate","degrease","delete","delight","deliquesce","demob","demobilise","democratize","demonstrate","denitrify","deny","depart","depend","deplore","deploy","deprave","depute","dereference","describe","desecrate","deselect","destock","detain","develop","devise","dial","dicker","digitize","dilate","disapprove","disarm","disbar","discontinue","disgorge","dishearten","dishonor","disinherit","dislocate","dispense","display","dispose","disrespect","dissemble","ditch","divert","dock","doodle","downchange","downshift","dowse","draft","drag","drain","dramatize","drowse","drum","dwell","economise","edge","efface","egg","eke","electrify","embalm","embed","embody","emboss","emerge","emphasise","emphasize","emulsify","encode","endow","enfold","engage","engender","enhance","enlist","enrage","enrich","enroll","entice","entomb","entrench","entwine","equate","essay","etch","eulogise","even","evince","exacerbate","exaggerate","exalt","exempt","exonerate","expatiate","explode","expostulate","extract","extricate","eyeglasses","fabricate","facilitate","factorise","factorize","fail","fall","familiarize","fashion","father","fathom","fax","federate","feminize","fence","fess","fictionalize","fiddle","fidget","fill","flash","fleck","flight","floodlight","floss","fluctuate","fluff","fly","focalise","foot","forearm","forecast","foretell","forgather","forgo","fork","form","forswear","founder","fraternise","fray","frizz","fumigate","function","furlough","fuss","gad","gallivant","galvanize","gape","garage","garrote","gasp","gestate","give","glimmer","glisten","gloat","gloss","glow","gnash","gnaw","goose","govern","grade","graduate","graft","grok","guest","guilt","gulp","gum","gurn","gust","gut","guzzle","ham","harangue","harvest","hassle","haul","haze","headline","hearten","heighten","highlight","hoick","hold","hole","hollow","holster","home","homeschool","hoot","horn","horse","hotfoot","house","hover","howl","huddle","huff","hunger","hunt","husk","hype","hypothesise","hypothesize","idle","ignite","imagineer","impact","impanel","implode","incinerate","incline","inculcate","industrialize","ingratiate","inhibit","inject","innovate","inscribe","insert","insist","inspect","institute","institutionalize","intend","intermarry","intermesh","intermix","internalise","internalize","internationalize","intrigue","inure","inveigle","inventory","investigate","irk","iterate","jaywalk","jell","jeopardise","jiggle","jive","joint","jot","jut","keel","knife","knit","know","kowtow","lack","lampoon","large","leap","lecture","legitimize","lend","libel","liberalize","license","ligate","list","lobotomise","lock","log","loose","low","lowball","machine","magnetize","major","make","malfunction","manage","manipulate","maroon","masculinize","mash","mask","masquerade","massage","masticate","materialise","matter","maul","memorise","merge","mesh","metabolise","microblog","microchip","micromanage","militate","mill","minister","minor","misappropriate","miscalculate","misfire","misjudge","miskey","mismatch","mispronounce","misread","misreport","misspend","mob","mobilise","mobilize","moisten","mooch","moor","moralise","mortar","mosh","mothball","motivate","motor","mould","mount","muddy","mummify","mutate","mystify","nab","narrate","narrowcast","nasalise","nauseate","navigate","neaten","neck","neglect","norm","notarize","object","obscure","observe","obsess","obstruct","obtrude","offend","offset","option","orchestrate","orient","orientate","outbid","outdo","outfit","outflank","outfox","outnumber","outrank","outrun","outsource","overburden","overcharge","overcook","overdub","overfeed","overload","overplay","overproduce","overreact","override","overspend","overstay","overtrain","overvalue","overwork","own","oxidise","oxidize","oxygenate","pace","pack","pale","pant","paralyse","parody","part","pause","pave","penalise","persecute","personalise","perspire","pertain","peter","pike","pillory","pinion","pip","pity","pivot","pixellate","plagiarise","plait","plan","please","pluck","ponder","popularize","portray","prance","preclude","preheat","prejudge","preregister","presell","preside","pretend","print","prioritize","probate","probe","proceed","procrastinate","profane","progress","proliferate","proofread","propound","proselytise","provision","pry","publicize","puff","pull","pulp","pulverize","purse","put","putrefy","quadruple","quaff","quantify","quarrel","quash","quaver","question","quiet","quintuple","quip","quit","rag","rally","ramp","randomize","rationalise","rationalize","ravage","ravel","react","readies","readjust","readmit","ready","reapply","rear","reassemble","rebel","reboot","reborn","rebound","rebuff","rebuild","rebuke","recede","reckon","reclassify","recompense","reconstitute","record","recount","redact","redevelop","redound","redraw","redress","reel","refer","reference","refine","reflate","refute","regulate","reiterate","rejigger","rejoin","rekindle","relaunch","relieve","remand","remark","reopen","reorient","replicate","repossess","represent","reprimand","reproach","reprove","repurpose","requite","reschedule","resort","respray","restructure","retool","retract","revere","revitalise","revoke","reword","rewrite","ride","ridge","rim","ring","rise","rival","roger","rosin","rot","rout","row","rue","rule","safeguard","sashay","sate","satirise","satirize","satisfy","saturate","savour","scale","scamper","scar","scare","scarper","scent","schematise","scheme","schlep","scoff","scoop","scope","scotch","scowl","scrabble","scram","scramble","scrape","screw","scruple","scrutinise","scuffle","scuttle","search","secularize","see","segregate","sell","sense","sensitize","sequester","serenade","serialize","serve","service","settle","sew","shaft","sham","shampoo","shanghai","shear","sheathe","shell","shinny","shirk","shoot","shoulder","shout","shovel","showboat","shred","shrill","shudder","shush","sidetrack","sign","silt","sin","singe","sit","sizzle","skateboard","ski","slake","slap","slather","sleet","slink","slip","slope","slump","smarten","smuggle","snack","sneak","sniff","snoop","snow","snowplow","snuggle","soap","solace","solder","solicit","source","spark","spattering","spectacles","spectate","spellcheck","spew","spice","spirit","splash","splay","split","splosh","splurge","spook","square","squirm","stabilise","stable","stack","stage","stake","starch","state","statement","stiffen","stigmatize","sting","stint","stoop","store","storyboard","stratify","structure","stuff","stunt","substantiate","subtract","suckle","suffice","suffocate","summarise","sun","sunbathe","sunder","sup","surge","surprise","swat","swathe","sway","swear","swelter","swerve","swill","swing","symbolise","synthesise","syringe","table","tabulate","tag","tame","tank","tankful","tarry","task","taxicab","team","telescope","tenant","terraform","terrorise","testify","think","throbbing","thump","tighten","toady","toe","tough","tousle","traduce","train","transcend","transplant","trash","treasure","treble","trek","trial","tromp","trouser","trust","tune","tut","twine","twist","typify","unbalance","uncork","uncover","underachieve","undergo","underplay","unearth","unfreeze","unfurl","unlearn","unscramble","unzip","uproot","upsell","usher","vacation","vamoose","vanish","vary","veg","venture","verify","vet","veto","volunteer","vulgarise","waft","wallop","waltz","warp","wash","waver","weary","weatherize","wedge","weep","weight","welcome","westernise","westernize","while","whine","whisper","whistle","whitewash","whup","wilt","wing","wire","wisecrack","wolf","wound","wring","writ","yak","yawn","yearn","yuppify"],M7e={adjective:S7e,adverb:A7e,conjunction:D7e,interjection:T7e,noun:k7e,preposition:_7e,verb:x7e},B7e=M7e,R7e={airline:v4e,animal:L4e,app:$4e,book:U4e,cell_phone:J4e,color:Q4e,commerce:a8e,company:h8e,database:g8e,date:F8e,finance:O8e,food:U8e,hacker:e3e,internet:i3e,location:A3e,lorem:k3e,metadata:x3e,music:P3e,person:t7e,phone_number:s7e,science:f7e,team:v7e,vehicle:w7e,word:B7e},L7e=R7e,Wn=class extends Error{};function O7e(e){let t=Object.getPrototypeOf(e);do{for(let n of Object.getOwnPropertyNames(t))typeof e[n]=="function"&&n!=="constructor"&&(e[n]=e[n].bind(e));t=Object.getPrototypeOf(t)}while(t!==Object.prototype)}var Wm=class{constructor(t){this.faker=t,O7e(this)}},ri=class extends Wm{constructor(t){super(t),this.faker=t}},wae=(e=>(e.Narrowbody="narrowbody",e.Regional="regional",e.Widebody="widebody",e))(wae||{}),P7e=["0","1","2","3","4","5","6","7","8","9"],I7e=["0","O","1","I","L"],N7e={regional:20,narrowbody:35,widebody:60},$7e={regional:["A","B","C","D"],narrowbody:["A","B","C","D","E","F"],widebody:["A","B","C","D","E","F","G","H","J","K"]},V7e=class extends ri{airport(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airport)}airline(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airline)}airplane(){return this.faker.helpers.arrayElement(this.faker.definitions.airline.airplane)}recordLocator(t={}){let{allowNumerics:n=!1,allowVisuallySimilarCharacters:r=!1}=t,a=[];return n||a.push(...P7e),r||a.push(...I7e),this.faker.string.alphanumeric({length:6,casing:"upper",exclude:a})}seat(t={}){let{aircraftType:n="narrowbody"}=t,r=N7e[n],a=$7e[n],i=this.faker.number.int({min:1,max:r}),o=this.faker.helpers.arrayElement(a);return`${i}${o}`}aircraftType(){return this.faker.helpers.enumValue(wae)}flightNumber(t={}){let{length:n={min:1,max:4},addLeadingZeros:r=!1}=t,a=this.faker.string.numeric({length:n,allowLeadingZeros:!1});return r?a.padStart(4,"0"):a}},Sae=(e=>(e.SRGB="sRGB",e.DisplayP3="display-p3",e.REC2020="rec2020",e.A98RGB="a98-rgb",e.ProphotoRGB="prophoto-rgb",e))(Sae||{}),Aae=(e=>(e.RGB="rgb",e.RGBA="rgba",e.HSL="hsl",e.HSLA="hsla",e.HWB="hwb",e.CMYK="cmyk",e.LAB="lab",e.LCH="lch",e.COLOR="color",e))(Aae||{});function H7e(e,t){let{prefix:n,casing:r}=t;switch(r){case"upper":{e=e.toUpperCase();break}case"lower":{e=e.toLowerCase();break}}return n&&(e=n+e),e}function Dae(e){return e.map(t=>{if(t%1!==0){let n=new ArrayBuffer(4);new DataView(n).setFloat32(0,t);let r=new Uint8Array(n);return Dae([...r]).replaceAll(" ","")}return(t>>>0).toString(2).padStart(8,"0")}).join(" ")}function El(e){return Math.round(e*100)}function z7e(e,t="rgb",n="sRGB"){switch(t){case"rgba":return`rgba(${e[0]}, ${e[1]}, ${e[2]}, ${e[3]})`;case"color":return`color(${n} ${e[0]} ${e[1]} ${e[2]})`;case"cmyk":return`cmyk(${El(e[0])}%, ${El(e[1])}%, ${El(e[2])}%, ${El(e[3])}%)`;case"hsl":return`hsl(${e[0]}deg ${El(e[1])}% ${El(e[2])}%)`;case"hsla":return`hsl(${e[0]}deg ${El(e[1])}% ${El(e[2])}% / ${El(e[3])})`;case"hwb":return`hwb(${e[0]} ${El(e[1])}% ${El(e[2])}%)`;case"lab":return`lab(${El(e[0])}% ${e[1]} ${e[2]})`;case"lch":return`lch(${El(e[0])}% ${e[1]} ${e[2]})`;case"rgb":return`rgb(${e[0]}, ${e[1]}, ${e[2]})`}}function zp(e,t,n="rgb",r="sRGB"){switch(t){case"css":return z7e(e,n,r);case"binary":return Dae(e);case"decimal":return e}}var W7e=class extends ri{human(){return this.faker.helpers.arrayElement(this.faker.definitions.color.human)}space(){return this.faker.helpers.arrayElement(this.faker.definitions.color.space)}cssSupportedFunction(){return this.faker.helpers.enumValue(Aae)}cssSupportedSpace(){return this.faker.helpers.enumValue(Sae)}rgb(t={}){let{format:n="hex",includeAlpha:r=!1,prefix:a="#",casing:i="lower"}=t,o,l="rgb";return n==="hex"?(o=this.faker.string.hexadecimal({length:r?8:6,prefix:""}),o=H7e(o,{prefix:a,casing:i}),o):(o=Array.from({length:3},()=>this.faker.number.int(255)),r&&(o.push(this.faker.number.float({multipleOf:.01})),l="rgba"),zp(o,n,l))}cmyk(t={}){let{format:n="decimal"}=t,r=Array.from({length:4},()=>this.faker.number.float({multipleOf:.01}));return zp(r,n,"cmyk")}hsl(t={}){let{format:n="decimal",includeAlpha:r=!1}=t,a=[this.faker.number.int(360)];for(let i=0;i<(t!=null&&t.includeAlpha?3:2);i++)a.push(this.faker.number.float({multipleOf:.01}));return zp(a,n,r?"hsla":"hsl")}hwb(t={}){let{format:n="decimal"}=t,r=[this.faker.number.int(360)];for(let a=0;a<2;a++)r.push(this.faker.number.float({multipleOf:.01}));return zp(r,n,"hwb")}lab(t={}){let{format:n="decimal"}=t,r=[this.faker.number.float({multipleOf:1e-6})];for(let a=0;a<2;a++)r.push(this.faker.number.float({min:-100,max:100,multipleOf:1e-4}));return zp(r,n,"lab")}lch(t={}){let{format:n="decimal"}=t,r=[this.faker.number.float({multipleOf:1e-6})];for(let a=0;a<2;a++)r.push(this.faker.number.float({max:230,multipleOf:.1}));return zp(r,n,"lch")}colorByCSSColorSpace(t={}){let{format:n="decimal",space:r="sRGB"}=t,a=Array.from({length:3},()=>this.faker.number.float({multipleOf:1e-4}));return zp(a,n,"color",r)}},Tae=(e=>(e.Legacy="legacy",e.Segwit="segwit",e.Bech32="bech32",e.Taproot="taproot",e))(Tae||{}),G7e=(e=>(e.Mainnet="mainnet",e.Testnet="testnet",e))(G7e||{}),j7e={legacy:{prefix:{mainnet:"1",testnet:"m"},length:{min:26,max:34},casing:"mixed",exclude:"0OIl"},segwit:{prefix:{mainnet:"3",testnet:"2"},length:{min:26,max:34},casing:"mixed",exclude:"0OIl"},bech32:{prefix:{mainnet:"bc1",testnet:"tb1"},length:{min:42,max:42},casing:"lower",exclude:"1bBiIoO"},taproot:{prefix:{mainnet:"bc1p",testnet:"tb1p"},length:{min:62,max:62},casing:"lower",exclude:"1bBiIoO"}},kae=typeof Buffer>"u"||!_ae("base64")?e=>{let t=new TextEncoder().encode(e),n=Array.from(t,r=>String.fromCodePoint(r)).join("");return btoa(n)}:e=>Buffer.from(e).toString("base64"),QV=typeof Buffer>"u"||!_ae("base64url")?e=>kae(e).replaceAll("+","-").replaceAll("/","_").replaceAll(/=+$/g,""):e=>Buffer.from(e).toString("base64url");function _ae(e){try{return typeof Buffer.from("test").toString(e)=="string"}catch(t){return!1}}var K7e=Object.fromEntries([["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"]]),U7e=Object.fromEntries([["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"]]),q7e=Object.fromEntries([["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"]]),Y7e=Object.fromEntries([["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"]]),J7e=Object.fromEntries([["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"]]),X7e=Object.fromEntries([["א","a"],["ב","b"],["ג","g"],["ד","d"],["ה","h"],["ו","v"],["ז","z"],["ח","ch"],["ט","t"],["י","y"],["כ","k"],["ך","kh"],["ל","l"],["ם","m"],["מ","m"],["ן","n"],["נ","n"],["ס","s"],["ע","a"],["פ","f"],["ף","ph"],["צ","ts"],["ץ","ts"],["ק","k"],["ר","r"],["ש","sh"],["ת","t"],["ו","v"]]),eH=Te(Te(Te(Te(Te(Te({},K7e),U7e),q7e),J7e),Y7e),X7e),Z7e=(e=>(e.Any="any",e.Loopback="loopback",e.PrivateA="private-a",e.PrivateB="private-b",e.PrivateC="private-c",e.TestNet1="test-net-1",e.TestNet2="test-net-2",e.TestNet3="test-net-3",e.LinkLocal="link-local",e.Multicast="multicast",e))(Z7e||{}),Q7e={any:"0.0.0.0/0",loopback:"127.0.0.0/8","private-a":"10.0.0.0/8","private-b":"172.16.0.0/12","private-c":"192.168.0.0/16","test-net-1":"192.0.2.0/24","test-net-2":"198.51.100.0/24","test-net-3":"203.0.113.0/24","link-local":"169.254.0.0/16",multicast:"224.0.0.0/4"};function tH(e){return/^[a-z][a-z-]*[a-z]$/i.exec(e)!==null}function nH(e,t){let n=e.helpers.slugify(t);if(tH(n))return n;let r=e.helpers.slugify(e.lorem.word());return tH(r)?r:e.string.alpha({casing:"lower",length:e.number.int({min:4,max:8})})}var e6e=class extends ri{email(t={}){let{firstName:n,lastName:r,provider:a=this.faker.helpers.arrayElement(this.faker.definitions.internet.free_email),allowSpecialCharacters:i=!1}=t,o=this.username({firstName:n,lastName:r});if(o=o.replaceAll(/[^A-Za-z0-9._+-]+/g,""),o=o.substring(0,50),i){let l=[..."._-"],s=[...".!#$%&'*+-/=?^_`{|}~"];o=o.replace(this.faker.helpers.arrayElement(l),this.faker.helpers.arrayElement(s))}return o=o.replaceAll(/\.{2,}/g,"."),o=o.replace(/^\./,""),o=o.replace(/\.$/,""),`${o}@${a}`}exampleEmail(t={}){let{firstName:n,lastName:r,allowSpecialCharacters:a=!1}=t,i=this.faker.helpers.arrayElement(this.faker.definitions.internet.example_email);return this.email({firstName:n,lastName:r,provider:i,allowSpecialCharacters:a})}username(t={}){let{firstName:n=this.faker.person.firstName(),lastName:r=this.faker.person.lastName(),lastName:a}=t,i=this.faker.helpers.arrayElement([".","_"]),o=this.faker.number.int(99),l=[()=>`${n}${i}${r}${o}`,()=>`${n}${i}${r}`];a||l.push(()=>`${n}${o}`);let s=this.faker.helpers.arrayElement(l)();return s=s.normalize("NFKD").replaceAll(/[\u0300-\u036F]/g,""),s=[...s].map(u=>{var d;if(eH[u])return eH[u];let c=(d=u.codePointAt(0))!=null?d:Number.NaN;return c<128?u:c.toString(36)}).join(""),s=s.replaceAll("'",""),s=s.replaceAll(" ",""),s}displayName(t={}){let{firstName:n=this.faker.person.firstName(),lastName:r=this.faker.person.lastName()}=t,a=this.faker.helpers.arrayElement([".","_"]),i=this.faker.number.int(99),o=[()=>`${n}${i}`,()=>`${n}${a}${r}`,()=>`${n}${a}${r}${i}`],l=this.faker.helpers.arrayElement(o)();return l=l.replaceAll("'",""),l=l.replaceAll(" ",""),l}protocol(){let t=["http","https"];return this.faker.helpers.arrayElement(t)}httpMethod(){let t=["GET","POST","PUT","DELETE","PATCH"];return this.faker.helpers.arrayElement(t)}httpStatusCode(t={}){let{types:n=Object.keys(this.faker.definitions.internet.http_status_code)}=t,r=this.faker.helpers.arrayElement(n);return this.faker.helpers.arrayElement(this.faker.definitions.internet.http_status_code[r])}url(t={}){let{appendSlash:n=this.faker.datatype.boolean(),protocol:r="https"}=t;return`${r}://${this.domainName()}${n?"/":""}`}domainName(){return`${this.domainWord()}.${this.domainSuffix()}`}domainSuffix(){return this.faker.helpers.arrayElement(this.faker.definitions.internet.domain_suffix)}domainWord(){let t=nH(this.faker,this.faker.word.adjective()),n=nH(this.faker,this.faker.word.noun());return`${t}-${n}`.toLowerCase()}ip(){return this.faker.datatype.boolean()?this.ipv4():this.ipv6()}ipv4(t={}){let{network:n="any",cidrBlock:r=Q7e[n]}=t;if(!/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2}$/.test(r))throw new Wn(`Invalid CIDR block provided: ${r}. Must be in the format x.x.x.x/y.`);let[a,i]=r.split("/"),o=4294967295>>>Number.parseInt(i),[l,s,u,c]=a.split(".").map(Number),d=(l<<24|s<<16|u<<8|c)&~o,f=this.faker.number.int(o),p=d|f;return[p>>>24&255,p>>>16&255,p>>>8&255,p&255].join(".")}ipv6(){return Array.from({length:8},()=>this.faker.string.hexadecimal({length:4,casing:"lower",prefix:""})).join(":")}port(){return this.faker.number.int(65535)}userAgent(){return this.faker.helpers.fake(this.faker.definitions.internet.user_agent_pattern)}mac(t={}){typeof t=="string"&&(t={separator:t});let{separator:n=":"}=t,r,a="";for([":","-",""].includes(n)||(n=":"),r=0;r<12;r++)a+=this.faker.number.hex(15),r%2===1&&r!==11&&(a+=n);return a}password(t={}){let n=/[aeiouAEIOU]$/,r=/[bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ]$/,a=(u,c,d,f)=>{if(f.length>=u)return f;c&&(d=r.test(f)?n:r);let p=this.faker.number.int(94)+33,h=String.fromCodePoint(p);return c&&(h=h.toLowerCase()),d.test(h)?a(u,c,d,f+h):a(u,c,d,f)},{length:i=15,memorable:o=!1,pattern:l=/\w/,prefix:s=""}=t;return a(i,o,l,s)}emoji(t={}){let{types:n=Object.keys(this.faker.definitions.internet.emoji)}=t,r=this.faker.helpers.arrayElement(n);return this.faker.helpers.arrayElement(this.faker.definitions.internet.emoji[r])}jwtAlgorithm(){return this.faker.helpers.arrayElement(this.faker.definitions.internet.jwt_algorithm)}jwt(t={}){let{refDate:n=this.faker.defaultRefDate()}=t,r=this.faker.date.recent({refDate:n}),{header:a={alg:this.jwtAlgorithm(),typ:"JWT"},payload:i={iat:Math.round(r.valueOf()/1e3),exp:Math.round(this.faker.date.soon({refDate:r}).valueOf()/1e3),nbf:Math.round(this.faker.date.anytime({refDate:n}).valueOf()/1e3),iss:this.faker.company.name(),sub:this.faker.string.uuid(),aud:this.faker.string.uuid(),jti:this.faker.string.uuid()}}=t,o=QV(JSON.stringify(a)),l=QV(JSON.stringify(i)),s=this.faker.string.alphanumeric(64);return`${o}.${l}.${s}`}},xae=(e=>(e.Female="female",e.Male="male",e))(xae||{});function Ig(e,t,n){var o;let{generic:r,female:a,male:i}=n;switch(t){case"female":return a!=null?a:r;case"male":return i!=null?i:r;default:return(o=r!=null?r:e.helpers.arrayElement([a,i]))!=null?o:[]}}var t6e=class extends ri{firstName(t){return this.faker.helpers.arrayElement(Ig(this.faker,t,this.faker.definitions.person.first_name))}lastName(t){var n;if(((n=this.faker.rawDefinitions.person)==null?void 0:n.last_name_pattern)!=null){let r=this.faker.helpers.weightedArrayElement(Ig(this.faker,t,this.faker.rawDefinitions.person.last_name_pattern));return this.faker.helpers.fake(r)}return this.faker.helpers.arrayElement(Ig(this.faker,t,this.faker.definitions.person.last_name))}middleName(t){return this.faker.helpers.arrayElement(Ig(this.faker,t,this.faker.definitions.person.middle_name))}fullName(t={}){let{sex:n=this.faker.helpers.arrayElement(["female","male"]),firstName:r=this.firstName(n),lastName:a=this.lastName(n)}=t,i=this.faker.helpers.weightedArrayElement(this.faker.definitions.person.name);return this.faker.helpers.mustache(i,{"person.prefix":()=>this.prefix(n),"person.firstName":()=>r,"person.middleName":()=>this.middleName(n),"person.lastName":()=>a,"person.suffix":()=>this.suffix()})}gender(){return this.faker.helpers.arrayElement(this.faker.definitions.person.gender)}sex(){return this.faker.helpers.arrayElement(this.faker.definitions.person.sex)}sexType(){return this.faker.helpers.enumValue(xae)}bio(){let{bio_pattern:t}=this.faker.definitions.person;return this.faker.helpers.fake(t)}prefix(t){return this.faker.helpers.arrayElement(Ig(this.faker,t,this.faker.definitions.person.prefix))}suffix(){return this.faker.helpers.arrayElement(this.faker.definitions.person.suffix)}jobTitle(){return this.faker.helpers.fake(this.faker.definitions.person.job_title_pattern)}jobDescriptor(){return this.faker.helpers.arrayElement(this.faker.definitions.person.job_descriptor)}jobArea(){return this.faker.helpers.arrayElement(this.faker.definitions.person.job_area)}jobType(){return this.faker.helpers.arrayElement(this.faker.definitions.person.job_type)}zodiacSign(){return this.faker.helpers.arrayElement(this.faker.definitions.person.western_zodiac_sign)}},n6e=23283064365386963e-26,r6e=1/9007199254740992,{imul:zx,trunc:Wx}=Math;function rH(e){return typeof e=="number"?Mae(e):a6e(e)}function Mae(e){let t=Array.from({length:624});t[0]=e;for(let n=1;n!==624;++n){let r=t[n-1]^t[n-1]>>>30;t[n]=Wx(zx(1812433253,r)+n)}return t}function a6e(e){let t=Mae(19650218),n=1,r=0;for(let a=Math.max(624,e.length);a!==0;--a){let i=t[n-1]^t[n-1]>>>30;t[n]=Wx((t[n]^zx(i,1664525))+e[r]+r),n++,r++,n>=624&&(t[0]=t[623],n=1),r>=e.length&&(r=0)}for(let a=623;a!==0;a--)t[n]=Wx((t[n]^zx(t[n-1]^t[n-1]>>>30,1566083941))-n),n++,n>=624&&(t[0]=t[623],n=1);return t[0]=2147483648,t}function hE(e){for(let n=0;n!==227;++n){let r=(e[n]&2147483648)+(e[n+1]&2147483647);e[n]=e[n+397]^r>>>1^-(r&1)&2567483615}for(let n=227;n!==623;++n){let r=(e[n]&2147483648)+(e[n+1]&2147483647);e[n]=e[n+397-624]^r>>>1^-(r&1)&2567483615}let t=(e[623]&2147483648)+(e[0]&2147483647);return e[623]=e[396]^t>>>1^-(t&1)&2567483615,e}var i6e=class{constructor(t=Math.random()*Number.MAX_SAFE_INTEGER,n=hE(rH(t)),r=0){this.states=n,this.index=r}nextU32(){let t=this.states[this.index];return t^=this.states[this.index]>>>11,t^=t<<7&2636928640,t^=t<<15&4022730752,t^=t>>>18,++this.index>=624&&(this.states=hE(this.states),this.index=0),t>>>0}nextF32(){return this.nextU32()*n6e}nextU53(){let t=this.nextU32()>>>5,n=this.nextU32()>>>6;return t*67108864+n}nextF53(){return this.nextU53()*r6e}seed(t){this.states=hE(rH(t)),this.index=0}};function Bae(){return Math.ceil(Math.random()*Number.MAX_SAFE_INTEGER)}function o6e(e=Bae()){let t=new i6e(e);return{next(){return t.nextF53()},seed(n){t.seed(n)}}}var l6e=class extends Wm{boolean(t={}){typeof t=="number"&&(t={probability:t});let{probability:n=.5}=t;return n<=0?!1:n>=1?!0:this.faker.number.float(){throw new Wn("You cannot edit the locale data on the faker instance")};function s6e(e){let t={};return new Proxy(e,{has(){return!0},get(n,r){return typeof r=="symbol"||r==="nodeType"?n[r]:r in t?t[r]:t[r]=u6e(r,n[r])},set:N7,deleteProperty:N7})}function Gx(e,...t){if(e===null)throw new Wn(`The locale data for '${t.join(".")}' aren't applicable to this locale. If you think this is a bug, please report it at: https://github.com/faker-js/faker`);if(e===void 0)throw new Wn(`The locale data for '${t.join(".")}' are missing in this locale. If this is a custom Faker instance, please make sure all required locales are used e.g. '[de_AT, de, en, base]'. Please contribute the missing data to the project or use a locale/Faker instance that has these data. For more information see https://fakerjs.dev/guide/localization.html`)}function u6e(e,t={}){return new Proxy(t,{has(n,r){return n[r]!=null},get(n,r){let a=n[r];return typeof r=="symbol"||r==="nodeType"||Gx(a,e,r.toString()),a},set:N7,deleteProperty:N7})}var Rae=class extends Wm{anytime(t={}){let{refDate:n=this.faker.defaultRefDate()}=t,r=Kc(n).getTime();return this.between({from:r-1e3*60*60*24*365,to:r+1e3*60*60*24*365})}past(t={}){let{years:n=1,refDate:r=this.faker.defaultRefDate()}=t;if(n<=0)throw new Wn("Years must be greater than 0.");let a=Kc(r).getTime();return this.between({from:a-n*365*24*3600*1e3,to:a-1e3})}future(t={}){let{years:n=1,refDate:r=this.faker.defaultRefDate()}=t;if(n<=0)throw new Wn("Years must be greater than 0.");let a=Kc(r).getTime();return this.between({from:a+1e3,to:a+n*365*24*3600*1e3})}between(t){let{from:n,to:r}=t,a=Kc(n,"from").getTime(),i=Kc(r,"to").getTime();if(a>i)throw new Wn("`from` date must be before `to` date.");return new Date(this.faker.number.int({min:a,max:i}))}betweens(t){let{from:n,to:r,count:a=3}=t;return this.faker.helpers.multiple(()=>this.between({from:n,to:r}),{count:a}).toSorted((i,o)=>i.getTime()-o.getTime())}recent(t={}){let{days:n=1,refDate:r=this.faker.defaultRefDate()}=t;if(n<=0)throw new Wn("Days must be greater than 0.");let a=Kc(r).getTime();return this.between({from:a-n*24*3600*1e3,to:a-1e3})}soon(t={}){let{days:n=1,refDate:r=this.faker.defaultRefDate()}=t;if(n<=0)throw new Wn("Days must be greater than 0.");let a=Kc(r).getTime();return this.between({from:a+1e3,to:a+n*24*3600*1e3})}birthdate(t={}){let{mode:n="age",min:r=18,max:a=80,refDate:i=this.faker.defaultRefDate()}=t,o=Kc(i),l=o.getUTCFullYear();switch(n){case"age":{let s=new Date(o).setUTCFullYear(l-a-1)+864e5,u=new Date(o).setUTCFullYear(l-r);if(s>u)throw new Wn(`Max age ${a} should be greater than or equal to min age ${r}.`);return this.between({from:s,to:u})}case"year":{let s=new Date(Date.UTC(0,0,2)).setUTCFullYear(r),u=new Date(Date.UTC(0,11,30)).setUTCFullYear(a);if(s>u)throw new Wn(`Max year ${a} should be greater than or equal to min year ${r}.`);return this.between({from:s,to:u})}}}},c6e=class extends Rae{constructor(t){super(t),this.faker=t}month(t={}){let{abbreviated:n=!1,context:r=!1}=t,a=this.faker.definitions.date.month,i;n?i=r&&a.abbr_context!=null?"abbr_context":"abbr":i=r&&a.wide_context!=null?"wide_context":"wide";let o=a[i];return Gx(o,"date.month",i),this.faker.helpers.arrayElement(o)}weekday(t={}){let{abbreviated:n=!1,context:r=!1}=t,a=this.faker.definitions.date.weekday,i;n?i=r&&a.abbr_context!=null?"abbr_context":"abbr":i=r&&a.wide_context!=null?"wide_context":"wide";let o=a[i];return Gx(o,"date.weekday",i),this.faker.helpers.arrayElement(o)}timeZone(){return this.faker.helpers.arrayElement(this.faker.definitions.date.time_zone)}},d6e=/\.|\(/;function f6e(e,t,n=[t,t.rawDefinitions]){if(e.length===0)throw new Wn("Eval expression cannot be empty.");if(n.length===0)throw new Wn("Eval entrypoints cannot be empty.");let r=n,a=e;do{let o;a.startsWith("(")?[o,r]=p6e(a,r):[o,r]=m6e(a,r),a=a.substring(o),r=r.filter(l=>l!=null).map(l=>Array.isArray(l)?t.helpers.arrayElement(l):l)}while(a.length>0&&r.length>0);if(r.length===0)throw new Wn(`Cannot resolve expression '${e}'`);let i=r[0];return typeof i=="function"?i():i}function p6e(e,t){let[n,r]=h6e(e),a=e[n+1];switch(a){case".":case"(":case void 0:break;default:throw new Wn(`Expected dot ('.'), open parenthesis ('('), or nothing after function call but got '${a}'`)}return[n+(a==="."?2:1),t.map(i=>typeof i=="function"?i(...r):void 0)]}function h6e(e){let t=e.indexOf(")",1);if(t===-1)throw new Wn(`Missing closing parenthesis in '${e}'`);for(;t!==-1;){let r=e.substring(1,t);try{return[t,JSON.parse(`[${r}]`)]}catch(a){if(!r.includes("'")&&!r.includes('"'))try{return[t,JSON.parse(`["${r}"]`)]}catch(i){}}t=e.indexOf(")",t+1)}t=e.lastIndexOf(")");let n=e.substring(1,t);return[t,[n]]}function m6e(e,t){var l,s;let n=d6e.exec(e),r=((l=n==null?void 0:n[0])!=null?l:"")===".",a=(s=n==null?void 0:n.index)!=null?s:e.length,i=e.substring(0,a);if(i.length===0)throw new Wn(`Expression parts cannot be empty in '${e}'`);let o=e[a+1];if(r&&(o==null||o==="."||o==="("))throw new Wn(`Found dot without property name in '${e}'`);return[a+(r?1:0),t.map(u=>v6e(u,i))]}function v6e(e,t){switch(typeof e){case"function":{try{e=e()}catch(n){return}return e==null?void 0:e[t]}case"object":return e==null?void 0:e[t];default:return}}function g6e(e){let t=y6e(e.replace(/L?$/,"0"));return t===0?0:10-t}function y6e(e){e=e.replaceAll(/[\s-]/g,"");let t=0,n=!1;for(let r=e.length-1;r>=0;r--){let a=Number.parseInt(e[r]);n&&(a*=2,a>9&&(a=a%10+1)),t+=a,n=!n}return t%10}function aH(e,t,n,r){let a=1;if(t)switch(t){case"?":{a=e.datatype.boolean()?0:1;break}case"*":{let i=1;for(;e.datatype.boolean();)i*=2;a=e.number.int({min:0,max:i});break}case"+":{let i=1;for(;e.datatype.boolean();)i*=2;a=e.number.int({min:1,max:i});break}default:throw new Wn("Unknown quantifier symbol provided.")}else n!=null&&r!=null?a=e.number.int({min:Number.parseInt(n),max:Number.parseInt(r)}):n!=null&&r==null&&(a=Number.parseInt(n));return a}function b6e(e,t=""){let n=/(.)\{(\d+),(\d+)\}/,r=/(.)\{(\d+)\}/,a=/\[(\d+)-(\d+)\]/,i,o,l,s,u=n.exec(t);for(;u!=null;)i=Number.parseInt(u[2]),o=Number.parseInt(u[3]),i>o&&(l=o,o=i,i=l),s=e.number.int({min:i,max:o}),t=t.slice(0,u.index)+u[1].repeat(s)+t.slice(u.index+u[0].length),u=n.exec(t);for(u=r.exec(t);u!=null;)s=Number.parseInt(u[2]),t=t.slice(0,u.index)+u[1].repeat(s)+t.slice(u.index+u[0].length),u=r.exec(t);for(u=a.exec(t);u!=null;)i=Number.parseInt(u[1]),o=Number.parseInt(u[2]),i>o&&(l=o,o=i,i=l),t=t.slice(0,u.index)+e.number.int({min:i,max:o}).toString()+t.slice(u.index+u[0].length),u=a.exec(t);return t}function Lae(e,t="",n="#"){let r="";for(let a=0;a{var L;return(L=M.codePointAt(0))!=null?L:Number.NaN});if(r=_[0],a=_[1],r>a)throw new Wn("Character range provided is out of order.");for(let M=r;M<=a;M++)if(n&&Number.isNaN(Number(String.fromCodePoint(M)))){let L=String.fromCodePoint(M);A.push((h=L.toUpperCase().codePointAt(0))!=null?h:Number.NaN,(m=L.toLowerCase().codePointAt(0))!=null?m:Number.NaN)}else A.push(M)}else n&&Number.isNaN(Number(k[0]))?A.push((v=k[0].toUpperCase().codePointAt(0))!=null?v:Number.NaN,(g=k[0].toLowerCase().codePointAt(0))!=null?g:Number.NaN):A.push((b=k[0].codePointAt(0))!=null?b:Number.NaN);D=D.substring(k[0].length),k=s.exec(D)}if(i=aH(this.faker,S,E,w),C){let _=-1;for(let M=48;M<=57;M++){if(_=A.indexOf(M),_>-1){A.splice(_,1);continue}A.push(M)}for(let M=65;M<=90;M++){if(_=A.indexOf(M),_>-1){A.splice(_,1);continue}A.push(M)}for(let M=97;M<=122;M++){if(_=A.indexOf(M),_>-1){A.splice(_,1);continue}A.push(M)}}let x=this.multiple(()=>String.fromCodePoint(this.arrayElement(A)),{count:i}).join("");t=t.slice(0,l.index)+x+t.slice(l.index+l[0].length),l=u.exec(t)}let c=/(.)\{(\d+),(\d+)\}/;for(l=c.exec(t);l!=null;){if(r=Number.parseInt(l[2]),a=Number.parseInt(l[3]),r>a)throw new Wn("Numbers out of order in {} quantifier.");i=this.faker.number.int({min:r,max:a}),t=t.slice(0,l.index)+l[1].repeat(i)+t.slice(l.index+l[0].length),l=c.exec(t)}let d=/(.)\{(\d+)\}/;for(l=d.exec(t);l!=null;)i=Number.parseInt(l[2]),t=t.slice(0,l.index)+l[1].repeat(i)+t.slice(l.index+l[0].length),l=d.exec(t);return t}shuffle(t,n={}){let{inplace:r=!1}=n;r||(t=[...t]);for(let a=t.length-1;a>0;--a){let i=this.faker.number.int(a);[t[a],t[i]]=[t[i],t[a]]}return t}uniqueArray(t,n){if(Array.isArray(t)){let a=[...new Set(t)];return this.shuffle(a).splice(0,n)}let r=new Set;try{if(typeof t=="function"){let a=1e3*n,i=0;for(;r.size1?this.faker.number.int({max:t.length-1}):0;return t[n]}weightedArrayElement(t){if(t.length===0)throw new Wn("weightedArrayElement expects an array with at least one element");if(!t.every(i=>i.weight>0))throw new Wn("weightedArrayElement expects an array of { weight, value } objects where weight is a positive number");let n=t.reduce((i,{weight:o})=>i+o,0),r=this.faker.number.float({min:0,max:n}),a=0;for(let{weight:i,value:o}of t)if(a+=i,r=t.length)return this.shuffle(t);if(r<=0)return[];let a=[...t],i=t.length,o=i-r,l,s;for(;i-- >o;)s=this.faker.number.int(i),l=a[s],a[s]=a[i],a[i]=l;return a.slice(o)}enumValue(t){let n=Object.keys(t).filter(a=>Number.isNaN(Number(a))),r=this.arrayElement(n);return t[r]}rangeToNumber(t){return typeof t=="number"?t:this.faker.number.int(t)}multiple(t,n={}){var a;let r=this.rangeToNumber((a=n.count)!=null?a:3);return r<=0?[]:Array.from({length:r},t)}},C6e=class extends Oae{constructor(t){super(t),this.faker=t}fake(t){t=typeof t=="string"?t:this.arrayElement(t);let n=t.search(/{{[a-z]/),r=t.indexOf("}}",n);if(n===-1||r===-1)return t;let a=t.substring(n+2,r+2).replace("}}","").replace("{{",""),i=f6e(a,this.faker),o=String(i),l=t.substring(0,n)+o+t.substring(r+2);return this.fake(l)}},Pae=class extends Wm{latitude(t={}){let{max:n=90,min:r=-90,precision:a=4}=t;return this.faker.number.float({min:r,max:n,fractionDigits:a})}longitude(t={}){let{max:n=180,min:r=-180,precision:a=4}=t;return this.faker.number.float({max:n,min:r,fractionDigits:a})}nearbyGPSCoordinate(t={}){let{origin:n,radius:r=10,isMetric:a=!1}=t;if(n==null)return[this.latitude(),this.longitude()];let i=this.faker.number.float({max:2*Math.PI,fractionDigits:5}),o=a?r:r*1.60934,l=this.faker.number.float({max:o,fractionDigits:3})*.995,s=4e4/360,u=l/s,c=[n[0]+Math.sin(i)*u,n[1]+Math.cos(i)*u];return c[0]=c[0]%180,(c[0]<-90||c[0]>90)&&(c[0]=Math.sign(c[0])*180-c[0],c[1]+=180),c[1]=(c[1]%360+540)%360-180,[c[0],c[1]]}},F6e=class extends Pae{constructor(t){super(t),this.faker=t}zipCode(t={}){typeof t=="string"&&(t={format:t});let{state:n}=t;if(n!=null){let a=this.faker.definitions.location.postcode_by_state[n];if(a==null)throw new Wn(`No zip code definition found for state "${n}"`);return this.faker.helpers.fake(a)}let{format:r=this.faker.definitions.location.postcode}=t;return typeof r=="string"&&(r=[r]),r=this.faker.helpers.arrayElement(r),this.faker.helpers.replaceSymbols(r)}city(){return this.faker.helpers.fake(this.faker.definitions.location.city_pattern)}buildingNumber(){return this.faker.helpers.arrayElement(this.faker.definitions.location.building_number).replaceAll(/#+/g,t=>this.faker.string.numeric({length:t.length,allowLeadingZeros:!1}))}street(){return this.faker.helpers.fake(this.faker.definitions.location.street_pattern)}streetAddress(t={}){typeof t=="boolean"&&(t={useFullAddress:t});let{useFullAddress:n}=t,r=this.faker.definitions.location.street_address[n?"full":"normal"];return this.faker.helpers.fake(r)}secondaryAddress(){return this.faker.helpers.fake(this.faker.definitions.location.secondary_address).replaceAll(/#+/g,t=>this.faker.string.numeric({length:t.length,allowLeadingZeros:!1}))}county(){return this.faker.helpers.arrayElement(this.faker.definitions.location.county)}country(){return this.faker.helpers.arrayElement(this.faker.definitions.location.country)}continent(){return this.faker.helpers.arrayElement(this.faker.definitions.location.continent)}countryCode(t={}){typeof t=="string"&&(t={variant:t});let{variant:n="alpha-2"}=t,r=(()=>{switch(n){case"numeric":return"numeric";case"alpha-3":return"alpha3";case"alpha-2":return"alpha2"}})();return this.faker.helpers.arrayElement(this.faker.definitions.location.country_code)[r]}state(t={}){let{abbreviated:n=!1}=t,r=n?this.faker.definitions.location.state_abbr:this.faker.definitions.location.state;return this.faker.helpers.arrayElement(r)}direction(t={}){let{abbreviated:n=!1}=t;return n?this.faker.helpers.arrayElement([...this.faker.definitions.location.direction.cardinal_abbr,...this.faker.definitions.location.direction.ordinal_abbr]):this.faker.helpers.arrayElement([...this.faker.definitions.location.direction.cardinal,...this.faker.definitions.location.direction.ordinal])}cardinalDirection(t={}){let{abbreviated:n=!1}=t;return n?this.faker.helpers.arrayElement(this.faker.definitions.location.direction.cardinal_abbr):this.faker.helpers.arrayElement(this.faker.definitions.location.direction.cardinal)}ordinalDirection(t={}){let{abbreviated:n=!1}=t;return n?this.faker.helpers.arrayElement(this.faker.definitions.location.direction.ordinal_abbr):this.faker.helpers.arrayElement(this.faker.definitions.location.direction.ordinal)}timeZone(){return this.faker.helpers.arrayElement(this.faker.definitions.location.time_zone)}language(){return this.faker.helpers.arrayElement(this.faker.definitions.location.language)}},E6e=class extends Wm{int(t={}){typeof t=="number"&&(t={max:t});let{min:n=0,max:r=Number.MAX_SAFE_INTEGER,multipleOf:a=1}=t;if(!Number.isInteger(a))throw new Wn("multipleOf should be an integer.");if(a<=0)throw new Wn("multipleOf should be greater than 0.");let i=Math.ceil(n/a),o=Math.floor(r/a);if(i===o)return i*a;if(o=n?new Wn(`No suitable integer value between ${n} and ${r} found.`):new Wn(`Max ${r} should be greater than min ${n}.`);let l=this.faker._randomizer.next(),s=o-i+1;return Math.floor(l*s+i)*a}float(t={}){typeof t=="number"&&(t={max:t});let{min:n=0,max:r=1,fractionDigits:a,multipleOf:i,multipleOf:o=a==null?void 0:Gl(10,-a)}=t;if(rBigInt(0)?BigInt(1):BigInt(0)),o=r/a-(r%a3999)throw new Wn(`Max value ${r} should be 3999 or less.`);let a=this.int({min:n,max:r}),i=[["M",1e3],["CM",900],["D",500],["CD",400],["C",100],["XC",90],["L",50],["XL",40],["X",10],["IX",9],["V",5],["IV",4],["I",1]],o="";for(let[l,s]of i)o+=l.repeat(Math.floor(a/s)),a%=s;return o}},Iae="0123456789ABCDEFGHJKMNPQRSTVWXYZ";function w6e(e){let t=e.valueOf(),n="";for(let r=10;r>0;r--){let a=t%32;n=Iae[a]+n,t=(t-a)/32}return n}var I4=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZ"],N4=[..."abcdefghijklmnopqrstuvwxyz"],iH=[..."0123456789"],S6e=class extends Wm{fromCharacters(t,n=1){if(n=this.faker.helpers.rangeToNumber(n),n<=0)return"";if(typeof t=="string"&&(t=[...t]),t.length===0)throw new Wn("Unable to generate string: No characters to select from.");return this.faker.helpers.multiple(()=>this.faker.helpers.arrayElement(t),{count:n}).join("")}alpha(t={}){var o;typeof t=="number"&&(t={length:t});let n=this.faker.helpers.rangeToNumber((o=t.length)!=null?o:1);if(n<=0)return"";let{casing:r="mixed"}=t,{exclude:a=[]}=t;typeof a=="string"&&(a=[...a]);let i;switch(r){case"upper":{i=[...I4];break}case"lower":{i=[...N4];break}case"mixed":{i=[...N4,...I4];break}}return i=i.filter(l=>!a.includes(l)),this.fromCharacters(i,n)}alphanumeric(t={}){var o;typeof t=="number"&&(t={length:t});let n=this.faker.helpers.rangeToNumber((o=t.length)!=null?o:1);if(n<=0)return"";let{casing:r="mixed"}=t,{exclude:a=[]}=t;typeof a=="string"&&(a=[...a]);let i=[...iH];switch(r){case"upper":{i.push(...I4);break}case"lower":{i.push(...N4);break}case"mixed":{i.push(...N4,...I4);break}}return i=i.filter(l=>!a.includes(l)),this.fromCharacters(i,n)}binary(t={}){var a;let{prefix:n="0b"}=t,r=n;return r+=this.fromCharacters(["0","1"],(a=t.length)!=null?a:1),r}octal(t={}){var a;let{prefix:n="0o"}=t,r=n;return r+=this.fromCharacters(["0","1","2","3","4","5","6","7"],(a=t.length)!=null?a:1),r}hexadecimal(t={}){var o;let{casing:n="mixed",prefix:r="0x"}=t,a=this.faker.helpers.rangeToNumber((o=t.length)!=null?o:1);if(a<=0)return r;let i=this.fromCharacters(["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","A","B","C","D","E","F"],a);return n==="upper"?i=i.toUpperCase():n==="lower"&&(i=i.toLowerCase()),`${r}${i}`}numeric(t={}){var l;typeof t=="number"&&(t={length:t});let n=this.faker.helpers.rangeToNumber((l=t.length)!=null?l:1);if(n<=0)return"";let{allowLeadingZeros:r=!0}=t,{exclude:a=[]}=t;typeof a=="string"&&(a=[...a]);let i=iH.filter(s=>!a.includes(s));if(i.length===0||i.length===1&&!r&&i[0]==="0")throw new Wn("Unable to generate numeric string, because all possible digits are excluded.");let o="";return!r&&!a.includes("0")&&(o+=this.faker.helpers.arrayElement(i.filter(s=>s!=="0"))),o+=this.fromCharacters(i,n-o.length),o}sample(t=10){t=this.faker.helpers.rangeToNumber(t);let n={min:33,max:125},r="";for(;r.lengththis.faker.number.hex({min:0,max:15})).replaceAll("y",()=>this.faker.number.hex({min:8,max:11}))}ulid(t={}){let{refDate:n=this.faker.defaultRefDate()}=t,r=Kc(n);return w6e(r)+this.fromCharacters(Iae,16)}nanoid(t=21){if(t=this.faker.helpers.rangeToNumber(t),t<=0)return"";let n=[{value:()=>this.alphanumeric(1),weight:62},{value:()=>this.faker.helpers.arrayElement(["_","-"]),weight:2}],r="";for(;r.length","?","@","[","\\","]","^","_","`","{","|","}","~"],t)}},Nae=class{constructor(t={}){Hn(this,"_defaultRefDate",()=>new Date);Hn(this,"_randomizer");Hn(this,"datatype",new l6e(this));Hn(this,"date",new Rae(this));Hn(this,"helpers",new Oae(this));Hn(this,"location",new Pae(this));Hn(this,"number",new E6e(this));Hn(this,"string",new S6e(this));let{randomizer:n,seed:r}=t;n!=null&&r!=null&&n.seed(r),this._randomizer=n!=null?n:o6e(r)}get defaultRefDate(){return this._defaultRefDate}setDefaultRefDate(t=()=>new Date){typeof t=="function"?this._defaultRefDate=t:this._defaultRefDate=()=>new Date(t)}seed(t=Bae()){return this._randomizer.seed(t),t}};new Nae;function A6e(e){let t={};for(let n of e)for(let r in n){let a=n[r];t[r]===void 0?t[r]=Te({},a):t[r]=Te(Te({},a),t[r])}return t}var D6e=class extends ri{dog(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.dog)}cat(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cat)}snake(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.snake)}bear(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.bear)}lion(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.lion)}cetacean(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cetacean)}horse(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.horse)}bird(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.bird)}cow(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.cow)}fish(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.fish)}crocodilia(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.crocodilia)}insect(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.insect)}rabbit(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.rabbit)}rodent(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.rodent)}type(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.type)}petName(){return this.faker.helpers.arrayElement(this.faker.definitions.animal.pet_name)}},T6e=class extends ri{author(){return this.faker.helpers.arrayElement(this.faker.definitions.book.author)}format(){return this.faker.helpers.arrayElement(this.faker.definitions.book.format)}genre(){return this.faker.helpers.arrayElement(this.faker.definitions.book.genre)}publisher(){return this.faker.helpers.arrayElement(this.faker.definitions.book.publisher)}series(){return this.faker.helpers.arrayElement(this.faker.definitions.book.series)}title(){return this.faker.helpers.arrayElement(this.faker.definitions.book.title)}};function k6e(e){if(!/^\d{11}$/.test(e))throw new Wn("calculateUPCCheckDigit expects exactly 11 numeric digits");let t=0,n=0;for(let r of e){let a=Number.parseInt(r,10);t+=a*(n%2===0?3:1),n++}return(10-t%10)%10}var _6e={0:[[1999999,2],[2279999,3],[2289999,4],[3689999,3],[3699999,4],[6389999,3],[6397999,4],[6399999,7],[6449999,3],[6459999,7],[6479999,3],[6489999,7],[6549999,3],[6559999,4],[6999999,3],[8499999,4],[8999999,5],[9499999,6],[9999999,7]],1:[[99999,3],[299999,2],[349999,3],[399999,4],[499999,3],[699999,2],[999999,4],[3979999,3],[5499999,4],[6499999,5],[6799999,4],[6859999,5],[7139999,4],[7169999,3],[7319999,4],[7399999,7],[7749999,5],[7753999,7],[7763999,5],[7764999,7],[7769999,5],[7782999,7],[7899999,5],[7999999,4],[8004999,5],[8049999,5],[8379999,5],[8384999,7],[8671999,5],[8675999,4],[8697999,5],[9159999,6],[9165059,7],[9168699,6],[9169079,7],[9195999,6],[9196549,7],[9729999,6],[9877999,4],[9911499,6],[9911999,7],[9989899,6],[9999999,7]]},x6e=class extends ri{department(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.department)}productName(){let t=this.faker.definitions.commerce.product_name.pattern;return this.faker.helpers.fake(t)}price(t={}){let{dec:n=2,max:r=1e3,min:a=1,symbol:i=""}=t;if(a<0||r<0)return`${i}0`;if(a===r)return`${i}${a.toFixed(n)}`;let o=this.faker.number.float({min:a,max:r,fractionDigits:n});if(n===0)return`${i}${o.toFixed(n)}`;let l=o*Gl(10,n)%10,s=this.faker.helpers.weightedArrayElement([{weight:5,value:9},{weight:3,value:5},{weight:1,value:0},{weight:1,value:this.faker.number.int({min:0,max:9})}]),u=Gl(1/10,n),c=l*u,d=s*u,f=o-c+d;return a<=f&&f<=r?`${i}${f.toFixed(n)}`:`${i}${o.toFixed(n)}`}productAdjective(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.adjective)}productMaterial(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.material)}product(){return this.faker.helpers.arrayElement(this.faker.definitions.commerce.product_name.product)}productDescription(){return this.faker.helpers.fake(this.faker.definitions.commerce.product_description)}isbn(t={}){var m;typeof t=="number"&&(t={variant:t});let{variant:n=13,separator:r="-"}=t,a="978",[i,o]=this.faker.helpers.objectEntry(_6e),l=this.faker.string.numeric(8),s=Number.parseInt(l.slice(0,-1)),u=(m=o.find(([v])=>s<=v))==null?void 0:m[1];if(!u)throw new Wn(`Unable to find a registrant length for the group ${i}`);let c=l.slice(0,u),d=l.slice(u),f=[a,i,c,d];n===10&&f.shift();let p=f.join(""),h=0;for(let v=0;v11)throw new Wn("Prefix must be at most 11 numeric digits");let r=11-n.length,a=this.faker.string.numeric({length:r,allowLeadingZeros:!0}),i=`${n}${a}`,o=k6e(i);return`${i}${o}`}},M6e=class extends ri{name(){return this.faker.helpers.fake(this.faker.definitions.company.name_pattern)}catchPhrase(){return[this.catchPhraseAdjective(),this.catchPhraseDescriptor(),this.catchPhraseNoun()].join(" ")}buzzPhrase(){return[this.buzzVerb(),this.buzzAdjective(),this.buzzNoun()].join(" ")}catchPhraseAdjective(){return this.faker.helpers.arrayElement(this.faker.definitions.company.adjective)}catchPhraseDescriptor(){return this.faker.helpers.arrayElement(this.faker.definitions.company.descriptor)}catchPhraseNoun(){return this.faker.helpers.arrayElement(this.faker.definitions.company.noun)}buzzAdjective(){return this.faker.helpers.arrayElement(this.faker.definitions.company.buzz_adjective)}buzzVerb(){return this.faker.helpers.arrayElement(this.faker.definitions.company.buzz_verb)}buzzNoun(){return this.faker.helpers.arrayElement(this.faker.definitions.company.buzz_noun)}},B6e=class extends ri{column(){return this.faker.helpers.arrayElement(this.faker.definitions.database.column)}type(){return this.faker.helpers.arrayElement(this.faker.definitions.database.type)}collation(){return this.faker.helpers.arrayElement(this.faker.definitions.database.collation)}engine(){return this.faker.helpers.arrayElement(this.faker.definitions.database.engine)}mongodbObjectId(){return this.faker.string.hexadecimal({length:24,casing:"lower",prefix:""})}},R6e={alpha:["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"],formats:[{country:"AL",total:28,bban:[{type:"n",count:8},{type:"c",count:16}],format:"ALkk bbbs sssx cccc cccc cccc cccc"},{country:"AD",total:24,bban:[{type:"n",count:8},{type:"c",count:12}],format:"ADkk bbbb ssss cccc cccc cccc"},{country:"AT",total:20,bban:[{type:"n",count:5},{type:"n",count:11}],format:"ATkk bbbb bccc cccc cccc"},{country:"AZ",total:28,bban:[{type:"a",count:4},{type:"n",count:20}],format:"AZkk bbbb cccc cccc cccc cccc cccc"},{country:"BH",total:22,bban:[{type:"a",count:4},{type:"c",count:14}],format:"BHkk bbbb cccc cccc cccc cc"},{country:"BE",total:16,bban:[{type:"n",count:3},{type:"n",count:9}],format:"BEkk bbbc cccc ccxx"},{country:"BA",total:20,bban:[{type:"n",count:6},{type:"n",count:10}],format:"BAkk bbbs sscc cccc ccxx"},{country:"BR",total:29,bban:[{type:"n",count:13},{type:"n",count:10},{type:"a",count:1},{type:"c",count:1}],format:"BRkk bbbb bbbb ssss sccc cccc ccct n"},{country:"BG",total:22,bban:[{type:"a",count:4},{type:"n",count:6},{type:"c",count:8}],format:"BGkk bbbb ssss ddcc cccc cc"},{country:"CR",total:22,bban:[{type:"n",count:1},{type:"n",count:3},{type:"n",count:14}],format:"CRkk xbbb cccc cccc cccc cc"},{country:"HR",total:21,bban:[{type:"n",count:7},{type:"n",count:10}],format:"HRkk bbbb bbbc cccc cccc c"},{country:"CY",total:28,bban:[{type:"n",count:8},{type:"c",count:16}],format:"CYkk bbbs ssss cccc cccc cccc cccc"},{country:"CZ",total:24,bban:[{type:"n",count:10},{type:"n",count:10}],format:"CZkk bbbb ssss sscc cccc cccc"},{country:"DK",total:18,bban:[{type:"n",count:4},{type:"n",count:10}],format:"DKkk bbbb cccc cccc cc"},{country:"DO",total:28,bban:[{type:"a",count:4},{type:"n",count:20}],format:"DOkk bbbb cccc cccc cccc cccc cccc"},{country:"TL",total:23,bban:[{type:"n",count:3},{type:"n",count:16}],format:"TLkk bbbc cccc cccc cccc cxx"},{country:"EE",total:20,bban:[{type:"n",count:4},{type:"n",count:12}],format:"EEkk bbss cccc cccc cccx"},{country:"FO",total:18,bban:[{type:"n",count:4},{type:"n",count:10}],format:"FOkk bbbb cccc cccc cx"},{country:"FI",total:18,bban:[{type:"n",count:6},{type:"n",count:8}],format:"FIkk bbbb bbcc cccc cx"},{country:"FR",total:27,bban:[{type:"n",count:10},{type:"c",count:11},{type:"n",count:2}],format:"FRkk bbbb bggg ggcc cccc cccc cxx"},{country:"GE",total:22,bban:[{type:"a",count:2},{type:"n",count:16}],format:"GEkk bbcc cccc cccc cccc cc"},{country:"DE",total:22,bban:[{type:"n",count:8},{type:"n",count:10}],format:"DEkk bbbb bbbb cccc cccc cc"},{country:"GI",total:23,bban:[{type:"a",count:4},{type:"c",count:15}],format:"GIkk bbbb cccc cccc cccc ccc"},{country:"GR",total:27,bban:[{type:"n",count:7},{type:"c",count:16}],format:"GRkk bbbs sssc cccc cccc cccc ccc"},{country:"GL",total:18,bban:[{type:"n",count:4},{type:"n",count:10}],format:"GLkk bbbb cccc cccc cc"},{country:"GT",total:28,bban:[{type:"c",count:4},{type:"c",count:4},{type:"c",count:16}],format:"GTkk bbbb mmtt cccc cccc cccc cccc"},{country:"HU",total:28,bban:[{type:"n",count:8},{type:"n",count:16}],format:"HUkk bbbs sssk cccc cccc cccc cccx"},{country:"IS",total:26,bban:[{type:"n",count:6},{type:"n",count:16}],format:"ISkk bbbb sscc cccc iiii iiii ii"},{country:"IE",total:22,bban:[{type:"a",count:4},{type:"n",count:6},{type:"n",count:8}],format:"IEkk aaaa bbbb bbcc cccc cc"},{country:"IL",total:23,bban:[{type:"n",count:6},{type:"n",count:13}],format:"ILkk bbbn nncc cccc cccc ccc"},{country:"IR",total:26,bban:[{type:"n",count:22}],format:"IRkk bbbb cccc cccc cccc cccc cc"},{country:"IT",total:27,bban:[{type:"a",count:1},{type:"n",count:10},{type:"c",count:12}],format:"ITkk xaaa aabb bbbc cccc cccc ccc"},{country:"JO",total:30,bban:[{type:"a",count:4},{type:"n",count:4},{type:"n",count:18}],format:"JOkk bbbb nnnn cccc cccc cccc cccc cc"},{country:"KZ",total:20,bban:[{type:"n",count:3},{type:"c",count:13}],format:"KZkk bbbc cccc cccc cccc"},{country:"XK",total:20,bban:[{type:"n",count:4},{type:"n",count:12}],format:"XKkk bbbb cccc cccc cccc"},{country:"KW",total:30,bban:[{type:"a",count:4},{type:"c",count:22}],format:"KWkk bbbb cccc cccc cccc cccc cccc cc"},{country:"LV",total:21,bban:[{type:"a",count:4},{type:"c",count:13}],format:"LVkk bbbb cccc cccc cccc c"},{country:"LB",total:28,bban:[{type:"n",count:4},{type:"c",count:20}],format:"LBkk bbbb cccc cccc cccc cccc cccc"},{country:"LI",total:21,bban:[{type:"n",count:5},{type:"c",count:12}],format:"LIkk bbbb bccc cccc cccc c"},{country:"LT",total:20,bban:[{type:"n",count:5},{type:"n",count:11}],format:"LTkk bbbb bccc cccc cccc"},{country:"LU",total:20,bban:[{type:"n",count:3},{type:"c",count:13}],format:"LUkk bbbc cccc cccc cccc"},{country:"MK",total:19,bban:[{type:"n",count:3},{type:"c",count:10},{type:"n",count:2}],format:"MKkk bbbc cccc cccc cxx"},{country:"MT",total:31,bban:[{type:"a",count:4},{type:"n",count:5},{type:"c",count:18}],format:"MTkk bbbb ssss sccc cccc cccc cccc ccc"},{country:"MR",total:27,bban:[{type:"n",count:10},{type:"n",count:13}],format:"MRkk bbbb bsss sscc cccc cccc cxx"},{country:"MU",total:30,bban:[{type:"a",count:4},{type:"n",count:4},{type:"n",count:15},{type:"a",count:3}],format:"MUkk bbbb bbss cccc cccc cccc 000d dd"},{country:"MC",total:27,bban:[{type:"n",count:10},{type:"c",count:11},{type:"n",count:2}],format:"MCkk bbbb bsss sscc cccc cccc cxx"},{country:"MD",total:24,bban:[{type:"c",count:2},{type:"c",count:18}],format:"MDkk bbcc cccc cccc cccc cccc"},{country:"ME",total:22,bban:[{type:"n",count:3},{type:"n",count:15}],format:"MEkk bbbc cccc cccc cccc xx"},{country:"NL",total:18,bban:[{type:"a",count:4},{type:"n",count:10}],format:"NLkk bbbb cccc cccc cc"},{country:"NO",total:15,bban:[{type:"n",count:4},{type:"n",count:7}],format:"NOkk bbbb cccc ccx"},{country:"PK",total:24,bban:[{type:"a",count:4},{type:"n",count:16}],format:"PKkk bbbb cccc cccc cccc cccc"},{country:"PS",total:29,bban:[{type:"a",count:4},{type:"n",count:9},{type:"n",count:12}],format:"PSkk bbbb xxxx xxxx xccc cccc cccc c"},{country:"PL",total:28,bban:[{type:"n",count:8},{type:"n",count:16}],format:"PLkk bbbs sssx cccc cccc cccc cccc"},{country:"PT",total:25,bban:[{type:"n",count:8},{type:"n",count:13}],format:"PTkk bbbb ssss cccc cccc cccx x"},{country:"QA",total:29,bban:[{type:"a",count:4},{type:"c",count:21}],format:"QAkk bbbb cccc cccc cccc cccc cccc c"},{country:"RO",total:24,bban:[{type:"a",count:4},{type:"c",count:16}],format:"ROkk bbbb cccc cccc cccc cccc"},{country:"SM",total:27,bban:[{type:"a",count:1},{type:"n",count:10},{type:"c",count:12}],format:"SMkk xaaa aabb bbbc cccc cccc ccc"},{country:"SA",total:24,bban:[{type:"n",count:2},{type:"c",count:18}],format:"SAkk bbcc cccc cccc cccc cccc"},{country:"RS",total:22,bban:[{type:"n",count:3},{type:"n",count:15}],format:"RSkk bbbc cccc cccc cccc xx"},{country:"SK",total:24,bban:[{type:"n",count:10},{type:"n",count:10}],format:"SKkk bbbb ssss sscc cccc cccc"},{country:"SI",total:19,bban:[{type:"n",count:5},{type:"n",count:10}],format:"SIkk bbss sccc cccc cxx"},{country:"ES",total:24,bban:[{type:"n",count:10},{type:"n",count:10}],format:"ESkk bbbb gggg xxcc cccc cccc"},{country:"SE",total:24,bban:[{type:"n",count:3},{type:"n",count:17}],format:"SEkk bbbc cccc cccc cccc cccc"},{country:"CH",total:21,bban:[{type:"n",count:5},{type:"c",count:12}],format:"CHkk bbbb bccc cccc cccc c"},{country:"TN",total:24,bban:[{type:"n",count:5},{type:"n",count:15}],format:"TNkk bbss sccc cccc cccc cccc"},{country:"TR",total:26,bban:[{type:"n",count:5},{type:"n",count:1},{type:"n",count:16}],format:"TRkk bbbb bxcc cccc cccc cccc cc"},{country:"AE",total:23,bban:[{type:"n",count:3},{type:"n",count:16}],format:"AEkk bbbc cccc cccc cccc ccc"},{country:"GB",total:22,bban:[{type:"a",count:4},{type:"n",count:6},{type:"n",count:8}],format:"GBkk bbbb ssss sscc cccc cc"},{country:"VG",total:24,bban:[{type:"a",count:4},{type:"n",count:16}],format:"VGkk bbbb cccc cccc cccc cccc"}],iso3166:["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],mod97:e=>{let t=0;for(let n of e)t=(t*10+ +n)%97;return t},pattern10:["01","02","03","04","05","06","07","08","09"],pattern100:["001","002","003","004","005","006","007","008","009"],toDigitString:e=>e.replaceAll(/[A-Z]/gi,t=>{var n;return String(((n=t.toUpperCase().codePointAt(0))!=null?n:Number.NaN)-55)})},Rc=R6e;function L6e(e){let t="";for(let n=0;nu.country===n):this.faker.helpers.arrayElement(Rc.formats);if(!a)throw new Wn(`Country code ${n} not supported.`);let i="",o=0;for(let u of a.bban){let c=u.count;for(o+=u.count;c>0;)u.type==="a"?i+=this.faker.helpers.arrayElement(Rc.alpha):u.type==="c"?this.faker.datatype.boolean(.8)?i+=this.faker.number.int(9):i+=this.faker.helpers.arrayElement(Rc.alpha):c>=3&&this.faker.datatype.boolean(.3)?this.faker.datatype.boolean()?(i+=this.faker.helpers.arrayElement(Rc.pattern100),c-=2):(i+=this.faker.helpers.arrayElement(Rc.pattern10),c--):i+=this.faker.number.int(9),c--;i=i.substring(0,o)}let l=98-Rc.mod97(Rc.toDigitString(`${i}${a.country}00`));l<10&&(l=`0${l}`);let s=`${a.country}${l}${i}`;return r?L6e(s):s}bic(t={}){let{includeBranchCode:n=this.faker.datatype.boolean()}=t,r=this.faker.string.alpha({length:4,casing:"upper"}),a=this.faker.helpers.arrayElement(Rc.iso3166),i=this.faker.string.alphanumeric({length:2,casing:"upper"}),o=n?this.faker.datatype.boolean()?this.faker.string.alphanumeric({length:3,casing:"upper"}):"XXX":"";return`${r}${a}${i}${o}`}transactionDescription(){return this.faker.helpers.fake(this.faker.definitions.finance.transaction_description_pattern)}};function oH(e){return e.split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}var P6e=class extends ri{adjective(){return this.faker.helpers.arrayElement(this.faker.definitions.food.adjective)}description(){return this.faker.helpers.fake(this.faker.definitions.food.description_pattern)}dish(){return this.faker.datatype.boolean()?oH(this.faker.helpers.fake(this.faker.definitions.food.dish_pattern)):oH(this.faker.helpers.arrayElement(this.faker.definitions.food.dish))}ethnicCategory(){return this.faker.helpers.arrayElement(this.faker.definitions.food.ethnic_category)}fruit(){return this.faker.helpers.arrayElement(this.faker.definitions.food.fruit)}ingredient(){return this.faker.helpers.arrayElement(this.faker.definitions.food.ingredient)}meat(){return this.faker.helpers.arrayElement(this.faker.definitions.food.meat)}spice(){return this.faker.helpers.arrayElement(this.faker.definitions.food.spice)}vegetable(){return this.faker.helpers.arrayElement(this.faker.definitions.food.vegetable)}},I6e=" ",N6e=class extends ri{branch(){let t=this.faker.hacker.noun().replace(" ","-"),n=this.faker.hacker.verb().replace(" ","-");return`${t}-${n}`}commitEntry(t={}){let{merge:n=this.faker.datatype.boolean({probability:.2}),eol:r="CRLF",refDate:a}=t,i=[`commit ${this.faker.git.commitSha()}`];n&&i.push(`Merge: ${this.commitSha({length:7})} ${this.commitSha({length:7})}`);let o=this.faker.person.firstName(),l=this.faker.person.lastName(),s=this.faker.person.fullName({firstName:o,lastName:l}),u=this.faker.internet.username({firstName:o,lastName:l}),c=this.faker.helpers.arrayElement([s,u]),d=this.faker.internet.email({firstName:o,lastName:l});c=c.replaceAll(/^[.,:;"\\']|[<>\n]|[.,:;"\\']$/g,""),i.push(`Author: ${c} <${d}>`,`Date: ${this.commitDate({refDate:a})}`,"",`${I6e.repeat(4)}${this.commitMessage()}`,"");let f=r==="CRLF"?`\r `:` `;return i.join(f)}commitMessage(){return`${this.faker.hacker.verb()} ${this.faker.hacker.adjective()} ${this.faker.hacker.noun()}`}commitDate(t={}){let{refDate:n=this.faker.defaultRefDate()}=t,r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],i=this.faker.date.recent({days:1,refDate:n}),o=r[i.getUTCDay()],l=a[i.getUTCMonth()],s=i.getUTCDate(),u=i.getUTCHours().toString().padStart(2,"0"),c=i.getUTCMinutes().toString().padStart(2,"0"),d=i.getUTCSeconds().toString().padStart(2,"0"),f=i.getUTCFullYear(),p=this.faker.number.int({min:-11,max:12}),h=Math.abs(p).toString().padStart(2,"0"),m="00",v=p>=0?"+":"-";return`${o} ${l} ${s} ${u}:${c}:${d} ${f} ${v}${h}${m}`}commitSha(t={}){let{length:n=40}=t;return this.faker.string.hexadecimal({length:n,casing:"lower",prefix:""})}},$6e=class extends ri{abbreviation(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.abbreviation)}adjective(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.adjective)}noun(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.noun)}verb(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.verb)}ingverb(){return this.faker.helpers.arrayElement(this.faker.definitions.hacker.ingverb)}phrase(){let t={abbreviation:this.abbreviation,adjective:this.adjective,ingverb:this.ingverb,noun:this.noun,verb:this.verb},n=this.faker.helpers.arrayElement(this.faker.definitions.hacker.phrase);return this.faker.helpers.mustache(n,t)}};function V6e(e){let{deprecated:t,since:n,until:r,proposed:a}=e,i=`[@faker-js/faker]: ${t} is deprecated`;n&&(i+=` since v${n}`),r&&(i+=` and will be removed in v${r}`),a&&(i+=`. Please use ${a} instead`),console.warn(`${i}.`)}var H6e=class extends ri{avatar(){return this.faker.helpers.arrayElement([this.personPortrait,this.avatarGitHub])()}avatarGitHub(){return`https://avatars.githubusercontent.com/u/${this.faker.number.int(1e8)}`}personPortrait(t={}){let{sex:n=this.faker.person.sexType(),size:r=512}=t;return`https://cdn.jsdelivr.net/gh/faker-js/assets-person-portrait/${n}/${r}/${this.faker.number.int({min:0,max:99})}.jpg`}url(t={}){let{width:n=this.faker.number.int({min:1,max:3999}),height:r=this.faker.number.int({min:1,max:3999})}=t;return this.faker.helpers.arrayElement([({width:a,height:i})=>this.urlPicsumPhotos({width:a,height:i,grayscale:!1,blur:0})])({width:n,height:r})}urlLoremFlickr(t={}){V6e({deprecated:"faker.image.urlLoremFlickr()",proposed:"faker.image.url()",since:"10.1.0",until:"11.0.0"});let{width:n=this.faker.number.int({min:1,max:3999}),height:r=this.faker.number.int({min:1,max:3999}),category:a}=t;return`https://loremflickr.com/${n}/${r}${a==null?"":`/${a}`}?lock=${this.faker.number.int()}`}urlPicsumPhotos(t={}){let{width:n=this.faker.number.int({min:1,max:3999}),height:r=this.faker.number.int({min:1,max:3999}),grayscale:a=this.faker.datatype.boolean(),blur:i=this.faker.number.int({max:10})}=t,o=`https://picsum.photos/seed/${this.faker.string.alphanumeric({length:{min:5,max:10}})}/${n}/${r}`,l=typeof i=="number"&&i>=1&&i<=10;return(a||l)&&(o+="?",a&&(o+="grayscale"),a&&l&&(o+="&"),l&&(o+=`blur=${i}`)),o}dataUri(t={}){let{width:n=this.faker.number.int({min:1,max:3999}),height:r=this.faker.number.int({min:1,max:3999}),color:a=this.faker.color.rgb(),type:i=this.faker.helpers.arrayElement(["svg-uri","svg-base64"])}=t,o=`${n}x${r}`;return i==="svg-uri"?`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(o)}`:`data:image/svg+xml;base64,${kae(o)}`}};function z6e(e,t,n=r=>r){let r={};for(let a of e){let i=t(a);r[i]===void 0&&(r[i]=[]),r[i].push(n(a))}return r}var mE={fail:()=>{throw new Wn("No words found that match the given length.")},closest:(e,t)=>{let n=z6e(e,l=>l.length),r=Object.keys(n).map(Number),a=Math.min(...r),i=Math.max(...r),o=Math.min(t.min-a,i-t.max);return e.filter(l=>l.length===t.min-o||l.length===t.max+o)},shortest:e=>{let t=Math.min(...e.map(n=>n.length));return e.filter(n=>n.length===t)},longest:e=>{let t=Math.max(...e.map(n=>n.length));return e.filter(n=>n.length===t)},"any-length":e=>[...e]};function sf(e){let{wordList:t,length:n,strategy:r="fail"}=e;if(n!=null){let a=typeof n=="number"?o=>o.length===n:o=>o.length>=n.min&&o.length<=n.max,i=t.filter(a);return i.length>0?i:typeof n=="number"?mE[r](t,{min:n,max:n}):mE[r](t,n)}else if(r==="shortest"||r==="longest")return mE[r](t);return[...t]}var W6e=class extends ri{word(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(sf(Et(Te({},t),{wordList:this.faker.definitions.lorem.word})))}words(t=3){return this.faker.helpers.multiple(()=>this.word(),{count:t}).join(" ")}sentence(t={min:3,max:10}){let n=this.words(t);return`${n.charAt(0).toUpperCase()+n.substring(1)}.`}slug(t=3){let n=this.words(t);return this.faker.helpers.slugify(n)}sentences(t={min:2,max:6},n=" "){return this.faker.helpers.multiple(()=>this.sentence(),{count:t}).join(n)}paragraph(t=3){return this.sentences(t)}paragraphs(t=3,n=` `){return this.faker.helpers.multiple(()=>this.paragraph(),{count:t}).join(n)}text(){let t=["sentence","sentences","paragraph","paragraphs","lines"],n=this.faker.helpers.arrayElement(t);return this[n]()}lines(t={min:1,max:5}){return this.sentences(t,` `)}},G6e=class extends ri{album(){return this.faker.helpers.arrayElement(this.faker.definitions.music.album)}artist(){return this.faker.helpers.arrayElement(this.faker.definitions.music.artist)}genre(){return this.faker.helpers.arrayElement(this.faker.definitions.music.genre)}songName(){return this.faker.helpers.arrayElement(this.faker.definitions.music.song_name)}},j6e=class extends ri{number(t={}){let{style:n="human"}=t,r=this.faker.definitions.phone_number.format[n];if(!r)throw new Error(`No definitions for ${n} in this locale`);let a=this.faker.helpers.arrayElement(r);return Lae(this.faker,a)}imei(){return this.faker.helpers.replaceCreditCardSymbols("##-######-######-L","#")}},K6e=class extends ri{chemicalElement(){return this.faker.helpers.arrayElement(this.faker.definitions.science.chemical_element)}unit(){return this.faker.helpers.arrayElement(this.faker.definitions.science.unit)}},U6e=["video","audio","image","text","application"],q6e=["application/pdf","audio/mpeg","audio/wav","image/png","image/jpeg","image/gif","video/mp4","video/mpeg","text/html"],Y6e=["en","wl","ww"],lH={index:"o",slot:"s",mac:"x",pci:"p"},J6e=["SUN","MON","TUE","WED","THU","FRI","SAT"],X6e=class extends ri{fileName(t={}){let{extensionCount:n=1}=t,r=this.faker.word.words().toLowerCase().replaceAll(/\W/g,"_"),a=this.faker.helpers.multiple(()=>this.fileExt(),{count:n}).join(".");return a.length===0?r:`${r}.${a}`}commonFileName(t){return`${this.fileName({extensionCount:0})}.${t||this.commonFileExt()}`}mimeType(){let t=Object.keys(this.faker.definitions.system.mime_type);return this.faker.helpers.arrayElement(t)}commonFileType(){return this.faker.helpers.arrayElement(U6e)}commonFileExt(){return this.fileExt(this.faker.helpers.arrayElement(q6e))}fileType(){let t=this.faker.definitions.system.mime_type,n=new Set(Object.keys(t).map(r=>r.split("/")[0]));return this.faker.helpers.arrayElement([...n])}fileExt(t){let n=this.faker.definitions.system.mime_type;if(typeof t=="string")return this.faker.helpers.arrayElement(n[t].extensions);let r=new Set(Object.values(n).flatMap(({extensions:a})=>a));return this.faker.helpers.arrayElement([...r])}directoryPath(){let t=this.faker.definitions.system.directory_path;return this.faker.helpers.arrayElement(t)}filePath(){return`${this.directoryPath()}/${this.fileName()}`}semver(){return[this.faker.number.int(9),this.faker.number.int(20),this.faker.number.int(20)].join(".")}networkInterface(t={}){var o,l,s,u,c;let{interfaceType:n=this.faker.helpers.arrayElement(Y6e),interfaceSchema:r=this.faker.helpers.objectKey(lH)}=t,a,i="";switch(r){case"index":{a=this.faker.string.numeric();break}case"slot":{a=`${this.faker.string.numeric()}${(o=this.faker.helpers.maybe(()=>`f${this.faker.string.numeric()}`))!=null?o:""}${(l=this.faker.helpers.maybe(()=>`d${this.faker.string.numeric()}`))!=null?l:""}`;break}case"mac":{a=this.faker.internet.mac("");break}case"pci":{i=(s=this.faker.helpers.maybe(()=>`P${this.faker.string.numeric()}`))!=null?s:"",a=`${this.faker.string.numeric()}s${this.faker.string.numeric()}${(u=this.faker.helpers.maybe(()=>`f${this.faker.string.numeric()}`))!=null?u:""}${(c=this.faker.helpers.maybe(()=>`d${this.faker.string.numeric()}`))!=null?c:""}`;break}}return`${i}${n}${lH[r]}${a}`}cron(t={}){let{includeYear:n=!1,includeNonStandard:r=!1}=t,a=[this.faker.number.int(59),"*"],i=[this.faker.number.int(23),"*"],o=[this.faker.number.int({min:1,max:31}),"*","?"],l=[this.faker.number.int({min:1,max:12}),"*"],s=[this.faker.number.int(6),this.faker.helpers.arrayElement(J6e),"*","?"],u=[this.faker.number.int({min:1970,max:2099}),"*"],c=this.faker.helpers.arrayElement(a),d=this.faker.helpers.arrayElement(i),f=this.faker.helpers.arrayElement(o),p=this.faker.helpers.arrayElement(l),h=this.faker.helpers.arrayElement(s),m=this.faker.helpers.arrayElement(u),v=`${c} ${d} ${f} ${p} ${h}`;n&&(v+=` ${m}`);let g=["@annually","@daily","@hourly","@monthly","@reboot","@weekly","@yearly"];return!r||this.faker.datatype.boolean()?v:this.faker.helpers.arrayElement(g)}},Z6e=class extends ri{vehicle(){return`${this.manufacturer()} ${this.model()}`}manufacturer(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.manufacturer)}model(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.model)}type(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.type)}fuel(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.fuel)}vin(){let t=["o","i","q","O","I","Q"];return`${this.faker.string.alphanumeric({length:10,casing:"upper",exclude:t})}${this.faker.string.alpha({length:1,casing:"upper",exclude:t})}${this.faker.string.alphanumeric({length:1,casing:"upper",exclude:t})}${this.faker.string.numeric({length:5,allowLeadingZeros:!0})}`}color(){return this.faker.color.human()}vrm(){return`${this.faker.string.alpha({length:2,casing:"upper"})}${this.faker.string.numeric({length:2,allowLeadingZeros:!0})}${this.faker.string.alpha({length:3,casing:"upper"})}`}bicycle(){return this.faker.helpers.arrayElement(this.faker.definitions.vehicle.bicycle_type)}},Q6e=class extends ri{adjective(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(sf(Et(Te({},t),{wordList:this.faker.definitions.word.adjective})))}adverb(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(sf(Et(Te({},t),{wordList:this.faker.definitions.word.adverb})))}conjunction(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(sf(Et(Te({},t),{wordList:this.faker.definitions.word.conjunction})))}interjection(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(sf(Et(Te({},t),{wordList:this.faker.definitions.word.interjection})))}noun(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(sf(Et(Te({},t),{wordList:this.faker.definitions.word.noun})))}preposition(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(sf(Et(Te({},t),{wordList:this.faker.definitions.word.preposition})))}verb(t={}){return typeof t=="number"&&(t={length:t}),this.faker.helpers.arrayElement(sf(Et(Te({},t),{wordList:this.faker.definitions.word.verb})))}sample(t={}){let n=this.faker.helpers.shuffle([this.adjective,this.adverb,this.conjunction,this.interjection,this.noun,this.preposition,this.verb]);for(let r of n)try{return r(t)}catch(a){continue}throw new Wn("No matching word data available for the current locale")}words(t={}){typeof t=="number"&&(t={count:t});let{count:n={min:1,max:3}}=t;return this.faker.helpers.multiple(()=>this.sample(),{count:n}).join(" ")}},eCe=class extends Nae{constructor(n){super({randomizer:n.randomizer,seed:n.seed});Hn(this,"rawDefinitions");Hn(this,"definitions");Hn(this,"airline",new V7e(this));Hn(this,"animal",new D6e(this));Hn(this,"book",new T6e(this));Hn(this,"color",new W7e(this));Hn(this,"commerce",new x6e(this));Hn(this,"company",new M6e(this));Hn(this,"database",new B6e(this));Hn(this,"date",new c6e(this));Hn(this,"finance",new O6e(this));Hn(this,"food",new P6e(this));Hn(this,"git",new N6e(this));Hn(this,"hacker",new $6e(this));Hn(this,"helpers",new C6e(this));Hn(this,"image",new H6e(this));Hn(this,"internet",new e6e(this));Hn(this,"location",new F6e(this));Hn(this,"lorem",new W6e(this));Hn(this,"music",new G6e(this));Hn(this,"person",new t6e(this));Hn(this,"phone",new j6e(this));Hn(this,"science",new K6e(this));Hn(this,"system",new X6e(this));Hn(this,"vehicle",new Z6e(this));Hn(this,"word",new Q6e(this));let{locale:r}=n;if(Array.isArray(r)){if(r.length===0)throw new Wn("The locale option must contain at least one locale definition.");r=A6e(r)}this.rawDefinitions=r,this.definitions=s6e(this.rawDefinitions)}getMetadata(){var n;return(n=this.rawDefinitions.metadata)!=null?n:{}}},tCe=["Academy Color Encoding System (ACES)","Adobe RGB","Adobe Wide Gamut RGB","British Standard Colour (BS)","CIE 1931 XYZ","CIELAB","CIELUV","CIEUVW","CMY","CMYK","DCI-P3","Display-P3","Federal Standard 595C","HKS","HSL","HSLA","HSLuv","HSV","HWB","LCh","LMS","Munsell Color System","Natural Color System (NSC)","Pantone Matching System (PMS)","ProPhoto RGB Color Space","RAL","RG","RGBA","RGK","Rec. 2020","Rec. 2100","Rec. 601","Rec. 709","Uniform Color Spaces (UCSs)","YDbDr","YIQ","YPbPr","sRGB","sYCC","scRGB","xvYCC"],nCe={space:tCe},rCe=nCe,aCe=["ascii_bin","ascii_general_ci","cp1250_bin","cp1250_general_ci","utf8_bin","utf8_general_ci","utf8_unicode_ci"],iCe=["ARCHIVE","BLACKHOLE","CSV","InnoDB","MEMORY","MyISAM"],oCe=["bigint","binary","bit","blob","boolean","date","datetime","decimal","double","enum","float","geometry","int","mediumint","point","real","serial","set","smallint","text","time","timestamp","tinyint","varchar"],lCe={collation:aCe,engine:iCe,type:oCe},sCe=lCe,$ae=["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmara","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Aruba","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Cayman","America/Chicago","America/Chihuahua","America/Ciudad_Juarez","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Dominica","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fort_Nelson","America/Fortaleza","America/Glace_Bay","America/Goose_Bay","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Kralendijk","America/La_Paz","America/Lima","America/Los_Angeles","America/Lower_Princes","America/Maceio","America/Managua","America/Manaus","America/Marigot","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Montserrat","America/Nassau","America/New_York","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Nuuk","America/Ojinaga","America/Panama","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Barthelemy","America/St_Johns","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Tijuana","America/Toronto","America/Tortola","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/McMurdo","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Arctic/Longyearbyen","Asia/Aden","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Bahrain","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Kuwait","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Muscat","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Phnom_Penh","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vientiane","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/St_Helena","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Busingen","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Guernsey","Europe/Helsinki","Europe/Isle_of_Man","Europe/Istanbul","Europe/Jersey","Europe/Kaliningrad","Europe/Kirov","Europe/Kyiv","Europe/Lisbon","Europe/Ljubljana","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Mariehamn","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/San_Marino","Europe/Sarajevo","Europe/Saratov","Europe/Simferopol","Europe/Skopje","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zagreb","Europe/Zurich","Indian/Antananarivo","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Comoro","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Mayotte","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kanton","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Midway","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Saipan","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"],uCe={time_zone:$ae},cCe=uCe,dCe=["ADP","AGP","AI","API","ASCII","CLI","COM","CSS","DNS","DRAM","EXE","FTP","GB","HDD","HEX","HTTP","IB","IP","JBOD","JSON","OCR","PCI","PNG","RAM","RSS","SAS","SCSI","SDD","SMS","SMTP","SQL","SSD","SSL","TCP","THX","TLS","UDP","USB","UTF8","VGA","XML","XSS"],fCe={abbreviation:dCe},pCe=fCe,hCe={smiley:["☠️","☹️","☺️","❣️","❤️","❤️‍🔥","❤️‍🩹","👁️‍🗨️","👹","👺","👻","👽","👾","👿","💀","💋","💌","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💢","💣","💤","💥","💦","💨","💩","💫","💬","💭","💯","🕳️","🖤","🗨️","🗯️","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😮‍💨","😯","😰","😱","😲","😳","😴","😵","😵‍💫","😶","😶‍🌫️","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙈","🙉","🙊","🤍","🤎","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤠","🤡","🤢","🤣","🤤","🤥","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🥰","🥱","🥲","🥳","🥴","🥵","🥶","🥸","🥺","🧐","🧡"],body:["☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","✊","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✋","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","👀","👁️","👂","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👃","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👄","👅","👆","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👇","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👈","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👉","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👊","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👋","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👌","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👍","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👎","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👏","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👐","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","💅","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💪","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖖","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🙌","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙏","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🤌","🤌🏻","🤌🏼","🤌🏽","🤌🏾","🤌🏿","🤏","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤘","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤙","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤚","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤛","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤜","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤝","🤞","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤟","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤲","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤳","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🦴","🦵","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦶","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦷","🦻","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦾","🦿","🧠","🫀","🫁"],person:["🎅","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","👦","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👧","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👨","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍🌾","👨‍🍳","👨‍🍼","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍🦰","👨‍🦱","👨‍🦲","👨‍🦳","👨🏻","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🍼","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍🦰","👨🏻‍🦱","👨🏻‍🦲","👨🏻‍🦳","👨🏼","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🍼","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍🦰","👨🏼‍🦱","👨🏼‍🦲","👨🏼‍🦳","👨🏽","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🍼","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍🦰","👨🏽‍🦱","👨🏽‍🦲","👨🏽‍🦳","👨🏾","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🍼","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍🦰","👨🏾‍🦱","👨🏾‍🦲","👨🏾‍🦳","👨🏿","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🍼","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍🦰","👨🏿‍🦱","👨🏿‍🦲","👨🏿‍🦳","👩","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍🌾","👩‍🍳","👩‍🍼","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍🦰","👩‍🦱","👩‍🦲","👩‍🦳","👩🏻","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🍼","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍🦰","👩🏻‍🦱","👩🏻‍🦲","👩🏻‍🦳","👩🏼","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🍼","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍🦰","👩🏼‍🦱","👩🏼‍🦲","👩🏼‍🦳","👩🏽","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🍼","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍🦰","👩🏽‍🦱","👩🏽‍🦲","👩🏽‍🦳","👩🏾","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🍼","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍🦰","👩🏾‍🦱","👩🏾‍🦲","👩🏾‍🦳","👩🏿","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🍼","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍🦰","👩🏿‍🦱","👩🏿‍🦲","👩🏿‍🦳","👮","👮‍♀️","👮‍♂️","👮🏻","👮🏻‍♀️","👮🏻‍♂️","👮🏼","👮🏼‍♀️","👮🏼‍♂️","👮🏽","👮🏽‍♀️","👮🏽‍♂️","👮🏾","👮🏾‍♀️","👮🏾‍♂️","👮🏿","👮🏿‍♀️","👮🏿‍♂️","👰","👰‍♀️","👰‍♂️","👰🏻","👰🏻‍♀️","👰🏻‍♂️","👰🏼","👰🏼‍♀️","👰🏼‍♂️","👰🏽","👰🏽‍♀️","👰🏽‍♂️","👰🏾","👰🏾‍♀️","👰🏾‍♂️","👰🏿","👰🏿‍♀️","👰🏿‍♂️","👱","👱‍♀️","👱‍♂️","👱🏻","👱🏻‍♀️","👱🏻‍♂️","👱🏼","👱🏼‍♀️","👱🏼‍♂️","👱🏽","👱🏽‍♀️","👱🏽‍♂️","👱🏾","👱🏾‍♀️","👱🏾‍♂️","👱🏿","👱🏿‍♀️","👱🏿‍♂️","👲","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👳","👳‍♀️","👳‍♂️","👳🏻","👳🏻‍♀️","👳🏻‍♂️","👳🏼","👳🏼‍♀️","👳🏼‍♂️","👳🏽","👳🏽‍♀️","👳🏽‍♂️","👳🏾","👳🏾‍♀️","👳🏾‍♂️","👳🏿","👳🏿‍♀️","👳🏿‍♂️","👴","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👵","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👶","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👷","👷‍♀️","👷‍♂️","👷🏻","👷🏻‍♀️","👷🏻‍♂️","👷🏼","👷🏼‍♀️","👷🏼‍♂️","👷🏽","👷🏽‍♀️","👷🏽‍♂️","👷🏾","👷🏾‍♀️","👷🏾‍♂️","👷🏿","👷🏿‍♀️","👷🏿‍♂️","👸","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👼","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","💁","💁‍♀️","💁‍♂️","💁🏻","💁🏻‍♀️","💁🏻‍♂️","💁🏼","💁🏼‍♀️","💁🏼‍♂️","💁🏽","💁🏽‍♀️","💁🏽‍♂️","💁🏾","💁🏾‍♀️","💁🏾‍♂️","💁🏿","💁🏿‍♀️","💁🏿‍♂️","💂","💂‍♀️","💂‍♂️","💂🏻","💂🏻‍♀️","💂🏻‍♂️","💂🏼","💂🏼‍♀️","💂🏼‍♂️","💂🏽","💂🏽‍♀️","💂🏽‍♂️","💂🏾","💂🏾‍♀️","💂🏾‍♂️","💂🏿","💂🏿‍♀️","💂🏿‍♂️","💆","💆‍♀️","💆‍♂️","💆🏻","💆🏻‍♀️","💆🏻‍♂️","💆🏼","💆🏼‍♀️","💆🏼‍♂️","💆🏽","💆🏽‍♀️","💆🏽‍♂️","💆🏾","💆🏾‍♀️","💆🏾‍♂️","💆🏿","💆🏿‍♀️","💆🏿‍♂️","💇","💇🏻","💇🏼","💇🏽","🕵🏻","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏼","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏽","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏾","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏿","🕵🏿‍♀️","🕵🏿‍♂️","🕵️","🕵️‍♀️","🕵️‍♂️","🙅","🙅‍♀️","🙅‍♂️","🙅🏻","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏼","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏽","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏾","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏿","🙅🏿‍♀️","🙅🏿‍♂️","🙆","🙆‍♀️","🙆‍♂️","🙆🏻","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏼","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏽","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏾","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏿","🙆🏿‍♀️","🙆🏿‍♂️","🙇","🙇‍♀️","🙇‍♂️","🙇🏻","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏼","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏽","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏾","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏿","🙇🏿‍♀️","🙇🏿‍♂️","🙋","🙋‍♀️","🙋‍♂️","🙋🏻","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏼","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏽","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏾","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏿","🙋🏿‍♀️","🙋🏿‍♂️","🙍","🙍‍♀️","🙍‍♂️","🙍🏻","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏼","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏽","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏾","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏿","🙍🏿‍♀️","🙍🏿‍♂️","🙎","🙎‍♀️","🙎‍♂️","🙎🏻","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏼","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏽","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏾","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏿","🙎🏿‍♀️","🙎🏿‍♂️","🤦","🤦‍♀️","🤦‍♂️","🤦🏻","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏼","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏽","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏾","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏿","🤦🏿‍♀️","🤦🏿‍♂️","🤰","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤱","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤴","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤵","🤵‍♀️","🤵‍♂️","🤵🏻","🤵🏻‍♀️","🤵🏻‍♂️","🤵🏼","🤵🏼‍♀️","🤵🏼‍♂️","🤵🏽","🤵🏽‍♀️","🤵🏽‍♂️","🤵🏾","🤵🏾‍♀️","🤵🏾‍♂️","🤵🏿","🤵🏿‍♀️","🤵🏿‍♂️","🤶","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤷","🤷‍♀️","🤷‍♂️","🤷🏻","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏼","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏽","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏾","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏿","🤷🏿‍♀️","🤷🏿‍♂️","🥷","🥷🏻","🥷🏼","🥷🏽","🥷🏾","🥷🏿","🦸","🦸‍♀️","🦸‍♂️","🦸🏻","🦸🏻‍♀️","🦸🏻‍♂️","🦸🏼","🦸🏼‍♀️","🦸🏼‍♂️","🦸🏽","🦸🏽‍♀️","🦸🏽‍♂️","🦸🏾","🦸🏾‍♀️","🦸🏾‍♂️","🦸🏿","🦸🏿‍♀️","🦸🏿‍♂️","🦹","🦹‍♀️","🦹‍♂️","🦹🏻","🦹🏻‍♀️","🦹🏻‍♂️","🦹🏼","🦹🏼‍♀️","🦹🏼‍♂️","🦹🏽","🦹🏽‍♀️","🦹🏽‍♂️","🦹🏾","🦹🏾‍♀️","🦹🏾‍♂️","🦹🏿","🦹🏿‍♀️","🦹🏿‍♂️","🧏","🧏‍♀️","🧏‍♂️","🧏🏻","🧏🏻‍♀️","🧏🏻‍♂️","🧏🏼","🧏🏼‍♀️","🧏🏼‍♂️","🧏🏽","🧏🏽‍♀️","🧏🏽‍♂️","🧏🏾","🧏🏾‍♀️","🧏🏾‍♂️","🧏🏿","🧏🏿‍♀️","🧏🏿‍♂️","🧑","🧑‍⚕️","🧑‍⚖️","🧑‍✈️","🧑‍🌾","🧑‍🍳","🧑‍🍼","🧑‍🎄","🧑‍🎓","🧑‍🎤","🧑‍🎨","🧑‍🏫","🧑‍🏭","🧑‍💻","🧑‍💼","🧑‍🔧","🧑‍🔬","🧑‍🚀","🧑‍🚒","🧑‍🦰","🧑‍🦱","🧑‍🦲","🧑‍🦳","🧑🏻","🧑🏻‍⚕️","🧑🏻‍⚖️","🧑🏻‍✈️","🧑🏻‍🌾","🧑🏻‍🍳","🧑🏻‍🍼","🧑🏻‍🎄","🧑🏻‍🎓","🧑🏻‍🎤","🧑🏻‍🎨","🧑🏻‍🏫","🧑🏻‍🏭","🧑🏻‍💻","🧑🏻‍💼","🧑🏻‍🔧","🧑🏻‍🔬","🧑🏻‍🚀","🧑🏻‍🚒","🧑🏻‍🦰","🧑🏻‍🦱","🧑🏻‍🦲","🧑🏻‍🦳","🧑🏼","🧑🏼‍⚕️","🧑🏼‍⚖️","🧑🏼‍✈️","🧑🏼‍🌾","🧑🏼‍🍳","🧑🏼‍🍼","🧑🏼‍🎄","🧑🏼‍🎓","🧑🏼‍🎤","🧑🏼‍🎨","🧑🏼‍🏫","🧑🏼‍🏭","🧑🏼‍💻","🧑🏼‍💼","🧑🏼‍🔧","🧑🏼‍🔬","🧑🏼‍🚀","🧑🏼‍🚒","🧑🏼‍🦰","🧑🏼‍🦱","🧑🏼‍🦲","🧑🏼‍🦳","🧑🏽","🧑🏽‍⚕️","🧑🏽‍⚖️","🧑🏽‍✈️","🧑🏽‍🌾","🧑🏽‍🍳","🧑🏽‍🍼","🧑🏽‍🎄","🧑🏽‍🎓","🧑🏽‍🎤","🧑🏽‍🎨","🧑🏽‍🏫","🧑🏽‍🏭","🧑🏽‍💻","🧑🏽‍💼","🧑🏽‍🔧","🧑🏽‍🔬","🧑🏽‍🚀","🧑🏽‍🚒","🧑🏽‍🦰","🧑🏽‍🦱","🧑🏽‍🦲","🧑🏽‍🦳","🧑🏾","🧑🏾‍⚕️","🧑🏾‍⚖️","🧑🏾‍✈️","🧑🏾‍🌾","🧑🏾‍🍳","🧑🏾‍🍼","🧑🏾‍🎄","🧑🏾‍🎓","🧑🏾‍🎤","🧑🏾‍🎨","🧑🏾‍🏫","🧑🏾‍🏭","🧑🏾‍💻","🧑🏾‍💼","🧑🏾‍🔧","🧑🏾‍🔬","🧑🏾‍🚀","🧑🏾‍🚒","🧑🏾‍🦰","🧑🏾‍🦱","🧑🏾‍🦲","🧑🏾‍🦳","🧑🏿","🧑🏿‍⚕️","🧑🏿‍⚖️","🧑🏿‍✈️","🧑🏿‍🌾","🧑🏿‍🍳","🧑🏿‍🍼","🧑🏿‍🎄","🧑🏿‍🎓","🧑🏿‍🎤","🧑🏿‍🎨","🧑🏿‍🏫","🧑🏿‍🏭","🧑🏿‍💻","🧑🏿‍💼","🧑🏿‍🔧","🧑🏿‍🔬","🧑🏿‍🚀","🧑🏿‍🚒","🧑🏿‍🦰","🧑🏿‍🦱","🧑🏿‍🦲","🧑🏿‍🦳","🧒","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧓","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧔","🧔‍♀️","🧔‍♂️","🧔🏻","🧔🏻‍♀️","🧔🏻‍♂️","🧔🏼","🧔🏼‍♀️","🧔🏼‍♂️","🧔🏽","🧔🏽‍♀️","🧔🏽‍♂️","🧔🏾","🧔🏾‍♀️","🧔🏾‍♂️","🧔🏿","🧔🏿‍♀️","🧔🏿‍♂️","🧕","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧙","🧙‍♀️","🧙‍♂️","🧙🏻","🧙🏻‍♀️","🧙🏻‍♂️","🧙🏼","🧙🏼‍♀️","🧙🏼‍♂️","🧙🏽","🧙🏽‍♀️","🧙🏽‍♂️","🧙🏾","🧙🏾‍♀️","🧙🏾‍♂️","🧙🏿","🧙🏿‍♀️","🧙🏿‍♂️","🧚","🧚‍♀️","🧚‍♂️","🧚🏻","🧚🏻‍♀️","🧚🏻‍♂️","🧚🏼","🧚🏼‍♀️","🧚🏼‍♂️","🧚🏽","🧚🏽‍♀️","🧚🏽‍♂️","🧚🏾","🧚🏾‍♀️","🧚🏾‍♂️","🧚🏿","🧚🏿‍♀️","🧚🏿‍♂️","🧛","🧛‍♀️","🧛‍♂️","🧛🏻","🧛🏻‍♀️","🧛🏻‍♂️","🧛🏼","🧛🏼‍♀️","🧛🏼‍♂️","🧛🏽","🧛🏽‍♀️","🧛🏽‍♂️","🧛🏾","🧛🏾‍♀️","🧛🏾‍♂️","🧛🏿","🧛🏿‍♀️","🧛🏿‍♂️","🧜","🧜‍♀️","🧜‍♂️","🧜🏻","🧜🏻‍♀️","🧜🏻‍♂️","🧜🏼","🧜🏼‍♀️","🧜🏼‍♂️","🧜🏽","🧜🏽‍♀️","🧜🏽‍♂️","🧜🏾","🧜🏾‍♀️","🧜🏾‍♂️","🧜🏿","🧜🏿‍♀️","🧜🏿‍♂️","🧝","🧝‍♀️","🧝‍♂️","🧝🏻","🧝🏻‍♀️","🧝🏻‍♂️","🧝🏼","🧝🏼‍♀️","🧝🏼‍♂️","🧝🏽","🧝🏽‍♀️","🧝🏽‍♂️","🧝🏾","🧝🏾‍♀️","🧝🏾‍♂️","🧝🏿","🧝🏿‍♀️","🧝🏿‍♂️","🧞","🧞‍♀️","🧞‍♂️","🧟","🧟‍♀️","🧟‍♂️"],nature:["☘️","🌱","🌲","🌳","🌴","🌵","🌷","🌸","🌹","🌺","🌻","🌼","🌾","🌿","🍀","🍁","🍂","🍃","🏵️","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐈‍⬛","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕","🐕‍🦺","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐻‍❄️","🐼","🐽","🐾","🐿️","💐","💮","🕊️","🕷️","🕸️","🥀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦟","🦠","🦡","🦢","🦣","🦤","🦥","🦦","🦧","🦨","🦩","🦫","🦬","🦭","🦮","🪰","🪱","🪲","🪳","🪴","🪶"],food:["☕","🌭","🌮","🌯","🌰","🌶️","🌽","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎂","🏺","🔪","🥂","🥃","🥄","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🦀","🦐","🦑","🦞","🦪","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧋","🫐","🫑","🫒","🫓","🫔","🫕","🫖"],travel:["⌚","⌛","⏰","⏱️","⏲️","⏳","☀️","☁️","☂️","☃️","☄️","☔","♨️","⚓","⚡","⛄","⛅","⛈️","⛩️","⛪","⛰️","⛱️","⛲","⛴️","⛵","⛺","⛽","✈️","❄️","⭐","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🎠","🎡","🎢","🎪","🏍️","🏎️","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏨","🏩","🏪","🏫","🏬","🏭","🏯","🏰","💈","💒","💧","💺","🔥","🕋","🕌","🕍","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕰️","🗺️","🗻","🗼","🗽","🗾","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚤","🚥","🚦","🚧","🚨","🚲","🛎️","🛑","🛕","🛖","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛸","🛹","🛺","🛻","🛼","🦼","🦽","🧭","🧱","🧳","🪂","🪐","🪨","🪵"],activity:["♟️","♠️","♣️","♥️","♦️","⚽","⚾","⛳","⛸️","✨","🀄","🃏","🎀","🎁","🎃","🎄","🎆","🎇","🎈","🎉","🎊","🎋","🎍","🎎","🎏","🎐","🎑","🎖️","🎗️","🎟️","🎣","🎨","🎫","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎽","🎾","🎿","🏀","🏅","🏆","🏈","🏉","🏏","🏐","🏑","🏒","🏓","🏸","🔮","🕹️","🖼️","🛷","🤿","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🧧","🧨","🧩","🧵","🧶","🧸","🧿","🪀","🪁","🪄","🪅","🪆","🪡","🪢"],object:["⌨️","☎️","⚒️","⚔️","⚖️","⚗️","⚙️","⚰️","⚱️","⛏️","⛑️","⛓️","✂️","✉️","✏️","✒️","🎒","🎓","🎙️","🎚️","🎛️","🎞️","🎤","🎥","🎧","🎩","🎬","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🏮","🏷️","🏹","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","💄","💉","💊","💍","💎","💡","💰","💳","💴","💵","💶","💷","💸","💹","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📷","📸","📹","📺","📻","📼","📽️","📿","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔦","🔧","🔨","🔩","🔫","🔬","🔭","🕯️","🕶️","🖇️","🖊️","🖋️","🖌️","🖍️","🖥️","🖨️","🖱️","🖲️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗳️","🗿","🚪","🚬","🚽","🚿","🛁","🛋️","🛍️","🛏️","🛒","🛗","🛠️","🛡️","🥁","🥻","🥼","🥽","🥾","🥿","🦯","🦺","🧢","🧣","🧤","🧥","🧦","🧪","🧫","🧬","🧮","🧯","🧰","🧲","🧴","🧷","🧹","🧺","🧻","🧼","🧽","🧾","🩰","🩱","🩲","🩳","🩴","🩸","🩹","🩺","🪃","🪑","🪒","🪓","🪔","🪕","🪖","🪗","🪘","🪙","🪚","🪛","🪜","🪝","🪞","🪟","🪠","🪣","🪤","🪥","🪦","🪧"],symbol:["#️⃣","*️⃣","0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣","©️","®️","‼️","⁉️","™️","ℹ️","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽","◾","☑️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","♀️","♂️","♈","♉","♊","♋","♌","♍","♎","♏","♐","♑","♒","♓","♻️","♾️","♿","⚕️","⚛️","⚜️","⚠️","⚧️","⚪","⚫","⛎","⛔","✅","✔️","✖️","✝️","✡️","✳️","✴️","❇️","❌","❎","❓","❔","❕","❗","➕","➖","➗","➡️","➰","➿","⤴️","⤵️","⬅️","⬆️","⬇️","⬛","⬜","⭕","〰️","〽️","㊗️","㊙️","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🈁","🈂️","🈚","🈯","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🎦","🏧","💠","💱","💲","📛","📳","📴","📵","📶","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕎","🚫","🚭","🚮","🚯","🚰","🚱","🚳","🚷","🚸","🚹","🚺","🚻","🚼","🚾","🛂","🛃","🛄","🛅","🛐","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫"],flag:["🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇴🇲","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇶🇦","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇼🇫","🇼🇸","🇽🇰","🇾🇪","🇾🇹","🇿🇦","🇿🇲","🇿🇼","🎌","🏁","🏳️","🏳️‍⚧️","🏳️‍🌈","🏴","🏴‍☠️","🚩"]},mCe={informational:[100,101,102,103],success:[200,201,202,203,204,205,206,207,208,226],redirection:[300,301,302,303,304,305,306,307,308],clientError:[400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,421,422,423,424,425,426,428,429,431,451],serverError:[500,501,502,503,504,505,506,507,508,510,511]},vCe=["ES256","ES384","ES512","HS256","HS384","HS512","PS256","PS384","PS512","RS256","RS384","RS512","none"],gCe=["FakerBot/{{system.semver}}","Googlebot/2.1 (+http://www.google.com/bot.html)",'Mozilla/5.0 (Linux; Android {{number.int({"min":5,"max":13})}}; {{helpers.arrayElement(["SM-G998U","SM-G998B","SM-G998N","SM-G998P","SM-T800"])}}) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Chrome/{{number.int({"min":55,"max":131})}}.{{system.semver}} Mobile Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}','Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:{{number.int({"min":75, "max":133})}}.0) Gecko/20100101 Firefox/{{number.int({"min":75, "max":133})}}.0','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Version/16.1 Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}}','Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_15_7) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Chrome/{{number.int({"min":55,"max":131})}}.{{system.semver}} Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}}','Mozilla/5.0 (Windows NT {{helpers.arrayElement(["5.1","5.2","6.0","6.1","6.2","6.3","10.0"])}}; Win64; x64) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Chrome/{{number.int({"min":55,"max":131})}}.{{system.semver}} Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}} Edg/{{number.int({"min":110,"max":131})}}.{{system.semver}}','Mozilla/5.0 (X11; Linux x86_64; rv:{{number.int({"min":75,"max":133})}}.0) Gecko/20100101 Firefox/{{number.int({"min":75,"max":133})}}.0','Mozilla/5.0 (compatible; MSIE {{number.int({"min":6,"max":10})}}.0; Windows NT {{helpers.arrayElement(["5.1","5.2","6.0","6.1","6.2","6.3","10.0"])}}; Trident/{{number.int({"min":4,"max":7})}}.0)','Mozilla/5.0 (iPhone; CPU iPhone OS {{number.int({"min":10,"max":18})}}_{{number.int({"min":0,"max":4})}} like Mac OS X) AppleWebKit/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}.{{number.int({"min":0,"max":99})}} (KHTML, like Gecko) Version/{{number.int({"min":10,"max":18})}}_{{number.int({"min":0,"max":4})}} Mobile/15E148 Safari/{{number.int({"min":536,"max":605})}}.{{number.int({"min":0,"max":99})}}'],yCe={emoji:hCe,http_status_code:mCe,jwt_algorithm:vCe,user_agent_pattern:gCe},bCe=yCe,CCe=[{alpha2:"AD",alpha3:"AND",numeric:"020"},{alpha2:"AE",alpha3:"ARE",numeric:"784"},{alpha2:"AF",alpha3:"AFG",numeric:"004"},{alpha2:"AG",alpha3:"ATG",numeric:"028"},{alpha2:"AI",alpha3:"AIA",numeric:"660"},{alpha2:"AL",alpha3:"ALB",numeric:"008"},{alpha2:"AM",alpha3:"ARM",numeric:"051"},{alpha2:"AO",alpha3:"AGO",numeric:"024"},{alpha2:"AQ",alpha3:"ATA",numeric:"010"},{alpha2:"AR",alpha3:"ARG",numeric:"032"},{alpha2:"AS",alpha3:"ASM",numeric:"016"},{alpha2:"AT",alpha3:"AUT",numeric:"040"},{alpha2:"AU",alpha3:"AUS",numeric:"036"},{alpha2:"AW",alpha3:"ABW",numeric:"533"},{alpha2:"AX",alpha3:"ALA",numeric:"248"},{alpha2:"AZ",alpha3:"AZE",numeric:"031"},{alpha2:"BA",alpha3:"BIH",numeric:"070"},{alpha2:"BB",alpha3:"BRB",numeric:"052"},{alpha2:"BD",alpha3:"BGD",numeric:"050"},{alpha2:"BE",alpha3:"BEL",numeric:"056"},{alpha2:"BF",alpha3:"BFA",numeric:"854"},{alpha2:"BG",alpha3:"BGR",numeric:"100"},{alpha2:"BH",alpha3:"BHR",numeric:"048"},{alpha2:"BI",alpha3:"BDI",numeric:"108"},{alpha2:"BJ",alpha3:"BEN",numeric:"204"},{alpha2:"BL",alpha3:"BLM",numeric:"652"},{alpha2:"BM",alpha3:"BMU",numeric:"060"},{alpha2:"BN",alpha3:"BRN",numeric:"096"},{alpha2:"BO",alpha3:"BOL",numeric:"068"},{alpha2:"BQ",alpha3:"BES",numeric:"535"},{alpha2:"BR",alpha3:"BRA",numeric:"076"},{alpha2:"BS",alpha3:"BHS",numeric:"044"},{alpha2:"BT",alpha3:"BTN",numeric:"064"},{alpha2:"BV",alpha3:"BVT",numeric:"074"},{alpha2:"BW",alpha3:"BWA",numeric:"072"},{alpha2:"BY",alpha3:"BLR",numeric:"112"},{alpha2:"BZ",alpha3:"BLZ",numeric:"084"},{alpha2:"CA",alpha3:"CAN",numeric:"124"},{alpha2:"CC",alpha3:"CCK",numeric:"166"},{alpha2:"CD",alpha3:"COD",numeric:"180"},{alpha2:"CF",alpha3:"CAF",numeric:"140"},{alpha2:"CG",alpha3:"COG",numeric:"178"},{alpha2:"CH",alpha3:"CHE",numeric:"756"},{alpha2:"CI",alpha3:"CIV",numeric:"384"},{alpha2:"CK",alpha3:"COK",numeric:"184"},{alpha2:"CL",alpha3:"CHL",numeric:"152"},{alpha2:"CM",alpha3:"CMR",numeric:"120"},{alpha2:"CN",alpha3:"CHN",numeric:"156"},{alpha2:"CO",alpha3:"COL",numeric:"170"},{alpha2:"CR",alpha3:"CRI",numeric:"188"},{alpha2:"CU",alpha3:"CUB",numeric:"192"},{alpha2:"CV",alpha3:"CPV",numeric:"132"},{alpha2:"CW",alpha3:"CUW",numeric:"531"},{alpha2:"CX",alpha3:"CXR",numeric:"162"},{alpha2:"CY",alpha3:"CYP",numeric:"196"},{alpha2:"CZ",alpha3:"CZE",numeric:"203"},{alpha2:"DE",alpha3:"DEU",numeric:"276"},{alpha2:"DJ",alpha3:"DJI",numeric:"262"},{alpha2:"DK",alpha3:"DNK",numeric:"208"},{alpha2:"DM",alpha3:"DMA",numeric:"212"},{alpha2:"DO",alpha3:"DOM",numeric:"214"},{alpha2:"DZ",alpha3:"DZA",numeric:"012"},{alpha2:"EC",alpha3:"ECU",numeric:"218"},{alpha2:"EE",alpha3:"EST",numeric:"233"},{alpha2:"EG",alpha3:"EGY",numeric:"818"},{alpha2:"EH",alpha3:"ESH",numeric:"732"},{alpha2:"ER",alpha3:"ERI",numeric:"232"},{alpha2:"ES",alpha3:"ESP",numeric:"724"},{alpha2:"ET",alpha3:"ETH",numeric:"231"},{alpha2:"FI",alpha3:"FIN",numeric:"246"},{alpha2:"FJ",alpha3:"FJI",numeric:"242"},{alpha2:"FK",alpha3:"FLK",numeric:"238"},{alpha2:"FM",alpha3:"FSM",numeric:"583"},{alpha2:"FO",alpha3:"FRO",numeric:"234"},{alpha2:"FR",alpha3:"FRA",numeric:"250"},{alpha2:"GA",alpha3:"GAB",numeric:"266"},{alpha2:"GB",alpha3:"GBR",numeric:"826"},{alpha2:"GD",alpha3:"GRD",numeric:"308"},{alpha2:"GE",alpha3:"GEO",numeric:"268"},{alpha2:"GF",alpha3:"GUF",numeric:"254"},{alpha2:"GG",alpha3:"GGY",numeric:"831"},{alpha2:"GH",alpha3:"GHA",numeric:"288"},{alpha2:"GI",alpha3:"GIB",numeric:"292"},{alpha2:"GL",alpha3:"GRL",numeric:"304"},{alpha2:"GM",alpha3:"GMB",numeric:"270"},{alpha2:"GN",alpha3:"GIN",numeric:"324"},{alpha2:"GP",alpha3:"GLP",numeric:"312"},{alpha2:"GQ",alpha3:"GNQ",numeric:"226"},{alpha2:"GR",alpha3:"GRC",numeric:"300"},{alpha2:"GS",alpha3:"SGS",numeric:"239"},{alpha2:"GT",alpha3:"GTM",numeric:"320"},{alpha2:"GU",alpha3:"GUM",numeric:"316"},{alpha2:"GW",alpha3:"GNB",numeric:"624"},{alpha2:"GY",alpha3:"GUY",numeric:"328"},{alpha2:"HK",alpha3:"HKG",numeric:"344"},{alpha2:"HM",alpha3:"HMD",numeric:"334"},{alpha2:"HN",alpha3:"HND",numeric:"340"},{alpha2:"HR",alpha3:"HRV",numeric:"191"},{alpha2:"HT",alpha3:"HTI",numeric:"332"},{alpha2:"HU",alpha3:"HUN",numeric:"348"},{alpha2:"ID",alpha3:"IDN",numeric:"360"},{alpha2:"IE",alpha3:"IRL",numeric:"372"},{alpha2:"IL",alpha3:"ISR",numeric:"376"},{alpha2:"IM",alpha3:"IMN",numeric:"833"},{alpha2:"IN",alpha3:"IND",numeric:"356"},{alpha2:"IO",alpha3:"IOT",numeric:"086"},{alpha2:"IQ",alpha3:"IRQ",numeric:"368"},{alpha2:"IR",alpha3:"IRN",numeric:"364"},{alpha2:"IS",alpha3:"ISL",numeric:"352"},{alpha2:"IT",alpha3:"ITA",numeric:"380"},{alpha2:"JE",alpha3:"JEY",numeric:"832"},{alpha2:"JM",alpha3:"JAM",numeric:"388"},{alpha2:"JO",alpha3:"JOR",numeric:"400"},{alpha2:"JP",alpha3:"JPN",numeric:"392"},{alpha2:"KE",alpha3:"KEN",numeric:"404"},{alpha2:"KG",alpha3:"KGZ",numeric:"417"},{alpha2:"KH",alpha3:"KHM",numeric:"116"},{alpha2:"KI",alpha3:"KIR",numeric:"296"},{alpha2:"KM",alpha3:"COM",numeric:"174"},{alpha2:"KN",alpha3:"KNA",numeric:"659"},{alpha2:"KP",alpha3:"PRK",numeric:"408"},{alpha2:"KR",alpha3:"KOR",numeric:"410"},{alpha2:"KW",alpha3:"KWT",numeric:"414"},{alpha2:"KY",alpha3:"CYM",numeric:"136"},{alpha2:"KZ",alpha3:"KAZ",numeric:"398"},{alpha2:"LA",alpha3:"LAO",numeric:"418"},{alpha2:"LB",alpha3:"LBN",numeric:"422"},{alpha2:"LC",alpha3:"LCA",numeric:"662"},{alpha2:"LI",alpha3:"LIE",numeric:"438"},{alpha2:"LK",alpha3:"LKA",numeric:"144"},{alpha2:"LR",alpha3:"LBR",numeric:"430"},{alpha2:"LS",alpha3:"LSO",numeric:"426"},{alpha2:"LT",alpha3:"LTU",numeric:"440"},{alpha2:"LU",alpha3:"LUX",numeric:"442"},{alpha2:"LV",alpha3:"LVA",numeric:"428"},{alpha2:"LY",alpha3:"LBY",numeric:"434"},{alpha2:"MA",alpha3:"MAR",numeric:"504"},{alpha2:"MC",alpha3:"MCO",numeric:"492"},{alpha2:"MD",alpha3:"MDA",numeric:"498"},{alpha2:"ME",alpha3:"MNE",numeric:"499"},{alpha2:"MF",alpha3:"MAF",numeric:"663"},{alpha2:"MG",alpha3:"MDG",numeric:"450"},{alpha2:"MH",alpha3:"MHL",numeric:"584"},{alpha2:"MK",alpha3:"MKD",numeric:"807"},{alpha2:"ML",alpha3:"MLI",numeric:"466"},{alpha2:"MM",alpha3:"MMR",numeric:"104"},{alpha2:"MN",alpha3:"MNG",numeric:"496"},{alpha2:"MO",alpha3:"MAC",numeric:"446"},{alpha2:"MP",alpha3:"MNP",numeric:"580"},{alpha2:"MQ",alpha3:"MTQ",numeric:"474"},{alpha2:"MR",alpha3:"MRT",numeric:"478"},{alpha2:"MS",alpha3:"MSR",numeric:"500"},{alpha2:"MT",alpha3:"MLT",numeric:"470"},{alpha2:"MU",alpha3:"MUS",numeric:"480"},{alpha2:"MV",alpha3:"MDV",numeric:"462"},{alpha2:"MW",alpha3:"MWI",numeric:"454"},{alpha2:"MX",alpha3:"MEX",numeric:"484"},{alpha2:"MY",alpha3:"MYS",numeric:"458"},{alpha2:"MZ",alpha3:"MOZ",numeric:"508"},{alpha2:"NA",alpha3:"NAM",numeric:"516"},{alpha2:"NC",alpha3:"NCL",numeric:"540"},{alpha2:"NE",alpha3:"NER",numeric:"562"},{alpha2:"NF",alpha3:"NFK",numeric:"574"},{alpha2:"NG",alpha3:"NGA",numeric:"566"},{alpha2:"NI",alpha3:"NIC",numeric:"558"},{alpha2:"NL",alpha3:"NLD",numeric:"528"},{alpha2:"NO",alpha3:"NOR",numeric:"578"},{alpha2:"NP",alpha3:"NPL",numeric:"524"},{alpha2:"NR",alpha3:"NRU",numeric:"520"},{alpha2:"NU",alpha3:"NIU",numeric:"570"},{alpha2:"NZ",alpha3:"NZL",numeric:"554"},{alpha2:"OM",alpha3:"OMN",numeric:"512"},{alpha2:"PA",alpha3:"PAN",numeric:"591"},{alpha2:"PE",alpha3:"PER",numeric:"604"},{alpha2:"PF",alpha3:"PYF",numeric:"258"},{alpha2:"PG",alpha3:"PNG",numeric:"598"},{alpha2:"PH",alpha3:"PHL",numeric:"608"},{alpha2:"PK",alpha3:"PAK",numeric:"586"},{alpha2:"PL",alpha3:"POL",numeric:"616"},{alpha2:"PM",alpha3:"SPM",numeric:"666"},{alpha2:"PN",alpha3:"PCN",numeric:"612"},{alpha2:"PR",alpha3:"PRI",numeric:"630"},{alpha2:"PS",alpha3:"PSE",numeric:"275"},{alpha2:"PT",alpha3:"PRT",numeric:"620"},{alpha2:"PW",alpha3:"PLW",numeric:"585"},{alpha2:"PY",alpha3:"PRY",numeric:"600"},{alpha2:"QA",alpha3:"QAT",numeric:"634"},{alpha2:"RE",alpha3:"REU",numeric:"638"},{alpha2:"RO",alpha3:"ROU",numeric:"642"},{alpha2:"RS",alpha3:"SRB",numeric:"688"},{alpha2:"RU",alpha3:"RUS",numeric:"643"},{alpha2:"RW",alpha3:"RWA",numeric:"646"},{alpha2:"SA",alpha3:"SAU",numeric:"682"},{alpha2:"SB",alpha3:"SLB",numeric:"090"},{alpha2:"SC",alpha3:"SYC",numeric:"690"},{alpha2:"SD",alpha3:"SDN",numeric:"729"},{alpha2:"SE",alpha3:"SWE",numeric:"752"},{alpha2:"SG",alpha3:"SGP",numeric:"702"},{alpha2:"SH",alpha3:"SHN",numeric:"654"},{alpha2:"SI",alpha3:"SVN",numeric:"705"},{alpha2:"SJ",alpha3:"SJM",numeric:"744"},{alpha2:"SK",alpha3:"SVK",numeric:"703"},{alpha2:"SL",alpha3:"SLE",numeric:"694"},{alpha2:"SM",alpha3:"SMR",numeric:"674"},{alpha2:"SN",alpha3:"SEN",numeric:"686"},{alpha2:"SO",alpha3:"SOM",numeric:"706"},{alpha2:"SR",alpha3:"SUR",numeric:"740"},{alpha2:"SS",alpha3:"SSD",numeric:"728"},{alpha2:"ST",alpha3:"STP",numeric:"678"},{alpha2:"SV",alpha3:"SLV",numeric:"222"},{alpha2:"SX",alpha3:"SXM",numeric:"534"},{alpha2:"SY",alpha3:"SYR",numeric:"760"},{alpha2:"SZ",alpha3:"SWZ",numeric:"748"},{alpha2:"TC",alpha3:"TCA",numeric:"796"},{alpha2:"TD",alpha3:"TCD",numeric:"148"},{alpha2:"TF",alpha3:"ATF",numeric:"260"},{alpha2:"TG",alpha3:"TGO",numeric:"768"},{alpha2:"TH",alpha3:"THA",numeric:"764"},{alpha2:"TJ",alpha3:"TJK",numeric:"762"},{alpha2:"TK",alpha3:"TKL",numeric:"772"},{alpha2:"TL",alpha3:"TLS",numeric:"626"},{alpha2:"TM",alpha3:"TKM",numeric:"795"},{alpha2:"TN",alpha3:"TUN",numeric:"788"},{alpha2:"TO",alpha3:"TON",numeric:"776"},{alpha2:"TR",alpha3:"TUR",numeric:"792"},{alpha2:"TT",alpha3:"TTO",numeric:"780"},{alpha2:"TV",alpha3:"TUV",numeric:"798"},{alpha2:"TW",alpha3:"TWN",numeric:"158"},{alpha2:"TZ",alpha3:"TZA",numeric:"834"},{alpha2:"UA",alpha3:"UKR",numeric:"804"},{alpha2:"UG",alpha3:"UGA",numeric:"800"},{alpha2:"UM",alpha3:"UMI",numeric:"581"},{alpha2:"US",alpha3:"USA",numeric:"840"},{alpha2:"UY",alpha3:"URY",numeric:"858"},{alpha2:"UZ",alpha3:"UZB",numeric:"860"},{alpha2:"VA",alpha3:"VAT",numeric:"336"},{alpha2:"VC",alpha3:"VCT",numeric:"670"},{alpha2:"VE",alpha3:"VEN",numeric:"862"},{alpha2:"VG",alpha3:"VGB",numeric:"092"},{alpha2:"VI",alpha3:"VIR",numeric:"850"},{alpha2:"VN",alpha3:"VNM",numeric:"704"},{alpha2:"VU",alpha3:"VUT",numeric:"548"},{alpha2:"WF",alpha3:"WLF",numeric:"876"},{alpha2:"WS",alpha3:"WSM",numeric:"882"},{alpha2:"YE",alpha3:"YEM",numeric:"887"},{alpha2:"YT",alpha3:"MYT",numeric:"175"},{alpha2:"ZA",alpha3:"ZAF",numeric:"710"},{alpha2:"ZM",alpha3:"ZMB",numeric:"894"},{alpha2:"ZW",alpha3:"ZWE",numeric:"716"}],FCe={country_code:CCe,time_zone:$ae},ECe=FCe,wCe={title:"Base",code:"base"},SCe=wCe,ACe=["/Applications","/bin","/boot","/boot/defaults","/dev","/etc","/etc/defaults","/etc/mail","/etc/namedb","/etc/periodic","/etc/ppp","/home","/home/user","/home/user/dir","/lib","/Library","/lost+found","/media","/mnt","/net","/Network","/opt","/opt/bin","/opt/include","/opt/lib","/opt/sbin","/opt/share","/private","/private/tmp","/private/var","/proc","/rescue","/root","/sbin","/selinux","/srv","/sys","/System","/tmp","/Users","/usr","/usr/X11R6","/usr/bin","/usr/include","/usr/lib","/usr/libdata","/usr/libexec","/usr/local/bin","/usr/local/src","/usr/obj","/usr/ports","/usr/sbin","/usr/share","/usr/src","/var","/var/log","/var/mail","/var/spool","/var/tmp","/var/yp"],DCe={"application/epub+zip":{extensions:["epub"]},"application/gzip":{extensions:["gz"]},"application/java-archive":{extensions:["jar","war","ear"]},"application/json":{extensions:["json","map"]},"application/ld+json":{extensions:["jsonld"]},"application/msword":{extensions:["doc","dot"]},"application/octet-stream":{extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/ogg":{extensions:["ogx"]},"application/pdf":{extensions:["pdf"]},"application/rtf":{extensions:["rtf"]},"application/vnd.amazon.ebook":{extensions:["azw"]},"application/vnd.apple.installer+xml":{extensions:["mpkg"]},"application/vnd.mozilla.xul+xml":{extensions:["xul"]},"application/vnd.ms-excel":{extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-fontobject":{extensions:["eot"]},"application/vnd.ms-powerpoint":{extensions:["ppt","pps","pot"]},"application/vnd.oasis.opendocument.presentation":{extensions:["odp"]},"application/vnd.oasis.opendocument.spreadsheet":{extensions:["ods"]},"application/vnd.oasis.opendocument.text":{extensions:["odt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extensions:["docx"]},"application/vnd.rar":{extensions:["rar"]},"application/vnd.visio":{extensions:["vsd","vst","vss","vsw"]},"application/x-7z-compressed":{extensions:["7z"]},"application/x-abiword":{extensions:["abw"]},"application/x-bzip":{extensions:["bz"]},"application/x-bzip2":{extensions:["bz2","boz"]},"application/x-csh":{extensions:["csh"]},"application/x-freearc":{extensions:["arc"]},"application/x-httpd-php":{extensions:["php"]},"application/x-sh":{extensions:["sh"]},"application/x-tar":{extensions:["tar"]},"application/xhtml+xml":{extensions:["xhtml","xht"]},"application/xml":{extensions:["xml","xsl","xsd","rng"]},"application/zip":{extensions:["zip"]},"audio/3gpp":{extensions:["3gpp"]},"audio/3gpp2":{extensions:["3g2"]},"audio/aac":{extensions:["aac"]},"audio/midi":{extensions:["mid","midi","kar","rmi"]},"audio/mpeg":{extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/ogg":{extensions:["oga","ogg","spx","opus"]},"audio/opus":{extensions:["opus"]},"audio/wav":{extensions:["wav"]},"audio/webm":{extensions:["weba"]},"font/otf":{extensions:["otf"]},"font/ttf":{extensions:["ttf"]},"font/woff":{extensions:["woff"]},"font/woff2":{extensions:["woff2"]},"image/avif":{extensions:["avif"]},"image/bmp":{extensions:["bmp"]},"image/gif":{extensions:["gif"]},"image/jpeg":{extensions:["jpeg","jpg","jpe"]},"image/png":{extensions:["png"]},"image/svg+xml":{extensions:["svg","svgz"]},"image/tiff":{extensions:["tif","tiff"]},"image/vnd.microsoft.icon":{extensions:["ico"]},"image/webp":{extensions:["webp"]},"text/calendar":{extensions:["ics","ifb"]},"text/css":{extensions:["css"]},"text/csv":{extensions:["csv"]},"text/html":{extensions:["html","htm","shtml"]},"text/javascript":{extensions:["js","mjs"]},"text/plain":{extensions:["txt","text","conf","def","list","log","in","ini"]},"video/3gpp":{extensions:["3gp","3gpp"]},"video/3gpp2":{extensions:["3g2"]},"video/mp2t":{extensions:["ts"]},"video/mp4":{extensions:["mp4","mp4v","mpg4"]},"video/mpeg":{extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/ogg":{extensions:["ogv"]},"video/webm":{extensions:["webm"]},"video/x-msvideo":{extensions:["avi"]}},TCe={directory_path:ACe,mime_type:DCe},kCe=TCe,_Ce={color:rCe,database:sCe,date:cCe,hacker:pCe,internet:bCe,location:ECe,metadata:SCe,system:kCe},xCe=_Ce,MCe=[{name:"爱琴海航空公司",iataCode:"A3"},{name:"俄罗斯航空公司",iataCode:"SU"},{name:"阿根廷航空公司",iataCode:"AR"},{name:"墨西哥国际航空公司",iataCode:"AM"},{name:"阿尔及利亚航空公司",iataCode:"AH"},{name:"阿拉伯航空公司",iataCode:"G9"},{name:"加拿大航空公司",iataCode:"AC"},{name:"中国国际航空公司",iataCode:"CA"},{name:"西班牙欧洲航空公司",iataCode:"UX"},{name:"法航荷航集团",iataCode:"AF"},{name:"印度国际航空公司",iataCode:"AI"},{name:"毛里求斯航空公司",iataCode:"MK"},{name:"新西兰航空公司",iataCode:"NZ"},{name:"新几内亚航空公司",iataCode:"PX"},{name:"塔希提航空公司",iataCode:"VT"},{name:"大溪地航空公司",iataCode:"TN"},{name:"越洋航空公司",iataCode:"TS"},{name:"亚洲航空X公司",iataCode:"D7"},{name:"亚洲航空公司",iataCode:"AK"},{name:"喀里多尼亚国际航空公司",iataCode:"SB"},{name:"阿拉斯加航空公司",iataCode:"AS"},{name:"意大利航空公司",iataCode:"AZ"},{name:"全日空公司",iataCode:"NH"},{name:"忠实航空公司",iataCode:"G4"},{name:"美国航空公司",iataCode:"AA"},{name:"韩亚航空公司",iataCode:"OZ"},{name:"哥伦比亚航空公司",iataCode:"AV"},{name:"巴西蔚蓝航空公司",iataCode:"AD"},{name:"蓝色航空公司",iataCode:"ZF"},{name:"北京首都航空公司",iataCode:"JD"},{name:"玻利维亚航空公司",iataCode:"OB"},{name:"英国航空公司",iataCode:"BA"},{name:"国泰航空公司",iataCode:"CX"},{name:"宿雾太平洋航空公司",iataCode:"5J"},{name:"中华航空公司",iataCode:"CI"},{name:"中国东方航空公司",iataCode:"MU"},{name:"中国南方航空公司",iataCode:"CZ"},{name:"神鹰航空公司",iataCode:"DE"},{name:"巴拿马航空公司",iataCode:"CM"},{name:"达美航空公司",iataCode:"DL"},{name:"易飞航空公司",iataCode:"VE"},{name:"易捷航空公司",iataCode:"U2"},{name:"埃及航空公司",iataCode:"MS"},{name:"以色列艾拉航空公司",iataCode:"LY"},{name:"阿联酋航空公司",iataCode:"EK"},{name:"埃塞俄比亚航空公司",iataCode:"ET"},{name:"阿提哈德航空公司",iataCode:"EY"},{name:"长荣航空公司",iataCode:"BR"},{name:"斐济航空公司",iataCode:"FJ"},{name:"芬兰航空公司",iataCode:"AY"},{name:"迪拜航空公司公司",iataCode:"FZ"},{name:"边疆航空公司",iataCode:"F9"},{name:"印度尼西亚鹰航空公司",iataCode:"GA"},{name:"高尔航空公司",iataCode:"G3"},{name:"海南航空公司",iataCode:"HU"},{name:"夏威夷航空公司",iataCode:"HA"},{name:"靛蓝航空公司",iataCode:"6E"},{name:"日本航空公司",iataCode:"JL"},{name:"济州航空公司",iataCode:"7C"},{name:"捷特二航空公司",iataCode:"LS"},{name:"捷蓝航空公司",iataCode:"B6"},{name:"上海吉祥航空公司",iataCode:"HO"},{name:"肯尼亚航空公司",iataCode:"KQ"},{name:"大韩航空公司",iataCode:"KE"},{name:"酷路拉航空航空公司",iataCode:"MN"},{name:"南美航空公司",iataCode:"LA"},{name:"狮子航空公司",iataCode:"JT"},{name:"波兰航空公司",iataCode:"LO"},{name:"德国汉莎航空公司",iataCode:"LH"},{name:"利比亚阿拉伯航空公司",iataCode:"LN"},{name:"玻利维亚亚马孙航空公司",iataCode:"Z8"},{name:"马来西亚航空公司",iataCode:"MH"},{name:"北风航空公司",iataCode:"N4"},{name:"挪威穿梭航空公司",iataCode:"DY"},{name:"阿曼航空公司",iataCode:"WY"},{name:"巴基斯坦国际航空公司",iataCode:"PK"},{name:"飞马航空公司",iataCode:"PC"},{name:"菲律宾航空公司",iataCode:"PR"},{name:"澳洲航空公司",iataCode:"QF"},{name:"卡塔尔航空公司",iataCode:"QR"},{name:"共和航空公司",iataCode:"YX"},{name:"摩洛哥皇家航空公司",iataCode:"AT"},{name:"瑞安航空公司",iataCode:"FR"},{name:"西伯利亚航空公司",iataCode:"S7"},{name:"北欧航空公司",iataCode:"SK"},{name:"沙特阿拉伯航空公司",iataCode:"SV"},{name:"山东航空公司",iataCode:"SC"},{name:"四川航空公司",iataCode:"3U"},{name:"新加坡航空公司",iataCode:"SQ"},{name:"天空航空公司",iataCode:"H2"},{name:"天西航空公司",iataCode:"OO"},{name:"南非航空公司",iataCode:"SA"},{name:"西南航空公司",iataCode:"WN"},{name:"香料航空公司",iataCode:"SG"},{name:"精神航空公司",iataCode:"NK"},{name:"春秋航空公司",iataCode:"9C"},{name:"斯里兰卡航空公司",iataCode:"UL"},{name:"秘鲁星航空公司",iataCode:"2I"},{name:"太阳城航空公司",iataCode:"SY"},{name:"阳光快运航空",iataCode:"XQ"},{name:"葡萄牙航空公司",iataCode:"TP"},{name:"泰国亚洲航空",iataCode:"FD"},{name:"泰国航空公司",iataCode:"TG"},{name:"途易飞航空",iataCode:"BY"},{name:"突尼斯航空公司",iataCode:"TU"},{name:"土耳其航空公司",iataCode:"TK"},{name:"乌克兰国际航空公司",iataCode:"PS"},{name:"美国联合航空公司",iataCode:"UA"},{name:"乌拉航空公司",iataCode:"U6"},{name:"越南越捷航空公司",iataCode:"VJ"},{name:"越南航空公司",iataCode:"VN"},{name:"维珍航空公司",iataCode:"VS"},{name:"维珍蓝航空公司",iataCode:"VA"},{name:"万岁空中巴士航空公司",iataCode:"VB"},{name:"巴西航空公司",iataCode:"2Z"},{name:"沃拉里斯航空公司",iataCode:"Y4"},{name:"西捷航空公司",iataCode:"WS"},{name:"温戈航空公司",iataCode:"P5"},{name:"维兹航空公司",iataCode:"W6"}],BCe=[{name:"航天/BAC协和式飞机",iataTypeCode:"SSC"},{name:"空客A300",iataTypeCode:"AB3"},{name:"空客A310",iataTypeCode:"310"},{name:"空客A310-200",iataTypeCode:"312"},{name:"空客A310-300",iataTypeCode:"313"},{name:"空客A318",iataTypeCode:"318"},{name:"空客A319",iataTypeCode:"319"},{name:"空客A319neo",iataTypeCode:"31N"},{name:"空客A320",iataTypeCode:"320"},{name:"空客A320neo",iataTypeCode:"32N"},{name:"空客A321",iataTypeCode:"321"},{name:"空客A321neo",iataTypeCode:"32Q"},{name:"空客A330",iataTypeCode:"330"},{name:"空客A330-200",iataTypeCode:"332"},{name:"空客A330-300",iataTypeCode:"333"},{name:"空客A330-800neo",iataTypeCode:"338"},{name:"空客A330-900neo",iataTypeCode:"339"},{name:"空客A340",iataTypeCode:"340"},{name:"空客A340-200",iataTypeCode:"342"},{name:"空客A340-300",iataTypeCode:"343"},{name:"空客A340-500",iataTypeCode:"345"},{name:"空客A340-600",iataTypeCode:"346"},{name:"空客A350",iataTypeCode:"350"},{name:"空客A350-900",iataTypeCode:"359"},{name:"空客A350-1000",iataTypeCode:"351"},{name:"空客A380",iataTypeCode:"380"},{name:"空客A380-800",iataTypeCode:"388"},{name:"安东诺夫 安-12",iataTypeCode:"ANF"},{name:"安东诺夫 安-24",iataTypeCode:"AN4"},{name:"安东诺夫 安-26",iataTypeCode:"A26"},{name:"安东诺夫 安-28",iataTypeCode:"A28"},{name:"安东诺夫 安-30",iataTypeCode:"A30"},{name:"安东诺夫 安-32",iataTypeCode:"A32"},{name:"安东诺夫 安-72",iataTypeCode:"AN7"},{name:"安东诺夫 安-124 Ruslan",iataTypeCode:"A4F"},{name:"安东诺夫 安-140",iataTypeCode:"A40"},{name:"安东诺夫 安-148",iataTypeCode:"A81"},{name:"安东诺夫 安-158",iataTypeCode:"A58"},{name:"安东诺夫 安-225 Mriya",iataTypeCode:"A5F"},{name:"波音707",iataTypeCode:"703"},{name:"波音717",iataTypeCode:"717"},{name:"波音720B",iataTypeCode:"B72"},{name:"波音727",iataTypeCode:"727"},{name:"波音727-100",iataTypeCode:"721"},{name:"波音727-200",iataTypeCode:"722"},{name:"波音737 MAX 7",iataTypeCode:"7M7"},{name:"波音737 MAX 8",iataTypeCode:"7M8"},{name:"波音737 MAX 9",iataTypeCode:"7M9"},{name:"波音737 MAX 10",iataTypeCode:"7MJ"},{name:"波音737",iataTypeCode:"737"},{name:"波音737-100",iataTypeCode:"731"},{name:"波音737-200",iataTypeCode:"732"},{name:"波音737-300",iataTypeCode:"733"},{name:"波音737-400",iataTypeCode:"734"},{name:"波音737-500",iataTypeCode:"735"},{name:"波音737-600",iataTypeCode:"736"},{name:"波音737-700",iataTypeCode:"73G"},{name:"波音737-800",iataTypeCode:"738"},{name:"波音737-900",iataTypeCode:"739"},{name:"波音747",iataTypeCode:"747"},{name:"波音747-100",iataTypeCode:"741"},{name:"波音747-200",iataTypeCode:"742"},{name:"波音747-300",iataTypeCode:"743"},{name:"波音747-400",iataTypeCode:"744"},{name:"波音747-400D",iataTypeCode:"74J"},{name:"波音747-8",iataTypeCode:"748"},{name:"波音747SP",iataTypeCode:"74L"},{name:"波音747SR",iataTypeCode:"74R"},{name:"波音757",iataTypeCode:"757"},{name:"波音757-200",iataTypeCode:"752"},{name:"波音757-300",iataTypeCode:"753"},{name:"波音767",iataTypeCode:"767"},{name:"波音767-200",iataTypeCode:"762"},{name:"波音767-300",iataTypeCode:"763"},{name:"波音767-400",iataTypeCode:"764"},{name:"波音777",iataTypeCode:"777"},{name:"波音777-200",iataTypeCode:"772"},{name:"波音777-200LR",iataTypeCode:"77L"},{name:"波音777-300",iataTypeCode:"773"},{name:"波音777-300ER",iataTypeCode:"77W"},{name:"波音787",iataTypeCode:"787"},{name:"波音787-8",iataTypeCode:"788"},{name:"波音787-9",iataTypeCode:"789"},{name:"波音787-10",iataTypeCode:"781"},{name:"加拿大挑战者飞机",iataTypeCode:"CCJ"},{name:"加拿大CL-44",iataTypeCode:"CL4"},{name:"加拿大支线喷气机100",iataTypeCode:"CR1"},{name:"加拿大支线喷气机200",iataTypeCode:"CR2"},{name:"加拿大支线喷气机700",iataTypeCode:"CR7"},{name:"加拿大支线喷气机705",iataTypeCode:"CRA"},{name:"加拿大支线喷气机900",iataTypeCode:"CR9"},{name:"加拿大支线喷气机1000",iataTypeCode:"CRK"},{name:"加拿大德哈维兰DHC-2 Beaver",iataTypeCode:"DHP"},{name:"加拿大德哈维兰DHC-2 Turbo-Beaver",iataTypeCode:"DHR"},{name:"加拿大德哈维兰DHC-3 Otter",iataTypeCode:"DHL"},{name:"加拿大德哈维兰DHC-4 Caribou",iataTypeCode:"DHC"},{name:"加拿大德哈维兰DHC-6 Twin Otter",iataTypeCode:"DHT"},{name:"加拿大德哈维兰DHC-7 Dash 7",iataTypeCode:"DH7"},{name:"加拿大德哈维兰DHC-8-100 Dash 8 / 8Q",iataTypeCode:"DH1"},{name:"加拿大德哈维兰DHC-8-200 Dash 8 / 8Q",iataTypeCode:"DH2"},{name:"加拿大德哈维兰DHC-8-300 Dash 8 / 8Q",iataTypeCode:"DH3"},{name:"加拿大德哈维兰DHC-8-400 Dash 8Q",iataTypeCode:"DH4"},{name:"德哈维兰DH.104 Dove",iataTypeCode:"DHD"},{name:"德哈维兰DH.114 Heron",iataTypeCode:"DHH"},{name:"道格拉斯DC-3",iataTypeCode:"D3F"},{name:"道格拉斯DC-6",iataTypeCode:"D6F"},{name:"道格拉斯DC-8-50",iataTypeCode:"D8T"},{name:"道格拉斯DC-8-62",iataTypeCode:"D8L"},{name:"道格拉斯DC-8-72",iataTypeCode:"D8Q"},{name:"道格拉斯DC-9-10",iataTypeCode:"D91"},{name:"道格拉斯DC-9-20",iataTypeCode:"D92"},{name:"道格拉斯DC-9-30",iataTypeCode:"D93"},{name:"道格拉斯DC-9-40",iataTypeCode:"D94"},{name:"道格拉斯DC-9-50",iataTypeCode:"D95"},{name:"道格拉斯DC-10",iataTypeCode:"D10"},{name:"道格拉斯DC-10-10",iataTypeCode:"D1X"},{name:"道格拉斯DC-10-30",iataTypeCode:"D1Y"},{name:"巴西工业航空公司170",iataTypeCode:"E70"},{name:"巴西工业航空公司175",iataTypeCode:"E75"},{name:"巴西工业航空公司190",iataTypeCode:"E90"},{name:"巴西工业航空公司195",iataTypeCode:"E95"},{name:"巴西工业航空公司E190-E2",iataTypeCode:"290"},{name:"巴西工业航空公司E195-E2",iataTypeCode:"295"},{name:"巴西工业航空公司EMB.110 Bandeirante",iataTypeCode:"EMB"},{name:"巴西工业航空公司EMB.120 Brasilia",iataTypeCode:"EM2"},{name:"巴西工业航空公司Legacy 600",iataTypeCode:"ER3"},{name:"巴西工业航空公司Phenom 100",iataTypeCode:"EP1"},{name:"巴西工业航空公司Phenom 300",iataTypeCode:"EP3"},{name:"巴西工业航空公司RJ135",iataTypeCode:"ER3"},{name:"巴西工业航空公司RJ140",iataTypeCode:"ERD"},{name:"巴西工业航空公司RJ145 Amazon",iataTypeCode:"ER4"},{name:"伊留申IL18",iataTypeCode:"IL8"},{name:"伊留申IL62",iataTypeCode:"IL6"},{name:"伊留申IL76",iataTypeCode:"IL7"},{name:"伊留申IL86",iataTypeCode:"ILW"},{name:"伊留申IL96-300",iataTypeCode:"I93"},{name:"伊留申IL114",iataTypeCode:"I14"},{name:"洛克希德L-182 / 282 / 382 (L-100) Hercules",iataTypeCode:"LOH"},{name:"洛克希德L-188 Electra",iataTypeCode:"LOE"},{name:"洛克希德L-1011 Tristar",iataTypeCode:"L10"},{name:"洛克希德L-1049 Super Constellation",iataTypeCode:"L49"},{name:"麦克唐纳道格拉斯MD11",iataTypeCode:"M11"},{name:"麦克唐纳道格拉斯MD80",iataTypeCode:"M80"},{name:"麦克唐纳道格拉斯MD81",iataTypeCode:"M81"},{name:"麦克唐纳道格拉斯MD82",iataTypeCode:"M82"},{name:"麦克唐纳道格拉斯MD83",iataTypeCode:"M83"},{name:"麦克唐纳道格拉斯MD87",iataTypeCode:"M87"},{name:"麦克唐纳道格拉斯MD88",iataTypeCode:"M88"},{name:"麦克唐纳道格拉斯MD90",iataTypeCode:"M90"},{name:"苏霍伊超级喷气机100-95",iataTypeCode:"SU9"},{name:"图波列夫Tu-134",iataTypeCode:"TU3"},{name:"图波列夫Tu-154",iataTypeCode:"TU5"},{name:"图波列夫Tu-204",iataTypeCode:"T20"},{name:"雅科夫列夫Yak-40",iataTypeCode:"YK4"},{name:"雅科夫列夫Yak-42",iataTypeCode:"YK2"}],RCe=[{name:"阿德莱德国际机场",iataCode:"ADL"},{name:"阿道弗·苏亚雷斯马德里-巴拉哈斯机场",iataCode:"MAD"},{name:"豪尔赫纽伯里机场机场",iataCode:"AEP"},{name:"阿方索·佩纳国际机场",iataCode:"CWB"},{name:"阿方索·博尼利亚·阿拉贡国际机场",iataCode:"CLO"},{name:"阿姆斯特丹史基浦机场",iataCode:"AMS"},{name:"阿图罗·梅里诺·贝尼特斯国际机场",iataCode:"SCL"},{name:"奥克兰国际机场",iataCode:"AKL"},{name:"北京首都国际机场",iataCode:"PEK"},{name:"贝伦瓦德坎斯国际机场",iataCode:"BEL"},{name:"贝洛奥里藏特坦克雷多·内维斯国际机场",iataCode:"CNF"},{name:"柏林泰格尔机场",iataCode:"TXL"},{name:"博乐国际机场",iataCode:"ADD"},{name:"巴西利亚儒塞利诺·库比契克总统国际机场",iataCode:"BSB"},{name:"布里斯班国际机场",iataCode:"BNE"},{name:"布里斯班机场",iataCode:"BRU"},{name:"凯恩斯机场",iataCode:"CNS"},{name:"开罗国际机场",iataCode:"CAI"},{name:"堪培拉机场",iataCode:"CBR"},{name:"开普敦国际机场",iataCode:"CPT"},{name:"戴高乐国际机场",iataCode:"CDG"},{name:"夏洛特道格拉斯国际机场",iataCode:"CLT"},{name:"成都双流国际机场",iataCode:"CTU"},{name:"贾特拉帕蒂·希瓦吉国际机场",iataCode:"BOM"},{name:"芝加哥奥黑尔国际机场",iataCode:"ORD"},{name:"重庆江北国际机场",iataCode:"CKG"},{name:"基督城国际机场",iataCode:"CHC"},{name:"哥本哈根卡斯特鲁普机场",iataCode:"CPH"},{name:"达拉斯沃思堡国际机场",iataCode:"DFW"},{name:"丹尼尔·井上国际机场",iataCode:"HNL"},{name:"丹佛国际机场",iataCode:"DEN"},{name:"廊曼国际机场",iataCode:"DMK"},{name:"迪拜国际机场",iataCode:"DXB"},{name:"都柏林机场",iataCode:"DUB"},{name:"杜塞尔多夫机场",iataCode:"DUS"},{name:"埃尔多拉多国际机场",iataCode:"BOG"},{name:"埃莱夫塞里奥斯·韦尼泽洛斯国际机场",iataCode:"ATH"},{name:"法阿国际机场",iataCode:"PPT"},{name:"劳德代尔堡好莱坞国际机场",iataCode:"FLL"},{name:"福塔莱萨平托马丁斯国际机场",iataCode:"FOR"},{name:"美因河畔法兰克福机场",iataCode:"FRA"},{name:"休斯顿机场乔治·布什洲际酒店",iataCode:"IAH"},{name:"黄金海岸机场",iataCode:"OOL"},{name:"瓜鲁柳斯 - 安德烈·佛朗哥·蒙托罗州长国际机场",iataCode:"GRU"},{name:"哈兹菲尔德-杰克逊亚特兰大国际机场",iataCode:"ATL"},{name:"赫尔辛基万塔机场",iataCode:"HEL"},{name:"霍巴特国际机场",iataCode:"HBA"},{name:"香港国际机场",iataCode:"HKG"},{name:"胡阿里·布迈丁机场",iataCode:"ALG"},{name:"赫尔格达国际机场",iataCode:"HRG"},{name:"仁川国际机场",iataCode:"ICN"},{name:"英迪拉·甘地国际机场",iataCode:"DEL"},{name:"伊斯坦布尔机场",iataCode:"IST"},{name:"杰克逊国际机场",iataCode:"POM"},{name:"济州国际机场",iataCode:"CJU"},{name:"约翰肯尼迪国际机场",iataCode:"JFK"},{name:"豪尔赫·查韦斯国际机场",iataCode:"LIM"},{name:"何塞·玛丽亚·科尔多瓦国际机场",iataCode:"MDE"},{name:"何塞普·塔拉德拉斯巴塞罗那埃尔普拉特机场",iataCode:"BCN"},{name:"卡胡卢伊机场",iataCode:"OGG"},{name:"阿卜杜勒阿齐兹国王国际机场",iataCode:"JED"},{name:"吉隆坡国际机场",iataCode:"KUL"},{name:"昆明长水国际机场",iataCode:"KMG"},{name:"拉通图塔国际机场",iataCode:"NOU"},{name:"莱昂纳多达芬奇-菲乌米奇诺机场",iataCode:"FCO"},{name:"伦敦希思罗机场",iataCode:"LHR"},{name:"洛杉矶国际机场",iataCode:"LAX"},{name:"麦卡伦国际机场",iataCode:"LAS"},{name:"墨尔本国际机场",iataCode:"MEL"},{name:"墨西哥城国际机场",iataCode:"MEX"},{name:"迈阿密国际机场",iataCode:"MIA"},{name:"皮斯塔里尼部长国际机场",iataCode:"EZE"},{name:"明尼阿波利斯-圣保罗国际机场/沃尔德-张伯伦机场",iataCode:"MSP"},{name:"穆罕默德五世国际机场",iataCode:"CMN"},{name:"莫斯科多莫杰多沃机场",iataCode:"DME"},{name:"慕尼黑机场",iataCode:"MUC"},{name:"穆尔塔拉穆罕默德国际机场",iataCode:"LOS"},{name:"楠迪国际机场",iataCode:"NAN"},{name:"内罗毕乔莫肯雅塔国际机场",iataCode:"NBO"},{name:"成田国际机场",iataCode:"NRT"},{name:"纽瓦克自由国际机场",iataCode:"EWR"},{name:"尼诺·阿基诺国际机场",iataCode:"MNL"},{name:"努美阿洋红色机场",iataCode:"GEA"},{name:"奥利弗·R·坦博国际机场",iataCode:"JNB"},{name:"奥兰多国际机场",iataCode:"MCO"},{name:"奥斯陆卢夫塔文机场",iataCode:"OSL"},{name:"珀斯机场",iataCode:"PER"},{name:"凤凰城天港国际机场",iataCode:"PHX"},{name:"累西腓瓜拉拉佩斯-吉尔伯托弗雷尔国际机场",iataCode:"REC"},{name:"里约热内卢加利昂国际机场",iataCode:"GIG"},{name:"萨尔加多菲略国际机场",iataCode:"POA"},{name:"萨尔瓦多·德普塔多·路易斯·爱德华多·马加良斯国际机场",iataCode:"SSA"},{name:"旧金山国际机场",iataCode:"SFO"},{name:"桑托斯·杜蒙特机场",iataCode:"SDU"},{name:"圣保罗孔戈尼亚斯机场",iataCode:"CGH"},{name:"西雅图塔科马国际机场",iataCode:"SEA"},{name:"上海虹桥国际机场",iataCode:"SHA"},{name:"上海浦东国际机场",iataCode:"PVG"},{name:"深圳宝安国际机场",iataCode:"SZX"},{name:"谢列梅捷沃国际机场",iataCode:"SVO"},{name:"新加坡樟宜机场",iataCode:"SIN"},{name:"苏加诺-哈达国际机场",iataCode:"CGK"},{name:"斯德哥尔摩-阿兰达机场",iataCode:"ARN"},{name:"素万那普机场",iataCode:"BKK"},{name:"悉尼金斯福德史密斯国际机场",iataCode:"SYD"},{name:"台湾桃园国际机场",iataCode:"TPE"},{name:"新山一国际机场",iataCode:"SGN"},{name:"东京羽田国际机场",iataCode:"HND"},{name:"多伦多皮尔逊国际机场",iataCode:"YYZ"},{name:"突尼斯迦太基国际机场",iataCode:"TUN"},{name:"温哥华国际机场",iataCode:"YVR"},{name:"维也纳国际机场",iataCode:"VIE"},{name:"维拉科波斯国际机场",iataCode:"VCP"},{name:"伏努科沃国际机场",iataCode:"VKO"},{name:"惠灵顿国际机场",iataCode:"WLG"},{name:"西安咸阳国际机场",iataCode:"XIY"},{name:"茹科夫斯基国际机场",iataCode:"ZIA"},{name:"苏黎世机场",iataCode:"ZRH"}],LCe={airline:MCe,airplane:BCe,airport:RCe},OCe=LCe,PCe=["亚洲黑熊","北极熊","大熊猫","小熊猫","懒熊","棕熊","眼镜熊","美洲黑熊"],ICe=["中华攀雀","大山雀","斑鸠","栗背短脚鹎","灰喜鹊","灰椋鸟","白头鹎","白鹭","红嘴蓝鹊","红腹锦鸡","绿啄木鸟","翠鸟","褐马鸡","鸳鸯","黑枕黄鹂","黑翅长脚鹬"],NCe=["三花猫","中华田园猫","中国大白猫","中国狸花猫","加菲猫","四川简州猫","奶牛猫","山东狮子猫","布偶猫","德文卷毛猫","斯芬克斯猫","暹罗猫","橘猫","波斯猫","玄猫","玳瑁猫","美国短毛猫","苏格兰折耳猫","英国短毛猫","阿比西尼亚猫"],$Ce=["下司犬","中华田园犬","中国冠毛犬","八哥犬","北京犬","哈士奇","墨西哥无毛犬","大白熊犬","彭布罗克威尔士柯基犬","德国牧羊犬","拉萨狮子犬","松狮犬","柴犬","比利时牧羊犬","沙皮犬","秋田犬","罗威纳犬","美国爱斯基摩犬","英国斗牛犬","萨摩耶犬","藏獒","蝴蝶犬","袖狗","西施犬","西藏梗","西藏狮子犬","西藏獚","贵宾犬","边境牧羊犬","阿富汗猎犬"],VCe=["中华鲟","新疆大头鱼","胭脂鱼","草鱼","金鱼","长江白鲟","青鱼","鲤鱼","鲫鱼","鲶鱼","鳙鱼"],HCe=["三河马","伊利马","河曲马","蒙古马"],zCe=["天牛","天蛾","屎壳郎","拟步甲","步行虫","水黾","独角仙","瓢虫","白粉蝶","红蜻蜓","绿豆蝇","草蛉","萤火虫","蚊子","蚜虫","蜉蝣","蜜蜂","蝉","蝗虫","螳螂","蟋蟀","跳蚤","金龟子","飞虱"],WCe=["乐乐","乖乖","可可","咪咪","团团","多多","天天","奶茶","宝宝","小七","小灰","小白","小黑","悠悠","橘子","毛毛","点点","球球","皮皮","糖糖","臭臭","花花","虎子","蛋蛋","豆豆"],GCe=["昆虫","熊","狗","猫","马","鱼","鸟"],jCe={bear:PCe,bird:ICe,cat:NCe,dog:$Ce,fish:VCe,horse:HCe,insect:zCe,pet_name:WCe,type:GCe},KCe=jCe,UCe=["余华","余耕","冯骥才","刘慈欣","刘震云","北岛","双雪涛","史铁生","吴承恩","巴金","张大春","张承志","张爱玲","施耐庵","曹雪芹","朱天文","朱宥勋","朱自清","李娟","李锐","格非","梁实秋","毕飞宇","汪曾祺","沈从文","海子","王安忆","王小波","王朔","笛安","罗贯中","老舍","舒婷","苏童","茅盾","莫言","蔡崇达","西川","贾平凹","迟子建","邱华栋","郁达夫","郑执","钱钟书","铁凝","阎连科","阿乙","阿来","韩少功","顾城","骆以军","鲁迅","麦家","龙应台"],qCe=["平装","有声书","电子书","精装"],YCe=["传记","侦探","儿童文学","历史","哲学","商业","喜剧","回忆录","图像小说","奇幻","宗教","心理学","恐怖","悬疑","惊悚","戏剧","旅行","漫画","爱情","神话","科幻","经典","诗歌","青少年文学"],JCe=["三联书店","上海交通大学出版社","上海译文出版社","中信出版社","中共中央党校出版社","中华书局","中国人民大学出版社","中国友谊出版公司","中国大百科全书出版社","中国建筑工业出版社","中国社会科学出版社","中国美术学院出版社","中国青年出版社","中央编译出版社","九州出版社","五南图书出版公司","人民教育出版社","人民文学出版社","作家出版社","北京十月文艺出版社","北京大学出版社","北京时代华文书局","博集天卷","吉林出版集团","吉林教育出版社","吉林文史出版社","商务印书馆","复旦大学出版社","外语教学与研究出版社","天地出版社","天津人民出版社","少年儿童出版社","广东人民出版社","广西师范大学出版社","接力出版社","新世界出版社","新星出版社","明天出版社","晨光出版社","未来出版社","机械工业出版社","果麦文化","江苏文艺出版社","浙江文艺出版社","海豚出版社","清华大学出版社","湖南文艺出版社","湛庐文化","现代出版社","理想国","生活·读书·新知三联书店","电子工业出版社","百花文艺出版社","磨铁图书","科学出版社","红旗出版社","花城出版社","西南师范大学出版社","译文出版社","译林出版社","读客文化","辽宁人民出版社","重庆出版社","长江少年儿童出版社","长江文艺出版社","高等教育出版社"],XCe=["三体","九州缥缈录","人世间","仙逆","全职高手","凡人修仙传","剑来","司藤","围城","大奉打更人","天官赐福","将夜","山河表里","庆余年","悟空传","择天记","斗破苍穹","星辰变","杀破狼","步步惊心","流浪地球","琅琊榜","盗墓笔记","盘龙","红楼梦","苍兰诀","藏地密码","诛仙","诡秘之主","长安十二时辰","阳神","雪中悍刀行","鬼吹灯","魔道祖师"],ZCe=["万历十五年","三国演义","三字经","中国哲学简史","中国大历史","中庸","丰乳肥臀","乡土中国","二十年目睹之怪现状","倚天屠龙记","儒林外史","千字文","原野","史记","呐喊","围城","在人间","大学","天龙八部","子夜","孙子兵法","孟子","官场现形记","家","封神演义","射雕英雄传","山河岁月","山海经","平凡的世界","庄子","弟子规","彷徨","我们仨","我的大学","文化苦旅","日出","春","水浒传","汉书","活着","浮生六记","狼图腾","白鹿原","目送","神雕侠侣","秋","穆斯林的葬礼","童年","笑傲江湖","红楼梦","老残游记","聊斋志异","茶馆","西游记","许三观卖血记","论语","资治通鉴","边城","道德经","金瓶梅","镜花缘","长恨歌","雷雨","骆驼祥子","鹿鼎记"],QCe={author:UCe,format:qCe,genre:YCe,publisher:JCe,series:XCe,title:ZCe},e9e=QCe,t9e=["乳白色","天蓝色","棕褐色","橙色","浅橙色","淡紫色","淡褐色","灰色","白色","粉红色","紫红色","紫色","红色","红褐色","绿色","蓝紫色","蓝绿色","蓝色","薄荷绿色","金色","银色","青柠色","青绿色","靛蓝色","黄色","黑色"],n9e={human:t9e},r9e=n9e,a9e=["主页","书籍","健康","孩子","宝宝","工业","工具","户外","服装","杂货","汽车","游戏","玩具","珠宝","电子","电影","电脑","美丽","花园","运动","鞋子","音乐"],i9e=["Sony/索尼 XR-55A80EK 55英寸4K超清认知智能OLED安卓摄像头电视","【2023新品官方旗舰正品】DERE戴睿笔记本电脑二合一新Surface Pro13平板商务办公学生教育超轻薄便携电脑本","【新品享壕礼】vivo iQOO Z8x手机官方旗舰店新品上市官网正品学生大电池大内存手机iqoo z7 z7x","【至高立省300元 赠数据线】vivo Y78新品全面屏游戏拍照学生5G智能手机大电池官方旗舰店老人机Y78+ Y77","人体工学椅电脑椅家用宿舍学生学习椅舒适久坐办公座椅转椅书桌椅","华为笔记本电脑MateBook X Pro 2023 13代酷睿版锐炬显卡14.2英寸3.1K原色触控屏超轻薄旗舰微绒典藏1943","可选16G【M2芯片】Apple/苹果 MacBook Pro 13英寸笔记本电脑剪辑设计大学生办公专用正品分期24G","台式电脑机械硬盘SATA串口320G 500G 1TB 2T 3TB 4TB支持游戏监控","小米电视 Redmi A43 高清智能电视 43英寸液晶平板电视L43RA-RA","鼠标有线USB静音无声家用办公台式笔记本电脑家用商务电竞男"],o9e={adjective:["不可思议的","东方的","人体工程学的","优雅的","华丽的","回收的","圆滑的","好吃","定制的","实用的","小的","已许可的","手工制作的","手工的","无品牌的","智能的","现代的","电子的","精彩绝伦的","精致的","豪华的","质朴的","贼好用的","通用的"],material:["冷冻","塑料","新鲜","木制","棉花","橡胶","混凝土","花岗岩","软","金属","钢","青铜"],product:["培根","奶酪","帽子","手套","披萨","桌子","椅子","毛巾","汽车","沙拉","球","电脑","肥皂","自行车","薯条","衬衫","裤子","金枪鱼","键盘","鞋子","香肠","鱼肉","鸡肉","鼠标"],pattern:["{{commerce.productMaterial}}{{commerce.productAdjective}}{{commerce.product}}"]},l9e={department:a9e,product_description:i9e,product_name:o9e},s9e=l9e,u9e=["传媒","保险","印刷","建设","旅游发展","林业","水产","燃气","物流","电力","矿业","网络科技","运输","食品"],c9e=["无限公司","无限责任公司","有限公司","有限责任公司","股份有限公司","集团有限公司","(集团)有限公司"],d9e=["{{location.city}}{{person.first_name.generic}}{{company.category}}{{company.legal_entity_type}}","{{location.state}}{{person.first_name.generic}}{{company.category}}{{company.legal_entity_type}}"],f9e={category:u9e,legal_entity_type:c9e,name_pattern:d9e},p9e=f9e,h9e=["令牌","创建于","名称","头像","密码","手机","更新于","标识","标题","注释","状态","类别","组别","邮箱"],m9e={column:h9e},v9e=m9e,g9e={wide:["一月","七月","三月","九月","二月","五月","八月","六月","十一月","十二月","十月","四月"],abbr:["10月","11月","12月","1月","2月","3月","4月","5月","6月","7月","8月","9月"]},y9e={wide:["星期一","星期三","星期二","星期五","星期六","星期四","星期天"],abbr:["周一","周三","周二","周五","周六","周四","周日"]},b9e={month:g9e,weekday:y9e},C9e=b9e,F9e=["个人贷款","信用卡","储蓄","房屋贷款","投资","支票","汽车贷款","货币市场"],E9e=["2[221-720]-####-####-###L","5[1-5]##-####-####-###L"],w9e=["62#############L","67#############L","81################L","81###############L","81##############L","81#############L"],S9e=["4###########L","4###-####-####-###L"],A9e={mastercard:E9e,unionpay:w9e,visa:S9e},D9e=A9e,T9e=[{name:"阿联酋迪拉姆",code:"AED",symbol:"",numericCode:"784"},{name:"阿富汗尼",code:"AFN",symbol:"؋",numericCode:"971"},{name:"列克",code:"ALL",symbol:"Lek",numericCode:"008"},{name:"亚美尼亚德拉姆",code:"AMD",symbol:"",numericCode:"051"},{name:"荷属安的列斯盾",code:"ANG",symbol:"ƒ",numericCode:"532"},{name:"宽扎",code:"AOA",symbol:"",numericCode:"973"},{name:"阿根廷比索",code:"ARS",symbol:"$",numericCode:"032"},{name:"澳大利亚元",code:"AUD",symbol:"$",numericCode:"036"},{name:"阿鲁巴弗罗林",code:"AWG",symbol:"ƒ",numericCode:"533"},{name:"阿塞拜疆马纳特",code:"AZN",symbol:"ман",numericCode:"944"},{name:"可兑换马克",code:"BAM",symbol:"KM",numericCode:"977"},{name:"巴巴多斯元",code:"BBD",symbol:"$",numericCode:"052"},{name:"孟加拉塔卡",code:"BDT",symbol:"",numericCode:"050"},{name:"保加利亚列弗",code:"BGN",symbol:"лв",numericCode:"975"},{name:"巴林第纳尔",code:"BHD",symbol:"",numericCode:"048"},{name:"布隆迪法郎",code:"BIF",symbol:"",numericCode:"108"},{name:"百慕大元(通常称为百慕大元)",code:"BMD",symbol:"$",numericCode:"060"},{name:"文莱元",code:"BND",symbol:"$",numericCode:"096"},{name:"玻利维亚诺",code:"BOB",symbol:"Bs",numericCode:"068"},{name:"巴西雷亚尔",code:"BRL",symbol:"R$",numericCode:"986"},{name:"巴哈马元",code:"BSD",symbol:"$",numericCode:"044"},{name:"普拉",code:"BWP",symbol:"P",numericCode:"072"},{name:"白俄罗斯卢布",code:"BYN",symbol:"Rbl",numericCode:"933"},{name:"伯利兹元",code:"BZD",symbol:"BZ$",numericCode:"084"},{name:"加拿大元",code:"CAD",symbol:"$",numericCode:"124"},{name:"刚果法郎",code:"CDF",symbol:"",numericCode:"976"},{name:"瑞士法郎",code:"CHF",symbol:"CHF",numericCode:"756"},{name:"智利比索",code:"CLP",symbol:"$",numericCode:"152"},{name:"人民币",code:"CNY",symbol:"¥",numericCode:"156"},{name:"哥伦比亚比索",code:"COP",symbol:"$",numericCode:"170"},{name:"哥斯达黎加科朗",code:"CRC",symbol:"₡",numericCode:"188"},{name:"古巴比索",code:"CUP",symbol:"₱",numericCode:"192"},{name:"佛得角埃斯库多",code:"CVE",symbol:"",numericCode:"132"},{name:"捷克克朗",code:"CZK",symbol:"Kč",numericCode:"203"},{name:"吉布提法郎",code:"DJF",symbol:"",numericCode:"262"},{name:"丹麦克朗",code:"DKK",symbol:"kr",numericCode:"208"},{name:"多米尼加比索",code:"DOP",symbol:"RD$",numericCode:"214"},{name:"阿尔及利亚第纳尔",code:"DZD",symbol:"",numericCode:"012"},{name:"埃及镑",code:"EGP",symbol:"£",numericCode:"818"},{name:"纳克法",code:"ERN",symbol:"",numericCode:"232"},{name:"埃塞俄比亚比尔",code:"ETB",symbol:"",numericCode:"230"},{name:"欧元",code:"EUR",symbol:"€",numericCode:"978"},{name:"斐济元",code:"FJD",symbol:"$",numericCode:"242"},{name:"福克兰群岛镑",code:"FKP",symbol:"£",numericCode:"238"},{name:"英镑",code:"GBP",symbol:"£",numericCode:"826"},{name:"格鲁吉亚拉里",code:"GEL",symbol:"",numericCode:"981"},{name:"塞地",code:"GHS",symbol:"",numericCode:"936"},{name:"直布罗陀镑",code:"GIP",symbol:"£",numericCode:"292"},{name:"达尔西",code:"GMD",symbol:"",numericCode:"270"},{name:"几内亚法郎",code:"GNF",symbol:"",numericCode:"324"},{name:"格查尔",code:"GTQ",symbol:"Q",numericCode:"320"},{name:"圭亚那元",code:"GYD",symbol:"$",numericCode:"328"},{name:"港元",code:"HKD",symbol:"$",numericCode:"344"},{name:"伦皮拉",code:"HNL",symbol:"L",numericCode:"340"},{name:"古德",code:"HTG",symbol:"",numericCode:"332"},{name:"福林特",code:"HUF",symbol:"Ft",numericCode:"348"},{name:"印度尼西亚卢比",code:"IDR",symbol:"Rp",numericCode:"360"},{name:"新以色列谢克尔",code:"ILS",symbol:"₪",numericCode:"376"},{name:"不丹努扎姆",code:"BTN",symbol:"Nu",numericCode:"064"},{name:"印度卢比",code:"INR",symbol:"₹",numericCode:"356"},{name:"伊拉克第纳尔",code:"IQD",symbol:"",numericCode:"368"},{name:"伊朗里亚尔",code:"IRR",symbol:"﷼",numericCode:"364"},{name:"冰岛克朗",code:"ISK",symbol:"kr",numericCode:"352"},{name:"牙买加元",code:"JMD",symbol:"J$",numericCode:"388"},{name:"约旦第纳尔",code:"JOD",symbol:"",numericCode:"400"},{name:"日元",code:"JPY",symbol:"¥",numericCode:"392"},{name:"肯尼亚先令",code:"KES",symbol:"",numericCode:"404"},{name:"吉尔吉斯斯坦索姆",code:"KGS",symbol:"лв",numericCode:"417"},{name:"瑞尔",code:"KHR",symbol:"៛",numericCode:"116"},{name:"科摩罗法郎",code:"KMF",symbol:"",numericCode:"174"},{name:"朝鲜圆",code:"KPW",symbol:"₩",numericCode:"408"},{name:"韩元",code:"KRW",symbol:"₩",numericCode:"410"},{name:"科威特第纳尔",code:"KWD",symbol:"",numericCode:"414"},{name:"开曼群岛元",code:"KYD",symbol:"$",numericCode:"136"},{name:"坚戈",code:"KZT",symbol:"лв",numericCode:"398"},{name:"基普",code:"LAK",symbol:"₭",numericCode:"418"},{name:"黎巴嫩镑",code:"LBP",symbol:"£",numericCode:"422"},{name:"斯里兰卡卢比",code:"LKR",symbol:"₨",numericCode:"144"},{name:"利比里亚元",code:"LRD",symbol:"$",numericCode:"430"},{name:"利比亚第纳尔",code:"LYD",symbol:"",numericCode:"434"},{name:"摩洛哥迪拉姆",code:"MAD",symbol:"",numericCode:"504"},{name:"摩尔多瓦列伊",code:"MDL",symbol:"",numericCode:"498"},{name:"马达加斯加阿里亚里",code:"MGA",symbol:"",numericCode:"969"},{name:"马其顿代纳尔",code:"MKD",symbol:"ден",numericCode:"807"},{name:"缅甸元",code:"MMK",symbol:"",numericCode:"104"},{name:"图格里克",code:"MNT",symbol:"₮",numericCode:"496"},{name:"澳门元",code:"MOP",symbol:"",numericCode:"446"},{name:"乌吉亚",code:"MRU",symbol:"",numericCode:"929"},{name:"毛里求斯卢比",code:"MUR",symbol:"₨",numericCode:"480"},{name:"拉菲亚",code:"MVR",symbol:"",numericCode:"462"},{name:"克瓦查",code:"MWK",symbol:"",numericCode:"454"},{name:"墨西哥比索",code:"MXN",symbol:"$",numericCode:"484"},{name:"马来西亚林吉特",code:"MYR",symbol:"RM",numericCode:"458"},{name:"莫桑比克梅蒂卡尔",code:"MZN",symbol:"MT",numericCode:"943"},{name:"奈拉",code:"NGN",symbol:"₦",numericCode:"566"},{name:"科多巴金科多巴",code:"NIO",symbol:"C$",numericCode:"558"},{name:"挪威克朗",code:"NOK",symbol:"kr",numericCode:"578"},{name:"尼泊尔卢比",code:"NPR",symbol:"₨",numericCode:"524"},{name:"新西兰元",code:"NZD",symbol:"$",numericCode:"554"},{name:"阿曼里亚尔",code:"OMR",symbol:"﷼",numericCode:"512"},{name:"巴尔博亚",code:"PAB",symbol:"B/.",numericCode:"590"},{name:"秘鲁新索尔",code:"PEN",symbol:"S/.",numericCode:"604"},{name:"基纳",code:"PGK",symbol:"",numericCode:"598"},{name:"菲律宾比索",code:"PHP",symbol:"Php",numericCode:"608"},{name:"巴基斯坦卢比",code:"PKR",symbol:"₨",numericCode:"586"},{name:"兹罗提",code:"PLN",symbol:"zł",numericCode:"985"},{name:"巴拉圭瓜拉尼",code:"PYG",symbol:"Gs",numericCode:"600"},{name:"卡塔尔里亚尔",code:"QAR",symbol:"﷼",numericCode:"634"},{name:"新卢",code:"RON",symbol:"lei",numericCode:"946"},{name:"塞尔维亚第纳尔",code:"RSD",symbol:"Дин.",numericCode:"941"},{name:"俄罗斯卢布",code:"RUB",symbol:"руб",numericCode:"643"},{name:"卢旺达法郎",code:"RWF",symbol:"",numericCode:"646"},{name:"沙特里亚尔",code:"SAR",symbol:"﷼",numericCode:"682"},{name:"所罗门群岛元",code:"SBD",symbol:"$",numericCode:"090"},{name:"塞舌尔卢比",code:"SCR",symbol:"₨",numericCode:"690"},{name:"苏丹镑",code:"SDG",symbol:"",numericCode:"938"},{name:"瑞典克朗",code:"SEK",symbol:"kr",numericCode:"752"},{name:"新加坡元",code:"SGD",symbol:"$",numericCode:"702"},{name:"圣赫勒拿镑",code:"SHP",symbol:"£",numericCode:"654"},{name:"利昂",code:"SLE",symbol:"",numericCode:"925"},{name:"索马里先令",code:"SOS",symbol:"S",numericCode:"706"},{name:"苏里南元",code:"SRD",symbol:"$",numericCode:"968"},{name:"南苏丹镑",code:"SSP",symbol:"",numericCode:"728"},{name:"多布拉",code:"STN",symbol:"Db",numericCode:"930"},{name:"叙利亚镑",code:"SYP",symbol:"£",numericCode:"760"},{name:"利兰吉尼",code:"SZL",symbol:"",numericCode:"748"},{name:"泰铢",code:"THB",symbol:"฿",numericCode:"764"},{name:"索莫尼",code:"TJS",symbol:"",numericCode:"972"},{name:"马纳特",code:"TMT",symbol:"",numericCode:"934"},{name:"突尼斯第纳尔",code:"TND",symbol:"",numericCode:"788"},{name:"帕安加",code:"TOP",symbol:"",numericCode:"776"},{name:"土耳其里拉",code:"TRY",symbol:"₺",numericCode:"949"},{name:"特立尼达和多巴哥元",code:"TTD",symbol:"TT$",numericCode:"780"},{name:"新台币",code:"TWD",symbol:"NT$",numericCode:"901"},{name:"坦桑尼亚先令",code:"TZS",symbol:"",numericCode:"834"},{name:"格里夫尼亚",code:"UAH",symbol:"₴",numericCode:"980"},{name:"乌干达先令",code:"UGX",symbol:"",numericCode:"800"},{name:"美元",code:"USD",symbol:"$",numericCode:"840"},{name:"乌拉圭比索",code:"UYU",symbol:"$U",numericCode:"858"},{name:"乌兹别克索姆",code:"UZS",symbol:"лв",numericCode:"860"},{name:"委内瑞拉玻利瓦尔",code:"VES",symbol:"Bs",numericCode:"928"},{name:"越南盾",code:"VND",symbol:"₫",numericCode:"704"},{name:"瓦图",code:"VUV",symbol:"",numericCode:"548"},{name:"塔拉",code:"WST",symbol:"",numericCode:"882"},{name:"科姆罗尔法郎",code:"XAF",symbol:"",numericCode:"950"},{name:"银",code:"XAG",symbol:"XAG",numericCode:"961"},{name:"金",code:"XAU",symbol:"XAU",numericCode:"959"},{name:"东加勒比元",code:"XCD",symbol:"$",numericCode:"951"},{name:"特别提款权",code:"XDR",symbol:"XDR",numericCode:"960"},{name:"中非金融合作法郎",code:"XOF",symbol:"",numericCode:"952"},{name:"波利尼西亚法郎",code:"XPF",symbol:"",numericCode:"953"},{name:"也门里亚尔",code:"YER",symbol:"﷼",numericCode:"886"},{name:"南非兰特",code:"ZAR",symbol:"R",numericCode:"710"},{name:"赞比亚克瓦查",code:"ZMW",symbol:"ZK",numericCode:"967"},{name:"津巴布韦元",code:"ZWL",symbol:"$",numericCode:"932"}],k9e=["取款","存款","开票","支付"],_9e={account_type:F9e,credit_card:D9e,currency:T9e,transaction_type:k9e},x9e=_9e,M9e=["咸香","多汁","微苦","浓郁","清淡","清爽","滑嫩","焦香","爽口","甘甜","筋道","细腻","软糯","酥脆","酸爽","醇厚","香甜","香辣","鲜嫩","麻辣"],B9e=["{{food.ingredient}}搭配一撮{{food.spice}},上面放着焦糖化的{{food.fruit}}和一层鲜奶油。","{{food.meat}}牛排,外裹一层{{food.adjective}}的{{food.spice}}酥壳,配上{{food.spice}}味的捣碎{{food.vegetable}}。","一份经典的{{food.meat}}馅饼,搭配{{food.adjective}}的{{food.ingredient}},外皮是{{food.adjective}}的酥皮,表面烘烤出诱人的金黄色。","一锅浓郁的{{food.adjective}}炖菜,带有{{food.ethnic_category}}风味,融合了{{food.adjective}}的肉类、{{food.adjective}}的蔬菜与一锅{{food.adjective}}、{{food.adjective}}的浓汤。","丰盛的炖菜,融合{{food.ingredient}}与{{food.meat}},加入{{food.spice}}与{{food.vegetable}}慢炖成充满家常味的美食。","多汁的{{food.meat}},按个人喜好烤制,淋上大胆的{{food.spice}}酱汁,旁边配有烤{{food.vegetable}}。","新鲜的什锦蔬菜沙拉,搭配{{food.spice}}腌制过的{{food.meat}}与清爽的{{food.vegetable}}。","温暖人心的{{food.ethnic_category}}风味汤,选用新鲜的{{food.ingredient}}和传统香料慢炖而成。","烘烤过的{{food.ingredient}}填入{{food.meat}}中,撒上{{food.spice}}与{{food.adjective}}的香草,配以烤制的{{food.vegetable}}拼盘。","烤制的{{food.meat}}串,事先以{{food.ethnic_category}}香料腌制,配以新鲜的{{food.vegetable}}与{{food.fruit}}沙拉。","简单的{{food.fruit}}派。没有花哨的装饰。就是派。","精致的{{food.meat}}烤肉,注入{{food.fruit}}的香气,慢火烘烤至完美,佐以浓郁奶香的{{food.vegetable}}泥。","这是一道迷人的咸甜塔,融合了{{food.adjective}}的{{food.vegetable}}与香甜的{{food.fruit}},搭配奶香浓郁的酥皮,点缀上一点{{food.spice}}。","酥脆炸{{food.meat}}块,撒上{{food.spice}},搭配酸甜的{{food.fruit}}蘸酱。"],R9e=["三杯鸡","京酱肉丝","凉拌黄瓜","凉皮","卤肉饭","叉烧包","口水鸡","咕噜肉","宫保鸡丁","小笼包","干煸四季豆","干锅花菜","扬州炒饭","春卷","梅菜扣肉","水煮牛肉","油焖大虾","泡椒凤爪","清蒸鲈鱼","炸酱面","烧卖","煎饺","牛杂煲","牛肉面","牛腩粉","狮子头","糖醋排骨","糯米鸡","红烧肉","腊味煲仔饭","臭豆腐","芙蓉蛋","萝卜炖牛腩","葱爆羊肉","蒜蓉西兰花","虾仁滑蛋","蚝油生菜","蛋炒饭","豆角焖面","酸辣汤","铁板豆腐","锅巴菜","锅贴","韭菜盒子","馄饨","香煎带鱼","鱼香肉丝","鸡蛋灌饼","麻婆豆腐","麻辣香锅"],L9e=["{{food.adjective}}{{food.ethnic_category}}风味炖菜","{{food.adjective}}{{food.meat}}配{{food.vegetable}}","{{food.ethnic_category}}{{food.vegetable}}炒{{food.meat}}","{{food.ethnic_category}}{{food.vegetable}}炖{{food.vegetable}}","{{food.ethnic_category}}风味{{food.ingredient}}汤","{{food.fruit}}与{{food.fruit}}水果塔","{{food.fruit}}派","{{food.fruit}}酱烤{{food.meat}}串","{{food.fruit}}风味{{food.meat}}烤肉","{{food.ingredient}}与{{food.meat}}馅饼","{{food.meat}}串","{{food.meat}}配{{food.fruit}}酱","{{food.spice}}腌制{{food.meat}}","{{food.spice}}香料包裹的{{food.meat}}","{{food.vegetable}}沙拉","{{food.vegetable}}炒{{food.meat}}"],O9e=["东北菜","云南菜","客家菜","川菜","徽菜","浙菜","湘菜","潮汕菜","粤菜","苏菜","西北菜","贵州菜","闽菜","鲁菜"],P9e=["哈密瓜","大根","山竹","干杏","干梅","指柠檬","无花果","杏子","杨桃","枇杷","枣","枸杞","柑橘","柠檬","梅子","樱桃","橄榄","橙子","沙果","火龙果","甘蓝","番石榴","番茄","番荔枝","石榴","绿芽","芒果","苹果","茄子","草莓","荔枝","莓果","菠萝","葡萄","葡萄柚","蓝莓","蔓越莓","血橙","西瓜","费约果","金橘","雪豆","青柠","香蕉","鳄梨","黑加仑","黑莓","龙眼"],I9e=["丝瓜","冬瓜","南瓜","四季豆","土豆","大白菜","大米","大葱","大蒜","娃娃菜","小白菜","小米","小葱","山药","干辣椒","平菇","开心果","木耳","杏仁","杏鲍菇","松子","枸杞","核桃","油菜","洋葱","海带","燕麦","玉米","玉米淀粉","生姜","番茄酱","白芝麻","百合","空心菜","糯米","紫甘蓝","紫菜","红枣","红椒","红薯","红豆","绿豆","胡萝卜","腐竹","腰果","芋头","芝麻豆酱","花生","花生酱","花菜","芹菜","苦瓜","茄子","茶树菇","荞麦","莲子","莲藕","莴笋","菠菜","萝卜","蒜苗","蒜蓉","西兰花","西红柿","西葫芦","豆浆","豆皮","豆腐","豆角","辣椒","金针菇","银耳","青椒","香米","香菇","香菜","黄椒","黄瓜","黄花菜","黄豆","黑米","黑芝麻","黑豆"],N9e=["火鸡肉","牛肉","猪肉","羊肉","蛇肉","驴肉","鳄鱼肉","鸡肉","鸭肉","鸵鸟肉","鸽子肉","鹅肉","鹌鹑肉"],$9e=["丁香","五香粉","八角","十三香","味精","咖喱粉","姜黄","孜然","小茴香","山奈","干姜粉","干辣椒","干香菇粉","桂皮","桂花","橙皮","沙姜粉","玫瑰花","白胡椒粉","紫苏","罗勒","肉豆蔻","芫荽","花椒","花椒粉","茴香籽","草果","葱白","葱花","蒜末","豆蔻","辣椒片","辣椒粉","陈皮","香叶","香茅","香菜籽","香葱","鸡精","黑胡椒粉"],V9e=["丝瓜","冬瓜","南瓜","卷心菜","四季豆","土豆","大白菜","大葱","娃娃菜","小白菜","尖椒","山药","毛豆","油菜","洋葱","生菜","白菜","白萝卜","空心菜","紫甘蓝","红萝卜","绿豆芽","胡萝卜","节瓜","芥蓝","芹菜","苦瓜","茼蒿","菜花","菠菜","蒜苗","西兰花","西红柿","西葫芦","豆芽","豆角","豌豆","辣椒","青椒","韭菜","香菜","黄瓜","黄豆芽"],H9e={adjective:M9e,description_pattern:B9e,dish:R9e,dish_pattern:L9e,ethnic_category:O9e,fruit:P9e,ingredient:I9e,meat:N9e,spice:$9e,vegetable:V9e},z9e=H9e,W9e=["主要","光学","全高清","冗余","后端","固态","在线","多字节","开源","无线","神经元","移动","蓝牙","虚拟","触控","跨平台","辅助"],G9e=["传感器","像素","协议","卡片","发送端","带宽","应用","总线","接口","提要","数组","电容器","电路","监视器","矩阵","硬盘","程序","端口","系统","芯片","警报","防火墙","面板","驱动"],j9e=["{{abbreviation}}{{noun}}已关闭,因为{{adjective}}{{noun}}所以我们能{{verb}}{{abbreviation}}{{noun}}!","{{verb}}{{noun}}是无济于事的,我们需要{{verb}}{{adjective}}{{abbreviation}}{{noun}}!","使用{{adjective}}{{abbreviation}}{{noun}},然后你就能{{verb}}{{adjective}}{{noun}}!","倘若我们{{verb}}{{noun}},我们就可以通过{{adjective}}{{abbreviation}}{{noun}}获得{{abbreviation}}{{noun}}!","在没有{{verb}}{{adjective}}{{abbreviation}}{{noun}}的情况下,你不能{{verb}}{{noun}}!","尝试{{verb}}{{abbreviation}}{{noun}},也许会{{verb}}{{adjective}}{{noun}}!","我们需要{{verb}}{{adjective}}{{abbreviation}}{{noun}}!","我将{{verb}}{{adjective}}{{abbreviation}}{{noun}},那是应该{{noun}}{{abbreviation}}{{noun}}!"],K9e=["传输","入侵","压缩","合成","备份","复制","导航","生成","索引","绕过","编程","覆盖","解析","计算","输入","重启","量化","链接"],U9e={adjective:W9e,noun:G9e,phrase:j9e,verb:K9e},q9e=U9e,Y9e=["126.com","139.com","163.com","21cn.com","foxmail.com","gmail.com","hotmail.com","outlook.com","qq.com","sina.com","sohu.com","tom.com","vip.qq.com","yahoo.cn","yahoo.com.cn","yeah.net"],J9e={free_email:Y9e},X9e=J9e,Z9e=["#####","####","###","##","#"],Q9e=["北京","上海","广州","深圳","天津","重庆","成都","杭州","南京","武汉","西安","苏州","青岛","宁波","郑州","长沙","合肥","福州","厦门","大连","沈阳","济南","哈尔滨","长春","昆明","南昌","石家庄","太原","贵阳","兰州","海口","乌鲁木齐","呼和浩特","南宁","拉萨","银川","西宁"],eFe=["{{location.city_prefix}}{{location.city_suffix}}"],tFe=["上","包","北","南","厦","吉","太","宁","安","成","武","济","海","珠","福","衡","西","诸","贵","长"],nFe=["乡县","京市","南市","原市","口市","头市","宁市","安市","州市","徽市","林市","汉市","沙市","海市","码市","都市","门市","阳市"],rFe=["亚洲","非洲","欧洲","北美洲","南美洲","大洋洲","南极洲"],aFe=["阿富汗","阿尔巴尼亚","阿尔及利亚","安道尔","安哥拉","安圭拉","安提瓜和巴布达","阿根廷","亚美尼亚","阿鲁巴","澳大利亚","奥地利","阿塞拜疆","巴哈马","巴林","孟加拉国","巴巴多斯","白俄罗斯","比利时","伯利兹","贝宁","百慕大","不丹","玻利维亚","波黑","博茨瓦纳","布维岛","巴西","保加利亚","布基纳法索","布隆迪","柬埔寨","喀麦隆","加拿大","佛得角","中非共和国","乍得","智利","中国","哥伦比亚","科摩罗","刚果","库克群岛","哥斯达黎加","科特迪瓦","克罗地亚","古巴","库拉索","塞浦路斯","捷克","刚果民主共和国","丹麦","吉布提","多米尼加","多米尼加共和国","厄瓜多尔","埃及","萨尔瓦多","赤道几内亚","厄立特里亚","爱沙尼亚","斯威士兰","埃塞俄比亚","斐济","芬兰","法国","加蓬","冈比亚","格鲁吉亚","德国","加纳","直布罗陀","希腊","格林兰","格林纳达","瓜德罗普","危地马拉","几内亚","圭亚那","海地","梵蒂冈","洪都拉斯","香港","匈牙利","冰岛","印度","印度尼西亚","伊朗","伊拉克","爱尔兰","以色列","意大利","牙买加","日本","约旦","哈萨克斯坦","肯尼亚","基里巴斯","朝鲜","大韩民国","科威特","吉尔吉斯坦","老挝","拉脱维亚","黎巴嫩","莱索托","利比里亚","利比亚","列支敦士登","立陶宛","卢森堡","马达加斯加","马拉维","马来西亚","马尔代夫","马里","马耳他","马提尼克","毛里塔尼亚","毛里求斯","马约特","墨西哥","摩尔多瓦","摩纳哥","蒙古","黑山","蒙特塞拉特","摩洛哥","莫桑比克","缅甸","纳米比亚","瑙鲁","尼泊尔","荷兰","新西兰","尼加拉瓜","尼日尔","尼日利亚","纽埃","诺福克岛","北马其顿","挪威","阿曼","巴基斯坦","帕劳","巴勒斯坦","巴拿马","巴布亚新几内亚","巴拉圭","秘鲁","菲律宾","波兰","葡萄牙","波多黎各","卡塔尔","罗马尼亚","俄罗斯","卢旺达","圣巴泰勒米","圣赫勒拿","圣卢西亚","圣马丁","萨摩亚","圣马力诺","沙特阿拉伯","塞内加尔","塞尔维亚","塞舌尔","塞拉利昂","新加坡","荷属圣马丁","斯洛伐克","斯洛文尼亚","所罗门群岛","索马里","南非","南苏丹","西班牙","斯里兰卡","苏丹","苏里南","瑞典","瑞士","叙利亚","塔吉克斯坦","坦桑尼亚","泰国","东帝汶","多哥","托克劳","汤加","突尼斯","土耳其","土库曼斯坦","图瓦卢","乌干达","乌克兰","阿联酋","英国","美国","乌拉圭","乌兹别克斯坦","瓦努阿图","委内瑞拉","越南","也门","赞比亚","津巴布韦"],iFe={cardinal:["北","东","南","西"],cardinal_abbr:["北","东","南","西"],ordinal:["东北","西北","东南","西南"],ordinal_abbr:["东北","西北","东南","西南"]},oFe=[{name:"汉语",alpha2:"zh",alpha3:"zho"},{name:"英语",alpha2:"en",alpha3:"eng"},{name:"法语",alpha2:"fr",alpha3:"fra"},{name:"德语",alpha2:"de",alpha3:"deu"},{name:"西班牙语",alpha2:"es",alpha3:"spa"},{name:"俄语",alpha2:"ru",alpha3:"rus"},{name:"日语",alpha2:"ja",alpha3:"jpn"},{name:"韩语",alpha2:"ko",alpha3:"kor"},{name:"阿拉伯语",alpha2:"ar",alpha3:"ara"},{name:"葡萄牙语",alpha2:"pt",alpha3:"por"},{name:"意大利语",alpha2:"it",alpha3:"ita"},{name:"荷兰语",alpha2:"nl",alpha3:"nld"},{name:"泰语",alpha2:"th",alpha3:"tha"},{name:"印度语",alpha2:"hi",alpha3:"hin"},{name:"孟加拉语",alpha2:"bn",alpha3:"ben"},{name:"印尼语",alpha2:"id",alpha3:"ind"},{name:"马来语",alpha2:"ms",alpha3:"msa"},{name:"越南语",alpha2:"vi",alpha3:"vie"},{name:"乌尔都语",alpha2:"ur",alpha3:"urd"},{name:"芬兰语",alpha2:"fi",alpha3:"fin"},{name:"瑞典语",alpha2:"sv",alpha3:"swe"},{name:"希腊语",alpha2:"el",alpha3:"ell"},{name:"捷克语",alpha2:"cs",alpha3:"ces"},{name:"匈牙利语",alpha2:"hu",alpha3:"hun"},{name:"罗马尼亚语",alpha2:"ro",alpha3:"ron"},{name:"乌克兰语",alpha2:"uk",alpha3:"ukr"},{name:"塞尔维亚语",alpha2:"sr",alpha3:"srp"},{name:"克罗地亚语",alpha2:"hr",alpha3:"hrv"},{name:"斯洛伐克语",alpha2:"sk",alpha3:"slk"},{name:"斯洛文尼亚语",alpha2:"sl",alpha3:"slv"},{name:"爱尔兰语",alpha2:"ga",alpha3:"gle"},{name:"拉脱维亚语",alpha2:"lv",alpha3:"lav"},{name:"立陶宛语",alpha2:"lt",alpha3:"lit"},{name:"爱沙尼亚语",alpha2:"et",alpha3:"est"},{name:"马耳他语",alpha2:"mt",alpha3:"mlt"},{name:"阿尔巴尼亚语",alpha2:"sq",alpha3:"sqi"},{name:"摩尔多瓦语",alpha2:"ro",alpha3:"ron"},{name:"格鲁吉亚语",alpha2:"ka",alpha3:"kat"},{name:"亚美尼亚语",alpha2:"hy",alpha3:"hye"},{name:"哈萨克语",alpha2:"kk",alpha3:"kaz"},{name:"吉尔吉斯语",alpha2:"ky",alpha3:"kir"}],lFe=["######"],sFe=["公寓 ###","套房 ###"],uFe=["北京市","上海市","天津市","重庆市","黑龙江省","吉林省","辽宁省","内蒙古自治区","河北省","新疆维吾尔自治区","甘肃省","青海省","陕西省","宁夏回族自治区","河南省","山东省","山西省","安徽省","湖北省","湖南省","江苏省","四川省","贵州省","云南省","广西壮族自治区","西藏自治区","浙江省","江西省","广东省","福建省","海南省"],cFe=["北京","上海","天津","重庆","黑龙江","吉林","辽阳","内蒙古","河北","新疆","甘肃","青海","陕西","宁夏","河南","山东","山西","合肥","湖北","湖南","苏州","四川","贵州","云南","广西","西藏","浙江","江西","广东","福建","海南"],dFe={normal:"{{location.street}}{{location.buildingNumber}}号",full:"{{location.street}}{{location.buildingNumber}}号 {{location.secondaryAddress}}"},fFe=["长安街","北京路","南京路","复兴路","中山路","人民路","文化路","东风路","光明路","解放路","团结路","天安门路","市场街","南门街","北大街","南湖路","紫荆路","交通路","星光街","陶然路","燕子岭路","南华路","恒大路","新兴路","红旗街","沿河路","工业路","莲花路","东方路","华侨路","绿化路","水泥路","西湖路","朝阳路","狮山路","文艺路","开放路","兴业街","齐齐哈尔街","建设路","红星路","山水路","机场路","星河路","幸福街","云南路","陆家嘴路","滨海路","东岳路","中兴路","长江路","富春街","蓝天街","清华路","阳光大道","广场街","华美路","人民街","科技街","西门街","东大街","永安街","明日路","上街","立新街","龙潭路","光明大街","江南大道","沙河路","回民街","解放大街","幸福路","南街","北街","花园路","嘉禾路","元宝街","桃花街","金秋街","天河路","海滨大道","和平街","柳树路","梅花街","桂花街","观音路","华东路","胜利路","东阳街","宜兴路","紫薇路","滨江路","保卫路","古城路","友谊街","烈士路","桃花源路","大成路","和平大道","华阳路","老街","东方大道","银川路","汇源路","辉南路","慈溪路","古道街","绿色大道","十字路","百步街","连云街","白银路","环城路","朝霞路","红旗大道","双林街","龙江路","永乐街","福源街","西门路","新荣街","龙山街","安东路","福田街","景山街","新街","枫林街","裕民街","泉水路","乐土街","环湖街","紫竹街","青年街"],pFe=["{{person.last_name.generic}}{{location.street_suffix}}"],hFe=["巷","街","路","桥","侬","旁","中心","栋"],mFe={building_number:Z9e,city_name:Q9e,city_pattern:eFe,city_prefix:tFe,city_suffix:nFe,continent:rFe,country:aFe,direction:iFe,language:oFe,postcode:lFe,secondary_address:sFe,state:uFe,state_abbr:cFe,street_address:dFe,street_name:fFe,street_pattern:pFe,street_suffix:hFe},vFe=mFe,gFe={title:"Chinese (China)",code:"zh_CN",country:"CN",language:"zh",endonym:"中文 (中国)",dir:"ltr",script:"Hans"},yFe=gFe,bFe=["世界","乡村","嘻哈","拉丁","摇滚","放克","民谣","流行","灵魂","爵士","牙买加","电子","经典","舞台与银幕","蓝调","说唱","重金属","非音乐"],CFe=["105度的你","一点点","一路向北","七里香","不爱我拉倒","不能说的秘密","不该","世界末日","东风破","义勇军进行曲","之战之殇","以父之名","你听得到","倒影","兰亭序","刀马旦","分裂","千里之外","半岛铁盒","反方向的钟","发如雪","可爱女人","听妈妈的话","听悲伤的情话","听见下雨的声音","告白气球","周大侠","哪里都是你","回到过去","园游会","在你身边","堕","夏日妄想","夏至未至","外婆","夜曲","夜的第七章","大本钟","大鱼","奢香夫人","她的睫毛","孤勇者","安静","小城夏天","少年","布拉格广场","开不了口","彩虹","心雨","忍者","悬溺","我不配","我如此相信","我流泪情绪零碎","手写从前","把回忆拼好给你","接口","搁浅","断了的弦","明明就","星晴","晴天","暖暖","暗号","最伟大的作品","最好的安排","最长的电影","本草纲目","枫","海底","灯火里的中国","烟花易冷","爱在西元前","爱情废材","爱的飞行日记","爷爷泡的茶","牛仔很忙","玫瑰少年","珊瑚海","甜甜的","画沙","白月光与朱砂痣","白色风车","稻香","等你下课","简单的爱","算什么男人","米兰的小铁匠","粉色海洋","红尘客栈","红颜如霜","纪念","给我一首歌的时间","美人鱼","花海","菊花台","蒲公英的约定","说了再见","说好不哭","调查中","起风了","超人不会飞","轨迹","还在流浪","退后","铃芽之旅","错过的烟火","阳光宅男","雨下一整晚","霍元甲","青花瓷","飘移","黑色幽默","黑色毛衣","默","龙卷风"],FFe={genre:bFe,song_name:CFe},EFe=FFe,wFe=["活动家","艺术家","作家","博主","企业家","教练","发明家","设计师","开发者","教育家","工程师","企业主","环保主义者","电影爱好者","电影制片人","美食家","创始人","朋友","玩家","极客","毕业生","创造者","领导者","模特","脑力爱好者","父母","爱国者","个人","哲学家","摄影爱好者","公众演说家","科学家","梦想家","学生","老师","旅行家","退伍军人","作者"],SFe=["{{person.bio_part}}","{{person.bio_part}},{{person.bio_part}}","{{person.bio_part}},{{person.bio_part}},{{person.bio_part}}","{{person.bio_part}},{{person.bio_part}},{{person.bio_part}}{{internet.emoji}}","{{word.noun}}{{person.bio_supporter}}","{{word.noun}}{{person.bio_supporter}}{{internet.emoji}}","{{word.noun}}{{person.bio_supporter}},{{person.bio_part}}","{{word.noun}}{{person.bio_supporter}},{{person.bio_part}}{{internet.emoji}}"],AFe=["倡导者","贡献者","发烧友","粉丝","狂热者","爱好者","支持者"],DFe={generic:["一全","万佳","三锋","中海","义轩","乐驹","乙萍","伟宸","伟泽","伟祺","伟诚","佳琪","俊凯","俊驰","修杰","修洁","健柏","健雄","凯瑞","博文","博涛","博超","君浩","呈轩","哲新","哲瀚","嘉懿","嘉熙","天娇","天宇","天磊","天翊","婷方","子欣","子涵","子豪","子轩","子骞","子默","安琪","展鹏","峻熙","建辉","弘文","彬","志强","志泽","思","思佳","思淼","思源","思聪","思远","懿轩","振东","振家","擎宇","擎苍","政君","敬彪","敬阳","文","文博","文昊","文轩","文韬","旭尧","昊天","昊强","昊焱","昊然","明","明哲","明杰","明轩","明辉","晋鹏","晓博","晓啸","晟睿","晨阳","智宸","智杰","智渊","智辉","果","梓晨","楷瑞","榕融","正豪","治文","治涛","泽洋","浩","浩宇","浩然","浩轩","浩辰","海燕","涛","潇然","炎彬","炫明","烨伟","烨华","烨磊","烨霖","煜城","煜祺","熠彤","琪","瑞霖","瑾瑜","癸霖","皓轩","睿渊","立伟","立果","立诚","立轩","立辉","笑愚","紫林","绍辉","绍齐","美方","耀杰","聪健","胤祥","致远","航","苑博","荣轩","诗雨","语堂","超栋","越彬","越泽","远航","金鑫","鑫磊","鑫鹏","钰轩","锦程","雅婷","雅鑫","雨泽","雪松","雯静","靖琪","静怡","风华","馥君","馨羽","驰","鸿涛","鸿煊","鹏","鹏涛","鹏煊","鹏飞","鹤轩","鹭洋","黎昕"],female:["一诺","万佳","丹","丽","丽芬","丽芳","丽萍","乙萍","佳琪","依诺","倩","兰英","凤英","国兰","国华","国珍","国琴","国秀","国芳","国英","国荣","国香","天娇","娜","娟","婷","婷婷","婷方","子欣","安琪","开慧","思佳","悦","慧","敏","晨阳","桂兰","桂英","梓妍","梓晨","梓涵","梓玥","梓萱","梓馨","榕融","欣怡","洁","海燕","燕","玉兰","玉梅","玉珍","玉英","玲","珈","秀兰","秀珍","秀英","紫林","红","美方","艳","艺涵","芳","苡沫","若汐","英","萍","蒙","诗雨","语桐","语汐","雅婷","雅鑫","雨桐","雨欣","雨涵","雪","雯静","霞","静","静怡","颖","馥君","馨羽"],male:["一全","三锋","中海","义轩","伟","俊凯","俊杰","俊熙","军","刚","勇","呈轩","哲新","国平","国强","国栋","国良","国辉","奕泽","奕辰","子豪","宇","宇泽","宇航","宇轩","家明","家豪","帅","建军","建华","建国","强","志国","志明","成","振东","政君","敬彪","敬阳","文昊","文韬","斌","明","晨","智杰","杰","梓浩","梓睿","梓诚","梓豪","民","沐宸","沐辰","沐阳","治文","治涛","波","浩","浩宇","浩晨","浩然","浩轩","浩辰","涛","熙成","熙瑶","瑜","癸霖","磊","立伟","茗泽","诚","超","超栋","辉","鑫","阳","鹏"]},TFe={generic:["丁","万","万俟","上官","不","丑","世","丘","丙","业","丛","东","东方","严","中","丰","丹","么","义","之","乌","乌雅","乐","乔","乘","乙","乜","九","习","书","买","乾","于","云","亓","五","井","亢","亥","京","仁","仆","仇","仉","介","仍","从","仙","仝","代","令","令狐","以","仪","仰","仲","仲孙","仵","任","伊","伍","伏","休","伟","伦","伯","似","但","位","何","佘","余","佛","佟","佴","佼","侍","依","侨","侯","俎","保","俞","俟","信","修","候","倪","偶","傅","储","僧","僪","允","元","充","兆","光","党","全","公","公冶","公孙","公羊","六","兰","关","兴","其","典","养","冀","冉","冒","军","农","冠","冯","况","冷","冼","凌","凤","凭","出","函","刀","刁","刑","刘","刚","初","利","别","前","剑","剧","力","功","务","励","劳","势","勇","勤","勾","包","化","北","匡","区","千","华","卑","卓","单","单于","南","卜","卞","占","卢","卫","卯","印","危","却","卷","卿","历","厉","厍","厚","原","及","友","双","叔","受","古","召","可","台","史","叶","司","司徒","司空","司马","合","吉","同","后","向","吕","吴","吾","告","员","周","呼","和","咎","咸","哀","哈","唐","商","善","喜","喻","嘉","回","国","圣","在","圭","坚","城","堂","堵","塔","塞","墨","士","壬","声","夏","夏侯","夔","夕","夙","多","大","天","太叔","夫","夷","奇","奈","奉","奕","奚","妫","始","姒","姓","委","姚","姜","姬","威","娄","嬴","孔","字","孙","孛","孝","孟","季","学","宁","宇","宇文","守","安","宋","完","宏","宓","宗","宗政","官","定","宛","宜","宝","实","宣","宦","宫","宰","家","容","宾","宿","寇","富","寒","察","寸","寻","寿","封","将","尉","尉迟","少","尔","尚","尤","尧","尹","尾","局","居","屈","展","屠","山","岑","岳","崇","崔","嵇","巢","左","巧","巨","巩","巫","己","巴","市","布","帅","师","希","帖","帛","席","常","干","平","年","幸","广","庄","庆","库","应","庚","府","庞","度","康","庹","庾","廉","廖","延","建","开","弓","弘","张","弥","弭","强","归","彤","彭","律","徐","御","徭","德","念","忻","怀","性","恭","恽","悉","悟","惠","愈","愚","慈","慎","慕","慕容","戈","戊","戎","戏","成","战","戚","戢","戴","户","房","所","扈","才","扬","扶","承","抄","抗","折","拉","招","拜","拱","捷","掌","接","揭","摩","撒","操","支","改","敏","敖","敛","敬","文","斋","斐","斛","斯","方","於","施","旁","旅","旗","无","时","旷","昂","昌","明","易","昔","昝","星","春","是","晁","晋","晏","普","景","智","暨","暴","曲","曹","曾","有","朋","望","本","朱","朴","机","权","李","杜","杞","束","来","杨","杭","松","板","析","林","枚","果","枝","柏","柔","查","柯","柳","柴","栋","树","栗","校","栾","桂","桐","桑","桓","桥","梁","梅","检","森","植","楚","楼","樊","檀","次","欧","欧阳","止","步","武","歧","殳","段","殷","毋","母","毓","毕","毛","水","永","求","汉","汗","汝","江","池","汤","汪","汲","沃","沈","沐","沙","泉","法","波","泣","泥","泰","泷","洋","洛","洪","浑","浦","浮","海","涂","淡","淦","淳于","清","渠","温","游","湛","源","溥","滑","滕","满","漆","漫","潘","潜","潭","潮","澄","澹台","濮","濮阳","濯","烟","焉","焦","熊","燕","爱","牛","牟","牢","牧","牵","特","犁","犹","狂","狄","独","玄","玉","王","环","班","理","琦","琴","瑞","璩","瓮","甄","甘","生","用","甫","田","由","甲","申","申屠","畅","留","疏","登","白","百","皇","皇甫","皋","皮","盈","益","盍","盖","盘","盛","相","真","眭","睢","督","睦","瞿","矫","石","硕","碧","碧鲁","磨","示","礼","祁","祈","祖","祝","祢","祭","禄","福","禚","禹","禽","禾","秋","种","秘","秦","称","程","税","稽","穆","穰","空","窦","章","章佳","童","竭","端","竹","竺","笃","符","笪","第","答","简","箕","管","籍","米","类","粘","粟","糜","系","素","索","紫","綦","繁","红","纪","纳","纳喇","纵","线","练","终","绍","经","绪","续","绳","缑","缪","罕","罗","羊","羽","羿","翁","翟","翠","翦","老","考","耿","聂","聊","肇","肖","肥","胡","胥","能","脱","腾","臧","舒","舜","良","艾","节","芒","芮","花","苌","苍","苏","苑","苗","苟","苦","英","茂","范","范姜","茅","茆","茹","荀","荆","荣","荤","莘","莫","莱","菅","营","萧","萨","葛","董","蒉","蒋","蒙","蒯","蒲","蒿","蓝","蓟","蓬","蔚","蔡","蔺","薄","薛","藏","藤","藩","虎","虞","虢","蚁","蛮","融","衅","行","衡","衣","表","衷","袁","袭","裔","裘","裴","褒","褚","覃","觉罗","解","言","訾","詹","謇","计","让","许","诗","说","诸","诸葛","诺","谈","谌","谏","谢","谬","谭","谯","谷","豆","象","貊","贝","贡","贯","贰","贲","贵","贸","费","贺","贾","资","赏","赖","赛","赤","赧","赫","赫连","赵","越","路","蹇","蹉","车","轩辕","载","辉","辛","辜","辟","边","达","过","运","进","连","迟","迮","逄","通","速","逢","逮","逯","遇","道","邓","邗","邛","邝","邢","那","那拉","邬","邰","邱","邴","邵","邶","邸","邹","郁","郎","郏","郑","郗","郜","郝","郦","郭","郯","郸","都","鄂","鄞","鄢","酆","酒","释","野","金","针","钊","钞","钟","钟离","钦","钭","钮","钱","铁","铎","银","锁","锐","错","锺","镇","镜","长","长孙","门","闪","闫","闭","问","闳","闵","闻","闻人","闽","闾","阎","阙","阚","阮","阳","阴","阿","陀","陆","陈","陶","隆","隋","随","隐","隗","隽","雀","集","雍","雪","零","雷","霍","霜","青","靖","革","靳","鞠","韦","韩","韶","项","须","顾","顿","频","颜","风","飞","饶","首","香","马","驹","骆","骑","高","魏","鱼","鲁","鲍","鲜","鹿","麦","麴","麻","黄","黎","齐","龙","龚"]},kFe={generic:[{value:"{{person.last_name.generic}}",weight:1}]},_Fe=[{value:"{{person.lastName}}{{person.firstName}}",weight:1}],xFe=null,MFe=["女","男"],BFe={bio_part:wFe,bio_pattern:SFe,bio_supporter:AFe,first_name:DFe,last_name:TFe,last_name_pattern:kFe,name:_Fe,prefix:xFe,sex:MFe},RFe=BFe,LFe=["0##-########","0###-########","1##########"],OFe=["+86##########","+86###########","+861##########"],PFe=["0## #### ####","###########","1##########"],IFe={human:LFe,international:OFe,national:PFe},NFe=IFe,$Fe={format:NFe},VFe=$Fe,HFe=[{symbol:"H",name:"氢",atomicNumber:1},{symbol:"He",name:"氦",atomicNumber:2},{symbol:"Li",name:"锂",atomicNumber:3},{symbol:"Be",name:"铍",atomicNumber:4},{symbol:"B",name:"硼",atomicNumber:5},{symbol:"C",name:"碳",atomicNumber:6},{symbol:"N",name:"氮",atomicNumber:7},{symbol:"O",name:"氧",atomicNumber:8},{symbol:"F",name:"氟",atomicNumber:9},{symbol:"Ne",name:"氖",atomicNumber:10},{symbol:"Na",name:"钠",atomicNumber:11},{symbol:"Mg",name:"镁",atomicNumber:12},{symbol:"Al",name:"铝",atomicNumber:13},{symbol:"Si",name:"硅",atomicNumber:14},{symbol:"P",name:"磷",atomicNumber:15},{symbol:"S",name:"硫",atomicNumber:16},{symbol:"Cl",name:"氯",atomicNumber:17},{symbol:"Ar",name:"氩",atomicNumber:18},{symbol:"K",name:"钾",atomicNumber:19},{symbol:"Ca",name:"钙",atomicNumber:20},{symbol:"Sc",name:"钪",atomicNumber:21},{symbol:"Ti",name:"钛",atomicNumber:22},{symbol:"V",name:"钒",atomicNumber:23},{symbol:"Cr",name:"铬",atomicNumber:24},{symbol:"Mn",name:"锰",atomicNumber:25},{symbol:"Fe",name:"铁",atomicNumber:26},{symbol:"Co",name:"钴",atomicNumber:27},{symbol:"Ni",name:"镍",atomicNumber:28},{symbol:"Cu",name:"铜",atomicNumber:29},{symbol:"Zn",name:"锌",atomicNumber:30},{symbol:"Ga",name:"镓",atomicNumber:31},{symbol:"Ge",name:"锗",atomicNumber:32},{symbol:"As",name:"砷",atomicNumber:33},{symbol:"Se",name:"硒",atomicNumber:34},{symbol:"Br",name:"溴",atomicNumber:35},{symbol:"Kr",name:"氪",atomicNumber:36},{symbol:"Rb",name:"铷",atomicNumber:37},{symbol:"Sr",name:"锶",atomicNumber:38},{symbol:"Y",name:"钇",atomicNumber:39},{symbol:"Zr",name:"锆",atomicNumber:40},{symbol:"Nb",name:"铌",atomicNumber:41},{symbol:"Mo",name:"钼",atomicNumber:42},{symbol:"Tc",name:"锝",atomicNumber:43},{symbol:"Ru",name:"钌",atomicNumber:44},{symbol:"Rh",name:"铑",atomicNumber:45},{symbol:"Pd",name:"钯",atomicNumber:46},{symbol:"Ag",name:"银",atomicNumber:47},{symbol:"Cd",name:"镉",atomicNumber:48},{symbol:"In",name:"铟",atomicNumber:49},{symbol:"Sn",name:"锡",atomicNumber:50},{symbol:"Sb",name:"锑",atomicNumber:51},{symbol:"Te",name:"碲",atomicNumber:52},{symbol:"I",name:"碘",atomicNumber:53},{symbol:"Xe",name:"氙",atomicNumber:54},{symbol:"Cs",name:"铯",atomicNumber:55},{symbol:"Ba",name:"钡",atomicNumber:56},{symbol:"La",name:"镧",atomicNumber:57},{symbol:"Ce",name:"铈",atomicNumber:58},{symbol:"Pr",name:"镨",atomicNumber:59},{symbol:"Nd",name:"钕",atomicNumber:60},{symbol:"Pm",name:"钷",atomicNumber:61},{symbol:"Sm",name:"钐",atomicNumber:62},{symbol:"Eu",name:"铕",atomicNumber:63},{symbol:"Gd",name:"钆",atomicNumber:64},{symbol:"Tb",name:"铽",atomicNumber:65},{symbol:"Dy",name:"镝",atomicNumber:66},{symbol:"Ho",name:"钬",atomicNumber:67},{symbol:"Er",name:"铒",atomicNumber:68},{symbol:"Tm",name:"铥",atomicNumber:69},{symbol:"Yb",name:"镱",atomicNumber:70},{symbol:"Lu",name:"镥",atomicNumber:71},{symbol:"Hf",name:"铪",atomicNumber:72},{symbol:"Ta",name:"钽",atomicNumber:73},{symbol:"W",name:"钨",atomicNumber:74},{symbol:"Re",name:"铼",atomicNumber:75},{symbol:"Os",name:"锇",atomicNumber:76},{symbol:"Ir",name:"铱",atomicNumber:77},{symbol:"Pt",name:"铂",atomicNumber:78},{symbol:"Au",name:"金",atomicNumber:79},{symbol:"Hg",name:"汞",atomicNumber:80},{symbol:"Tl",name:"铊",atomicNumber:81},{symbol:"Pb",name:"铅",atomicNumber:82},{symbol:"Bi",name:"铋",atomicNumber:83},{symbol:"Po",name:"钋",atomicNumber:84},{symbol:"At",name:"砹",atomicNumber:85},{symbol:"Rn",name:"氡",atomicNumber:86},{symbol:"Fr",name:"钫",atomicNumber:87},{symbol:"Ra",name:"镭",atomicNumber:88},{symbol:"Ac",name:"锕",atomicNumber:89},{symbol:"Th",name:"钍",atomicNumber:90},{symbol:"Pa",name:"镤",atomicNumber:91},{symbol:"U",name:"铀",atomicNumber:92},{symbol:"Np",name:"镎",atomicNumber:93},{symbol:"Pu",name:"钚",atomicNumber:94},{symbol:"Am",name:"镅",atomicNumber:95},{symbol:"Cm",name:"锔",atomicNumber:96},{symbol:"Bk",name:"锫",atomicNumber:97},{symbol:"Cf",name:"锎",atomicNumber:98},{symbol:"Es",name:"锿",atomicNumber:99},{symbol:"Fm",name:"镄",atomicNumber:100},{symbol:"Md",name:"钔",atomicNumber:101},{symbol:"No",name:"锘",atomicNumber:102},{symbol:"Lr",name:"铹",atomicNumber:103},{symbol:"Rf",name:"𬬻",atomicNumber:104},{symbol:"Db",name:"𬭊",atomicNumber:105},{symbol:"Sg",name:"𬭳",atomicNumber:106},{symbol:"Bh",name:"𬭛",atomicNumber:107},{symbol:"Hs",name:"𬭶",atomicNumber:108},{symbol:"Mt",name:"鿏",atomicNumber:109},{symbol:"Ds",name:"𫟼",atomicNumber:110},{symbol:"Rg",name:"𬬭",atomicNumber:111},{symbol:"Cn",name:"鿔",atomicNumber:112},{symbol:"Nh",name:"鿭",atomicNumber:113},{symbol:"Fl",name:"𫓧",atomicNumber:114},{symbol:"Mc",name:"镆",atomicNumber:115},{symbol:"Lv",name:"𫟷",atomicNumber:116},{symbol:"Ts",name:"鿬",atomicNumber:117},{symbol:"Og",name:"鿫",atomicNumber:118}],zFe=[{name:"米",symbol:"m"},{name:"秒",symbol:"s"},{name:"摩尔",symbol:"mol"},{name:"安培",symbol:"A"},{name:"开尔文",symbol:"K"},{name:"坎德拉",symbol:"cd"},{name:"千克",symbol:"kg"},{name:"弧度",symbol:"rad"},{name:"赫兹",symbol:"Hz"},{name:"牛顿",symbol:"N"},{name:"帕斯卡",symbol:"Pa"},{name:"焦耳",symbol:"J"},{name:"瓦特",symbol:"W"},{name:"库伦",symbol:"C"},{name:"伏特",symbol:"V"},{name:"欧姆",symbol:"Ω"},{name:"特斯拉",symbol:"T"},{name:"摄氏度",symbol:"°C"},{name:"流明",symbol:"lm"},{name:"贝尔勒尔",symbol:"Bq"},{name:"戈瑞",symbol:"Gy"},{name:"希沃特",symbol:"Sv"},{name:"球面度",symbol:"sr"},{name:"法拉",symbol:"F"},{name:"西门子",symbol:"S"},{name:"韦伯",symbol:"Wb"},{name:"亨利",symbol:"H"},{name:"勒克斯",symbol:"lx"},{name:"开特",symbol:"kat"}],WFe={chemical_element:HFe,unit:zFe},GFe=WFe,jFe=["三轮车","健身自行车","公路自行车","冒险公路自行车","卧式自行车","双人自行车","双运动自行车","场地/固定齿轮自行车","城市自行车","小轮车自行车","山地自行车","巡洋舰自行车","平足舒适自行车","折叠自行车","旅行自行车","混合动力自行车","越野自行车","铁人三项/计时自行车"],KFe=["柴油","汽油","混合动力","电动"],UFe=["三菱","丰田","保时捷","克莱斯勒","兰博基尼","凯迪拉克","劳斯莱斯","吉普","名爵","塔塔","大众","奔驰","奔驰smart","奥迪","宝马","宾利","布加迪","捷豹","斯巴鲁","斯柯达","日产","本田","极星","标致","比亚迪","沃克斯豪尔","沃尔沃","法拉利","特斯拉","玛莎拉蒂","现代","福特","菲亚特","蔚来","起亚","路虎","迷你","道奇","铃木","阿斯顿·马丁","雪佛兰","雪铁龙","雷诺","马恒达","马自达","马鲁蒂"],qFe=["客车","掀背车","旅行车","货车","越野车","轿车","面包车"],YFe={bicycle_type:jFe,fuel:KFe,manufacturer:UFe,type:qFe},JFe=YFe,XFe=["长","短","大","小","粗","细","红","绿","平坦","整齐","雪白","笔直","绿油油","血淋淋","骨碌碌","黑不溜秋","好","坏","伟大","勇敢","优秀","聪明","老实","鲁莽","大方","软","硬","苦","甜","冷","热","坚固","平常","快","慢","生动","熟练","轻松","清楚","马虎","干脆","许多","好些","全部","全","整","多","少"],ZFe=["都","全","单","共","光","尽","净","仅","就","只","一共","一起","一同","一道","一齐","一概","一味","统统","总共","仅仅","惟独","可","倒","一定","必定","必然","却","幸亏","难道","何尝","偏偏","索性","简直","反正","多亏","也许","大约","好在","敢情","不","没","没有","别","仿佛","渐渐","百般","特地","互相","擅自","几乎","逐渐","逐步","猛然","依然","仍然","当然","毅然","果然","差点儿","很","极","最","太","更","更加","格外","十分","极其","比较","相当","稍微","略微","多么"],QFe=["和","而","或者","但是","因为","所以","虽然","如果","即使","既然","无论","不但","而且","不仅","就是","不过","然而","而是","或者是","以便","除非","只要","一旦","以致","以免","哪怕","宁可","即便","乃至","甚至"],eEe=["啊","哎呀","哇","嘿","唉","哎","哈","呀","哦","呃","哼","呕","嗨","哇塞","咦","嘘","呜","呜呼","哟","呼","呃呃","喂","哇哦","哒","嘿嘿","哎哟","啧啧","咚","哗","哐"],tEe=["人","书","电脑","学校","老师","学生","城市","国家","手机","桌子","椅子","眼镜","时间","天气","语言","文化","音乐","电影","食物","饮料","朋友","家人","孩子","工作","汽车","飞机","火车","衣服","河流","山","水","动物","植物","钱包","钥匙","门","窗户","笔","本子","电视","冰箱","洗衣机","公园","超市","医院","银行","道路","楼房","桥","海洋","星星","太阳","公司","地铁"],nEe=["在","到","从","向","对","比","跟","给","往","自","朝","沿着","顺着","关于","对于","直到","除了","经过","靠近","接近","随着","由于","因为","依靠","根据","基于","围绕","为了","通过"],rEe=["打","吃","抿","做","坐","跑","跳","走","飞","爬","开","滑","切","拆","咬","吞","吐","吮","吸","啃","喝","咀","嚼","搀","抱","搂","扶","捉","擒","掐","推","拿","抽","撕","摘","拣","捡","播","击","捏","撒","按","弹","撞","提","扭","捶","持","揍","披","捣","搜","托","举","拖","擦","敲","挖","抛","掘","抬","插","扔","写","抄","抓","捧","掷","撑","摊","倒","摔","劈","画","搔","撬","挥","揽","挡","捺","抚","搡","拉","摸","拍","摇","剪","拎","拔","拧","拨","舞","握","攥","驾驶","移动","转动","操作","蠕动","启动","关闭"],aEe={adjective:XFe,adverb:ZFe,conjunction:QFe,interjection:eEe,noun:tEe,preposition:nEe,verb:rEe},iEe=aEe,oEe={airline:OCe,animal:KCe,book:e9e,color:r9e,commerce:s9e,company:p9e,database:v9e,date:C9e,finance:x9e,food:z9e,hacker:q9e,internet:X9e,location:vFe,metadata:yFe,music:EFe,person:RFe,phone_number:VFe,science:GFe,vehicle:JFe,word:iEe},lEe=oEe,wr=new eCe({locale:[lEe,L7e,xCe]});const sEe=()=>{const e=[];for(let t=0;t<200;t++)e.push({plateNumber:`豫A${wr.string.numeric({length:5})}${wr.string.alphanumeric({casing:"upper"})}`,driver:wr.person.firstName(),orientation:wr.number.int({min:1,max:360}),lng:wr.location.latitude({max:114.1,min:113}),lat:wr.location.latitude({max:35.1,min:34})});return e},uEe=[{url:"/get-map-info",method:"get",response:()=>({code:0,message:"操作成功",data:sEe()})}],cEe=Object.freeze(Object.defineProperty({__proto__:null,default:uEe},Symbol.toStringTag,{value:"Module"})),dEe=[{url:"/mine",method:"get",response:()=>({code:0,message:"操作成功",data:{avatar:"https://avatars.githubusercontent.com/u/44761321",username:"admin",nickname:"小铭",email:"pureadmin@163.com",phone:"15888886789",description:"一个热爱开源的前端工程师"}})},{url:"/mine-logs",method:"get",response:()=>{const e=[{id:1,ip:wr.internet.ipv4(),address:"中国河南省信阳市",system:"macOS",browser:"Chrome",summary:"账户登录",operatingTime:new Date},{id:2,ip:wr.internet.ipv4(),address:"中国广东省深圳市",system:"Windows",browser:"Firefox",summary:"绑定了手机号码",operatingTime:new Date().setDate(new Date().getDate()-1)}];return{code:0,message:"操作成功",data:{list:e,total:e.length,pageSize:10,currentPage:1}}}}],fEe=Object.freeze(Object.defineProperty({__proto__:null,default:dEe},Symbol.toStringTag,{value:"Module"})),pEe=[{url:"/refresh-token",method:"post",response:({body:e})=>e.refreshToken?{code:0,message:"操作成功",data:{accessToken:"eyJhbGciOiJIUzUxMiJ9.newAdmin",refreshToken:"eyJhbGciOiJIUzUxMiJ9.newAdminRefresh",expires:"2030/10/30 23:59:59"}}:{code:10001,message:"请求参数缺失或格式不正确",data:{}}}],hEe=Object.freeze(Object.defineProperty({__proto__:null,default:pEe},Symbol.toStringTag,{value:"Module"})),mEe=[{url:"/user",method:"post",response:({body:e})=>{let t=[{avatar:"https://avatars.githubusercontent.com/u/44761321",username:"admin",nickname:"小铭",phone:"15888886789",email:wr.internet.email(),sex:0,id:1,status:1,dept:{id:103,name:"研发部门"},remark:"管理员",createTime:1605456e6},{avatar:"https://avatars.githubusercontent.com/u/52823142",username:"common",nickname:"小林",phone:"18288882345",email:wr.internet.email(),sex:1,id:2,status:1,dept:{id:105,name:"测试部门"},remark:"普通用户",createTime:1605456e6}];return t=t.filter(n=>n.username.includes(e==null?void 0:e.username)),t=t.filter(n=>String(n.status).includes(String(e==null?void 0:e.status))),e.phone&&(t=t.filter(n=>n.phone===e.phone)),e.deptId&&(t=t.filter(n=>n.dept.id===e.deptId)),{code:0,message:"操作成功",data:{list:t,total:t.length,pageSize:10,currentPage:1}}}},{url:"/list-all-role",method:"get",response:()=>({code:0,message:"操作成功",data:[{id:1,name:"超级管理员"},{id:2,name:"普通角色"}]})},{url:"/list-role-ids",method:"post",response:({body:e})=>{if(e.userId){if(e.userId==1)return{code:0,message:"操作成功",data:[1]};if(e.userId==2)return{code:0,message:"操作成功",data:[2]}}else return{code:10001,message:"请求参数缺失或格式不正确",data:[]}}},{url:"/role",method:"post",response:({body:e})=>{let t=[{createTime:1605456e6,updateTime:1684512e6,id:1,name:"超级管理员",code:"admin",status:1,remark:"超级管理员拥有最高权限"},{createTime:1605456e6,updateTime:1684512e6,id:2,name:"普通角色",code:"common",status:1,remark:"普通角色拥有部分权限"}];return t=t.filter(n=>n.name.includes(e==null?void 0:e.name)),t=t.filter(n=>String(n.status).includes(String(e==null?void 0:e.status))),e.code&&(t=t.filter(n=>n.code===e.code)),{code:0,message:"操作成功",data:{list:t,total:t.length,pageSize:10,currentPage:1}}}},{url:"/role-menu",method:"post",response:()=>({code:0,message:"操作成功",data:[{parentId:0,id:100,menuType:0,title:"menus.pureExternalPage"},{parentId:100,id:101,menuType:0,title:"menus.pureExternalDoc"},{parentId:101,id:102,menuType:2,title:"menus.pureExternalLink"},{parentId:101,id:103,menuType:2,title:"menus.pureUtilsLink"},{parentId:100,id:104,menuType:1,title:"menus.pureEmbeddedDoc"},{parentId:104,id:105,menuType:1,title:"menus.pureEpDoc"},{parentId:104,id:106,menuType:1,title:"menus.pureTailwindcssDoc"},{parentId:104,id:107,menuType:1,title:"menus.pureVueDoc"},{parentId:104,id:108,menuType:1,title:"menus.pureViteDoc"},{parentId:104,id:109,menuType:1,title:"menus.purePiniaDoc"},{parentId:104,id:110,menuType:1,title:"menus.pureRouterDoc"},{parentId:0,id:200,menuType:0,title:"menus.purePermission"},{parentId:200,id:201,menuType:0,title:"menus.purePermissionPage"},{parentId:200,id:202,menuType:0,title:"menus.purePermissionButton"},{parentId:202,id:203,menuType:3,title:"添加"},{parentId:202,id:204,menuType:3,title:"修改"},{parentId:202,id:205,menuType:3,title:"删除"},{parentId:0,id:300,menuType:0,title:"menus.pureSysManagement"},{parentId:300,id:301,menuType:0,title:"menus.pureUser"},{parentId:300,id:302,menuType:0,title:"menus.pureRole"},{parentId:300,id:303,menuType:0,title:"menus.pureSystemMenu"},{parentId:300,id:304,menuType:0,title:"menus.pureDept"},{parentId:0,id:400,menuType:0,title:"menus.pureSysMonitor"},{parentId:400,id:401,menuType:0,title:"menus.pureOnlineUser"},{parentId:400,id:402,menuType:0,title:"menus.pureLoginLog"},{parentId:400,id:403,menuType:0,title:"menus.pureOperationLog"},{parentId:400,id:404,menuType:0,title:"menus.pureSystemLog"},{parentId:0,id:500,menuType:0,title:"menus.pureTabs"},{parentId:500,id:501,menuType:0,title:"menus.pureTabs"},{parentId:500,id:502,menuType:0,title:"query传参模式"},{parentId:500,id:503,menuType:0,title:"params传参模式"}]})},{url:"/role-menu-ids",method:"post",response:({body:e})=>{if(e.id==1)return{code:0,message:"操作成功",data:[100,101,102,103,104,105,106,107,108,109,110,200,201,202,203,204,205,300,301,302,303,304,400,401,402,403,404,500,501,502,503]};if(e.id==2)return{code:0,message:"操作成功",data:[100,101,102,103,104,105,106,107,108,109,110,404,500,501,502,503]}}},{url:"/menu",method:"post",response:()=>({code:0,message:"操作成功",data:[{parentId:0,id:100,menuType:0,title:"menus.pureExternalPage",name:"PureIframe",path:"/iframe",component:"",rank:7,redirect:"",icon:"ri:links-fill",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:100,id:101,menuType:0,title:"menus.pureExternalDoc",name:"PureIframeExternal",path:"/iframe/external",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:101,id:102,menuType:2,title:"menus.pureExternalLink",name:"https://pure-admin.cn/",path:"/external",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:101,id:103,menuType:2,title:"menus.pureUtilsLink",name:"https://pure-admin-utils.netlify.app/",path:"/pureUtilsLink",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:100,id:104,menuType:1,title:"menus.pureEmbeddedDoc",name:"PureIframeEmbedded",path:"/iframe/embedded",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:104,id:105,menuType:1,title:"menus.pureEpDoc",name:"FrameEp",path:"/iframe/ep",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"https://element-plus.org/zh-CN/",frameLoading:!0,keepAlive:!0,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:104,id:106,menuType:1,title:"menus.pureTailwindcssDoc",name:"FrameTailwindcss",path:"/iframe/tailwindcss",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"https://tailwindcss.com/docs/installation",frameLoading:!0,keepAlive:!0,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:104,id:107,menuType:1,title:"menus.pureVueDoc",name:"FrameVue",path:"/iframe/vue3",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"https://cn.vuejs.org/",frameLoading:!0,keepAlive:!0,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:104,id:108,menuType:1,title:"menus.pureViteDoc",name:"FrameVite",path:"/iframe/vite",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"https://cn.vitejs.dev/",frameLoading:!0,keepAlive:!0,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:104,id:109,menuType:1,title:"menus.purePiniaDoc",name:"FramePinia",path:"/iframe/pinia",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"https://pinia.vuejs.org/zh/index.html",frameLoading:!0,keepAlive:!0,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:104,id:110,menuType:1,title:"menus.pureRouterDoc",name:"FrameRouter",path:"/iframe/vue-router",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"https://router.vuejs.org/zh/",frameLoading:!0,keepAlive:!0,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:0,id:200,menuType:0,title:"menus.purePermission",name:"PurePermission",path:"/permission",component:"",rank:9,redirect:"",icon:"ep:lollipop",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:200,id:201,menuType:0,title:"menus.purePermissionPage",name:"PermissionPage",path:"/permission/page/index",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:200,id:202,menuType:0,title:"menus.purePermissionButton",name:"PermissionButton",path:"/permission/button",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:202,id:203,menuType:0,title:"menus.purePermissionButtonRouter",name:"PermissionButtonRouter",path:"/permission/button/router",component:"permission/button/index",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:203,id:210,menuType:3,title:"添加",name:"",path:"",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"permission:btn:add",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:203,id:211,menuType:3,title:"修改",name:"",path:"",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"permission:btn:edit",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:203,id:212,menuType:3,title:"删除",name:"",path:"",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"permission:btn:delete",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:202,id:204,menuType:0,title:"menus.purePermissionButtonLogin",name:"PermissionButtonLogin",path:"/permission/button/login",component:"permission/button/perms",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:204,id:220,menuType:3,title:"添加",name:"",path:"",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"permission:btn:add",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:204,id:221,menuType:3,title:"修改",name:"",path:"",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"permission:btn:edit",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:204,id:222,menuType:3,title:"删除",name:"",path:"",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"permission:btn:delete",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:0,id:300,menuType:0,title:"menus.pureSysManagement",name:"PureSystem",path:"/system",component:"",rank:10,redirect:"",icon:"ri:settings-3-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:300,id:301,menuType:0,title:"menus.pureUser",name:"SystemUser",path:"/system/user/index",component:"",rank:null,redirect:"",icon:"ri:admin-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:300,id:302,menuType:0,title:"menus.pureRole",name:"SystemRole",path:"/system/role/index",component:"",rank:null,redirect:"",icon:"ri:admin-fill",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:300,id:303,menuType:0,title:"menus.pureSystemMenu",name:"SystemMenu",path:"/system/menu/index",component:"",rank:null,redirect:"",icon:"ep:menu",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:300,id:304,menuType:0,title:"menus.pureDept",name:"SystemDept",path:"/system/dept/index",component:"",rank:null,redirect:"",icon:"ri:git-branch-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:0,id:400,menuType:0,title:"menus.pureSysMonitor",name:"PureMonitor",path:"/monitor",component:"",rank:11,redirect:"",icon:"ep:monitor",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:400,id:401,menuType:0,title:"menus.pureOnlineUser",name:"OnlineUser",path:"/monitor/online-user",component:"monitor/online/index",rank:null,redirect:"",icon:"ri:user-voice-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:400,id:402,menuType:0,title:"menus.pureLoginLog",name:"LoginLog",path:"/monitor/login-logs",component:"monitor/logs/login/index",rank:null,redirect:"",icon:"ri:window-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:400,id:403,menuType:0,title:"menus.pureOperationLog",name:"OperationLog",path:"/monitor/operation-logs",component:"monitor/logs/operation/index",rank:null,redirect:"",icon:"ri:history-fill",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:400,id:404,menuType:0,title:"menus.pureSystemLog",name:"SystemLog",path:"/monitor/system-logs",component:"monitor/logs/system/index",rank:null,redirect:"",icon:"ri:file-search-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:0,id:500,menuType:0,title:"menus.pureTabs",name:"PureTabs",path:"/tabs",component:"",rank:12,redirect:"",icon:"ri:bookmark-2-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:500,id:501,menuType:0,title:"menus.pureTabs",name:"Tabs",path:"/tabs/index",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:500,id:502,menuType:0,title:"query传参模式",name:"TabQueryDetail",path:"/tabs/query-detail",component:"",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"/tabs/index",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!1,showParent:!1},{parentId:500,id:503,menuType:0,title:"params传参模式",name:"TabParamsDetail",path:"/tabs/params-detail/:id",component:"params-detail",rank:null,redirect:"",icon:"",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"/tabs/index",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!1,showParent:!1}]})},{url:"/dept",method:"post",response:()=>({code:0,message:"操作成功",data:[{name:"杭州总公司",parentId:0,id:100,sort:0,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:1,type:1,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"郑州分公司",parentId:100,id:101,sort:1,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:1,type:2,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"研发部门",parentId:101,id:103,sort:1,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:1,type:3,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"市场部门",parentId:102,id:108,sort:1,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:1,type:3,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"深圳分公司",parentId:100,id:102,sort:2,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:1,type:2,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"市场部门",parentId:101,id:104,sort:2,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:1,type:3,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"财务部门",parentId:102,id:109,sort:2,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:1,type:3,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"测试部门",parentId:101,id:105,sort:3,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:0,type:3,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"财务部门",parentId:101,id:106,sort:4,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:1,type:3,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"},{name:"运维部门",parentId:101,id:107,sort:5,phone:"15888888888",principal:wr.person.firstName(),email:wr.internet.email(),status:0,type:3,createTime:1605456e6,remark:"这里是备注信息这里是备注信息这里是备注信息这里是备注信息"}]})},{url:"/online-logs",method:"post",response:({body:e})=>{let t=[{id:1,username:"admin",ip:wr.internet.ipv4(),address:"中国河南省信阳市",system:"macOS",browser:"Chrome",loginTime:new Date},{id:2,username:"common",ip:wr.internet.ipv4(),address:"中国广东省深圳市",system:"Windows",browser:"Firefox",loginTime:new Date}];return t=t.filter(n=>n.username.includes(e==null?void 0:e.username)),{code:0,message:"操作成功",data:{list:t,total:t.length,pageSize:10,currentPage:1}}}},{url:"/login-logs",method:"post",response:({body:e})=>{let t=[{id:1,username:"admin",ip:wr.internet.ipv4(),address:"中国河南省信阳市",system:"macOS",browser:"Chrome",status:1,behavior:"账号登录",loginTime:new Date},{id:2,username:"common",ip:wr.internet.ipv4(),address:"中国广东省深圳市",system:"Windows",browser:"Firefox",status:0,behavior:"第三方登录",loginTime:new Date}];return t=t.filter(n=>n.username.includes(e==null?void 0:e.username)),t=t.filter(n=>String(n.status).includes(String(e==null?void 0:e.status))),{code:0,message:"操作成功",data:{list:t,total:t.length,pageSize:10,currentPage:1}}}},{url:"/operation-logs",method:"post",response:({body:e})=>{let t=[{id:1,username:"admin",ip:wr.internet.ipv4(),address:"中国河南省信阳市",system:"macOS",browser:"Chrome",status:1,summary:"菜单管理-添加菜单",module:"系统管理",operatingTime:new Date},{id:2,username:"common",ip:wr.internet.ipv4(),address:"中国广东省深圳市",system:"Windows",browser:"Firefox",status:0,summary:"列表分页查询",module:"在线用户",operatingTime:new Date}];return t=t.filter(n=>n.module.includes(e==null?void 0:e.module)),t=t.filter(n=>String(n.status).includes(String(e==null?void 0:e.status))),{code:0,message:"操作成功",data:{list:t,total:t.length,pageSize:10,currentPage:1}}}},{url:"/system-logs",method:"post",response:({body:e})=>{let t=[{id:1,level:1,module:"菜单管理",url:"/menu",method:"post",ip:wr.internet.ipv4(),address:"中国河南省信阳市",system:"macOS",browser:"Chrome",takesTime:10,requestTime:new Date},{id:2,level:0,module:"地图",url:"/get-map-info",method:"get",ip:wr.internet.ipv4(),address:"中国广东省深圳市",system:"Windows",browser:"Firefox",takesTime:1200,requestTime:new Date}];return t=t.filter(n=>n.module.includes(e==null?void 0:e.module)),{code:0,message:"操作成功",data:{list:t,total:t.length,pageSize:10,currentPage:1}}}},{url:"/system-logs-detail",method:"post",response:({body:e})=>{if(e.id==1)return{id:1,level:1,module:"菜单管理",url:"/menu",method:"post",ip:wr.internet.ipv4(),address:"中国河南省信阳市",system:"macOS",browser:"Chrome",takesTime:10,responseHeaders:{traceId:"1495502411171032","Content-Type":"application/json",Connection:"keep-alive","Keep-Alive":"timeout=5","Content-Length":17019},responseBody:{code:0,message:"操作成功",data:[{parentId:0,id:400,menuType:0,title:"menus.pureSysMonitor",name:"PureMonitor",path:"/monitor",component:"",rank:11,redirect:"",icon:"ep:monitor",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:400,id:401,menuType:0,title:"menus.pureOnlineUser",name:"OnlineUser",path:"/monitor/online-user",component:"monitor/online/index",rank:null,redirect:"",icon:"ri:user-voice-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:400,id:402,menuType:0,title:"menus.pureLoginLog",name:"LoginLog",path:"/monitor/login-logs",component:"monitor/logs/login/index",rank:null,redirect:"",icon:"ri:window-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:400,id:403,menuType:0,title:"menus.pureOperationLog",name:"OperationLog",path:"/monitor/operation-logs",component:"monitor/logs/operation/index",rank:null,redirect:"",icon:"ri:history-fill",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1},{parentId:400,id:404,menuType:0,title:"menus.pureSystemLog",name:"SystemLog",path:"/monitor/system-logs",component:"monitor/logs/system/index",rank:null,redirect:"",icon:"ri:file-search-line",extraIcon:"",enterTransition:"",leaveTransition:"",activePath:"",auths:"",frameSrc:"",frameLoading:!0,keepAlive:!1,hiddenTag:!1,fixedTag:!1,showLink:!0,showParent:!1}]},requestHeaders:{Accept:"application/json, text/plain, */*","Accept-Encoding":"gzip, deflate","Accept-Language":"zh-CN,zh;q=0.9,en;q=0.8,eo;q=0.7",Authorization:"Bearer eyJhbGciOiJIUzUxMiJ9.admin",Connection:"keep-alive","Content-Length":0,Cookie:"_ga=GA1.1.231800979.1704562367; _ga_M74ZHEQ1M1=GS1.1.1709299375.7.1.1709299476.0.0.0; Hm_lvt_6a7dac00248d3b6ad8479d7249bb29c5=1709032753,1709359575; Hm_lvt_23a157b7d0d9867f7a51e42628f052f5=1708960489,1709485849,1709879672; authorized-token={%22accessToken%22:%22eyJhbGciOiJIUzUxMiJ9.admin%22%2C%22expires%22:1919520000000}; multiple-tabs=true",Host:"192.168.2.121:8848",Origin:"http://192.168.2.121:8848",Referer:"http://192.168.2.121:8848/","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","X-Requested-With":"XMLHttpRequest"},requestBody:{title:"系统监控"},traceId:"1495502411171032",requestTime:new Date};if(e.id==2)return{id:2,level:0,module:"地图",url:"/get-map-info?plateNumber=豫A59778U",method:"get",ip:wr.internet.ipv4(),address:"中国广东省深圳市",system:"Windows",browser:"Firefox",takesTime:1200,responseHeaders:{traceId:"2280443117103208","Content-Type":"application/json",Connection:"keep-alive","Keep-Alive":"timeout=5","Content-Length":28693},responseBody:{plateNumber:"豫A59778U",driver:"子骞",orientation:289,lng:113.8564,lat:34.373},requestHeaders:{Accept:"application/json, text/plain, */*","Accept-Encoding":"gzip, deflate","Accept-Language":"zh-CN,zh;q=0.9,en;q=0.8,eo;q=0.7",Authorization:"Bearer eyJhbGciOiJIUzUxMiJ9.admin",Connection:"keep-alive","Content-Length":0,Cookie:"_ga=GA1.1.231800979.1704562367; _ga_M74ZHEQ1M1=GS1.1.1709299375.7.1.1709299476.0.0.0; Hm_lvt_6a7dac00248d3b6ad8479d7249bb29c5=1709032753,1709359575; Hm_lvt_23a157b7d0d9867f7a51e42628f052f5=1708960489,1709485849,1709879672; authorized-token={%22accessToken%22:%22eyJhbGciOiJIUzUxMiJ9.admin%22%2C%22expires%22:1919520000000}; multiple-tabs=true",Host:"192.168.2.121:8848",Origin:"http://192.168.2.121:8848",Referer:"http://192.168.2.121:8848/","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36","X-Requested-With":"XMLHttpRequest"},requestBody:null,traceId:"2280443117103208",requestTime:new Date}}}],vEe=Object.freeze(Object.defineProperty({__proto__:null,default:mEe},Symbol.toStringTag,{value:"Module"})),vE=Object.assign({"/mock/asyncRoutes.ts":l4e,"/mock/list.ts":u4e,"/mock/login.ts":d4e,"/mock/map.ts":cEe,"/mock/mine.ts":fEe,"/mock/refreshToken.ts":hEe,"/mock/system.ts":vEe}),gEe=Object.keys(vE).reduce((e,t)=>{var r,a;const n=(r=vE[t])!=null?r:{};if(n.default)for(const i of Object.keys(n)){const o=(a=vE[t][i])!=null?a:[],l=Array.isArray(o)?[...o]:[o];return[...e,...l]}else return e},[]);window.__VITE__PLUGIN__FAKE__SERVER__.fakeModuleList=gEe;function yEe(){const e=I=>{try{return new URL(I),!0}catch(P){return!1}},t=(I,P)=>Array.prototype.slice.call(I,P);let n=null;typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?n=self:typeof global!="undefined"?n=global:window&&(n=window);const r=n,a=n.document,i=["load","loadend","loadstart"],o=["progress","abort","error","timeout"],l=I=>["returnValue","totalSize","position"].includes(I),s=function(I,P){for(let B in I){if(l(B))continue;const T=I[B];try{P[B]=T}catch(O){}}return P},u=function(I,P,B){const T=O=>(function(N){const V={};for(let Y in N){if(l(Y))continue;const z=N[Y];V[Y]=z===P?B:z}return B.dispatchEvent(O,V)});for(let O of Array.from(I))B._has(O)&&(P[`on${O}`]=T(O))},c=function(I){if(a&&a.createEventObject!=null){const P=a.createEventObject();return P.type=I,P}try{return new Event(I)}catch(P){return{type:I}}},d=function(I){let P={};const B=O=>P[O]||[],T={};return T.addEventListener=function(O,N,V){P[O]=B(O),!(P[O].indexOf(N)>=0)&&(V=V===void 0?P[O].length:V,P[O].splice(V,0,N))},T.removeEventListener=function(O,N){if(O===void 0){P={};return}N===void 0&&(P[O]=[]);const V=B(O).indexOf(N);V!==-1&&B(O).splice(V,1)},T.dispatchEvent=function(){const O=t(arguments),N=O.shift();I||(O[0]=s(O[0],c(N)),Object.defineProperty(O[0],"target",{writable:!1,value:this}));const V=T[`on${N}`];V&&V.apply(T,O);const Y=B(N).concat(B("*"));for(let z=0;z!!(P[O]||T[`on${O}`]),I&&(T.listeners=O=>t(B(O)),T.on=T.addEventListener,T.off=T.removeEventListener,T.fire=T.dispatchEvent,T.once=function(O,N){var V=function(){return T.off(O,V),N.apply(null,arguments)};return T.on(O,V)},T.destroy=()=>P={}),T},f=`\r `,p=function(I){return Object.entries(I).map(([T,O])=>`${T.toLowerCase()}: ${O}`).join(f)},h=function(I,P){const B=I.split(f);P==null&&(P={});for(let T of B)if(/([^:]+):\s*(.+)/.test(T)){const O=RegExp.$1!=null?RegExp.$1.toLowerCase():void 0,N=RegExp.$2;P[O]==null&&(P[O]=N)}return P};var v={convert:function(I,P){switch(typeof I){case"object":return p(I);case"string":return h(I,P)}return[]}};const g=d(!0),b=I=>I===void 0?null:I,C=r.XMLHttpRequest,y=function(){const P=new C,B={};let T=null,O,N,V;var Y=0;const z=function(){if(V.status=T||P.status,T!==-1&&(V.statusText=P.statusText),T!==-1){const K=v.convert(P.getAllResponseHeaders());for(let Z in K){const se=K[Z];if(!V.headers[Z]){const Fe=Z.toLowerCase();V.headers[Fe]=se}}return}},ee=function(){if(!P.responseType||P.responseType==="text"){V.text=P.responseText,V.data=P.responseText;try{V.xml=P.responseXML}catch(K){}}else P.responseType==="document"?(V.xml=P.responseXML,V.data=P.responseXML):V.data=P.response;"responseURL"in P&&(V.responseURL=P.responseURL)},ae=function(){X.status=V.status,X.statusText=V.statusText},pe=function(){var K,Z;if("text"in V&&(X.responseText=V.text),"xml"in V&&(X.responseXML=V.xml),"data"in V)X.response=V.data;else{const se={"":"",text:"",json:null,blob:new Blob([],{type:new Headers((K=V.headers)!=null?K:{}).get("content-type")}),arraybuffer:new ArrayBuffer};X.response=se[X.responseType]}("responseURL"in V||B.url)&&(X.responseURL=(Z=V.responseURL)!=null?Z:e(B.url)?B.url:new URL(location.href).origin+B.url)},re=function(){O||X.dispatchEvent("load",{}),X.dispatchEvent("loadend",{}),O&&(X.readyState=0)},Q=function(K){for(;K>Y&&Y<4;)X.readyState=++Y,Y===1&&X.dispatchEvent("loadstart",{}),Y===2&&ae(),Y===4&&(ae(),pe()),X.dispatchEvent("readystatechange",{}),Y===4&&(B.async===!1?re():setTimeout(re,0))},ie=function(K){if(K!==4){Q(K);return}const Z=g.listeners("after");var se=function(){if(Z.length>0){const Fe=Z.shift();Fe.length===2?(Fe(B,V),se()):Fe.length===3&&B.async?Fe(B,V,se):se()}else Q(4)};se()};var X=d();B.xhr=X,P.onreadystatechange=function(K){try{P.readyState===2&&z()}catch(Z){}P.readyState===4&&(N=!1,z(),ee()),ie(P.readyState)};const q=function(){O=!0};X.addEventListener("error",q),X.addEventListener("timeout",q),X.addEventListener("abort",q),X.addEventListener("progress",function(K){Y<3?ie(3):P.readyState<=3&&X.dispatchEvent("readystatechange",{})}),"withCredentials"in P&&(X.withCredentials=!1),X.status=0;for(let K of Array.from(o.concat(i)))X[`on${K}`]=null;if(X.open=function(K,Z,se,Fe,me){Y=0,O=!1,N=!1,B.headers={},B.headerNames={},B.status=0,B.method=K,B.url=Z,B.async=se!==!1,B.user=Fe,B.pass=me,V={},V.headers={},ie(1)},X.send=function(K){let Z,se;for(Z of["type","timeout","withCredentials"])se=Z==="type"?"responseType":Z,!(se==="responseType"&&!X._responseTypeChanged)&&se in X&&(B[Z]=X[se]);B.body=K;const Fe=function(){u(o,P,X),X.upload&&u(o.concat(i),P.upload,X.upload),N=!0,P.open(B.method,B.url,B.async,B.user,B.pass);for(Z of["type","timeout","withCredentials"])se=Z==="type"?"responseType":Z,Z in B&&(P[se]=B[Z]);for(let ue in B.headers){const Se=B.headers[ue];ue&&P.setRequestHeader(ue,Se)}P.send(B.body)},me=g.listeners("before");var te=function(){if(!me.length)return Fe();const ue=function(Ae){if(typeof Ae=="object"&&(typeof Ae.status=="number"||typeof V.status=="number")){s(Ae,V),"data"in Ae||(Ae.data=Ae.response||Ae.text),ie(4);return}te()};ue.head=function(Ae){s(Ae,V),ie(2)},ue.progress=function(Ae){s(Ae,V),ie(3)};const Se=me.shift();B.async?Se.length===1?ue():Se.length===2&&Se(B,ue):Se.length===1?ue(Se(B)):Se.length===2&&ue()};te()},X.abort=function(){T=-1,N?P.abort():X.dispatchEvent("abort",{})},X.setRequestHeader=function(K,Z){const se=K!=null?K.toLowerCase():void 0,Fe=B.headerNames[se]=B.headerNames[se]||K;B.headers[Fe]&&(Z=B.headers[Fe]+", "+Z),B.headers[Fe]=Z},X.getResponseHeader=K=>b(V.headers[K?K.toLowerCase():void 0]),X.getAllResponseHeaders=()=>b(v.convert(V.headers)),P.overrideMimeType&&(X.overrideMimeType=function(){P.overrideMimeType.apply(P,arguments)}),P.upload){let K=d();X.upload=K,B.upload=K}X.UNSENT=0,X.OPENED=1,X.HEADERS_RECEIVED=2,X.LOADING=3,X.DONE=4,X.response="",X.responseText="",X.responseXML=null,X.readyState=0,X.statusText="",X._responseTypeChanged=!1;let ce="";return Object.defineProperty(X,"responseType",{get:()=>ce,set:K=>{X._responseTypeChanged=!0,ce=K},enumerable:!0,configurable:!0}),X};y.UNSENT=0,y.OPENED=1,y.HEADERS_RECEIVED=2,y.LOADING=3,y.DONE=4;var E={patch(){C&&(r.XMLHttpRequest=y)},unpatch(){C&&(r.XMLHttpRequest=C)},Native:C,Xhook:y};function w(I,P){var B={};for(var T in I)Object.prototype.hasOwnProperty.call(I,T)&&P.indexOf(T)<0&&(B[T]=I[T]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,T=Object.getOwnPropertySymbols(I);OB[T]=I[T]),B}function k(I){return I instanceof Headers?x([...I.entries()]):Array.isArray(I)?x(I):I}function x(I){return I.reduce((P,[B,T])=>(P[B]=T,P),{})}const _=function(B){return Xt(this,arguments,function*(I,P={headers:{}}){let T=Object.assign(Object.assign({},P),{isFetch:!0});if(I instanceof Request){const V=D(I),Y=Object.assign(Object.assign({},k(V.headers)),k(T.headers));T=Object.assign(Object.assign(Object.assign({},V),P),{headers:Y,acceptedRequest:!0,isFetch:!0});try{const z=I.clone();z.text&&(T.body=yield z.text())}catch(z){}}else T.url=I;const O=g.listeners("before"),N=g.listeners("after");return new Promise(function(V,Y){let z=V;const ee=function(Q){if(!N.length)return z(Q);const ie=N.shift();return ie.length===2?(ie(T,Q),ee(Q)):ie.length===3?ie(T,Q,ee):ee(Q)},ae=function(Q){if(Q!==void 0){const ie=new Response(Q.body||Q.text,Q);Object.defineProperty(ie,"url",{value:e(T.url)?T.url:new URL(location.href).origin+T.url}),V(ie),ee(ie);return}pe()},pe=function(){if(!O.length){re();return}const Q=O.shift();if(Q.length===1)return ae();if(Q.length===2)return Q(T,ae)},re=()=>S(this,void 0,void 0,function*(){const{url:Q,isFetch:ie,acceptedRequest:X}=T,q=w(T,["url","isFetch","acceptedRequest"]);return I instanceof Request&&I.text&&(q.body=yield I.text()),A(Q,q).then(ce=>ee(ce)).catch(function(ce){return z=Y,ee(ce),Y(ce)})});pe()})})};var M={patch(){A&&(r.fetch=_)},unpatch(){A&&(r.fetch=A)},Native:A,Xhook:_};const L=g;return L.EventEmitter=d,L.before=function(I,P){if(I.length<1||I.length>2)throw"invalid hook";return L.on("before",I,P)},L.after=function(I,P){if(I.length<2||I.length>3)throw"invalid hook";return L.on("after",I,P)},L.enable=function(){E.patch(),M.patch()},L.disable=function(){E.unpatch(),M.unpatch()},L.XMLHttpRequest=E.Native,L.fetch=M.Native,L.headers=v.convert,L.enable(),L}window.__VITE__PLUGIN__FAKE__SERVER__.xhook=yEe();window.__VITE__PLUGIN__FAKE__SERVER__.pathToRegexp=(function(){return(function(e){var t={};Object.defineProperty(t,"__esModule",{value:!0}),e.PathError=t.PathError=e.TokenData=t.TokenData=void 0;var n=t.parse=v,r=t.compile=g,a=t.match=y,i=t.pathToRegexp=E,o=t.stringify=x;const l="/",s=L=>L,u=/^[$_\p{ID_Start}]$/u,c=/^[$\u200c\u200d\p{ID_Continue}]$/u,d={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function f(L){return L.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}function p(L){return L.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class h{constructor(I,P){this.tokens=I,this.originalPath=P}}e.TokenData=t.TokenData=h;class m extends TypeError{constructor(I,P){let B=I;P&&(B+=`: ${P}`),B+="; visit https://git.new/pathToRegexpError for info",super(B),this.originalPath=P}}e.PathError=t.PathError=m;function v(L,I={}){const{encodePath:P=s}=I,B=[...L],T=[];let O=0,N=0;function V(){let z="";if(u.test(B[O]))do z+=B[O++];while(c.test(B[O]));else if(B[O]==='"'){let ee=O;for(;O++C(T,I,P));return T=>{const O=[""];for(const N of B){const[V,...Y]=N(T);O[0]+=V,O.push(...Y)}return O}}function C(L,I,P){if(L.type==="text")return()=>[L.value];if(L.type==="group"){const T=b(L.tokens,I,P);return O=>{const[N,...V]=T(O);return V.length?[""]:[N]}}const B=P||s;return L.type==="wildcard"&&P!==!1?T=>{const O=T[L.name];if(O==null)return["",L.name];if(!Array.isArray(O)||O.length===0)throw new TypeError(`Expected "${L.name}" to be a non-empty array`);return[O.map((N,V)=>{if(typeof N!="string")throw new TypeError(`Expected "${L.name}/${V}" to be a string`);return B(N)}).join(I)]}:T=>{const O=T[L.name];if(O==null)return["",L.name];if(typeof O!="string")throw new TypeError(`Expected "${L.name}" to be a string`);return[B(O)]}}function y(L,I={}){const{decode:P=decodeURIComponent,delimiter:B=l}=I,{regexp:T,keys:O}=E(L,I),N=O.map(V=>P===!1?s:V.type==="param"?P:Y=>Y.split(B).map(P));return function(Y){const z=T.exec(Y);if(!z)return!1;const ee=z[0],ae=Object.create(null);for(let pe=1;pec.test(B))}function M(L){return L&&L.type==="text"?!c.test(L.value[0]):!0}e.compile=r,e.default=t,e.match=a,e.parse=n,e.pathToRegexp=i,e.stringify=o,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})(this.pathToRegexp=this.pathToRegexp||{}),this.pathToRegexp}).apply({});const Vae=window.__VITE__PLUGIN__FAKE__SERVER__.fakeModuleList,sH=window.__VITE__PLUGIN__FAKE__SERVER__.pathToRegexp;var Cae;const Hae=(Cae=sH.match)!=null?Cae:sH.default.match;window.__VITE__PLUGIN__FAKE__SERVER__.xhook.before(function(e){function t(s){let u="";try{u=JSON.parse(s)}catch(c){u=s}return u}const n={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};function r(s){const u={};for(const[c,d]of s.entries())u[c]=d;return u}function a(s){if(s<=0)return;const u=performance.now();for(;performance.now()-u{var D,k;if(!C||!E||!E.url)return!1;const w=(D=E.method)!=null?D:"GET",S=(k=c.method)!=null?k:"GET";if(w.toUpperCase()!==S.toUpperCase())return!1;const A=g(h,E.url);return!!p(A)(C)});if(y){const{response:E,rawResponse:w,timeout:S=m,statusCode:A,statusText:D,url:k,headers:x={}}=y,_=g(h,k),M=p(_,{encode:encodeURI}),L=b.searchParams,I={};for(const[O,N]of L.entries())if(Object.prototype.hasOwnProperty.call(I,O)){const V=I[O];Array.isArray(V)?V.push(N):I[O]=[V,N]}else I[O]=N;let P={};if(C){const O=M(C);O&&(P=O.params)}const B={response:E,rawResponse:w,timeout:S,statusCode:A!=null?A:200,statusText:D,url:c.url,query:I,params:P,responseHeaders:new Headers(Te(Te({},v),x))},T=S?s(S):!1;return T&&(T!=null&&T.then)?T.then(()=>B):B}}}}const l=i(a)(e,Vae,{match:Hae,basename:"",defaultTimeout:void 0,globalResponseHeaders:{}});if(l){let s="";const{response:u,statusCode:c,statusText:d=n[c],url:f,query:p,params:h,responseHeaders:m}=l!=null?l:{},v="",g={};for(const y in e.headers)g[y.toLowerCase()]=e.headers[y];const C=typeof u=="function"?u({url:f,body:t(e.body),rawBody:e.body,query:p,params:h,headers:g}):u;if(e.isFetch)typeof C=="string"?(m.get("Content-Type")||m.set("Content-Type","text/plain"),s=new Response(C,{statusText:v,status:c,headers:r(m)})):(m.get("Content-Type")||m.set("Content-Type","application/json"),s=new Response(JSON.stringify(C,null,2),{statusText:v,status:c,headers:r(m)}));else{const y={data:C};if(!e.type||e.type.toLowerCase()==="text")m.get("Content-Type")||m.set("Content-Type","text/plain"),s=Et(Te({statusText:v,status:c,text:C},y),{headers:r(m)});else if(e.type.toLowerCase()==="json")m.get("Content-Type")||m.set("Content-Type","application/json"),s=Et(Te({statusText:v,status:c},y),{headers:r(m)});else if(e.type.toLowerCase()==="document"){m.get("Content-Type")||m.set("Content-Type","application/xml");const w=new DOMParser().parseFromString(C,"application/xml");s={statusText:v,status:c,xml:w,data:w,headers:r(m)}}else s=Et(Te({statusText:v,status:c},y),{headers:r(m)})}return s}else return});window.__VITE__PLUGIN__FAKE__SERVER__.xhook.before(function(e,t){return Xt(this,null,function*(){function n(u){let c="";try{c=JSON.parse(u)}catch(d){c=u}return c}const r={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};function a(u){const c={};for(const[d,f]of u.entries())c[d]=f;return c}function i(u){return new Promise(c=>{const d=setTimeout(()=>{c(d),clearTimeout(d)},u)})}function o(u){return function(d={},f=[],p={}){const{match:h,basename:m="",defaultTimeout:v=0,globalResponseHeaders:g={}}=p;function b(C,y){const E=new URL(C,"http://localhost:5173/").pathname,w=new URL(y,"http://localhost:5173/").pathname;return E.endsWith("/")?E.slice(0,-1)+w:E+w}if(d.url){const C=new URL(d.url,"http://localhost:5173/"),y=C.pathname,E=f.find(w=>{var k,x;if(!y||!w||!w.url)return!1;const S=(k=w.method)!=null?k:"GET",A=(x=d.method)!=null?x:"GET";if(S.toUpperCase()!==A.toUpperCase())return!1;const D=b(m,w.url);return!!h(D)(y)});if(E){const{response:w,rawResponse:S,timeout:A=v,statusCode:D,statusText:k,url:x,headers:_={}}=E,M=b(m,x),L=h(M,{encode:encodeURI}),I=C.searchParams,P={};for(const[N,V]of I.entries())if(Object.prototype.hasOwnProperty.call(P,N)){const Y=P[N];Array.isArray(Y)?Y.push(V):P[N]=[Y,V]}else P[N]=V;let B={};if(y){const N=L(y);N&&(B=N.params)}const T={response:w,rawResponse:S,timeout:A,statusCode:D!=null?D:200,statusText:k,url:d.url,query:P,params:B,responseHeaders:new Headers(Te(Te({},g),_))},O=A?u(A):!1;return O&&(O!=null&&O.then)?O.then(()=>T):T}}}}const s=yield o(i)(e,Vae,{match:Hae,basename:"",defaultTimeout:void 0,globalResponseHeaders:{}});if(s){let u="";const{response:c,statusCode:d,statusText:f=r[d],url:p,query:h,params:m,responseHeaders:v}=s!=null?s:{},g="",b={};for(const E in e.headers)b[E.toLowerCase()]=e.headers[E];const y=typeof c=="function"?yield Promise.resolve(c({url:p,body:n(e.body),rawBody:e.body,query:h,params:m,headers:b})):c;if(e.isFetch)typeof y=="string"?(v.get("Content-Type")||v.set("Content-Type","text/plain"),u=new Response(y,{statusText:g,status:d,headers:a(v)})):(v.get("Content-Type")||v.set("Content-Type","application/json"),u=new Response(JSON.stringify(y,null,2),{statusText:g,status:d,headers:a(v)}));else{const E={data:y};if(!e.type||e.type.toLowerCase()==="text")v.get("Content-Type")||v.set("Content-Type","text/plain"),u=Et(Te({statusText:g,status:d,text:y},E),{headers:a(v)});else if(e.type.toLowerCase()==="json")v.get("Content-Type")||v.set("Content-Type","application/json"),u=Et(Te({statusText:g,status:d},E),{headers:a(v)});else if(e.type.toLowerCase()==="document"){v.get("Content-Type")||v.set("Content-Type","application/xml");const S=new DOMParser().parseFromString(y,"application/xml");u={statusText:g,status:d,xml:S,data:S,headers:a(v)}}else u=Et(Te({statusText:g,status:d},E),{headers:a(v)})}t(u)}else t()})});function jC(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ir={},F1=[],er=()=>{},zae=()=>!1,g5=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),QL=e=>e.startsWith("onUpdate:"),ga=Object.assign,eO=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},bEe=Object.prototype.hasOwnProperty,qn=(e,t)=>bEe.call(e,t),st=Array.isArray,E1=e=>W0(e)==="[object Map]",Gm=e=>W0(e)==="[object Set]",Jf=e=>W0(e)==="[object Date]",CEe=e=>W0(e)==="[object RegExp]",Lt=e=>typeof e=="function",Bt=e=>typeof e=="string",Xs=e=>typeof e=="symbol",mn=e=>e!==null&&typeof e=="object",Xf=e=>(mn(e)||Lt(e))&&Lt(e.then)&&Lt(e.catch),Wae=Object.prototype.toString,W0=e=>Wae.call(e),FEe=e=>W0(e).slice(8,-1),Sm=e=>W0(e)==="[object Object]",KC=e=>Bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,w1=jC(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),UC=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},EEe=/-\w/g,ui=UC(e=>e.replace(EEe,t=>t.slice(1).toUpperCase())),wEe=/\B([A-Z])/g,Mo=UC(e=>e.replace(wEe,"-$1").toLowerCase()),G0=UC(e=>e.charAt(0).toUpperCase()+e.slice(1)),S1=UC(e=>e?`on${G0(e)}`:""),ko=(e,t)=>!Object.is(e,t),A1=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},qC=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$7=e=>{const t=Bt(e)?Number(e):NaN;return isNaN(t)?e:t};let uH;const YC=()=>uH||(uH=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}),SEe="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",AEe=jC(SEe);function Pt(e){if(st(e)){const t={};for(let n=0;n{if(n){const r=n.split(TEe);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function J(e){let t="";if(Bt(e))t=e;else if(st(e))for(let n=0;nZf(n,t))}const Kae=e=>!!(e&&e.__v_isRef===!0),ft=e=>Bt(e)?e:e==null?"":st(e)||mn(e)&&(e.toString===Wae||!Lt(e.toString))?Kae(e)?ft(e.value):JSON.stringify(e,Uae,2):String(e),Uae=(e,t)=>Kae(t)?Uae(e,t.value):E1(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,a],i)=>(n[gE(r,i)+" =>"]=a,n),{})}:Gm(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>gE(n))}:Xs(t)?gE(t):mn(t)&&!st(t)&&!Sm(t)?String(t):t,gE=(e,t="")=>{var n;return Xs(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function REe(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let no;class tO{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=no,!t&&no&&(this.index=(no.scopes||(no.scopes=[])).push(this)-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&&(no=this.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(Jy){let t=Jy;for(Jy=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Yy;){let t=Yy;for(Yy=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 Jae(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xae(e){let t,n=e.depsTail,r=n;for(;r;){const a=r.prevDep;r.version===-1?(r===n&&(n=a),aO(r),LEe(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=a}e.deps=t,e.depsTail=n}function jx(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zae(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zae(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ub)||(e.globalVersion=Ub,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!jx(e))))return;e.flags|=2;const t=e.dep,n=ka,r=Ws;ka=e,Ws=!0;try{Jae(e);const a=e.fn(e._value);(t.version===0||ko(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{ka=n,Ws=r,Xae(e),e.flags&=-3}}function aO(e,t=!1){const{dep:n,prevSub:r,nextSub:a}=e;if(r&&(r.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)aO(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function LEe(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function OEe(e,t){e.effect instanceof Kb&&(e=e.effect.fn);const n=new Kb(e);t&&ga(n,t);try{n.run()}catch(a){throw n.stop(),a}const r=n.run.bind(n);return r.effect=n,r}function PEe(e){e.effect.stop()}let Ws=!0;const Qae=[];function Cd(){Qae.push(Ws),Ws=!1}function Fd(){const e=Qae.pop();Ws=e===void 0?!0:e}function cH(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ka;ka=void 0;try{t()}finally{ka=n}}}let Ub=0,IEe=class{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 XC{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(!ka||!Ws||ka===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ka)n=this.activeLink=new IEe(ka,this),ka.deps?(n.prevDep=ka.depsTail,ka.depsTail.nextDep=n,ka.depsTail=n):ka.deps=ka.depsTail=n,eie(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=ka.depsTail,n.nextDep=void 0,ka.depsTail.nextDep=n,ka.depsTail=n,ka.deps===n&&(ka.deps=r)}return n}trigger(t){this.version++,Ub++,this.notify(t)}notify(t){nO();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{rO()}}}function eie(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)eie(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const V7=new WeakMap,Qh=Symbol(""),Kx=Symbol(""),qb=Symbol("");function io(e,t,n){if(Ws&&ka){let r=V7.get(e);r||V7.set(e,r=new Map);let a=r.get(n);a||(r.set(n,a=new XC),a.map=r,a.key=n),a.track()}}function ed(e,t,n,r,a,i){const o=V7.get(e);if(!o){Ub++;return}const l=s=>{s&&s.trigger()};if(nO(),t==="clear")o.forEach(l);else{const s=st(e),u=s&&KC(n);if(s&&n==="length"){const c=Number(r);o.forEach((d,f)=>{(f==="length"||f===qb||!Xs(f)&&f>=c)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(qb)),t){case"add":s?u&&l(o.get("length")):(l(o.get(Qh)),E1(e)&&l(o.get(Kx)));break;case"delete":s||(l(o.get(Qh)),E1(e)&&l(o.get(Kx)));break;case"set":E1(e)&&l(o.get(Qh));break}}rO()}function NEe(e,t){const n=V7.get(e);return n&&n.get(t)}function bv(e){const t=dr(e);return t===e?t:(io(t,"iterate",qb),ol(e)?t:t.map(Zs))}function ZC(e){return io(e=dr(e),"iterate",qb),e}function vf(e,t){return sc(e)?il(e)?q1(Zs(t)):q1(t):Zs(t)}const $Ee={__proto__:null,[Symbol.iterator](){return bE(this,Symbol.iterator,e=>vf(this,e))},concat(...e){return bv(this).concat(...e.map(t=>st(t)?bv(t):t))},entries(){return bE(this,"entries",e=>(e[1]=vf(this,e[1]),e))},every(e,t){return Lc(this,"every",e,t,void 0,arguments)},filter(e,t){return Lc(this,"filter",e,t,n=>n.map(r=>vf(this,r)),arguments)},find(e,t){return Lc(this,"find",e,t,n=>vf(this,n),arguments)},findIndex(e,t){return Lc(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Lc(this,"findLast",e,t,n=>vf(this,n),arguments)},findLastIndex(e,t){return Lc(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Lc(this,"forEach",e,t,void 0,arguments)},includes(...e){return CE(this,"includes",e)},indexOf(...e){return CE(this,"indexOf",e)},join(e){return bv(this).join(e)},lastIndexOf(...e){return CE(this,"lastIndexOf",e)},map(e,t){return Lc(this,"map",e,t,void 0,arguments)},pop(){return Ng(this,"pop")},push(...e){return Ng(this,"push",e)},reduce(e,...t){return dH(this,"reduce",e,t)},reduceRight(e,...t){return dH(this,"reduceRight",e,t)},shift(){return Ng(this,"shift")},some(e,t){return Lc(this,"some",e,t,void 0,arguments)},splice(...e){return Ng(this,"splice",e)},toReversed(){return bv(this).toReversed()},toSorted(e){return bv(this).toSorted(e)},toSpliced(...e){return bv(this).toSpliced(...e)},unshift(...e){return Ng(this,"unshift",e)},values(){return bE(this,"values",e=>vf(this,e))}};function bE(e,t,n){const r=ZC(e),a=r[t]();return r!==e&&!ol(e)&&(a._next=a.next,a.next=()=>{const i=a._next();return i.done||(i.value=n(i.value)),i}),a}const VEe=Array.prototype;function Lc(e,t,n,r,a,i){const o=ZC(e),l=o!==e&&!ol(e),s=o[t];if(s!==VEe[t]){const d=s.apply(e,i);return l?Zs(d):d}let u=n;o!==e&&(l?u=function(d,f){return n.call(this,vf(e,d),f,e)}:n.length>2&&(u=function(d,f){return n.call(this,d,f,e)}));const c=s.call(o,u,r);return l&&a?a(c):c}function dH(e,t,n,r){const a=ZC(e);let i=n;return a!==e&&(ol(e)?n.length>3&&(i=function(o,l,s){return n.call(this,o,l,s,e)}):i=function(o,l,s){return n.call(this,o,vf(e,l),s,e)}),a[t](i,...r)}function CE(e,t,n){const r=dr(e);io(r,"iterate",qb);const a=r[t](...n);return(a===-1||a===!1)&&Am(n[0])?(n[0]=dr(n[0]),r[t](...n)):a}function Ng(e,t,n=[]){Cd(),nO();const r=dr(e)[t].apply(e,n);return rO(),Fd(),r}const HEe=jC("__proto__,__v_isRef,__isVue"),tie=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xs));function zEe(e){Xs(e)||(e=String(e));const t=dr(this);return io(t,"has",e),t.hasOwnProperty(e)}class nie{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const a=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(a?i?sie:lie:i?oie:iie).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=st(t);if(!a){let s;if(o&&(s=$Ee[n]))return s;if(n==="hasOwnProperty")return zEe}const l=Reflect.get(t,n,Gn(t)?t:r);if((Xs(n)?tie.has(n):HEe(n))||(a||io(t,"get",n),i))return l;if(Gn(l)){const s=o&&KC(n)?l:l.value;return a&&mn(s)?Qf(s):s}return mn(l)?a?Qf(l):dn(l):l}}class rie extends nie{constructor(t=!1){super(!1,t)}set(t,n,r,a){let i=t[n];const o=st(t)&&KC(n);if(!this._isShallow){const u=sc(i);if(!ol(r)&&!sc(r)&&(i=dr(i),r=dr(r)),!o&&Gn(i)&&!Gn(r))return u||(i.value=r),!0}const l=o?Number(n)e,$4=e=>Reflect.getPrototypeOf(e);function UEe(e,t,n){return function(...r){const a=this.__v_raw,i=dr(a),o=E1(i),l=e==="entries"||e===Symbol.iterator&&o,s=e==="keys"&&o,u=a[e](...r),c=n?Ux:t?q1:Zs;return!t&&io(i,"iterate",s?Kx:Qh),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:l?[c(d[0]),c(d[1])]:c(d),done:f}},[Symbol.iterator](){return this}}}}function V4(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function qEe(e,t){const n={get(a){const i=this.__v_raw,o=dr(i),l=dr(a);e||(ko(a,l)&&io(o,"get",a),io(o,"get",l));const{has:s}=$4(o),u=t?Ux:e?q1:Zs;if(s.call(o,a))return u(i.get(a));if(s.call(o,l))return u(i.get(l));i!==o&&i.get(a)},get size(){const a=this.__v_raw;return!e&&io(dr(a),"iterate",Qh),a.size},has(a){const i=this.__v_raw,o=dr(i),l=dr(a);return e||(ko(a,l)&&io(o,"has",a),io(o,"has",l)),a===l?i.has(a):i.has(a)||i.has(l)},forEach(a,i){const o=this,l=o.__v_raw,s=dr(l),u=t?Ux:e?q1:Zs;return!e&&io(s,"iterate",Qh),l.forEach((c,d)=>a.call(i,u(c),u(d),o))}};return ga(n,e?{add:V4("add"),set:V4("set"),delete:V4("delete"),clear:V4("clear")}:{add(a){!t&&!ol(a)&&!sc(a)&&(a=dr(a));const i=dr(this);return $4(i).has.call(i,a)||(i.add(a),ed(i,"add",a,a)),this},set(a,i){!t&&!ol(i)&&!sc(i)&&(i=dr(i));const o=dr(this),{has:l,get:s}=$4(o);let u=l.call(o,a);u||(a=dr(a),u=l.call(o,a));const c=s.call(o,a);return o.set(a,i),u?ko(i,c)&&ed(o,"set",a,i):ed(o,"add",a,i),this},delete(a){const i=dr(this),{has:o,get:l}=$4(i);let s=o.call(i,a);s||(a=dr(a),s=o.call(i,a)),l&&l.call(i,a);const u=i.delete(a);return s&&ed(i,"delete",a,void 0),u},clear(){const a=dr(this),i=a.size!==0,o=a.clear();return i&&ed(a,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(a=>{n[a]=UEe(a,e,t)}),n}function QC(e,t){const n=qEe(e,t);return(r,a,i)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(qn(n,a)&&a in r?n:r,a,i)}const YEe={get:QC(!1,!1)},JEe={get:QC(!1,!0)},XEe={get:QC(!0,!1)},ZEe={get:QC(!0,!0)},iie=new WeakMap,oie=new WeakMap,lie=new WeakMap,sie=new WeakMap;function QEe(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ewe(e){return e.__v_skip||!Object.isExtensible(e)?0:QEe(FEe(e))}function dn(e){return sc(e)?e:e9(e,!1,WEe,YEe,iie)}function b5(e){return e9(e,!1,jEe,JEe,oie)}function Qf(e){return e9(e,!0,GEe,XEe,lie)}function iO(e){return e9(e,!0,KEe,ZEe,sie)}function e9(e,t,n,r,a){if(!mn(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=ewe(e);if(i===0)return e;const o=a.get(e);if(o)return o;const l=new Proxy(e,i===2?r:n);return a.set(e,l),l}function il(e){return sc(e)?il(e.__v_raw):!!(e&&e.__v_isReactive)}function sc(e){return!!(e&&e.__v_isReadonly)}function ol(e){return!!(e&&e.__v_isShallow)}function Am(e){return e?!!e.__v_raw:!1}function dr(e){const t=e&&e.__v_raw;return t?dr(t):e}function Lo(e){return!qn(e,"__v_skip")&&Object.isExtensible(e)&&Gae(e,"__v_skip",!0),e}const Zs=e=>mn(e)?dn(e):e,q1=e=>mn(e)?Qf(e):e;function Gn(e){return e?e.__v_isRef===!0:!1}function j(e){return uie(e,!1)}function Zn(e){return uie(e,!0)}function uie(e,t){return Gn(e)?e:new twe(e,t)}class twe{constructor(t,n){this.dep=new XC,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:dr(t),this._value=n?t:Zs(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ol(t)||sc(t);t=r?t:dr(t),ko(t,n)&&(this._rawValue=t,this._value=r?t:Zs(t),this.dep.trigger())}}function Xy(e){e.dep&&e.dep.trigger()}function F(e){return Gn(e)?e.value:e}function Yr(e){return Lt(e)?e():F(e)}const nwe={get:(e,t,n)=>t==="__v_raw"?e:F(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return Gn(a)&&!Gn(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function oO(e){return il(e)?e:new Proxy(e,nwe)}class rwe{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new XC,{get:r,set:a}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=a}get value(){return this._value=this._get()}set value(t){this._set(t)}}function cie(e){return new rwe(e)}function Na(e){const t=st(e)?new Array(e.length):{};for(const n in e)t[n]=die(e,n);return t}class awe{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=dr(t);let a=!0,i=t;if(!st(t)||!KC(String(n)))do a=!Am(i)||ol(i);while(a&&(i=i.__v_raw));this._shallow=a}get value(){let t=this._object[this._key];return this._shallow&&(t=F(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Gn(this._raw[this._key])){const n=this._object[this._key];if(Gn(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return NEe(this._raw,this._key)}}class iwe{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 Qn(e,t,n){return Gn(e)?e:Lt(e)?new iwe(e):mn(e)&&arguments.length>1?die(e,t,n):j(e)}function die(e,t,n){return new awe(e,t,n)}class owe{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new XC(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ub-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ka!==this)return Yae(this,!0),!0}get value(){const t=this.dep.track();return Zae(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function lwe(e,t,n=!1){let r,a;return Lt(e)?r=e:(r=e.get,a=e.set),new owe(r,a,n)}const swe={GET:"get",HAS:"has",ITERATE:"iterate"},uwe={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},H4={},H7=new WeakMap;let gf;function cwe(){return gf}function fie(e,t=!1,n=gf){if(n){let r=H7.get(n);r||H7.set(n,r=[]),r.push(e)}}function dwe(e,t,n=Ir){const{immediate:r,deep:a,once:i,scheduler:o,augmentJob:l,call:s}=n,u=y=>a?y:ol(y)||a===!1||a===0?td(y,1):td(y);let c,d,f,p,h=!1,m=!1;if(Gn(e)?(d=()=>e.value,h=ol(e)):il(e)?(d=()=>u(e),h=!0):st(e)?(m=!0,h=e.some(y=>il(y)||ol(y)),d=()=>e.map(y=>{if(Gn(y))return y.value;if(il(y))return u(y);if(Lt(y))return s?s(y,2):y()})):Lt(e)?t?d=s?()=>s(e,2):e:d=()=>{if(f){Cd();try{f()}finally{Fd()}}const y=gf;gf=c;try{return s?s(e,3,[p]):e(p)}finally{gf=y}}:d=er,t&&a){const y=d,E=a===!0?1/0:a;d=()=>td(y(),E)}const v=j0(),g=()=>{c.stop(),v&&v.active&&eO(v.effects,c)};if(i&&t){const y=t;t=(...E)=>{y(...E),g()}}let b=m?new Array(e.length).fill(H4):H4;const C=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const E=c.run();if(a||h||(m?E.some((w,S)=>ko(w,b[S])):ko(E,b))){f&&f();const w=gf;gf=c;try{const S=[E,b===H4?void 0:m&&b[0]===H4?[]:b,p];b=E,s?s(t,3,S):t(...S)}finally{gf=w}}}else c.run()};return l&&l(C),c=new Kb(d),c.scheduler=o?()=>o(C,!1):C,p=y=>fie(y,!1,c),f=c.onStop=()=>{const y=H7.get(c);if(y){if(s)s(y,4);else for(const E of y)E();H7.delete(c)}},t?r?C(!0):b=c.run():o?o(C.bind(null,!0),!0):c.run(),g.pause=c.pause.bind(c),g.resume=c.resume.bind(c),g.stop=g,g}function td(e,t=1/0,n){if(t<=0||!mn(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Gn(e))td(e.value,t,n);else if(st(e))for(let r=0;r{td(r,t,n)});else if(Sm(e)){for(const r in e)td(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&td(e[r],t,n)}return e}const pie=[];function fwe(e){pie.push(e)}function pwe(){pie.pop()}function hwe(e,t){}const mwe={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},vwe={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function U0(e,t,n,r){try{return r?e(...r):e()}catch(a){jm(a,t,n)}}function ds(e,t,n,r){if(Lt(e)){const a=U0(e,t,n,r);return a&&Xf(a)&&a.catch(i=>{jm(i,t,n)}),a}if(st(e)){const a=[];for(let i=0;i>>1,a=_o[r],i=Jb(a);i=Jb(n)?_o.push(e):_o.splice(ywe(t),0,e),e.flags|=1,mie()}}function mie(){z7||(z7=hie.then(vie))}function Yb(e){st(e)?D1.push(...e):yf&&e.id===-1?yf.splice(Xv+1,0,e):e.flags&1||(D1.push(e),e.flags|=1),mie()}function fH(e,t,n=Pu+1){for(;n<_o.length;n++){const r=_o[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;_o.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function W7(e){if(D1.length){const t=[...new Set(D1)].sort((n,r)=>Jb(n)-Jb(r));if(D1.length=0,yf){yf.push(...t);return}for(yf=t,Xv=0;Xve.id==null?e.flags&2?-1:1/0:e.id;function vie(e){try{for(Pu=0;Pu<_o.length;Pu++){const t=_o[Pu];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),U0(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Pu<_o.length;Pu++){const t=_o[Pu];t&&(t.flags&=-2)}Pu=-1,_o.length=0,W7(),z7=null,(_o.length||D1.length)&&vie()}}let Zv,z4=[];function gie(e,t){var n,r;Zv=e,Zv?(Zv.enabled=!0,z4.forEach(({event:a,args:i})=>Zv.emit(a,...i)),z4=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{gie(i,t)}),setTimeout(()=>{Zv||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,z4=[])},3e3)):z4=[]}let Gi=null,t9=null;function Xb(e){const t=Gi;return Gi=e,t9=e&&e.type.__scopeId||null,t}function bwe(e){t9=e}function Cwe(){t9=null}const Fwe=e=>Re;function Re(e,t=Gi,n){if(!t||e._n)return e;const r=(...a)=>{r._d&&e2(-1);const i=Xb(t);let o;try{o=e(...a)}finally{Xb(i),r._d&&e2(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function hn(e,t){if(Gi===null)return e;const n=S5(Gi),r=e.dirs||(e.dirs=[]);for(let a=0;a1)return n&&Lt(t)?t.call(r&&r.proxy):t}}function yie(){return!!(Jt()||em)}const bie=Symbol.for("v-scx"),Cie=()=>lt(bie);function No(e,t){return C5(e,null,t)}function Ewe(e,t){return C5(e,null,{flush:"post"})}function Fie(e,t){return C5(e,null,{flush:"sync"})}function $e(e,t,n){return C5(e,t,n)}function C5(e,t,n=Ir){const{immediate:r,deep:a,flush:i,once:o}=n,l=ga({},n),s=t&&r||!t&&i!=="post";let u;if(J1){if(i==="sync"){const p=Cie();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!s){const p=()=>{};return p.stop=er,p.resume=er,p.pause=er,p}}const c=zi;l.call=(p,h,m)=>ds(p,c,h,m);let d=!1;i==="post"?l.scheduler=p=>{oi(p,c&&c.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(p,h)=>{h?p():lO(p)}),l.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,c&&(p.id=c.uid,p.i=c))};const f=dwe(e,t,l);return J1&&(u?u.push(f):s&&f()),f}function wwe(e,t,n){const r=this.proxy,a=Bt(e)?e.includes(".")?Eie(r,e):()=>r[e]:e.bind(r,r);let i;Lt(t)?i=t:(i=t.handler,n=t);const o=Tm(this),l=C5(a,i.bind(r),n);return o(),l}function Eie(e,t){const n=t.split(".");return()=>{let r=e;for(let a=0;ae.__isTeleport,Zy=e=>e&&(e.disabled||e.disabled===""),pH=e=>e&&(e.defer||e.defer===""),hH=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,mH=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,qx=(e,t)=>{const n=e&&e.to;return Bt(n)?t?t(n):null:n},Aie={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,i,o,l,s,u){const{mc:c,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:m,createComment:v}}=u,g=Zy(t.props);let{shapeFlag:b,children:C,dynamicChildren:y}=t;if(e==null){const E=t.el=m(""),w=t.anchor=m("");p(E,n,r),p(w,n,r);const S=(D,k)=>{b&16&&c(C,D,k,a,i,o,l,s)},A=()=>{const D=t.target=qx(t.props,h),k=Die(D,t,m,p);D&&(o!=="svg"&&hH(D)?o="svg":o!=="mathml"&&mH(D)&&(o="mathml"),a&&a.isCE&&(a.ce._teleportTargets||(a.ce._teleportTargets=new Set)).add(D),g||(S(D,k),k3(t,!1)))};g&&(S(n,w),k3(t,!0)),pH(t.props)?(t.el.__isMounted=!1,oi(()=>{A(),delete t.el.__isMounted},i)):A()}else{if(pH(t.props)&&e.el.__isMounted===!1){oi(()=>{Aie.process(e,t,n,r,a,i,o,l,s,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,w=t.target=e.target,S=t.targetAnchor=e.targetAnchor,A=Zy(e.props),D=A?n:w,k=A?E:S;if(o==="svg"||hH(w)?o="svg":(o==="mathml"||mH(w))&&(o="mathml"),y?(f(e.dynamicChildren,y,D,a,i,o,l),gO(e,t,!0)):s||d(e,t,D,k,a,i,o,l,!1),g)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):W4(t,n,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const x=t.target=qx(t.props,h);x&&W4(t,x,null,u,0)}else A&&W4(t,w,S,u,1);k3(t,g)}},remove(e,t,n,{um:r,o:{remove:a}},i){const{shapeFlag:o,children:l,anchor:s,targetStart:u,targetAnchor:c,target:d,props:f}=e;if(d&&(a(u),a(c)),i&&a(s),o&16){const p=i||!Zy(f);for(let h=0;h{e.isMounted=!0}),Vn(()=>{e.isUnmounting=!0}),e}const jl=[Function,Array],uO={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jl,onEnter:jl,onAfterEnter:jl,onEnterCancelled:jl,onBeforeLeave:jl,onLeave:jl,onAfterLeave:jl,onLeaveCancelled:jl,onBeforeAppear:jl,onAppear:jl,onAfterAppear:jl,onAppearCancelled:jl},Tie=e=>{const t=e.subTree;return t.component?Tie(t.component):t},Awe={name:"BaseTransition",props:uO,setup(e,{slots:t}){const n=Jt(),r=sO();return()=>{const a=t.default&&n9(t.default(),!0);if(!a||!a.length)return;const i=kie(a),o=dr(e),{mode:l}=o;if(r.isLeaving)return FE(i);const s=vH(i);if(!s)return FE(i);let u=Y1(s,o,r,n,d=>u=d);s.type!==ia&&Ed(s,u);let c=n.subTree&&vH(n.subTree);if(c&&c.type!==ia&&!Ns(c,s)&&Tie(n).type!==ia){let d=Y1(c,o,r,n);if(Ed(c,d),l==="out-in"&&s.type!==ia)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},FE(i);l==="in-out"&&s.type!==ia?d.delayLeave=(f,p,h)=>{const m=xie(r,c);m[String(c.key)]=c,f[Jc]=()=>{p(),f[Jc]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function kie(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ia){t=n;break}}return t}const _ie=Awe;function xie(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 Y1(e,t,n,r,a){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:v,onAppear:g,onAfterAppear:b,onAppearCancelled:C}=t,y=String(e.key),E=xie(n,e),w=(D,k)=>{D&&ds(D,r,9,k)},S=(D,k)=>{const x=k[1];w(D,k),st(D)?D.every(_=>_.length<=1)&&x():D.length<=1&&x()},A={mode:o,persisted:l,beforeEnter(D){let k=s;if(!n.isMounted)if(i)k=v||s;else return;D[Jc]&&D[Jc](!0);const x=E[y];x&&Ns(e,x)&&x.el[Jc]&&x.el[Jc](),w(k,[D])},enter(D){let k=u,x=c,_=d;if(!n.isMounted)if(i)k=g||u,x=b||c,_=C||d;else return;let M=!1;const L=D[G4]=I=>{M||(M=!0,I?w(_,[D]):w(x,[D]),A.delayedLeave&&A.delayedLeave(),D[G4]=void 0)};k?S(k,[D,L]):L()},leave(D,k){const x=String(e.key);if(D[G4]&&D[G4](!0),n.isUnmounting)return k();w(f,[D]);let _=!1;const M=D[Jc]=L=>{_||(_=!0,k(),L?w(m,[D]):w(h,[D]),D[Jc]=void 0,E[x]===e&&delete E[x])};E[x]=e,p?S(p,[D,M]):M()},clone(D){const k=Y1(D,t,n,r,a);return a&&a(k),k}};return A}function FE(e){if(F5(e))return e=fs(e),e.children=null,e}function vH(e){if(!F5(e))return Sie(e.type)&&e.children?kie(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&&Lt(n.default))return n.default()}}function Ed(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ed(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 n9(e,t=!1,n){let r=[],a=0;for(let i=0;i1)for(let i=0;in.value,set:i=>n.value=i})}return n}const G7=new WeakMap;function T1(e,t,n,r,a=!1){if(st(e)){e.forEach((h,m)=>T1(h,t&&(st(t)?t[m]:t),n,r,a));return}if(fd(r)&&!a){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&T1(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?S5(r.component):r.el,o=a?null:i,{i:l,r:s}=e,u=t&&t.r,c=l.refs===Ir?l.refs={}:l.refs,d=l.setupState,f=dr(d),p=d===Ir?zae:h=>qn(f,h);if(u!=null&&u!==s){if(gH(t),Bt(u))c[u]=null,p(u)&&(d[u]=null);else if(Gn(u)){u.value=null;const h=t;h.k&&(c[h.k]=null)}}if(Lt(s))U0(s,l,12,[o,c]);else{const h=Bt(s),m=Gn(s);if(h||m){const v=()=>{if(e.f){const g=h?p(s)?d[s]:c[s]:s.value;if(a)st(g)&&eO(g,i);else if(st(g))g.includes(i)||g.push(i);else if(h)c[s]=[i],p(s)&&(d[s]=c[s]);else{const b=[i];s.value=b,e.k&&(c[e.k]=b)}}else h?(c[s]=o,p(s)&&(d[s]=o)):m&&(s.value=o,e.k&&(c[e.k]=o))};if(o){const g=()=>{v(),G7.delete(e)};g.id=-1,G7.set(e,g),oi(g,n)}else gH(e),v()}}}function gH(e){const t=G7.get(e);t&&(t.flags|=8,G7.delete(e))}let yH=!1;const Cv=()=>{yH||(console.error("Hydration completed but contains mismatches."),yH=!0)},kwe=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",_we=e=>e.namespaceURI.includes("MathML"),j4=e=>{if(e.nodeType===1){if(kwe(e))return"svg";if(_we(e))return"mathml"}},u1=e=>e.nodeType===8;function xwe(e){const{mt:t,p:n,o:{patchProp:r,createText:a,nextSibling:i,parentNode:o,remove:l,insert:s,createComment:u}}=e,c=(C,y)=>{if(!y.hasChildNodes()){n(null,C,y),W7(),y._vnode=C;return}d(y.firstChild,C,null,null,null),W7(),y._vnode=C},d=(C,y,E,w,S,A=!1)=>{A=A||!!y.dynamicChildren;const D=u1(C)&&C.data==="[",k=()=>m(C,y,E,w,S,D),{type:x,ref:_,shapeFlag:M,patchFlag:L}=y;let I=C.nodeType;y.el=C,L===-2&&(A=!1,y.dynamicChildren=null);let P=null;switch(x){case Gs:I!==3?y.children===""?(s(y.el=a(""),o(C),C),P=C):P=k():(C.data!==y.children&&(Cv(),C.data=y.children),P=i(C));break;case ia:b(C)?(P=i(C),g(y.el=C.content.firstChild,C,E)):I!==8||D?P=k():P=i(C);break;case tm:if(D&&(C=i(C),I=C.nodeType),I===1||I===3){P=C;const B=!y.children.length;for(let T=0;T{A=A||!!y.dynamicChildren;const{type:D,props:k,patchFlag:x,shapeFlag:_,dirs:M,transition:L}=y,I=D==="input"||D==="option";if(I||x!==-1){M&&Iu(y,null,E,"created");let P=!1;if(b(C)){P=toe(null,L)&&E&&E.vnode.props&&E.vnode.props.appear;const T=C.content.firstChild;if(P){const O=T.getAttribute("class");O&&(T.$cls=O),L.beforeEnter(T)}g(T,C,E),y.el=C=T}if(_&16&&!(k&&(k.innerHTML||k.textContent))){let T=p(C.firstChild,y,C,E,w,S,A);for(;T;){K4(C,1)||Cv();const O=T;T=T.nextSibling,l(O)}}else if(_&8){let T=y.children;T[0]===` `&&(C.tagName==="PRE"||C.tagName==="TEXTAREA")&&(T=T.slice(1));const{textContent:O}=C;O!==T&&O!==T.replace(/\r\n|\r/g,` `)&&(K4(C,0)||Cv(),C.textContent=y.children)}if(k){if(I||!A||x&48){const T=C.tagName.includes("-");for(const O in k)(I&&(O.endsWith("value")||O==="indeterminate")||g5(O)&&!w1(O)||O[0]==="."||T)&&r(C,O,null,k[O],void 0,E)}else if(k.onClick)r(C,"onClick",null,k.onClick,void 0,E);else if(x&4&&il(k.style))for(const T in k.style)k.style[T]}let B;(B=k&&k.onVnodeBeforeMount)&&Xo(B,E,y),M&&Iu(y,null,E,"beforeMount"),((B=k&&k.onVnodeMounted)||M||P)&&ioe(()=>{B&&Xo(B,E,y),P&&L.enter(C),M&&Iu(y,null,E,"mounted")},w)}return C.nextSibling},p=(C,y,E,w,S,A,D)=>{D=D||!!y.dynamicChildren;const k=y.children,x=k.length;for(let _=0;_{const{slotScopeIds:D}=y;D&&(S=S?S.concat(D):D);const k=o(C),x=p(i(C),y,k,E,w,S,A);return x&&u1(x)&&x.data==="]"?i(y.anchor=x):(Cv(),s(y.anchor=u("]"),k,x),x)},m=(C,y,E,w,S,A)=>{if(K4(C.parentElement,1)||Cv(),y.el=null,A){const x=v(C);for(;;){const _=i(C);if(_&&_!==x)l(_);else break}}const D=i(C),k=o(C);return l(C),n(null,y,k,D,E,w,j4(k),S),E&&(E.vnode.el=y.el,o9(E,y.el)),D},v=(C,y="[",E="]")=>{let w=0;for(;C;)if(C=i(C),C&&u1(C)&&(C.data===y&&w++,C.data===E)){if(w===0)return i(C);w--}return C},g=(C,y,E)=>{const w=y.parentNode;w&&w.replaceChild(C,y);let S=E;for(;S;)S.vnode.el===y&&(S.vnode.el=S.subTree.el=C),S=S.parent},b=C=>C.nodeType===1&&C.tagName==="TEMPLATE";return[c,d]}const bH="data-allow-mismatch",Mwe={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function K4(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(bH);)e=e.parentElement;const n=e&&e.getAttribute(bH);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(Mwe[t])}}const Bwe=YC().requestIdleCallback||(e=>setTimeout(e,1)),Rwe=YC().cancelIdleCallback||(e=>clearTimeout(e)),Lwe=(e=1e4)=>t=>{const n=Bwe(t,{timeout:e});return()=>Rwe(n)};function Owe(e){const{top:t,left:n,bottom:r,right:a}=e.getBoundingClientRect(),{innerHeight:i,innerWidth:o}=window;return(t>0&&t0&&r0&&n0&&a(t,n)=>{const r=new IntersectionObserver(a=>{for(const i of a)if(i.isIntersecting){r.disconnect(),t();break}},e);return n(a=>{if(a instanceof Element){if(Owe(a))return t(),r.disconnect(),!1;r.observe(a)}}),()=>r.disconnect()},Iwe=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Nwe=(e=[])=>(t,n)=>{Bt(e)&&(e=[e]);let r=!1;const a=o=>{r||(r=!0,i(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},i=()=>{n(o=>{for(const l of e)o.removeEventListener(l,a)})};return n(o=>{for(const l of e)o.addEventListener(l,a,{once:!0})}),i};function $we(e,t){if(u1(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(u1(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const fd=e=>!!e.type.__asyncLoader;function Vwe(e){Lt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:a=200,hydrate:i,timeout:o,suspensible:l=!0,onError:s}=e;let u=null,c,d=0;const f=()=>(d++,u=null,p()),p=()=>{let h;return u||(h=u=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),s)return new Promise((v,g)=>{s(m,()=>v(f()),()=>g(m),d+1)});throw m}).then(m=>h!==u&&u?u:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return Ve({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,m,v){let g=!1;(m.bu||(m.bu=[])).push(()=>g=!0);const b=()=>{g||v()},C=i?()=>{const y=i(b,E=>$we(h,E));y&&(m.bum||(m.bum=[])).push(y)}:b;c?C():p().then(()=>!m.isUnmounted&&C())},get __asyncResolved(){return c},setup(){const h=zi;if(cO(h),c)return()=>U4(c,h);const m=C=>{u=null,jm(C,h,13,!r)};if(l&&h.suspense||J1)return p().then(C=>()=>U4(C,h)).catch(C=>(m(C),()=>r?be(r,{error:C}):null));const v=j(!1),g=j(),b=j(!!a);return a&&setTimeout(()=>{b.value=!1},a),o!=null&&setTimeout(()=>{if(!v.value&&!g.value){const C=new Error(`Async component timed out after ${o}ms.`);m(C),g.value=C}},o),p().then(()=>{v.value=!0,h.parent&&F5(h.parent.vnode)&&h.parent.update()}).catch(C=>{m(C),g.value=C}),()=>{if(v.value&&c)return U4(c,h);if(g.value&&r)return be(r,{error:g.value});if(n&&!b.value)return U4(n,h)}}})}function U4(e,t){const{ref:n,props:r,children:a,ce:i}=t.vnode,o=be(e,r,a);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const F5=e=>e.type.__isKeepAlive,Hwe={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Jt(),r=n.ctx;if(!r.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const a=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:s,m:u,um:c,o:{createElement:d}}}=r,f=d("div");r.activate=(b,C,y,E,w)=>{const S=b.component;u(b,C,y,0,l),s(S.vnode,b,C,y,S,l,E,b.slotScopeIds,w),oi(()=>{S.isDeactivated=!1,S.a&&A1(S.a);const A=b.props&&b.props.onVnodeMounted;A&&Xo(A,S.parent,b)},l)},r.deactivate=b=>{const C=b.component;K7(C.m),K7(C.a),u(b,f,null,1,l),oi(()=>{C.da&&A1(C.da);const y=b.props&&b.props.onVnodeUnmounted;y&&Xo(y,C.parent,b),C.isDeactivated=!0},l)};function p(b){EE(b),c(b,n,l,!0)}function h(b){a.forEach((C,y)=>{const E=iM(fd(C)?C.type.__asyncResolved||{}:C.type);E&&!b(E)&&m(y)})}function m(b){const C=a.get(b);C&&(!o||!Ns(C,o))?p(C):o&&EE(o),a.delete(b),i.delete(b)}$e(()=>[e.include,e.exclude],([b,C])=>{b&&h(y=>My(b,y)),C&&h(y=>!My(C,y))},{flush:"post",deep:!0});let v=null;const g=()=>{v!=null&&(U7(n.subTree.type)?oi(()=>{a.set(v,q4(n.subTree))},n.subTree.suspense):a.set(v,q4(n.subTree)))};return Ut(g),Il(g),Vn(()=>{a.forEach(b=>{const{subTree:C,suspense:y}=n,E=q4(C);if(b.type===E.type&&b.key===E.key){EE(E);const w=E.component.da;w&&oi(w,y);return}p(b)})}),()=>{if(v=null,!t.default)return o=null;const b=t.default(),C=b[0];if(b.length>1)return o=null,b;if(!sr(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return o=null,C;let y=q4(C);if(y.type===ia)return o=null,y;const E=y.type,w=iM(fd(y)?y.type.__asyncResolved||{}:E),{include:S,exclude:A,max:D}=e;if(S&&(!w||!My(S,w))||A&&w&&My(A,w))return y.shapeFlag&=-257,o=y,C;const k=y.key==null?E:y.key,x=a.get(k);return y.el&&(y=fs(y),C.shapeFlag&128&&(C.ssContent=y)),v=k,x?(y.el=x.el,y.component=x.component,y.transition&&Ed(y,y.transition),y.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),D&&i.size>parseInt(D,10)&&m(i.values().next().value)),y.shapeFlag|=256,o=y,U7(C.type)?C:y}}},zwe=Hwe;function My(e,t){return st(e)?e.some(n=>My(n,t)):Bt(e)?e.split(",").includes(t):CEe(e)?(e.lastIndex=0,e.test(t)):!1}function Km(e,t){Mie(e,"a",t)}function r9(e,t){Mie(e,"da",t)}function Mie(e,t,n=zi){const r=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(a9(t,r,n),n){let a=n.parent;for(;a&&a.parent;)F5(a.parent.vnode)&&Wwe(r,t,n,a),a=a.parent}}function Wwe(e,t,n,r){const a=a9(t,e,r,!0);la(()=>{eO(r[t],a)},n)}function EE(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function q4(e){return e.shapeFlag&128?e.ssContent:e}function a9(e,t,n=zi,r=!1){if(n){const a=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Cd();const l=Tm(n),s=ds(t,n,e,o);return l(),Fd(),s});return r?a.unshift(i):a.push(i),i}}const Rd=e=>(t,n=zi)=>{(!J1||e==="sp")&&a9(e,(...r)=>t(...r),n)},E5=Rd("bm"),Ut=Rd("m"),w5=Rd("bu"),Il=Rd("u"),Vn=Rd("bum"),la=Rd("um"),Bie=Rd("sp"),Rie=Rd("rtg"),Lie=Rd("rtc");function Oie(e,t=zi){a9("ec",e,t)}const dO="components",Gwe="directives";function en(e,t){return fO(dO,e,!0,t)||e}const Pie=Symbol.for("v-ndc");function ln(e){return Bt(e)?fO(dO,e,!1)||e:e||Pie}function q0(e){return fO(Gwe,e)}function fO(e,t,n=!0,r=!1){const a=Gi||zi;if(a){const i=a.type;if(e===dO){const l=iM(i,!1);if(l&&(l===t||l===ui(t)||l===G0(ui(t))))return i}const o=CH(a[e]||i[e],t)||CH(a.appContext[e],t);return!o&&r?i:o}}function CH(e,t){return e&&(e[t]||e[ui(t)]||e[G0(ui(t))])}function En(e,t,n,r){let a;const i=n&&n[r],o=st(e);if(o||Bt(e)){const l=o&&il(e);let s=!1,u=!1;l&&(s=!ol(e),u=sc(e),e=ZC(e)),a=new Array(e.length);for(let c=0,d=e.length;ct(l,s,void 0,i&&i[s]));else{const l=Object.keys(e);a=new Array(l.length);for(let s=0,u=l.length;s{const i=r.fn(...a);return i&&(i.key=r.key),i}:r.fn)}return e}function We(e,t,n={},r,a){if(Gi.ce||Gi.parent&&fd(Gi.parent)&&Gi.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),H(),Ue(kt,null,[be("slot",n,r&&r())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),H();const o=i&&pO(i(n)),l=n.key||o&&o.key,s=Ue(kt,{key:(l&&!Xs(l)?l:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return!a&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function pO(e){return e.some(t=>sr(t)?!(t.type===ia||t.type===kt&&!pO(t.children)):!0)?e:null}function Iie(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:S1(r)]=e[r];return n}const Yx=e=>e?coe(e)?S5(e):Yx(e.parent):null,Qy=ga(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=>Yx(e.parent),$root:e=>Yx(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>hO(e),$forceUpdate:e=>e.f||(e.f=()=>{lO(e.update)}),$nextTick:e=>e.n||(e.n=Oe.bind(e.proxy)),$watch:e=>wwe.bind(e)}),wE=(e,t)=>e!==Ir&&!e.__isScriptSetup&&qn(e,t),Jx={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:a,props:i,accessCache:o,type:l,appContext:s}=e;if(t[0]!=="$"){const f=o[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(wE(r,t))return o[t]=1,r[t];if(a!==Ir&&qn(a,t))return o[t]=2,a[t];if(qn(i,t))return o[t]=3,i[t];if(n!==Ir&&qn(n,t))return o[t]=4,n[t];Xx&&(o[t]=0)}}const u=Qy[t];let c,d;if(u)return t==="$attrs"&&io(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==Ir&&qn(n,t))return o[t]=4,n[t];if(d=s.config.globalProperties,qn(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:a,ctx:i}=e;return wE(a,t)?(a[t]=n,!0):r!==Ir&&qn(r,t)?(r[t]=n,!0):qn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,props:i,type:o}},l){let s;return!!(n[l]||e!==Ir&&l[0]!=="$"&&qn(e,l)||wE(t,l)||qn(i,l)||qn(r,l)||qn(Qy,l)||qn(a.config.globalProperties,l)||(s=o.__cssModules)&&s[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:qn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},jwe=ga({},Jx,{get(e,t){if(t!==Symbol.unscopables)return Jx.get(e,t,e)},has(e,t){return t[0]!=="_"&&!AEe(t)}});function Kwe(){return null}function Uwe(){return null}function qwe(e){}function Ywe(e){}function Jwe(){return null}function Xwe(){}function Zwe(e,t){return null}function pa(){return Nie().slots}function Fc(){return Nie().attrs}function Nie(e){const t=Jt();return t.setupContext||(t.setupContext=poe(t))}function Zb(e){return st(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Qwe(e,t){const n=Zb(e);for(const r in t){if(r.startsWith("__skip"))continue;let a=n[r];a?st(a)||Lt(a)?a=n[r]={type:a,default:t[r]}:a.default=t[r]:a===null&&(a=n[r]={default:t[r]}),a&&t[`__skip_${r}`]&&(a.skipFactory=!0)}return n}function eSe(e,t){return!e||!t?e||t:st(e)&&st(t)?e.concat(t):ga({},Zb(e),Zb(t))}function tSe(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function nSe(e){const t=Jt();let n=e();return nM(),Xf(n)&&(n=n.catch(r=>{throw Tm(t),r})),[n,()=>Tm(t)]}let Xx=!0;function rSe(e){const t=hO(e),n=e.proxy,r=e.ctx;Xx=!1,t.beforeCreate&&FH(t.beforeCreate,e,"bc");const{data:a,computed:i,methods:o,watch:l,provide:s,inject:u,created:c,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:g,beforeUnmount:b,destroyed:C,unmounted:y,render:E,renderTracked:w,renderTriggered:S,errorCaptured:A,serverPrefetch:D,expose:k,inheritAttrs:x,components:_,directives:M,filters:L}=t;if(u&&aSe(u,r,null),o)for(const B in o){const T=o[B];Lt(T)&&(r[B]=T.bind(n))}if(a){const B=a.call(n,n);mn(B)&&(e.data=dn(B))}if(Xx=!0,i)for(const B in i){const T=i[B],O=Lt(T)?T.bind(n,n):Lt(T.get)?T.get.bind(n,n):er,N=!Lt(T)&&Lt(T.set)?T.set.bind(n):er,V=R({get:O,set:N});Object.defineProperty(r,B,{enumerable:!0,configurable:!0,get:()=>V.value,set:Y=>V.value=Y})}if(l)for(const B in l)$ie(l[B],r,n,B);if(s){const B=Lt(s)?s.call(n):s;Reflect.ownKeys(B).forEach(T=>{Qt(T,B[T])})}c&&FH(c,e,"c");function P(B,T){st(T)?T.forEach(O=>B(O.bind(n))):T&&B(T.bind(n))}if(P(E5,d),P(Ut,f),P(w5,p),P(Il,h),P(Km,m),P(r9,v),P(Oie,A),P(Lie,w),P(Rie,S),P(Vn,b),P(la,y),P(Bie,D),st(k))if(k.length){const B=e.exposed||(e.exposed={});k.forEach(T=>{Object.defineProperty(B,T,{get:()=>n[T],set:O=>n[T]=O,enumerable:!0})})}else e.exposed||(e.exposed={});E&&e.render===er&&(e.render=E),x!=null&&(e.inheritAttrs=x),_&&(e.components=_),M&&(e.directives=M),D&&cO(e)}function aSe(e,t,n=er){st(e)&&(e=Zx(e));for(const r in e){const a=e[r];let i;mn(a)?"default"in a?i=lt(a.from||r,a.default,!0):i=lt(a.from||r):i=lt(a),Gn(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function FH(e,t,n){ds(st(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $ie(e,t,n,r){let a=r.includes(".")?Eie(n,r):()=>n[r];if(Bt(e)){const i=t[e];Lt(i)&&$e(a,i)}else if(Lt(e))$e(a,e.bind(n));else if(mn(e))if(st(e))e.forEach(i=>$ie(i,t,n,r));else{const i=Lt(e.handler)?e.handler.bind(n):t[e.handler];Lt(i)&&$e(a,i,e)}}function hO(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let s;return l?s=l:!a.length&&!n&&!r?s=t:(s={},a.length&&a.forEach(u=>j7(s,u,o,!0)),j7(s,t,o)),mn(t)&&i.set(t,s),s}function j7(e,t,n,r=!1){const{mixins:a,extends:i}=t;i&&j7(e,i,n,!0),a&&a.forEach(o=>j7(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=iSe[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const iSe={data:EH,props:wH,emits:wH,methods:By,computed:By,beforeCreate:wo,created:wo,beforeMount:wo,mounted:wo,beforeUpdate:wo,updated:wo,beforeDestroy:wo,beforeUnmount:wo,destroyed:wo,unmounted:wo,activated:wo,deactivated:wo,errorCaptured:wo,serverPrefetch:wo,components:By,directives:By,watch:lSe,provide:EH,inject:oSe};function EH(e,t){return t?e?function(){return ga(Lt(e)?e.call(this,this):e,Lt(t)?t.call(this,this):t)}:t:e}function oSe(e,t){return By(Zx(e),Zx(t))}function Zx(e){if(st(e)){const t={};for(let n=0;n{let c,d=Ir,f;return Fie(()=>{const p=e[a];ko(c,p)&&(c=p,u())}),{get(){return s(),n.get?n.get(c):c},set(p){const h=n.set?n.set(p):p;if(!ko(h,c)&&!(d!==Ir&&ko(p,d)))return;const m=r.vnode.props;m&&(t in m||a in m||i in m)&&(`onUpdate:${t}`in m||`onUpdate:${a}`in m||`onUpdate:${i}`in m)||(c=p,u()),r.emit(`update:${t}`,h),ko(p,h)&&ko(p,d)&&!ko(h,f)&&u(),d=p,f=h}}});return l[Symbol.iterator]=()=>{let s=0;return{next(){return s<2?{value:s++?o||Ir:l,done:!1}:{done:!0}}}},l}const zie=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ui(t)}Modifiers`]||e[`${Mo(t)}Modifiers`];function cSe(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ir;let a=n;const i=t.startsWith("update:"),o=i&&zie(r,t.slice(7));o&&(o.trim&&(a=n.map(c=>Bt(c)?c.trim():c)),o.number&&(a=n.map(qC)));let l,s=r[l=S1(t)]||r[l=S1(ui(t))];!s&&i&&(s=r[l=S1(Mo(t))]),s&&ds(s,e,6,a);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ds(u,e,6,a)}}const dSe=new WeakMap;function Wie(e,t,n=!1){const r=n?dSe:t.emitsCache,a=r.get(e);if(a!==void 0)return a;const i=e.emits;let o={},l=!1;if(!Lt(e)){const s=u=>{const c=Wie(u,t,!0);c&&(l=!0,ga(o,c))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!l?(mn(e)&&r.set(e,null),null):(st(i)?i.forEach(s=>o[s]=null):ga(o,i),mn(e)&&r.set(e,o),o)}function i9(e,t){return!e||!g5(t)?!1:(t=t.slice(2).replace(/Once$/,""),qn(e,t[0].toLowerCase()+t.slice(1))||qn(e,Mo(t))||qn(e,t))}function _3(e){const{type:t,vnode:n,proxy:r,withProxy:a,propsOptions:[i],slots:o,attrs:l,emit:s,render:u,renderCache:c,props:d,data:f,setupState:p,ctx:h,inheritAttrs:m}=e,v=Xb(e);let g,b;try{if(n.shapeFlag&4){const y=a||r,E=y;g=Qo(u.call(E,y,c,d,p,f,h)),b=l}else{const y=t;g=Qo(y.length>1?y(d,{attrs:l,slots:o,emit:s}):y(d,null)),b=t.props?l:pSe(l)}}catch(y){eb.length=0,jm(y,e,1),g=be(ia)}let C=g;if(b&&m!==!1){const y=Object.keys(b),{shapeFlag:E}=C;y.length&&E&7&&(i&&y.some(QL)&&(b=hSe(b,i)),C=fs(C,b,!1,!0))}return n.dirs&&(C=fs(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&Ed(C,n.transition),g=C,Xb(v),g}function fSe(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||g5(n))&&((t||(t={}))[n]=e[n]);return t},hSe=(e,t)=>{const n={};for(const r in e)(!QL(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function mSe(e,t,n){const{props:r,children:a,component:i}=e,{props:o,children:l,patchFlag:s}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return r?SH(r,o,u):!!o;if(s&8){const c=t.dynamicProps;for(let d=0;dObject.create(Gie),Kie=e=>Object.getPrototypeOf(e)===Gie;function vSe(e,t,n,r=!1){const a={},i=jie();e.propsDefaults=Object.create(null),Uie(e,t,a,i);for(const o in e.propsOptions[0])o in a||(a[o]=void 0);n?e.props=r?a:b5(a):e.type.props?e.props=a:e.props=i,e.attrs=i}function gSe(e,t,n,r){const{props:a,attrs:i,vnode:{patchFlag:o}}=e,l=dr(a),[s]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let d=0;d{s=!0;const[f,p]=qie(d,t,!0);ga(o,f),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!s)return mn(e)&&r.set(e,F1),F1;if(st(i))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",vO=e=>st(e)?e.map(Qo):[Qo(e)],bSe=(e,t,n)=>{if(t._n)return t;const r=Re((...a)=>vO(t(...a)),n);return r._c=!1,r},Yie=(e,t,n)=>{const r=e._ctx;for(const a in e){if(mO(a))continue;const i=e[a];if(Lt(i))t[a]=bSe(a,i,r);else if(i!=null){const o=vO(i);t[a]=()=>o}}},Jie=(e,t)=>{const n=vO(t);e.slots.default=()=>n},Xie=(e,t,n)=>{for(const r in t)(n||!mO(r))&&(e[r]=t[r])},CSe=(e,t,n)=>{const r=e.slots=jie();if(e.vnode.shapeFlag&32){const a=t._;a?(Xie(r,t,n),n&&Gae(r,"_",a,!0)):Yie(t,r)}else t&&Jie(e,t)},FSe=(e,t,n)=>{const{vnode:r,slots:a}=e;let i=!0,o=Ir;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Xie(a,t,n):(i=!t.$stable,Yie(t,a)),o=t}else t&&(Jie(e,t),o={default:1});if(i)for(const l in a)!mO(l)&&o[l]==null&&delete a[l]},oi=ioe;function Zie(e){return eoe(e)}function Qie(e){return eoe(e,xwe)}function eoe(e,t){const n=YC();n.__VUE__=!0;const{insert:r,remove:a,patchProp:i,createElement:o,createText:l,createComment:s,setText:u,setElementText:c,parentNode:d,nextSibling:f,setScopeId:p=er,insertStaticContent:h}=e,m=(K,Z,se,Fe=null,me=null,te=null,ue=void 0,Se=null,Ae=!!Z.dynamicChildren)=>{if(K===Z)return;K&&!Ns(K,Z)&&(Fe=re(K),Y(K,me,te,!0),K=null),Z.patchFlag===-2&&(Ae=!1,Z.dynamicChildren=null);const{type:Ne,ref:je,shapeFlag:De}=Z;switch(Ne){case Gs:v(K,Z,se,Fe);break;case ia:g(K,Z,se,Fe);break;case tm:K==null&&b(Z,se,Fe,ue);break;case kt:_(K,Z,se,Fe,me,te,ue,Se,Ae);break;default:De&1?E(K,Z,se,Fe,me,te,ue,Se,Ae):De&6?M(K,Z,se,Fe,me,te,ue,Se,Ae):(De&64||De&128)&&Ne.process(K,Z,se,Fe,me,te,ue,Se,Ae,X)}je!=null&&me?T1(je,K&&K.ref,te,Z||K,!Z):je==null&&K&&K.ref!=null&&T1(K.ref,null,te,K,!0)},v=(K,Z,se,Fe)=>{if(K==null)r(Z.el=l(Z.children),se,Fe);else{const me=Z.el=K.el;Z.children!==K.children&&u(me,Z.children)}},g=(K,Z,se,Fe)=>{K==null?r(Z.el=s(Z.children||""),se,Fe):Z.el=K.el},b=(K,Z,se,Fe)=>{[K.el,K.anchor]=h(K.children,Z,se,Fe,K.el,K.anchor)},C=({el:K,anchor:Z},se,Fe)=>{let me;for(;K&&K!==Z;)me=f(K),r(K,se,Fe),K=me;r(Z,se,Fe)},y=({el:K,anchor:Z})=>{let se;for(;K&&K!==Z;)se=f(K),a(K),K=se;a(Z)},E=(K,Z,se,Fe,me,te,ue,Se,Ae)=>{if(Z.type==="svg"?ue="svg":Z.type==="math"&&(ue="mathml"),K==null)w(Z,se,Fe,me,te,ue,Se,Ae);else{const Ne=K.el&&K.el._isVueCE?K.el:null;try{Ne&&Ne._beginPatch(),D(K,Z,me,te,ue,Se,Ae)}finally{Ne&&Ne._endPatch()}}},w=(K,Z,se,Fe,me,te,ue,Se)=>{let Ae,Ne;const{props:je,shapeFlag:De,transition:he,dirs:He}=K;if(Ae=K.el=o(K.type,te,je&&je.is,je),De&8?c(Ae,K.children):De&16&&A(K.children,Ae,null,Fe,me,SE(K,te),ue,Se),He&&Iu(K,null,Fe,"created"),S(Ae,K,K.scopeId,ue,Fe),je){for(const qe in je)qe!=="value"&&!w1(qe)&&i(Ae,qe,null,je[qe],te,Fe);"value"in je&&i(Ae,"value",null,je.value,te),(Ne=je.onVnodeBeforeMount)&&Xo(Ne,Fe,K)}He&&Iu(K,null,Fe,"beforeMount");const xe=toe(me,he);xe&&he.beforeEnter(Ae),r(Ae,Z,se),((Ne=je&&je.onVnodeMounted)||xe||He)&&oi(()=>{Ne&&Xo(Ne,Fe,K),xe&&he.enter(Ae),He&&Iu(K,null,Fe,"mounted")},me)},S=(K,Z,se,Fe,me)=>{if(se&&p(K,se),Fe)for(let te=0;te{for(let Ne=Ae;Ne{const Se=Z.el=K.el;let{patchFlag:Ae,dynamicChildren:Ne,dirs:je}=Z;Ae|=K.patchFlag&16;const De=K.props||Ir,he=Z.props||Ir;let He;if(se&&Wp(se,!1),(He=he.onVnodeBeforeUpdate)&&Xo(He,se,Z,K),je&&Iu(Z,K,se,"beforeUpdate"),se&&Wp(se,!0),(De.innerHTML&&he.innerHTML==null||De.textContent&&he.textContent==null)&&c(Se,""),Ne?k(K.dynamicChildren,Ne,Se,se,Fe,SE(Z,me),te):ue||T(K,Z,Se,null,se,Fe,SE(Z,me),te,!1),Ae>0){if(Ae&16)x(Se,De,he,se,me);else if(Ae&2&&De.class!==he.class&&i(Se,"class",null,he.class,me),Ae&4&&i(Se,"style",De.style,he.style,me),Ae&8){const xe=Z.dynamicProps;for(let qe=0;qe{He&&Xo(He,se,Z,K),je&&Iu(Z,K,se,"updated")},Fe)},k=(K,Z,se,Fe,me,te,ue)=>{for(let Se=0;Se{if(Z!==se){if(Z!==Ir)for(const te in Z)!w1(te)&&!(te in se)&&i(K,te,Z[te],null,me,Fe);for(const te in se){if(w1(te))continue;const ue=se[te],Se=Z[te];ue!==Se&&te!=="value"&&i(K,te,Se,ue,me,Fe)}"value"in se&&i(K,"value",Z.value,se.value,me)}},_=(K,Z,se,Fe,me,te,ue,Se,Ae)=>{const Ne=Z.el=K?K.el:l(""),je=Z.anchor=K?K.anchor:l("");let{patchFlag:De,dynamicChildren:he,slotScopeIds:He}=Z;He&&(Se=Se?Se.concat(He):He),K==null?(r(Ne,se,Fe),r(je,se,Fe),A(Z.children||[],se,je,me,te,ue,Se,Ae)):De>0&&De&64&&he&&K.dynamicChildren&&K.dynamicChildren.length===he.length?(k(K.dynamicChildren,he,se,me,te,ue,Se),(Z.key!=null||me&&Z===me.subTree)&&gO(K,Z,!0)):T(K,Z,se,je,me,te,ue,Se,Ae)},M=(K,Z,se,Fe,me,te,ue,Se,Ae)=>{Z.slotScopeIds=Se,K==null?Z.shapeFlag&512?me.ctx.activate(Z,se,Fe,ue,Ae):L(Z,se,Fe,me,te,ue,Ae):I(K,Z,Ae)},L=(K,Z,se,Fe,me,te,ue)=>{const Se=K.component=uoe(K,Fe,me);if(F5(K)&&(Se.ctx.renderer=X),doe(Se,!1,ue),Se.asyncDep){if(me&&me.registerDep(Se,P,ue),!K.el){const Ae=Se.subTree=be(ia);g(null,Ae,Z,se),K.placeholder=Ae.el}}else P(Se,K,Z,se,me,te,ue)},I=(K,Z,se)=>{const Fe=Z.component=K.component;if(mSe(K,Z,se))if(Fe.asyncDep&&!Fe.asyncResolved){B(Fe,Z,se);return}else Fe.next=Z,Fe.update();else Z.el=K.el,Fe.vnode=Z},P=(K,Z,se,Fe,me,te,ue)=>{const Se=()=>{if(K.isMounted){let{next:De,bu:he,u:He,parent:xe,vnode:qe}=K;{const nt=noe(K);if(nt){De&&(De.el=qe.el,B(K,De,ue)),nt.asyncDep.then(()=>{K.isUnmounted||Se()});return}}let ve=De,Ge;Wp(K,!1),De?(De.el=qe.el,B(K,De,ue)):De=qe,he&&A1(he),(Ge=De.props&&De.props.onVnodeBeforeUpdate)&&Xo(Ge,xe,De,qe),Wp(K,!0);const Ke=_3(K),rt=K.subTree;K.subTree=Ke,m(rt,Ke,d(rt.el),re(rt),K,me,te),De.el=Ke.el,ve===null&&o9(K,Ke.el),He&&oi(He,me),(Ge=De.props&&De.props.onVnodeUpdated)&&oi(()=>Xo(Ge,xe,De,qe),me)}else{let De;const{el:he,props:He}=Z,{bm:xe,m:qe,parent:ve,root:Ge,type:Ke}=K,rt=fd(Z);if(Wp(K,!1),xe&&A1(xe),!rt&&(De=He&&He.onVnodeBeforeMount)&&Xo(De,ve,Z),Wp(K,!0),he&&ce){const nt=()=>{K.subTree=_3(K),ce(he,K.subTree,K,me,null)};rt&&Ke.__asyncHydrate?Ke.__asyncHydrate(he,K,nt):nt()}else{Ge.ce&&Ge.ce._def.shadowRoot!==!1&&Ge.ce._injectChildStyle(Ke);const nt=K.subTree=_3(K);m(null,nt,se,Fe,K,me,te),Z.el=nt.el}if(qe&&oi(qe,me),!rt&&(De=He&&He.onVnodeMounted)){const nt=Z;oi(()=>Xo(De,ve,nt),me)}(Z.shapeFlag&256||ve&&fd(ve.vnode)&&ve.vnode.shapeFlag&256)&&K.a&&oi(K.a,me),K.isMounted=!0,Z=se=Fe=null}};K.scope.on();const Ae=K.effect=new Kb(Se);K.scope.off();const Ne=K.update=Ae.run.bind(Ae),je=K.job=Ae.runIfDirty.bind(Ae);je.i=K,je.id=K.uid,Ae.scheduler=()=>lO(je),Wp(K,!0),Ne()},B=(K,Z,se)=>{Z.component=K;const Fe=K.vnode.props;K.vnode=Z,K.next=null,gSe(K,Z.props,Fe,se),FSe(K,Z.children,se),Cd(),fH(K),Fd()},T=(K,Z,se,Fe,me,te,ue,Se,Ae=!1)=>{const Ne=K&&K.children,je=K?K.shapeFlag:0,De=Z.children,{patchFlag:he,shapeFlag:He}=Z;if(he>0){if(he&128){N(Ne,De,se,Fe,me,te,ue,Se,Ae);return}else if(he&256){O(Ne,De,se,Fe,me,te,ue,Se,Ae);return}}He&8?(je&16&&pe(Ne,me,te),De!==Ne&&c(se,De)):je&16?He&16?N(Ne,De,se,Fe,me,te,ue,Se,Ae):pe(Ne,me,te,!0):(je&8&&c(se,""),He&16&&A(De,se,Fe,me,te,ue,Se,Ae))},O=(K,Z,se,Fe,me,te,ue,Se,Ae)=>{K=K||F1,Z=Z||F1;const Ne=K.length,je=Z.length,De=Math.min(Ne,je);let he;for(he=0;heje?pe(K,me,te,!0,!1,De):A(Z,se,Fe,me,te,ue,Se,Ae,De)},N=(K,Z,se,Fe,me,te,ue,Se,Ae)=>{let Ne=0;const je=Z.length;let De=K.length-1,he=je-1;for(;Ne<=De&&Ne<=he;){const He=K[Ne],xe=Z[Ne]=Ae?bf(Z[Ne]):Qo(Z[Ne]);if(Ns(He,xe))m(He,xe,se,null,me,te,ue,Se,Ae);else break;Ne++}for(;Ne<=De&&Ne<=he;){const He=K[De],xe=Z[he]=Ae?bf(Z[he]):Qo(Z[he]);if(Ns(He,xe))m(He,xe,se,null,me,te,ue,Se,Ae);else break;De--,he--}if(Ne>De){if(Ne<=he){const He=he+1,xe=Hehe)for(;Ne<=De;)Y(K[Ne],me,te,!0),Ne++;else{const He=Ne,xe=Ne,qe=new Map;for(Ne=xe;Ne<=he;Ne++){const ge=Z[Ne]=Ae?bf(Z[Ne]):Qo(Z[Ne]);ge.key!=null&&qe.set(ge.key,Ne)}let ve,Ge=0;const Ke=he-xe+1;let rt=!1,nt=0;const ze=new Array(Ke);for(Ne=0;Ne=Ke){Y(ge,me,te,!0);continue}let oe;if(ge.key!=null)oe=qe.get(ge.key);else for(ve=xe;ve<=he;ve++)if(ze[ve-xe]===0&&Ns(ge,Z[ve])){oe=ve;break}oe===void 0?Y(ge,me,te,!0):(ze[oe-xe]=Ne+1,oe>=nt?nt=oe:rt=!0,m(ge,Z[oe],se,null,me,te,ue,Se,Ae),Ge++)}const Ie=rt?ESe(ze):F1;for(ve=Ie.length-1,Ne=Ke-1;Ne>=0;Ne--){const ge=xe+Ne,oe=Z[ge],Xe=Z[ge+1],it=ge+1{const{el:te,type:ue,transition:Se,children:Ae,shapeFlag:Ne}=K;if(Ne&6){V(K.component.subTree,Z,se,Fe);return}if(Ne&128){K.suspense.move(Z,se,Fe);return}if(Ne&64){ue.move(K,Z,se,X);return}if(ue===kt){r(te,Z,se);for(let De=0;DeSe.enter(te),me);else{const{leave:De,delayLeave:he,afterLeave:He}=Se,xe=()=>{K.ctx.isUnmounted?a(te):r(te,Z,se)},qe=()=>{te._isLeaving&&te[Jc](!0),De(te,()=>{xe(),He&&He()})};he?he(te,xe,qe):qe()}else r(te,Z,se)},Y=(K,Z,se,Fe=!1,me=!1)=>{const{type:te,props:ue,ref:Se,children:Ae,dynamicChildren:Ne,shapeFlag:je,patchFlag:De,dirs:he,cacheIndex:He}=K;if(De===-2&&(me=!1),Se!=null&&(Cd(),T1(Se,null,se,K,!0),Fd()),He!=null&&(Z.renderCache[He]=void 0),je&256){Z.ctx.deactivate(K);return}const xe=je&1&&he,qe=!fd(K);let ve;if(qe&&(ve=ue&&ue.onVnodeBeforeUnmount)&&Xo(ve,Z,K),je&6)ae(K.component,se,Fe);else{if(je&128){K.suspense.unmount(se,Fe);return}xe&&Iu(K,null,Z,"beforeUnmount"),je&64?K.type.remove(K,Z,se,X,Fe):Ne&&!Ne.hasOnce&&(te!==kt||De>0&&De&64)?pe(Ne,Z,se,!1,!0):(te===kt&&De&384||!me&&je&16)&&pe(Ae,Z,se),Fe&&z(K)}(qe&&(ve=ue&&ue.onVnodeUnmounted)||xe)&&oi(()=>{ve&&Xo(ve,Z,K),xe&&Iu(K,null,Z,"unmounted")},se)},z=K=>{const{type:Z,el:se,anchor:Fe,transition:me}=K;if(Z===kt){ee(se,Fe);return}if(Z===tm){y(K);return}const te=()=>{a(se),me&&!me.persisted&&me.afterLeave&&me.afterLeave()};if(K.shapeFlag&1&&me&&!me.persisted){const{leave:ue,delayLeave:Se}=me,Ae=()=>ue(se,te);Se?Se(K.el,te,Ae):Ae()}else te()},ee=(K,Z)=>{let se;for(;K!==Z;)se=f(K),a(K),K=se;a(Z)},ae=(K,Z,se)=>{const{bum:Fe,scope:me,job:te,subTree:ue,um:Se,m:Ae,a:Ne}=K;K7(Ae),K7(Ne),Fe&&A1(Fe),me.stop(),te&&(te.flags|=8,Y(ue,K,Z,se)),Se&&oi(Se,Z),oi(()=>{K.isUnmounted=!0},Z)},pe=(K,Z,se,Fe=!1,me=!1,te=0)=>{for(let ue=te;ue{if(K.shapeFlag&6)return re(K.component.subTree);if(K.shapeFlag&128)return K.suspense.next();const Z=f(K.anchor||K.el),se=Z&&Z[wie];return se?f(se):Z};let Q=!1;const ie=(K,Z,se)=>{let Fe;K==null?Z._vnode&&(Y(Z._vnode,null,null,!0),Fe=Z._vnode.component):m(Z._vnode||null,K,Z,null,null,null,se),Z._vnode=K,Q||(Q=!0,fH(Fe),W7(),Q=!1)},X={p:m,um:Y,m:V,r:z,mt:L,mc:A,pc:T,pbc:k,n:re,o:e};let q,ce;return t&&([q,ce]=t(X)),{render:ie,hydrate:q,createApp:uSe(ie,q)}}function SE({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 Wp({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function toe(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function gO(e,t,n=!1){const r=e.children,a=t.children;if(st(r)&&st(a))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function noe(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:noe(t)}function K7(e){if(e)for(let t=0;te.__isSuspense;let eM=0;const wSe={name:"Suspense",__isSuspense:!0,process(e,t,n,r,a,i,o,l,s,u){if(e==null)ASe(t,n,r,a,i,o,l,s,u);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}DSe(e,t,n,r,a,o,l,s,u)}},hydrate:TSe,normalize:kSe},SSe=wSe;function Qb(e,t){const n=e.props&&e.props[t];Lt(n)&&n()}function ASe(e,t,n,r,a,i,o,l,s){const{p:u,o:{createElement:c}}=s,d=c("div"),f=e.suspense=aoe(e,a,r,t,d,n,i,o,l,s);u(null,f.pendingBranch=e.ssContent,d,null,r,f,i,o),f.deps>0?(Qb(e,"onPending"),Qb(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,i,o),k1(f,e.ssFallback)):f.resolve(!1,!0)}function DSe(e,t,n,r,a,i,o,l,{p:s,um:u,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:g}=d;if(m)d.pendingBranch=f,Ns(m,f)?(s(m,f,d.hiddenContainer,null,a,d,i,o,l),d.deps<=0?d.resolve():v&&(g||(s(h,p,n,r,a,null,i,o,l),k1(d,p)))):(d.pendingId=eM++,g?(d.isHydrating=!1,d.activeBranch=m):u(m,a,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),v?(s(null,f,d.hiddenContainer,null,a,d,i,o,l),d.deps<=0?d.resolve():(s(h,p,n,r,a,null,i,o,l),k1(d,p))):h&&Ns(h,f)?(s(h,f,n,r,a,d,i,o,l),d.resolve(!0)):(s(null,f,d.hiddenContainer,null,a,d,i,o,l),d.deps<=0&&d.resolve()));else if(h&&Ns(h,f))s(h,f,n,r,a,d,i,o,l),k1(d,f);else if(Qb(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=eM++,s(null,f,d.hiddenContainer,null,a,d,i,o,l),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:C}=d;b>0?setTimeout(()=>{d.pendingId===C&&d.fallback(p)},b):b===0&&d.fallback(p)}}function aoe(e,t,n,r,a,i,o,l,s,u,c=!1){const{p:d,m:f,um:p,n:h,o:{parentNode:m,remove:v}}=u;let g;const b=_Se(e);b&&t&&t.pendingBranch&&(g=t.pendingId,t.deps++);const C=e.props?$7(e.props.timeout):void 0,y=i,E={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:a,deps:0,pendingId:eM++,timeout:typeof C=="number"?C:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(w=!1,S=!1){const{vnode:A,activeBranch:D,pendingBranch:k,pendingId:x,effects:_,parentComponent:M,container:L,isInFallback:I}=E;let P=!1;E.isHydrating?E.isHydrating=!1:w||(P=D&&k.transition&&k.transition.mode==="out-in",P&&(D.transition.afterLeave=()=>{x===E.pendingId&&(f(k,L,i===y?h(D):i,0),Yb(_),I&&A.ssFallback&&(A.ssFallback.el=null))}),D&&(m(D.el)===L&&(i=h(D)),p(D,M,E,!0),!P&&I&&A.ssFallback&&oi(()=>A.ssFallback.el=null,E)),P||f(k,L,i,0)),k1(E,k),E.pendingBranch=null,E.isInFallback=!1;let B=E.parent,T=!1;for(;B;){if(B.pendingBranch){B.effects.push(..._),T=!0;break}B=B.parent}!T&&!P&&Yb(_),E.effects=[],b&&t&&t.pendingBranch&&g===t.pendingId&&(t.deps--,t.deps===0&&!S&&t.resolve()),Qb(A,"onResolve")},fallback(w){if(!E.pendingBranch)return;const{vnode:S,activeBranch:A,parentComponent:D,container:k,namespace:x}=E;Qb(S,"onFallback");const _=h(A),M=()=>{E.isInFallback&&(d(null,w,k,_,D,null,x,l,s),k1(E,w))},L=w.transition&&w.transition.mode==="out-in";L&&(A.transition.afterLeave=M),E.isInFallback=!0,p(A,D,null,!0),L||M()},move(w,S,A){E.activeBranch&&f(E.activeBranch,w,S,A),E.container=w},next(){return E.activeBranch&&h(E.activeBranch)},registerDep(w,S,A){const D=!!E.pendingBranch;D&&E.deps++;const k=w.vnode.el;w.asyncDep.catch(x=>{jm(x,w,0)}).then(x=>{if(w.isUnmounted||E.isUnmounted||E.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:_}=w;rM(w,x,!1),k&&(_.el=k);const M=!k&&w.subTree.el;S(w,_,m(k||w.subTree.el),k?null:h(w.subTree),E,o,A),M&&(_.placeholder=null,v(M)),o9(w,_.el),D&&--E.deps===0&&E.resolve()})},unmount(w,S){E.isUnmounted=!0,E.activeBranch&&p(E.activeBranch,n,w,S),E.pendingBranch&&p(E.pendingBranch,n,w,S)}};return E}function TSe(e,t,n,r,a,i,o,l,s){const u=t.suspense=aoe(t,r,n,e.parentNode,document.createElement("div"),null,a,i,o,l,!0),c=s(e,u.pendingBranch=t.ssContent,n,u,i,o);return u.deps===0&&u.resolve(!1,!0),c}function kSe(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=DH(r?n.default:n),e.ssFallback=r?DH(n.fallback):be(ia)}function DH(e){let t;if(Lt(e)){const n=Dm&&e._c;n&&(e._d=!1,H()),e=e(),n&&(e._d=!0,t=uo,ooe())}return st(e)&&(e=fSe(e)),e=Qo(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ioe(e,t){t&&t.pendingBranch?st(e)?t.effects.push(...e):t.effects.push(e):Yb(e)}function k1(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let a=t.el;for(;!a&&t.component;)t=t.component.subTree,a=t.el;n.el=a,r&&r.subTree===n&&(r.vnode.el=a,o9(r,a))}function _Se(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const kt=Symbol.for("v-fgt"),Gs=Symbol.for("v-txt"),ia=Symbol.for("v-cmt"),tm=Symbol.for("v-stc"),eb=[];let uo=null;function H(e=!1){eb.push(uo=e?null:[])}function ooe(){eb.pop(),uo=eb[eb.length-1]||null}let Dm=1;function e2(e,t=!1){Dm+=e,e<0&&uo&&t&&(uo.hasOnce=!0)}function loe(e){return e.dynamicChildren=Dm>0?uo||F1:null,ooe(),Dm>0&&uo&&uo.push(e),e}function le(e,t,n,r,a,i){return loe(ye(e,t,n,r,a,i,!0))}function Ue(e,t,n,r,a){return loe(be(e,t,n,r,a,!0))}function sr(e){return e?e.__v_isVNode===!0:!1}function Ns(e,t){return e.type===t.type&&e.key===t.key}function xSe(e){}const soe=({key:e})=>e!=null?e:null,x3=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Bt(e)||Gn(e)||Lt(e)?{i:Gi,r:e,k:t,f:!!n}:e:null);function ye(e,t=null,n=null,r=0,a=null,i=e===kt?0:1,o=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&soe(t),ref:t&&x3(t),scopeId:t9,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:i,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Gi};return l?(yO(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=Bt(n)?8:16),Dm>0&&!o&&uo&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&uo.push(s),s}const be=MSe;function MSe(e,t=null,n=null,r=0,a=null,i=!1){if((!e||e===Pie)&&(e=ia),sr(e)){const l=fs(e,t,!0);return n&&yO(l,n),Dm>0&&!i&&uo&&(l.shapeFlag&6?uo[uo.indexOf(e)]=l:uo.push(l)),l.patchFlag=-2,l}if($Se(e)&&(e=e.__vccOpts),t){t=Yu(t);let{class:l,style:s}=t;l&&!Bt(l)&&(t.class=J(l)),mn(s)&&(Am(s)&&!st(s)&&(s=ga({},s)),t.style=Pt(s))}const o=Bt(e)?1:U7(e)?128:Sie(e)?64:mn(e)?4:Lt(e)?2:0;return ye(e,t,n,r,a,o,i,!0)}function Yu(e){return e?Am(e)||Kie(e)?ga({},e):e:null}function fs(e,t,n=!1,r=!1){const{props:a,ref:i,patchFlag:o,children:l,transition:s}=e,u=t?tn(a||{},t):a,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&soe(u),ref:t&&t.ref?n&&i?st(i)?i.concat(x3(t)):[i,x3(t)]:x3(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==kt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&fs(e.ssContent),ssFallback:e.ssFallback&&fs(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&Ed(c,s.clone(c)),c}function Cn(e=" ",t=0){return be(Gs,null,e,t)}function BSe(e,t){const n=be(tm,null,e);return n.staticCount=t,n}function Pe(e="",t=!1){return t?(H(),Ue(ia,null,e)):be(ia,null,e)}function Qo(e){return e==null||typeof e=="boolean"?be(ia):st(e)?be(kt,null,e.slice()):sr(e)?bf(e):be(Gs,null,String(e))}function bf(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fs(e)}function yO(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(st(t))n=16;else if(typeof t=="object")if(r&65){const a=t.default;a&&(a._c&&(a._d=!1),yO(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!Kie(t)?t._ctx=Gi:a===3&&Gi&&(Gi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Lt(t)?(t={default:t,_ctx:Gi},n=32):(t=String(t),r&64?(n=16,t=[Cn(t)]):n=8);e.children=t,e.shapeFlag|=n}function tn(...e){const t={};for(let n=0;nzi||Gi;let q7,tM;{const e=YC(),t=(n,r)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(r),i=>{a.length>1?a.forEach(o=>o(i)):a[0](i)}};q7=t("__VUE_INSTANCE_SETTERS__",n=>zi=n),tM=t("__VUE_SSR_SETTERS__",n=>J1=n)}const Tm=e=>{const t=zi;return q7(e),e.scope.on(),()=>{e.scope.off(),q7(t)}},nM=()=>{zi&&zi.scope.off(),q7(null)};function coe(e){return e.vnode.shapeFlag&4}let J1=!1;function doe(e,t=!1,n=!1){t&&tM(t);const{props:r,children:a}=e.vnode,i=coe(e);vSe(e,r,i,t),CSe(e,a,n||t);const o=i?OSe(e,t):void 0;return t&&tM(!1),o}function OSe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Jx);const{setup:r}=n;if(r){Cd();const a=e.setupContext=r.length>1?poe(e):null,i=Tm(e),o=U0(r,e,0,[e.props,a]),l=Xf(o);if(Fd(),i(),(l||e.sp)&&!fd(e)&&cO(e),l){if(o.then(nM,nM),t)return o.then(s=>{rM(e,s,t)}).catch(s=>{jm(s,e,0)});e.asyncDep=o}else rM(e,o,t)}else foe(e,t)}function rM(e,t,n){Lt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mn(t)&&(e.setupState=oO(t)),foe(e,n)}let Y7,aM;function PSe(e){Y7=e,aM=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,jwe))}}const ISe=()=>!Y7;function foe(e,t,n){const r=e.type;if(!e.render){if(!t&&Y7&&!r.render){const a=r.template||hO(e).template;if(a){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:s}=r,u=ga(ga({isCustomElement:i,delimiters:l},o),s);r.render=Y7(a,u)}}e.render=r.render||er,aM&&aM(e)}{const a=Tm(e);Cd();try{rSe(e)}finally{Fd(),a()}}}const NSe={get(e,t){return io(e,"get",""),e[t]}};function poe(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,NSe),slots:e.slots,emit:e.emit,expose:t}}function S5(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(oO(Lo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qy)return Qy[n](e)},has(t,n){return n in t||n in Qy}})):e.proxy}function iM(e,t=!0){return Lt(e)?e.displayName||e.name:e.name||t&&e.__name}function $Se(e){return Lt(e)&&"__vccOpts"in e}const R=(e,t)=>lwe(e,t,J1);function W(e,t,n){try{e2(-1);const r=arguments.length;return r===2?mn(t)&&!st(t)?sr(t)?be(e,null,[t]):be(e,t):be(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&sr(n)&&(n=[n]),be(e,t,n))}finally{e2(1)}}function VSe(){}function HSe(e,t,n,r){const a=n[r];if(a&&hoe(a,e))return a;const i=t();return i.memo=e.slice(),i.cacheIndex=r,n[r]=i}function hoe(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&uo&&uo.push(e),!0}const moe="3.5.26",bO=er,zSe=vwe,WSe=Zv,GSe=gie,jSe={createComponentInstance:uoe,setupComponent:doe,renderComponentRoot:_3,setCurrentRenderingInstance:Xb,isVNode:sr,normalizeVNode:Qo,getComponentPublicInstance:S5,ensureValidVNode:pO,pushWarningContext:fwe,popWarningContext:pwe},KSe=jSe,USe=null,qSe=null,YSe=null;let oM;const TH=typeof window!="undefined"&&window.trustedTypes;if(TH)try{oM=TH.createPolicy("vue",{createHTML:e=>e})}catch(e){}const voe=oM?e=>oM.createHTML(e):e=>e,JSe="http://www.w3.org/2000/svg",XSe="http://www.w3.org/1998/Math/MathML",Uc=typeof document!="undefined"?document:null,kH=Uc&&Uc.createElement("template"),goe={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 a=t==="svg"?Uc.createElementNS(JSe,e):t==="mathml"?Uc.createElementNS(XSe,e):n?Uc.createElement(e,{is:n}):Uc.createElement(e);return e==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:e=>Uc.createTextNode(e),createComment:e=>Uc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Uc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,i){const o=n?n.previousSibling:t.lastChild;if(a&&(a===i||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===i||!(a=a.nextSibling)););else{kH.innerHTML=voe(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=kH.content;if(r==="svg"||r==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Kd="transition",$g="animation",X1=Symbol("_vtc"),yoe={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},boe=ga({},uO,yoe),ZSe=e=>(e.displayName="Transition",e.props=boe,e),vi=ZSe((e,{slots:t})=>W(_ie,Coe(e),t)),Gp=(e,t=[])=>{st(e)?e.forEach(n=>n(...t)):e&&e(...t)},_H=e=>e?st(e)?e.some(t=>t.length>1):e.length>1:!1;function Coe(e){const t={};for(const _ in e)_ in yoe||(t[_]=e[_]);if(e.css===!1)return t;const{name:n="v",type:r,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:u=o,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=QSe(a),m=h&&h[0],v=h&&h[1],{onBeforeEnter:g,onEnter:b,onEnterCancelled:C,onLeave:y,onLeaveCancelled:E,onBeforeAppear:w=g,onAppear:S=b,onAppearCancelled:A=C}=t,D=(_,M,L,I)=>{_._enterCancelled=I,uf(_,M?c:l),uf(_,M?u:o),L&&L()},k=(_,M)=>{_._isLeaving=!1,uf(_,d),uf(_,p),uf(_,f),M&&M()},x=_=>(M,L)=>{const I=_?S:b,P=()=>D(M,_,L);Gp(I,[M,P]),xH(()=>{uf(M,_?s:i),Bu(M,_?c:l),_H(I)||MH(M,r,m,P)})};return ga(t,{onBeforeEnter(_){Gp(g,[_]),Bu(_,i),Bu(_,o)},onBeforeAppear(_){Gp(w,[_]),Bu(_,s),Bu(_,u)},onEnter:x(!1),onAppear:x(!0),onLeave(_,M){_._isLeaving=!0;const L=()=>k(_,M);Bu(_,d),_._enterCancelled?(Bu(_,f),lM(_)):(lM(_),Bu(_,f)),xH(()=>{_._isLeaving&&(uf(_,d),Bu(_,p),_H(y)||MH(_,r,v,L))}),Gp(y,[_,L])},onEnterCancelled(_){D(_,!1,void 0,!0),Gp(C,[_])},onAppearCancelled(_){D(_,!0,void 0,!0),Gp(A,[_])},onLeaveCancelled(_){k(_),Gp(E,[_])}})}function QSe(e){if(e==null)return null;if(mn(e))return[AE(e.enter),AE(e.leave)];{const t=AE(e);return[t,t]}}function AE(e){return $7(e)}function Bu(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[X1]||(e[X1]=new Set)).add(t)}function uf(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[X1];n&&(n.delete(t),n.size||(e[X1]=void 0))}function xH(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let eAe=0;function MH(e,t,n,r){const a=e._endId=++eAe,i=()=>{a===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:s}=Foe(e,t);if(!o)return r();const u=o+"end";let c=0;const d=()=>{e.removeEventListener(u,f),i()},f=p=>{p.target===e&&++c>=s&&d()};setTimeout(()=>{c(n[h]||"").split(", "),a=r(`${Kd}Delay`),i=r(`${Kd}Duration`),o=BH(a,i),l=r(`${$g}Delay`),s=r(`${$g}Duration`),u=BH(l,s);let c=null,d=0,f=0;t===Kd?o>0&&(c=Kd,d=o,f=i.length):t===$g?u>0&&(c=$g,d=u,f=s.length):(d=Math.max(o,u),c=d>0?o>u?Kd:$g:null,f=c?c===Kd?i.length:s.length:0);const p=c===Kd&&/\b(?:transform|all)(?:,|$)/.test(r(`${Kd}Property`).toString());return{type:c,timeout:d,propCount:f,hasTransform:p}}function BH(e,t){for(;e.lengthRH(n)+RH(e[r])))}function RH(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function lM(e){return(e?e.ownerDocument:document).body.offsetHeight}function tAe(e,t,n){const r=e[X1];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const J7=Symbol("_vod"),Eoe=Symbol("_vsh"),In={name:"show",beforeMount(e,{value:t},{transition:n}){e[J7]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Vg(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),Vg(e,!0),r.enter(e)):r.leave(e,()=>{Vg(e,!1)}):Vg(e,t))},beforeUnmount(e,{value:t}){Vg(e,t)}};function Vg(e,t){e.style.display=t?e[J7]:"none",e[Eoe]=!t}function nAe(){In.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const woe=Symbol("");function rAe(e){const t=Jt();if(!t)return;const n=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>X7(i,a))},r=()=>{const a=e(t.proxy);t.ce?X7(t.ce,a):sM(t.subTree,a),n(a)};w5(()=>{Yb(r)}),Ut(()=>{$e(r,er,{flush:"post"});const a=new MutationObserver(r);a.observe(t.subTree.el.parentNode,{childList:!0}),la(()=>a.disconnect())})}function sM(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{sM(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)X7(e.el,t);else if(e.type===kt)e.children.forEach(n=>sM(n,t));else if(e.type===tm){let{el:n,anchor:r}=e;for(;n&&(X7(n,t),n!==r);)n=n.nextSibling}}function X7(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const a in t){const i=REe(t[a]);n.setProperty(`--${a}`,i),r+=`--${a}: ${i};`}n[woe]=r}}const aAe=/(?:^|;)\s*display\s*:/;function iAe(e,t,n){const r=e.style,a=Bt(n);let i=!1;if(n&&!a){if(t)if(Bt(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&M3(r,l,"")}else for(const o in t)n[o]==null&&M3(r,o,"");for(const o in n)o==="display"&&(i=!0),M3(r,o,n[o])}else if(a){if(t!==n){const o=r[woe];o&&(n+=";"+o),r.cssText=n,i=aAe.test(n)}}else t&&e.removeAttribute("style");J7 in e&&(e[J7]=i?r.display:"",e[Eoe]&&(r.display="none"))}const LH=/\s*!important$/;function M3(e,t,n){if(st(n))n.forEach(r=>M3(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=oAe(e,t);LH.test(n)?e.setProperty(Mo(r),n.replace(LH,""),"important"):e[r]=n}}const OH=["Webkit","Moz","ms"],DE={};function oAe(e,t){const n=DE[t];if(n)return n;let r=ui(t);if(r!=="filter"&&r in e)return DE[t]=r;r=G0(r);for(let a=0;aTE||(cAe.then(()=>TE=0),TE=Date.now());function fAe(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ds(pAe(r,n.value),t,5,[r])};return n.value=e,n.attached=dAe(),n}function pAe(e,t){if(st(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>a=>!a._stopped&&r&&r(a))}else return t}const HH=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Soe=(e,t,n,r,a,i)=>{const o=a==="svg";t==="class"?tAe(e,r,o):t==="style"?iAe(e,n,r):g5(t)?QL(t)||sAe(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hAe(e,t,r,o))?(NH(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&IH(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Bt(r))?NH(e,ui(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),IH(e,t,r,o))};function hAe(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&HH(t)&&Lt(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 a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return HH(t)&&Bt(n)?!1:t in e}const zH={};function Aoe(e,t,n){let r=Ve(e,t);Sm(r)&&(r=ga({},r,t));class a extends l9{constructor(o){super(r,o,n)}}return a.def=r,a}const mAe=((e,t)=>Aoe(e,t,Poe)),vAe=typeof HTMLElement!="undefined"?HTMLElement:class{};class l9 extends vAe{constructor(t,n={},r=np){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==np?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ga({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof l9){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Oe(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=r;let l;if(i&&!st(i))for(const s in i){const u=i[s];(u===Number||u&&u.type===Number)&&(s in this._props&&(this._props[s]=$7(this._props[s])),(l||(l=Object.create(null)))[ui(s)]=!0)}this._numberProps=l,this._resolveProps(r),this.shadowRoot&&this._applyStyles(o),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)qn(this,r)||Object.defineProperty(this,r,{get:()=>F(n[r])})}_resolveProps(t){const{props:n}=t,r=st(n)?n:Object.keys(n||{});for(const a of Object.keys(this))a[0]!=="_"&&r.includes(a)&&this._setProp(a,this[a]);for(const a of r.map(ui))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(i){this._setProp(a,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):zH;const a=ui(t);n&&this._numberProps&&this._numberProps[a]&&(r=$7(r)),this._setProp(a,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,a=!1){if(n!==this._props[t]&&(this._dirty=!0,n===zH?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),a&&this._instance&&this._update(),r)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(Mo(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Mo(t),n+""):n||this.removeAttribute(Mo(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),uc(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=be(this._def,ga(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const a=(i,o)=>{this.dispatchEvent(new CustomEvent(i,Sm(o[0])?ga({detail:o},o[0]):{detail:o}))};r.emit=(i,...o)=>{a(i,o),Mo(i)!==i&&a(Mo(i),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let a=t.length-1;a>=0;a--){const i=document.createElement("style");r&&i.setAttribute("nonce",r),i.textContent=t[a],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let r=0;r(delete e.props.mode,e),CAe=bAe({name:"TransitionGroup",props:ga({},boe,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Jt(),r=sO();let a,i;return Il(()=>{if(!a.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!SAe(a[0].el,n.vnode.el,o)){a=[];return}a.forEach(FAe),a.forEach(EAe);const l=a.filter(wAe);lM(n.vnode.el),l.forEach(s=>{const u=s.el,c=u.style;Bu(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const d=u[Z7]=f=>{f&&f.target!==u||(!f||f.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",d),u[Z7]=null,uf(u,o))};u.addEventListener("transitionend",d)}),a=[]}),()=>{const o=dr(e),l=Coe(o);let s=o.tag||kt;if(a=[],i)for(let u=0;u{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:o}=Foe(r);return i.removeChild(r),o}const ep=e=>{const t=e.props["onUpdate:modelValue"]||!1;return st(t)?n=>A1(t,n):t};function AAe(e){e.target.composing=!0}function GH(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const os=Symbol("_assign");function jH(e,t,n){return t&&(e=e.trim()),n&&(e=qC(e)),e}const tp={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[os]=ep(a);const i=r||a.props&&a.props.type==="number";nd(e,t?"change":"input",o=>{o.target.composing||e[os](jH(e.value,n,i))}),(n||i)&&nd(e,"change",()=>{e.value=jH(e.value,n,i)}),t||(nd(e,"compositionstart",AAe),nd(e,"compositionend",GH),nd(e,"change",GH))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:a,number:i}},o){if(e[os]=ep(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?qC(e.value):e.value,s=t==null?"":t;l!==s&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||a&&e.value.trim()===s)||(e.value=s))}},A5={deep:!0,created(e,t,n){e[os]=ep(n),nd(e,"change",()=>{const r=e._modelValue,a=Z1(e),i=e.checked,o=e[os];if(st(r)){const l=JC(r,a),s=l!==-1;if(i&&!s)o(r.concat(a));else if(!i&&s){const u=[...r];u.splice(l,1),o(u)}}else if(Gm(r)){const l=new Set(r);i?l.add(a):l.delete(a),o(l)}else o(xoe(e,i))})},mounted:KH,beforeUpdate(e,t,n){e[os]=ep(n),KH(e,t,n)}};function KH(e,{value:t,oldValue:n},r){e._modelValue=t;let a;if(st(t))a=JC(t,r.props.value)>-1;else if(Gm(t))a=t.has(r.props.value);else{if(t===n)return;a=Zf(t,xoe(e,!0))}e.checked!==a&&(e.checked=a)}const D5={created(e,{value:t},n){e.checked=Zf(t,n.props.value),e[os]=ep(n),nd(e,"change",()=>{e[os](Z1(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[os]=ep(r),t!==n&&(e.checked=Zf(t,r.props.value))}},_oe={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const a=Gm(t);nd(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?qC(Z1(o)):Z1(o));e[os](e.multiple?a?new Set(i):i:i[0]),e._assigning=!0,Oe(()=>{e._assigning=!1})}),e[os]=ep(r)},mounted(e,{value:t}){UH(e,t)},beforeUpdate(e,t,n){e[os]=ep(n)},updated(e,{value:t}){e._assigning||UH(e,t)}};function UH(e,t){const n=e.multiple,r=st(t);if(!(n&&!r&&!Gm(t))){for(let a=0,i=e.options.length;aString(u)===String(l)):o.selected=JC(t,l)>-1}else o.selected=t.has(l);else if(Zf(Z1(o),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Z1(e){return"_value"in e?e._value:e.value}function xoe(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Moe={created(e,t,n){Y4(e,t,n,null,"created")},mounted(e,t,n){Y4(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Y4(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Y4(e,t,n,r,"updated")}};function Boe(e,t){switch(e){case"SELECT":return _oe;case"TEXTAREA":return tp;default:switch(t){case"checkbox":return A5;case"radio":return D5;default:return tp}}}function Y4(e,t,n,r,a){const o=Boe(e.tagName,n.props&&n.props.type)[a];o&&o(e,t,n,r)}function DAe(){tp.getSSRProps=({value:e})=>({value:e}),D5.getSSRProps=({value:e},t)=>{if(t.props&&Zf(t.props.value,e))return{checked:!0}},A5.getSSRProps=({value:e},t)=>{if(st(e)){if(t.props&&JC(e,t.props.value)>-1)return{checked:!0}}else if(Gm(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Moe.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Boe(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const TAe=["ctrl","shift","alt","meta"],kAe={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)=>TAe.some(n=>e[`${n}Key`]&&!t.includes(n))},Yt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((a,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(a=>{if(!("key"in a))return;const i=Mo(a.key);if(t.some(o=>o===i||_Ae[o]===i))return e(a)}))},Roe=ga({patchProp:Soe},goe);let tb,qH=!1;function Loe(){return tb||(tb=Zie(Roe))}function Ooe(){return tb=qH?tb:Qie(Roe),qH=!0,tb}const uc=((...e)=>{Loe().render(...e)}),xAe=((...e)=>{Ooe().hydrate(...e)}),np=((...e)=>{const t=Loe().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=Noe(r);if(!a)return;const i=t._component;!Lt(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const o=n(a,!1,Ioe(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},t}),Poe=((...e)=>{const t=Ooe().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=Noe(r);if(a)return n(a,!0,Ioe(a))},t});function Ioe(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Noe(e){return Bt(e)?document.querySelector(e):e}let YH=!1;const MAe=()=>{YH||(YH=!0,DAe(),nAe())};const BAe=()=>{},rp=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:_ie,BaseTransitionPropsValidators:uO,Comment:ia,DeprecationTypes:YSe,EffectScope:tO,ErrorCodes:mwe,ErrorTypeStrings:zSe,Fragment:kt,KeepAlive:zwe,ReactiveEffect:Kb,Static:tm,Suspense:SSe,Teleport:Bd,Text:Gs,TrackOpTypes:swe,Transition:vi,TransitionGroup:s9,TriggerOpTypes:uwe,VueElement:l9,assertNumber:hwe,callWithAsyncErrorHandling:ds,callWithErrorHandling:U0,camelize:ui,capitalize:G0,cloneVNode:fs,compatUtils:qSe,compile:BAe,computed:R,createApp:np,createBlock:Ue,createCommentVNode:Pe,createElementBlock:le,createElementVNode:ye,createHydrationRenderer:Qie,createPropsRestProxy:tSe,createRenderer:Zie,createSSRApp:Poe,createSlots:Ri,createStaticVNode:BSe,createTextVNode:Cn,createVNode:be,customRef:cie,defineAsyncComponent:Vwe,defineComponent:Ve,defineCustomElement:Aoe,defineEmits:Uwe,defineExpose:qwe,defineModel:Xwe,defineOptions:Ywe,defineProps:Kwe,defineSSRCustomElement:mAe,defineSlots:Jwe,devtools:WSe,effect:OEe,effectScope:y5,getCurrentInstance:Jt,getCurrentScope:j0,getCurrentWatcher:cwe,getTransitionRawChildren:n9,guardReactiveProps:Yu,h:W,handleError:jm,hasInjectionContext:yie,hydrate:xAe,hydrateOnIdle:Lwe,hydrateOnInteraction:Nwe,hydrateOnMediaQuery:Iwe,hydrateOnVisible:Pwe,initCustomFormatter:VSe,initDirectivesForSSR:MAe,inject:lt,isMemoSame:hoe,isProxy:Am,isReactive:il,isReadonly:sc,isRef:Gn,isRuntimeOnly:ISe,isShallow:ol,isVNode:sr,markRaw:Lo,mergeDefaults:Qwe,mergeModels:eSe,mergeProps:tn,nextTick:Oe,nodeOps:goe,normalizeClass:J,normalizeProps:qu,normalizeStyle:Pt,onActivated:Km,onBeforeMount:E5,onBeforeUnmount:Vn,onBeforeUpdate:w5,onDeactivated:r9,onErrorCaptured:Oie,onMounted:Ut,onRenderTracked:Lie,onRenderTriggered:Rie,onScopeDispose:K0,onServerPrefetch:Bie,onUnmounted:la,onUpdated:Il,onWatcherCleanup:fie,openBlock:H,patchProp:Soe,popScopeId:Cwe,provide:Qt,proxyRefs:oO,pushScopeId:bwe,queuePostFlushCb:Yb,reactive:dn,readonly:Qf,ref:j,registerRuntimeCompiler:PSe,render:uc,renderList:En,renderSlot:We,resolveComponent:en,resolveDirective:q0,resolveDynamicComponent:ln,resolveFilter:USe,resolveTransitionHooks:Y1,setBlockTracking:e2,setDevtoolsHook:GSe,setTransitionHooks:Ed,shallowReactive:b5,shallowReadonly:iO,shallowRef:Zn,ssrContextKey:bie,ssrUtils:KSe,stop:PEe,toDisplayString:ft,toHandlerKey:S1,toHandlers:Iie,toRaw:dr,toRef:Qn,toRefs:Na,toValue:Yr,transformVNodeArgs:xSe,triggerRef:Xy,unref:F,useAttrs:Fc,useCssModule:yAe,useCssVars:rAe,useHost:Doe,useId:Dwe,useModel:Hie,useSSRContext:Cie,useShadowRoot:gAe,useSlots:pa,useTemplateRef:Twe,useTransitionState:sO,vModelCheckbox:A5,vModelDynamic:Moe,vModelRadio:D5,vModelSelect:_oe,vModelText:tp,vShow:In,version:moe,warn:bO,watch:$e,watchEffect:No,watchPostEffect:Ewe,watchSyncEffect:Fie,withAsyncContext:nSe,withCtx:Re,withDefaults:Zwe,withDirectives:hn,withKeys:ca,withMemo:HSe,withModifiers:Yt,withScopeId:Fwe},Symbol.toStringTag,{value:"Module"}));var $oe=Object.defineProperty,RAe=Object.getOwnPropertyDescriptor,LAe=Object.getOwnPropertyNames,OAe=Object.prototype.hasOwnProperty,PAe=(e,t)=>{for(var n in t)$oe(e,n,{get:t[n],enumerable:!0})},IAe=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of LAe(t))!OAe.call(e,a)&&a!==n&&$oe(e,a,{get:()=>t[a],enumerable:!(r=RAe(t,a))||r.enumerable});return e},NAe=(e,t,n)=>(IAe(e,t,"default"),n),$Ae=Object.prototype.toString;function u9(e,t){return $Ae.call(e)===`[object ${t}]`}function Q1(e){return e!==null&&u9(e,"Object")}function B3(e){return typeof e<"u"}function VAe(e){return!B3(e)}function HAe(e){return e===null}function zAe(e){return HAe(e)||VAe(e)}function WAe(e){return ap(e)||T5(e)?e.length===0:e instanceof Map||e instanceof Set?e.size===0:Q1(e)?Object.keys(e).length===0:!1}function ld(e){return!!(WAe(e)||zAe(e))}function uM(e){return u9(e,"Number")}function T5(e){return u9(e,"String")}function pd(e){return typeof e=="function"}function GAe(e){return u9(e,"Boolean")}function ap(e){return e&&Array.isArray(e)}var jAe=typeof window>"u",KAe=!jAe,Wa=typeof document<"u";function CO(e){let t="^(?:(https?|ftp|rtsp|mms|ws|wss):\\/\\/)?(?:\\S+(?::\\S*)?@)?(?:(?:localhost)|(?:[1-9]\\d{0,2}(?:\\.\\d{1,3}){3})|(?:$[0-9a-fA-F:]+$)|(?:(?:[a-zA-Z0-9-_]+\\.)+[a-zA-Z]{2,63}))(?::\\d{1,5})?(?:[/?#]\\S*)?$";return new RegExp(t,"i").test(e)}function nxt(e){return/^[1](([3][0-9])|([4][0,1,4-9])|([5][0-3,5-9])|([6][2,5,6,7])|([7][0-8])|([8][0-9])|([9][0-3,5-9]))[0-9]{8}$/.test(e)}function rxt(e){return/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(e)}function UAe(e){if(!Wa)return;let t=e.split(","),n=t[0].match(/:(.*?);/)[1],r=window.atob(t[1]),a=r.length,i=new Uint8Array(a);for(;a--;)i[a]=r.charCodeAt(a);return new Blob([i],{type:n})}function qAe(e,t,n){return new Promise((r,a)=>{Wa||a();let i=document.createElement("CANVAS"),o=i.getContext("2d"),l=new Image;l.crossOrigin="",l.onload=function(){if(!i||!o)return a();i.height=l.height,i.width=l.width,o.drawImage(l,0,0);let s=i.toDataURL("image/png",n);i=null,r(s)},l.src=e})}var Q7=(e,t)=>Wa?!!(e!=null&&e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))):!1,axt=(e,t,n)=>{Wa&&(Q7(e,t)||(e.className+=" "+t),n&&!Q7(e,n)&&(e.className+=" "+n))},ixt=(e,t,n)=>{if(Wa){if(Q7(e,t)){let r=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(r," ").trim()}if(n&&Q7(e,n)){let r=new RegExp("(\\s|^)"+n+"(\\s|$)");e.className=e.className.replace(r," ").trim()}}},oxt=(e,t,n)=>{if(!Wa)return;let r=n||document.body,{className:a}=r,i=a.replace(t,"").trim().split(/\s+/).join(" ");r.className=e?`${i} ${t}`:i},YAe=Object.prototype.toString;function JAe(e,t){return e&&e.hasOwnProperty?e.hasOwnProperty(t):!1}function XAe(e,t,n){if(e)if(e.forEach)e.forEach(t,n);else for(let r=0,a=e.length;r{let{baseHue:t=Hg(0,360),hueOffset:n=30,saturation:r=70,lightness:a=60,angle:i=135,randomizeHue:o=!1,randomizeSaturation:l=!1,randomizeLightness:s=!1,randomizeAngle:u=!1}=e,c=o?Hg(0,360):t,d=l?Hg(50,100):r,f=s?Hg(40,70):a,p=u?Hg(0,360):i,h=_E(c,d,f),m=_E((c+n)%360,d,f),v=_E((c+180)%360,d,f);return`linear-gradient(${p}deg, ${h}, ${m}, ${v})`},Voe=e=>{let t=e.replace("#","").match(/../g);for(let n=0;n<3;n++)t[n]=parseInt(t[n],16);return t},Hoe=(e,t,n)=>{let r=[e.toString(16),t.toString(16),n.toString(16)];for(let a=0;a<3;a++)r[a].length==1&&(r[a]=`0${r[a]}`);return`#${r.join("")}`},uxt=(e,t)=>{let n=Voe(e);for(let r=0;r<3;r++)n[r]=Math.floor(n[r]*(1-t));return Hoe(n[0],n[1],n[2])},cxt=(e,t)=>{let n=Voe(e);for(let r=0;r<3;r++)n[r]=Math.floor((255-n[r])*t+n[r]);return Hoe(n[0],n[1],n[2])},dxt=(e,t)=>{if(e==0)return"0 Bytes";let n=1024,r=t||2,a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,i)).toFixed(r))+" "+a[i]};function fxt(e,t=!0){let n=o=>(o=Math.floor(o),o<10&&t?`0${o}`:o),r=n(e/3600),a=n(e%3600/60),i=n(e%60);return{h:r,m:a,s:i}}var xE=(e=20)=>new Promise(t=>setTimeout(t,e)),EO=(e,t=200,n=!1)=>{let r,a=t,i;return function(){r&&clearTimeout(r),n?(r||e.call(i,...arguments),r=setTimeout(()=>r=null,a)):r=setTimeout(()=>e.call(i,...arguments),a)}},QAe=(e,t=1e3)=>{let n;return function(){n||(n=setTimeout(()=>{e.call(void 0,...arguments),n=null},t))}},pxt=()=>{if(!Wa)return;let e=navigator.userAgent.toLowerCase(),t=e.match(/midp/i)=="midp",n=e.match(/ucweb/i)=="ucweb",r=e.match(/android/i)=="android",a=e.match(/iphone os/i)=="iphone os",i=e.match(/windows ce/i)=="windows ce",o=e.match(/rv:1.2.3.4/i)=="rv:1.2.3.4",l=e.match(/windows mobile/i)=="windows mobile";return t||n||r||a||i||o||l},zoe=(e,t="_blank")=>{if(!Wa)return;let n=document.createElement("a");n.setAttribute("href",e),n.setAttribute("target",t),n.setAttribute("rel","noreferrer noopener"),n.setAttribute("id","external");let r=document.getElementById("external");r&&document.body.removeChild(r),document.body.appendChild(n),n.click(),n.remove()};function hxt(e,t,n,r){qAe(e).then(a=>{eDe(a,t,n,r)})}function eDe(e,t,n,r){let a=UAe(e);tDe(a,t,n,r)}function tDe(e,t,n,r){if(!Wa)return;let a=typeof r<"u"?[r,e]:[e],i=new Blob(a,{type:n||"application/octet-stream"}),o=window.URL.createObjectURL(i),l=document.createElement("a");l.style.display="none",l.href=o,l.setAttribute("download",t),typeof l.download>"u"&&l.setAttribute("target","_blank"),document.body.appendChild(l),l.click(),document.body.removeChild(l),window.URL.revokeObjectURL(o)}function mxt(e,t,n="_self"){if(!Wa)return;let r=window.navigator.userAgent.toLowerCase().indexOf("chrome")>-1,a=window.navigator.userAgent.toLowerCase().indexOf("safari")>-1;if(/(iP)/g.test(window.navigator.userAgent))return console.error("Your browser does not support download!"),!1;if(r||a){let i=document.createElement("a");if(i.href=e,i.target=n,i.download!==void 0&&(i.download=t||e.substring(e.lastIndexOf("/")+1,e.length)),document.createEvent){let o=document.createEvent("MouseEvents");return o.initEvent("click",!0,!0),i.dispatchEvent(o),!0}}return e.indexOf("?")===-1&&(e+="?download"),zoe(e,n),!0}function Woe(e,t){if(e===t)return!0;if(typeof e!="object"||typeof t!="object"||e==null||t==null)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let a of n)if(!r.includes(a)||!Woe(e[a],t[a]))return!1;return!0}function nDe(e,t){if(!e||!t)return!1;let{length:n}=e;if(n!==t.length)return!1;for(let r=0;ra.includes(l),o=(l,s,u)=>{let c=u?`${u}[${l}]`:l;i(s)||(t.handleFile&&(s instanceof File||s instanceof Blob)?t.handleFile({file:s,key:c,formData:n}):s instanceof File||s instanceof Blob?n.append(r,s,s instanceof File?s.name:"blob"):Array.isArray(s)?s.forEach((d,f)=>o(String(f),d,c)):s&&typeof s=="object"&&s.constructor===Object?Object.keys(s).forEach(d=>o(d,s[d],c)):n.append(c,s))};return Object.keys(e).forEach(l=>o(l,e[l])),n}var Goe=(e,t)=>(e.install=n=>{for(let r of[e,...Object.values({})])n.component(r.name,r)},e),gxt=(e,t)=>{let n=Te({},e);return(ap(t)?t:[t]).forEach(r=>{delete n[r]}),n},rDe=class{constructor(t){Hn(this,"storage");this.storage=t}setItem(t,n){ld(this.storage)||this.storage.setItem(t,JSON.stringify(n))}getItem(t){if(!ld(this.storage))return JSON.parse(this.storage.getItem(t))}removeItem(t){ld(this.storage)||this.storage.removeItem(t)}clear(){ld(this.storage)||this.storage.clear()}},JH=class extends rDe{constructor(t){super(t)}},Pa=()=>KAe?new JH(window.localStorage):new JH("");function joe(e,t){return T5(t)?e.substring(0,e.indexOf(t)):""}function aDe(e,t){return T5(t)?e.substring(e.lastIndexOf(t)+t.length,e.length):""}function Cxt(e,t,n="*"){uM(e)&&(e=e.toString()),ap(t)||(t=Array.of(t));let r=e.split("");for(let a=0;a=0&&o=0&&(r[t[a]]=n)}return r.join("")}function Fxt(e){if(!Wa)return{width:0,height:0,body:""};try{let t=new DOMParser().parseFromString(e,"image/svg+xml"),n=t.querySelector("parsererror");if(n)return console.warn("getSvgInfo: Invalid SVG string detected. Parser error:",n.textContent),{width:0,height:0,body:""};let r=t.querySelector("svg");if(!r)return console.warn("getSvgInfo: element not found in provided string."),{width:0,height:0,body:""};let a=0,i=0,o=r.getAttribute("viewBox");if(o){let l=o.trim().split(/\s+/);if(l.length>=4){let s=parseFloat(l[2]),u=parseFloat(l[3]);isNaN(s)||(a=s),isNaN(u)||(i=u)}}if((!o||a===0||i===0)&&(a===0||i===0)){let l=r.getAttribute("width"),s=r.getAttribute("height");if(l){let u=parseFloat(l);isNaN(u)||(a=u)}if(s){let u=parseFloat(s);isNaN(u)||(i=u)}}return a=isNaN(a)?0:a,i=isNaN(i)?0:i,{width:a,height:i,body:r.innerHTML||""}}catch(t){return console.error("getSvgInfo: Unexpected error during SVG parsing. Returning default values.",t),{width:0,height:0,body:""}}}function iDe(e){if(!CO(e))return console.error(`${e}不符合超链接规范`),{};let t=e.indexOf("?"),n=e.slice(t+1).split("&"),r={};for(let a=0;at.some(r=>r===n))}var oDe=(...e)=>[...e].reduce((t,n)=>t.filter(r=>n.includes(r)));function lDe(e,t,n=!0){let r=[];for(let a of e)a[t]!==void 0&&a[t]!==null&&r.push(a[t]);return n?Array.from(new Set(r)):r}var sDe=(e,t)=>{if(!ap(e)||!ap(t))return!1;let n=new Set(e);return t.some(r=>n.has(r))};function Ext(e,...t){let n=new Array(e.length);for(let r=0;rrp});NAe(Jn,rp);function dM(e,{target:t=Wa?document.body:void 0}={}){let n=document.createElement("textarea"),r=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let a=document.getSelection(),i;a&&a.rangeCount>0&&(i=a.getRangeAt(0)),t==null||t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let o=!1;try{o=document.execCommand("copy")}catch(l){throw new Error(l.message)}return n.remove(),i&&a&&(a.removeAllRanges(),a.addRange(i)),r instanceof HTMLElement&&r.focus(),o}var wxt=(e="")=>{let t=(0,Jn.shallowRef)(e),n=(0,Jn.shallowRef)(!1);return(0,Jn.watch)(t,(r=e)=>{r=(0,Jn.isProxy)(r)||(0,Jn.isRef)(r)?(0,Jn.unref)(r):r,r=r.trim().length===0?e:r,r.length>0?n.value=dM(r):n.value=!1},{flush:"sync"}),{clipboardValue:t,copied:n,update:r=>{t.value=(0,Jn.isProxy)(r)||(0,Jn.isRef)(r)?(0,Jn.unref)(r):r;let a=t.value.trim().length===0?e:t.value;a.length>0?n.value=dM(a):n.value=!1}}};function c9(e){(0,Jn.getCurrentInstance)()&&(0,Jn.onUnmounted)(e)}function uDe(e){return(0,Jn.getCurrentScope)()?((0,Jn.onScopeDispose)(e),!0):!1}function XH(e){var n;let t=(0,Jn.toValue)(e);return(n=t==null?void 0:t.$el)!=null?n:t}var Sxt=e=>{let t="dark",n=(0,Jn.shallowRef)(!1),r,a=()=>{let o=document.documentElement;n.value=o.classList.contains(t)},i=()=>{document.documentElement.classList.toggle(t)};return c9(()=>{r&&(r.takeRecords(),r.disconnect())}),(0,Jn.onBeforeMount)(()=>{let o=document.documentElement;a(),r=new MutationObserver(a),r.observe(o,{attributes:!0,attributeFilter:["class"]})}),{isDark:n,toggleDark:i}};function cDe(e,t,n={}){let{time:r=40,box:a="content-box",immediate:i=!0}=n,o,l=!i,s=EO((v,g)=>{l?t(v,g):l=!0},r),u=()=>{o&&(o.disconnect(),o=null)},c=v=>typeof v=="string",d=v=>Wa?Array.from(document.querySelectorAll(v)):[],f=(0,Jn.computed)(()=>c(e)?d(e):Array.isArray(e)?e.map(v=>c(v)?d(v):XH(v)).flat():[XH(e)]),p,h=()=>{Wa&&(u(),p==null||p(),p=(0,Jn.watch)(f,(v,g,b)=>{window&&v.length&&(o=new ResizeObserver(s),v.forEach(C=>{if(C&&(o.observe(C,{box:a}),!l)){let y=C.getBoundingClientRect(),E={target:C,contentRect:y,borderBoxSize:[{inlineSize:y.width,blockSize:y.height}],contentBoxSize:[{inlineSize:y.width,blockSize:y.height}],devicePixelContentBoxSize:[{inlineSize:y.width,blockSize:y.height}]};t([E],o)}})),b(u)},{immediate:!0,flush:"post",deep:!0}))};(0,Jn.nextTick)(()=>{h()});let m=()=>{u(),p&&p()};return uDe(m),{stop:m,restart:h}}function Qv(){let{appContext:{config:{globalProperties:e}}}=(0,Jn.getCurrentInstance)();return e}var Axt=(e,t)=>{var M;let n="$echarts",r=t!=null&&t.theme?(0,Jn.isProxy)(t.theme)||(0,Jn.isRef)(t.theme)?t.theme:(0,Jn.ref)(t.theme):(0,Jn.ref)("default"),a=(M=t==null?void 0:t.tooltipId)!=null?M:"tooltipElement",i=Qv().$echarts;i||Object.keys(Qv()).forEach(L=>{var I,P,B,T,O;(P=(I=Qv())==null?void 0:I[L])!=null&&P.Axis&&((T=(B=Qv())==null?void 0:B[L])!=null&&T.ChartView)&&(i=(O=Qv())==null?void 0:O[L],n=L)});let o=!0,l=!1,s=null,u=(0,Jn.ref)({}),c=(0,Jn.ref)(),d=(0,Jn.computed)(()=>r.value!=="dark"?u.value:Te({backgroundColor:"transparent"},u.value));function f(L){let I=(0,Jn.unref)(e);if(!(!I||!(0,Jn.unref)(I))){if(!i)throw new Error("useECharts: echarts未绑定到globalProperties");s=i.init(I,L,t)}}function p(L,...I){var P;if(u.value=L,c.value=I,((P=(0,Jn.unref)(e))==null?void 0:P.offsetHeight)===0){xE().then(()=>p((0,Jn.unref)(d),...I));return}(0,Jn.nextTick)(()=>{xE().then(()=>{var B;!s&&f(r.value),((B=L.clear)==null||B)&&h(),s==null||s.setOption((0,Jn.unref)(d)),I&&I.map(T=>{(T==null?void 0:T.type)!=="zrender"&&typeof(T==null?void 0:T.callback)=="function"&&(s==null||s.on(T==null?void 0:T.name,T!=null&&T.query?T==null?void 0:T.query:"",O=>{T==null||T.callback(O)})),(T==null?void 0:T.type)==="zrender"&&typeof(T==null?void 0:T.callback)=="function"&&(s==null||s.getZr().on(T==null?void 0:T.name,O=>{O.target||(T==null||T.callback(O))}))}),L!=null&&L.addTooltip&&k(L.addTooltip)})})}function h(){s&&s.clear()}function m(){s&&s.resize()}function v(L){var B,T;let I=(B=L==null?void 0:L.type)!=null?B:"default",P=(T=L==null?void 0:L.opts)!=null?T:{};s.showLoading(I,P)}function g(){s.hideLoading()}function b(L){s.appendData(L)}function C(){return s.getWidth()}function y(){return s.getHeight()}function E(){return s||f(r.value),s}function w(){return s.getDom()}function S(){return s.getOption()}function A(L){return s.getDataURL(L)}function D(L){return s.getConnectedDataURL(L)}function k(L){if(!L||!Wa)return;let I=document.querySelector("html");if(!document.getElementById(a)){let T=document.createElement("div");T.setAttribute("id",a),T.style.display="block",I.appendChild(T)}let P=document.querySelector(`#${a}`),B=T=>{if((T==null?void 0:T.targetType)!=="axisLabel")return;let O=` padding: 5px; font-size: 12px; display: inline; border-radius: 4px; position: absolute; background-color: #303133; z-index: 99999;color: #fff; box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 8px; `;P.style.cssText=O,P.innerHTML=T==null?void 0:T.value,I.onmousemove=N=>{let V=N.pageX-10,Y=N.pageY+15;P.style.top=Y+"px",P.style.left=V+"px"}};s==null||s.on("mouseover",T=>{(L==="x"&&T.componentType=="xAxis"||L==="y"&&T.componentType=="yAxis"||L.toString()==="true"&&T.componentType.includes("Axis"))&&B(T)}),s==null||s.on("mouseout",()=>{I.onmousemove=null,P.style.cssText="display:none"})}function x(){return{name:n,value:i}}(0,Jn.watch)(()=>r.value,L=>{s&&(s.dispose(),f(L),p(u.value,...c.value))});function _(){var L,I;s&&xE((I=(L=u.value)==null?void 0:L.delay)!=null?I:300).then(()=>{m()})}return(0,Jn.onMounted)(()=>{(0,Jn.nextTick)(()=>{var L,I,P,B,T;if((L=u.value)!=null&&L.container){let O=(P=(I=u.value)==null?void 0:I.delay)!=null?P:40;cDe(u.value.container,m,{time:O}),l=sDe(["body","html","document"],Array.of(u.value.container).flat()),l&&window.addEventListener("resize",_)}else o=(T=(B=u.value)==null?void 0:B.resize)!=null?T:!0,o&&window.addEventListener("resize",_)})}),c9(()=>{var L,I,P;!((L=u.value)!=null&&L.container)&&o&&window.removeEventListener("resize",_),(I=u.value)!=null&&I.container&&l&&window.removeEventListener("resize",_),s&&(s.dispose(),s=null,(P=document.querySelector(`#${a}`))==null||P.remove())}),{echarts:i,setOptions:p,getInstance:E,showLoading:v,hideLoading:g,clear:h,resize:m,getGlobalProperties:x,getDom:w,getWidth:C,getHeight:y,getOption:S,appendData:b,getDataURL:A,getConnectedDataURL:D,addTooltip:k}};function dDe(e){return`${e}-${new Date().getTime()}-${Math.random().toString(36).substr(2,9)}`}function Dxt(e=!0){function t(a,i){if(!Wa)return;let o=(Array.isArray(a)?a:[a]).map(l=>(Array.isArray(l.src)?l.src:[l.src]).map(s=>{var f;let u=i==="css"?`link[href="${s}"]`:`script[src="${s}"]`,c=document.querySelector(u),d;return c?(d=c.cloneNode(!1),c.replaceWith(d)):(i==="css"?(d=document.createElement("link"),d.rel="stylesheet",d.href=s):(d=document.createElement("script"),d.type="text/javascript",d.src=s),d.id=dDe(i==="css"?"pure-utils-css":"pure-utils-script"),(l.element instanceof HTMLElement?l.element:document[(f=l.element)!=null?f:i==="css"?"head":"body"]).appendChild(d)),new Promise((p,h)=>{d.onload=()=>p({src:s,message:"加载成功"}),d.onerror=()=>h({src:s,message:"加载失败"})})})).flat();return Promise.all(o)}function n(a){return t(a,"css")}function r(a){return t(a,"script")}return c9(()=>{Wa&&e&&document.querySelectorAll('link[id^="pure-utils-css"], script[id^="pure-utils-script"]').forEach(a=>a.remove())}),{loadCss:n,loadScript:r}}var fDe=Symbol("watermark-dom"),Txt=(e=(0,Jn.ref)(Wa?document.body:""))=>{let t=fDe.toString(),n=(0,Jn.shallowRef)(),r=f=>new Promise((p,h)=>{Wa||h();let m=new Image;new URL(f,window.location.href).origin!==window.location.origin&&(m.crossOrigin="anonymous",m.referrerPolicy="no-referrer"),m.onload=()=>p(m),m.onerror=h,m.src=f}),a=()=>{let f=(0,Jn.unref)(n);n.value=void 0;let p=(0,Jn.unref)(e);p&&f&&p.removeChild(f)};function i(f,p){var y,E,w,S,A,D;if(!Wa)return Promise.resolve("");let h=document.createElement("canvas"),m=(y=p==null?void 0:p.width)!=null?y:250,v=(E=p==null?void 0:p.height)!=null?E:100;h.width=m,h.height=v;let g=h.getContext("2d");if(!g)return Promise.resolve("");let b=((w=p==null?void 0:p.rotate)!=null?w:-10)*Math.PI/180;if(g.translate(m/2,v/2),g.rotate(b),p!=null&&p.globalAlpha&&(g.globalAlpha=p.globalAlpha),p==null?void 0:p.shadowConfig){let{shadowConfig:k}=p;g.shadowBlur=k[0],g.shadowColor=(S=k==null?void 0:k[1])!=null?S:"#000000",g.shadowOffsetX=(A=k==null?void 0:k[2])!=null?A:0,g.shadowOffsetY=(D=k==null?void 0:k[3])!=null?D:0}let C=()=>{var I,P,B,T,O,N;g.font=(I=p==null?void 0:p.font)!=null?I:"normal 16px Arial, 'Courier New', 'Droid Sans', sans-serif";let k=f.includes((P=p==null?void 0:p.wrap)!=null?P:"、")?"center":"left",x=(B=p==null?void 0:p.textAlign)!=null?B:k;if(g.textAlign=x,g.textBaseline="middle",(p==null?void 0:p.gradient)&&ap(p==null?void 0:p.gradient)){let V=g.createLinearGradient(0,0,m,0);p==null||p.gradient.forEach(Y=>{V.addColorStop(Y.value,Y.color)}),g.fillStyle=V}else g.fillStyle=(T=p==null?void 0:p.color)!=null?T:"rgba(128, 128, 128, 0.3)";let _=f.split((O=p==null?void 0:p.wrap)!=null?O:"、"),M=(N=p==null?void 0:p.lineHeight)!=null?N:20,L=-(_.length*M/2)+M/2;_.forEach((V,Y)=>{let z;x==="left"||x==="start"?z=-m/4:x==="right"||x==="end"?z=m/4:z=0,g.fillText(V,z,L+Y*M)}),g.rotate(-b),g.translate(-m/2,-v/2)};return new Promise(k=>{let x=p==null?void 0:p.image;x?r(x).then(_=>{var I,P;let M=(I=p==null?void 0:p.imageWidth)!=null?I:_.width,L=(P=p==null?void 0:p.imageHeight)!=null?P:_.height;g.drawImage(_,-M/2,-L/2,M,L),k(h.toDataURL("image/png"))}).catch(()=>{C(),k(h.toDataURL("image/png"))}):(C(),k(h.toDataURL("image/png")))})}function o(f={}){let p=(0,Jn.unref)(n);p&&(B3(f.width)&&(p.style.width=`${f.width}px`),B3(f.height)&&(p.style.height=`${f.height}px`),B3(f.str)&&i(f.str,f.attr).then(h=>{p.style.background=`url(${h}) left top repeat`}))}let l=EO(()=>{let f=(0,Jn.unref)(e);if(!f)return;let{clientHeight:p,clientWidth:h}=f;o({height:p,width:h})}),s=(f,p)=>{var b,C;if(!Wa)return;if((0,Jn.unref)(n))return o({str:f,attr:p}),t;let h=(0,Jn.unref)(e),m=document.createElement("div");if(n.value=m,m.id=t,m.style.pointerEvents="none",m.style.top="0px",m.style.left="0px",m.style.position=h===document.body?"fixed":"absolute",m.style.zIndex=(b=p==null?void 0:p.zIndex)!=null?b:"100000",!h)return t;let{clientHeight:v,clientWidth:g}=h;return o({str:f,width:g,height:v,attr:p}),(C=h==null?void 0:h.style)!=null&&C.position||(h.style.position="relative"),h.appendChild(m),t};function u(f,{str:p,attr:h}){f[0].removedNodes[0]&&f[0].removedNodes[0].id===t&&(n.value=void 0,s(p,h))}function c(f,p){let h={childList:!0,attributes:!0,characterData:!0,subtree:!0};new MutationObserver(m=>u(m,{str:f,attr:p})).observe((0,Jn.unref)(e),h)}function d(f,p){Wa&&(s(f,p),window.addEventListener("resize",l),p!=null&&p.forever&&c(f,p),(0,Jn.getCurrentInstance)()&&a&&a())}return c9(()=>{Wa&&window.removeEventListener("resize",l)}),{clear:a,setWatermark:d}};const pDe="/vue-pure-admin/static/png/version-bg-Bb367lV-.png",hDe=(e="#FA8D88",t="#FE7D66")=>` version-rokect `,X4={title:"Update",description:"is available",buttonText:"Refresh"},mDe=e=>{if(document.querySelector("#version-rocket"))return;const n=`
${e.primaryColor||e.rocketColor?`
${hDe(e.primaryColor,e.rocketColor)}
`:`version`}
${e.title||X4.title}
${e.description||(e.newVersion?`V ${e.newVersion} ${X4.description}`:`A new version ${X4.description}`)}
${e.buttonText||X4.buttonText}
${e.cancelButtonText?`
${e.cancelButtonText}
`:""}
`;let r=document.createElement("div");r.innerHTML=n,document.body.appendChild(r);const a=document.querySelector("#version-rocket .refresh-button");a.onclick=()=>{typeof(e==null?void 0:e.onRefresh)=="function"?e.onRefresh({newVersion:e.newVersion,needRefresh:e.needRefresh||!1}):window.location.reload()};const i=document.querySelector("#version-rocket .cancel-button");i&&(i.onclick=()=>{if(typeof(e==null?void 0:e.onCancel)=="function"){e.onCancel({newVersion:e.newVersion,needRefresh:e.needRefresh||!1});return}switch((e==null?void 0:e.cancelMode)||"ignore-current-version"){case"ignore-current-version":localStorage.setItem("version-rocket:cancelled",e.newVersion||"");break;case"ignore-today":localStorage.setItem("version-rocket:cancelled",new Date().toLocaleDateString());break;case"ignore-current-window":sessionStorage.setItem("version-rocket:cancelled","true");break}CDe({closeDialog:!0,closeWorker:!1})})},vDe=(e,t)=>{const n=`${(t==null?void 0:t.map(o=>o.toString()).join(`; `))||""}`,r=new Blob([` ${n}; (${e.toString()})(); `]),a=window.URL.createObjectURL(r);return new Worker(a)},gDe=()=>{let e="";const t=new Set;let n=5e3,r=!1,a="",i=[],o="one",l=null,s=!1;const u=self;return u.onmessage=c=>{e=c.data["version-key"],n=c.data["polling-time"],r=c.data.immediate,a=c.data["origin-version-file-url"],i=c.data["check-origin-specified-files-url"],o=c.data["check-origin-specified-files-url-mode"],s=c.data["clear-interval-on-dialog"];const d=Uoe(e,a,i);d||u.postMessage({invalidParams:!0});const f=()=>{if(d==="check-version"&&fetch(`${a}?${+new Date}`).then(p=>p.json()).then(p=>{e!==p.version&&(u.postMessage({refreshPageVisible:!0,refreshPageVersion:`${p.version}`,external:p.external}),s&&clearInterval(l))}),d==="check-specified-files"){if(!(i!=null&&i.length))return;i.forEach(p=>{fetch(p,{method:"HEAD",cache:"no-cache"}).then(h=>h.headers.get("ETag")||h.headers.get("Last-Modified")).then(h=>{h&&t.add(h),o==="one"&&t.size>i.length&&(u.postMessage({refreshPageVisible:!0,refreshPageVersion:"",external:""}),t.clear(),s&&clearInterval(l)),o==="all"&&t.size===i.length*2&&(u.postMessage({refreshPageVisible:!0,refreshPageVersion:"",external:""}),t.clear(),s&&clearInterval(l))})})}};r&&f(),l=setInterval(f,n)},u},yDe=(e,t,n,r)=>{const a=e||(t?"ignore-current-version":"ignore-current-window"),i=localStorage.getItem("version-rocket:cancelled")||"",o=new Date().toLocaleDateString(),l=sessionStorage.getItem("version-rocket:cancelled")||"",s=n||!1;switch(a){case"ignore-current-version":if(t&&i===t)return s&&(r==null||r.terminate()),!0;break;case"ignore-today":if(i===o)return s&&(r==null||r.terminate()),!0;break;case"ignore-current-window":if(l)return s&&(r==null||r.terminate()),!0;break}return!1};function Uoe(e,t,n){const r=e&&t?"check-version":n!=null&&n.length?"check-specified-files":"";return r?(console.log("You are use check version type is",r),r):console.log("Not found localPackageVersion, originVersionFileUrl or originSpecifiedFilesUrl")}let rd;const bDe=(e,t)=>{if(e.enable===!1)return;rd||(rd=vDe(gDe,[Uoe]));const n=r=>{if(r)return Array.isArray(r)?[...new Set(r)].filter(a=>a!=null):(console.warn("Invalid input: Expected an array."),[])};rd.postMessage({"version-key":e.localPackageVersion||"","polling-time":e.pollingTime||5e3,immediate:e.immediate||!1,"origin-version-file-url":e.originVersionFileUrl||"","check-origin-specified-files-url":n(e.checkOriginSpecifiedFilesUrl),"check-origin-specified-files-url-mode":e.checkOriginSpecifiedFilesUrlMode||"one","clear-interval-on-dialog":e.clearIntervalOnDialog||!1}),rd.onmessage=r=>{var a;if(!yDe(t==null?void 0:t.cancelMode,(a=r.data)===null||a===void 0?void 0:a.refreshPageVersion,t==null?void 0:t.cancelUpdateAndStopWorker,rd))if(localStorage.removeItem("version-rocket:cancelled"),sessionStorage.removeItem("version-rocket:cancelled"),typeof e.onVersionUpdate=="function")e.onVersionUpdate(r.data);else{const{title:o,description:l,buttonText:s,cancelButtonText:u,cancelMode:c,imageUrl:d,rocketColor:f,primaryColor:p,buttonStyle:h}=t||{},{onRefresh:m,onCancel:v}=e||{};mDe({title:o,description:l,buttonText:s,cancelButtonText:u,cancelMode:c,imageUrl:d,rocketColor:f,primaryColor:p,buttonStyle:h,newVersion:r.data.refreshPageVersion,needRefresh:r.data.refreshPageVersion,onRefresh:m,onCancel:v})}}},CDe=({closeDialog:e=!1,closeWorker:t=!0})=>{if(t&&(rd==null||rd.terminate(),rd=void 0),e){const n=document.querySelector("#version-rocket"),r=n==null?void 0:n.parentElement;n&&r&&r.removeChild(n)}},qoe=Symbol(),nb="el",FDe="is-",jp=(e,t,n,r,a)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),a&&(i+=`--${a}`),i},Yoe=Symbol("namespaceContextKey"),wO=e=>{const t=e||(Jt()?lt(Yoe,j(nb)):j(nb));return R(()=>F(t)||nb)},at=(e,t)=>{const n=wO(t);return{namespace:n,b:(m="")=>jp(n.value,e,m,"",""),e:m=>m?jp(n.value,e,"",m,""):"",m:m=>m?jp(n.value,e,"","",m):"",be:(m,v)=>m&&v?jp(n.value,e,m,v,""):"",em:(m,v)=>m&&v?jp(n.value,e,"",m,v):"",bm:(m,v)=>m&&v?jp(n.value,e,m,"",v):"",bem:(m,v,g)=>m&&v&&g?jp(n.value,e,m,v,g):"",is:(m,...v)=>{const g=v.length>=1?v[0]:!0;return m&&g?`${FDe}${m}`:""},cssVar:m=>{const v={};for(const g in m)m[g]&&(v[`--${n.value}-${g}`]=m[g]);return v},cssVarName:m=>`--${n.value}-${m}`,cssVarBlock:m=>{const v={};for(const g in m)m[g]&&(v[`--${n.value}-${e}-${g}`]=m[g]);return v},cssVarBlockName:m=>`--${n.value}-${e}-${m}`}};var Joe=typeof global=="object"&&global&&global.Object===Object&&global,EDe=typeof self=="object"&&self&&self.Object===Object&&self,uu=Joe||EDe||Function("return this")(),ps=uu.Symbol,Xoe=Object.prototype,wDe=Xoe.hasOwnProperty,SDe=Xoe.toString,zg=ps?ps.toStringTag:void 0;function ADe(e){var t=wDe.call(e,zg),n=e[zg];try{e[zg]=void 0;var r=!0}catch(i){}var a=SDe.call(e);return r&&(t?e[zg]=n:delete e[zg]),a}var DDe=Object.prototype,TDe=DDe.toString;function kDe(e){return TDe.call(e)}var _De="[object Null]",xDe="[object Undefined]",ZH=ps?ps.toStringTag:void 0;function Um(e){return e==null?e===void 0?xDe:_De:ZH&&ZH in Object(e)?ADe(e):kDe(e)}function cc(e){return e!=null&&typeof e=="object"}var MDe="[object Symbol]";function d9(e){return typeof e=="symbol"||cc(e)&&Um(e)==MDe}function SO(e,t){for(var n=-1,r=e==null?0:e.length,a=Array(r);++n0){if(++t>=sTe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function fTe(e){return function(){return e}}var e6=(function(){try{var e=Ym(Object,"defineProperty");return e({},"",{}),e}catch(t){}})(),pTe=e6?function(e,t){return e6(e,"toString",{configurable:!0,enumerable:!1,value:fTe(t),writable:!0})}:AO,ele=dTe(pTe);function hTe(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}var bTe=9007199254740991,CTe=/^(?:0|[1-9]\d*)$/;function f9(e,t){var n=typeof e;return t=t==null?bTe:t,!!t&&(n=="number"||n!="symbol"&&CTe.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=wTe}function J0(e){return e!=null&&_O(e.length)&&!DO(e)}function STe(e,t,n){if(!Vo(n))return!1;var r=typeof t;return(r=="number"?J0(n)&&f9(t,n.length):r=="string"&&t in n)?k5(n[t],e):!1}function ATe(e){return rle(function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,o=a>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,o&&STe(n[0],n[1],o)&&(i=a<3?void 0:i,a=1),t=Object(t);++r-1}function Oke(e,t){var n=this.__data__,r=p9(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Ld(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(l)?t>1?M5(l,t-1,n,r,a):LO(a,l):r||(a[a.length]=l)}return a}function t6(e){var t=e==null?0:e.length;return t?M5(e,1):[]}function ule(e){return ele(nle(e,void 0,t6),e+"")}var OO=sle(Object.getPrototypeOf,Object),Jke="[object Object]",Xke=Function.prototype,Zke=Object.prototype,cle=Xke.toString,Qke=Zke.hasOwnProperty,e_e=cle.call(Object);function dle(e){if(!cc(e)||Um(e)!=Jke)return!1;var t=OO(e);if(t===null)return!0;var n=Qke.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&cle.call(n)==e_e}function t_e(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),n=n>a?a:n,n<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++r=t?e:t)),e}function g9(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=_1(n),n=n===n?n:0),t!==void 0&&(t=_1(t),t=t===t?t:0),n_e(_1(e),t,n)}function r_e(){this.__data__=new Ld,this.size=0}function a_e(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function i_e(e){return this.__data__.get(e)}function o_e(e){return this.__data__.has(e)}var l_e=200;function s_e(e,t){var n=this.__data__;if(n instanceof Ld){var r=n.__data__;if(!a2||r.lengthl))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var d=-1,f=!0,p=n&Ixe?new i2:void 0;for(i.set(e,t),i.set(t,e);++d=t||S<0||d&&A>=i}function g(){var w=OE();if(v(w))return b(w);l=setTimeout(g,m(w))}function b(w){return l=void 0,f&&r?p(w):(r=a=void 0,o)}function C(){l!==void 0&&clearTimeout(l),u=0,r=s=a=l=void 0}function y(){return l===void 0?o:b(OE())}function E(){var w=OE(),S=v(w);if(r=arguments,a=this,s=w,S){if(l===void 0)return h(s);if(d)return clearTimeout(l),l=setTimeout(g,t),p(s)}return l===void 0&&(l=setTimeout(g,t)),o}return E.cancel=C,E.flush=y,E}function vM(e,t,n){(n!==void 0&&!k5(e[t],n)||n===void 0&&!(t in e))&&TO(e,t,n)}function Mle(e){return cc(e)&&J0(e)}function gM(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function AMe(e){return Y0(e,x5(e))}function DMe(e,t,n,r,a,i,o){var l=gM(e,n),s=gM(t,n),u=o.get(s);if(u){vM(e,n,u);return}var c=i?i(l,s,n+"",e,t,o):void 0,d=c===void 0;if(d){var f=$o(s),p=!f&&n2(s),h=!f&&!p&&BO(s);c=s,f||p||h?$o(l)?c=l:Mle(l)?c=Qoe(l):p?(d=!1,c=ple(s,!0)):h?(d=!1,c=yle(s,!0)):c=[]:dle(s)||t2(s)?(c=l,t2(l)?c=AMe(l):(!Vo(l)||DO(l))&&(c=ble(s))):d=!1}d&&(o.set(s,c),a(c,s,r,i,o),o.delete(s)),vM(e,n,c)}function Ble(e,t,n,r,a){e!==t&&xle(t,function(i,o){if(a||(a=new js),Vo(i))DMe(e,t,o,n,Ble,r,a);else{var l=r?r(gM(e,o),i,o+"",e,t,a):void 0;l===void 0&&(l=i),vM(e,o,l)}},x5)}function TMe(e,t,n){for(var r=-1,a=e==null?0:e.length;++r1),i}),Y0(e,gle(e),n),r&&(n=M1(n,jMe|KMe|UMe,GMe));for(var a=t.length;a--;)WMe(n,t[a]);return n});function Ple(e,t,n,r){if(!Vo(e))return e;t=X0(t,e);for(var a=-1,i=t.length,o=i-1,l=e;l!=null&&++a=eBe){var u=t?null:QMe(e);if(u)return NO(u);o=!1,a=wle,s=new i2}else s=t?[]:l;e:for(;++re===void 0,hr=e=>typeof e=="boolean",$t=e=>typeof e=="number",Bo=e=>!e&&e!==0||st(e)&&e.length===0||mn(e)&&!Object.keys(e).length,rl=e=>typeof Element=="undefined"?!1:e instanceof Element,al=e=>Ma(e),nBe=e=>Bt(e)?!Number.isNaN(Number(e)):!1,R5=e=>e===window;function Ile(e,t){var n;const r=Zn();return No(()=>{r.value=e()},Et(Te({},t),{flush:(n=void 0)!=null?n:"sync"})),Qf(r)}function Jm(e){return j0()?(K0(e),!0):!1}function _l(e){return typeof e=="function"?e():F(e)}function rBe(e){if(!Gn(e))return dn(e);const t=new Proxy({},{get(n,r,a){return F(Reflect.get(e.value,r,a))},set(n,r,a){return Gn(e.value[r])&&!Gn(a)?e.value[r].value=a:e.value[r]=a,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return dn(t)}function aBe(e){return rBe(R(e))}const Yn=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const iBe=e=>typeof e!="undefined",Nle=e=>e!=null,oBe=Object.prototype.toString,lBe=e=>oBe.call(e)==="[object Object]",$le=(e,t,n)=>Math.min(n,Math.max(t,e)),Ks=()=>{},a6=sBe();function sBe(){var e,t;return Yn&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Vle(e,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}function uBe(e,t={}){let n,r,a=Ks;const i=l=>{clearTimeout(l),a(),a=Ks};return l=>{const s=_l(e),u=_l(t.maxWait);return n&&i(n),s<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((c,d)=>{a=t.rejectOnCancel?d:c,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,c(l())},u)),n=setTimeout(()=>{r&&i(r),r=null,c(l())},s)})}}function cBe(...e){let t=0,n,r=!0,a=Ks,i,o,l,s,u;!Gn(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:s=!0,rejectOnCancel:u=!1}=e[0]:[o,l=!0,s=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,a(),a=Ks)};return f=>{const p=_l(o),h=Date.now()-t,m=()=>i=f();return c(),p<=0?(t=Date.now(),m()):(h>p&&(s||!r)?(t=Date.now(),m()):l&&(i=new Promise((v,g)=>{a=u?g:v,n=setTimeout(()=>{t=Date.now(),r=!0,v(m()),c()},Math.max(0,p-h))})),!s&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function dBe(e){return Jt()}function L5(e,t=200,n={}){return Vle(uBe(t,n),e)}function fBe(e,t=200,n={}){const r=j(e.value),a=L5(()=>{r.value=e.value},t,n);return $e(e,()=>a()),r}function Hle(e,t=200,n=!1,r=!0,a=!1){return Vle(cBe(t,n,r,a),e)}function $O(e,t=!0,n){dBe()?Ut(e,n):t?e():Oe(e)}function t0(e,t,n={}){const{immediate:r=!0}=n,a=j(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function l(){a.value=!1,o()}function s(...u){o(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,e(...u)},_l(t))}return r&&(a.value=!0,Yn&&s()),Jm(l),{isPending:Qf(a),start:s,stop:l}}function Ja(e){var t;const n=_l(e);return(t=n==null?void 0:n.$el)!=null?t:n}const cu=Yn?window:void 0,pBe=Yn?window.document:void 0;function ir(...e){let t,n,r,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,a]=e,t=cu):[t,n,r,a]=e,!t)return Ks;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},l=(c,d,f,p)=>(c.addEventListener(d,f,p),()=>c.removeEventListener(d,f,p)),s=$e(()=>[Ja(t),_l(a)],([c,d])=>{if(o(),!c)return;const f=lBe(d)?Te({},d):d;i.push(...n.flatMap(p=>r.map(h=>l(c,p,h,f))))},{immediate:!0,flush:"post"}),u=()=>{s(),o()};return Jm(u),u}let kz=!1;function VO(e,t,n={}){const{window:r=cu,ignore:a=[],capture:i=!0,detectIframe:o=!1}=n;if(!r)return Ks;a6&&!kz&&(kz=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Ks)),r.document.documentElement.addEventListener("click",Ks));let l=!0;const s=f=>a.some(p=>{if(typeof p=="string")return Array.from(r.document.querySelectorAll(p)).some(h=>h===f.target||f.composedPath().includes(h));{const h=Ja(p);return h&&(f.target===h||f.composedPath().includes(h))}}),c=[ir(r,"click",f=>{const p=Ja(e);if(!(!p||p===f.target||f.composedPath().includes(p))){if(f.detail===0&&(l=!s(f)),!l){l=!0;return}t(f)}},{passive:!0,capture:i}),ir(r,"pointerdown",f=>{const p=Ja(e);l=!s(f)&&!!(p&&!f.composedPath().includes(p))},{passive:!0}),o&&ir(r,"blur",f=>{setTimeout(()=>{var p;const h=Ja(e);((p=r.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(h!=null&&h.contains(r.document.activeElement))&&t(f)},0)})].filter(Boolean);return()=>c.forEach(f=>f())}function hBe(){const e=j(!1),t=Jt();return t&&Ut(()=>{e.value=!0},t),e}function C9(e){const t=hBe();return R(()=>(t.value,!!e()))}function O5(e,t,n={}){const f=n,{window:r=cu}=f,a=Fo(f,["window"]);let i;const o=C9(()=>r&&"MutationObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},s=R(()=>{const p=_l(e),h=(Array.isArray(p)?p:[p]).map(Ja).filter(Nle);return new Set(h)}),u=$e(()=>s.value,p=>{l(),o.value&&p.size&&(i=new MutationObserver(t),p.forEach(h=>i.observe(h,a)))},{immediate:!0,flush:"post"}),c=()=>i==null?void 0:i.takeRecords(),d=()=>{l(),u()};return Jm(d),{isSupported:o,stop:d,takeRecords:c}}function mBe(e={}){var t;const{window:n=cu,deep:r=!0,triggerOnRemoval:a=!1}=e,i=(t=e.document)!=null?t:n==null?void 0:n.document,o=()=>{var u;let c=i==null?void 0:i.activeElement;if(r)for(;c!=null&&c.shadowRoot;)c=(u=c==null?void 0:c.shadowRoot)==null?void 0:u.activeElement;return c},l=j(),s=()=>{l.value=o()};return n&&(ir(n,"blur",u=>{u.relatedTarget===null&&s()},!0),ir(n,"focus",s,!0)),a&&O5(i,u=>{u.filter(c=>c.removedNodes.length).map(c=>Array.from(c.removedNodes)).flat().forEach(c=>{c===l.value&&s()})},{childList:!0,subtree:!0}),s(),l}function vBe(e,t={}){const{window:n=cu}=t,r=C9(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let a;const i=j(!1),o=u=>{i.value=u.matches},l=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",o):a.removeListener(o))},s=No(()=>{r.value&&(l(),a=n.matchMedia(_l(e)),"addEventListener"in a?a.addEventListener("change",o):a.addListener(o),i.value=a.matches)});return Jm(()=>{s(),l(),a=void 0}),i}function gBe(e){return JSON.parse(JSON.stringify(e))}function yBe(e,t,n={}){const{window:r=cu,initialValue:a="",observe:i=!1}=n,o=j(a),l=R(()=>{var u;return Ja(t)||((u=r==null?void 0:r.document)==null?void 0:u.documentElement)});function s(){var u;const c=_l(e),d=_l(l);if(d&&r){const f=(u=r.getComputedStyle(d).getPropertyValue(c))==null?void 0:u.trim();o.value=f||a}}return i&&O5(l,s,{attributeFilter:["style","class"],window:r}),$e([l,()=>_l(e)],s,{immediate:!0}),$e(o,u=>{var c;(c=l.value)!=null&&c.style&&l.value.style.setProperty(_l(e),u)}),o}function bBe(e={}){const{document:t=pBe}=e;if(!t)return j("visible");const n=j(t.visibilityState);return ir(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function zr(e,t,n={}){const d=n,{window:r=cu}=d,a=Fo(d,["window"]);let i;const o=C9(()=>r&&"ResizeObserver"in r),l=()=>{i&&(i.disconnect(),i=void 0)},s=R(()=>Array.isArray(e)?e.map(f=>Ja(f)):[Ja(e)]),u=$e(s,f=>{if(l(),o.value&&r){i=new ResizeObserver(t);for(const p of f)p&&i.observe(p,a)}},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return Jm(c),{isSupported:o,stop:c}}function _z(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:a=!0,immediate:i=!0}=t,o=j(0),l=j(0),s=j(0),u=j(0),c=j(0),d=j(0),f=j(0),p=j(0);function h(){const m=Ja(e);if(!m){n&&(o.value=0,l.value=0,s.value=0,u.value=0,c.value=0,d.value=0,f.value=0,p.value=0);return}const v=m.getBoundingClientRect();o.value=v.height,l.value=v.bottom,s.value=v.left,u.value=v.right,c.value=v.top,d.value=v.width,f.value=v.x,p.value=v.y}return zr(e,h),$e(()=>Ja(e),m=>!m&&h()),O5(e,h,{attributeFilter:["style","class"]}),a&&ir("scroll",h,{capture:!0,passive:!0}),r&&ir("resize",h,{passive:!0}),$O(()=>{i&&h()}),{height:o,bottom:l,left:s,right:u,top:c,width:d,x:f,y:p,update:h}}function yM(e,t={width:0,height:0},n={}){const{window:r=cu,box:a="content-box"}=n,i=R(()=>{var d,f;return(f=(d=Ja(e))==null?void 0:d.namespaceURI)==null?void 0:f.includes("svg")}),o=j(t.width),l=j(t.height),{stop:s}=zr(e,([d])=>{const f=a==="border-box"?d.borderBoxSize:a==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&i.value){const p=Ja(e);if(p){const h=p.getBoundingClientRect();o.value=h.width,l.value=h.height}}else if(f){const p=Array.isArray(f)?f:[f];o.value=p.reduce((h,{inlineSize:m})=>h+m,0),l.value=p.reduce((h,{blockSize:m})=>h+m,0)}else o.value=d.contentRect.width,l.value=d.contentRect.height},n);$O(()=>{const d=Ja(e);d&&(o.value="offsetWidth"in d?d.offsetWidth:t.width,l.value="offsetHeight"in d?d.offsetHeight:t.height)});const u=$e(()=>Ja(e),d=>{o.value=d?t.width:0,l.value=d?t.height:0});function c(){s(),u()}return{width:o,height:l,stop:c}}function CBe(e,t,n={}){const{root:r,rootMargin:a="0px",threshold:i=.1,window:o=cu,immediate:l=!0}=n,s=C9(()=>o&&"IntersectionObserver"in o),u=R(()=>{const h=_l(e);return(Array.isArray(h)?h:[h]).map(Ja).filter(Nle)});let c=Ks;const d=j(l),f=s.value?$e(()=>[u.value,Ja(r),d.value],([h,m])=>{if(c(),!d.value||!h.length)return;const v=new IntersectionObserver(t,{root:Ja(m),rootMargin:a,threshold:i});h.forEach(g=>g&&v.observe(g)),c=()=>{v.disconnect(),c=Ks}},{immediate:l,flush:"post"}):Ks,p=()=>{c(),f(),d.value=!1};return Jm(p),{isSupported:s,isActive:d,pause(){c(),d.value=!1},resume(){d.value=!0},stop:p}}function zle(e,t,n,r={}){var a,i,o;const{clone:l=!1,passive:s=!1,eventName:u,deep:c=!1,defaultValue:d,shouldEmit:f}=r,p=Jt(),h=n||(p==null?void 0:p.emit)||((a=p==null?void 0:p.$emit)==null?void 0:a.bind(p))||((o=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(p==null?void 0:p.proxy));let m=u;t||(t="modelValue"),m=m||`update:${t.toString()}`;const v=C=>l?typeof l=="function"?l(C):gBe(C):C,g=()=>iBe(e[t])?v(e[t]):d,b=C=>{f?f(C)&&h(m,C):h(m,C)};if(s){const C=g(),y=j(C);let E=!1;return $e(()=>e[t],w=>{E||(E=!0,y.value=v(w),Oe(()=>E=!1))}),$e(y,w=>{!E&&(w!==e[t]||c)&&b(w)},{deep:c}),y}else return R({get(){return g()},set(C){b(C)}})}function FBe(e={}){const{window:t=cu}=e;if(!t)return j(!1);const n=j(t.document.hasFocus());return ir(t,"blur",()=>{n.value=!1}),ir(t,"focus",()=>{n.value=!0}),n}function HO(e={}){const{window:t=cu,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:i=!0}=e,o=j(n),l=j(r),s=()=>{t&&(i?(o.value=t.innerWidth,l.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(s(),$O(s),ir("resize",s,{passive:!0}),a){const u=vBe("(orientation: portrait)");$e(u,()=>s())}return{width:o,height:l}}class EBe extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function $a(e,t){throw new EBe(`[${e}] ${t}`)}const xz={current:0},Mz=j(0),Wle=2e3,Bz=Symbol("elZIndexContextKey"),Gle=Symbol("zIndexContextKey"),P5=e=>{const t=Jt()?lt(Bz,xz):xz,n=e||(Jt()?lt(Gle,void 0):void 0),r=R(()=>{const o=F(n);return $t(o)?o:Wle}),a=R(()=>r.value+Mz.value),i=()=>(t.current++,Mz.value=t.current,a.value);return!Yn&<(Bz),{initialZIndex:r,currentZIndex:a,nextZIndex:i}};var zO={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}"}}};const wBe=e=>(t,n)=>SBe(t,n,F(e)),SBe=(e,t,n)=>Ia(n,e,e).replace(/\{(\w+)\}/g,(r,a)=>{var i;return`${(i=t==null?void 0:t[a])!=null?i:`{${a}}`}`}),ABe=e=>{const t=R(()=>F(e).name),n=Gn(e)?e:j(e);return{lang:t,locale:n,t:wBe(e)}},jle=Symbol("localeContextKey"),xn=e=>{const t=e||lt(jle,j());return ABe(R(()=>t.value||zO))},Kle="__epPropKey",ke=e=>e,DBe=e=>mn(e)&&!!e[Kle],du=(e,t)=>{if(!mn(e)||DBe(e))return e;const{values:n,required:r,default:a,type:i,validator:o}=e,s={type:i,required:!!r,validator:n||o?u=>{let c=!1,d=[];if(n&&(d=Array.from(n),qn(e,"default")&&d.push(a),c||(c=d.includes(u))),o&&(c||(c=o(u))),!c&&d.length>0){const f=[...new Set(d)].map(p=>JSON.stringify(p)).join(", ");bO(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[Kle]:!0};return qn(e,"default")&&(s.default=a),s},pt=e=>o2(Object.entries(e).map(([t,n])=>[t,du(n,t)])),Ec=["","default","small","large"],Xa=du({type:String,values:Ec,required:!1}),Ule=Symbol("size"),qle=()=>{const e=lt(Ule,{});return R(()=>F(e.size)||"")},Yle=Symbol("emptyValuesContextKey"),TBe=["",void 0,null],kBe=void 0,Xm=pt({emptyValues:Array,valueOnClear:{type:ke([String,Number,Boolean,Function]),default:void 0,validator:e=>(e=Lt(e)?e():e,st(e)?e.every(t=>!t):!e)}}),I5=(e,t)=>{const n=Jt()?lt(Yle,j({})):j({}),r=R(()=>e.emptyValues||n.value.emptyValues||TBe),a=R(()=>Lt(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:Lt(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:kBe),i=o=>{let l=!0;return st(o)?l=r.value.some(s=>ma(o,s)):l=r.value.includes(o),l};return i(a.value),{emptyValues:r,valueOnClear:a,isEmptyValue:i}},l2=e=>Object.keys(e),Jle=e=>Object.entries(e),B1=(e,t,n)=>({get value(){return Ia(e,t,n)},set value(r){JMe(e,t,r)}}),i6=j();function Q0(e,t=void 0){const n=Jt()?lt(qoe,i6):i6;return e?R(()=>{var r,a;return(a=(r=n.value)==null?void 0:r[e])!=null?a:t}):n}function F9(e,t){const n=Q0(),r=at(e,R(()=>{var l;return((l=n.value)==null?void 0:l.namespace)||nb})),a=xn(R(()=>{var l;return(l=n.value)==null?void 0:l.locale})),i=P5(R(()=>{var l;return((l=n.value)==null?void 0:l.zIndex)||Wle})),o=R(()=>{var l;return F(t)||((l=n.value)==null?void 0:l.size)||""});return Xle(R(()=>F(n)||{})),{ns:r,locale:a,zIndex:i,size:o}}const Xle=(e,t,n=!1)=>{var r;const a=!!Jt(),i=a?Q0():void 0,o=(r=void 0)!=null?r:a?Qt:void 0;if(!o)return;const l=R(()=>{const s=F(e);return i!=null&&i.value?_Be(i.value,s):s});return o(qoe,l),o(jle,R(()=>l.value.locale)),o(Yoe,R(()=>l.value.namespace)),o(Gle,R(()=>l.value.zIndex)),o(Ule,{size:R(()=>l.value.size||"")}),o(Yle,R(()=>({emptyValues:l.value.emptyValues,valueOnClear:l.value.valueOnClear}))),(n||!i6.value)&&(i6.value=l.value),l},_Be=(e,t)=>{const n=[...new Set([...l2(e),...l2(t)])],r={};for(const a of n)r[a]=t[a]!==void 0?t[a]:e[a];return r},N5=pt({to:{type:ke([String,Object]),required:!0},disabled:Boolean});var yt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n};const xBe=Ve({__name:"teleport",props:N5,setup(e){return(t,n)=>t.disabled?We(t.$slots,"default",{key:0}):(H(),Ue(Bd,{key:1,to:t.to},[We(t.$slots,"default")],8,["to"]))}});var MBe=yt(xBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/teleport/src/teleport.vue"]]);const fn=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t!=null?t:{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},Zle=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),BBe=(e,t)=>(e.install=n=>{n.directive(t,e)},e),sa=e=>(e.install=er,e),eg=fn(MBe),nn="update:modelValue",An="change",Ga="input",RBe=pt({zIndex:{type:ke([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:N5.to.type,default:"body"}}),LBe={scroll:({scrollTop:e,fixed:t})=>$t(e)&&hr(t),[An]:e=>hr(e)};function OBe(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}const fc=e=>Yn?window.requestAnimationFrame(e):setTimeout(e,16),Sd=e=>Yn?window.cancelAnimationFrame(e):clearTimeout(e),Qle=(e="")=>e.split(" ").filter(t=>!!t.trim()),Ju=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},as=(e,t)=>{!e||!t.trim()||e.classList.add(...Qle(t))},fo=(e,t)=>{!e||!t.trim()||e.classList.remove(...Qle(t))},ad=(e,t)=>{var n;if(!Yn||!e||!t)return"";let r=ui(t);r==="float"&&(r="cssFloat");try{const a=e.style[r];if(a)return a;const i=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return i?i[r]:""}catch(a){return e.style[r]}},ese=(e,t,n)=>{if(!(!e||!t))if(mn(t))Jle(t).forEach(([r,a])=>ese(e,r,a));else{const r=ui(t);e.style[r]=n}};function fa(e,t="px"){if(!e&&e!==0)return"";if($t(e)||nBe(e))return`${e}${t}`;if(Bt(e))return e}const PBe=(e,t)=>{if(!Yn)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=ad(e,n);return["scroll","auto","overlay"].some(a=>r.includes(a))},WO=(e,t)=>{if(!Yn)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(PBe(n,t))return n;n=n.parentNode}return n};let Q4;const tse=e=>{var t;if(!Yn)return 0;if(Q4!==void 0)return Q4;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const i=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),Q4=r-i,Q4};function GO(e,t){if(!Yn)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const a=t.offsetTop+n.reduce((s,u)=>s+u.offsetTop,0),i=a+t.offsetHeight,o=e.scrollTop,l=o+e.clientHeight;al&&(e.scrollTop=i-e.clientHeight)}function IBe(e,t,n,r,a){const i=Date.now();let o;const l=()=>{const u=Date.now()-i,c=OBe(u>r?r:u,t,n,r);R5(e)?e.scrollTo(window.pageXOffset,c):e.scrollTop=c,u{o&&Sd(o)}}const Rz=(e,t)=>R5(t)?e.ownerDocument.documentElement:t,Lz=e=>R5(e)?window.scrollY:e.scrollTop,Oz="ElAffix",NBe=Ve({name:Oz,__name:"affix",props:RBe,emits:LBe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=at("affix"),o=Zn(),l=Zn(),s=Zn(),{height:u}=HO(),{height:c,width:d,top:f,bottom:p,left:h,update:m}=_z(l,{windowScroll:!1}),v=_z(o),g=j(!1),b=j(0),C=j(0),y=R(()=>!r.teleported||!g.value),E=R(()=>({height:g.value?`${c.value}px`:"",width:g.value?`${d.value}px`:""})),w=R(()=>{if(!g.value)return{};const k=fa(r.offset);return{height:`${c.value}px`,width:`${d.value}px`,top:r.position==="top"?k:"",bottom:r.position==="bottom"?k:"",left:r.teleported?`${h.value}px`:"",transform:C.value?`translateY(${C.value}px)`:"",zIndex:r.zIndex}}),S=()=>{if(!s.value)return;b.value=s.value instanceof Window?document.documentElement.scrollTop:s.value.scrollTop||0;const{position:k,target:x,offset:_}=r,M=_+c.value;if(k==="top")if(x){const L=v.bottom.value-M;g.value=_>f.value&&v.bottom.value>0,C.value=L<0?L:0}else g.value=_>f.value;else if(x){const L=u.value-v.top.value-M;g.value=u.value-_v.top.value,C.value=L<0?-L:0}else g.value=u.value-_Xt(null,null,function*(){if(!g.value){m();return}g.value=!1,yield Oe(),m(),g.value=!0}),D=()=>Xt(null,null,function*(){m(),yield Oe(),a("scroll",{scrollTop:b.value,fixed:g.value})});return $e(g,k=>a(An,k)),Ut(()=>{var k;r.target?(o.value=(k=document.querySelector(r.target))!=null?k:void 0,o.value||$a(Oz,`Target does not exist: ${r.target}`)):o.value=document.documentElement,s.value=WO(l.value,!0),m()}),ir(s,"scroll",D),No(S),t({update:S,updateRoot:A}),(k,x)=>(H(),le("div",{ref_key:"root",ref:l,class:J(F(i).b()),style:Pt(E.value)},[be(F(eg),{disabled:y.value,to:k.appendTo},{default:Re(()=>[ye("div",{class:J({[F(i).m("fixed")]:g.value}),style:Pt(w.value)},[We(k.$slots,"default")],6)]),_:3},8,["disabled","to"])],6))}});var $Be=yt(NBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const VBe=fn($Be),HBe=pt({size:{type:ke([Number,String])},color:{type:String}}),zBe=Ve({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:HBe,setup(e){const t=e,n=at("icon"),r=R(()=>{const{size:a,color:i}=t,o=fa(a);return!o&&!i?{}:{fontSize:o,"--color":i}});return(a,i)=>(H(),le("i",tn({class:F(n).b(),style:r.value},a.$attrs),[We(a.$slots,"default")],16))}});var WBe=yt(zBe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const Rt=fn(WBe);var GBe=Ve({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),wc=GBe,jBe=Ve({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),Ad=jBe,KBe=Ve({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),po=KBe,UBe=Ve({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),E9=UBe,qBe=Ve({name:"Back",__name:"back",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),ye("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),YBe=qBe,JBe=Ve({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),XBe=JBe,ZBe=Ve({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),nse=ZBe,QBe=Ve({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),eRe=QBe,tRe=Ve({name:"Check",__name:"check",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),$5=tRe,nRe=Ve({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),rRe=nRe,aRe=Ve({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"}),ye("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"})]))}}),jO=aRe,iRe=Ve({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),KO=iRe,oRe=Ve({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"}),ye("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"})]))}}),Pd=oRe,lRe=Ve({name:"Clock",__name:"clock",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"}),ye("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),ye("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),rse=lRe,sRe=Ve({name:"Close",__name:"close",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),hs=sRe,uRe=Ve({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),ip=uRe,cRe=Ve({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),op=cRe,dRe=Ve({name:"Delete",__name:"delete",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),fRe=dRe,pRe=Ve({name:"Document",__name:"document",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),hRe=pRe,mRe=Ve({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),vRe=mRe,gRe=Ve({name:"Hide",__name:"hide",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"}),ye("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"})]))}}),yRe=gRe,bRe=Ve({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),s2=bRe,CRe=Ve({name:"Loading",__name:"loading",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),pc=CRe,FRe=Ve({name:"Minus",__name:"minus",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),ERe=FRe,wRe=Ve({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),Pz=wRe,SRe=Ve({name:"More",__name:"more",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),ARe=SRe,DRe=Ve({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),TRe=DRe,kRe=Ve({name:"Plus",__name:"plus",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),ase=kRe,_Re=Ve({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),xRe=_Re,MRe=Ve({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),BRe=MRe,RRe=Ve({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),LRe=RRe,ORe=Ve({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),PRe=ORe,IRe=Ve({name:"Search",__name:"search",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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 704"})]))}}),NRe=IRe,$Re=Ve({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),VRe=$Re,HRe=Ve({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),zRe=HRe,WRe=Ve({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),e8=WRe,GRe=Ve({name:"Star",__name:"star",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),jRe=GRe,KRe=Ve({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),ise=KRe,URe=Ve({name:"View",__name:"view",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),qRe=URe,YRe=Ve({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),w9=YRe,JRe=Ve({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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"})]))}}),ose=JRe,XRe=Ve({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(H(),le("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[ye("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 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),ZRe=XRe;const mr=ke([String,Object,Function]),lse={Close:hs},UO={Close:hs,SuccessFilled:ise,InfoFilled:s2,WarningFilled:w9,CircleCloseFilled:KO},lp={primary:s2,success:ise,warning:w9,error:KO,info:s2},S9={validating:pc,success:jO,error:Pd},QRe=["light","dark"],eLe=pt({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:l2(lp),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:QRe,default:"light"},showAfter:Number,hideAfter:Number,autoClose:Number}),tLe={close:e=>e instanceof MouseEvent};var Jl=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(Jl||{});function bM(e){return sr(e)&&e.type===kt}function sse(e){return sr(e)&&e.type===ia}function nLe(e){return sr(e)&&!bM(e)&&!sse(e)}const rLe=e=>{if(!sr(e))return{};const t=e.props||{},n=(sr(e.type)?e.type.props:void 0)||{},r={};return Object.keys(n).forEach(a=>{qn(n[a],"default")&&(r[a]=n[a].default)}),Object.keys(t).forEach(a=>{r[ui(a)]=t[a]}),r},xl=e=>{const t=st(e)?e:[e],n=[];return t.forEach(r=>{var a;st(r)?n.push(...xl(r)):sr(r)&&((a=r.component)!=null&&a.subTree)?n.push(r,...xl(r.component.subTree)):sr(r)&&st(r.children)?n.push(...xl(r.children)):sr(r)&&r.shapeFlag===2?n.push(...xl(r.type())):n.push(r)}),n},aLe=Ve({name:"ElAlert",__name:"alert",props:eLe,emits:tLe,setup(e,{emit:t}){const{Close:n}=UO,r=e,a=t,i=pa(),o=at("alert"),l=j(!0),s=R(()=>lp[r.type]),u=R(()=>{var d;if(r.description)return!0;const f=(d=i.default)==null?void 0:d.call(i);return f?xl(f).some(h=>!sse(h)):!1}),c=d=>{l.value=!1,a("close",d)};return r.showAfter||r.hideAfter||r.autoClose,(d,f)=>(H(),Ue(vi,{name:F(o).b("fade"),persisted:""},{default:Re(()=>[hn(ye("div",{class:J([F(o).b(),F(o).m(d.type),F(o).is("center",d.center),F(o).is(d.effect)]),role:"alert"},[d.showIcon&&(d.$slots.icon||s.value)?(H(),Ue(F(Rt),{key:0,class:J([F(o).e("icon"),F(o).is("big",u.value)])},{default:Re(()=>[We(d.$slots,"icon",{},()=>[(H(),Ue(ln(s.value)))])]),_:3},8,["class"])):Pe("v-if",!0),ye("div",{class:J(F(o).e("content"))},[d.title||d.$slots.title?(H(),le("span",{key:0,class:J([F(o).e("title"),{"with-description":u.value}])},[We(d.$slots,"title",{},()=>[Cn(ft(d.title),1)])],2)):Pe("v-if",!0),u.value?(H(),le("p",{key:1,class:J(F(o).e("description"))},[We(d.$slots,"default",{},()=>[Cn(ft(d.description),1)])],2)):Pe("v-if",!0),d.closable?(H(),le(kt,{key:2},[d.closeText?(H(),le("div",{key:0,class:J([F(o).e("close-btn"),F(o).is("customed")]),onClick:c},ft(d.closeText),3)):(H(),Ue(F(Rt),{key:1,class:J(F(o).e("close-btn")),onClick:c},{default:Re(()=>[be(F(n))]),_:1},8,["class"]))],64)):Pe("v-if",!0)],2)],2),[[In,l.value]])]),_:3},8,["name"]))}});var iLe=yt(aLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const oLe=fn(iLe),qO=()=>Yn&&/firefox/i.test(window.navigator.userAgent),use=()=>Yn&&/android/i.test(window.navigator.userAgent);let qo;const lLe={height:"0",visibility:"hidden",overflow:qO()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},sLe=["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"],Iz=e=>{const t=Number.parseFloat(e);return Number.isNaN(t)?e:t};function uLe(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:sLe.map(o=>[o,t.getPropertyValue(o)]),paddingSize:r,borderSize:a,boxSizing:n}}function Nz(e,t=1,n){var r,a;qo||(qo=document.createElement("textarea"),((r=e.parentNode)!=null?r:document.body).appendChild(qo));const{paddingSize:i,borderSize:o,boxSizing:l,contextStyle:s}=uLe(e);s.forEach(([f,p])=>qo==null?void 0:qo.style.setProperty(f,p)),Object.entries(lLe).forEach(([f,p])=>qo==null?void 0:qo.style.setProperty(f,p,"important")),qo.value=e.value||e.placeholder||"";let u=qo.scrollHeight;const c={};l==="border-box"?u=u+o:l==="content-box"&&(u=u-i),qo.value="";const d=qo.scrollHeight-i;if($t(t)){let f=d*t;l==="border-box"&&(f=f+i+o),u=Math.max(f,u),c.minHeight=`${f}px`}if($t(n)){let f=d*n;l==="border-box"&&(f=f+i+o),u=Math.min(f,u)}return c.height=`${u}px`,(a=qo.parentNode)==null||a.removeChild(qo),qo=void 0,c}const da=e=>e,cLe=pt({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),yo=e=>wd(cLe,e),V5=pt(Et(Te({id:{type:String,default:void 0},size:Xa,disabled:{type:Boolean,default:void 0},modelValue:{type:ke([String,Number,Object]),default:""},modelModifiers:{type:ke(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:ke(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ke([Boolean,Object]),default:!1},autocomplete:{type:ke(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:mr,default:Pd},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:mr},prefixIcon:{type:mr},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ke([Object,Array,String]),default:()=>da({})},autofocus:Boolean,rows:{type:Number,default:2}},yo(["ariaLabel"])),{inputmode:{type:ke(String),default:void 0},name:String})),dLe={[nn]:e=>Bt(e),input:e=>Bt(e),change:(e,t)=>Bt(e)&&(t instanceof Event||t===void 0),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},fLe=["class","style"],pLe=/^on[A-Z]/,A9=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=R(()=>((n==null?void 0:n.value)||[]).concat(fLe)),a=Jt();return R(a?()=>{var i;return o2(Object.entries((i=a.proxy)==null?void 0:i.$attrs).filter(([o])=>!r.value.includes(o)&&!(t&&pLe.test(o))))}:()=>({}))},$z={prefix:Math.floor(Math.random()*1e4),current:0},hLe=Symbol("elIdInjection"),YO=()=>Jt()?lt(hLe,$z):$z,Li=e=>{const t=YO(),n=wO();return Ile(()=>F(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},Zm=Symbol("formContextKey"),hc=Symbol("formItemContextKey"),Ci=()=>{const e=lt(Zm,void 0),t=lt(hc,void 0);return{form:e,formItem:t}},Nl=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=j(!1)),r||(r=j(!1));const a=Jt(),i=()=>{let u=a==null?void 0:a.parent;for(;u;){if(u.type.name==="ElFormItem")return!1;if(u.type.name==="ElLabelWrap")return!0;u=u.parent}return!1},o=j();let l;const s=R(()=>{var u;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((u=t.inputIds)==null?void 0:u.length)<=1)});return Ut(()=>{l=$e([Qn(e,"id"),n],([u,c])=>{const d=u!=null?u:c?void 0:Li().value;d!==o.value&&(t!=null&&t.removeInputId&&!i()&&(o.value&&t.removeInputId(o.value),!(r!=null&&r.value)&&!c&&d&&t.addInputId(d)),o.value=d)},{immediate:!0})}),la(()=>{l&&l(),t!=null&&t.removeInputId&&o.value&&t.removeInputId(o.value)}),{isLabeledByFormItem:s,inputId:o}},cse=e=>{const t=Jt();return R(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},ja=(e,t={})=>{const n=j(void 0),r=t.prop?n:cse("size"),a=t.global?n:qle(),i=t.form?{size:void 0}:lt(Zm,void 0),o=t.formItem?{size:void 0}:lt(hc,void 0);return R(()=>r.value||F(e)||(o==null?void 0:o.size)||(i==null?void 0:i.size)||a.value||"")},ha=e=>{const t=cse("disabled"),n=lt(Zm,void 0);return R(()=>{var r,a,i;return(i=(a=(r=t.value)!=null?r:F(e))!=null?a:n==null?void 0:n.disabled)!=null?i:!1})},mLe='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',Vz=e=>typeof Element=="undefined"?!1:e instanceof Element,vLe=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,Hz=e=>Array.from(e.querySelectorAll(mLe)).filter(t=>u2(t)&&vLe(t)),u2=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}},R3=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const a=document.createEvent(r);return a.initEvent(t,...n),e.dispatchEvent(a),e},dse=e=>!e.getAttribute("aria-owns"),fse=(e,t,n)=>{const{parentNode:r}=e;if(!r)return null;const a=r.querySelectorAll(n),i=Array.prototype.indexOf.call(a,e);return a[i+t]||null},H5=(e,t)=>{if(!e||!e.focus)return;let n=!1;Vz(e)&&!u2(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),n=!0),e.focus(t),Vz(e)&&n&&e.removeAttribute("tabindex")},L3=e=>{e&&(H5(e),!dse(e)&&e.click())};function Id(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:a,afterBlur:i}={}){const o=Jt(),{emit:l}=o,s=Zn(),u=j(!1),c=p=>{const h=Lt(n)?n(p):!1;F(t)||u.value||h||(u.value=!0,l("focus",p),r==null||r())},d=p=>{var h;const m=Lt(a)?a(p):!1;F(t)||p.relatedTarget&&((h=s.value)!=null&&h.contains(p.relatedTarget))||m||(u.value=!1,l("blur",p),i==null||i())},f=p=>{var h,m;F(t)||u2(p.target)||(h=s.value)!=null&&h.contains(document.activeElement)&&s.value!==document.activeElement||(m=e.value)==null||m.focus()};return $e([s,()=>F(t)],([p,h])=>{p&&(h?p.removeAttribute("tabindex"):p.setAttribute("tabindex","-1"))}),ir(s,"focus",c,!0),ir(s,"blur",d,!0),ir(s,"click",f,!0),{isFocused:u,wrapperRef:s,handleFocus:c,handleBlur:d}}const gLe=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function z5({afterComposition:e,emit:t}){const n=j(!1),r=l=>{t==null||t("compositionstart",l),n.value=!0},a=l=>{var s;t==null||t("compositionupdate",l);const u=(s=l.target)==null?void 0:s.value,c=u[u.length-1]||"";n.value=!gLe(c)},i=l=>{t==null||t("compositionend",l),n.value&&(n.value=!1,Oe(()=>e(l)))};return{isComposing:n,handleComposition:l=>{l.type==="compositionend"?i(l):a(l)},handleCompositionStart:r,handleCompositionUpdate:a,handleCompositionEnd:i}}function yLe(e){let t;function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:i,value:o}=e.value;if(a==null||i==null)return;const l=o.slice(0,Math.max(0,a)),s=o.slice(Math.max(0,i));t={selectionStart:a,selectionEnd:i,value:o,beforeTxt:l,afterTxt:s}}function r(){if(e.value==null||t==null)return;const{value:a}=e.value,{beforeTxt:i,afterTxt:o,selectionStart:l}=t;if(i==null||o==null||l==null)return;let s=a.length;if(a.endsWith(o))s=a.length-o.length;else if(a.startsWith(i))s=i.length;else{const u=i[l-1],c=a.indexOf(u,l-1);c!==-1&&(s=c+1)}e.value.setSelectionRange(s,s)}return[n,r]}const bLe=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],CLe=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role"],FLe="ElInput",ELe=Ve({name:FLe,inheritAttrs:!1,__name:"input",props:V5,emits:dLe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=Fc(),o=A9(),l=pa(),s=R(()=>[r.type==="textarea"?v.b():m.b(),m.m(p.value),m.is("disabled",h.value),m.is("exceed",z.value),{[m.b("group")]:l.prepend||l.append,[m.m("prefix")]:l.prefix||r.prefixIcon,[m.m("suffix")]:l.suffix||r.suffixIcon||r.clearable||r.showPassword,[m.bm("suffix","password-clear")]:O.value&&N.value,[m.b("hidden")]:r.type==="hidden"},i.class]),u=R(()=>[m.e("wrapper"),m.is("focus",D.value)]),{form:c,formItem:d}=Ci(),{inputId:f}=Nl(r,{formItemContext:d}),p=ja(),h=ha(),m=at("input"),v=at("textarea"),g=Zn(),b=Zn(),C=j(!1),y=j(!1),E=j(),w=Zn(r.inputStyle),S=R(()=>g.value||b.value),{wrapperRef:A,isFocused:D,handleFocus:k,handleBlur:x}=Id(S,{disabled:h,afterBlur(){var xe;r.validateEvent&&((xe=d==null?void 0:d.validate)==null||xe.call(d,"blur").catch(qe=>void 0))}}),_=R(()=>{var xe;return(xe=c==null?void 0:c.statusIcon)!=null?xe:!1}),M=R(()=>(d==null?void 0:d.validateState)||""),L=R(()=>M.value&&S9[M.value]),I=R(()=>y.value?qRe:yRe),P=R(()=>[i.style]),B=R(()=>[r.inputStyle,w.value,{resize:r.resize}]),T=R(()=>Ma(r.modelValue)?"":String(r.modelValue)),O=R(()=>r.clearable&&!h.value&&!r.readonly&&!!T.value&&(D.value||C.value)),N=R(()=>r.showPassword&&!h.value&&!!T.value),V=R(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!h.value&&!r.readonly&&!r.showPassword),Y=R(()=>T.value.length),z=R(()=>!!V.value&&Y.value>Number(r.maxlength)),ee=R(()=>!!l.suffix||!!r.suffixIcon||O.value||r.showPassword||V.value||!!M.value&&_.value),ae=R(()=>!!Object.keys(r.modelModifiers).length),[pe,re]=yLe(g);zr(b,xe=>{if(X(),!V.value||r.resize!=="both"&&r.resize!=="horizontal")return;const qe=xe[0],{width:ve}=qe.contentRect;E.value={right:`calc(100% - ${ve+22-10}px)`}});const Q=()=>{const{type:xe,autosize:qe}=r;if(!(!Yn||xe!=="textarea"||!b.value))if(qe){const ve=mn(qe)?qe.minRows:void 0,Ge=mn(qe)?qe.maxRows:void 0,Ke=Nz(b.value,ve,Ge);w.value=Te({overflowY:"hidden"},Ke),Oe(()=>{b.value.offsetHeight,w.value=Ke})}else w.value={minHeight:Nz(b.value).minHeight}},X=(xe=>{let qe=!1;return()=>{var ve;if(qe||!r.autosize)return;((ve=b.value)==null?void 0:ve.offsetParent)===null||(setTimeout(xe),qe=!0)}})(Q),q=()=>{const xe=S.value,qe=r.formatter?r.formatter(T.value):T.value;!xe||xe.value===qe||r.type==="file"||(xe.value=qe)},ce=xe=>{const{trim:qe,number:ve}=r.modelModifiers;return qe&&(xe=xe.trim()),ve&&(xe=`${Iz(xe)}`),r.formatter&&r.parser&&(xe=r.parser(xe)),xe},K=xe=>Xt(null,null,function*(){if(se.value)return;const{lazy:qe}=r.modelModifiers;let{value:ve}=xe.target;if(qe){a(Ga,ve);return}if(ve=ce(ve),String(ve)===T.value){r.formatter&&q();return}pe(),a(nn,ve),a(Ga,ve),yield Oe(),(r.formatter&&r.parser||!ae.value)&&q(),re()}),Z=xe=>Xt(null,null,function*(){let{value:qe}=xe.target;qe=ce(qe),r.modelModifiers.lazy&&a(nn,qe),a(An,qe,xe),yield Oe(),q()}),{isComposing:se,handleCompositionStart:Fe,handleCompositionUpdate:me,handleCompositionEnd:te}=z5({emit:a,afterComposition:K}),ue=()=>{y.value=!y.value},Se=()=>{var xe;return(xe=S.value)==null?void 0:xe.focus()},Ae=()=>{var xe;return(xe=S.value)==null?void 0:xe.blur()},Ne=xe=>{C.value=!1,a("mouseleave",xe)},je=xe=>{C.value=!0,a("mouseenter",xe)},De=xe=>{a("keydown",xe)},he=()=>{var xe;(xe=S.value)==null||xe.select()},He=()=>{a(nn,""),a(An,""),a("clear"),a(Ga,"")};return $e(()=>r.modelValue,()=>{var xe;Oe(()=>Q()),r.validateEvent&&((xe=d==null?void 0:d.validate)==null||xe.call(d,"change").catch(qe=>void 0))}),$e(T,xe=>{if(!S.value)return;const{trim:qe,number:ve}=r.modelModifiers,Ge=S.value.value,Ke=(ve||r.type==="number")&&!/^0\d/.test(Ge)?`${Iz(Ge)}`:Ge;Ke!==xe&&(document.activeElement===S.value&&S.value.type!=="range"&&qe&&Ke.trim()===xe||q())}),$e(()=>r.type,()=>Xt(null,null,function*(){yield Oe(),q(),Q()})),Ut(()=>{!r.formatter&&r.parser,q(),Oe(Q)}),t({input:g,textarea:b,ref:S,textareaStyle:B,autosize:Qn(r,"autosize"),isComposing:se,focus:Se,blur:Ae,select:he,clear:He,resizeTextarea:Q}),(xe,qe)=>(H(),le("div",{class:J([s.value,{[F(m).bm("group","append")]:xe.$slots.append,[F(m).bm("group","prepend")]:xe.$slots.prepend}]),style:Pt(P.value),onMouseenter:je,onMouseleave:Ne},[Pe(" input "),xe.type!=="textarea"?(H(),le(kt,{key:0},[Pe(" prepend slot "),xe.$slots.prepend?(H(),le("div",{key:0,class:J(F(m).be("group","prepend"))},[We(xe.$slots,"prepend")],2)):Pe("v-if",!0),ye("div",{ref_key:"wrapperRef",ref:A,class:J(u.value)},[Pe(" prefix slot "),xe.$slots.prefix||xe.prefixIcon?(H(),le("span",{key:0,class:J(F(m).e("prefix"))},[ye("span",{class:J(F(m).e("prefix-inner"))},[We(xe.$slots,"prefix"),xe.prefixIcon?(H(),Ue(F(Rt),{key:0,class:J(F(m).e("icon"))},{default:Re(()=>[(H(),Ue(ln(xe.prefixIcon)))]),_:1},8,["class"])):Pe("v-if",!0)],2)],2)):Pe("v-if",!0),ye("input",tn({id:F(f),ref_key:"input",ref:g,class:F(m).e("inner")},F(o),{name:xe.name,minlength:xe.minlength,maxlength:xe.maxlength,type:xe.showPassword?y.value?"text":"password":xe.type,disabled:F(h),readonly:xe.readonly,autocomplete:xe.autocomplete,tabindex:xe.tabindex,"aria-label":xe.ariaLabel,placeholder:xe.placeholder,style:xe.inputStyle,form:xe.form,autofocus:xe.autofocus,role:xe.containerRole,inputmode:xe.inputmode,onCompositionstart:qe[0]||(qe[0]=(...ve)=>F(Fe)&&F(Fe)(...ve)),onCompositionupdate:qe[1]||(qe[1]=(...ve)=>F(me)&&F(me)(...ve)),onCompositionend:qe[2]||(qe[2]=(...ve)=>F(te)&&F(te)(...ve)),onInput:K,onChange:Z,onKeydown:De}),null,16,bLe),Pe(" suffix slot "),ee.value?(H(),le("span",{key:1,class:J(F(m).e("suffix"))},[ye("span",{class:J(F(m).e("suffix-inner"))},[!O.value||!N.value||!V.value?(H(),le(kt,{key:0},[We(xe.$slots,"suffix"),xe.suffixIcon?(H(),Ue(F(Rt),{key:0,class:J(F(m).e("icon"))},{default:Re(()=>[(H(),Ue(ln(xe.suffixIcon)))]),_:1},8,["class"])):Pe("v-if",!0)],64)):Pe("v-if",!0),O.value?(H(),Ue(F(Rt),{key:1,class:J([F(m).e("icon"),F(m).e("clear")]),onMousedown:Yt(F(er),["prevent"]),onClick:He},{default:Re(()=>[(H(),Ue(ln(xe.clearIcon)))]),_:1},8,["class","onMousedown"])):Pe("v-if",!0),N.value?(H(),Ue(F(Rt),{key:2,class:J([F(m).e("icon"),F(m).e("password")]),onClick:ue,onMousedown:Yt(F(er),["prevent"]),onMouseup:Yt(F(er),["prevent"])},{default:Re(()=>[(H(),Ue(ln(I.value)))]),_:1},8,["class","onMousedown","onMouseup"])):Pe("v-if",!0),V.value?(H(),le("span",{key:3,class:J([F(m).e("count"),F(m).is("outside",xe.wordLimitPosition==="outside")])},[ye("span",{class:J(F(m).e("count-inner"))},ft(Y.value)+" / "+ft(xe.maxlength),3)],2)):Pe("v-if",!0),M.value&&L.value&&_.value?(H(),Ue(F(Rt),{key:4,class:J([F(m).e("icon"),F(m).e("validateIcon"),F(m).is("loading",M.value==="validating")])},{default:Re(()=>[(H(),Ue(ln(L.value)))]),_:1},8,["class"])):Pe("v-if",!0)],2)],2)):Pe("v-if",!0)],2),Pe(" append slot "),xe.$slots.append?(H(),le("div",{key:1,class:J(F(m).be("group","append"))},[We(xe.$slots,"append")],2)):Pe("v-if",!0)],64)):(H(),le(kt,{key:1},[Pe(" textarea "),ye("textarea",tn({id:F(f),ref_key:"textarea",ref:b,class:[F(v).e("inner"),F(m).is("focus",F(D))]},F(o),{name:xe.name,minlength:xe.minlength,maxlength:xe.maxlength,tabindex:xe.tabindex,disabled:F(h),readonly:xe.readonly,autocomplete:xe.autocomplete,style:B.value,"aria-label":xe.ariaLabel,placeholder:xe.placeholder,form:xe.form,autofocus:xe.autofocus,rows:xe.rows,role:xe.containerRole,onCompositionstart:qe[3]||(qe[3]=(...ve)=>F(Fe)&&F(Fe)(...ve)),onCompositionupdate:qe[4]||(qe[4]=(...ve)=>F(me)&&F(me)(...ve)),onCompositionend:qe[5]||(qe[5]=(...ve)=>F(te)&&F(te)(...ve)),onInput:K,onFocus:qe[6]||(qe[6]=(...ve)=>F(k)&&F(k)(...ve)),onBlur:qe[7]||(qe[7]=(...ve)=>F(x)&&F(x)(...ve)),onChange:Z,onKeydown:De}),null,16,CLe),V.value?(H(),le("span",{key:0,style:Pt(E.value),class:J([F(m).e("count"),F(m).is("outside",xe.wordLimitPosition==="outside")])},ft(Y.value)+" / "+ft(xe.maxlength),7)):Pe("v-if",!0)],64))],38))}});var wLe=yt(ELe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const co=fn(wLe),Fv=4,pse={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"}},SLe=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),JO=Symbol("scrollbarContextKey"),ALe=pt({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),DLe="Thumb",TLe=Ve({__name:"thumb",props:ALe,setup(e){const t=e,n=lt(JO),r=at("scrollbar");n||$a(DLe,"can not inject scrollbar context");const a=j(),i=j(),o=j({}),l=j(!1);let s=!1,u=!1,c=0,d=0,f=Yn?document.onselectstart:null;const p=R(()=>pse[t.vertical?"vertical":"horizontal"]),h=R(()=>SLe({size:t.size,move:t.move,bar:p.value})),m=R(()=>Gl(a.value[p.value.offset],2)/n.wrapElement[p.value.scrollSize]/t.ratio/i.value[p.value.offset]),v=A=>{var D;if(A.stopPropagation(),A.ctrlKey||[1,2].includes(A.button))return;(D=window.getSelection())==null||D.removeAllRanges(),b(A);const k=A.currentTarget;k&&(o.value[p.value.axis]=k[p.value.offset]-(A[p.value.client]-k.getBoundingClientRect()[p.value.direction]))},g=A=>{if(!i.value||!a.value||!n.wrapElement)return;const D=Math.abs(A.target.getBoundingClientRect()[p.value.direction]-A[p.value.client]),k=i.value[p.value.offset]/2,x=(D-k)*100*m.value/a.value[p.value.offset];n.wrapElement[p.value.scroll]=x*n.wrapElement[p.value.scrollSize]/100},b=A=>{A.stopImmediatePropagation(),s=!0,c=n.wrapElement.scrollHeight,d=n.wrapElement.scrollWidth,document.addEventListener("mousemove",C),document.addEventListener("mouseup",y),f=document.onselectstart,document.onselectstart=()=>!1},C=A=>{if(!a.value||!i.value||s===!1)return;const D=o.value[p.value.axis];if(!D)return;const k=(a.value.getBoundingClientRect()[p.value.direction]-A[p.value.client])*-1,x=i.value[p.value.offset]-D,_=(k-x)*100*m.value/a.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=_*d/100:n.wrapElement[p.value.scroll]=_*c/100},y=()=>{s=!1,o.value[p.value.axis]=0,document.removeEventListener("mousemove",C),document.removeEventListener("mouseup",y),S(),u&&(l.value=!1)},E=()=>{u=!1,l.value=!!t.size},w=()=>{u=!0,l.value=s};Vn(()=>{S(),document.removeEventListener("mouseup",y)});const S=()=>{document.onselectstart!==f&&(document.onselectstart=f)};return ir(Qn(n,"scrollbarElement"),"mousemove",E),ir(Qn(n,"scrollbarElement"),"mouseleave",w),(A,D)=>(H(),Ue(vi,{name:F(r).b("fade"),persisted:""},{default:Re(()=>[hn(ye("div",{ref_key:"instance",ref:a,class:J([F(r).e("bar"),F(r).is(p.value.key)]),onMousedown:g,onClick:D[0]||(D[0]=Yt(()=>{},["stop"]))},[ye("div",{ref_key:"thumb",ref:i,class:J(F(r).e("thumb")),style:Pt(h.value),onMousedown:v},null,38)],34),[[In,A.always||l.value]])]),_:1},8,["name"]))}});var zz=yt(TLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const kLe=pt({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_Le=Ve({__name:"bar",props:kLe,setup(e,{expose:t}){const n=e,r=lt(JO),a=j(0),i=j(0),o=j(""),l=j(""),s=j(1),u=j(1);return t({handleScroll:f=>{if(f){const p=f.offsetHeight-Fv,h=f.offsetWidth-Fv;i.value=f.scrollTop*100/p*s.value,a.value=f.scrollLeft*100/h*u.value}},update:()=>{const f=r==null?void 0:r.wrapElement;if(!f)return;const p=f.offsetHeight-Fv,h=f.offsetWidth-Fv,m=Gl(p,2)/f.scrollHeight,v=Gl(h,2)/f.scrollWidth,g=Math.max(m,n.minSize),b=Math.max(v,n.minSize);s.value=m/(p-m)/(g/(p-g)),u.value=v/(h-v)/(b/(h-b)),l.value=g+Fv(H(),le(kt,null,[be(zz,{move:a.value,ratio:u.value,size:o.value,always:f.always},null,8,["move","ratio","size","always"]),be(zz,{move:i.value,ratio:s.value,size:l.value,vertical:"",always:f.always},null,8,["move","ratio","size","always"])],64))}});var xLe=yt(_Le,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const MLe=pt(Te({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:ke([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],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},yo(["ariaLabel","ariaOrientation"]))),hse={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every($t)},BLe=["tabindex"],RLe="ElScrollbar",LLe=Ve({name:RLe,__name:"scrollbar",props:MLe,emits:hse,setup(e,{expose:t,emit:n}){const r=e,a=n,i=at("scrollbar");let o,l,s,u=0,c=0,d="";const f={bottom:!1,top:!1,right:!1,left:!1},p=j(),h=j(),m=j(),v=j(),g=R(()=>{const _={},M=fa(r.height),L=fa(r.maxHeight);return M&&(_.height=M),L&&(_.maxHeight=L),[r.wrapStyle,_]}),b=R(()=>[r.wrapClass,i.e("wrap"),{[i.em("wrap","hidden-default")]:!r.native}]),C=R(()=>[i.e("view"),r.viewClass]),y=_=>{var M;return(M=f[_])!=null?M:!1},E={top:"bottom",bottom:"top",left:"right",right:"left"},w=_=>{const M=E[d];if(!M)return;const L=_[d],I=_[M];L&&!f[d]&&(f[d]=!0),!I&&f[M]&&(f[M]=!1)},S=()=>{var _;if(h.value){(_=v.value)==null||_.handleScroll(h.value);const M=u,L=c;u=h.value.scrollTop,c=h.value.scrollLeft;const I={bottom:u+h.value.clientHeight>=h.value.scrollHeight-r.distance,top:u<=r.distance&&M!==0,right:c+h.value.clientWidth>=h.value.scrollWidth-r.distance&&L!==c,left:c<=r.distance&&L!==0};if(a("scroll",{scrollTop:u,scrollLeft:c}),M!==u&&(d=u>M?"bottom":"top"),L!==c&&(d=c>L?"right":"left"),r.distance>0){if(y(d))return;w(I)}I[d]&&a("end-reached",d)}};function A(_,M){mn(_)?h.value.scrollTo(_):$t(_)&&$t(M)&&h.value.scrollTo(_,M)}const D=_=>{$t(_)&&(h.value.scrollTop=_)},k=_=>{$t(_)&&(h.value.scrollLeft=_)},x=()=>{var _;(_=v.value)==null||_.update(),f[d]=!1};return $e(()=>r.noresize,_=>{_?(o==null||o(),l==null||l(),s==null||s()):({stop:o}=zr(m,x),{stop:l}=zr(h,x),s=ir("resize",x))},{immediate:!0}),$e(()=>[r.maxHeight,r.height],()=>{r.native||Oe(()=>{var _;x(),h.value&&((_=v.value)==null||_.handleScroll(h.value))})}),Qt(JO,dn({scrollbarElement:p,wrapElement:h})),Km(()=>{h.value&&(h.value.scrollTop=u,h.value.scrollLeft=c)}),Ut(()=>{r.native||Oe(()=>{x()})}),Il(()=>x()),t({wrapRef:h,update:x,scrollTo:A,setScrollTop:D,setScrollLeft:k,handleScroll:S}),(_,M)=>(H(),le("div",{ref_key:"scrollbarRef",ref:p,class:J(F(i).b())},[ye("div",{ref_key:"wrapRef",ref:h,class:J(b.value),style:Pt(g.value),tabindex:_.tabindex,onScroll:S},[(H(),Ue(ln(_.tag),{id:_.id,ref_key:"resizeRef",ref:m,class:J(C.value),style:Pt(_.viewStyle),role:_.role,"aria-label":_.ariaLabel,"aria-orientation":_.ariaOrientation},{default:Re(()=>[We(_.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,BLe),_.native?Pe("v-if",!0):(H(),Ue(xLe,{key:0,ref_key:"barRef",ref:v,always:_.always,"min-size":_.minSize},null,8,["always","min-size"]))],2))}});var OLe=yt(LLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const Qs=fn(OLe),XO=Symbol("popper"),mse=Symbol("popperContent"),vse=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],gse=pt({role:{type:String,values:vse,default:"tooltip"}}),PLe=Ve({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:gse,setup(e,{expose:t}){const n=e,r=j(),a=j(),i=j(),o=j(),l=R(()=>n.role),s={triggerRef:r,popperInstanceRef:a,contentRef:i,referenceRef:o,role:l};return t(s),Qt(XO,s),(u,c)=>We(u.$slots,"default")}});var ILe=yt(PLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const NLe=Ve({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(e,{expose:t}){const n=at("popper"),{arrowRef:r,arrowStyle:a}=lt(mse,void 0);return Vn(()=>{r.value=void 0}),t({arrowRef:r}),(i,o)=>(H(),le("span",{ref_key:"arrowRef",ref:r,class:J(F(n).e("arrow")),style:Pt(F(a)),"data-popper-arrow":""},null,6))}});var $Le=yt(NLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const yse=pt({virtualRef:{type:ke(Object)},virtualTriggering:Boolean,onMouseenter:{type:ke(Function)},onMouseleave:{type:ke(Function)},onClick:{type:ke(Function)},onKeydown:{type:ke(Function)},onFocus:{type:ke(Function)},onBlur:{type:ke(Function)},onContextmenu:{type:ke(Function)},id:String,open:Boolean}),bse=Symbol("elForwardRef"),VLe=e=>{Qt(bse,{setForwardRef:n=>{e.value=n}})},HLe=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),zLe="ElOnlyChild",Cse=Ve({name:zLe,setup(e,{slots:t,attrs:n}){var r;const a=lt(bse),i=HLe((r=a==null?void 0:a.setForwardRef)!=null?r:er);return()=>{var o;const l=(o=t.default)==null?void 0:o.call(t,n);if(!l)return null;const[s,u]=Fse(l);return s?hn(fs(s,n),[[i]]):null}}});function Fse(e){if(!e)return[null,0];const t=e,n=t.filter(r=>r.type!==ia).length;for(const r of t){if(mn(r))switch(r.type){case ia:continue;case Gs:case"svg":return[Wz(r),n];case kt:return Fse(r.children);default:return[r,n]}return[Wz(r),n]}return[null,0]}function Wz(e){const t=at("only-child");return be("span",{class:t.e("content")},[e])}const WLe=Ve({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:yse,setup(e,{expose:t}){const n=e,{role:r,triggerRef:a}=lt(XO,void 0);VLe(a);const i=R(()=>l.value?n.id:void 0),o=R(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),l=R(()=>{if(r&&r.value!=="tooltip")return r.value}),s=R(()=>l.value?`${n.open}`:void 0);let u;const c=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return Ut(()=>{$e(()=>n.virtualRef,d=>{d&&(a.value=Ja(d))},{immediate:!0}),$e(a,(d,f)=>{u==null||u(),u=void 0,rl(f)&&c.forEach(p=>{const h=n[p];h&&f.removeEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),rl(d)&&(c.forEach(p=>{const h=n[p];h&&d.addEventListener(p.slice(2).toLowerCase(),h,["onFocus","onBlur"].includes(p))}),u2(d)&&(u=$e([i,o,l,s],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,m)=>{Ma(p[m])?d.removeAttribute(h):d.setAttribute(h,p[m])})},{immediate:!0}))),rl(f)&&u2(f)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>f.removeAttribute(p))},{immediate:!0})}),Vn(()=>{if(u==null||u(),u=void 0,a.value&&rl(a.value)){const d=a.value;c.forEach(f=>{const p=n[f];p&&d.removeEventListener(f.slice(2).toLowerCase(),p,["onFocus","onBlur"].includes(f))}),a.value=void 0}}),t({triggerRef:a}),(d,f)=>d.virtualTriggering?Pe("v-if",!0):(H(),Ue(F(Cse),tn({key:0},d.$attrs,{"aria-controls":i.value,"aria-describedby":o.value,"aria-expanded":s.value,"aria-haspopup":l.value}),{default:Re(()=>[We(d.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var GLe=yt(WLe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const IE="focus-trap.focus-after-trapped",NE="focus-trap.focus-after-released",jLe="focus-trap.focusout-prevented",Gz={cancelable:!0,bubbles:!1},KLe={cancelable:!0,bubbles:!1},jz="focusAfterTrapped",Kz="focusAfterReleased",Ese=Symbol("elFocusTrap"),ZO=j(),D9=j(0),QO=j(0);let t8=0;const wse=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},Uz=(e,t)=>{for(const n of e)if(!ULe(n,t))return n},ULe=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},qLe=e=>{const t=wse(e),n=Uz(t,e),r=Uz(t.reverse(),e);return[n,r]},YLe=e=>e instanceof HTMLInputElement&&"select"in e,cf=(e,t)=>{if(e){const n=document.activeElement;H5(e,{preventScroll:!0}),QO.value=window.performance.now(),e!==n&&YLe(e)&&t&&e.select()}};function qz(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const JLe=()=>{let e=[];return{push:r=>{const a=e[0];a&&r!==a&&a.pause(),e=qz(e,r),e.unshift(r)},remove:r=>{var a,i;e=qz(e,r),(i=(a=e[0])==null?void 0:a.resume)==null||i.call(a)}}},XLe=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(cf(r,t),document.activeElement!==n)return},Yz=JLe(),ZLe=()=>D9.value>QO.value,n8=()=>{ZO.value="pointer",D9.value=window.performance.now()},Jz=()=>{ZO.value="keyboard",D9.value=window.performance.now()},QLe=()=>(Ut(()=>{t8===0&&(document.addEventListener("mousedown",n8),document.addEventListener("touchstart",n8),document.addEventListener("keydown",Jz)),t8++}),Vn(()=>{t8--,t8<=0&&(document.removeEventListener("mousedown",n8),document.removeEventListener("touchstart",n8),document.removeEventListener("keydown",Jz))}),{focusReason:ZO,lastUserFocusTimestamp:D9,lastAutomatedFocusTimestamp:QO}),r8=e=>new CustomEvent(jLe,Et(Te({},KLe),{detail:e})),dt={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"},li=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const i=e==null?void 0:e(a);if(n===!1||!i)return t==null?void 0:t(a)},Xz=e=>t=>t.pointerType==="mouse"?e(t):void 0,Er=e=>{if(e.code&&e.code!=="Unidentified")return e.code;const t=Sse(e);return t?Object.values(dt).includes(t)?t:t===" "?dt.space:"":""},Sse=e=>{let t=e.key&&e.key!=="Unidentified"?e.key:"";if(!t&&e.type==="keyup"&&use()){const n=e.target;t=n.value.charAt(n.selectionStart-1)}return t};let e1=[];const Zz=e=>{Er(e)===dt.esc&&e1.forEach(n=>n(e))},eOe=e=>{Ut(()=>{e1.length===0&&document.addEventListener("keydown",Zz),Yn&&e1.push(e)}),Vn(()=>{e1=e1.filter(t=>t!==e),e1.length===0&&Yn&&document.removeEventListener("keydown",Zz)})},tOe=Ve({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[jz,Kz,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=j();let r,a;const{focusReason:i}=QLe();eOe(h=>{e.trapped&&!o.paused&&t("release-requested",h)});const o={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},l=h=>{if(!e.loop&&!e.trapped||o.paused)return;const{altKey:m,ctrlKey:v,metaKey:g,currentTarget:b,shiftKey:C}=h,{loop:y}=e,w=Er(h)===dt.tab&&!m&&!v&&!g,S=document.activeElement;if(w&&S){const A=b,[D,k]=qLe(A);if(D&&k){if(!C&&S===k){const _=r8({focusReason:i.value});t("focusout-prevented",_),_.defaultPrevented||(h.preventDefault(),y&&cf(D,!0))}else if(C&&[D,A].includes(S)){const _=r8({focusReason:i.value});t("focusout-prevented",_),_.defaultPrevented||(h.preventDefault(),y&&cf(k,!0))}}else if(S===A){const _=r8({focusReason:i.value});t("focusout-prevented",_),_.defaultPrevented||h.preventDefault()}}};Qt(Ese,{focusTrapRef:n,onKeydown:l}),$e(()=>e.focusTrapEl,h=>{h&&(n.value=h)},{immediate:!0}),$e([n],([h],[m])=>{h&&(h.addEventListener("keydown",l),h.addEventListener("focusin",c),h.addEventListener("focusout",d)),m&&(m.removeEventListener("keydown",l),m.removeEventListener("focusin",c),m.removeEventListener("focusout",d))});const s=h=>{t(jz,h)},u=h=>t(Kz,h),c=h=>{const m=F(n);if(!m)return;const v=h.target,g=h.relatedTarget,b=v&&m.contains(v);e.trapped||g&&m.contains(g)||(r=g),b&&t("focusin",h),!o.paused&&e.trapped&&(b?a=v:cf(a,!0))},d=h=>{const m=F(n);if(!(o.paused||!m))if(e.trapped){const v=h.relatedTarget;!Ma(v)&&!m.contains(v)&&setTimeout(()=>{if(!o.paused&&e.trapped){const g=r8({focusReason:i.value});t("focusout-prevented",g),g.defaultPrevented||cf(a,!0)}},0)}else{const v=h.target;v&&m.contains(v)||t("focusout",h)}};function f(){return Xt(this,null,function*(){yield Oe();const h=F(n);if(h){Yz.push(o);const m=h.contains(document.activeElement)?r:document.activeElement;if(r=m,!h.contains(m)){const g=new Event(IE,Gz);h.addEventListener(IE,s),h.dispatchEvent(g),g.defaultPrevented||Oe(()=>{let b=e.focusStartEl;Bt(b)||(cf(b),document.activeElement!==b&&(b="first")),b==="first"&&XLe(wse(h),!0),(document.activeElement===m||b==="container")&&cf(h)})}}})}function p(){const h=F(n);if(h){h.removeEventListener(IE,s);const m=new CustomEvent(NE,Et(Te({},Gz),{detail:{focusReason:i.value}}));h.addEventListener(NE,u),h.dispatchEvent(m),!m.defaultPrevented&&(i.value=="keyboard"||!ZLe()||h.contains(document.activeElement))&&cf(r!=null?r:document.body),h.removeEventListener(NE,u),Yz.remove(o),r=null,a=null}}return Ut(()=>{e.trapped&&f(),$e(()=>e.trapped,h=>{h?f():p()})}),Vn(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",l),n.value.removeEventListener("focusin",c),n.value.removeEventListener("focusout",d),n.value=void 0),r=null,a=null}),{onKeydown:l}}});function nOe(e,t,n,r,a,i){return We(e.$slots,"default",{handleKeydown:e.onKeydown})}var tg=yt(tOe,[["render",nOe],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]),ll="top",ms="bottom",vs="right",sl="left",eP="auto",W5=[ll,ms,vs,sl],n0="start",c2="end",rOe="clippingParents",Ase="viewport",Wg="popper",aOe="reference",Qz=W5.reduce(function(e,t){return e.concat([t+"-"+n0,t+"-"+c2])},[]),Sc=[].concat(W5,[eP]).reduce(function(e,t){return e.concat([t,t+"-"+n0,t+"-"+c2])},[]),iOe="beforeRead",oOe="read",lOe="afterRead",sOe="beforeMain",uOe="main",cOe="afterMain",dOe="beforeWrite",fOe="write",pOe="afterWrite",hOe=[iOe,oOe,lOe,sOe,uOe,cOe,dOe,fOe,pOe];function mc(e){return e?(e.nodeName||"").toLowerCase():null}function fu(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function r0(e){var t=fu(e).Element;return e instanceof t||e instanceof Element}function ls(e){var t=fu(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tP(e){if(typeof ShadowRoot=="undefined")return!1;var t=fu(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function mOe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},i=t.elements[n];!ls(i)||!mc(i)||(Object.assign(i.style,r),Object.keys(a).forEach(function(o){var l=a[o];l===!1?i.removeAttribute(o):i.setAttribute(o,l===!0?"":l)}))})}function vOe(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(r){var a=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=o.reduce(function(s,u){return s[u]="",s},{});!ls(a)||!mc(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(s){a.removeAttribute(s)}))})}}var Dse={name:"applyStyles",enabled:!0,phase:"write",fn:mOe,effect:vOe,requires:["computeStyles"]};function Xu(e){return e.split("-")[0]}var nm=Math.max,o6=Math.min,a0=Math.round;function i0(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,a=1;if(ls(e)&&t){var i=e.offsetHeight,o=e.offsetWidth;o>0&&(r=a0(n.width)/o||1),i>0&&(a=a0(n.height)/i||1)}return{width:n.width/r,height:n.height/a,top:n.top/a,right:n.right/r,bottom:n.bottom/a,left:n.left/r,x:n.left/r,y:n.top/a}}function nP(e){var t=i0(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Tse(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&tP(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Dd(e){return fu(e).getComputedStyle(e)}function gOe(e){return["table","td","th"].indexOf(mc(e))>=0}function mp(e){return((r0(e)?e.ownerDocument:e.document)||window.document).documentElement}function T9(e){return mc(e)==="html"?e:e.assignedSlot||e.parentNode||(tP(e)?e.host:null)||mp(e)}function eW(e){return!ls(e)||Dd(e).position==="fixed"?null:e.offsetParent}function yOe(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&ls(e)){var r=Dd(e);if(r.position==="fixed")return null}var a=T9(e);for(tP(a)&&(a=a.host);ls(a)&&["html","body"].indexOf(mc(a))<0;){var i=Dd(a);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 a;a=a.parentNode}return null}function G5(e){for(var t=fu(e),n=eW(e);n&&gOe(n)&&Dd(n).position==="static";)n=eW(n);return n&&(mc(n)==="html"||mc(n)==="body"&&Dd(n).position==="static")?t:n||yOe(e)||t}function rP(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ab(e,t,n){return nm(e,o6(t,n))}function bOe(e,t,n){var r=ab(e,t,n);return r>n?n:r}function kse(){return{top:0,right:0,bottom:0,left:0}}function _se(e){return Object.assign({},kse(),e)}function xse(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var COe=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,_se(typeof e!="number"?e:xse(e,W5))};function FOe(e){var t,n=e.state,r=e.name,a=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,l=Xu(n.placement),s=rP(l),u=[sl,vs].indexOf(l)>=0,c=u?"height":"width";if(!(!i||!o)){var d=COe(a.padding,n),f=nP(i),p=s==="y"?ll:sl,h=s==="y"?ms:vs,m=n.rects.reference[c]+n.rects.reference[s]-o[s]-n.rects.popper[c],v=o[s]-n.rects.reference[s],g=G5(i),b=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,C=m/2-v/2,y=d[p],E=b-f[c]-d[h],w=b/2-f[c]/2+C,S=ab(y,w,E),A=s;n.modifiersData[r]=(t={},t[A]=S,t.centerOffset=S-w,t)}}function EOe(e){var t=e.state,n=e.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!Tse(t.elements.popper,a)||(t.elements.arrow=a))}var wOe={name:"arrow",enabled:!0,phase:"main",fn:FOe,effect:EOe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function o0(e){return e.split("-")[1]}var SOe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function AOe(e){var t=e.x,n=e.y,r=window,a=r.devicePixelRatio||1;return{x:a0(t*a)/a||0,y:a0(n*a)/a||0}}function tW(e){var t,n=e.popper,r=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=o.x,p=f===void 0?0:f,h=o.y,m=h===void 0?0:h,v=typeof c=="function"?c({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var g=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),C=sl,y=ll,E=window;if(u){var w=G5(n),S="clientHeight",A="clientWidth";if(w===fu(n)&&(w=mp(n),Dd(w).position!=="static"&&l==="absolute"&&(S="scrollHeight",A="scrollWidth")),w=w,a===ll||(a===sl||a===vs)&&i===c2){y=ms;var D=d&&w===E&&E.visualViewport?E.visualViewport.height:w[S];m-=D-r.height,m*=s?1:-1}if(a===sl||(a===ll||a===ms)&&i===c2){C=vs;var k=d&&w===E&&E.visualViewport?E.visualViewport.width:w[A];p-=k-r.width,p*=s?1:-1}}var x=Object.assign({position:l},u&&SOe),_=c===!0?AOe({x:p,y:m}):{x:p,y:m};if(p=_.x,m=_.y,s){var M;return Object.assign({},x,(M={},M[y]=b?"0":"",M[C]=g?"0":"",M.transform=(E.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",M))}return Object.assign({},x,(t={},t[y]=b?m+"px":"",t[C]=g?p+"px":"",t.transform="",t))}function DOe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,l=n.roundOffsets,s=l===void 0?!0:l,u={placement:Xu(t.placement),variation:o0(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,tW(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,tW(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Mse={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:DOe,data:{}},a8={passive:!0};function TOe(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,i=a===void 0?!0:a,o=r.resize,l=o===void 0?!0:o,s=fu(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,a8)}),l&&s.addEventListener("resize",n.update,a8),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,a8)}),l&&s.removeEventListener("resize",n.update,a8)}}var Bse={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:TOe,data:{}},kOe={left:"right",right:"left",bottom:"top",top:"bottom"};function O3(e){return e.replace(/left|right|bottom|top/g,function(t){return kOe[t]})}var _Oe={start:"end",end:"start"};function nW(e){return e.replace(/start|end/g,function(t){return _Oe[t]})}function aP(e){var t=fu(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function iP(e){return i0(mp(e)).left+aP(e).scrollLeft}function xOe(e){var t=fu(e),n=mp(e),r=t.visualViewport,a=n.clientWidth,i=n.clientHeight,o=0,l=0;return r&&(a=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,l=r.offsetTop)),{width:a,height:i,x:o+iP(e),y:l}}function MOe(e){var t,n=mp(e),r=aP(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=nm(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=nm(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+iP(e),s=-r.scrollTop;return Dd(a||n).direction==="rtl"&&(l+=nm(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:o,x:l,y:s}}function oP(e){var t=Dd(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function Rse(e){return["html","body","#document"].indexOf(mc(e))>=0?e.ownerDocument.body:ls(e)&&oP(e)?e:Rse(T9(e))}function ib(e,t){var n;t===void 0&&(t=[]);var r=Rse(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=fu(r),o=a?[i].concat(i.visualViewport||[],oP(r)?r:[]):r,l=t.concat(o);return a?l:l.concat(ib(T9(o)))}function CM(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function BOe(e){var t=i0(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function rW(e,t){return t===Ase?CM(xOe(e)):r0(t)?BOe(t):CM(MOe(mp(e)))}function ROe(e){var t=ib(T9(e)),n=["absolute","fixed"].indexOf(Dd(e).position)>=0,r=n&&ls(e)?G5(e):e;return r0(r)?t.filter(function(a){return r0(a)&&Tse(a,r)&&mc(a)!=="body"}):[]}function LOe(e,t,n){var r=t==="clippingParents"?ROe(e):[].concat(t),a=[].concat(r,[n]),i=a[0],o=a.reduce(function(l,s){var u=rW(e,s);return l.top=nm(u.top,l.top),l.right=o6(u.right,l.right),l.bottom=o6(u.bottom,l.bottom),l.left=nm(u.left,l.left),l},rW(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Lse(e){var t=e.reference,n=e.element,r=e.placement,a=r?Xu(r):null,i=r?o0(r):null,o=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,s;switch(a){case ll:s={x:o,y:t.y-n.height};break;case ms:s={x:o,y:t.y+t.height};break;case vs:s={x:t.x+t.width,y:l};break;case sl:s={x:t.x-n.width,y:l};break;default:s={x:t.x,y:t.y}}var u=a?rP(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case n0:s[u]=s[u]-(t[c]/2-n[c]/2);break;case c2:s[u]=s[u]+(t[c]/2-n[c]/2);break}}return s}function d2(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,i=n.boundary,o=i===void 0?rOe:i,l=n.rootBoundary,s=l===void 0?Ase:l,u=n.elementContext,c=u===void 0?Wg:u,d=n.altBoundary,f=d===void 0?!1:d,p=n.padding,h=p===void 0?0:p,m=_se(typeof h!="number"?h:xse(h,W5)),v=c===Wg?aOe:Wg,g=e.rects.popper,b=e.elements[f?v:c],C=LOe(r0(b)?b:b.contextElement||mp(e.elements.popper),o,s),y=i0(e.elements.reference),E=Lse({reference:y,element:g,placement:a}),w=CM(Object.assign({},g,E)),S=c===Wg?w:y,A={top:C.top-S.top+m.top,bottom:S.bottom-C.bottom+m.bottom,left:C.left-S.left+m.left,right:S.right-C.right+m.right},D=e.modifiersData.offset;if(c===Wg&&D){var k=D[a];Object.keys(A).forEach(function(x){var _=[vs,ms].indexOf(x)>=0?1:-1,M=[ll,ms].indexOf(x)>=0?"y":"x";A[x]+=k[M]*_})}return A}function OOe(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,i=n.rootBoundary,o=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=s===void 0?Sc:s,c=o0(r),d=c?l?Qz:Qz.filter(function(h){return o0(h)===c}):W5,f=d.filter(function(h){return u.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,m){return h[m]=d2(e,{placement:m,boundary:a,rootBoundary:i,padding:o})[Xu(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function POe(e){if(Xu(e)===eP)return[];var t=O3(e);return[nW(e),t,nW(t)]}function IOe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,l=o===void 0?!0:o,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,m=n.allowedAutoPlacements,v=t.options.placement,g=Xu(v),b=g===v,C=s||(b||!h?[O3(v)]:POe(v)),y=[v].concat(C).reduce(function(ee,ae){return ee.concat(Xu(ae)===eP?OOe(t,{placement:ae,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):ae)},[]),E=t.rects.reference,w=t.rects.popper,S=new Map,A=!0,D=y[0],k=0;k=0,I=L?"width":"height",P=d2(t,{placement:x,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),B=L?M?vs:sl:M?ms:ll;E[I]>w[I]&&(B=O3(B));var T=O3(B),O=[];if(i&&O.push(P[_]<=0),l&&O.push(P[B]<=0,P[T]<=0),O.every(function(ee){return ee})){D=x,A=!1;break}S.set(x,O)}if(A)for(var N=h?3:1,V=function(ee){var ae=y.find(function(pe){var re=S.get(pe);if(re)return re.slice(0,ee).every(function(Q){return Q})});if(ae)return D=ae,"break"},Y=N;Y>0;Y--){var z=V(Y);if(z==="break")break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}var NOe={name:"flip",enabled:!0,phase:"main",fn:IOe,requiresIfExists:["offset"],data:{_skip:!1}};function aW(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 iW(e){return[ll,vs,ms,sl].some(function(t){return e[t]>=0})}function $Oe(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,o=d2(t,{elementContext:"reference"}),l=d2(t,{altBoundary:!0}),s=aW(o,r),u=aW(l,a,i),c=iW(s),d=iW(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}var VOe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$Oe};function HOe(e,t,n){var r=Xu(e),a=[sl,ll].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],l=i[1];return o=o||0,l=(l||0)*a,[sl,vs].indexOf(r)>=0?{x:l,y:o}:{x:o,y:l}}function zOe(e){var t=e.state,n=e.options,r=e.name,a=n.offset,i=a===void 0?[0,0]:a,o=Sc.reduce(function(c,d){return c[d]=HOe(d,t.rects,i),c},{}),l=o[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}var WOe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:zOe};function GOe(e){var t=e.state,n=e.name;t.modifiersData[n]=Lse({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Ose={name:"popperOffsets",enabled:!0,phase:"read",fn:GOe,data:{}};function jOe(e){return e==="x"?"y":"x"}function KOe(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,l=o===void 0?!1:o,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,m=h===void 0?0:h,v=d2(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=Xu(t.placement),b=o0(t.placement),C=!b,y=rP(g),E=jOe(y),w=t.modifiersData.popperOffsets,S=t.rects.reference,A=t.rects.popper,D=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,k=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(w){if(i){var M,L=y==="y"?ll:sl,I=y==="y"?ms:vs,P=y==="y"?"height":"width",B=w[y],T=B+v[L],O=B-v[I],N=p?-A[P]/2:0,V=b===n0?S[P]:A[P],Y=b===n0?-A[P]:-S[P],z=t.elements.arrow,ee=p&&z?nP(z):{width:0,height:0},ae=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:kse(),pe=ae[L],re=ae[I],Q=ab(0,S[P],ee[P]),ie=C?S[P]/2-N-Q-pe-k.mainAxis:V-Q-pe-k.mainAxis,X=C?-S[P]/2+N+Q+re+k.mainAxis:Y+Q+re+k.mainAxis,q=t.elements.arrow&&G5(t.elements.arrow),ce=q?y==="y"?q.clientTop||0:q.clientLeft||0:0,K=(M=x==null?void 0:x[y])!=null?M:0,Z=B+ie-K-ce,se=B+X-K,Fe=ab(p?o6(T,Z):T,B,p?nm(O,se):O);w[y]=Fe,_[y]=Fe-B}if(l){var me,te=y==="x"?ll:sl,ue=y==="x"?ms:vs,Se=w[E],Ae=E==="y"?"height":"width",Ne=Se+v[te],je=Se-v[ue],De=[ll,sl].indexOf(g)!==-1,he=(me=x==null?void 0:x[E])!=null?me:0,He=De?Ne:Se-S[Ae]-A[Ae]-he+k.altAxis,xe=De?Se+S[Ae]+A[Ae]-he-k.altAxis:je,qe=p&&De?bOe(He,Se,xe):ab(p?He:Ne,Se,p?xe:je);w[E]=qe,_[E]=qe-Se}t.modifiersData[r]=_}}var UOe={name:"preventOverflow",enabled:!0,phase:"main",fn:KOe,requiresIfExists:["offset"]};function qOe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function YOe(e){return e===fu(e)||!ls(e)?aP(e):qOe(e)}function JOe(e){var t=e.getBoundingClientRect(),n=a0(t.width)/e.offsetWidth||1,r=a0(t.height)/e.offsetHeight||1;return n!==1||r!==1}function XOe(e,t,n){n===void 0&&(n=!1);var r=ls(t),a=ls(t)&&JOe(t),i=mp(t),o=i0(e,a),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((mc(t)!=="body"||oP(i))&&(l=YOe(t)),ls(t)?(s=i0(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=iP(i))),{x:o.left+l.scrollLeft-s.x,y:o.top+l.scrollTop-s.y,width:o.width,height:o.height}}function ZOe(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function a(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(l){if(!n.has(l)){var s=t.get(l);s&&a(s)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),r}function QOe(e){var t=ZOe(e);return hOe.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function ePe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function tPe(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var oW={placement:"bottom",modifiers:[],strategy:"absolute"};function lW(){for(var e=arguments.length,t=new Array(e),n=0;n({})},strategy:{type:String,values:iPe,default:"absolute"}}),Ise=pt(Et(Te(Et(Te(Te({},oPe),Pse),{id:String,style:{type:ke([String,Array,Object])},className:{type:ke([String,Array,Object])},effect:{type:ke(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:ke([String,Array,Object])},popperStyle:{type:ke([String,Array,Object])},referenceEl:{type:ke(Object)},triggerTargetEl:{type:ke(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number}),yo(["ariaLabel"])),{loop:Boolean})),lPe={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},sPe=(e,t)=>{const n=j(!1),r=j(),a=()=>{t("focus")},i=u=>{var c;((c=u.detail)==null?void 0:c.focusReason)!=="pointer"&&(r.value="first",t("blur"))},o=u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},l=u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},s=()=>{n.value=!1,t("close")};return Vn(()=>{r.value=void 0}),{focusStartRef:r,trapped:n,onFocusAfterReleased:i,onFocusAfterTrapped:a,onFocusInTrap:o,onFocusoutPrevented:l,onReleaseRequested:s}},uPe=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:a}=e,i=Et(Te({placement:n,strategy:r},a),{modifiers:[...dPe(e),...t]});return fPe(i,a==null?void 0:a.modifiers),i},cPe=e=>{if(Yn)return Ja(e)};function dPe(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t!=null?t:12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function fPe(e,t){t&&(e.modifiers=[...e.modifiers,...t!=null?t:[]])}const pPe=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:s})=>{const u=hPe(s);Object.assign(o.value,u)},requires:["computeStyles"]},a=R(()=>{const{onFirstUpdate:s,placement:u,strategy:c,modifiers:d}=F(n);return{onFirstUpdate:s,placement:u||"bottom",strategy:c||"absolute",modifiers:[...d||[],r,{name:"applyStyles",enabled:!1}]}}),i=Zn(),o=j({styles:{popper:{position:F(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return $e(a,s=>{const u=F(i);u&&u.setOptions(s)},{deep:!0}),$e([e,t],([s,u])=>{l(),!(!s||!u)&&(i.value=aPe(s,u,F(a)))}),Vn(()=>{l()}),{state:R(()=>{var s;return Te({},((s=F(i))==null?void 0:s.state)||{})}),styles:R(()=>F(o).styles),attributes:R(()=>F(o).attributes),update:()=>{var s;return(s=F(i))==null?void 0:s.update()},forceUpdate:()=>{var s;return(s=F(i))==null?void 0:s.forceUpdate()},instanceRef:R(()=>F(i))}};function hPe(e){const t=Object.keys(e.elements),n=o2(t.map(a=>[a,e.styles[a]||{}])),r=o2(t.map(a=>[a,e.attributes[a]]));return{styles:n,attributes:r}}const mPe=0,vPe=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:a}=lt(XO,void 0),i=j(),o=R(()=>e.arrowOffset),l=R(()=>({name:"eventListeners",enabled:!!e.visible})),s=R(()=>{var g;const b=F(i),C=(g=F(o))!=null?g:mPe;return{name:"arrow",enabled:!VMe(b),options:{element:b,padding:C}}}),u=R(()=>Te({onFirstUpdate:()=>{h()}},uPe(e,[F(s),F(l)]))),c=R(()=>cPe(e.referenceEl)||F(r)),{attributes:d,state:f,styles:p,update:h,forceUpdate:m,instanceRef:v}=pPe(c,n,u);return $e(v,g=>t.value=g,{flush:"sync"}),Ut(()=>{$e(()=>{var g,b;return(b=(g=F(c))==null?void 0:g.getBoundingClientRect)==null?void 0:b.call(g)},()=>{h()})}),Vn(()=>{t.value=void 0}),{attributes:d,arrowRef:i,contentRef:n,instanceRef:v,state:f,styles:p,role:a,forceUpdate:m,update:h}},gPe=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:a}=P5(),i=at("popper"),o=R(()=>F(t).popper),l=j($t(e.zIndex)?e.zIndex:a()),s=R(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),u=R(()=>[{zIndex:F(l)},F(n).popper,e.popperStyle||{}]),c=R(()=>r.value==="dialog"?"false":void 0),d=R(()=>F(n).arrow||{});return{ariaModal:c,arrowStyle:d,contentAttrs:o,contentClass:s,contentStyle:u,contentZIndex:l,updateZIndex:()=>{l.value=$t(e.zIndex)?e.zIndex:a()}}},yPe=Ve({name:"ElPopperContent",__name:"content",props:Ise,emits:lPe,setup(e,{expose:t,emit:n}){const r=n,a=e,{focusStartRef:i,trapped:o,onFocusAfterReleased:l,onFocusAfterTrapped:s,onFocusInTrap:u,onFocusoutPrevented:c,onReleaseRequested:d}=sPe(a,r),{attributes:f,arrowRef:p,contentRef:h,styles:m,instanceRef:v,role:g,update:b}=vPe(a),{ariaModal:C,arrowStyle:y,contentAttrs:E,contentClass:w,contentStyle:S,updateZIndex:A}=gPe(a,{styles:m,attributes:f,role:g}),D=lt(hc,void 0);Qt(mse,{arrowStyle:y,arrowRef:p}),D&&Qt(hc,Et(Te({},D),{addInputId:er,removeInputId:er}));let k;const x=(M=!0)=>{b(),M&&A()},_=()=>{x(!1),a.visible&&a.focusOnShow?o.value=!0:a.visible===!1&&(o.value=!1)};return Ut(()=>{$e(()=>a.triggerTargetEl,(M,L)=>{k==null||k(),k=void 0;const I=F(M||h.value),P=F(L||h.value);rl(I)&&(k=$e([g,()=>a.ariaLabel,C,()=>a.id],B=>{["role","aria-label","aria-modal","id"].forEach((T,O)=>{Ma(B[O])?I.removeAttribute(T):I.setAttribute(T,B[O])})},{immediate:!0})),P!==I&&rl(P)&&["role","aria-label","aria-modal","id"].forEach(B=>{P.removeAttribute(B)})},{immediate:!0}),$e(()=>a.visible,_,{immediate:!0})}),Vn(()=>{k==null||k(),k=void 0,h.value=void 0}),t({popperContentRef:h,popperInstanceRef:v,updatePopper:x,contentStyle:S}),(M,L)=>(H(),le("div",tn({ref_key:"contentRef",ref:h},F(E),{style:F(S),class:F(w),tabindex:"-1",onMouseenter:L[0]||(L[0]=I=>M.$emit("mouseenter",I)),onMouseleave:L[1]||(L[1]=I=>M.$emit("mouseleave",I))}),[be(F(tg),{loop:M.loop,trapped:F(o),"trap-on-focus-in":!0,"focus-trap-el":F(h),"focus-start-el":F(i),onFocusAfterTrapped:F(s),onFocusAfterReleased:F(l),onFocusin:F(u),onFocusoutPrevented:F(c),onReleaseRequested:F(d)},{default:Re(()=>[We(M.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var bPe=yt(yPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const Nse=fn(ILe),sP=Symbol("elTooltip");function sW(){let e;const t=(r,a)=>{n(),e=window.setTimeout(r,a)},n=()=>window.clearTimeout(e);return Jm(()=>n()),{registerTimeout:t,cancelTimeout:n}}const CPe=pt({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),FPe=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:a})=>{const{registerTimeout:i}=sW(),{registerTimeout:o,cancelTimeout:l}=sW();return{onOpen:(c,d=F(e))=>{i(()=>{r(c);const f=F(n);$t(f)&&f>0&&o(()=>{a(c)},f)},d)},onClose:(c,d=F(t))=>{l(),i(()=>{a(c)},d)}}},pr=pt(Te(Et(Te(Te({},CPe),Ise),{appendTo:{type:N5.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:ke(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),yo(["ariaLabel"]))),Zu=pt(Et(Te({},yse),{disabled:Boolean,trigger:{type:ke([String,Array]),default:"hover"},triggerKeys:{type:ke(Array),default:()=>[dt.enter,dt.numpadEnter,dt.space]},focusOnTarget:Boolean})),EPe=du({type:ke(Boolean),default:null}),wPe=du({type:ke(Function)}),SPe=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],a={[e]:EPe,[n]:wPe};return{useModelToggle:({indicator:o,toggleReason:l,shouldHideWhenRouteChanges:s,shouldProceed:u,onShow:c,onHide:d})=>{const f=Jt(),{emit:p}=f,h=f.props,m=R(()=>Lt(h[n])),v=R(()=>h[e]===null),g=S=>{o.value!==!0&&(o.value=!0,l&&(l.value=S),Lt(c)&&c(S))},b=S=>{o.value!==!1&&(o.value=!1,l&&(l.value=S),Lt(d)&&d(S))},C=S=>{if(h.disabled===!0||Lt(u)&&!u())return;const A=m.value&&Yn;A&&p(t,!0),(v.value||!A)&&g(S)},y=S=>{if(h.disabled===!0||!Yn)return;const A=m.value&&Yn;A&&p(t,!1),(v.value||!A)&&b(S)},E=S=>{hr(S)&&(h.disabled&&S?m.value&&p(t,!1):o.value!==S&&(S?g():b()))},w=()=>{o.value?y():C()};return $e(()=>h[e],E),s&&f.appContext.config.globalProperties.$route!==void 0&&$e(()=>Te({},f.proxy.$route),()=>{s.value&&o.value&&y()}),Ut(()=>{E(h[e])}),{hide:y,show:C,toggle:w,hasUpdateHandler:m}},useModelToggleProps:a,useModelToggleEmits:r}},{useModelToggleProps:APe,useModelToggleEmits:DPe,useModelToggle:TPe}=SPe("visible"),kPe=pt(Et(Te(Te(Te(Te(Te({},gse),APe),pr),Zu),Pse),{showArrow:{type:Boolean,default:!0}})),_Pe=[...DPe,"before-show","before-hide","show","hide","open","close"],FM=(e,t)=>st(e)?e.includes(t):e===t,Ev=(e,t,n)=>r=>{FM(F(e),t)&&n(r)},xPe=Ve({name:"ElTooltipTrigger",__name:"trigger",props:Zu,setup(e,{expose:t}){const n=e,r=at("tooltip"),{controlled:a,id:i,open:o,onOpen:l,onClose:s,onToggle:u}=lt(sP,void 0),c=j(null),d=()=>{if(F(a)||n.disabled)return!0},f=Qn(n,"trigger"),p=li(d,Ev(f,"hover",y=>{l(y),n.focusOnTarget&&y.target&&Oe(()=>{H5(y.target,{preventScroll:!0})})})),h=li(d,Ev(f,"hover",s)),m=li(d,Ev(f,"click",y=>{y.button===0&&u(y)})),v=li(d,Ev(f,"focus",l)),g=li(d,Ev(f,"focus",s)),b=li(d,Ev(f,"contextmenu",y=>{y.preventDefault(),u(y)})),C=li(d,y=>{const E=Er(y);n.triggerKeys.includes(E)&&(y.preventDefault(),u(y))});return t({triggerRef:c}),(y,E)=>(H(),Ue(F(GLe),{id:F(i),"virtual-ref":y.virtualRef,open:F(o),"virtual-triggering":y.virtualTriggering,class:J(F(r).e("trigger")),onBlur:F(g),onClick:F(m),onContextmenu:F(b),onFocus:F(v),onMouseenter:F(p),onMouseleave:F(h),onKeydown:F(C)},{default:Re(()=>[We(y.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var MPe=yt(xPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const $se=()=>{const e=wO(),t=YO(),n=R(()=>`${e.value}-popper-container-${t.prefix}`),r=R(()=>`#${n.value}`);return{id:n,selector:r}},BPe=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},RPe=()=>{const{id:e,selector:t}=$se();return E5(()=>{Yn&&(document.body.querySelector(t.value)||BPe(e.value))}),{id:e,selector:t}},uW=e=>[...new Set(e)],Gg=e=>st(e)?e[0]:e,lo=e=>!e&&e!==0?[]:st(e)?e:[e],LPe=Ve({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:pr,setup(e,{expose:t}){const n=e,{selector:r}=$se(),a=at("tooltip"),i=j(),o=Ile(()=>{var T;return(T=i.value)==null?void 0:T.popperContentRef});let l;const{controlled:s,id:u,open:c,trigger:d,onClose:f,onOpen:p,onShow:h,onHide:m,onBeforeShow:v,onBeforeHide:g}=lt(sP,void 0),b=R(()=>n.transition||`${a.namespace.value}-fade-in-linear`),C=R(()=>n.persistent);Vn(()=>{l==null||l()});const y=R(()=>F(C)?!0:F(c)),E=R(()=>n.disabled?!1:F(c)),w=R(()=>n.appendTo||r.value),S=R(()=>{var T;return(T=n.style)!=null?T:{}}),A=j(!0),D=()=>{m(),B()&&H5(document.body,{preventScroll:!0}),A.value=!0},k=()=>{if(F(s))return!0},x=li(k,()=>{n.enterable&&FM(F(d),"hover")&&p()}),_=li(k,()=>{FM(F(d),"hover")&&f()}),M=()=>{var T,O;(O=(T=i.value)==null?void 0:T.updatePopper)==null||O.call(T),v==null||v()},L=()=>{g==null||g()},I=()=>{h()},P=()=>{n.virtualTriggering||f()},B=T=>{var O;const N=(O=i.value)==null?void 0:O.popperContentRef,V=(T==null?void 0:T.relatedTarget)||document.activeElement;return N==null?void 0:N.contains(V)};return $e(()=>F(c),T=>{T?(A.value=!1,l=VO(o,()=>{if(F(s))return;lo(F(d)).every(N=>N!=="hover"&&N!=="focus")&&f()},{detectIframe:!0})):l==null||l()},{flush:"post"}),$e(()=>n.content,()=>{var T,O;(O=(T=i.value)==null?void 0:T.updatePopper)==null||O.call(T)}),t({contentRef:i,isFocusInsideContent:B}),(T,O)=>(H(),Ue(F(eg),{disabled:!T.teleported,to:w.value},{default:Re(()=>[y.value||!A.value?(H(),Ue(vi,{key:0,name:b.value,appear:!C.value,onAfterLeave:D,onBeforeEnter:M,onAfterEnter:I,onBeforeLeave:L,persisted:""},{default:Re(()=>[hn(be(F(bPe),tn({id:F(u),ref_key:"contentRef",ref:i},T.$attrs,{"aria-label":T.ariaLabel,"aria-hidden":A.value,"boundaries-padding":T.boundariesPadding,"fallback-placements":T.fallbackPlacements,"gpu-acceleration":T.gpuAcceleration,offset:T.offset,placement:T.placement,"popper-options":T.popperOptions,"arrow-offset":T.arrowOffset,strategy:T.strategy,effect:T.effect,enterable:T.enterable,pure:T.pure,"popper-class":T.popperClass,"popper-style":[T.popperStyle,S.value],"reference-el":T.referenceEl,"trigger-target-el":T.triggerTargetEl,visible:E.value,"z-index":T.zIndex,loop:T.loop,onMouseenter:F(x),onMouseleave:F(_),onBlur:P,onClose:F(f)}),{default:Re(()=>[We(T.$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"]),[[In,E.value]])]),_:3},8,["name","appear"])):Pe("v-if",!0)]),_:3},8,["disabled","to"]))}});var OPe=yt(LPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const PPe=["innerHTML"],IPe={key:1},NPe=Ve({name:"ElTooltip",__name:"tooltip",props:kPe,emits:_Pe,setup(e,{expose:t,emit:n}){const r=e,a=n;RPe();const i=at("tooltip"),o=Li(),l=j(),s=j(),u=()=>{var y;const E=F(l);E&&((y=E.popperInstanceRef)==null||y.update())},c=j(!1),d=j(),{show:f,hide:p,hasUpdateHandler:h}=TPe({indicator:c,toggleReason:d}),{onOpen:m,onClose:v}=FPe({showAfter:Qn(r,"showAfter"),hideAfter:Qn(r,"hideAfter"),autoClose:Qn(r,"autoClose"),open:f,close:p}),g=R(()=>hr(r.visible)&&!h.value),b=R(()=>[i.b(),r.popperClass]);Qt(sP,{controlled:g,id:o,open:Qf(c),trigger:Qn(r,"trigger"),onOpen:m,onClose:v,onToggle:y=>{F(c)?v(y):m(y)},onShow:()=>{a("show",d.value)},onHide:()=>{a("hide",d.value)},onBeforeShow:()=>{a("before-show",d.value)},onBeforeHide:()=>{a("before-hide",d.value)},updatePopper:u}),$e(()=>r.disabled,y=>{y&&c.value&&(c.value=!1)});const C=y=>{var E;return(E=s.value)==null?void 0:E.isFocusInsideContent(y)};return r9(()=>c.value&&p()),Vn(()=>{d.value=void 0}),t({popperRef:l,contentRef:s,isFocusInsideContent:C,updatePopper:u,onOpen:m,onClose:v,hide:p}),(y,E)=>(H(),Ue(F(Nse),{ref_key:"popperRef",ref:l,role:y.role},{default:Re(()=>[be(MPe,{disabled:y.disabled,trigger:y.trigger,"trigger-keys":y.triggerKeys,"virtual-ref":y.virtualRef,"virtual-triggering":y.virtualTriggering,"focus-on-target":y.focusOnTarget},{default:Re(()=>[y.$slots.default?We(y.$slots,"default",{key:0}):Pe("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),be(OPe,{ref_key:"contentRef",ref:s,"aria-label":y.ariaLabel,"boundaries-padding":y.boundariesPadding,content:y.content,disabled:y.disabled,effect:y.effect,enterable:y.enterable,"fallback-placements":y.fallbackPlacements,"hide-after":y.hideAfter,"gpu-acceleration":y.gpuAcceleration,offset:y.offset,persistent:y.persistent,"popper-class":b.value,"popper-style":y.popperStyle,placement:y.placement,"popper-options":y.popperOptions,"arrow-offset":y.arrowOffset,pure:y.pure,"raw-content":y.rawContent,"reference-el":y.referenceEl,"trigger-target-el":y.triggerTargetEl,"show-after":y.showAfter,strategy:y.strategy,teleported:y.teleported,transition:y.transition,"virtual-triggering":y.virtualTriggering,"z-index":y.zIndex,"append-to":y.appendTo,loop:y.loop},{default:Re(()=>[We(y.$slots,"content",{},()=>[y.rawContent?(H(),le("span",{key:0,innerHTML:y.content},null,8,PPe)):(H(),le("span",IPe,ft(y.content),1))]),y.showArrow?(H(),Ue(F($Le),{key:0})):Pe("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"]))}});var $Pe=yt(NPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const gi=fn($Pe),VPe=pt(Et(Te({},V5),{valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:ke(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:ke([Function,Array]),default:er},popperClass:pr.popperClass,popperStyle:pr.popperStyle,triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:pr.teleported,appendTo:pr.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}})),HPe={[nn]:e=>Bt(e)||$t(e),[Ga]:e=>Bt(e)||$t(e),[An]:e=>Bt(e)||$t(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>mn(e)},zPe=["aria-expanded","aria-owns"],WPe={key:0},GPe=["id","aria-selected","onClick"],cW="ElAutocomplete",jPe=Ve({name:cW,inheritAttrs:!1,__name:"autocomplete",props:VPe,emits:HPe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=R(()=>wd(r,Object.keys(V5))),o=Fc(),l=ha(),s=at("autocomplete"),u=j(),c=j(),d=j(),f=j();let p=!1,h=!1;const m=j([]),v=j(-1),g=j(""),b=j(!1),C=j(!1),y=j(!1),E=Li(),w=R(()=>o.style),S=R(()=>(m.value.length>0||y.value)&&b.value),A=R(()=>!r.hideLoading&&y.value),D=R(()=>u.value?Array.from(u.value.$el.querySelectorAll("input")):[]),k=()=>{S.value&&(g.value=`${u.value.$el.offsetWidth}px`)},x=()=>{v.value=-1},_=q=>Xt(null,null,function*(){if(C.value)return;const ce=K=>{y.value=!1,!C.value&&(st(K)?(m.value=K,v.value=r.highlightFirstItem?0:-1):$a(cW,"autocomplete suggestions must be an array"))};if(y.value=!0,st(r.fetchSuggestions))ce(r.fetchSuggestions);else{const K=yield r.fetchSuggestions(q,ce);st(K)&&ce(K)}}),M=R(()=>r.debounce),L=L5(_,M),I=q=>{const ce=!!q;if(a(Ga,q),a(nn,q),C.value=!1,b.value||(b.value=ce),!r.triggerOnFocus&&!q){C.value=!0,m.value=[];return}L(q)},P=q=>{var ce;l.value||(((ce=q.target)==null?void 0:ce.tagName)!=="INPUT"||D.value.includes(document.activeElement))&&(b.value=!0)},B=q=>{a(An,q)},T=q=>{var ce;if(h)h=!1;else{b.value=!0,a("focus",q);const K=(ce=r.modelValue)!=null?ce:"";r.triggerOnFocus&&!p&&L(String(K))}},O=q=>{setTimeout(()=>{var ce;if((ce=d.value)!=null&&ce.isFocusInsideContent()){h=!0;return}b.value&&z(),a("blur",q)})},N=()=>{b.value=!1,a(nn,""),a("clear")},V=()=>Xt(null,null,function*(){var q;(q=u.value)!=null&&q.isComposing||(S.value&&v.value>=0&&v.value{S.value&&(q.preventDefault(),q.stopPropagation(),z())},z=()=>{b.value=!1},ee=()=>{var q;(q=u.value)==null||q.focus()},ae=()=>{var q;(q=u.value)==null||q.blur()},pe=q=>Xt(null,null,function*(){a(Ga,q[r.valueKey]),a(nn,q[r.valueKey]),a("select",q),m.value=[],v.value=-1}),re=q=>{var ce,K;if(!S.value||y.value)return;if(q<0){if(!r.loopNavigation){v.value=-1;return}q=m.value.length-1}q>=m.value.length&&(q=r.loopNavigation?0:m.value.length-1);const[Z,se]=Q(),Fe=se[q],me=Z.scrollTop,{offsetTop:te,scrollHeight:ue}=Fe;te+ue>me+Z.clientHeight&&(Z.scrollTop=te+ue-Z.clientHeight),te{const q=c.value.querySelector(`.${s.be("suggestion","wrap")}`),ce=q.querySelectorAll(`.${s.be("suggestion","list")} li`);return[q,ce]},ie=VO(f,()=>{var q;(q=d.value)!=null&&q.isFocusInsideContent()||S.value&&z()}),X=q=>{switch(Er(q)){case dt.up:q.preventDefault(),re(v.value-1);break;case dt.down:q.preventDefault(),re(v.value+1);break;case dt.enter:case dt.numpadEnter:q.preventDefault(),V();break;case dt.tab:z();break;case dt.esc:Y(q);break;case dt.home:q.preventDefault(),re(0);break;case dt.end:q.preventDefault(),re(m.value.length-1);break;case dt.pageUp:q.preventDefault(),re(Math.max(0,v.value-10));break;case dt.pageDown:q.preventDefault(),re(Math.min(m.value.length-1,v.value+10));break}};return Vn(()=>{ie==null||ie()}),Ut(()=>{var q;const ce=(q=u.value)==null?void 0:q.ref;ce&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:E.value},{key:"aria-activedescendant",value:`${E.value}-item-${v.value}`}].forEach(({key:K,value:Z})=>ce.setAttribute(K,Z)),p=ce.hasAttribute("readonly"))}),t({highlightedIndex:v,activated:b,loading:y,inputRef:u,popperRef:d,suggestions:m,handleSelect:pe,handleKeyEnter:V,focus:ee,blur:ae,close:z,highlight:re,getData:_}),(q,ce)=>(H(),Ue(F(gi),{ref_key:"popperRef",ref:d,visible:S.value,placement:q.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[F(s).e("popper"),q.popperClass],"popper-style":q.popperStyle,teleported:q.teleported,"append-to":q.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${F(s).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:k,onHide:x},{content:Re(()=>[ye("div",{ref_key:"regionRef",ref:c,class:J([F(s).b("suggestion"),F(s).is("loading",A.value)]),style:Pt({[q.fitInputWidth?"width":"minWidth"]:g.value,outline:"none"}),role:"region"},[q.$slots.header?(H(),le("div",{key:0,class:J(F(s).be("suggestion","header")),onClick:ce[0]||(ce[0]=Yt(()=>{},["stop"]))},[We(q.$slots,"header")],2)):Pe("v-if",!0),be(F(Qs),{id:F(E),tag:"ul","wrap-class":F(s).be("suggestion","wrap"),"view-class":F(s).be("suggestion","list"),role:"listbox"},{default:Re(()=>[A.value?(H(),le("li",WPe,[We(q.$slots,"loading",{},()=>[be(F(Rt),{class:J(F(s).is("loading"))},{default:Re(()=>[be(F(pc))]),_:1},8,["class"])])])):(H(!0),le(kt,{key:1},En(m.value,(K,Z)=>(H(),le("li",{id:`${F(E)}-item-${Z}`,key:Z,class:J({highlighted:v.value===Z}),role:"option","aria-selected":v.value===Z,onClick:se=>pe(K)},[We(q.$slots,"default",{item:K},()=>[Cn(ft(K[q.valueKey]),1)])],10,GPe))),128))]),_:3},8,["id","wrap-class","view-class"]),q.$slots.footer?(H(),le("div",{key:1,class:J(F(s).be("suggestion","footer")),onClick:ce[1]||(ce[1]=Yt(()=>{},["stop"]))},[We(q.$slots,"footer")],2)):Pe("v-if",!0)],6)]),default:Re(()=>[ye("div",{ref_key:"listboxRef",ref:f,class:J([F(s).b(),q.$attrs.class]),style:Pt(w.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":S.value,"aria-owns":F(E)},[be(F(co),tn({ref_key:"inputRef",ref:u},tn(i.value,q.$attrs),{"model-value":q.modelValue,disabled:F(l),onInput:I,onChange:B,onFocus:T,onBlur:O,onClear:N,onKeydown:X,onMousedown:P}),Ri({_:2},[q.$slots.prepend?{name:"prepend",fn:Re(()=>[We(q.$slots,"prepend")]),key:"0"}:void 0,q.$slots.append?{name:"append",fn:Re(()=>[We(q.$slots,"append")]),key:"1"}:void 0,q.$slots.prefix?{name:"prefix",fn:Re(()=>[We(q.$slots,"prefix")]),key:"2"}:void 0,q.$slots.suffix?{name:"suffix",fn:Re(()=>[We(q.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","disabled"])],14,zPe)]),_:3},8,["visible","placement","popper-class","popper-style","teleported","append-to","transition"]))}});var KPe=yt(jPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const UPe=fn(KPe),EM=pt({size:{type:[Number,String],values:Ec,validator:e=>$t(e)},shape:{type:String,values:["circle","square"]},icon:{type:mr},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:ke(String),default:"cover"}}),qPe={error:e=>e instanceof Event},Vse=Symbol("avatarGroupContextKey"),YPe=["src","alt","srcset"],JPe=Ve({name:"ElAvatar",__name:"avatar",props:EM,emits:qPe,setup(e,{emit:t}){const n=e,r=t,a=lt(Vse,void 0),i=at("avatar"),o=j(!1),l=R(()=>{var p;return(p=n.size)!=null?p:a==null?void 0:a.size}),s=R(()=>{var p,h;return(h=(p=n.shape)!=null?p:a==null?void 0:a.shape)!=null?h:"circle"}),u=R(()=>{const{icon:p}=n,h=[i.b()];return Bt(l.value)&&h.push(i.m(l.value)),p&&h.push(i.m("icon")),s.value&&h.push(i.m(s.value)),h}),c=R(()=>$t(l.value)?i.cssVarBlock({size:fa(l.value)}):void 0),d=R(()=>({objectFit:n.fit}));$e(()=>n.src,()=>o.value=!1);function f(p){o.value=!0,r("error",p)}return(p,h)=>(H(),le("span",{class:J(u.value),style:Pt(c.value)},[(p.src||p.srcSet)&&!o.value?(H(),le("img",{key:0,src:p.src,alt:p.alt,srcset:p.srcSet,style:Pt(d.value),onError:f},null,44,YPe)):p.icon?(H(),Ue(F(Rt),{key:1},{default:Re(()=>[(H(),Ue(ln(p.icon)))]),_:1})):We(p.$slots,"default",{key:2})],6))}});var Hse=yt(JPe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const XPe=pt({size:EM.size,shape:EM.shape,collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:ke(String),default:"light"},placement:{type:ke(String),values:Sc,default:"top"},popperClass:pr.popperClass,popperStyle:pr.popperStyle,collapseClass:String,collapseStyle:{type:ke([String,Array,Object])}});var zse=Ve({name:"ElAvatarGroup",props:XPe,setup(e,{slots:t}){const n=at("avatar-group");return Qt(Vse,dn({size:Qn(e,"size"),shape:Qn(e,"shape")})),()=>{var r,a;const i=xl((a=(r=t.default)==null?void 0:r.call(t))!=null?a:[]);let o=i;if(e.collapseAvatars&&i.length>e.maxCollapseAvatars){o=i.slice(0,e.maxCollapseAvatars);const s=i.slice(e.maxCollapseAvatars);o.push(be(gi,{popperClass:e.popperClass,popperStyle:e.popperStyle,placement:e.placement,effect:e.effect,disabled:!e.collapseAvatarsTooltip},{default:()=>be(Hse,{size:e.size,shape:e.shape,class:e.collapseClass,style:e.collapseStyle},{default:()=>[Cn("+ "),s.length]}),content:()=>be("div",{class:n.e("collapse-avatars")},[s.map((u,c)=>{var d;return sr(u)?fs(u,{key:(d=u.key)!=null?d:c}):u})])}))}return be("div",{class:n.b()},[o])}}});const ZPe=fn(Hse,{AvatarGroup:zse});sa(zse);const QPe={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},eIe={click:e=>e instanceof MouseEvent},tIe=(e,t,n)=>{const r=Zn(),a=Zn(),i=j(!1),o=()=>{r.value&&(i.value=r.value.scrollTop>=e.visibilityHeight)},l=u=>{var c;(c=r.value)==null||c.scrollTo({top:0,behavior:"smooth"}),t("click",u)},s=Hle(o,300,!0);return ir(a,"scroll",s),Ut(()=>{var u;a.value=document,r.value=document.documentElement,e.target&&(r.value=(u=document.querySelector(e.target))!=null?u:void 0,r.value||$a(n,`target does not exist: ${e.target}`),a.value=r.value),o()}),{visible:i,handleClick:l}},dW="ElBacktop",nIe=Ve({name:dW,__name:"backtop",props:QPe,emits:eIe,setup(e,{emit:t}){const n=e,r=t,a=at("backtop"),{handleClick:i,visible:o}=tIe(n,r,dW),l=R(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(s,u)=>(H(),Ue(vi,{name:`${F(a).namespace.value}-fade-in`},{default:Re(()=>[F(o)?(H(),le("div",{key:0,style:Pt(l.value),class:J(F(a).b()),onClick:u[0]||(u[0]=Yt((...c)=>F(i)&&F(i)(...c),["stop"]))},[We(s.$slots,"default",{},()=>[be(F(Rt),{class:J(F(a).e("icon"))},{default:Re(()=>[be(F(eRe))]),_:1},8,["class"])])],6)):Pe("v-if",!0)]),_:3},8,["name"]))}});var rIe=yt(nIe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const aIe=fn(rIe),iIe=pt({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:ke([String,Object,Array])},offset:{type:ke(Array),default:[0,0]},badgeClass:{type:String}}),oIe=Ve({name:"ElBadge",__name:"badge",props:iIe,setup(e,{expose:t}){const n=e,r=at("badge"),a=R(()=>n.isDot?"":$t(n.value)&&$t(n.max)?n.max{var o;return[{backgroundColor:n.color,marginRight:fa(-n.offset[0]),marginTop:fa(n.offset[1])},(o=n.badgeStyle)!=null?o:{}]});return t({content:a}),(o,l)=>(H(),le("div",{class:J(F(r).b())},[We(o.$slots,"default"),be(vi,{name:`${F(r).namespace.value}-zoom-in-center`,persisted:""},{default:Re(()=>[hn(ye("sup",{class:J([F(r).e("content"),F(r).em("content",o.type),F(r).is("fixed",!!o.$slots.default),F(r).is("dot",o.isDot),F(r).is("hide-zero",!o.showZero&&o.value===0),o.badgeClass]),style:Pt(i.value)},[We(o.$slots,"content",{value:a.value},()=>[Cn(ft(a.value),1)])],6),[[In,!o.hidden&&(a.value||o.isDot||o.$slots.content)]])]),_:3},8,["name"])],2))}});var lIe=yt(oIe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const Wse=fn(lIe),Gse=Symbol("breadcrumbKey"),sIe=pt({separator:{type:String,default:"/"},separatorIcon:{type:mr}}),uIe=["aria-label"],cIe=Ve({name:"ElBreadcrumb",__name:"breadcrumb",props:sIe,setup(e){const{t}=xn(),n=e,r=at("breadcrumb"),a=j();return Qt(Gse,n),Ut(()=>{const i=a.value.querySelectorAll(`.${r.e("item")}`);i.length&&i[i.length-1].setAttribute("aria-current","page")}),(i,o)=>(H(),le("div",{ref_key:"breadcrumb",ref:a,class:J(F(r).b()),"aria-label":F(t)("el.breadcrumb.label"),role:"navigation"},[We(i.$slots,"default")],10,uIe))}});var dIe=yt(cIe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const fIe=pt({to:{type:ke([String,Object]),default:""},replace:Boolean}),pIe=Ve({name:"ElBreadcrumbItem",__name:"breadcrumb-item",props:fIe,setup(e){const t=e,n=Jt(),r=lt(Gse,void 0),a=at("breadcrumb"),i=n.appContext.config.globalProperties.$router,o=()=>{!t.to||!i||(t.replace?i.replace(t.to):i.push(t.to))};return(l,s)=>{var u,c;return H(),le("span",{class:J(F(a).e("item"))},[ye("span",{class:J([F(a).e("inner"),F(a).is("link",!!l.to)]),role:"link",onClick:o},[We(l.$slots,"default")],2),(u=F(r))!=null&&u.separatorIcon?(H(),Ue(F(Rt),{key:0,class:J(F(a).e("separator"))},{default:Re(()=>[(H(),Ue(ln(F(r).separatorIcon)))]),_:1},8,["class"])):(H(),le("span",{key:1,class:J(F(a).e("separator")),role:"presentation"},ft((c=F(r))==null?void 0:c.separator),3))],2)}}});var jse=yt(pIe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const hIe=fn(dIe,{BreadcrumbItem:jse}),mIe=sa(jse),Kse=Symbol("buttonGroupContextKey"),Qu=({from:e,replacement:t,scope:n,version:r,ref:a,type:i="API"},o)=>{$e(()=>F(o),l=>{},{immediate:!0})},vIe=(e,t)=>{Qu({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},R(()=>e.type==="text"));const n=lt(Kse,void 0),r=Q0("button"),{form:a}=Ci(),i=ja(R(()=>n==null?void 0:n.size)),o=ha(),l=j(),s=pa(),u=R(()=>{var g;return e.type||(n==null?void 0:n.type)||((g=r.value)==null?void 0:g.type)||""}),c=R(()=>{var g,b,C;return(C=(b=e.autoInsertSpace)!=null?b:(g=r.value)==null?void 0:g.autoInsertSpace)!=null?C:!1}),d=R(()=>{var g,b,C;return(C=(b=e.plain)!=null?b:(g=r.value)==null?void 0:g.plain)!=null?C:!1}),f=R(()=>{var g,b,C;return(C=(b=e.round)!=null?b:(g=r.value)==null?void 0:g.round)!=null?C:!1}),p=R(()=>{var g,b,C;return(C=(b=e.text)!=null?b:(g=r.value)==null?void 0:g.text)!=null?C:!1}),h=R(()=>e.tag==="button"?{ariaDisabled:o.value||e.loading,disabled:o.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),m=R(()=>{var g;const b=(g=s.default)==null?void 0:g.call(s);if(c.value&&(b==null?void 0:b.length)===1){const C=b[0];if((C==null?void 0:C.type)===Gs){const y=C.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(y.trim())}}return!1});return{_disabled:o,_size:i,_type:u,_ref:l,_props:h,_plain:d,_round:f,_text:p,shouldAddSpace:m,handleClick:g=>{if(o.value||e.loading){g.stopPropagation();return}e.nativeType==="reset"&&(a==null||a.resetFields()),t("click",g)}}},wM=["default","primary","success","warning","info","danger","text",""],gIe=["button","submit","reset"],SM=pt({size:Xa,disabled:{type:Boolean,default:void 0},type:{type:String,values:wM,default:""},icon:{type:mr},nativeType:{type:String,values:gIe,default:"button"},loading:Boolean,loadingIcon:{type:mr,default:()=>pc},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,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:ke([String,Object]),default:"button"}}),yIe={click:e=>e instanceof MouseEvent};function ji(e,t){bIe(e)&&(e="100%");var n=CIe(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function i8(e){return Math.min(1,Math.max(0,e))}function bIe(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function CIe(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Use(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function o8(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Rh(e){return e.length===1?"0"+e:String(e)}function FIe(e,t,n){return{r:ji(e,255)*255,g:ji(t,255)*255,b:ji(n,255)*255}}function fW(e,t,n){e=ji(e,255),t=ji(t,255),n=ji(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=0,l=(r+a)/2;if(r===a)o=0,i=0;else{var s=r-a;switch(o=l>.5?s/(2-r-a):s/(r+a),r){case e:i=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function EIe(e,t,n){var r,a,i;if(e=ji(e,360),t=ji(t,100),n=ji(n,100),t===0)a=n,i=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,l=2*n-o;r=$E(l,o,e+1/3),a=$E(l,o,e),i=$E(l,o,e-1/3)}return{r:r*255,g:a*255,b:i*255}}function pW(e,t,n){e=ji(e,255),t=ji(t,255),n=ji(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=r,l=r-a,s=r===0?0:l/r;if(r===a)i=0;else{switch(r){case e:i=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var AM={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 TIe(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,o=!1,l=!1;return typeof e=="string"&&(e=xIe(e)),typeof e=="object"&&(Oc(e.r)&&Oc(e.g)&&Oc(e.b)?(t=FIe(e.r,e.g,e.b),o=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Oc(e.h)&&Oc(e.s)&&Oc(e.v)?(r=o8(e.s),a=o8(e.v),t=wIe(e.h,r,a),o=!0,l="hsv"):Oc(e.h)&&Oc(e.s)&&Oc(e.l)&&(r=o8(e.s),i=o8(e.l),t=EIe(e.h,r,i),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Use(n),{ok:o,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var kIe="[-\\+]?\\d+%?",_Ie="[-\\+]?\\d*\\.\\d+%?",Tf="(?:".concat(_Ie,")|(?:").concat(kIe,")"),VE="[\\s|\\(]+(".concat(Tf,")[,|\\s]+(").concat(Tf,")[,|\\s]+(").concat(Tf,")\\s*\\)?"),HE="[\\s|\\(]+(".concat(Tf,")[,|\\s]+(").concat(Tf,")[,|\\s]+(").concat(Tf,")[,|\\s]+(").concat(Tf,")\\s*\\)?"),Ms={CSS_UNIT:new RegExp(Tf),rgb:new RegExp("rgb"+VE),rgba:new RegExp("rgba"+HE),hsl:new RegExp("hsl"+VE),hsla:new RegExp("hsla"+HE),hsv:new RegExp("hsv"+VE),hsva:new RegExp("hsva"+HE),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 xIe(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(AM[e])e=AM[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ms.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ms.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ms.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ms.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ms.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ms.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ms.hex8.exec(e),n?{r:wl(n[1]),g:wl(n[2]),b:wl(n[3]),a:mW(n[4]),format:t?"name":"hex8"}:(n=Ms.hex6.exec(e),n?{r:wl(n[1]),g:wl(n[2]),b:wl(n[3]),format:t?"name":"hex"}:(n=Ms.hex4.exec(e),n?{r:wl(n[1]+n[1]),g:wl(n[2]+n[2]),b:wl(n[3]+n[3]),a:mW(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ms.hex3.exec(e),n?{r:wl(n[1]+n[1]),g:wl(n[2]+n[2]),b:wl(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Oc(e){return!!Ms.CSS_UNIT.exec(String(e))}var c1=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=DIe(t)),this.originalInput=t;var a=TIe(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,i=t.r/255,o=t.g/255,l=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),l<=.03928?a=l/12.92:a=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Use(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=pW(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=pW(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=fW(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=fW(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),hW(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),SIe(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(ji(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(ji(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+hW(this.r,this.g,this.b,!1),n=0,r=Object.entries(AM);n=0,i=!n&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=i8(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=i8(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=i8(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=i8(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),i=n/100,o={r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,i=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,i=n.v,o=[],l=1/t;t--;)o.push(new e({h:r,s:a,v:i})),i=(i+l)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],i=360/t,o=1;o{let r={},a=e.color;if(a){const i=a.match(/var\((.*?)\)/);i&&(a=window.getComputedStyle(window.document.documentElement).getPropertyValue(i[1]));const o=new c1(a),l=e.dark?o.tint(20).toString():Ud(o,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Ud(o,90):o.tint(90).toString(),"text-color":a,"border-color":e.dark?Ud(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":l,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":l}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Ud(o,90):o.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Ud(o,50):o.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Ud(o,80):o.tint(80).toString());else{const s=e.dark?Ud(o,30):o.tint(30).toString(),u=o.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":a,"text-color":u,"border-color":a,"hover-bg-color":s,"hover-text-color":u,"hover-border-color":s,"active-bg-color":l,"active-border-color":l}),t.value){const c=e.dark?Ud(o,50):o.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=c,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=c}}}return r})}const BIe=Ve({name:"ElButton",__name:"button",props:SM,emits:yIe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=MIe(r),o=at("button"),{_ref:l,_size:s,_type:u,_disabled:c,_props:d,_plain:f,_round:p,_text:h,shouldAddSpace:m,handleClick:v}=vIe(r,a),g=R(()=>[o.b(),o.m(u.value),o.m(s.value),o.is("disabled",c.value),o.is("loading",r.loading),o.is("plain",f.value),o.is("round",p.value),o.is("circle",r.circle),o.is("text",h.value),o.is("link",r.link),o.is("has-bg",r.bg)]);return t({ref:l,size:s,type:u,disabled:c,shouldAddSpace:m}),(b,C)=>(H(),Ue(ln(b.tag),tn({ref_key:"_ref",ref:l},F(d),{class:g.value,style:F(i),onClick:F(v)}),{default:Re(()=>[b.loading?(H(),le(kt,{key:0},[b.$slots.loading?We(b.$slots,"loading",{key:0}):(H(),Ue(F(Rt),{key:1,class:J(F(o).is("loading"))},{default:Re(()=>[(H(),Ue(ln(b.loadingIcon)))]),_:1},8,["class"]))],64)):b.icon||b.$slots.icon?(H(),Ue(F(Rt),{key:1},{default:Re(()=>[b.icon?(H(),Ue(ln(b.icon),{key:0})):We(b.$slots,"icon",{key:1})]),_:3})):Pe("v-if",!0),b.$slots.default?(H(),le("span",{key:2,class:J({[F(o).em("text","expand")]:F(m)})},[We(b.$slots,"default")],2)):Pe("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var RIe=yt(BIe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const LIe={size:SM.size,type:SM.type,direction:{type:ke(String),values:["horizontal","vertical"],default:"horizontal"}},OIe=Ve({name:"ElButtonGroup",__name:"button-group",props:LIe,setup(e){const t=e;Qt(Kse,dn({size:Qn(t,"size"),type:Qn(t,"type")}));const n=at("button");return(r,a)=>(H(),le("div",{class:J([F(n).b("group"),F(n).bm("group",t.direction)])},[We(r.$slots,"default")],2))}});var qse=yt(OIe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ci=fn(RIe,{ButtonGroup:qse}),Yse=sa(qse);var vW=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function pu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function PIe(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var a=!1;try{a=this instanceof r}catch(i){}return a?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var P3={exports:{}},IIe=P3.exports,gW;function NIe(){return gW||(gW=1,(function(e,t){(function(n,r){e.exports=r()})(IIe,(function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",l="minute",s="hour",u="day",c="week",d="month",f="quarter",p="year",h="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|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(L){var I=["th","st","nd","rd"],P=L%100;return"["+L+(I[(P-20)%10]||I[P]||I[0])+"]"}},C=function(L,I,P){var B=String(L);return!B||B.length>=I?L:""+Array(I+1-B.length).join(P)+L},y={s:C,z:function(L){var I=-L.utcOffset(),P=Math.abs(I),B=Math.floor(P/60),T=P%60;return(I<=0?"+":"-")+C(B,2,"0")+":"+C(T,2,"0")},m:function L(I,P){if(I.date()1)return L(N[0])}else{var V=I.name;w[V]=I,T=V}return!B&&T&&(E=T),T||!B&&E},k=function(L,I){if(A(L))return L.clone();var P=typeof I=="object"?I:{};return P.date=L,P.args=arguments,new _(P)},x=y;x.l=D,x.i=A,x.w=function(L,I){return k(L,{locale:I.$L,utc:I.$u,x:I.$x,$offset:I.$offset})};var _=(function(){function L(P){this.$L=D(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[S]=!0}var I=L.prototype;return I.parse=function(P){this.$d=(function(B){var T=B.date,O=B.utc;if(T===null)return new Date(NaN);if(x.u(T))return new Date;if(T instanceof Date)return new Date(T);if(typeof T=="string"&&!/Z$/i.test(T)){var N=T.match(v);if(N){var V=N[2]-1||0,Y=(N[7]||"0").substring(0,3);return O?new Date(Date.UTC(N[1],V,N[3]||1,N[4]||0,N[5]||0,N[6]||0,Y)):new Date(N[1],V,N[3]||1,N[4]||0,N[5]||0,N[6]||0,Y)}}return new Date(T)})(P),this.init()},I.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},I.$utils=function(){return x},I.isValid=function(){return this.$d.toString()!==m},I.isSame=function(P,B){var T=k(P);return this.startOf(B)<=T&&T<=this.endOf(B)},I.isAfter=function(P,B){return k(P)[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),Jse=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),Xse=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),yW=function(e,t){const n=Jf(e),r=Jf(t);return n&&r?e.getTime()===t.getTime():!n&&!r?e===t:!1},Zse=function(e,t){const n=st(e),r=st(t);return n&&r?e.length!==t.length?!1:e.every((a,i)=>yW(a,t[i])):!n&&!r?yW(e,t):!1},bW=function(e,t,n){const r=Bo(t)||t==="x"?un(e).locale(n):un(e,t).locale(n);return r.isValid()?r:void 0},CW=function(e,t,n){return Bo(t)?e:t==="x"?+e:un(e).locale(n).format(t)},WE=(e,t)=>{var n;const r=[],a=t==null?void 0:t();for(let i=0;ist(e)?e.map(t=>t.toDate()):e.toDate(),VIe=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return Hf(t).map((r,a)=>n-(t-a-1))},HIe=e=>{const t=e.daysInMonth();return Hf(t).map((n,r)=>r+1)},zIe=e=>Hf(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),WIe=pt({selectedDay:{type:ke(Object)},range:{type:ke(Array)},date:{type:ke(Object),required:!0},hideHeader:{type:Boolean}}),GIe={pick:e=>mn(e)};var N3={exports:{}},jIe=N3.exports,FW;function KIe(){return FW||(FW=1,(function(e,t){(function(n,r){e.exports=r()})(jIe,(function(){return function(n,r,a){var i=r.prototype,o=function(d){return d&&(d.indexOf?d:d.s)},l=function(d,f,p,h,m){var v=d.name?d:d.$locale(),g=o(v[f]),b=o(v[p]),C=g||b.map((function(E){return E.slice(0,h)}));if(!m)return C;var y=v.weekStart;return C.map((function(E,w){return C[(w+(y||0))%7]}))},s=function(){return a.Ls[a.locale()]},u=function(d,f){return d.formats[f]||(function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(h,m,v){return m||v.slice(1)}))})(d.formats[f.toUpperCase()])},c=function(){var d=this;return{months:function(f){return f?f.format("MMMM"):l(d,"months")},monthsShort:function(f){return f?f.format("MMM"):l(d,"monthsShort","months",3)},firstDayOfWeek:function(){return d.$locale().weekStart||0},weekdays:function(f){return f?f.format("dddd"):l(d,"weekdays")},weekdaysMin:function(f){return f?f.format("dd"):l(d,"weekdaysMin","weekdays",2)},weekdaysShort:function(f){return f?f.format("ddd"):l(d,"weekdaysShort","weekdays",3)},longDateFormat:function(f){return u(d.$locale(),f)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return c.bind(this)()},a.localeData=function(){var d=s();return{firstDayOfWeek:function(){return d.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(f){return u(d,f)},meridiem:d.meridiem,ordinal:d.ordinal}},a.months=function(){return l(s(),"months")},a.monthsShort=function(){return l(s(),"monthsShort","months",3)},a.weekdays=function(d){return l(s(),"weekdays",null,null,d)},a.weekdaysShort=function(d){return l(s(),"weekdaysShort","weekdays",3,d)},a.weekdaysMin=function(d){return l(s(),"weekdaysMin","weekdays",2,d)}}}))})(N3)),N3.exports}var UIe=KIe();const Qse=pu(UIe),qIe=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],GE=["sun","mon","tue","wed","thu","fri","sat"],YIe=(e,t)=>{un.extend(Qse);const n=un.localeData().firstDayOfWeek(),{t:r,lang:a}=xn(),i=un().locale(a.value),o=R(()=>!!e.range&&!!e.range.length),l=R(()=>{let f=[];if(o.value){const[p,h]=e.range,m=Hf(h.date()-p.date()+1).map(b=>({text:p.date()+b,type:"current"}));let v=m.length%7;v=v===0?0:7-v;const g=Hf(v).map((b,C)=>({text:C+1,type:"next"}));f=m.concat(g)}else{const p=e.date.startOf("month").day(),h=VIe(e.date,(p-n+7)%7).map(b=>({text:b,type:"prev"})),m=HIe(e.date).map(b=>({text:b,type:"current"}));f=[...h,...m];const v=7-(f.length%7||7),g=Hf(v).map((b,C)=>({text:C+1,type:"next"}));f=f.concat(g)}return zIe(f)}),s=R(()=>{const f=n;return f===0?GE.map(p=>r(`el.datepicker.weeks.${p}`)):GE.slice(f).concat(GE.slice(0,f)).map(p=>r(`el.datepicker.weeks.${p}`))}),u=(f,p)=>{switch(p){case"prev":return e.date.startOf("month").subtract(1,"month").date(f);case"next":return e.date.startOf("month").add(1,"month").date(f);case"current":return e.date.date(f)}};return{now:i,isInRange:o,rows:l,weekDays:s,getFormattedDate:u,handlePickDay:({text:f,type:p})=>{const h=u(f,p);t("pick",h)},getSlotData:({text:f,type:p})=>{const h=u(f,p);return{isSelected:h.isSame(e.selectedDay),type:`${p}-month`,day:h.format("YYYY-MM-DD"),date:h.toDate()}}}},JIe={key:0},XIe=["onClick"],ZIe=Ve({name:"DateTable",__name:"date-table",props:WIe,emits:GIe,setup(e,{expose:t,emit:n}){const r=e,a=n,{isInRange:i,now:o,rows:l,weekDays:s,getFormattedDate:u,handlePickDay:c,getSlotData:d}=YIe(r,a),f=at("calendar-table"),p=at("calendar-day"),h=({text:m,type:v})=>{const g=[v];if(v==="current"){const b=u(m,v);b.isSame(r.selectedDay,"day")&&g.push(p.is("selected")),b.isSame(o,"day")&&g.push(p.is("today"))}return g};return t({getFormattedDate:u}),(m,v)=>(H(),le("table",{class:J([F(f).b(),F(f).is("range",F(i))]),cellspacing:"0",cellpadding:"0"},[m.hideHeader?Pe("v-if",!0):(H(),le("thead",JIe,[ye("tr",null,[(H(!0),le(kt,null,En(F(s),g=>(H(),le("th",{key:g,scope:"col"},ft(g),1))),128))])])),ye("tbody",null,[(H(!0),le(kt,null,En(F(l),(g,b)=>(H(),le("tr",{key:b,class:J({[F(f).e("row")]:!0,[F(f).em("row","hide-border")]:b===0&&m.hideHeader})},[(H(!0),le(kt,null,En(g,(C,y)=>(H(),le("td",{key:y,class:J(h(C)),onClick:E=>F(c)(C)},[ye("div",{class:J(F(p).b())},[We(m.$slots,"date-cell",{data:F(d)(C)},()=>[ye("span",null,ft(C.text),1)])],2)],10,XIe))),128))],2))),128))])],2))}});var EW=yt(ZIe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const QIe=(e,t)=>{const n=e.endOf("month"),r=t.startOf("month"),i=n.isSame(r,"week")?r.add(1,"week"):r;return[[e,n],[i.startOf("week"),t]]},eNe=(e,t)=>{const n=e.endOf("month"),r=e.add(1,"month").startOf("month"),a=n.isSame(r,"week")?r.add(1,"week"):r,i=a.endOf("month"),o=t.startOf("month"),l=i.isSame(o,"week")?o.add(1,"week"):o;return[[e,n],[a.startOf("week"),i],[l.startOf("week"),t]]},tNe=(e,t,n)=>{const{lang:r}=xn(),a=j(),i=un().locale(r.value),o=R({get(){return e.modelValue?s.value:a.value},set(g){if(!g)return;a.value=g;const b=g.toDate();t(Ga,b),t(nn,b)}}),l=R(()=>{if(!e.range||!st(e.range)||e.range.length!==2||e.range.some(y=>!Jf(y)))return[];const g=e.range.map(y=>un(y).locale(r.value)),[b,C]=g;return b.isAfter(C)?[]:b.isSame(C,"month")?p(b,C):b.add(1,"month").month()!==C.month()?[]:p(b,C)}),s=R(()=>e.modelValue?un(e.modelValue).locale(r.value):o.value||(l.value.length?l.value[0][0]:i)),u=R(()=>s.value.subtract(1,"month").date(1)),c=R(()=>s.value.add(1,"month").date(1)),d=R(()=>s.value.subtract(1,"year").date(1)),f=R(()=>s.value.add(1,"year").date(1)),p=(g,b)=>{const C=g.startOf("week"),y=b.endOf("week"),E=C.get("month"),w=y.get("month");return E===w?[[C,y]]:(E+1)%12===w?QIe(C,y):E+2===w||(E+1)%11===w?eNe(C,y):[]},h=g=>{o.value=g},m=g=>{const C={"prev-month":u.value,"next-month":c.value,"prev-year":d.value,"next-year":f.value,today:i}[g];C.isSame(s.value,"day")||h(C)};return{calculateValidatedDateRange:p,date:s,realSelectedDay:o,pickDay:h,selectDate:m,validatedRange:l,handleDateChange:g=>{g==="today"?m("today"):h(g)}}},nNe=e=>st(e)&&e.length===2&&e.every(t=>Jf(t)),rNe=pt({modelValue:{type:Date},range:{type:ke(Array),validator:nNe},controllerType:{type:String,values:["button","select"],default:"button"},formatter:{type:ke(Function)}}),aNe={[nn]:e=>Jf(e),[Ga]:e=>Jf(e)},Td=pt({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Ec},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),iNe={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},oNe=["aria-label"],lNe=["aria-label"],sNe=Ve({name:"ElTag",__name:"tag",props:Td,emits:iNe,setup(e,{emit:t}){const n=e,r=t,a=ja(),{t:i}=xn(),o=at("tag"),l=R(()=>{const{type:d,hit:f,effect:p,closable:h,round:m}=n;return[o.b(),o.is("closable",h),o.m(d||"primary"),o.m(a.value),o.m(p),o.is("hit",f),o.is("round",m)]}),s=d=>{r("close",d)},u=d=>{r("click",d)},c=d=>{var f,p,h;(h=(p=(f=d==null?void 0:d.component)==null?void 0:f.subTree)==null?void 0:p.component)!=null&&h.bum&&(d.component.subTree.component.bum=null)};return(d,f)=>d.disableTransitions?(H(),le("span",{key:0,class:J(l.value),style:Pt({backgroundColor:d.color}),onClick:u},[ye("span",{class:J(F(o).e("content"))},[We(d.$slots,"default")],2),d.closable?(H(),le("button",{key:0,"aria-label":F(i)("el.tag.close"),class:J(F(o).e("close")),type:"button",onClick:Yt(s,["stop"])},[be(F(Rt),null,{default:Re(()=>[be(F(hs))]),_:1})],10,oNe)):Pe("v-if",!0)],6)):(H(),Ue(vi,{key:1,name:`${F(o).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:c},{default:Re(()=>[ye("span",{class:J(l.value),style:Pt({backgroundColor:d.color}),onClick:u},[ye("span",{class:J(F(o).e("content"))},[We(d.$slots,"default")],2),d.closable?(H(),le("button",{key:0,"aria-label":F(i)("el.tag.close"),class:J(F(o).e("close")),type:"button",onClick:Yt(s,["stop"])},[be(F(Rt),null,{default:Re(()=>[be(F(hs))]),_:1})],10,lNe)):Pe("v-if",!0)],6)]),_:3},8,["name"]))}});var uNe=yt(sNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const hd=fn(uNe),l6={label:"label",value:"value",disabled:"disabled",options:"options"};function j5(e){const t=j(Te(Te({},l6),e.props));let n=Te({},e.props);return $e(()=>e.props,l=>{ma(l,n)||(t.value=Te(Te({},l6),l),n=Te({},l))},{deep:!0}),{aliasProps:t,getLabel:l=>Ia(l,t.value.label),getValue:l=>Ia(l,t.value.value),getDisabled:l=>Ia(l,t.value.disabled),getOptions:l=>Ia(l,t.value.options)}}const eue=Symbol("ElSelectGroup"),K5=Symbol("ElSelect"),DM="ElOption",cNe=pt({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean}),uP=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),Ef=e=>G0(e);function dNe(e,t){const n=lt(K5);n||$a(DM,"usage: ");const r=lt(eue,{disabled:!1}),a=R(()=>c(pi(n.props.modelValue),e.value)),i=R(()=>{var p;if(n.props.multiple){const h=pi((p=n.props.modelValue)!=null?p:[]);return!a.value&&h.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),o=R(()=>{var p;return(p=e.label)!=null?p:mn(e.value)?"":e.value}),l=R(()=>e.value||e.label||""),s=R(()=>e.disabled||t.groupDisabled||i.value),u=Jt(),c=(p=[],h)=>{if(mn(e.value)){const m=n.props.valueKey;return p&&p.some(v=>dr(Ia(v,m))===Ia(h,m))}else return p&&p.includes(h)},d=()=>{s.value||(n.states.hoveringIndex=n.optionsArray.indexOf(u.proxy))},f=p=>{const h=new RegExp(uP(p),"i");t.visible=h.test(String(o.value))||e.created};return $e(()=>o.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),$e(()=>e.value,(p,h)=>{const{remote:m,valueKey:v}=n.props;if((m?p!==h:!ma(p,h))&&(n.onOptionDestroy(h,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!m){if(v&&mn(p)&&mn(h)&&p[v]===h[v])return;n.setSelected()}}),$e(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:o,currentValue:l,itemSelected:a,isDisabled:s,hoverItem:d,updateOption:f}}const fNe=Ve({name:DM,componentName:DM,props:cNe,setup(e){const t=at("select"),n=Li(),r=R(()=>[t.be("dropdown","item"),t.is("disabled",F(l)),t.is("selected",F(o)),t.is("hovering",F(f))]),a=dn({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:i,itemSelected:o,isDisabled:l,select:s,hoverItem:u,updateOption:c}=dNe(e,a),{visible:d,hover:f}=Na(a),p=Jt().proxy;s.onOptionCreate(p),Vn(()=>{const m=p.value;Oe(()=>{const{selected:v}=s.states,g=v.some(b=>b.value===p.value);s.states.cachedOptions.get(m)===p&&!g&&s.states.cachedOptions.delete(m)}),s.onOptionDestroy(m,p)});function h(){l.value||s.handleOptionSelect(p)}return{ns:t,id:n,containerKls:r,currentLabel:i,itemSelected:o,isDisabled:l,select:s,visible:d,hover:f,states:a,hoverItem:u,updateOption:c,selectOptionClick:h}}}),pNe=["id","aria-disabled","aria-selected"];function hNe(e,t,n,r,a,i){return hn((H(),le("li",{id:e.id,class:J(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:t[0]||(t[0]=(...o)=>e.hoverItem&&e.hoverItem(...o)),onClick:t[1]||(t[1]=Yt((...o)=>e.selectOptionClick&&e.selectOptionClick(...o),["stop"]))},[We(e.$slots,"default",{},()=>[ye("span",null,ft(e.currentLabel),1)])],42,pNe)),[[In,e.visible]])}var cP=yt(fNe,[["render",hNe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const k9=11,tue=2,mNe=Ve({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=lt(K5),t=at("select"),n=R(()=>e.props.popperClass),r=R(()=>e.props.multiple),a=R(()=>e.props.fitInputWidth),i=j("");function o(){var l;const s=(l=e.selectRef)==null?void 0:l.offsetWidth;s?i.value=`${s-tue}px`:i.value=""}return Ut(()=>{o(),zr(e.selectRef,o)}),{ns:t,minWidth:i,popperClass:n,isMultiple:r,isFitInputWidth:a}}});function vNe(e,t,n,r,a,i){return H(),le("div",{class:J([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Pt({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(H(),le("div",{key:0,class:J(e.ns.be("dropdown","header"))},[We(e.$slots,"header")],2)):Pe("v-if",!0),We(e.$slots,"default"),e.$slots.footer?(H(),le("div",{key:1,class:J(e.ns.be("dropdown","footer"))},[We(e.$slots,"footer")],2)):Pe("v-if",!0)],6)}var gNe=yt(mNe,[["render",vNe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);const yNe=(e,t)=>{const{t:n}=xn(),r=pa(),a=Li(),i=at("select"),o=at("input"),l=dn({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),s=j(),u=j(),c=j(),d=j(),f=j(),p=j(),h=j(),m=j(),v=j(),g=j(),b=j(),C=j(!1),y=j(),E=j(!1),{form:w,formItem:S}=Ci(),{inputId:A}=Nl(e,{formItemContext:S}),{valueOnClear:D,isEmptyValue:k}=I5(e),{isComposing:x,handleCompositionStart:_,handleCompositionUpdate:M,handleCompositionEnd:L}=z5({afterComposition:ut=>Ge(ut)}),I=ha(),{wrapperRef:P,isFocused:B,handleBlur:T}=Id(f,{disabled:I,afterFocus(){e.automaticDropdown&&!C.value&&(C.value=!0,l.menuVisibleOnFocus=!0)},beforeBlur(ut){var Vt,bn;return((Vt=c.value)==null?void 0:Vt.isFocusInsideContent(ut))||((bn=d.value)==null?void 0:bn.isFocusInsideContent(ut))},afterBlur(){var ut;C.value=!1,l.menuVisibleOnFocus=!1,e.validateEvent&&((ut=S==null?void 0:S.validate)==null||ut.call(S,"blur").catch(Vt=>void 0))}}),O=R(()=>st(e.modelValue)?e.modelValue.length>0:!k(e.modelValue)),N=R(()=>{var ut;return(ut=w==null?void 0:w.statusIcon)!=null?ut:!1}),V=R(()=>e.clearable&&!I.value&&O.value&&(B.value||l.inputHovering)),Y=R(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),z=R(()=>i.is("reverse",!!(Y.value&&C.value))),ee=R(()=>(S==null?void 0:S.validateState)||""),ae=R(()=>ee.value&&S9[ee.value]),pe=R(()=>e.remote?e.debounce:0),re=R(()=>e.remote&&!l.inputValue&&l.options.size===0),Q=R(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&l.inputValue&&l.options.size>0&&ie.value===0?e.noMatchText||n("el.select.noMatch"):l.options.size===0?e.noDataText||n("el.select.noData"):null),ie=R(()=>X.value.filter(ut=>ut.visible).length),X=R(()=>{const ut=Array.from(l.options.values()),Vt=[];return l.optionValues.forEach(bn=>{const cr=ut.findIndex(kr=>kr.value===bn);cr>-1&&Vt.push(ut[cr])}),Vt.length>=ut.length?Vt:ut}),q=R(()=>Array.from(l.cachedOptions.values())),ce=R(()=>{const ut=X.value.filter(Vt=>!Vt.created).some(Vt=>Vt.currentLabel===l.inputValue);return e.filterable&&e.allowCreate&&l.inputValue!==""&&!ut}),K=()=>{e.filterable&&Lt(e.filterMethod)||e.filterable&&e.remote&&Lt(e.remoteMethod)||X.value.forEach(ut=>{var Vt;(Vt=ut.updateOption)==null||Vt.call(ut,l.inputValue)})},Z=ja(),se=R(()=>["small"].includes(Z.value)?"small":"default"),Fe=R({get(){return C.value&&(e.loading||!re.value||e.remote&&!!r.empty)&&(!E.value||!Bo(l.previousQuery))},set(ut){C.value=ut}}),me=R(()=>{if(e.multiple&&!On(e.modelValue))return pi(e.modelValue).length===0&&!l.inputValue;const ut=st(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||On(ut)?!l.inputValue:!0}),te=R(()=>{var ut;const Vt=(ut=e.placeholder)!=null?ut:n("el.select.placeholder");return e.multiple||!O.value?Vt:l.selectedLabel}),ue=R(()=>a6?null:"mouseenter");$e(()=>e.modelValue,(ut,Vt)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(l.inputValue="",Se("")),Ne(),!ma(ut,Vt)&&e.validateEvent&&(S==null||S.validate("change").catch(bn=>void 0))},{flush:"post",deep:!0}),$e(()=>C.value,ut=>{ut?Se(l.inputValue):(l.inputValue="",l.previousQuery=null,l.isBeforeHide=!0)}),$e(()=>l.options.entries(),()=>{Yn&&(Ne(),e.defaultFirstOption&&(e.filterable||e.remote)&&ie.value&&Ae())},{flush:"post"}),$e([()=>l.hoveringIndex,X],([ut])=>{$t(ut)&&ut>-1?y.value=X.value[ut]||{}:y.value={},X.value.forEach(Vt=>{Vt.hover=y.value===Vt})}),No(()=>{l.isBeforeHide||K()});const Se=ut=>{l.previousQuery===ut||x.value||(l.previousQuery=ut,e.filterable&&Lt(e.filterMethod)?e.filterMethod(ut):e.filterable&&e.remote&&Lt(e.remoteMethod)&&e.remoteMethod(ut),e.defaultFirstOption&&(e.filterable||e.remote)&&ie.value?Oe(Ae):Oe(De))},Ae=()=>{const ut=X.value.filter(kr=>kr.visible&&!kr.disabled&&!kr.states.groupDisabled),Vt=ut.find(kr=>kr.created),bn=ut[0],cr=X.value.map(kr=>kr.value);l.hoveringIndex=Xe(cr,Vt||bn)},Ne=()=>{if(e.multiple)l.selectedLabel="";else{const Vt=st(e.modelValue)?e.modelValue[0]:e.modelValue,bn=je(Vt);l.selectedLabel=bn.currentLabel,l.selected=[bn];return}const ut=[];On(e.modelValue)||pi(e.modelValue).forEach(Vt=>{ut.push(je(Vt))}),l.selected=ut},je=ut=>{let Vt;const bn=Sm(ut);for(let Sa=l.cachedOptions.size-1;Sa>=0;Sa--){const Nr=q.value[Sa];if(bn?Ia(Nr.value,e.valueKey)===Ia(ut,e.valueKey):Nr.value===ut){Vt={index:X.value.filter(Ba=>!Ba.created).indexOf(Nr),value:ut,currentLabel:Nr.currentLabel,get isDisabled(){return Nr.isDisabled}};break}}if(Vt)return Vt;const cr=bn?ut.label:ut!=null?ut:"";return{index:-1,value:ut,currentLabel:cr}},De=()=>{const ut=l.selected.length;if(ut>0){const Vt=l.selected[ut-1];l.hoveringIndex=X.value.findIndex(bn=>Nn(Vt)===Nn(bn))}else l.hoveringIndex=-1},he=()=>{l.selectionWidth=Number.parseFloat(window.getComputedStyle(u.value).width)},He=()=>{l.collapseItemWidth=g.value.getBoundingClientRect().width},xe=()=>{var ut,Vt;(Vt=(ut=c.value)==null?void 0:ut.updatePopper)==null||Vt.call(ut)},qe=()=>{var ut,Vt;(Vt=(ut=d.value)==null?void 0:ut.updatePopper)==null||Vt.call(ut)},ve=()=>{l.inputValue.length>0&&!C.value&&(C.value=!0),Se(l.inputValue)},Ge=ut=>{if(l.inputValue=ut.target.value,e.remote)E.value=!0,Ke();else return ve()},Ke=L5(()=>{ve(),E.value=!1},pe),rt=ut=>{ma(e.modelValue,ut)||t(An,ut)},nt=ut=>Rle(ut,Vt=>{const bn=l.cachedOptions.get(Vt);return!(bn!=null&&bn.disabled)&&!(bn!=null&&bn.states.groupDisabled)}),ze=ut=>{const Vt=Er(ut);if(e.multiple&&Vt!==dt.delete&&ut.target.value.length<=0){const bn=pi(e.modelValue).slice(),cr=nt(bn);if(cr<0)return;const kr=bn[cr];bn.splice(cr,1),t(nn,bn),rt(bn),t("remove-tag",kr)}},Ie=(ut,Vt)=>{const bn=l.selected.indexOf(Vt);if(bn>-1&&!I.value){const cr=pi(e.modelValue).slice();cr.splice(bn,1),t(nn,cr),rt(cr),t("remove-tag",Vt.value)}ut.stopPropagation(),ct()},ge=ut=>{ut.stopPropagation();const Vt=e.multiple?[]:D.value;if(e.multiple)for(const bn of l.selected)bn.isDisabled&&Vt.push(bn.value);t(nn,Vt),rt(Vt),l.hoveringIndex=-1,C.value=!1,t("clear"),ct()},oe=ut=>{var Vt;if(e.multiple){const bn=pi((Vt=e.modelValue)!=null?Vt:[]).slice(),cr=Xe(bn,ut);cr>-1?bn.splice(cr,1):(e.multipleLimit<=0||bn.length{it(ut)})},Xe=(ut,Vt)=>On(Vt)?-1:mn(Vt.value)?ut.findIndex(bn=>ma(Ia(bn,e.valueKey),Nn(Vt))):ut.indexOf(Vt.value),it=ut=>{var Vt,bn,cr,kr,Sa;const Nr=st(ut)?ut[ut.length-1]:ut;let Ur=null;if(!Ma(Nr==null?void 0:Nr.value)){const Ba=X.value.filter(Za=>Za.value===Nr.value);Ba.length>0&&(Ur=Ba[0].$el)}if(c.value&&Ur){const Ba=(kr=(cr=(bn=(Vt=c.value)==null?void 0:Vt.popperRef)==null?void 0:bn.contentRef)==null?void 0:cr.querySelector)==null?void 0:kr.call(cr,`.${i.be("dropdown","wrap")}`);Ba&&GO(Ba,Ur)}(Sa=b.value)==null||Sa.handleScroll()},xt=ut=>{l.options.set(ut.value,ut),l.cachedOptions.set(ut.value,ut)},Ee=(ut,Vt)=>{l.options.get(ut)===Vt&&l.options.delete(ut)},pn=R(()=>{var ut,Vt;return(Vt=(ut=c.value)==null?void 0:ut.popperRef)==null?void 0:Vt.contentRef}),Qe=()=>{l.isBeforeHide=!1,Oe(()=>{var ut;(ut=b.value)==null||ut.update(),it(l.selected)})},ct=()=>{var ut;(ut=f.value)==null||ut.focus()},gt=()=>{var ut;if(C.value){C.value=!1,Oe(()=>{var Vt;return(Vt=f.value)==null?void 0:Vt.blur()});return}(ut=f.value)==null||ut.blur()},an=ut=>{ge(ut)},Wt=ut=>{if(C.value=!1,B.value){const Vt=new FocusEvent("blur",ut);Oe(()=>T(Vt))}},bt=()=>{l.inputValue.length>0?l.inputValue="":C.value=!1},Ft=ut=>{var Vt;I.value||e.filterable&&C.value&&ut&&!((Vt=h.value)!=null&&Vt.contains(ut.target))||(a6&&(l.inputHovering=!0),l.menuVisibleOnFocus?l.menuVisibleOnFocus=!1:C.value=!C.value)},It=()=>{if(!C.value)Ft();else{const ut=X.value[l.hoveringIndex];ut&&!ut.isDisabled&&oe(ut)}},Nn=ut=>mn(ut.value)?Ia(ut.value,e.valueKey):ut.value,Kn=R(()=>X.value.filter(ut=>ut.visible).every(ut=>ut.isDisabled)),Sr=R(()=>e.multiple?e.collapseTags?l.selected.slice(0,e.maxCollapseTags):l.selected:[]),Pr=R(()=>e.multiple?e.collapseTags?l.selected.slice(e.maxCollapseTags):[]:[]),xr=ut=>{if(!C.value){C.value=!0;return}if(!(l.options.size===0||ie.value===0||x.value)&&!Kn.value){ut==="next"?(l.hoveringIndex++,l.hoveringIndex===l.options.size&&(l.hoveringIndex=0)):ut==="prev"&&(l.hoveringIndex--,l.hoveringIndex<0&&(l.hoveringIndex=l.options.size-1));const Vt=X.value[l.hoveringIndex];(Vt.isDisabled||!Vt.visible)&&xr(ut),Oe(()=>it(y.value))}},ta=(ut,Vt,bn,cr)=>{for(let kr=Vt;kr>=0&&kr{var bn;const cr=l.options.size;if(cr===0)return;const kr=g9(ut,0,cr-1),Sa=X.value,Nr=Vt==="up"?-1:1,Ur=(bn=ta(Sa,kr,Nr,cr))!=null?bn:ta(Sa,kr-Nr,-Nr,cr);Ur!=null&&(l.hoveringIndex=Ur,Oe(()=>it(y.value)))},Mr=ut=>{const Vt=Er(ut);let bn=!0;switch(Vt){case dt.up:xr("prev");break;case dt.down:xr("next");break;case dt.enter:case dt.numpadEnter:x.value||It();break;case dt.esc:bt();break;case dt.backspace:bn=!1,ze(ut);return;case dt.home:if(!C.value)return;ur(0,"down");break;case dt.end:if(!C.value)return;ur(l.options.size-1,"up");break;case dt.pageUp:if(!C.value)return;ur(l.hoveringIndex-10,"up");break;case dt.pageDown:if(!C.value)return;ur(l.hoveringIndex+10,"down");break;default:bn=!1;break}bn&&(ut.preventDefault(),ut.stopPropagation())},Tr=()=>{if(!u.value)return 0;const ut=window.getComputedStyle(u.value);return Number.parseFloat(ut.gap||"6px")},jr=R(()=>{const ut=Tr(),Vt=e.filterable?ut+k9:0;return{maxWidth:`${g.value&&e.maxCollapseTags===1?l.selectionWidth-l.collapseItemWidth-ut-Vt:l.selectionWidth-Vt}px`}}),ba=R(()=>({maxWidth:`${l.selectionWidth}px`})),Kr=ut=>{t("popup-scroll",ut)};zr(u,he),zr(P,xe),zr(v,qe),zr(g,He);let wa;return $e(()=>Fe.value,ut=>{ut?wa=zr(m,xe).stop:(wa==null||wa(),wa=void 0),t("visible-change",ut)}),Ut(()=>{Ne()}),{inputId:A,contentId:a,nsSelect:i,nsInput:o,states:l,isFocused:B,expanded:C,optionsArray:X,hoverOption:y,selectSize:Z,filteredOptionsCount:ie,updateTooltip:xe,updateTagTooltip:qe,debouncedOnInputChange:Ke,onInput:Ge,deletePrevTag:ze,deleteTag:Ie,deleteSelected:ge,handleOptionSelect:oe,scrollToOption:it,hasModelValue:O,shouldShowPlaceholder:me,currentPlaceholder:te,mouseEnterEventName:ue,needStatusIcon:N,showClearBtn:V,iconComponent:Y,iconReverse:z,validateState:ee,validateIcon:ae,showNewOption:ce,updateOptions:K,collapseTagSize:se,setSelected:Ne,selectDisabled:I,emptyText:Q,handleCompositionStart:_,handleCompositionUpdate:M,handleCompositionEnd:L,handleKeydown:Mr,onOptionCreate:xt,onOptionDestroy:Ee,handleMenuEnter:Qe,focus:ct,blur:gt,handleClearClick:an,handleClickOutside:Wt,handleEsc:bt,toggleMenu:Ft,selectOption:It,getValueKey:Nn,navigateOptions:xr,dropdownMenuVisible:Fe,showTagList:Sr,collapseTagList:Pr,popupScroll:Kr,getOption:je,tagStyle:jr,collapseTagStyle:ba,popperRef:pn,inputRef:f,tooltipRef:c,tagTooltipRef:d,prefixRef:p,suffixRef:h,selectRef:s,wrapperRef:P,selectionRef:u,scrollbarRef:b,menuRef:m,tagMenuRef:v,collapseItemRef:g}};var bNe=Ve({name:"ElOptions",setup(e,{slots:t}){const n=lt(K5);let r=[];return()=>{var a,i;const o=(a=t.default)==null?void 0:a.call(t),l=[];function s(u){st(u)&&u.forEach(c=>{var d,f,p,h;const m=(d=(c==null?void 0:c.type)||{})==null?void 0:d.name;m==="ElOptionGroup"?s(!Bt(c.children)&&!st(c.children)&&Lt((f=c.children)==null?void 0:f.default)?(p=c.children)==null?void 0:p.default():c.children):m==="ElOption"?l.push((h=c.props)==null?void 0:h.value):st(c.children)&&s(c.children)})}return o.length&&s((i=o[0])==null?void 0:i.children),ma(l,r)||(r=l,n&&(n.states.optionValues=l)),o}}});const nue=pt(Te(Te({name:String,id:String,modelValue:{type:ke([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:Xa,effect:{type:ke(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:ke([String,Object])},popperOptions:{type:ke(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:ke(Function)},filterMethod:{type:ke(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,maxCollapseTags:{type:Number,default:1},teleported:pr.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:mr,default:Pd},fitInputWidth:Boolean,suffixIcon:{type:mr,default:wc},tagType:Et(Te({},Td.type),{default:"info"}),tagEffect:Et(Te({},Td.effect),{default:"light"}),validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:ke(String),values:Sc,default:"bottom-start"},fallbackPlacements:{type:ke(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:pr.appendTo,options:{type:ke(Array)},props:{type:ke(Object),default:()=>l6}},Xm),yo(["ariaLabel"])));hse.scroll;const CNe=Ve({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=at("select"),n=j(),r=Jt(),a=j([]);Qt(eue,dn(Te({},Na(e))));const i=R(()=>a.value.some(u=>u.visible===!0)),o=u=>{var c;return u.type.name==="ElOption"&&!!((c=u.component)!=null&&c.proxy)},l=u=>{const c=pi(u),d=[];return c.forEach(f=>{var p;sr(f)&&(o(f)?d.push(f.component.proxy):st(f.children)&&f.children.length?d.push(...l(f.children)):(p=f.component)!=null&&p.subTree&&d.push(...l(f.component.subTree)))}),d},s=()=>{a.value=l(r.subTree)};return Ut(()=>{s()}),O5(n,s,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:i,ns:t}}});function FNe(e,t,n,r,a,i){return hn((H(),le("ul",{ref:"groupRef",class:J(e.ns.be("group","wrap"))},[ye("li",{class:J(e.ns.be("group","title"))},ft(e.label),3),ye("li",null,[ye("ul",{class:J(e.ns.b("group"))},[We(e.$slots,"default")],2)])],2)),[[In,e.visible]])}var dP=yt(CNe,[["render",FNe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const df=new Map;if(Yn){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of df.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function wW(e,t){let n=[];return st(t.arg)?n=t.arg:rl(t.arg)&&n.push(t.arg),function(r,a){const i=t.instance.popperRef,o=r.target,l=a==null?void 0:a.target,s=!t||!t.instance,u=!o||!l,c=e.contains(o)||e.contains(l),d=e===o,f=n.length&&n.some(h=>h==null?void 0:h.contains(o))||n.length&&n.includes(l),p=i&&(i.contains(o)||i.contains(l));s||u||c||d||f||p||t.value(r,a)}}const sp={beforeMount(e,t){df.has(e)||df.set(e,[]),df.get(e).push({documentHandler:wW(e,t),bindingFn:t.value})},updated(e,t){df.has(e)||df.set(e,[]);const n=df.get(e),r=n.findIndex(i=>i.bindingFn===t.oldValue),a={documentHandler:wW(e,t),bindingFn:t.value};r>=0?n.splice(r,1,a):n.push(a)},unmounted(e){df.delete(e)}};function fP(){const e=Zn(),t=j(0),n=R(()=>({minWidth:`${Math.max(t.value,k9)}px`}));return zr(e,()=>{var a,i;t.value=(i=(a=e.value)==null?void 0:a.getBoundingClientRect().width)!=null?i:0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}const SW="ElSelect",f2=new WeakMap,ENe=e=>(...t)=>{var n,r;const a=t[0];if(!a||a.includes('Slot "default" invoked outside of the render function')&&((n=t[2])!=null&&n.includes("ElTreeSelect")))return;const i=(r=f2.get(e))==null?void 0:r.originalWarnHandler;if(i){i(...t);return}console.warn(...t)},wNe=e=>{let t=f2.get(e);return t||(t={originalWarnHandler:e.config.warnHandler,handler:ENe(e),count:0},f2.set(e,t)),t},SNe=Ve({name:SW,componentName:SW,components:{ElSelectMenu:gNe,ElOption:cP,ElOptions:bNe,ElOptionGroup:dP,ElTag:hd,ElScrollbar:Qs,ElTooltip:gi,ElIcon:Rt},directives:{ClickOutside:sp},props:nue,emits:[nn,An,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t,slots:n}){const r=Jt(),a=wNe(r.appContext);a.count+=1,r.appContext.config.warnHandler=a.handler;const i=R(()=>{const{modelValue:b,multiple:C}=e,y=C?[]:void 0;return st(b)?C?b:y:C?y:b}),o=dn(Et(Te({},Na(e)),{modelValue:i})),l=yNe(o,t),{calculatorRef:s,inputStyle:u}=fP(),{getLabel:c,getValue:d,getOptions:f,getDisabled:p}=j5(e),h=b=>({label:c(b),value:d(b),disabled:p(b)}),m=b=>b.reduce((C,y)=>(C.push(y),y.children&&y.children.length>0&&C.push(...m(y.children)),C),[]),v=b=>{xl(b||[]).forEach(y=>{var E;if(mn(y)&&(y.type.name==="ElOption"||y.type.name==="ElTree")){const w=y.type.name;if(w==="ElTree"){const S=((E=y.props)==null?void 0:E.data)||[];m(S).forEach(D=>{D.currentLabel=D.label||(mn(D.value)?"":D.value),l.onOptionCreate(D)})}else if(w==="ElOption"){const S=Te({},y.props);S.currentLabel=S.label||(mn(S.value)?"":S.value),l.onOptionCreate(S)}}})};$e(()=>{var b;return[(b=n.default)==null?void 0:b.call(n),i.value]},()=>{var b;e.persistent||l.expanded.value||(l.states.options.clear(),v((b=n.default)==null?void 0:b.call(n)))},{immediate:!0}),Qt(K5,dn({props:o,states:l.states,selectRef:l.selectRef,optionsArray:l.optionsArray,setSelected:l.setSelected,handleOptionSelect:l.handleOptionSelect,onOptionCreate:l.onOptionCreate,onOptionDestroy:l.onOptionDestroy}));const g=R(()=>e.multiple?l.states.selected.map(b=>b.currentLabel):l.states.selectedLabel);return Vn(()=>{const b=f2.get(r.appContext);b&&(b.count-=1,b.count<=0&&(r.appContext.config.warnHandler=b.originalWarnHandler,f2.delete(r.appContext)))}),Et(Te({},l),{modelValue:i,selectedLabel:g,calculatorRef:s,inputStyle:u,getLabel:c,getValue:d,getOptions:f,getDisabled:p,getOptionProps:h})}}),ANe=["id","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],DNe=["textContent"],TNe={key:1};function kNe(e,t,n,r,a,i){const o=en("el-tag"),l=en("el-tooltip"),s=en("el-icon"),u=en("el-option"),c=en("el-option-group"),d=en("el-options"),f=en("el-scrollbar"),p=en("el-select-menu"),h=q0("click-outside");return hn((H(),le("div",tn({ref:"selectRef",class:[e.nsSelect.b(),e.nsSelect.m(e.selectSize)]},{[S1(e.mouseEnterEventName)]:t[11]||(t[11]=m=>e.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=m=>e.states.inputHovering=!1)}),[be(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:t[10]||(t[10]=m=>e.states.isBeforeHide=!1)},{default:Re(()=>{var m;return[ye("div",{ref:"wrapperRef",class:J([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:t[7]||(t[7]=Yt((...v)=>e.toggleMenu&&e.toggleMenu(...v),["prevent"]))},[e.$slots.prefix?(H(),le("div",{key:0,ref:"prefixRef",class:J(e.nsSelect.e("prefix"))},[We(e.$slots,"prefix")],2)):Pe("v-if",!0),ye("div",{ref:"selectionRef",class:J([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?We(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(H(!0),le(kt,null,En(e.showTagList,v=>(H(),le("div",{key:e.getValueKey(v),class:J(e.nsSelect.e("selected-item"))},[be(o,{closable:!e.selectDisabled&&!v.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Pt(e.tagStyle),onClose:g=>e.deleteTag(g,v)},{default:Re(()=>[ye("span",{class:J(e.nsSelect.e("tags-text"))},[We(e.$slots,"label",{index:v.index,label:v.currentLabel,value:v.value},()=>[Cn(ft(v.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(H(),Ue(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported,"popper-options":e.popperOptions},{default:Re(()=>[ye("div",{ref:"collapseItemRef",class:J(e.nsSelect.e("selected-item"))},[be(o,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Pt(e.collapseTagStyle)},{default:Re(()=>[ye("span",{class:J(e.nsSelect.e("tags-text"))}," + "+ft(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:Re(()=>[ye("div",{ref:"tagMenuRef",class:J(e.nsSelect.e("selection"))},[(H(!0),le(kt,null,En(e.collapseTagList,v=>(H(),le("div",{key:e.getValueKey(v),class:J(e.nsSelect.e("selected-item"))},[be(o,{class:"in-tooltip",closable:!e.selectDisabled&&!v.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:g=>e.deleteTag(g,v)},{default:Re(()=>[ye("span",{class:J(e.nsSelect.e("tags-text"))},[We(e.$slots,"label",{index:v.index,label:v.currentLabel,value:v.value},()=>[Cn(ft(v.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):Pe("v-if",!0)]):Pe("v-if",!0),ye("div",{class:J([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled)])},[hn(ye("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t[0]||(t[0]=v=>e.states.inputValue=v),type:"text",name:e.name,class:J([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:Pt(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((m=e.hoverOption)==null?void 0:m.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[1]||(t[1]=(...v)=>e.handleKeydown&&e.handleKeydown(...v)),onCompositionstart:t[2]||(t[2]=(...v)=>e.handleCompositionStart&&e.handleCompositionStart(...v)),onCompositionupdate:t[3]||(t[3]=(...v)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...v)),onCompositionend:t[4]||(t[4]=(...v)=>e.handleCompositionEnd&&e.handleCompositionEnd(...v)),onInput:t[5]||(t[5]=(...v)=>e.onInput&&e.onInput(...v)),onClick:t[6]||(t[6]=Yt((...v)=>e.toggleMenu&&e.toggleMenu(...v),["stop"]))},null,46,ANe),[[tp,e.states.inputValue]]),e.filterable?(H(),le("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:J(e.nsSelect.e("input-calculator")),textContent:ft(e.states.inputValue)},null,10,DNe)):Pe("v-if",!0)],2),e.shouldShowPlaceholder?(H(),le("div",{key:1,class:J([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?We(e.$slots,"label",{key:0,index:e.getOption(e.modelValue).index,label:e.currentPlaceholder,value:e.modelValue},()=>[ye("span",null,ft(e.currentPlaceholder),1)]):(H(),le("span",TNe,ft(e.currentPlaceholder),1))],2)):Pe("v-if",!0)],2),ye("div",{ref:"suffixRef",class:J(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(H(),Ue(s,{key:0,class:J([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:Re(()=>[(H(),Ue(ln(e.iconComponent)))]),_:1},8,["class"])):Pe("v-if",!0),e.showClearBtn&&e.clearIcon?(H(),Ue(s,{key:1,class:J([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:Re(()=>[(H(),Ue(ln(e.clearIcon)))]),_:1},8,["class","onClick"])):Pe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(H(),Ue(s,{key:2,class:J([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:Re(()=>[(H(),Ue(ln(e.validateIcon)))]),_:1},8,["class"])):Pe("v-if",!0)],2)],2)]}),content:Re(()=>[be(p,{ref:"menuRef"},{default:Re(()=>[e.$slots.header?(H(),le("div",{key:0,class:J(e.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=Yt(()=>{},["stop"]))},[We(e.$slots,"header")],2)):Pe("v-if",!0),hn(be(f,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:J([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:Re(()=>[e.showNewOption?(H(),Ue(u,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):Pe("v-if",!0),be(d,null,{default:Re(()=>[We(e.$slots,"default",{},()=>[(H(!0),le(kt,null,En(e.options,(m,v)=>{var g;return H(),le(kt,{key:v},[(g=e.getOptions(m))!=null&&g.length?(H(),Ue(c,{key:0,label:e.getLabel(m),disabled:e.getDisabled(m)},{default:Re(()=>[(H(!0),le(kt,null,En(e.getOptions(m),b=>(H(),Ue(u,tn({key:e.getValue(b)},{ref_for:!0},e.getOptionProps(b)),null,16))),128))]),_:2},1032,["label","disabled"])):(H(),Ue(u,tn({key:1,ref_for:!0},e.getOptionProps(m)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[In,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(H(),le("div",{key:1,class:J(e.nsSelect.be("dropdown","loading"))},[We(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(H(),le("div",{key:2,class:J(e.nsSelect.be("dropdown","empty"))},[We(e.$slots,"empty",{},()=>[ye("span",null,ft(e.emptyText),1)])],2)):Pe("v-if",!0),e.$slots.footer?(H(),le("div",{key:3,class:J(e.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=Yt(()=>{},["stop"]))},[We(e.$slots,"footer")],2)):Pe("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)),[[h,e.handleClickOutside,e.popperRef]])}var _Ne=yt(SNe,[["render",kNe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const up=fn(_Ne,{Option:cP,OptionGroup:dP}),s6=sa(cP),xNe=sa(dP),MNe=pt({date:{type:ke(Object),required:!0},formatter:{type:ke(Function)}}),BNe={"date-change":e=>mn(e)||Bt(e)},RNe=Ve({name:"SelectController",__name:"select-controller",props:MNe,emits:BNe,setup(e,{emit:t}){const n=e,r=t,a=at("calendar-select"),{t:i,lang:o}=xn(),l=Array.from({length:12},(h,m)=>{const v=m+1,g=Lt(n.formatter)?n.formatter(v,"month"):v;return{value:v,label:g}}),s=R(()=>n.date.year()),u=R(()=>n.date.month()+1),c=R(()=>{const h=[];for(let m=-10;m<10;m++){const v=s.value+m;if(v>0){const g=Lt(n.formatter)?n.formatter(v,"year"):v;h.push({value:v,label:g})}}return h}),d=h=>{r("date-change",un(new Date(h,u.value-1,1)).locale(o.value))},f=h=>{r("date-change",un(new Date(s.value,h-1,1)).locale(o.value))},p=()=>{r("date-change","today")};return(h,m)=>(H(),le(kt,null,[be(F(up),{"model-value":s.value,size:"small",class:J(F(a).e("year")),"validate-event":!1,options:c.value,onChange:d},null,8,["model-value","class","options"]),be(F(up),{"model-value":u.value,size:"small",class:J(F(a).e("month")),"validate-event":!1,options:F(l),onChange:f},null,8,["model-value","class","options"]),be(F(ci),{size:"small",onClick:p},{default:Re(()=>[Cn(ft(F(i)("el.datepicker.today")),1)]),_:1})],64))}});var LNe=yt(RNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/select-controller.vue"]]);const ONe="ElCalendar",PNe=Ve({name:ONe,__name:"calendar",props:rNe,emits:aNe,setup(e,{expose:t,emit:n}){const r=at("calendar"),a=e,i=n,{calculateValidatedDateRange:o,date:l,pickDay:s,realSelectedDay:u,selectDate:c,validatedRange:d,handleDateChange:f}=tNe(a,i),{t:p}=xn(),h=R(()=>{const m=`el.datepicker.month${l.value.format("M")}`;return`${l.value.year()} ${p("el.datepicker.year")} ${p(m)}`});return t({selectedDay:u,pickDay:s,selectDate:c,calculateValidatedDateRange:o}),(m,v)=>(H(),le("div",{class:J(F(r).b())},[ye("div",{class:J(F(r).e("header"))},[We(m.$slots,"header",{date:h.value},()=>[ye("div",{class:J(F(r).e("title"))},ft(h.value),3),F(d).length===0&&m.controllerType==="button"?(H(),le("div",{key:0,class:J(F(r).e("button-group"))},[be(F(Yse),null,{default:Re(()=>[be(F(ci),{size:"small",onClick:v[0]||(v[0]=g=>F(c)("prev-month"))},{default:Re(()=>[Cn(ft(F(p)("el.datepicker.prevMonth")),1)]),_:1}),be(F(ci),{size:"small",onClick:v[1]||(v[1]=g=>F(c)("today"))},{default:Re(()=>[Cn(ft(F(p)("el.datepicker.today")),1)]),_:1}),be(F(ci),{size:"small",onClick:v[2]||(v[2]=g=>F(c)("next-month"))},{default:Re(()=>[Cn(ft(F(p)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):F(d).length===0&&m.controllerType==="select"?(H(),le("div",{key:1,class:J(F(r).e("select-controller"))},[be(LNe,{date:F(l),formatter:m.formatter,onDateChange:F(f)},null,8,["date","formatter","onDateChange"])],2)):Pe("v-if",!0)])],2),F(d).length===0?(H(),le("div",{key:0,class:J(F(r).e("body"))},[be(EW,{date:F(l),"selected-day":F(u),onPick:F(s)},Ri({_:2},[m.$slots["date-cell"]?{name:"date-cell",fn:Re(g=>[We(m.$slots,"date-cell",qu(Yu(g)))]),key:"0"}:void 0]),1032,["date","selected-day","onPick"])],2)):(H(),le("div",{key:1,class:J(F(r).e("body"))},[(H(!0),le(kt,null,En(F(d),(g,b)=>(H(),Ue(EW,{key:b,date:g[0],"selected-day":F(u),range:g,"hide-header":b!==0,onPick:F(s)},Ri({_:2},[m.$slots["date-cell"]?{name:"date-cell",fn:Re(C=>[We(m.$slots,"date-cell",tn({ref_for:!0},C))]),key:"0"}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var INe=yt(PNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const NNe=fn(INe),$Ne=pt({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:ke([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}}),VNe=Ve({name:"ElCard",__name:"card",props:$Ne,setup(e){const t=Q0("card"),n=at("card");return(r,a)=>{var i;return H(),le("div",{class:J([F(n).b(),F(n).is(`${r.shadow||((i=F(t))==null?void 0:i.shadow)||"always"}-shadow`)])},[r.$slots.header||r.header?(H(),le("div",{key:0,class:J([F(n).e("header"),r.headerClass])},[We(r.$slots,"header",{},()=>[Cn(ft(r.header),1)])],2)):Pe("v-if",!0),ye("div",{class:J([F(n).e("body"),r.bodyClass]),style:Pt(r.bodyStyle)},[We(r.$slots,"default")],6),r.$slots.footer||r.footer?(H(),le("div",{key:1,class:J([F(n).e("footer"),r.footerClass])},[We(r.$slots,"footer",{},()=>[Cn(ft(r.footer),1)])],2)):Pe("v-if",!0)],2)}}});var HNe=yt(VNe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const zNe=fn(HNe),WNe=pt({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),GNe={change:(e,t)=>[e,t].every($t)},rue=Symbol("carouselContextKey"),TM="ElCarouselItem",jNe=(e,t,n)=>xl(e.subTree).filter(i=>{var o;return sr(i)&&((o=i.type)==null?void 0:o.name)===t&&!!i.component}).map(i=>i.component.uid).map(i=>n[i]).filter(i=>!!i),_9=(e,t)=>{const n=Zn({}),r=Zn([]),a=new WeakMap,i=c=>{n.value[c.uid]=c,Xy(n),Ut(()=>{const d=c.getVnode().el,f=d.parentNode;if(!a.has(f)){a.set(f,[]);const p=f.insertBefore.bind(f);f.insertBefore=(h,m)=>(a.get(f).some(g=>h===g||m===g)&&Xy(n),p(h,m))}a.get(f).push(d)})},o=c=>{delete n.value[c.uid],Xy(n);const d=c.getVnode().el,f=d.parentNode,p=a.get(f),h=p.indexOf(d);p.splice(h,1)},l=()=>{r.value=jNe(e,t,n.value)},s=c=>c.render();return{children:r,addChild:i,removeChild:o,ChildrenSorter:Ve({setup(c,{slots:d}){return()=>(l(),d.default?W(s,{render:d.default}):null)}})}},AW=300,KNe=(e,t,n)=>{const{children:r,addChild:a,removeChild:i,ChildrenSorter:o}=_9(Jt(),TM),l=pa(),s=j(-1),u=j(null),c=j(!1),d=j(),f=j(0),p=j(!0),h=R(()=>e.arrow!=="never"&&!F(g)),m=R(()=>r.value.some(ae=>ae.props.label.toString().length>0)),v=R(()=>e.type==="card"),g=R(()=>e.direction==="vertical"),b=R(()=>e.height!=="auto"?{height:e.height}:{height:`${f.value}px`,overflow:"hidden"}),C=Df(ae=>{D(ae)},AW,{trailing:!0}),y=Df(ae=>{B(ae)},AW),E=ae=>p.value?s.value<=1?ae<=1:ae>1:!0;function w(){u.value&&(clearInterval(u.value),u.value=null)}function S(){e.interval<=0||!e.autoplay||u.value||(u.value=setInterval(()=>A(),e.interval))}const A=()=>{s.valueie.props.name===ae);Q.length>0&&(ae=r.value.indexOf(Q[0]))}if(ae=Number(ae),Number.isNaN(ae)||ae!==Math.floor(ae))return;const pe=r.value.length,re=s.value;ae<0?s.value=e.loop?pe-1:0:ae>=pe?s.value=e.loop?0:pe-1:s.value=ae,re===s.value&&k(re),N()}function k(ae){r.value.forEach((pe,re)=>{pe.translateItem(re,s.value,ae)})}function x(ae,pe){var re,Q,ie,X;const q=F(r),ce=q.length;if(ce===0||!ae.states.inStage)return!1;const K=pe+1,Z=pe-1,se=ce-1,Fe=q[se].states.active,me=q[0].states.active,te=(Q=(re=q[K])==null?void 0:re.states)==null?void 0:Q.active,ue=(X=(ie=q[Z])==null?void 0:ie.states)==null?void 0:X.active;return pe===se&&me||te?"left":pe===0&&Fe||ue?"right":!1}function _(){c.value=!0,e.pauseOnHover&&w()}function M(){c.value=!1,S()}function L(ae){F(g)||r.value.forEach((pe,re)=>{ae===x(pe,re)&&(pe.states.hover=!0)})}function I(){F(g)||r.value.forEach(ae=>{ae.states.hover=!1})}function P(ae){s.value=ae}function B(ae){e.trigger==="hover"&&ae!==s.value&&(s.value=ae)}function T(){D(s.value-1)}function O(){D(s.value+1)}function N(){w(),e.pauseOnHover||S()}function V(ae){e.height==="auto"&&(f.value=ae)}function Y(){var ae;const pe=(ae=l.default)==null?void 0:ae.call(l);if(!pe)return null;const Q=xl(pe).filter(ie=>sr(ie)&&ie.type.name===TM);return(Q==null?void 0:Q.length)===2&&e.loop&&!v.value?(p.value=!0,Q):(p.value=!1,null)}$e(()=>s.value,(ae,pe)=>{k(pe),p.value&&(ae=ae%2,pe=pe%2),pe>-1&&t(An,ae,pe)});const z=R({get:()=>p.value?s.value%2:s.value,set:ae=>s.value=ae});$e(()=>e.autoplay,ae=>{ae?S():w()}),$e(()=>e.loop,()=>{D(s.value)}),$e(()=>e.interval,()=>{N()});const ee=Zn();return Ut(()=>{$e(()=>r.value,()=>{r.value.length>0&&D(e.initialIndex)},{immediate:!0}),ee.value=zr(d.value,()=>{k()}),S()}),Vn(()=>{w(),d.value&&ee.value&&ee.value.stop()}),Qt(rue,{root:d,isCardType:v,isVertical:g,items:r,loop:e.loop,cardScale:e.cardScale,addItem:a,removeItem:i,setActiveItem:D,setContainerHeight:V}),{root:d,activeIndex:s,exposeActiveIndex:z,arrowDisplay:h,hasLabel:m,hover:c,isCardType:v,items:r,isVertical:g,containerStyle:b,isItemsTwoLength:p,handleButtonEnter:L,handleButtonLeave:I,handleIndicatorClick:P,handleMouseEnter:_,handleMouseLeave:M,setActiveItem:D,prev:T,next:O,PlaceholderItem:Y,isTwoLengthShow:E,ItemsSorter:o,throttledArrowClick:C,throttledIndicatorHover:y}},UNe=["aria-label"],qNe=["aria-label"],YNe=["onMouseenter","onClick"],JNe=["aria-label"],XNe={key:0},ZNe={key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},QNe="ElCarousel",e$e=Ve({name:QNe,__name:"carousel",props:WNe,emits:GNe,setup(e,{expose:t,emit:n}){const r=e,a=n,{root:i,activeIndex:o,exposeActiveIndex:l,arrowDisplay:s,hasLabel:u,hover:c,isCardType:d,items:f,isVertical:p,containerStyle:h,handleButtonEnter:m,handleButtonLeave:v,handleIndicatorClick:g,handleMouseEnter:b,handleMouseLeave:C,setActiveItem:y,prev:E,next:w,PlaceholderItem:S,isTwoLengthShow:A,ItemsSorter:D,throttledArrowClick:k,throttledIndicatorHover:x}=KNe(r,a),_=at("carousel"),{t:M}=xn(),L=R(()=>{const T=[_.b(),_.m(r.direction)];return F(d)&&T.push(_.m("card")),T}),I=R(()=>{const T=[_.e("indicators"),_.em("indicators",r.direction)];return F(u)&&T.push(_.em("indicators","labels")),r.indicatorPosition==="outside"&&T.push(_.em("indicators","outside")),F(p)&&T.push(_.em("indicators","right")),T});function P(T){if(!r.motionBlur)return;const O=F(p)?`${_.namespace.value}-transitioning-vertical`:`${_.namespace.value}-transitioning`;T.currentTarget.classList.add(O)}function B(T){if(!r.motionBlur)return;const O=F(p)?`${_.namespace.value}-transitioning-vertical`:`${_.namespace.value}-transitioning`;T.currentTarget.classList.remove(O)}return t({activeIndex:l,setActiveItem:y,prev:E,next:w}),(T,O)=>(H(),le("div",{ref_key:"root",ref:i,class:J(L.value),onMouseenter:O[6]||(O[6]=Yt((...N)=>F(b)&&F(b)(...N),["stop"])),onMouseleave:O[7]||(O[7]=Yt((...N)=>F(C)&&F(C)(...N),["stop"]))},[F(s)?(H(),Ue(vi,{key:0,name:"carousel-arrow-left",persisted:""},{default:Re(()=>[hn(ye("button",{type:"button",class:J([F(_).e("arrow"),F(_).em("arrow","left")]),"aria-label":F(M)("el.carousel.leftArrow"),onMouseenter:O[0]||(O[0]=N=>F(m)("left")),onMouseleave:O[1]||(O[1]=(...N)=>F(v)&&F(v)(...N)),onClick:O[2]||(O[2]=Yt(N=>F(k)(F(o)-1),["stop"]))},[be(F(Rt),null,{default:Re(()=>[be(F(Ad))]),_:1})],42,UNe),[[In,(T.arrow==="always"||F(c))&&(T.loop||F(o)>0)]])]),_:1})):Pe("v-if",!0),F(s)?(H(),Ue(vi,{key:1,name:"carousel-arrow-right",persisted:""},{default:Re(()=>[hn(ye("button",{type:"button",class:J([F(_).e("arrow"),F(_).em("arrow","right")]),"aria-label":F(M)("el.carousel.rightArrow"),onMouseenter:O[3]||(O[3]=N=>F(m)("right")),onMouseleave:O[4]||(O[4]=(...N)=>F(v)&&F(v)(...N)),onClick:O[5]||(O[5]=Yt(N=>F(k)(F(o)+1),["stop"]))},[be(F(Rt),null,{default:Re(()=>[be(F(po))]),_:1})],42,qNe),[[In,(T.arrow==="always"||F(c))&&(T.loop||F(o)[T.indicatorPosition!=="none"?(H(),le("ul",{key:0,class:J(I.value)},[(H(!0),le(kt,null,En(F(f),(N,V)=>hn((H(),le("li",{key:V,class:J([F(_).e("indicator"),F(_).em("indicator",T.direction),F(_).is("active",V===F(o))]),onMouseenter:Y=>F(x)(V),onClick:Yt(Y=>F(g)(V),["stop"])},[ye("button",{class:J(F(_).e("button")),"aria-label":F(M)("el.carousel.indicator",{index:V+1})},[F(u)?(H(),le("span",XNe,ft(N.props.label),1)):Pe("v-if",!0)],10,JNe)],42,YNe)),[[In,F(A)(V)]])),128))],2)):Pe("v-if",!0)]),_:1}),T.motionBlur?(H(),le("svg",ZNe,[...O[8]||(O[8]=[ye("defs",null,[ye("filter",{id:"elCarouselHorizontal"},[ye("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),ye("filter",{id:"elCarouselVertical"},[ye("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1)])])):Pe("v-if",!0)],34))}});var t$e=yt(e$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const n$e=pt({name:{type:String,default:""},label:{type:[String,Number],default:""}}),r$e=e=>{const t=lt(rue),n=Jt(),r=j(),a=j(!1),i=j(0),o=j(1),l=j(!1),s=j(!1),u=j(!1),c=j(!1),{isCardType:d,isVertical:f,cardScale:p}=t;function h(y,E,w){const S=w-1,A=E-1,D=E+1,k=w/2;return E===0&&y===S?-1:E===S&&y===0?w:y=k?w+1:y>D&&y-E>=k?-2:y}function m(y,E){var w,S;const A=F(f)?((w=t.root.value)==null?void 0:w.offsetHeight)||0:((S=t.root.value)==null?void 0:S.offsetWidth)||0;return u.value?A*((2-p)*(y-E)+1)/4:y{var S;const A=F(d),D=(S=t.items.value.length)!=null?S:Number.NaN,k=y===E;!A&&!On(w)&&(c.value=k||y===w),!k&&D>2&&t.loop&&(y=h(y,E,D));const x=F(f);l.value=k,A?(u.value=Math.round(Math.abs(y-E))<=1,i.value=m(y,E),o.value=F(l)?1:p):i.value=v(y,E,x),s.value=!0,k&&r.value&&t.setContainerHeight(r.value.offsetHeight)};function b(){if(t&&F(d)){const y=t.items.value.findIndex(({uid:E})=>E===n.uid);t.setActiveItem(y)}}const C={props:e,states:dn({hover:a,translate:i,scale:o,active:l,ready:s,inStage:u,animating:c}),uid:n.uid,getVnode:()=>n.vnode,translateItem:g};return t.addItem(C),Vn(()=>{t.removeItem(C)}),{carouselItemRef:r,active:l,animating:c,hover:a,inStage:u,isVertical:f,translate:i,isCardType:d,scale:o,ready:s,handleItemClick:b}},a$e=Ve({name:TM,__name:"carousel-item",props:n$e,setup(e){const t=e,n=at("carousel"),{carouselItemRef:r,active:a,animating:i,hover:o,inStage:l,isVertical:s,translate:u,isCardType:c,scale:d,ready:f,handleItemClick:p}=r$e(t),h=R(()=>[n.e("item"),n.is("active",a.value),n.is("in-stage",l.value),n.is("hover",o.value),n.is("animating",i.value),{[n.em("item","card")]:c.value,[n.em("item","card-vertical")]:c.value&&s.value}]),m=R(()=>{const g=`${`translate${F(s)?"Y":"X"}`}(${F(u)}px)`,b=`scale(${F(d)})`;return{transform:[g,b].join(" ")}});return(v,g)=>hn((H(),le("div",{ref_key:"carouselItemRef",ref:r,class:J(h.value),style:Pt(m.value),onClick:g[0]||(g[0]=(...b)=>F(p)&&F(p)(...b))},[F(c)?hn((H(),le("div",{key:0,class:J(F(n).e("mask"))},null,2)),[[In,!F(a)]]):Pe("v-if",!0),We(v.$slots,"default")],6)),[[In,F(f)]])}});var aue=yt(a$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const i$e=fn(t$e,{CarouselItem:aue}),o$e=sa(aue),iue=Te({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:Xa,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String},yo(["ariaControls"])),oue={[nn]:e=>Bt(e)||$t(e)||hr(e),change:e=>Bt(e)||$t(e)||hr(e)},ng=Symbol("checkboxGroupContextKey"),l$e=({model:e,isChecked:t})=>{const n=lt(ng,void 0),r=lt(Zm,void 0),a=R(()=>{var o,l;const s=(o=n==null?void 0:n.max)==null?void 0:o.value,u=(l=n==null?void 0:n.min)==null?void 0:l.value;return!On(s)&&e.value.length>=s&&!t.value||!On(u)&&e.value.length<=u&&t.value});return{isDisabled:ha(R(()=>{var o,l;return n===void 0?(o=r==null?void 0:r.disabled)!=null?o:a.value:((l=n.disabled)==null?void 0:l.value)||a.value})),isLimitDisabled:a}},s$e=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:a,isLabeledByFormItem:i})=>{const o=lt(ng,void 0),{formItem:l}=Ci(),{emit:s}=Jt();function u(h){var m,v,g,b;return[!0,e.trueValue,e.trueLabel].includes(h)?(v=(m=e.trueValue)!=null?m:e.trueLabel)!=null?v:!0:(b=(g=e.falseValue)!=null?g:e.falseLabel)!=null?b:!1}function c(h,m){s(An,u(h),m)}function d(h){if(n.value)return;const m=h.target;s(An,u(m.checked),h)}function f(h){return Xt(this,null,function*(){n.value||!r.value&&!a.value&&i.value&&(h.composedPath().some(g=>g.tagName==="LABEL")||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),yield Oe(),c(t.value,h)))})}const p=R(()=>(o==null?void 0:o.validateEvent)||e.validateEvent);return $e(()=>e.modelValue,()=>{p.value&&(l==null||l.validate("change").catch(h=>void 0))}),{handleChange:d,onClickRoot:f}},u$e=e=>{const t=j(!1),{emit:n}=Jt(),r=lt(ng,void 0),a=R(()=>On(r)===!1),i=j(!1),o=R({get(){var l,s;return a.value?(l=r==null?void 0:r.modelValue)==null?void 0:l.value:(s=e.modelValue)!=null?s:t.value},set(l){var s,u;a.value&&st(l)?(i.value=((s=r==null?void 0:r.max)==null?void 0:s.value)!==void 0&&l.length>(r==null?void 0:r.max.value)&&l.length>o.value.length,i.value===!1&&((u=r==null?void 0:r.changeEvent)==null||u.call(r,l))):(n(nn,l),t.value=l)}});return{model:o,isGroup:a,isLimitExceeded:i}},c$e=(e,t,{model:n})=>{const r=lt(ng,void 0),a=j(!1),i=R(()=>al(e.value)?e.label:e.value),o=R(()=>{const c=n.value;return hr(c)?c:st(c)?mn(i.value)?c.map(dr).some(d=>ma(d,i.value)):c.map(dr).includes(i.value):c!=null?c===e.trueValue||c===e.trueLabel:!!c}),l=ja(R(()=>{var c;return(c=r==null?void 0:r.size)==null?void 0:c.value}),{prop:!0}),s=ja(R(()=>{var c;return(c=r==null?void 0:r.size)==null?void 0:c.value})),u=R(()=>!!t.default||!al(i.value));return{checkboxButtonSize:l,isChecked:o,isFocused:a,checkboxSize:s,hasOwnLabel:u,actualValue:i}},lue=(e,t)=>{const{formItem:n}=Ci(),{model:r,isGroup:a,isLimitExceeded:i}=u$e(e),{isFocused:o,isChecked:l,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,actualValue:d}=c$e(e,t,{model:r}),{isDisabled:f}=l$e({model:r,isChecked:l}),{inputId:p,isLabeledByFormItem:h}=Nl(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:a}),{handleChange:m,onClickRoot:v}=s$e(e,{model:r,isLimitExceeded:i,hasOwnLabel:c,isDisabled:f,isLabeledByFormItem:h});return(()=>{function b(){var C,y;st(r.value)&&!r.value.includes(d.value)?r.value.push(d.value):r.value=(y=(C=e.trueValue)!=null?C:e.trueLabel)!=null?y:!0}e.checked&&b()})(),Qu({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},R(()=>a.value&&al(e.value))),Qu({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},R(()=>!!e.trueLabel)),Qu({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},R(()=>!!e.falseLabel)),{inputId:p,isLabeledByFormItem:h,isChecked:l,isDisabled:f,isFocused:o,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,model:r,actualValue:d,handleChange:m,onClickRoot:v}},d$e=["id","indeterminate","name","tabindex","disabled"],f$e=Ve({name:"ElCheckbox",__name:"checkbox",props:iue,emits:oue,setup(e){const t=e,n=pa(),{inputId:r,isLabeledByFormItem:a,isChecked:i,isDisabled:o,isFocused:l,checkboxSize:s,hasOwnLabel:u,model:c,actualValue:d,handleChange:f,onClickRoot:p}=lue(t,n),h=R(()=>{var b,C,y,E;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(C=(b=t.trueValue)!=null?b:t.trueLabel)!=null?C:!0,"false-value":(E=(y=t.falseValue)!=null?y:t.falseLabel)!=null?E:!1}:{value:d.value}}),m=at("checkbox"),v=R(()=>[m.b(),m.m(s.value),m.is("disabled",o.value),m.is("bordered",t.border),m.is("checked",i.value)]),g=R(()=>[m.e("input"),m.is("disabled",o.value),m.is("checked",i.value),m.is("indeterminate",t.indeterminate),m.is("focus",l.value)]);return(b,C)=>(H(),Ue(ln(!F(u)&&F(a)?"span":"label"),{for:!F(u)&&F(a)?null:F(r),class:J(v.value),"aria-controls":b.indeterminate?b.ariaControls:null,"aria-checked":b.indeterminate?"mixed":void 0,"aria-label":b.ariaLabel,onClick:F(p)},{default:Re(()=>[ye("span",{class:J(g.value)},[hn(ye("input",tn({id:F(r),"onUpdate:modelValue":C[0]||(C[0]=y=>Gn(c)?c.value=y:null),class:F(m).e("original"),type:"checkbox",indeterminate:b.indeterminate,name:b.name,tabindex:b.tabindex,disabled:F(o)},h.value,{onChange:C[1]||(C[1]=(...y)=>F(f)&&F(f)(...y)),onFocus:C[2]||(C[2]=y=>l.value=!0),onBlur:C[3]||(C[3]=y=>l.value=!1),onClick:C[4]||(C[4]=Yt(()=>{},["stop"]))}),null,16,d$e),[[A5,F(c)]]),ye("span",{class:J(F(m).e("inner"))},null,2)],2),F(u)?(H(),le("span",{key:0,class:J(F(m).e("label"))},[We(b.$slots,"default"),b.$slots.default?Pe("v-if",!0):(H(),le(kt,{key:0},[Cn(ft(b.label),1)],64))],2)):Pe("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}});var sue=yt(f$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const p$e=["name","tabindex","disabled"],h$e=Ve({name:"ElCheckboxButton",__name:"checkbox-button",props:iue,emits:oue,setup(e){const t=e,n=pa(),{isFocused:r,isChecked:a,isDisabled:i,checkboxButtonSize:o,model:l,actualValue:s,handleChange:u}=lue(t,n),c=R(()=>{var m,v,g,b;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(v=(m=t.trueValue)!=null?m:t.trueLabel)!=null?v:!0,"false-value":(b=(g=t.falseValue)!=null?g:t.falseLabel)!=null?b:!1}:{value:s.value}}),d=lt(ng,void 0),f=at("checkbox"),p=R(()=>{var m,v,g,b;const C=(v=(m=d==null?void 0:d.fill)==null?void 0:m.value)!=null?v:"";return{backgroundColor:C,borderColor:C,color:(b=(g=d==null?void 0:d.textColor)==null?void 0:g.value)!=null?b:"",boxShadow:C?`-1px 0 0 0 ${C}`:void 0}}),h=R(()=>[f.b("button"),f.bm("button",o.value),f.is("disabled",i.value),f.is("checked",a.value),f.is("focus",r.value)]);return(m,v)=>(H(),le("label",{class:J(h.value)},[hn(ye("input",tn({"onUpdate:modelValue":v[0]||(v[0]=g=>Gn(l)?l.value=g:null),class:F(f).be("button","original"),type:"checkbox",name:m.name,tabindex:m.tabindex,disabled:F(i)},c.value,{onChange:v[1]||(v[1]=(...g)=>F(u)&&F(u)(...g)),onFocus:v[2]||(v[2]=g=>r.value=!0),onBlur:v[3]||(v[3]=g=>r.value=!1),onClick:v[4]||(v[4]=Yt(()=>{},["stop"]))}),null,16,p$e),[[A5,F(l)]]),m.$slots.default||m.label?(H(),le("span",{key:0,class:J(F(f).be("button","inner")),style:Pt(F(a)?p.value:void 0)},[We(m.$slots,"default",{},()=>[Cn(ft(m.label),1)])],6)):Pe("v-if",!0)],2))}});var pP=yt(h$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const m$e=pt(Te({modelValue:{type:ke(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:Xa,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:ke(Array)},props:{type:ke(Object),default:()=>uue},type:{type:String,values:["checkbox","button"],default:"checkbox"}},yo(["ariaLabel"]))),v$e={[nn]:e=>st(e),change:e=>st(e)},uue={label:"label",value:"value",disabled:"disabled"},g$e=Ve({name:"ElCheckboxGroup",__name:"checkbox-group",props:m$e,emits:v$e,setup(e,{emit:t}){const n=e,r=t,a=at("checkbox"),i=ha(),{formItem:o}=Ci(),{inputId:l,isLabeledByFormItem:s}=Nl(n,{formItemContext:o}),u=h=>Xt(null,null,function*(){r(nn,h),yield Oe(),r(An,h)}),c=R({get(){return n.modelValue},set(h){u(h)}}),d=R(()=>Te(Te({},uue),n.props)),f=h=>{const{label:m,value:v,disabled:g}=d.value,b={label:h[m],value:h[v],disabled:h[g]};return Te(Te({},B5(h,[m,v,g])),b)},p=R(()=>n.type==="button"?pP:sue);return Qt(ng,Et(Te({},wd(Na(n),["size","min","max","validateEvent","fill","textColor"])),{disabled:i,modelValue:c,changeEvent:u})),$e(()=>n.modelValue,(h,m)=>{n.validateEvent&&!ma(h,m)&&(o==null||o.validate("change").catch(v=>void 0))}),(h,m)=>{var v;return H(),Ue(ln(h.tag),{id:F(l),class:J(F(a).b("group")),role:"group","aria-label":F(s)?void 0:h.ariaLabel||"checkbox-group","aria-labelledby":F(s)?(v=F(o))==null?void 0:v.labelId:void 0},{default:Re(()=>[We(h.$slots,"default",{},()=>[(H(!0),le(kt,null,En(h.options,(g,b)=>(H(),Ue(ln(p.value),tn({key:b},{ref_for:!0},f(g)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var cue=yt(g$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const eu=fn(sue,{CheckboxButton:pP,CheckboxGroup:cue}),y$e=sa(pP),hP=sa(cue),due=pt({modelValue:{type:[String,Number,Boolean],default:void 0},size:Xa,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}}),b$e=pt(Et(Te({},due),{border:Boolean})),fue={[nn]:e=>Bt(e)||$t(e)||hr(e),[An]:e=>Bt(e)||$t(e)||hr(e)},pue=Symbol("radioGroupKey"),hue=(e,t)=>{const n=j(),r=lt(pue,void 0),a=R(()=>!!r),i=R(()=>al(e.value)?e.label:e.value),o=R({get(){return a.value?r.modelValue:e.modelValue},set(d){a.value?r.changeEvent(d):t&&t(nn,d),n.value.checked=e.modelValue===i.value}}),l=ja(R(()=>r==null?void 0:r.size)),s=ha(R(()=>r==null?void 0:r.disabled)),u=j(!1),c=R(()=>s.value||a.value&&o.value!==i.value?-1:0);return Qu({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},R(()=>a.value&&al(e.value))),{radioRef:n,isGroup:a,radioGroup:r,focus:u,size:l,disabled:s,tabIndex:c,modelValue:o,actualValue:i}},C$e=["value","name","disabled","checked"],F$e=Ve({name:"ElRadio",__name:"radio",props:b$e,emits:fue,setup(e,{emit:t}){const n=e,r=t,a=at("radio"),{radioRef:i,radioGroup:o,focus:l,size:s,disabled:u,modelValue:c,actualValue:d}=hue(n,r);function f(){Oe(()=>r(An,c.value))}return(p,h)=>{var m;return H(),le("label",{class:J([F(a).b(),F(a).is("disabled",F(u)),F(a).is("focus",F(l)),F(a).is("bordered",p.border),F(a).is("checked",F(c)===F(d)),F(a).m(F(s))])},[ye("span",{class:J([F(a).e("input"),F(a).is("disabled",F(u)),F(a).is("checked",F(c)===F(d))])},[hn(ye("input",{ref_key:"radioRef",ref:i,"onUpdate:modelValue":h[0]||(h[0]=v=>Gn(c)?c.value=v:null),class:J(F(a).e("original")),value:F(d),name:p.name||((m=F(o))==null?void 0:m.name),disabled:F(u),checked:F(c)===F(d),type:"radio",onFocus:h[1]||(h[1]=v=>l.value=!0),onBlur:h[2]||(h[2]=v=>l.value=!1),onChange:f,onClick:h[3]||(h[3]=Yt(()=>{},["stop"]))},null,42,C$e),[[D5,F(c)]]),ye("span",{class:J(F(a).e("inner"))},null,2)],2),ye("span",{class:J(F(a).e("label")),onKeydown:h[4]||(h[4]=Yt(()=>{},["stop"]))},[We(p.$slots,"default",{},()=>[Cn(ft(p.label),1)])],34)],2)}}});var mue=yt(F$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const E$e=pt(Te({},due)),w$e=["value","name","disabled"],S$e=Ve({name:"ElRadioButton",__name:"radio-button",props:E$e,setup(e){const t=e,n=at("radio"),{radioRef:r,focus:a,size:i,disabled:o,modelValue:l,radioGroup:s,actualValue:u}=hue(t),c=R(()=>({backgroundColor:(s==null?void 0:s.fill)||"",borderColor:(s==null?void 0:s.fill)||"",boxShadow:s!=null&&s.fill?`-1px 0 0 0 ${s.fill}`:"",color:(s==null?void 0:s.textColor)||""}));return(d,f)=>{var p;return H(),le("label",{class:J([F(n).b("button"),F(n).is("active",F(l)===F(u)),F(n).is("disabled",F(o)),F(n).is("focus",F(a)),F(n).bm("button",F(i))])},[hn(ye("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":f[0]||(f[0]=h=>Gn(l)?l.value=h:null),class:J(F(n).be("button","original-radio")),value:F(u),type:"radio",name:d.name||((p=F(s))==null?void 0:p.name),disabled:F(o),onFocus:f[1]||(f[1]=h=>a.value=!0),onBlur:f[2]||(f[2]=h=>a.value=!1),onClick:f[3]||(f[3]=Yt(()=>{},["stop"]))},null,42,w$e),[[D5,F(l)]]),ye("span",{class:J(F(n).be("button","inner")),style:Pt(F(l)===F(u)?c.value:{}),onKeydown:f[4]||(f[4]=Yt(()=>{},["stop"]))},[We(d.$slots,"default",{},()=>[Cn(ft(d.label),1)])],38)],2)}}});var mP=yt(S$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const A$e=pt(Te({id:{type:String,default:void 0},size:Xa,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:ke(Array)},props:{type:ke(Object),default:()=>vue},type:{type:String,values:["radio","button"],default:"radio"}},yo(["ariaLabel"]))),D$e=fue,vue={label:"label",value:"value",disabled:"disabled"},T$e=["id","aria-label","aria-labelledby"],k$e=Ve({name:"ElRadioGroup",__name:"radio-group",props:A$e,emits:D$e,setup(e,{emit:t}){const n=e,r=t,a=at("radio"),i=Li(),o=j(),{formItem:l}=Ci(),{inputId:s,isLabeledByFormItem:u}=Nl(n,{formItemContext:l}),c=m=>{r(nn,m),Oe(()=>r(An,m))};Ut(()=>{const m=o.value.querySelectorAll("[type=radio]"),v=m[0];!Array.from(m).some(g=>g.checked)&&v&&(v.tabIndex=0)});const d=R(()=>n.name||i.value),f=R(()=>Te(Te({},vue),n.props)),p=m=>{const{label:v,value:g,disabled:b}=f.value,C={label:m[v],value:m[g],disabled:m[b]};return Te(Te({},B5(m,[v,g,b])),C)},h=R(()=>n.type==="button"?mP:mue);return Qt(pue,dn(Et(Te({},Na(n)),{changeEvent:c,name:d}))),$e(()=>n.modelValue,(m,v)=>{n.validateEvent&&!ma(m,v)&&(l==null||l.validate("change").catch(g=>void 0))}),(m,v)=>(H(),le("div",{id:F(s),ref_key:"radioGroupRef",ref:o,class:J(F(a).b("group")),role:"radiogroup","aria-label":F(u)?void 0:m.ariaLabel||"radio-group","aria-labelledby":F(u)?F(l).labelId:void 0},[We(m.$slots,"default",{},()=>[(H(!0),le(kt,null,En(m.options,(g,b)=>(H(),Ue(ln(h.value),tn({key:b},{ref_for:!0},p(g)),null,16))),128))])],10,T$e))}});var gue=yt(k$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const yue=fn(mue,{RadioButton:mP,RadioGroup:gue}),_$e=sa(gue),x$e=sa(mP),x9=Symbol();function M$e(e){return!!(st(e)?e.every(({type:t})=>t===ia):(e==null?void 0:e.type)===ia)}var B$e=Ve({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=at("cascader-node"),{renderLabelFn:n}=lt(x9),{node:r}=e,{data:a,label:i}=r,o=()=>{const l=n==null?void 0:n({node:r,data:a});return M$e(l)?i:l!=null?l:i};return()=>be("span",{class:t.e("label")},[o()])}});const R$e=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],L$e=Ve({name:"ElCascaderNode",__name:"node",props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=e,r=t,a=lt(x9),i=at("cascader-node"),o=R(()=>a.isHoverMenu),l=R(()=>a.config.multiple),s=R(()=>a.config.checkStrictly),u=R(()=>a.config.showPrefix),c=R(()=>{var D;return(D=a.checkedNodes[0])==null?void 0:D.uid}),d=R(()=>n.node.isDisabled),f=R(()=>n.node.isLeaf),p=R(()=>s.value&&!f.value||!d.value),h=R(()=>v(a.expandingNode)),m=R(()=>s.value&&a.checkedNodes.some(v)),v=D=>{var k;const{level:x,uid:_}=n.node;return((k=D==null?void 0:D.pathNodes[x-1])==null?void 0:k.uid)===_},g=()=>{h.value||a.expandNode(n.node)},b=D=>{const{node:k}=n;D!==k.checked&&a.handleCheckChange(k,D)},C=()=>{a.lazyLoad(n.node,()=>{f.value||g()})},y=D=>{o.value&&(E(),!f.value&&r("expand",D))},E=()=>{const{node:D}=n;!p.value||D.loading||(D.loaded?g():C())},w=()=>{f.value&&!d.value&&!s.value&&!l.value?A(!0):(a.config.checkOnClickNode&&(l.value||s.value)||f.value&&a.config.checkOnClickLeaf)&&!d.value?S(!n.node.checked):o.value||E()},S=D=>{s.value?(b(D),n.node.loaded&&g()):A(D)},A=D=>{n.node.loaded?(b(D),!s.value&&g()):C()};return(D,k)=>(H(),le("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!f.value,"aria-owns":f.value?void 0:e.menuId,"aria-expanded":h.value,tabindex:p.value?-1:void 0,class:J([F(i).b(),F(i).is("selectable",s.value),F(i).is("active",e.node.checked),F(i).is("disabled",!p.value),h.value&&"in-active-path",m.value&&"in-checked-path"]),onMouseenter:y,onFocus:y,onClick:w},[Pe(" prefix "),l.value&&u.value?(H(),Ue(F(eu),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:d.value,onClick:k[0]||(k[0]=Yt(()=>{},["stop"])),"onUpdate:modelValue":S},null,8,["model-value","indeterminate","disabled"])):s.value&&u.value?(H(),Ue(F(yue),{key:1,"model-value":c.value,label:e.node.uid,disabled:d.value,"onUpdate:modelValue":S,onClick:k[1]||(k[1]=Yt(()=>{},["stop"]))},{default:Re(()=>[Pe(` Add an empty element to avoid render label, do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 `),k[2]||(k[2]=ye("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):f.value&&e.node.checked?(H(),Ue(F(Rt),{key:2,class:J(F(i).e("prefix"))},{default:Re(()=>[be(F($5))]),_:1},8,["class"])):Pe("v-if",!0),Pe(" content "),be(F(B$e),{node:e.node},null,8,["node"]),Pe(" postfix "),f.value?Pe("v-if",!0):(H(),le(kt,{key:3},[e.node.loading?(H(),Ue(F(Rt),{key:0,class:J([F(i).is("loading"),F(i).e("postfix")])},{default:Re(()=>[be(F(pc))]),_:1},8,["class"])):(H(),Ue(F(Rt),{key:1,class:J(["arrow-right",F(i).e("postfix")])},{default:Re(()=>[be(F(po))]),_:1},8,["class"]))],64))],42,R$e))}});var O$e=yt(L$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const P$e=Ve({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=e,n=Jt(),r=at("cascader-menu"),{t:a}=xn(),i=Li();let o,l;const s=lt(x9),u=j(),c=R(()=>!t.nodes.length),d=R(()=>!s.initialLoaded),f=R(()=>`${i.value}-${t.index}`),p=g=>{o=g.target},h=g=>{var b;if(!(!s.isHoverMenu||!o||!u.value))if(o.contains(g.target)){m();const C=n.vnode.el,{left:y}=C.getBoundingClientRect(),{offsetWidth:E,offsetHeight:w}=C,S=g.clientX-y,A=o.offsetTop,D=A+o.offsetHeight,k=((b=C.querySelector(`.${r.e("wrap")}`))==null?void 0:b.scrollTop)||0;u.value.innerHTML=` `}else l||(l=window.setTimeout(v,s.config.hoverThreshold))},m=()=>{l&&(clearTimeout(l),l=void 0)},v=()=>{u.value&&(u.value.innerHTML="",m())};return(g,b)=>(H(),Ue(F(Qs),{key:f.value,tag:"ul",role:"menu",class:J(F(r).b()),"wrap-class":F(r).e("wrap"),"view-class":[F(r).e("list"),F(r).is("empty",c.value)],onMousemove:h,onMouseleave:v},{default:Re(()=>{var C;return[(H(!0),le(kt,null,En(e.nodes,y=>(H(),Ue(O$e,{key:y.uid,node:y,"menu-id":f.value,onExpand:p},null,8,["node","menu-id"]))),128)),d.value?(H(),le("div",{key:0,class:J(F(r).e("empty-text"))},[be(F(Rt),{size:"14",class:J(F(r).is("loading"))},{default:Re(()=>[be(F(pc))]),_:1},8,["class"]),Cn(" "+ft(F(a)("el.cascader.loading")),1)],2)):c.value?(H(),le("div",{key:1,class:J(F(r).e("empty-text"))},[We(g.$slots,"empty",{},()=>[Cn(ft(F(a)("el.cascader.noData")),1)])],2)):(C=F(s))!=null&&C.isHoverMenu?(H(),le(kt,{key:2},[Pe(" eslint-disable vue/html-self-closing "),(H(),le("svg",{ref_key:"hoverZone",ref:u,class:J(F(r).e("hover-zone"))},null,2))],2112)):Pe("v-if",!0),Pe(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}});var I$e=yt(P$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);let N$e=0;const $$e=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let kM=class _M{constructor(t,n,r,a=!1){this.data=t,this.config=n,this.parent=r,this.root=a,this.uid=N$e++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:o,children:l}=n,s=t[l],u=$$e(this);this.level=a?0:r?r.level+1:1,this.value=t[i],this.label=t[o],this.pathNodes=u,this.pathValues=u.map(c=>c.value),this.pathLabels=u.map(c=>c.label),this.childrenData=s,this.children=(s||[]).map(c=>new _M(c,n,this)),this.loaded=!n.lazy||this.isLeaf||!Bo(s),this.text=""}get isDisabled(){const{data:t,parent:n,config:r}=this,{disabled:a,checkStrictly:i}=r;return(Lt(a)?a(t,this):!!t[a])||!i&&!!(n!=null&&n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:r,loaded:a}=this,{lazy:i,leaf:o}=n,l=Lt(o)?o(t,this):t[o];return On(l)?i&&!a?!1:!(st(r)&&r.length):!!l}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:r}=this,a=new _M(t,this.config,this);return st(n)?n.push(t):this.childrenData=[t],r.push(a),a}calcText(t,n){const r=t?this.pathLabels.join(n):this.label;return this.text=r,r}broadcast(t){this.children.forEach(n=>{var r;n&&(n.broadcast(t),(r=n.onParentCheck)==null||r.call(n,t))})}emit(){var t;const{parent:n}=this;n&&((t=n.onChildCheck)==null||t.call(n),n.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(a=>!a.isDisabled),r=n.length?n.every(a=>a.checked):!1;this.setCheckState(r)}setCheckState(t){const n=this.children.length,r=this.children.reduce((a,i)=>{const o=i.checked?1:i.indeterminate?.5:0;return a+o},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&r!==n&&r>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:r}=this.config;n||!r?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};const xM=(e,t)=>e.reduce((n,r)=>(r.isLeaf?n.push(r):(!t&&n.push(r),n=n.concat(xM(r.children,t))),n),[]);let DW=class{constructor(t,n){this.config=n;const r=(t||[]).map(a=>new kM(a,this.config));this.nodes=r,this.allNodes=xM(r,!1),this.leafNodes=xM(r,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const r=n?n.appendChild(t):new kM(t,this.config);n||this.nodes.push(r),this.appendAllNodesAndLeafNodes(r)}appendNodes(t,n){t.length>0?t.forEach(r=>this.appendNode(r,n)):n&&n.isLeaf&&this.leafNodes.push(n)}appendAllNodesAndLeafNodes(t){this.allNodes.push(t),t.isLeaf&&this.leafNodes.push(t),t.children&&t.children.forEach(n=>{this.appendAllNodesAndLeafNodes(n)})}getNodeByValue(t,n=!1){return al(t)?null:this.getFlattedNodes(n).find(a=>ma(a.value,t)||ma(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:r,level:a})=>ma(t.value,r)&&t.level===a)||null}};const bue=pt({modelValue:{type:ke([Number,String,Array,Object])},options:{type:ke(Array),default:()=>[]},props:{type:ke(Object),default:()=>({})}}),V$e={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:er,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},H$e=pt(Et(Te({},bue),{border:{type:Boolean,default:!0},renderLabel:{type:Function}})),TW=e=>!0,z$e={[nn]:TW,[An]:TW,close:()=>!0,"expand-change":e=>e},W$e=e=>R(()=>Te(Te({},V$e),e.props)),kW=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},G$e=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():dse(e)&&e.click()},j$e=(e,t)=>{const n=t.slice(0),r=n.map(i=>i.uid),a=e.reduce((i,o)=>{const l=r.indexOf(o.uid);return l>-1&&(i.push(o),n.splice(l,1),r.splice(l,1)),i},[]);return a.push(...n),a},K$e=Ve({name:"ElCascaderPanel",__name:"index",props:H$e,emits:z$e,setup(e,{expose:t,emit:n}){const r=e,a=n;let i=!1;const o=at("cascader"),l=W$e(r),s=pa();let u;const c=j(!0),d=j(!1),f=j([]),p=j(),h=j([]),m=j(),v=j([]),g=R(()=>l.value.expandTrigger==="hover"),b=R(()=>r.renderLabel||s.default),C=()=>{const{options:B}=r,T=l.value;i=!1,u=new DW(B,T),h.value=[u.getNodes()],T.lazy&&Bo(r.options)?(c.value=!1,y(void 0,O=>{O&&(u=new DW(O,T),h.value=[u.getNodes()]),c.value=!0,_(!1,!0)})):_(!1,!0)},y=(B,T)=>{const O=l.value;B=B||new kM({},O,void 0,!0),B.loading=!0;const N=Y=>{const z=B,ee=z.root?null:z;z.loading=!1,z.loaded=!0,z.childrenData=z.childrenData||[],Y&&(u==null||u.appendNodes(Y,ee)),Y&&(T==null||T(Y)),B.level===0&&(d.value=!0)},V=()=>{B.loading=!1,B.loaded=!1,B.level===0&&(c.value=!0)};O.lazyLoad(B,N,V)},E=(B,T)=>{var O;const{level:N}=B,V=h.value.slice(0,N);let Y;B.isLeaf?Y=B.pathNodes[N-2]:(Y=B,V.push(B.children)),((O=m.value)==null?void 0:O.uid)!==(Y==null?void 0:Y.uid)&&(m.value=B,h.value=V,!T&&a("expand-change",(B==null?void 0:B.pathValues)||[]))},w=(B,T,O=!0)=>{const{checkStrictly:N,multiple:V}=l.value,Y=v.value[0];i=!0,!V&&(Y==null||Y.doCheck(!1)),B.doCheck(T),x(),O&&!V&&!N&&a("close"),!O&&!V&&S(B)},S=B=>{B&&(B=B.parent,S(B),B&&E(B))},A=B=>u==null?void 0:u.getFlattedNodes(B),D=B=>{var T;return(T=A(B))==null?void 0:T.filter(({checked:O})=>O!==!1)},k=()=>{v.value.forEach(B=>B.doCheck(!1)),x(),h.value=h.value.slice(0,1),m.value=void 0,a("expand-change",[])},x=()=>{var B;const{checkStrictly:T,multiple:O}=l.value,N=v.value,V=D(!T),Y=j$e(N,V),z=Y.map(ee=>ee.valueByOption);v.value=Y,p.value=O?z:(B=z[0])!=null?B:null},_=(B=!1,T=!1)=>{const{modelValue:O}=r,{lazy:N,multiple:V,checkStrictly:Y}=l.value,z=!Y;if(!(!c.value||i||!T&&ma(O,p.value)))if(N&&!B){const ae=uW(LMe(lo(O))).map(pe=>u==null?void 0:u.getNodeByValue(pe)).filter(pe=>!!pe&&!pe.loaded&&!pe.loading);ae.length?ae.forEach(pe=>{y(pe,()=>_(!1,T))}):_(!0,T)}else{const ee=V?lo(O):[O],ae=uW(ee.map(pe=>u==null?void 0:u.getNodeByValue(pe,z)));M(ae,T),p.value=r6(O!=null?O:void 0)}},M=(B,T=!0)=>{const{checkStrictly:O}=l.value,N=v.value,V=B.filter(ee=>!!ee&&(O||ee.isLeaf)),Y=u==null?void 0:u.getSameNode(m.value),z=T&&Y||V[0];z?z.pathNodes.forEach(ee=>E(ee,!0)):m.value=void 0,N.forEach(ee=>ee.doCheck(!1)),dn(V).forEach(ee=>ee.doCheck(!0)),v.value=V,Oe(L)},L=()=>{Yn&&f.value.forEach(B=>{const T=B==null?void 0:B.$el;if(T){const O=T.querySelector(`.${o.namespace.value}-scrollbar__wrap`);let N=T.querySelector(`.${o.b("node")}.in-active-path`);if(!N){const V=T.querySelectorAll(`.${o.b("node")}.${o.is("active")}`);N=V[V.length-1]}GO(O,N)}})},I=B=>{const T=B.target,O=Er(B);switch(O){case dt.up:case dt.down:{B.preventDefault();const N=O===dt.up?-1:1;L3(fse(T,N,`.${o.b("node")}[tabindex="-1"]`));break}case dt.left:{B.preventDefault();const N=f.value[kW(T)-1],V=N==null?void 0:N.$el.querySelector(`.${o.b("node")}[aria-expanded="true"]`);L3(V);break}case dt.right:{B.preventDefault();const N=f.value[kW(T)+1],V=N==null?void 0:N.$el.querySelector(`.${o.b("node")}[tabindex="-1"]`);L3(V);break}case dt.enter:case dt.numpadEnter:G$e(T);break}};Qt(x9,dn({config:l,expandingNode:m,checkedNodes:v,isHoverMenu:g,initialLoaded:c,renderLabelFn:b,lazyLoad:y,expandNode:E,handleCheckChange:w})),$e(l,(B,T)=>{ma(B,T)||C()},{immediate:!0}),$e(()=>r.options,C,{deep:!0}),$e(()=>r.modelValue,()=>{i=!1,_()},{deep:!0}),$e(()=>p.value,B=>{ma(B,r.modelValue)||(a(nn,B),a(An,B))});const P=()=>{d.value||C()};return w5(()=>f.value=[]),Ut(()=>!Bo(r.modelValue)&&_()),t({menuList:f,menus:h,checkedNodes:v,handleKeyDown:I,handleCheckChange:w,getFlattedNodes:A,getCheckedNodes:D,clearCheckedNodes:k,calculateCheckedValue:x,scrollToExpandingNode:L,loadLazyRootNodes:P}),(B,T)=>(H(),le("div",{class:J([F(o).b("panel"),F(o).is("bordered",B.border)]),onKeydown:I},[(H(!0),le(kt,null,En(h.value,(O,N)=>(H(),Ue(I$e,{key:N,ref_for:!0,ref:V=>f.value[N]=V,index:N,nodes:[...O]},{empty:Re(()=>[We(B.$slots,"empty")]),_:3},8,["index","nodes"]))),128))],34))}});var U$e=yt(K$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);const Cue=fn(U$e),q$e=pt(Te(Et(Te({},bue),{size:Xa,placeholder:String,disabled:{type:Boolean,default:void 0},clearable:Boolean,clearIcon:{type:mr,default:Pd},filterable:Boolean,filterMethod:{type:ke(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:ke(Function),default:()=>!0},placement:{type:ke(String),values:Sc,default:"bottom-start"},fallbackPlacements:{type:ke(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:pr.popperClass,popperStyle:pr.popperStyle,teleported:pr.teleported,effect:{type:ke(String),default:"light"},tagType:Et(Te({},Td.type),{default:"info"}),tagEffect:Et(Te({},Td.effect),{default:"light"}),validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0}}),Xm)),_W=e=>!0,Y$e={[nn]:_W,[An]:_W,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>hr(e),expandChange:e=>!!e,removeTag:e=>!!e},J$e=["placeholder"],X$e=["onClick"],Z$e=Ve({name:"ElCascader",__name:"cascader",props:q$e,emits:Y$e,setup(e,{expose:t,emit:n}){const r={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:Qe})=>{const{modifiersData:ct,placement:gt}=Qe;["right","left","bottom","top"].includes(gt)||ct.arrow&&(ct.arrow.x=35)},requires:["arrow"]}]},a=e,i=n,o=Fc(),l=pa();let s=0,u=0;const c=at("cascader"),d=at("input"),f={small:7,default:11,large:15},{t:p}=xn(),{formItem:h}=Ci(),m=ha(),{valueOnClear:v}=I5(a),{isComposing:g,handleComposition:b}=z5({afterComposition(Qe){var ct;const gt=(ct=Qe.target)==null?void 0:ct.value;it(gt)}}),C=j(),y=j(),E=j(),w=j(),S=j(),A=j(),D=j(!1),k=j(!1),x=j(!1),_=j(""),M=j(""),L=j([]),I=j([]),P=R(()=>a.props.multiple?a.collapseTags?L.value.slice(0,a.maxCollapseTags):L.value:[]),B=R(()=>a.props.multiple?a.collapseTags?L.value.slice(a.maxCollapseTags):[]:[]),T=R(()=>o.style),O=R(()=>{var Qe;return(Qe=a.placeholder)!=null?Qe:p("el.cascader.placeholder")}),N=R(()=>M.value||L.value.length>0||g.value?"":O.value),V=ja(),Y=R(()=>V.value==="small"?"small":"default"),z=R(()=>!!a.props.multiple),ee=R(()=>!a.filterable||z.value),ae=R(()=>z.value?M.value:_.value),pe=R(()=>{var Qe;return((Qe=S.value)==null?void 0:Qe.checkedNodes)||[]}),{wrapperRef:re,isFocused:Q,handleBlur:ie}=Id(E,{disabled:m,beforeBlur(Qe){var ct,gt;return((ct=C.value)==null?void 0:ct.isFocusInsideContent(Qe))||((gt=y.value)==null?void 0:gt.isFocusInsideContent(Qe))},afterBlur(){var Qe;a.validateEvent&&((Qe=h==null?void 0:h.validate)==null||Qe.call(h,"blur").catch(ct=>void 0))}}),X=R(()=>!a.clearable||m.value||x.value||!k.value&&!Q.value?!1:!!pe.value.length),q=R(()=>{const{showAllLevels:Qe,separator:ct}=a,gt=pe.value;return gt.length?z.value?"":gt[0].calcText(Qe,ct):""}),ce=R(()=>(h==null?void 0:h.validateState)||""),K=R({get(){return r6(a.modelValue)},set(Qe){const ct=Qe!=null?Qe:v.value;i(nn,ct),i(An,ct),a.validateEvent&&(h==null||h.validate("change").catch(gt=>void 0))}}),Z=R(()=>[c.b(),c.m(V.value),c.is("disabled",m.value),o.class]),se=R(()=>[d.e("icon"),"icon-arrow-down",c.is("reverse",D.value)]),Fe=R(()=>c.is("focus",Q.value)),me=R(()=>{var Qe,ct;return(ct=(Qe=C.value)==null?void 0:Qe.popperRef)==null?void 0:ct.contentRef}),te=Qe=>{if(Q.value){const ct=new FocusEvent("blur",Qe);ie(ct)}ue(!1)},ue=Qe=>{var ct,gt;m.value||(Qe=Qe!=null?Qe:!D.value,Qe!==D.value&&(D.value=Qe,(gt=(ct=E.value)==null?void 0:ct.input)==null||gt.setAttribute("aria-expanded",`${Qe}`),Qe?(Se(),S.value&&Oe(S.value.scrollToExpandingNode)):a.filterable&&nt(),i("visibleChange",Qe)))},Se=()=>{Oe(()=>{var Qe;(Qe=C.value)==null||Qe.updatePopper()})},Ae=()=>{x.value=!1},Ne=Qe=>{const{showAllLevels:ct,separator:gt}=a;return{node:Qe,key:Qe.uid,text:Qe.calcText(ct,gt),hitState:!1,closable:!m.value&&!Qe.isDisabled}},je=Qe=>{var ct;const gt=Qe.node;gt.doCheck(!1),(ct=S.value)==null||ct.calculateCheckedValue(),i("removeTag",gt.valueByOption)},De=()=>{switch(a.showCheckedStrategy){case"child":return pe.value;case"parent":{const Qe=ve(!1),ct=Qe.map(an=>an.value);return Qe.filter(an=>!an.parent||!ct.includes(an.parent.value))}default:return[]}},he=()=>{if(!z.value)return;const Qe=De(),ct=[];Qe.forEach(gt=>ct.push(Ne(gt))),L.value=ct},He=()=>{var Qe,ct;const{filterMethod:gt,showAllLevels:an,separator:Wt}=a,bt=(ct=(Qe=S.value)==null?void 0:Qe.getFlattedNodes(!a.props.checkStrictly))==null?void 0:ct.filter(Ft=>Ft.isDisabled?!1:(Ft.calcText(an,Wt),gt(Ft,ae.value)));z.value&&L.value.forEach(Ft=>{Ft.hitState=!1}),x.value=!0,I.value=bt,Se()},xe=()=>{var Qe;let ct;x.value&&A.value?ct=A.value.$el.querySelector(`.${c.e("suggestion-item")}`):ct=(Qe=S.value)==null?void 0:Qe.$el.querySelector(`.${c.b("node")}[tabindex="-1"]`),ct&&(ct.focus(),!x.value&&ct.click())},qe=()=>{var Qe,ct,gt;const an=(Qe=E.value)==null?void 0:Qe.input,Wt=w.value,bt=(ct=A.value)==null?void 0:ct.$el;if(!(!Yn||!an)){if(bt){const Ft=bt.querySelector(`.${c.e("suggestion-list")}`);Ft.style.minWidth=`${an.offsetWidth}px`}if(Wt){const{offsetHeight:Ft}=Wt,It=L.value.length>0?`${Math.max(Ft,s)-2}px`:`${s}px`;if(an.style.height=It,l.prefix){const Nn=(gt=E.value)==null?void 0:gt.$el.querySelector(`.${d.e("prefix")}`);let Kn=0;Nn&&(Kn=Nn.offsetWidth,Kn>0&&(Kn+=f[V.value||"default"])),Wt.style.left=`${Kn}px`}else Wt.style.left="0";Se()}}},ve=Qe=>{var ct;return(ct=S.value)==null?void 0:ct.getCheckedNodes(Qe)},Ge=Qe=>{Se(),i("expandChange",Qe)},Ke=Qe=>{if(g.value)return;switch(Er(Qe)){case dt.enter:case dt.numpadEnter:ue();break;case dt.down:ue(!0),Oe(xe),Qe.preventDefault();break;case dt.esc:D.value===!0&&(Qe.preventDefault(),Qe.stopPropagation(),ue(!1));break;case dt.tab:ue(!1);break}},rt=()=>{var Qe;(Qe=S.value)==null||Qe.clearCheckedNodes(),!D.value&&a.filterable&&nt(),ue(!1),i("clear")},nt=()=>{const{value:Qe}=q;_.value=Qe,M.value=Qe},ze=Qe=>{var ct,gt;const{checked:an}=Qe;z.value?(ct=S.value)==null||ct.handleCheckChange(Qe,!an,!1):(!an&&((gt=S.value)==null||gt.handleCheckChange(Qe,!0,!1)),ue(!1))},Ie=Qe=>{const ct=Qe.target,gt=Er(Qe);switch(gt){case dt.up:case dt.down:{Qe.preventDefault();const an=gt===dt.up?-1:1;L3(fse(ct,an,`.${c.e("suggestion-item")}[tabindex="-1"]`));break}case dt.enter:case dt.numpadEnter:ct.click();break}},ge=()=>{const Qe=L.value[L.value.length-1];u=M.value?0:u+1,!(!Qe||!u||a.collapseTags&&L.value.length>1)&&(Qe.hitState?je(Qe):Qe.hitState=!0)},oe=R(()=>a.debounce),Xe=L5(()=>{const{value:Qe}=ae;if(!Qe)return;const ct=a.beforeFilter(Qe);Xf(ct)?ct.then(He).catch(()=>{}):ct!==!1?He():Ae()},oe),it=(Qe,ct)=>{!D.value&&ue(!0),!(ct!=null&&ct.isComposing)&&(Qe?Xe():Ae())},xt=Qe=>Number.parseFloat(yBe(d.cssVarName("input-height"),Qe).value)-2,Ee=()=>{var Qe;(Qe=E.value)==null||Qe.focus()},pn=()=>{var Qe;(Qe=E.value)==null||Qe.blur()};return $e(x,Se),$e([pe,m,()=>a.collapseTags,()=>a.maxCollapseTags],he),$e(L,()=>{Oe(()=>qe())}),$e(V,()=>Xt(null,null,function*(){yield Oe();const Qe=E.value.input;s=xt(Qe)||s,qe()})),$e(q,nt,{immediate:!0}),$e(()=>D.value,Qe=>{var ct;Qe&&a.props.lazy&&a.props.lazyLoad&&((ct=S.value)==null||ct.loadLazyRootNodes())}),Ut(()=>{const Qe=E.value.input,ct=xt(Qe);s=Qe.offsetHeight||ct,zr(Qe,qe)}),t({getCheckedNodes:ve,cascaderPanelRef:S,togglePopperVisible:ue,contentRef:me,presentText:q,focus:Ee,blur:pn}),(Qe,ct)=>(H(),Ue(F(gi),{ref_key:"tooltipRef",ref:C,visible:D.value,teleported:Qe.teleported,"popper-class":[F(c).e("dropdown"),Qe.popperClass],"popper-style":Qe.popperStyle,"popper-options":r,"fallback-placements":Qe.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:Qe.placement,transition:`${F(c).namespace.value}-zoom-in-top`,effect:Qe.effect,pure:"",persistent:Qe.persistent,onHide:Ae},{default:Re(()=>[hn((H(),le("div",{ref_key:"wrapperRef",ref:re,class:J(Z.value),style:Pt(T.value),onClick:ct[8]||(ct[8]=()=>ue(ee.value?void 0:!0)),onKeydown:Ke,onMouseenter:ct[9]||(ct[9]=gt=>k.value=!0),onMouseleave:ct[10]||(ct[10]=gt=>k.value=!1)},[be(F(co),{ref_key:"inputRef",ref:E,modelValue:_.value,"onUpdate:modelValue":ct[1]||(ct[1]=gt=>_.value=gt),placeholder:N.value,readonly:ee.value,disabled:F(m),"validate-event":!1,size:F(V),class:J(Fe.value),tabindex:z.value&&Qe.filterable&&!F(m)?-1:void 0,onCompositionstart:F(b),onCompositionupdate:F(b),onCompositionend:F(b),onInput:it},Ri({suffix:Re(()=>[X.value?(H(),Ue(F(Rt),{key:"clear",class:J([F(d).e("icon"),"icon-circle-close"]),onClick:Yt(rt,["stop"])},{default:Re(()=>[(H(),Ue(ln(Qe.clearIcon)))]),_:1},8,["class"])):(H(),Ue(F(Rt),{key:"arrow-down",class:J(se.value),onClick:ct[0]||(ct[0]=Yt(gt=>ue(),["stop"]))},{default:Re(()=>[be(F(wc))]),_:1},8,["class"]))]),_:2},[Qe.$slots.prefix?{name:"prefix",fn:Re(()=>[We(Qe.$slots,"prefix")]),key:"0"}:void 0]),1032,["modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),z.value?(H(),le("div",{key:0,ref_key:"tagWrapper",ref:w,class:J([F(c).e("tags"),F(c).is("validate",!!ce.value)])},[We(Qe.$slots,"tag",{data:L.value,deleteTag:je},()=>[(H(!0),le(kt,null,En(P.value,gt=>(H(),Ue(F(hd),{key:gt.key,type:Qe.tagType,size:Y.value,effect:Qe.tagEffect,hit:gt.hitState,closable:gt.closable,"disable-transitions":"",onClose:an=>je(gt)},{default:Re(()=>[ye("span",null,ft(gt.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),Qe.collapseTags&&L.value.length>Qe.maxCollapseTags?(H(),Ue(F(gi),{key:0,ref_key:"tagTooltipRef",ref:y,disabled:D.value||!Qe.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":Qe.popperClass,"popper-style":Qe.popperStyle,effect:Qe.effect,persistent:Qe.persistent},{default:Re(()=>[be(F(hd),{closable:!1,size:Y.value,type:Qe.tagType,effect:Qe.tagEffect,"disable-transitions":""},{default:Re(()=>[ye("span",{class:J(F(c).e("tags-text"))}," + "+ft(L.value.length-Qe.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:Re(()=>[be(F(Qs),{"max-height":Qe.maxCollapseTagsTooltipHeight},{default:Re(()=>[ye("div",{class:J(F(c).e("collapse-tags"))},[(H(!0),le(kt,null,En(B.value,(gt,an)=>(H(),le("div",{key:an,class:J(F(c).e("collapse-tag"))},[(H(),Ue(F(hd),{key:gt.key,class:"in-tooltip",type:Qe.tagType,size:Y.value,effect:Qe.tagEffect,hit:gt.hitState,closable:gt.closable,"disable-transitions":"",onClose:Wt=>je(gt)},{default:Re(()=>[ye("span",null,ft(gt.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):Pe("v-if",!0),Qe.filterable&&!F(m)?hn((H(),le("input",{key:1,"onUpdate:modelValue":ct[2]||(ct[2]=gt=>M.value=gt),type:"text",class:J(F(c).e("search-input")),placeholder:q.value?"":O.value,onInput:ct[3]||(ct[3]=gt=>it(M.value,gt)),onClick:ct[4]||(ct[4]=Yt(gt=>ue(!0),["stop"])),onKeydown:ca(ge,["delete"]),onCompositionstart:ct[5]||(ct[5]=(...gt)=>F(b)&&F(b)(...gt)),onCompositionupdate:ct[6]||(ct[6]=(...gt)=>F(b)&&F(b)(...gt)),onCompositionend:ct[7]||(ct[7]=(...gt)=>F(b)&&F(b)(...gt))},null,42,J$e)),[[tp,M.value]]):Pe("v-if",!0)],2)):Pe("v-if",!0)],38)),[[F(sp),te,me.value]])]),content:Re(()=>[Qe.$slots.header?(H(),le("div",{key:0,class:J(F(c).e("header")),onClick:ct[11]||(ct[11]=Yt(()=>{},["stop"]))},[We(Qe.$slots,"header")],2)):Pe("v-if",!0),hn(be(F(Cue),{ref_key:"cascaderPanelRef",ref:S,modelValue:K.value,"onUpdate:modelValue":ct[12]||(ct[12]=gt=>K.value=gt),options:Qe.options,props:a.props,border:!1,"render-label":Qe.$slots.default,onExpandChange:Ge,onClose:ct[13]||(ct[13]=gt=>Qe.$nextTick(()=>ue(!1)))},{empty:Re(()=>[We(Qe.$slots,"empty")]),_:3},8,["modelValue","options","props","render-label"]),[[In,!x.value]]),Qe.filterable?hn((H(),Ue(F(Qs),{key:1,ref_key:"suggestionPanel",ref:A,tag:"ul",class:J(F(c).e("suggestion-panel")),"view-class":F(c).e("suggestion-list"),onKeydown:Ie},{default:Re(()=>[I.value.length?(H(!0),le(kt,{key:0},En(I.value,gt=>(H(),le("li",{key:gt.uid,class:J([F(c).e("suggestion-item"),F(c).is("checked",gt.checked)]),tabindex:-1,onClick:an=>ze(gt)},[We(Qe.$slots,"suggestion-item",{item:gt},()=>[ye("span",null,ft(gt.text),1),gt.checked?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[be(F($5))]),_:1})):Pe("v-if",!0)])],10,X$e))),128)):We(Qe.$slots,"empty",{key:1},()=>[ye("li",{class:J(F(c).e("empty-text"))},ft(F(p)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[In,x.value]]):Pe("v-if",!0),Qe.$slots.footer?(H(),le("div",{key:2,class:J(F(c).e("footer")),onClick:ct[14]||(ct[14]=Yt(()=>{},["stop"]))},[We(Qe.$slots,"footer")],2)):Pe("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});var Q$e=yt(Z$e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);const eVe=fn(Q$e),tVe=pt({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),nVe={"update:checked":e=>hr(e),[An]:e=>hr(e)},rVe=Ve({name:"ElCheckTag",__name:"check-tag",props:tVe,emits:nVe,setup(e,{emit:t}){const n=e,r=t,a=at("check-tag"),i=R(()=>[a.b(),a.is("checked",n.checked),a.is("disabled",n.disabled),a.m(n.type||"primary")]),o=()=>{if(n.disabled)return;const l=!n.checked;r(An,l),r("update:checked",l)};return(l,s)=>(H(),le("span",{class:J(i.value),onClick:o},[We(l.$slots,"default")],2))}});var aVe=yt(rVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const iVe=fn(aVe),oVe=pt({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:ke([Number,Object]),default:()=>da({})},sm:{type:ke([Number,Object]),default:()=>da({})},md:{type:ke([Number,Object]),default:()=>da({})},lg:{type:ke([Number,Object]),default:()=>da({})},xl:{type:ke([Number,Object]),default:()=>da({})}}),Fue=Symbol("rowContextKey"),lVe=Ve({name:"ElCol",__name:"col",props:oVe,setup(e){const t=e,{gutter:n}=lt(Fue,{gutter:R(()=>0)}),r=at("col"),a=R(()=>{const o={};return n.value&&(o.paddingLeft=o.paddingRight=`${n.value/2}px`),o}),i=R(()=>{const o=[];return["span","offset","pull","push"].forEach(u=>{const c=t[u];$t(c)&&(u==="span"?o.push(r.b(`${t[u]}`)):c>0&&o.push(r.b(`${u}-${t[u]}`)))}),["xs","sm","md","lg","xl"].forEach(u=>{$t(t[u])?o.push(r.b(`${u}-${t[u]}`)):mn(t[u])&&Object.entries(t[u]).forEach(([c,d])=>{o.push(c!=="span"?r.b(`${u}-${c}-${d}`):r.b(`${u}-${d}`))})}),n.value&&o.push(r.is("guttered")),[r.b(),o]});return(o,l)=>(H(),Ue(ln(o.tag),{class:J(i.value),style:Pt(a.value)},{default:Re(()=>[We(o.$slots,"default")]),_:3},8,["class","style"]))}});var sVe=yt(lVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const uVe=fn(sVe),xW=e=>$t(e)||Bt(e)||st(e),cVe=pt({accordion:Boolean,modelValue:{type:ke([Array,String,Number]),default:()=>da([])},expandIconPosition:{type:ke([String]),default:"right"},beforeCollapse:{type:ke(Function)}}),dVe={[nn]:xW,[An]:xW},Eue=Symbol("collapseContextKey"),fVe="ElCollapse",pVe=(e,t)=>{const n=j(pi(e.modelValue)),r=o=>{n.value=o;const l=e.accordion?n.value[0]:n.value;t(nn,l),t(An,l)},a=o=>{if(e.accordion)r([n.value[0]===o?"":o]);else{const l=[...n.value],s=l.indexOf(o);s>-1?l.splice(s,1):l.push(o),r(l)}},i=o=>Xt(null,null,function*(){const{beforeCollapse:l}=e;if(!l){a(o);return}const s=l(o);[Xf(s),hr(s)].includes(!0)||$a(fVe,"beforeCollapse must return type `Promise` or `boolean`"),Xf(s)?s.then(c=>{c!==!1&&a(o)}).catch(c=>{}):s&&a(o)});return $e(()=>e.modelValue,()=>n.value=pi(e.modelValue),{deep:!0}),Qt(Eue,{activeNames:n,handleItemClick:i}),{activeNames:n,setActiveNames:r}},hVe=e=>{const t=at("collapse");return{rootKls:R(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}},mVe=Ve({name:"ElCollapse",__name:"collapse",props:cVe,emits:dVe,setup(e,{expose:t,emit:n}){const r=e,a=n,{activeNames:i,setActiveNames:o}=pVe(r,a),{rootKls:l}=hVe(r);return t({activeNames:i,setActiveNames:o}),(s,u)=>(H(),le("div",{class:J(F(l))},[We(s.$slots,"default")],2))}});var vVe=yt(mVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const gVe=Ve({name:"ElCollapseTransition",__name:"collapse-transition",setup(e){const t=at("collapse-transition"),n=a=>{a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom},r={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.height&&(a.dataset.elExistsHeight=a.style.height),a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){requestAnimationFrame(()=>{a.dataset.oldOverflow=a.style.overflow,a.dataset.elExistsHeight?a.style.maxHeight=a.dataset.elExistsHeight:a.scrollHeight!==0?a.style.maxHeight=`${a.scrollHeight}px`:a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom,a.style.overflow="hidden"})},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},enterCancelled(a){n(a)},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){n(a)},leaveCancelled(a){n(a)}};return(a,i)=>(H(),Ue(vi,tn({name:F(t).b()},Iie(r)),{default:Re(()=>[We(a.$slots,"default")]),_:3},16,["name"]))}});var yVe=yt(gVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);const M9=fn(yVe),bVe=pt({title:{type:String,default:""},name:{type:ke([String,Number]),default:void 0},icon:{type:mr,default:po},disabled:Boolean}),CVe=e=>{const t=lt(Eue),{namespace:n}=at("collapse"),r=j(!1),a=j(!1),i=YO(),o=R(()=>i.current++),l=R(()=>{var f;return(f=e.name)!=null?f:`${n.value}-id-${i.prefix}-${F(o)}`}),s=R(()=>t==null?void 0:t.activeNames.value.includes(F(l)));return{focusing:r,id:o,isActive:s,handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:r.value=!0},50)},handleHeaderClick:f=>{if(e.disabled)return;const p=f.target;p!=null&&p.closest("input, textarea, select")||(t==null||t.handleItemClick(F(l)),r.value=!1,a.value=!0)},handleEnterClick:f=>{const p=f.target;p!=null&&p.closest("input, textarea, select")||(f.preventDefault(),t==null||t.handleItemClick(F(l)))}}},FVe=(e,{focusing:t,isActive:n,id:r})=>{const a=at("collapse"),i=R(()=>[a.b("item"),a.is("active",F(n)),a.is("disabled",e.disabled)]),o=R(()=>[a.be("item","header"),a.is("active",F(n)),{focusing:F(t)&&!e.disabled}]),l=R(()=>[a.be("item","arrow"),a.is("active",F(n))]),s=R(()=>[a.be("item","title")]),u=R(()=>a.be("item","wrap")),c=R(()=>a.be("item","content")),d=R(()=>a.b(`content-${F(r)}`)),f=R(()=>a.b(`head-${F(r)}`));return{itemTitleKls:s,arrowKls:l,headKls:o,rootKls:i,itemWrapperKls:u,itemContentKls:c,scopedContentId:d,scopedHeadId:f}},EVe=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],wVe=["id","aria-hidden","aria-labelledby"],SVe=Ve({name:"ElCollapseItem",__name:"collapse-item",props:bVe,setup(e,{expose:t}){const n=e,{focusing:r,id:a,isActive:i,handleFocus:o,handleHeaderClick:l,handleEnterClick:s}=CVe(n),{arrowKls:u,headKls:c,rootKls:d,itemTitleKls:f,itemWrapperKls:p,itemContentKls:h,scopedContentId:m,scopedHeadId:v}=FVe(n,{focusing:r,isActive:i,id:a});return t({isActive:i}),(g,b)=>(H(),le("div",{class:J(F(d))},[ye("div",{id:F(v),class:J(F(c)),"aria-expanded":F(i),"aria-controls":F(m),"aria-describedby":F(m),tabindex:g.disabled?void 0:0,"aria-disabled":g.disabled,role:"button",onClick:b[0]||(b[0]=(...C)=>F(l)&&F(l)(...C)),onKeydown:b[1]||(b[1]=ca(Yt((...C)=>F(s)&&F(s)(...C),["stop"]),["space","enter"])),onFocus:b[2]||(b[2]=(...C)=>F(o)&&F(o)(...C)),onBlur:b[3]||(b[3]=C=>r.value=!1)},[ye("span",{class:J(F(f))},[We(g.$slots,"title",{isActive:F(i)},()=>[Cn(ft(g.title),1)])],2),We(g.$slots,"icon",{isActive:F(i)},()=>[be(F(Rt),{class:J(F(u))},{default:Re(()=>[(H(),Ue(ln(g.icon)))]),_:1},8,["class"])])],42,EVe),be(F(M9),null,{default:Re(()=>[hn(ye("div",{id:F(m),role:"region",class:J(F(p)),"aria-hidden":!F(i),"aria-labelledby":F(v)},[ye("div",{class:J(F(h))},[We(g.$slots,"default")],2)],10,wVe),[[In,F(i)]])]),_:3})],2))}});var wue=yt(SVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const AVe=fn(vVe,{CollapseItem:wue}),DVe=sa(wue),Sue=pt({color:{type:ke(Object),required:!0},vertical:Boolean,disabled:Boolean}),TVe=Sue;let jE=!1;function MM(e,t){if(!Yn)return;const n=function(i){var o;(o=t.drag)==null||o.call(t,i)},r=function(i){var o;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,jE=!1,(o=t.end)==null||o.call(t,i)},a=function(i){var o;jE||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),jE=!0,(o=t.start)==null||o.call(t,i))};e.addEventListener("mousedown",a),e.addEventListener("touchstart",a,{passive:!1})}const MW=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},BM=(e,t)=>Math.abs(MW(e)-MW(t)),Aue=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},Due=(e,{key:t,minValue:n,maxValue:r})=>{const a=Jt(),i=Zn(),o=Zn(),l=R(()=>e.color.get(t));function s(f){var p;if(e.disabled)return;f.target!==i.value&&u(f),(p=i.value)==null||p.focus()}function u(f){if(!o.value||!i.value||e.disabled)return;const h=a.vnode.el.getBoundingClientRect(),{clientX:m,clientY:v}=Aue(f);let g;if(e.vertical){let b=v-h.top;b=Math.max(i.value.offsetHeight/2,b),b=Math.min(b,h.height-i.value.offsetHeight/2),g=Math.round((b-i.value.offsetHeight/2)/(h.height-i.value.offsetHeight)*r)}else{let b=m-h.left;b=Math.max(i.value.offsetWidth/2,b),b=Math.min(b,h.width-i.value.offsetWidth/2),g=Math.round((b-i.value.offsetWidth/2)/(h.width-i.value.offsetWidth)*r)}e.color.set(t,g)}function c(f){if(e.disabled)return;const{shiftKey:p}=f,h=Er(f),m=p?10:1,v=t==="hue"?-1:1;let g=!0;switch(h){case dt.left:case dt.down:d(-m*v);break;case dt.right:case dt.up:d(m*v);break;case dt.home:e.color.set(t,t==="hue"?r:n);break;case dt.end:e.color.set(t,t==="hue"?n:r);break;case dt.pageDown:d(-4*v);break;case dt.pageUp:d(4*v);break;default:g=!1;break}g&&f.preventDefault()}function d(f){let p=l.value+f;p=pr?r:p,e.color.set(t,p)}return{thumb:i,bar:o,currentValue:l,handleDrag:u,handleClick:s,handleKeydown:c}},Tue=(e,{namespace:t,maxValue:n,bar:r,thumb:a,currentValue:i,handleDrag:o,getBackground:l})=>{const s=Jt(),u=at(t),c=j(0),d=j(0),f=j();function p(){if(!a.value||e.vertical)return 0;const E=s.vnode.el,w=i.value;return E?Math.round(w*(E.offsetWidth-a.value.offsetWidth/2)/n):0}function h(){if(!a.value)return 0;const E=s.vnode.el;if(!e.vertical)return 0;const w=i.value;return E?Math.round(w*(E.offsetHeight-a.value.offsetHeight/2)/n):0}function m(){c.value=p(),d.value=h(),f.value=l==null?void 0:l()}Ut(()=>{if(!r.value||!a.value)return;const E={drag:w=>{o(w)},end:w=>{o(w)}};MM(r.value,E),MM(a.value,E),m()}),$e(i,()=>m()),$e(()=>e.color.value,()=>m());const v=R(()=>[u.b(),u.is("vertical",e.vertical),u.is("disabled",e.disabled)]),g=R(()=>u.e("bar")),b=R(()=>u.e("thumb")),C=R(()=>({background:f.value})),y=R(()=>({left:fa(c.value),top:fa(d.value)}));return{rootKls:v,barKls:g,barStyle:C,thumbKls:b,thumbStyle:y,thumbLeft:c,thumbTop:d,update:m}},kVe=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],BW=0,KE=100,_Ve=Ve({name:"ElColorAlphaSlider",__name:"alpha-slider",props:Sue,setup(e,{expose:t}){const n=e,{currentValue:r,bar:a,thumb:i,handleDrag:o,handleClick:l,handleKeydown:s}=Due(n,{key:"alpha",minValue:BW,maxValue:KE}),{rootKls:u,barKls:c,barStyle:d,thumbKls:f,thumbStyle:p,update:h}=Tue(n,{namespace:"color-alpha-slider",maxValue:KE,currentValue:r,bar:a,thumb:i,handleDrag:o,getBackground:b}),{t:m}=xn(),v=R(()=>m("el.colorpicker.alphaLabel")),g=R(()=>m("el.colorpicker.alphaDescription",{alpha:r.value,color:n.color.value}));function b(){if(n.color&&n.color.value){const{r:C,g:y,b:E}=n.color.toRgb();return`linear-gradient(to right, rgba(${C}, ${y}, ${E}, 0) 0%, rgba(${C}, ${y}, ${E}, 1) 100%)`}return""}return t({update:h,bar:a,thumb:i}),(C,y)=>(H(),le("div",{class:J(F(u))},[ye("div",{ref_key:"bar",ref:a,class:J(F(c)),style:Pt(F(d)),onClick:y[0]||(y[0]=(...E)=>F(l)&&F(l)(...E))},null,6),ye("div",{ref_key:"thumb",ref:i,class:J(F(f)),style:Pt(F(p)),"aria-label":v.value,"aria-valuenow":F(r),"aria-valuetext":g.value,"aria-orientation":C.vertical?"vertical":"horizontal","aria-valuemin":BW,"aria-valuemax":KE,role:"slider",tabindex:C.disabled?void 0:0,"aria-disabled":C.disabled,onKeydown:y[1]||(y[1]=(...E)=>F(s)&&F(s)(...E))},null,46,kVe)],2))}});var xVe=yt(_Ve,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/components/alpha-slider.vue"]]);const MVe=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],RW=0,UE=360,BVe=Ve({name:"ElColorHueSlider",__name:"hue-slider",props:TVe,setup(e,{expose:t}){const n=e,{currentValue:r,bar:a,thumb:i,handleDrag:o,handleClick:l,handleKeydown:s}=Due(n,{key:"hue",minValue:RW,maxValue:UE}),{rootKls:u,barKls:c,thumbKls:d,thumbStyle:f,thumbTop:p,update:h}=Tue(n,{namespace:"color-hue-slider",maxValue:UE,currentValue:r,bar:a,thumb:i,handleDrag:o}),{t:m}=xn(),v=R(()=>m("el.colorpicker.hueLabel")),g=R(()=>m("el.colorpicker.hueDescription",{hue:r.value,color:n.color.value}));return t({bar:a,thumb:i,thumbTop:p,update:h}),(b,C)=>(H(),le("div",{class:J(F(u))},[ye("div",{ref_key:"bar",ref:a,class:J(F(c)),onClick:C[0]||(C[0]=(...y)=>F(l)&&F(l)(...y))},null,2),ye("div",{ref_key:"thumb",ref:i,class:J(F(d)),style:Pt(F(f)),"aria-label":v.value,"aria-valuenow":F(r),"aria-valuetext":g.value,"aria-orientation":b.vertical?"vertical":"horizontal","aria-valuemin":RW,"aria-valuemax":UE,role:"slider",tabindex:b.disabled?void 0:0,"aria-disabled":b.disabled,onKeydown:C[1]||(C[1]=(...y)=>F(s)&&F(s)(...y))},null,46,MVe)],2))}});var RVe=yt(BVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/components/hue-slider.vue"]]);const LVe=pt({colors:{type:ke(Array),required:!0},color:{type:ke(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean}),kue=pt({modelValue:{type:ke(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:String,disabled:Boolean,predefine:{type:ke(Array)},validateEvent:{type:Boolean,default:!0}}),OVe={[nn]:e=>Bt(e)||Ma(e)},_ue=Symbol("colorCommonPickerKey"),xue=Symbol("colorPickerPanelContextKey");class u6{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this._tiny=new c1,this._isValid=!1,this.enableAlpha=!1,this.format="",this.value="";for(const n in t)qn(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const r in t)qn(t,r)&&this.set(r,t[r]);return}this[`_${t}`]=n,this._isValid=!0,this.doOnChange()}get(t){return["hue","saturation","value","alpha"].includes(t)?Math.round(this[`_${t}`]):this[`_${t}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(t){const n=new c1(t);if(this._isValid=n.isValid,n.isValid){const{h:r,s:a,v:i,a:o}=n.toHsv();this._hue=r,this._saturation=a*100,this._value=i*100,this._alpha=o*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(t){const n=new c1({h:t._hue,s:t._saturation/100,v:t._value/100,a:t._alpha/100});return this._tiny.equals(n)}doOnChange(){const{_hue:t,_saturation:n,_value:r,_alpha:a,format:i,enableAlpha:o}=this;let l=i||(o?"rgb":"hex");i==="hex"&&o&&(l="hex8"),this._tiny=new c1({h:t,s:n/100,v:r/100,a:a/100}),this.value=this._isValid?this._tiny.toString(l):""}}const PVe=e=>{const{currentColor:t}=lt(xue),n=j(a(e.colors,e.color));$e(()=>t.value,i=>{const o=new u6({value:i,enableAlpha:e.enableAlpha});n.value.forEach(l=>{l.selected=o.compare(l)})}),No(()=>{n.value=a(e.colors,e.color)});function r(i){e.color.fromString(e.colors[i])}function a(i,o){return i.map(l=>{const s=new u6({value:l,enableAlpha:e.enableAlpha});return s.selected=s.compare(o),s})}return{rgbaColors:n,handleSelect:r}},IVe=e=>{const t=at("color-predefine"),n=R(()=>[t.b(),t.is("disabled",e.disabled)]),r=R(()=>t.e("colors"));function a(i){return[t.e("color-selector"),t.is("alpha",i.get("alpha")<100),{selected:i.selected}]}return{rootKls:n,colorsKls:r,colorSelectorKls:a}},NVe=["disabled","aria-label","onClick"],$Ve=Ve({name:"ElColorPredefine",__name:"predefine",props:LVe,setup(e){const t=e,{rgbaColors:n,handleSelect:r}=PVe(t),{rootKls:a,colorsKls:i,colorSelectorKls:o}=IVe(t),{t:l}=xn(),s=u=>l("el.colorpicker.predefineDescription",{value:u});return(u,c)=>(H(),le("div",{class:J(F(a))},[ye("div",{class:J(F(i))},[(H(!0),le(kt,null,En(F(n),(d,f)=>(H(),le("button",{key:u.colors[f],type:"button",disabled:u.disabled,"aria-label":s(d.value),class:J(F(o)(d)),onClick:p=>F(r)(f)},[ye("div",{style:Pt({backgroundColor:d.value})},null,4)],10,NVe))),128))],2)],2))}});var VVe=yt($Ve,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/components/predefine.vue"]]);const HVe=pt({color:{type:ke(Object),required:!0},disabled:Boolean}),zVe=e=>{const t=Jt(),n=j(),r=j(0),a=j(0),i=j("hsl(0, 100%, 50%)"),o=R(()=>e.color.get("saturation")),l=R(()=>e.color.get("value")),s=R(()=>e.color.get("hue"));function u(h){var m;if(e.disabled)return;h.target!==n.value&&c(h),(m=n.value)==null||m.focus({preventScroll:!0})}function c(h){if(e.disabled)return;const v=t.vnode.el.getBoundingClientRect(),{clientX:g,clientY:b}=Aue(h);let C=g-v.left,y=b-v.top;C=Math.max(0,C),C=Math.min(C,v.width),y=Math.max(0,y),y=Math.min(y,v.height),a.value=C,r.value=y,e.color.set({saturation:C/v.width*100,value:100-y/v.height*100})}function d(h){if(e.disabled)return;const{shiftKey:m}=h,v=Er(h),g=m?10:1;let b=!0;switch(v){case dt.left:f(-g);break;case dt.right:f(g);break;case dt.up:p(g);break;case dt.down:p(-g);break;default:b=!1;break}b&&h.preventDefault()}function f(h){let m=o.value+h;m=m<0?0:m>100?100:m,e.color.set("saturation",m)}function p(h){let m=l.value+h;m=m<0?0:m>100?100:m,e.color.set("value",m)}return{cursorRef:n,cursorTop:r,cursorLeft:a,background:i,saturation:o,brightness:l,hue:s,handleClick:u,handleDrag:c,handleKeydown:d}},WVe=(e,{cursorTop:t,cursorLeft:n,background:r,handleDrag:a})=>{const i=Jt(),o=at("color-svpanel");function l(){const f=e.color.get("saturation"),p=e.color.get("value"),h=i.vnode.el,{clientWidth:m,clientHeight:v}=h;n.value=f*m/100,t.value=(100-p)*v/100,r.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}Ut(()=>{MM(i.vnode.el,{drag:f=>{a(f)},end:f=>{a(f)}}),l()}),$e([()=>e.color.get("hue"),()=>e.color.get("value"),()=>e.color.value],()=>l());const s=R(()=>o.b()),u=R(()=>o.e("cursor")),c=R(()=>({backgroundColor:r.value})),d=R(()=>({top:fa(t.value),left:fa(n.value)}));return{rootKls:s,cursorKls:u,rootStyle:c,cursorStyle:d,update:l}},GVe=["tabindex","aria-disabled","aria-label","aria-valuenow","aria-valuetext"],jVe=Ve({name:"ElSvPanel",__name:"sv-panel",props:HVe,setup(e,{expose:t}){const n=e,{cursorRef:r,cursorTop:a,cursorLeft:i,background:o,saturation:l,brightness:s,handleClick:u,handleDrag:c,handleKeydown:d}=zVe(n),{rootKls:f,cursorKls:p,rootStyle:h,cursorStyle:m,update:v}=WVe(n,{cursorTop:a,cursorLeft:i,background:o,handleDrag:c}),{t:g}=xn(),b=R(()=>g("el.colorpicker.svLabel")),C=R(()=>g("el.colorpicker.svDescription",{saturation:l.value,brightness:s.value,color:n.color.value}));return t({update:v}),(y,E)=>(H(),le("div",{class:J(F(f)),style:Pt(F(h)),onClick:E[1]||(E[1]=(...w)=>F(u)&&F(u)(...w))},[ye("div",{ref_key:"cursorRef",ref:r,class:J(F(p)),style:Pt(F(m)),tabindex:y.disabled?void 0:0,"aria-disabled":y.disabled,role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":b.value,"aria-valuenow":`${F(l)},${F(s)}`,"aria-valuetext":C.value,onKeydown:E[0]||(E[0]=(...w)=>F(d)&&F(d)(...w))},null,46,GVe)],6))}});var KVe=yt(jVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/components/sv-panel.vue"]]);const Mue=(e,t)=>{const n=dn(new u6({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return $e(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(nn,n.value)}),{color:n}},UVe=Ve({name:"ElColorPickerPanel",__name:"color-picker-panel",props:kue,emits:OVe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=at("color-picker-panel"),{formItem:o}=Ci(),l=ha(),s=j(),u=j(),c=j(),d=j(),f=j(""),{color:p}=lt(_ue,()=>Mue(r,a),!0);function h(){p.fromString(f.value),p.value!==f.value&&(f.value=p.value)}function m(){var g;r.validateEvent&&((g=o==null?void 0:o.validate)==null||g.call(o,"blur").catch(b=>void 0))}function v(){var g,b,C;(g=s.value)==null||g.update(),(b=u.value)==null||b.update(),(C=c.value)==null||C.update()}return Ut(()=>{r.modelValue&&(f.value=p.value),Oe(v)}),$e(()=>r.modelValue,g=>{g!==p.value&&(g?p.fromString(g):p.clear())}),$e(()=>p.value,g=>{a(nn,g),f.value=g,r.validateEvent&&(o==null||o.validate("change").catch(b=>void 0))}),Qt(xue,{currentColor:R(()=>p.value)}),t({color:p,inputRef:d,update:v}),(g,b)=>(H(),le("div",{class:J([F(i).b(),F(i).is("disabled",F(l)),F(i).is("border",g.border)]),onFocusout:m},[ye("div",{class:J(F(i).e("wrapper"))},[be(RVe,{ref_key:"hueRef",ref:s,class:"hue-slider",color:F(p),vertical:"",disabled:F(l)},null,8,["color","disabled"]),be(KVe,{ref_key:"svRef",ref:u,color:F(p),disabled:F(l)},null,8,["color","disabled"])],2),g.showAlpha?(H(),Ue(xVe,{key:0,ref_key:"alphaRef",ref:c,color:F(p),disabled:F(l)},null,8,["color","disabled"])):Pe("v-if",!0),g.predefine?(H(),Ue(VVe,{key:1,ref:"predefine","enable-alpha":g.showAlpha,color:F(p),colors:g.predefine,disabled:F(l)},null,8,["enable-alpha","color","colors","disabled"])):Pe("v-if",!0),ye("div",{class:J(F(i).e("footer"))},[be(F(co),{ref_key:"inputRef",ref:d,modelValue:f.value,"onUpdate:modelValue":b[0]||(b[0]=C=>f.value=C),"validate-event":!1,size:"small",disabled:F(l),onChange:h},null,8,["modelValue","disabled"]),We(g.$slots,"footer")],2)],34))}});var qVe=yt(UVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/color-picker-panel.vue"]]);const Bue=fn(qVe),YVe=pt(Te(Te({persistent:{type:Boolean,default:!0},modelValue:{type:ke(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:String,disabled:{type:Boolean,default:void 0},clearable:{type:Boolean,default:!0},size:Xa,popperClass:pr.popperClass,popperStyle:pr.popperStyle,tabindex:{type:[String,Number],default:0},teleported:pr.teleported,appendTo:pr.appendTo,predefine:{type:ke(Array)},validateEvent:{type:Boolean,default:!0}},Xm),yo(["ariaLabel"]))),JVe={[nn]:e=>Bt(e)||Ma(e),[An]:e=>Bt(e)||Ma(e),activeChange:e=>Bt(e)||Ma(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},XVe=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],ZVe=Ve({name:"ElColorPicker",__name:"color-picker",props:YVe,emits:JVe,setup(e,{expose:t,emit:n}){const r=e,a=n,{t:i}=xn(),o=at("color"),{formItem:l}=Ci(),s=ja(),u=ha(),{valueOnClear:c,isEmptyValue:d}=I5(r,null),f=Mue(r,a),{inputId:p,isLabeledByFormItem:h}=Nl(r,{formItemContext:l}),m=j(),v=j(),g=j(),b=j(!1),C=j(!1);let y=!0;const{isFocused:E,handleFocus:w,handleBlur:S}=Id(v,{disabled:u,beforeBlur(X){var q;return(q=m.value)==null?void 0:q.isFocusInsideContent(X)},afterBlur(){var X;P(!1),N(),r.validateEvent&&((X=l==null?void 0:l.validate)==null||X.call(l,"blur").catch(q=>void 0))}}),A=aBe(()=>{var X,q;return(q=(X=g.value)==null?void 0:X.color)!=null?q:f.color}),D=R(()=>wd(r,Object.keys(kue))),k=R(()=>!r.modelValue&&!C.value?"transparent":I(A,r.showAlpha)),x=R(()=>!r.modelValue&&!C.value?"":A.value),_=R(()=>h.value?void 0:r.ariaLabel||i("el.colorpicker.defaultLabel")),M=R(()=>h.value?l==null?void 0:l.labelId:void 0),L=R(()=>[o.b("picker"),o.is("disabled",u.value),o.bm("picker",s.value),o.is("focused",E.value)]);function I(X,q){const{r:ce,g:K,b:Z,a:se}=X.toRgb();return q?`rgba(${ce}, ${K}, ${Z}, ${se})`:`rgb(${ce}, ${K}, ${Z})`}function P(X){b.value=X}const B=dc(P,100,{leading:!0});function T(){u.value||P(!0)}function O(){B(!1),N()}function N(){Oe(()=>{r.modelValue?A.fromString(r.modelValue):(A.value="",Oe(()=>{C.value=!1}))})}function V(){u.value||(b.value&&N(),B(!b.value))}function Y(){const X=d(A.value)?c.value:A.value;a(nn,X),a(An,X),r.validateEvent&&(l==null||l.validate("change").catch(q=>void 0)),B(!1),Oe(()=>{const q=new u6({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});A.compare(q)||N()})}function z(){B(!1),a(nn,c.value),a(An,c.value),r.modelValue!==c.value&&r.validateEvent&&(l==null||l.validate("change").catch(X=>void 0)),N(),a("clear")}function ee(){var X,q;(q=(X=g==null?void 0:g.value)==null?void 0:X.inputRef)==null||q.focus()}function ae(){b.value&&(O(),E.value&&Q())}function pe(X){X.preventDefault(),X.stopPropagation(),P(!1),N()}function re(X){switch(Er(X)){case dt.enter:case dt.numpadEnter:case dt.space:X.preventDefault(),X.stopPropagation(),T();break;case dt.esc:pe(X);break}}function Q(){v.value.focus()}function ie(){v.value.blur()}return $e(()=>x.value,X=>{y&&a("activeChange",X),y=!0}),$e(()=>A.value,()=>{!r.modelValue&&!C.value&&(C.value=!0)}),$e(()=>r.modelValue,X=>{X?X&&X!==A.value&&(y=!1,A.fromString(X)):C.value=!1}),$e(()=>b.value,()=>{g.value&&Oe(g.value.update)}),Qt(_ue,f),t({color:A,show:T,hide:O,focus:Q,blur:ie}),(X,q)=>(H(),Ue(F(gi),{ref_key:"popper",ref:m,visible:b.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[F(o).be("picker","panel"),X.popperClass],"popper-style":X.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:X.teleported,transition:`${F(o).namespace.value}-zoom-in-top`,persistent:X.persistent,"append-to":X.appendTo,onShow:ee,onHide:q[2]||(q[2]=ce=>P(!1))},{content:Re(()=>[hn((H(),Ue(F(Bue),tn({ref_key:"pickerPanelRef",ref:g},D.value,{border:!1,"validate-event":!1,onKeydown:ca(pe,["esc"])}),{footer:Re(()=>[ye("div",null,[X.clearable?(H(),Ue(F(ci),{key:0,class:J(F(o).be("footer","link-btn")),text:"",size:"small",onClick:z},{default:Re(()=>[Cn(ft(F(i)("el.colorpicker.clear")),1)]),_:1},8,["class"])):Pe("v-if",!0),be(F(ci),{plain:"",size:"small",class:J(F(o).be("footer","btn")),onClick:Y},{default:Re(()=>[Cn(ft(F(i)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16)),[[F(sp),ae,v.value]])]),default:Re(()=>[ye("div",tn({id:F(p),ref_key:"triggerRef",ref:v},X.$attrs,{class:L.value,role:"button","aria-label":_.value,"aria-labelledby":M.value,"aria-description":F(i)("el.colorpicker.description",{color:X.modelValue||""}),"aria-disabled":F(u),tabindex:F(u)?void 0:X.tabindex,onKeydown:re,onFocus:q[0]||(q[0]=(...ce)=>F(w)&&F(w)(...ce)),onBlur:q[1]||(q[1]=(...ce)=>F(S)&&F(S)(...ce))}),[ye("div",{class:J(F(o).be("picker","trigger")),onClick:V},[ye("span",{class:J([F(o).be("picker","color"),F(o).is("alpha",X.showAlpha)])},[ye("span",{class:J(F(o).be("picker","color-inner")),style:Pt({backgroundColor:k.value})},[hn(be(F(Rt),{class:J([F(o).be("picker","icon"),F(o).is("icon-arrow-down")])},{default:Re(()=>[be(F(wc))]),_:1},8,["class"]),[[In,X.modelValue||C.value]]),hn(be(F(Rt),{class:J([F(o).be("picker","empty"),F(o).is("icon-close")])},{default:Re(()=>[be(F(hs))]),_:1},8,["class"]),[[In,!X.modelValue&&!C.value]])],6)],2)],2)],16,XVe)]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to"]))}});var QVe=yt(ZVe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const eHe=fn(QVe),tHe=pt(Te({a11y:{type:Boolean,default:!0},locale:{type:ke(Object)},size:Xa,button:{type:ke(Object)},card:{type:ke(Object)},dialog:{type:ke(Object)},link:{type:ke(Object)},experimentalFeatures:{type:ke(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:ke(Object)},zIndex:Number,namespace:{type:String,default:"el"}},Xm)),ro={placement:"top"},nHe=Ve({name:"ElConfigProvider",props:tHe,setup(e,{slots:t}){const n=Xle(e);return $e(()=>e.message,r=>{var a,i;Object.assign(ro,(i=(a=n==null?void 0:n.value)==null?void 0:a.message)!=null?i:{},r!=null?r:{})},{immediate:!0,deep:!0}),()=>We(t,"default",{config:n==null?void 0:n.value})}}),c6=fn(nHe),rHe=Ve({name:"ElContainer",__name:"container",props:pt({direction:{type:String,values:["horizontal","vertical"]}}),setup(e){const t=e,n=pa(),r=at("container"),a=R(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(o=>{const l=o.type.name;return l==="ElHeader"||l==="ElFooter"}):!1);return(i,o)=>(H(),le("section",{class:J([F(r).b(),F(r).is("vertical",a.value)])},[We(i.$slots,"default")],2))}});var aHe=yt(rHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const iHe=Ve({name:"ElAside",__name:"aside",props:{width:{type:String,default:null}},setup(e){const t=e,n=at("aside"),r=R(()=>t.width?n.cssVarBlock({width:t.width}):{});return(a,i)=>(H(),le("aside",{class:J(F(n).b()),style:Pt(r.value)},[We(a.$slots,"default")],6))}});var Rue=yt(iHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const oHe=Ve({name:"ElFooter",__name:"footer",props:{height:{type:String,default:null}},setup(e){const t=e,n=at("footer"),r=R(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,i)=>(H(),le("footer",{class:J(F(n).b()),style:Pt(r.value)},[We(a.$slots,"default")],6))}});var Lue=yt(oHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const lHe=Ve({name:"ElHeader",__name:"header",props:{height:{type:String,default:null}},setup(e){const t=e,n=at("header"),r=R(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,i)=>(H(),le("header",{class:J(F(n).b()),style:Pt(r.value)},[We(a.$slots,"default")],6))}});var Oue=yt(lHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const sHe=Ve({name:"ElMain",__name:"main",setup(e){const t=at("main");return(n,r)=>(H(),le("main",{class:J(F(t).b())},[We(n.$slots,"default")],2))}});var Pue=yt(sHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const uHe=fn(aHe,{Aside:Rue,Footer:Lue,Header:Oue,Main:Pue}),cHe=sa(Rue),dHe=sa(Lue),fHe=sa(Oue),pHe=sa(Pue);var $3={exports:{}},hHe=$3.exports,LW;function mHe(){return LW||(LW=1,(function(e,t){(function(n,r){e.exports=r()})(hHe,(function(){var n={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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,o=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,s={},u=function(v){return(v=+v)+(v>68?1900:2e3)},c=function(v){return function(g){this[v]=+g}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=(function(g){if(!g||g==="Z")return 0;var b=g.match(/([+-]|\d\d)/g),C=60*b[1]+(+b[2]||0);return C===0?0:b[0]==="+"?-C:C})(v)}],f=function(v){var g=s[v];return g&&(g.indexOf?g:g.s.concat(g.f))},p=function(v,g){var b,C=s.meridiem;if(C){for(var y=1;y<=24;y+=1)if(v.indexOf(C(y,0,g))>-1){b=y>12;break}}else b=v===(g?"pm":"PM");return b},h={A:[l,function(v){this.afternoon=p(v,!1)}],a:[l,function(v){this.afternoon=p(v,!0)}],Q:[a,function(v){this.month=3*(v-1)+1}],S:[a,function(v){this.milliseconds=100*+v}],SS:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[i,c("day")],Do:[l,function(v){var g=s.ordinal,b=v.match(/\d+/);if(this.day=b[0],g)for(var C=1;C<=31;C+=1)g(C).replace(/\[|\]/g,"")===v&&(this.day=C)}],w:[o,c("week")],ww:[i,c("week")],M:[o,c("month")],MM:[i,c("month")],MMM:[l,function(v){var g=f("months"),b=(f("monthsShort")||g.map((function(C){return C.slice(0,3)}))).indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[l,function(v){var g=f("months").indexOf(v)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(v){this.year=u(v)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function m(v){var g,b;g=v,b=s&&s.formats;for(var C=(v=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(k,x,_){var M=_&&_.toUpperCase();return x||b[_]||n[_]||b[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(L,I,P){return I||P.slice(1)}))}))).match(r),y=C.length,E=0;E-1)return new Date((T==="X"?1e3:1)*B);var V=m(T)(B),Y=V.year,z=V.month,ee=V.day,ae=V.hours,pe=V.minutes,re=V.seconds,Q=V.milliseconds,ie=V.zone,X=V.week,q=new Date,ce=ee||(Y||z?1:q.getDate()),K=Y||q.getFullYear(),Z=0;Y&&!z||(Z=z>0?z-1:q.getMonth());var se,Fe=ae||0,me=pe||0,te=re||0,ue=Q||0;return ie?new Date(Date.UTC(K,Z,ce,Fe,me,te,ue+60*ie.offset*1e3)):O?new Date(Date.UTC(K,Z,ce,Fe,me,te,ue)):(se=new Date(K,Z,ce,Fe,me,te,ue),X&&(se=N(se).week(X).toDate()),se)}catch(Se){return new Date("")}})(w,D,S,b),this.init(),M&&M!==!0&&(this.$L=this.locale(M).$L),_&&w!=this.format(D)&&(this.$d=new Date("")),s={}}else if(D instanceof Array)for(var L=D.length,I=1;I<=L;I+=1){A[1]=D[I-1];var P=b.apply(this,A);if(P.isValid()){this.$d=P.$d,this.$L=P.$L,this.init();break}I===L&&(this.$d=new Date(""))}else y.call(this,E)}}}))})($3)),$3.exports}var vHe=mHe();const vP=pu(vHe),OW=["hours","minutes","seconds"],tu="EP_PICKER_BASE",gP="ElPopperOptions",Iue=Symbol("commonPickerContextKey"),l0="HH:mm:ss",wf="YYYY-MM-DD",gHe={date:wf,dates:wf,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${wf} ${l0}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:wf,datetimerange:`${wf} ${l0}`},Nue=(e,t)=>{const{lang:n}=xn(),r=j(!1),a=j(!1),i=j(null),o=R(()=>{const{modelValue:h}=e;return!h||st(h)&&!h.filter(Boolean).length}),l=h=>{if(!Zse(e.modelValue,h)){let m;st(h)?m=h.map(g=>CW(g,e.valueFormat,n.value)):h&&(m=CW(h,e.valueFormat,n.value)),t(nn,h&&m,n.value)}},s=R(()=>{var h;let m;if(o.value?u.value.getDefaultValue&&(m=u.value.getDefaultValue()):st(e.modelValue)?m=e.modelValue.map(v=>bW(v,e.valueFormat,n.value)):m=bW((h=e.modelValue)!=null?h:"",e.valueFormat,n.value),u.value.getRangeAvailableTime){const v=u.value.getRangeAvailableTime(m);ma(v,m)||(m=v,o.value||l(I3(m)))}return st(m)&&m.some(v=>!v)&&(m=[]),m}),u=j({});return{parsedValue:s,pickerActualVisible:a,pickerOptions:u,pickerVisible:r,userInput:i,valueIsEmpty:o,emitInput:l,onCalendarChange:h=>{t("calendar-change",h)},onPanelChange:(h,m,v)=>{t("panel-change",h,m,v)},onPick:(h="",m=!1)=>{r.value=m;let v;st(h)?v=h.map(g=>g.toDate()):v=h&&h.toDate(),i.value=null,l(v)},onSetPickerOption:h=>{u.value[h[0]]=h[1],u.value.panelReady=!0}}},yP=pt({disabledHours:{type:ke(Function)},disabledMinutes:{type:ke(Function)},disabledSeconds:{type:ke(Function)}}),$ue=pt({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),bP=pt(Et(Te(Te(Et(Te({automaticDropdown:{type:Boolean,default:!0},id:{type:ke([Array,String])},name:{type:ke([Array,String])},popperClass:pr.popperClass,popperStyle:pr.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:ke([String,Object]),default:Pd},editable:{type:Boolean,default:!0},prefixIcon:{type:ke([String,Object]),default:""},size:Xa,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:ke(Object),default:()=>({})},modelValue:{type:ke([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:ke([Date,Array])},defaultTime:{type:ke([Date,Array])},isRange:Boolean},yP),{disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:ke([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:ke(String),values:Sc,default:"bottom"},fallbackPlacements:{type:ke(Array),default:["bottom","top","right","left"]}}),Xm),yo(["ariaLabel"])),{showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean})),yHe=pt({id:{type:ke(Array)},name:{type:ke(Array)},modelValue:{type:ke([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),bHe=["id","name","placeholder","value","disabled"],CHe=["id","name","placeholder","value","disabled"],FHe=Ve({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:yHe,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const r=e,a=n,{formItem:i}=Ci(),{inputId:o}=Nl(dn({id:R(()=>{var A;return(A=r.id)==null?void 0:A[0]})}),{formItemContext:i}),l=A9(),s=at("date"),u=at("range"),c=j(),d=j(),{wrapperRef:f,isFocused:p}=Id(c,{disabled:R(()=>r.disabled)}),h=A=>{a("click",A)},m=A=>{a("mouseenter",A)},v=A=>{a("mouseleave",A)},g=A=>{a("touchstart",A)},b=A=>{a("startInput",A)},C=A=>{a("endInput",A)},y=A=>{a("startChange",A)},E=A=>{a("endChange",A)};return t({focus:()=>{var A;(A=c.value)==null||A.focus()},blur:()=>{var A,D;(A=c.value)==null||A.blur(),(D=d.value)==null||D.blur()}}),(A,D)=>(H(),le("div",{ref_key:"wrapperRef",ref:f,class:J([F(s).is("active",F(p)),A.$attrs.class]),style:Pt(A.$attrs.style),onClick:h,onMouseenter:m,onMouseleave:v,onTouchstartPassive:g},[We(A.$slots,"prefix"),ye("input",tn(F(l),{id:F(o),ref_key:"inputRef",ref:c,name:A.name&&A.name[0],placeholder:A.startPlaceholder,value:A.modelValue&&A.modelValue[0],class:F(u).b("input"),disabled:A.disabled,onInput:b,onChange:y}),null,16,bHe),We(A.$slots,"range-separator"),ye("input",tn(F(l),{id:A.id&&A.id[1],ref_key:"endInputRef",ref:d,name:A.name&&A.name[1],placeholder:A.endPlaceholder,value:A.modelValue&&A.modelValue[1],class:F(u).b("input"),disabled:A.disabled,onInput:C,onChange:E}),null,16,CHe),We(A.$slots,"suffix")],38))}});var EHe=yt(FHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker-range-trigger.vue"]]);const wHe=Ve({name:"Picker",__name:"picker",props:bP,emits:[nn,An,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const r=e,a=n,i=Fc(),o=at("date"),l=at("input"),s=at("range"),{formItem:u}=Ci(),c=lt(gP,{}),d=I5(r,null),f=j(),p=j(),h=j(null);let m=!1;const v=ha(),g=Nue(r,a),{parsedValue:b,pickerActualVisible:C,userInput:y,pickerVisible:E,pickerOptions:w,valueIsEmpty:S,emitInput:A,onPick:D,onSetPickerOption:k,onCalendarChange:x,onPanelChange:_}=g,{isFocused:M,handleFocus:L,handleBlur:I}=Id(p,{disabled:v,beforeFocus(){return r.readonly},afterFocus(){r.automaticDropdown&&(E.value=!0)},beforeBlur(oe){var Xe;return!m&&((Xe=f.value)==null?void 0:Xe.isFocusInsideContent(oe))},afterBlur(){he(),E.value=!1,m=!1,r.validateEvent&&(u==null||u.validate("blur").catch(oe=>void 0))}}),P=j(!1),B=R(()=>[o.b("editor"),o.bm("editor",r.type),l.e("wrapper"),o.is("disabled",v.value),o.is("active",E.value),s.b("editor"),Ne?s.bm("editor",Ne.value):"",i.class]),T=R(()=>[l.e("icon"),s.e("close-icon"),se.value?"":s.em("close-icon","hidden")]);$e(E,oe=>{oe?Oe(()=>{oe&&(h.value=r.modelValue)}):(y.value=null,Oe(()=>{O(r.modelValue)}))});const O=(oe,Xe)=>{(Xe||!Zse(oe,h.value))&&(a(An,oe),Xe&&(h.value=oe),r.validateEvent&&(u==null||u.validate("change").catch(it=>void 0)))},N=oe=>{a("keydown",oe)},V=R(()=>p.value?Array.from(p.value.$el.querySelectorAll("input")):[]),Y=(oe,Xe,it)=>{const xt=V.value;xt.length&&(!it||it==="min"?(xt[0].setSelectionRange(oe,Xe),xt[0].focus()):it==="max"&&(xt[1].setSelectionRange(oe,Xe),xt[1].focus()))},z=()=>{C.value=!0},ee=()=>{a("visible-change",!0)},ae=()=>{C.value=!1,E.value=!1,a("visible-change",!1)},pe=()=>{E.value=!0},re=()=>{E.value=!1},Q=R(()=>{const oe=xe(b.value);return st(y.value)?[y.value[0]||oe&&oe[0]||"",y.value[1]||oe&&oe[1]||""]:y.value!==null?y.value:!X.value&&S.value||!E.value&&S.value?"":oe?q.value||ce.value||K.value?oe.join(", "):oe:""}),ie=R(()=>r.type.includes("time")),X=R(()=>r.type.startsWith("time")),q=R(()=>r.type==="dates"),ce=R(()=>r.type==="months"),K=R(()=>r.type==="years"),Z=R(()=>r.prefixIcon||(ie.value?rse:XBe)),se=R(()=>r.clearable&&!v.value&&!r.readonly&&!S.value&&(P.value||M.value)),Fe=oe=>{r.readonly||v.value||(se.value&&(oe==null||oe.stopPropagation(),w.value.handleClear?w.value.handleClear():A(d.valueOnClear.value),O(d.valueOnClear.value,!0),ae()),a("clear"))},me=oe=>Xt(null,null,function*(){var Xe;r.readonly||v.value||(((Xe=oe.target)==null?void 0:Xe.tagName)!=="INPUT"||M.value||!r.automaticDropdown)&&(E.value=!0)}),te=()=>{r.readonly||v.value||!S.value&&r.clearable&&(P.value=!0)},ue=()=>{P.value=!1},Se=oe=>{var Xe;r.readonly||v.value||(((Xe=oe.touches[0].target)==null?void 0:Xe.tagName)!=="INPUT"||M.value||!r.automaticDropdown)&&(E.value=!0)},Ae=R(()=>r.type.includes("range")),Ne=ja(),je=R(()=>{var oe,Xe;return(Xe=(oe=F(f))==null?void 0:oe.popperRef)==null?void 0:Xe.contentRef}),De=VO(p,oe=>{const Xe=F(je),it=Ja(p);Xe&&(oe.target===Xe||oe.composedPath().includes(Xe))||oe.target===it||it&&oe.composedPath().includes(it)||(E.value=!1)});Vn(()=>{De==null||De()});const he=()=>{if(y.value){const oe=He(Q.value);oe&&(qe(oe)&&A(I3(oe)),y.value=null)}y.value===""&&(A(d.valueOnClear.value),O(d.valueOnClear.value,!0),y.value=null)},He=oe=>oe?w.value.parseUserInput(oe):null,xe=oe=>oe?st(oe)?oe.map(it=>it.format(r.format)):oe.format(r.format):null,qe=oe=>w.value.isValidValue(oe),ve=oe=>Xt(null,null,function*(){if(r.readonly||v.value)return;const Xe=Er(oe);if(N(oe),Xe===dt.esc){E.value===!0&&(E.value=!1,oe.preventDefault(),oe.stopPropagation());return}if(Xe===dt.down&&(w.value.handleFocusPicker&&(oe.preventDefault(),oe.stopPropagation()),E.value===!1&&(E.value=!0,yield Oe()),w.value.handleFocusPicker)){w.value.handleFocusPicker();return}if(Xe===dt.tab){m=!0;return}if(Xe===dt.enter||Xe===dt.numpadEnter){E.value?(y.value===null||y.value===""||qe(He(Q.value)))&&(he(),E.value=!1):E.value=!0,oe.preventDefault(),oe.stopPropagation();return}if(y.value){oe.stopPropagation();return}w.value.handleKeydownInput&&w.value.handleKeydownInput(oe)}),Ge=oe=>{y.value=oe,E.value||(E.value=!0)},Ke=oe=>{const Xe=oe.target;y.value?y.value=[Xe.value,y.value[1]]:y.value=[Xe.value,null]},rt=oe=>{const Xe=oe.target;y.value?y.value=[y.value[0],Xe.value]:y.value=[null,Xe.value]},nt=()=>{var oe;const Xe=y.value,it=He(Xe&&Xe[0]),xt=F(b);if(it&&it.isValid()){y.value=[xe(it),((oe=Q.value)==null?void 0:oe[1])||null];const Ee=[it,xt&&(xt[1]||null)];qe(Ee)&&(A(I3(Ee)),y.value=null)}},ze=()=>{var oe;const Xe=F(y),it=He(Xe&&Xe[1]),xt=F(b);if(it&&it.isValid()){y.value=[((oe=F(Q))==null?void 0:oe[0])||null,xe(it)];const Ee=[xt&&xt[0],it];qe(Ee)&&(A(I3(Ee)),y.value=null)}},Ie=()=>{var oe;(oe=p.value)==null||oe.focus()},ge=()=>{var oe;(oe=p.value)==null||oe.blur()};return Qt(tu,{props:r,emptyValues:d}),Qt(Iue,g),t({focus:Ie,blur:ge,handleOpen:pe,handleClose:re,onPick:D}),(oe,Xe)=>(H(),Ue(F(gi),tn({ref_key:"refPopper",ref:f,visible:F(E),effect:"light",pure:"",trigger:"click"},oe.$attrs,{role:"dialog",teleported:"",transition:`${F(o).namespace.value}-zoom-in-top`,"popper-class":[`${F(o).namespace.value}-picker__popper`,oe.popperClass],"popper-style":oe.popperStyle,"popper-options":F(c),"fallback-placements":oe.fallbackPlacements,"gpu-acceleration":!1,placement:oe.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:z,onShow:ee,onHide:ae}),{default:Re(()=>[Ae.value?(H(),Ue(EHe,{key:1,id:oe.id,ref_key:"inputRef",ref:p,"model-value":Q.value,name:oe.name,disabled:F(v),readonly:!oe.editable||oe.readonly,"start-placeholder":oe.startPlaceholder,"end-placeholder":oe.endPlaceholder,class:J(B.value),style:Pt(oe.$attrs.style),"aria-label":oe.ariaLabel,tabindex:oe.tabindex,autocomplete:"off",role:"combobox",onClick:me,onFocus:F(L),onBlur:F(I),onStartInput:Ke,onStartChange:nt,onEndInput:rt,onEndChange:ze,onMousedown:me,onMouseenter:te,onMouseleave:ue,onTouchstartPassive:Se,onKeydown:ve},{prefix:Re(()=>[Z.value?(H(),Ue(F(Rt),{key:0,class:J([F(l).e("icon"),F(s).e("icon")])},{default:Re(()=>[(H(),Ue(ln(Z.value)))]),_:1},8,["class"])):Pe("v-if",!0)]),"range-separator":Re(()=>[We(oe.$slots,"range-separator",{},()=>[ye("span",{class:J(F(s).b("separator"))},ft(oe.rangeSeparator),3)])]),suffix:Re(()=>[oe.clearIcon?(H(),Ue(F(Rt),{key:0,class:J(T.value),onMousedown:Yt(F(er),["prevent"]),onClick:Fe},{default:Re(()=>[(H(),Ue(ln(oe.clearIcon)))]),_:1},8,["class","onMousedown"])):Pe("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(H(),Ue(F(co),{key:0,id:oe.id,ref_key:"inputRef",ref:p,"container-role":"combobox","model-value":Q.value,name:oe.name,size:F(Ne),disabled:F(v),placeholder:oe.placeholder,class:J([F(o).b("editor"),F(o).bm("editor",oe.type),F(o).is("focus",F(E)),oe.$attrs.class]),style:Pt(oe.$attrs.style),readonly:!oe.editable||oe.readonly||q.value||ce.value||K.value||oe.type==="week","aria-label":oe.ariaLabel,tabindex:oe.tabindex,"validate-event":!1,onInput:Ge,onFocus:F(L),onBlur:F(I),onKeydown:ve,onChange:he,onMousedown:me,onMouseenter:te,onMouseleave:ue,onTouchstartPassive:Se,onClick:Xe[0]||(Xe[0]=Yt(()=>{},["stop"]))},{prefix:Re(()=>[Z.value?(H(),Ue(F(Rt),{key:0,class:J(F(l).e("icon")),onMousedown:Yt(me,["prevent"]),onTouchstartPassive:Se},{default:Re(()=>[(H(),Ue(ln(Z.value)))]),_:1},8,["class"])):Pe("v-if",!0)]),suffix:Re(()=>[se.value&&oe.clearIcon?(H(),Ue(F(Rt),{key:0,class:J(`${F(l).e("icon")} clear-icon`),onMousedown:Yt(F(er),["prevent"]),onClick:Fe},{default:Re(()=>[(H(),Ue(ln(oe.clearIcon)))]),_:1},8,["class","onMousedown"])):Pe("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:Re(()=>[We(oe.$slots,"default",{visible:F(E),actualVisible:F(C),parsedValue:F(b),format:oe.format,dateFormat:oe.dateFormat,timeFormat:oe.timeFormat,unlinkPanels:oe.unlinkPanels,type:oe.type,defaultValue:oe.defaultValue,showNow:oe.showNow,showConfirm:oe.showConfirm,showFooter:oe.showFooter,showWeekNumber:oe.showWeekNumber,onPick:Xe[1]||(Xe[1]=(...it)=>F(D)&&F(D)(...it)),onSelectRange:Y,onSetPickerOption:Xe[2]||(Xe[2]=(...it)=>F(k)&&F(k)(...it)),onCalendarChange:Xe[3]||(Xe[3]=(...it)=>F(x)&&F(x)(...it)),onClear:Fe,onPanelChange:Xe[4]||(Xe[4]=(...it)=>F(_)&&F(_)(...it)),onMousedown:Xe[5]||(Xe[5]=Yt(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});var Vue=yt(wHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const SHe=pt(Et(Te({},$ue),{datetimeRole:String,parsedValue:{type:ke(Object)}})),Hue=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const r=(o,l,s,u)=>{const c={hour:e,minute:t,second:n};let d=o;return["hour","minute","second"].forEach(f=>{if(c[f]){let p;const h=c[f];switch(f){case"minute":{p=h(d.hour(),l,u);break}case"second":{p=h(d.hour(),d.minute(),l,u);break}default:{p=h(l,u);break}}if(p!=null&&p.length&&!p.includes(d[f]())){const m=s?0:p.length-1;d=d[f](p[m])}}}),d},a={};return{timePickerOptions:a,getAvailableTime:r,onSetOption:([o,l])=>{a[o]=l}}},qE=e=>{const t=(r,a)=>r||a,n=r=>r!==!0;return e.map(t).filter(n)},zue=(e,t,n)=>({getHoursList:(o,l)=>WE(24,e&&(()=>e==null?void 0:e(o,l))),getMinutesList:(o,l,s)=>WE(60,t&&(()=>t==null?void 0:t(o,l,s))),getSecondsList:(o,l,s,u)=>WE(60,n&&(()=>n==null?void 0:n(o,l,s,u)))}),Wue=(e,t,n)=>{const{getHoursList:r,getMinutesList:a,getSecondsList:i}=zue(e,t,n);return{getAvailableHours:(u,c)=>qE(r(u,c)),getAvailableMinutes:(u,c,d)=>qE(a(u,c,d)),getAvailableSeconds:(u,c,d,f)=>qE(i(u,c,d,f))}},Gue=e=>{const t=j(e.parsedValue);return $e(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},AHe=pt(Te({role:{type:String,required:!0},spinnerDate:{type:ke(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:ke(String),default:""}},yP)),DHe=100,THe=600,l8="_RepeatClick",d6={beforeMount(e,t){const n=t.value,{interval:r=DHe,delay:a=THe}=Lt(n)?{}:n;let i,o;const l=()=>Lt(n)?n():n.handler(),s=()=>{o&&(clearTimeout(o),o=void 0),i&&(clearInterval(i),i=void 0)},u=c=>{c.button===0&&(s(),l(),document.addEventListener("mouseup",s,{once:!0}),o=setTimeout(()=>{i=setInterval(()=>{l()},r)},a))};e[l8]={start:u,clear:s},e.addEventListener("mousedown",u)},unmounted(e){if(!e[l8])return;const{start:t,clear:n}=e[l8];t&&e.removeEventListener("mousedown",t),n&&(n(),document.removeEventListener("mouseup",n)),e[l8]=null}},kHe=["onClick"],_He=["onMouseenter"],xHe=Ve({__name:"basic-time-spinner",props:AHe,emits:[An,"select-range","set-option"],setup(e,{emit:t}){const n=e,r=lt(tu),{isRange:a,format:i}=r.props,o=t,l=at("time"),{getHoursList:s,getMinutesList:u,getSecondsList:c}=zue(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const f=j(),p=j(),h=j(),m=j(),v={hours:p,minutes:h,seconds:m},g=R(()=>n.showSeconds?OW:OW.slice(0,2)),b=R(()=>{const{spinnerDate:z}=n,ee=z.hour(),ae=z.minute(),pe=z.second();return{hours:ee,minutes:ae,seconds:pe}}),C=R(()=>{const{hours:z,minutes:ee}=F(b),{role:ae,spinnerDate:pe}=n,re=a?void 0:pe;return{hours:s(ae,re),minutes:u(z,ae,re),seconds:c(z,ee,ae,re)}}),y=R(()=>{const{hours:z,minutes:ee,seconds:ae}=F(b);return{hours:zE(z,23),minutes:zE(ee,59),seconds:zE(ae,59)}}),E=dc(z=>{d=!1,A(z)},200),w=z=>{if(!!!n.amPmMode)return"";const ae=n.amPmMode==="A";let pe=z<12?" am":" pm";return ae&&(pe=pe.toUpperCase()),pe},S=z=>{let ee=[0,0];const ae=i||l0,pe=ae.indexOf("HH"),re=ae.indexOf("mm"),Q=ae.indexOf("ss");switch(z){case"hours":pe!==-1&&(ee=[pe,pe+2]);break;case"minutes":re!==-1&&(ee=[re,re+2]);break;case"seconds":Q!==-1&&(ee=[Q,Q+2]);break}const[ie,X]=ee;o("select-range",ie,X),f.value=z},A=z=>{x(z,F(b)[z])},D=()=>{A("hours"),A("minutes"),A("seconds")},k=z=>z.querySelector(`.${l.namespace.value}-scrollbar__wrap`),x=(z,ee)=>{if(n.arrowControl)return;const ae=F(v[z]);ae&&ae.$el&&(k(ae.$el).scrollTop=Math.max(0,ee*_(z)))},_=z=>{const ee=F(v[z]),ae=ee==null?void 0:ee.$el.querySelector("li");return ae&&Number.parseFloat(ad(ae,"height"))||0},M=()=>{I(1)},L=()=>{I(-1)},I=z=>{f.value||S("hours");const ee=f.value,ae=F(b)[ee],pe=f.value==="hours"?24:60,re=P(ee,ae,z,pe);B(ee,re),x(ee,re),Oe(()=>S(ee))},P=(z,ee,ae,pe)=>{let re=(ee+ae+pe)%pe;const Q=F(C)[z];for(;Q[re]&&re!==ee;)re=(re+ae+pe)%pe;return re},B=(z,ee)=>{if(F(C)[z][ee])return;const{hours:re,minutes:Q,seconds:ie}=F(b);let X;switch(z){case"hours":X=n.spinnerDate.hour(ee).minute(Q).second(ie);break;case"minutes":X=n.spinnerDate.hour(re).minute(ee).second(ie);break;case"seconds":X=n.spinnerDate.hour(re).minute(Q).second(ee);break}o(An,X)},T=(z,{value:ee,disabled:ae})=>{ae||(B(z,ee),S(z),x(z,ee))},O=z=>{const ee=F(v[z]);if(!ee)return;d=!0,E(z);const ae=Math.min(Math.round((k(ee.$el).scrollTop-(N(z)*.5-10)/_(z)+3)/_(z)),z==="hours"?23:59);B(z,ae)},N=z=>F(v[z]).$el.offsetHeight,V=()=>{const z=ee=>{const ae=F(v[ee]);ae&&ae.$el&&(k(ae.$el).onscroll=()=>{O(ee)})};z("hours"),z("minutes"),z("seconds")};Ut(()=>{Oe(()=>{!n.arrowControl&&V(),D(),n.role==="start"&&S("hours")})});const Y=(z,ee)=>{v[ee].value=z!=null?z:void 0};return o("set-option",[`${n.role}_scrollDown`,I]),o("set-option",[`${n.role}_emitSelectRange`,S]),$e(()=>n.spinnerDate,()=>{d||D()}),(z,ee)=>(H(),le("div",{class:J([F(l).b("spinner"),{"has-seconds":z.showSeconds}])},[z.arrowControl?Pe("v-if",!0):(H(!0),le(kt,{key:0},En(g.value,ae=>(H(),Ue(F(Qs),{key:ae,ref_for:!0,ref:pe=>Y(pe,ae),class:J(F(l).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":F(l).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:pe=>S(ae),onMousemove:pe=>A(ae)},{default:Re(()=>[(H(!0),le(kt,null,En(C.value[ae],(pe,re)=>(H(),le("li",{key:re,class:J([F(l).be("spinner","item"),F(l).is("active",re===b.value[ae]),F(l).is("disabled",pe)]),onClick:Q=>T(ae,{value:re,disabled:pe})},[ae==="hours"?(H(),le(kt,{key:0},[Cn(ft(("0"+(z.amPmMode?re%12||12:re)).slice(-2))+ft(w(re)),1)],64)):(H(),le(kt,{key:1},[Cn(ft(("0"+re).slice(-2)),1)],64))],10,kHe))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),z.arrowControl?(H(!0),le(kt,{key:1},En(g.value,ae=>(H(),le("div",{key:ae,class:J([F(l).be("spinner","wrapper"),F(l).is("arrow")]),onMouseenter:pe=>S(ae)},[hn((H(),Ue(F(Rt),{class:J(["arrow-up",F(l).be("spinner","arrow")])},{default:Re(()=>[be(F(E9))]),_:1},8,["class"])),[[F(d6),L]]),hn((H(),Ue(F(Rt),{class:J(["arrow-down",F(l).be("spinner","arrow")])},{default:Re(()=>[be(F(wc))]),_:1},8,["class"])),[[F(d6),M]]),ye("ul",{class:J(F(l).be("spinner","list"))},[(H(!0),le(kt,null,En(y.value[ae],(pe,re)=>(H(),le("li",{key:re,class:J([F(l).be("spinner","item"),F(l).is("active",pe===b.value[ae]),F(l).is("disabled",C.value[ae][pe])])},[F($t)(pe)?(H(),le(kt,{key:0},[ae==="hours"?(H(),le(kt,{key:0},[Cn(ft(("0"+(z.amPmMode?pe%12||12:pe)).slice(-2))+ft(w(pe)),1)],64)):(H(),le(kt,{key:1},[Cn(ft(("0"+pe).slice(-2)),1)],64))],64)):Pe("v-if",!0)],2))),128))],2)],42,_He))),128)):Pe("v-if",!0)],2))}});var RM=yt(xHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const MHe=Ve({__name:"panel-time-pick",props:SHe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=t,a=lt(tu),{arrowControl:i,disabledHours:o,disabledMinutes:l,disabledSeconds:s,defaultValue:u}=a.props,{getAvailableHours:c,getAvailableMinutes:d,getAvailableSeconds:f}=Wue(o,l,s),p=at("time"),{t:h,lang:m}=xn(),v=j([0,2]),g=Gue(n),b=R(()=>On(n.actualVisible)?`${p.namespace.value}-zoom-in-top`:""),C=R(()=>n.format.includes("ss")),y=R(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),E=T=>{const O=un(T).locale(m.value),N=I(O);return O.isSame(N)},w=()=>{const T=g.value;r("pick",T,!1),Oe(()=>{g.value=T})},S=(T=!1,O=!1)=>{O||r("pick",n.parsedValue,T)},A=T=>{if(!n.visible)return;const O=I(T).millisecond(0);r("pick",O,!0)},D=(T,O)=>{r("select-range",T,O),v.value=[T,O]},k=T=>{const O=n.format,N=O.indexOf("HH"),V=O.indexOf("mm"),Y=O.indexOf("ss"),z=[],ee=[];N!==-1&&(z.push(N),ee.push("hours")),V!==-1&&(z.push(V),ee.push("minutes")),Y!==-1&&C.value&&(z.push(Y),ee.push("seconds"));const pe=(z.indexOf(v.value[0])+T+z.length)%z.length;_.start_emitSelectRange(ee[pe])},x=T=>{const O=Er(T),{left:N,right:V,up:Y,down:z}=dt;if([N,V].includes(O)){k(O===N?-1:1),T.preventDefault();return}if([Y,z].includes(O)){const ee=O===Y?-1:1;_.start_scrollDown(ee),T.preventDefault();return}},{timePickerOptions:_,onSetOption:M,getAvailableTime:L}=Hue({getAvailableHours:c,getAvailableMinutes:d,getAvailableSeconds:f}),I=T=>L(T,n.datetimeRole||"",!0),P=T=>T?un(T,n.format).locale(m.value):null,B=()=>un(u).locale(m.value);return r("set-picker-option",["isValidValue",E]),r("set-picker-option",["parseUserInput",P]),r("set-picker-option",["handleKeydownInput",x]),r("set-picker-option",["getRangeAvailableTime",I]),r("set-picker-option",["getDefaultValue",B]),(T,O)=>(H(),Ue(vi,{name:b.value},{default:Re(()=>[T.actualVisible||T.visible?(H(),le("div",{key:0,class:J(F(p).b("panel"))},[ye("div",{class:J([F(p).be("panel","content"),{"has-seconds":C.value}])},[be(RM,{ref:"spinner",role:T.datetimeRole||"start","arrow-control":F(i),"show-seconds":C.value,"am-pm-mode":y.value,"spinner-date":T.parsedValue,"disabled-hours":F(o),"disabled-minutes":F(l),"disabled-seconds":F(s),onChange:A,onSetOption:F(M),onSelectRange:D},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),ye("div",{class:J(F(p).be("panel","footer"))},[ye("button",{type:"button",class:J([F(p).be("panel","btn"),"cancel"]),onClick:w},ft(F(h)("el.datepicker.cancel")),3),ye("button",{type:"button",class:J([F(p).be("panel","btn"),"confirm"]),onClick:O[0]||(O[0]=N=>S())},ft(F(h)("el.datepicker.confirm")),3)],2)],2)):Pe("v-if",!0)]),_:1},8,["name"]))}});var f6=yt(MHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const BHe=pt(Et(Te({},$ue),{parsedValue:{type:ke(Array)}})),RHe=["disabled"],LHe=Ve({__name:"panel-time-range",props:BHe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=t,a=(q,ce)=>{const K=[];for(let Z=q;Z<=ce;Z++)K.push(Z);return K},{t:i,lang:o}=xn(),l=at("time"),s=at("picker"),u=lt(tu),{arrowControl:c,disabledHours:d,disabledMinutes:f,disabledSeconds:p,defaultValue:h}=u.props,m=R(()=>[l.be("range-picker","body"),l.be("panel","content"),l.is("arrow",c),E.value?"has-seconds":""]),v=R(()=>[l.be("range-picker","body"),l.be("panel","content"),l.is("arrow",c),E.value?"has-seconds":""]),g=R(()=>n.parsedValue[0]),b=R(()=>n.parsedValue[1]),C=Gue(n),y=()=>{const q=C.value;r("pick",q,!1),Oe(()=>{C.value=q})},E=R(()=>n.format.includes("ss")),w=R(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),S=(q=!1)=>{r("pick",[g.value,b.value],q)},A=q=>{x(q.millisecond(0),b.value)},D=q=>{x(g.value,q.millisecond(0))},k=q=>{const ce=q.map(Z=>un(Z).locale(o.value)),K=Y(ce);return ce[0].isSame(K[0])&&ce[1].isSame(K[1])},x=(q,ce)=>{n.visible&&r("pick",[q,ce],!0)},_=R(()=>g.value>b.value),M=j([0,2]),L=(q,ce)=>{r("select-range",q,ce,"min"),M.value=[q,ce]},I=R(()=>E.value?11:8),P=(q,ce)=>{r("select-range",q,ce,"max");const K=F(I);M.value=[q+K,ce+K]},B=q=>{const ce=E.value?[0,3,6,11,14,17]:[0,3,8,11],K=["hours","minutes"].concat(E.value?["seconds"]:[]),se=(ce.indexOf(M.value[0])+q+ce.length)%ce.length,Fe=ce.length/2;se{const ce=Er(q),{left:K,right:Z,up:se,down:Fe}=dt;if([K,Z].includes(ce)){B(ce===K?-1:1),q.preventDefault();return}if([se,Fe].includes(ce)){const me=ce===se?-1:1,te=M.value[0]{const K=d?d(q):[],Z=q==="start",Fe=(ce||(Z?b.value:g.value)).hour(),me=Z?a(Fe+1,23):a(0,Fe-1);return PE(K,me)},N=(q,ce,K)=>{const Z=f?f(q,ce):[],se=ce==="start",Fe=K||(se?b.value:g.value),me=Fe.hour();if(q!==me)return Z;const te=Fe.minute(),ue=se?a(te+1,59):a(0,te-1);return PE(Z,ue)},V=(q,ce,K,Z)=>{const se=p?p(q,ce,K):[],Fe=K==="start",me=Z||(Fe?b.value:g.value),te=me.hour(),ue=me.minute();if(q!==te||ce!==ue)return se;const Se=me.second(),Ae=Fe?a(Se+1,59):a(0,Se-1);return PE(se,Ae)},Y=([q,ce])=>[re(q,"start",!0,ce),re(ce,"end",!1,q)],{getAvailableHours:z,getAvailableMinutes:ee,getAvailableSeconds:ae}=Wue(O,N,V),{timePickerOptions:pe,getAvailableTime:re,onSetOption:Q}=Hue({getAvailableHours:z,getAvailableMinutes:ee,getAvailableSeconds:ae}),ie=q=>q?st(q)?q.map(ce=>un(ce,n.format).locale(o.value)):un(q,n.format).locale(o.value):null,X=()=>{if(st(h))return h.map(ce=>un(ce).locale(o.value));const q=un(h).locale(o.value);return[q,q.add(60,"m")]};return r("set-picker-option",["parseUserInput",ie]),r("set-picker-option",["isValidValue",k]),r("set-picker-option",["handleKeydownInput",T]),r("set-picker-option",["getDefaultValue",X]),r("set-picker-option",["getRangeAvailableTime",Y]),(q,ce)=>q.actualVisible?(H(),le("div",{key:0,class:J([F(l).b("range-picker"),F(s).b("panel")])},[ye("div",{class:J(F(l).be("range-picker","content"))},[ye("div",{class:J(F(l).be("range-picker","cell"))},[ye("div",{class:J(F(l).be("range-picker","header"))},ft(F(i)("el.datepicker.startTime")),3),ye("div",{class:J(m.value)},[be(RM,{ref:"minSpinner",role:"start","show-seconds":E.value,"am-pm-mode":w.value,"arrow-control":F(c),"spinner-date":g.value,"disabled-hours":O,"disabled-minutes":N,"disabled-seconds":V,onChange:A,onSetOption:F(Q),onSelectRange:L},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),ye("div",{class:J(F(l).be("range-picker","cell"))},[ye("div",{class:J(F(l).be("range-picker","header"))},ft(F(i)("el.datepicker.endTime")),3),ye("div",{class:J(v.value)},[be(RM,{ref:"maxSpinner",role:"end","show-seconds":E.value,"am-pm-mode":w.value,"arrow-control":F(c),"spinner-date":b.value,"disabled-hours":O,"disabled-minutes":N,"disabled-seconds":V,onChange:D,onSetOption:F(Q),onSelectRange:P},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),ye("div",{class:J(F(l).be("panel","footer"))},[ye("button",{type:"button",class:J([F(l).be("panel","btn"),"cancel"]),onClick:ce[0]||(ce[0]=K=>y())},ft(F(i)("el.datepicker.cancel")),3),ye("button",{type:"button",class:J([F(l).be("panel","btn"),"confirm"]),disabled:_.value,onClick:ce[1]||(ce[1]=K=>S())},ft(F(i)("el.datepicker.confirm")),11,RHe)],2)],2)):Pe("v-if",!0)}});var OHe=yt(LHe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);un.extend(vP);var PHe=Ve({name:"ElTimePicker",install:null,props:Et(Te({},bP),{isRange:Boolean}),emits:[nn],setup(e,t){const n=j(),[r,a]=e.isRange?["timerange",OHe]:["time",f6],i=o=>t.emit(nn,o);return Qt(gP,e.popperOptions),t.expose({focus:()=>{var o;(o=n.value)==null||o.focus()},blur:()=>{var o;(o=n.value)==null||o.blur()},handleOpen:()=>{var o;(o=n.value)==null||o.handleOpen()},handleClose:()=>{var o;(o=n.value)==null||o.handleClose()}}),()=>{var o;const l=(o=e.format)!=null?o:l0;return be(Vue,tn(e,{ref:n,type:r,format:l,"onUpdate:modelValue":i}),{default:s=>be(a,s,null)})}}});const IHe=fn(PHe);var V3={exports:{}},NHe=V3.exports,PW;function $He(){return PW||(PW=1,(function(e,t){(function(n,r){e.exports=r()})(NHe,(function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(o){var l=this,s=this.$locale();if(!this.isValid())return i.bind(this)(o);var u=this.$utils(),c=(o||"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((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),d==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),d==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return d}}));return i.bind(this)(c)}}}))})(V3)),V3.exports}var VHe=$He();const HHe=pu(VHe);var H3={exports:{}},zHe=H3.exports,IW;function WHe(){return IW||(IW=1,(function(e,t){(function(n,r){e.exports=r()})(zHe,(function(){var n="week",r="year";return function(a,i,o){var l=i.prototype;l.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=o(this).startOf(r).add(1,r).date(u),d=o(this).endOf(n);if(c.isBefore(d))return 1}var f=o(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),p=this.diff(f,n,!0);return p<0?o(this).startOf("week").week():Math.ceil(p)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}}))})(H3)),H3.exports}var GHe=WHe();const jHe=pu(GHe);var z3={exports:{}},KHe=z3.exports,NW;function UHe(){return NW||(NW=1,(function(e,t){(function(n,r){e.exports=r()})(KHe,(function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),i=this.week(),o=this.year();return i===1&&a===11?o+1:a===0&&i>=52?o-1:o}}}))})(z3)),z3.exports}var qHe=UHe();const YHe=pu(qHe);var W3={exports:{}},JHe=W3.exports,$W;function XHe(){return $W||($W=1,(function(e,t){(function(n,r){e.exports=r()})(JHe,(function(){return function(n,r,a){r.prototype.dayOfYear=function(i){var o=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return i==null?o:this.add(i-o,"day")}}}))})(W3)),W3.exports}var ZHe=XHe();const QHe=pu(ZHe);var G3={exports:{}},eze=G3.exports,VW;function tze(){return VW||(VW=1,(function(e,t){(function(n,r){e.exports=r()})(eze,(function(){return function(n,r){r.prototype.isSameOrAfter=function(a,i){return this.isSame(a,i)||this.isAfter(a,i)}}}))})(G3)),G3.exports}var nze=tze();const rze=pu(nze);var j3={exports:{}},aze=j3.exports,HW;function ize(){return HW||(HW=1,(function(e,t){(function(n,r){e.exports=r()})(aze,(function(){return function(n,r){r.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}}))})(j3)),j3.exports}var oze=ize();const lze=pu(oze),sze=pt(Et(Te({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:ke([Date,Array,String,Number]),default:""},defaultValue:{type:ke([Date,Array])},defaultTime:{type:ke([Date,Array])},isRange:Boolean},yP),{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:ke(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}})),CP=Symbol("rootPickerContextKey"),U5="ElIsDefaultFormat",uze=["date","dates","year","years","month","months","week","range"],FP=pt({cellClassName:{type:ke(Function)},disabledDate:{type:ke(Function)},date:{type:ke(Object),required:!0},minDate:{type:ke(Object)},maxDate:{type:ke(Object)},parsedValue:{type:ke([Object,Array])},rangeState:{type:ke(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),jue=pt({type:{type:ke(String),required:!0,values:qIe},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}}),EP=pt({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:ke(Array)}}),wP=e=>({type:String,values:uze,default:e}),cze=pt(Et(Te({},jue),{parsedValue:{type:ke([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}})),p2=e=>{if(!st(e))return!1;const[t,n]=e;return un.isDayjs(t)&&un.isDayjs(n)&&un(t).isValid()&&un(n).isValid()&&t.isSameOrBefore(n)},B9=(e,{lang:t,step:n=1,unit:r,unlinkPanels:a})=>{let i;if(st(e)){let[o,l]=e.map(s=>un(s).locale(t));return a||(l=o.add(n,r)),[o,l]}else e?i=un(e):i=un();return i=i.locale(t),[i,i.add(n,r)]},dze=(e,t,{columnIndexOffset:n,startDate:r,nextEndDate:a,now:i,unit:o,relativeDateGetter:l,setCellMetadata:s,setRowMetadata:u})=>{for(let c=0;c{const a=un().locale(r).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second()),i=a.daysInMonth();return Hf(i).map(o=>a.add(o,"day").toDate())},s0=(e,t,n,r,a)=>{const i=un().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),o=p6(e,t,n,r).find(l=>!(a!=null&&a(l)));return o?un(o).locale(r):i.locale(r)},h6=(e,t,n)=>{const r=e.year();if(!(n!=null&&n(e.toDate())))return e.locale(t);const a=e.month();if(!p6(e,r,a,t).every(n))return s0(e,r,a,t,n);for(let i=0;i<12;i++)if(!p6(e,r,i,t).every(n))return s0(e,r,i,t,n);return e},u0=(e,t,n,r)=>{if(st(e))return e.map(a=>u0(a,t,n,r));if(Bt(e)){const a=r!=null&&r.value?un(e):un(e,t);if(!a.isValid())return a}return un(e,t).locale(n)},fze=pt(Et(Te({},FP),{showWeekNumber:Boolean,selectionMode:wP("date")})),pze=["changerange","pick","select"],m6=(e="")=>["normal","today"].includes(e),hze=(e,t)=>{const{lang:n}=xn(),r=j(),a=j(),i=j(),o=j(),l=j([[],[],[],[],[],[]]);let s=!1;const u=e.date.$locale().weekStart||7,c=e.date.locale("en").localeData().weekdaysShort().map(O=>O.toLowerCase()),d=R(()=>u>3?7-u:-u),f=R(()=>{const O=e.date.startOf("month");return O.subtract(O.day()||7,"day")}),p=R(()=>c.concat(c).slice(u,u+7)),h=R(()=>t6(F(y)).some(O=>O.isCurrent)),m=R(()=>{const O=e.date.startOf("month"),N=O.day()||7,V=O.daysInMonth(),Y=O.subtract(1,"month").daysInMonth();return{startOfMonthDay:N,dateCountOfMonth:V,dateCountOfLastMonth:Y}}),v=R(()=>e.selectionMode==="dates"?lo(e.parsedValue):[]),g=(O,{count:N,rowIndex:V,columnIndex:Y})=>{const{startOfMonthDay:z,dateCountOfMonth:ee,dateCountOfLastMonth:ae}=F(m),pe=F(d);if(V>=0&&V<=1){const re=z+pe<0?7+z+pe:z+pe;if(Y+V*7>=re)return O.text=N,!0;O.text=ae-(re-Y%7)+1+V*7,O.type="prev-month"}else return N<=ee?O.text=N:(O.text=N-ee,O.type="next-month"),!0;return!1},b=(O,{columnIndex:N,rowIndex:V},Y)=>{const{disabledDate:z,cellClassName:ee}=e,ae=F(v),pe=g(O,{count:Y,rowIndex:V,columnIndex:N}),re=O.dayjs.toDate();return O.selected=ae.find(Q=>Q.isSame(O.dayjs,"day")),O.isSelected=!!O.selected,O.isCurrent=w(O),O.disabled=z==null?void 0:z(re),O.customClass=ee==null?void 0:ee(re),pe},C=O=>{if(e.selectionMode==="week"){const[N,V]=e.showWeekNumber?[1,7]:[0,6],Y=T(O[N+1]);O[N].inRange=Y,O[N].start=Y,O[V].inRange=Y,O[V].end=Y}},y=R(()=>{const{minDate:O,maxDate:N,rangeState:V,showWeekNumber:Y}=e,z=F(d),ee=F(l),ae="day";let pe=1;if(dze({row:6,column:7},ee,{startDate:O,columnIndexOffset:Y?1:0,nextEndDate:V.endDate||N||V.selecting&&O||null,now:un().locale(F(n)).startOf(ae),unit:ae,relativeDateGetter:re=>F(f).add(re-z,ae),setCellMetadata:(...re)=>{b(...re,pe)&&(pe+=1)},setRowMetadata:C}),Y)for(let re=0;re<6;re++)ee[re][1].dayjs&&(ee[re][0]={type:"week",text:ee[re][1].dayjs.week()});return ee});$e(()=>e.date,()=>Xt(null,null,function*(){var O;(O=F(r))!=null&&O.contains(document.activeElement)&&(yield Oe(),yield E())}));const E=()=>Xt(null,null,function*(){var O;return(O=F(a))==null?void 0:O.focus()}),w=O=>e.selectionMode==="date"&&m6(O.type)&&S(O,e.parsedValue),S=(O,N)=>N?un(N).locale(F(n)).isSame(e.date.date(Number(O.text)),"day"):!1,A=(O,N)=>{const V=O*7+(N-(e.showWeekNumber?1:0))-F(d);return F(f).add(V,"day")},D=O=>{var N;if(!e.rangeState.selecting)return;let V=O.target;if(V.tagName==="SPAN"&&(V=(N=V.parentNode)==null?void 0:N.parentNode),V.tagName==="DIV"&&(V=V.parentNode),V.tagName!=="TD")return;const Y=V.parentNode.rowIndex-1,z=V.cellIndex;F(y)[Y][z].disabled||(Y!==F(i)||z!==F(o))&&(i.value=Y,o.value=z,t("changerange",{selecting:!0,endDate:A(Y,z)}))},k=O=>!F(h)&&(O==null?void 0:O.text)===1&&m6(O.type)||O.isCurrent,x=O=>{s||F(h)||e.selectionMode!=="date"||B(O,!0)},_=O=>{O.target.closest("td")&&(s=!0)},M=O=>{O.target.closest("td")&&(s=!1)},L=O=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:O,maxDate:null}),t("select",!0)):(O>=e.minDate?t("pick",{minDate:e.minDate,maxDate:O}):t("pick",{minDate:O,maxDate:e.minDate}),t("select",!1))},I=O=>{const N=O.week(),V=`${O.year()}w${N}`;t("pick",{year:O.year(),week:N,value:V,date:O.startOf("week")})},P=(O,N)=>{const V=N?lo(e.parsedValue).filter(Y=>(Y==null?void 0:Y.valueOf())!==O.valueOf()):lo(e.parsedValue).concat([O]);t("pick",V)},B=(O,N=!1)=>{if(e.disabled)return;const V=O.target.closest("td");if(!V)return;const Y=V.parentNode.rowIndex-1,z=V.cellIndex,ee=F(y)[Y][z];if(ee.disabled||ee.type==="week")return;const ae=A(Y,z);switch(e.selectionMode){case"range":{L(ae);break}case"date":{t("pick",ae,N);break}case"week":{I(ae);break}case"dates":{P(ae,!!ee.selected);break}}},T=O=>{if(e.selectionMode!=="week")return!1;let N=e.date.startOf("day");if(O.type==="prev-month"&&(N=N.subtract(1,"month")),O.type==="next-month"&&(N=N.add(1,"month")),N=N.date(Number.parseInt(O.text,10)),e.parsedValue&&!st(e.parsedValue)){const V=(e.parsedValue.day()-u+7)%7-1;return e.parsedValue.subtract(V,"day").isSame(N,"day")}return!1};return{WEEKS:p,rows:y,tbodyRef:r,currentCellRef:a,focus:E,isCurrent:w,isWeekActive:T,isSelectedCell:k,handlePickDate:B,handleMouseUp:M,handleMouseDown:_,handleMouseMove:D,handleFocus:x}},mze=(e,{isCurrent:t,isWeekActive:n})=>{const r=at("date-table"),{t:a}=xn(),i=R(()=>[r.b(),r.is("week-mode",e.selectionMode==="week"&&!e.disabled)]),o=R(()=>a("el.datepicker.dateTablePrompt")),l=u=>{const c=[];return m6(u.type)&&!u.disabled?(c.push("available"),u.type==="today"&&c.push("today")):c.push(u.type),t(u)&&c.push("current"),u.inRange&&(m6(u.type)||e.selectionMode==="week")&&(c.push("in-range"),u.start&&c.push("start-date"),u.end&&c.push("end-date")),(u.disabled||e.disabled)&&c.push("disabled"),u.selected&&c.push("selected"),u.customClass&&c.push(u.customClass),c.join(" ")},s=u=>[r.e("row"),{current:n(u)}];return{tableKls:i,tableLabel:o,weekHeaderClass:r.e("week-header"),getCellClasses:l,getRowKls:s,t:a}},vze=pt({cell:{type:ke(Object)}});var SP=Ve({name:"ElDatePickerCell",props:vze,setup(e){const t=at("date-table-cell"),{slots:n}=lt(CP);return()=>{const{cell:r}=e;return We(n,"default",Te({},r),()=>{var a;return[be("div",{class:t.b()},[be("span",{class:t.e("text")},[(a=r==null?void 0:r.renderText)!=null?a:r==null?void 0:r.text])])]})}}});const gze=["aria-label"],yze=["aria-label"],bze=["aria-current","aria-selected","tabindex","aria-disabled"],Cze=Ve({__name:"basic-date-table",props:fze,emits:pze,setup(e,{expose:t,emit:n}){const r=e,a=n,{WEEKS:i,rows:o,tbodyRef:l,currentCellRef:s,focus:u,isCurrent:c,isWeekActive:d,isSelectedCell:f,handlePickDate:p,handleMouseUp:h,handleMouseDown:m,handleMouseMove:v,handleFocus:g}=hze(r,a),{tableLabel:b,tableKls:C,getCellClasses:y,getRowKls:E,weekHeaderClass:w,t:S}=mze(r,{isCurrent:c,isWeekActive:d});let A=!1;return Vn(()=>{A=!0}),t({focus:u}),(D,k)=>(H(),le("table",{"aria-label":F(b),class:J(F(C)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:k[1]||(k[1]=(...x)=>F(p)&&F(p)(...x)),onMousemove:k[2]||(k[2]=(...x)=>F(v)&&F(v)(...x)),onMousedown:k[3]||(k[3]=(...x)=>F(m)&&F(m)(...x)),onMouseup:k[4]||(k[4]=(...x)=>F(h)&&F(h)(...x))},[ye("tbody",{ref_key:"tbodyRef",ref:l},[ye("tr",null,[D.showWeekNumber?(H(),le("th",{key:0,scope:"col",class:J(F(w))},null,2)):Pe("v-if",!0),(H(!0),le(kt,null,En(F(i),(x,_)=>(H(),le("th",{key:_,"aria-label":F(S)("el.datepicker.weeksFull."+x),scope:"col"},ft(F(S)("el.datepicker.weeks."+x)),9,yze))),128))]),(H(!0),le(kt,null,En(F(o),(x,_)=>(H(),le("tr",{key:_,class:J(F(E)(D.showWeekNumber?x[2]:x[1]))},[(H(!0),le(kt,null,En(x,(M,L)=>(H(),le("td",{key:`${_}.${L}`,ref_for:!0,ref:I=>!F(A)&&F(f)(M)&&(s.value=I),class:J(F(y)(M)),"aria-current":M.isCurrent?"date":void 0,"aria-selected":M.isCurrent,tabindex:D.disabled?void 0:F(f)(M)?0:-1,"aria-disabled":D.disabled,onFocus:k[0]||(k[0]=(...I)=>F(g)&&F(g)(...I))},[be(F(SP),{cell:M},null,8,["cell"])],42,bze))),128))],2))),128))],512)],42,gze))}});var LM=yt(Cze,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/basic-date-table.vue"]]);const Fze=pt(Et(Te({},FP),{selectionMode:wP("month")})),Eze=["aria-label"],wze=["aria-selected","aria-label","tabindex","onKeydown"],Sze=Ve({__name:"basic-month-table",props:Fze,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,a=n,i=at("month-table"),{t:o,lang:l}=xn(),s=j(),u=j(),c=j(r.date.locale("en").localeData().monthsShort().map(y=>y.toLowerCase())),d=j([[],[],[]]),f=j(),p=j(),h=R(()=>{var y,E,w;const S=d.value,A=un().locale(l.value).startOf("month");for(let D=0;D<3;D++){const k=S[D];for(let x=0;x<4;x++){const _=k[x]||(k[x]={row:D,column:x,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});_.type="normal";const M=D*4+x,L=r.date.startOf("year").month(M),I=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;_.inRange=!!(r.minDate&&L.isSameOrAfter(r.minDate,"month")&&I&&L.isSameOrBefore(I,"month"))||!!(r.minDate&&L.isSameOrBefore(r.minDate,"month")&&I&&L.isSameOrAfter(I,"month")),(y=r.minDate)!=null&&y.isSameOrAfter(I)?(_.start=!!(I&&L.isSame(I,"month")),_.end=r.minDate&&L.isSame(r.minDate,"month")):(_.start=!!(r.minDate&&L.isSame(r.minDate,"month")),_.end=!!(I&&L.isSame(I,"month"))),A.isSame(L)&&(_.type="today");const B=L.toDate();_.text=M,_.disabled=((E=r.disabledDate)==null?void 0:E.call(r,B))||!1,_.date=B,_.customClass=(w=r.cellClassName)==null?void 0:w.call(r,B),_.dayjs=L,_.timestamp=L.valueOf(),_.isSelected=g(_)}}return S}),m=()=>{var y;(y=u.value)==null||y.focus()},v=y=>{const E={},w=r.date.year(),S=new Date,A=y.text;return E.disabled=r.disabled||(r.disabledDate?p6(r.date,w,A,l.value).every(r.disabledDate):!1),E.current=lo(r.parsedValue).some(D=>un.isDayjs(D)&&D.year()===w&&D.month()===A),E.today=S.getFullYear()===w&&S.getMonth()===A,y.customClass&&(E[y.customClass]=!0),y.inRange&&(E["in-range"]=!0,y.start&&(E["start-date"]=!0),y.end&&(E["end-date"]=!0)),E},g=y=>{const E=r.date.year(),w=y.text;return lo(r.date).some(S=>S.year()===E&&S.month()===w)},b=y=>{var E;if(!r.rangeState.selecting)return;let w=y.target;if(w.tagName==="SPAN"&&(w=(E=w.parentNode)==null?void 0:E.parentNode),w.tagName==="DIV"&&(w=w.parentNode),w.tagName!=="TD")return;const S=w.parentNode.rowIndex,A=w.cellIndex;h.value[S][A].disabled||(S!==f.value||A!==p.value)&&(f.value=S,p.value=A,a("changerange",{selecting:!0,endDate:r.date.startOf("year").month(S*4+A)}))},C=y=>{var E;if(r.disabled)return;const w=(E=y.target)==null?void 0:E.closest("td");if((w==null?void 0:w.tagName)!=="TD"||Ju(w,"disabled"))return;const S=w.cellIndex,D=w.parentNode.rowIndex*4+S,k=r.date.startOf("year").month(D);if(r.selectionMode==="months"){if(y.type==="keydown"){a("pick",lo(r.parsedValue),!1);return}const x=s0(r.date,r.date.year(),D,l.value,r.disabledDate),_=Ju(w,"current")?lo(r.parsedValue).filter(M=>(M==null?void 0:M.year())!==x.year()||(M==null?void 0:M.month())!==x.month()):lo(r.parsedValue).concat([un(x)]);a("pick",_)}else r.selectionMode==="range"?r.rangeState.selecting?(r.minDate&&k>=r.minDate?a("pick",{minDate:r.minDate,maxDate:k}):a("pick",{minDate:k,maxDate:r.minDate}),a("select",!1)):(a("pick",{minDate:k,maxDate:null}),a("select",!0)):a("pick",D)};return $e(()=>r.date,()=>Xt(null,null,function*(){var y,E;(y=s.value)!=null&&y.contains(document.activeElement)&&(yield Oe(),(E=u.value)==null||E.focus())})),t({focus:m}),(y,E)=>(H(),le("table",{role:"grid","aria-label":F(o)("el.datepicker.monthTablePrompt"),class:J(F(i).b()),onClick:C,onMousemove:b},[ye("tbody",{ref_key:"tbodyRef",ref:s},[(H(!0),le(kt,null,En(h.value,(w,S)=>(H(),le("tr",{key:S},[(H(!0),le(kt,null,En(w,(A,D)=>(H(),le("td",{key:D,ref_for:!0,ref:k=>A.isSelected&&(u.value=k),class:J(v(A)),"aria-selected":!!A.isSelected,"aria-label":F(o)(`el.datepicker.month${+A.text+1}`),tabindex:A.isSelected?0:-1,onKeydown:[ca(Yt(C,["prevent","stop"]),["space"]),ca(Yt(C,["prevent","stop"]),["enter"])]},[be(F(SP),{cell:Et(Te({},A),{renderText:F(o)("el.datepicker.months."+c.value[A.text])})},null,8,["cell"])],42,wze))),128))]))),128))],512)],42,Eze))}});var h2=yt(Sze,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/basic-month-table.vue"]]);const Aze=pt(Et(Te({},FP),{selectionMode:wP("year")})),Dze=["aria-label"],Tze=["aria-selected","aria-label","tabindex","onKeydown"],kze=Ve({__name:"basic-year-table",props:Aze,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=(E,w)=>{const S=un(String(E)).locale(w).startOf("year"),D=S.endOf("year").dayOfYear();return Hf(D).map(k=>S.add(k,"day").toDate())},a=e,i=n,o=at("year-table"),{t:l,lang:s}=xn(),u=j(),c=j(),d=R(()=>Math.floor(a.date.year()/10)*10),f=j([[],[],[]]),p=j(),h=j(),m=R(()=>{var E,w,S;const A=f.value,D=un().locale(s.value).startOf("year");for(let k=0;k<3;k++){const x=A[k];for(let _=0;_<4&&!(k*4+_>=10);_++){let M=x[_];M||(M={row:k,column:_,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}),M.type="normal";const L=k*4+_+d.value,I=un().year(L),P=a.rangeState.endDate||a.maxDate||a.rangeState.selecting&&a.minDate||null;M.inRange=!!(a.minDate&&I.isSameOrAfter(a.minDate,"year")&&P&&I.isSameOrBefore(P,"year"))||!!(a.minDate&&I.isSameOrBefore(a.minDate,"year")&&P&&I.isSameOrAfter(P,"year")),(E=a.minDate)!=null&&E.isSameOrAfter(P)?(M.start=!!(P&&I.isSame(P,"year")),M.end=!!(a.minDate&&I.isSame(a.minDate,"year"))):(M.start=!!(a.minDate&&I.isSame(a.minDate,"year")),M.end=!!(P&&I.isSame(P,"year"))),D.isSame(I)&&(M.type="today"),M.text=L;const T=I.toDate();M.disabled=((w=a.disabledDate)==null?void 0:w.call(a,T))||!1,M.date=T,M.customClass=(S=a.cellClassName)==null?void 0:S.call(a,T),M.dayjs=I,M.timestamp=I.valueOf(),M.isSelected=b(M),x[_]=M}}return A}),v=()=>{var E;(E=c.value)==null||E.focus()},g=E=>{const w={},S=un().locale(s.value),A=E.text;return w.disabled=a.disabled||(a.disabledDate?r(A,s.value).every(a.disabledDate):!1),w.today=S.year()===A,w.current=lo(a.parsedValue).some(D=>D.year()===A),E.customClass&&(w[E.customClass]=!0),E.inRange&&(w["in-range"]=!0,E.start&&(w["start-date"]=!0),E.end&&(w["end-date"]=!0)),w},b=E=>{const w=E.text;return lo(a.date).some(S=>S.year()===w)},C=E=>{var w;if(a.disabled)return;const S=(w=E.target)==null?void 0:w.closest("td");if(!S||!S.textContent||Ju(S,"disabled"))return;const A=S.cellIndex,k=S.parentNode.rowIndex*4+A+d.value,x=un().year(k);if(a.selectionMode==="range")a.rangeState.selecting?(a.minDate&&x>=a.minDate?i("pick",{minDate:a.minDate,maxDate:x}):i("pick",{minDate:x,maxDate:a.minDate}),i("select",!1)):(i("pick",{minDate:x,maxDate:null}),i("select",!0));else if(a.selectionMode==="years"){if(E.type==="keydown"){i("pick",lo(a.parsedValue),!1);return}const _=h6(x.startOf("year"),s.value,a.disabledDate),M=Ju(S,"current")?lo(a.parsedValue).filter(L=>(L==null?void 0:L.year())!==k):lo(a.parsedValue).concat([_]);i("pick",M)}else i("pick",k)},y=E=>{var w;if(!a.rangeState.selecting)return;const S=(w=E.target)==null?void 0:w.closest("td");if(!S)return;const A=S.parentNode.rowIndex,D=S.cellIndex;m.value[A][D].disabled||(A!==p.value||D!==h.value)&&(p.value=A,h.value=D,i("changerange",{selecting:!0,endDate:un().year(d.value).add(A*4+D,"year")}))};return $e(()=>a.date,()=>Xt(null,null,function*(){var E,w;(E=u.value)!=null&&E.contains(document.activeElement)&&(yield Oe(),(w=c.value)==null||w.focus())})),t({focus:v}),(E,w)=>(H(),le("table",{role:"grid","aria-label":F(l)("el.datepicker.yearTablePrompt"),class:J(F(o).b()),onClick:C,onMousemove:y},[ye("tbody",{ref_key:"tbodyRef",ref:u},[(H(!0),le(kt,null,En(m.value,(S,A)=>(H(),le("tr",{key:A},[(H(!0),le(kt,null,En(S,(D,k)=>(H(),le("td",{key:`${A}_${k}`,ref_for:!0,ref:x=>D.isSelected&&(c.value=x),class:J(["available",g(D)]),"aria-selected":D.isSelected,"aria-label":String(D.text),tabindex:D.isSelected?0:-1,onKeydown:[ca(Yt(C,["prevent","stop"]),["space"]),ca(Yt(C,["prevent","stop"]),["enter"])]},[be(F(SP),{cell:D},null,8,["cell"])],42,Tze))),128))]))),128))],512)],42,Dze))}});var m2=yt(kze,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/basic-year-table.vue"]]);const _ze=["disabled","onClick"],xze=["aria-label","disabled"],Mze=["aria-label","disabled"],Bze=["tabindex","aria-disabled"],Rze=["tabindex","aria-disabled"],Lze=["aria-label","disabled"],Oze=["aria-label","disabled"],Pze=Ve({__name:"panel-date-pick",props:cze,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=(Ie,ge,oe)=>!0,r=e,a=t,i=at("picker-panel"),o=at("date-picker"),l=Fc(),s=pa(),{t:u,lang:c}=xn(),d=lt(tu),f=lt(U5,void 0),{shortcuts:p,disabledDate:h,cellClassName:m,defaultTime:v}=d.props,g=Qn(d.props,"defaultValue"),b=j(),C=j(un().locale(c.value)),y=j(!1);let E=!1;const w=R(()=>un(v).locale(c.value)),S=R(()=>C.value.month()),A=R(()=>C.value.year()),D=j([]),k=j(null),x=j(null),_=Ie=>D.value.length>0?n(Ie,D.value,r.format||"HH:mm:ss"):!0,M=Ie=>v&&!te.value&&!y.value&&!E?w.value.year(Ie.year()).month(Ie.month()).date(Ie.date()):ie.value?Ie.millisecond(0):Ie.startOf("day"),L=(Ie,...ge)=>{if(!Ie)a("pick",Ie,...ge);else if(st(Ie)){const oe=Ie.map(M);a("pick",oe,...ge)}else a("pick",M(Ie),...ge);k.value=null,x.value=null,y.value=!1,E=!1},I=(Ie,ge)=>Xt(null,null,function*(){if(V.value==="date"&&un.isDayjs(Ie)){const oe=Gg(r.parsedValue);let Xe=oe?oe.year(Ie.year()).month(Ie.month()).date(Ie.date()):Ie;_(Xe),C.value=Xe,L(Xe,ie.value||ge)}else V.value==="week"?L(Ie.date):V.value==="dates"&&L(Ie,!0)}),P=Ie=>{const ge=Ie?"add":"subtract";C.value=C.value[ge](1,"month"),ze("month")},B=Ie=>{const ge=C.value,oe=Ie?"add":"subtract";C.value=T.value==="year"?ge[oe](10,"year"):ge[oe](1,"year"),ze("year")},T=j("date"),O=R(()=>{const Ie=u("el.datepicker.year");if(T.value==="year"){const ge=Math.floor(A.value/10)*10;return Ie?`${ge} ${Ie} - ${ge+9} ${Ie}`:`${ge} - ${ge+9}`}return`${A.value} ${Ie}`}),N=Ie=>{const ge=Lt(Ie.value)?Ie.value():Ie.value;if(ge){E=!0,L(un(ge).locale(c.value));return}Ie.onClick&&Ie.onClick({attrs:l,slots:s,emit:a})},V=R(()=>{const{type:Ie}=r;return["week","month","months","year","years","dates"].includes(Ie)?Ie:"date"}),Y=R(()=>V.value==="dates"||V.value==="months"||V.value==="years"),z=R(()=>V.value==="date"?T.value:V.value),ee=R(()=>!!p.length),ae=(Ie,ge)=>Xt(null,null,function*(){V.value==="month"?(C.value=s0(C.value,C.value.year(),Ie,c.value,h),L(C.value,!1)):V.value==="months"?L(Ie,ge!=null?ge:!0):(C.value=s0(C.value,C.value.year(),Ie,c.value,h),T.value="date",["month","year","date","week"].includes(V.value)&&(L(C.value,!0),yield Oe(),Ge())),ze("month")}),pe=(Ie,ge)=>Xt(null,null,function*(){if(V.value==="year"){const oe=C.value.startOf("year").year(Ie);C.value=h6(oe,c.value,h),L(C.value,!1)}else if(V.value==="years")L(Ie,ge!=null?ge:!0);else{const oe=C.value.year(Ie);C.value=h6(oe,c.value,h),T.value="month",["month","year","date","week"].includes(V.value)&&(L(C.value,!0),yield Oe(),Ge())}ze("year")}),re=ha(),Q=Ie=>Xt(null,null,function*(){re.value||(T.value=Ie,yield Oe(),Ge())}),ie=R(()=>r.type==="datetime"||r.type==="datetimerange"),X=R(()=>{const Ie=ie.value||V.value==="dates",ge=V.value==="years",oe=V.value==="months",Xe=T.value==="date",it=T.value==="year",xt=T.value==="month";return Ie&&Xe||ge&&it||oe&&xt}),q=R(()=>!Y.value&&r.showNow||r.showConfirm),ce=R(()=>h?r.parsedValue?st(r.parsedValue)?h(r.parsedValue[0].toDate()):h(r.parsedValue.toDate()):!0:!1),K=()=>{if(Y.value)L(r.parsedValue);else{let Ie=Gg(r.parsedValue);if(!Ie){const ge=un(v).locale(c.value),oe=ve();Ie=ge.year(oe.year()).month(oe.month()).date(oe.date())}C.value=Ie,L(Ie)}},Z=R(()=>h?h(un().locale(c.value).toDate()):!1),se=()=>{const ge=un().locale(c.value).toDate();y.value=!0,(!h||!h(ge))&&_(ge)&&(C.value=un().locale(c.value),L(C.value))},Fe=R(()=>r.timeFormat||Xse(r.format)||l0),me=R(()=>r.dateFormat||Jse(r.format)||wf),te=R(()=>x.value?x.value:!r.parsedValue&&!g.value?void 0:(Gg(r.parsedValue)||C.value).format(Fe.value)),ue=R(()=>k.value?k.value:!r.parsedValue&&!g.value?void 0:(Gg(r.parsedValue)||C.value).format(me.value)),Se=j(!1),Ae=()=>{Se.value=!0},Ne=()=>{Se.value=!1},je=Ie=>({hour:Ie.hour(),minute:Ie.minute(),second:Ie.second(),year:Ie.year(),month:Ie.month(),date:Ie.date()}),De=(Ie,ge,oe)=>{const{hour:Xe,minute:it,second:xt}=je(Ie),Ee=Gg(r.parsedValue),pn=Ee?Ee.hour(Xe).minute(it).second(xt):Ie;C.value=pn,L(C.value,!0),oe||(Se.value=ge)},he=Ie=>{const ge=un(Ie,Fe.value).locale(c.value);if(ge.isValid()&&_(ge)){const{year:oe,month:Xe,date:it}=je(C.value);C.value=ge.year(oe).month(Xe).date(it),x.value=null,Se.value=!1,L(C.value,!0)}},He=Ie=>{const ge=u0(Ie,me.value,c.value,f);if(ge.isValid()){if(h&&h(ge.toDate()))return;const{hour:oe,minute:Xe,second:it}=je(C.value);C.value=ge.hour(oe).minute(Xe).second(it),k.value=null,L(C.value,!0)}},xe=Ie=>un.isDayjs(Ie)&&Ie.isValid()&&(h?!h(Ie.toDate()):!0),qe=Ie=>u0(Ie,r.format,c.value,f),ve=()=>{const Ie=un(g.value).locale(c.value);if(!g.value){const ge=w.value;return un().hour(ge.hour()).minute(ge.minute()).second(ge.second()).locale(c.value)}return Ie},Ge=()=>{var Ie;["week","month","year","date"].includes(V.value)&&((Ie=b.value)==null||Ie.focus())},Ke=()=>{Ge(),V.value==="week"&&nt(dt.down)},rt=Ie=>{const ge=Er(Ie);[dt.up,dt.down,dt.left,dt.right,dt.home,dt.end,dt.pageUp,dt.pageDown].includes(ge)&&(nt(ge),Ie.stopPropagation(),Ie.preventDefault()),[dt.enter,dt.space,dt.numpadEnter].includes(ge)&&k.value===null&&x.value===null&&(Ie.preventDefault(),L(C.value,!1))},nt=Ie=>{var ge;const{up:oe,down:Xe,left:it,right:xt,home:Ee,end:pn,pageUp:Qe,pageDown:ct}=dt,gt={year:{[oe]:-4,[Xe]:4,[it]:-1,[xt]:1,offset:(Wt,bt)=>Wt.setFullYear(Wt.getFullYear()+bt)},month:{[oe]:-4,[Xe]:4,[it]:-1,[xt]:1,offset:(Wt,bt)=>Wt.setMonth(Wt.getMonth()+bt)},week:{[oe]:-1,[Xe]:1,[it]:-1,[xt]:1,offset:(Wt,bt)=>Wt.setDate(Wt.getDate()+bt*7)},date:{[oe]:-7,[Xe]:7,[it]:-1,[xt]:1,[Ee]:Wt=>-Wt.getDay(),[pn]:Wt=>-Wt.getDay()+6,[Qe]:Wt=>-new Date(Wt.getFullYear(),Wt.getMonth(),0).getDate(),[ct]:Wt=>new Date(Wt.getFullYear(),Wt.getMonth()+1,0).getDate(),offset:(Wt,bt)=>Wt.setDate(Wt.getDate()+bt)}},an=C.value.toDate();for(;Math.abs(C.value.diff(an,"year",!0))<1;){const Wt=gt[z.value];if(!Wt)return;if(Wt.offset(an,Lt(Wt[Ie])?Wt[Ie](an):(ge=Wt[Ie])!=null?ge:0),h&&h(an))break;const bt=un(an).locale(c.value);C.value=bt,a("pick",bt,!0);break}},ze=Ie=>{a("panel-change",C.value.toDate(),Ie,T.value)};return $e(()=>V.value,Ie=>{if(["month","year"].includes(Ie)){T.value=Ie;return}else if(Ie==="years"){T.value="year";return}else if(Ie==="months"){T.value="month";return}T.value="date"},{immediate:!0}),$e(()=>g.value,Ie=>{Ie&&(C.value=ve())},{immediate:!0}),$e(()=>r.parsedValue,Ie=>{if(Ie){if(Y.value||st(Ie))return;C.value=Ie}else C.value=ve()},{immediate:!0}),a("set-picker-option",["isValidValue",xe]),a("set-picker-option",["parseUserInput",qe]),a("set-picker-option",["handleFocusPicker",Ke]),(Ie,ge)=>(H(),le("div",{class:J([F(i).b(),F(o).b(),F(i).is("border",Ie.border),F(i).is("disabled",F(re)),{"has-sidebar":Ie.$slots.sidebar||ee.value,"has-time":ie.value}])},[ye("div",{class:J(F(i).e("body-wrapper"))},[We(Ie.$slots,"sidebar",{class:J(F(i).e("sidebar"))}),ee.value?(H(),le("div",{key:0,class:J(F(i).e("sidebar"))},[(H(!0),le(kt,null,En(F(p),(oe,Xe)=>(H(),le("button",{key:Xe,type:"button",disabled:F(re),class:J(F(i).e("shortcut")),onClick:it=>N(oe)},ft(oe.text),11,_ze))),128))],2)):Pe("v-if",!0),ye("div",{class:J(F(i).e("body"))},[ie.value?(H(),le("div",{key:0,class:J(F(o).e("time-header"))},[ye("span",{class:J(F(o).e("editor-wrap"))},[be(F(co),{placeholder:F(u)("el.datepicker.selectDate"),"model-value":ue.value,size:"small","validate-event":!1,disabled:F(re),readonly:!Ie.editable,onInput:ge[0]||(ge[0]=oe=>k.value=oe),onChange:He},null,8,["placeholder","model-value","disabled","readonly"])],2),hn((H(),le("span",{class:J(F(o).e("editor-wrap"))},[be(F(co),{placeholder:F(u)("el.datepicker.selectTime"),"model-value":te.value,size:"small","validate-event":!1,disabled:F(re),readonly:!Ie.editable,onFocus:Ae,onInput:ge[1]||(ge[1]=oe=>x.value=oe),onChange:he},null,8,["placeholder","model-value","disabled","readonly"]),be(F(f6),{visible:Se.value,format:Fe.value,"parsed-value":C.value,onPick:De},null,8,["visible","format","parsed-value"])],2)),[[F(sp),Ne]])],2)):Pe("v-if",!0),hn(ye("div",{class:J([F(o).e("header"),(T.value==="year"||T.value==="month")&&F(o).em("header","bordered")])},[ye("span",{class:J(F(o).e("prev-btn"))},[ye("button",{type:"button","aria-label":F(u)("el.datepicker.prevYear"),class:J(["d-arrow-left",F(i).e("icon-btn")]),disabled:F(re),onClick:ge[2]||(ge[2]=oe=>B(!1))},[We(Ie.$slots,"prev-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(ip))]),_:1})])],10,xze),hn(ye("button",{type:"button","aria-label":F(u)("el.datepicker.prevMonth"),class:J([F(i).e("icon-btn"),"arrow-left"]),disabled:F(re),onClick:ge[3]||(ge[3]=oe=>P(!1))},[We(Ie.$slots,"prev-month",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(Ad))]),_:1})])],10,Mze),[[In,T.value==="date"]])],2),ye("span",{role:"button",class:J(F(o).e("header-label")),"aria-live":"polite",tabindex:Ie.disabled?void 0:0,"aria-disabled":Ie.disabled,onKeydown:ge[4]||(ge[4]=ca(oe=>Q("year"),["enter"])),onClick:ge[5]||(ge[5]=oe=>Q("year"))},ft(O.value),43,Bze),hn(ye("span",{role:"button","aria-live":"polite",tabindex:Ie.disabled?void 0:0,"aria-disabled":Ie.disabled,class:J([F(o).e("header-label"),{active:T.value==="month"}]),onKeydown:ge[6]||(ge[6]=ca(oe=>Q("month"),["enter"])),onClick:ge[7]||(ge[7]=oe=>Q("month"))},ft(F(u)(`el.datepicker.month${S.value+1}`)),43,Rze),[[In,T.value==="date"]]),ye("span",{class:J(F(o).e("next-btn"))},[hn(ye("button",{type:"button","aria-label":F(u)("el.datepicker.nextMonth"),class:J([F(i).e("icon-btn"),"arrow-right"]),disabled:F(re),onClick:ge[8]||(ge[8]=oe=>P(!0))},[We(Ie.$slots,"next-month",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(po))]),_:1})])],10,Lze),[[In,T.value==="date"]]),ye("button",{type:"button","aria-label":F(u)("el.datepicker.nextYear"),class:J([F(i).e("icon-btn"),"d-arrow-right"]),disabled:F(re),onClick:ge[9]||(ge[9]=oe=>B(!0))},[We(Ie.$slots,"next-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(op))]),_:1})])],10,Oze)],2)],2),[[In,T.value!=="time"]]),ye("div",{class:J(F(i).e("content")),onKeydown:rt},[T.value==="date"?(H(),Ue(LM,{key:0,ref_key:"currentViewRef",ref:b,"selection-mode":V.value,date:C.value,"parsed-value":Ie.parsedValue,"disabled-date":F(h),disabled:F(re),"cell-class-name":F(m),"show-week-number":Ie.showWeekNumber,onPick:I},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):Pe("v-if",!0),T.value==="year"?(H(),Ue(m2,{key:1,ref_key:"currentViewRef",ref:b,"selection-mode":V.value,date:C.value,"disabled-date":F(h),disabled:F(re),"parsed-value":Ie.parsedValue,"cell-class-name":F(m),onPick:pe},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):Pe("v-if",!0),T.value==="month"?(H(),Ue(h2,{key:2,ref_key:"currentViewRef",ref:b,"selection-mode":V.value,date:C.value,"parsed-value":Ie.parsedValue,"disabled-date":F(h),disabled:F(re),"cell-class-name":F(m),onPick:ae},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):Pe("v-if",!0)],34)],2)],2),Ie.showFooter&&X.value&&q.value?(H(),le("div",{key:0,class:J(F(i).e("footer"))},[hn(be(F(ci),{text:"",size:"small",class:J(F(i).e("link-btn")),disabled:Z.value,onClick:se},{default:Re(()=>[Cn(ft(F(u)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[In,!Y.value&&Ie.showNow]]),Ie.showConfirm?(H(),Ue(F(ci),{key:0,plain:"",size:"small",class:J(F(i).e("link-btn")),disabled:ce.value,onClick:K},{default:Re(()=>[Cn(ft(F(u)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):Pe("v-if",!0)],2)):Pe("v-if",!0)],2))}});var Ize=yt(Pze,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue"]]);const Nze=pt(Te(Te({},jue),EP)),$ze=e=>{const{emit:t}=Jt(),n=Fc(),r=pa();return i=>{const o=Lt(i.value)?i.value():i.value;if(o){t("pick",[un(o[0]).locale(e.value),un(o[1]).locale(e.value)]);return}i.onClick&&i.onClick({attrs:n,slots:r,emit:t})}},AP=(e,{defaultValue:t,defaultTime:n,leftDate:r,rightDate:a,step:i,unit:o,sortDates:l})=>{const{emit:s}=Jt(),{pickerNs:u}=lt(CP),c=at("date-range-picker"),{t:d,lang:f}=xn(),p=$ze(f),h=j(),m=j(),v=j({endDate:null,selecting:!1}),g=w=>{v.value=w},b=(w=!1)=>{const S=F(h),A=F(m);p2([S,A])&&s("pick",[S,A],w)},C=w=>{v.value.selecting=w,w||(v.value.endDate=null)},y=w=>{if(st(w)&&w.length===2){const[S,A]=w;h.value=S,r.value=S,m.value=A,l(F(h),F(m))}else E()},E=()=>{let[w,S]=B9(F(t),{lang:F(f),step:i,unit:o,unlinkPanels:e.unlinkPanels});const A=k=>k.diff(k.startOf("d"),"ms"),D=F(n);if(D){let k=0,x=0;if(st(D)){const[_,M]=D.map(un);k=A(_),x=A(M)}else{const _=A(un(D));k=_,x=_}w=w.startOf("d").add(k,"ms"),S=S.startOf("d").add(x,"ms")}h.value=void 0,m.value=void 0,r.value=w,a.value=S};return $e(t,w=>{w&&E()},{immediate:!0}),$e(()=>e.parsedValue,w=>{(!(w!=null&&w.length)||!ma(w,[h.value,m.value]))&&y(w)},{immediate:!0}),$e(()=>e.visible,()=>{e.visible&&y(e.parsedValue)},{immediate:!0}),{minDate:h,maxDate:m,rangeState:v,lang:f,ppNs:u,drpNs:c,handleChangeRange:g,handleRangeConfirm:b,handleShortcutClick:p,onSelect:C,parseValue:y,t:d}},Vze=(e,t,n,r)=>{const a=j("date"),i=j(),o=j("date"),l=j(),s=lt(tu),{disabledDate:u}=s.props,{t:c,lang:d}=xn(),f=R(()=>n.value.year()),p=R(()=>n.value.month()),h=R(()=>r.value.year()),m=R(()=>r.value.month());function v(w,S){const A=c("el.datepicker.year");if(w.value==="year"){const D=Math.floor(S.value/10)*10;return A?`${D} ${A} - ${D+9} ${A}`:`${D} - ${D+9}`}return`${S.value} ${A}`}function g(w){w==null||w.focus()}function b(w,S){return Xt(this,null,function*(){if(e.disabled)return;const A=w==="left"?a:o,D=w==="left"?i:l;A.value=S,yield Oe(),g(D.value)})}function C(w,S,A){return Xt(this,null,function*(){if(e.disabled)return;const D=S==="left",k=D?n:r,x=D?r:n,_=D?a:o,M=D?i:l;if(w==="year"){const L=k.value.year(A);k.value=h6(L,d.value,u)}w==="month"&&(k.value=s0(k.value,k.value.year(),A,d.value,u)),e.unlinkPanels||(x.value=S==="left"?k.value.add(1,"month"):k.value.subtract(1,"month")),_.value=w==="year"?"month":"date",yield Oe(),g(M.value),y(w)})}function y(w){t("panel-change",[n.value.toDate(),r.value.toDate()],w)}function E(w,S,A){const D=A?"add":"subtract";return w==="year"?S[D](10,"year"):S[D](1,"year")}return{leftCurrentView:a,rightCurrentView:o,leftCurrentViewRef:i,rightCurrentViewRef:l,leftYear:f,rightYear:h,leftMonth:p,rightMonth:m,leftYearLabel:R(()=>v(a,f)),rightYearLabel:R(()=>v(o,h)),showLeftPicker:w=>b("left",w),showRightPicker:w=>b("right",w),handleLeftYearPick:w=>C("year","left",w),handleRightYearPick:w=>C("year","right",w),handleLeftMonthPick:w=>C("month","left",w),handleRightMonthPick:w=>C("month","right",w),handlePanelChange:y,adjustDateByView:E}},Hze=["disabled","onClick"],zze=["aria-label","disabled"],Wze=["aria-label","disabled"],Gze=["disabled","aria-label"],jze=["disabled","aria-label"],Kze=["tabindex","aria-disabled"],Uze=["tabindex","aria-disabled"],qze=["disabled","aria-label"],Yze=["disabled","aria-label"],Jze=["aria-label","disabled"],Xze=["disabled","aria-label"],Zze=["tabindex","aria-disabled"],Qze=["tabindex","aria-disabled"],s8="month",eWe=Ve({__name:"panel-date-range",props:Nze,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(e,{emit:t}){const n=e,r=t,a=lt(tu),i=lt(U5,void 0),{disabledDate:o,cellClassName:l,defaultTime:s,clearable:u}=a.props,c=Qn(a.props,"format"),d=Qn(a.props,"shortcuts"),f=Qn(a.props,"defaultValue"),{lang:p}=xn(),h=j(un().locale(p.value)),m=j(un().locale(p.value).add(1,s8)),{minDate:v,maxDate:g,rangeState:b,ppNs:C,drpNs:y,handleChangeRange:E,handleRangeConfirm:w,handleShortcutClick:S,onSelect:A,parseValue:D,t:k}=AP(n,{defaultValue:f,defaultTime:s,leftDate:h,rightDate:m,unit:s8,sortDates:Wt});$e(()=>n.visible,bt=>{!bt&&b.value.selecting&&(D(n.parsedValue),A(!1))});const x=j({min:null,max:null}),_=j({min:null,max:null}),{leftCurrentView:M,rightCurrentView:L,leftCurrentViewRef:I,rightCurrentViewRef:P,leftYear:B,rightYear:T,leftMonth:O,rightMonth:N,leftYearLabel:V,rightYearLabel:Y,showLeftPicker:z,showRightPicker:ee,handleLeftYearPick:ae,handleRightYearPick:pe,handleLeftMonthPick:re,handleRightMonthPick:Q,handlePanelChange:ie,adjustDateByView:X}=Vze(n,r,h,m),q=R(()=>!!d.value.length),ce=R(()=>x.value.min!==null?x.value.min:v.value?v.value.format(me.value):""),K=R(()=>x.value.max!==null?x.value.max:g.value||v.value?(g.value||v.value).format(me.value):""),Z=R(()=>_.value.min!==null?_.value.min:v.value?v.value.format(Fe.value):""),se=R(()=>_.value.max!==null?_.value.max:g.value||v.value?(g.value||v.value).format(Fe.value):""),Fe=R(()=>n.timeFormat||Xse(c.value||"")||l0),me=R(()=>n.dateFormat||Jse(c.value||"")||wf),te=bt=>p2(bt)&&(o?!o(bt[0].toDate())&&!o(bt[1].toDate()):!0),ue=()=>{h.value=X(M.value,h.value,!1),n.unlinkPanels||(m.value=h.value.add(1,"month")),ie("year")},Se=()=>{h.value=h.value.subtract(1,"month"),n.unlinkPanels||(m.value=h.value.add(1,"month")),ie("month")},Ae=()=>{n.unlinkPanels?m.value=X(L.value,m.value,!0):(h.value=X(L.value,h.value,!0),m.value=h.value.add(1,"month")),ie("year")},Ne=()=>{n.unlinkPanels?m.value=m.value.add(1,"month"):(h.value=h.value.add(1,"month"),m.value=h.value.add(1,"month")),ie("month")},je=()=>{h.value=X(M.value,h.value,!0),ie("year")},De=()=>{h.value=h.value.add(1,"month"),ie("month")},he=()=>{m.value=X(L.value,m.value,!1),ie("year")},He=()=>{m.value=m.value.subtract(1,"month"),ie("month")},xe=R(()=>{const bt=(O.value+1)%12,Ft=O.value+1>=12?1:0;return n.unlinkPanels&&new Date(B.value+Ft,bt)n.unlinkPanels&&T.value*12+N.value-(B.value*12+O.value+1)>=12),ve=ha(),Ge=R(()=>!(v.value&&g.value&&!b.value.selecting&&p2([v.value,g.value])&&!ve.value)),Ke=R(()=>n.type==="datetime"||n.type==="datetimerange"),rt=(bt,Ft)=>{if(bt)return s?un(s[Ft]||s).locale(p.value).year(bt.year()).month(bt.month()).date(bt.date()):bt},nt=(bt,Ft=!0)=>{const It=bt.minDate,Nn=bt.maxDate,Kn=rt(It,0),Sr=rt(Nn,1);g.value===Sr&&v.value===Kn||(r("calendar-change",[It.toDate(),Nn&&Nn.toDate()]),g.value=Sr,v.value=Kn,!Ke.value&&Ft&&(Ft=!Kn||!Sr),w(Ft))},ze=j(!1),Ie=j(!1),ge=()=>{ze.value=!1},oe=()=>{Ie.value=!1},Xe=(bt,Ft)=>{x.value[Ft]=bt;const It=un(bt,me.value).locale(p.value);if(It.isValid()){if(o&&o(It.toDate()))return;Ft==="min"?(h.value=It,v.value=(v.value||h.value).year(It.year()).month(It.month()).date(It.date()),!n.unlinkPanels&&(!g.value||g.value.isBefore(v.value))&&(m.value=It.add(1,"month"),g.value=v.value.add(1,"month"))):(m.value=It,g.value=(g.value||m.value).year(It.year()).month(It.month()).date(It.date()),!n.unlinkPanels&&(!v.value||v.value.isAfter(g.value))&&(h.value=It.subtract(1,"month"),v.value=g.value.subtract(1,"month"))),Wt(v.value,g.value),w(!0)}},it=(bt,Ft)=>{x.value[Ft]=null},xt=(bt,Ft)=>{_.value[Ft]=bt;const It=un(bt,Fe.value).locale(p.value);It.isValid()&&(Ft==="min"?(ze.value=!0,v.value=(v.value||h.value).hour(It.hour()).minute(It.minute()).second(It.second()),h.value=v.value):(Ie.value=!0,g.value=(g.value||m.value).hour(It.hour()).minute(It.minute()).second(It.second()),m.value=g.value))},Ee=(bt,Ft)=>{_.value[Ft]=null,Ft==="min"?(h.value=v.value,ze.value=!1,(!g.value||g.value.isBefore(v.value))&&(g.value=v.value)):(m.value=g.value,Ie.value=!1,g.value&&g.value.isBefore(v.value)&&(v.value=g.value)),w(!0)},pn=(bt,Ft,It)=>{_.value.min||(bt&&(v.value=(v.value||h.value).hour(bt.hour()).minute(bt.minute()).second(bt.second())),It||(ze.value=Ft),(!g.value||g.value.isBefore(v.value))&&(g.value=v.value,m.value=bt,Oe(()=>{D(n.parsedValue)})),w(!0))},Qe=(bt,Ft,It)=>{_.value.max||(bt&&(g.value=(g.value||m.value).hour(bt.hour()).minute(bt.minute()).second(bt.second())),It||(Ie.value=Ft),g.value&&g.value.isBefore(v.value)&&(v.value=g.value),w(!0))},ct=()=>{gt(),r("clear")},gt=()=>{let bt=null;a!=null&&a.emptyValues&&(bt=a.emptyValues.valueOnClear.value),h.value=B9(F(f),{lang:F(p),unit:"month",unlinkPanels:n.unlinkPanels})[0],m.value=h.value.add(1,"month"),g.value=void 0,v.value=void 0,w(!0),r("pick",bt)},an=bt=>u0(bt,c.value||"",p.value,i);function Wt(bt,Ft){if(n.unlinkPanels&&Ft){const It=(bt==null?void 0:bt.year())||0,Nn=(bt==null?void 0:bt.month())||0,Kn=Ft.year(),Sr=Ft.month();m.value=It===Kn&&Nn===Sr?Ft.add(1,s8):Ft}else m.value=h.value.add(1,s8),Ft&&(m.value=m.value.hour(Ft.hour()).minute(Ft.minute()).second(Ft.second()))}return r("set-picker-option",["isValidValue",te]),r("set-picker-option",["parseUserInput",an]),r("set-picker-option",["handleClear",gt]),(bt,Ft)=>(H(),le("div",{class:J([F(C).b(),F(y).b(),F(C).is("border",bt.border),F(C).is("disabled",F(ve)),{"has-sidebar":bt.$slots.sidebar||q.value,"has-time":Ke.value}])},[ye("div",{class:J(F(C).e("body-wrapper"))},[We(bt.$slots,"sidebar",{class:J(F(C).e("sidebar"))}),q.value?(H(),le("div",{key:0,class:J(F(C).e("sidebar"))},[(H(!0),le(kt,null,En(d.value,(It,Nn)=>(H(),le("button",{key:Nn,type:"button",disabled:F(ve),class:J(F(C).e("shortcut")),onClick:Kn=>F(S)(It)},ft(It.text),11,Hze))),128))],2)):Pe("v-if",!0),ye("div",{class:J(F(C).e("body"))},[Ke.value?(H(),le("div",{key:0,class:J(F(y).e("time-header"))},[ye("span",{class:J(F(y).e("editors-wrap"))},[ye("span",{class:J(F(y).e("time-picker-wrap"))},[be(F(co),{size:"small",disabled:F(b).selecting||F(ve),placeholder:F(k)("el.datepicker.startDate"),class:J(F(y).e("editor")),"model-value":ce.value,"validate-event":!1,readonly:!bt.editable,onInput:Ft[0]||(Ft[0]=It=>Xe(It,"min")),onChange:Ft[1]||(Ft[1]=It=>it(It,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),hn((H(),le("span",{class:J(F(y).e("time-picker-wrap"))},[be(F(co),{size:"small",class:J(F(y).e("editor")),disabled:F(b).selecting||F(ve),placeholder:F(k)("el.datepicker.startTime"),"model-value":Z.value,"validate-event":!1,readonly:!bt.editable,onFocus:Ft[2]||(Ft[2]=It=>ze.value=!0),onInput:Ft[3]||(Ft[3]=It=>xt(It,"min")),onChange:Ft[4]||(Ft[4]=It=>Ee(It,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),be(F(f6),{visible:ze.value,format:Fe.value,"datetime-role":"start","parsed-value":F(v)||h.value,onPick:pn},null,8,["visible","format","parsed-value"])],2)),[[F(sp),ge]])],2),ye("span",null,[be(F(Rt),null,{default:Re(()=>[be(F(po))]),_:1})]),ye("span",{class:J([F(y).e("editors-wrap"),"is-right"])},[ye("span",{class:J(F(y).e("time-picker-wrap"))},[be(F(co),{size:"small",class:J(F(y).e("editor")),disabled:F(b).selecting||F(ve),placeholder:F(k)("el.datepicker.endDate"),"model-value":K.value,readonly:!F(v)||!bt.editable,"validate-event":!1,onInput:Ft[5]||(Ft[5]=It=>Xe(It,"max")),onChange:Ft[6]||(Ft[6]=It=>it(It,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),hn((H(),le("span",{class:J(F(y).e("time-picker-wrap"))},[be(F(co),{size:"small",class:J(F(y).e("editor")),disabled:F(b).selecting||F(ve),placeholder:F(k)("el.datepicker.endTime"),"model-value":se.value,readonly:!F(v)||!bt.editable,"validate-event":!1,onFocus:Ft[7]||(Ft[7]=It=>F(v)&&(Ie.value=!0)),onInput:Ft[8]||(Ft[8]=It=>xt(It,"max")),onChange:Ft[9]||(Ft[9]=It=>Ee(It,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),be(F(f6),{"datetime-role":"end",visible:Ie.value,format:Fe.value,"parsed-value":F(g)||m.value,onPick:Qe},null,8,["visible","format","parsed-value"])],2)),[[F(sp),oe]])],2)],2)):Pe("v-if",!0),ye("div",{class:J([[F(C).e("content"),F(y).e("content")],"is-left"])},[ye("div",{class:J(F(y).e("header"))},[ye("button",{type:"button",class:J([F(C).e("icon-btn"),"d-arrow-left"]),"aria-label":F(k)("el.datepicker.prevYear"),disabled:F(ve),onClick:ue},[We(bt.$slots,"prev-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(ip))]),_:1})])],10,zze),hn(ye("button",{type:"button",class:J([F(C).e("icon-btn"),"arrow-left"]),"aria-label":F(k)("el.datepicker.prevMonth"),disabled:F(ve),onClick:Se},[We(bt.$slots,"prev-month",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(Ad))]),_:1})])],10,Wze),[[In,F(M)==="date"]]),bt.unlinkPanels?(H(),le("button",{key:0,type:"button",disabled:!qe.value||F(ve),class:J([[F(C).e("icon-btn"),F(C).is("disabled",!qe.value||F(ve))],"d-arrow-right"]),"aria-label":F(k)("el.datepicker.nextYear"),onClick:je},[We(bt.$slots,"next-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(op))]),_:1})])],10,Gze)):Pe("v-if",!0),bt.unlinkPanels&&F(M)==="date"?(H(),le("button",{key:1,type:"button",disabled:!xe.value||F(ve),class:J([[F(C).e("icon-btn"),F(C).is("disabled",!xe.value||F(ve))],"arrow-right"]),"aria-label":F(k)("el.datepicker.nextMonth"),onClick:De},[We(bt.$slots,"next-month",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(po))]),_:1})])],10,jze)):Pe("v-if",!0),ye("div",null,[ye("span",{role:"button",class:J(F(y).e("header-label")),"aria-live":"polite",tabindex:bt.disabled?void 0:0,"aria-disabled":bt.disabled,onKeydown:Ft[10]||(Ft[10]=ca(It=>F(z)("year"),["enter"])),onClick:Ft[11]||(Ft[11]=It=>F(z)("year"))},ft(F(V)),43,Kze),hn(ye("span",{role:"button","aria-live":"polite",tabindex:bt.disabled?void 0:0,"aria-disabled":bt.disabled,class:J([F(y).e("header-label"),{active:F(M)==="month"}]),onKeydown:Ft[12]||(Ft[12]=ca(It=>F(z)("month"),["enter"])),onClick:Ft[13]||(Ft[13]=It=>F(z)("month"))},ft(F(k)(`el.datepicker.month${h.value.month()+1}`)),43,Uze),[[In,F(M)==="date"]])])],2),F(M)==="date"?(H(),Ue(LM,{key:0,ref_key:"leftCurrentViewRef",ref:I,"selection-mode":"range",date:h.value,"min-date":F(v),"max-date":F(g),"range-state":F(b),"disabled-date":F(o),"cell-class-name":F(l),"show-week-number":bt.showWeekNumber,disabled:F(ve),onChangerange:F(E),onPick:nt,onSelect:F(A)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):Pe("v-if",!0),F(M)==="year"?(H(),Ue(m2,{key:1,ref_key:"leftCurrentViewRef",ref:I,"selection-mode":"year",date:h.value,"disabled-date":F(o),"parsed-value":bt.parsedValue,disabled:F(ve),onPick:F(ae)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):Pe("v-if",!0),F(M)==="month"?(H(),Ue(h2,{key:2,ref_key:"leftCurrentViewRef",ref:I,"selection-mode":"month",date:h.value,"parsed-value":bt.parsedValue,"disabled-date":F(o),disabled:F(ve),onPick:F(re)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):Pe("v-if",!0)],2),ye("div",{class:J([[F(C).e("content"),F(y).e("content")],"is-right"])},[ye("div",{class:J(F(y).e("header"))},[bt.unlinkPanels?(H(),le("button",{key:0,type:"button",disabled:!qe.value||F(ve),class:J([F(C).e("icon-btn"),"d-arrow-left"]),"aria-label":F(k)("el.datepicker.prevYear"),onClick:he},[We(bt.$slots,"prev-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(ip))]),_:1})])],10,qze)):Pe("v-if",!0),bt.unlinkPanels&&F(L)==="date"?(H(),le("button",{key:1,type:"button",disabled:!xe.value||F(ve),class:J([F(C).e("icon-btn"),"arrow-left"]),"aria-label":F(k)("el.datepicker.prevMonth"),onClick:He},[We(bt.$slots,"prev-month",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(Ad))]),_:1})])],10,Yze)):Pe("v-if",!0),ye("button",{type:"button","aria-label":F(k)("el.datepicker.nextYear"),class:J([F(C).e("icon-btn"),"d-arrow-right"]),disabled:F(ve),onClick:Ae},[We(bt.$slots,"next-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(op))]),_:1})])],10,Jze),hn(ye("button",{type:"button",class:J([F(C).e("icon-btn"),"arrow-right"]),disabled:F(ve),"aria-label":F(k)("el.datepicker.nextMonth"),onClick:Ne},[We(bt.$slots,"next-month",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(po))]),_:1})])],10,Xze),[[In,F(L)==="date"]]),ye("div",null,[ye("span",{role:"button",class:J(F(y).e("header-label")),"aria-live":"polite",tabindex:bt.disabled?void 0:0,"aria-disabled":bt.disabled,onKeydown:Ft[14]||(Ft[14]=ca(It=>F(ee)("year"),["enter"])),onClick:Ft[15]||(Ft[15]=It=>F(ee)("year"))},ft(F(Y)),43,Zze),hn(ye("span",{role:"button","aria-live":"polite",tabindex:bt.disabled?void 0:0,"aria-disabled":bt.disabled,class:J([F(y).e("header-label"),{active:F(L)==="month"}]),onKeydown:Ft[16]||(Ft[16]=ca(It=>F(ee)("month"),["enter"])),onClick:Ft[17]||(Ft[17]=It=>F(ee)("month"))},ft(F(k)(`el.datepicker.month${m.value.month()+1}`)),43,Qze),[[In,F(L)==="date"]])])],2),F(L)==="date"?(H(),Ue(LM,{key:0,ref_key:"rightCurrentViewRef",ref:P,"selection-mode":"range",date:m.value,"min-date":F(v),"max-date":F(g),"range-state":F(b),"disabled-date":F(o),"cell-class-name":F(l),"show-week-number":bt.showWeekNumber,disabled:F(ve),onChangerange:F(E),onPick:nt,onSelect:F(A)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):Pe("v-if",!0),F(L)==="year"?(H(),Ue(m2,{key:1,ref_key:"rightCurrentViewRef",ref:P,"selection-mode":"year",date:m.value,"disabled-date":F(o),"parsed-value":bt.parsedValue,disabled:F(ve),onPick:F(pe)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):Pe("v-if",!0),F(L)==="month"?(H(),Ue(h2,{key:2,ref_key:"rightCurrentViewRef",ref:P,"selection-mode":"month",date:m.value,"parsed-value":bt.parsedValue,"disabled-date":F(o),disabled:F(ve),onPick:F(Q)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):Pe("v-if",!0)],2)],2)],2),bt.showFooter&&Ke.value&&(bt.showConfirm||F(u))?(H(),le("div",{key:0,class:J(F(C).e("footer"))},[F(u)?(H(),Ue(F(ci),{key:0,text:"",size:"small",class:J(F(C).e("link-btn")),onClick:ct},{default:Re(()=>[Cn(ft(F(k)("el.datepicker.clear")),1)]),_:1},8,["class"])):Pe("v-if",!0),bt.showConfirm?(H(),Ue(F(ci),{key:1,plain:"",size:"small",class:J(F(C).e("link-btn")),disabled:Ge.value,onClick:Ft[18]||(Ft[18]=It=>F(w)(!1))},{default:Re(()=>[Cn(ft(F(k)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):Pe("v-if",!0)],2)):Pe("v-if",!0)],2))}});var tWe=yt(eWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/panel-date-range.vue"]]);const nWe=pt(Te({},EP)),rWe=["pick","set-picker-option","calendar-change"],aWe=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:r}=xn(),a=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},i=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},o=()=>{t.value=t.value.add(1,"year")},l=()=>{n.value=n.value.subtract(1,"year")},s=R(()=>`${t.value.year()} ${r("el.datepicker.year")}`),u=R(()=>`${n.value.year()} ${r("el.datepicker.year")}`),c=R(()=>t.value.year()),d=R(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:a,rightNextYear:i,leftNextYear:o,rightPrevYear:l,leftLabel:s,rightLabel:u,leftYear:c,rightYear:d}},iWe=["disabled","onClick"],oWe=["disabled"],lWe=["disabled"],sWe=["disabled"],uWe=["disabled"],u8="year",cWe=Ve({name:"DatePickerMonthRange",__name:"panel-month-range",props:nWe,emits:rWe,setup(e,{emit:t}){const n=e,r=t,{lang:a}=xn(),i=lt(tu),o=lt(U5,void 0),{shortcuts:l,disabledDate:s,cellClassName:u}=i.props,c=Qn(i.props,"format"),d=Qn(i.props,"defaultValue"),f=j(un().locale(a.value)),p=j(un().locale(a.value).add(1,u8)),{minDate:h,maxDate:m,rangeState:v,ppNs:g,drpNs:b,handleChangeRange:C,handleRangeConfirm:y,handleShortcutClick:E,onSelect:w,parseValue:S}=AP(n,{defaultValue:d,leftDate:f,rightDate:p,unit:u8,sortDates:V}),A=R(()=>!!l.length),{leftPrevYear:D,rightNextYear:k,leftNextYear:x,rightPrevYear:_,leftLabel:M,rightLabel:L,leftYear:I,rightYear:P}=aWe({unlinkPanels:Qn(n,"unlinkPanels"),leftDate:f,rightDate:p}),B=R(()=>n.unlinkPanels&&P.value>I.value+1),T=(z,ee=!0)=>{const ae=z.minDate,pe=z.maxDate;m.value===pe&&h.value===ae||(r("calendar-change",[ae.toDate(),pe&&pe.toDate()]),m.value=pe,h.value=ae,ee&&y())},O=()=>{let z=null;i!=null&&i.emptyValues&&(z=i.emptyValues.valueOnClear.value),f.value=B9(F(d),{lang:F(a),unit:"year",unlinkPanels:n.unlinkPanels})[0],p.value=f.value.add(1,"year"),r("pick",z)},N=z=>u0(z,c.value,a.value,o);function V(z,ee){if(n.unlinkPanels&&ee){const ae=(z==null?void 0:z.year())||0,pe=ee.year();p.value=ae===pe?ee.add(1,u8):ee}else p.value=f.value.add(1,u8)}const Y=ha();return $e(()=>n.visible,z=>{!z&&v.value.selecting&&(S(n.parsedValue),w(!1))}),r("set-picker-option",["isValidValue",p2]),r("set-picker-option",["parseUserInput",N]),r("set-picker-option",["handleClear",O]),(z,ee)=>(H(),le("div",{class:J([F(g).b(),F(b).b(),F(g).is("border",z.border),F(g).is("disabled",F(Y)),{"has-sidebar":!!z.$slots.sidebar||A.value}])},[ye("div",{class:J(F(g).e("body-wrapper"))},[We(z.$slots,"sidebar",{class:J(F(g).e("sidebar"))}),A.value?(H(),le("div",{key:0,class:J(F(g).e("sidebar"))},[(H(!0),le(kt,null,En(F(l),(ae,pe)=>(H(),le("button",{key:pe,type:"button",class:J(F(g).e("shortcut")),disabled:F(Y),onClick:re=>F(E)(ae)},ft(ae.text),11,iWe))),128))],2)):Pe("v-if",!0),ye("div",{class:J(F(g).e("body"))},[ye("div",{class:J([[F(g).e("content"),F(b).e("content")],"is-left"])},[ye("div",{class:J(F(b).e("header"))},[ye("button",{type:"button",class:J([F(g).e("icon-btn"),"d-arrow-left"]),disabled:F(Y),onClick:ee[0]||(ee[0]=(...ae)=>F(D)&&F(D)(...ae))},[We(z.$slots,"prev-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(ip))]),_:1})])],10,oWe),z.unlinkPanels?(H(),le("button",{key:0,type:"button",disabled:!B.value||F(Y),class:J([[F(g).e("icon-btn"),F(g).is("disabled",!B.value||F(Y))],"d-arrow-right"]),onClick:ee[1]||(ee[1]=(...ae)=>F(x)&&F(x)(...ae))},[We(z.$slots,"next-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(op))]),_:1})])],10,lWe)):Pe("v-if",!0),ye("div",null,ft(F(M)),1)],2),be(h2,{"selection-mode":"range",date:f.value,"min-date":F(h),"max-date":F(m),"range-state":F(v),"disabled-date":F(s),disabled:F(Y),"cell-class-name":F(u),onChangerange:F(C),onPick:T,onSelect:F(w)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),ye("div",{class:J([[F(g).e("content"),F(b).e("content")],"is-right"])},[ye("div",{class:J(F(b).e("header"))},[z.unlinkPanels?(H(),le("button",{key:0,type:"button",disabled:!B.value||F(Y),class:J([[F(g).e("icon-btn"),F(g).is("disabled",!B.value||F(Y))],"d-arrow-left"]),onClick:ee[2]||(ee[2]=(...ae)=>F(_)&&F(_)(...ae))},[We(z.$slots,"prev-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(ip))]),_:1})])],10,sWe)):Pe("v-if",!0),ye("button",{type:"button",class:J([F(g).e("icon-btn"),"d-arrow-right"]),disabled:F(Y),onClick:ee[3]||(ee[3]=(...ae)=>F(k)&&F(k)(...ae))},[We(z.$slots,"next-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(op))]),_:1})])],10,uWe),ye("div",null,ft(F(L)),1)],2),be(h2,{"selection-mode":"range",date:p.value,"min-date":F(h),"max-date":F(m),"range-state":F(v),"disabled-date":F(s),disabled:F(Y),"cell-class-name":F(u),onChangerange:F(C),onPick:T,onSelect:F(w)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});var dWe=yt(cWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/panel-month-range.vue"]]);const fWe=pt(Te({},EP)),pWe=["pick","set-picker-option","calendar-change"],hWe=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const r=()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},a=()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},i=()=>{t.value=t.value.add(10,"year")},o=()=>{n.value=n.value.subtract(10,"year")},l=R(()=>{const d=Math.floor(t.value.year()/10)*10;return`${d}-${d+9}`}),s=R(()=>{const d=Math.floor(n.value.year()/10)*10;return`${d}-${d+9}`}),u=R(()=>Math.floor(t.value.year()/10)*10+9),c=R(()=>Math.floor(n.value.year()/10)*10);return{leftPrevYear:r,rightNextYear:a,leftNextYear:i,rightPrevYear:o,leftLabel:l,rightLabel:s,leftYear:u,rightYear:c}},mWe=["disabled","onClick"],vWe=["disabled"],gWe=["disabled"],yWe=["disabled"],bWe=["disabled"],wv=10,jg="year",CWe=Ve({name:"DatePickerYearRange",__name:"panel-year-range",props:fWe,emits:pWe,setup(e,{emit:t}){const n=e,r=t,{lang:a}=xn(),i=j(un().locale(a.value)),o=j(un().locale(a.value).add(wv,jg)),l=lt(U5,void 0),s=lt(tu),{shortcuts:u,disabledDate:c,cellClassName:d}=s.props,f=Qn(s.props,"format"),p=Qn(s.props,"defaultValue"),{minDate:h,maxDate:m,rangeState:v,ppNs:g,drpNs:b,handleChangeRange:C,handleRangeConfirm:y,handleShortcutClick:E,onSelect:w,parseValue:S}=AP(n,{defaultValue:p,leftDate:i,rightDate:o,step:wv,unit:jg,sortDates:pe}),{leftPrevYear:A,rightNextYear:D,leftNextYear:k,rightPrevYear:x,leftLabel:_,rightLabel:M,leftYear:L,rightYear:I}=hWe({unlinkPanels:Qn(n,"unlinkPanels"),leftDate:i,rightDate:o}),P=ha(),B=R(()=>!!u.length),T=R(()=>[g.b(),b.b(),g.is("border",n.border),g.is("disabled",P.value),{"has-sidebar":!!pa().sidebar||B.value}]),O=R(()=>({content:[g.e("content"),b.e("content"),"is-left"],arrowLeftBtn:[g.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[g.e("icon-btn"),g.is("disabled",!V.value||P.value),"d-arrow-right"]})),N=R(()=>({content:[g.e("content"),b.e("content"),"is-right"],arrowLeftBtn:[g.e("icon-btn"),g.is("disabled",!V.value||P.value),"d-arrow-left"],arrowRightBtn:[g.e("icon-btn"),"d-arrow-right"]})),V=R(()=>n.unlinkPanels&&I.value>L.value+1),Y=(re,Q=!0)=>{const ie=re.minDate,X=re.maxDate;m.value===X&&h.value===ie||(r("calendar-change",[ie.toDate(),X&&X.toDate()]),m.value=X,h.value=ie,Q&&y())},z=re=>u0(re,f.value,a.value,l),ee=re=>p2(re)&&(c?!c(re[0].toDate())&&!c(re[1].toDate()):!0),ae=()=>{let re=null;s!=null&&s.emptyValues&&(re=s.emptyValues.valueOnClear.value);const Q=B9(F(p),{lang:F(a),step:wv,unit:jg,unlinkPanels:n.unlinkPanels});i.value=Q[0],o.value=Q[1],r("pick",re)};function pe(re,Q){if(n.unlinkPanels&&Q){const ie=(re==null?void 0:re.year())||0,X=Q.year();o.value=ie+wv>X?Q.add(wv,jg):Q}else o.value=i.value.add(wv,jg)}return $e(()=>n.visible,re=>{!re&&v.value.selecting&&(S(n.parsedValue),w(!1))}),r("set-picker-option",["isValidValue",ee]),r("set-picker-option",["parseUserInput",z]),r("set-picker-option",["handleClear",ae]),(re,Q)=>(H(),le("div",{class:J(T.value)},[ye("div",{class:J(F(g).e("body-wrapper"))},[We(re.$slots,"sidebar",{class:J(F(g).e("sidebar"))}),B.value?(H(),le("div",{key:0,class:J(F(g).e("sidebar"))},[(H(!0),le(kt,null,En(F(u),(ie,X)=>(H(),le("button",{key:X,type:"button",class:J(F(g).e("shortcut")),disabled:F(P),onClick:q=>F(E)(ie)},ft(ie.text),11,mWe))),128))],2)):Pe("v-if",!0),ye("div",{class:J(F(g).e("body"))},[ye("div",{class:J(O.value.content)},[ye("div",{class:J(F(b).e("header"))},[ye("button",{type:"button",class:J(O.value.arrowLeftBtn),disabled:F(P),onClick:Q[0]||(Q[0]=(...ie)=>F(A)&&F(A)(...ie))},[We(re.$slots,"prev-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(ip))]),_:1})])],10,vWe),re.unlinkPanels?(H(),le("button",{key:0,type:"button",disabled:!V.value||F(P),class:J(O.value.arrowRightBtn),onClick:Q[1]||(Q[1]=(...ie)=>F(k)&&F(k)(...ie))},[We(re.$slots,"next-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(op))]),_:1})])],10,gWe)):Pe("v-if",!0),ye("div",null,ft(F(_)),1)],2),be(m2,{"selection-mode":"range",date:i.value,"min-date":F(h),"max-date":F(m),"range-state":F(v),"disabled-date":F(c),disabled:F(P),"cell-class-name":F(d),onChangerange:F(C),onPick:Y,onSelect:F(w)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),ye("div",{class:J(N.value.content)},[ye("div",{class:J(F(b).e("header"))},[re.unlinkPanels?(H(),le("button",{key:0,type:"button",disabled:!V.value||F(P),class:J(N.value.arrowLeftBtn),onClick:Q[2]||(Q[2]=(...ie)=>F(x)&&F(x)(...ie))},[We(re.$slots,"prev-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(ip))]),_:1})])],10,yWe)):Pe("v-if",!0),ye("button",{type:"button",class:J(N.value.arrowRightBtn),disabled:F(P),onClick:Q[3]||(Q[3]=(...ie)=>F(D)&&F(D)(...ie))},[We(re.$slots,"next-year",{},()=>[be(F(Rt),null,{default:Re(()=>[be(F(op))]),_:1})])],10,bWe),ye("div",null,ft(F(M)),1)],2),be(m2,{"selection-mode":"range",date:o.value,"min-date":F(h),"max-date":F(m),"range-state":F(v),"disabled-date":F(c),disabled:F(P),"cell-class-name":F(d),onChangerange:F(C),onPick:Y,onSelect:F(w)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});var FWe=yt(CWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/panel-year-range.vue"]]);const EWe=function(e){switch(e){case"daterange":case"datetimerange":return tWe;case"monthrange":return dWe;case"yearrange":return FWe;default:return Ize}};function wWe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}un.extend(Qse);un.extend(HHe);un.extend(vP);un.extend(jHe);un.extend(YHe);un.extend(QHe);un.extend(rze);un.extend(lze);var SWe=Ve({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:sze,emits:[nn,"calendar-change","panel-change","visible-change","clear"],setup(e,{slots:t,emit:n,attrs:r}){const a=at("picker-panel"),i=lt(tu,void 0);if(On(i)){const d=dn(Te({},Na(e)));Qt(tu,{props:d})}Qt(CP,{slots:t,pickerNs:a});const{parsedValue:o,onCalendarChange:l,onPanelChange:s,onSetPickerOption:u,onPick:c}=lt(Iue,()=>Nue(e,n),!0);return()=>{const d=EWe(e.type);return be(d,tn(B5(r,"onPick"),e,{parsedValue:o.value,"onSet-picker-option":u,"onCalendar-change":l,"onPanel-change":s,onClear:()=>n("clear"),onPick:c}),wWe(t)?t:{default:()=>[t]})}}});const Kue=fn(SWe),AWe=pt(Et(Te({},bP),{type:{type:ke(String),default:"date"}}));function DWe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}var TWe=Ve({name:"ElDatePicker",install:null,props:AWe,emits:[nn],setup(e,{expose:t,emit:n,slots:r}){const a=R(()=>!e.format);Qt(U5,a),Qt(gP,dn(Qn(e,"popperOptions")));const i=j();t({focus:()=>{var s;(s=i.value)==null||s.focus()},blur:()=>{var s;(s=i.value)==null||s.blur()},handleOpen:()=>{var s;(s=i.value)==null||s.handleOpen()},handleClose:()=>{var s;(s=i.value)==null||s.handleClose()}});const l=s=>{n(nn,s)};return()=>{var s;const u=(s=e.format)!=null?s:gHe[e.type]||wf;return be(Vue,tn(e,{format:u,type:e.type,ref:i,"onUpdate:modelValue":l}),{default:c=>be(Kue,tn({disabled:e.disabled,editable:e.editable,border:!1},c),DWe(r)?r:{default:()=>[r]}),"range-separator":r["range-separator"]})}}});const kWe=fn(TWe),DP=Symbol("elDescriptions");var Kg=Ve({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:lt(DP,{})}},render(){var e,t,n,r;const a=rLe(this.cell),i=(((e=this.cell)==null?void 0:e.dirs)||[]).map(y=>{const{dir:E,arg:w,modifiers:S,value:A}=y;return[E,A,w,S]}),{border:o,direction:l}=this.descriptions,s=l==="vertical",u=()=>{var y,E,w;return((w=(E=(y=this.cell)==null?void 0:y.children)==null?void 0:E.label)==null?void 0:w.call(E))||a.label},c=()=>{var y,E,w;return(w=(E=(y=this.cell)==null?void 0:y.children)==null?void 0:E.default)==null?void 0:w.call(E)},d=a.span,f=a.rowspan,p=a.align?`is-${a.align}`:"",h=a.labelAlign?`is-${a.labelAlign}`:p,m=a.className,v=a.labelClassName,g=this.type==="label"&&(n=(t=a.labelWidth)!=null?t:this.descriptions.labelWidth)!=null?n:a.width,b={width:fa(g),minWidth:fa(a.minWidth)},C=at("descriptions");switch(this.type){case"label":return hn(W(this.tag,{style:b,class:[C.e("cell"),C.e("label"),C.is("bordered-label",o),C.is("vertical-label",s),h,v],colSpan:s?d:1,rowspan:s?1:f},u()),i);case"content":return hn(W(this.tag,{style:b,class:[C.e("cell"),C.e("content"),C.is("bordered-content",o),C.is("vertical-content",s),p,m],colSpan:s?d:d*2-1,rowspan:s?f*2-1:f},c()),i);default:{const y=u(),E={},w=fa((r=a.labelWidth)!=null?r:this.descriptions.labelWidth);return w&&(E.width=w,E.display="inline-block"),hn(W("td",{style:b,class:[C.e("cell"),p],colSpan:d,rowspan:f},[Ma(y)?void 0:W("span",{style:E,class:[C.e("label"),v]},y),W("span",{class:[C.e("content"),m]},c())]),i)}}}});const _We=pt({row:{type:ke(Array),default:()=>[]}}),xWe={key:1},MWe=Ve({name:"ElDescriptionsRow",__name:"descriptions-row",props:_We,setup(e){const t=lt(DP,{});return(n,r)=>F(t).direction==="vertical"?(H(),le(kt,{key:0},[ye("tr",null,[(H(!0),le(kt,null,En(n.row,(a,i)=>(H(),Ue(F(Kg),{key:`tr1-${i}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),ye("tr",null,[(H(!0),le(kt,null,En(n.row,(a,i)=>(H(),Ue(F(Kg),{key:`tr2-${i}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(H(),le("tr",xWe,[(H(!0),le(kt,null,En(n.row,(a,i)=>(H(),le(kt,{key:`tr3-${i}`},[F(t).border?(H(),le(kt,{key:0},[be(F(Kg),{cell:a,tag:"td",type:"label"},null,8,["cell"]),be(F(Kg),{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(H(),Ue(F(Kg),{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var BWe=yt(MWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const RWe=pt({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:Xa,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),Uue="ElDescriptionsItem",LWe=Ve({name:"ElDescriptions",__name:"description",props:RWe,setup(e){const t=e,n=at("descriptions"),r=ja(),a=pa();Qt(DP,t);const i=R(()=>[n.b(),n.m(r.value)]),o=(s,u,c,d=!1)=>(s.props||(s.props={}),u>c&&(s.props.span=c),d&&(s.props.span=u),s),l=()=>{if(!a.default)return[];const s=xl(a.default()).filter(h=>{var m;return((m=h==null?void 0:h.type)==null?void 0:m.name)===Uue}),u=[];let c=[],d=t.column,f=0;const p=[];return s.forEach((h,m)=>{var v,g,b;const C=((v=h.props)==null?void 0:v.span)||1,y=((g=h.props)==null?void 0:g.rowspan)||1,E=u.length;if(p[E]||(p[E]=0),y>1)for(let w=1;w0&&(d-=p[E],p[E]=0),md?d:C),m===s.length-1){const w=t.column-f%t.column;c.push(o(h,w,d,!0)),u.push(c);return}C(H(),le("div",{class:J(i.value)},[s.title||s.extra||s.$slots.title||s.$slots.extra?(H(),le("div",{key:0,class:J(F(n).e("header"))},[ye("div",{class:J(F(n).e("title"))},[We(s.$slots,"title",{},()=>[Cn(ft(s.title),1)])],2),ye("div",{class:J(F(n).e("extra"))},[We(s.$slots,"extra",{},()=>[Cn(ft(s.extra),1)])],2)],2)):Pe("v-if",!0),ye("div",{class:J(F(n).e("body"))},[ye("table",{class:J([F(n).e("table"),F(n).is("bordered",s.border)])},[ye("tbody",null,[(H(!0),le(kt,null,En(l(),(c,d)=>(H(),Ue(BWe,{key:d,row:c},null,8,["row"]))),128))])],2)],2)],2))}});var OWe=yt(LWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]);const zW=["left","center","right"],PWe=pt({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:zW,default:"left"},labelAlign:{type:String,values:zW},className:{type:String,default:""},labelClassName:{type:String,default:""}}),que=Ve({name:Uue,props:PWe}),TP=fn(OWe,{DescriptionsItem:que}),Yue=sa(que),kP=e=>{if(!e)return{onClick:er,onMousedown:er,onMouseup:er};let t=!1,n=!1;return{onClick:o=>{t&&n&&e(o),t=n=!1},onMousedown:o=>{t=o.target===o.currentTarget},onMouseup:o=>{n=o.target===o.currentTarget}}},IWe=pt({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:ke([String,Array,Object])},zIndex:{type:ke([String,Number])}}),NWe={click:e=>e instanceof MouseEvent},$We="overlay";var VWe=Ve({name:"ElOverlay",props:IWe,emits:NWe,setup(e,{slots:t,emit:n}){const r=at($We),a=s=>{n("click",s)},{onClick:i,onMousedown:o,onMouseup:l}=kP(e.customMaskEvent?void 0:a);return()=>e.mask?be("div",{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:o,onMouseup:l},[We(t,"default")],Jl.STYLE|Jl.CLASS|Jl.PROPS,["onClick","onMouseup","onMousedown"]):W("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[We(t,"default")])}});const _P=VWe,Jue=Symbol("dialogInjectionKey"),WW="dialog-fade",Xue=pt({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:mr},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"}}),HWe={close:()=>!0},Zue=(e,t,n,r)=>{const a={offsetX:0,offsetY:0},i=j(!1),o=(f,p)=>{if(e.value){const{offsetX:h,offsetY:m}=a,v=e.value.getBoundingClientRect(),g=v.left,b=v.top,C=v.width,y=v.height,E=document.documentElement.clientWidth,w=document.documentElement.clientHeight,S=-g+h,A=-b+m,D=E-g-C+h,k=w-b-(y{const p=f.clientX,h=f.clientY,{offsetX:m,offsetY:v}=a,g=C=>{i.value||(i.value=!0);const y=m+C.clientX-p,E=v+C.clientY-h;o(y,E)},b=()=>{i.value=!1,document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",g),document.addEventListener("mouseup",b)},s=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",l),window.addEventListener("resize",d))},u=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",l),window.removeEventListener("resize",d))},c=()=>{a.offsetX=0,a.offsetY=0,e.value&&(e.value.style.transform="")},d=()=>{const{offsetX:f,offsetY:p}=a;o(f,p)};return Ut(()=>{No(()=>{n.value?s():u()})}),Vn(()=>{u()}),{isDragging:i,resetPosition:c,updatePosition:d}},xP=(...e)=>t=>{e.forEach(n=>{n.value=t})},zWe=["aria-level"],WWe=["aria-label"],GWe=["id"],jWe=Ve({name:"ElDialogContent",__name:"dialog-content",props:Xue,emits:HWe,setup(e,{expose:t}){const{t:n}=xn(),{Close:r}=lse,a=e,{dialogRef:i,headerRef:o,bodyId:l,ns:s,style:u}=lt(Jue),{focusTrapRef:c}=lt(Ese),d=xP(c,i),f=R(()=>!!a.draggable),p=R(()=>!!a.overflow),{resetPosition:h,updatePosition:m,isDragging:v}=Zue(i,o,f,p),g=R(()=>[s.b(),s.is("fullscreen",a.fullscreen),s.is("draggable",f.value),s.is("dragging",v.value),s.is("align-center",!!a.alignCenter),{[s.m("center")]:a.center}]);return t({resetPosition:h,updatePosition:m}),(b,C)=>(H(),le("div",{ref:F(d),class:J(g.value),style:Pt(F(u)),tabindex:"-1"},[ye("header",{ref_key:"headerRef",ref:o,class:J([F(s).e("header"),b.headerClass,{"show-close":b.showClose}])},[We(b.$slots,"header",{},()=>[ye("span",{role:"heading","aria-level":b.ariaLevel,class:J(F(s).e("title"))},ft(b.title),11,zWe)]),b.showClose?(H(),le("button",{key:0,"aria-label":F(n)("el.dialog.close"),class:J(F(s).e("headerbtn")),type:"button",onClick:C[0]||(C[0]=y=>b.$emit("close"))},[be(F(Rt),{class:J(F(s).e("close"))},{default:Re(()=>[(H(),Ue(ln(b.closeIcon||F(r))))]),_:1},8,["class"])],10,WWe)):Pe("v-if",!0)],2),ye("div",{id:F(l),class:J([F(s).e("body"),b.bodyClass])},[We(b.$slots,"default")],10,GWe),b.$slots.footer?(H(),le("footer",{key:0,class:J([F(s).e("footer"),b.footerClass])},[We(b.$slots,"footer")],2)):Pe("v-if",!0)],6))}});var KWe=yt(jWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const Que=pt(Et(Te({},Xue),{appendToBody:Boolean,appendTo:{type:N5.to.type,default:"body"},beforeClose:{type:ke(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:ke([String,Object]),default:void 0}})),ece={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[nn]:e=>hr(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},R9=(e,t={})=>{Gn(e)||$a("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||at("popup"),r=R(()=>n.bm("parent","hidden"));let a=0,i=!1,o="0",l=!1;const s=()=>{l||(l=!0,setTimeout(()=>{typeof document!="undefined"&&i&&document&&(document.body.style.width=o,fo(document.body,r.value))},200))};$e(e,u=>{if(!u){s();return}l=!1,i=!Ju(document.body,r.value),i&&(o=document.body.style.width,as(document.body,r.value)),a=tse(n.namespace.value);const c=document.documentElement.clientHeight0&&(c||d==="scroll")&&i&&(document.body.style.width=`calc(100% - ${a}px)`)}),K0(()=>s())},tce=(e,t)=>{var n;const a=Jt().emit,{nextZIndex:i}=P5();let o="";const l=Li(),s=Li(),u=j(!1),c=j(!1),d=j(!1),f=j((n=e.zIndex)!=null?n:i()),p=j(!1);let h,m;const v=Q0(),g=R(()=>{var Y,z;return(z=(Y=v.value)==null?void 0:Y.namespace)!=null?z:nb}),b=R(()=>{var Y;return(Y=v.value)==null?void 0:Y.dialog}),C=R(()=>{const Y={},z=`--${g.value}-dialog`;if(!e.fullscreen){e.top&&(Y[`${z}-margin-top`]=e.top);const ee=fa(e.width);ee&&(Y[`${z}-width`]=ee)}return Y}),y=R(()=>{var Y,z,ee;return((ee=(z=e.draggable)!=null?z:(Y=b.value)==null?void 0:Y.draggable)!=null?ee:!1)&&!e.fullscreen}),E=R(()=>{var Y,z,ee;return(ee=(z=e.alignCenter)!=null?z:(Y=b.value)==null?void 0:Y.alignCenter)!=null?ee:!1}),w=R(()=>{var Y,z,ee;return(ee=(z=e.overflow)!=null?z:(Y=b.value)==null?void 0:Y.overflow)!=null?ee:!1}),S=R(()=>E.value?{display:"flex"}:{}),A=R(()=>{var Y,z,ee;const ae=(ee=(z=e.transition)!=null?z:(Y=b.value)==null?void 0:Y.transition)!=null?ee:WW,pe={name:ae,onAfterEnter:D,onBeforeLeave:x,onAfterLeave:k};if(mn(ae)){const re=Te({},ae),Q=(ie,X)=>q=>{st(ie)?ie.forEach(ce=>{Lt(ce)&&ce(q)}):Lt(ie)&&ie(q),X()};return re.onAfterEnter=Q(re.onAfterEnter,D),re.onBeforeLeave=Q(re.onBeforeLeave,x),re.onAfterLeave=Q(re.onAfterLeave,k),re.name||(re.name=WW),re}return pe});function D(){a("opened")}function k(){a("closed"),a(nn,!1),e.destroyOnClose&&(d.value=!1),p.value=!1}function x(){p.value=!0,a("close")}function _(){m==null||m(),h==null||h(),e.openDelay&&e.openDelay>0?{stop:h}=t0(()=>P(),e.openDelay):P()}function M(){h==null||h(),m==null||m(),e.closeDelay&&e.closeDelay>0?{stop:m}=t0(()=>B(),e.closeDelay):B()}function L(){function Y(z){z||(c.value=!0,u.value=!1)}e.beforeClose?e.beforeClose(Y):M()}function I(){e.closeOnClickModal&&L()}function P(){Yn&&(u.value=!0)}function B(){u.value=!1}function T(){a("openAutoFocus")}function O(){a("closeAutoFocus")}function N(Y){var z;((z=Y.detail)==null?void 0:z.focusReason)==="pointer"&&Y.preventDefault()}e.lockScroll&&R9(u);function V(){e.closeOnPressEscape&&L()}return $e(()=>e.zIndex,()=>{var Y;f.value=(Y=e.zIndex)!=null?Y:i()}),$e(()=>e.modelValue,Y=>{var z;Y?(c.value=!1,p.value=!1,_(),d.value=!0,f.value=(z=e.zIndex)!=null?z:i(),Oe(()=>{a("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):u.value&&M()}),$e(()=>e.fullscreen,Y=>{t.value&&(Y?(o=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=o)}),Ut(()=>{e.modelValue&&(u.value=!0,d.value=!0,_())}),{afterEnter:D,afterLeave:k,beforeLeave:x,handleClose:L,onModalClick:I,close:M,doClose:B,onOpenAutoFocus:T,onCloseAutoFocus:O,onCloseRequested:V,onFocusoutPrevented:N,titleId:l,bodyId:s,closed:c,style:C,overlayDialogStyle:S,rendered:d,visible:u,zIndex:f,transitionConfig:A,_draggable:y,_alignCenter:E,_overflow:w,closing:p}},UWe=["aria-label","aria-labelledby","aria-describedby"],qWe=Ve({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:Que,emits:ece,setup(e,{expose:t}){const n=e,r=pa();Qu({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"},R(()=>!!r.title));const a=at("dialog"),i=j(),o=j(),l=j(),{visible:s,titleId:u,bodyId:c,style:d,overlayDialogStyle:f,rendered:p,transitionConfig:h,zIndex:m,_draggable:v,_alignCenter:g,_overflow:b,handleClose:C,onModalClick:y,onOpenAutoFocus:E,onCloseAutoFocus:w,onCloseRequested:S,onFocusoutPrevented:A,closing:D}=tce(n,i);Qt(Jue,{dialogRef:i,headerRef:o,bodyId:c,ns:a,rendered:p,style:d});const k=kP(y),x=R(()=>n.modalPenetrable&&!n.modal&&!n.fullscreen);return t({visible:s,dialogContentRef:l,resetPosition:()=>{var M;(M=l.value)==null||M.resetPosition()},handleClose:C}),(M,L)=>(H(),Ue(F(eg),{to:M.appendTo,disabled:M.appendTo!=="body"?!1:!M.appendToBody},{default:Re(()=>[be(vi,tn(F(h),{persisted:""}),{default:Re(()=>{var I;return[hn(be(F(_P),{"custom-mask-event":"",mask:M.modal,"overlay-class":[(I=M.modalClass)!=null?I:"",`${F(a).namespace.value}-modal-dialog`,F(a).is("penetrable",x.value)],"z-index":F(m)},{default:Re(()=>[ye("div",{role:"dialog","aria-modal":"true","aria-label":M.title||void 0,"aria-labelledby":M.title?void 0:F(u),"aria-describedby":F(c),class:J([`${F(a).namespace.value}-overlay-dialog`,F(a).is("closing",F(D))]),style:Pt(F(f)),onClick:L[0]||(L[0]=(...P)=>F(k).onClick&&F(k).onClick(...P)),onMousedown:L[1]||(L[1]=(...P)=>F(k).onMousedown&&F(k).onMousedown(...P)),onMouseup:L[2]||(L[2]=(...P)=>F(k).onMouseup&&F(k).onMouseup(...P))},[be(F(tg),{loop:"",trapped:F(s),"focus-start-el":"container",onFocusAfterTrapped:F(E),onFocusAfterReleased:F(w),onFocusoutPrevented:F(A),onReleaseRequested:F(S)},{default:Re(()=>[F(p)?(H(),Ue(KWe,tn({key:0,ref_key:"dialogContentRef",ref:l},M.$attrs,{center:M.center,"align-center":F(g),"close-icon":M.closeIcon,draggable:F(v),overflow:F(b),fullscreen:M.fullscreen,"header-class":M.headerClass,"body-class":M.bodyClass,"footer-class":M.footerClass,"show-close":M.showClose,title:M.title,"aria-level":M.headerAriaLevel,onClose:F(C)}),Ri({header:Re(()=>[M.$slots.title?We(M.$slots,"title",{key:1}):We(M.$slots,"header",{key:0,close:F(C),titleId:F(u),titleClass:F(a).e("title")})]),default:Re(()=>[We(M.$slots,"default")]),_:2},[M.$slots.footer?{name:"footer",fn:Re(()=>[We(M.$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"])):Pe("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,UWe)]),_:3},8,["mask","overlay-class","z-index"]),[[In,F(s)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});var YWe=yt(qWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const JWe=fn(YWe),XWe=pt({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:ke(String),default:"solid"}}),ZWe=Ve({name:"ElDivider",__name:"divider",props:XWe,setup(e){const t=e,n=at("divider"),r=R(()=>n.cssVar({"border-style":t.borderStyle}));return(a,i)=>(H(),le("div",{class:J([F(n).b(),F(n).m(a.direction)]),style:Pt(r.value),role:"separator"},[a.$slots.default&&a.direction!=="vertical"?(H(),le("div",{key:0,class:J([F(n).e("text"),F(n).is(a.contentPosition)])},[We(a.$slots,"default")],2)):Pe("v-if",!0)],6))}});var QWe=yt(ZWe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const nce=fn(QWe),eGe=pt(Et(Te({},Que),{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"}})),tGe=Et(Te({},ece),{"resize-start":(e,t)=>e instanceof MouseEvent&&typeof t=="number",resize:(e,t)=>e instanceof MouseEvent&&typeof t=="number","resize-end":(e,t)=>e instanceof MouseEvent&&typeof t=="number"});function nGe(e,t,n){const{width:r,height:a}=HO(),i=R(()=>["ltr","rtl"].includes(e.direction)),o=R(()=>["ltr","ttb"].includes(e.direction)?1:-1),l=R(()=>i.value?r.value:a.value),s=R(()=>$le(u.value+o.value*c.value,4,l.value)),u=j(0),c=j(0),d=j(!1),f=j(!1);let p=[],h=[];const m=()=>{var y;const E=(y=t.value)==null?void 0:y.closest('[aria-modal="true"]');return E?i.value?E.offsetWidth:E.offsetHeight:100};$e(()=>[e.size,e.resizable],()=>{f.value=!1,u.value=0,c.value=0,b()});const v=y=>{e.resizable&&(f.value||(u.value=m(),f.value=!0),p=[y.pageX,y.pageY],d.value=!0,n("resize-start",y,u.value),h.push(ir(window,"mouseup",b),ir(window,"mousemove",g)))},g=y=>{const{pageX:E,pageY:w}=y,S=E-p[0],A=w-p[1];c.value=i.value?S:A,n("resize",y,s.value)},b=y=>{d.value&&(p=[],u.value=s.value,c.value=0,d.value=!1,h.forEach(E=>E==null?void 0:E()),h=[],y&&n("resize-end",y,u.value))},C=ir(t,"mousedown",v);return Vn(()=>{C(),b()}),{size:R(()=>f.value?`${s.value}px`:fa(e.size)),isResizing:d,isHorizontal:i}}const rGe=["aria-label","aria-labelledby","aria-describedby"],aGe=["id","aria-level"],iGe=["aria-label"],oGe=["id"],lGe=Ve({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:eGe,emits:tGe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=pa();Qu({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"},R(()=>!!i.title));const o=j(),l=j(),s=j(),u=at("drawer"),{t:c}=xn(),{afterEnter:d,afterLeave:f,beforeLeave:p,visible:h,rendered:m,titleId:v,bodyId:g,zIndex:b,onModalClick:C,onOpenAutoFocus:y,onCloseAutoFocus:E,onFocusoutPrevented:w,onCloseRequested:S,handleClose:A}=tce(r,o),{isHorizontal:D,size:k,isResizing:x}=nGe(r,s,a),_=R(()=>r.modalPenetrable&&!r.modal);return t({handleClose:A,afterEnter:d,afterLeave:f}),(M,L)=>(H(),Ue(F(eg),{to:M.appendTo,disabled:M.appendTo!=="body"?!1:!M.appendToBody},{default:Re(()=>[be(vi,{name:F(u).b("fade"),onAfterEnter:F(d),onAfterLeave:F(f),onBeforeLeave:F(p),persisted:""},{default:Re(()=>{var I;return[hn(be(F(_P),{mask:M.modal,"overlay-class":[F(u).is("drawer"),(I=M.modalClass)!=null?I:"",`${F(u).namespace.value}-modal-drawer`,F(u).is("penetrable",_.value)],"z-index":F(b),onClick:F(C)},{default:Re(()=>[be(F(tg),{loop:"",trapped:F(h),"focus-trap-el":o.value,"focus-start-el":l.value,onFocusAfterTrapped:F(y),onFocusAfterReleased:F(E),onFocusoutPrevented:F(w),onReleaseRequested:F(S)},{default:Re(()=>[ye("div",tn({ref_key:"drawerRef",ref:o,"aria-modal":"true","aria-label":M.title||void 0,"aria-labelledby":M.title?void 0:F(v),"aria-describedby":F(g)},M.$attrs,{class:[F(u).b(),M.direction,F(h)&&"open",F(u).is("dragging",F(x))],style:{[F(D)?"width":"height"]:F(k)},role:"dialog",onClick:L[1]||(L[1]=Yt(()=>{},["stop"]))}),[ye("span",{ref_key:"focusStartRef",ref:l,class:J(F(u).e("sr-focus")),tabindex:"-1"},null,2),M.withHeader?(H(),le("header",{key:0,class:J([F(u).e("header"),M.headerClass])},[M.$slots.title?We(M.$slots,"title",{key:1},()=>[Pe(" DEPRECATED SLOT ")]):We(M.$slots,"header",{key:0,close:F(A),titleId:F(v),titleClass:F(u).e("title")},()=>[ye("span",{id:F(v),role:"heading","aria-level":M.headerAriaLevel,class:J(F(u).e("title"))},ft(M.title),11,aGe)]),M.showClose?(H(),le("button",{key:2,"aria-label":F(c)("el.drawer.close"),class:J(F(u).e("close-btn")),type:"button",onClick:L[0]||(L[0]=(...P)=>F(A)&&F(A)(...P))},[be(F(Rt),{class:J(F(u).e("close"))},{default:Re(()=>[be(F(hs))]),_:1},8,["class"])],10,iGe)):Pe("v-if",!0)],2)):Pe("v-if",!0),F(m)?(H(),le("div",{key:1,id:F(g),class:J([F(u).e("body"),M.bodyClass])},[We(M.$slots,"default")],10,oGe)):Pe("v-if",!0),M.$slots.footer?(H(),le("div",{key:2,class:J([F(u).e("footer"),M.footerClass])},[We(M.$slots,"footer")],2)):Pe("v-if",!0),M.resizable?(H(),le("div",{key:3,ref_key:"draggerRef",ref:s,style:Pt({zIndex:F(b)}),class:J(F(u).e("dragger"))},null,6)):Pe("v-if",!0)],16,rGe)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[In,F(h)]])]}),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var sGe=yt(lGe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const uGe=fn(sGe),cGe=Ve({inheritAttrs:!1});function dGe(e,t,n,r,a,i){return We(e.$slots,"default")}var fGe=yt(cGe,[["render",dGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const pGe=Ve({name:"ElCollectionItem",inheritAttrs:!1});function hGe(e,t,n,r,a,i){return We(e.$slots,"default")}var mGe=yt(pGe,[["render",hGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const rce="data-el-collection-item",vGe=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),a=Symbol(n),i=Object.assign({},fGe,{name:t,setup(){const l=j(),s=new Map;Qt(r,{itemMap:s,getItems:()=>{const c=F(l);if(!c)return[];const d=Array.from(c.querySelectorAll(`[${rce}]`));return[...s.values()].sort((p,h)=>d.indexOf(p.ref)-d.indexOf(h.ref))},collectionRef:l})}}),o=Object.assign({},mGe,{name:n,setup(l,{attrs:s}){const u=j(),c=lt(r,void 0);Qt(a,{collectionItemRef:u}),Ut(()=>{const d=F(u);d&&c.itemMap.set(d,Te({ref:d},s))}),Vn(()=>{const d=F(u);c.itemMap.delete(d)})}});return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:i,ElCollectionItem:o}},gGe=pt({style:{type:ke([String,Array,Object])},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:yGe,ElCollectionItem:bGe,COLLECTION_INJECTION_KEY:ace,COLLECTION_ITEM_INJECTION_KEY:CGe}=vGe("RovingFocusGroup"),MP=Symbol("elRovingFocusGroup"),ice=Symbol("elRovingFocusGroupItem"),FGe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},EGe=(e,t)=>e,wGe=(e,t,n)=>{const r=Er(e),a=EGe(r);return FGe[a]},SGe=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),GW=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},jW="currentTabIdChange",KW="rovingFocusGroup.entryFocus",AGe={bubbles:!1,cancelable:!0},DGe=Ve({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:gGe,emits:[jW,"entryFocus"],setup(e,{emit:t}){var n;const r=j((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),a=j(!1),i=j(!1),o=j(),{getItems:l}=lt(ace,void 0),s=R(()=>[{outline:"none"},e.style]),u=v=>{t(jW,v)},c=()=>{a.value=!0},d=li(v=>{var g;(g=e.onMousedown)==null||g.call(e,v)},()=>{i.value=!0}),f=li(v=>{var g;(g=e.onFocus)==null||g.call(e,v)},v=>{const g=!F(i),{target:b,currentTarget:C}=v;if(b===C&&g&&!F(a)){const y=new Event(KW,AGe);if(C==null||C.dispatchEvent(y),!y.defaultPrevented){const E=l().filter(k=>k.focusable),w=E.find(k=>k.active),S=E.find(k=>k.id===F(r)),D=[w,S,...E].filter(Boolean).map(k=>k.ref);GW(D)}}i.value=!1}),p=li(v=>{var g;(g=e.onBlur)==null||g.call(e,v)},()=>{a.value=!1}),h=(...v)=>{t("entryFocus",...v)},m=v=>{const g=wGe(v);if(g){v.preventDefault();let C=l().filter(y=>y.focusable).map(y=>y.ref);switch(g){case"last":{C.reverse();break}case"prev":case"next":{g==="prev"&&C.reverse();const y=C.indexOf(v.currentTarget);C=e.loop?SGe(C,y+1):C.slice(y+1);break}}Oe(()=>{GW(C)})}};Qt(MP,{currentTabbedId:Qf(r),loop:Qn(e,"loop"),tabIndex:R(()=>F(a)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:s,orientation:Qn(e,"orientation"),dir:Qn(e,"dir"),onItemFocus:u,onItemShiftTab:c,onBlur:p,onFocus:f,onMousedown:d,onKeydown:m}),$e(()=>e.currentTabId,v=>{r.value=v!=null?v:null}),ir(o,KW,h)}});function TGe(e,t,n,r,a,i){return We(e.$slots,"default")}var kGe=yt(DGe,[["render",TGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const _Ge=Ve({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:yGe,ElRovingFocusGroupImpl:kGe}});function xGe(e,t,n,r,a,i){const o=en("el-roving-focus-group-impl"),l=en("el-focus-group-collection");return H(),Ue(l,null,{default:Re(()=>[be(o,qu(Yu(e.$attrs)),{default:Re(()=>[We(e.$slots,"default")]),_:3},16)]),_:3})}var MGe=yt(_Ge,[["render",xGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const K3=pt({trigger:Et(Te({},Zu.trigger),{type:ke([String,Array])}),triggerKeys:{type:ke(Array),default:()=>[dt.enter,dt.numpadEnter,dt.space,dt.down]},virtualTriggering:Zu.virtualTriggering,virtualRef:Zu.virtualRef,effect:Et(Te({},pr.effect),{default:"light"}),type:{type:ke(String)},placement:{type:ke(String),default:"bottom"},popperOptions:{type:ke(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:ke([Number,String]),default:0},maxHeight:{type:ke([Number,String]),default:""},popperClass:pr.popperClass,popperStyle:pr.popperStyle,disabled:Boolean,role:{type:String,values:vse,default:"menu"},buttonProps:{type:ke(Object)},teleported:pr.teleported,appendTo:pr.appendTo,persistent:{type:Boolean,default:!0}}),oce=pt({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:mr}}),BGe=pt({onKeydown:{type:ke(Function)}}),L9=Symbol("elDropdown"),lce="elDropdown",{ButtonGroup:RGe}=ci,LGe=Ve({name:"ElDropdown",components:{ElButton:ci,ElButtonGroup:RGe,ElScrollbar:Qs,ElTooltip:gi,ElRovingFocusGroup:MGe,ElOnlyChild:Cse,ElIcon:Rt,ArrowDown:wc},props:K3,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=Jt(),r=at("dropdown"),{t:a}=xn(),i=j(),o=j(),l=j(),s=j(),u=j(null),c=j(null),d=j(!1),f=R(()=>({maxHeight:fa(e.maxHeight)})),p=R(()=>[r.m(y.value)]),h=R(()=>pi(e.trigger)),m=Li().value,v=R(()=>e.id||m);function g(){var M;(M=l.value)==null||M.onClose(void 0,0)}function b(){var M;(M=l.value)==null||M.onClose()}function C(){var M;(M=l.value)==null||M.onOpen()}const y=ja();function E(...M){t("command",...M)}function w(){}function S(){const M=F(s);h.value.includes("hover")&&(M==null||M.focus({preventScroll:!0})),c.value=null}function A(M){c.value=M}function D(){t("visible-change",!0)}function k(M){var L;d.value=(M==null?void 0:M.type)==="keydown",(L=s.value)==null||L.focus()}function x(){t("visible-change",!1)}return Qt(L9,{contentRef:s,role:R(()=>e.role),triggerId:v,isUsingKeyboard:d,onItemEnter:w,onItemLeave:S,handleClose:b}),Qt(lce,{instance:n,dropdownSize:y,handleClick:g,commandHandler:E,trigger:Qn(e,"trigger"),hideOnClick:Qn(e,"hideOnClick")}),{t:a,ns:r,scrollbar:u,wrapStyle:f,dropdownTriggerKls:p,dropdownSize:y,triggerId:v,currentTabId:c,handleCurrentTabIdChange:A,handlerMainButtonClick:M=>{t("click",M)},handleClose:b,handleOpen:C,handleBeforeShowTooltip:D,handleShowTooltip:k,handleBeforeHideTooltip:x,popperRef:l,contentRef:s,triggeringElementRef:i,referenceElementRef:o}}});function OGe(e,t,n,r,a,i){var o;const l=en("el-roving-focus-group"),s=en("el-scrollbar"),u=en("el-only-child"),c=en("el-tooltip"),d=en("el-button"),f=en("arrow-down"),p=en("el-icon"),h=en("el-button-group");return H(),le("div",{class:J([e.ns.b(),e.ns.is("disabled",e.disabled)])},[be(c,{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":(o=e.virtualRef)!=null?o: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},Ri({content:Re(()=>[be(s,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:Re(()=>[be(l,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange},{default:Re(()=>[We(e.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:Re(()=>[be(u,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:Re(()=>[We(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?(H(),Ue(h,{key:0},{default:Re(()=>[be(d,tn({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:Re(()=>[We(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),be(d,tn({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:Re(()=>[be(p,{class:J(e.ns.e("icon"))},{default:Re(()=>[be(f)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):Pe("v-if",!0)],2)}var PGe=yt(LGe,[["render",OGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const IGe=Ve({components:{ElRovingFocusCollectionItem:bGe},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,onItemFocus:r,onItemShiftTab:a,onKeydown:i}=lt(MP,void 0),o=Li(),l=j(),s=li(f=>{t("mousedown",f)},f=>{e.focusable?r(F(o)):f.preventDefault()}),u=li(f=>{t("focus",f)},()=>{r(F(o))}),c=li(f=>{t("keydown",f)},f=>{const{shiftKey:p,target:h,currentTarget:m}=f;if(Er(f)===dt.tab&&p){a();return}h===m&&i(f)}),d=R(()=>n.value===F(o));return Qt(ice,{rovingFocusGroupItemRef:l,tabIndex:R(()=>F(d)?0:-1),handleMousedown:s,handleFocus:u,handleKeydown:c}),{id:o,handleKeydown:c,handleFocus:u,handleMousedown:s}}});function NGe(e,t,n,r,a,i){const o=en("el-roving-focus-collection-item");return H(),Ue(o,{id:e.id,focusable:e.focusable,active:e.active},{default:Re(()=>[We(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var $Ge=yt(IGe,[["render",NGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const VGe=Ve({name:"DropdownItemImpl",components:{ElIcon:Rt},props:oce,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=at("dropdown"),{role:r}=lt(L9,void 0),{collectionItemRef:a}=lt(CGe,void 0),{rovingFocusGroupItemRef:i,tabIndex:o,handleFocus:l,handleKeydown:s,handleMousedown:u}=lt(ice,void 0),c=xP(a,i),d=R(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),f=li(p=>{const h=Er(p);if([dt.enter,dt.numpadEnter,dt.space].includes(h))return p.preventDefault(),p.stopImmediatePropagation(),t("clickimpl",p),!0},s);return{ns:n,itemRef:c,dataset:{[rce]:""},role:d,tabIndex:o,handleFocus:l,handleKeydown:f,handleMousedown:u}}}),HGe=["aria-disabled","tabindex","role"];function zGe(e,t,n,r,a,i){const o=en("el-icon");return H(),le(kt,null,[e.divided?(H(),le("li",{key:0,role:"separator",class:J(e.ns.bem("menu","item","divided"))},null,2)):Pe("v-if",!0),ye("li",tn({ref:e.itemRef},Te(Te({},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:t[0]||(t[0]=l=>e.$emit("clickimpl",l)),onFocus:t[1]||(t[1]=(...l)=>e.handleFocus&&e.handleFocus(...l)),onKeydown:t[2]||(t[2]=Yt((...l)=>e.handleKeydown&&e.handleKeydown(...l),["self"])),onMousedown:t[3]||(t[3]=(...l)=>e.handleMousedown&&e.handleMousedown(...l)),onPointermove:t[4]||(t[4]=l=>e.$emit("pointermove",l)),onPointerleave:t[5]||(t[5]=l=>e.$emit("pointerleave",l))}),[e.icon||e.$slots.icon?(H(),Ue(o,{key:0},{default:Re(()=>[We(e.$slots,"icon",{},()=>[(H(),Ue(ln(e.icon)))])]),_:3})):Pe("v-if",!0),We(e.$slots,"default")],16,HGe)],64)}var WGe=yt(VGe,[["render",zGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const sce=()=>{const e=lt(lce,{}),t=R(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},GGe=Ve({name:"ElDropdownItem",components:{ElRovingFocusItem:$Ge,ElDropdownItemImpl:WGe},inheritAttrs:!1,props:oce,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=sce(),a=Jt(),{onItemEnter:i,onItemLeave:o}=lt(L9,void 0),l=li(d=>(t("pointermove",d),d.defaultPrevented),Xz(d=>{if(e.disabled){o(d);return}const f=d.currentTarget;f===document.activeElement||f.contains(document.activeElement)||(i(d),d.defaultPrevented||f==null||f.focus({preventScroll:!0}))})),s=li(d=>(t("pointerleave",d),d.defaultPrevented),Xz(o)),u=li(d=>{if(!e.disabled)return t("click",d),d.type!=="keydown"&&d.defaultPrevented},d=>{var f,p,h;if(e.disabled){d.stopImmediatePropagation();return}(f=r==null?void 0:r.hideOnClick)!=null&&f.value&&((p=r.handleClick)==null||p.call(r)),(h=r.commandHandler)==null||h.call(r,e.command,a,d)}),c=R(()=>Te(Te({},e),n));return{handleClick:u,handlePointerMove:l,handlePointerLeave:s,propsAndAttrs:c}}});function jGe(e,t,n,r,a,i){const o=en("el-dropdown-item-impl"),l=en("el-roving-focus-item");return H(),Ue(l,{focusable:!e.disabled},{default:Re(()=>[be(o,tn(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),Ri({default:Re(()=>[We(e.$slots,"default")]),_:2},[e.$slots.icon?{name:"icon",fn:Re(()=>[We(e.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var uce=yt(GGe,[["render",jGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const KGe=Ve({name:"ElDropdownMenu",props:BGe,setup(e){const t=at("dropdown"),{_elDropdownSize:n}=sce(),r=n.value,{contentRef:a,role:i,triggerId:o,isUsingKeyboard:l,handleClose:s}=lt(L9,void 0),{rovingFocusGroupRef:u,rovingFocusGroupRootStyle:c,onBlur:d,onFocus:f,onKeydown:p,onMousedown:h}=lt(MP,void 0),{collectionRef:m}=lt(ace,void 0),v=R(()=>[t.b("menu"),t.bm("menu",r==null?void 0:r.value)]),g=xP(a,u,m),b=li(y=>{var E;(E=e.onKeydown)==null||E.call(e,y)},y=>{const{currentTarget:E,target:w}=y,S=Er(y);if(E.contains(w),dt.tab===S)return s();p(y)});function C(y){l.value&&f(y)}return{size:r,rovingFocusGroupRootStyle:c,dropdownKls:v,role:i,triggerId:o,dropdownListWrapperRef:g,handleKeydown:b,onBlur:d,handleFocus:C,onMousedown:h}}}),UGe=["role","aria-labelledby"];function qGe(e,t,n,r,a,i){return H(),le("ul",{ref:e.dropdownListWrapperRef,class:J(e.dropdownKls),style:Pt(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onFocusin:t[0]||(t[0]=(...o)=>e.handleFocus&&e.handleFocus(...o)),onFocusout:t[1]||(t[1]=(...o)=>e.onBlur&&e.onBlur(...o)),onKeydown:t[2]||(t[2]=Yt((...o)=>e.handleKeydown&&e.handleKeydown(...o),["self"])),onMousedown:t[3]||(t[3]=Yt((...o)=>e.onMousedown&&e.onMousedown(...o),["self"]))},[We(e.$slots,"default")],46,UGe)}var cce=yt(KGe,[["render",qGe],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const YGe=fn(PGe,{DropdownItem:uce,DropdownMenu:cce}),JGe=sa(uce),XGe=sa(cce),ZGe={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},QGe=["id"],eje=["stop-color"],tje=["stop-color"],nje=["id"],rje=["stop-color"],aje=["stop-color"],ije=["id"],oje={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},lje={transform:"translate(-1268.000000, -535.000000)"},sje={transform:"translate(1268.000000, 535.000000)"},uje=["fill"],cje=["fill"],dje={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},fje=["fill"],pje=["fill"],hje=["fill"],mje=["fill"],vje=["fill"],gje={transform:"translate(53.000000, 45.000000)"},yje=["fill","xlink:href"],bje=["fill","mask"],Cje=["fill"],Fje=Ve({name:"ImgEmpty",__name:"img-empty",setup(e){const t=at("empty"),n=Li();return(r,a)=>(H(),le("svg",ZGe,[ye("defs",null,[ye("linearGradient",{id:`linearGradient-1-${F(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[ye("stop",{"stop-color":`var(${F(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,eje),ye("stop",{"stop-color":`var(${F(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,tje)],8,QGe),ye("linearGradient",{id:`linearGradient-2-${F(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[ye("stop",{"stop-color":`var(${F(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,rje),ye("stop",{"stop-color":`var(${F(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,aje)],8,nje),ye("rect",{id:`path-3-${F(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,ije)]),ye("g",oje,[ye("g",lje,[ye("g",sje,[ye("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(${F(t).cssVarBlockName("fill-color-3")})`},null,8,uje),ye("polygon",{fill:`var(${F(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,cje),ye("g",dje,[ye("polygon",{fill:`var(${F(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,fje),ye("polygon",{fill:`var(${F(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,pje),ye("rect",{fill:`url(#linearGradient-1-${F(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,hje),ye("polygon",{fill:`var(${F(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,mje)]),ye("rect",{fill:`url(#linearGradient-2-${F(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,vje),ye("g",gje,[ye("use",{fill:`var(${F(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${F(n)}`},null,8,yje),ye("polygon",{fill:`var(${F(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${F(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,bje)]),ye("polygon",{fill:`var(${F(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,Cje)])])])]))}});var Eje=yt(Fje,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const wje=pt({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),Sje=["src"],Aje={key:1},Dje=Ve({name:"ElEmpty",__name:"empty",props:wje,setup(e){const t=e,{t:n}=xn(),r=at("empty"),a=R(()=>t.description||n("el.table.emptyText")),i=R(()=>({width:fa(t.imageSize)}));return(o,l)=>(H(),le("div",{class:J(F(r).b())},[ye("div",{class:J(F(r).e("image")),style:Pt(i.value)},[o.image?(H(),le("img",{key:0,src:o.image,ondragstart:"return false"},null,8,Sje)):We(o.$slots,"image",{key:1},()=>[be(Eje)])],6),ye("div",{class:J(F(r).e("description"))},[o.$slots.description?We(o.$slots,"description",{key:0}):(H(),le("p",Aje,ft(a.value),1))],2),o.$slots.default?(H(),le("div",{key:0,class:J(F(r).e("bottom"))},[We(o.$slots,"default")],2)):Pe("v-if",!0)],2))}});var Tje=yt(Dje,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const dce=fn(Tje),kje=pt({size:{type:String,values:Ec},disabled:Boolean}),_je=pt(Et(Te({},kje),{model:Object,rules:{type:ke(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:ke([Object,Boolean]),default:!0}})),xje={validate:(e,t,n)=>(st(e)||Bt(e))&&hr(t)&&Bt(n)};function Mje(){const e=j([]),t=R(()=>{if(!e.value.length)return"0";const i=Math.max(...e.value);return i?`${i}px`:""});function n(i){const o=e.value.indexOf(i);return o===-1&&t.value,o}function r(i,o){if(i&&o){const l=n(o);e.value.splice(l,1,i)}else i&&e.value.push(i)}function a(i){const o=n(i);o>-1&&e.value.splice(o,1)}return{autoLabelWidth:t,registerLabelWidth:r,deregisterLabelWidth:a}}const c8=(e,t)=>{const n=pi(t).map(r=>st(r)?r.join("."):r);return n.length>0?e.filter(r=>r.propString&&n.includes(r.propString)):e},Bje="ElForm",Rje=Ve({name:Bje,__name:"form",props:_je,emits:xje,setup(e,{expose:t,emit:n}){const r=e,a=n,i=j(),o=dn([]),l=ja(),s=at("form"),u=R(()=>{const{labelPosition:w,inline:S}=r;return[s.b(),s.m(l.value||"default"),{[s.m(`label-${w}`)]:w,[s.m("inline")]:S}]}),c=w=>c8(o,[w])[0],d=w=>{o.push(w)},f=w=>{w.prop&&o.splice(o.indexOf(w),1)},p=w=>{r.model&&w&&o.forEach(S=>{if(S.prop&&NMe(w,S.prop)){const A=B1(w,S.prop).value;S.setInitialValue(A)}})},h=(w=[])=>{r.model&&c8(o,w).forEach(S=>S.resetField())},m=(w=[])=>{c8(o,w).forEach(S=>S.clearValidate())},v=R(()=>!!r.model),g=w=>{if(o.length===0)return[];const S=c8(o,w);return S.length?S:[]},b=w=>Xt(null,null,function*(){return y(void 0,w)}),C=(...S)=>Xt(null,[...S],function*(w=[]){if(!v.value)return!1;const A=g(w);if(A.length===0)return!0;let D={};for(const k of A)try{yield k.validate(""),k.validateState==="error"&&!k.error&&k.resetField()}catch(x){D=Te(Te({},D),x)}return Object.keys(D).length===0?!0:Promise.reject(D)}),y=(...A)=>Xt(null,[...A],function*(w=[],S){let D=!1;const k=!Lt(S);try{return D=yield C(w),D===!0&&(yield S==null?void 0:S(D)),D}catch(x){if(x instanceof Error)throw x;const _=x;if(r.scrollToError&&i.value){const M=i.value.querySelector(`.${s.b()}-item.is-error`);M==null||M.scrollIntoView(r.scrollIntoViewOptions)}return!D&&(yield S==null?void 0:S(!1,_)),k&&Promise.reject(_)}}),E=w=>{var S;const A=c(w);A&&((S=A.$el)==null||S.scrollIntoView(r.scrollIntoViewOptions))};return $e(()=>r.rules,()=>{r.validateOnRuleChange&&b().catch(w=>void 0)},{deep:!0,flush:"post"}),Qt(Zm,dn(Te(Et(Te({},Na(r)),{emit:a,resetFields:h,clearValidate:m,validateField:y,getField:c,addField:d,removeField:f,setInitialValues:p}),Mje()))),t({validate:b,validateField:y,resetFields:h,clearValidate:m,scrollToField:E,getField:c,fields:o,setInitialValues:p}),(w,S)=>(H(),le("form",{ref_key:"formRef",ref:i,class:J(u.value)},[We(w.$slots,"default")],2))}});var Lje=yt(Rje,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function Lh(){return Lh=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),r=1;r=i)return l;switch(l){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch(s){return"[Circular]"}break;default:return l}});return o}return e}function Vje(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function yi(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Vje(t)&&typeof e=="string"&&!e)}function Hje(e,t,n){var r=[],a=0,i=e.length;function o(l){r.push.apply(r,l||[]),a++,a===i&&n(r)}e.forEach(function(l){t(l,o)})}function UW(e,t,n){var r=0,a=e.length;function i(o){if(o&&o.length){n(o);return}var l=r;r=r+1,l()\[\]\\.,;:\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},Ry={integer:function(t){return Ry.number(t)&&parseInt(t,10)===t},float:function(t){return Ry.number(t)&&!Ry.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Ry.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(XW.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Uje())},hex:function(t){return typeof t=="string"&&!!t.match(XW.hex)}},qje=function(t,n,r,a,i){if(t.required&&n===void 0){fce(t,n,r,a,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;o.indexOf(l)>-1?Ry[l](n)||a.push(Ml(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&a.push(Ml(i.messages.types[l],t.fullField,t.type))},Yje=function(t,n,r,a,i){var o=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,d=null,f=typeof n=="number",p=typeof n=="string",h=Array.isArray(n);if(f?d="number":p?d="string":h&&(d="array"),!d)return!1;h&&(c=n.length),p&&(c=n.replace(u,"_").length),o?c!==t.len&&a.push(Ml(i.messages[d].len,t.fullField,t.len)):l&&!s&&ct.max?a.push(Ml(i.messages[d].max,t.fullField,t.max)):l&&s&&(ct.max)&&a.push(Ml(i.messages[d].range,t.fullField,t.min,t.max))},Sv="enum",Jje=function(t,n,r,a,i){t[Sv]=Array.isArray(t[Sv])?t[Sv]:[],t[Sv].indexOf(n)===-1&&a.push(Ml(i.messages[Sv],t.fullField,t[Sv].join(", ")))},Xje=function(t,n,r,a,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||a.push(Ml(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||a.push(Ml(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Lr={required:fce,whitespace:Kje,type:qje,range:Yje,enum:Jje,pattern:Xje},Zje=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n,"string")&&!t.required)return r();Lr.required(t,n,a,o,i,"string"),yi(n,"string")||(Lr.type(t,n,a,o,i),Lr.range(t,n,a,o,i),Lr.pattern(t,n,a,o,i),t.whitespace===!0&&Lr.whitespace(t,n,a,o,i))}r(o)},Qje=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i),n!==void 0&&Lr.type(t,n,a,o,i)}r(o)},eKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i),n!==void 0&&(Lr.type(t,n,a,o,i),Lr.range(t,n,a,o,i))}r(o)},tKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i),n!==void 0&&Lr.type(t,n,a,o,i)}r(o)},nKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i),yi(n)||Lr.type(t,n,a,o,i)}r(o)},rKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i),n!==void 0&&(Lr.type(t,n,a,o,i),Lr.range(t,n,a,o,i))}r(o)},aKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i),n!==void 0&&(Lr.type(t,n,a,o,i),Lr.range(t,n,a,o,i))}r(o)},iKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();Lr.required(t,n,a,o,i,"array"),n!=null&&(Lr.type(t,n,a,o,i),Lr.range(t,n,a,o,i))}r(o)},oKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i),n!==void 0&&Lr.type(t,n,a,o,i)}r(o)},lKe="enum",sKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i),n!==void 0&&Lr[lKe](t,n,a,o,i)}r(o)},uKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n,"string")&&!t.required)return r();Lr.required(t,n,a,o,i),yi(n,"string")||Lr.pattern(t,n,a,o,i)}r(o)},cKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n,"date")&&!t.required)return r();if(Lr.required(t,n,a,o,i),!yi(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),Lr.type(t,s,a,o,i),s&&Lr.range(t,s.getTime(),a,o,i)}}r(o)},dKe=function(t,n,r,a,i){var o=[],l=Array.isArray(n)?"array":typeof n;Lr.required(t,n,a,o,i,l),r(o)},YE=function(t,n,r,a,i){var o=t.type,l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(yi(n,o)&&!t.required)return r();Lr.required(t,n,a,l,i,o),yi(n,o)||Lr.type(t,n,a,l,i)}r(l)},fKe=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(yi(n)&&!t.required)return r();Lr.required(t,n,a,o,i)}r(o)},ob={string:Zje,method:Qje,number:eKe,boolean:tKe,regexp:nKe,integer:rKe,float:aKe,array:iKe,object:oKe,enum:sKe,pattern:uKe,date:cKe,url:YE,hex:YE,email:YE,required:dKe,any:fKe};function NM(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var $M=NM(),q5=(function(){function e(n){this.rules=null,this._messages=$M,this.define(n)}var t=e.prototype;return t.define=function(r){var a=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var o=r[i];a.rules[i]=Array.isArray(o)?o:[o]})},t.messages=function(r){return r&&(this._messages=JW(NM(),r)),this._messages},t.validate=function(r,a,i){var o=this;a===void 0&&(a={}),i===void 0&&(i=function(){});var l=r,s=a,u=i;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function c(m){var v=[],g={};function b(y){if(Array.isArray(y)){var E;v=(E=v).concat.apply(E,y)}else v.push(y)}for(var C=0;C");const a=at("form"),i=j(),o=j(0),l=()=>{var c;if((c=i.value)!=null&&c.firstElementChild){const d=window.getComputedStyle(i.value.firstElementChild).width;return Math.ceil(Number.parseFloat(d))}else return 0},s=(c="update")=>{Oe(()=>{t.default&&e.isAutoWidth&&(c==="update"?o.value=l():c==="remove"&&(n==null||n.deregisterLabelWidth(o.value)))})},u=()=>s("update");return Ut(()=>{u()}),Vn(()=>{s("remove")}),Il(()=>u()),$e(o,(c,d)=>{e.updateAll&&(n==null||n.registerLabelWidth(c,d))}),zr(R(()=>{var c,d;return(d=(c=i.value)==null?void 0:c.firstElementChild)!=null?d:null}),u),()=>{var c,d;if(!t)return null;const{isAutoWidth:f}=e;if(f){const p=n==null?void 0:n.autoLabelWidth,h=r==null?void 0:r.hasLabel,m={};if(h&&p&&p!=="auto"){const v=Math.max(0,Number.parseInt(p,10)-o.value),b=(r.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";v&&(m[b]=`${v}px`)}return be("div",{ref:i,class:[a.be("item","label-wrap")],style:m},[(c=t.default)==null?void 0:c.call(t)])}else return be(kt,{ref:i},[(d=t.default)==null?void 0:d.call(t)])}}});const vKe=["role","aria-labelledby"],gKe=Ve({name:"ElFormItem",__name:"form-item",props:hKe,setup(e,{expose:t}){const n=e,r=pa(),a=lt(Zm,void 0),i=lt(hc,void 0),o=ja(void 0,{formItem:!1}),l=at("form-item"),s=Li().value,u=j([]),c=j(""),d=fBe(c,100),f=j(""),p=j();let h,m=!1;const v=R(()=>n.labelPosition||(a==null?void 0:a.labelPosition)),g=R(()=>{var ie;return v.value==="top"?{}:{width:fa((ie=n.labelWidth)!=null?ie:a==null?void 0:a.labelWidth)}}),b=R(()=>{var ie;if(v.value==="top"||a!=null&&a.inline)return{};if(!n.label&&!n.labelWidth&&k)return{};const X=fa((ie=n.labelWidth)!=null?ie:a==null?void 0:a.labelWidth);return!n.label&&!r.label?{marginLeft:X}:{}}),C=R(()=>[l.b(),l.m(o.value),l.is("error",c.value==="error"),l.is("validating",c.value==="validating"),l.is("success",c.value==="success"),l.is("required",I.value||n.required),l.is("no-asterisk",a==null?void 0:a.hideRequiredAsterisk),(a==null?void 0:a.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[l.m("feedback")]:a==null?void 0:a.statusIcon,[l.m(`label-${v.value}`)]:v.value}]),y=R(()=>hr(n.inlineMessage)?n.inlineMessage:(a==null?void 0:a.inlineMessage)||!1),E=R(()=>[l.e("error"),{[l.em("error","inline")]:y.value}]),w=R(()=>n.prop?st(n.prop)?n.prop.join("."):n.prop:""),S=R(()=>!!(n.label||r.label)),A=R(()=>{var ie;return(ie=n.for)!=null?ie:u.value.length===1?u.value[0]:void 0}),D=R(()=>!A.value&&S.value),k=!!i,x=R(()=>{const ie=a==null?void 0:a.model;if(!(!ie||!n.prop))return B1(ie,n.prop).value}),_=R(()=>{const{required:ie}=n,X=[];n.rules&&X.push(...pi(n.rules));const q=a==null?void 0:a.rules;if(q&&n.prop){const ce=B1(q,n.prop).value;ce&&X.push(...pi(ce))}if(ie!==void 0){const ce=X.map((K,Z)=>[K,Z]).filter(([K])=>"required"in K);if(ce.length>0)for(const[K,Z]of ce)K.required!==ie&&(X[Z]=Et(Te({},K),{required:ie}));else X.push({required:ie})}return X}),M=R(()=>_.value.length>0),L=ie=>_.value.filter(q=>!q.trigger||!ie?!0:st(q.trigger)?q.trigger.includes(ie):q.trigger===ie).map(K=>{var Z=K,{trigger:q}=Z,ce=Fo(Z,["trigger"]);return ce}),I=R(()=>_.value.some(ie=>ie.required)),P=R(()=>{var ie;return d.value==="error"&&n.showMessage&&((ie=a==null?void 0:a.showMessage)!=null?ie:!0)}),B=R(()=>`${n.label||""}${(a==null?void 0:a.labelSuffix)||""}`),T=ie=>{c.value=ie},O=ie=>{var X,q;const{errors:ce,fields:K}=ie;(!ce||!K)&&console.error(ie),T("error"),f.value=ce?(q=(X=ce==null?void 0:ce[0])==null?void 0:X.message)!=null?q:`${n.prop} is required`:"",a==null||a.emit("validate",n.prop,!1,f.value)},N=()=>{T("success"),a==null||a.emit("validate",n.prop,!0,"")},V=ie=>Xt(null,null,function*(){const X=w.value;return new q5({[X]:ie}).validate({[X]:x.value},{firstFields:!0}).then(()=>(N(),!0)).catch(ce=>(O(ce),Promise.reject(ce)))}),Y=(ie,X)=>Xt(null,null,function*(){if(m||!n.prop)return!1;const q=Lt(X);if(!M.value)return X==null||X(!1),!1;const ce=L(ie);return ce.length===0?(X==null||X(!0),!0):(T("validating"),V(ce).then(()=>(X==null||X(!0),!0)).catch(K=>{const{fields:Z}=K;return X==null||X(!1,Z),q?!1:Promise.reject(Z)}))}),z=()=>{T(""),f.value="",m=!1},ee=()=>Xt(null,null,function*(){const ie=a==null?void 0:a.model;if(!ie||!n.prop)return;const X=B1(ie,n.prop);m=!0,X.value=RE(h),yield Oe(),z(),m=!1}),ae=ie=>{u.value.includes(ie)||u.value.push(ie)},pe=ie=>{u.value=u.value.filter(X=>X!==ie)},re=ie=>{h=RE(ie)};$e(()=>n.error,ie=>{f.value=ie||"",T(ie?"error":"")},{immediate:!0}),$e(()=>n.validateStatus,ie=>T(ie||""));const Q=dn(Et(Te({},Na(n)),{$el:p,size:o,validateMessage:f,validateState:c,labelId:s,inputIds:u,isGroup:D,hasLabel:S,fieldValue:x,addInputId:ae,removeInputId:pe,resetField:ee,clearValidate:z,validate:Y,propString:w,setInitialValue:re}));return Qt(hc,Q),Ut(()=>{n.prop&&(a==null||a.addField(Q),h=RE(x.value))}),Vn(()=>{a==null||a.removeField(Q)}),t({size:o,validateMessage:f,validateState:c,validate:Y,clearValidate:z,resetField:ee,setInitialValue:re}),(ie,X)=>{var q;return H(),le("div",{ref_key:"formItemRef",ref:p,class:J(C.value),role:D.value?"group":void 0,"aria-labelledby":D.value?F(s):void 0},[be(F(mKe),{"is-auto-width":g.value.width==="auto","update-all":((q=F(a))==null?void 0:q.labelWidth)==="auto"},{default:Re(()=>[ie.label||ie.$slots.label?(H(),Ue(ln(A.value?"label":"div"),{key:0,id:F(s),for:A.value,class:J(F(l).e("label")),style:Pt(g.value)},{default:Re(()=>[We(ie.$slots,"label",{label:B.value},()=>[Cn(ft(B.value),1)])]),_:3},8,["id","for","class","style"])):Pe("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),ye("div",{class:J(F(l).e("content")),style:Pt(b.value)},[We(ie.$slots,"default"),be(s9,{name:`${F(l).namespace.value}-zoom-in-top`},{default:Re(()=>[P.value?We(ie.$slots,"error",{key:0,error:f.value},()=>[ye("div",{class:J(E.value)},ft(f.value),3)]):Pe("v-if",!0)]),_:3},8,["name"])],6)],10,vKe)}}});var pce=yt(gKe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const yKe=fn(Lje,{FormItem:pce}),bKe=sa(pce),CKe=pt({urlList:{type:ke(Array),default:()=>da([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:ke(String)}}),FKe={close:()=>!0,error:e=>e instanceof Event,switch:e=>$t(e),rotate:e=>$t(e)},EKe=["src","crossorigin"],wKe=Ve({name:"ElImageViewer",__name:"image-viewer",props:CKe,emits:FKe,setup(e,{expose:t,emit:n}){var r;const a={CONTAIN:{name:"contain",icon:Lo(vRe)},ORIGINAL:{name:"original",icon:Lo(PRe)}},i=e,o=n;let l;const{t:s}=xn(),u=at("image-viewer"),{nextZIndex:c}=P5(),d=j(),f=j(),p=y5(),h=R(()=>{const{scale:X,minScale:q,maxScale:ce}=i;return $le(X,q,ce)}),m=j(!0),v=j(!1),g=j(!1),b=j(i.initialIndex),C=Zn(a.CONTAIN),y=j({scale:h.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),E=j((r=i.zIndex)!=null?r:c());R9(g,{ns:u});const w=R(()=>{const{urlList:X}=i;return X.length<=1}),S=R(()=>b.value===0),A=R(()=>b.value===i.urlList.length-1),D=R(()=>i.urlList[b.value]),k=R(()=>[u.e("btn"),u.e("prev"),u.is("disabled",!i.infinite&&S.value)]),x=R(()=>[u.e("btn"),u.e("next"),u.is("disabled",!i.infinite&&A.value)]),_=R(()=>{const{scale:X,deg:q,offsetX:ce,offsetY:K,enableTransition:Z}=y.value;let se=ce/X,Fe=K/X;const me=q*Math.PI/180,te=Math.cos(me),ue=Math.sin(me);se=se*te+Fe*ue,Fe=Fe*te-ce/X*ue;const Se={transform:`scale(${X}) rotate(${q}deg) translate(${se}px, ${Fe}px)`,transition:Z?"transform .3s":""};return C.value.name===a.CONTAIN.name&&(Se.maxWidth=Se.maxHeight="100%"),Se}),M=R(()=>`${b.value+1} / ${i.urlList.length}`);function L(){P(),l==null||l(),g.value=!1,o("close")}function I(){const X=Df(ce=>{switch(Er(ce)){case dt.esc:i.closeOnPressEscape&&L();break;case dt.space:Y();break;case dt.left:ee();break;case dt.up:pe("zoomIn");break;case dt.right:ae();break;case dt.down:pe("zoomOut");break}}),q=Df(ce=>{const K=ce.deltaY||ce.deltaX;pe(K<0?"zoomIn":"zoomOut",{zoomRate:i.zoomRate,enableTransition:!1})});p.run(()=>{ir(document,"keydown",X),ir(d,"wheel",q)})}function P(){p.stop()}function B(){m.value=!1}function T(X){v.value=!0,m.value=!1,o("error",X),X.target.alt=s("el.image.error")}function O(X){if(m.value||X.button!==0||!d.value)return;y.value.enableTransition=!1;const{offsetX:q,offsetY:ce}=y.value,K=X.pageX,Z=X.pageY,se=Df(te=>{y.value=Et(Te({},y.value),{offsetX:q+te.pageX-K,offsetY:ce+te.pageY-Z})}),Fe=ir(document,"mousemove",se),me=ir(document,"mouseup",()=>{Fe(),me()});X.preventDefault()}function N(X){if(m.value||!d.value||X.touches.length!==1)return;y.value.enableTransition=!1;const{offsetX:q,offsetY:ce}=y.value,{pageX:K,pageY:Z}=X.touches[0],se=Df(te=>{const ue=te.touches[0];y.value=Et(Te({},y.value),{offsetX:q+ue.pageX-K,offsetY:ce+ue.pageY-Z})}),Fe=ir(document,"touchmove",se),me=ir(document,"touchend",()=>{Fe(),me()});X.preventDefault()}function V(){y.value={scale:h.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function Y(){if(m.value||v.value)return;const X=l2(a),q=Object.values(a),ce=C.value.name,Z=(q.findIndex(se=>se.name===ce)+1)%X.length;C.value=a[X[Z]],V()}function z(X){v.value=!1;const q=i.urlList.length;b.value=(X+q)%q}function ee(){S.value&&!i.infinite||z(b.value-1)}function ae(){A.value&&!i.infinite||z(b.value+1)}function pe(X,q={}){if(m.value||v.value)return;const{minScale:ce,maxScale:K}=i,{zoomRate:Z,rotateDeg:se,enableTransition:Fe}=Te({zoomRate:i.zoomRate,rotateDeg:90,enableTransition:!0},q);switch(X){case"zoomOut":y.value.scale>ce&&(y.value.scale=Number.parseFloat((y.value.scale/Z).toFixed(3)));break;case"zoomIn":y.value.scale0)return X.preventDefault(),!1}}return $e(()=>h.value,X=>{y.value.scale=X}),$e(D,()=>{Oe(()=>{const X=f.value;X!=null&&X.complete||(m.value=!0)})}),$e(b,X=>{V(),o("switch",X)}),Ut(()=>{g.value=!0,I(),l=ir("wheel",ie,{passive:!1})}),t({setActiveItem:z}),(X,q)=>(H(),Ue(F(eg),{to:"body",disabled:!X.teleported},{default:Re(()=>[be(vi,{name:"viewer-fade",appear:""},{default:Re(()=>[ye("div",{ref_key:"wrapper",ref:d,tabindex:-1,class:J(F(u).e("wrapper")),style:Pt({zIndex:E.value})},[be(F(tg),{loop:"",trapped:"","focus-trap-el":d.value,"focus-start-el":"container",onFocusoutPrevented:re,onReleaseRequested:Q},{default:Re(()=>[ye("div",{class:J(F(u).e("mask")),onClick:q[0]||(q[0]=Yt(ce=>X.hideOnClickModal&&L(),["self"]))},null,2),Pe(" CLOSE "),ye("span",{class:J([F(u).e("btn"),F(u).e("close")]),onClick:L},[be(F(Rt),null,{default:Re(()=>[be(F(hs))]),_:1})],2),Pe(" ARROW "),w.value?Pe("v-if",!0):(H(),le(kt,{key:0},[ye("span",{class:J(k.value),onClick:ee},[be(F(Rt),null,{default:Re(()=>[be(F(Ad))]),_:1})],2),ye("span",{class:J(x.value),onClick:ae},[be(F(Rt),null,{default:Re(()=>[be(F(po))]),_:1})],2)],64)),X.$slots.progress||X.showProgress?(H(),le("div",{key:1,class:J([F(u).e("btn"),F(u).e("progress")])},[We(X.$slots,"progress",{activeIndex:b.value,total:X.urlList.length},()=>[Cn(ft(M.value),1)])],2)):Pe("v-if",!0),Pe(" ACTIONS "),ye("div",{class:J([F(u).e("btn"),F(u).e("actions")])},[ye("div",{class:J(F(u).e("actions__inner"))},[We(X.$slots,"toolbar",{actions:pe,prev:ee,next:ae,reset:Y,activeIndex:b.value,setActiveItem:z},()=>[be(F(Rt),{onClick:q[1]||(q[1]=ce=>pe("zoomOut"))},{default:Re(()=>[be(F(ZRe))]),_:1}),be(F(Rt),{onClick:q[2]||(q[2]=ce=>pe("zoomIn"))},{default:Re(()=>[be(F(ose))]),_:1}),ye("i",{class:J(F(u).e("actions__divider"))},null,2),be(F(Rt),{onClick:Y},{default:Re(()=>[(H(),Ue(ln(C.value.icon)))]),_:1}),ye("i",{class:J(F(u).e("actions__divider"))},null,2),be(F(Rt),{onClick:q[3]||(q[3]=ce=>pe("anticlockwise"))},{default:Re(()=>[be(F(BRe))]),_:1}),be(F(Rt),{onClick:q[4]||(q[4]=ce=>pe("clockwise"))},{default:Re(()=>[be(F(LRe))]),_:1})])],2)],2),Pe(" CANVAS "),ye("div",{class:J(F(u).e("canvas"))},[v.value&&X.$slots["viewer-error"]?We(X.$slots,"viewer-error",{key:0,activeIndex:b.value,src:D.value}):(H(),le("img",{ref_key:"imgRef",ref:f,key:D.value,src:D.value,style:Pt(_.value),class:J(F(u).e("img")),crossorigin:X.crossorigin,onLoad:B,onError:T,onMousedown:O,onTouchstart:N},null,46,EKe))],2),We(X.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});var SKe=yt(wKe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const hce=fn(SKe),AKe=pt({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:ke([String,Object])},previewSrcList:{type:ke(Array),default:()=>da([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:ke(String)}}),DKe={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>$t(e),close:()=>!0,show:()=>!0},TKe=["src","loading","crossorigin"],kKe={key:0},_Ke=Ve({name:"ElImage",inheritAttrs:!1,__name:"image",props:AKe,emits:DKe,setup(e,{expose:t,emit:n}){const r=e,a=n,{t:i}=xn(),o=at("image"),l=Fc(),s=R(()=>o2(Object.entries(l).filter(([B])=>/^(data-|on[A-Z])/i.test(B)||["id","style"].includes(B)))),u=A9({excludeListeners:!0,excludeKeys:R(()=>Object.keys(s.value))}),c=j(),d=j(!1),f=j(!0),p=j(!1),h=j(),m=j(),v=Yn&&"loading"in HTMLImageElement.prototype;let g;const b=R(()=>[o.e("inner"),y.value&&o.e("preview"),f.value&&o.is("loading")]),C=R(()=>{const{fit:B}=r;return Yn&&B?{objectFit:B}:{}}),y=R(()=>{const{previewSrcList:B}=r;return st(B)&&B.length>0}),E=R(()=>{const{previewSrcList:B,initialIndex:T}=r;let O=T;return T>B.length-1&&(O=0),O}),w=R(()=>r.loading==="eager"?!1:!v&&r.loading==="lazy"||r.lazy),S=()=>{Yn&&(f.value=!0,d.value=!1,c.value=r.src)};function A(B){f.value=!1,d.value=!1,a("load",B)}function D(B){f.value=!1,d.value=!0,a("error",B)}function k(B){B&&(S(),M())}const x=Hle(k,200,!0);function _(){return Xt(this,null,function*(){var B;if(!Yn)return;yield Oe();const{scrollContainer:T}=r;if(rl(T))m.value=T;else if(Bt(T)&&T!=="")m.value=(B=document.querySelector(T))!=null?B:void 0;else if(h.value){const N=WO(h.value);m.value=R5(N)?void 0:N}const{stop:O}=CBe(h,([N])=>{x(N.isIntersecting)},{root:m});g=O})}function M(){!Yn||!x||(g==null||g(),m.value=void 0,g=void 0)}function L(){y.value&&(p.value=!0,a("show"))}function I(){p.value=!1,a("close")}function P(B){a("switch",B)}return $e(()=>r.src,()=>{w.value?(f.value=!0,d.value=!1,M(),_()):S()}),Ut(()=>{w.value?_():S()}),t({showPreview:L}),(B,T)=>(H(),le("div",tn({ref_key:"container",ref:h},s.value,{class:[F(o).b(),B.$attrs.class]}),[d.value?We(B.$slots,"error",{key:0},()=>[ye("div",{class:J(F(o).e("error"))},ft(F(i)("el.image.error")),3)]):(H(),le(kt,{key:1},[c.value!==void 0?(H(),le("img",tn({key:0},F(u),{src:c.value,loading:B.loading,style:C.value,class:b.value,crossorigin:B.crossorigin,onClick:L,onLoad:A,onError:D}),null,16,TKe)):Pe("v-if",!0),f.value?(H(),le("div",{key:1,class:J(F(o).e("wrapper"))},[We(B.$slots,"placeholder",{},()=>[ye("div",{class:J(F(o).e("placeholder"))},null,2)])],2)):Pe("v-if",!0)],64)),y.value?(H(),le(kt,{key:2},[p.value?(H(),Ue(F(hce),{key:0,"z-index":B.zIndex,"initial-index":E.value,infinite:B.infinite,"zoom-rate":B.zoomRate,"min-scale":B.minScale,"max-scale":B.maxScale,"show-progress":B.showProgress,"url-list":B.previewSrcList,scale:B.scale,crossorigin:B.crossorigin,"hide-on-click-modal":B.hideOnClickModal,teleported:B.previewTeleported,"close-on-press-escape":B.closeOnPressEscape,onClose:I,onSwitch:P},Ri({toolbar:Re(O=>[We(B.$slots,"toolbar",qu(Yu(O)))]),default:Re(()=>[B.$slots.viewer?(H(),le("div",kKe,[We(B.$slots,"viewer")])):Pe("v-if",!0)]),_:2},[B.$slots.progress?{name:"progress",fn:Re(O=>[We(B.$slots,"progress",qu(Yu(O)))]),key:"0"}:void 0,B.$slots["viewer-error"]?{name:"viewer-error",fn:Re(O=>[We(B.$slots,"viewer-error",qu(Yu(O)))]),key:"1"}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):Pe("v-if",!0)],64)):Pe("v-if",!0)],16))}});var xKe=yt(_Ke,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const MKe=fn(xKe),BKe=pt(Et(Te({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:Xa,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:ke([String,Number,null]),validator:e=>e===null||$t(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0}},yo(["ariaLabel"])),{inputmode:{type:ke(String),default:void 0},align:{type:ke(String),default:"center"},disabledScientific:Boolean})),RKe={[An]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[Ga]:e=>$t(e)||Ma(e),[nn]:e=>$t(e)||Ma(e)},LKe=["aria-label"],OKe=["aria-label"],PKe=Ve({name:"ElInputNumber",__name:"input-number",props:BKe,emits:RKe,setup(e,{expose:t,emit:n}){const r=e,a=n,{t:i}=xn(),o=at("input-number"),l=j(),s=dn({currentValue:r.modelValue,userInput:null}),{formItem:u}=Ci(),c=R(()=>$t(r.modelValue)&&r.modelValue<=r.min),d=R(()=>$t(r.modelValue)&&r.modelValue>=r.max),f=R(()=>{const B=b(r.step);return On(r.precision)?Math.max(b(r.modelValue),B):(B>r.precision,r.precision)}),p=R(()=>r.controls&&r.controlsPosition==="right"),h=ja(),m=ha(),v=R(()=>{if(s.userInput!==null)return s.userInput;let B=s.currentValue;if(Ma(B))return"";if($t(B)){if(Number.isNaN(B))return"";On(r.precision)||(B=B.toFixed(r.precision))}return B}),g=(B,T)=>{if(On(T)&&(T=f.value),T===0)return Math.round(B);let O=String(B);const N=O.indexOf(".");if(N===-1||!O.replace(".","").split("")[N+T])return B;const z=O.length;return O.charAt(z-1)==="5"&&(O=`${O.slice(0,Math.max(0,z-1))}6`),Number.parseFloat(Number(O).toFixed(T))},b=B=>{if(Ma(B))return 0;const T=B.toString(),O=T.indexOf(".");let N=0;return O!==-1&&(N=T.length-O-1),N},C=(B,T=1)=>$t(B)?B>=Number.MAX_SAFE_INTEGER&&T===1||B<=Number.MIN_SAFE_INTEGER&&T===-1?B:g(B+r.step*T):s.currentValue,y=B=>{const T=Er(B),O=Sse(B);if(r.disabledScientific&&["e","E"].includes(O)){B.preventDefault();return}switch(T){case dt.up:{B.preventDefault(),E();break}case dt.down:{B.preventDefault(),w();break}}},E=()=>{if(r.readonly||m.value||d.value)return;const B=Number(v.value)||0,T=C(B);A(T),a(Ga,s.currentValue),I()},w=()=>{if(r.readonly||m.value||c.value)return;const B=Number(v.value)||0,T=C(B,-1);A(T),a(Ga,s.currentValue),I()},S=(B,T)=>{const{max:O,min:N,step:V,precision:Y,stepStrictly:z,valueOnClear:ee}=r;OO||aeO?O:N,T&&a(nn,ae)),ae},A=(B,T=!0)=>{var O;const N=s.currentValue,V=S(B);if(!T){a(nn,V);return}s.userInput=null,!(N===V&&B)&&(a(nn,V),N!==V&&a(An,V,N),r.validateEvent&&((O=u==null?void 0:u.validate)==null||O.call(u,"change").catch(Y=>void 0)),s.currentValue=V)},D=B=>{s.userInput=B;const T=B===""?null:Number(B);a(Ga,T),A(T,!1)},k=B=>{const T=B!==""?Number(B):"";($t(T)&&!Number.isNaN(T)||B==="")&&A(T),I(),s.userInput=null},x=()=>{var B,T;(T=(B=l.value)==null?void 0:B.focus)==null||T.call(B)},_=()=>{var B,T;(T=(B=l.value)==null?void 0:B.blur)==null||T.call(B)},M=B=>{a("focus",B)},L=B=>{var T,O;s.userInput=null,s.currentValue===null&&((T=l.value)!=null&&T.input)&&(l.value.input.value=""),a("blur",B),r.validateEvent&&((O=u==null?void 0:u.validate)==null||O.call(u,"blur").catch(N=>void 0))},I=()=>{s.currentValue!==r.modelValue&&(s.currentValue=r.modelValue)},P=B=>{document.activeElement===B.target&&B.preventDefault()};return $e(()=>r.modelValue,(B,T)=>{const O=S(B,!0);s.userInput===null&&O!==T&&(s.currentValue=O)},{immediate:!0}),$e(()=>r.precision,()=>{s.currentValue=S(r.modelValue)}),Ut(()=>{var B;const{min:T,max:O,modelValue:N}=r,V=(B=l.value)==null?void 0:B.input;if(V.setAttribute("role","spinbutton"),Number.isFinite(O)?V.setAttribute("aria-valuemax",String(O)):V.removeAttribute("aria-valuemax"),Number.isFinite(T)?V.setAttribute("aria-valuemin",String(T)):V.removeAttribute("aria-valuemin"),V.setAttribute("aria-valuenow",s.currentValue||s.currentValue===0?String(s.currentValue):""),V.setAttribute("aria-disabled",String(m.value)),!$t(N)&&N!=null){let Y=Number(N);Number.isNaN(Y)&&(Y=null),a(nn,Y)}V.addEventListener("wheel",P,{passive:!1})}),Il(()=>{var B,T;const O=(B=l.value)==null?void 0:B.input;O==null||O.setAttribute("aria-valuenow",`${(T=s.currentValue)!=null?T:""}`)}),t({focus:x,blur:_}),(B,T)=>(H(),le("div",{class:J([F(o).b(),F(o).m(F(h)),F(o).is("disabled",F(m)),F(o).is("without-controls",!B.controls),F(o).is("controls-right",p.value),F(o).is(B.align,!!B.align)]),onDragstart:T[0]||(T[0]=Yt(()=>{},["prevent"]))},[B.controls?hn((H(),le("span",{key:0,role:"button","aria-label":F(i)("el.inputNumber.decrease"),class:J([F(o).e("decrease"),F(o).is("disabled",c.value)]),onKeydown:ca(w,["enter"])},[We(B.$slots,"decrease-icon",{},()=>[be(F(Rt),null,{default:Re(()=>[p.value?(H(),Ue(F(wc),{key:0})):(H(),Ue(F(ERe),{key:1}))]),_:1})])],42,LKe)),[[F(d6),w]]):Pe("v-if",!0),B.controls?hn((H(),le("span",{key:1,role:"button","aria-label":F(i)("el.inputNumber.increase"),class:J([F(o).e("increase"),F(o).is("disabled",d.value)]),onKeydown:ca(E,["enter"])},[We(B.$slots,"increase-icon",{},()=>[be(F(Rt),null,{default:Re(()=>[p.value?(H(),Ue(F(E9),{key:0})):(H(),Ue(F(ase),{key:1}))]),_:1})])],42,OKe)),[[F(d6),E]]):Pe("v-if",!0),be(F(co),{id:B.id,ref_key:"input",ref:l,type:"number",step:B.step,"model-value":v.value,placeholder:B.placeholder,readonly:B.readonly,disabled:F(m),size:F(h),max:B.max,min:B.min,name:B.name,"aria-label":B.ariaLabel,"validate-event":!1,inputmode:B.inputmode,onKeydown:y,onBlur:L,onFocus:M,onInput:D,onChange:k},Ri({_:2},[B.$slots.prefix?{name:"prefix",fn:Re(()=>[We(B.$slots,"prefix")]),key:"0"}:void 0,B.$slots.suffix?{name:"suffix",fn:Re(()=>[We(B.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],34))}});var IKe=yt(PKe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const mce=fn(IKe),NKe=pt({modelValue:{type:ke(Array)},max:Number,tagType:Et(Te({},Td.type),{default:"info"}),tagEffect:Td.effect,trigger:{type:ke(String),default:dt.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:Xa,clearable:Boolean,clearIcon:{type:mr,default:Pd},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:ke(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),$Ke={[nn]:e=>st(e)||On(e),[An]:e=>st(e)||On(e),[Ga]:e=>Bt(e),"add-tag":e=>Bt(e)||st(e),"remove-tag":(e,t)=>Bt(e)&&$t(t),"drag-tag":(e,t,n)=>$t(e)&&$t(t)&&Bt(n),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function VKe({props:e,emit:t,formItem:n}){const r=ha(),a=ja(),i=Zn(),o=j(),l=j(),s=R(()=>["small"].includes(a.value)?"small":"default"),u=R(()=>{var I;return(I=e.modelValue)!=null&&I.length?void 0:e.placeholder}),c=R(()=>!(e.readonly||r.value)),d=R(()=>{var I,P;return On(e.max)?!1:((P=(I=e.modelValue)==null?void 0:I.length)!=null?P:0)>=e.max}),f=R(()=>{var I;return e.collapseTags?(I=e.modelValue)==null?void 0:I.slice(0,e.maxCollapseTags):e.modelValue}),p=R(()=>{var I;return e.collapseTags?(I=e.modelValue)==null?void 0:I.slice(e.maxCollapseTags):[]}),h=I=>{var P;const B=[...(P=e.modelValue)!=null?P:[],...pi(I)];t(nn,B),t(An,B),t("add-tag",I),o.value=void 0},m=I=>{var P,B;const T=I.split(e.delimiter).filter(O=>O&&O!==I);if(e.max){const O=e.max-((B=(P=e.modelValue)==null?void 0:P.length)!=null?B:0);T.splice(O)}return T.length===1?T[0]:T},v=I=>{if(d.value){o.value=void 0;return}if(!x.value){if(e.delimiter&&o.value){const P=m(o.value);P.length&&h(P)}t(Ga,I.target.value)}},g=I=>{var P;if(x.value)return;switch(Er(I)){case e.trigger:I.preventDefault(),I.stopPropagation(),C();break;case dt.numpadEnter:e.trigger===dt.enter&&(I.preventDefault(),I.stopPropagation(),C());break;case dt.backspace:!o.value&&((P=e.modelValue)!=null&&P.length)&&(I.preventDefault(),I.stopPropagation(),y(e.modelValue.length-1));break}},b=I=>{if(x.value||!use())return;Er(I)===dt.space&&e.trigger===dt.space&&(I.preventDefault(),I.stopPropagation(),C())},C=()=>{var I;const P=(I=o.value)==null?void 0:I.trim();!P||d.value||h(P)},y=I=>{var P;const B=((P=e.modelValue)!=null?P:[]).slice(),[T]=B.splice(I,1);t(nn,B),t(An,B),t("remove-tag",T,I)},E=()=>{o.value=void 0,t(nn,void 0),t(An,void 0),t("clear")},w=(I,P,B)=>{var T;const O=((T=e.modelValue)!=null?T:[]).slice(),[N]=O.splice(I,1),V=P>I&&B==="before"?-1:P{var I;(I=i.value)==null||I.focus()},A=()=>{var I;(I=i.value)==null||I.blur()},{wrapperRef:D,isFocused:k}=Id(i,{disabled:r,beforeBlur(I){var P;return(P=l.value)==null?void 0:P.isFocusInsideContent(I)},afterBlur(){var I;e.saveOnBlur?C():o.value=void 0,e.validateEvent&&((I=n==null?void 0:n.validate)==null||I.call(n,"blur").catch(P=>void 0))}}),{isComposing:x,handleCompositionStart:_,handleCompositionUpdate:M,handleCompositionEnd:L}=z5({afterComposition:v});return $e(()=>e.modelValue,()=>{var I;e.validateEvent&&((I=n==null?void 0:n.validate)==null||I.call(n,An).catch(P=>void 0))}),{inputRef:i,wrapperRef:D,tagTooltipRef:l,isFocused:k,isComposing:x,inputValue:o,size:a,tagSize:s,placeholder:u,closable:c,disabled:r,inputLimit:d,showTagList:f,collapseTagList:p,handleDragged:w,handleInput:v,handleKeydown:g,handleKeyup:b,handleAddTag:C,handleRemoveTag:y,handleClear:E,handleCompositionStart:_,handleCompositionUpdate:M,handleCompositionEnd:L,focus:S,blur:A}}function HKe(){const e=j(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function zKe({wrapperRef:e,handleDragged:t,afterDragged:n}){const r=at("input-tag"),a=Zn(),i=j(!1);let o,l,s,u;function c(h){return`.${r.e("inner")} .${r.namespace.value}-tag:nth-child(${h+1})`}function d(h,m){o=m,l=e.value.querySelector(c(m)),l&&(l.style.opacity="0.5"),h.dataTransfer.effectAllowed="move"}function f(h,m){if(s=m,h.preventDefault(),h.dataTransfer.dropEffect="move",On(o)||o===m){i.value=!1;return}const v=e.value.querySelector(c(m)).getBoundingClientRect(),g=o+1!==m,b=o-1!==m,C=h.clientX-v.left,y=g?b?.5:1:-1,E=b?g?.5:0:1;C<=v.width*y?u="before":C>v.width*E?u="after":u=void 0;const w=e.value.querySelector(`.${r.e("inner")}`),S=w.getBoundingClientRect(),A=Number.parseFloat(ad(w,"gap"))/2,D=v.top-S.top;let k=-9999;if(u==="before")k=Math.max(v.left-S.left-A,Math.floor(-A/2));else if(u==="after"){const x=v.right-S.left;k=x+(S.width===x?Math.floor(A/2):A)}ese(a.value,{top:`${D}px`,left:`${k}px`}),i.value=!!u}function p(h){h.preventDefault(),l&&(l.style.opacity=""),u&&!On(o)&&!On(s)&&o!==s&&t(o,s,u),i.value=!1,o=void 0,l=null,s=void 0,u=void 0,n==null||n()}return{dropIndicatorRef:a,showDropIndicator:i,handleDragStart:d,handleDragOver:f,handleDragEnd:p}}function WKe({props:e,isFocused:t,hovering:n,disabled:r,inputValue:a,size:i,validateState:o,validateIcon:l,needStatusIcon:s}){const u=Fc(),c=pa(),d=at("input-tag"),f=at("input"),p=j(),h=j(),m=R(()=>[d.b(),d.is("focused",t.value),d.is("hovering",n.value),d.is("disabled",r.value),d.m(i.value),d.e("wrapper"),u.class]),v=R(()=>[u.style]),g=R(()=>{var D,k;return[d.e("inner"),d.is("draggable",e.draggable),d.is("left-space",!((D=e.modelValue)!=null&&D.length)&&!c.prefix),d.is("right-space",!((k=e.modelValue)!=null&&k.length)&&!C.value)]}),b=R(()=>{var D;return e.clearable&&!r.value&&!e.readonly&&(((D=e.modelValue)==null?void 0:D.length)||a.value)&&(t.value||n.value)}),C=R(()=>c.suffix||b.value||o.value&&l.value&&s.value),y=dn({innerWidth:0,collapseItemWidth:0}),E=()=>{if(!h.value)return 0;const D=window.getComputedStyle(h.value);return Number.parseFloat(D.gap||"6px")},w=()=>{y.innerWidth=Number.parseFloat(window.getComputedStyle(h.value).width)},S=()=>{y.collapseItemWidth=p.value.getBoundingClientRect().width},A=R(()=>{if(!e.collapseTags)return{};const D=E(),k=D+k9,x=p.value&&e.maxCollapseTags===1?y.innerWidth-y.collapseItemWidth-D-k:y.innerWidth-k;return{maxWidth:`${Math.max(x,0)}px`}});return zr(h,w),zr(p,S),{ns:d,nsInput:f,containerKls:m,containerStyle:v,innerKls:g,showClear:b,showSuffix:C,tagStyle:A,collapseItemRef:p,innerRef:h}}const GKe=["id","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel"],jKe=["textContent"],KKe=Ve({name:"ElInputTag",inheritAttrs:!1,__name:"input-tag",props:NKe,emits:$Ke,setup(e,{expose:t,emit:n}){const r=e,a=n,i=A9(),o=pa(),{form:l,formItem:s}=Ci(),{inputId:u}=Nl(r,{formItemContext:s}),c=R(()=>{var Se;return(Se=l==null?void 0:l.statusIcon)!=null?Se:!1}),d=R(()=>(s==null?void 0:s.validateState)||""),f=R(()=>d.value&&S9[d.value]),{inputRef:p,wrapperRef:h,tagTooltipRef:m,isFocused:v,inputValue:g,size:b,tagSize:C,placeholder:y,closable:E,disabled:w,showTagList:S,collapseTagList:A,handleDragged:D,handleInput:k,handleKeydown:x,handleKeyup:_,handleRemoveTag:M,handleClear:L,handleCompositionStart:I,handleCompositionUpdate:P,handleCompositionEnd:B,focus:T,blur:O}=VKe({props:r,emit:a,formItem:s}),{hovering:N,handleMouseEnter:V,handleMouseLeave:Y}=HKe(),{calculatorRef:z,inputStyle:ee}=fP(),{dropIndicatorRef:ae,showDropIndicator:pe,handleDragStart:re,handleDragOver:Q,handleDragEnd:ie}=zKe({wrapperRef:h,handleDragged:D,afterDragged:T}),{ns:X,nsInput:q,containerKls:ce,containerStyle:K,innerKls:Z,showClear:se,showSuffix:Fe,tagStyle:me,collapseItemRef:te,innerRef:ue}=WKe({props:r,hovering:N,isFocused:v,inputValue:g,disabled:w,size:b,validateState:d,validateIcon:f,needStatusIcon:c});return t({focus:T,blur:O}),(Se,Ae)=>(H(),le("div",{ref_key:"wrapperRef",ref:h,class:J(F(ce)),style:Pt(F(K)),onMouseenter:Ae[8]||(Ae[8]=(...Ne)=>F(V)&&F(V)(...Ne)),onMouseleave:Ae[9]||(Ae[9]=(...Ne)=>F(Y)&&F(Y)(...Ne))},[F(o).prefix?(H(),le("div",{key:0,class:J(F(X).e("prefix"))},[We(Se.$slots,"prefix")],2)):Pe("v-if",!0),ye("div",{ref_key:"innerRef",ref:ue,class:J(F(Z))},[(H(!0),le(kt,null,En(F(S),(Ne,je)=>(H(),Ue(F(hd),{key:je,size:F(C),closable:F(E),type:Se.tagType,effect:Se.tagEffect,draggable:F(E)&&Se.draggable,style:Pt(F(me)),"disable-transitions":"",onClose:De=>F(M)(je),onDragstart:De=>F(re)(De,je),onDragover:De=>F(Q)(De,je),onDragend:F(ie),onDrop:Ae[0]||(Ae[0]=Yt(()=>{},["stop"]))},{default:Re(()=>[We(Se.$slots,"tag",{value:Ne,index:je},()=>[Cn(ft(Ne),1)])]),_:2},1032,["size","closable","type","effect","draggable","style","onClose","onDragstart","onDragover","onDragend"]))),128)),Se.collapseTags&&Se.modelValue&&Se.modelValue.length>Se.maxCollapseTags?(H(),Ue(F(gi),{key:0,ref_key:"tagTooltipRef",ref:m,disabled:!Se.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:Se.tagEffect,placement:"bottom"},{default:Re(()=>[ye("div",{ref_key:"collapseItemRef",ref:te},[be(F(hd),{closable:!1,size:F(C),type:Se.tagType,effect:Se.tagEffect,"disable-transitions":""},{default:Re(()=>[Cn(" + "+ft(Se.modelValue.length-Se.maxCollapseTags),1)]),_:1},8,["size","type","effect"])],512)]),content:Re(()=>[ye("div",{class:J(F(X).e("input-tag-list"))},[(H(!0),le(kt,null,En(F(A),(Ne,je)=>(H(),Ue(F(hd),{key:je,size:F(C),closable:F(E),type:Se.tagType,effect:Se.tagEffect,"disable-transitions":"",onClose:De=>F(M)(je+Se.maxCollapseTags)},{default:Re(()=>[We(Se.$slots,"tag",{value:Ne,index:je+Se.maxCollapseTags},()=>[Cn(ft(Ne),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):Pe("v-if",!0),ye("div",{class:J(F(X).e("input-wrapper"))},[hn(ye("input",tn({id:F(u),ref_key:"inputRef",ref:p,"onUpdate:modelValue":Ae[1]||(Ae[1]=Ne=>Gn(g)?g.value=Ne:null)},F(i),{type:"text",minlength:Se.minlength,maxlength:Se.maxlength,disabled:F(w),readonly:Se.readonly,autocomplete:Se.autocomplete,tabindex:Se.tabindex,placeholder:F(y),autofocus:Se.autofocus,ariaLabel:Se.ariaLabel,class:F(X).e("input"),style:F(ee),onCompositionstart:Ae[2]||(Ae[2]=(...Ne)=>F(I)&&F(I)(...Ne)),onCompositionupdate:Ae[3]||(Ae[3]=(...Ne)=>F(P)&&F(P)(...Ne)),onCompositionend:Ae[4]||(Ae[4]=(...Ne)=>F(B)&&F(B)(...Ne)),onInput:Ae[5]||(Ae[5]=(...Ne)=>F(k)&&F(k)(...Ne)),onKeydown:Ae[6]||(Ae[6]=(...Ne)=>F(x)&&F(x)(...Ne)),onKeyup:Ae[7]||(Ae[7]=(...Ne)=>F(_)&&F(_)(...Ne))}),null,16,GKe),[[tp,F(g)]]),ye("span",{ref_key:"calculatorRef",ref:z,"aria-hidden":"true",class:J(F(X).e("input-calculator")),textContent:ft(F(g))},null,10,jKe)],2),hn(ye("div",{ref_key:"dropIndicatorRef",ref:ae,class:J(F(X).e("drop-indicator"))},null,2),[[In,F(pe)]])],2),F(Fe)?(H(),le("div",{key:1,class:J(F(X).e("suffix"))},[We(Se.$slots,"suffix"),F(se)?(H(),Ue(F(Rt),{key:0,class:J([F(X).e("icon"),F(X).e("clear")]),onMousedown:Yt(F(er),["prevent"]),onClick:F(L)},{default:Re(()=>[(H(),Ue(ln(Se.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):Pe("v-if",!0),d.value&&f.value&&c.value?(H(),Ue(F(Rt),{key:1,class:J([F(q).e("icon"),F(q).e("validateIcon"),F(q).is("loading",d.value==="validating")])},{default:Re(()=>[(H(),Ue(ln(f.value)))]),_:1},8,["class"])):Pe("v-if",!0)],2)):Pe("v-if",!0)],38))}});var UKe=yt(KKe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-tag/src/input-tag.vue"]]);const qKe=fn(UKe),YKe=pt({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:mr}}),JKe={click:e=>e instanceof MouseEvent},XKe=["href","target"],ZKe=Ve({name:"ElLink",__name:"link",props:YKe,emits:JKe,setup(e,{emit:t}){const n=e,r=t,a=Q0("link");Qu({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"},R(()=>hr(n.underline)));const i=at("link"),o=R(()=>{var u,c,d;return[i.b(),i.m((d=(c=n.type)!=null?c:(u=a.value)==null?void 0:u.type)!=null?d:"default"),i.is("disabled",n.disabled),i.is("underline",l.value==="always"),i.is("hover-underline",l.value==="hover"&&!n.disabled)]}),l=R(()=>{var u,c,d;return hr(n.underline)?n.underline?"hover":"never":(d=(c=n.underline)!=null?c:(u=a.value)==null?void 0:u.underline)!=null?d:"hover"});function s(u){n.disabled||r("click",u)}return(u,c)=>(H(),le("a",{class:J(o.value),href:u.disabled||!u.href?void 0:u.href,target:u.disabled||!u.href?void 0:u.target,onClick:s},[u.icon?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[(H(),Ue(ln(u.icon)))]),_:1})):Pe("v-if",!0),u.$slots.default?(H(),le("span",{key:1,class:J(F(i).e("inner"))},[We(u.$slots,"default")],2)):Pe("v-if",!0),u.$slots.icon?We(u.$slots,"icon",{key:2}):Pe("v-if",!0)],10,XKe))}});var QKe=yt(ZKe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const eUe=fn(QKe);let tUe=class{constructor(t,n){this.parent=t,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",r=>{const a=Er(r);let i=!1;switch(a){case dt.down:{this.gotoSubIndex(this.subIndex+1),i=!0;break}case dt.up:{this.gotoSubIndex(this.subIndex-1),i=!0;break}case dt.tab:{R3(t,"mouseleave");break}case dt.enter:case dt.numpadEnter:case dt.space:{i=!0,r.currentTarget.click();break}}return i&&(r.preventDefault(),r.stopPropagation()),!1})})}},nUe=class{constructor(t,n){this.domNode=t,this.submenu=null,this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new tUe(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{const n=Er(t);let r=!1;switch(n){case dt.down:{R3(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),r=!0;break}case dt.up:{R3(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),r=!0;break}case dt.tab:{R3(t.currentTarget,"mouseleave");break}case dt.enter:case dt.numpadEnter:case dt.space:{r=!0,t.currentTarget.click();break}}r&&t.preventDefault()})}},rUe=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(r=>{r.nodeType===1&&new nUe(r,t)})}};const aUe=Ve({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(e){const t=at("menu"),n={onBeforeEnter:r=>r.style.opacity="0.2",onEnter(r,a){as(r,`${t.namespace.value}-opacity-transition`),r.style.opacity="1",a()},onAfterEnter(r){fo(r,`${t.namespace.value}-opacity-transition`),r.style.opacity=""},onBeforeLeave(r){r.dataset||(r.dataset={}),Ju(r,t.m("collapse"))?(fo(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),as(r,t.m("collapse"))):(as(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),fo(r,t.m("collapse"))),r.style.width=`${r.scrollWidth}px`,r.style.overflow="hidden"},onLeave(r){as(r,"horizontal-collapse-transition"),r.style.width=`${r.dataset.scrollWidth}px`}};return(r,a)=>(H(),Ue(vi,tn({mode:"out-in"},n),{default:Re(()=>[We(r.$slots,"default")]),_:3},16))}});var iUe=yt(aUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function vce(e,t){const n=R(()=>{let a=e.parent;const i=[t.value];for(;a.type.name!=="ElMenu";)a.props.index&&i.unshift(a.props.index),a=a.parent;return i});return{parentMenu:R(()=>{let a=e.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:n}}function oUe(e){return R(()=>{const n=e.backgroundColor;return n?new c1(n).shade(20).toString():""})}const gce=(e,t)=>{const n=at("menu");return R(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":oUe(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},BP="rootMenu",v6="subMenu:",lUe=pt({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:ke([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:mr},expandOpenIcon:{type:mr},collapseCloseIcon:{type:mr},collapseOpenIcon:{type:mr}}),JE="ElSubMenu";var RP=Ve({name:JE,props:lUe,setup(e,{slots:t,expose:n}){const r=Jt(),{indexPath:a,parentMenu:i}=vce(r,R(()=>e.index)),o=at("menu"),l=at("sub-menu"),s=lt(BP);s||$a(JE,"can not inject root menu");const u=lt(`${v6}${i.value.uid}`);u||$a(JE,"can not inject sub menu");const c=j({}),d=j({});let f;const p=j(!1),h=j(),m=j(),v=R(()=>u.level===0),g=R(()=>A.value==="horizontal"&&v.value?"bottom-start":"right-start"),b=R(()=>A.value==="horizontal"&&v.value||A.value==="vertical"&&!s.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?w.value?e.expandOpenIcon:e.expandCloseIcon:wc:e.collapseCloseIcon&&e.collapseOpenIcon?w.value?e.collapseOpenIcon:e.collapseCloseIcon:po),C=R(()=>{const Y=e.teleported;return On(Y)?v.value:Y}),y=R(()=>s.props.collapse?`${o.namespace.value}-zoom-in-left`:`${o.namespace.value}-zoom-in-top`),E=R(()=>A.value==="horizontal"&&v.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"]),w=R(()=>s.openedMenus.includes(e.index)),S=R(()=>[...Object.values(c.value),...Object.values(d.value)].some(({active:Y})=>Y)),A=R(()=>s.props.mode),D=R(()=>s.props.persistent),k=dn({index:e.index,indexPath:a,active:S}),x=gce(s.props,u.level+1),_=R(()=>{var Y;return(Y=e.popperOffset)!=null?Y:s.props.popperOffset}),M=R(()=>{var Y;return(Y=e.popperClass)!=null?Y:s.props.popperClass}),L=R(()=>{var Y;return(Y=e.popperStyle)!=null?Y:s.props.popperStyle}),I=R(()=>{var Y;return(Y=e.showTimeout)!=null?Y:s.props.showTimeout}),P=R(()=>{var Y;return(Y=e.hideTimeout)!=null?Y:s.props.hideTimeout}),B=()=>{var Y,z,ee;return(ee=(z=(Y=m.value)==null?void 0:Y.popperRef)==null?void 0:z.popperInstanceRef)==null?void 0:ee.destroy()},T=Y=>{Y||B()},O=()=>{s.props.menuTrigger==="hover"&&s.props.mode==="horizontal"||s.props.collapse&&s.props.mode==="vertical"||e.disabled||s.handleSubMenuClick({index:e.index,indexPath:a.value,active:S.value})},N=(Y,z=I.value)=>{var ee;if(Y.type!=="focus"){if(s.props.menuTrigger==="click"&&s.props.mode==="horizontal"||!s.props.collapse&&s.props.mode==="vertical"||e.disabled){u.mouseInChild.value=!0;return}u.mouseInChild.value=!0,f==null||f(),{stop:f}=t0(()=>{s.openMenu(e.index,a.value)},z),C.value&&((ee=i.value.vnode.el)==null||ee.dispatchEvent(new MouseEvent("mouseenter"))),Y.type==="mouseenter"&&Y.target&&Oe(()=>{H5(Y.target,{preventScroll:!0})})}},V=(Y=!1)=>{var z;if(s.props.menuTrigger==="click"&&s.props.mode==="horizontal"||!s.props.collapse&&s.props.mode==="vertical"){u.mouseInChild.value=!1;return}f==null||f(),u.mouseInChild.value=!1,{stop:f}=t0(()=>!p.value&&s.closeMenu(e.index,a.value),P.value),C.value&&Y&&((z=u.handleMouseleave)==null||z.call(u,!0))};$e(()=>s.props.collapse,Y=>T(!!Y));{const Y=ee=>{d.value[ee.index]=ee},z=ee=>{delete d.value[ee.index]};Qt(`${v6}${r.uid}`,{addSubMenu:Y,removeSubMenu:z,handleMouseleave:V,mouseInChild:p,level:u.level+1})}return n({opened:w}),Ut(()=>{s.addSubMenu(k),u.addSubMenu(k)}),Vn(()=>{u.removeSubMenu(k),s.removeSubMenu(k)}),()=>{var Y;const z=[(Y=t.title)==null?void 0:Y.call(t),W(Rt,{class:l.e("icon-arrow"),style:{transform:w.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&s.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>Bt(b.value)?W(r.appContext.components[b.value]):W(b.value)})],ee=s.isMenuPopup?W(gi,{ref:m,visible:w.value,effect:"light",pure:!0,offset:_.value,showArrow:!1,persistent:D.value,popperClass:M.value,popperStyle:L.value,placement:g.value,teleported:C.value,fallbackPlacements:E.value,transition:y.value,gpuAcceleration:!1},{content:()=>{var ae;return W("div",{class:[o.m(A.value),o.m("popup-container"),M.value],onMouseenter:pe=>N(pe,100),onMouseleave:()=>V(!0),onFocus:pe=>N(pe,100)},[W("ul",{class:[o.b(),o.m("popup"),o.m(`popup-${g.value}`)],style:x.value},[(ae=t.default)==null?void 0:ae.call(t)])])},default:()=>W("div",{class:l.e("title"),onClick:O},z)}):W(kt,{},[W("div",{class:l.e("title"),ref:h,onClick:O},z),W(M9,{},{default:()=>{var ae;return hn(W("ul",{role:"menu",class:[o.b(),o.m("inline")],style:x.value},[(ae=t.default)==null?void 0:ae.call(t)]),[[In,w.value]])}})]);return W("li",{class:[l.b(),l.is("active",S.value),l.is("opened",w.value),l.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:w.value,onMouseenter:N,onMouseleave:()=>V(),onFocus:N},[ee])}}});const sUe=pt({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ke(Array),default:()=>da([])},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:mr,default:()=>ARe},popperEffect:{type:ke(String),default:"dark"},popperClass:String,popperStyle:{type:ke([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),XE=e=>st(e)&&e.every(t=>Bt(t)),uUe={close:(e,t)=>Bt(e)&&XE(t),open:(e,t)=>Bt(e)&&XE(t),select:(e,t,n,r)=>Bt(e)&&XE(t)&&mn(n)&&(On(r)||r instanceof Promise)},QW=64;var cUe=Ve({name:"ElMenu",props:sUe,emits:uUe,setup(e,{emit:t,slots:n,expose:r}){const a=Jt(),i=a.appContext.config.globalProperties.$router,o=j(),l=j(),s=at("menu"),u=at("sub-menu");let c=QW;const d=j(-1),f=j(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=j(e.defaultActive),h=j({}),m=j({}),v=R(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),g=()=>{const B=p.value&&h.value[p.value];if(!B||e.mode==="horizontal"||e.collapse)return;B.indexPath.forEach(O=>{const N=m.value[O];N&&b(O,N.indexPath)})},b=(B,T)=>{f.value.includes(B)||(e.uniqueOpened&&(f.value=f.value.filter(O=>T.includes(O))),f.value.push(B),t("open",B,T))},C=B=>{const T=f.value.indexOf(B);T!==-1&&f.value.splice(T,1)},y=(B,T)=>{C(B),t("close",B,T)},E=({index:B,indexPath:T})=>{f.value.includes(B)?y(B,T):b(B,T)},w=B=>{(e.mode==="horizontal"||e.collapse)&&(f.value=[]);const{index:T,indexPath:O}=B;if(!(Ma(T)||Ma(O)))if(e.router&&i){const N=B.route||T,V=i.push(N).then(Y=>(Y||(p.value=T),Y));t("select",T,O,{index:T,indexPath:O,route:N},V)}else p.value=T,t("select",T,O,{index:T,indexPath:O})},S=B=>{var T;const O=h.value,N=O[B]||p.value&&O[p.value]||O[e.defaultActive];p.value=(T=N==null?void 0:N.index)!=null?T:B},A=B=>{const T=getComputedStyle(B),O=Number.parseInt(T.marginLeft,10),N=Number.parseInt(T.marginRight,10);return B.offsetWidth+O+N||0},D=()=>{if(!o.value)return-1;const B=Array.from(o.value.childNodes).filter(ee=>ee.nodeName!=="#comment"&&(ee.nodeName!=="#text"||ee.nodeValue)),T=getComputedStyle(o.value),O=Number.parseInt(T.paddingLeft,10),N=Number.parseInt(T.paddingRight,10),V=o.value.clientWidth-O-N;let Y=0,z=0;return B.forEach((ee,ae)=>{Y+=A(ee),Y<=V-c&&(z=ae+1)}),z===B.length?-1:z},k=B=>m.value[B].indexPath,x=(B,T=33.34)=>{let O;return()=>{O&&clearTimeout(O),O=setTimeout(()=>{B()},T)}};let _=!0;const M=()=>{const B=Ja(l);if(B&&(c=A(B)||QW),d.value===D())return;const T=()=>{d.value=-1,Oe(()=>{d.value=D()})};_?T():x(T)(),_=!1};$e(()=>e.defaultActive,B=>{h.value[B]||(p.value=""),S(B)}),$e(()=>e.collapse,B=>{B&&(f.value=[])}),$e(h.value,g);let L;No(()=>{e.mode==="horizontal"&&e.ellipsis?L=zr(o,M).stop:L==null||L()});const I=j(!1);{const B=V=>{m.value[V.index]=V},T=V=>{delete m.value[V.index]};Qt(BP,dn({props:e,openedMenus:f,items:h,subMenus:m,activeIndex:p,isMenuPopup:v,addMenuItem:V=>{h.value[V.index]=V},removeMenuItem:V=>{delete h.value[V.index]},addSubMenu:B,removeSubMenu:T,openMenu:b,closeMenu:y,handleMenuItemClick:w,handleSubMenuClick:E})),Qt(`${v6}${a.uid}`,{addSubMenu:B,removeSubMenu:T,mouseInChild:I,level:0})}Ut(()=>{e.mode==="horizontal"&&new rUe(a.vnode.el,s.namespace.value)}),r({open:T=>{const{indexPath:O}=m.value[T];O.forEach(N=>b(N,O))},close:C,updateActiveIndex:S,handleResize:M});const P=gce(e,0);return()=>{var B,T;let O=(T=(B=n.default)==null?void 0:B.call(n))!=null?T:[];const N=[];if(e.mode==="horizontal"&&o.value){const z=xl(O).filter(pe=>(pe==null?void 0:pe.shapeFlag)!==8),ee=d.value===-1?z:z.slice(0,d.value),ae=d.value===-1?[]:z.slice(d.value);ae!=null&&ae.length&&e.ellipsis&&(O=ee,N.push(W(RP,{ref:l,index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>W(Rt,{class:u.e("icon-more")},{default:()=>W(e.ellipsisIcon)}),default:()=>ae})))}const V=e.closeOnClickOutside?[[sp,()=>{f.value.length&&(I.value||(f.value.forEach(z=>t("close",z,k(z))),f.value=[]))}]]:[],Y=hn(W("ul",{key:String(e.collapse),role:"menubar",ref:o,style:P.value,class:{[s.b()]:!0,[s.m(e.mode)]:!0,[s.m("collapse")]:e.collapse}},[...O,...N]),V);return e.collapseTransition&&e.mode==="vertical"?W(iUe,()=>Y):Y}}});const dUe=pt({index:{type:ke([String,null]),default:null},route:{type:ke([String,Object])},disabled:Boolean}),fUe={click:e=>Bt(e.index)&&st(e.indexPath)},ZE="ElMenuItem",pUe=Ve({name:ZE,__name:"menu-item",props:dUe,emits:fUe,setup(e,{expose:t,emit:n}){const r=e,a=n;al(r.index)&&void 0;const i=Jt(),o=lt(BP),l=at("menu"),s=at("menu-item");o||$a(ZE,"can not inject root menu");const{parentMenu:u,indexPath:c}=vce(i,Qn(r,"index")),d=lt(`${v6}${u.value.uid}`);d||$a(ZE,"can not inject sub menu");const f=R(()=>r.index===o.activeIndex),p=dn({index:r.index,indexPath:c,active:f}),h=()=>{r.disabled||(o.handleMenuItemClick({index:r.index,indexPath:c.value,route:r.route}),a("click",p))};return Ut(()=>{d.addSubMenu(p),o.addMenuItem(p)}),Vn(()=>{d.removeSubMenu(p),o.removeMenuItem(p)}),t({parentMenu:u,rootMenu:o,active:f,nsMenu:l,nsMenuItem:s,handleClick:h}),(m,v)=>(H(),le("li",{class:J([F(s).b(),F(s).is("active",f.value),F(s).is("disabled",m.disabled)]),role:"menuitem",tabindex:"-1",onClick:h},[F(u).type.name==="ElMenu"&&F(o).props.collapse&&m.$slots.title?(H(),Ue(F(gi),{key:0,effect:F(o).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":F(o).props.popperClass,"popper-style":F(o).props.popperStyle,persistent:F(o).props.persistent,"focus-on-target":""},{content:Re(()=>[We(m.$slots,"title")]),default:Re(()=>[ye("div",{class:J(F(l).be("tooltip","trigger"))},[We(m.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(H(),le(kt,{key:1},[We(m.$slots,"default"),We(m.$slots,"title")],64))],2))}});var yce=yt(pUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const hUe={title:String},mUe=Ve({name:"ElMenuItemGroup",__name:"menu-item-group",props:hUe,setup(e){const t=at("menu-item-group");return(n,r)=>(H(),le("li",{class:J(F(t).b())},[ye("div",{class:J(F(t).e("title"))},[n.$slots.title?We(n.$slots,"title",{key:1}):(H(),le(kt,{key:0},[Cn(ft(n.title),1)],64))],2),ye("ul",null,[We(n.$slots,"default")])],2))}});var bce=yt(mUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const vUe=fn(cUe,{MenuItem:yce,MenuItemGroup:bce,SubMenu:RP}),gUe=sa(yce),yUe=sa(bce),bUe=sa(RP),CUe=pt({icon:{type:mr,default:()=>YBe},title:String,content:{type:String,default:""}}),FUe={back:()=>!0},EUe=["aria-label"],wUe=Ve({name:"ElPageHeader",__name:"page-header",props:CUe,emits:FUe,setup(e,{emit:t}){const n=t,{t:r}=xn(),a=at("page-header");function i(){n("back")}return(o,l)=>(H(),le("div",{class:J([F(a).b(),F(a).is("contentful",!!o.$slots.default),{[F(a).m("has-breadcrumb")]:!!o.$slots.breadcrumb,[F(a).m("has-extra")]:!!o.$slots.extra}])},[o.$slots.breadcrumb?(H(),le("div",{key:0,class:J(F(a).e("breadcrumb"))},[We(o.$slots,"breadcrumb")],2)):Pe("v-if",!0),ye("div",{class:J(F(a).e("header"))},[ye("div",{class:J(F(a).e("left"))},[ye("div",{class:J(F(a).e("back")),role:"button",tabindex:"0",onClick:i},[o.icon||o.$slots.icon?(H(),le("div",{key:0,"aria-label":o.title||F(r)("el.pageHeader.title"),class:J(F(a).e("icon"))},[We(o.$slots,"icon",{},()=>[o.icon?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[(H(),Ue(ln(o.icon)))]),_:1})):Pe("v-if",!0)])],10,EUe)):Pe("v-if",!0),ye("div",{class:J(F(a).e("title"))},[We(o.$slots,"title",{},()=>[Cn(ft(o.title||F(r)("el.pageHeader.title")),1)])],2)],2),be(F(nce),{direction:"vertical"}),ye("div",{class:J(F(a).e("content"))},[We(o.$slots,"content",{},()=>[Cn(ft(o.content),1)])],2)],2),o.$slots.extra?(H(),le("div",{key:0,class:J(F(a).e("extra"))},[We(o.$slots,"extra")],2)):Pe("v-if",!0)],2),o.$slots.default?(H(),le("div",{key:1,class:J(F(a).e("main"))},[We(o.$slots,"default")],2)):Pe("v-if",!0)],2))}});var SUe=yt(wUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const AUe=fn(SUe),Cce=Symbol("elPaginationKey"),DUe=pt({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:mr}}),TUe={click:e=>e instanceof MouseEvent},kUe=["disabled","aria-label","aria-disabled"],_Ue={key:0},xUe=Ve({name:"ElPaginationPrev",__name:"prev",props:DUe,emits:TUe,setup(e){const t=e,{t:n}=xn(),r=R(()=>t.disabled||t.currentPage<=1);return(a,i)=>(H(),le("button",{type:"button",class:"btn-prev",disabled:r.value,"aria-label":a.prevText||F(n)("el.pagination.prev"),"aria-disabled":r.value,onClick:i[0]||(i[0]=o=>a.$emit("click",o))},[a.prevText?(H(),le("span",_Ue,ft(a.prevText),1)):(H(),Ue(F(Rt),{key:1},{default:Re(()=>[(H(),Ue(ln(a.prevIcon)))]),_:1}))],8,kUe))}});var MUe=yt(xUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const BUe=pt({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:mr}}),RUe=["disabled","aria-label","aria-disabled"],LUe={key:0},OUe=Ve({name:"ElPaginationNext",__name:"next",props:BUe,emits:["click"],setup(e){const t=e,{t:n}=xn(),r=R(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(a,i)=>(H(),le("button",{type:"button",class:"btn-next",disabled:r.value,"aria-label":a.nextText||F(n)("el.pagination.next"),"aria-disabled":r.value,onClick:i[0]||(i[0]=o=>a.$emit("click",o))},[a.nextText?(H(),le("span",LUe,ft(a.nextText),1)):(H(),Ue(F(Rt),{key:1},{default:Re(()=>[(H(),Ue(ln(a.nextIcon)))]),_:1}))],8,RUe))}});var PUe=yt(OUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const LP=()=>lt(Cce,{}),IUe=pt({pageSize:{type:Number,required:!0},pageSizes:{type:ke(Array),default:()=>da([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:ke([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:Ec},appendSizeTo:String}),NUe=Ve({name:"ElPaginationSizes",__name:"sizes",props:IUe,emits:["page-size-change"],setup(e,{emit:t}){const n=e,r=t,{t:a}=xn(),i=at("pagination"),o=LP(),l=j(n.pageSize);$e(()=>n.pageSizes,(c,d)=>{if(!ma(c,d)&&st(c)){const f=c.includes(n.pageSize)?n.pageSize:n.pageSizes[0];r("page-size-change",f)}}),$e(()=>n.pageSize,c=>{l.value=c});const s=R(()=>n.pageSizes);function u(c){var d;c!==l.value&&(l.value=c,(d=o.handleSizeChange)==null||d.call(o,Number(c)))}return(c,d)=>(H(),le("span",{class:J(F(i).e("sizes"))},[be(F(up),{"model-value":l.value,disabled:c.disabled,"popper-class":c.popperClass,"popper-style":c.popperStyle,size:c.size,teleported:c.teleported,"validate-event":!1,"append-to":c.appendSizeTo,onChange:u},{default:Re(()=>[(H(!0),le(kt,null,En(s.value,f=>(H(),Ue(F(s6),{key:f,value:f,label:f+F(a)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}});var $Ue=yt(NUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const VUe=pt({size:{type:String,values:Ec}}),HUe=["disabled"],zUe=Ve({name:"ElPaginationJumper",__name:"jumper",props:VUe,setup(e){const{t}=xn(),n=at("pagination"),{pageCount:r,disabled:a,currentPage:i,changeEvent:o}=LP(),l=j(),s=R(()=>{var d;return(d=l.value)!=null?d:i==null?void 0:i.value});function u(d){l.value=d?+d:""}function c(d){d=Math.trunc(+d),o==null||o(d),l.value=void 0}return(d,f)=>(H(),le("span",{class:J(F(n).e("jump")),disabled:F(a)},[ye("span",{class:J([F(n).e("goto")])},ft(F(t)("el.pagination.goto")),3),be(F(co),{size:d.size,class:J([F(n).e("editor"),F(n).is("in-pagination")]),min:1,max:F(r),disabled:F(a),"model-value":s.value,"validate-event":!1,"aria-label":F(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:c},null,8,["size","class","max","disabled","model-value","aria-label"]),ye("span",{class:J([F(n).e("classifier")])},ft(F(t)("el.pagination.pageClassifier")),3)],10,HUe))}});var WUe=yt(zUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const GUe=pt({total:{type:Number,default:1e3}}),jUe=["disabled"],KUe=Ve({name:"ElPaginationTotal",__name:"total",props:GUe,setup(e){const{t}=xn(),n=at("pagination"),{disabled:r}=LP();return(a,i)=>(H(),le("span",{class:J(F(n).e("total")),disabled:F(r)},ft(F(t)("el.pagination.total",{total:a.total})),11,jUe))}});var UUe=yt(KUe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const qUe=pt({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),YUe=["aria-current","aria-label","tabindex"],JUe=["tabindex","aria-label"],XUe=["aria-current","aria-label","tabindex"],ZUe=["tabindex","aria-label"],QUe=["aria-current","aria-label","tabindex"],eqe=Ve({name:"ElPaginationPager",__name:"pager",props:qUe,emits:[An],setup(e,{emit:t}){const n=e,r=t,a=at("pager"),i=at("icon"),{t:o}=xn(),l=j(!1),s=j(!1),u=j(!1),c=j(!1),d=j(!1),f=j(!1),p=R(()=>{const E=n.pagerCount,w=(E-1)/2,S=Number(n.currentPage),A=Number(n.pageCount);let D=!1,k=!1;A>E&&(S>E-w&&(D=!0),S["more","btn-quickprev",i.b(),a.is("disabled",n.disabled)]),m=R(()=>["more","btn-quicknext",i.b(),a.is("disabled",n.disabled)]),v=R(()=>n.disabled?-1:0);$e(()=>[n.pageCount,n.pagerCount,n.currentPage],([E,w,S])=>{const A=(w-1)/2;let D=!1,k=!1;E>w&&(D=S>w-A,k=SA&&(S=A)),S!==D&&r(An,S)}return(E,w)=>(H(),le("ul",{class:J(F(a).b()),onClick:y,onKeyup:ca(C,["enter"])},[E.pageCount>0?(H(),le("li",{key:0,class:J([[F(a).is("active",E.currentPage===1),F(a).is("disabled",E.disabled)],"number"]),"aria-current":E.currentPage===1,"aria-label":F(o)("el.pagination.currentPage",{pager:1}),tabindex:v.value}," 1 ",10,YUe)):Pe("v-if",!0),l.value?(H(),le("li",{key:1,class:J(h.value),tabindex:v.value,"aria-label":F(o)("el.pagination.prevPages",{pager:E.pagerCount-2}),onMouseenter:w[0]||(w[0]=S=>g(!0)),onMouseleave:w[1]||(w[1]=S=>u.value=!1),onFocus:w[2]||(w[2]=S=>b(!0)),onBlur:w[3]||(w[3]=S=>d.value=!1)},[(u.value||d.value)&&!E.disabled?(H(),Ue(F(ip),{key:0})):(H(),Ue(F(Pz),{key:1}))],42,JUe)):Pe("v-if",!0),(H(!0),le(kt,null,En(p.value,S=>(H(),le("li",{key:S,class:J([[F(a).is("active",E.currentPage===S),F(a).is("disabled",E.disabled)],"number"]),"aria-current":E.currentPage===S,"aria-label":F(o)("el.pagination.currentPage",{pager:S}),tabindex:v.value},ft(S),11,XUe))),128)),s.value?(H(),le("li",{key:2,class:J(m.value),tabindex:v.value,"aria-label":F(o)("el.pagination.nextPages",{pager:E.pagerCount-2}),onMouseenter:w[4]||(w[4]=S=>g()),onMouseleave:w[5]||(w[5]=S=>c.value=!1),onFocus:w[6]||(w[6]=S=>b()),onBlur:w[7]||(w[7]=S=>f.value=!1)},[(c.value||f.value)&&!E.disabled?(H(),Ue(F(op),{key:0})):(H(),Ue(F(Pz),{key:1}))],42,ZUe)):Pe("v-if",!0),E.pageCount>1?(H(),le("li",{key:3,class:J([[F(a).is("active",E.currentPage===E.pageCount),F(a).is("disabled",E.disabled)],"number"]),"aria-current":E.currentPage===E.pageCount,"aria-label":F(o)("el.pagination.currentPage",{pager:E.pageCount}),tabindex:v.value},ft(E.pageCount),11,QUe)):Pe("v-if",!0)],34))}});var tqe=yt(eqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const Eo=e=>typeof e!="number",nqe=pt({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:ke(Array),default:()=>da([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:ke([String,Object])},prevText:{type:String,default:""},prevIcon:{type:mr,default:()=>Ad},nextText:{type:String,default:""},nextIcon:{type:mr,default:()=>po},teleported:{type:Boolean,default:!0},small:Boolean,size:Xa,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),rqe={"update:current-page":e=>$t(e),"update:page-size":e=>$t(e),"size-change":e=>$t(e),change:(e,t)=>$t(e)&&$t(t),"current-change":e=>$t(e),"prev-click":e=>$t(e),"next-click":e=>$t(e)},eG="ElPagination";var aqe=Ve({name:eG,props:nqe,emits:rqe,setup(e,{emit:t,slots:n}){const{t:r}=xn(),a=at("pagination"),i=Jt().vnode.props||{},o=qle(),l=R(()=>{var E;return e.small?"small":(E=e.size)!=null?E:o.value});Qu({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},R(()=>!!e.small));const s="onUpdate:currentPage"in i||"onUpdate:current-page"in i||"onCurrentChange"in i,u="onUpdate:pageSize"in i||"onUpdate:page-size"in i||"onSizeChange"in i,c=R(()=>{if(Eo(e.total)&&Eo(e.pageCount)||!Eo(e.currentPage)&&!s)return!1;if(e.layout.includes("sizes")){if(Eo(e.pageCount)){if(!Eo(e.total)&&!Eo(e.pageSize)&&!u)return!1}else if(!u)return!1}return!0}),d=j(Eo(e.defaultPageSize)?10:e.defaultPageSize),f=j(Eo(e.defaultCurrentPage)?1:e.defaultCurrentPage),p=R({get(){return Eo(e.pageSize)?d.value:e.pageSize},set(E){Eo(e.pageSize)&&(d.value=E),u&&(t("update:page-size",E),t("size-change",E))}}),h=R(()=>{let E=0;return Eo(e.pageCount)?Eo(e.total)||(E=Math.max(1,Math.ceil(e.total/p.value))):E=e.pageCount,E}),m=R({get(){return Eo(e.currentPage)?f.value:e.currentPage},set(E){let w=E;E<1?w=1:E>h.value&&(w=h.value),Eo(e.currentPage)&&(f.value=w),s&&(t("update:current-page",w),t("current-change",w))}});$e(h,E=>{m.value>E&&(m.value=E)}),$e([m,p],E=>{t(An,...E)},{flush:"post"});function v(E){m.value=E}function g(E){p.value=E;const w=h.value;m.value>w&&(m.value=w)}function b(){e.disabled||(m.value-=1,t("prev-click",m.value))}function C(){e.disabled||(m.value+=1,t("next-click",m.value))}function y(E,w){E&&(E.props||(E.props={}),E.props.class=[E.props.class,w].join(" "))}return Qt(Cce,{pageCount:h,disabled:R(()=>e.disabled),currentPage:m,changeEvent:v,handleSizeChange:g}),()=>{var E,w;if(!c.value)return r("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&h.value<=1)return null;const S=[],A=[],D=W("div",{class:a.e("rightwrapper")},A),k={prev:W(MUe,{disabled:e.disabled,currentPage:m.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:b}),jumper:W(WUe,{size:l.value}),pager:W(tqe,{currentPage:m.value,pageCount:h.value,pagerCount:e.pagerCount,onChange:v,disabled:e.disabled}),next:W(PUe,{disabled:e.disabled,currentPage:m.value,pageCount:h.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:C}),sizes:W($Ue,{pageSize:p.value,pageSizes:e.pageSizes,popperClass:e.popperClass,popperStyle:e.popperStyle,disabled:e.disabled,teleported:e.teleported,size:l.value,appendSizeTo:e.appendSizeTo}),slot:(w=(E=n==null?void 0:n.default)==null?void 0:E.call(n))!=null?w:null,total:W(UUe,{total:Eo(e.total)?0:e.total})},x=e.layout.split(",").map(M=>M.trim());let _=!1;return x.forEach(M=>{if(M==="->"){_=!0;return}_?A.push(k[M]):S.push(k[M])}),y(S[0],a.is("first")),y(S[S.length-1],a.is("last")),_&&A.length>0&&(y(A[0],a.is("first")),y(A[A.length-1],a.is("last")),S.push(D)),W("div",{class:[a.b(),a.is("background",e.background),a.m(l.value)]},S)}}});const Fce=fn(aqe),iqe=pt({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:wM,default:"primary"},cancelButtonType:{type:String,values:wM,default:"text"},icon:{type:mr,default:()=>xRe},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:Et(Te({},pr.effect),{default:"light"}),teleported:pr.teleported,persistent:pr.persistent,width:{type:[String,Number],default:150},virtualTriggering:Zu.virtualTriggering,virtualRef:Zu.virtualRef}),oqe={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},lqe=Ve({name:"ElPopconfirm",__name:"popconfirm",props:iqe,emits:oqe,setup(e,{expose:t,emit:n}){const r=e,a=n,{t:i}=xn(),o=at("popconfirm"),l=j(),s=j(),u=R(()=>{var g;return(g=F(l))==null?void 0:g.popperRef}),c=()=>{var g,b;(b=(g=s.value)==null?void 0:g.focus)==null||b.call(g)},d=()=>{var g,b;(b=(g=l.value)==null?void 0:g.onClose)==null||b.call(g)},f=R(()=>({width:fa(r.width)})),p=g=>{a("confirm",g),d()},h=g=>{a("cancel",g),d()},m=R(()=>r.confirmButtonText||i("el.popconfirm.confirmButtonText")),v=R(()=>r.cancelButtonText||i("el.popconfirm.cancelButtonText"));return t({popperRef:u,hide:d}),(g,b)=>(H(),Ue(F(gi),tn({ref_key:"tooltipRef",ref:l,trigger:"click",effect:g.effect},g.$attrs,{"virtual-triggering":g.virtualTriggering,"virtual-ref":g.virtualRef,"popper-class":`${F(o).namespace.value}-popover`,"popper-style":f.value,teleported:g.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":g.hideAfter,persistent:g.persistent,loop:"",onShow:c}),{content:Re(()=>[ye("div",{ref_key:"rootRef",ref:s,tabindex:"-1",class:J(F(o).b())},[ye("div",{class:J(F(o).e("main"))},[!g.hideIcon&&g.icon?(H(),Ue(F(Rt),{key:0,class:J(F(o).e("icon")),style:Pt({color:g.iconColor})},{default:Re(()=>[(H(),Ue(ln(g.icon)))]),_:1},8,["class","style"])):Pe("v-if",!0),Cn(" "+ft(g.title),1)],2),ye("div",{class:J(F(o).e("action"))},[We(g.$slots,"actions",{confirm:p,cancel:h},()=>[be(F(ci),{size:"small",type:g.cancelButtonType==="text"?"":g.cancelButtonType,text:g.cancelButtonType==="text",onClick:h},{default:Re(()=>[Cn(ft(v.value),1)]),_:1},8,["type","text"]),be(F(ci),{size:"small",type:g.confirmButtonType==="text"?"":g.confirmButtonType,text:g.confirmButtonType==="text",onClick:p},{default:Re(()=>[Cn(ft(m.value),1)]),_:1},8,["type","text"])])],2)],2)]),default:Re(()=>[g.$slots.reference?We(g.$slots,"reference",{key:0}):Pe("v-if",!0)]),_:3},16,["effect","virtual-triggering","virtual-ref","popper-class","popper-style","teleported","hide-after","persistent"]))}});var sqe=yt(lqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const uqe=fn(sqe),cqe=pt({trigger:Zu.trigger,triggerKeys:Zu.triggerKeys,placement:K3.placement,disabled:Zu.disabled,visible:pr.visible,transition:pr.transition,popperOptions:K3.popperOptions,tabindex:K3.tabindex,content:pr.content,popperStyle:pr.popperStyle,popperClass:pr.popperClass,enterable:Et(Te({},pr.enterable),{default:!0}),effect:Et(Te({},pr.effect),{default:"light"}),teleported:pr.teleported,appendTo:pr.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}}),dqe={"update:visible":e=>hr(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},fqe="onUpdate:visible",pqe=Ve({name:"ElPopover",__name:"popover",props:cqe,emits:dqe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=R(()=>r[fqe]),o=at("popover"),l=j(),s=R(()=>{var g;return(g=F(l))==null?void 0:g.popperRef}),u=R(()=>[{width:fa(r.width)},r.popperStyle]),c=R(()=>[o.b(),r.popperClass,{[o.m("plain")]:!!r.content}]),d=R(()=>r.transition===`${o.namespace.value}-fade-in-linear`),f=()=>{var g;(g=l.value)==null||g.hide()},p=()=>{a("before-enter")},h=()=>{a("before-leave")},m=()=>{a("after-enter")},v=()=>{a("update:visible",!1),a("after-leave")};return t({popperRef:s,hide:f}),(g,b)=>(H(),Ue(F(gi),tn({ref_key:"tooltipRef",ref:l},g.$attrs,{trigger:g.trigger,"trigger-keys":g.triggerKeys,placement:g.placement,disabled:g.disabled,visible:g.visible,transition:g.transition,"popper-options":g.popperOptions,tabindex:g.tabindex,content:g.content,offset:g.offset,"show-after":g.showAfter,"hide-after":g.hideAfter,"auto-close":g.autoClose,"show-arrow":g.showArrow,"aria-label":g.title,effect:g.effect,enterable:g.enterable,"popper-class":c.value,"popper-style":u.value,teleported:g.teleported,"append-to":g.appendTo,persistent:g.persistent,"gpu-acceleration":d.value,"onUpdate:visible":i.value,onBeforeShow:p,onBeforeHide:h,onShow:m,onHide:v}),{content:Re(()=>[g.title?(H(),le("div",{key:0,class:J(F(o).e("title")),role:"title"},ft(g.title),3)):Pe("v-if",!0),We(g.$slots,"default",{},()=>[Cn(ft(g.content),1)])]),default:Re(()=>[g.$slots.reference?We(g.$slots,"reference",{key:0}):Pe("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"]))}});var hqe=yt(pqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const tG=(e,t)=>{const n=t.arg||t.value,r=n==null?void 0:n.popperRef;r&&(r.triggerRef=e)};var mqe={mounted(e,t){tG(e,t)},updated(e,t){tG(e,t)}};const vqe="popover",Ece=BBe(mqe,vqe),gqe=fn(hqe,{directive:Ece}),yqe=pt({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:ke(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:ke([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:ke(Function),default:e=>`${e}%`}}),bqe=["aria-valuenow"],Cqe={viewBox:"0 0 100 100"},Fqe=["d","stroke","stroke-linecap","stroke-width"],Eqe=["d","stroke","opacity","stroke-linecap","stroke-width"],wqe={key:0},Sqe=Ve({name:"ElProgress",__name:"progress",props:yqe,setup(e){const t={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},n=e,r=at("progress"),a=R(()=>{const C={width:`${n.percentage}%`,animationDuration:`${n.duration}s`},y=b(n.percentage);return y.includes("gradient")?C.background=y:C.backgroundColor=y,C}),i=R(()=>(n.strokeWidth/n.width*100).toFixed(1)),o=R(()=>["circle","dashboard"].includes(n.type)?Number.parseInt(`${50-Number.parseFloat(i.value)/2}`,10):0),l=R(()=>{const C=o.value,y=n.type==="dashboard";return` M 50 50 m 0 ${y?"":"-"}${C} a ${C} ${C} 0 1 1 0 ${y?"-":""}${C*2} a ${C} ${C} 0 1 1 0 ${y?"":"-"}${C*2} `}),s=R(()=>2*Math.PI*o.value),u=R(()=>n.type==="dashboard"?.75:1),c=R(()=>`${-1*s.value*(1-u.value)/2}px`),d=R(()=>({strokeDasharray:`${s.value*u.value}px, ${s.value}px`,strokeDashoffset:c.value})),f=R(()=>({strokeDasharray:`${s.value*u.value*(n.percentage/100)}px, ${s.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),p=R(()=>{let C;return n.color?C=b(n.percentage):C=t[n.status]||t.default,C}),h=R(()=>n.status==="warning"?w9:n.type==="line"?n.status==="success"?jO:Pd:n.status==="success"?$5:hs),m=R(()=>n.type==="line"?12+n.strokeWidth*.4:n.width*.111111+2),v=R(()=>n.format(n.percentage));function g(C){const y=100/C.length;return C.map((w,S)=>Bt(w)?{color:w,percentage:(S+1)*y}:w).sort((w,S)=>w.percentage-S.percentage)}const b=C=>{var y;const{color:E}=n;if(Lt(E))return E(C);if(Bt(E))return E;{const w=g(E);for(const S of w)if(S.percentage>C)return S.color;return(y=w[w.length-1])==null?void 0:y.color}};return(C,y)=>(H(),le("div",{class:J([F(r).b(),F(r).m(C.type),F(r).is(C.status),{[F(r).m("without-text")]:!C.showText,[F(r).m("text-inside")]:C.textInside}]),role:"progressbar","aria-valuenow":C.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[C.type==="line"?(H(),le("div",{key:0,class:J(F(r).b("bar"))},[ye("div",{class:J(F(r).be("bar","outer")),style:Pt({height:`${C.strokeWidth}px`})},[ye("div",{class:J([F(r).be("bar","inner"),{[F(r).bem("bar","inner","indeterminate")]:C.indeterminate},{[F(r).bem("bar","inner","striped")]:C.striped},{[F(r).bem("bar","inner","striped-flow")]:C.stripedFlow}]),style:Pt(a.value)},[(C.showText||C.$slots.default)&&C.textInside?(H(),le("div",{key:0,class:J(F(r).be("bar","innerText"))},[We(C.$slots,"default",{percentage:C.percentage},()=>[ye("span",null,ft(v.value),1)])],2)):Pe("v-if",!0)],6)],6)],2)):(H(),le("div",{key:1,class:J(F(r).b("circle")),style:Pt({height:`${C.width}px`,width:`${C.width}px`})},[(H(),le("svg",Cqe,[ye("path",{class:J(F(r).be("circle","track")),d:l.value,stroke:`var(${F(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":C.strokeLinecap,"stroke-width":i.value,fill:"none",style:Pt(d.value)},null,14,Fqe),ye("path",{class:J(F(r).be("circle","path")),d:l.value,stroke:p.value,fill:"none",opacity:C.percentage?1:0,"stroke-linecap":C.strokeLinecap,"stroke-width":i.value,style:Pt(f.value)},null,14,Eqe)]))],6)),(C.showText||C.$slots.default)&&!C.textInside?(H(),le("div",{key:2,class:J(F(r).e("text")),style:Pt({fontSize:`${m.value}px`})},[We(C.$slots,"default",{percentage:C.percentage},()=>[C.status?(H(),Ue(F(Rt),{key:1},{default:Re(()=>[(H(),Ue(ln(h.value)))]),_:1})):(H(),le("span",wqe,ft(v.value),1))])],6)):Pe("v-if",!0)],10,bqe))}});var Aqe=yt(Sqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const wce=fn(Aqe),Dqe=pt(Te({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:ke([Array,Object]),default:()=>da(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:ke([Array,Object]),default:()=>[e8,e8,e8]},voidIcon:{type:mr,default:()=>jRe},disabledVoidIcon:{type:mr,default:()=>e8},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:ke(Array),default:()=>da(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:Xa,clearable:Boolean},yo(["ariaLabel"]))),Tqe={[An]:e=>$t(e),[nn]:e=>$t(e)},kqe=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_qe=["onMousemove","onClick"],xqe=Ve({name:"ElRate",__name:"rate",props:Dqe,emits:Tqe,setup(e,{expose:t,emit:n}){function r(T,O){const N=z=>mn(z),V=Object.keys(O).map(z=>+z).filter(z=>{const ee=O[z];return(N(ee)?ee.excluded:!1)?Tz-ee),Y=O[V[0]];return N(Y)&&Y.value||Y}const a=e,i=n,o=lt(hc,void 0),l=ja(),s=at("rate"),{inputId:u,isLabeledByFormItem:c}=Nl(a,{formItemContext:o}),d=j(a.modelValue),f=j(-1),p=j(!0),h=j([]),m=R(()=>h.value.map(T=>T.$el.clientWidth)),v=R(()=>[s.b(),s.m(l.value)]),g=ha(),b=R(()=>s.cssVarBlock({"void-color":a.voidColor,"disabled-void-color":a.disabledVoidColor,"fill-color":w.value})),C=R(()=>{let T="";return a.showScore?T=a.scoreTemplate.replace(/\{\s*value\s*\}/,g.value?`${a.modelValue}`:`${d.value}`):a.showText&&(T=a.texts[Math.ceil(d.value)-1]),T}),y=R(()=>a.modelValue*100-Math.floor(a.modelValue)*100),E=R(()=>st(a.colors)?{[a.lowThreshold]:a.colors[0],[a.highThreshold]:{value:a.colors[1],excluded:!0},[a.max]:a.colors[2]}:a.colors),w=R(()=>{const T=r(d.value,E.value);return mn(T)?"":T}),S=R(()=>{let T="";return g.value?T=`${y.value}%`:a.allowHalf&&(T="50%"),{color:w.value,width:T}}),A=R(()=>{let T=st(a.icons)?[...a.icons]:Te({},a.icons);return T=Lo(T),st(T)?{[a.lowThreshold]:T[0],[a.highThreshold]:{value:T[1],excluded:!0},[a.max]:T[2]}:T}),D=R(()=>r(a.modelValue,A.value)),k=R(()=>g.value?Bt(a.disabledVoidIcon)?a.disabledVoidIcon:Lo(a.disabledVoidIcon):Bt(a.voidIcon)?a.voidIcon:Lo(a.voidIcon)),x=R(()=>r(d.value,A.value));function _(T){const O=g.value&&y.value>0&&T-1a.modelValue,N=a.allowHalf&&p.value&&T-.5<=d.value&&T>d.value;return O||N}function M(T){a.clearable&&T===a.modelValue&&(T=0),i(nn,T),a.modelValue!==T&&i(An,T)}function L(T){g.value||(a.allowHalf&&p.value?M(d.value):M(T))}function I(T){if(g.value)return;const O=Er(T),N=a.allowHalf?.5:1;let V=d.value;switch(O){case dt.up:case dt.right:V+=N;break;case dt.left:case dt.down:V-=N;break}if(V=g9(V,0,a.max),V!==d.value)return T.stopPropagation(),T.preventDefault(),i(nn,V),i(An,V),V}function P(T,O){g.value||(a.allowHalf&&O?(p.value=O.offsetX*2<=m.value[T-1],d.value=p.value?T-.5:T):d.value=T,f.value=T)}function B(){g.value||(a.allowHalf&&(p.value=a.modelValue!==Math.floor(a.modelValue)),d.value=a.modelValue,f.value=-1)}return $e(()=>a.modelValue,T=>{d.value=T,p.value=a.modelValue!==Math.floor(a.modelValue)}),a.modelValue||i(nn,0),t({setCurrentValue:P,resetCurrentValue:B}),(T,O)=>{var N;return H(),le("div",{id:F(u),class:J([v.value,F(s).is("disabled",F(g))]),role:"slider","aria-label":F(c)?void 0:T.ariaLabel||"rating","aria-labelledby":F(c)?(N=F(o))==null?void 0:N.labelId:void 0,"aria-valuenow":d.value,"aria-valuetext":C.value||void 0,"aria-valuemin":"0","aria-valuemax":T.max,tabindex:"0",style:Pt(b.value),onKeydown:I},[(H(!0),le(kt,null,En(T.max,(V,Y)=>(H(),le("span",{key:Y,class:J(F(s).e("item")),onMousemove:z=>P(V,z),onMouseleave:B,onClick:z=>L(V)},[be(F(Rt),{ref_for:!0,ref_key:"iconRefs",ref:h,class:J([F(s).e("icon"),{hover:f.value===V},F(s).is("active",V<=d.value),F(s).is("focus-visible",V===Math.ceil(d.value||1))])},{default:Re(()=>[hn((H(),Ue(ln(x.value),null,null,512)),[[In,!_(V)&&V<=d.value]]),hn((H(),Ue(ln(k.value),null,null,512)),[[In,!_(V)&&V>d.value]]),hn((H(),Ue(ln(k.value),{class:J([F(s).em("decimal","box")])},null,8,["class"])),[[In,_(V)]]),hn(be(F(Rt),{style:Pt(S.value),class:J([F(s).e("icon"),F(s).e("decimal")])},{default:Re(()=>[(H(),Ue(ln(D.value)))]),_:1},8,["style","class"]),[[In,_(V)]])]),_:2},1032,["class"])],42,_qe))),128)),T.showText||T.showScore?(H(),le("span",{key:0,class:J(F(s).e("text")),style:Pt({color:T.textColor})},ft(C.value),7)):Pe("v-if",!0)],46,kqe)}}});var Mqe=yt(xqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const Bqe=fn(Mqe),Sh={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},nG={[Sh.primary]:s2,[Sh.success]:rRe,[Sh.warning]:w9,[Sh.error]:KO,[Sh.info]:s2},Rqe=pt({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}}),Lqe=Ve({name:"ElResult",__name:"result",props:Rqe,setup(e){const t=e,n=at("result"),r=R(()=>{const a=t.icon,i=a&&Sh[a]?Sh[a]:"icon-info",o=nG[i]||nG["icon-info"];return{class:i,component:o}});return(a,i)=>(H(),le("div",{class:J(F(n).b())},[ye("div",{class:J(F(n).e("icon"))},[We(a.$slots,"icon",{},()=>[r.value.component?(H(),Ue(ln(r.value.component),{key:0,class:J(r.value.class)},null,8,["class"])):Pe("v-if",!0)])],2),a.title||a.$slots.title?(H(),le("div",{key:0,class:J(F(n).e("title"))},[We(a.$slots,"title",{},()=>[ye("p",null,ft(a.title),1)])],2)):Pe("v-if",!0),a.subTitle||a.$slots["sub-title"]?(H(),le("div",{key:1,class:J(F(n).e("subtitle"))},[We(a.$slots,"sub-title",{},()=>[ye("p",null,ft(a.subTitle),1)])],2)):Pe("v-if",!0),a.$slots.extra?(H(),le("div",{key:2,class:J(F(n).e("extra"))},[We(a.$slots,"extra")],2)):Pe("v-if",!0)],2))}});var Oqe=yt(Lqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const Pqe=fn(Oqe),Iqe=["start","center","end","space-around","space-between","space-evenly"],Nqe=["top","middle","bottom"],$qe=pt({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Iqe,default:"start"},align:{type:String,values:Nqe}}),Vqe=Ve({name:"ElRow",__name:"row",props:$qe,setup(e){const t=e,n=at("row"),r=R(()=>t.gutter);Qt(Fue,{gutter:r});const a=R(()=>{const o={};return t.gutter&&(o.marginRight=o.marginLeft=`-${t.gutter/2}px`),o}),i=R(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(o,l)=>(H(),Ue(ln(o.tag),{class:J(i.value),style:Pt(a.value)},{default:Re(()=>[We(o.$slots,"default")]),_:3},8,["class","style"]))}});var Hqe=yt(Vqe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const zqe=fn(Hqe),Wqe=Ve({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:at("select")}}});function Gqe(e,t,n,r,a,i){return H(),le("div",{class:J(e.ns.be("group","title")),style:Pt(Et(Te({},e.style),{lineHeight:`${e.height}px`}))},ft(e.item.label),7)}var jqe=yt(Wqe,[["render",Gqe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function Kqe(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const Uqe=pt(Te(Te({allowCreate:Boolean,autocomplete:{type:ke(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:mr,default:Pd},effect:{type:ke(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:{type:Boolean,default:void 0},estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:ke(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:ke([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:ke(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:ke(Array),required:!0},placeholder:{type:String},teleported:pr.teleported,persistent:{type:Boolean,default:!0},popperClass:pr.popperClass,popperStyle:pr.popperStyle,popperOptions:{type:ke(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:Xa,props:{type:ke(Object),default:()=>l6},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},placement:{type:ke(String),values:Sc,default:"bottom-start"},fallbackPlacements:{type:ke(Array),default:["bottom-start","top-start","right","left"]},tagType:Et(Te({},Td.type),{default:"info"}),tagEffect:Et(Te({},Td.effect),{default:"light"}),tabindex:{type:[String,Number],default:0},appendTo:pr.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return hr(e)||$t(e)}},suffixIcon:{type:mr,default:wc}},Xm),yo(["ariaLabel"]))),qqe=pt({data:Array,disabled:Boolean,hovering:Boolean,item:{type:ke(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),Yqe={[nn]:e=>!0,[An]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},Jqe={hover:e=>$t(e),select:(e,t)=>!0},OP=Symbol("ElSelectV2Injection"),Xqe=Ve({props:qqe,emits:Jqe,setup(e,{emit:t}){const n=lt(OP),r=at("select"),{hoverItem:a,selectOptionClick:i}=Kqe(e,{emit:t}),{getLabel:o}=j5(n.props),l=n.contentId;return{ns:r,contentId:l,hoverItem:a,selectOptionClick:i,getLabel:o}}}),Zqe=["id","aria-selected","aria-disabled"];function Qqe(e,t,n,r,a,i){return H(),le("li",{id:`${e.contentId}-${e.index}`,role:"option","aria-selected":e.selected,"aria-disabled":e.disabled||void 0,style:Pt(e.style),class:J([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:t[0]||(t[0]=(...o)=>e.hoverItem&&e.hoverItem(...o)),onClick:t[1]||(t[1]=Yt((...o)=>e.selectOptionClick&&e.selectOptionClick(...o),["stop"]))},[We(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[ye("span",null,ft(e.getLabel(e.item)),1)])],46,Zqe)}var eYe=yt(Xqe,[["render",Qqe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]),rG=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function tYe(e,t){return!!(e===t||rG(e)&&rG(t))}function nYe(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const t=Jt().proxy.$props;return R(()=>{const n=(r,a,i)=>({});return t.perfMode?m9(n):rYe(n)})},VM=50,g6="itemRendered",y6="scroll",d1="forward",b6="backward",is="auto",O9="smart",g2="start",Wu="center",y2="end",c0="horizontal",Ace="vertical",aYe="ltr",R1="rtl",b2="negative",PP="positive-ascending",IP="positive-descending",iYe={[c0]:"left",[Ace]:"top"},oYe=20,Dce=({atEndEdge:e,atStartEdge:t,layout:n},r)=>{let a,i=0;const o=s=>s<0&&t.value||s>0&&e.value;return{hasReachedEdge:o,onWheel:s=>{Sd(a);let{deltaX:u,deltaY:c}=s;s.shiftKey&&c!==0&&(u=c,c=0);const d=n.value===c0?u:c;o(d)||(i+=d,!qO()&&d!==0&&s.preventDefault(),a=fc(()=>{r(i),i=0}))}}},HM=du({type:ke([Number,Function]),required:!0}),zM=du({type:Number}),WM=du({type:Number,default:2}),lYe=du({type:String,values:["ltr","rtl"],default:"ltr"}),GM=du({type:Number,default:0}),C6=du({type:Number,required:!0}),Tce=du({type:String,values:["horizontal","vertical"],default:Ace}),kce=pt({className:{type:String,default:""},containerElement:{type:ke([String,Object]),default:"div"},data:{type:ke(Array),default:()=>da([])},direction:lYe,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:ke(Object),default:()=>({})},style:{type:ke([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),_ce=pt(Te({cache:WM,estimatedItemSize:zM,layout:Tce,initScrollOffset:GM,total:C6,itemSize:HM},kce)),jM={type:Number,default:6},xce={type:Number,default:0},Mce={type:Number,default:2},rm=pt(Te({columnCache:WM,columnWidth:HM,estimatedColumnWidth:zM,estimatedRowHeight:zM,initScrollLeft:GM,initScrollTop:GM,itemKey:{type:ke(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:WM,rowHeight:HM,totalColumn:C6,totalRow:C6,hScrollbarSize:jM,vScrollbarSize:jM,scrollbarStartGap:xce,scrollbarEndGap:Mce,role:String},kce)),Bce=pt({alwaysOn:Boolean,class:String,layout:Tce,total:C6,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:jM,startGap:xce,endGap:Mce,visible:Boolean}),Oh=(e,t)=>ee===aYe||e===R1||e===c0,aG=e=>e===R1;let Av=null;function F6(e=!1){if(Av===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const r=document.createElement("div"),a=r.style;return a.width="100px",a.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Av=IP:(t.scrollLeft=1,t.scrollLeft===0?Av=b2:Av=PP),document.body.removeChild(t),Av}return Av}function sYe({move:e,size:t,bar:n},r){const a={},i=`translate${n.axis}(${e}px)`;return a[n.size]=t,a.transform=i,r==="horizontal"?a.height="100%":a.width="100%",a}const KM=Ve({name:"ElVirtualScrollBar",props:Bce,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=R(()=>e.startGap+e.endGap),r=at("virtual-scrollbar"),a=at("scrollbar"),i=j(),o=j();let l=null,s=null;const u=dn({isDragging:!1,traveled:0}),c=R(()=>pse[e.layout]),d=R(()=>e.clientSize-F(n)),f=R(()=>({position:"absolute",width:`${c0===e.layout?d.value:e.scrollbarSize}px`,height:`${c0===e.layout?e.scrollbarSize:d.value}px`,[iYe[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),p=R(()=>{const w=e.ratio;if(w>=100)return Number.POSITIVE_INFINITY;if(w>=50)return w*d.value/100;const S=d.value/3;return Math.floor(Math.min(Math.max(w*d.value/100,oYe),S))}),h=R(()=>{if(!Number.isFinite(p.value))return{display:"none"};const w=`${p.value}px`;return sYe({bar:c.value,size:w,move:u.traveled},e.layout)}),m=R(()=>Math.ceil(e.clientSize-p.value-F(n))),v=()=>{window.addEventListener("mousemove",y),window.addEventListener("mouseup",C);const w=F(o);w&&(s=document.onselectstart,document.onselectstart=()=>!1,w.addEventListener("touchmove",y,{passive:!0}),w.addEventListener("touchend",C))},g=()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",C),document.onselectstart=s,s=null;const w=F(o);w&&(w.removeEventListener("touchmove",y),w.removeEventListener("touchend",C))},b=w=>{w.stopImmediatePropagation(),!(w.ctrlKey||[1,2].includes(w.button))&&(u.isDragging=!0,u[c.value.axis]=w.currentTarget[c.value.offset]-(w[c.value.client]-w.currentTarget.getBoundingClientRect()[c.value.direction]),t("start-move"),v())},C=()=>{u.isDragging=!1,u[c.value.axis]=0,t("stop-move"),g()},y=w=>{const{isDragging:S}=u;if(!S||!o.value||!i.value)return;const A=u[c.value.axis];if(!A)return;Sd(l);const D=(i.value.getBoundingClientRect()[c.value.direction]-w[c.value.client])*-1,k=o.value[c.value.offset]-A,x=D-k;l=fc(()=>{u.traveled=Math.max(0,Math.min(x,m.value)),t("scroll",x,m.value)})},E=w=>{const S=Math.abs(w.target.getBoundingClientRect()[c.value.direction]-w[c.value.client]),A=o.value[c.value.offset]/2,D=S-A;u.traveled=Math.max(0,Math.min(D,m.value)),t("scroll",D,m.value)};return $e(()=>e.scrollFrom,w=>{u.isDragging||(u.traveled=Math.ceil(w*m.value))}),Vn(()=>{g()}),()=>W("div",{role:"presentation",ref:i,class:[r.b(),e.class,(e.alwaysOn||u.isDragging)&&"always-on"],style:f.value,onMousedown:Yt(E,["stop","prevent"]),onTouchstartPrevent:b},W("div",{ref:o,class:a.e("thumb"),style:h.value,onMousedown:b},[]))}}),Rce=({name:e,getOffset:t,getItemSize:n,getItemOffset:r,getEstimatedTotalSize:a,getStartIndexForOffset:i,getStopIndexForStartIndex:o,initCache:l,clearCache:s,validateProps:u})=>Ve({name:e!=null?e:"ElVirtualList",props:_ce,emits:[g6,y6],setup(c,{emit:d,expose:f}){u(c);const p=Jt(),h=at("vl"),m=j(l(c,p)),v=Sce(),g=j(),b=j(),C=j(),y=j({isScrolling:!1,scrollDir:"forward",scrollOffset:$t(c.initScrollOffset)?c.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:c.scrollbarAlwaysOn}),E=R(()=>{const{total:z,cache:ee}=c,{isScrolling:ae,scrollDir:pe,scrollOffset:re}=F(y);if(z===0)return[0,0,0,0];const Q=i(c,re,F(m)),ie=o(c,Q,re,F(m)),X=!ae||pe===b6?Math.max(1,ee):1,q=!ae||pe===d1?Math.max(1,ee):1;return[Math.max(0,Q-X),Math.max(0,Math.min(z-1,ie+q)),Q,ie]}),w=R(()=>a(c,F(m))),S=R(()=>C2(c.layout)),A=R(()=>[{position:"relative",[`overflow-${S.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:c.direction,height:$t(c.height)?`${c.height}px`:c.height,width:$t(c.width)?`${c.width}px`:c.width},c.style]),D=R(()=>{const z=F(w),ee=F(S);return{height:ee?"100%":`${z}px`,pointerEvents:F(y).isScrolling?"none":void 0,width:ee?`${z}px`:"100%",margin:0,boxSizing:"border-box"}}),k=R(()=>S.value?c.width:c.height),{onWheel:x}=Dce({atStartEdge:R(()=>y.value.scrollOffset<=0),atEndEdge:R(()=>y.value.scrollOffset>=w.value),layout:R(()=>c.layout)},z=>{var ee,ae;(ae=(ee=C.value).onMouseUp)==null||ae.call(ee),B(Math.min(y.value.scrollOffset+z,w.value-k.value))});ir(g,"wheel",x,{passive:!1});const _=()=>{const{total:z}=c;if(z>0){const[re,Q,ie,X]=F(E);d(g6,re,Q,ie,X)}const{scrollDir:ee,scrollOffset:ae,updateRequested:pe}=F(y);d(y6,ee,ae,pe)},M=z=>{const{clientHeight:ee,scrollHeight:ae,scrollTop:pe}=z.currentTarget,re=F(y);if(re.scrollOffset===pe)return;const Q=Math.max(0,Math.min(pe,ae-ee));y.value=Et(Te({},re),{isScrolling:!0,scrollDir:Oh(re.scrollOffset,Q),scrollOffset:Q,updateRequested:!1}),Oe(N)},L=z=>{const{clientWidth:ee,scrollLeft:ae,scrollWidth:pe}=z.currentTarget,re=F(y);if(re.scrollOffset===ae)return;const{direction:Q}=c;let ie=ae;if(Q===R1)switch(F6()){case b2:{ie=-ae;break}case IP:{ie=pe-ee-ae;break}}ie=Math.max(0,Math.min(ie,pe-ee)),y.value=Et(Te({},re),{isScrolling:!0,scrollDir:Oh(re.scrollOffset,ie),scrollOffset:ie,updateRequested:!1}),Oe(N)},I=z=>{F(S)?L(z):M(z),_()},P=(z,ee)=>{const ae=(w.value-k.value)/ee*z;B(Math.min(w.value-k.value,ae))},B=z=>{z=Math.max(z,0),z!==F(y).scrollOffset&&(y.value=Et(Te({},F(y)),{scrollOffset:z,scrollDir:Oh(F(y).scrollOffset,z),updateRequested:!0}),Oe(N))},T=(z,ee=is)=>{const{scrollOffset:ae}=F(y);z=Math.max(0,Math.min(z,c.total-1)),B(t(c,z,ee,ae,F(m)))},O=z=>{const{direction:ee,itemSize:ae,layout:pe}=c,re=v.value(s&&ae,s&&pe,s&&ee);let Q;if(qn(re,String(z)))Q=re[z];else{const ie=r(c,z,F(m)),X=n(c,z,F(m)),q=F(S),ce=ee===R1,K=q?ie:0;re[z]=Q={position:"absolute",left:ce?void 0:`${K}px`,right:ce?`${K}px`:void 0,top:q?0:`${ie}px`,height:q?"100%":`${X}px`,width:q?`${X}px`:"100%"}}return Q},N=()=>{y.value.isScrolling=!1,Oe(()=>{v.value(-1,null,null)})},V=()=>{const z=g.value;z&&(z.scrollTop=0)};Ut(()=>{if(!Yn)return;const{initScrollOffset:z}=c,ee=F(g);$t(z)&&ee&&(F(S)?ee.scrollLeft=z:ee.scrollTop=z),_()}),Il(()=>{const{direction:z,layout:ee}=c,{scrollOffset:ae,updateRequested:pe}=F(y),re=F(g);if(pe&&re)if(ee===c0)if(z===R1)switch(F6()){case b2:{re.scrollLeft=-ae;break}case PP:{re.scrollLeft=ae;break}default:{const{clientWidth:Q,scrollWidth:ie}=re;re.scrollLeft=ie-Q-ae;break}}else re.scrollLeft=ae;else re.scrollTop=ae}),Km(()=>{F(g).scrollTop=F(y).scrollOffset});const Y={ns:h,clientSize:k,estimatedTotalSize:w,windowStyle:A,windowRef:g,innerRef:b,innerStyle:D,itemsToRender:E,scrollbarRef:C,states:y,getItemStyle:O,onScroll:I,onScrollbarScroll:P,onWheel:x,scrollTo:B,scrollToItem:T,resetScrollTop:V};return f({windowRef:g,innerRef:b,getItemStyleCache:v,scrollTo:B,scrollToItem:T,resetScrollTop:V,states:y}),Y},render(c){var d;const{$slots:f,className:p,clientSize:h,containerElement:m,data:v,getItemStyle:g,innerElement:b,itemsToRender:C,innerStyle:y,layout:E,total:w,onScroll:S,onScrollbarScroll:A,states:D,useIsScrolling:k,windowStyle:x,ns:_}=c,[M,L]=C,I=ln(m),P=ln(b),B=[];if(w>0)for(let V=M;V<=L;V++)B.push(W(kt,{key:V},(d=f.default)==null?void 0:d.call(f,{data:v,index:V,isScrolling:k?D.isScrolling:void 0,style:g(V)})));const T=[W(P,tn(c.innerProps,{style:y,ref:"innerRef"}),Bt(P)?B:{default:()=>B})],O=W(KM,{ref:"scrollbarRef",clientSize:h,layout:E,onScroll:A,ratio:h*100/this.estimatedTotalSize,scrollFrom:D.scrollOffset/(this.estimatedTotalSize-h),total:w,alwaysOn:D.scrollbarAlwaysOn}),N=W(I,{class:[_.e("window"),p],style:x,onScroll:S,ref:"windowRef",key:0},Bt(I)?[T]:{default:()=>[T]});return W("div",{key:0,class:[_.e("wrapper"),D.scrollbarAlwaysOn?"always-on":""]},[N,O])}}),Lce=Rce({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:r,width:a},i,o,l)=>{const s=C2(r)?a:e,u=Math.max(0,t*n-s),c=Math.min(u,i*n),d=Math.max(0,(i+1)*n-s);switch(o===O9&&(l>=d-s&&l<=c+s?o=is:o=Wu),o){case g2:return c;case y2:return d;case Wu:{const f=Math.round(d+(c-d)/2);return fu+Math.floor(s/2)?u:f}case is:default:return l>=d&&l<=c?l:lMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:r,width:a},i,o)=>{const l=i*n,s=C2(r)?a:e,u=Math.ceil((s+o-l)/n);return Math.max(0,Math.min(t-1,i+u-1))},initCache(){},clearCache:!0,validateProps(){}}),f1=(e,t,n)=>{const{itemSize:r}=e,{items:a,lastVisitedIndex:i}=n;if(t>i){let o=0;if(i>=0){const l=a[i];o=l.offset+l.size}for(let l=i+1;l<=t;l++){const s=r(l);a[l]={offset:o,size:s},o+=s}n.lastVisitedIndex=t}return a[t]},uYe=(e,t,n)=>{const{items:r,lastVisitedIndex:a}=t;return(a>0?r[a].offset:0)>=n?Oce(e,t,0,a,n):cYe(e,t,Math.max(0,a),n)},Oce=(e,t,n,r,a)=>{for(;n<=r;){const i=n+Math.floor((r-n)/2),o=f1(e,i,t).offset;if(o===a)return i;oa&&(r=i-1)}return Math.max(0,n-1)},cYe=(e,t,n,r)=>{const{total:a}=e;let i=1;for(;n{let a=0;if(r>=e&&(r=e-1),r>=0){const l=t[r];a=l.offset+l.size}const o=(e-r-1)*n;return a+o},dYe=Rce({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>f1(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:iG,getOffset:(e,t,n,r,a)=>{const{height:i,layout:o,width:l}=e,s=C2(o)?l:i,u=f1(e,t,a),c=iG(e,a),d=Math.max(0,Math.min(c-s,u.offset)),f=Math.max(0,u.offset-s+u.size);switch(n===O9&&(r>=f-s&&r<=d+s?n=is:n=Wu),n){case g2:return d;case y2:return f;case Wu:return Math.round(f+(d-f)/2);case is:default:return r>=f&&r<=d?r:ruYe(e,n,t),getStopIndexForStartIndex:(e,t,n,r)=>{const{height:a,total:i,layout:o,width:l}=e,s=C2(o)?l:a,u=f1(e,t,r),c=n+s;let d=u.offset+u.size,f=t;for(;f{var i,o;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,r-1),(i=t.exposed)==null||i.getItemStyleCache(-1),a&&((o=t.proxy)==null||o.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}}),fYe={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String};var pYe=Ve({name:"ElSelectDropdown",props:fYe,setup(e,{slots:t,expose:n}){const r=lt(OP),a=at("select"),{getLabel:i,getValue:o,getDisabled:l}=j5(r.props),s=j([]),u=j(),c=R(()=>e.data.length);$e(()=>c.value,()=>{var x,_;(_=(x=r.tooltipRef.value)==null?void 0:x.updatePopper)==null||_.call(x)});const d=R(()=>On(r.props.estimatedOptionHeight)),f=R(()=>d.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:x=>s.value[x]}),p=(x=[],_)=>{const{props:{valueKey:M}}=r;return mn(_)?x&&x.some(L=>dr(Ia(L,M))===Ia(_,M)):x.includes(_)},h=(x,_)=>{if(mn(_)){const{valueKey:M}=r.props;return Ia(x,M)===Ia(_,M)}else return x===_},m=(x,_)=>r.props.multiple?p(x,o(_)):h(x,o(_)),v=(x,_)=>{const{disabled:M,multiple:L,multipleLimit:I}=r.props;return M||!_&&(L?I>0&&x.length>=I:!1)},g=x=>e.hoveringIndex===x;n({listRef:u,isSized:d,isItemDisabled:v,isItemHovering:g,isItemSelected:m,scrollToItem:x=>{const _=u.value;_&&_.scrollToItem(x)},resetScrollTop:()=>{const x=u.value;x&&x.resetScrollTop()}});const E=x=>{const{index:_,data:M,style:L}=x,I=F(d),{itemSize:P,estimatedSize:B}=F(f),{modelValue:T}=r.props,{onSelect:O,onHover:N}=r,V=M[_];if(V.type==="Group")return be(jqe,{item:V,style:L,height:I?P:B},null);const Y=m(T,V),z=v(T,Y),ee=g(_);return be(eYe,tn(x,{selected:Y,disabled:l(V)||z,created:!!V.created,hovering:ee,item:V,onSelect:O,onHover:N}),{default:ae=>{var pe;return((pe=t.default)==null?void 0:pe.call(t,ae))||be("span",null,[i(V)])}})},{onKeyboardNavigate:w,onKeyboardSelect:S}=r,A=()=>{w("forward")},D=()=>{w("backward")},k=x=>{const _=Er(x),{tab:M,esc:L,down:I,up:P,enter:B,numpadEnter:T}=dt;switch([L,I,P,B,T].includes(_)&&(x.preventDefault(),x.stopPropagation()),_){case M:case L:break;case I:A();break;case P:D();break;case B:case T:S();break}};return()=>{var x,_,M,L;const{data:I,width:P}=e,{height:B,multiple:T,scrollbarAlwaysOn:O}=r.props,N=R(()=>a6?!0:O),V=F(d)?Lce:dYe;return be("div",{class:[a.b("dropdown"),a.is("multiple",T)],style:{width:`${P}px`}},[(x=t.header)==null?void 0:x.call(t),((_=t.loading)==null?void 0:_.call(t))||((M=t.empty)==null?void 0:M.call(t))||be(V,tn({ref:u},F(f),{className:a.be("dropdown","list"),scrollbarAlwaysOn:N.value,data:I,height:B,width:P,total:I.length,innerElement:"ul",innerProps:{id:e.id,role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},onKeydown:k}),{default:Y=>be(E,Y,null)}),(L=t.footer)==null?void 0:L.call(t)])}}});function hYe(e,t){const{aliasProps:n,getLabel:r,getValue:a}=j5(e),i=j(0),o=j(),l=R(()=>e.allowCreate&&e.filterable);$e(()=>e.options,p=>{const h=new Set(p.map(m=>r(m)));t.createdOptions=t.createdOptions.filter(m=>!h.has(r(m)))});function s(p){const h=m=>r(m)===p;return e.options&&e.options.some(h)||t.createdOptions.some(h)}function u(p){l.value&&(e.multiple&&p.created?i.value++:o.value=p)}function c(p){if(l.value)if(p&&p.length>0){if(s(p)){t.createdOptions=t.createdOptions.filter(m=>r(m)!==t.previousQuery);return}const h={[n.value.value]:p,[n.value.label]:p,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=i.value?t.createdOptions[i.value]=h:t.createdOptions.push(h)}else if(e.multiple)t.createdOptions.length=i.value;else{const h=o.value;t.createdOptions.length=0,h&&h.created&&t.createdOptions.push(h)}}function d(p){if(!l.value||!p||!p.created||p.created&&e.reserveKeyword&&t.inputValue===r(p))return;const h=t.createdOptions.findIndex(m=>a(m)===a(p));~h&&(t.createdOptions.splice(h,1),i.value--)}function f(){l.value&&(t.createdOptions.length=0,i.value=0)}return{createNewOption:c,removeNewOption:d,selectNewOption:u,clearAllNewOption:f}}const mYe=(e,t)=>{const{t:n}=xn(),r=pa(),a=at("select"),i=at("input"),{form:o,formItem:l}=Ci(),{inputId:s}=Nl(e,{formItemContext:l}),{aliasProps:u,getLabel:c,getValue:d,getDisabled:f,getOptions:p}=j5(e),{valueOnClear:h,isEmptyValue:m}=I5(e),v=dn({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),g=j(-1),b=j(!1),C=j(),y=j(),E=j(),w=j(),S=j(),A=j(),D=j(),k=j(),x=j(),_=j(),{isComposing:M,handleCompositionStart:L,handleCompositionEnd:I,handleCompositionUpdate:P}=z5({afterComposition:mt=>cr(mt)}),B=ha(),{wrapperRef:T,isFocused:O,handleBlur:N}=Id(S,{disabled:B,afterFocus(){e.automaticDropdown&&!ee.value&&(ee.value=!0,v.menuVisibleOnFocus=!0)},beforeBlur(mt){var jt,sn;return((jt=E.value)==null?void 0:jt.isFocusInsideContent(mt))||((sn=w.value)==null?void 0:sn.isFocusInsideContent(mt))},afterBlur(){var mt;ee.value=!1,v.menuVisibleOnFocus=!1,e.validateEvent&&((mt=l==null?void 0:l.validate)==null||mt.call(l,"blur").catch(jt=>void 0))}}),V=R(()=>te("")),Y=R(()=>e.loading?!1:e.options.length>0||v.createdOptions.length>0),z=j([]),ee=j(!1),ae=R(()=>{var mt;return(mt=o==null?void 0:o.statusIcon)!=null?mt:!1}),pe=R(()=>{const mt=z.value.length*e.itemHeight;return mt>e.height?e.height:mt}),re=R(()=>e.multiple?st(e.modelValue)&&e.modelValue.length>0:!m(e.modelValue)),Q=R(()=>e.clearable&&!B.value&&re.value&&(O.value||v.inputHovering)),ie=R(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),X=R(()=>ie.value&&a.is("reverse",ee.value)),q=R(()=>(l==null?void 0:l.validateState)||""),ce=R(()=>{if(q.value)return S9[q.value]}),K=R(()=>e.remote?e.debounce:0),Z=R(()=>e.remote&&!v.inputValue&&!Y.value),se=R(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&v.inputValue&&Y.value&&z.value.length===0?e.noMatchText||n("el.select.noMatch"):Y.value?null:e.noDataText||n("el.select.noData")),Fe=R(()=>e.filterable&&Lt(e.filterMethod)),me=R(()=>e.filterable&&e.remote&&Lt(e.remoteMethod)),te=mt=>{const jt=new RegExp(uP(mt),"i"),sn=vn=>Fe.value||me.value?!0:mt?jt.test(c(vn)||""):!0;return e.loading?[]:[...v.createdOptions,...e.options].reduce((vn,$r)=>{const Va=p($r);if(st(Va)){const Ei=Va.filter(sn);Ei.length>0&&vn.push({label:c($r),type:"Group"},...Ei)}else(e.remote||sn($r))&&vn.push($r);return vn},[])},ue=()=>{z.value=te(v.inputValue)},Se=R(()=>{const mt=new Map;return V.value.forEach((jt,sn)=>{mt.set(Ft(d(jt)),{option:jt,index:sn})}),mt}),Ae=R(()=>{const mt=new Map;return z.value.forEach((jt,sn)=>{mt.set(Ft(d(jt)),{option:jt,index:sn})}),mt}),Ne=R(()=>z.value.every(mt=>f(mt))),je=ja(),De=R(()=>je.value==="small"?"small":"default"),he=()=>{var mt;if($t(e.fitInputWidth)){g.value=e.fitInputWidth;return}const jt=((mt=C.value)==null?void 0:mt.offsetWidth)||200;!e.fitInputWidth&&Y.value?Oe(()=>{g.value=Math.max(jt,He())}):g.value=jt},He=()=>{var mt,jt;const vn=document.createElement("canvas").getContext("2d"),$r=a.be("dropdown","item"),Ei=(((jt=(mt=k.value)==null?void 0:mt.listRef)==null?void 0:jt.innerRef)||document).querySelector(`.${$r}`);if(Ei===null||vn===null)return 0;const Pi=getComputedStyle(Ei),Ji=Number.parseFloat(Pi.paddingLeft)+Number.parseFloat(Pi.paddingRight);return vn.font=`bold ${Pi.font.replace(new RegExp(`\\b${Pi.fontWeight}\\b`),"")}`,z.value.reduce((wi,Ra)=>{const yl=vn.measureText(c(Ra));return Math.max(yl.width,wi)},0)+Ji},xe=()=>{if(!y.value)return 0;const mt=window.getComputedStyle(y.value);return Number.parseFloat(mt.gap||"6px")},qe=R(()=>{const mt=xe(),jt=e.filterable?mt+k9:0;return{maxWidth:`${_.value&&e.maxCollapseTags===1?v.selectionWidth-v.collapseItemWidth-mt-jt:v.selectionWidth-jt}px`}}),ve=R(()=>({maxWidth:`${v.selectionWidth}px`})),Ge=R(()=>st(e.modelValue)?e.modelValue.length===0&&!v.inputValue:e.filterable?!v.inputValue:!0),Ke=R(()=>{var mt;const jt=(mt=e.placeholder)!=null?mt:n("el.select.placeholder");return e.multiple||!re.value?jt:v.selectedLabel}),rt=R(()=>{var mt,jt;return(jt=(mt=E.value)==null?void 0:mt.popperRef)==null?void 0:jt.contentRef}),nt=R(()=>{if(e.multiple){const mt=e.modelValue.length;if(mt>0&&Ae.value.has(e.modelValue[mt-1])){const{index:jt}=Ae.value.get(e.modelValue[mt-1]);return jt}}else if(!m(e.modelValue)&&Ae.value.has(e.modelValue)){const{index:mt}=Ae.value.get(e.modelValue);return mt}return-1}),ze=R({get(){return ee.value&&(e.loading||!Z.value||e.remote&&!!r.empty)&&(!b.value||!Bo(v.previousQuery))},set(mt){ee.value=mt}}),Ie=R(()=>e.multiple?e.collapseTags?v.cachedOptions.slice(0,e.maxCollapseTags):v.cachedOptions:[]),ge=R(()=>e.multiple?e.collapseTags?v.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:oe,removeNewOption:Xe,selectNewOption:it,clearAllNewOption:xt}=hYe(e,v),Ee=mt=>{var jt;B.value||e.filterable&&ee.value&&mt&&!((jt=D.value)!=null&&jt.contains(mt.target))||(v.menuVisibleOnFocus?v.menuVisibleOnFocus=!1:ee.value=!ee.value)},pn=()=>{v.inputValue.length>0&&!ee.value&&(ee.value=!0),oe(v.inputValue),Oe(()=>{ct(v.inputValue)})},Qe=L5(()=>{pn(),b.value=!1},K),ct=mt=>{v.previousQuery===mt||M.value||(v.previousQuery=mt,e.filterable&&Lt(e.filterMethod)?e.filterMethod(mt):e.filterable&&e.remote&&Lt(e.remoteMethod)&&e.remoteMethod(mt),e.defaultFirstOption&&(e.filterable||e.remote)&&z.value.length?Oe(gt):Oe(bn))},gt=()=>{const mt=z.value.filter(vn=>!vn.disabled&&vn.type!=="Group"),jt=mt.find(vn=>vn.created),sn=mt[0];v.hoveringIndex=bt(z.value,jt||sn)},an=mt=>{ma(e.modelValue,mt)||t(An,mt)},Wt=mt=>{t(nn,mt),an(mt),v.previousValue=e.multiple?String(mt):mt,Oe(()=>{if(e.multiple&&st(e.modelValue)){const jt=v.cachedOptions.slice(),sn=e.modelValue.map(vn=>Ur(vn,jt));ma(v.cachedOptions,sn)||(v.cachedOptions=sn)}else Za(!0)})},bt=(mt=[],jt)=>{if(!mn(jt))return mt.indexOf(jt);const sn=e.valueKey;let vn=-1;return mt.some(($r,Va)=>Ia($r,sn)===Ia(jt,sn)?(vn=Va,!0):!1),vn},Ft=mt=>mn(mt)?Ia(mt,e.valueKey):mt,It=()=>{he()},Nn=()=>{v.selectionWidth=Number.parseFloat(window.getComputedStyle(y.value).width)},Kn=()=>{v.collapseItemWidth=_.value.getBoundingClientRect().width},Sr=()=>{var mt,jt;(jt=(mt=E.value)==null?void 0:mt.updatePopper)==null||jt.call(mt)},Pr=()=>{var mt,jt;(jt=(mt=w.value)==null?void 0:mt.updatePopper)==null||jt.call(mt)},xr=mt=>{const jt=d(mt);if(e.multiple){let sn=e.modelValue.slice();const vn=bt(sn,jt);vn>-1?(sn=[...sn.slice(0,vn),...sn.slice(vn+1)],v.cachedOptions.splice(vn,1),Xe(mt)):(e.multipleLimit<=0||sn.length{let sn=e.modelValue.slice();const vn=bt(sn,d(jt));vn>-1&&!B.value&&(sn=[...e.modelValue.slice(0,vn),...e.modelValue.slice(vn+1)],v.cachedOptions.splice(vn,1),Wt(sn),t("remove-tag",d(jt)),Xe(jt)),mt.stopPropagation(),ur()},ur=()=>{var mt;(mt=S.value)==null||mt.focus()},Mr=()=>{var mt;if(ee.value){ee.value=!1,Oe(()=>{var jt;return(jt=S.value)==null?void 0:jt.blur()});return}(mt=S.value)==null||mt.blur()},Tr=()=>{v.inputValue.length>0?v.inputValue="":ee.value=!1},jr=mt=>Rle(mt,jt=>!v.cachedOptions.some(sn=>d(sn)===jt&&f(sn))),ba=mt=>{const jt=Er(mt);if(e.multiple&&jt!==dt.delete&&v.inputValue.length===0){mt.preventDefault();const sn=e.modelValue.slice(),vn=jr(sn);if(vn<0)return;const $r=sn[vn];sn.splice(vn,1);const Va=v.cachedOptions[vn];v.cachedOptions.splice(vn,1),Xe(Va),Wt(sn),t("remove-tag",$r)}},Kr=()=>{let mt;st(e.modelValue)?mt=[]:mt=h.value,v.selectedLabel="",ee.value=!1,Wt(mt),t("clear"),xt(),ur()},wa=(mt,jt=void 0)=>{const sn=z.value;if(!["forward","backward"].includes(mt)||B.value||sn.length<=0||Ne.value||M.value)return;if(!ee.value)return Ee();On(jt)&&(jt=v.hoveringIndex);let vn=-1;mt==="forward"?(vn=jt+1,vn>=sn.length&&(vn=0)):mt==="backward"&&(vn=jt-1,(vn<0||vn>=sn.length)&&(vn=sn.length-1));const $r=sn[vn];if(f($r)||$r.type==="Group")return wa(mt,vn);v.hoveringIndex=vn,Nr(vn)},ut=()=>{if(ee.value)~v.hoveringIndex&&z.value[v.hoveringIndex]&&xr(z.value[v.hoveringIndex]);else return Ee()},Vt=mt=>{v.hoveringIndex=mt!=null?mt:-1},bn=()=>{if(!e.multiple)v.hoveringIndex=z.value.findIndex(mt=>Ft(d(mt))===Ft(e.modelValue));else{const mt=e.modelValue.length;if(mt>0){const jt=e.modelValue[mt-1];v.hoveringIndex=z.value.findIndex(sn=>Ft(jt)===Ft(d(sn)))}else v.hoveringIndex=-1}},cr=mt=>{if(v.inputValue=mt.target.value,e.remote)b.value=!0,Qe();else return pn()},kr=mt=>{if(ee.value=!1,O.value){const jt=new FocusEvent("blur",mt);N(jt)}},Sa=()=>(v.isBeforeHide=!1,Oe(()=>{~nt.value&&Nr(nt.value)})),Nr=mt=>{k.value.scrollToItem(mt)},Ur=(mt,jt)=>{const sn=Ft(mt);if(Se.value.has(sn)){const{option:vn}=Se.value.get(sn);return vn}if(jt&&jt.length){const vn=jt.find($r=>Ft(d($r))===sn);if(vn)return vn}return{[u.value.value]:mt,[u.value.label]:mt}},Ba=mt=>{var jt,sn;return(sn=(jt=Se.value.get(d(mt)))==null?void 0:jt.index)!=null?sn:-1},Za=(mt=!1)=>{if(e.multiple)if(e.modelValue.length>0){const jt=v.cachedOptions.slice();v.cachedOptions.length=0,v.previousValue=e.modelValue.toString();for(const sn of e.modelValue){const vn=Ur(sn,jt);v.cachedOptions.push(vn)}}else v.cachedOptions=[],v.previousValue=void 0;else if(re.value){v.previousValue=e.modelValue;const jt=z.value,sn=jt.findIndex(vn=>Ft(d(vn))===Ft(e.modelValue));~sn?v.selectedLabel=c(jt[sn]):(!v.selectedLabel||mt)&&(v.selectedLabel=Ft(e.modelValue))}else v.selectedLabel="",v.previousValue=void 0;xt(),he()};$e(()=>e.fitInputWidth,()=>{he()}),$e(ee,mt=>{mt?(e.persistent||he(),ct("")):(v.inputValue="",v.previousQuery=null,v.isBeforeHide=!0,oe(""))}),$e(()=>e.modelValue,(mt,jt)=>{var sn;(!mt||st(mt)&&mt.length===0||e.multiple&&!ma(mt.toString(),v.previousValue)||!e.multiple&&Ft(mt)!==Ft(v.previousValue))&&Za(!0),!ma(mt,jt)&&e.validateEvent&&((sn=l==null?void 0:l.validate)==null||sn.call(l,"change").catch($r=>void 0))},{deep:!0}),$e(()=>e.options,()=>{const mt=S.value;(!mt||mt&&document.activeElement!==mt)&&Za()},{deep:!0,flush:"post"}),$e(()=>z.value,()=>(he(),k.value&&Oe(k.value.resetScrollTop))),No(()=>{v.isBeforeHide||ue()}),No(()=>{const{valueKey:mt,options:jt}=e,sn=new Map;for(const vn of jt){const $r=d(vn);let Va=$r;if(mn(Va)&&(Va=Ia($r,mt)),sn.get(Va))break;sn.set(Va,!0)}}),Ut(()=>{Za()}),zr(C,It),zr(y,Nn),zr(T,Sr),zr(x,Pr),zr(_,Kn);let Fi;return $e(()=>ze.value,mt=>{mt?Fi=zr(k,Sr).stop:(Fi==null||Fi(),Fi=void 0),t("visible-change",mt)}),{inputId:s,collapseTagSize:De,currentPlaceholder:Ke,expanded:ee,emptyText:se,popupHeight:pe,debounce:K,allOptions:V,allOptionsValueMap:Se,filteredOptions:z,iconComponent:ie,iconReverse:X,tagStyle:qe,collapseTagStyle:ve,popperSize:g,dropdownMenuVisible:ze,hasModelValue:re,shouldShowPlaceholder:Ge,selectDisabled:B,selectSize:je,needStatusIcon:ae,showClearBtn:Q,states:v,isFocused:O,nsSelect:a,nsInput:i,inputRef:S,menuRef:k,tagMenuRef:x,tooltipRef:E,tagTooltipRef:w,selectRef:C,wrapperRef:T,selectionRef:y,prefixRef:A,suffixRef:D,collapseItemRef:_,popperRef:rt,validateState:q,validateIcon:ce,showTagList:Ie,collapseTagList:ge,debouncedOnInputChange:Qe,deleteTag:ta,getLabel:c,getValue:d,getDisabled:f,getValueKey:Ft,getIndex:Ba,handleClear:Kr,handleClickOutside:kr,handleDel:ba,handleEsc:Tr,focus:ur,blur:Mr,handleMenuEnter:Sa,handleResize:It,resetSelectionWidth:Nn,updateTooltip:Sr,updateTagTooltip:Pr,updateOptions:ue,toggleMenu:Ee,scrollTo:Nr,onInput:cr,onKeyboardNavigate:wa,onKeyboardSelect:ut,onSelect:xr,onHover:Vt,handleCompositionStart:L,handleCompositionEnd:I,handleCompositionUpdate:P}},vYe=Ve({name:"ElSelectV2",components:{ElSelectMenu:pYe,ElTag:hd,ElTooltip:gi,ElIcon:Rt},directives:{ClickOutside:sp},props:Uqe,emits:Yqe,setup(e,{emit:t}){const n=R(()=>{const{modelValue:s,multiple:u}=e,c=u?[]:void 0;return st(s)?u?s:c:u?c:s}),r=mYe(dn(Et(Te({},Na(e)),{modelValue:n})),t),{calculatorRef:a,inputStyle:i}=fP(),o=Li();Qt(OP,{props:dn(Et(Te({},Na(e)),{height:r.popupHeight,modelValue:n})),expanded:r.expanded,tooltipRef:r.tooltipRef,contentId:o,onSelect:r.onSelect,onHover:r.onHover,onKeyboardNavigate:r.onKeyboardNavigate,onKeyboardSelect:r.onKeyboardSelect});const l=R(()=>e.multiple?r.states.cachedOptions.map(s=>r.getLabel(s)):r.states.selectedLabel);return Et(Te({},r),{modelValue:n,selectedLabel:l,calculatorRef:a,inputStyle:i,contentId:o,BORDER_HORIZONTAL_WIDTH:tue})}}),gYe=["id","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name"],yYe=["textContent"],bYe={key:1};function CYe(e,t,n,r,a,i){const o=en("el-tag"),l=en("el-tooltip"),s=en("el-icon"),u=en("el-select-menu"),c=q0("click-outside");return hn((H(),le("div",{ref:"selectRef",class:J([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[15]||(t[15]=d=>e.states.inputHovering=!0),onMouseleave:t[16]||(t[16]=d=>e.states.inputHovering=!1)},[be(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:t[14]||(t[14]=d=>e.states.isBeforeHide=!1)},{default:Re(()=>{var d,f;return[ye("div",{ref:"wrapperRef",class:J([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:t[11]||(t[11]=Yt((...p)=>e.toggleMenu&&e.toggleMenu(...p),["prevent"]))},[e.$slots.prefix?(H(),le("div",{key:0,ref:"prefixRef",class:J(e.nsSelect.e("prefix"))},[We(e.$slots,"prefix")],2)):Pe("v-if",!0),ye("div",{ref:"selectionRef",class:J([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?We(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(H(!0),le(kt,null,En(e.showTagList,p=>(H(),le("div",{key:e.getValueKey(e.getValue(p)),class:J(e.nsSelect.e("selected-item"))},[be(o,{closable:!e.selectDisabled&&!e.getDisabled(p),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Pt(e.tagStyle),onClose:h=>e.deleteTag(h,p)},{default:Re(()=>[ye("span",{class:J(e.nsSelect.e("tags-text"))},[We(e.$slots,"label",{index:e.getIndex(p),label:e.getLabel(p),value:e.getValue(p)},()=>[Cn(ft(e.getLabel(p)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(H(),Ue(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported,"popper-options":e.popperOptions},{default:Re(()=>[ye("div",{ref:"collapseItemRef",class:J(e.nsSelect.e("selected-item"))},[be(o,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:Pt(e.collapseTagStyle),"disable-transitions":""},{default:Re(()=>[ye("span",{class:J(e.nsSelect.e("tags-text"))}," + "+ft(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:Re(()=>[ye("div",{ref:"tagMenuRef",class:J(e.nsSelect.e("selection"))},[(H(!0),le(kt,null,En(e.collapseTagList,p=>(H(),le("div",{key:e.getValueKey(e.getValue(p)),class:J(e.nsSelect.e("selected-item"))},[be(o,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(p),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:h=>e.deleteTag(h,p)},{default:Re(()=>[ye("span",{class:J(e.nsSelect.e("tags-text"))},[We(e.$slots,"label",{index:e.getIndex(p),label:e.getLabel(p),value:e.getValue(p)},()=>[Cn(ft(e.getLabel(p)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):Pe("v-if",!0)]):Pe("v-if",!0),ye("div",{class:J([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable||e.selectDisabled)])},[hn(ye("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t[0]||(t[0]=p=>e.states.inputValue=p),style:Pt(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:J([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox","aria-controls":e.contentId,"aria-activedescendant":e.states.hoveringIndex>=0?`${e.contentId}-${e.states.hoveringIndex}`:"",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:t[1]||(t[1]=(...p)=>e.onInput&&e.onInput(...p)),onCompositionstart:t[2]||(t[2]=(...p)=>e.handleCompositionStart&&e.handleCompositionStart(...p)),onCompositionupdate:t[3]||(t[3]=(...p)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...p)),onCompositionend:t[4]||(t[4]=(...p)=>e.handleCompositionEnd&&e.handleCompositionEnd(...p)),onKeydown:[t[5]||(t[5]=ca(Yt(p=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[6]||(t[6]=ca(Yt(p=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[7]||(t[7]=ca(Yt((...p)=>e.onKeyboardSelect&&e.onKeyboardSelect(...p),["stop","prevent"]),["enter"])),t[8]||(t[8]=ca(Yt((...p)=>e.handleEsc&&e.handleEsc(...p),["stop","prevent"]),["esc"])),t[9]||(t[9]=ca(Yt((...p)=>e.handleDel&&e.handleDel(...p),["stop"]),["delete"]))],onClick:t[10]||(t[10]=Yt((...p)=>e.toggleMenu&&e.toggleMenu(...p),["stop"]))},null,46,gYe),[[tp,e.states.inputValue]]),e.filterable?(H(),le("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:J(e.nsSelect.e("input-calculator")),textContent:ft(e.states.inputValue)},null,10,yYe)):Pe("v-if",!0)],2),e.shouldShowPlaceholder?(H(),le("div",{key:1,class:J([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?We(e.$slots,"label",{key:0,index:(f=(d=e.allOptionsValueMap.get(e.modelValue))==null?void 0:d.index)!=null?f:-1,label:e.currentPlaceholder,value:e.modelValue},()=>[ye("span",null,ft(e.currentPlaceholder),1)]):(H(),le("span",bYe,ft(e.currentPlaceholder),1))],2)):Pe("v-if",!0)],2),ye("div",{ref:"suffixRef",class:J(e.nsSelect.e("suffix"))},[e.iconComponent?hn((H(),Ue(s,{key:0,class:J([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:Re(()=>[(H(),Ue(ln(e.iconComponent)))]),_:1},8,["class"])),[[In,!e.showClearBtn]]):Pe("v-if",!0),e.showClearBtn&&e.clearIcon?(H(),Ue(s,{key:1,class:J([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:Yt(e.handleClear,["prevent","stop"])},{default:Re(()=>[(H(),Ue(ln(e.clearIcon)))]),_:1},8,["class","onClick"])):Pe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(H(),Ue(s,{key:2,class:J([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:Re(()=>[(H(),Ue(ln(e.validateIcon)))]),_:1},8,["class"])):Pe("v-if",!0)],2)],2)]}),content:Re(()=>[be(u,{id:e.contentId,ref:"menuRef",data:e.filteredOptions,width:e.popperSize-e.BORDER_HORIZONTAL_WIDTH,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn,"aria-label":e.ariaLabel},Ri({default:Re(d=>[We(e.$slots,"default",qu(Yu(d)))]),_:2},[e.$slots.header?{name:"header",fn:Re(()=>[ye("div",{class:J(e.nsSelect.be("dropdown","header")),onClick:t[12]||(t[12]=Yt(()=>{},["stop"]))},[We(e.$slots,"header")],2)]),key:"0"}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:Re(()=>[ye("div",{class:J(e.nsSelect.be("dropdown","loading"))},[We(e.$slots,"loading")],2)]),key:"1"}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:Re(()=>[ye("div",{class:J(e.nsSelect.be("dropdown","empty"))},[We(e.$slots,"empty",{},()=>[ye("span",null,ft(e.emptyText),1)])],2)]),key:"2"}:void 0,e.$slots.footer?{name:"footer",fn:Re(()=>[ye("div",{class:J(e.nsSelect.be("dropdown","footer")),onClick:t[13]||(t[13]=Yt(()=>{},["stop"]))},[We(e.$slots,"footer")],2)]),key:"3"}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],34)),[[c,e.handleClickOutside,e.popperRef]])}var FYe=yt(vYe,[["render",CYe],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);const EYe=fn(FYe),wYe=pt({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:ke([Number,Object])}}),SYe=pt({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),AYe=Ve({name:"ElSkeletonItem",__name:"skeleton-item",props:SYe,setup(e){const t=at("skeleton");return(n,r)=>(H(),le("div",{class:J([F(t).e("item"),F(t).e(n.variant)])},[n.variant==="image"?(H(),Ue(F(TRe),{key:0})):Pe("v-if",!0)],2))}});var E6=yt(AYe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const DYe=(e,t=0)=>{if(t===0)return e;const n=mn(t)&&!!t.initVal,r=j(n);let a=null;const i=l=>{if(On(l)){r.value=e.value;return}a&&clearTimeout(a),a=setTimeout(()=>{r.value=e.value},l)},o=l=>{l==="leading"?$t(t)?i(t):i(t.leading):mn(t)?i(t.trailing):r.value=!1};return Ut(()=>o("leading")),$e(()=>e.value,l=>{o(l?"leading":"trailing")}),r},TYe=Ve({name:"ElSkeleton",__name:"skeleton",props:wYe,setup(e,{expose:t}){const n=e,r=at("skeleton"),a=DYe(Qn(n,"loading"),n.throttle);return t({uiLoading:a}),(i,o)=>F(a)?(H(),le("div",tn({key:0,class:[F(r).b(),F(r).is("animated",i.animated)]},i.$attrs),[(H(!0),le(kt,null,En(i.count,l=>(H(),le(kt,{key:l},[F(a)?We(i.$slots,"template",{key:l},()=>[be(E6,{class:J(F(r).is("first")),variant:"p"},null,8,["class"]),(H(!0),le(kt,null,En(i.rows,s=>(H(),Ue(E6,{key:s,class:J([F(r).e("paragraph"),F(r).is("last",s===i.rows&&i.rows>1)]),variant:"p"},null,8,["class"]))),128))]):Pe("v-if",!0)],64))),128))],16)):We(i.$slots,"default",qu(tn({key:1},i.$attrs)))}});var kYe=yt(TYe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const _Ye=fn(kYe,{SkeletonItem:E6}),xYe=sa(E6),Pce=Symbol("sliderContextKey"),MYe=pt(Te({modelValue:{type:ke([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Xa,inputSize:Xa,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:ke(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:ke(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Sc,default:"top"},marks:{type:ke(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0}},yo(["ariaLabel"]))),QE=e=>$t(e)||st(e)&&e.every($t),BYe={[nn]:QE,[Ga]:QE,[An]:QE},RYe=pt({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Sc,default:"top"}}),LYe={[nn]:e=>$t(e)},OYe=(e,t,n)=>{const r=j(),a=j(!1),i=R(()=>t.value instanceof Function),o=R(()=>i.value&&t.value(e.modelValue)||e.modelValue),l=dc(()=>{n.value&&(a.value=!0)},50),s=dc(()=>{n.value&&(a.value=!1)},50);return{tooltip:r,tooltipVisible:a,formatValue:o,displayTooltip:l,hideTooltip:s}},PYe=(e,t,n)=>{const{disabled:r,min:a,max:i,step:o,showTooltip:l,persistent:s,precision:u,sliderSize:c,formatTooltip:d,emitChange:f,resetSize:p,updateDragging:h}=lt(Pce),{tooltip:m,tooltipVisible:v,formatValue:g,displayTooltip:b,hideTooltip:C}=OYe(e,d,l),y=j(),E=R(()=>`${(e.modelValue-a.value)/(i.value-a.value)*100}%`),w=R(()=>e.vertical?{bottom:E.value}:{left:E.value}),S=()=>{t.hovering=!0,b()},A=()=>{t.hovering=!1,t.dragging||C()},D=z=>{r.value||(z.preventDefault(),O(z),window.addEventListener("mousemove",N),window.addEventListener("touchmove",N),window.addEventListener("mouseup",V),window.addEventListener("touchend",V),window.addEventListener("contextmenu",V),y.value.focus())},k=z=>{r.value||(t.newPosition=Number.parseFloat(E.value)+z/(i.value-a.value)*100,Y(t.newPosition),f())},x=()=>{k(-o.value)},_=()=>{k(o.value)},M=()=>{k(-o.value*4)},L=()=>{k(o.value*4)},I=()=>{r.value||(Y(0),f())},P=()=>{r.value||(Y(100),f())},B=z=>{const ee=Er(z);let ae=!0;switch(ee){case dt.left:case dt.down:x();break;case dt.right:case dt.up:_();break;case dt.home:I();break;case dt.end:P();break;case dt.pageDown:M();break;case dt.pageUp:L();break;default:ae=!1;break}ae&&z.preventDefault()},T=z=>{let ee,ae;return z.type.startsWith("touch")?(ae=z.touches[0].clientY,ee=z.touches[0].clientX):(ae=z.clientY,ee=z.clientX),{clientX:ee,clientY:ae}},O=z=>{t.dragging=!0,t.isClick=!0;const{clientX:ee,clientY:ae}=T(z);e.vertical?t.startY=ae:t.startX=ee,t.startPosition=Number.parseFloat(E.value),t.newPosition=t.startPosition},N=z=>{if(t.dragging){t.isClick=!1,b(),p();let ee;const{clientX:ae,clientY:pe}=T(z);e.vertical?(t.currentY=pe,ee=(t.startY-t.currentY)/c.value*100):(t.currentX=ae,ee=(t.currentX-t.startX)/c.value*100),t.newPosition=t.startPosition+ee,Y(t.newPosition)}},V=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||C(),t.isClick||Y(t.newPosition),f()},0),window.removeEventListener("mousemove",N),window.removeEventListener("touchmove",N),window.removeEventListener("mouseup",V),window.removeEventListener("touchend",V),window.removeEventListener("contextmenu",V))},Y=z=>Xt(null,null,function*(){if(z===null||Number.isNaN(+z))return;z=g9(z,0,100);const ee=Math.floor((i.value-a.value)/o.value),ae=ee*o.value/(i.value-a.value)*100,pe=ae+(100-ae)/2;let re;if(zt.dragging,z=>{h(z)}),ir(y,"touchstart",D,{passive:!1}),{disabled:r,button:y,tooltip:m,tooltipVisible:v,showTooltip:l,persistent:s,wrapperStyle:w,formatValue:g,handleMouseEnter:S,handleMouseLeave:A,onButtonDown:D,onKeyDown:B,setPosition:Y}},IYe=["tabindex"],NYe=Ve({name:"ElSliderButton",__name:"button",props:RYe,emits:LYe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=at("slider"),o=dn({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:r.modelValue}),l=R(()=>d.value?f.value:!1),{disabled:s,button:u,tooltip:c,showTooltip:d,persistent:f,tooltipVisible:p,wrapperStyle:h,formatValue:m,handleMouseEnter:v,handleMouseLeave:g,onButtonDown:b,onKeyDown:C,setPosition:y}=PYe(r,o,a),{hovering:E,dragging:w}=Na(o);return t({onButtonDown:b,onKeyDown:C,setPosition:y,hovering:E,dragging:w}),(S,A)=>(H(),le("div",{ref_key:"button",ref:u,class:J([F(i).e("button-wrapper"),{hover:F(E),dragging:F(w)}]),style:Pt(F(h)),tabindex:F(s)?void 0:0,onMouseenter:A[0]||(A[0]=(...D)=>F(v)&&F(v)(...D)),onMouseleave:A[1]||(A[1]=(...D)=>F(g)&&F(g)(...D)),onMousedown:A[2]||(A[2]=(...D)=>F(b)&&F(b)(...D)),onFocus:A[3]||(A[3]=(...D)=>F(v)&&F(v)(...D)),onBlur:A[4]||(A[4]=(...D)=>F(g)&&F(g)(...D)),onKeydown:A[5]||(A[5]=(...D)=>F(C)&&F(C)(...D))},[be(F(gi),{ref_key:"tooltip",ref:c,visible:F(p),placement:S.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":S.tooltipClass,disabled:!F(d),persistent:l.value},{content:Re(()=>[ye("span",null,ft(F(m)),1)]),default:Re(()=>[ye("div",{class:J([F(i).e("button"),{hover:F(E),dragging:F(w)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,IYe))}});var oG=yt(NYe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const $Ye=pt({mark:{type:ke([String,Object]),default:void 0}});var VYe=Ve({name:"ElSliderMarker",props:$Ye,setup(e){const t=at("slider"),n=R(()=>Bt(e.mark)?e.mark:e.mark.label),r=R(()=>Bt(e.mark)?void 0:e.mark.style);return()=>W("div",{class:t.e("marks-text"),style:r.value},n.value)}});const HYe=(e,t,n)=>{const{formItem:r}=Ci(),a=Zn(),i=j(),o=j(),l={firstButton:i,secondButton:o},s=ha(),u=R(()=>Math.min(t.firstValue,t.secondValue)),c=R(()=>Math.max(t.firstValue,t.secondValue)),d=R(()=>e.range?`${100*(c.value-u.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),f=R(()=>e.range?`${100*(u.value-e.min)/(e.max-e.min)}%`:"0%"),p=R(()=>e.vertical?{height:e.height}:{}),h=R(()=>e.vertical?{height:d.value,bottom:f.value}:{width:d.value,left:f.value}),m=()=>{if(a.value){const x=a.value.getBoundingClientRect();t.sliderSize=x[e.vertical?"height":"width"]}},v=x=>{const _=e.min+x*(e.max-e.min)/100;if(!e.range)return i;let M;return Math.abs(u.value-_)t.secondValue?"firstButton":"secondButton",l[M]},g=x=>{const _=v(x);return _.value.setPosition(x),_},b=x=>{t.firstValue=x!=null?x:e.min,y(e.range?[u.value,c.value]:x!=null?x:e.min)},C=x=>{t.secondValue=x,e.range&&y([u.value,c.value])},y=x=>{n(nn,x),n(Ga,x)},E=()=>Xt(null,null,function*(){yield Oe(),n(An,e.range?[u.value,c.value]:e.modelValue)}),w=x=>{var _,M,L,I,P,B;if(s.value||t.dragging)return;m();let T=0;if(e.vertical){const O=(L=(M=(_=x.touches)==null?void 0:_.item(0))==null?void 0:M.clientY)!=null?L:x.clientY;T=(a.value.getBoundingClientRect().bottom-O)/t.sliderSize*100}else{const O=(B=(P=(I=x.touches)==null?void 0:I.item(0))==null?void 0:P.clientX)!=null?B:x.clientX,N=a.value.getBoundingClientRect().left;T=(O-N)/t.sliderSize*100}if(!(T<0||T>100))return g(T)};return{elFormItem:r,slider:a,firstButton:i,secondButton:o,sliderDisabled:s,minValue:u,maxValue:c,runwayStyle:p,barStyle:h,resetSize:m,setPosition:g,emitChange:E,onSliderWrapperPrevent:x=>{var _,M;((_=l.firstButton.value)!=null&&_.dragging||(M=l.secondButton.value)!=null&&M.dragging)&&x.preventDefault()},onSliderClick:x=>{w(x)&&E()},onSliderDown:x=>Xt(null,null,function*(){const _=w(x);_&&(yield Oe(),_.value.onButtonDown(x))}),onSliderMarkerDown:x=>{if(s.value||t.dragging)return;g(x)&&E()},setFirstValue:b,setSecondValue:C}},zYe=(e,t,n,r)=>({stops:R(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const o=Math.ceil((e.max-e.min)/e.step),l=100*e.step/(e.max-e.min),s=Array.from({length:o-1}).map((u,c)=>(c+1)*l);return e.range?s.filter(u=>u<100*(n.value-e.min)/(e.max-e.min)||u>100*(r.value-e.min)/(e.max-e.min)):s.filter(u=>u>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:o=>e.vertical?{bottom:`${o}%`}:{left:`${o}%`}}),WYe=e=>R(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,r)=>n-r).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),GYe=(e,t,n,r,a,i)=>{const o=u=>{a(nn,u),a(Ga,u)},l=()=>e.range?![n.value,r.value].every((u,c)=>u===t.oldValue[c]):e.modelValue!==t.oldValue,s=()=>{var u,c;e.min>e.max&&$a("Slider","min should not be greater than max.");const d=e.modelValue;e.range&&st(d)?d[1]e.max?o([e.max,e.max]):d[0]e.max?o([d[0],e.max]):(t.firstValue=d[0],t.secondValue=d[1],l()&&(e.validateEvent&&((u=i==null?void 0:i.validate)==null||u.call(i,"change").catch(f=>void 0)),t.oldValue=d.slice())):!e.range&&$t(d)&&!Number.isNaN(d)&&(de.max?o(e.max):(t.firstValue=d,l()&&(e.validateEvent&&((c=i==null?void 0:i.validate)==null||c.call(i,"change").catch(f=>void 0)),t.oldValue=d)))};s(),$e(()=>t.dragging,u=>{u||s()}),$e(()=>e.modelValue,(u,c)=>{t.dragging||st(u)&&st(c)&&u.every((d,f)=>d===c[f])&&t.firstValue===u[0]&&t.secondValue===u[1]||s()},{deep:!0}),$e(()=>[e.min,e.max],()=>{s()})},jYe=(e,t,n)=>{const r=j();return Ut(()=>Xt(null,null,function*(){e.range?(st(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]):(!$t(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),ir(window,"resize",n),yield Oe(),n()})),{sliderWrapper:r}},KYe=["id","role","aria-label","aria-labelledby"],UYe={key:1},qYe=Ve({name:"ElSlider",__name:"slider",props:MYe,emits:BYe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=at("slider"),{t:o}=xn(),l=dn({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:s,slider:u,firstButton:c,secondButton:d,sliderDisabled:f,minValue:p,maxValue:h,runwayStyle:m,barStyle:v,resetSize:g,emitChange:b,onSliderWrapperPrevent:C,onSliderClick:y,onSliderDown:E,onSliderMarkerDown:w,setFirstValue:S,setSecondValue:A}=HYe(r,l,a),{stops:D,getStopStyle:k}=zYe(r,l,p,h),{inputId:x,isLabeledByFormItem:_}=Nl(r,{formItemContext:s}),M=ja(),L=R(()=>r.inputSize||M.value),I=R(()=>r.ariaLabel||o("el.slider.defaultLabel",{min:r.min,max:r.max})),P=R(()=>r.range?r.rangeStartLabel||o("el.slider.defaultRangeStartLabel"):I.value),B=R(()=>r.formatValueText?r.formatValueText(ee.value):`${ee.value}`),T=R(()=>r.rangeEndLabel||o("el.slider.defaultRangeEndLabel")),O=R(()=>r.formatValueText?r.formatValueText(ae.value):`${ae.value}`),N=R(()=>[i.b(),i.m(M.value),i.is("vertical",r.vertical),{[i.m("with-input")]:r.showInput}]),V=WYe(r);GYe(r,l,p,h,a,s);const Y=R(()=>{const Q=[r.min,r.max,r.step].map(ie=>{const X=`${ie}`.split(".")[1];return X?X.length:0});return Math.max.apply(null,Q)}),{sliderWrapper:z}=jYe(r,l,g),{firstValue:ee,secondValue:ae,sliderSize:pe}=Na(l),re=Q=>{l.dragging=Q};return ir(z,"touchstart",C,{passive:!1}),ir(z,"touchmove",C,{passive:!1}),Qt(Pce,Et(Te({},Na(r)),{sliderSize:pe,disabled:f,precision:Y,emitChange:b,resetSize:g,updateDragging:re})),t({onSliderClick:y}),(Q,ie)=>{var X,q;return H(),le("div",{id:Q.range?F(x):void 0,ref_key:"sliderWrapper",ref:z,class:J(N.value),role:Q.range?"group":void 0,"aria-label":Q.range&&!F(_)?I.value:void 0,"aria-labelledby":Q.range&&F(_)?(X=F(s))==null?void 0:X.labelId:void 0},[ye("div",{ref_key:"slider",ref:u,class:J([F(i).e("runway"),{"show-input":Q.showInput&&!Q.range},F(i).is("disabled",F(f))]),style:Pt(F(m)),onMousedown:ie[0]||(ie[0]=(...ce)=>F(E)&&F(E)(...ce)),onTouchstartPassive:ie[1]||(ie[1]=(...ce)=>F(E)&&F(E)(...ce))},[ye("div",{class:J(F(i).e("bar")),style:Pt(F(v))},null,6),be(oG,{id:Q.range?void 0:F(x),ref_key:"firstButton",ref:c,"model-value":F(ee),vertical:Q.vertical,"tooltip-class":Q.tooltipClass,placement:Q.placement,role:"slider","aria-label":Q.range||!F(_)?P.value:void 0,"aria-labelledby":!Q.range&&F(_)?(q=F(s))==null?void 0:q.labelId:void 0,"aria-valuemin":Q.min,"aria-valuemax":Q.range?F(ae):Q.max,"aria-valuenow":F(ee),"aria-valuetext":B.value,"aria-orientation":Q.vertical?"vertical":"horizontal","aria-disabled":F(f),"onUpdate:modelValue":F(S)},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"]),Q.range?(H(),Ue(oG,{key:0,ref_key:"secondButton",ref:d,"model-value":F(ae),vertical:Q.vertical,"tooltip-class":Q.tooltipClass,placement:Q.placement,role:"slider","aria-label":T.value,"aria-valuemin":F(ee),"aria-valuemax":Q.max,"aria-valuenow":F(ae),"aria-valuetext":O.value,"aria-orientation":Q.vertical?"vertical":"horizontal","aria-disabled":F(f),"onUpdate:modelValue":F(A)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):Pe("v-if",!0),Q.showStops?(H(),le("div",UYe,[(H(!0),le(kt,null,En(F(D),(ce,K)=>(H(),le("div",{key:K,class:J(F(i).e("stop")),style:Pt(F(k)(ce))},null,6))),128))])):Pe("v-if",!0),F(V).length>0?(H(),le(kt,{key:2},[ye("div",null,[(H(!0),le(kt,null,En(F(V),(ce,K)=>(H(),le("div",{key:K,style:Pt(F(k)(ce.position)),class:J([F(i).e("stop"),F(i).e("marks-stop")])},null,6))),128))]),ye("div",{class:J(F(i).e("marks"))},[(H(!0),le(kt,null,En(F(V),(ce,K)=>(H(),Ue(F(VYe),{key:K,mark:ce.mark,style:Pt(F(k)(ce.position)),onMousedown:Yt(Z=>F(w)(ce.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):Pe("v-if",!0)],38),Q.showInput&&!Q.range?(H(),Ue(F(mce),{key:0,ref:"input","model-value":F(ee),class:J(F(i).e("input")),step:Q.step,disabled:F(f),controls:Q.showInputControls,min:Q.min,max:Q.max,precision:Y.value,size:L.value,"onUpdate:modelValue":F(S),onChange:F(b)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):Pe("v-if",!0)],10,KYe)}}});var YYe=yt(qYe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const JYe=fn(YYe),XYe=pt({prefixCls:{type:String}}),lG=Ve({name:"ElSpaceItem",props:XYe,setup(e,{slots:t}){const n=at("space"),r=R(()=>`${e.prefixCls||n.b()}__item`);return()=>W("div",{class:r.value},We(t,"default"))}}),sG={small:8,default:12,large:16};function ZYe(e){const t=at("space"),n=R(()=>[t.b(),t.m(e.direction),e.class]),r=j(0),a=j(0),i=R(()=>{const l=e.wrap||e.fill?{flexWrap:"wrap"}:{},s={alignItems:e.alignment},u={rowGap:`${a.value}px`,columnGap:`${r.value}px`};return[l,s,u,e.style]}),o=R(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return No(()=>{const{size:l="small",wrap:s,direction:u,fill:c}=e;if(st(l)){const[d=0,f=0]=l;r.value=d,a.value=f}else{let d;$t(l)?d=l:d=sG[l||"small"]||sG.small,(s||c)&&u==="horizontal"?r.value=a.value=d:u==="horizontal"?(r.value=d,a.value=0):(a.value=d,r.value=0)}}),{classes:n,containerStyle:i,itemStyle:o}}const QYe=pt({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:ke([String,Object,Array]),default:""},style:{type:ke([String,Array,Object]),default:""},alignment:{type:ke(String),default:"center"},prefixCls:{type:String},spacer:{type:ke([Object,String,Number,Array]),default:null,validator:e=>sr(e)||$t(e)||Bt(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:Ec,validator:e=>$t(e)||st(e)&&e.length===2&&e.every($t)}}),eJe=Ve({name:"ElSpace",props:QYe,setup(e,{slots:t}){const{classes:n,containerStyle:r,itemStyle:a}=ZYe(e);function i(o,l="",s=[]){const{prefixCls:u}=e;return o.forEach((c,d)=>{bM(c)?st(c.children)&&c.children.forEach((f,p)=>{bM(f)&&st(f.children)?i(f.children,`${l+p}-`,s):sr(f)&&(f==null?void 0:f.type)===ia?s.push(f):s.push(be(lG,{style:a.value,prefixCls:u,key:`nested-${l+p}`},{default:()=>[f]},Jl.PROPS|Jl.STYLE,["style","prefixCls"]))}):nLe(c)&&s.push(be(lG,{style:a.value,prefixCls:u,key:`LoopKey${l+d}`},{default:()=>[c]},Jl.PROPS|Jl.STYLE,["style","prefixCls"]))}),s}return()=>{var o;const{spacer:l,direction:s}=e,u=We(t,"default",{key:0},()=>[]);if(((o=u.children)!=null?o:[]).length===0)return null;if(st(u.children)){let c=i(u.children);if(l){const d=c.length-1;c=c.reduce((f,p,h)=>{const m=[...f,p];return h!==d&&m.push(be("span",{style:[a.value,s==="vertical"?"width: 100%":null],key:h},[sr(l)?l:Cn(l,Jl.TEXT)],Jl.STYLE)),m},[])}return be("div",{class:n.value,style:r.value},c,Jl.STYLE|Jl.CLASS)}return u.children}}}),tJe=fn(eJe),nJe=pt({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:ke([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:ke([String,Object,Array])}}),rJe=Ve({name:"ElStatistic",__name:"statistic",props:nJe,setup(e,{expose:t}){const n=e,r=at("statistic"),a=R(()=>{const{value:i,formatter:o,precision:l,decimalSeparator:s,groupSeparator:u}=n;if(Lt(o))return o(i);if(!$t(i)||Number.isNaN(i))return i;let[c,d=""]=String(i).split(".");return d=d.padEnd(l,"0").slice(0,l>0?l:0),c=c.replace(/\B(?=(\d{3})+(?!\d))/g,u),[c,d].join(d?s:"")});return t({displayValue:a}),(i,o)=>(H(),le("div",{class:J(F(r).b())},[i.$slots.title||i.title?(H(),le("div",{key:0,class:J(F(r).e("head"))},[We(i.$slots,"title",{},()=>[Cn(ft(i.title),1)])],2)):Pe("v-if",!0),ye("div",{class:J(F(r).e("content"))},[i.$slots.prefix||i.prefix?(H(),le("div",{key:0,class:J(F(r).e("prefix"))},[We(i.$slots,"prefix",{},()=>[ye("span",null,ft(i.prefix),1)])],2)):Pe("v-if",!0),ye("span",{class:J(F(r).e("number")),style:Pt(i.valueStyle)},ft(a.value),7),i.$slots.suffix||i.suffix?(H(),le("div",{key:1,class:J(F(r).e("suffix"))},[We(i.$slots,"suffix",{},()=>[ye("span",null,ft(i.suffix),1)])],2)):Pe("v-if",!0)],2)],2))}});var aJe=yt(rJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);const Ice=fn(aJe),iJe=pt({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:ke([Number,Object]),default:0},valueStyle:{type:ke([String,Object,Array])}}),oJe={finish:()=>!0,[An]:e=>$t(e)},lJe=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],uG=e=>$t(e)?new Date(e).getTime():e.valueOf(),cG=(e,t)=>{let n=e;const r=/\[([^\]]*)]/g;return lJe.reduce((i,[o,l])=>{const s=new RegExp(`${o}+(?![^\\[\\]]*\\])`,"g");if(s.test(i)){const u=Math.floor(n/l);return n-=u*l,i.replace(s,c=>String(u).padStart(c.length,"0"))}return i},t).replace(r,"$1")},sJe=Ve({name:"ElCountdown",__name:"countdown",props:iJe,emits:oJe,setup(e,{expose:t,emit:n}){const r=e,a=n;let i;const o=j(0),l=R(()=>cG(o.value,r.format)),s=d=>cG(d,r.format),u=()=>{i&&(Sd(i),i=void 0)},c=()=>{const d=uG(r.value),f=()=>{let p=d-Date.now();a(An,p),p<=0?(p=0,u(),a("finish")):i=fc(f),o.value=p};i=fc(f)};return Ut(()=>{o.value=uG(r.value)-Date.now(),$e(()=>[r.value,r.format],()=>{u(),c()},{immediate:!0})}),Vn(()=>{u()}),t({displayValue:l}),(d,f)=>(H(),Ue(F(Ice),{value:o.value,title:d.title,prefix:d.prefix,suffix:d.suffix,"value-style":d.valueStyle,formatter:s},Ri({_:2},[En(d.$slots,(p,h)=>({name:h,fn:Re(()=>[We(d.$slots,h)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var uJe=yt(sJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/countdown/src/countdown.vue"]]);const cJe=fn(uJe),dJe=pt({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),fJe={[An]:(e,t)=>[e,t].every($t)},Nce="ElSteps",pJe=Ve({name:"ElSteps",__name:"steps",props:dJe,emits:fJe,setup(e,{emit:t}){const n=e,r=t,a=at("steps"),{children:i,addChild:o,removeChild:l,ChildrenSorter:s}=_9(Jt(),"ElStep");return $e(i,()=>{i.value.forEach((u,c)=>{u.setIndex(c)})}),Qt(Nce,{props:n,steps:i,addStep:o,removeStep:l}),$e(()=>n.active,(u,c)=>{r(An,u,c)}),(u,c)=>(H(),le("div",{class:J([F(a).b(),F(a).m(u.simple?"simple":u.direction)])},[We(u.$slots,"default"),be(F(s))],2))}});var hJe=yt(pJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/steps.vue"]]);const mJe=pt({title:{type:String,default:""},icon:{type:mr},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),vJe=Ve({name:"ElStep",__name:"item",props:mJe,setup(e){const t=e,n=at("step"),r=j(-1),a=j({}),i=j(""),o=lt(Nce),l=Jt();let s=0,u=0;Ut(()=>{$e([()=>o.props.active,()=>o.props.processStatus,()=>o.props.finishStatus],([A],[D])=>{u=D||0,s=A-u,w(A)},{immediate:!0})});const c=R(()=>t.status||i.value),d=R(()=>{const A=o.steps.value[r.value-1];return A?A.internalStatus.value:"wait"}),f=R(()=>o.props.alignCenter),p=R(()=>o.props.direction==="vertical"),h=R(()=>o.props.simple),m=R(()=>o.steps.value.length),v=R(()=>{var A;return((A=o.steps.value[m.value-1])==null?void 0:A.uid)===l.uid}),g=R(()=>h.value?"":o.props.space),b=R(()=>[n.b(),n.is(h.value?"simple":o.props.direction),n.is("flex",v.value&&!g.value&&!f.value),n.is("center",f.value&&!p.value&&!h.value)]),C=R(()=>{const A={flexBasis:$t(g.value)?`${g.value}px`:g.value?g.value:`${100/(m.value-(f.value?0:1))}%`};return p.value||v.value&&(A.maxWidth=`${100/m.value}%`),A}),y=A=>{r.value=A},E=A=>{const D=A==="wait",x={transitionDelay:`${Math.abs(s)===1?0:s>0?(r.value+1-u)*150:-(r.value+1-o.props.active)*150}ms`},_=A===o.props.processStatus||D?0:100;x.borderWidth=_&&!h.value?"1px":0,x[o.props.direction==="vertical"?"height":"width"]=`${_}%`,a.value=x},w=A=>{A>r.value?i.value=o.props.finishStatus:A===r.value&&d.value!=="error"?i.value=o.props.processStatus:i.value="wait";const D=o.steps.value[r.value-1];D&&D.calcProgress(i.value)},S={uid:l.uid,getVnode:()=>l.vnode,currentStatus:c,internalStatus:i,setIndex:y,calcProgress:E};return o.addStep(S),Vn(()=>{o.removeStep(S)}),(A,D)=>(H(),le("div",{style:Pt(C.value),class:J(b.value)},[Pe(" icon & line "),ye("div",{class:J([F(n).e("head"),F(n).is(c.value)])},[h.value?Pe("v-if",!0):(H(),le("div",{key:0,class:J(F(n).e("line"))},[ye("i",{class:J(F(n).e("line-inner")),style:Pt(a.value)},null,6)],2)),ye("div",{class:J([F(n).e("icon"),F(n).is(A.icon||A.$slots.icon?"icon":"text")])},[We(A.$slots,"icon",{},()=>[A.icon?(H(),Ue(F(Rt),{key:0,class:J(F(n).e("icon-inner"))},{default:Re(()=>[(H(),Ue(ln(A.icon)))]),_:1},8,["class"])):c.value==="success"?(H(),Ue(F(Rt),{key:1,class:J([F(n).e("icon-inner"),F(n).is("status")])},{default:Re(()=>[be(F($5))]),_:1},8,["class"])):c.value==="error"?(H(),Ue(F(Rt),{key:2,class:J([F(n).e("icon-inner"),F(n).is("status")])},{default:Re(()=>[be(F(hs))]),_:1},8,["class"])):h.value?Pe("v-if",!0):(H(),le("div",{key:3,class:J(F(n).e("icon-inner"))},ft(r.value+1),3))])],2)],2),Pe(" title & description "),ye("div",{class:J(F(n).e("main"))},[ye("div",{class:J([F(n).e("title"),F(n).is(c.value)])},[We(A.$slots,"title",{},()=>[Cn(ft(A.title),1)])],2),h.value?(H(),le("div",{key:0,class:J(F(n).e("arrow"))},null,2)):(H(),le("div",{key:1,class:J([F(n).e("description"),F(n).is(c.value)])},[We(A.$slots,"description",{},()=>[Cn(ft(A.description),1)])],2))],2)],6))}});var $ce=yt(vJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const gJe=fn(hJe,{Step:$ce}),yJe=sa($ce),Vce=e=>["",...Ec].includes(e),bJe=pt(Te({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:Vce},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:mr},activeActionIcon:{type:mr},activeIcon:{type:mr},inactiveIcon:{type:mr},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:ke(Function)},id:String,tabindex:{type:[String,Number]}},yo(["ariaLabel"]))),CJe={[nn]:e=>hr(e)||Bt(e)||$t(e),[An]:e=>hr(e)||Bt(e)||$t(e),[Ga]:e=>hr(e)||Bt(e)||$t(e)},FJe=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],EJe=["aria-hidden"],wJe={key:1},SJe={key:1},AJe=["aria-hidden"],dG="ElSwitch",DJe=Ve({name:dG,__name:"switch",props:bJe,emits:CJe,setup(e,{expose:t,emit:n}){const r=e,a=n,{formItem:i}=Ci(),o=ja(),l=at("switch"),{inputId:s}=Nl(r,{formItemContext:i}),u=ha(R(()=>{if(r.loading)return!0})),c=j(r.modelValue!==!1),d=Zn(),f=R(()=>[l.b(),l.m(o.value),l.is("disabled",u.value),l.is("checked",g.value)]),p=R(()=>[l.e("label"),l.em("label","left"),l.is("active",!g.value)]),h=R(()=>[l.e("label"),l.em("label","right"),l.is("active",g.value)]),m=R(()=>({width:fa(r.width)}));$e(()=>r.modelValue,()=>{c.value=!0});const v=R(()=>c.value?r.modelValue:!1),g=R(()=>v.value===r.activeValue);[r.activeValue,r.inactiveValue].includes(v.value)||(a(nn,r.inactiveValue),a(An,r.inactiveValue),a(Ga,r.inactiveValue)),$e(g,E=>{var w;d.value.checked=E,r.validateEvent&&((w=i==null?void 0:i.validate)==null||w.call(i,"change").catch(S=>void 0))});const b=()=>{const E=g.value?r.inactiveValue:r.activeValue;a(nn,E),a(An,E),a(Ga,E),Oe(()=>{d.value.checked=g.value})},C=()=>{if(u.value)return;const{beforeChange:E}=r;if(!E){b();return}const w=E();[Xf(w),hr(w)].includes(!0)||$a(dG,"beforeChange must return type `Promise` or `boolean`"),Xf(w)?w.then(A=>{A&&b()}).catch(A=>{}):w&&b()},y=()=>{var E,w;(w=(E=d.value)==null?void 0:E.focus)==null||w.call(E)};return Ut(()=>{d.value.checked=g.value}),t({focus:y,checked:g}),(E,w)=>(H(),le("div",{class:J(f.value),onClick:Yt(C,["prevent"])},[ye("input",{id:F(s),ref_key:"input",ref:d,class:J(F(l).e("input")),type:"checkbox",role:"switch","aria-checked":g.value,"aria-disabled":F(u),"aria-label":E.ariaLabel,name:E.name,"true-value":E.activeValue,"false-value":E.inactiveValue,disabled:F(u),tabindex:E.tabindex,onChange:b,onKeydown:ca(C,["enter"])},null,42,FJe),!E.inlinePrompt&&(E.inactiveIcon||E.inactiveText||E.$slots.inactive)?(H(),le("span",{key:0,class:J(p.value)},[We(E.$slots,"inactive",{},()=>[E.inactiveIcon?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[(H(),Ue(ln(E.inactiveIcon)))]),_:1})):Pe("v-if",!0),!E.inactiveIcon&&E.inactiveText?(H(),le("span",{key:1,"aria-hidden":g.value},ft(E.inactiveText),9,EJe)):Pe("v-if",!0)])],2)):Pe("v-if",!0),ye("span",{class:J(F(l).e("core")),style:Pt(m.value)},[E.inlinePrompt?(H(),le("div",{key:0,class:J(F(l).e("inner"))},[g.value?(H(),le("div",{key:1,class:J(F(l).e("inner-wrapper"))},[We(E.$slots,"active",{},()=>[E.activeIcon?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[(H(),Ue(ln(E.activeIcon)))]),_:1})):Pe("v-if",!0),!E.activeIcon&&E.activeText?(H(),le("span",SJe,ft(E.activeText),1)):Pe("v-if",!0)])],2)):(H(),le("div",{key:0,class:J(F(l).e("inner-wrapper"))},[We(E.$slots,"inactive",{},()=>[E.inactiveIcon?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[(H(),Ue(ln(E.inactiveIcon)))]),_:1})):Pe("v-if",!0),!E.inactiveIcon&&E.inactiveText?(H(),le("span",wJe,ft(E.inactiveText),1)):Pe("v-if",!0)])],2))],2)):Pe("v-if",!0),ye("div",{class:J(F(l).e("action"))},[E.loading?(H(),Ue(F(Rt),{key:0,class:J(F(l).is("loading"))},{default:Re(()=>[be(F(pc))]),_:1},8,["class"])):g.value?We(E.$slots,"active-action",{key:1},()=>[E.activeActionIcon?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[(H(),Ue(ln(E.activeActionIcon)))]),_:1})):Pe("v-if",!0)]):g.value?Pe("v-if",!0):We(E.$slots,"inactive-action",{key:2},()=>[E.inactiveActionIcon?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[(H(),Ue(ln(E.inactiveActionIcon)))]),_:1})):Pe("v-if",!0)])],2)],6),!E.inlinePrompt&&(E.activeIcon||E.activeText||E.$slots.active)?(H(),le("span",{key:1,class:J(h.value)},[We(E.$slots,"active",{},()=>[E.activeIcon?(H(),Ue(F(Rt),{key:0},{default:Re(()=>[(H(),Ue(ln(E.activeIcon)))]),_:1})):Pe("v-if",!0),!E.activeIcon&&E.activeText?(H(),le("span",{key:1,"aria-hidden":!g.value},ft(E.activeText),9,AJe)):Pe("v-if",!0)])],2)):Pe("v-if",!0)],2))}});var TJe=yt(DJe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const kJe=fn(TJe),ew=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},_Je=function(e,t,n,r,a){if(!t&&!r&&(!a||st(a)&&!a.length))return e;Bt(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const i=r?null:function(l,s){return a?Lle(pi(a),u=>Bt(u)?Ia(l,u):u(l,s,e)):(t!=="$key"&&mn(l)&&"$value"in l&&(l=l.$value),[mn(l)?t?Ia(l,t):null:l])},o=function(l,s){var u,c,d,f,p,h;if(r)return r(l.value,s.value);for(let m=0,v=(c=(u=l.key)==null?void 0:u.length)!=null?c:0;m((h=s.key)==null?void 0:h[m]))return 1}return 0};return e.map((l,s)=>({value:l,index:s,key:i?i(l,s):null})).sort((l,s)=>{let u=o(l,s);return u||(u=l.index-s.index),u*+n}).map(l=>l.value)},Hce=function(e,t){let n=null;return e.columns.forEach(r=>{r.id===t&&(n=r)}),n},xJe=function(e,t){let n=null;for(let r=0;r{if(!e)throw new Error("Row is required when get row identity");if(Bt(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let r=e;for(const a of n)r=r[a];return`${r}`}else if(Lt(t))return t.call(null,e);return""},L1=function(e,t,n=!1,r="children"){const a=e||[],i={};return a.forEach((o,l)=>{if(i[Wi(o,t)]={row:o,index:l},n){const s=o[r];st(s)&&Object.assign(i,L1(s,t,!0,r))}}),i};function MJe(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if(qn(t,r)){const a=t[r];On(a)||(n[r]=a)}return n}function NP(e){return e===""||On(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function zce(e){return e===""||On(e)||(e=NP(e),Number.isNaN(e)&&(e=80)),e}function BJe(e){return $t(e)?e:Bt(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function RJe(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function w6(e,t,n,r,a,i,o){let l=i!=null?i:0,s=!1;const c=(()=>{if(!o)return e.indexOf(t);const m=Wi(t,o);return e.findIndex(v=>Wi(v,o)===m)})(),d=c!==-1,f=a==null?void 0:a.call(null,t,l),p=m=>{m==="add"?e.push(t):e.splice(c,1),s=!0},h=m=>{let v=0;const g=(r==null?void 0:r.children)&&m[r.children];return g&&st(g)&&(v+=g.length,g.forEach(b=>{v+=h(b)})),v};return(!a||f)&&(hr(n)?n&&!d?p("add"):!n&&d&&p("remove"):p(d?"remove":"add")),!(r!=null&&r.checkStrictly)&&(r!=null&&r.children)&&st(t[r.children])&&t[r.children].forEach(m=>{const v=w6(e,m,n!=null?n:!d,r,a,l+1,o);l+=h(m)+1,v&&(s=v)}),s}function LJe(e,t,n="children",r="hasChildren",a=!1){const i=l=>!(st(l)&&l.length);function o(l,s,u){t(l,s,u),s.forEach(c=>{if(c[r]&&a){t(c,null,u+1);return}const d=c[n];i(d)||o(c,d,u+1)})}e.forEach(l=>{if(l[r]&&a){t(l,null,0);return}const s=l[n];i(s)||o(l,s,0)})}const OJe=(e,t,n,r)=>{const a=Te({strategy:"fixed"},e.popperOptions),i=Lt(r==null?void 0:r.tooltipFormatter)?r.tooltipFormatter({row:n,column:r,cellValue:B1(n,r.property).value}):void 0;return sr(i)?Et(Te({slotContent:i,content:null},e),{popperOptions:a}):Et(Te({slotContent:null,content:i!=null?i:t},e),{popperOptions:a})};let to=null;function PJe(e,t,n,r,a,i){var o;const l=OJe(e,t,n,r),s=Et(Te({},l),{slotContent:void 0});if((to==null?void 0:to.trigger)===a){const h=(o=to.vm)==null?void 0:o.component;Ole(h==null?void 0:h.props,s),h&&l.slotContent&&(h.slots.content=()=>[l.slotContent]);return}to==null||to();const u=i==null?void 0:i.refs.tableWrapper,c=u==null?void 0:u.dataset.prefix,d=be(gi,Te({virtualTriggering:!0,virtualRef:a,appendTo:u,placement:"top",transition:"none",offset:0,hideAfter:0},s),l.slotContent?{content:()=>l.slotContent}:void 0);d.appContext=Te(Te({},i.appContext),i);const f=document.createElement("div");uc(d,f),d.component.exposed.onOpen();const p=u==null?void 0:u.querySelector(`.${c}-scrollbar__wrap`);to=()=>{var h,m;(m=(h=d.component)==null?void 0:h.exposed)!=null&&m.onClose&&d.component.exposed.onClose(),uc(null,f);const v=to;p==null||p.removeEventListener("scroll",v),v.trigger=void 0,v.vm=void 0,to=null},to.trigger=a!=null?a:void 0,to.vm=d,p==null||p.addEventListener("scroll",to)}function Wce(e){return e.children?Lle(e.children,Wce):[e]}function pG(e,t){return e+t.colSpan}const Gce=(e,t,n,r)=>{let a=0,i=e;const o=n.states.columns.value;if(r){const s=Wce(r[e]);a=o.slice(0,o.indexOf(s[0])).reduce(pG,0),i=a+s.reduce(pG,0)-1}else a=e;let l;switch(t){case"left":i=o.length-n.states.rightFixedLeafColumnsLength.value&&(l="right");break;default:i=o.length-n.states.rightFixedLeafColumnsLength.value&&(l="right")}return l?{direction:l,start:a,after:i}:{}},$P=(e,t,n,r,a,i=0)=>{const o=[],{direction:l,start:s,after:u}=Gce(t,n,r,a);if(l){const c=l==="left";o.push(`${e}-fixed-column--${l}`),c&&u+i===r.states.fixedLeafColumnsLength.value-1?o.push("is-last-column"):!c&&s-i===r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value&&o.push("is-first-column")}return o};function hG(e,t){return e+(b9(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const VP=(e,t,n,r)=>{const{direction:a,start:i=0,after:o=0}=Gce(e,t,n,r);if(!a)return;const l={},s=a==="left",u=n.states.columns.value;return s?l.left=u.slice(0,i).reduce(hG,0):l.right=u.slice(o+1).reverse().reduce(hG,0),l},d0=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function jce(e){return e.some(t=>sr(t)?!(t.type===ia||t.type===kt&&!jce(t.children)):!0)?e:null}function IJe(e){const t=Jt(),n=j(!1),r=j([]);return{updateExpandRows:()=>{const s=e.data.value||[],u=e.rowKey.value;if(n.value)r.value=s.slice();else if(u){const c=L1(r.value,u);r.value=s.reduce((d,f)=>{const p=Wi(f,u);return c[p]&&d.push(f),d},[])}else r.value=[]},toggleRowExpansion:(s,u)=>{w6(r.value,s,u,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",s,r.value.slice())},setExpandRowKeys:s=>{t.store.assertRowKey();const u=e.data.value||[],c=e.rowKey.value,d=L1(u,c);r.value=s.reduce((f,p)=>{const h=d[p];return h&&f.push(h.row),f},[])},isRowExpanded:s=>{const u=e.rowKey.value;return u?!!L1(r.value,u)[Wi(s,u)]:r.value.includes(s)},states:{expandRows:r,defaultExpandAll:n}}}function NJe(e){const t=Jt(),n=j(null),r=j(null),a=u=>{t.store.assertRowKey(),n.value=u,o(u)},i=()=>{n.value=null},o=u=>{var c;const{data:d,rowKey:f}=e,p=r.value;let h=null;f.value&&(h=(c=(F(d)||[]).find(m=>Wi(m,f.value)===u))!=null?c:null),r.value=h!=null?h:null,t.emit("current-change",r.value,p)};return{setCurrentRowKey:a,restoreCurrentRowKey:i,setCurrentRowByKey:o,updateCurrentRow:u=>{const c=r.value;if(u&&u!==c){r.value=u,t.emit("current-change",r.value,c);return}!u&&c&&(r.value=null,t.emit("current-change",null,c))},updateCurrentRowData:()=>{const u=e.rowKey.value,c=e.data.value||[],d=r.value;if(d&&!c.includes(d))if(u){const f=Wi(d,u);o(f)}else r.value=null,t.emit("current-change",null,d);else n.value&&(o(n.value),i())},states:{_currentRowKey:n,currentRow:r}}}function $Je(e){const t=j([]),n=j({}),r=j(16),a=j(!1),i=j({}),o=j("hasChildren"),l=j("children"),s=j(!1),u=Jt(),c=R(()=>{if(!e.rowKey.value)return{};const y=e.data.value||[];return f(y)}),d=R(()=>{const y=e.rowKey.value,E=Object.keys(i.value),w={};return E.length&&E.forEach(S=>{if(i.value[S].length){const A={children:[]};i.value[S].forEach(D=>{const k=Wi(D,y);A.children.push(k),D[o.value]&&!w[k]&&(w[k]={children:[]})}),w[S]=A}}),w}),f=y=>{const E=e.rowKey.value,w={};return LJe(y,(S,A,D)=>{const k=Wi(S,E);st(A)?w[k]={children:A.map(x=>Wi(x,E)),level:D}:a.value&&(w[k]={children:[],lazy:!0,level:D})},l.value,o.value,a.value),w},p=(y=!1,E)=>{var w,S;E||(E=(w=u.store)==null?void 0:w.states.defaultExpandAll.value);const A=c.value,D=d.value,k=Object.keys(A),x={};if(k.length){const _=F(n),M=[],L=(P,B)=>{if(y)return t.value?E||t.value.includes(B):!!(E||P!=null&&P.expanded);{const T=E||t.value&&t.value.includes(B);return!!(P!=null&&P.expanded||T)}};k.forEach(P=>{const B=_[P],T=Te({},A[P]);if(T.expanded=L(B,P),T.lazy){const{loaded:O=!1,loading:N=!1}=B||{};T.loaded=!!O,T.loading=!!N,M.push(P)}x[P]=T});const I=Object.keys(D);a.value&&I.length&&M.length&&I.forEach(P=>{var B;const T=_[P],O=D[P].children;if(M.includes(P)){if(((B=x[P].children)==null?void 0:B.length)!==0)throw new Error("[ElTable]children must be an empty array.");x[P].children=O}else{const{loaded:N=!1,loading:V=!1}=T||{};x[P]={lazy:!0,loaded:!!N,loading:!!V,expanded:L(T,P),children:O,level:void 0}}})}n.value=x,(S=u.store)==null||S.updateTableScrollY()};$e(()=>t.value,()=>{p(!0)}),$e(()=>c.value,()=>{p()}),$e(()=>d.value,()=>{p()});const h=y=>{t.value=y,p()},m=y=>a.value&&y&&"loaded"in y&&!y.loaded,v=(y,E)=>{u.store.assertRowKey();const w=e.rowKey.value,S=Wi(y,w),A=S&&n.value[S];if(S&&A&&"expanded"in A){const D=A.expanded;E=On(E)?!A.expanded:E,n.value[S].expanded=E,D!==E&&u.emit("expand-change",y,E),E&&m(A)&&b(y,S,A),u.store.updateTableScrollY()}},g=y=>{u.store.assertRowKey();const E=e.rowKey.value,w=Wi(y,E),S=n.value[w];m(S)?b(y,w,S):v(y,void 0)},b=(y,E,w)=>{const{load:S}=u.props;S&&!n.value[E].loaded&&(n.value[E].loading=!0,S(y,w,A=>{if(!st(A))throw new TypeError("[ElTable] data must be an array");n.value[E].loading=!1,n.value[E].loaded=!0,n.value[E].expanded=!0,A.length&&(i.value[E]=A),u.emit("expand-change",y,!0)}))};return{loadData:b,loadOrToggle:g,toggleTreeExpansion:v,updateTreeExpandKeys:h,updateTreeData:p,updateKeyChildren:(y,E)=>{const{lazy:w,rowKey:S}=u.props;if(w){if(!S)throw new Error("[Table] rowKey is required in updateKeyChild");i.value[y]&&(i.value[y]=E)}},normalize:f,states:{expandRowKeys:t,treeData:n,indent:r,lazy:a,lazyTreeNodeMap:i,lazyColumnIdentifier:o,childrenColumnName:l,checkStrictly:s}}}const VJe=(e,t)=>{const n=t.sortingColumn;return!n||Bt(n.sortable)?e:_Je(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},q3=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,q3(n.children)):t.push(n)}),t};function HJe(){var e;const t=Jt(),{size:n}=Na((e=t.proxy)==null?void 0:e.$props),r=j(null),a=j([]),i=j([]),o=j(!1),l=j([]),s=j([]),u=j([]),c=j([]),d=j([]),f=j([]),p=j([]),h=j([]),m=[],v=j(0),g=j(0),b=j(0),C=j(!1),y=j([]),E=j(!1),w=j(!1),S=j(null),A=j({}),D=j(null),k=j(null),x=j(null),_=j(null),M=j(null),L=R(()=>r.value?L1(y.value,r.value):void 0);$e(a,()=>{var Ke;t.state&&(T(!1),t.props.tableLayout==="auto"&&((Ke=t.refs.tableHeaderRef)==null||Ke.updateFixedColumnStyle()))},{deep:!0});const I=()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},P=Ke=>{var rt;(rt=Ke.children)==null||rt.forEach(nt=>{nt.fixed=Ke.fixed,P(nt)})},B=()=>{l.value.forEach(oe=>{P(oe)}),c.value=l.value.filter(oe=>[!0,"left"].includes(oe.fixed));const Ke=l.value.find(oe=>oe.type==="selection");let rt;Ke&&Ke.fixed!=="right"&&!c.value.includes(Ke)&&l.value.indexOf(Ke)===0&&c.value.length&&(c.value.unshift(Ke),rt=!0),d.value=l.value.filter(oe=>oe.fixed==="right");const nt=l.value.filter(oe=>(rt?oe.type!=="selection":!0)&&!oe.fixed);s.value=Array.from(c.value).concat(nt).concat(d.value);const ze=q3(nt),Ie=q3(c.value),ge=q3(d.value);v.value=ze.length,g.value=Ie.length,b.value=ge.length,u.value=Array.from(Ie).concat(ze).concat(ge),o.value=c.value.length>0||d.value.length>0},T=(Ke,rt=!1)=>{Ke&&B(),rt?t.state.doLayout():t.state.debouncedUpdateLayout()},O=Ke=>L.value?!!L.value[Wi(Ke,r.value)]:y.value.includes(Ke),N=()=>{C.value=!1;const Ke=y.value;y.value=[],Ke.length&&t.emit("selection-change",[])},V=()=>{var Ke,rt;let nt;if(r.value){nt=[];const ze=(rt=(Ke=t==null?void 0:t.store)==null?void 0:Ke.states)==null?void 0:rt.childrenColumnName.value,Ie=L1(a.value,r.value,!0,ze);for(const ge in L.value)qn(L.value,ge)&&!Ie[ge]&&nt.push(L.value[ge].row)}else nt=y.value.filter(ze=>!a.value.includes(ze));if(nt.length){const ze=y.value.filter(Ie=>!nt.includes(Ie));y.value=ze,t.emit("selection-change",ze.slice())}},Y=()=>(y.value||[]).slice(),z=(Ke,rt,nt=!0,ze=!1)=>{var Ie,ge,oe,Xe;const it={children:(ge=(Ie=t==null?void 0:t.store)==null?void 0:Ie.states)==null?void 0:ge.childrenColumnName.value,checkStrictly:(Xe=(oe=t==null?void 0:t.store)==null?void 0:oe.states)==null?void 0:Xe.checkStrictly.value};if(w6(y.value,Ke,rt,it,ze?void 0:S.value,a.value.indexOf(Ke),r.value)){const Ee=(y.value||[]).slice();nt&&t.emit("select",Ee,Ke),t.emit("selection-change",Ee)}},ee=()=>{var Ke,rt;const nt=w.value?!C.value:!(C.value||y.value.length);C.value=nt;let ze=!1,Ie=0;const ge=(rt=(Ke=t==null?void 0:t.store)==null?void 0:Ke.states)==null?void 0:rt.rowKey.value,{childrenColumnName:oe}=t.store.states,Xe={children:oe.value,checkStrictly:!1};a.value.forEach((it,xt)=>{const Ee=xt+Ie;w6(y.value,it,nt,Xe,S.value,Ee,ge)&&(ze=!0),Ie+=pe(Wi(it,ge))}),ze&&t.emit("selection-change",y.value?y.value.slice():[]),t.emit("select-all",(y.value||[]).slice())},ae=()=>{var Ke;if(((Ke=a.value)==null?void 0:Ke.length)===0){C.value=!1;return}const{childrenColumnName:rt}=t.store.states;let nt=0,ze=0;const Ie=oe=>{var Xe;for(const it of oe){const xt=S.value&&S.value.call(null,it,nt);if(O(it))ze++;else if(!S.value||xt)return!1;if(nt++,(Xe=it[rt.value])!=null&&Xe.length&&!Ie(it[rt.value]))return!1}return!0},ge=Ie(a.value||[]);C.value=ze===0?!1:ge},pe=Ke=>{var rt;if(!t||!t.store)return 0;const{treeData:nt}=t.store.states;let ze=0;const Ie=(rt=nt.value[Ke])==null?void 0:rt.children;return Ie&&(ze+=Ie.length,Ie.forEach(ge=>{ze+=pe(ge)})),ze},re=(Ke,rt)=>{const nt={};return pi(Ke).forEach(ze=>{A.value[ze.id]=rt,nt[ze.columnKey||ze.id]=rt}),nt},Q=(Ke,rt,nt)=>{k.value&&k.value!==Ke&&(k.value.order=null),k.value=Ke,x.value=rt,_.value=nt},ie=()=>{let Ke=F(i);Object.keys(A.value).forEach(rt=>{const nt=A.value[rt];if(!nt||nt.length===0)return;const ze=Hce({columns:u.value},rt);ze&&ze.filterMethod&&(Ke=Ke.filter(Ie=>nt.some(ge=>ze.filterMethod.call(null,ge,Ie,ze))))}),D.value=Ke},X=()=>{var Ke;a.value=VJe((Ke=D.value)!=null?Ke:[],{sortingColumn:k.value,sortProp:x.value,sortOrder:_.value})},q=(Ke=void 0)=>{Ke!=null&&Ke.filter||ie(),X()},ce=Ke=>{const{tableHeaderRef:rt}=t.refs;if(!rt)return;const nt=Object.assign({},rt.filterPanels),ze=Object.keys(nt);if(ze.length)if(Bt(Ke)&&(Ke=[Ke]),st(Ke)){const Ie=Ke.map(ge=>xJe({columns:u.value},ge));ze.forEach(ge=>{const oe=Ie.find(Xe=>Xe.id===ge);oe&&(oe.filteredValue=[])}),t.store.commit("filterChange",{column:Ie,values:[],silent:!0,multi:!0})}else ze.forEach(Ie=>{const ge=u.value.find(oe=>oe.id===Ie);ge&&(ge.filteredValue=[])}),A.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},K=()=>{k.value&&(Q(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Z,toggleRowExpansion:se,updateExpandRows:Fe,states:me,isRowExpanded:te}=IJe({data:a,rowKey:r}),{updateTreeExpandKeys:ue,toggleTreeExpansion:Se,updateTreeData:Ae,updateKeyChildren:Ne,loadOrToggle:je,states:De}=$Je({data:a,rowKey:r}),{updateCurrentRowData:he,updateCurrentRow:He,setCurrentRowKey:xe,states:qe}=NJe({data:a,rowKey:r});return{assertRowKey:I,updateColumns:B,scheduleLayout:T,isSelected:O,clearSelection:N,cleanSelection:V,getSelectionRows:Y,toggleRowSelection:z,_toggleAllSelection:ee,toggleAllSelection:null,updateAllSelected:ae,updateFilters:re,updateCurrentRow:He,updateSort:Q,execFilter:ie,execSort:X,execQuery:q,clearFilter:ce,clearSort:K,toggleRowExpansion:se,setExpandRowKeysAdapter:Ke=>{Z(Ke),ue(Ke)},setCurrentRowKey:xe,toggleRowExpansionAdapter:(Ke,rt)=>{u.value.some(({type:ze})=>ze==="expand")?se(Ke,rt):Se(Ke,rt)},isRowExpanded:te,updateExpandRows:Fe,updateCurrentRowData:he,loadOrToggle:je,updateTreeData:Ae,updateKeyChildren:Ne,states:Te(Te(Te({tableSize:n,rowKey:r,data:a,_data:i,isComplex:o,_columns:l,originColumns:s,columns:u,fixedColumns:c,rightFixedColumns:d,leafColumns:f,fixedLeafColumns:p,rightFixedLeafColumns:h,updateOrderFns:m,leafColumnsLength:v,fixedLeafColumnsLength:g,rightFixedLeafColumnsLength:b,isAllSelected:C,selection:y,reserveSelection:E,selectOnIndeterminate:w,selectable:S,filters:A,filteredData:D,sortingColumn:k,sortProp:x,sortOrder:_,hoverRow:M},me),De),qe)}}function UM(e,t){return e.map(n=>{var r;return n.id===t.id?t:((r=n.children)!=null&&r.length&&(n.children=UM(n.children,t)),n)})}function qM(e){e.forEach(t=>{var n,r;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(r=t.children)!=null&&r.length&&qM(t.children)}),e.sort((t,n)=>t.no-n.no)}function zJe(){const e=Jt(),t=HJe(),n=at("table"),{t:r}=xn(),a={setData(l,s){const u=F(l._data)!==s;l.data.value=s,l._data.value=s,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),F(l.reserveSelection)?e.store.assertRowKey():u?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(l,s,u,c){var d;const f=F(l._columns);let p=[];u?(u&&!u.children&&(u.children=[]),(d=u.children)==null||d.push(s),p=UM(f,u)):(f.push(s),p=f),qM(p),l._columns.value=p,l.updateOrderFns.push(c),s.type==="selection"&&(l.selectable.value=s.selectable,l.reserveSelection.value=s.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(l,s){var u;((u=s.getColumnIndex)==null?void 0:u.call(s))!==s.no&&(qM(l._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(l,s,u,c){var d;const f=F(l._columns)||[];if(u)(d=u.children)==null||d.splice(u.children.findIndex(h=>h.id===s.id),1),Oe(()=>{var h;((h=u.children)==null?void 0:h.length)===0&&delete u.children}),l._columns.value=UM(f,u);else{const h=f.indexOf(s);h>-1&&(f.splice(h,1),l._columns.value=f)}const p=l.updateOrderFns.indexOf(c);p>-1&&l.updateOrderFns.splice(p,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(l,s){const{prop:u,order:c,init:d}=s;if(u){const f=F(l.columns).find(p=>p.property===u);f&&(f.order=c,e.store.updateSort(f,u,c),e.store.commit("changeSortCondition",{init:d}))}},changeSortCondition(l,s){const{sortingColumn:u,sortProp:c,sortOrder:d}=l,f=F(u),p=F(c),h=F(d);b9(h)&&(l.sortingColumn.value=null,l.sortProp.value=null);const m={filter:!0};e.store.execQuery(m),(!s||!(s.silent||s.init))&&e.emit("sort-change",{column:f,prop:p,order:h}),e.store.updateTableScrollY()},filterChange(l,s){const{column:u,values:c,silent:d}=s,f=e.store.updateFilters(u,c);e.store.execQuery(),d||e.emit("filter-change",f),e.store.updateTableScrollY()},toggleAllSelection(){var l,s;(s=(l=e.store).toggleAllSelection)==null||s.call(l)},rowSelectedChanged(l,s){e.store.toggleRowSelection(s),e.store.updateAllSelected()},setHoverRow(l,s){l.hoverRow.value=s},setCurrentRow(l,s){e.store.updateCurrentRow(s)}},i=function(l,...s){const u=e.store.mutations;if(u[l])u[l].apply(e,[e.store.states,...s]);else throw new Error(`Action not found: ${l}`)},o=function(){Oe(()=>e.layout.updateScrollY.apply(e.layout))};return Et(Te({ns:n,t:r},t),{mutations:a,commit:i,updateTableScrollY:o})}const HP={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",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 WJe(e,t){if(!e)throw new Error("Table is required.");const n=zJe();return n.toggleAllSelection=dc(n._toggleAllSelection,10),Object.keys(HP).forEach(r=>{Kce(Uce(t,r),r,n)}),GJe(n,t),n}function GJe(e,t){Object.keys(HP).forEach(n=>{$e(()=>Uce(t,n),r=>{Kce(r,n,e)})})}function Kce(e,t,n){let r=e,a=HP[t];mn(a)&&(r=r||a.default,a=a.key),n.states[a].value=r}function Uce(e,t){if(t.includes(".")){const n=t.split(".");let r=e;return n.forEach(a=>{r=r[a]}),r}else return e[t]}class jJe{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=j(null),this.scrollX=j(!1),this.scrollY=j(!1),this.bodyWidth=j(null),this.fixedWidth=j(null),this.rightFixedWidth=j(null),this.gutterWidth=0;for(const n in t)qn(t,n)&&(Gn(this[n])?this[n].value=t[n]:this[n]=t[n]);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 t=this.height.value;if(b9(t))return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(n!=null&&n.wrapRef)){let r=!0;const a=this.scrollY.value;return r=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=r,a!==r}return!1}setHeight(t,n="height"){if(!Yn)return;const r=this.table.vnode.el;if(t=BJe(t),this.height.value=Number(t),!r&&(t||t===0)){Oe(()=>this.setHeight(t,n));return}r&&$t(t)?(r.style[n]=`${t}px`,this.updateElsHeight()):r&&Bt(t)&&(r.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(r=>{r.isColumnGroup?t.push.apply(t,r.columns):t.push(r)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){var t;if(!Yn)return;const n=this.fit,r=(t=this.table.vnode.el)==null?void 0:t.clientWidth;let a=0;const i=this.getFlattenColumns(),o=i.filter(u=>!$t(u.width));if(i.forEach(u=>{$t(u.width)&&u.realWidth&&(u.realWidth=null)}),o.length>0&&n){if(i.forEach(u=>{a+=Number(u.width||u.minWidth||80)}),a<=r){this.scrollX.value=!1;const u=r-a;if(o.length===1)o[0].realWidth=Number(o[0].minWidth||80)+u;else{const c=o.reduce((p,h)=>p+Number(h.minWidth||80),0),d=u/c;let f=0;o.forEach((p,h)=>{if(h===0)return;const m=Math.floor(Number(p.minWidth||80)*d);f+=m,p.realWidth=Number(p.minWidth||80)+m}),o[0].realWidth=Number(o[0].minWidth||80)+u-f}}else this.scrollX.value=!0,o.forEach(u=>{u.realWidth=Number(u.minWidth)});this.bodyWidth.value=Math.max(a,r),this.table.state.resizeState.value.width=this.bodyWidth.value}else i.forEach(u=>{!u.width&&!u.minWidth?u.realWidth=80:u.realWidth=Number(u.width||u.minWidth),a+=u.realWidth}),this.scrollX.value=a>r,this.bodyWidth.value=a;const l=this.store.states.fixedColumns.value;if(l.length>0){let u=0;l.forEach(c=>{u+=Number(c.realWidth||c.width)}),this.fixedWidth.value=u}const s=this.store.states.rightFixedColumns.value;if(s.length>0){let u=0;s.forEach(c=>{u+=Number(c.realWidth||c.width)}),this.rightFixedWidth.value=u}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(r=>{var a,i;switch(t){case"columns":(a=r.state)==null||a.onColumnsChange(this);break;case"scrollable":(i=r.state)==null||i.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const KJe=Ve({name:"ElTableFilterPanel",components:{ElCheckbox:eu,ElCheckboxGroup:hP,ElScrollbar:Qs,ElTooltip:gi,ElIcon:Rt,ArrowDown:wc,ArrowUp:E9},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:pr.appendTo},setup(e){const t=Jt(),{t:n}=xn(),r=at("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 i=j(null),o=j(null),l=j(0),s=R(()=>e.column&&e.column.filters),u=R(()=>e.column&&e.column.filterClassName?`${r.b()} ${e.column.filterClassName}`:r.b()),c=R({get:()=>{var S;return(((S=e.column)==null?void 0:S.filteredValue)||[])[0]},set:S=>{d.value&&(al(S)?d.value.splice(0,1):d.value.splice(0,1,S))}}),d=R({get(){return e.column?e.column.filteredValue||[]:[]},set(S){var A;e.column&&((A=e.upDataColumn)==null||A.call(e,"filteredValue",S))}}),f=R(()=>e.column?e.column.filterMultiple:!0),p=S=>S.value===c.value,h=()=>{var S;(S=i.value)==null||S.onClose()},m=()=>{b(d.value),h()},v=()=>{d.value=[],b(d.value),h()},g=(S,A)=>{c.value=S,l.value=A,al(S)?b([]):b(d.value),h()},b=S=>{var A,D;(A=e.store)==null||A.commit("filterChange",{column:e.column,values:S}),(D=e.store)==null||D.updateAllSelected()},C=()=>{var S,A;(S=o.value)==null||S.focus(),!f.value&&E(),e.column&&((A=e.upDataColumn)==null||A.call(e,"filterOpened",!0))},y=()=>{var S;e.column&&((S=e.upDataColumn)==null||S.call(e,"filterOpened",!1))},E=()=>{if(al(c)){l.value=0;return}const S=(s.value||[]).findIndex(A=>A.value===c.value);l.value=S>=0?S+1:0};return{multiple:f,filterClassName:u,filteredValue:d,filterValue:c,filters:s,handleConfirm:m,handleReset:v,handleSelect:g,isPropAbsent:al,isActive:p,t:n,ns:r,tooltipRef:i,rootRef:o,checkedIndex:l,handleShowTooltip:C,handleHideTooltip:y,handleKeydown:S=>{var A,D;const k=Er(S),x=(s.value?s.value.length:0)+1;let _=l.value,M=!0;switch(k){case dt.down:case dt.right:_=(_+1)%x;break;case dt.up:case dt.left:_=(_-1+x)%x;break;case dt.tab:h(),M=!1;break;case dt.enter:case dt.space:if(_===0)g(null,0);else{const L=(s.value||[])[_-1];L.value&&g(L.value,_)}break;default:M=!1;break}M&&S.preventDefault(),l.value=_,(D=(A=o.value)==null?void 0:A.querySelector(`.${r.e("list-item")}:nth-child(${_+1})`))==null||D.focus()}}}}),UJe=["disabled"],qJe=["tabindex","aria-checked"],YJe=["tabindex","aria-checked","onClick"],JJe=["aria-label"];function XJe(e,t,n,r,a,i){const o=en("el-checkbox"),l=en("el-checkbox-group"),s=en("el-scrollbar"),u=en("arrow-up"),c=en("arrow-down"),d=en("el-icon"),f=en("el-tooltip");return H(),Ue(f,{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:Re(()=>[e.multiple?(H(),le("div",{key:0,ref:"rootRef",tabindex:"-1",class:J(e.ns.e("multiple"))},[ye("div",{class:J(e.ns.e("content"))},[be(s,{"wrap-class":e.ns.e("wrap")},{default:Re(()=>[be(l,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=p=>e.filteredValue=p),class:J(e.ns.e("checkbox-group"))},{default:Re(()=>[(H(!0),le(kt,null,En(e.filters,p=>(H(),Ue(o,{key:p.value,value:p.value},{default:Re(()=>[Cn(ft(p.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),ye("div",{class:J(e.ns.e("bottom"))},[ye("button",{class:J(e.ns.is("disabled",e.filteredValue.length===0)),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...p)=>e.handleConfirm&&e.handleConfirm(...p))},ft(e.t("el.table.confirmFilter")),11,UJe),ye("button",{type:"button",onClick:t[2]||(t[2]=(...p)=>e.handleReset&&e.handleReset(...p))},ft(e.t("el.table.resetFilter")),1)],2)],2)):(H(),le("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:J(e.ns.e("list")),onKeydown:t[4]||(t[4]=(...p)=>e.handleKeydown&&e.handleKeydown(...p))},[ye("li",{role:"radio",class:J([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]=p=>e.handleSelect(null,0))},ft(e.t("el.table.clearFilter")),11,qJe),(H(!0),le(kt,null,En(e.filters,(p,h)=>(H(),le("li",{key:p.value,role:"radio",class:J([e.ns.e("list-item"),e.ns.is("active",e.isActive(p))]),tabindex:e.checkedIndex===h+1?0:-1,"aria-checked":e.isActive(p),onClick:m=>e.handleSelect(p.value,h+1)},ft(p.text),11,YJe))),128))],34))]),default:Re(()=>{var p;return[ye("button",{type:"button",class:J(`${e.ns.namespace.value}-table__column-filter-trigger`),"aria-label":e.t("el.table.filterLabel",{column:((p=e.column)==null?void 0:p.label)||""})},[be(d,null,{default:Re(()=>[We(e.$slots,"filter-icon",{},()=>{var h;return[(h=e.column)!=null&&h.filterOpened?(H(),Ue(u,{key:0})):(H(),Ue(c,{key:1}))]})]),_:3})],10,JJe)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var ZJe=yt(KJe,[["render",XJe],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function zP(e){const t=Jt();E5(()=>{n.value.addObserver(t)}),Ut(()=>{r(n.value),a(n.value)}),Il(()=>{r(n.value),a(n.value)}),la(()=>{n.value.removeObserver(t)});const n=R(()=>{const i=e.layout;if(!i)throw new Error("Can not find table layout.");return i}),r=i=>{var o;const l=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col"))||[];if(!l.length)return;const s=i.getFlattenColumns(),u={};s.forEach(c=>{u[c.id]=c});for(let c=0,d=l.length;c{var o,l;const s=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let c=0,d=s.length;c{m.stopPropagation()},i=(m,v)=>{!v.filters&&v.sortable?h(m,v,!1):v.filterable&&!v.sortable&&a(m),r==null||r.emit("header-click",v,m)},o=(m,v)=>{r==null||r.emit("header-contextmenu",v,m)},l=j(null),s=j(!1),u=j(),c=(m,v)=>{var g,b;if(Yn&&!(v.children&&v.children.length>0)&&l.value&&e.border&&l.value.id===v.id){s.value=!0;const C=r;t("set-drag-visible",!0);const y=C==null?void 0:C.vnode.el,E=y==null?void 0:y.getBoundingClientRect().left,w=(b=(g=n==null?void 0:n.vnode)==null?void 0:g.el)==null?void 0:b.querySelector(`th.${v.id}`),S=w.getBoundingClientRect(),A=S.left-E+30;as(w,"noclick"),u.value={startMouseLeft:m.clientX,startLeft:S.right-E,startColumnLeft:S.left-E,tableLeft:E};const D=C==null?void 0:C.refs.resizeProxy;D.style.left=`${u.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const k=_=>{const M=_.clientX-u.value.startMouseLeft,L=u.value.startLeft+M;D.style.left=`${Math.max(A,L)}px`},x=()=>{if(s.value){const{startColumnLeft:_,startLeft:M}=u.value,I=Number.parseInt(D.style.left,10)-_;v.width=v.realWidth=I,C==null||C.emit("header-dragend",v.width,M-_,v,m),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",s.value=!1,l.value=null,u.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",k),document.removeEventListener("mouseup",x),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{fo(w,"noclick")},0)};document.addEventListener("mousemove",k),document.addEventListener("mouseup",x)}},d=(m,v)=>{var g;if(!e.border||v.children&&v.children.length>0)return;const b=m.target,C=rl(b)?b.closest("th"):null;if(!C)return;const y=Ju(C,"is-sortable");if(y){const k=s.value?"col-resize":"";C.style.cursor=k;const x=C.querySelector(".caret-wrapper");x&&(x.style.cursor=k)}if(!v.resizable||s.value){l.value=null;return}const E=C.getBoundingClientRect(),w=((g=C.parentNode)==null?void 0:g.lastElementChild)===C,S=e.allowDragLastColumn||!w,A=E.width>12&&E.right-m.clientX<8&&S,D=A?"col-resize":"";document.body.style.cursor=D,l.value=A?v:null,y&&(C.style.cursor=D)},f=()=>{!Yn||s.value||(document.body.style.cursor="")},p=({order:m,sortOrders:v})=>{if(m==="")return v[0];const g=v.indexOf(m||null);return v[g>v.length-2?0:g+1]},h=(m,v,g)=>{var b;m.stopPropagation();const C=v.order===g?null:g||p(v),y=(b=m.target)==null?void 0:b.closest("th");if(y&&Ju(y,"noclick")){fo(y,"noclick");return}if(!v.sortable)return;const E=m.currentTarget;if(["ascending","descending"].some(k=>Ju(E,k)&&!v.sortOrders.includes(k)))return;const w=e.store.states;let S=w.sortProp.value,A;const D=w.sortingColumn.value;(D!==v||D===v&&b9(D.order))&&(D&&(D.order=null),w.sortingColumn.value=v,S=v.property),C?A=v.order=C:A=v.order=null,w.sortProp.value=S,w.sortOrder.value=A,r==null||r.store.commit("changeSortCondition")};return{handleHeaderClick:i,handleHeaderContextMenu:o,handleMouseDown:c,handleMouseMove:d,handleMouseOut:f,handleSortClick:h,handleFilterClick:a}}function eXe(e){const t=lt(hu),n=at("table");return{getHeaderRowStyle:l=>{const s=t==null?void 0:t.props.headerRowStyle;return Lt(s)?s.call(null,{rowIndex:l}):s},getHeaderRowClass:l=>{const s=[],u=t==null?void 0:t.props.headerRowClassName;return Bt(u)?s.push(u):Lt(u)&&s.push(u.call(null,{rowIndex:l})),s.join(" ")},getHeaderCellStyle:(l,s,u,c)=>{var d;let f=(d=t==null?void 0:t.props.headerCellStyle)!=null?d:{};Lt(f)&&(f=f.call(null,{rowIndex:l,columnIndex:s,row:u,column:c}));const p=VP(s,c.fixed,e.store,u);return d0(p,"left"),d0(p,"right"),Object.assign({},f,p)},getHeaderCellClass:(l,s,u,c)=>{const d=$P(n.b(),s,c.fixed,e.store,u),f=[c.id,c.order,c.headerAlign,c.className,c.labelClassName,...d];c.children||f.push("is-leaf"),c.sortable&&f.push("is-sortable");const p=t==null?void 0:t.props.headerCellClassName;return Bt(p)?f.push(p):Lt(p)&&f.push(p.call(null,{rowIndex:l,columnIndex:s,row:u,column:c})),f.push(n.e("cell")),f.filter(h=>!!h).join(" ")}}}const qce=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,qce(n.children))):t.push(n)}),t},Yce=e=>{let t=1;const n=(i,o)=>{if(o&&(i.level=o.level+1,t{n(s,i),l+=s.colSpan}),i.colSpan=l}else i.colSpan=1};e.forEach(i=>{i.level=1,n(i,void 0)});const r=[];for(let i=0;i{i.children?(i.rowSpan=1,i.children.forEach(o=>o.isSubColumn=!0)):i.rowSpan=t-i.level+1,r[i.level-1].push(i)}),r};function tXe(e){const t=lt(hu),n=R(()=>Yce(e.store.states.originColumns.value));return{isGroup:R(()=>{const i=n.value.length>1;return i&&t&&(t.state.isGroup.value=!0),i}),toggleAllSelection:i=>{i.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var nXe=Ve({name:"ElTableHeader",components:{ElCheckbox:eu},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 n=Jt(),r=lt(hu),a=at("table"),i=j({}),{onColumnsChange:o,onScrollableChange:l}=zP(r),s=(r==null?void 0:r.props.tableLayout)==="auto",u=dn(new Map),c=j();let d;const f=()=>{d=setTimeout(()=>{u.size>0&&(u.forEach((_,M)=>{const L=c.value.querySelector(`.${M.replace(/\s/g,".")}`);if(L){const I=L.getBoundingClientRect().width;_.width=I||_.width}}),u.clear())})};$e(u,f),Vn(()=>{d&&(clearTimeout(d),d=void 0)}),Ut(()=>Xt(null,null,function*(){yield Oe(),yield Oe();const{prop:_,order:M}=e.defaultSort;r==null||r.store.commit("sort",{prop:_,order:M,init:!0}),f()}));const{handleHeaderClick:p,handleHeaderContextMenu:h,handleMouseDown:m,handleMouseMove:v,handleMouseOut:g,handleSortClick:b,handleFilterClick:C}=QJe(e,t),{getHeaderRowStyle:y,getHeaderRowClass:E,getHeaderCellStyle:w,getHeaderCellClass:S}=eXe(e),{isGroup:A,toggleAllSelection:D,columnRows:k}=tXe(e),{t:x}=xn();return n.state={onColumnsChange:o,onScrollableChange:l},n.filterPanels=i,{ns:a,t:x,filterPanels:i,onColumnsChange:o,onScrollableChange:l,columnRows:k,getHeaderRowClass:E,getHeaderRowStyle:y,getHeaderCellClass:S,getHeaderCellStyle:w,handleHeaderClick:p,handleHeaderContextMenu:h,handleMouseDown:m,handleMouseMove:v,handleMouseOut:g,handleSortClick:b,handleFilterClick:C,isGroup:A,toggleAllSelection:D,saveIndexSelection:u,isTableLayoutAuto:s,theadRef:c,updateFixedColumnStyle:f}},render(){const{ns:e,t,isGroup:n,columnRows:r,getHeaderCellStyle:a,getHeaderCellClass:i,getHeaderRowClass:o,getHeaderRowStyle:l,handleHeaderClick:s,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:d,handleSortClick:f,handleMouseOut:p,store:h,$parent:m,saveIndexSelection:v,isTableLayoutAuto:g}=this;let b=1;return W("thead",{ref:"theadRef",class:e.is("group",n)},r.map((C,y)=>W("tr",{class:o(y),key:y,style:l(y)},C.map((E,w)=>{E.rowSpan>b&&(b=E.rowSpan);const S=i(y,w,C,E);return g&&E.fixed&&v.set(S,E),W("th",{class:S,colspan:E.colSpan,key:`${E.id}-thead`,rowspan:E.rowSpan,scope:E.colSpan>1?"colgroup":"col",ariaSort:E.sortable?E.order:void 0,style:a(y,w,C,E),onClick:A=>{var D;(D=A.currentTarget)!=null&&D.classList.contains("noclick")||s(A,E)},onContextmenu:A=>u(A,E),onMousedown:A=>c(A,E),onMousemove:A=>d(A,E),onMouseout:p},[W("div",{class:["cell",E.filteredValue&&E.filteredValue.length>0?"highlight":""]},[E.renderHeader?E.renderHeader({column:E,$index:w,store:h,_self:m}):E.label,E.sortable&&W("button",{type:"button",class:"caret-wrapper","aria-label":t("el.table.sortLabel",{column:E.label||""}),onClick:A=>f(A,E)},[W("i",{onClick:A=>f(A,E,"ascending"),class:"sort-caret ascending"}),W("i",{onClick:A=>f(A,E,"descending"),class:"sort-caret descending"})]),E.filterable&&W(ZJe,{store:h,placement:E.filterPlacement||"bottom-start",appendTo:m==null?void 0:m.appendFilterPanelTo,column:E,upDataColumn:(A,D)=>{E[A]=D}},{"filter-icon":()=>E.renderFilterIcon?E.renderFilterIcon({filterOpened:E.filterOpened}):null})])])}))))}});function tw(e,t,n=.03){return e-t>n}function rXe(e){const t=lt(hu),n=j(""),r=j(W("div")),a=(h,m,v)=>{var g,b,C;const y=t,E=ew(h);let w=null;const S=(g=y==null?void 0:y.vnode.el)==null?void 0:g.dataset.prefix;E&&(w=fG({columns:(C=(b=e.store)==null?void 0:b.states.columns.value)!=null?C:[]},E,S),w&&(y==null||y.emit(`cell-${v}`,m,w,E,h))),y==null||y.emit(`row-${v}`,m,w,h)},i=(h,m)=>{a(h,m,"dblclick")},o=(h,m)=>{var v;(v=e.store)==null||v.commit("setCurrentRow",m),a(h,m,"click")},l=(h,m)=>{a(h,m,"contextmenu")},s=dc(h=>{var m;(m=e.store)==null||m.commit("setHoverRow",h)},30),u=dc(()=>{var h;(h=e.store)==null||h.commit("setHoverRow",null)},30),c=h=>{const m=window.getComputedStyle(h,null),v=Number.parseInt(m.paddingLeft,10)||0,g=Number.parseInt(m.paddingRight,10)||0,b=Number.parseInt(m.paddingTop,10)||0,C=Number.parseInt(m.paddingBottom,10)||0;return{left:v,right:g,top:b,bottom:C}},d=(h,m,v)=>{var g;let b=(g=m==null?void 0:m.target)==null?void 0:g.parentNode;for(;h>1&&(b=b==null?void 0:b.nextSibling,!(!b||b.nodeName!=="TR"));)v(b,"hover-row hover-fixed-row"),h--};return{handleDoubleClick:i,handleClick:o,handleContextMenu:l,handleMouseEnter:s,handleMouseLeave:u,handleCellMouseEnter:(h,m,v)=>{var g,b,C,y,E,w,S,A,D;if(!t)return;const k=t,x=ew(h),_=(g=k==null?void 0:k.vnode.el)==null?void 0:g.dataset.prefix;let M=null;if(x){if(M=fG({columns:(C=(b=e.store)==null?void 0:b.states.columns.value)!=null?C:[]},x,_),!M)return;x.rowSpan>1&&d(x.rowSpan,h,as);const pe=k.hoverState={cell:x,column:M,row:m};k==null||k.emit("cell-mouse-enter",pe.row,pe.column,pe.cell,h)}if(!v){((y=to)==null?void 0:y.trigger)===x&&((E=to)==null||E());return}const L=h.target.querySelector(".cell");if(!(Ju(L,`${_}-tooltip`)&&L.childNodes.length&&((w=L.textContent)!=null&&w.trim())))return;const I=document.createRange();I.setStart(L,0),I.setEnd(L,L.childNodes.length);const{width:P,height:B}=I.getBoundingClientRect(),{width:T,height:O}=L.getBoundingClientRect(),{top:N,left:V,right:Y,bottom:z}=c(L),ee=V+Y,ae=N+z;tw(P+ee,T)||tw(B+ae,O)||tw(L.scrollWidth,T)?PJe(v,(S=(x==null?void 0:x.innerText)||(x==null?void 0:x.textContent))!=null?S:"",m,M,x,k):((A=to)==null?void 0:A.trigger)===x&&((D=to)==null||D())},handleCellMouseLeave:h=>{const m=ew(h);if(!m)return;m.rowSpan>1&&d(m.rowSpan,h,fo);const v=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",v==null?void 0:v.row,v==null?void 0:v.column,v==null?void 0:v.cell,h)},tooltipContent:n,tooltipTrigger:r}}function aXe(e){const t=lt(hu),n=at("table");return{getRowStyle:(u,c)=>{const d=t==null?void 0:t.props.rowStyle;return Lt(d)?d.call(null,{row:u,rowIndex:c}):d||null},getRowClass:(u,c,d)=>{var f;const p=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&u===((f=e.store)==null?void 0:f.states.currentRow.value)&&p.push("current-row"),e.stripe&&d%2===1&&p.push(n.em("row","striped"));const h=t==null?void 0:t.props.rowClassName;return Bt(h)?p.push(h):Lt(h)&&p.push(h.call(null,{row:u,rowIndex:c})),p},getCellStyle:(u,c,d,f)=>{const p=t==null?void 0:t.props.cellStyle;let h=p!=null?p:{};Lt(p)&&(h=p.call(null,{rowIndex:u,columnIndex:c,row:d,column:f}));const m=VP(c,e==null?void 0:e.fixed,e.store);return d0(m,"left"),d0(m,"right"),Object.assign({},h,m)},getCellClass:(u,c,d,f,p)=>{const h=$P(n.b(),c,e==null?void 0:e.fixed,e.store,void 0,p),m=[f.id,f.align,f.className,...h],v=t==null?void 0:t.props.cellClassName;return Bt(v)?m.push(v):Lt(v)&&m.push(v.call(null,{rowIndex:u,columnIndex:c,row:d,column:f})),m.push(n.e("cell")),m.filter(g=>!!g).join(" ")},getSpan:(u,c,d,f)=>{let p=1,h=1;const m=t==null?void 0:t.props.spanMethod;if(Lt(m)){const v=m({row:u,column:c,rowIndex:d,columnIndex:f});st(v)?(p=v[0],h=v[1]):mn(v)&&(p=v.rowspan,h=v.colspan)}return{rowspan:p,colspan:h}},getColspanRealWidth:(u,c,d)=>{if(c<1)return u[d].realWidth;const f=u.map(({realWidth:p,width:h})=>p||h).slice(d,d+c);return Number(f.reduce((p,h)=>Number(p)+Number(h),-1))}}}const iXe=["colspan","rowspan"],oXe=Ve({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(H(),le("td",{colspan:e.colspan,rowspan:e.rowspan},[We(t.$slots,"default")],8,iXe))}});var lXe=yt(oXe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table-body/td-wrapper.vue"]]);function sXe(e){const t=lt(hu),n=at("table"),{handleDoubleClick:r,handleClick:a,handleContextMenu:i,handleMouseEnter:o,handleMouseLeave:l,handleCellMouseEnter:s,handleCellMouseLeave:u,tooltipContent:c,tooltipTrigger:d}=rXe(e),{getRowStyle:f,getRowClass:p,getCellStyle:h,getCellClass:m,getSpan:v,getColspanRealWidth:g}=aXe(e);let b=-1;const C=R(()=>{var A;return(A=e.store)==null?void 0:A.states.columns.value.findIndex(({type:D})=>D==="default")}),y=(A,D)=>{var k;const x=(k=t==null?void 0:t.props)==null?void 0:k.rowKey;return x?Wi(A,x):D},E=(A,D,k,x=!1)=>{const{tooltipEffect:_,tooltipOptions:M,store:L}=e,{indent:I,columns:P}=L.states,B=[];let T=!0;return k&&(B.push(n.em("row",`level-${k.level}`)),T=!!k.display),D===0&&(b=-1),e.stripe&&T&&b++,B.push(...p(A,D,b)),W("tr",{style:[T?null:{display:"none"},f(A,D)],class:B,key:y(A,D),onDblclick:N=>r(N,A),onClick:N=>a(N,A),onContextmenu:N=>i(N,A),onMouseenter:()=>o(D),onMouseleave:l},P.value.map((N,V)=>{const{rowspan:Y,colspan:z}=v(A,N,D,V);if(!Y||!z)return null;const ee=Object.assign({},N);ee.realWidth=g(P.value,z,V);const ae={store:L,_self:e.context||t,column:ee,row:A,$index:D,cellIndex:V,expanded:x};V===C.value&&k&&(ae.treeNode={indent:k.level&&k.level*I.value,level:k.level},hr(k.expanded)&&(ae.treeNode.expanded=k.expanded,"loading"in k&&(ae.treeNode.loading=k.loading),"noLazyChildren"in k&&(ae.treeNode.noLazyChildren=k.noLazyChildren)));const pe=`${y(A,D)},${V}`,re=ee.columnKey||ee.rawColumnKey||"",Q=N.showOverflowTooltip&&Ole({effect:_},M,N.showOverflowTooltip);return W(lXe,{style:h(D,V,A,N),class:m(D,V,A,N,z-1),key:`${re}${pe}`,rowspan:Y,colspan:z,onMouseenter:ie=>s(ie,A,Q),onMouseleave:u},{default:()=>w(V,N,ae)})}))},w=(A,D,k)=>D.renderCell(k);return{wrappedRowRender:(A,D)=>{const k=e.store,{isRowExpanded:x,assertRowKey:_}=k,{treeData:M,lazyTreeNodeMap:L,childrenColumnName:I,rowKey:P}=k.states,B=k.states.columns.value;if(B.some(({type:O})=>O==="expand")){const O=x(A),N=E(A,D,void 0,O),V=t==null?void 0:t.renderExpanded;if(!V)return console.error("[Element Error]renderExpanded is required."),N;const Y=[[N]];return(t.props.preserveExpandedContent||O)&&Y[0].push(W("tr",{key:`expanded-row__${N.key}`,style:{display:O?"":"none"}},[W("td",{colspan:B.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[V({row:A,$index:D,store:k,expanded:O})])])),Y}else if(Object.keys(M.value).length){_();const O=Wi(A,P.value);let N=M.value[O],V=null;N&&(V={expanded:N.expanded,level:N.level,display:!0,noLazyChildren:void 0,loading:void 0},hr(N.lazy)&&(V&&hr(N.loaded)&&N.loaded&&(V.noLazyChildren=!(N.children&&N.children.length)),V.loading=N.loading));const Y=[E(A,D,V!=null?V:void 0)];if(N){let z=0;const ee=(pe,re)=>{pe&&pe.length&&re&&pe.forEach(Q=>{const ie={display:re.display&&re.expanded,level:re.level+1,expanded:!1,noLazyChildren:!1,loading:!1},X=Wi(Q,P.value);if(al(X))throw new Error("For nested data item, row-key is required.");if(N=Te({},M.value[X]),N&&(ie.expanded=N.expanded,N.level=N.level||ie.level,N.display=!!(N.expanded&&ie.display),hr(N.lazy)&&(hr(N.loaded)&&N.loaded&&(ie.noLazyChildren=!(N.children&&N.children.length)),ie.loading=N.loading)),z++,Y.push(E(Q,D+z,ie)),N){const q=L.value[X]||Q[I.value];ee(q,N)}})};N.display=!0;const ae=L.value[O]||A[I.value];ee(ae,N)}return Y}else return E(A,D,void 0)},tooltipContent:c,tooltipTrigger:d}}const uXe={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 cXe=Ve({name:"ElTableBody",props:uXe,setup(e){var t;const n=Jt(),r=lt(hu),a=at("table"),{wrappedRowRender:i,tooltipContent:o,tooltipTrigger:l}=sXe(e),{onColumnsChange:s,onScrollableChange:u}=zP(r),c=[];return $e((t=e.store)==null?void 0:t.states.hoverRow,(d,f)=>{var p,h;const m=n==null?void 0:n.vnode.el,v=Array.from((m==null?void 0:m.children)||[]).filter(C=>C==null?void 0:C.classList.contains(`${a.e("row")}`));let g=d;const b=(p=v[g])==null?void 0:p.childNodes;if(b!=null&&b.length){let C=0;Array.from(b).reduce((E,w,S)=>{var A,D;return((A=b[S])==null?void 0:A.colSpan)>1&&(C=(D=b[S])==null?void 0:D.colSpan),w.nodeName!=="TD"&&C===0&&E.push(S),C>0&&C--,E},[]).forEach(E=>{var w;for(g=d;g>0;){const S=(w=v[g-1])==null?void 0:w.childNodes;if(S[E]&&S[E].nodeName==="TD"&&S[E].rowSpan>1){as(S[E],"hover-cell"),c.push(S[E]);break}g--}})}else c.forEach(C=>fo(C,"hover-cell")),c.length=0;!((h=e.store)!=null&&h.states.isComplex.value)||!Yn||fc(()=>{const C=v[f],y=v[d];C&&!C.classList.contains("hover-fixed-row")&&fo(C,"hover-row"),y&&as(y,"hover-row")})}),la(()=>{var d;(d=to)==null||d()}),{ns:a,onColumnsChange:s,onScrollableChange:u,wrappedRowRender:i,tooltipContent:o,tooltipTrigger:l}},render(){const{wrappedRowRender:e,store:t}=this,n=(t==null?void 0:t.states.data.value)||[];return W("tbody",{tabIndex:-1},[n.reduce((r,a)=>r.concat(e(a,r.length)),[])])}});function dXe(){const e=lt(hu),t=e==null?void 0:e.store,n=R(()=>{var l;return(l=t==null?void 0:t.states.fixedLeafColumnsLength.value)!=null?l:0}),r=R(()=>{var l;return(l=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?l:0}),a=R(()=>{var l;return(l=t==null?void 0:t.states.columns.value.length)!=null?l:0}),i=R(()=>{var l;return(l=t==null?void 0:t.states.fixedColumns.value.length)!=null?l:0}),o=R(()=>{var l;return(l=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?l:0});return{leftFixedLeafCount:n,rightFixedLeafCount:r,columnsCount:a,leftFixedCount:i,rightFixedCount:o,columns:R(()=>{var l;return(l=t==null?void 0:t.states.columns.value)!=null?l:[]})}}function fXe(e){const{columns:t}=dXe(),n=at("table");return{getCellClasses:(i,o)=>{const l=i[o],s=[n.e("cell"),l.id,l.align,l.labelClassName,...$P(n.b(),o,l.fixed,e.store)];return l.className&&s.push(l.className),l.children||s.push(n.is("leaf")),s},getCellStyles:(i,o)=>{const l=VP(o,i.fixed,e.store);return d0(l,"left"),d0(l,"right"),l},columns:t}}var pXe=Ve({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=lt(hu),n=at("table"),{getCellClasses:r,getCellStyles:a,columns:i}=fXe(e),{onScrollableChange:o,onColumnsChange:l}=zP(t);return{ns:n,onScrollableChange:o,onColumnsChange:l,getCellClasses:r,getCellStyles:a,columns:i}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:r,sumText:a}=this,i=this.store.states.data.value;let o=[];return r?o=r({columns:e,data:i}):e.forEach((l,s)=>{if(s===0){o[s]=a;return}const u=i.map(p=>Number(p[l.property])),c=[];let d=!0;u.forEach(p=>{if(!Number.isNaN(+p)){d=!1;const h=`${p}`.split(".")[1];c.push(h?h.length:0)}});const f=Math.max.apply(null,c);d?o[s]="":o[s]=u.reduce((p,h)=>{const m=Number(h);return Number.isNaN(+m)?p:Number.parseFloat((p+h).toFixed(Math.min(f,20)))},0)}),W(W("tfoot",[W("tr",{},[...e.map((l,s)=>W("td",{key:s,colspan:l.colSpan,rowspan:l.rowSpan,class:n(e,s),style:t(l,s)},[W("div",{class:["cell",l.labelClassName]},[o[s]])]))])]))}});function hXe(e){return{setCurrentRow:d=>{e.commit("setCurrentRow",d)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(d,f,p=!0)=>{e.toggleRowSelection(d,f,!1,p),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:d=>{e.clearFilter(d)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(d,f)=>{e.toggleRowExpansionAdapter(d,f)},clearSort:()=>{e.clearSort()},sort:(d,f)=>{e.commit("sort",{prop:d,order:f})},updateKeyChildren:(d,f)=>{e.updateKeyChildren(d,f)}}}function mXe(e,t,n,r){const a=j(!1),i=j(null),o=j(!1),l=B=>{o.value=B},s=j({width:null,height:null,headerHeight:null}),u=j(!1),c={display:"inline-block",verticalAlign:"middle"},d=j(),f=j(0),p=j(0),h=j(0),m=j(0),v=j(0);$e(()=>e.height,B=>{t.setHeight(B!=null?B:null)},{immediate:!0}),$e(()=>e.maxHeight,B=>{t.setMaxHeight(B!=null?B:null)},{immediate:!0}),$e(()=>[e.currentRowKey,n.states.rowKey],([B,T])=>{!F(T)||!F(B)||n.setCurrentRowKey(`${B}`)},{immediate:!0}),$e(()=>e.data,B=>{r.store.commit("setData",B)},{immediate:!0,deep:!0}),No(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const g=()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},b=(B,T)=>{const{pixelX:O,pixelY:N}=T;Math.abs(O)>=Math.abs(N)&&(r.refs.bodyWrapper.scrollLeft+=T.pixelX/5)},C=R(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),y=R(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),E=()=>{C.value&&t.updateElsHeight(),t.updateColumnsWidth(),typeof window!="undefined"&&requestAnimationFrame(D)};Ut(()=>Xt(null,null,function*(){yield Oe(),n.updateColumns(),k(),requestAnimationFrame(E);const B=r.vnode.el,T=r.refs.headerWrapper;e.flexible&&B&&B.parentElement&&(B.parentElement.style.minWidth="0"),s.value={width:d.value=B.offsetWidth,height:B.offsetHeight,headerHeight:e.showHeader&&T?T.offsetHeight:null},n.states.columns.value.forEach(O=>{O.filteredValue&&O.filteredValue.length&&r.store.commit("filterChange",{column:O,values:O.filteredValue,silent:!0})}),r.$ready=!0}));const w=(B,T)=>{if(!B)return;const O=Array.from(B.classList).filter(N=>!N.startsWith("is-scrolling-"));O.push(t.scrollX.value?T:"is-scrolling-none"),B.className=O.join(" ")},S=B=>{const{tableWrapper:T}=r.refs;w(T,B)},A=B=>{const{tableWrapper:T}=r.refs;return!!(T&&T.classList.contains(B))},D=function(){if(!r.refs.scrollBarRef)return;if(!t.scrollX.value){const ee="is-scrolling-none";A(ee)||S(ee);return}const B=r.refs.scrollBarRef.wrapRef;if(!B)return;const{scrollLeft:T,offsetWidth:O,scrollWidth:N}=B,{headerWrapper:V,footerWrapper:Y}=r.refs;V&&(V.scrollLeft=T),Y&&(Y.scrollLeft=T);const z=N-O-1;T>=z?S("is-scrolling-right"):S(T===0?"is-scrolling-left":"is-scrolling-middle")},k=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&ir(r.refs.scrollBarRef.wrapRef,"scroll",D,{passive:!0}),e.fit?zr(r.vnode.el,x):ir(window,"resize",x),zr(r.refs.tableInnerWrapper,()=>{var B,T;x(),(T=(B=r.refs)==null?void 0:B.scrollBarRef)==null||T.update()}))},x=()=>{var B,T,O,N;const V=r.vnode.el;if(!r.$ready||!V)return;let Y=!1;const{width:z,height:ee,headerHeight:ae}=s.value,pe=d.value=V.offsetWidth;z!==pe&&(Y=!0);const re=V.offsetHeight;(e.height||C.value)&&ee!==re&&(Y=!0);const Q=e.tableLayout==="fixed"?r.refs.headerWrapper:(B=r.refs.tableHeaderRef)==null?void 0:B.$el;e.showHeader&&(Q==null?void 0:Q.offsetHeight)!==ae&&(Y=!0),f.value=((T=r.refs.tableWrapper)==null?void 0:T.scrollHeight)||0,h.value=(Q==null?void 0:Q.scrollHeight)||0,m.value=((O=r.refs.footerWrapper)==null?void 0:O.offsetHeight)||0,v.value=((N=r.refs.appendWrapper)==null?void 0:N.offsetHeight)||0,p.value=f.value-h.value-m.value-v.value,Y&&(s.value={width:pe,height:re,headerHeight:e.showHeader&&(Q==null?void 0:Q.offsetHeight)||0},E())},_=ja(),M=R(()=>{const{bodyWidth:B,scrollY:T,gutterWidth:O}=t;return B.value?`${B.value-(T.value?O:0)}px`:""}),L=R(()=>e.maxHeight?"fixed":e.tableLayout),I=R(()=>{if(e.data&&e.data.length)return;let B="100%";e.height&&p.value&&(B=`${p.value}px`);const T=d.value;return{width:T?`${T}px`:"",height:B}}),P=R(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${h.value+m.value}px)`}:{maxHeight:`${+e.maxHeight-h.value-m.value}px`}:{});return{isHidden:a,renderExpanded:i,setDragVisible:l,isGroup:u,handleMouseLeave:g,handleHeaderFooterMousewheel:b,tableSize:_,emptyBlockStyle:I,resizeProxyVisible:o,bodyWidth:M,resizeState:s,doLayout:E,tableBodyStyles:y,tableLayout:L,scrollbarViewStyle:c,scrollbarStyle:P}}function vXe(e){let t;const n=()=>{const a=e.vnode.el.querySelector(".hidden-columns"),i={childList:!0,subtree:!0},o=e.store.states.updateOrderFns;t=new MutationObserver(()=>{o.forEach(l=>l())}),t.observe(a,i)};Ut(()=>{n()}),la(()=>{t==null||t.disconnect()})}var gXe={data:{type:Array,default:()=>[]},size:Xa,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,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],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function Jce(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(({width:a})=>On(a))&&(n=[]);const r=a=>{const i={key:`${e.tableLayout}_${a.id}`,style:{},name:void 0};return t?i.style={width:`${a.width}px`}:i.name=a.id,i};return W("colgroup",{},n.map(a=>W("col",r(a))))}Jce.props=["columns","tableLayout"];const yXe=()=>{const e=j(),t=(i,o)=>{const l=e.value;l&&l.scrollTo(i,o)},n=(i,o)=>{const l=e.value;l&&$t(o)&&["Top","Left"].includes(i)&&l[`setScroll${i}`](o)};return{scrollBarRef:e,scrollTo:t,setScrollTop:i=>n("Top",i),setScrollLeft:i=>n("Left",i)}};var mG=!1,Ah,YM,JM,Y3,J3,Xce,X3,XM,ZM,QM,Zce,eB,tB,Qce,ede;function Yo(){if(!mG){mG=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(eB=/\b(iPhone|iP[ao]d)/.exec(e),tB=/\b(iP[ao]d)/.exec(e),QM=/Android/i.exec(e),Qce=/FBAN\/\w+;/i.exec(e),ede=/Mobile/i.exec(e),Zce=!!/Win64/.exec(e),t){Ah=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Ah&&document&&document.documentMode&&(Ah=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);Xce=r?parseFloat(r[1])+4:Ah,YM=t[2]?parseFloat(t[2]):NaN,JM=t[3]?parseFloat(t[3]):NaN,Y3=t[4]?parseFloat(t[4]):NaN,Y3?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),J3=t&&t[1]?parseFloat(t[1]):NaN):J3=NaN}else Ah=YM=JM=J3=Y3=NaN;if(n){if(n[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);X3=a?parseFloat(a[1].replace("_",".")):!0}else X3=!1;XM=!!n[2],ZM=!!n[3]}else X3=XM=ZM=!1}}var nB={ie:function(){return Yo()||Ah},ieCompatibilityMode:function(){return Yo()||Xce>Ah},ie64:function(){return nB.ie()&&Zce},firefox:function(){return Yo()||YM},opera:function(){return Yo()||JM},webkit:function(){return Yo()||Y3},safari:function(){return nB.webkit()},chrome:function(){return Yo()||J3},windows:function(){return Yo()||XM},osx:function(){return Yo()||X3},linux:function(){return Yo()||ZM},iphone:function(){return Yo()||eB},mobile:function(){return Yo()||eB||tB||QM||ede},nativeApp:function(){return Yo()||Qce},android:function(){return Yo()||QM},ipad:function(){return Yo()||tB}},bXe=nB,CXe=!!(typeof window<"u"&&window.document&&window.document.createElement),FXe={canUseDOM:CXe},tde=FXe,nde;tde.canUseDOM&&(nde=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function EXe(e,t){if(!tde.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r=typeof a[n]=="function"}return!r&&nde&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var wXe=EXe,vG=10,gG=40,yG=800;function rde(e){var t=0,n=0,r=0,a=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*vG,a=n*vG,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||a)&&e.deltaMode&&(e.deltaMode==1?(r*=gG,a*=gG):(r*=yG,a*=yG)),r&&!t&&(t=r<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:a}}rde.getEventType=function(){return bXe.firefox()?"DOMMouseScroll":wXe("wheel")?"wheel":"mousewheel"};var SXe=rde;const Z3="_Mousewheel",bG=function(e,t){if(e&&e.addEventListener){ade(e);const n=function(r){const a=SXe(r);t&&Reflect.apply(t,this,[r,a])};e[Z3]={wheelHandler:n},e.addEventListener("wheel",n,{passive:!0})}},ade=e=>{var t;(t=e[Z3])!=null&&t.wheelHandler&&(e.removeEventListener("wheel",e[Z3].wheelHandler),e[Z3]=null)},AXe={beforeMount(e,t){bG(e,t.value)},unmounted(e){ade(e)},updated(e,t){t.value!==t.oldValue&&bG(e,t.value)}};let DXe=1;const TXe=Ve({name:"ElTable",directives:{Mousewheel:AXe},components:{TableHeader:nXe,TableBody:cXe,TableFooter:pXe,ElScrollbar:Qs,hColgroup:Jce},props:gXe,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t}=xn(),n=at("table"),r=Jt();Qt(hu,r);const a=WJe(r,e);r.store=a;const i=new jJe({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=i;const o=R(()=>(a.states.data.value||[]).length===0),{setCurrentRow:l,getSelectionRows:s,toggleRowSelection:u,clearSelection:c,clearFilter:d,toggleAllSelection:f,toggleRowExpansion:p,clearSort:h,sort:m,updateKeyChildren:v}=hXe(a),{isHidden:g,renderExpanded:b,setDragVisible:C,isGroup:y,handleMouseLeave:E,handleHeaderFooterMousewheel:w,tableSize:S,emptyBlockStyle:A,resizeProxyVisible:D,bodyWidth:k,resizeState:x,doLayout:_,tableBodyStyles:M,tableLayout:L,scrollbarViewStyle:I,scrollbarStyle:P}=mXe(e,i,a,r),{scrollBarRef:B,scrollTo:T,setScrollLeft:O,setScrollTop:N}=yXe(),V=dc(_,50),Y=`${n.namespace.value}-table_${DXe++}`;r.tableId=Y,r.state={isGroup:y,resizeState:x,doLayout:_,debouncedUpdateLayout:V};const z=R(()=>{var pe;return(pe=e.sumText)!=null?pe:t("el.table.sumText")}),ee=R(()=>{var pe;return(pe=e.emptyText)!=null?pe:t("el.table.emptyText")}),ae=R(()=>Yce(a.states.originColumns.value)[0]);return vXe(r),Vn(()=>{V.cancel()}),{ns:n,layout:i,store:a,columns:ae,handleHeaderFooterMousewheel:w,handleMouseLeave:E,tableId:Y,tableSize:S,isHidden:g,isEmpty:o,renderExpanded:b,resizeProxyVisible:D,resizeState:x,isGroup:y,bodyWidth:k,tableBodyStyles:M,emptyBlockStyle:A,debouncedUpdateLayout:V,setCurrentRow:l,getSelectionRows:s,toggleRowSelection:u,clearSelection:c,clearFilter:d,toggleAllSelection:f,toggleRowExpansion:p,clearSort:h,doLayout:_,sort:m,updateKeyChildren:v,t,setDragVisible:C,context:r,computedSumText:z,computedEmptyText:ee,tableLayout:L,scrollbarViewStyle:I,scrollbarStyle:P,scrollBarRef:B,scrollTo:T,setScrollLeft:O,setScrollTop:N,allowDragLastColumn:e.allowDragLastColumn}}}),kXe=["data-prefix"],_Xe={ref:"hiddenColumns",class:"hidden-columns"};function xXe(e,t,n,r,a,i){const o=en("hColgroup"),l=en("table-header"),s=en("table-body"),u=en("table-footer"),c=en("el-scrollbar"),d=q0("mousewheel");return H(),le("div",{ref:"tableWrapper",class:J([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:Pt(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[1]||(t[1]=(...f)=>e.handleMouseLeave&&e.handleMouseLeave(...f))},[ye("div",{ref:"tableInnerWrapper",class:J(e.ns.e("inner-wrapper"))},[ye("div",_Xe,[We(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?hn((H(),le("div",{key:0,ref:"headerWrapper",class:J(e.ns.e("header-wrapper"))},[ye("table",{ref:"tableHeader",class:J(e.ns.e("header")),style:Pt(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[be(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),be(l,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[d,e.handleHeaderFooterMousewheel]]):Pe("v-if",!0),ye("div",{ref:"bodyWrapper",class:J(e.ns.e("body-wrapper"))},[be(c,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:t[0]||(t[0]=f=>e.$emit("scroll",f))},{default:Re(()=>[ye("table",{ref:"tableBody",class:J(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Pt({width:e.bodyWidth,tableLayout:e.tableLayout})},[be(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(H(),Ue(l,{key:0,ref:"tableHeaderRef",class:J(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):Pe("v-if",!0),be(s,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(H(),Ue(u,{key:1,class:J(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):Pe("v-if",!0)],6),e.isEmpty?(H(),le("div",{key:0,ref:"emptyBlock",style:Pt(e.emptyBlockStyle),class:J(e.ns.e("empty-block"))},[ye("span",{class:J(e.ns.e("empty-text"))},[We(e.$slots,"empty",{},()=>[Cn(ft(e.computedEmptyText),1)])],2)],6)):Pe("v-if",!0),e.$slots.append?(H(),le("div",{key:1,ref:"appendWrapper",class:J(e.ns.e("append-wrapper"))},[We(e.$slots,"append")],2)):Pe("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),e.showSummary&&e.tableLayout==="fixed"?hn((H(),le("div",{key:1,ref:"footerWrapper",class:J(e.ns.e("footer-wrapper"))},[ye("table",{class:J(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:Pt(e.tableBodyStyles)},[be(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),be(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[In,!e.isEmpty],[d,e.handleHeaderFooterMousewheel]]):Pe("v-if",!0),e.border||e.isGroup?(H(),le("div",{key:2,class:J(e.ns.e("border-left-patch"))},null,2)):Pe("v-if",!0)],2),hn(ye("div",{ref:"resizeProxy",class:J(e.ns.e("column-resize-proxy"))},null,2),[[In,e.resizeProxyVisible]])],46,kXe)}var MXe=yt(TXe,[["render",xXe],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const BXe={selection:"table-column--selection",expand:"table__expand-column"},RXe={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:""}},LXe=e=>BXe[e]||"",OXe={selection:{renderHeader({store:e}){var t;function n(){return e.states.data.value&&e.states.data.value.length===0}return W(eu,{disabled:n(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":(t=e.toggleAllSelection)!=null?t:void 0,modelValue:e.states.isAllSelected.value,ariaLabel:e.t("el.table.selectAllLabel")})},renderCell({row:e,column:t,store:n,$index:r}){return W(eu,{disabled:t.selectable?!t.selectable.call(null,e,r):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:a=>a.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:n.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const r=e.index;return $t(r)?n=t+r:Lt(r)&&(n=r(t)),W("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:n,expanded:r}){const{ns:a}=n,i=[a.e("expand-icon")];!e.renderExpand&&r&&i.push(a.em("expand-icon","expanded"));const o=function(l){l.stopPropagation(),n.toggleRowExpansion(t)};return W("button",{type:"button","aria-label":n.t(r?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":r,class:i,onClick:o},{default:()=>e.renderExpand?[e.renderExpand({expanded:r})]:[W(Rt,null,{default:()=>[W(po)]})]})},sortable:!1,resizable:!1}};function PXe({row:e,column:t,$index:n}){var r;const a=t.property,i=a&&B1(e,a).value;return t&&t.formatter?t.formatter(e,t,i,n):((r=i==null?void 0:i.toString)==null?void 0:r.call(i))||""}function IXe({row:e,treeNode:t,store:n},r=!1){const{ns:a}=n;if(!t)return r?[W("span",{class:a.e("placeholder")})]:null;const i=[],o=function(l){l.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&i.push(W("span",{class:a.e("indent"),style:{"padding-left":`${t.indent}px`}})),hr(t.expanded)&&!t.noLazyChildren){const l=[a.e("expand-icon"),t.expanded?a.em("expand-icon","expanded"):""];let s=po;t.loading&&(s=pc),i.push(W("button",{type:"button","aria-label":n.t(t.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":t.expanded,class:l,onClick:o},{default:()=>[W(Rt,{class:a.is("loading",t.loading)},{default:()=>[W(s)]})]}))}else i.push(W("span",{class:a.e("placeholder")}));return i}function CG(e,t){return e.reduce((n,r)=>(n[r]=r,n),t)}function NXe(e,t){const n=Jt();return{registerComplexWatchers:()=>{const i=["fixed"],o={realWidth:"width",realMinWidth:"minWidth"},l=CG(i,o);Object.keys(l).forEach(s=>{const u=o[s];qn(t,u)&&$e(()=>t[u],c=>{let d=c;u==="width"&&s==="realWidth"&&(d=NP(c)),u==="minWidth"&&s==="realMinWidth"&&(d=zce(c)),n.columnConfig.value[u]=d,n.columnConfig.value[s]=d;const f=u==="fixed";e.value.store.scheduleLayout(f)})})},registerNormalWatchers:()=>{const i=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],o=["showOverflowTooltip"],l={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},s=CG(i,l);Object.keys(s).forEach(u=>{const c=l[u];qn(t,c)&&$e(()=>t[c],d=>{n.columnConfig.value[u]=d,(u==="filters"||u==="filterMethod")&&(n.columnConfig.value.filterable=!!(n.columnConfig.value.filters||n.columnConfig.value.filterMethod))})}),o.forEach(u=>{qn(e.value.props,u)&&$e(()=>e.value.props[u],c=>{n.columnConfig.value.type!=="selection"&&On(t[u])&&(n.columnConfig.value[u]=c)})})}}}function $Xe(e,t,n){const r=Jt(),a=j(""),i=j(!1),o=j(),l=j(),s=at("table");No(()=>{o.value=e.align?`is-${e.align}`:null,o.value}),No(()=>{l.value=e.headerAlign?`is-${e.headerAlign}`:o.value,l.value});const u=R(()=>{let y=r.vnode.vParent||r.parent;for(;y&&!y.tableId&&!y.columnId;)y=y.vnode.vParent||y.parent;return y}),c=R(()=>{const{store:y}=r.parent;if(!y)return!1;const{treeData:E}=y.states,w=E.value;return w&&Object.keys(w).length>0}),d=j(NP(e.width)),f=j(zce(e.minWidth)),p=y=>(d.value&&(y.width=d.value),f.value&&(y.minWidth=f.value),!d.value&&f.value&&(y.width=void 0),y.minWidth||(y.minWidth=80),y.realWidth=Number(On(y.width)?y.minWidth:y.width),y),h=y=>{const E=y.type,w=OXe[E]||{};Object.keys(w).forEach(A=>{const D=w[A];A!=="className"&&!On(D)&&(y[A]=D)});const S=LXe(E);if(S){const A=`${F(s.namespace)}-${S}`;y.className=y.className?`${y.className} ${A}`:A}return y},m=y=>{st(y)?y.forEach(w=>E(w)):E(y);function E(w){var S;((S=w==null?void 0:w.type)==null?void 0:S.name)==="ElTableColumn"&&(w.vParent=r)}};return{columnId:a,realAlign:o,isSubColumn:i,realHeaderAlign:l,columnOrTableParent:u,setColumnWidth:p,setColumnForcedProps:h,setColumnRenders:y=>{e.renderHeader||y.type!=="selection"&&(y.renderHeader=w=>{if(r.columnConfig.value.label,t.header){const S=t.header(w);if(jce(S))return W(kt,S)}return Cn(y.label)}),t["filter-icon"]&&(y.renderFilterIcon=w=>We(t,"filter-icon",w)),t.expand&&(y.renderExpand=w=>We(t,"expand",w));let E=y.renderCell;return y.type==="expand"?(y.renderCell=w=>W("div",{class:"cell"},[E(w)]),n.value.renderExpanded=w=>t.default?t.default(w):t.default):(E=E||PXe,y.renderCell=w=>{let S=null;if(t.default){const M=t.default(w);S=M.some(L=>L.type!==ia)?M:E(w)}else S=E(w);const{columns:A}=n.value.store.states,D=A.value.findIndex(M=>M.type==="default"),k=c.value&&w.cellIndex===D,x=IXe(w,k),_={class:"cell",style:{}};return y.showOverflowTooltip&&(_.class=`${_.class} ${F(s.namespace)}-tooltip`,_.style={width:`${(w.column.realWidth||Number(w.column.width))-1}px`}),m(S),W("div",_,[x,S])}),y},getPropsData:(...y)=>y.reduce((E,w)=>(st(w)&&w.forEach(S=>{E[S]=e[S]}),E),{}),getColumnElIndex:(y,E)=>Array.prototype.indexOf.call(y,E),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",r.columnConfig.value)}}}var VXe={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))}};let HXe=1;var ide=Ve({name:"ElTableColumn",components:{ElCheckbox:eu},props:VXe,setup(e,{slots:t}){const n=Jt(),r=j({}),a=R(()=>{let C=n.parent;for(;C&&!C.tableId;)C=C.parent;return C}),{registerNormalWatchers:i,registerComplexWatchers:o}=NXe(a,e),{columnId:l,isSubColumn:s,realHeaderAlign:u,columnOrTableParent:c,setColumnWidth:d,setColumnForcedProps:f,setColumnRenders:p,getPropsData:h,getColumnElIndex:m,realAlign:v,updateColumnOrder:g}=$Xe(e,t,a),b=c.value;l.value=`${"tableId"in b&&b.tableId||"columnId"in b&&b.columnId}_column_${HXe++}`,E5(()=>{s.value=a.value!==b;const C=e.type||"default",y=e.sortable===""?!0:e.sortable,E=C==="selection"?!1:On(e.showOverflowTooltip)?b.props.showOverflowTooltip:e.showOverflowTooltip,w=On(e.tooltipFormatter)?b.props.tooltipFormatter:e.tooltipFormatter,S=Et(Te({},RXe[C]),{id:l.value,type:C,property:e.prop||e.property,align:v,headerAlign:u,showOverflowTooltip:E,tooltipFormatter:w,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:y,index:e.index,rawColumnKey:n.vnode.key});let _=h(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);_=MJe(S,_),_=RJe(p,d,f)(_),r.value=_,i(),o()}),Ut(()=>{var C,y;const E=c.value,w=s.value?(C=E.vnode.el)==null?void 0:C.children:(y=E.refs.hiddenColumns)==null?void 0:y.children,S=()=>m(w||[],n.vnode.el);r.value.getColumnIndex=S,S()>-1&&a.value.store.commit("insertColumn",r.value,s.value?"columnConfig"in E&&E.columnConfig.value:null,g)}),Vn(()=>{const C=r.value.getColumnIndex;(C?C():-1)>-1&&a.value.store.commit("removeColumn",r.value,s.value?"columnConfig"in b&&b.columnConfig.value:null,g)}),n.columnId=l.value,n.columnConfig=r},render(){var e,t,n;try{const r=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),a=[];if(st(r))for(const o of r)((n=o.type)==null?void 0:n.name)==="ElTableColumn"||o.shapeFlag&2?a.push(o):o.type===kt&&st(o.children)&&o.children.forEach(l=>{(l==null?void 0:l.patchFlag)!==1024&&!Bt(l==null?void 0:l.children)&&a.push(l)});return W("div",a)}catch(r){return W("div",[])}}});const ode=fn(MXe,{TableColumn:ide}),lde=sa(ide);var Ph=(e=>(e.ASC="asc",e.DESC="desc",e))(Ph||{}),F2=(e=>(e.LEFT="left",e.CENTER="center",e.RIGHT="right",e))(F2||{}),sde=(e=>(e.LEFT="left",e.RIGHT="right",e))(sde||{});const rB={asc:"desc",desc:"asc"},E2=Symbol("placeholder"),zXe=(e,t,n)=>{var r,a,i;const o=Te({flexGrow:0,flexShrink:0},n?{}:{flexGrow:(r=e.flexGrow)!=null?r:0,flexShrink:(a=e.flexShrink)!=null?a:1}),l=Et(Te(Te({},(i=e.style)!=null?i:{}),o),{flexBasis:"auto",width:e.width});return t||(e.maxWidth&&(l.maxWidth=e.maxWidth),e.minWidth&&(l.minWidth=e.minWidth)),l};function WXe(e,t,n){const r=R(()=>F(t).map((v,g)=>{var b,C;return Et(Te({},v),{key:(C=(b=v.key)!=null?b:v.dataKey)!=null?C:g})})),a=R(()=>F(r).filter(v=>!v.hidden)),i=R(()=>F(a).filter(v=>v.fixed==="left"||v.fixed===!0)),o=R(()=>F(a).filter(v=>v.fixed==="right")),l=R(()=>F(a).filter(v=>!v.fixed)),s=R(()=>{const v=[];return F(i).forEach(g=>{v.push(Et(Te({},g),{placeholderSign:E2}))}),F(l).forEach(g=>{v.push(g)}),F(o).forEach(g=>{v.push(Et(Te({},g),{placeholderSign:E2}))}),v}),u=R(()=>F(i).length||F(o).length),c=R(()=>F(r).reduce((v,g)=>(v[g.key]=zXe(g,F(n),e.fixed),v),{})),d=R(()=>F(a).reduce((v,g)=>v+g.width,0)),f=v=>F(r).find(g=>g.key===v),p=v=>F(c)[v],h=(v,g)=>{v.width=g};function m(v){var g;const{key:b}=v.currentTarget.dataset;if(!b)return;const{sortState:C,sortBy:y}=e;let E=Ph.ASC;mn(C)?E=rB[C[b]]:E=rB[y.order],(g=e.onColumnSort)==null||g.call(e,{column:f(b),key:b,order:E})}return{columns:r,columnsStyles:c,columnsTotalWidth:d,fixedColumnsOnLeft:i,fixedColumnsOnRight:o,hasFixedColumns:u,mainColumns:s,normalColumns:l,visibleColumns:a,getColumn:f,getColumnStyle:p,updateColumnWidth:h,onColumnSorted:m}}const GXe=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:a})=>{const i=j({scrollLeft:0,scrollTop:0});function o(p){var h,m,v;const{scrollTop:g}=p;(h=t.value)==null||h.scrollTo(p),(m=n.value)==null||m.scrollToTop(g),(v=r.value)==null||v.scrollToTop(g)}function l(p){i.value=p,o(p)}function s(p){i.value.scrollTop=p,o(F(i))}function u(p){var h,m;i.value.scrollLeft=p,(m=(h=t.value)==null?void 0:h.scrollTo)==null||m.call(h,F(i))}function c(p){var h;l(p),(h=e.onScroll)==null||h.call(e,p)}function d({scrollTop:p}){const{scrollTop:h}=F(i);p!==h&&s(p)}function f(p,h="auto"){var m;(m=t.value)==null||m.scrollToRow(p,h)}return $e(()=>F(i).scrollTop,(p,h)=>{p>h&&a()}),{scrollPos:i,scrollTo:l,scrollToLeft:u,scrollToTop:s,scrollToRow:f,onScroll:c,onVerticalScroll:d}},jXe=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:a,ns:i,isScrolling:o})=>{const l=Jt(),{emit:s}=l,u=Zn(!1),c=j(e.defaultExpandedRowKeys||[]),d=j(-1),f=Zn(null),p=j({}),h=j({}),m=Zn({}),v=Zn({}),g=Zn({}),b=R(()=>$t(e.estimatedRowHeight));function C(k){var x;(x=e.onRowsRendered)==null||x.call(e,k),k.rowCacheEnd>F(d)&&(d.value=k.rowCacheEnd)}function y({hovered:k,rowKey:x}){if(o.value)return;a.vnode.el.querySelectorAll(`[rowkey="${String(x)}"]`).forEach(L=>{k?L.classList.add(i.is("hovered")):L.classList.remove(i.is("hovered"))})}function E({expanded:k,rowData:x,rowIndex:_,rowKey:M}){var L,I;const P=[...F(c)],B=P.indexOf(M);k?B===-1&&P.push(M):B>-1&&P.splice(B,1),c.value=P,s("update:expandedRowKeys",P),(L=e.onRowExpand)==null||L.call(e,{expanded:k,rowData:x,rowIndex:_,rowKey:M}),(I=e.onExpandedRowsChange)==null||I.call(e,P),a.vnode.el.querySelector(`.${i.is("hovered")}[rowkey="${String(M)}"]`)&&Oe(()=>y({hovered:!0,rowKey:M}))}const w=dc(()=>{var k,x,_,M;u.value=!0,p.value=Te(Te({},F(p)),F(h)),S(F(f),!1),h.value={},f.value=null,(k=t.value)==null||k.forceUpdate(),(x=n.value)==null||x.forceUpdate(),(_=r.value)==null||_.forceUpdate(),(M=l.proxy)==null||M.$forceUpdate(),u.value=!1},0);function S(k,x=!1){F(b)&&[t,n,r].forEach(_=>{const M=F(_);M&&M.resetAfterRowIndex(k,x)})}function A(k,x,_){const M=F(f);(M===null||M>_)&&(f.value=_),h.value[k]=x}function D({rowKey:k,height:x,rowIndex:_},M){M?M===sde.RIGHT?g.value[k]=x:m.value[k]=x:v.value[k]=x;const L=Math.max(...[m,g,v].map(I=>I.value[k]||0));F(p)[k]!==L&&(A(k,L,_),w())}return{expandedRowKeys:c,lastRenderedRowIndex:d,isDynamic:b,isResetting:u,rowHeights:p,resetAfterIndex:S,onRowExpanded:E,onRowHovered:y,onRowsRendered:C,onRowHeightChange:D}},KXe=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:r})=>{const a=j({}),i=R(()=>{const l={},{data:s,rowKey:u}=e,c=F(t);if(!c||!c.length)return s;const d=[],f=new Set;c.forEach(h=>f.add(h));let p=s.slice();for(p.forEach(h=>l[h[u]]=0);p.length>0;){const h=p.shift();d.push(h),f.has(h[u])&&st(h.children)&&h.children.length>0&&(p=[...h.children,...p],h.children.forEach(m=>l[m[u]]=l[h[u]]+1))}return a.value=l,d}),o=R(()=>{const{data:l,expandColumnKey:s}=e;return s?F(i):l});return $e(o,(l,s)=>{l!==s&&(n.value=-1,r(0,!0))}),{data:o,depthMap:a}},UXe=(e,t)=>e+t,Q3=e=>st(e)?e.reduce(UXe,0):e,xm=(e,t,n={})=>Lt(e)?e(t):e!=null?e:n,kf=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=fa(e[t])}),e),ude=e=>sr(e)?t=>W(e,t):e,qXe=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:r,fixedColumnsOnRight:a})=>{const i=R(()=>{const{fixed:g,width:b,vScrollbarSize:C}=e,y=b-C;return g?Math.max(Math.round(F(t)),y):y}),o=R(()=>{const{height:g=0,maxHeight:b=0,footerHeight:C,hScrollbarSize:y}=e;if(b>0){const E=F(f),w=F(n),A=F(d)+E+w+y;return Math.min(A,b-C)}return g-C}),l=R(()=>{const{maxHeight:g}=e,b=F(o);if($t(g)&&g>0)return b;const C=F(n)+F(d)+F(f);return Math.min(b,C)}),s=g=>g.width,u=R(()=>Q3(F(r).map(s))),c=R(()=>Q3(F(a).map(s))),d=R(()=>Q3(e.headerHeight)),f=R(()=>{var g;return(((g=e.fixedData)==null?void 0:g.length)||0)*e.rowHeight}),p=R(()=>F(o)-F(d)-F(f)),h=R(()=>{const{style:g={},height:b,width:C}=e;return kf(Et(Te({},g),{height:b,width:C}))}),m=R(()=>kf({height:e.footerHeight})),v=R(()=>({top:fa(F(d)),bottom:fa(e.footerHeight),width:fa(e.width)}));return{bodyWidth:i,fixedTableHeight:l,mainTableHeight:o,leftTableWidth:u,rightTableWidth:c,windowHeight:p,footerHeight:m,emptyStyle:v,rootStyle:h,headerHeight:d}};function YXe(e){const t=j(),n=j(),r=j(),{columns:a,columnsStyles:i,columnsTotalWidth:o,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,hasFixedColumns:u,mainColumns:c,onColumnSorted:d}=WXe(e,Qn(e,"columns"),Qn(e,"fixed")),{scrollTo:f,scrollToLeft:p,scrollToTop:h,scrollToRow:m,onScroll:v,onVerticalScroll:g,scrollPos:b}=GXe(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:K}),C=at("table-v2"),y=Jt(),E=Zn(!1),{expandedRowKeys:w,lastRenderedRowIndex:S,isDynamic:A,isResetting:D,rowHeights:k,resetAfterIndex:x,onRowExpanded:_,onRowHeightChange:M,onRowHovered:L,onRowsRendered:I}=jXe(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:y,ns:C,isScrolling:E}),{data:P,depthMap:B}=KXe(e,{expandedRowKeys:w,lastRenderedRowIndex:S,resetAfterIndex:x}),T=R(()=>{const{estimatedRowHeight:Z,rowHeight:se}=e,Fe=F(P);return $t(Z)?Object.values(F(k)).reduce((me,te)=>me+te,0):Fe.length*se}),{bodyWidth:O,fixedTableHeight:N,mainTableHeight:V,leftTableWidth:Y,rightTableWidth:z,windowHeight:ee,footerHeight:ae,emptyStyle:pe,rootStyle:re,headerHeight:Q}=qXe(e,{columnsTotalWidth:o,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,rowsHeight:T}),ie=j(),X=R(()=>{const Z=F(P).length===0;return st(e.fixedData)?e.fixedData.length===0&&Z:Z});function q(Z){const{estimatedRowHeight:se,rowHeight:Fe,rowKey:me}=e;return se?F(k)[F(P)[Z][me]]||se:Fe}const ce=j(!1);function K(){const{onEndReached:Z}=e;if(!Z)return;const{scrollTop:se}=F(b),Fe=F(T),me=F(ee),te=Fe-(se+me)+e.hScrollbarSize;!ce.value&&F(S)>=0&&Fe<=se+F(V)-F(Q)?(ce.value=!0,Z(te)):ce.value=!1}return $e(()=>F(T),()=>ce.value=!1),$e(()=>e.expandedRowKeys,Z=>w.value=Z,{deep:!0}),{columns:a,containerRef:ie,mainTableRef:t,leftTableRef:n,rightTableRef:r,isDynamic:A,isResetting:D,isScrolling:E,hasFixedColumns:u,columnsStyles:i,columnsTotalWidth:o,data:P,expandedRowKeys:w,depthMap:B,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,mainColumns:c,bodyWidth:O,emptyStyle:pe,rootStyle:re,footerHeight:ae,mainTableHeight:V,fixedTableHeight:N,leftTableWidth:Y,rightTableWidth:z,showEmpty:X,getRowHeight:q,onColumnSorted:d,onRowHovered:L,onRowExpanded:_,onRowsRendered:I,onRowHeightChange:M,scrollTo:f,scrollToLeft:p,scrollToTop:h,scrollToRow:m,onScroll:v,onVerticalScroll:g}}const WP=Symbol("tableV2"),cde="tableV2GridScrollLeft",dde=String,Y5={type:ke(Array),required:!0},GP={type:ke(Array)},fde=Et(Te({},GP),{required:!0}),JXe=String,FG={type:ke(Array),default:()=>da([])},Dh={type:Number,required:!0},pde={type:ke([String,Number,Symbol]),default:"id"},EG={type:ke(Object)},Ih=pt({class:String,columns:Y5,columnsStyles:{type:ke(Object),required:!0},depth:Number,expandColumnKey:JXe,estimatedRowHeight:Et(Te({},rm.estimatedRowHeight),{default:void 0}),isScrolling:Boolean,onRowExpand:{type:ke(Function)},onRowHover:{type:ke(Function)},onRowHeightChange:{type:ke(Function)},rowData:{type:ke(Object),required:!0},rowEventHandlers:{type:ke(Object)},rowIndex:{type:Number,required:!0},rowKey:pde,style:{type:ke(Object)}}),nw={type:Number,required:!0},jP=pt({class:String,columns:Y5,fixedHeaderData:{type:ke(Array)},headerData:{type:ke(Array),required:!0},headerHeight:{type:ke([Number,Array]),default:50},rowWidth:nw,rowHeight:{type:Number,default:50},height:nw,width:nw}),e7=pt({columns:Y5,data:fde,fixedData:GP,estimatedRowHeight:Ih.estimatedRowHeight,width:Dh,height:Dh,headerWidth:Dh,headerHeight:jP.headerHeight,bodyWidth:Dh,rowHeight:Dh,cache:_ce.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:rm.scrollbarAlwaysOn,scrollbarStartGap:rm.scrollbarStartGap,scrollbarEndGap:rm.scrollbarEndGap,class:dde,style:EG,containerStyle:EG,getRowHeight:{type:ke(Function),required:!0},rowKey:Ih.rowKey,onRowsRendered:{type:ke(Function)},onScroll:{type:ke(Function)}}),XXe=pt({cache:e7.cache,estimatedRowHeight:Ih.estimatedRowHeight,rowKey:pde,headerClass:{type:ke([String,Function])},headerProps:{type:ke([Object,Function])},headerCellProps:{type:ke([Object,Function])},headerHeight:jP.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:ke([String,Function])},rowProps:{type:ke([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:ke([Object,Function])},columns:Y5,data:fde,dataGetter:{type:ke(Function)},fixedData:GP,expandColumnKey:Ih.expandColumnKey,expandedRowKeys:FG,defaultExpandedRowKeys:FG,class:dde,fixed:Boolean,style:{type:ke(Object)},width:Dh,height:Dh,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:rm.hScrollbarSize,vScrollbarSize:rm.vScrollbarSize,scrollbarAlwaysOn:Bce.alwaysOn,sortBy:{type:ke(Object),default:()=>({})},sortState:{type:ke(Object),default:void 0},onColumnSort:{type:ke(Function)},onExpandedRowsChange:{type:ke(Function)},onEndReached:{type:ke(Function)},onRowExpand:Ih.onRowExpand,onScroll:e7.onScroll,onRowsRendered:e7.onRowsRendered,rowEventHandlers:Ih.rowEventHandlers}),ZXe="ElTableV2Header",QXe=Ve({name:ZXe,props:jP,setup(e,{slots:t,expose:n}){const r=at("table-v2"),a=lt(cde),i=j(),o=R(()=>kf({width:e.width,height:e.height})),l=R(()=>kf({width:e.rowWidth,height:e.height})),s=R(()=>pi(F(e.headerHeight))),u=f=>{const p=F(i);Oe(()=>{p!=null&&p.scroll&&p.scroll({left:f})})},c=()=>{const f=r.e("fixed-header-row"),{columns:p,fixedHeaderData:h,rowHeight:m}=e;return h==null?void 0:h.map((v,g)=>{var b;const C=kf({height:m,width:"100%"});return(b=t.fixed)==null?void 0:b.call(t,{class:f,columns:p,rowData:v,rowIndex:-(g+1),style:C})})},d=()=>{const f=r.e("dynamic-header-row"),{columns:p}=e;return F(s).map((h,m)=>{var v;const g=kf({width:"100%",height:h});return(v=t.dynamic)==null?void 0:v.call(t,{class:f,columns:p,headerIndex:m,style:g})})};return Il(()=>{a!=null&&a.value&&u(a.value)}),n({scrollToLeft:u}),()=>{if(!(e.height<=0))return be("div",{ref:i,class:e.class,style:F(o),role:"rowgroup"},[be("div",{style:F(l),class:r.e("header")},[d(),c()])])}}});var eZe=QXe;const tZe=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:r},a)=>{let i=null,o=0,l=0;const s=(c,d)=>{const f=c<0&&t.value||c>0&&e.value,p=d<0&&r.value||d>0&&n.value;return f||p};return{hasReachedEdge:s,onWheel:c=>{Sd(i);let d=c.deltaX,f=c.deltaY;Math.abs(d)>Math.abs(f)?f=0:d=0,c.shiftKey&&f!==0&&(d=f,f=0),!s(d,f)&&(o+=d,l+=f,c.preventDefault(),i=fc(()=>{a(o,l),o=0,l=0}))}}},nZe=(e,t,n,r,a,i,o)=>{const l=j(0),s=j(0);let u,c=0,d=0;const f=h=>{Sd(u),l.value=h.touches[0].clientX,s.value=h.touches[0].clientY,c=0,d=0},p=h=>{h.preventDefault(),Sd(u),c+=l.value-h.touches[0].clientX,d+=s.value-h.touches[0].clientY,l.value=h.touches[0].clientX,s.value=h.touches[0].clientY,u=fc(()=>{const m=r.value-F(i),v=a.value-F(o),g=Math.min(t.value.scrollLeft+c,m),b=Math.min(t.value.scrollTop+d,v);n({scrollLeft:g,scrollTop:b}),c=0,d=0})};return ir(e,"touchstart",f,{passive:!0}),ir(e,"touchmove",p,{passive:!1}),{touchStartX:l,touchStartY:s,handleTouchStart:f,handleTouchMove:p}},hde=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:r,getColumnStopIndexForStartIndex:a,getEstimatedTotalHeight:i,getEstimatedTotalWidth:o,getColumnOffset:l,getRowOffset:s,getRowPosition:u,getRowStartIndexForOffset:c,getRowStopIndexForStartIndex:d,initCache:f,injectToInstance:p,validateProps:h})=>Ve({name:e!=null?e:"ElVirtualList",props:rm,emits:[g6,y6],setup(m,{emit:v,expose:g,slots:b}){const C=at("vl");h(m);const y=Jt(),E=j(f(m,y));p==null||p(y,E);const w=j(),S=j(),A=j(),D=j(),k=j({isScrolling:!1,scrollLeft:$t(m.initScrollLeft)?m.initScrollLeft:0,scrollTop:$t(m.initScrollTop)?m.initScrollTop:0,updateRequested:!1,xAxisScrollDir:d1,yAxisScrollDir:d1}),x=Sce(),_=R(()=>Number.parseInt(`${m.height}`,10)),M=R(()=>Number.parseInt(`${m.width}`,10)),L=R(()=>{const{totalColumn:Ae,totalRow:Ne,columnCache:je}=m,{isScrolling:De,xAxisScrollDir:he,scrollLeft:He}=F(k);if(Ae===0||Ne===0)return[0,0,0,0];const xe=r(m,He,F(E)),qe=a(m,xe,He,F(E)),ve=!De||he===b6?Math.max(1,je):1,Ge=!De||he===d1?Math.max(1,je):1;return[Math.max(0,xe-ve),Math.max(0,Math.min(Ae-1,qe+Ge)),xe,qe]}),I=R(()=>{const{totalColumn:Ae,totalRow:Ne,rowCache:je}=m,{isScrolling:De,yAxisScrollDir:he,scrollTop:He}=F(k);if(Ae===0||Ne===0)return[0,0,0,0];const xe=c(m,He,F(E)),qe=d(m,xe,He,F(E)),ve=!De||he===b6?Math.max(1,je):1,Ge=!De||he===d1?Math.max(1,je):1;return[Math.max(0,xe-ve),Math.max(0,Math.min(Ne-1,qe+Ge)),xe,qe]}),P=R(()=>i(m,F(E))),B=R(()=>o(m,F(E))),T=R(()=>{var Ae;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:m.direction,height:$t(m.height)?`${m.height}px`:m.height,width:$t(m.width)?`${m.width}px`:m.width},(Ae=m.style)!=null?Ae:{}]}),O=R(()=>{const Ae=`${F(B)}px`;return{height:`${F(P)}px`,pointerEvents:F(k).isScrolling?"none":void 0,width:Ae,margin:0,boxSizing:"border-box"}}),N=()=>{const{totalColumn:Ae,totalRow:Ne}=m;if(Ae>0&&Ne>0){const[qe,ve,Ge,Ke]=F(L),[rt,nt,ze,Ie]=F(I);v(g6,{columnCacheStart:qe,columnCacheEnd:ve,rowCacheStart:rt,rowCacheEnd:nt,columnVisibleStart:Ge,columnVisibleEnd:Ke,rowVisibleStart:ze,rowVisibleEnd:Ie})}const{scrollLeft:je,scrollTop:De,updateRequested:he,xAxisScrollDir:He,yAxisScrollDir:xe}=F(k);v(y6,{xAxisScrollDir:He,scrollLeft:je,yAxisScrollDir:xe,scrollTop:De,updateRequested:he})},V=Ae=>{const{clientHeight:Ne,clientWidth:je,scrollHeight:De,scrollLeft:he,scrollTop:He,scrollWidth:xe}=Ae.currentTarget,qe=F(k);if(qe.scrollTop===He&&qe.scrollLeft===he)return;let ve=he;if(aG(m.direction))switch(F6()){case b2:ve=-he;break;case IP:ve=xe-je-he;break}k.value=Et(Te({},qe),{isScrolling:!0,scrollLeft:ve,scrollTop:Math.max(0,Math.min(He,De-Ne)),updateRequested:!0,xAxisScrollDir:Oh(qe.scrollLeft,ve),yAxisScrollDir:Oh(qe.scrollTop,He)}),Oe(()=>ce()),K(),N()},Y=(Ae,Ne)=>{const je=F(_),De=(P.value-je)/Ne*Ae;ae({scrollTop:Math.min(P.value-je,De)})},z=(Ae,Ne)=>{const je=F(M),De=(B.value-je)/Ne*Ae;ae({scrollLeft:Math.min(B.value-je,De)})},{onWheel:ee}=tZe({atXStartEdge:R(()=>k.value.scrollLeft<=0),atXEndEdge:R(()=>k.value.scrollLeft>=B.value-F(M)),atYStartEdge:R(()=>k.value.scrollTop<=0),atYEndEdge:R(()=>k.value.scrollTop>=P.value-F(_))},(Ae,Ne)=>{var je,De,he,He;(De=(je=S.value)==null?void 0:je.onMouseUp)==null||De.call(je),(He=(he=A.value)==null?void 0:he.onMouseUp)==null||He.call(he);const xe=F(M),qe=F(_);ae({scrollLeft:Math.min(k.value.scrollLeft+Ae,B.value-xe),scrollTop:Math.min(k.value.scrollTop+Ne,P.value-qe)})});ir(w,"wheel",ee,{passive:!1});const ae=({scrollLeft:Ae=k.value.scrollLeft,scrollTop:Ne=k.value.scrollTop})=>{Ae=Math.max(Ae,0),Ne=Math.max(Ne,0);const je=F(k);Ne===je.scrollTop&&Ae===je.scrollLeft||(k.value=Et(Te({},je),{xAxisScrollDir:Oh(je.scrollLeft,Ae),yAxisScrollDir:Oh(je.scrollTop,Ne),scrollLeft:Ae,scrollTop:Ne,updateRequested:!0}),Oe(()=>ce()),K(),N())},{touchStartX:pe,touchStartY:re,handleTouchStart:Q,handleTouchMove:ie}=nZe(w,k,ae,B,P,M,_),X=(Ae=0,Ne=0,je=is)=>{const De=F(k);Ne=Math.max(0,Math.min(Ne,m.totalColumn-1)),Ae=Math.max(0,Math.min(Ae,m.totalRow-1));const he=tse(C.namespace.value),He=F(E),xe=i(m,He),qe=o(m,He);ae({scrollLeft:l(m,Ne,je,De.scrollLeft,He,qe>m.width?he:0),scrollTop:s(m,Ae,je,De.scrollTop,He,xe>m.height?he:0)})},q=(Ae,Ne)=>{const{columnWidth:je,direction:De,rowHeight:he}=m,He=x.value(t&&je,t&&he,t&&De),xe=`${Ae},${Ne}`;if(qn(He,xe))return He[xe];{const[,qe]=n(m,Ne,F(E)),ve=F(E),Ge=aG(De),[Ke,rt]=u(m,Ae,ve),[nt]=n(m,Ne,ve);return He[xe]={position:"absolute",left:Ge?void 0:`${qe}px`,right:Ge?`${qe}px`:void 0,top:`${rt}px`,height:`${Ke}px`,width:`${nt}px`},He[xe]}},ce=()=>{k.value.isScrolling=!1,Oe(()=>{x.value(-1,null,null)})};Ut(()=>{if(!Yn)return;const{initScrollLeft:Ae,initScrollTop:Ne}=m,je=F(w);je&&($t(Ae)&&(je.scrollLeft=Ae),$t(Ne)&&(je.scrollTop=Ne)),N()});const K=()=>{const{direction:Ae}=m,{scrollLeft:Ne,scrollTop:je,updateRequested:De}=F(k),he=F(w);if(De&&he){if(Ae===R1)switch(F6()){case b2:{he.scrollLeft=-Ne;break}case PP:{he.scrollLeft=Ne;break}default:{const{clientWidth:He,scrollWidth:xe}=he;he.scrollLeft=xe-He-Ne;break}}else he.scrollLeft=Math.max(0,Ne);he.scrollTop=Math.max(0,je)}},{resetAfterColumnIndex:Z,resetAfterRowIndex:se,resetAfter:Fe}=y.proxy;g({windowRef:w,innerRef:D,getItemStyleCache:x,touchStartX:pe,touchStartY:re,handleTouchStart:Q,handleTouchMove:ie,scrollTo:ae,scrollToItem:X,states:k,resetAfterColumnIndex:Z,resetAfterRowIndex:se,resetAfter:Fe});const me=()=>{const{scrollbarAlwaysOn:Ae,scrollbarStartGap:Ne,scrollbarEndGap:je,totalColumn:De,totalRow:he}=m,He=F(M),xe=F(_),qe=F(B),ve=F(P),{scrollLeft:Ge,scrollTop:Ke}=F(k),rt=W(KM,{ref:S,alwaysOn:Ae,startGap:Ne,endGap:je,class:C.e("horizontal"),clientSize:He,layout:"horizontal",onScroll:z,ratio:He*100/qe,scrollFrom:Ge/(qe-He),total:he,visible:!0}),nt=W(KM,{ref:A,alwaysOn:Ae,startGap:Ne,endGap:je,class:C.e("vertical"),clientSize:xe,layout:"vertical",onScroll:Y,ratio:xe*100/ve,scrollFrom:Ke/(ve-xe),total:De,visible:!0});return{horizontalScrollbar:rt,verticalScrollbar:nt}},te=()=>{var Ae;const[Ne,je]=F(L),[De,he]=F(I),{data:He,totalColumn:xe,totalRow:qe,useIsScrolling:ve,itemKey:Ge}=m,Ke=[];if(qe>0&&xe>0)for(let rt=De;rt<=he;rt++)for(let nt=Ne;nt<=je;nt++){const ze=Ge({columnIndex:nt,data:He,rowIndex:rt});Ke.push(W(kt,{key:ze},(Ae=b.default)==null?void 0:Ae.call(b,{columnIndex:nt,data:He,isScrolling:ve?F(k).isScrolling:void 0,style:q(rt,nt),rowIndex:rt})))}return Ke},ue=()=>{const Ae=ln(m.innerElement),Ne=te();return[W(Ae,tn(m.innerProps,{style:F(O),ref:D}),Bt(Ae)?Ne:{default:()=>Ne})]};return()=>{const Ae=ln(m.containerElement),{horizontalScrollbar:Ne,verticalScrollbar:je}=me(),De=ue();return W("div",{key:0,class:C.e("wrapper"),role:m.role},[W(Ae,{class:m.className,style:F(T),onScroll:V,ref:w},Bt(Ae)?De:{default:()=>De}),Ne,je])}}}),{max:S6,min:mde,floor:vde}=Math,rZe={column:"columnWidth",row:"rowHeight"},aB={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},Xc=(e,t,n,r)=>{const[a,i,o]=[n[r],e[rZe[r]],n[aB[r]]];if(t>o){let l=0;if(o>=0){const s=a[o];l=s.offset+s.size}for(let s=o+1;s<=t;s++){const u=i(s);a[s]={offset:l,size:u},l+=u}n[aB[r]]=t}return a[t]},gde=(e,t,n,r,a,i)=>{for(;n<=r;){const o=n+vde((r-n)/2),l=Xc(e,o,t,i).offset;if(l===a)return o;l{const i=a==="column"?e.totalColumn:e.totalRow;let o=1;for(;n{const[a,i]=[t[r],t[aB[r]]];return(i>0?a[i].offset:0)>=n?gde(e,t,0,i,n,r):aZe(e,t,S6(0,i),n,r)},yde=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:r})=>{let a=0;if(n>=e&&(n=e-1),n>=0){const l=r[n];a=l.offset+l.size}const o=(e-n-1)*t;return a+o},bde=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:r})=>{let a=0;if(r>e&&(r=e-1),r>=0){const l=t[r];a=l.offset+l.size}const o=(e-r-1)*n;return a+o},iZe={column:bde,row:yde},SG=(e,t,n,r,a,i,o)=>{const[l,s]=[i==="row"?e.height:e.width,iZe[i]],u=Xc(e,t,a,i),c=s(e,a),d=S6(0,mde(c-l,u.offset)),f=S6(0,u.offset-l+o+u.size);switch(n===O9&&(r>=f-l&&r<=d+l?n=is:n=Wu),n){case g2:return d;case y2:return f;case Wu:return Math.round(f+(d-f)/2);case is:default:return r>=f&&r<=d?r:f>d||r{const r=Xc(e,t,n,"column");return[r.size,r.offset]},getRowPosition:(e,t,n)=>{const r=Xc(e,t,n,"row");return[r.size,r.offset]},getColumnOffset:(e,t,n,r,a,i)=>SG(e,t,n,r,a,"column",i),getRowOffset:(e,t,n,r,a,i)=>SG(e,t,n,r,a,"row",i),getColumnStartIndexForOffset:(e,t,n)=>wG(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,r)=>{const a=Xc(e,t,r,"column"),i=n+e.width;let o=a.offset+a.size,l=t;for(;lwG(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,r)=>{const{totalRow:a,height:i}=e,o=Xc(e,t,r,"row"),l=n+i;let s=o.size+o.offset,u=t;for(;u{const n=({columnIndex:i,rowIndex:o},l)=>{var s,u;l=On(l)?!0:l,$t(i)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,i-1)),$t(o)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,o-1)),(s=e.exposed)==null||s.getItemStyleCache.value(-1,null,null),l&&((u=e.proxy)==null||u.$forceUpdate())},r=(i,o)=>{n({columnIndex:i},o)},a=(i,o)=>{n({rowIndex:i},o)};Object.assign(e.proxy,{resetAfterColumnIndex:r,resetAfterRowIndex:a,resetAfter:n})},initCache:({estimatedColumnWidth:e=VM,estimatedRowHeight:t=VM})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),lZe=hde({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},r,a,i,o,l)=>{n=Number(n);const s=Math.max(0,e*t-n),u=Math.min(s,r*t),c=Math.max(0,r*t-n+l+t);switch(a==="smart"&&(i>=c-n&&i<=u+n?a=is:a=Wu),a){case g2:return u;case y2:return c;case Wu:{const d=Math.round(c+(u-c)/2);return ds+Math.floor(n/2)?s:d}case is:default:return i>=c&&i<=u?i:c>u||i{t=Number(t);const s=Math.max(0,n*e-t),u=Math.min(s,r*e),c=Math.max(0,r*e-t+l+e);switch(a===O9&&(i>=c-t&&i<=u+t?a=is:a=Wu),a){case g2:return u;case y2:return c;case Wu:{const d=Math.round(c+(u-c)/2);return ds+Math.floor(t/2)?s:d}case is:default:return i>=c&&i<=u?i:c>u||iMath.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},r,a)=>{const i=r*e,o=Math.ceil((n+a-i)/e);return Math.max(0,Math.min(t-1,r+o-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},r,a)=>{const i=r*e,o=Math.ceil((n+a-i)/e);return Math.max(0,Math.min(t-1,r+o-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),sZe="ElTableV2Grid",uZe=e=>{const t=j(),n=j(),r=j(0),a=R(()=>{const{data:v,rowHeight:g,estimatedRowHeight:b}=e;if(!b)return v.length*g}),i=R(()=>{const{fixedData:v,rowHeight:g}=e;return((v==null?void 0:v.length)||0)*g}),o=R(()=>Q3(e.headerHeight)),l=R(()=>{const{height:v}=e;return Math.max(0,v-F(o)-F(i))}),s=R(()=>F(o)+F(i)>0),u=({data:v,rowIndex:g})=>v[g][e.rowKey];function c({rowCacheStart:v,rowCacheEnd:g,rowVisibleStart:b,rowVisibleEnd:C}){var y;(y=e.onRowsRendered)==null||y.call(e,{rowCacheStart:v,rowCacheEnd:g,rowVisibleStart:b,rowVisibleEnd:C})}function d(v,g){var b;(b=n.value)==null||b.resetAfterRowIndex(v,g)}function f(v,g){const b=F(t),C=F(n);mn(v)?(b==null||b.scrollToLeft(v.scrollLeft),r.value=v.scrollLeft,C==null||C.scrollTo(v)):(b==null||b.scrollToLeft(v),r.value=v,C==null||C.scrollTo({scrollLeft:v,scrollTop:g}))}function p(v){var g;(g=F(n))==null||g.scrollTo({scrollTop:v})}function h(v,g){const b=F(n);if(!b)return;const C=r.value;b.scrollToItem(v,0,g),C&&f({scrollLeft:C})}function m(){var v,g;(v=F(n))==null||v.$forceUpdate(),(g=F(t))==null||g.$forceUpdate()}return $e(()=>e.bodyWidth,()=>{var v;$t(e.estimatedRowHeight)&&((v=n.value)==null||v.resetAfter({columnIndex:0},!1))}),{bodyRef:n,forceUpdate:m,fixedRowHeight:i,gridHeight:l,hasHeader:s,headerHeight:o,headerRef:t,totalHeight:a,itemKey:u,onItemRendered:c,resetAfterRowIndex:d,scrollTo:f,scrollToTop:p,scrollToRow:h,scrollLeft:r}},cZe=Ve({name:sZe,props:e7,setup(e,{slots:t,expose:n}){const{ns:r}=lt(WP),{bodyRef:a,fixedRowHeight:i,gridHeight:o,hasHeader:l,headerRef:s,headerHeight:u,totalHeight:c,forceUpdate:d,itemKey:f,onItemRendered:p,resetAfterRowIndex:h,scrollTo:m,scrollToTop:v,scrollToRow:g,scrollLeft:b}=uZe(e);Qt(cde,b),Km(()=>Xt(null,null,function*(){var y;yield Oe();const E=(y=a.value)==null?void 0:y.states.scrollTop;E&&v(Math.round(E)+1)})),n({forceUpdate:d,totalHeight:c,scrollTo:m,scrollToTop:v,scrollToRow:g,resetAfterRowIndex:h});const C=()=>e.bodyWidth;return()=>{const{cache:y,columns:E,data:w,fixedData:S,useIsScrolling:A,scrollbarAlwaysOn:D,scrollbarEndGap:k,scrollbarStartGap:x,style:_,rowHeight:M,bodyWidth:L,estimatedRowHeight:I,headerWidth:P,height:B,width:T,getRowHeight:O,onScroll:N}=e,V=$t(I),Y=V?oZe:lZe,z=F(u);return be("div",{role:"table",class:[r.e("table"),e.class],style:_},[be(Y,{ref:a,data:w,useIsScrolling:A,itemKey:f,columnCache:0,columnWidth:V?C:L,totalColumn:1,totalRow:w.length,rowCache:y,rowHeight:V?O:M,width:T,height:F(o),class:r.e("body"),role:"rowgroup",scrollbarStartGap:x,scrollbarEndGap:k,scrollbarAlwaysOn:D,onScroll:N,onItemRendered:p,perfMode:!1},{default:ee=>{var ae;const pe=w[ee.rowIndex];return(ae=t.row)==null?void 0:ae.call(t,Et(Te({},ee),{columns:E,rowData:pe}))}}),F(l)&&be(eZe,{ref:s,class:r.e("header-wrapper"),columns:E,headerData:w,headerHeight:e.headerHeight,fixedHeaderData:S,rowWidth:P,rowHeight:M,width:T,height:Math.min(z+F(i),B)},{dynamic:t.header,fixed:t.row})])}}});var KP=cZe;function dZe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}const fZe=(e,{slots:t})=>{const a=e,{mainTableRef:n}=a,r=Fo(a,["mainTableRef"]);return be(KP,tn({ref:n},r),dZe(t)?t:{default:()=>[t]})};var pZe=fZe;function hZe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}const mZe=(e,{slots:t})=>{if(!e.columns.length)return;const a=e,{leftTableRef:n}=a,r=Fo(a,["leftTableRef"]);return be(KP,tn({ref:n},r),hZe(t)?t:{default:()=>[t]})};var vZe=mZe;function gZe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}const yZe=(e,{slots:t})=>{if(!e.columns.length)return;const a=e,{rightTableRef:n}=a,r=Fo(a,["rightTableRef"]);return be(KP,tn({ref:n},r),gZe(t)?t:{default:()=>[t]})};var bZe=yZe;const CZe=e=>{const{isScrolling:t}=lt(WP),n=j(!1),r=j(),a=R(()=>$t(e.estimatedRowHeight)&&e.rowIndex>=0),i=(s=!1)=>{const u=F(r);if(!u)return;const{columns:c,onRowHeightChange:d,rowKey:f,rowIndex:p,style:h}=e,{height:m}=u.getBoundingClientRect();n.value=!0,Oe(()=>{if(s||m!==Number.parseInt(h.height)){const v=c[0],g=(v==null?void 0:v.placeholderSign)===E2;d==null||d({rowKey:f,height:m,rowIndex:p},v&&!g&&v.fixed)}})},o=R(()=>{const{rowData:s,rowIndex:u,rowKey:c,onRowHover:d}=e,f=e.rowEventHandlers||{},p={};return Object.entries(f).forEach(([h,m])=>{Lt(m)&&(p[h]=v=>{m({event:v,rowData:s,rowIndex:u,rowKey:c})})}),d&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:h,hovered:m})=>{const v=p[h];p[h]=g=>{d({event:g,hovered:m,rowData:s,rowIndex:u,rowKey:c}),v==null||v(g)}}),p}),l=s=>{const{onRowExpand:u,rowData:c,rowIndex:d,rowKey:f}=e;u==null||u({expanded:s,rowData:c,rowIndex:d,rowKey:f})};return Ut(()=>{F(a)&&i(!0)}),{isScrolling:t,measurable:a,measured:n,rowRef:r,eventHandlers:o,onExpand:l}},FZe="ElTableV2TableRow",EZe=Ve({name:FZe,props:Ih,setup(e,{expose:t,slots:n,attrs:r}){const{eventHandlers:a,isScrolling:i,measurable:o,measured:l,rowRef:s,onExpand:u}=CZe(e);return t({onExpand:u}),()=>{const{columns:c,columnsStyles:d,expandColumnKey:f,depth:p,rowData:h,rowIndex:m,style:v}=e;let g=c.map((C,y)=>{const E=st(h.children)&&h.children.length>0&&C.key===f;return n.cell({column:C,columns:c,columnIndex:y,depth:p,style:d[C.key],rowData:h,rowIndex:m,isScrolling:F(i),expandIconProps:E?{rowData:h,rowIndex:m,onExpand:u}:void 0})});if(n.row&&(g=n.row({cells:g.map(C=>st(C)&&C.length===1?C[0]:C),style:v,columns:c,depth:p,rowData:h,rowIndex:m,isScrolling:F(i)})),F(o)){const b=v||{},{height:C}=b,y=Fo(b,["height"]),E=F(l);return be("div",tn({ref:s,class:e.class,style:E?v:y,role:"row"},r,F(a)),[g])}return be("div",tn(r,{ref:s,class:e.class,style:v,role:"row"},F(a)),[g])}}});var wZe=EZe;function SZe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}const AZe=(e,{slots:t})=>{const{columns:n,columnsStyles:r,depthMap:a,expandColumnKey:i,expandedRowKeys:o,estimatedRowHeight:l,hasFixedColumns:s,rowData:u,rowIndex:c,style:d,isScrolling:f,rowProps:p,rowClass:h,rowKey:m,rowEventHandlers:v,ns:g,onRowHovered:b,onRowExpanded:C}=e,y=xm(h,{columns:n,rowData:u,rowIndex:c},""),E=xm(p,{columns:n,rowData:u,rowIndex:c}),w=u[m],S=a[w]||0,A=!!i,D=c<0,k=[g.e("row"),y,g.is("expanded",A&&o.includes(w)),g.is("fixed",!S&&D),g.is("customized",!!t.row),{[g.e(`row-depth-${S}`)]:A&&c>=0}],x=s?b:void 0,_=Et(Te({},E),{columns:n,columnsStyles:r,class:k,depth:S,expandColumnKey:i,estimatedRowHeight:D?void 0:l,isScrolling:f,rowIndex:c,rowData:u,rowKey:w,rowEventHandlers:v,style:d});return be(wZe,tn(_,{onRowExpand:C,onMouseenter:I=>{x==null||x({hovered:!0,rowKey:w,event:I,rowData:u,rowIndex:c})},onMouseleave:I=>{x==null||x({hovered:!1,rowKey:w,event:I,rowData:u,rowIndex:c})},rowkey:w}),SZe(t)?t:{default:()=>[t]})};var DZe=AZe;const UP=(e,{slots:t})=>{var n;const{cellData:r,style:a}=e,i=((n=r==null?void 0:r.toString)==null?void 0:n.call(r))||"",o=We(t,"default",e,()=>[i]);return be("div",{class:e.class,title:i,style:a},[o])};UP.displayName="ElTableV2Cell";UP.inheritAttrs=!1;var TZe=UP;const Cde=e=>{const{expanded:t,expandable:n,onExpand:r,style:a,size:i,ariaLabel:o}=e,l={onClick:n?()=>r(!t):void 0,ariaLabel:o,ariaExpanded:t,class:e.class};return be("button",tn(l,{type:"button"}),[be(Rt,{size:i,style:a},{default:()=>[be(po,null,null)]})])};Cde.inheritAttrs=!1;var kZe=Cde;const Fde=({columns:e,column:t,columnIndex:n,depth:r,expandIconProps:a,isScrolling:i,rowData:o,rowIndex:l,style:s,expandedRowKeys:u,ns:c,t:d,cellProps:f,expandColumnKey:p,indentSize:h,iconSize:m,rowKey:v},{slots:g})=>{const b=kf(s);if(t.placeholderSign===E2)return be("div",{class:c.em("row-cell","placeholder"),style:b},null);const{cellRenderer:C,dataKey:y,dataGetter:E}=t,w=Lt(E)?E({columns:e,column:t,columnIndex:n,rowData:o,rowIndex:l}):Ia(o,y!=null?y:""),S=xm(f,{cellData:w,columns:e,column:t,columnIndex:n,rowIndex:l,rowData:o}),A={class:c.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:w,isScrolling:i,rowData:o,rowIndex:l},D=ude(C),k=D?D(A):We(g,"default",A,()=>[be(TZe,A,null)]),x=[c.e("row-cell"),t.class,t.align===F2.CENTER&&c.is("align-center"),t.align===F2.RIGHT&&c.is("align-right")],_=l>=0&&p&&t.key===p,M=l>=0&&u.includes(o[v]);let L;const I=`margin-inline-start: ${r*h}px;`;return _&&(mn(a)?L=be(kZe,tn(a,{class:[c.e("expand-icon"),c.is("expanded",M)],size:m,expanded:M,ariaLabel:d(M?"el.table.collapseRowLabel":"el.table.expandRowLabel"),style:I,expandable:!0}),null):L=be("div",{style:[I,`width: ${m}px; height: ${m}px;`].join(" ")},null)),be("div",tn({class:x,style:b},S,{role:"cell"}),[L,k])};Fde.inheritAttrs=!1;var AG=Fde;const _Ze=pt({class:String,columns:Y5,columnsStyles:{type:ke(Object),required:!0},headerIndex:Number,style:{type:ke(Object)}}),xZe=Ve({name:"ElTableV2HeaderRow",props:_Ze,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:r,headerIndex:a,style:i}=e;let o=n.map((l,s)=>t.cell({columns:n,column:l,columnIndex:s,headerIndex:a,style:r[l.key]}));return t.header&&(o=t.header({cells:o.map(l=>st(l)&&l.length===1?l[0]:l),columns:n,headerIndex:a})),be("div",{class:e.class,style:i,role:"row"},[o])}}});var MZe=xZe;function BZe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}const RZe=({columns:e,columnsStyles:t,headerIndex:n,style:r,headerClass:a,headerProps:i,ns:o},{slots:l})=>{const s={columns:e,headerIndex:n},u=[o.e("header-row"),xm(a,s,""),o.is("customized",!!l.header)],c=Et(Te({},xm(i,s)),{columnsStyles:t,class:u,columns:e,headerIndex:n,style:r});return be(MZe,c,BZe(l)?l:{default:()=>[l]})};var LZe=RZe;const qP=(e,{slots:t})=>We(t,"default",e,()=>{var n,r;return[be("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(r=e.column)==null?void 0:r.title])]});qP.displayName="ElTableV2HeaderCell";qP.inheritAttrs=!1;var OZe=qP;const PZe=e=>{const{sortOrder:t}=e;return be("button",{type:"button","aria-label":e.ariaLabel,class:e.class},[be(Rt,{size:14},{default:()=>[t===Ph.ASC?be(zRe,null,null):be(VRe,null,null)]})])};var IZe=PZe;const NZe=(e,{slots:t})=>{const{column:n,ns:r,t:a,style:i,onColumnSorted:o}=e,l=kf(i);if(n.placeholderSign===E2)return be("div",{class:r.em("header-row-cell","placeholder"),style:l},null);const{headerCellRenderer:s,headerClass:u,sortable:c}=n,d=Et(Te({},e),{class:r.e("header-cell-text")}),f=ude(s),p=f?f(d):We(t,"default",d,()=>[be(OZe,d,null)]),{sortBy:h,sortState:m,headerCellProps:v}=e;let g,b,C;if(m){const w=m[n.key];g=!!rB[w],b=g?w:Ph.ASC}else g=n.key===h.key,b=g?h.order:Ph.ASC;b===Ph.ASC?C="ascending":b===Ph.DESC?C="descending":C=void 0;const y=[r.e("header-cell"),xm(u,e,""),n.align===F2.CENTER&&r.is("align-center"),n.align===F2.RIGHT&&r.is("align-right"),c&&r.is("sortable")],E=Et(Te({},xm(v,e)),{onClick:n.sortable?o:void 0,ariaSort:c?C:void 0,class:y,style:l,"data-key":n.key});return be("div",tn(E,{role:"columnheader"}),[p,c&&be(IZe,{class:[r.e("sort-icon"),g&&r.is("sorting")],sortOrder:b,ariaLabel:a("el.table.sortLabel",{column:n.title||""})},null)])};var DG=NZe;const Ede=(e,{slots:t})=>{var n;return be("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};Ede.displayName="ElTableV2Footer";var $Ze=Ede;const wde=(e,{slots:t})=>{const n=We(t,"default",{},()=>[be(dce,null,null)]);return be("div",{class:e.class,style:e.style},[n])};wde.displayName="ElTableV2Empty";var VZe=wde;const Sde=(e,{slots:t})=>{var n;return be("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};Sde.displayName="ElTableV2Overlay";var HZe=Sde;function Ug(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}const zZe="ElTableV2",WZe=Ve({name:zZe,props:XXe,setup(e,{slots:t,expose:n}){const r=at("table-v2"),{t:a}=xn(),{columnsStyles:i,fixedColumnsOnLeft:o,fixedColumnsOnRight:l,mainColumns:s,mainTableHeight:u,fixedTableHeight:c,leftTableWidth:d,rightTableWidth:f,data:p,depthMap:h,expandedRowKeys:m,hasFixedColumns:v,mainTableRef:g,leftTableRef:b,rightTableRef:C,isDynamic:y,isResetting:E,isScrolling:w,bodyWidth:S,emptyStyle:A,rootStyle:D,footerHeight:k,showEmpty:x,scrollTo:_,scrollToLeft:M,scrollToTop:L,scrollToRow:I,getRowHeight:P,onColumnSorted:B,onRowHeightChange:T,onRowHovered:O,onRowExpanded:N,onRowsRendered:V,onScroll:Y,onVerticalScroll:z}=YXe(e);return n({scrollTo:_,scrollToLeft:M,scrollToTop:L,scrollToRow:I}),Qt(WP,{ns:r,isResetting:E,isScrolling:w}),()=>{const{cache:ee,cellProps:ae,estimatedRowHeight:pe,expandColumnKey:re,fixedData:Q,headerHeight:ie,headerClass:X,headerProps:q,headerCellProps:ce,sortBy:K,sortState:Z,rowHeight:se,rowClass:Fe,rowEventHandlers:me,rowKey:te,rowProps:ue,scrollbarAlwaysOn:Se,indentSize:Ae,iconSize:Ne,useIsScrolling:je,vScrollbarSize:De,width:he}=e,He=F(p),xe={cache:ee,class:r.e("main"),columns:F(s),data:He,fixedData:Q,estimatedRowHeight:pe,bodyWidth:F(S),headerHeight:ie,headerWidth:F(S),height:F(u),mainTableRef:g,rowKey:te,rowHeight:se,scrollbarAlwaysOn:Se,scrollbarStartGap:2,scrollbarEndGap:De,useIsScrolling:je,width:he,getRowHeight:P,onRowsRendered:V,onScroll:Y},qe=F(d),ve=F(c),Ge={cache:ee,class:r.e("left"),columns:F(o),data:He,fixedData:Q,estimatedRowHeight:pe,leftTableRef:b,rowHeight:se,bodyWidth:qe,headerWidth:qe,headerHeight:ie,height:ve,rowKey:te,scrollbarAlwaysOn:Se,scrollbarStartGap:2,scrollbarEndGap:De,useIsScrolling:je,width:qe,getRowHeight:P,onScroll:z},Ke=F(f),rt={cache:ee,class:r.e("right"),columns:F(l),data:He,fixedData:Q,estimatedRowHeight:pe,rightTableRef:C,rowHeight:se,bodyWidth:Ke,headerWidth:Ke,headerHeight:ie,height:ve,rowKey:te,scrollbarAlwaysOn:Se,scrollbarStartGap:2,scrollbarEndGap:De,width:Ke,style:`${r.cssVarName("table-scrollbar-size")}: ${De}px`,useIsScrolling:je,getRowHeight:P,onScroll:z},nt=F(i),ze={ns:r,depthMap:F(h),columnsStyles:nt,expandColumnKey:re,expandedRowKeys:F(m),estimatedRowHeight:pe,hasFixedColumns:F(v),rowProps:ue,rowClass:Fe,rowKey:te,rowEventHandlers:me,onRowHovered:O,onRowExpanded:N,onRowHeightChange:T},Ie={cellProps:ae,expandColumnKey:re,indentSize:Ae,iconSize:Ne,rowKey:te,expandedRowKeys:F(m),ns:r,t:a},ge={ns:r,headerClass:X,headerProps:q,columnsStyles:nt},oe={ns:r,t:a,sortBy:K,sortState:Z,headerCellProps:ce,onColumnSorted:B},Xe={row:Ee=>be(DZe,tn(Ee,ze),{row:t.row,cell:pn=>{let Qe;return t.cell?be(AG,tn(pn,Ie,{style:nt[pn.column.key]}),Ug(Qe=t.cell(pn))?Qe:{default:()=>[Qe]}):be(AG,tn(pn,Ie,{style:nt[pn.column.key]}),null)}}),header:Ee=>be(LZe,tn(Ee,ge),{header:t.header,cell:pn=>{let Qe;return t["header-cell"]?be(DG,tn(pn,oe,{style:nt[pn.column.key]}),Ug(Qe=t["header-cell"](pn))?Qe:{default:()=>[Qe]}):be(DG,tn(pn,oe,{style:nt[pn.column.key]}),null)}})},it=[e.class,r.b(),r.e("root"),r.is("dynamic",F(y))],xt={class:r.e("footer"),style:F(k)};return be("div",{class:it,style:F(D)},[be(pZe,xe,Ug(Xe)?Xe:{default:()=>[Xe]}),be(vZe,Ge,Ug(Xe)?Xe:{default:()=>[Xe]}),be(bZe,rt,Ug(Xe)?Xe:{default:()=>[Xe]}),t.footer&&be($Ze,xt,{default:t.footer}),F(x)&&be(VZe,{class:r.e("empty"),style:F(A)},{default:t.empty}),t.overlay&&be(HZe,{class:r.e("overlay")},{default:t.overlay})])}}});var GZe=WZe;const jZe=pt({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:ke(Function)}}),KZe=e=>{const t=j(),n=j(0),r=j(0);let a;return Ut(()=>{a=zr(t,([i])=>{const{width:o,height:l}=i.contentRect,{paddingLeft:s,paddingRight:u,paddingTop:c,paddingBottom:d}=getComputedStyle(i.target),f=Number.parseInt(s)||0,p=Number.parseInt(u)||0,h=Number.parseInt(c)||0,m=Number.parseInt(d)||0;n.value=o-f-p,r.value=l-h-m}).stop}),Vn(()=>{a==null||a()}),$e([n,r],([i,o])=>{var l;(l=e.onResize)==null||l.call(e,{width:i,height:o})}),{sizer:t,width:n,height:r}},UZe=Ve({name:"ElAutoResizer",props:jZe,setup(e,{slots:t}){const n=at("auto-resizer"),{height:r,width:a,sizer:i}=KZe(e),o={width:"100%",height:"100%"};return()=>{var l;return be("div",{ref:i,class:n.b(),style:o},[(l=t.default)==null?void 0:l.call(t,{height:r.value,width:a.value})])}}});var qZe=UZe;const YZe=fn(GZe),JZe=fn(qZe),P9=Symbol("tabsRootContextKey"),XZe=pt({tabs:{type:ke(Array),default:()=>da([])},tabRefs:{type:ke(Object),default:()=>da({})}}),TG="ElTabBar",ZZe=Ve({name:TG,__name:"tab-bar",props:XZe,setup(e,{expose:t}){const n=e,r=lt(P9);r||$a(TG,"");const a=at("tabs"),i=j(),o=j(),l=R(()=>{var p;return On(r.props.defaultValue)||!!((p=o.value)!=null&&p.transform)}),s=()=>{let p=0,h=0;const m=["top","bottom"].includes(r.props.tabPosition)?"width":"height",v=m==="width"?"x":"y",g=v==="x"?"left":"top";return n.tabs.every(b=>{if(On(b.paneName))return!1;const C=n.tabRefs[b.paneName];if(!C)return!1;if(!b.active)return!0;p=C[`offset${Ef(g)}`],h=C[`client${Ef(m)}`];const y=window.getComputedStyle(C);return m==="width"&&(h-=Number.parseFloat(y.paddingLeft)+Number.parseFloat(y.paddingRight),p+=Number.parseFloat(y.paddingLeft)),!1}),{[m]:`${h}px`,transform:`translate${Ef(v)}(${p}px)`}},u=()=>o.value=s(),c=[],d=()=>{c.forEach(p=>p.stop()),c.length=0,Object.values(n.tabRefs).forEach(p=>{c.push(zr(p,u))})};$e(()=>n.tabs,()=>Xt(null,null,function*(){yield Oe(),u(),d()}),{immediate:!0});const f=zr(i,()=>u());return Vn(()=>{c.forEach(p=>p.stop()),c.length=0,f.stop()}),t({ref:i,update:u}),(p,h)=>l.value?(H(),le("div",{key:0,ref_key:"barRef",ref:i,class:J([F(a).e("active-bar"),F(a).is(F(r).props.tabPosition)]),style:Pt(o.value)},null,6)):Pe("v-if",!0)}});var QZe=yt(ZZe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const eQe=pt({panes:{type:ke(Array),default:()=>da([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),tQe={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},kG="ElTabNav",nQe=Ve({name:kG,props:eQe,emits:tQe,setup(e,{expose:t,emit:n}){const r=lt(P9);r||$a(kG,"");const a=at("tabs"),i=bBe(),o=FBe(),l=j(),s=j(),u=j(),c=j({}),d=j(),f=j(!1),p=j(0),h=j(!1),m=j(!0),v=Zn(),g=R(()=>["top","bottom"].includes(r.props.tabPosition)),b=R(()=>g.value?"width":"height"),C=R(()=>({transform:`translate${b.value==="width"?"X":"Y"}(-${p.value}px)`})),{width:y,height:E}=yM(l),{width:w,height:S}=yM(s,{width:0,height:0},{box:"border-box"}),A=R(()=>g.value?y.value:E.value),D=R(()=>g.value?w.value:S.value),{onWheel:k}=Dce({atStartEdge:R(()=>p.value<=0),atEndEdge:R(()=>D.value-p.value<=A.value),layout:R(()=>g.value?"horizontal":"vertical")},N=>{p.value=g9(p.value+N,0,D.value-A.value)}),x=()=>{if(!l.value)return;const N=l.value[`offset${Ef(b.value)}`],V=p.value;if(!V)return;const Y=V>N?V-N:0;p.value=Y},_=()=>{if(!l.value||!s.value)return;const N=s.value[`offset${Ef(b.value)}`],V=l.value[`offset${Ef(b.value)}`],Y=p.value;if(N-Y<=V)return;const z=N-Y>V*2?Y+V:N-V;p.value=z},M=()=>Xt(null,null,function*(){const N=s.value;if(!f.value||!u.value||!l.value||!N)return;yield Oe();const V=c.value[e.currentName];if(!V)return;const Y=l.value,z=V.getBoundingClientRect(),ee=Y.getBoundingClientRect(),ae=g.value?N.offsetWidth-ee.width:N.offsetHeight-ee.height,pe=p.value;let re=pe;g.value?(z.leftee.right&&(re=pe+z.right-ee.right)):(z.topee.bottom&&(re=pe+(z.bottom-ee.bottom))),re=Math.max(re,0),p.value=Math.min(re,ae)}),L=()=>{var N;if(!s.value||!l.value)return;e.stretch&&((N=d.value)==null||N.update());const V=s.value[`offset${Ef(b.value)}`],Y=l.value[`offset${Ef(b.value)}`],z=p.value;Y0&&(p.value=0))},I=N=>{const V=Er(N);let Y=0;switch(V){case dt.left:case dt.up:Y=-1;break;case dt.right:case dt.down:Y=1;break;default:return}const z=Array.from(N.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let ae=z.indexOf(N.target)+Y;ae<0?ae=z.length-1:ae>=z.length&&(ae=0),z[ae].focus({preventScroll:!0}),z[ae].click(),P()},P=()=>{m.value&&(h.value=!0)},B=()=>h.value=!1,T=(N,V)=>{c.value[V]=N},O=()=>Xt(null,null,function*(){yield Oe();const N=c.value[e.currentName];N==null||N.focus({preventScroll:!0})});return $e(i,N=>{N==="hidden"?m.value=!1:N==="visible"&&setTimeout(()=>m.value=!0,50)}),$e(o,N=>{N?setTimeout(()=>m.value=!0,50):m.value=!1}),zr(u,()=>{fc(L)}),Ut(()=>setTimeout(()=>M(),0)),Il(()=>L()),t({scrollToActiveTab:M,removeFocus:B,focusActiveTab:O,tabListRef:s,tabBarRef:d,scheduleRender:()=>Xy(v)}),()=>{const N=f.value?[be("span",{class:[a.e("nav-prev"),a.is("disabled",!f.value.prev)],onClick:x},[be(Rt,null,{default:()=>[be(Ad,null,null)]})]),be("span",{class:[a.e("nav-next"),a.is("disabled",!f.value.next)],onClick:_},[be(Rt,null,{default:()=>[be(po,null,null)]})])]:null,V=e.panes.map((Y,z)=>{var ee,ae,pe,re,Q;const ie=Y.uid,X=Y.props.disabled,q=(ae=(ee=Y.props.name)!=null?ee:Y.index)!=null?ae:`${z}`,ce=!X&&(Y.isClosable||Y.props.closable!==!1&&e.editable);Y.index=`${z}`;const K=ce?be(Rt,{class:"is-icon-close",onClick:Fe=>n("tabRemove",Y,Fe)},{default:()=>[be(hs,null,null)]}):null,Z=((re=(pe=Y.slots).label)==null?void 0:re.call(pe))||Y.props.label,se=!X&&Y.active?(Q=e.tabindex)!=null?Q:r.props.tabindex:-1;return be("div",{ref:Fe=>T(Fe,q),class:[a.e("item"),a.is(r.props.tabPosition),a.is("active",Y.active),a.is("disabled",X),a.is("closable",ce),a.is("focus",h.value)],id:`tab-${q}`,key:`tab-${ie}`,"aria-controls":`pane-${q}`,role:"tab","aria-selected":Y.active,tabindex:se,onFocus:()=>P(),onBlur:()=>B(),onClick:Fe=>{B(),n("tabClick",Y,q,Fe)},onKeydown:Fe=>{const me=Er(Fe);ce&&(me===dt.delete||me===dt.backspace)&&n("tabRemove",Y,Fe)}},[Z,K])});return v.value,be("div",{ref:u,class:[a.e("nav-wrap"),a.is("scrollable",!!f.value),a.is(r.props.tabPosition)]},[N,be("div",{class:a.e("nav-scroll"),ref:l},[e.panes.length>0?be("div",{class:[a.e("nav"),a.is(r.props.tabPosition),a.is("stretch",e.stretch&&["top","bottom"].includes(r.props.tabPosition))],ref:s,style:C.value,role:"tablist",onKeydown:I,onWheel:k},[e.type?null:be(QZe,{ref:d,tabs:[...e.panes],tabRefs:c.value},null),V]):null])])}}}),rQe=pt({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:ke(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),rw=e=>Bt(e)||$t(e),aQe={[nn]:e=>rw(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>rw(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>rw(e),tabAdd:()=>!0},iQe=Ve({name:"ElTabs",props:rQe,emits:aQe,setup(e,{emit:t,slots:n,expose:r}){var a;const i=at("tabs"),o=R(()=>["left","right"].includes(e.tabPosition)),{children:l,addChild:s,removeChild:u,ChildrenSorter:c}=_9(Jt(),"ElTabPane"),d=j(),f=j((a=On(e.modelValue)?e.defaultValue:e.modelValue)!=null?a:"0"),p=(C,y=!1)=>Xt(null,null,function*(){var E,w,S,A;if(!(f.value===C||On(C)))try{let D;if(e.beforeLeave){const k=e.beforeLeave(C,f.value);D=k instanceof Promise?yield k:k}else D=!0;if(D!==!1){const k=(E=l.value.find(x=>x.paneName===f.value))==null?void 0:E.isFocusInsidePane();f.value=C,y&&(t(nn,C),t("tabChange",C)),(S=(w=d.value)==null?void 0:w.removeFocus)==null||S.call(w),k&&((A=d.value)==null||A.focusActiveTab())}}catch(D){}}),h=(C,y,E)=>{C.props.disabled||(t("tabClick",C,E),p(y,!0))},m=(C,y)=>{C.props.disabled||On(C.props.name)||(y.stopPropagation(),t("edit",C.props.name,"remove"),t("tabRemove",C.props.name))},v=()=>{t("edit",void 0,"add"),t("tabAdd")},g=C=>{const y=Er(C);[dt.enter,dt.numpadEnter].includes(y)&&v()},b=C=>{const y=C.el.firstChild,E=["bottom","right"].includes(e.tabPosition)?C.children[0].el:C.children[1].el;y!==E&&y.before(E)};return $e(()=>e.modelValue,C=>p(C)),$e(f,()=>Xt(null,null,function*(){var C;yield Oe(),(C=d.value)==null||C.scrollToActiveTab()})),Qt(P9,{props:e,currentName:f,registerPane:s,unregisterPane:u,nav$:d}),r({currentName:f,get tabNavRef(){return B5(d.value,["scheduleRender"])}}),()=>{const C=n["add-icon"],y=e.editable||e.addable?be("div",{class:[i.e("new-tab"),o.value&&i.e("new-tab-vertical")],tabindex:e.tabindex,onClick:v,onKeydown:g},[C?We(n,"add-icon"):be(Rt,{class:i.is("icon-plus")},{default:()=>[be(ase,null,null)]})]):null,E=()=>be(nQe,{ref:d,currentName:f.value,editable:e.editable,type:e.type,panes:l.value,stretch:e.stretch,onTabClick:h,onTabRemove:m},null),w=be("div",{class:[i.e("header"),o.value&&i.e("header-vertical"),i.is(e.tabPosition)]},[be(c,null,{default:E,$stable:!0}),y]),S=be("div",{class:i.e("content")},[We(n,"default")]);return be("div",{class:[i.b(),i.m(e.tabPosition),{[i.m("card")]:e.type==="card",[i.m("border-card")]:e.type==="border-card"}],onVnodeMounted:b,onVnodeUpdated:b},[S,w])}}}),oQe=pt({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),lQe=["id","aria-hidden","aria-labelledby"],_G="ElTabPane",sQe=Ve({name:_G,__name:"tab-pane",props:oQe,setup(e){const t=e,n=Jt(),r=pa(),a=lt(P9);a||$a(_G,"usage: ");const i=at("tab-pane"),o=j(),l=j(),s=R(()=>{var m;return(m=t.closable)!=null?m:a.props.closable}),u=R(()=>{var m;return a.currentName.value===((m=t.name)!=null?m:l.value)}),c=j(u.value),d=R(()=>{var m;return(m=t.name)!=null?m:l.value}),f=R(()=>!t.lazy||c.value||u.value),p=()=>{var m;return(m=o.value)==null?void 0:m.contains(document.activeElement)};$e(u,m=>{m&&(c.value=!0)});const h=dn({uid:n.uid,getVnode:()=>n.vnode,slots:r,props:t,paneName:d,active:u,index:l,isClosable:s,isFocusInsidePane:p});return a.registerPane(h),Vn(()=>{a.unregisterPane(h)}),w5(()=>{var m;r.label&&((m=a.nav$.value)==null||m.scheduleRender())}),(m,v)=>f.value?hn((H(),le("div",{key:0,id:`pane-${d.value}`,ref_key:"paneRef",ref:o,class:J(F(i).b()),role:"tabpanel","aria-hidden":!u.value,"aria-labelledby":`tab-${d.value}`},[We(m.$slots,"default")],10,lQe)),[[In,u.value]]):Pe("v-if",!0)}});var Ade=yt(sQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const uQe=fn(iQe,{TabPane:Ade}),cQe=sa(Ade),dQe=pt({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:Ec,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),fQe=Ve({name:"ElText",__name:"text",props:dQe,setup(e){const t=e,n=j(),r=ja(),a=at("text"),i=R(()=>[a.b(),a.m(t.type),a.m(r.value),a.is("truncated",t.truncated),a.is("line-clamp",!On(t.lineClamp))]),o=()=>{var l,s,u,c,d,f,p;if(Fc().title)return;let m=!1;const v=((l=n.value)==null?void 0:l.textContent)||"";if(t.truncated){const g=(s=n.value)==null?void 0:s.offsetWidth,b=(u=n.value)==null?void 0:u.scrollWidth;g&&b&&b>g&&(m=!0)}else if(!On(t.lineClamp)){const g=(c=n.value)==null?void 0:c.offsetHeight,b=(d=n.value)==null?void 0:d.scrollHeight;g&&b&&b>g&&(m=!0)}m?(f=n.value)==null||f.setAttribute("title",v):(p=n.value)==null||p.removeAttribute("title")};return Ut(o),Il(o),(l,s)=>(H(),Ue(ln(l.tag),{ref_key:"textRef",ref:n,class:J(i.value),style:Pt({"-webkit-line-clamp":l.lineClamp})},{default:Re(()=>[We(l.$slots,"default")]),_:3},8,["class","style"]))}});var pQe=yt(fQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const YP=fn(pQe),hQe=pt(Te({format:{type:String,default:"HH:mm"},modelValue:{type:ke(String)},disabled:{type:Boolean,default:void 0},editable:{type:Boolean,default:!0},effect:{type:ke(String),default:"light"},clearable:{type:Boolean,default:!0},size:Xa,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:ke(String)},maxTime:{type:ke(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:ke([String,Object]),default:()=>rse},clearIcon:{type:ke([String,Object]),default:()=>Pd},popperClass:{type:String,default:""},popperStyle:{type:ke([String,Object])}},Xm)),id=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const r=Number.parseInt(t[1],10),a=e.toUpperCase();return a.includes("AM")&&n===12?n=0:a.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:r}}return null},aw=(e,t)=>{const n=id(e);if(!n)return-1;const r=id(t);if(!r)return-1;const a=n.minutes+n.hours*60,i=r.minutes+r.hours*60;return a===i?0:a>i?1:-1},xG=e=>`${e}`.padStart(2,"0"),t1=e=>`${xG(e.hours)}:${xG(e.minutes)}`,mQe=(e,t)=>{const n=id(e);if(!n)return"";const r=id(t);if(!r)return"";const a={hours:n.hours,minutes:n.minutes};return a.minutes+=r.minutes,a.hours+=r.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,t1(a)},vQe=Ve({name:"ElTimeSelect",__name:"time-select",props:hQe,emits:[An,"blur","focus","clear",nn],setup(e,{expose:t}){un.extend(vP);const{Option:n}=up,r=e,a=at("input"),i=j(),o=ha(),{lang:l}=xn(),s=R(()=>r.modelValue),u=R(()=>{const g=id(r.start);return g?t1(g):null}),c=R(()=>{const g=id(r.end);return g?t1(g):null}),d=R(()=>{const g=id(r.step);return g?t1(g):null}),f=R(()=>{const g=id(r.minTime||"");return g?t1(g):null}),p=R(()=>{const g=id(r.maxTime||"");return g?t1(g):null}),h=R(()=>{var g;const b=[],C=(y,E)=>{b.push({value:y,disabled:aw(E,f.value||"-1:-1")<=0||aw(E,p.value||"100:100")>=0})};if(r.start&&r.end&&r.step){let y=u.value,E;for(;y&&c.value&&aw(y,c.value)<=0;)E=un(y,"HH:mm").locale(l.value).format(r.format),C(E,y),y=mQe(y,d.value);if(r.includeEndTime&&c.value&&((g=b[b.length-1])==null?void 0:g.value)!==c.value){const w=un(c.value,"HH:mm").locale(l.value).format(r.format);C(w,c.value)}}return b});return t({blur:()=>{var g,b;(b=(g=i.value)==null?void 0:g.blur)==null||b.call(g)},focus:()=>{var g,b;(b=(g=i.value)==null?void 0:g.focus)==null||b.call(g)}}),(g,b)=>(H(),Ue(F(up),{ref_key:"select",ref:i,"model-value":s.value,disabled:F(o),clearable:g.clearable,"clear-icon":g.clearIcon,size:g.size,effect:g.effect,placeholder:g.placeholder,"default-first-option":"",filterable:g.editable,"empty-values":g.emptyValues,"value-on-clear":g.valueOnClear,"popper-class":g.popperClass,"popper-style":g.popperStyle,"onUpdate:modelValue":b[0]||(b[0]=C=>g.$emit(F(nn),C)),onChange:b[1]||(b[1]=C=>g.$emit(F(An),C)),onBlur:b[2]||(b[2]=C=>g.$emit("blur",C)),onFocus:b[3]||(b[3]=C=>g.$emit("focus",C)),onClear:b[4]||(b[4]=()=>g.$emit("clear"))},{prefix:Re(()=>[g.prefixIcon?(H(),Ue(F(Rt),{key:0,class:J(F(a).e("prefix-icon"))},{default:Re(()=>[(H(),Ue(ln(g.prefixIcon)))]),_:1},8,["class"])):Pe("v-if",!0)]),default:Re(()=>[(H(!0),le(kt,null,En(h.value,C=>(H(),Ue(F(n),{key:C.value,label:C.value,value:C.value,disabled:C.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style"]))}});var gQe=yt(vQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);const yQe=fn(gQe),Dde="timeline",bQe=pt({mode:{type:String,values:["start","alternate","alternate-reverse","end"],default:"start"},reverse:Boolean}),CQe=Ve({name:"ElTimeline",props:bQe,setup(e,{slots:t}){const n=at("timeline");Qt(Dde,{props:e,slots:t});const r=R(()=>[n.b(),n.is(e.mode)]);return()=>{var a,i;const o=xl((i=(a=t.default)==null?void 0:a.call(t))!=null?i:[]);return W("ul",{class:r.value},e.reverse?o.reverse():o)}}}),FQe=pt({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:mr},hollow:Boolean}),EQe=Ve({name:"ElTimelineItem",__name:"timeline-item",props:FQe,setup(e){const t=e,{props:n}=lt(Dde),r=at("timeline-item"),a=R(()=>[r.e("node"),r.em("node",t.size||""),r.em("node",t.type||""),r.is("hollow",t.hollow)]),i=R(()=>[r.b(),{[r.e("center")]:t.center},r.is(n.mode)]);return(o,l)=>(H(),le("li",{class:J(i.value)},[ye("div",{class:J(F(r).e("tail"))},null,2),o.$slots.dot?Pe("v-if",!0):(H(),le("div",{key:0,class:J(a.value),style:Pt({backgroundColor:o.color})},[o.icon?(H(),Ue(F(Rt),{key:0,class:J(F(r).e("icon"))},{default:Re(()=>[(H(),Ue(ln(o.icon)))]),_:1},8,["class"])):Pe("v-if",!0)],6)),o.$slots.dot?(H(),le("div",{key:1,class:J(F(r).e("dot"))},[We(o.$slots,"dot")],2)):Pe("v-if",!0),ye("div",{class:J(F(r).e("wrapper"))},[!o.hideTimestamp&&o.placement==="top"?(H(),le("div",{key:0,class:J([F(r).e("timestamp"),F(r).is("top")])},ft(o.timestamp),3)):Pe("v-if",!0),ye("div",{class:J(F(r).e("content"))},[We(o.$slots,"default")],2),!o.hideTimestamp&&o.placement==="bottom"?(H(),le("div",{key:1,class:J([F(r).e("timestamp"),F(r).is("bottom")])},ft(o.timestamp),3)):Pe("v-if",!0)],2)],2))}});var Tde=yt(EQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const wQe=fn(CQe,{TimelineItem:Tde}),SQe=sa(Tde),kde="left-check-change",_de="right-check-change",n1=pt({data:{type:ke(Array),default:()=>[]},titles:{type:ke(Array),default:()=>[]},buttonTexts:{type:ke(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:ke(Function)},leftDefaultChecked:{type:ke(Array),default:()=>[]},rightDefaultChecked:{type:ke(Array),default:()=>[]},renderContent:{type:ke(Function)},modelValue:{type:ke(Array),default:()=>[]},format:{type:ke(Object),default:()=>({})},filterable:Boolean,props:{type:ke(Object),default:()=>da({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),iB=(e,t)=>[e,t].every(st)||st(e)&&Ma(t),AQe={[An]:(e,t,n)=>[e,n].every(st)&&["left","right"].includes(t),[nn]:e=>st(e),[kde]:iB,[_de]:iB},oB="checked-change",DQe=pt({data:n1.data,optionRender:{type:ke(Function)},placeholder:String,title:String,filterable:Boolean,format:n1.format,filterMethod:n1.filterMethod,defaultChecked:n1.leftDefaultChecked,props:n1.props}),TQe={[oB]:iB},J5=e=>{const t={label:"label",key:"key",disabled:"disabled"};return R(()=>Te(Te({},t),e.props))},kQe=(e,t,n)=>{const r=J5(e),a=R(()=>e.data.filter(c=>Lt(e.filterMethod)?e.filterMethod(t.query,c):String(c[r.value.label]||c[r.value.key]).toLowerCase().includes(t.query.toLowerCase()))),i=R(()=>a.value.filter(c=>!c[r.value.disabled])),o=R(()=>{const c=t.checked.length,d=e.data.length,{noChecked:f,hasChecked:p}=e.format;return f&&p?c>0?p.replace(/\${checked}/g,c.toString()).replace(/\${total}/g,d.toString()):f.replace(/\${total}/g,d.toString()):`${c}/${d}`}),l=R(()=>{const c=t.checked.length;return c>0&&c{const c=i.value.map(d=>d[r.value.key]);t.allChecked=c.length>0&&c.every(d=>t.checked.includes(d))},u=c=>{t.checked=c?i.value.map(d=>d[r.value.key]):[]};return $e(()=>t.checked,(c,d)=>{if(s(),t.checkChangeByUser){const f=c.concat(d).filter(p=>!c.includes(p)||!d.includes(p));n(oB,c,f)}else n(oB,c),t.checkChangeByUser=!0}),$e(i,()=>{s()}),$e(()=>e.data,()=>{const c=[],d=a.value.map(f=>f[r.value.key]);t.checked.forEach(f=>{d.includes(f)&&c.push(f)}),t.checkChangeByUser=!1,t.checked=c}),$e(()=>e.defaultChecked,(c,d)=>{if(d&&c.length===d.length&&c.every(h=>d.includes(h)))return;const f=[],p=i.value.map(h=>h[r.value.key]);c.forEach(h=>{p.includes(h)&&f.push(h)}),t.checkChangeByUser=!1,t.checked=f},{immediate:!0}),{filteredData:a,checkableData:i,checkedSummary:o,isIndeterminate:l,updateAllChecked:s,handleAllCheckedChange:u}},_Qe=Ve({name:"ElTransferPanel",__name:"transfer-panel",props:DQe,emits:TQe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=pa(),o=({option:y})=>y,{t:l}=xn(),s=at("transfer"),u=dn({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),c=J5(r),{filteredData:d,checkedSummary:f,isIndeterminate:p,handleAllCheckedChange:h}=kQe(r,u,a),m=R(()=>!Bo(u.query)&&Bo(d.value)),v=R(()=>!Bo(i.default()[0].children)),{checked:g,allChecked:b,query:C}=Na(u);return t({query:C}),(y,E)=>(H(),le("div",{class:J(F(s).b("panel"))},[ye("p",{class:J(F(s).be("panel","header"))},[be(F(eu),{modelValue:F(b),"onUpdate:modelValue":E[0]||(E[0]=w=>Gn(b)?b.value=w:null),indeterminate:F(p),"validate-event":!1,onChange:F(h)},{default:Re(()=>[Cn(ft(y.title)+" ",1),ye("span",null,ft(F(f)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),ye("div",{class:J([F(s).be("panel","body"),F(s).is("with-footer",v.value)])},[y.filterable?(H(),Ue(F(co),{key:0,modelValue:F(C),"onUpdate:modelValue":E[1]||(E[1]=w=>Gn(C)?C.value=w:null),class:J(F(s).be("panel","filter")),size:"default",placeholder:y.placeholder,"prefix-icon":F(NRe),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):Pe("v-if",!0),hn(be(F(hP),{modelValue:F(g),"onUpdate:modelValue":E[2]||(E[2]=w=>Gn(g)?g.value=w:null),"validate-event":!1,class:J([F(s).is("filterable",y.filterable),F(s).be("panel","list")])},{default:Re(()=>[(H(!0),le(kt,null,En(F(d),w=>(H(),Ue(F(eu),{key:w[F(c).key],class:J(F(s).be("panel","item")),value:w[F(c).key],disabled:w[F(c).disabled],"validate-event":!1},{default:Re(()=>{var S;return[be(o,{option:(S=y.optionRender)==null?void 0:S.call(y,w)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[In,!m.value&&!F(Bo)(y.data)]]),hn(ye("div",{class:J(F(s).be("panel","empty"))},[We(y.$slots,"empty",{},()=>[Cn(ft(m.value?F(l)("el.transfer.noMatch"):F(l)("el.transfer.noData")),1)])],2),[[In,m.value||F(Bo)(y.data)]])],2),v.value?(H(),le("p",{key:0,class:J(F(s).be("panel","footer"))},[We(y.$slots,"default")],2)):Pe("v-if",!0)],2))}});var MG=yt(_Qe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const xQe=e=>{const t=J5(e),n=R(()=>e.data.reduce((i,o)=>(i[o[t.value.key]]=o)&&i,{})),r=R(()=>e.data.filter(i=>!e.modelValue.includes(i[t.value.key]))),a=R(()=>e.targetOrder==="original"?e.data.filter(i=>e.modelValue.includes(i[t.value.key])):e.modelValue.reduce((i,o)=>{const l=n.value[o];return l&&i.push(l),i},[]));return{sourceData:r,targetData:a}},MQe=(e,t,n)=>{const r=J5(e),a=(l,s,u)=>{n(nn,l),n(An,l,s,u)};return{addToLeft:()=>{const l=e.modelValue.slice();t.rightChecked.forEach(s=>{const u=l.indexOf(s);u>-1&&l.splice(u,1)}),a(l,"left",t.rightChecked)},addToRight:()=>{let l=e.modelValue.slice();const s=e.data.filter(u=>{const c=u[r.value.key];return t.leftChecked.includes(c)&&!e.modelValue.includes(c)}).map(u=>u[r.value.key]);l=e.targetOrder==="unshift"?s.concat(l):l.concat(s),e.targetOrder==="original"&&(l=e.data.filter(u=>l.includes(u[r.value.key])).map(u=>u[r.value.key])),a(l,"right",t.leftChecked)}}},BQe=(e,t)=>({onSourceCheckedChange:(a,i)=>{e.leftChecked=a,i&&t(kde,a,i)},onTargetCheckedChange:(a,i)=>{e.rightChecked=a,i&&t(_de,a,i)}}),RQe={key:0},LQe={key:0},OQe=Ve({name:"ElTransfer",__name:"transfer",props:n1,emits:AQe,setup(e,{expose:t,emit:n}){const r=e,a=n,i=pa(),{t:o}=xn(),l=at("transfer"),{formItem:s}=Ci(),u=dn({leftChecked:[],rightChecked:[]}),c=J5(r),{sourceData:d,targetData:f}=xQe(r),{onSourceCheckedChange:p,onTargetCheckedChange:h}=BQe(u,a),{addToLeft:m,addToRight:v}=MQe(r,u,a),g=j(),b=j(),C=D=>{switch(D){case"left":g.value.query="";break;case"right":b.value.query="";break}},y=R(()=>r.buttonTexts.length===2),E=R(()=>r.titles[0]||o("el.transfer.titles.0")),w=R(()=>r.titles[1]||o("el.transfer.titles.1")),S=R(()=>r.filterPlaceholder||o("el.transfer.filterPlaceholder"));$e(()=>r.modelValue,()=>{var D;r.validateEvent&&((D=s==null?void 0:s.validate)==null||D.call(s,"change").catch(k=>void 0))});const A=R(()=>D=>{var k;if(r.renderContent)return r.renderContent(W,D);const x=(((k=i.default)==null?void 0:k.call(i,{option:D}))||[]).filter(_=>_.type!==ia);return x.length?x:W("span",D[c.value.label]||D[c.value.key])});return t({clearQuery:C,leftPanel:g,rightPanel:b}),(D,k)=>(H(),le("div",{class:J(F(l).b())},[be(MG,{ref_key:"leftPanel",ref:g,data:F(d),"option-render":A.value,placeholder:S.value,title:E.value,filterable:D.filterable,format:D.format,"filter-method":D.filterMethod,"default-checked":D.leftDefaultChecked,props:r.props,onCheckedChange:F(p)},{empty:Re(()=>[We(D.$slots,"left-empty")]),default:Re(()=>[We(D.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),ye("div",{class:J(F(l).e("buttons"))},[be(F(ci),{type:"primary",class:J([F(l).e("button"),F(l).is("with-texts",y.value)]),disabled:F(Bo)(u.rightChecked),onClick:F(m)},{default:Re(()=>[be(F(Rt),null,{default:Re(()=>[be(F(Ad))]),_:1}),F(On)(D.buttonTexts[0])?Pe("v-if",!0):(H(),le("span",RQe,ft(D.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),be(F(ci),{type:"primary",class:J([F(l).e("button"),F(l).is("with-texts",y.value)]),disabled:F(Bo)(u.leftChecked),onClick:F(v)},{default:Re(()=>[F(On)(D.buttonTexts[1])?Pe("v-if",!0):(H(),le("span",LQe,ft(D.buttonTexts[1]),1)),be(F(Rt),null,{default:Re(()=>[be(F(po))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),be(MG,{ref_key:"rightPanel",ref:b,data:F(f),"option-render":A.value,placeholder:S.value,filterable:D.filterable,format:D.format,"filter-method":D.filterMethod,title:w.value,"default-checked":D.rightDefaultChecked,props:r.props,onCheckedChange:F(h)},{empty:Re(()=>[We(D.$slots,"right-empty")]),default:Re(()=>[We(D.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var PQe=yt(OQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer.vue"]]);const IQe=fn(PQe),O1="$treeNodeId",BG=function(e,t){!t||t[O1]||Object.defineProperty(t,O1,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},JP=(e,t)=>t==null?void 0:t[e||O1],lB=(e,t,n)=>{const r=e.value.currentNode;n();const a=e.value.currentNode;r!==a&&t("current-change",a?a.data:null,a)},xde=e=>{let t=!0,n=!0,r=!0,a=!0;for(let i=0,o=e.length;i{n.canFocus=t,sB(n.childNodes,t)})};let NQe=0,uB=class t7{constructor(t){this.isLeafByUser=void 0,this.isLeaf=void 0,this.isEffectivelyChecked=!1,this.id=NQe++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)qn(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var t;const n=this.store;if(!n)throw new Error("[Node]store is required!");n.registerNode(this);const r=n.props;if(r&&typeof r.isLeaf!="undefined"){const o=f8(this,"isLeaf");hr(o)&&(this.isLeafByUser=o)}if(n.lazy!==!0&&this.data?(this.setData(this.data),n.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&n.lazy&&n.defaultExpandAll&&!this.isLeafByUser&&this.expand(),st(this.data)||BG(this,this.data),!this.data)return;const a=n.defaultExpandedKeys,i=n.key;i&&!Ma(this.key)&&a&&a.includes(this.key)&&this.expand(null,n.autoExpandParent),i&&n.currentNodeKey!==void 0&&this.key===n.currentNodeKey&&(n.currentNode&&(n.currentNode.isCurrent=!1),n.currentNode=this,n.currentNode.isCurrent=!0),n.lazy&&n._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((t=this.parent)==null?void 0:t.expanded)===!0)&&(this.canFocus=!0)}setData(t){st(t)||BG(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&st(this.data)?n=this.data:n=f8(this,"children")||[];for(let r=0,a=n.length;r-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(r=>r===t||n&&r.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,r){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof t7)){if(!r){const a=this.getChildren(!0);a!=null&&a.includes(t.data)||(On(n)||n<0?a==null||a.push(t.data):a==null||a.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=dn(new t7(t)),t instanceof t7&&t.initialize()}t.level=this.level+1,On(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let r;n&&(r=this.childNodes.indexOf(n)),this.insertChild(t,r)}insertAfter(t,n){let r;n&&(r=this.childNodes.indexOf(n),r!==-1&&(r+=1)),this.insertChild(t,r)}removeChild(t){const n=this.getChildren()||[],r=n.indexOf(t.data);r>-1&&n.splice(r,1);const a=this.childNodes.indexOf(t);a>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(a,1)),this.updateLeafState()}removeChildByData(t){const n=this.childNodes.find(r=>r.data===t);n&&this.removeChild(n)}expand(t,n){const r=()=>{if(n){let a=this.parent;for(;a&&a.level>0;)a.expanded=!0,a=a.parent}this.expanded=!0,t&&t(),sB(this.childNodes,!0)};this.shouldLoadData()?this.loadData(a=>{st(a)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||Ly(this),r())}):r()}doCreateChildren(t,n={}){t.forEach(r=>{this.insertChild(Object.assign({data:r},n),void 0,!0)})}collapse(){this.expanded=!1,sB(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser!="undefined"){this.isLeaf=this.isLeafByUser,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}this.isLeaf=!1}setChecked(t,n,r,a){if(this.indeterminate=t==="half",this.checked=t===!0,this.isEffectivelyChecked=!this.childNodes.length&&(this.disabled||this.checked),this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const o=()=>{if(n){const l=this.childNodes;for(let d=0,f=l.length;d{o(),Ly(this)},{checked:t!==!1});return}else o()}const i=this.parent;!i||i.level===0||r||Ly(i)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const r=this.store.props;let a="children";return r&&(a=r.children||"children"),On(n[a])&&(n[a]=null),t&&!n[a]&&(n[a]=[]),n[a]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(i=>i.data),r={},a=[];t.forEach((i,o)=>{const l=i[O1];!!l&&n.some(u=>(u==null?void 0:u[O1])===l)?r[l]={index:o,data:i}:a.push({index:o,data:i})}),this.store.lazy||n.forEach(i=>{r[i==null?void 0:i[O1]]||this.removeChildByData(i)}),a.forEach(({index:i,data:o})=>{this.insertChild({data:o},i)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const r=i=>{this.childNodes=[],this.doCreateChildren(i,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,i)},a=()=>{this.loading=!1};this.store.load(this,r,a)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const r=n.shift();n.unshift(...r.childNodes),t(r)}}reInitChecked(){this.store.checkStrictly||Ly(this)}};class $Qe{constructor(t){this.lazy=!1,this.checkStrictly=!1,this.autoExpandParent=!1,this.defaultExpandAll=!1,this.checkDescendants=!1,this.currentNode=null,this.currentNodeKey=null;for(const n in t)qn(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new uB({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()},er)}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,r=this.lazy,a=function(i){return Xt(this,null,function*(){const o=i.root?i.root.childNodes:i.childNodes;for(const[l,s]of o.entries())s.visible=!!(n!=null&&n.call(s,t,s.data,s)),l%80===0&&l>0&&(yield Oe()),yield a(s);if(!i.visible&&o.length){let l=!0;l=!o.some(s=>s.visible),i.root?i.root.visible=l===!1:i.visible=l===!1}t&&i.visible&&!i.isLeaf&&(!r||i.loaded)&&i.expand()})};a(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof uB)return t;const n=mn(t)?JP(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){var r;const a=this.getNode(n);(r=a.parent)==null||r.insertBefore({data:t},a)}insertAfter(t,n){var r;const a=this.getNode(n);(r=a.parent)==null||r.insertAfter({data:t},a)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const r=al(n)?this.root:this.getNode(n);r&&r.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(r=>{const a=n[r];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){const n=this.defaultCheckedKeys||[];!Ma(t.key)&&n.includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;if(!(!t||!t.data))if(!n)this.nodesMap[t.id]=t;else{const r=t.key;Ma(r)||(this.nodesMap[r]=t)}}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(r=>{this.deregisterNode(r)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const r=[],a=function(i){(i.root?i.root.childNodes:i.childNodes).forEach(l=>{(l.checked||n&&l.indeterminate)&&(!t||t&&l.isLeaf)&&r.push(l.data),a(l)})};return a(this),r}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(r){(r.root?r.root.childNodes:r.childNodes).forEach(i=>{i.indeterminate&&t.push(i.data),n(i)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const r in n)qn(n,r)&&t.push(n[r]);return t}updateChildren(t,n){const r=this.nodesMap[t];if(!r)return;const a=r.childNodes;for(let i=a.length-1;i>=0;i--){const o=a[i];this.remove(o.data)}for(let i=0,o=n.length;is.level-u.level),i=Object.create(null),o=Object.keys(r);a.forEach(s=>s.setChecked(!1,!1));const l=s=>{s.childNodes.forEach(u=>{var c;i[u.data[t]]=!0,(c=u.childNodes)!=null&&c.length&&l(u)})};for(let s=0,u=a.length;s{v.isLeaf||v.setChecked(!1,!1),p(v)})};p(c)}}}setCheckedNodes(t,n=!1){const r=this.key,a={};t.forEach(i=>{a[(i||{})[r]]=!0}),this._setCheckedKeys(r,n,a)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const r=this.key,a={};t.forEach(i=>{a[i]=!0}),this._setCheckedKeys(r,n,a)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const r=this.getNode(n);r&&r.expand(null,this.autoExpandParent)})}setChecked(t,n,r){const a=this.getNode(t);a&&a.setChecked(!!n,r)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){var r;const a=t[this.key],i=this.nodesMap[a];this.setCurrentNode(i),n&&this.currentNode&&this.currentNode.level>1&&((r=this.currentNode.parent)==null||r.expand(null,!0))}setCurrentNodeKey(t,n=!0){var r;if(this.currentNodeKey=t,al(t)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const a=this.getNode(t);a&&(this.setCurrentNode(a),n&&this.currentNode&&this.currentNode.level>1&&((r=this.currentNode.parent)==null||r.expand(null,!0)))}}const XP="RootTree",Mde="NodeInstance",RG="TreeNodeMap",VQe=Ve({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=at("tree"),n=lt(Mde),r=lt(XP);return()=>{const a=e.node,{data:i,store:o}=a;return e.renderContent?e.renderContent(W,{_self:n,node:a,data:i,store:o}):We(r.ctx.slots,"default",{node:a,data:i},()=>[W(YP,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[a.label])])}}});var HQe=yt(VQe,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function Bde(e){const t=lt(RG,null);let n={treeNodeExpand:r=>{var a;e.node!==r&&((a=e.node)==null||a.collapse())},children:new Set};return t&&t.children.add(n),Vn(()=>{t&&t.children.delete(n),n=null}),Qt(RG,n),{broadcastExpanded:r=>{if(e.accordion)for(const a of n.children)a.treeNodeExpand(r)}}}const Rde=Symbol("dragEvents");function zQe({props:e,ctx:t,el$:n,dropIndicator$:r,store:a}){const i=at("tree"),o=j({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return Qt(Rde,{treeNodeDragStart:({event:c,treeNode:d})=>{if(c.dataTransfer){if(Lt(e.allowDrag)&&!e.allowDrag(d.node))return c.preventDefault(),!1;c.dataTransfer.effectAllowed="move";try{c.dataTransfer.setData("text/plain","")}catch(f){}o.value.draggingNode=d,t.emit("node-drag-start",d.node,c)}},treeNodeDragOver:({event:c,treeNode:d})=>{if(!c.dataTransfer)return;const f=d,p=o.value.dropNode;p&&p.node.id!==f.node.id&&fo(p.$el,i.is("drop-inner"));const h=o.value.draggingNode;if(!h||!f)return;let m=!0,v=!0,g=!0,b=!0;Lt(e.allowDrop)&&(m=e.allowDrop(h.node,f.node,"prev"),b=v=e.allowDrop(h.node,f.node,"inner"),g=e.allowDrop(h.node,f.node,"next")),c.dataTransfer.dropEffect=v||m||g?"move":"none",(m||v||g)&&(p==null?void 0:p.node.id)!==f.node.id&&(p&&t.emit("node-drag-leave",h.node,p.node,c),t.emit("node-drag-enter",h.node,f.node,c)),m||v||g?o.value.dropNode=f:o.value.dropNode=null,f.node.nextSibling===h.node&&(g=!1),f.node.previousSibling===h.node&&(m=!1),f.node.contains(h.node,!1)&&(v=!1),(h.node===f.node||h.node.contains(f.node))&&(m=!1,v=!1,g=!1);const C=f.$el,y=C.querySelector(`.${i.be("node","content")}`).getBoundingClientRect(),E=n.value.getBoundingClientRect(),w=n.value.scrollTop;let S;const A=m?v?.25:g?.45:1:Number.NEGATIVE_INFINITY,D=g?v?.75:m?.55:0:Number.POSITIVE_INFINITY;let k=-9999;const x=c.clientY-y.top;xy.height*D?S="after":v?S="inner":S="none";const _=C.querySelector(`.${i.be("node","expand-icon")}`).getBoundingClientRect(),M=r.value;S==="before"?k=_.top-E.top+w:S==="after"&&(k=_.bottom-E.top+w),M.style.top=`${k}px`,M.style.left=`${_.right-E.left}px`,S==="inner"?as(C,i.is("drop-inner")):fo(C,i.is("drop-inner")),o.value.showDropIndicator=S==="before"||S==="after",o.value.allowDrop=o.value.showDropIndicator||b,o.value.dropType=S,t.emit("node-drag-over",h.node,f.node,c)},treeNodeDragEnd:c=>{var d,f;const{draggingNode:p,dropType:h,dropNode:m}=o.value;if(c.preventDefault(),c.dataTransfer&&(c.dataTransfer.dropEffect="move"),p!=null&&p.node.data&&m){const v={data:p.node.data};h!=="none"&&p.node.remove(),h==="before"?(d=m.node.parent)==null||d.insertBefore(v,m.node):h==="after"?(f=m.node.parent)==null||f.insertAfter(v,m.node):h==="inner"&&m.node.insertChild(v),h!=="none"&&(a.value.registerNode(v),a.value.key&&p.node.eachNode(g=>{var b;(b=a.value.nodesMap[g.data[a.value.key]])==null||b.setChecked(g.checked,!a.value.checkStrictly)})),fo(m.$el,i.is("drop-inner")),t.emit("node-drag-end",p.node,m.node,h,c),h!=="none"&&t.emit("node-drop",p.node,m.node,h,c)}p&&!m&&t.emit("node-drag-end",p.node,null,h,c),o.value.showDropIndicator=!1,o.value.draggingNode=null,o.value.dropNode=null,o.value.allowDrop=!0}}),{dragState:o}}const WQe=Ve({name:"ElTreeNode",components:{ElCollapseTransition:M9,ElCheckbox:eu,NodeContent:HQe,ElIcon:Rt,Loading:pc},props:{node:{type:uB,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=at("tree"),{broadcastExpanded:r}=Bde(e),a=lt(XP),i=j(!1),o=j(!1),l=j(),s=j(),u=j(),c=lt(Rde),d=Jt();Qt(Mde,d),e.node.expanded&&(i.value=!0,o.value=!0);const f=a.props.props.children||"children";$e(()=>{var D;const k=(D=e.node.data)==null?void 0:D[f];return k&&[...k]},()=>{e.node.updateChildren()}),$e(()=>e.node.indeterminate,D=>{m(e.node.checked,D)}),$e(()=>e.node.checked,D=>{m(D,e.node.indeterminate)}),$e(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),$e(()=>e.node.expanded,D=>{Oe(()=>i.value=D),D&&(o.value=!0)});const p=D=>JP(a.props.nodeKey,D.data),h=D=>{const k=e.props.class;if(!k)return{};let x;if(Lt(k)){const{data:_}=D;x=k(_,D)}else x=k;return Bt(x)?{[x]:!0}:x},m=(D,k)=>{(l.value!==D||s.value!==k)&&a.ctx.emit("check-change",e.node.data,D,k),l.value=D,s.value=k},v=D=>{lB(a.store,a.ctx.emit,()=>{var k;if((k=a==null?void 0:a.props)==null?void 0:k.nodeKey){const _=p(e.node);a.store.value.setCurrentNodeKey(_)}else a.store.value.setCurrentNode(e.node)}),a.currentNode.value=e.node,a.props.expandOnClickNode&&b(),(a.props.checkOnClickNode||e.node.isLeaf&&a.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&C(!e.node.checked),a.ctx.emit("node-click",e.node.data,e.node,d,D)},g=D=>{var k;(k=a.instance.vnode.props)!=null&&k.onNodeContextmenu&&(D.stopPropagation(),D.preventDefault()),a.ctx.emit("node-contextmenu",D,e.node.data,e.node,d)},b=()=>{e.node.isLeaf||(i.value?(a.ctx.emit("node-collapse",e.node.data,e.node,d),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,d)}))},C=D=>{const k=a==null?void 0:a.props.checkStrictly,x=e.node.childNodes;!k&&x.length&&(D=x.some(_=>!_.isEffectivelyChecked)),e.node.setChecked(D,!k),Oe(()=>{const _=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:_.getCheckedNodes(),checkedKeys:_.getCheckedKeys(),halfCheckedNodes:_.getHalfCheckedNodes(),halfCheckedKeys:_.getHalfCheckedKeys()})})};return{ns:n,node$:u,tree:a,expanded:i,childNodeRendered:o,oldChecked:l,oldIndeterminate:s,getNodeKey:p,getNodeClass:h,handleSelectChange:m,handleClick:v,handleContextMenu:g,handleExpandIconClick:b,handleCheckChange:C,handleChildNodeExpand:(D,k,x)=>{r(k),a.ctx.emit("node-expand",D,k,x)},handleDragStart:D=>{a.props.draggable&&c.treeNodeDragStart({event:D,treeNode:e})},handleDragOver:D=>{D.preventDefault(),a.props.draggable&&c.treeNodeDragOver({event:D,treeNode:{$el:u.value,node:e.node}})},handleDrop:D=>{D.preventDefault()},handleDragEnd:D=>{a.props.draggable&&c.treeNodeDragEnd(D)},CaretRight:nse}}}),GQe=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],jQe=["aria-expanded"];function KQe(e,t,n,r,a,i){const o=en("el-icon"),l=en("el-checkbox"),s=en("loading"),u=en("node-content"),c=en("el-tree-node"),d=en("el-collapse-transition");return hn((H(),le("div",{ref:"node$",class:J([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[2]||(t[2]=Yt((...f)=>e.handleClick&&e.handleClick(...f),["stop"])),onContextmenu:t[3]||(t[3]=(...f)=>e.handleContextMenu&&e.handleContextMenu(...f)),onDragstart:t[4]||(t[4]=Yt((...f)=>e.handleDragStart&&e.handleDragStart(...f),["stop"])),onDragover:t[5]||(t[5]=Yt((...f)=>e.handleDragOver&&e.handleDragOver(...f),["stop"])),onDragend:t[6]||(t[6]=Yt((...f)=>e.handleDragEnd&&e.handleDragEnd(...f),["stop"])),onDrop:t[7]||(t[7]=Yt((...f)=>e.handleDrop&&e.handleDrop(...f),["stop"]))},[ye("div",{class:J(e.ns.be("node","content")),style:Pt({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(H(),Ue(o,{key:0,class:J([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:Yt(e.handleExpandIconClick,["stop"])},{default:Re(()=>[(H(),Ue(ln(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):Pe("v-if",!0),e.showCheckbox?(H(),Ue(l,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=Yt(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):Pe("v-if",!0),e.node.loading?(H(),Ue(o,{key:2,class:J([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:Re(()=>[be(s)]),_:1},8,["class"])):Pe("v-if",!0),be(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),be(d,null,{default:Re(()=>[!e.renderAfterExpand||e.childNodeRendered?hn((H(),le("div",{key:0,class:J(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:t[1]||(t[1]=Yt(()=>{},["stop"]))},[(H(!0),le(kt,null,En(e.node.childNodes,f=>(H(),Ue(c,{key:e.getNodeKey(f),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:f,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,jQe)),[[In,e.expanded]]):Pe("v-if",!0)]),_:1})],42,GQe)),[[In,e.node.visible]])}var UQe=yt(WQe,[["render",KQe],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function qQe({el$:e},t){const n=at("tree");Ut(()=>{i()}),Il(()=>{var o;(o=e.value)==null||o.querySelectorAll("input[type=checkbox]").forEach(l=>{l.setAttribute("tabindex","-1")})});function r(o,l){var s,u;const c=t.value.getNode(o[l].dataset.key);return c.canFocus&&c.visible&&(((s=c.parent)==null?void 0:s.expanded)||((u=c.parent)==null?void 0:u.level)===0)}ir(e,"keydown",o=>{const l=o.target;if(!l.className.includes(n.b("node")))return;const s=Er(o),u=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),c=u.indexOf(l);let d;if([dt.up,dt.down].includes(s)){if(o.preventDefault(),s===dt.up){d=c===-1?0:c!==0?c-1:u.length-1;const p=d;for(;!r(u,d);){if(d--,d===p){d=-1;break}d<0&&(d=u.length-1)}}else{d=c===-1?0:c=u.length&&(d=0)}}d!==-1&&u[d].focus()}[dt.left,dt.right].includes(s)&&(o.preventDefault(),l.click());const f=l.querySelector('[type="checkbox"]');[dt.enter,dt.numpadEnter,dt.space].includes(s)&&f&&(o.preventDefault(),f.click())});const i=()=>{var o;if(!e.value)return;const l=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(c=>{c.setAttribute("tabindex","-1")});const u=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(u.length){u[0].setAttribute("tabindex","0");return}(o=l[0])==null||o.setAttribute("tabindex","0")}}const Lde=pt({data:{type:ke(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array},defaultExpandedKeys:{type:Array},currentNodeKey:{type:[String,Number]},renderContent:{type:ke(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:ke(Function)},allowDrop:{type:ke(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:{type:Function},filterNodeMethod:{type:Function},accordion:Boolean,indent:{type:Number,default:18},icon:{type:mr}}),YQe={"check-change":(e,t,n)=>e&&hr(t)&&hr(n),"current-change":(e,t)=>!0,"node-click":(e,t,n,r)=>e&&t&&r instanceof Event,"node-contextmenu":(e,t,n,r)=>e instanceof Event&&t&&n,"node-collapse":(e,t,n)=>e&&t,"node-expand":(e,t,n)=>e&&t,check:(e,t)=>e&&t,"node-drag-start":(e,t)=>e&&t,"node-drag-end":(e,t,n,r)=>e&&r,"node-drop":(e,t,n,r)=>e&&t&&r,"node-drag-leave":(e,t,n)=>e&&t&&n,"node-drag-enter":(e,t,n)=>e&&t&&n,"node-drag-over":(e,t,n)=>e&&t&&n},JQe=Ve({name:"ElTree",components:{ElTreeNode:UQe},props:Lde,emits:YQe,setup(e,t){const{t:n}=xn(),r=at("tree"),a=j(new $Qe({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));a.value.initialize();const i=j(a.value.root),o=j(null),l=j(null),s=j(null),{broadcastExpanded:u}=Bde(e),{dragState:c}=zQe({props:e,ctx:t,el$:l,dropIndicator$:s,store:a});qQe({el$:l},a);const d=Jt(),f=R(()=>{let N=d==null?void 0:d.parent;for(;N;){if(N.type.name==="ElTreeSelect")return!0;N=N.parent}return!1}),p=R(()=>{const{childNodes:N}=i.value;return(!N||N.length===0||N.every(({visible:V})=>!V))&&!f.value});$e(()=>e.currentNodeKey,N=>{a.value.setCurrentNodeKey(N!=null?N:null)}),$e(()=>e.defaultCheckedKeys,(N,V)=>{ma(N,V)||a.value.setDefaultCheckedKey(N!=null?N:[])}),$e(()=>e.defaultExpandedKeys,N=>{a.value.setDefaultExpandedKeys(N!=null?N:[])}),$e(()=>e.data,N=>{a.value.setData(N)},{deep:!0}),$e(()=>e.checkStrictly,N=>{a.value.checkStrictly=N});const h=N=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");a.value.filter(N)},m=N=>JP(e.nodeKey,N.data),v=N=>{if(!e.nodeKey)throw new Error(`[Tree] nodeKey is required in ${N}`)},g=N=>{v("getNodePath");const V=a.value.getNode(N);if(!V)return[];const Y=[V.data];let z=V.parent;for(;z&&z!==i.value;)Y.push(z.data),z=z.parent;return Y.reverse()},b=(N,V)=>a.value.getCheckedNodes(N,V),C=N=>a.value.getCheckedKeys(N),y=()=>{const N=a.value.getCurrentNode();return N?N.data:null},E=()=>{v("getCurrentKey");const N=y();return N?N[e.nodeKey]:null},w=(N,V)=>{v("setCheckedNodes"),a.value.setCheckedNodes(N,V)},S=(N,V)=>{v("setCheckedKeys"),a.value.setCheckedKeys(N,V)},A=(N,V,Y)=>{a.value.setChecked(N,V,Y)},D=()=>a.value.getHalfCheckedNodes(),k=()=>a.value.getHalfCheckedKeys(),x=(N,V=!0)=>{v("setCurrentNode"),lB(a,t.emit,()=>{u(N),a.value.setUserCurrentNode(N,V)})},_=(N=null,V=!0)=>{v("setCurrentKey"),lB(a,t.emit,()=>{u(),a.value.setCurrentNodeKey(N,V)})},M=N=>a.value.getNode(N),L=N=>{a.value.remove(N)},I=(N,V)=>{a.value.append(N,V)},P=(N,V)=>{a.value.insertBefore(N,V)},B=(N,V)=>{a.value.insertAfter(N,V)},T=(N,V,Y)=>{u(V),t.emit("node-expand",N,V,Y)},O=(N,V)=>{v("updateKeyChild"),a.value.updateChildren(N,V)};return Qt(XP,{ctx:t,props:e,store:a,root:i,currentNode:o,instance:d}),Qt(hc,void 0),{ns:r,store:a,root:i,currentNode:o,dragState:c,el$:l,dropIndicator$:s,isEmpty:p,filter:h,getNodeKey:m,getNodePath:g,getCheckedNodes:b,getCheckedKeys:C,getCurrentNode:y,getCurrentKey:E,setCheckedNodes:w,setCheckedKeys:S,setChecked:A,getHalfCheckedNodes:D,getHalfCheckedKeys:k,setCurrentNode:x,setCurrentKey:_,t:n,getNode:M,remove:L,append:I,insertBefore:P,insertAfter:B,handleNodeExpand:T,updateKeyChildren:O}}});function XQe(e,t,n,r,a,i){const o=en("el-tree-node");return H(),le("div",{ref:"el$",class:J([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(H(!0),le(kt,null,En(e.root.childNodes,l=>(H(),Ue(o,{key:e.getNodeKey(l),node:l,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(H(),le("div",{key:0,class:J(e.ns.e("empty-block"))},[We(e.$slots,"empty",{},()=>{var l;return[ye("span",{class:J(e.ns.e("empty-text"))},ft((l=e.emptyText)!=null?l:e.t("el.tree.emptyText")),3)]})],2)):Pe("v-if",!0),hn(ye("div",{ref:"dropIndicator$",class:J(e.ns.e("drop-indicator"))},null,2),[[In,e.dragState.showDropIndicator]])],2)}var ZQe=yt(JQe,[["render",XQe],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);const ZP=fn(ZQe),QQe=(e,{attrs:t,emit:n},{select:r,tree:a,key:i})=>{const o=at("tree-select");$e(()=>e.data,()=>{e.filterable&&Oe(()=>{var u,c;(c=a.value)==null||c.filter((u=r.value)==null?void 0:u.states.inputValue)})},{flush:"post"});const l=u=>{var c;const d=u.at(-1);if(d.expanded&&d.childNodes.at(-1))l([d.childNodes.at(-1)]);else{const f=(c=a.value.el$)==null?void 0:c.querySelector(`[data-key="${u.at(-1).key}"]`);f==null||f.focus({preventScroll:!0});return}};return Ut(()=>{ir(()=>{var u;return(u=r.value)==null?void 0:u.$el},"keydown",u=>Xt(null,null,function*(){const c=Er(u),{dropdownMenuVisible:d}=r.value;[dt.down,dt.up].includes(c)&&d&&(yield Oe(),setTimeout(()=>{var f,p,h;if(dt.up===c){const m=a.value.store.root.childNodes;l(m);return}(h=(p=(f=r.value.optionsArray[r.value.states.hoveringIndex].$el)==null?void 0:f.parentNode)==null?void 0:p.parentNode)==null||h.focus({preventScroll:!0})}))}),{capture:!0})}),Et(Te(Te({},wd(Na(e),Object.keys(up.props))),t),{class:R(()=>t.class),style:R(()=>t.style),"onUpdate:modelValue":u=>n(nn,u),valueKey:i,popperClass:R(()=>{const u=[o.e("popper")];return e.popperClass&&u.push(e.popperClass),u.join(" ")}),filterMethod:(u="")=>{var c;e.filterMethod?e.filterMethod(u):e.remoteMethod?e.remoteMethod(u):(c=a.value)==null||c.filter(u)}})},eet=Ve({extends:s6,setup(e,t){const n=s6.setup(e,t);delete n.selectOptionClick;const r=Jt().proxy;return Oe(()=>{n.select.states.cachedOptions.get(r.value)||n.select.onOptionCreate(r)}),$e(()=>t.attrs.visible,a=>{Oe(()=>{n.states.visible=a})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function cB(e){return e||e===0}function QP(e){return st(e)&&e.length}function Dv(e){return st(e)?e:cB(e)?[e]:[]}function n7(e,t,n,r,a){for(let i=0;i{$e([()=>e.modelValue,i],()=>{e.showCheckbox&&Oe(()=>{const f=i.value;f&&!ma(f.getCheckedKeys(),Dv(e.modelValue))&&f.setCheckedKeys(Dv(e.modelValue))})},{immediate:!0,deep:!0});const l=R(()=>Te({value:o.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf"},e.props)),s=(f,p)=>{var h;const m=l.value[f];return Lt(m)?m(p,(h=i.value)==null?void 0:h.getNode(s("value",p))):p[m]},u=Dv(e.modelValue).map(f=>n7(e.data||[],p=>s("value",p)===f,p=>s("children",p),(p,h,m,v)=>v&&s("value",v))).filter(f=>cB(f)),c=R(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const f=[];return r7(e.data.concat(e.cacheData),p=>{const h=s("value",p);f.push({value:h,currentLabel:s("label",p),isDisabled:s("disabled",p)})},p=>s("children",p)),f}),d=()=>{var f;return(f=i.value)==null?void 0:f.getCheckedKeys().filter(p=>{var h;const m=(h=i.value)==null?void 0:h.getNode(p);return!Ma(m)&&Bo(m.childNodes)})};return Et(Te(Te({},wd(Na(e),Object.keys(ZP.props))),t),{nodeKey:o,expandOnClickNode:R(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:R(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(u):u),renderContent:(f,{node:p,data:h,store:m})=>f(eet,{value:s("value",h),label:s("label",h),disabled:s("disabled",h),visible:p.visible},e.renderContent?()=>e.renderContent(f,{node:p,data:h,store:m}):n.default?()=>n.default({node:p,data:h,store:m}):void 0),filterNodeMethod:(f,p,h)=>e.filterNodeMethod?e.filterNodeMethod(f,p,h):f?new RegExp(uP(f),"i").test(s("label",p)||""):!0,onNodeClick:(f,p,h)=>{var m,v,g;if((m=t.onNodeClick)==null||m.call(t,f,p,h),!(e.showCheckbox&&e.checkOnClickNode))if(!e.showCheckbox&&(e.checkStrictly||p.isLeaf)){if(!s("disabled",f)){const b=(v=a.value)==null?void 0:v.states.options.get(s("value",f));(g=a.value)==null||g.handleOptionSelect(b)}}else e.expandOnClickNode&&h.proxy.handleExpandIconClick()},onCheck:(f,p)=>{var h;if(!e.showCheckbox)return;const m=s("value",f),v={};r7([i.value.store.root],y=>v[y.key]=y,y=>y.childNodes);const g=p.checkedKeys,b=e.multiple?Dv(e.modelValue).filter(y=>!(y in v)&&!g.includes(y)):[],C=b.concat(g);if(e.checkStrictly)r(nn,e.multiple?C:C.includes(m)?m:void 0);else if(e.multiple){const y=d();r(nn,b.concat(y))}else{const y=n7([f],S=>!QP(s("children",S))&&!s("disabled",S),S=>s("children",S)),E=y?s("value",y):void 0,w=cB(e.modelValue)&&!!n7([f],S=>s("value",S)===e.modelValue,S=>s("children",S));r(nn,E===e.modelValue||w?void 0:E)}Oe(()=>{var y;const E=Dv(e.modelValue);i.value.setCheckedKeys(E),(y=t.onCheck)==null||y.call(t,f,{checkedKeys:i.value.getCheckedKeys(),checkedNodes:i.value.getCheckedNodes(),halfCheckedKeys:i.value.getHalfCheckedKeys(),halfCheckedNodes:i.value.getHalfCheckedNodes()})}),(h=a.value)==null||h.focus()},onNodeExpand:(f,p,h)=>{var m;(m=t.onNodeExpand)==null||m.call(t,f,p,h),Oe(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&p.checked){const v={},g=i.value.getCheckedKeys();r7([i.value.store.root],y=>v[y.key]=y,y=>y.childNodes);const b=Dv(e.modelValue).filter(y=>!(y in v)&&!g.includes(y)),C=d();r(nn,b.concat(C))}})},cacheOptions:c})};var net=Ve({props:{data:{type:Array,default:()=>[]}},setup(e){const t=lt(K5);return $e(()=>e.data,()=>{var n;e.data.forEach(a=>{t.states.cachedOptions.has(a.value)||t.states.cachedOptions.set(a.value,a)});const r=((n=t.selectRef)==null?void 0:n.querySelectorAll("input"))||[];Yn&&!Array.from(r).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const ret=Ve({name:"ElTreeSelect",inheritAttrs:!1,props:Et(Te(Te({},nue),Lde),{cacheData:{type:Array,default:()=>[]}}),setup(e,t){const{slots:n,expose:r}=t,a=j(),i=j(),o=R(()=>e.nodeKey||e.valueKey||"value"),l=QQe(e,t,{select:a,tree:i,key:o}),d=tet(e,t,{select:a,tree:i,key:o}),{cacheOptions:s}=d,u=Fo(d,["cacheOptions"]),c=dn({});return r(c),Ut(()=>{Object.assign(c,Et(Te(Te({},wd(i.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"])),wd(a.value,["focus","blur","selectedLabel"])),{treeRef:i.value,selectRef:a.value}))}),()=>W(up,dn(Et(Te({},l),{ref:f=>a.value=f})),Et(Te({},n),{default:()=>[W(net,{data:s.value}),W(ZP,dn(Et(Te({},u),{ref:f=>i.value=f})))]}))}});var aet=yt(ret,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);const iet=fn(aet),eI=Symbol(),oet={key:-1,level:-1,data:{}};var Oy=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(Oy||{}),dB=(e=>(e.ADD="add",e.DELETE="delete",e))(dB||{});const Ode={type:Number,default:26},set=pt({data:{type:ke(Array),default:()=>da([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:ke(Object),default:()=>da({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:ke(Array),default:()=>da([])},checkStrictly:Boolean,defaultExpandedKeys:{type:ke(Array),default:()=>da([])},indent:{type:Number,default:16},itemSize:Ode,icon:{type:mr},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:ke([String,Number])},accordion:Boolean,filterMethod:{type:ke(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),uet=pt({node:{type:ke(Object),default:()=>da(oet)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:Ode}),cet=pt({node:{type:ke(Object),required:!0}}),Pde="node-click",Ide="node-drop",Nde="node-expand",$de="node-collapse",Vde="current-change",Hde="check",zde="check-change",Wde="node-contextmenu",det={[Pde]:(e,t,n)=>e&&t&&n,[Ide]:(e,t,n)=>e&&t&&n,[Nde]:(e,t)=>e&&t,[$de]:(e,t)=>e&&t,[Vde]:(e,t)=>e&&t,[Hde]:(e,t)=>e&&t,[zde]:(e,t)=>e&&hr(t),[Wde]:(e,t,n)=>e&&t&&n},fet={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&hr(t)};function pet(e,t){const n=j(new Set),r=j(new Set),{emit:a}=Jt();$e([()=>t.value,()=>e.defaultCheckedKeys],()=>Oe(()=>{b(e.defaultCheckedKeys)}),{immediate:!0});const i=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:C,maxLevel:y}=t.value,E=n.value,w=new Set;for(let S=y;S>=1;--S){const A=C.get(S);A&&A.forEach(D=>{const k=D.children;let x=!D.isLeaf||D.disabled||E.has(D.key);if(k){let _=!0,M=!1;for(const L of k){const I=L.key;if(L.isEffectivelyChecked||(x=!1),E.has(I))M=!0;else if(w.has(I)){_=!1,M=!0;break}else _=!1}_?E.add(D.key):M?(w.add(D.key),E.delete(D.key)):(E.delete(D.key),w.delete(D.key))}D.isEffectivelyChecked=x})}r.value=w},o=C=>n.value.has(C.key),l=C=>r.value.has(C.key),s=(C,y,E=!0,w=!0)=>{const S=n.value,A=C.children;!e.checkStrictly&&E&&(A!=null&&A.length)&&(y=A.some(k=>!k.isEffectivelyChecked));const D=(k,x)=>{S[x?dB.ADD:dB.DELETE](k.key);const _=k.children;!e.checkStrictly&&_&&_.forEach(M=>{(!M.disabled||M.children)&&D(M,x)})};D(C,y),w&&i(),E&&u(C,y)},u=(C,y)=>{const{checkedNodes:E,checkedKeys:w}=h(),{halfCheckedNodes:S,halfCheckedKeys:A}=m();a(Hde,C.data,{checkedKeys:w,checkedNodes:E,halfCheckedKeys:A,halfCheckedNodes:S}),a(zde,C.data,y)};function c(C=!1){return h(C).checkedKeys}function d(C=!1){return h(C).checkedNodes}function f(){return m().halfCheckedKeys}function p(){return m().halfCheckedNodes}function h(C=!1){const y=[],E=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:w}=t.value;n.value.forEach(S=>{const A=w.get(S);A&&(!C||C&&A.isLeaf)&&(E.push(S),y.push(A.data))})}return{checkedKeys:E,checkedNodes:y}}function m(){const C=[],y=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:E}=t.value;r.value.forEach(w=>{const S=E.get(w);S&&(y.push(w),C.push(S.data))})}return{halfCheckedNodes:C,halfCheckedKeys:y}}function v(C){n.value.clear(),r.value.clear(),Oe(()=>{b(C)})}function g(C,y){if(t!=null&&t.value&&e.showCheckbox){const E=t.value.treeNodeMap.get(C);E&&s(E,y,!1)}}function b(C){if(t!=null&&t.value){const{treeNodeMap:y}=t.value;if(e.showCheckbox&&y&&(C==null?void 0:C.length)>0){for(const E of C){const w=y.get(E);w&&!o(w)&&s(w,!0,!1,!1)}i()}}}return{updateCheckedKeys:i,toggleCheckbox:s,isChecked:o,isIndeterminate:l,getCheckedKeys:c,getCheckedNodes:d,getHalfCheckedKeys:f,getHalfCheckedNodes:p,setChecked:g,setCheckedKeys:v}}function het(e,t){const n=j(new Set([])),r=j(new Set([])),a=R(()=>Lt(e.filterMethod));function i(l){var s;if(!a.value)return;const u=new Set,c=r.value,d=n.value,f=[],p=((s=t.value)==null?void 0:s.treeNodes)||[],h=e.filterMethod;d.clear();function m(v){v.forEach(g=>{f.push(g),h!=null&&h(l,g.data,g)?f.forEach(C=>{u.add(C.key),C.expanded=!0}):(g.expanded=!1,g.isLeaf&&d.add(g.key));const b=g.children;if(b&&m(b),!g.isLeaf){if(!u.has(g.key))d.add(g.key);else if(b){let C=!0;for(const y of b)if(!d.has(y.key)){C=!1;break}C?c.add(g.key):c.delete(g.key)}}f.pop()})}return m(p),u}function o(l){return r.value.has(l.key)}return{hiddenExpandIconKeySet:r,hiddenNodeKeySet:n,doFilter:i,isForceHiddenExpandIcon:o}}function met(e,t){const n=j(new Set),r=j(),a=Zn(),i=j(),{isIndeterminate:o,isChecked:l,toggleCheckbox:s,getCheckedKeys:u,getCheckedNodes:c,getHalfCheckedKeys:d,getHalfCheckedNodes:f,setChecked:p,setCheckedKeys:h}=pet(e,a),{doFilter:m,hiddenNodeKeySet:v,isForceHiddenExpandIcon:g}=het(e,a),b=R(()=>{var q;return((q=e.props)==null?void 0:q.value)||Oy.KEY}),C=R(()=>{var q;return((q=e.props)==null?void 0:q.children)||Oy.CHILDREN}),y=R(()=>{var q;return((q=e.props)==null?void 0:q.disabled)||Oy.DISABLED}),E=R(()=>{var q;return((q=e.props)==null?void 0:q.label)||Oy.LABEL}),w=R(()=>{var q;const ce=n.value,K=v.value,Z=[],se=((q=a.value)==null?void 0:q.treeNodes)||[],Fe=[];for(let me=se.length-1;me>=0;--me)Fe.push(se[me]);for(;Fe.length;){const me=Fe.pop();if(!K.has(me.key)&&(Z.push(me),me.children&&ce.has(me.key)))for(let te=me.children.length-1;te>=0;--te)Fe.push(me.children[te])}return Z}),S=R(()=>w.value.length>0);function A(q){const ce=new Map,K=new Map;let Z=1;function se(me,te=1,ue=void 0){var Se;const Ae=[];for(const Ne of me){const je=x(Ne),De={level:te,key:je,data:Ne};De.label=M(Ne),De.parent=ue;const he=k(Ne);De.disabled=_(Ne),De.isLeaf=!he||he.length===0,De.expanded=n.value.has(je),he&&he.length&&(De.children=se(he,te+1,De)),Ae.push(De),ce.set(je,De),K.has(te)||K.set(te,[]),(Se=K.get(te))==null||Se.push(De)}return te>Z&&(Z=te),Ae}const Fe=se(q);return{treeNodeMap:ce,levelTreeNodeMap:K,maxLevel:Z,treeNodes:Fe}}function D(q){const ce=m(q);ce&&(n.value=ce)}function k(q){return q[C.value]}function x(q){return q?q[b.value]:""}function _(q){return q[y.value]}function M(q){return q[E.value]}function L(q){n.value.has(q.key)?V(q):N(q)}function I(q){const ce=new Set,K=a.value.treeNodeMap;n.value.forEach(Z=>{const se=K.get(Z);n.value.delete(se.key),se.expanded=!1}),q.forEach(Z=>{let se=K.get(Z);for(;se&&!ce.has(se.key);)ce.add(se.key),se.expanded=!0,se=se.parent}),n.value=ce}function P(q,ce){t(Pde,q.data,q,ce),T(q),e.expandOnClickNode&&L(q),e.showCheckbox&&(e.checkOnClickNode||q.isLeaf&&e.checkOnClickLeaf)&&!q.disabled&&s(q,!l(q),!0)}function B(q,ce){t(Ide,q.data,q,ce)}function T(q){z(q)||(r.value=q.key,t(Vde,q.data,q))}function O(q,ce){s(q,ce)}function N(q){const ce=n.value;if(a.value&&e.accordion){const{treeNodeMap:Z}=a.value;ce.forEach(se=>{const Fe=Z.get(se);q&&q.level===(Fe==null?void 0:Fe.level)&&(ce.delete(se),Fe.expanded=!1)})}ce.add(q.key);const K=Q(q.key);K&&(K.expanded=!0,t(Nde,K.data,K))}function V(q){n.value.delete(q.key);const ce=Q(q.key);ce&&(ce.expanded=!1,t($de,ce.data,ce))}function Y(q){return!!q.disabled}function z(q){const ce=r.value;return ce!==void 0&&ce===q.key}function ee(){var q,ce;if(r.value)return(ce=(q=a.value)==null?void 0:q.treeNodeMap.get(r.value))==null?void 0:ce.data}function ae(){return r.value}function pe(q){r.value=q}function re(q){a.value=A(q)}function Q(q){var ce;const K=mn(q)?x(q):q;return(ce=a.value)==null?void 0:ce.treeNodeMap.get(K)}function ie(q,ce="auto"){const K=Q(q);K&&i.value&&i.value.scrollToItem(w.value.indexOf(K),ce)}function X(q){var ce;(ce=i.value)==null||ce.scrollTo(q)}return $e(()=>e.currentNodeKey,q=>{r.value=q},{immediate:!0}),$e(()=>e.defaultExpandedKeys,q=>{n.value=new Set(q)},{immediate:!0}),$e(()=>e.data,q=>{re(q)},{immediate:!0}),{tree:a,flattenTree:w,isNotEmpty:S,listRef:i,getKey:x,getChildren:k,toggleExpand:L,toggleCheckbox:s,isChecked:l,isIndeterminate:o,isDisabled:Y,isCurrent:z,isForceHiddenExpandIcon:g,handleNodeClick:P,handleNodeDrop:B,handleNodeCheck:O,getCurrentNode:ee,getCurrentKey:ae,setCurrentKey:pe,getCheckedKeys:u,getCheckedNodes:c,getHalfCheckedKeys:d,getHalfCheckedNodes:f,setChecked:p,setCheckedKeys:h,filter:D,setData:re,getNode:Q,expandNode:N,collapseNode:V,setExpandedKeys:I,scrollToNode:ie,scrollTo:X}}var vet=Ve({name:"ElTreeNodeContent",props:cet,setup(e){const t=lt(eI),n=at("tree");return()=>{const r=e.node,{data:a}=r;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:r,data:a}):W(YP,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[r==null?void 0:r.label])}}});const get=["aria-expanded","aria-disabled","aria-checked","data-key"],yet=Ve({name:"ElTreeNode",__name:"tree-node",props:uet,emits:fet,setup(e,{emit:t}){const n=e,r=t,a=lt(eI),i=at("tree"),o=R(()=>{var h;return(h=a==null?void 0:a.props.indent)!=null?h:16}),l=R(()=>{var h;return(h=a==null?void 0:a.props.icon)!=null?h:nse}),s=h=>{const m=a==null?void 0:a.props.props.class;if(!m)return{};let v;if(Lt(m)){const{data:g}=h;v=m(g,h)}else v=m;return Bt(v)?{[v]:!0}:v},u=h=>{r("click",n.node,h)},c=h=>{r("drop",n.node,h)},d=()=>{r("toggle",n.node)},f=h=>{r("check",n.node,h)},p=h=>{var m,v,g,b;(g=(v=(m=a==null?void 0:a.instance)==null?void 0:m.vnode)==null?void 0:v.props)!=null&&g.onNodeContextmenu&&(h.stopPropagation(),h.preventDefault()),a==null||a.ctx.emit(Wde,h,(b=n.node)==null?void 0:b.data,n.node)};return(h,m)=>{var v,g,b;return H(),le("div",{ref:"node$",class:J([F(i).b("node"),F(i).is("expanded",h.expanded),F(i).is("current",h.current),F(i).is("focusable",!h.disabled),F(i).is("checked",!h.disabled&&h.checked),s(h.node)]),role:"treeitem",tabindex:"-1","aria-expanded":h.expanded,"aria-disabled":h.disabled,"aria-checked":h.checked,"data-key":(v=h.node)==null?void 0:v.key,onClick:Yt(u,["stop"]),onContextmenu:p,onDragover:m[1]||(m[1]=Yt(()=>{},["prevent"])),onDragenter:m[2]||(m[2]=Yt(()=>{},["prevent"])),onDrop:Yt(c,["stop"])},[ye("div",{class:J(F(i).be("node","content")),style:Pt({paddingLeft:`${(h.node.level-1)*o.value}px`,height:h.itemSize+"px"})},[l.value?(H(),Ue(F(Rt),{key:0,class:J([F(i).is("leaf",!!((g=h.node)!=null&&g.isLeaf)),F(i).is("hidden",h.hiddenExpandIcon),{expanded:!((b=h.node)!=null&&b.isLeaf)&&h.expanded},F(i).be("node","expand-icon")]),onClick:Yt(d,["stop"])},{default:Re(()=>[(H(),Ue(ln(l.value)))]),_:1},8,["class"])):Pe("v-if",!0),h.showCheckbox?(H(),Ue(F(eu),{key:1,"model-value":h.checked,indeterminate:h.indeterminate,disabled:h.disabled,onChange:f,onClick:m[0]||(m[0]=Yt(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):Pe("v-if",!0),be(F(vet),{node:Et(Te({},h.node),{expanded:h.expanded})},null,8,["node"])],6)],42,get)}}});var bet=yt(yet,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const Cet=Ve({name:"ElTreeV2",__name:"tree",props:set,emits:det,setup(e,{expose:t,emit:n}){const r=e,a=n,i=pa(),o=R(()=>r.itemSize);Qt(eI,{ctx:{emit:a,slots:i},props:r,instance:Jt()}),Qt(hc,void 0);const{t:l}=xn(),s=at("tree"),{flattenTree:u,isNotEmpty:c,listRef:d,toggleExpand:f,isIndeterminate:p,isChecked:h,isDisabled:m,isCurrent:v,isForceHiddenExpandIcon:g,handleNodeClick:b,handleNodeDrop:C,handleNodeCheck:y,toggleCheckbox:E,getCurrentNode:w,getCurrentKey:S,setCurrentKey:A,getCheckedKeys:D,getCheckedNodes:k,getHalfCheckedKeys:x,getHalfCheckedNodes:_,setChecked:M,setCheckedKeys:L,filter:I,setData:P,getNode:B,expandNode:T,collapseNode:O,setExpandedKeys:N,scrollToNode:V,scrollTo:Y}=met(r,a);return t({toggleCheckbox:E,getCurrentNode:w,getCurrentKey:S,setCurrentKey:A,getCheckedKeys:D,getCheckedNodes:k,getHalfCheckedKeys:x,getHalfCheckedNodes:_,setChecked:M,setCheckedKeys:L,filter:I,setData:P,getNode:B,expandNode:T,collapseNode:O,setExpandedKeys:N,scrollToNode:V,scrollTo:Y}),(z,ee)=>(H(),le("div",{class:J([F(s).b(),{[F(s).m("highlight-current")]:z.highlightCurrent}]),role:"tree"},[F(c)?(H(),Ue(F(Lce),{key:0,ref_key:"listRef",ref:d,"class-name":F(s).b("virtual-list"),data:F(u),total:F(u).length,height:z.height,"item-size":o.value,"perf-mode":z.perfMode,"scrollbar-always-on":z.scrollbarAlwaysOn},{default:Re(({data:ae,index:pe,style:re})=>[(H(),Ue(bet,{key:ae[pe].key,style:Pt(re),node:ae[pe],expanded:ae[pe].expanded,"show-checkbox":z.showCheckbox,checked:F(h)(ae[pe]),indeterminate:F(p)(ae[pe]),"item-size":o.value,disabled:F(m)(ae[pe]),current:F(v)(ae[pe]),"hidden-expand-icon":F(g)(ae[pe]),onClick:F(b),onToggle:F(f),onCheck:F(y),onDrop:F(C)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(H(),le("div",{key:1,class:J(F(s).e("empty-block"))},[We(z.$slots,"empty",{},()=>{var ae;return[ye("span",{class:J(F(s).e("empty-text"))},ft((ae=z.emptyText)!=null?ae:F(l)("el.tree.emptyText")),3)]})],2))],2))}});var Fet=yt(Cet,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const Eet=fn(Fet),Gde=Symbol("uploadContextKey"),wet="ElUpload";class Aet extends Error{constructor(t,n,r,a){super(t),this.name="UploadAjaxError",this.status=n,this.method=r,this.url=a}}function LG(e,t,n){let r;return n.response?r=`${n.response.error||n.response}`:n.responseText?r=`${n.responseText}`:r=`fail to ${t.method} ${e} ${n.status}`,new Aet(r,n.status,t.method,e)}function Det(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}const Tet=e=>{typeof XMLHttpRequest=="undefined"&&$a(wet,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",i=>{const o=i;o.percent=i.total>0?i.loaded/i.total*100:0,e.onProgress(o)});const r=new FormData;if(e.data)for(const[i,o]of Object.entries(e.data))st(o)&&o.length?r.append(i,...o):r.append(i,o);r.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(LG(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(LG(n,e,t));e.onSuccess(Det(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const a=e.headers||{};if(a instanceof Headers)a.forEach((i,o)=>t.setRequestHeader(o,i));else for(const[i,o]of Object.entries(a))Ma(o)||t.setRequestHeader(i,String(o));return t.send(r),t},jde=["text","picture","picture-card"];let ket=1;const fB=()=>Date.now()+ket++,Kde=pt({action:{type:String,default:"#"},headers:{type:ke(Object)},method:{type:String,default:"post"},data:{type:ke([Object,Function,Promise]),default:()=>da({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:ke(Array),default:()=>da([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:jde,default:"text"},httpRequest:{type:ke(Function),default:Tet},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),_et=pt(Et(Te({},Kde),{beforeUpload:{type:ke(Function),default:er},beforeRemove:{type:ke(Function)},onRemove:{type:ke(Function),default:er},onChange:{type:ke(Function),default:er},onPreview:{type:ke(Function),default:er},onSuccess:{type:ke(Function),default:er},onProgress:{type:ke(Function),default:er},onError:{type:ke(Function),default:er},onExceed:{type:ke(Function),default:er},crossorigin:{type:ke(String)}})),xet=pt({files:{type:ke(Array),default:()=>da([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:ke(Function),default:er},listType:{type:String,values:jde,default:"text"},crossorigin:{type:ke(String)}}),Met={remove:e=>!!e},Bet=["tabindex","aria-disabled","onKeydown"],Ret=["src","crossorigin"],Let=["onClick"],Oet=["title"],Pet=["onClick"],Iet=["onClick"],Net=Ve({name:"ElUploadList",__name:"upload-list",props:xet,emits:Met,setup(e,{emit:t}){const n=e,r=t,{t:a}=xn(),i=at("upload"),o=at("icon"),l=at("list"),s=ha(),u=j(!1),c=R(()=>[i.b("list"),i.bm("list",n.listType),i.is("disabled",s.value)]),d=f=>{r("remove",f)};return(f,p)=>(H(),Ue(s9,{tag:"ul",class:J(c.value),name:F(l).b()},{default:Re(()=>[(H(!0),le(kt,null,En(f.files,(h,m)=>(H(),le("li",{key:h.uid||h.name,class:J([F(i).be("list","item"),F(i).is(h.status),{focusing:u.value}]),tabindex:F(s)?void 0:0,"aria-disabled":F(s),role:"button",onKeydown:ca(v=>!F(s)&&d(h),["delete"]),onFocus:p[0]||(p[0]=v=>u.value=!0),onBlur:p[1]||(p[1]=v=>u.value=!1),onClick:p[2]||(p[2]=v=>u.value=!1)},[We(f.$slots,"default",{file:h,index:m},()=>[f.listType==="picture"||h.status!=="uploading"&&f.listType==="picture-card"?(H(),le("img",{key:0,class:J(F(i).be("list","item-thumbnail")),src:h.url,crossorigin:f.crossorigin,alt:""},null,10,Ret)):Pe("v-if",!0),h.status==="uploading"||f.listType!=="picture-card"?(H(),le("div",{key:1,class:J(F(i).be("list","item-info"))},[ye("a",{class:J(F(i).be("list","item-name")),onClick:Yt(v=>f.handlePreview(h),["prevent"])},[be(F(Rt),{class:J(F(o).m("document"))},{default:Re(()=>[be(F(hRe))]),_:1},8,["class"]),ye("span",{class:J(F(i).be("list","item-file-name")),title:h.name},ft(h.name),11,Oet)],10,Let),h.status==="uploading"?(H(),Ue(F(wce),{key:0,type:f.listType==="picture-card"?"circle":"line","stroke-width":f.listType==="picture-card"?6:2,percentage:Number(h.percentage),style:Pt(f.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):Pe("v-if",!0)],2)):Pe("v-if",!0),ye("label",{class:J(F(i).be("list","item-status-label"))},[f.listType==="text"?(H(),Ue(F(Rt),{key:0,class:J([F(o).m("upload-success"),F(o).m("circle-check")])},{default:Re(()=>[be(F(jO))]),_:1},8,["class"])):["picture-card","picture"].includes(f.listType)?(H(),Ue(F(Rt),{key:1,class:J([F(o).m("upload-success"),F(o).m("check")])},{default:Re(()=>[be(F($5))]),_:1},8,["class"])):Pe("v-if",!0)],2),F(s)?Pe("v-if",!0):(H(),Ue(F(Rt),{key:2,class:J(F(o).m("close")),onClick:v=>d(h)},{default:Re(()=>[be(F(hs))]),_:1},8,["class","onClick"])),Pe(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),Pe(" This is a bug which needs to be fixed "),Pe(" TODO: Fix the incorrect navigation interaction "),F(s)?Pe("v-if",!0):(H(),le("i",{key:3,class:J(F(o).m("close-tip"))},ft(F(a)("el.upload.deleteTip")),3)),f.listType==="picture-card"?(H(),le("span",{key:4,class:J(F(i).be("list","item-actions"))},[ye("span",{class:J(F(i).be("list","item-preview")),onClick:v=>f.handlePreview(h)},[be(F(Rt),{class:J(F(o).m("zoom-in"))},{default:Re(()=>[be(F(ose))]),_:1},8,["class"])],10,Pet),F(s)?Pe("v-if",!0):(H(),le("span",{key:0,class:J(F(i).be("list","item-delete")),onClick:v=>d(h)},[be(F(Rt),{class:J(F(o).m("delete"))},{default:Re(()=>[be(F(fRe))]),_:1},8,["class"])],10,Iet))],2)):Pe("v-if",!0)])],42,Bet))),128)),We(f.$slots,"append")]),_:3},8,["class","name"]))}});var OG=yt(Net,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const $et=pt({disabled:{type:Boolean,default:void 0},directory:Boolean}),Vet={file:e=>st(e)},PG="ElUploadDrag",Het=Ve({name:PG,__name:"upload-dragger",props:$et,emits:Vet,setup(e,{emit:t}){const n=e,r=t;lt(Gde)||$a(PG,"usage: ");const i=at("upload"),o=j(!1),l=ha(),s=p=>new Promise((h,m)=>p.file(h,m)),u=p=>Xt(null,null,function*(){try{if(p.isFile){const h=yield s(p);return h.isDirectory=!1,[h]}if(p.isDirectory){const h=p.createReader(),m=()=>new Promise((y,E)=>h.readEntries(y,E)),v=[];let g=yield m();for(;g.length>0;)v.push(...g),g=yield m();const b=v.map(y=>u(y).catch(()=>[])),C=yield Promise.all(b);return t6(C)}}catch(h){return[]}return[]}),c=p=>Xt(null,null,function*(){if(l.value)return;o.value=!1,p.stopPropagation();const h=Array.from(p.dataTransfer.files),m=p.dataTransfer.items||[];if(n.directory){const v=Array.from(m).map(b=>{var C;return(C=b==null?void 0:b.webkitGetAsEntry)==null?void 0:C.call(b)}).filter(b=>b),g=yield Promise.all(v.map(u));r("file",t6(g));return}h.forEach((v,g)=>{var b;const C=m[g],y=(b=C==null?void 0:C.webkitGetAsEntry)==null?void 0:b.call(C);y&&(v.isDirectory=y.isDirectory)}),r("file",h)}),d=()=>{l.value||(o.value=!0)},f=p=>{p.currentTarget.contains(p.relatedTarget)||(o.value=!1)};return(p,h)=>(H(),le("div",{class:J([F(i).b("dragger"),F(i).is("dragover",o.value)]),onDrop:Yt(c,["prevent"]),onDragover:Yt(d,["prevent"]),onDragleave:Yt(f,["prevent"])},[We(p.$slots,"default")],34))}});var zet=yt(Het,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const Wet=pt(Et(Te({},Kde),{beforeUpload:{type:ke(Function),default:er},onRemove:{type:ke(Function),default:er},onStart:{type:ke(Function),default:er},onSuccess:{type:ke(Function),default:er},onProgress:{type:ke(Function),default:er},onError:{type:ke(Function),default:er},onExceed:{type:ke(Function),default:er}})),Get=["tabindex","aria-disabled","onKeydown"],jet=["name","disabled","multiple","accept","webkitdirectory"],Ket=Ve({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:Wet,setup(e,{expose:t}){const n=e,r=at("upload"),a=ha(),i=Zn({}),o=Zn(),l=m=>{if(m.length===0)return;const{autoUpload:v,limit:g,fileList:b,multiple:C,onStart:y,onExceed:E}=n;if(g&&b.length+m.length>g){E(m,b);return}C||(m=m.slice(0,1));for(const w of m){const S=w;S.uid=fB(),y(S),v&&s(S)}},s=m=>Xt(null,null,function*(){if(o.value.value="",!n.beforeUpload)return c(m);let v,g={};try{const C=n.data,y=n.beforeUpload(m);g=Sm(n.data)?r6(n.data):n.data,v=yield y,Sm(n.data)&&ma(C,g)&&(g=r6(n.data))}catch(C){v=!1}if(v===!1){n.onRemove(m);return}let b=m;v instanceof Blob&&(v instanceof File?b=v:b=new File([v],m.name,{type:m.type})),c(Object.assign(b,{uid:m.uid}),g)}),u=(m,v)=>Xt(null,null,function*(){return Lt(m)?m(v):m}),c=(m,v)=>Xt(null,null,function*(){const{headers:g,data:b,method:C,withCredentials:y,name:E,action:w,onProgress:S,onSuccess:A,onError:D,httpRequest:k}=n;try{v=yield u(v!=null?v:b,m)}catch(L){n.onRemove(m);return}const{uid:x}=m,_={headers:g||{},withCredentials:y,file:m,data:v,method:C,filename:E,action:w,onProgress:L=>{S(L,m)},onSuccess:L=>{A(L,m),delete i.value[x]},onError:L=>{D(L,m),delete i.value[x]}},M=k(_);i.value[x]=M,M instanceof Promise&&M.then(_.onSuccess,_.onError)}),d=m=>{const v=m.target.files;v&&l(Array.from(v))},f=()=>{a.value||(o.value.value="",o.value.click())},p=()=>{f()};return t({abort:m=>{Jle(i.value).filter(m?([g])=>String(m.uid)===g:()=>!0).forEach(([g,b])=>{b instanceof XMLHttpRequest&&b.abort(),delete i.value[g]})},upload:s}),(m,v)=>(H(),le("div",{class:J([F(r).b(),F(r).m(m.listType),F(r).is("drag",m.drag),F(r).is("disabled",F(a))]),tabindex:F(a)?void 0:0,"aria-disabled":F(a),role:"button",onClick:f,onKeydown:ca(Yt(p,["self"]),["enter","space"])},[m.drag?(H(),Ue(zet,{key:0,disabled:F(a),directory:m.directory,onFile:l},{default:Re(()=>[We(m.$slots,"default")]),_:3},8,["disabled","directory"])):We(m.$slots,"default",{key:1}),ye("input",{ref_key:"inputRef",ref:o,class:J(F(r).e("input")),name:m.name,disabled:F(a),multiple:m.multiple,accept:m.accept,webkitdirectory:m.directory,type:"file",onChange:d,onClick:v[0]||(v[0]=Yt(()=>{},["stop"]))},null,42,jet)],42,Get))}});var IG=yt(Ket,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const NG="ElUpload",$G=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},Uet=(e,t)=>{const n=zle(e,"fileList",void 0,{passive:!0}),r=h=>n.value.find(m=>m.uid===h.uid);function a(h){var m;(m=t.value)==null||m.abort(h)}function i(h=["ready","uploading","success","fail"]){n.value=n.value.filter(m=>!h.includes(m.status))}function o(h){n.value=n.value.filter(m=>m.uid!==h.uid)}const l=h=>{Oe(()=>e.onChange(h,n.value))},s=(h,m)=>{const v=r(m);v&&(console.error(h),v.status="fail",o(v),e.onError(h,v,n.value),l(v))},u=(h,m)=>{const v=r(m);v&&(e.onProgress(h,v,n.value),v.status="uploading",v.percentage=Math.round(h.percent))},c=(h,m)=>{const v=r(m);v&&(v.status="success",v.response=h,e.onSuccess(h,v,n.value),l(v))},d=h=>{Ma(h.uid)&&(h.uid=fB());const m={name:h.name,percentage:0,status:"ready",size:h.size,raw:h,uid:h.uid};if(e.listType==="picture-card"||e.listType==="picture")try{m.url=URL.createObjectURL(h)}catch(v){v.message,e.onError(v,m,n.value)}n.value=[...n.value,m],l(m)},f=h=>Xt(null,null,function*(){const m=h instanceof File?r(h):h;m||$a(NG,"file to be removed not found");const v=g=>{a(g),o(g),e.onRemove(g,n.value),$G(g)};e.beforeRemove?(yield e.beforeRemove(m,n.value))!==!1&&v(m):v(m)});function p(){n.value.filter(({status:h})=>h==="ready").forEach(({raw:h})=>{var m;return h&&((m=t.value)==null?void 0:m.upload(h))})}return $e(()=>e.listType,h=>{h!=="picture-card"&&h!=="picture"||(n.value=n.value.map(m=>{const{raw:v,url:g}=m;if(!g&&v)try{m.url=URL.createObjectURL(v)}catch(b){e.onError(b,m,n.value)}return m}))}),$e(n,h=>{for(const m of h)m.uid||(m.uid=fB()),m.status||(m.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:a,clearFiles:i,handleError:s,handleProgress:u,handleStart:d,handleSuccess:c,handleRemove:f,submit:p,revokeFileObjectURL:$G}},qet=Ve({name:"ElUpload",__name:"upload",props:_et,setup(e,{expose:t}){const n=e,r=ha(),a=Zn(),{abort:i,submit:o,clearFiles:l,uploadFiles:s,handleStart:u,handleError:c,handleRemove:d,handleSuccess:f,handleProgress:p,revokeFileObjectURL:h}=Uet(n,a),m=R(()=>n.listType==="picture-card"),v=R(()=>Et(Te({},n),{fileList:s.value,onStart:u,onProgress:p,onSuccess:f,onError:c,onRemove:d}));return Vn(()=>{s.value.forEach(h)}),Qt(Gde,{accept:Qn(n,"accept")}),t({abort:i,submit:o,clearFiles:l,handleStart:u,handleRemove:d}),(g,b)=>(H(),le("div",null,[m.value&&g.showFileList?(H(),Ue(OG,{key:0,disabled:F(r),"list-type":g.listType,files:F(s),crossorigin:g.crossorigin,"handle-preview":g.onPreview,onRemove:F(d)},Ri({append:Re(()=>[be(IG,tn({ref_key:"uploadRef",ref:a},v.value),{default:Re(()=>[g.$slots.trigger?We(g.$slots,"trigger",{key:0}):Pe("v-if",!0),!g.$slots.trigger&&g.$slots.default?We(g.$slots,"default",{key:1}):Pe("v-if",!0)]),_:3},16)]),_:2},[g.$slots.file?{name:"default",fn:Re(({file:C,index:y})=>[We(g.$slots,"file",{file:C,index:y})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):Pe("v-if",!0),!m.value||m.value&&!g.showFileList?(H(),Ue(IG,tn({key:1,ref_key:"uploadRef",ref:a},v.value),{default:Re(()=>[g.$slots.trigger?We(g.$slots,"trigger",{key:0}):Pe("v-if",!0),!g.$slots.trigger&&g.$slots.default?We(g.$slots,"default",{key:1}):Pe("v-if",!0)]),_:3},16)):Pe("v-if",!0),g.$slots.trigger?We(g.$slots,"default",{key:2}):Pe("v-if",!0),We(g.$slots,"tip"),!m.value&&g.showFileList?(H(),Ue(OG,{key:3,disabled:F(r),"list-type":g.listType,files:F(s),crossorigin:g.crossorigin,"handle-preview":g.onPreview,onRemove:F(d)},Ri({_:2},[g.$slots.file?{name:"default",fn:Re(({file:C,index:y})=>[We(g.$slots,"file",{file:C,index:y})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):Pe("v-if",!0)]))}});var Yet=yt(qet,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const Jet=fn(Yet),Xet=pt({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:ke([String,Array]),default:"Element Plus"},font:{type:ke(Object)},gap:{type:ke(Array),default:()=>[100,100]},offset:{type:ke(Array)}});function Zet(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Qet(e){return Object.keys(e).map(t=>`${Zet(t)}: ${e[t]};`).join(" ")}function ett(){return window.devicePixelRatio||1}const ttt=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},ntt={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function iw(e,t,n=1){const r=document.createElement("canvas"),a=r.getContext("2d"),i=e*n,o=t*n;return r.setAttribute("width",`${i}px`),r.setAttribute("height",`${o}px`),a.save(),[a,r,i,o]}function rtt(){function e(t,n,r,a,i,o,l,s,u){const[c,d,f,p]=iw(a,i,r);let h=0;if(t instanceof HTMLImageElement)c.drawImage(t,0,0,f,p);else{const{color:z,fontSize:ee,fontStyle:ae,fontWeight:pe,fontFamily:re,textAlign:Q,textBaseline:ie}=o,X=Number(ee)*r;c.font=`${ae} normal ${pe} ${X}px/${i}px ${re}`,c.fillStyle=z,c.textAlign=Q,c.textBaseline=ie;const q=st(t)?t:[t];if(ie!=="top"&&q[0]){const ce=c.measureText(q[0]);c.textBaseline="top";const K=c.measureText(q[0]);h=ce.actualBoundingBoxAscent-K.actualBoundingBoxAscent}q==null||q.forEach((ce,K)=>{const[Z,se]=ntt[Q];c.fillText(ce!=null?ce:"",f*Z+u*se,K*(X+o.fontGap*r))})}const m=Math.PI/180*Number(n),v=Math.max(a,i),[g,b,C]=iw(v,v,r);g.translate(C/2,C/2),g.rotate(m),f>0&&p>0&&g.drawImage(d,-f/2,-p/2);function y(z,ee){const ae=z*Math.cos(m)-ee*Math.sin(m),pe=z*Math.sin(m)+ee*Math.cos(m);return[ae,pe]}let E=0,w=0,S=0,A=0;const D=f/2,k=p/2;[[0-D,0-k],[0+D,0-k],[0+D,0+k],[0-D,0+k]].forEach(([z,ee])=>{const[ae,pe]=y(z,ee);E=Math.min(E,ae),w=Math.max(w,ae),S=Math.min(S,pe),A=Math.max(A,pe)});const _=E+C/2,M=S+C/2,L=w-E,I=A-S,P=l*r,B=s*r,T=(L+P)*2,O=I+B,[N,V]=iw(T,O);function Y(z=0,ee=0){N.drawImage(b,_,M,L,I,z,ee+h,L,I)}return Y(),Y(L+P,-I/2-B/2),Y(L+P,+I/2+B/2),[V.toDataURL(),T/r,O/r]}return e}const att=Ve({name:"ElWatermark",__name:"watermark",props:Xet,setup(e){const t={position:"relative"},n=e,r=R(()=>{var x,_;return(_=(x=n.font)==null?void 0:x.fontGap)!=null?_:3}),a=R(()=>{var x,_;return(_=(x=n.font)==null?void 0:x.color)!=null?_:"rgba(0,0,0,.15)"}),i=R(()=>{var x,_;return(_=(x=n.font)==null?void 0:x.fontSize)!=null?_:16}),o=R(()=>{var x,_;return(_=(x=n.font)==null?void 0:x.fontWeight)!=null?_:"normal"}),l=R(()=>{var x,_;return(_=(x=n.font)==null?void 0:x.fontStyle)!=null?_:"normal"}),s=R(()=>{var x,_;return(_=(x=n.font)==null?void 0:x.fontFamily)!=null?_:"sans-serif"}),u=R(()=>{var x,_;return(_=(x=n.font)==null?void 0:x.textAlign)!=null?_:"center"}),c=R(()=>{var x,_;return(_=(x=n.font)==null?void 0:x.textBaseline)!=null?_:"hanging"}),d=R(()=>n.gap[0]),f=R(()=>n.gap[1]),p=R(()=>d.value/2),h=R(()=>f.value/2),m=R(()=>{var x,_;return(_=(x=n.offset)==null?void 0:x[0])!=null?_:p.value}),v=R(()=>{var x,_;return(_=(x=n.offset)==null?void 0:x[1])!=null?_:h.value}),g=()=>{const x={zIndex:n.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let _=m.value-p.value,M=v.value-h.value;return _>0&&(x.left=`${_}px`,x.width=`calc(100% - ${_}px)`,_=0),M>0&&(x.top=`${M}px`,x.height=`calc(100% - ${M}px)`,M=0),x.backgroundPosition=`${_}px ${M}px`,x},b=Zn(null),C=Zn(),y=j(!1),E=()=>{C.value&&(C.value.remove(),C.value=void 0)},w=(x,_)=>{var M;b.value&&C.value&&(y.value=!0,C.value.setAttribute("style",Qet(Et(Te({},g()),{backgroundImage:`url('${x}')`,backgroundSize:`${Math.floor(_)}px`}))),(M=b.value)==null||M.append(C.value),setTimeout(()=>{y.value=!1}))},S=x=>{let _=120,M=64,L=0;const{image:I,content:P,width:B,height:T,rotate:O}=n;if(!I&&x.measureText){x.font=`${Number(i.value)}px ${s.value}`;const N=st(P)?P:[P];let V=0,Y=0;N.forEach(ee=>{const{width:ae,fontBoundingBoxAscent:pe,fontBoundingBoxDescent:re,actualBoundingBoxAscent:Q,actualBoundingBoxDescent:ie}=x.measureText(ee),X=On(pe)?Q+ie:pe+re;ae>V&&(V=Math.ceil(ae)),X>Y&&(Y=Math.ceil(X))}),_=V,M=Y*N.length+(N.length-1)*r.value;const z=Math.PI/180*Number(O);L=Math.ceil(Math.abs(Math.sin(z)*M)/2),_+=L}return[B!=null?B:_,T!=null?T:M,L]},A=rtt(),D=()=>{const _=document.createElement("canvas").getContext("2d"),M=n.image,L=n.content,I=n.rotate;if(_){C.value||(C.value=document.createElement("div"));const P=ett(),[B,T,O]=S(_),N=V=>{const[Y,z]=A(V||"",I,P,B,T,{color:a.value,fontSize:i.value,fontStyle:l.value,fontWeight:o.value,fontFamily:s.value,fontGap:r.value,textAlign:u.value,textBaseline:c.value},d.value,f.value,O);w(Y,z)};if(M){const V=new Image;V.onload=()=>{N(V)},V.onerror=()=>{N(L)},V.crossOrigin="anonymous",V.referrerPolicy="no-referrer",V.src=M}else N(L)}};return Ut(()=>{D()}),$e(()=>n,()=>{D()},{deep:!0,flush:"post"}),Vn(()=>{E()}),O5(b,x=>{y.value||x.forEach(_=>{ttt(_,C.value)&&(E(),D())})},{attributes:!0,subtree:!0,childList:!0}),(x,_)=>(H(),le("div",{ref_key:"containerRef",ref:b,style:Pt([t])},[We(x.$slots,"default")],4))}});var itt=yt(att,[["__file","/home/runner/work/element-plus/element-plus/packages/components/watermark/src/watermark.vue"]]);const ott=fn(itt),ltt=pt({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:ke(Object)},targetAreaClickable:{type:Boolean,default:!0}}),f0=Math.min,am=Math.max,A6=Math.round,p8=Math.floor,ec=e=>({x:e,y:e}),stt={left:"right",right:"left",bottom:"top",top:"bottom"},utt={start:"end",end:"start"};function pB(e,t,n){return am(e,f0(t,n))}function X5(e,t){return typeof e=="function"?e(t):e}function Mm(e){return e.split("-")[0]}function Z5(e){return e.split("-")[1]}function Ude(e){return e==="x"?"y":"x"}function tI(e){return e==="y"?"height":"width"}const ctt=new Set(["top","bottom"]);function _f(e){return ctt.has(Mm(e))?"y":"x"}function nI(e){return Ude(_f(e))}function dtt(e,t,n){n===void 0&&(n=!1);const r=Z5(e),a=nI(e),i=tI(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=D6(o)),[o,D6(o)]}function ftt(e){const t=D6(e);return[hB(e),t,hB(t)]}function hB(e){return e.replace(/start|end/g,t=>utt[t])}const VG=["left","right"],HG=["right","left"],ptt=["top","bottom"],htt=["bottom","top"];function mtt(e,t,n){switch(e){case"top":case"bottom":return n?t?HG:VG:t?VG:HG;case"left":case"right":return t?ptt:htt;default:return[]}}function vtt(e,t,n,r){const a=Z5(e);let i=mtt(Mm(e),n==="start",r);return a&&(i=i.map(o=>o+"-"+a),t&&(i=i.concat(i.map(hB)))),i}function D6(e){return e.replace(/left|right|bottom|top/g,t=>stt[t])}function gtt(e){return Te({top:0,right:0,bottom:0,left:0},e)}function qde(e){return typeof e!="number"?gtt(e):{top:e,right:e,bottom:e,left:e}}function T6(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function zG(e,t,n){let{reference:r,floating:a}=e;const i=_f(t),o=nI(t),l=tI(o),s=Mm(t),u=i==="y",c=r.x+r.width/2-a.width/2,d=r.y+r.height/2-a.height/2,f=r[l]/2-a[l]/2;let p;switch(s){case"top":p={x:c,y:r.y-a.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-a.width,y:d};break;default:p={x:r.x,y:r.y}}switch(Z5(t)){case"start":p[o]-=f*(n&&u?-1:1);break;case"end":p[o]+=f*(n&&u?-1:1);break}return p}const ytt=(e,t,n)=>Xt(null,null,function*(){const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),s=yield o.isRTL==null?void 0:o.isRTL(t);let u=yield o.getElementRects({reference:e,floating:t,strategy:a}),{x:c,y:d}=zG(u,r,s),f=r,p={},h=0;for(let m=0;m({name:"arrow",options:e,fn(n){return Xt(this,null,function*(){const{x:r,y:a,placement:i,rects:o,platform:l,elements:s,middlewareData:u}=n,{element:c,padding:d=0}=X5(e,n)||{};if(c==null)return{};const f=qde(d),p={x:r,y:a},h=nI(i),m=tI(h),v=yield l.getDimensions(c),g=h==="y",b=g?"top":"left",C=g?"bottom":"right",y=g?"clientHeight":"clientWidth",E=o.reference[m]+o.reference[h]-p[h]-o.floating[m],w=p[h]-o.reference[h],S=yield l.getOffsetParent==null?void 0:l.getOffsetParent(c);let A=S?S[y]:0;(!A||!(yield l.isElement==null?void 0:l.isElement(S)))&&(A=s.floating[y]||o.floating[m]);const D=E/2-w/2,k=A/2-v[m]/2-1,x=f0(f[b],k),_=f0(f[C],k),M=x,L=A-v[m]-_,I=A/2-v[m]/2+D,P=pB(M,I,L),B=!u.arrow&&Z5(i)!=null&&I!==P&&o.reference[m]/2-(IP<=0)){var _,M;const P=(((_=o.flip)==null?void 0:_.index)||0)+1,B=A[P];if(B&&(!(f==="alignment"?C!==_f(B):!1)||x.every(N=>_f(N.placement)===C?N.overflows[0]>0:!0)))return{data:{index:P,overflows:x},reset:{placement:B}};let T=(M=x.filter(O=>O.overflows[0]<=0).sort((O,N)=>O.overflows[1]-N.overflows[1])[0])==null?void 0:M.placement;if(!T)switch(h){case"bestFit":{var L;const O=(L=x.filter(N=>{if(S){const V=_f(N.placement);return V===C||V==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(V=>V>0).reduce((V,Y)=>V+Y,0)]).sort((N,V)=>N[1]-V[1])[0])==null?void 0:L[0];O&&(T=O);break}case"initialPlacement":T=s;break}if(i!==T)return{reset:{placement:T}}}return{}})}}},Ftt=new Set(["left","top"]);function Ett(e,t){return Xt(this,null,function*(){const{placement:n,platform:r,elements:a}=e,i=yield r.isRTL==null?void 0:r.isRTL(a.floating),o=Mm(n),l=Z5(n),s=_f(n)==="y",u=Ftt.has(o)?-1:1,c=i&&s?-1:1,d=X5(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof h=="number"&&(p=l==="end"?h*-1:h),s?{x:p*c,y:f*u}:{x:f*u,y:p*c}})}const wtt=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn(n){return Xt(this,null,function*(){var r,a;const{x:i,y:o,placement:l,middlewareData:s}=n,u=yield Ett(n,e);return l===((r=s.offset)==null?void 0:r.placement)&&(a=s.arrow)!=null&&a.alignmentOffset?{}:{x:i+u.x,y:o+u.y,data:Et(Te({},u),{placement:l})}})}}},Stt=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn(n){return Xt(this,null,function*(){const{x:r,y:a,placement:i}=n,g=X5(e,n),{mainAxis:o=!0,crossAxis:l=!1,limiter:s={fn:b=>{let{x:C,y}=b;return{x:C,y}}}}=g,u=Fo(g,["mainAxis","crossAxis","limiter"]),c={x:r,y:a},d=yield rI(n,u),f=_f(Mm(i)),p=Ude(f);let h=c[p],m=c[f];if(o){const b=p==="y"?"top":"left",C=p==="y"?"bottom":"right",y=h+d[b],E=h-d[C];h=pB(y,h,E)}if(l){const b=f==="y"?"top":"left",C=f==="y"?"bottom":"right",y=m+d[b],E=m-d[C];m=pB(y,m,E)}const v=s.fn(Et(Te({},n),{[p]:h,[f]:m}));return Et(Te({},v),{data:{x:v.x-r,y:v.y-a,enabled:{[p]:o,[f]:l}}})})}}};function I9(){return typeof window!="undefined"}function rg(e){return Yde(e)?(e.nodeName||"").toLowerCase():"#document"}function Ll(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ac(e){var t;return(t=(Yde(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Yde(e){return I9()?e instanceof Node||e instanceof Ll(e).Node:!1}function nu(e){return I9()?e instanceof Element||e instanceof Ll(e).Element:!1}function vc(e){return I9()?e instanceof HTMLElement||e instanceof Ll(e).HTMLElement:!1}function WG(e){return!I9()||typeof ShadowRoot=="undefined"?!1:e instanceof ShadowRoot||e instanceof Ll(e).ShadowRoot}const Att=new Set(["inline","contents"]);function Q5(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=ru(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Att.has(a)}const Dtt=new Set(["table","td","th"]);function Ttt(e){return Dtt.has(rg(e))}const ktt=[":popover-open",":modal"];function N9(e){return ktt.some(t=>{try{return e.matches(t)}catch(n){return!1}})}const _tt=["transform","translate","scale","rotate","perspective"],xtt=["transform","translate","scale","rotate","perspective","filter"],Mtt=["paint","layout","strict","content"];function aI(e){const t=iI(),n=nu(e)?ru(e):e;return _tt.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||xtt.some(r=>(n.willChange||"").includes(r))||Mtt.some(r=>(n.contain||"").includes(r))}function Btt(e){let t=cp(e);for(;vc(t)&&!p0(t);){if(aI(t))return t;if(N9(t))return null;t=cp(t)}return null}function iI(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Rtt=new Set(["html","body","#document"]);function p0(e){return Rtt.has(rg(e))}function ru(e){return Ll(e).getComputedStyle(e)}function $9(e){return nu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function cp(e){if(rg(e)==="html")return e;const t=e.assignedSlot||e.parentNode||WG(e)&&e.host||Ac(e);return WG(t)?t.host:t}function Jde(e){const t=cp(e);return p0(t)?e.ownerDocument?e.ownerDocument.body:e.body:vc(t)&&Q5(t)?t:Jde(t)}function w2(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=Jde(e),i=a===((r=e.ownerDocument)==null?void 0:r.body),o=Ll(a);if(i){const l=mB(o);return t.concat(o,o.visualViewport||[],Q5(a)?a:[],l&&n?w2(l):[])}return t.concat(a,w2(a,[],n))}function mB(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xde(e){const t=ru(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=vc(e),i=a?e.offsetWidth:n,o=a?e.offsetHeight:r,l=A6(n)!==i||A6(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function oI(e){return nu(e)?e:e.contextElement}function P1(e){const t=oI(e);if(!vc(t))return ec(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:i}=Xde(t);let o=(i?A6(n.width):n.width)/r,l=(i?A6(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const Ltt=ec(0);function Zde(e){const t=Ll(e);return!iI()||!t.visualViewport?Ltt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ott(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ll(e)?!1:t}function Bm(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=oI(e);let o=ec(1);t&&(r?nu(r)&&(o=P1(r)):o=P1(e));const l=Ott(i,n,r)?Zde(i):ec(0);let s=(a.left+l.x)/o.x,u=(a.top+l.y)/o.y,c=a.width/o.x,d=a.height/o.y;if(i){const f=Ll(i),p=r&&nu(r)?Ll(r):r;let h=f,m=mB(h);for(;m&&r&&p!==h;){const v=P1(m),g=m.getBoundingClientRect(),b=ru(m),C=g.left+(m.clientLeft+parseFloat(b.paddingLeft))*v.x,y=g.top+(m.clientTop+parseFloat(b.paddingTop))*v.y;s*=v.x,u*=v.y,c*=v.x,d*=v.y,s+=C,u+=y,h=Ll(m),m=mB(h)}}return T6({width:c,height:d,x:s,y:u})}function V9(e,t){const n=$9(e).scrollLeft;return t?t.left+n:Bm(Ac(e)).left+n}function Qde(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-V9(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function Ptt(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const i=a==="fixed",o=Ac(r),l=t?N9(t.floating):!1;if(r===o||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=ec(1);const c=ec(0),d=vc(r);if((d||!d&&!i)&&((rg(r)!=="body"||Q5(o))&&(s=$9(r)),vc(r))){const p=Bm(r);u=P1(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}const f=o&&!d&&!i?Qde(o,s):ec(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-s.scrollTop*u.y+c.y+f.y}}function Itt(e){return Array.from(e.getClientRects())}function Ntt(e){const t=Ac(e),n=$9(e),r=e.ownerDocument.body,a=am(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=am(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+V9(e);const l=-n.scrollTop;return ru(r).direction==="rtl"&&(o+=am(t.clientWidth,r.clientWidth)-a),{width:a,height:i,x:o,y:l}}const GG=25;function $tt(e,t){const n=Ll(e),r=Ac(e),a=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,l=0,s=0;if(a){i=a.width,o=a.height;const c=iI();(!c||c&&t==="fixed")&&(l=a.offsetLeft,s=a.offsetTop)}const u=V9(r);if(u<=0){const c=r.ownerDocument,d=c.body,f=getComputedStyle(d),p=c.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,h=Math.abs(r.clientWidth-d.clientWidth-p);h<=GG&&(i-=h)}else u<=GG&&(i+=u);return{width:i,height:o,x:l,y:s}}const Vtt=new Set(["absolute","fixed"]);function Htt(e,t){const n=Bm(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,i=vc(e)?P1(e):ec(1),o=e.clientWidth*i.x,l=e.clientHeight*i.y,s=a*i.x,u=r*i.y;return{width:o,height:l,x:s,y:u}}function jG(e,t,n){let r;if(t==="viewport")r=$tt(e,n);else if(t==="document")r=Ntt(Ac(e));else if(nu(t))r=Htt(t,n);else{const a=Zde(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return T6(r)}function efe(e,t){const n=cp(e);return n===t||!nu(n)||p0(n)?!1:ru(n).position==="fixed"||efe(n,t)}function ztt(e,t){const n=t.get(e);if(n)return n;let r=w2(e,[],!1).filter(l=>nu(l)&&rg(l)!=="body"),a=null;const i=ru(e).position==="fixed";let o=i?cp(e):e;for(;nu(o)&&!p0(o);){const l=ru(o),s=aI(o);!s&&l.position==="fixed"&&(a=null),(i?!s&&!a:!s&&l.position==="static"&&!!a&&Vtt.has(a.position)||Q5(o)&&!s&&efe(e,o))?r=r.filter(c=>c!==o):a=l,o=cp(o)}return t.set(e,r),r}function Wtt(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[...n==="clippingAncestors"?N9(t)?[]:ztt(t,this._c):[].concat(n),r],l=o[0],s=o.reduce((u,c)=>{const d=jG(t,c,a);return u.top=am(d.top,u.top),u.right=f0(d.right,u.right),u.bottom=f0(d.bottom,u.bottom),u.left=am(d.left,u.left),u},jG(t,l,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Gtt(e){const{width:t,height:n}=Xde(e);return{width:t,height:n}}function jtt(e,t,n){const r=vc(t),a=Ac(t),i=n==="fixed",o=Bm(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=ec(0);function u(){s.x=V9(a)}if(r||!r&&!i)if((rg(t)!=="body"||Q5(a))&&(l=$9(t)),r){const p=Bm(t,!0,i,t);s.x=p.x+t.clientLeft,s.y=p.y+t.clientTop}else a&&u();i&&!r&&a&&u();const c=a&&!r&&!i?Qde(a,l):ec(0),d=o.left+l.scrollLeft-s.x-c.x,f=o.top+l.scrollTop-s.y-c.y;return{x:d,y:f,width:o.width,height:o.height}}function ow(e){return ru(e).position==="static"}function KG(e,t){if(!vc(e)||ru(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Ac(e)===n&&(n=n.ownerDocument.body),n}function tfe(e,t){const n=Ll(e);if(N9(e))return n;if(!vc(e)){let a=cp(e);for(;a&&!p0(a);){if(nu(a)&&!ow(a))return a;a=cp(a)}return n}let r=KG(e,t);for(;r&&Ttt(r)&&ow(r);)r=KG(r,t);return r&&p0(r)&&ow(r)&&!aI(r)?n:r||Btt(e)||n}const Ktt=function(e){return Xt(this,null,function*(){const t=this.getOffsetParent||tfe,n=this.getDimensions,r=yield n(e.floating);return{reference:jtt(e.reference,yield t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function Utt(e){return ru(e).direction==="rtl"}const qtt={convertOffsetParentRelativeRectToViewportRelativeRect:Ptt,getDocumentElement:Ac,getClippingRect:Wtt,getOffsetParent:tfe,getElementRects:Ktt,getClientRects:Itt,getDimensions:Gtt,getScale:P1,isElement:nu,isRTL:Utt};function nfe(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ytt(e,t){let n=null,r;const a=Ac(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=u;if(l||t(),!f||!p)return;const h=p8(d),m=p8(a.clientWidth-(c+f)),v=p8(a.clientHeight-(d+p)),g=p8(c),C={rootMargin:-h+"px "+-m+"px "+-v+"px "+-g+"px",threshold:am(0,f0(1,s))||1};let y=!0;function E(w){const S=w[0].intersectionRatio;if(S!==s){if(!y)return o();S?o(!1,S):r=setTimeout(()=>{o(!1,1e-7)},1e3)}S===1&&!nfe(u,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(E,Et(Te({},C),{root:a.ownerDocument}))}catch(w){n=new IntersectionObserver(E,C)}n.observe(e)}return o(!0),i}function Jtt(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=oI(e),c=a||i?[...u?w2(u):[],...w2(t)]:[];c.forEach(g=>{a&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=u&&l?Ytt(u,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(g=>{let[b]=g;b&&b.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var C;(C=p)==null||C.observe(t)})),n()}),u&&!s&&p.observe(u),p.observe(t));let h,m=s?Bm(e):null;s&&v();function v(){const g=Bm(e);m&&!nfe(m,g)&&n(),m=g,h=requestAnimationFrame(v)}return n(),()=>{var g;c.forEach(b=>{a&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),d==null||d(),(g=p)==null||g.disconnect(),p=null,s&&cancelAnimationFrame(h)}}const Xtt=rI,Ztt=wtt,Qtt=Stt,ent=Ctt,tnt=btt,nnt=(e,t,n)=>{const r=new Map,a=Te({platform:qtt},n),i=Et(Te({},a.platform),{_c:r});return ytt(e,t,Et(Te({},a),{platform:i}))},rnt=(e,t,n,r,a)=>{const i=j(null),o=()=>{let d;return Bt(e.value)?d=document.querySelector(e.value):Lt(e.value)?d=e.value():d=e.value,d},l=()=>{const d=o();if(!d||!t.value){i.value=null;return}ant(d)||d.scrollIntoView(a.value);const{left:f,top:p,width:h,height:m}=d.getBoundingClientRect();i.value={left:f,top:p,width:h,height:m,radius:0}};Ut(()=>{$e([t,e],()=>{l()},{immediate:!0}),window.addEventListener("resize",l)}),Vn(()=>{window.removeEventListener("resize",l)});const s=d=>{var f;return(f=st(n.value.offset)?n.value.offset[d]:n.value.offset)!=null?f:6},u=R(()=>{var d;if(!i.value)return i.value;const f=s(0),p=s(1),h=((d=n.value)==null?void 0:d.radius)||2;return{left:i.value.left-f,top:i.value.top-p,width:i.value.width+f*2,height:i.value.height+p*2,radius:h}}),c=R(()=>{const d=o();return!r.value||!d||!window.DOMRect?d||void 0:{getBoundingClientRect(){var f,p,h,m;return window.DOMRect.fromRect({width:((f=u.value)==null?void 0:f.width)||0,height:((p=u.value)==null?void 0:p.height)||0,x:((h=u.value)==null?void 0:h.left)||0,y:((m=u.value)==null?void 0:m.top)||0})}}});return{mergedPosInfo:u,triggerTarget:c}},H9=Symbol("ElTour");function ant(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:r,right:a,bottom:i,left:o}=e.getBoundingClientRect();return r>=0&&o>=0&&a<=t&&i<=n}const int=(e,t,n,r,a,i,o,l)=>{const s=j(),u=j(),c=j({}),d={x:s,y:u,placement:r,strategy:a,middlewareData:c},f=R(()=>{const g=[Ztt(F(i)),ent(),Qtt(),ont()];return F(l)&&F(n)&&g.push(tnt({element:F(n)})),g}),p=()=>Xt(null,null,function*(){if(!Yn)return;const g=F(e),b=F(t);if(!g||!b)return;const C=yield nnt(g,b,{placement:F(r),strategy:F(a),middleware:F(f)});l2(d).forEach(y=>{d[y].value=C[y]})}),h=R(()=>{if(!F(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:F(o)};const{overflow:g}=F(c);return{position:F(a),zIndex:F(o),top:F(u)!=null?`${F(u)}px`:"",left:F(s)!=null?`${F(s)}px`:"",maxWidth:g!=null&&g.maxWidth?`${g==null?void 0:g.maxWidth}px`:""}}),m=R(()=>{if(!F(l))return{};const{arrow:g}=F(c);return{left:(g==null?void 0:g.x)!=null?`${g==null?void 0:g.x}px`:"",top:(g==null?void 0:g.y)!=null?`${g==null?void 0:g.y}px`:""}});let v;return Ut(()=>{const g=F(e),b=F(t);g&&b&&(v=Jtt(g,b,p)),No(()=>{p()})}),Vn(()=>{v&&v()}),{update:p,contentStyle:h,arrowStyle:m}},ont=()=>({name:"overflow",fn(t){return Xt(this,null,function*(){const n=yield Xtt(t);let r=0;return n.left>0&&(r=n.left),n.right>0&&(r=n.right),{data:{maxWidth:t.rects.floating.width-r}}})}}),lnt={style:{width:"100%",height:"100%"}},snt=["d"],unt=Ve({name:"ElTourMask",inheritAttrs:!1,__name:"mask",props:ltt,setup(e){const t=e,{ns:n}=lt(H9),r=R(()=>{var c,d;return(d=(c=t.pos)==null?void 0:c.radius)!=null?d:2}),a=R(()=>{const c=r.value,d=`a${c},${c} 0 0 1`;return{topRight:`${d} ${c},${c}`,bottomRight:`${d} ${-c},${c}`,bottomLeft:`${d} ${-c},${-c}`,topLeft:`${d} ${c},${-c}`}}),{width:i,height:o}=HO(),l=R(()=>{const c=i.value,d=o.value,f=a.value,p=`M${c},0 L0,0 L0,${d} L${c},${d} L${c},0 Z`,h=r.value;return t.pos?`${p} M${t.pos.left+h},${t.pos.top} h${t.pos.width-h*2} ${f.topRight} v${t.pos.height-h*2} ${f.bottomRight} h${-t.pos.width+h*2} ${f.bottomLeft} v${-t.pos.height+h*2} ${f.topLeft} z`:p}),s=R(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),u=R(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return R9(Qn(t,"visible"),{ns:n}),(c,d)=>c.visible?(H(),le("div",tn({key:0,class:F(n).e("mask"),style:s.value},c.$attrs),[(H(),le("svg",lnt,[ye("path",{class:J(F(n).e("hollow")),style:Pt(u.value),d:l.value},null,14,snt)]))],16)):Pe("v-if",!0)}});var cnt=yt(unt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tour/src/mask.vue"]]);const dnt=["absolute","fixed"],fnt=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],lI=pt({placement:{type:ke(String),values:fnt,default:"bottom"},reference:{type:ke(Object),default:null},strategy:{type:ke(String),values:dnt,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),pnt={close:()=>!0},hnt=["data-side"],mnt=Ve({name:"ElTourContent",__name:"content",props:lI,emits:pnt,setup(e,{emit:t}){const n=e,r=t,a=j(n.placement),i=j(n.strategy),o=j(null),l=j(null);$e(()=>n.placement,()=>{a.value=n.placement});const{contentStyle:s,arrowStyle:u}=int(Qn(n,"reference"),o,l,a,i,Qn(n,"offset"),Qn(n,"zIndex"),Qn(n,"showArrow")),c=R(()=>a.value.split("-")[0]),{ns:d}=lt(H9),f=()=>{r("close")},p=h=>{h.detail.focusReason==="pointer"&&h.preventDefault()};return(h,m)=>(H(),le("div",{ref_key:"contentRef",ref:o,style:Pt(F(s)),class:J(F(d).e("content")),"data-side":c.value,tabindex:"-1"},[be(F(tg),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":o.value||void 0,onReleaseRequested:f,onFocusoutPrevented:p},{default:Re(()=>[We(h.$slots,"default")]),_:3},8,["focus-trap-el"]),h.showArrow?(H(),le("span",{key:0,ref_key:"arrowRef",ref:l,style:Pt(F(u)),class:J(F(d).e("arrow"))},null,6)):Pe("v-if",!0)],14,hnt))}});var vnt=yt(mnt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tour/src/content.vue"]]),gnt=Ve({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let r=0;return()=>{var a,i;const o=(a=t.default)==null?void 0:a.call(t),l=[];let s=0;function u(c){st(c)&&c.forEach(d=>{var f;((f=(d==null?void 0:d.type)||{})==null?void 0:f.name)==="ElTourStep"&&(l.push(d),s+=1)})}return o.length&&u(xl((i=o[0])==null?void 0:i.children)),r!==s&&(r=s,n("update-total",s)),l.length?l[e.current]:null}}});const ynt=pt({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:mr},placement:lI.placement,contentStyle:{type:ke([Object])},mask:{type:ke([Boolean,Object]),default:!0},gap:{type:ke(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:ke([Boolean,Object]),default:()=>({block:"center"})},type:{type:ke(String)},appendTo:{type:N5.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),bnt={[nn]:e=>hr(e),"update:current":e=>$t(e),close:e=>$t(e),finish:()=>!0,change:e=>$t(e)},Cnt=Ve({name:"ElTour",inheritAttrs:!1,__name:"tour",props:ynt,emits:bnt,setup(e,{emit:t}){const n=e,r=t,a=at("tour"),i=j(0),o=j(),l=zle(n,"current",r,{passive:!0}),s=R(()=>{var k;return(k=o.value)==null?void 0:k.target}),u=R(()=>[a.b(),g.value==="primary"?a.m("primary"):""]),c=R(()=>{var k;return((k=o.value)==null?void 0:k.placement)||n.placement}),d=R(()=>{var k,x;return(x=(k=o.value)==null?void 0:k.contentStyle)!=null?x:n.contentStyle}),f=R(()=>{var k,x;return(x=(k=o.value)==null?void 0:k.mask)!=null?x:n.mask}),p=R(()=>!!f.value&&n.modelValue),h=R(()=>hr(f.value)?void 0:f.value),m=R(()=>{var k,x;return!!s.value&&((x=(k=o.value)==null?void 0:k.showArrow)!=null?x:n.showArrow)}),v=R(()=>{var k,x;return(x=(k=o.value)==null?void 0:k.scrollIntoViewOptions)!=null?x:n.scrollIntoViewOptions}),g=R(()=>{var k,x;return(x=(k=o.value)==null?void 0:k.type)!=null?x:n.type}),{nextZIndex:b}=P5(),C=b(),y=R(()=>{var k;return(k=n.zIndex)!=null?k:C}),{mergedPosInfo:E,triggerTarget:w}=rnt(s,Qn(n,"modelValue"),Qn(n,"gap"),f,v);$e(()=>n.modelValue,k=>{k||(l.value=0)});const S=()=>{n.closeOnPressEscape&&(r(nn,!1),r("close",l.value))},A=k=>{i.value=k},D=pa();return Qt(H9,{currentStep:o,current:l,total:i,showClose:Qn(n,"showClose"),closeIcon:Qn(n,"closeIcon"),mergedType:g,ns:a,slots:D,updateModelValue(k){r(nn,k)},onClose(){r("close",l.value)},onFinish(){r("finish")},onChange(){r(An,l.value)}}),(k,x)=>(H(),le(kt,null,[be(F(eg),{to:k.appendTo},{default:Re(()=>{var _,M;return[ye("div",tn({class:u.value},k.$attrs),[be(cnt,{visible:p.value,fill:(_=h.value)==null?void 0:_.color,style:Pt((M=h.value)==null?void 0:M.style),pos:F(E),"z-index":y.value,"target-area-clickable":k.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),k.modelValue?(H(),Ue(vnt,{key:F(l),reference:F(w),placement:c.value,"show-arrow":m.value,"z-index":y.value,style:Pt(d.value),onClose:S},{default:Re(()=>[be(F(gnt),{current:F(l),onUpdateTotal:A},{default:Re(()=>[We(k.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):Pe("v-if",!0)],16)]}),_:3},8,["to"]),Pe(" just for IDE "),Pe("v-if",!0)],64))}});var Fnt=yt(Cnt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tour/src/tour.vue"]]);const Ent=pt({target:{type:ke([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:mr},showArrow:{type:Boolean,default:void 0},placement:lI.placement,mask:{type:ke([Boolean,Object]),default:void 0},contentStyle:{type:ke([Object])},prevButtonProps:{type:ke(Object)},nextButtonProps:{type:ke(Object)},scrollIntoViewOptions:{type:ke([Boolean,Object]),default:void 0},type:{type:ke(String)}}),wnt={close:()=>!0},Snt=["aria-label"],Ant=Ve({name:"ElTourStep",__name:"step",props:Ent,emits:wnt,setup(e,{emit:t}){const n=e,r=t,{Close:a}=lse,{t:i}=xn(),{currentStep:o,current:l,total:s,showClose:u,closeIcon:c,mergedType:d,ns:f,slots:p,updateModelValue:h,onClose:m,onFinish:v,onChange:g}=lt(H9);$e(n,k=>{o.value=k},{immediate:!0});const b=R(()=>{var k;return(k=n.showClose)!=null?k:u.value}),C=R(()=>{var k,x;return(x=(k=n.closeIcon)!=null?k:c.value)!=null?x:a}),y=k=>{if(k)return B5(k,["children","onClick"])},E=()=>{var k,x;l.value-=1,(k=n.prevButtonProps)!=null&&k.onClick&&((x=n.prevButtonProps)==null||x.onClick()),g()},w=()=>{var k;l.value>=s.value-1?S():l.value+=1,(k=n.nextButtonProps)!=null&&k.onClick&&n.nextButtonProps.onClick(),g()},S=()=>{A(),v()},A=()=>{h(!1),m(),r("close")},D=k=>{const x=k.target;if(x!=null&&x.isContentEditable)return;switch(Er(k)){case dt.left:k.preventDefault(),l.value>0&&E();break;case dt.right:k.preventDefault(),w();break}};return Ut(()=>{window.addEventListener("keydown",D)}),Vn(()=>{window.removeEventListener("keydown",D)}),(k,x)=>(H(),le(kt,null,[b.value?(H(),le("button",{key:0,"aria-label":F(i)("el.tour.close"),class:J(F(f).e("closebtn")),type:"button",onClick:A},[be(F(Rt),{class:J(F(f).e("close"))},{default:Re(()=>[(H(),Ue(ln(C.value)))]),_:1},8,["class"])],10,Snt)):Pe("v-if",!0),ye("header",{class:J([F(f).e("header"),{"show-close":F(u)}])},[We(k.$slots,"header",{},()=>[ye("span",{role:"heading",class:J(F(f).e("title"))},ft(k.title),3)])],2),ye("div",{class:J(F(f).e("body"))},[We(k.$slots,"default",{},()=>[ye("span",null,ft(k.description),1)])],2),ye("footer",{class:J(F(f).e("footer"))},[ye("div",{class:J(F(f).b("indicators"))},[F(p).indicators?(H(),Ue(ln(F(p).indicators),{key:0,current:F(l),total:F(s)},null,8,["current","total"])):(H(!0),le(kt,{key:1},En(F(s),(_,M)=>(H(),le("span",{key:_,class:J([F(f).b("indicator"),F(f).is("active",M===F(l))])},null,2))),128))],2),ye("div",{class:J(F(f).b("buttons"))},[F(l)>0?(H(),Ue(F(ci),tn({key:0,size:"small",type:F(d)},y(k.prevButtonProps),{onClick:E}),{default:Re(()=>{var _,M;return[Cn(ft((M=(_=k.prevButtonProps)==null?void 0:_.children)!=null?M:F(i)("el.tour.previous")),1)]}),_:1},16,["type"])):Pe("v-if",!0),F(l)<=F(s)-1?(H(),Ue(F(ci),tn({key:1,size:"small",type:F(d)==="primary"?"default":"primary"},y(k.nextButtonProps),{onClick:w}),{default:Re(()=>{var _,M;return[Cn(ft((M=(_=k.nextButtonProps)==null?void 0:_.children)!=null?M:F(l)===F(s)-1?F(i)("el.tour.finish"):F(i)("el.tour.next")),1)]}),_:1},16,["type"])):Pe("v-if",!0)],2)],2)],64))}});var rfe=yt(Ant,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tour/src/step.vue"]]);const Dnt=fn(Fnt,{TourStep:rfe}),Tnt=sa(rfe),knt=pt({container:{type:ke([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:ke(String),default:"default"},direction:{type:ke(String),default:"vertical"},selectScrollTop:Boolean}),_nt={change:e=>Bt(e),click:(e,t)=>e instanceof MouseEvent&&(Bt(t)||On(t))},afe=Symbol("anchor"),h8=e=>{if(!Yn||e==="")return null;if(Bt(e))try{return document.querySelector(e)}catch(t){return null}return e};function xnt(e){let t=0;const n=(...r)=>{t&&Sd(t),t=fc(()=>{e(...r),t=0})};return n.cancel=()=>{Sd(t),t=0},n}const Mnt=Ve({name:"ElAnchor",__name:"anchor",props:knt,emits:_nt,setup(e,{expose:t,emit:n}){const r=e,a=n,i=pa(),o=j(""),l=j({}),s=j(null),u=j(null),c=j(),d={};let f=!1,p=0;const h=at("anchor"),m=R(()=>[h.b(),r.type==="underline"?h.m("underline"):"",h.m(r.direction)]),v=_=>{d[_.href]=_.el},g=_=>{delete d[_]},b=_=>{o.value!==_&&(o.value=_,a(An,_))};let C=null,y="";const E=_=>{if(!c.value)return;const M=h8(_);if(!M)return;if(C){if(y===_)return;C()}y=_,f=!0;const L=Rz(M,c.value),I=BM(M,L),P=L.scrollHeight-L.clientHeight,B=Math.min(I-r.offset,P);C=IBe(c.value,p,B,r.duration,()=>{setTimeout(()=>{f=!1,y=""},20)})},w=_=>{_&&(b(_),E(_))},S=(_,M)=>{a("click",_,M),w(M)},A=xnt(()=>{c.value&&(p=Lz(c.value));const _=D();f||On(_)||b(_)}),D=()=>{if(!c.value)return;const _=Lz(c.value),M=[];for(const L of Object.keys(d)){const I=h8(L);if(!I)continue;const P=Rz(I,c.value),B=BM(I,P);M.push({top:B-r.offset-r.bound,href:L})}M.sort((L,I)=>L.top-I.top);for(let L=0;L_))return I.href}},k=()=>{const _=h8(r.container);!_||R5(_)?c.value=window:c.value=_};ir(c,"scroll",A);const x=()=>{Oe(()=>{if(!s.value||!u.value||!o.value){l.value={};return}const _=d[o.value];if(!_){l.value={};return}const M=s.value.getBoundingClientRect(),L=u.value.getBoundingClientRect(),I=_.getBoundingClientRect();if(r.direction==="horizontal"){const P=I.left-M.left;l.value={left:`${P}px`,width:`${I.width}px`,opacity:1}}else{const P=I.top-M.top+(I.height-L.height)/2;l.value={top:`${P}px`,opacity:1}}})};return $e(o,x),$e(()=>{var _;return(_=i.default)==null?void 0:_.call(i)},x),Ut(()=>{k();const _=decodeURIComponent(window.location.hash);h8(_)?w(_):A()}),$e(()=>r.container,()=>{k()}),Qt(afe,{ns:h,direction:r.direction,currentAnchor:o,addLink:v,removeLink:g,handleClick:S}),t({scrollTo:w}),(_,M)=>(H(),le("div",{ref_key:"anchorRef",ref:s,class:J(m.value)},[_.marker?(H(),le("div",{key:0,ref_key:"markerRef",ref:u,class:J(F(h).e("marker")),style:Pt(l.value)},null,6)):Pe("v-if",!0),ye("div",{class:J(F(h).e("list"))},[We(_.$slots,"default")],2)],2))}});var Bnt=yt(Mnt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/anchor/src/anchor.vue"]]);const Rnt=pt({title:String,href:String}),Lnt=["href"],Ont=Ve({name:"ElAnchorLink",__name:"anchor-link",props:Rnt,setup(e){const t=e,n=j(null),{ns:r,direction:a,currentAnchor:i,addLink:o,removeLink:l,handleClick:s}=lt(afe),u=R(()=>[r.e("link"),r.is("active",i.value===t.href)]),c=d=>{s(d,t.href)};return $e(()=>t.href,(d,f)=>{Oe(()=>{f&&l(f),d&&o({href:d,el:n.value})})}),Ut(()=>{const{href:d}=t;d&&o({href:d,el:n.value})}),Vn(()=>{const{href:d}=t;d&&l(d)}),(d,f)=>(H(),le("div",{class:J(F(r).e("item"))},[ye("a",{ref_key:"linkRef",ref:n,class:J(u.value),href:d.href,onClick:c},[We(d.$slots,"default",{},()=>[Cn(ft(d.title),1)])],10,Lnt),d.$slots["sub-link"]&&F(a)==="vertical"?(H(),le("div",{key:0,class:J(F(r).e("list"))},[We(d.$slots,"sub-link")],2)):Pe("v-if",!0)],2))}});var ife=yt(Ont,[["__file","/home/runner/work/element-plus/element-plus/packages/components/anchor/src/anchor-link.vue"]]);const Pnt=fn(Bnt,{AnchorLink:ife}),Int=sa(ife),ofe={label:"label",value:"value",disabled:"disabled"},Nnt=pt(Te({direction:{type:ke(String),default:"horizontal"},options:{type:ke(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:ke(Object),default:()=>ofe},block:Boolean,size:Xa,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},id:String,name:String},yo(["ariaLabel"]))),$nt={[nn]:e=>Bt(e)||$t(e)||hr(e),[An]:e=>Bt(e)||$t(e)||hr(e)},Vnt=["id","aria-label","aria-labelledby"],Hnt=["name","disabled","checked","onChange"],znt=Ve({name:"ElSegmented",__name:"segmented",props:Nnt,emits:$nt,setup(e,{emit:t}){const n=e,r=t,a=at("segmented"),i=Li(),o=ja(),l=ha(),{formItem:s}=Ci(),{inputId:u,isLabeledByFormItem:c}=Nl(n,{formItemContext:s}),d=j(null),f=mBe(),p=dn({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),h=(_,M)=>{const L=g(M);r(nn,L),r(An,L),_.target.checked=L===n.modelValue},m=R(()=>Te(Te({},ofe),n.props)),v=_=>_,g=_=>mn(_)?_[m.value.value]:_,b=_=>mn(_)?_[m.value.label]:_,C=_=>!!(l.value||mn(_)&&_[m.value.disabled]),y=_=>n.modelValue===g(_),E=_=>n.options.find(M=>g(M)===_),w=_=>[a.e("item"),a.is("selected",y(_)),a.is("disabled",C(_))],S=()=>{if(!d.value)return;const _=d.value.querySelector(".is-selected"),M=d.value.querySelector(".is-selected input");if(!_||!M){p.width=0,p.height=0,p.translateX=0,p.translateY=0,p.focusVisible=!1;return}p.isInit=!0,n.direction==="vertical"?(p.height=_.offsetHeight,p.translateY=_.offsetTop):(p.width=_.offsetWidth,p.translateX=_.offsetLeft);try{p.focusVisible=M.matches(":focus-visible")}catch(L){}},A=R(()=>[a.b(),a.m(o.value),a.is("block",n.block)]),D=R(()=>({width:n.direction==="vertical"?"100%":`${p.width}px`,height:n.direction==="vertical"?`${p.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${p.translateY}px)`:`translateX(${p.translateX}px)`,display:p.isInit?"block":"none"})),k=R(()=>[a.e("item-selected"),a.is("disabled",C(E(n.modelValue))),a.is("focus-visible",p.focusVisible)]),x=R(()=>n.name||i.value);return zr(d,S),$e(f,S),$e(()=>n.modelValue,()=>{var _;S(),n.validateEvent&&((_=s==null?void 0:s.validate)==null||_.call(s,"change").catch(M=>void 0))},{flush:"post"}),(_,M)=>_.options.length?(H(),le("div",{key:0,id:F(u),ref_key:"segmentedRef",ref:d,class:J(A.value),role:"radiogroup","aria-label":F(c)?void 0:_.ariaLabel||"segmented","aria-labelledby":F(c)?F(s).labelId:void 0},[ye("div",{class:J([F(a).e("group"),F(a).m(_.direction)])},[ye("div",{style:Pt(D.value),class:J(k.value)},null,6),(H(!0),le(kt,null,En(_.options,(L,I)=>(H(),le("label",{key:I,class:J(w(L))},[ye("input",{class:J(F(a).e("item-input")),type:"radio",name:x.value,disabled:C(L),checked:y(L),onChange:P=>h(P,L)},null,42,Hnt),ye("div",{class:J(F(a).e("item-label"))},[We(_.$slots,"default",{item:v(L)},()=>[Cn(ft(b(L)),1)])],2)],2))),128))],2)],10,Vnt)):Pe("v-if",!0)}});var Wnt=yt(znt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/segmented/src/segmented.vue"]]);const Gnt=fn(Wnt),jnt=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value||"").toLowerCase().includes(n)},Knt=(e,t,n)=>{const{selectionEnd:r}=e;if(r===null)return;const a=e.value,i=pi(t);let o=-1,l;for(let s=r-1;s>=0;--s){const u=a[s];if(u===n||u===` `||u==="\r"){o=s;continue}if(i.includes(u)){const c=o===-1?r:o;l={pattern:a.slice(s+1,c),start:s+1,end:c,prefix:u,prefixIndex:s,splitIndex:o,selectionEnd:r};break}}return l},Unt=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,r=e.selectionEnd!==null?e.selectionEnd:0,a=t.useSelectionEnd?r:n,i=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const f=document.querySelector("#input-textarea-caret-position-mirror-div");f!=null&&f.parentNode&&f.parentNode.removeChild(f)}const o=document.createElement("div");o.id="input-textarea-caret-position-mirror-div",document.body.appendChild(o);const l=o.style,s=window.getComputedStyle(e),u=e.nodeName==="INPUT";l.whiteSpace=u?"nowrap":"pre-wrap",u||(l.wordWrap="break-word"),l.position="absolute",t.debug||(l.visibility="hidden"),i.forEach(f=>{if(u&&f==="lineHeight")if(s.boxSizing==="border-box"){const p=Number.parseInt(s.height),h=Number.parseInt(s.paddingTop)+Number.parseInt(s.paddingBottom)+Number.parseInt(s.borderTopWidth)+Number.parseInt(s.borderBottomWidth),m=h+Number.parseInt(s.lineHeight);p>m?l.lineHeight=`${p-h}px`:p===m?l.lineHeight=s.lineHeight:l.lineHeight="0"}else l.lineHeight=s.height;else l[f]=s[f]}),qO()?e.scrollHeight>Number.parseInt(s.height)&&(l.overflowY="scroll"):l.overflow="hidden",o.textContent=e.value.slice(0,Math.max(0,a)),u&&o.textContent&&(o.textContent=o.textContent.replace(/\s/g," "));const c=document.createElement("span");c.textContent=e.value.slice(Math.max(0,a))||".",c.style.position="relative",c.style.left=`${-e.scrollLeft}px`,c.style.top=`${-e.scrollTop}px`,o.appendChild(c);const d={top:c.offsetTop+Number.parseInt(s.borderTopWidth),left:c.offsetLeft+Number.parseInt(s.borderLeftWidth),height:Number.parseInt(s.fontSize)*1.5};return t.debug?c.style.backgroundColor="#aaa":document.body.removeChild(o),d.left>=e.clientWidth&&(d.left=e.clientWidth),d},qnt=pt(Et(Te({},V5),{options:{type:ke(Array),default:()=>[]},prefix:{type:ke([String,Array]),default:"@",validator:e=>Bt(e)?e.length===1:e.every(t=>Bt(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:ke([Boolean,Function]),default:()=>jnt,validator:e=>e===!1?!0:Lt(e)},placement:{type:ke(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:ke(Function)},modelValue:String,loading:Boolean,popperClass:pr.popperClass,popperStyle:pr.popperStyle,popperOptions:{type:ke(Object),default:()=>({})},props:{type:ke(Object),default:()=>lfe}})),Ynt={[nn]:e=>Bt(e),"whole-remove":(e,t)=>Bt(e)&&Bt(t),input:e=>Bt(e),search:(e,t)=>Bt(e)&&Bt(t),select:(e,t)=>mn(e)&&Bt(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},lfe={value:"value",label:"label",disabled:"disabled"},Jnt=pt({options:{type:ke(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),Xnt={select:e=>Bt(e.value)},Znt=["id","aria-disabled","aria-selected","onMousemove","onClick"],Qnt=Ve({name:"ElMentionDropdown",__name:"mention-dropdown",props:Jnt,emits:Xnt,setup(e,{expose:t,emit:n}){const r=e,a=n,i=at("mention"),{t:o}=xn(),l=j(-1),s=j(),u=j(),c=j(),d=(y,E)=>[i.be("dropdown","item"),i.is("hovering",l.value===E),i.is("disabled",y.disabled||r.disabled)],f=y=>{y.disabled||r.disabled||a("select",y)},p=y=>{l.value=y},h=R(()=>r.disabled||r.options.every(y=>y.disabled)),m=R(()=>r.options[l.value]),v=()=>{m.value&&a("select",m.value)},g=y=>{const{options:E}=r;if(E.length===0||h.value)return;y==="next"?(l.value++,l.value===E.length&&(l.value=0)):y==="prev"&&(l.value--,l.value<0&&(l.value=E.length-1));const w=E[l.value];if(w.disabled){g(y);return}Oe(()=>b(w))},b=y=>{var E,w,S,A;const{options:D}=r,k=D.findIndex(_=>_.value===y.value),x=(E=u.value)==null?void 0:E[k];if(x){const _=(S=(w=c.value)==null?void 0:w.querySelector)==null?void 0:S.call(w,`.${i.be("dropdown","wrap")}`);_&&GO(_,x)}(A=s.value)==null||A.handleScroll()};return $e(()=>r.options,()=>{h.value||r.options.length===0?l.value=-1:l.value=0},{immediate:!0}),t({hoveringIndex:l,navigateOptions:g,selectHoverOption:v,hoverOption:m}),(y,E)=>(H(),le("div",{ref_key:"dropdownRef",ref:c,class:J(F(i).b("dropdown"))},[y.$slots.header?(H(),le("div",{key:0,class:J(F(i).be("dropdown","header"))},[We(y.$slots,"header")],2)):Pe("v-if",!0),hn(be(F(Qs),{id:y.contentId,ref_key:"scrollbarRef",ref:s,tag:"ul","wrap-class":F(i).be("dropdown","wrap"),"view-class":F(i).be("dropdown","list"),role:"listbox","aria-label":y.ariaLabel,"aria-orientation":"vertical"},{default:Re(()=>[(H(!0),le(kt,null,En(y.options,(w,S)=>(H(),le("li",{id:`${y.contentId}-${S}`,ref_for:!0,ref_key:"optionRefs",ref:u,key:S,class:J(d(w,S)),role:"option","aria-disabled":w.disabled||y.disabled||void 0,"aria-selected":l.value===S,onMousemove:A=>p(S),onClick:Yt(A=>f(w),["stop"])},[We(y.$slots,"label",{item:w,index:S},()=>{var A;return[ye("span",null,ft((A=w.label)!=null?A:w.value),1)]})],42,Znt))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[In,y.options.length>0&&!y.loading]]),y.loading?(H(),le("div",{key:1,class:J(F(i).be("dropdown","loading"))},[We(y.$slots,"loading",{},()=>[Cn(ft(F(o)("el.mention.loading")),1)])],2)):Pe("v-if",!0),y.$slots.footer?(H(),le("div",{key:2,class:J(F(i).be("dropdown","footer"))},[We(y.$slots,"footer")],2)):Pe("v-if",!0)],2))}});var ert=yt(Qnt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/mention/src/mention-dropdown.vue"]]);const trt=Ve({name:"ElMention",inheritAttrs:!1,__name:"mention",props:qnt,emits:Ynt,setup(e,{expose:t,emit:n}){const r=e,a=n,i=R(()=>wd(r,Object.keys(V5))),o=at("mention"),l=ha(),s=Li(),u=j(),c=j(),d=j(),f=j(!1),p=j(),h=j(),m=R(()=>r.showArrow?r.placement:`${r.placement}-start`),v=R(()=>r.showArrow?["bottom","top"]:["bottom-start","top-start"]),g=R(()=>Te(Te({},lfe),r.props)),b=B=>{const T={label:B[g.value.label],value:B[g.value.value],disabled:B[g.value.disabled]};return Te(Te({},B),T)},C=R(()=>r.options.map(b)),y=R(()=>{const{filterOption:B}=r;return!h.value||!B?C.value:C.value.filter(T=>B(h.value.pattern,T))}),E=R(()=>f.value&&(!!y.value.length||r.loading)),w=R(()=>{var B;return`${s.value}-${(B=d.value)==null?void 0:B.hoveringIndex}`}),S=B=>{a(nn,B),a(Ga,B),L()},A=B=>{var T,O,N,V;if((T=u.value)!=null&&T.isComposing)return;const Y=Er(B);switch(Y){case dt.left:case dt.right:L();break;case dt.up:case dt.down:if(!f.value)return;B.preventDefault(),(O=d.value)==null||O.navigateOptions(Y===dt.up?"prev":"next");break;case dt.enter:case dt.numpadEnter:if(!f.value){r.type!=="textarea"&&L();return}B.preventDefault(),(N=d.value)!=null&&N.hoverOption?(V=d.value)==null||V.selectHoverOption():f.value=!1;break;case dt.esc:if(!f.value)return;B.preventDefault(),f.value=!1;break;case dt.backspace:if(r.whole&&h.value){const{splitIndex:z,selectionEnd:ee,pattern:ae,prefixIndex:pe,prefix:re}=h.value,Q=M();if(!Q)return;const ie=Q.value,X=C.value.find(ce=>ce.value===ae);if((Lt(r.checkIsWhole)?r.checkIsWhole(ae,re):X)&&z!==-1&&z+1===ee){B.preventDefault();const ce=ie.slice(0,pe)+ie.slice(z+1);a(nn,ce),a(Ga,ce),a("whole-remove",ae,re);const K=pe;Oe(()=>{Q.selectionStart=K,Q.selectionEnd=K,P()})}}}},{wrapperRef:D}=Id(u,{disabled:l,afterFocus(){L()},beforeBlur(B){var T;return(T=c.value)==null?void 0:T.isFocusInsideContent(B)},afterBlur(){f.value=!1}}),k=()=>{L()},x=B=>r.options.find(T=>B.value===T[g.value.value]),_=B=>{if(!h.value)return;const T=M();if(!T)return;const O=T.value,{split:N}=r,V=O.slice(h.value.end),Y=V.startsWith(N),z=`${B.value}${Y?"":N}`,ee=O.slice(0,h.value.start)+z+V;a(nn,ee),a(Ga,ee),a("select",x(B),h.value.prefix);const ae=h.value.start+z.length+(Y?1:0);Oe(()=>{T.selectionStart=ae,T.selectionEnd=ae,T.focus(),P()})},M=()=>{var B,T;return r.type==="textarea"?(B=u.value)==null?void 0:B.textarea:(T=u.value)==null?void 0:T.input},L=()=>{setTimeout(()=>{I(),P(),Oe(()=>{var B;return(B=c.value)==null?void 0:B.updatePopper()})},0)},I=()=>{const B=M();if(!B)return;const T=Unt(B),O=B.getBoundingClientRect(),N=D.value.getBoundingClientRect();p.value={position:"absolute",width:0,height:`${T.height}px`,left:`${T.left+O.left-N.left}px`,top:`${T.top+O.top-N.top}px`}},P=()=>{const B=M();if(document.activeElement!==B){f.value=!1;return}const{prefix:T,split:O}=r;if(h.value=Knt(B,T,O),h.value&&h.value.splitIndex===-1){f.value=!0,a("search",h.value.pattern,h.value.prefix);return}f.value=!1};return t({input:u,tooltip:c,dropdownVisible:E}),(B,T)=>(H(),le("div",{ref_key:"wrapperRef",ref:D,class:J(F(o).b())},[be(F(co),tn(tn(i.value,B.$attrs),{ref_key:"elInputRef",ref:u,"model-value":B.modelValue,disabled:F(l),role:E.value?"combobox":void 0,"aria-activedescendant":E.value?w.value||"":void 0,"aria-controls":E.value?F(s):void 0,"aria-expanded":E.value||void 0,"aria-label":B.ariaLabel,"aria-autocomplete":E.value?"none":void 0,"aria-haspopup":E.value?"listbox":void 0,onInput:S,onKeydown:A,onMousedown:k}),Ri({_:2},[En(B.$slots,(O,N)=>({name:N,fn:Re(V=>[We(B.$slots,N,qu(Yu(V)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),be(F(gi),{ref_key:"tooltipRef",ref:c,visible:E.value,"popper-class":[F(o).e("popper"),B.popperClass],"popper-style":B.popperStyle,"popper-options":B.popperOptions,placement:m.value,"fallback-placements":v.value,effect:"light",pure:"",offset:B.offset,"show-arrow":B.showArrow},{default:Re(()=>[ye("div",{style:Pt(p.value)},null,4)]),content:Re(()=>[be(ert,{ref_key:"dropdownRef",ref:d,options:y.value,disabled:F(l),loading:B.loading,"content-id":F(s),"aria-label":B.ariaLabel,onSelect:_,onClick:T[0]||(T[0]=Yt(O=>{var N;return(N=u.value)==null?void 0:N.focus()},["stop"]))},Ri({_:2},[En(B.$slots,(O,N)=>({name:N,fn:Re(V=>[We(B.$slots,N,qu(Yu(V)))])}))]),1032,["options","disabled","loading","content-id","aria-label"])]),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});var nrt=yt(trt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/mention/src/mention.vue"]]);const rrt=fn(nrt),art=pt({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),irt={resizeStart:(e,t)=>!0,resize:(e,t)=>!0,resizeEnd:(e,t)=>!0,collapse:(e,t,n)=>!0},sfe=Symbol("splitterRootContextKey");function ort(e){const t=j(),{width:n,height:r}=yM(t),a=R(()=>e.value==="horizontal"?n.value:r.value);return{containerEl:t,containerSize:a}}function sI(e){return Number(e.slice(0,-1))/100}function uI(e){return Number(e.slice(0,-2))}function cI(e){return Bt(e)&&e.endsWith("%")}function dI(e){return Bt(e)&&e.endsWith("px")}function lrt(e,t){const n=R(()=>e.value.map(l=>l.size)),r=R(()=>e.value.length),a=j([]);$e([n,r,t],()=>{var l;let s=[],u=0;for(let d=0;dd+(f||0),0);if(c>1||!u){const d=1/c;s=s.map(f=>f===void 0?0:f*d)}else{const d=(1-c)/u;s=s.map(f=>f===void 0?d:f)}a.value=s});const i=l=>l*t.value,o=R(()=>a.value.map(i));return{percentSizes:a,pxSizes:o}}function srt(e,t,n,r){const a=v=>v*t.value||0;function i(v,g){return cI(v)?a(sI(v)):dI(v)?uI(v):v!=null?v:g}const o=j(0),l=j(null);let s=[],u=er;const c=R(()=>e.value.map(v=>[v.min,v.max]));$e(r,()=>{if(o.value){const v=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(v)}});const d=v=>{o.value=0,l.value={index:v,confirmed:!1},s=n.value},f=(v,g)=>{var b,C;let y=null;if((!l.value||!l.value.confirmed)&&g!==0){if(g>0)y=v,l.value={index:v,confirmed:!0};else for(let M=v;M>=0;M-=1)if(s[M]>0){y=M,l.value={index:M,confirmed:!0};break}}const E=(C=y!=null?y:(b=l.value)==null?void 0:b.index)!=null?C:v,w=[...s],S=E+1,A=i(c.value[E][0],0),D=i(c.value[S][0],0),k=i(c.value[E][1],t.value||0),x=i(c.value[S][1],t.value||0);let _=g;w[E]+_k&&(_=k-w[E]),w[S]-_>x&&(_=w[S]-x),w[E]+=_,w[S]-=_,o.value=_,u=()=>{e.value.forEach((M,L)=>{M.size=w[L]}),u=er},r.value||u()},p=()=>{r.value&&u(),o.value=0,l.value=null,s=[]},h=[];return{lazyOffset:o,onMoveStart:d,onMoving:f,onMoveEnd:p,movingIndex:l,onCollapse:(v,g)=>{h.length||h.push(...n.value);const b=n.value,C=g==="start"?v:v+1,y=g==="start"?v+1:v,E=b[C],w=b[y];if(E!==0&&w!==0)b[C]=0,b[y]+=E,h[v]=E;else{const S=E+w,A=h[v],D=S-A;b[y]=A,b[C]=D}e.value.forEach((S,A)=>{S.size=b[A]})}}}const urt=Ve({name:"ElSplitter",__name:"splitter",props:art,emits:irt,setup(e,{emit:t}){const n=at("splitter"),r=t,a=e,i=Qn(a,"layout"),o=Qn(a,"lazy"),{containerEl:l,containerSize:s}=ort(i),{removeChild:u,children:c,addChild:d,ChildrenSorter:f}=_9(Jt(),"ElSplitterPanel");$e(c,()=>{v.value=null,c.value.forEach((k,x)=>{k.setIndex(x)})});const{percentSizes:p,pxSizes:h}=lrt(c,s),{lazyOffset:m,movingIndex:v,onMoveStart:g,onMoving:b,onMoveEnd:C,onCollapse:y}=srt(c,s,h,o),E=R(()=>({[n.cssVarBlockName("bar-offset")]:o.value?`${m.value}px`:void 0}));return Qt(sfe,dn({panels:c,percentSizes:p,pxSizes:h,layout:i,lazy:o,movingIndex:v,containerSize:s,onMoveStart:k=>{g(k),r("resizeStart",k,h.value)},onMoving:(k,x)=>{b(k,x),o.value||r("resize",k,h.value)},onMoveEnd:k=>Xt(null,null,function*(){C(),yield Oe(),r("resizeEnd",k,h.value)}),onCollapse:(k,x)=>{y(k,x),r("collapse",k,x,h.value)},registerPanel:d,unregisterPanel:u})),(k,x)=>(H(),le("div",{ref_key:"containerEl",ref:l,class:J([F(n).b(),F(n).e(i.value)]),style:Pt(E.value)},[We(k.$slots,"default"),be(F(f)),Pe(" Prevent iframe touch events from breaking "),F(v)?(H(),le("div",{key:0,class:J([F(n).e("mask"),F(n).e(`mask-${i.value}`)])},null,2)):Pe("v-if",!0)],6))}});var crt=yt(urt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/splitter/src/splitter.vue"]]);function drt(e){return e&&mn(e)?e:{start:!!e,end:!!e}}function UG(e,t,n,r){return!!(e!=null&&e.collapsible.end&&t>0||n!=null&&n.collapsible.start&&r===0&&t>0)}const frt=Ve({name:"ElSplitterBar",__name:"split-bar",props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(e,{emit:t}){const n=at("splitter-bar"),r=e,a=t,i=R(()=>r.layout==="horizontal"),o=R(()=>i.value?{width:0}:{height:0}),l=R(()=>({width:i.value?"16px":"100%",height:i.value?"100%":"16px",cursor:r.resizable?i.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),s=R(()=>{const b=n.e("dragger");return{[`${b}-horizontal`]:i.value,[`${b}-vertical`]:!i.value,[`${b}-active`]:!!u.value}}),u=j(null),c=b=>{r.resizable&&(u.value=[b.pageX,b.pageY],a("moveStart",r.index),window.addEventListener("mouseup",h),window.addEventListener("mousemove",f))},d=b=>{if(r.resizable&&b.touches.length===1){b.preventDefault();const C=b.touches[0];u.value=[C.pageX,C.pageY],a("moveStart",r.index),window.addEventListener("touchend",m),window.addEventListener("touchmove",p)}},f=b=>{const{pageX:C,pageY:y}=b,E=C-u.value[0],w=y-u.value[1],S=i.value?E:w;a("moving",r.index,S)},p=b=>{if(b.touches.length===1){b.preventDefault();const C=b.touches[0],y=C.pageX-u.value[0],E=C.pageY-u.value[1],w=i.value?y:E;a("moving",r.index,w)}},h=()=>{u.value=null,window.removeEventListener("mouseup",h),window.removeEventListener("mousemove",f),a("moveEnd",r.index)},m=()=>{u.value=null,window.removeEventListener("touchend",m),window.removeEventListener("touchmove",p),a("moveEnd",r.index)},v=R(()=>i.value?Ad:E9),g=R(()=>i.value?po:wc);return(b,C)=>(H(),le("div",{class:J([F(n).b()]),style:Pt(o.value)},[e.startCollapsible?(H(),le("div",{key:0,class:J([F(n).e("collapse-icon"),F(n).e(`${e.layout}-collapse-icon-start`)]),onClick:C[0]||(C[0]=y=>a("collapse",e.index,"start"))},[We(b.$slots,"start-collapsible",{},()=>[(H(),Ue(ln(v.value),{style:{width:"12px",height:"12px"}}))])],2)):Pe("v-if",!0),ye("div",{class:J([F(n).e("dragger"),s.value,F(n).is("disabled",!e.resizable),F(n).is("lazy",e.resizable&&e.lazy)]),style:Pt(l.value),onMousedown:c,onTouchstart:d},null,38),e.endCollapsible?(H(),le("div",{key:1,class:J([F(n).e("collapse-icon"),F(n).e(`${e.layout}-collapse-icon-end`)]),onClick:C[1]||(C[1]=y=>a("collapse",e.index,"end"))},[We(b.$slots,"end-collapsible",{},()=>[(H(),Ue(ln(g.value),{style:{width:"12px",height:"12px"}}))])],2)):Pe("v-if",!0)],6))}});var prt=yt(frt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/splitter/src/split-bar.vue"]]);const hrt=pt({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),mrt={"update:size":e=>typeof e=="number"||typeof e=="string"},qG="ElSplitterPanel",vrt=Ve({name:qG,__name:"split-panel",props:hrt,emits:mrt,setup(e,{expose:t,emit:n}){const r=at("splitter-panel"),a=e,i=n,o=lt(sfe);o||$a(qG,"usage: ");const{panels:l,layout:s,lazy:u,containerSize:c,pxSizes:d}=Na(o),{registerPanel:f,unregisterPanel:p,onCollapse:h,onMoveEnd:m,onMoveStart:v,onMoving:g}=o,b=j(),C=Jt(),y=C.uid,E=j(0),w=R(()=>l.value[E.value]),S=T=>{E.value=T},A=R(()=>{var T;return w.value&&(T=d.value[E.value])!=null?T:0}),D=R(()=>{var T;return w.value&&(T=d.value[E.value+1])!=null?T:0}),k=R(()=>w.value?l.value[E.value+1]:null),x=R(()=>{var T;return k.value?a.resizable&&((T=k.value)==null?void 0:T.resizable)&&(A.value!==0||!a.min)&&(D.value!==0||!k.value.min):!1}),_=R(()=>w.value?E.value!==l.value.length-1:!1),M=R(()=>UG(w.value,A.value,k.value,D.value)),L=R(()=>UG(k.value,D.value,w.value,A.value));function I(T){return cI(T)?sI(T)*c.value||0:dI(T)?uI(T):T!=null?T:0}let P=!1;$e(()=>a.size,()=>{if(!P&&w.value){if(!c.value){w.value.size=a.size;return}const T=I(a.size),O=I(a.max),N=I(a.min),V=Math.min(Math.max(T,N||0),O||T);V!==T&&i("update:size",V),w.value.size=V}}),$e(()=>{var T;return(T=w.value)==null?void 0:T.size},T=>{T!==a.size&&(P=!0,i("update:size",T),Oe(()=>P=!1))}),$e(()=>a.resizable,T=>{w.value&&(w.value.resizable=T)});const B=dn(Et(Te({el:b.value,uid:y,getVnode:()=>C.vnode,setIndex:S},a),{collapsible:R(()=>drt(a.collapsible))}));return f(B),Vn(()=>p(B)),t({splitterPanelRef:b}),(T,O)=>(H(),le(kt,null,[ye("div",tn({ref_key:"panelEl",ref:b,class:[F(r).b()],style:{flexBasis:`${A.value}px`}},T.$attrs),[We(T.$slots,"default")],16),_.value?(H(),Ue(prt,{key:0,index:E.value,layout:F(s),lazy:F(u),resizable:x.value,"start-collapsible":M.value,"end-collapsible":L.value,onMoveStart:F(v),onMoving:F(g),onMoveEnd:F(m),onCollapse:F(h)},{"start-collapsible":Re(()=>[We(T.$slots,"start-collapsible")]),"end-collapsible":Re(()=>[We(T.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):Pe("v-if",!0)],64))}});var ufe=yt(vrt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/splitter/src/split-panel.vue"]]);const grt=fn(crt,{SplitPanel:ufe}),yrt=sa(ufe),Sl="ElInfiniteScroll",brt=50,Crt=200,Frt=0,Ert={delay:{type:Number,default:Crt},distance:{type:Number,default:Frt},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},fI=(e,t)=>Object.entries(Ert).reduce((n,[r,a])=>{var i,o;const{type:l,default:s}=a,u=e.getAttribute(`infinite-scroll-${r}`);let c=(o=(i=t[u])!=null?i:u)!=null?o:s;return c=c==="false"?!1:c,c=l(c),n[r]=Number.isNaN(c)?s:c,n},{}),cfe=e=>{const{observer:t}=e[Sl];t&&(t.disconnect(),delete e[Sl].observer)},wrt=(e,t)=>{const{container:n,containerEl:r,instance:a,observer:i,lastScrollTop:o}=e[Sl],{disabled:l,distance:s}=fI(e,a),{clientHeight:u,scrollHeight:c,scrollTop:d}=r,f=d-o;if(e[Sl].lastScrollTop=d,i||l||f<0)return;let p=!1;if(n===e)p=c-(u+d)<=s;else{const{clientTop:h,scrollHeight:m}=e,v=BM(e,r);p=d+u>=v+h+m-s}p&&t.call(a)};function lw(e,t){const{containerEl:n,instance:r}=e[Sl],{disabled:a}=fI(e,r);a||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(r):cfe(e))}const Srt={mounted(e,t){return Xt(this,null,function*(){const{instance:n,value:r}=t;Qu({scope:Sl,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),Lt(r)||$a(Sl,"'v-infinite-scroll' binding value must be a function"),yield Oe();const{delay:a,immediate:i}=fI(e,n),o=WO(e,!0),l=o===window?document.documentElement:o,s=Df(wrt.bind(null,e,r),a);if(o){if(e[Sl]={instance:n,container:o,containerEl:l,delay:a,cb:r,onScroll:s,lastScrollTop:l.scrollTop},i){const u=new MutationObserver(Df(lw.bind(null,e,r),brt));e[Sl].observer=u,u.observe(e,{childList:!0,subtree:!0}),lw(e,r)}o.addEventListener("scroll",s)}})},unmounted(e){if(!e[Sl])return;const{container:t,onScroll:n}=e[Sl];t==null||t.removeEventListener("scroll",n),cfe(e)},updated(e){return Xt(this,null,function*(){if(!e[Sl])yield Oe();else{const{containerEl:t,cb:n,observer:r}=e[Sl];t.clientHeight&&r&&lw(e,n)}})}},vB=Srt;vB.install=e=>{e.directive("InfiniteScroll",vB)};const Art=vB;function Drt(e,t){let n;const r=j(!1),a=dn(Et(Te({},e),{originalPosition:"",originalOverflow:"",visible:!1}));function i(p){a.text=p}function o(){const p=a.parent,h=f.ns;if(!p.vLoadingAddClassList){let m=p.getAttribute("loading-number");m=Number.parseInt(m)-1,m?p.setAttribute("loading-number",m.toString()):(fo(p,h.bm("parent","relative")),p.removeAttribute("loading-number")),fo(p,h.bm("parent","hidden"))}l(),d.unmount()}function l(){var p,h;(h=(p=f.$el)==null?void 0:p.parentNode)==null||h.removeChild(f.$el)}function s(){var p;e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(n),n=setTimeout(u,400),a.visible=!1,(p=e.closed)==null||p.call(e))}function u(){if(!r.value)return;const p=a.parent;r.value=!1,p.vLoadingAddClassList=void 0,o()}const d=np(Ve({name:"ElLoading",setup(p,{expose:h}){const{ns:m,zIndex:v}=F9("loading");return h({ns:m,zIndex:v}),()=>{const g=a.spinner||a.svg,b=W("svg",Te({class:"circular",viewBox:a.svgViewBox?a.svgViewBox:"0 0 50 50"},g?{innerHTML:g}:{}),[W("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),C=a.text?W("p",{class:m.b("text")},[a.text]):void 0;return W(vi,{name:m.b("fade"),onAfterLeave:u},{default:Re(()=>[hn(be("div",{style:{backgroundColor:a.background||""},class:[m.b("mask"),a.customClass,m.is("fullscreen",a.fullscreen)]},[W("div",{class:m.b("spinner")},[b,C])]),[[In,a.visible]])])})}}}));Object.assign(d._context,t!=null?t:{});const f=d.mount(document.createElement("div"));return Et(Te({},Na(a)),{setText:i,removeElLoadingChild:l,close:s,handleAfterLeave:u,vm:f,get $el(){return f.$el}})}let m8;const I1=function(e={},t){if(!Yn)return;const n=Trt(e);if(n.fullscreen&&m8)return m8;const r=Drt(Et(Te({},n),{closed:()=>{var i;(i=n.closed)==null||i.call(n),n.fullscreen&&(m8=void 0)}}),t!=null?t:I1._context);krt(n,n.parent,r),YG(n,n.parent,r),n.parent.vLoadingAddClassList=()=>YG(n,n.parent,r);let a=n.parent.getAttribute("loading-number");return a?a=`${Number.parseInt(a)+1}`:a="1",n.parent.setAttribute("loading-number",a),n.parent.appendChild(r.$el),Oe(()=>r.visible.value=n.visible),n.fullscreen&&(m8=r),r},Trt=e=>{var t,n,r,a;let i;return Bt(e.target)?i=(t=document.querySelector(e.target))!=null?t:document.body:i=e.target||document.body,{parent:i===document.body||e.body?document.body:i,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:i===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(r=e.lock)!=null?r:!1,customClass:e.customClass||"",visible:(a=e.visible)!=null?a:!0,beforeClose:e.beforeClose,closed:e.closed,target:i}},krt=(e,t,n)=>Xt(null,null,function*(){const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,a={};if(e.fullscreen)n.originalPosition.value=ad(document.body,"position"),n.originalOverflow.value=ad(document.body,"overflow"),a.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=ad(document.body,"position"),yield Oe();for(const i of["top","left"]){const o=i==="top"?"scrollTop":"scrollLeft";a[i]=`${e.target.getBoundingClientRect()[i]+document.body[o]+document.documentElement[o]-Number.parseInt(ad(document.body,`margin-${i}`),10)}px`}for(const i of["height","width"])a[i]=`${e.target.getBoundingClientRect()[i]}px`}else n.originalPosition.value=ad(t,"position");for(const[i,o]of Object.entries(a))n.$el.style[i]=o}),YG=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?fo(t,r.bm("parent","relative")):as(t,r.bm("parent","relative")),e.fullscreen&&e.lock?as(t,r.bm("parent","hidden")):fo(t,r.bm("parent","hidden"))};I1._context=null;const Py=Symbol("ElLoading"),bh=e=>`element-loading-${Mo(e)}`,JG=(e,t)=>{var n,r,a,i;const o=t.instance,l=p=>mn(t.value)?t.value[p]:void 0,s=p=>{const h=Bt(p)&&(o==null?void 0:o[p])||p;return j(h)},u=p=>s(l(p)||e.getAttribute(bh(p))),c=(n=l("fullscreen"))!=null?n:t.modifiers.fullscreen,d={text:u("text"),svg:u("svg"),svgViewBox:u("svgViewBox"),spinner:u("spinner"),background:u("background"),customClass:u("customClass"),fullscreen:c,target:(r=l("target"))!=null?r:c?void 0:e,body:(a=l("body"))!=null?a:t.modifiers.body,lock:(i=l("lock"))!=null?i:t.modifiers.lock},f=I1(d);f._context=N1._context,e[Py]={options:d,instance:f}},_rt=(e,t)=>{for(const n of Object.keys(e))Gn(e[n])&&(e[n].value=t[n])},N1={mounted(e,t){t.value&&JG(e,t)},updated(e,t){const n=e[Py];if(!t.value){n==null||n.instance.close(),e[Py]=null;return}n?_rt(n.options,mn(t.value)?t.value:{text:e.getAttribute(bh("text")),svg:e.getAttribute(bh("svg")),svgViewBox:e.getAttribute(bh("svgViewBox")),spinner:e.getAttribute(bh("spinner")),background:e.getAttribute(bh("background")),customClass:e.getAttribute(bh("customClass"))}):JG(e,t)},unmounted(e){var t;(t=e[Py])==null||t.instance.close(),e[Py]=null}};N1._context=null;const xrt={install(e){I1._context=e._context,N1._context=e._context,e.directive("loading",N1),e.config.globalProperties.$loading=I1},directive:N1,service:I1},dfe=["primary","success","info","warning","error"],ffe=["top","top-left","top-right","bottom","bottom-left","bottom-right"],S2="top",Qi=da({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:Yn?document.body:void 0}),Mrt=pt({customClass:{type:String,default:Qi.customClass},dangerouslyUseHTMLString:{type:Boolean,default:Qi.dangerouslyUseHTMLString},duration:{type:Number,default:Qi.duration},icon:{type:mr,default:Qi.icon},id:{type:String,default:Qi.id},message:{type:ke([String,Object,Function]),default:Qi.message},onClose:{type:ke(Function),default:Qi.onClose},showClose:{type:Boolean,default:Qi.showClose},type:{type:String,values:dfe,default:Qi.type},plain:{type:Boolean,default:Qi.plain},offset:{type:Number,default:Qi.offset},placement:{type:String,values:ffe,default:Qi.placement},zIndex:{type:Number,default:Qi.zIndex},grouping:{type:Boolean,default:Qi.grouping},repeatNum:{type:Number,default:Qi.repeatNum}}),Brt={destroy:()=>!0},Us=b5({}),Rrt=e=>(Us[e]||(Us[e]=b5([])),Us[e]),Lrt=(e,t)=>{const n=Us[t]||[],r=n.findIndex(o=>o.id===e),a=n[r];let i;return r>0&&(i=n[r-1]),{current:a,prev:i}},Ort=(e,t)=>{const{prev:n}=Lrt(e,t);return n?n.vm.exposed.bottom.value:0},Prt=(e,t,n)=>(Us[n]||[]).findIndex(i=>i.id===e)>0?16:t,Irt=["id"],Nrt=["innerHTML"],$rt=Ve({name:"ElMessage",__name:"message",props:Mrt,emits:Brt,setup(e,{expose:t,emit:n}){const{Close:r}=UO,a=e,i=n,o=j(!1),{ns:l,zIndex:s}=F9("message"),{currentZIndex:u,nextZIndex:c}=s,d=j(),f=j(!1),p=j(0);let h;const m=R(()=>a.type?a.type==="error"?"danger":a.type:"info"),v=R(()=>{const M=a.type;return{[l.bm("icon",M)]:M&&lp[M]}}),g=R(()=>a.icon||lp[a.type]||""),b=R(()=>a.placement||S2),C=R(()=>Ort(a.id,b.value)),y=R(()=>Prt(a.id,a.offset,b.value)+C.value),E=R(()=>p.value+y.value),w=R(()=>b.value.includes("left")?l.is("left"):b.value.includes("right")?l.is("right"):l.is("center")),S=R(()=>b.value.startsWith("top")?"top":"bottom"),A=R(()=>({[S.value]:`${y.value}px`,zIndex:u.value}));function D(){a.duration!==0&&({stop:h}=t0(()=>{x()},a.duration))}function k(){h==null||h()}function x(){f.value=!1,Oe(()=>{var M;o.value||((M=a.onClose)==null||M.call(a),i("destroy"))})}function _(M){Er(M)===dt.esc&&x()}return Ut(()=>{D(),c(),f.value=!0}),$e(()=>a.repeatNum,()=>{k(),D()}),ir(document,"keydown",_),zr(d,()=>{p.value=d.value.getBoundingClientRect().height}),t({visible:f,bottom:E,close:x}),(M,L)=>(H(),Ue(vi,{name:F(l).b("fade"),onBeforeEnter:L[0]||(L[0]=I=>o.value=!0),onBeforeLeave:M.onClose,onAfterLeave:L[1]||(L[1]=I=>M.$emit("destroy")),persisted:""},{default:Re(()=>[hn(ye("div",{id:M.id,ref_key:"messageRef",ref:d,class:J([F(l).b(),{[F(l).m(M.type)]:M.type},F(l).is("closable",M.showClose),F(l).is("plain",M.plain),F(l).is("bottom",S.value==="bottom"),w.value,M.customClass]),style:Pt(A.value),role:"alert",onMouseenter:k,onMouseleave:D},[M.repeatNum>1?(H(),Ue(F(Wse),{key:0,value:M.repeatNum,type:m.value,class:J(F(l).e("badge"))},null,8,["value","type","class"])):Pe("v-if",!0),g.value?(H(),Ue(F(Rt),{key:1,class:J([F(l).e("icon"),v.value])},{default:Re(()=>[(H(),Ue(ln(g.value)))]),_:1},8,["class"])):Pe("v-if",!0),We(M.$slots,"default",{},()=>[M.dangerouslyUseHTMLString?(H(),le(kt,{key:1},[Pe(" Caution here, message could've been compromised, never use user's input as message "),ye("p",{class:J(F(l).e("content")),innerHTML:M.message},null,10,Nrt)],2112)):(H(),le("p",{key:0,class:J(F(l).e("content"))},ft(M.message),3))]),M.showClose?(H(),Ue(F(Rt),{key:2,class:J(F(l).e("closeBtn")),onClick:Yt(x,["stop"])},{default:Re(()=>[be(F(r))]),_:1},8,["class"])):Pe("v-if",!0)],46,Irt),[[In,f.value]])]),_:3},8,["name","onBeforeLeave"]))}});var Vrt=yt($rt,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let Hrt=1;const zrt=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Bt(e.appendTo)){let n=document.querySelector(e.appendTo);rl(n)||(n=document.body),e.appendTo=n}},Wrt=e=>{!e.placement&&Bt(ro.placement)&&ro.placement&&(e.placement=ro.placement),e.placement||(e.placement=S2),ffe.includes(e.placement)||(e.placement=S2)},pfe=e=>{const t=!e||Bt(e)||sr(e)||Lt(e)?{message:e}:e,n=Te(Te({},Qi),t);return zrt(n),Wrt(n),hr(ro.grouping)&&!n.grouping&&(n.grouping=ro.grouping),$t(ro.duration)&&n.duration===3e3&&(n.duration=ro.duration),$t(ro.offset)&&n.offset===16&&(n.offset=ro.offset),hr(ro.showClose)&&!n.showClose&&(n.showClose=ro.showClose),hr(ro.plain)&&!n.plain&&(n.plain=ro.plain),n},Grt=e=>{const t=e.props.placement||S2,n=Us[t],r=n.indexOf(e);if(r===-1)return;n.splice(r,1);const{handler:a}=e;a.close()},jrt=(r,n)=>{var a=r,{appendTo:e}=a,t=Fo(a,["appendTo"]);const i=`message_${Hrt++}`,o=t.onClose,l=document.createElement("div"),s=Et(Te({},t),{id:i,onClose:()=>{o==null||o(),Grt(f)},onDestroy:()=>{uc(null,l)}}),u=be(Vrt,s,Lt(s.message)||sr(s.message)?{default:Lt(s.message)?s.message:()=>s.message}:null);u.appContext=n||Rm._context,uc(u,l),e.appendChild(l.firstElementChild);const c=u.component,f={id:i,vnode:u,vm:c,handler:{close:()=>{c.exposed.close()}},props:u.component.props};return f},Rm=(e={},t)=>{if(!Yn)return{close:()=>{}};const n=pfe(e),r=Rrt(n.placement||S2);if(n.grouping&&r.length){const i=r.find(({vnode:o})=>{var l;return((l=o.props)==null?void 0:l.message)===n.message});if(i)return i.props.repeatNum+=1,i.props.type=n.type,i.handler}if($t(ro.max)&&r.length>=ro.max)return{close:()=>{}};const a=jrt(n,t);return r.push(a),a.handler};dfe.forEach(e=>{Rm[e]=(t={},n)=>{const r=pfe(t);return Rm(Et(Te({},r),{type:e}),n)}});function Krt(e){for(const t in Us)if(qn(Us,t)){const n=[...Us[t]];for(const r of n)(!e||e===r.props.type)&&r.handler.close()}}function Urt(e){if(!Us[e])return;[...Us[e]].forEach(n=>n.handler.close())}Rm.closeAll=Krt;Rm.closeAllByPlacement=Urt;Rm._context=null;const k6=Zle(Rm,"$message"),gB="_trap-focus-children",Nh=[],XG=e=>{if(Nh.length===0)return;const t=Er(e),n=Nh[Nh.length-1][gB];if(n.length>0&&t===dt.tab){if(n.length===1){e.preventDefault(),document.activeElement!==n[0]&&n[0].focus();return}const r=e.shiftKey,a=e.target===n[0],i=e.target===n[n.length-1];a&&r&&(e.preventDefault(),n[n.length-1].focus()),i&&!r&&(e.preventDefault(),n[0].focus())}},qrt={beforeMount(e){e[gB]=Hz(e),Nh.push(e),Nh.length<=1&&document.addEventListener("keydown",XG)},updated(e){Oe(()=>{e[gB]=Hz(e)})},unmounted(){Nh.shift(),Nh.length===0&&document.removeEventListener("keydown",XG)}},Yrt=Ve({name:"ElMessageBox",directives:{TrapFocus:qrt},components:Te({ElButton:ci,ElFocusTrap:tg,ElInput:co,ElOverlay:_P,ElIcon:Rt},UO),inheritAttrs:!1,props:{buttonSize:{type:String,validator:Vce},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:r,ns:a,size:i}=F9("message-box",R(()=>e.buttonSize)),{t:o}=n,{nextZIndex:l}=r,s=j(!1),u=dn({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:Lo(pc),cancelButtonLoadingIcon:Lo(pc),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:l()}),c=R(()=>{const B=u.type;return{[a.bm("icon",B)]:B&&lp[B]}}),d=Li(),f=Li(),p=R(()=>{const B=u.type;return u.icon||B&&lp[B]||""}),h=R(()=>!!u.message),m=j(),v=j(),g=j(),b=j(),C=j(),y=R(()=>u.confirmButtonClass);$e(()=>u.inputValue,B=>Xt(null,null,function*(){yield Oe(),e.boxType==="prompt"&&B&&M()}),{immediate:!0}),$e(()=>s.value,B=>{var T,O;B&&(e.boxType!=="prompt"&&(u.autofocus?g.value=(O=(T=C.value)==null?void 0:T.$el)!=null?O:m.value:g.value=m.value),u.zIndex=l()),e.boxType==="prompt"&&(B?Oe().then(()=>{var N;b.value&&b.value.$el&&(u.autofocus?g.value=(N=L())!=null?N:m.value:g.value=m.value)}):(u.editorErrorMessage="",u.validateError=!1))});const E=R(()=>e.draggable),w=R(()=>e.overflow),{isDragging:S}=Zue(m,v,E,w);Ut(()=>Xt(null,null,function*(){yield Oe(),e.closeOnHashChange&&window.addEventListener("hashchange",A)})),Vn(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",A)});function A(){s.value&&(s.value=!1,Oe(()=>{u.action&&t("action",u.action)}))}const D=()=>{e.closeOnClickModal&&_(u.distinguishCancelAndClose?"close":"cancel")},k=kP(D),x=B=>{if(u.inputType!=="textarea")return B.preventDefault(),_("confirm")},_=B=>{var T;e.boxType==="prompt"&&B==="confirm"&&!M()||(u.action=B,u.beforeClose?(T=u.beforeClose)==null||T.call(u,B,u,A):A())},M=()=>{if(e.boxType==="prompt"){const B=u.inputPattern;if(B&&!B.test(u.inputValue||""))return u.editorErrorMessage=u.inputErrorMessage||o("el.messagebox.error"),u.validateError=!0,!1;const T=u.inputValidator;if(Lt(T)){const O=T(u.inputValue);if(O===!1)return u.editorErrorMessage=u.inputErrorMessage||o("el.messagebox.error"),u.validateError=!0,!1;if(Bt(O))return u.editorErrorMessage=O,u.validateError=!0,!1}}return u.editorErrorMessage="",u.validateError=!1,!0},L=()=>{var B,T;const O=(B=b.value)==null?void 0:B.$refs;return(T=O==null?void 0:O.input)!=null?T:O==null?void 0:O.textarea},I=()=>{_("close")},P=()=>{e.closeOnPressEscape&&I()};return e.lockScroll&&R9(s,{ns:a}),Et(Te({},Na(u)),{ns:a,overlayEvent:k,visible:s,hasMessage:h,typeClass:c,contentId:d,inputId:f,btnSize:i,iconComponent:p,confirmButtonClasses:y,rootRef:m,focusStartRef:g,headerRef:v,inputRef:b,isDragging:S,confirmRef:C,doClose:A,handleClose:I,onCloseRequested:P,handleWrapperClick:D,handleInputEnter:x,handleAction:_,t:o})}}),Jrt=["aria-label","aria-describedby"],Xrt=["aria-label"],Zrt=["id"];function Qrt(e,t,n,r,a,i){const o=en("el-icon"),l=en("el-input"),s=en("el-button"),u=en("el-focus-trap"),c=en("el-overlay");return H(),Ue(vi,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=d=>e.$emit("vanish")),persisted:""},{default:Re(()=>[hn(be(c,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:Re(()=>[ye("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:J(`${e.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...d)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...d)),onMousedown:t[9]||(t[9]=(...d)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...d)),onMouseup:t[10]||(t[10]=(...d)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...d))},[be(u,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:Re(()=>[ye("div",{ref:"rootRef",class:J([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:Pt(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=Yt(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(H(),le("div",{key:0,ref:"headerRef",class:J([e.ns.e("header"),{"show-close":e.showClose}])},[ye("div",{class:J(e.ns.e("title"))},[e.iconComponent&&e.center?(H(),Ue(o,{key:0,class:J([e.ns.e("status"),e.typeClass])},{default:Re(()=>[(H(),Ue(ln(e.iconComponent)))]),_:1},8,["class"])):Pe("v-if",!0),ye("span",null,ft(e.title),1)],2),e.showClose?(H(),le("button",{key:0,type:"button",class:J(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=d=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=ca(Yt(d=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[be(o,{class:J(e.ns.e("close"))},{default:Re(()=>[(H(),Ue(ln(e.closeIcon||"close")))]),_:1},8,["class"])],42,Xrt)):Pe("v-if",!0)],2)):Pe("v-if",!0),ye("div",{id:e.contentId,class:J(e.ns.e("content"))},[ye("div",{class:J(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(H(),Ue(o,{key:0,class:J([e.ns.e("status"),e.typeClass])},{default:Re(()=>[(H(),Ue(ln(e.iconComponent)))]),_:1},8,["class"])):Pe("v-if",!0),e.hasMessage?(H(),le("div",{key:1,class:J(e.ns.e("message"))},[We(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(H(),Ue(ln(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(H(),Ue(ln(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:ft(e.message)},null,8,["for","textContent"]))])],2)):Pe("v-if",!0)],2),hn(ye("div",{class:J(e.ns.e("input"))},[be(l,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=d=>e.inputValue=d),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:J({invalid:e.validateError}),onKeydown:ca(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),ye("div",{class:J(e.ns.e("errormsg")),style:Pt({visibility:e.editorErrorMessage?"visible":"hidden"})},ft(e.editorErrorMessage),7)],2),[[In,e.showInput]])],10,Zrt),ye("div",{class:J(e.ns.e("btns"))},[e.showCancelButton?(H(),Ue(s,{key:0,type:e.cancelButtonType==="text"?"":e.cancelButtonType,text:e.cancelButtonType==="text",loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:J([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=d=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=ca(Yt(d=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:Re(()=>[Cn(ft(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):Pe("v-if",!0),hn(be(s,{ref:"confirmRef",type:e.confirmButtonType==="text"?"":e.confirmButtonType,text:e.confirmButtonType==="text",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:J([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=d=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=ca(Yt(d=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:Re(()=>[Cn(ft(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[In,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,Jrt)]),_:3},8,["z-index","overlay-class","mask"]),[[In,e.visible]])]),_:3})}var eat=yt(Yrt,[["render",Qrt],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const A2=new Map,tat=e=>{let t=document.body;return e.appendTo&&(Bt(e.appendTo)&&(t=document.querySelector(e.appendTo)),rl(e.appendTo)&&(t=e.appendTo),rl(t)||(t=document.body)),t},nat=(e,t,n=null)=>{const r=be(eat,e,Lt(e.message)||sr(e.message)?{default:Lt(e.message)?e.message:()=>e.message}:null);return r.appContext=n,uc(r,t),tat(e).appendChild(t.firstElementChild),r.component},rat=()=>document.createElement("div"),aat=(e,t)=>{const n=rat();e.onVanish=()=>{uc(null,n),A2.delete(a)},e.onAction=i=>{const o=A2.get(a);let l;e.showInput?l={value:a.inputValue,action:i}:l=i,e.callback?e.callback(l,r.proxy):i==="cancel"||i==="close"?e.distinguishCancelAndClose&&i!=="cancel"?o.reject("close"):o.reject("cancel"):o.resolve(l)};const r=nat(e,n,t),a=r.proxy;for(const i in e)qn(e,i)&&!qn(a.$props,i)&&(i==="closeIcon"&&mn(e[i])?a[i]=Lo(e[i]):a[i]=e[i]);return a.visible=!0,a};function ag(e,t=null){if(!Yn)return Promise.reject();let n;return Bt(e)||sr(e)?e={message:e}:n=e.callback,new Promise((r,a)=>{const i=aat(e,t!=null?t:ag._context);A2.set(i,{options:e,callback:n,resolve:r,reject:a})})}const iat=["alert","confirm","prompt"],oat={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};iat.forEach(e=>{ag[e]=lat(e)});function lat(e){return(t,n,r,a)=>{let i="";return mn(n)?(r=n,i=""):On(n)?i="":i=n,ag(Object.assign(Te({title:i,message:t,type:""},oat[e]),r,{boxType:e}),a)}}ag.close=()=>{A2.forEach((e,t)=>{t.doClose()}),A2.clear()};ag._context=null;const ff=ag;ff.install=e=>{ff._context=e._context,e.config.globalProperties.$msgbox=ff,e.config.globalProperties.$messageBox=ff,e.config.globalProperties.$alert=ff.alert,e.config.globalProperties.$confirm=ff.confirm,e.config.globalProperties.$prompt=ff.prompt};const sat=ff,hfe=["primary","success","info","warning","error"],uat=pt({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:mr},id:{type:String,default:""},message:{type:ke([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:ke(Function),default:()=>{}},onClose:{type:ke(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...hfe,""],default:""},zIndex:Number,closeIcon:{type:mr,default:hs}}),cat={destroy:()=>!0},dat=["id"],fat=["textContent"],pat={key:0},hat=["innerHTML"],mat=Ve({name:"ElNotification",__name:"notification",props:uat,emits:cat,setup(e,{expose:t}){const n=e,{ns:r,zIndex:a}=F9("notification"),{nextZIndex:i,currentZIndex:o}=a,l=j(!1);let s;const u=R(()=>{const b=n.type;return b&&lp[n.type]?r.m(b):""}),c=R(()=>n.type&&lp[n.type]||n.icon),d=R(()=>n.position.endsWith("right")?"right":"left"),f=R(()=>n.position.startsWith("top")?"top":"bottom"),p=R(()=>{var b;return{[f.value]:`${n.offset}px`,zIndex:(b=n.zIndex)!=null?b:o.value}});function h(){n.duration>0&&({stop:s}=t0(()=>{l.value&&v()},n.duration))}function m(){s==null||s()}function v(){l.value=!1}function g(b){switch(Er(b)){case dt.delete:case dt.backspace:m();break;case dt.esc:l.value&&v();break;default:h();break}}return Ut(()=>{h(),i(),l.value=!0}),ir(document,"keydown",g),t({visible:l,close:v}),(b,C)=>(H(),Ue(vi,{name:F(r).b("fade"),onBeforeLeave:b.onClose,onAfterLeave:C[1]||(C[1]=y=>b.$emit("destroy")),persisted:""},{default:Re(()=>[hn(ye("div",{id:b.id,class:J([F(r).b(),b.customClass,d.value]),style:Pt(p.value),role:"alert",onMouseenter:m,onMouseleave:h,onClick:C[0]||(C[0]=(...y)=>b.onClick&&b.onClick(...y))},[c.value?(H(),Ue(F(Rt),{key:0,class:J([F(r).e("icon"),u.value])},{default:Re(()=>[(H(),Ue(ln(c.value)))]),_:1},8,["class"])):Pe("v-if",!0),ye("div",{class:J(F(r).e("group"))},[ye("h2",{class:J(F(r).e("title")),textContent:ft(b.title)},null,10,fat),hn(ye("div",{class:J(F(r).e("content")),style:Pt(b.title?void 0:{margin:0})},[We(b.$slots,"default",{},()=>[b.dangerouslyUseHTMLString?(H(),le(kt,{key:1},[Pe(" Caution here, message could've been compromised, never use user's input as message "),ye("p",{innerHTML:b.message},null,8,hat)],2112)):(H(),le("p",pat,ft(b.message),1))])],6),[[In,b.message]]),b.showClose?(H(),Ue(F(Rt),{key:0,class:J(F(r).e("closeBtn")),onClick:Yt(v,["stop"])},{default:Re(()=>[(H(),Ue(ln(b.closeIcon)))]),_:1},8,["class"])):Pe("v-if",!0)],2)],46,dat),[[In,l.value]])]),_:3},8,["name","onBeforeLeave"]))}});var vat=yt(mat,[["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const h0={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},_6=16;let gat=1;const Lm=function(e={},t){if(!Yn)return{close:()=>{}};(Bt(e)||sr(e))&&(e={message:e});const n=e.position||"top-right";let r=e.offset||0;h0[n].forEach(({vm:c})=>{var d;r+=(((d=c.el)==null?void 0:d.offsetHeight)||0)+_6}),r+=_6;const a=`notification_${gat++}`,i=e.onClose,o=Et(Te({},e),{offset:r,id:a,onClose:()=>{yat(a,n,i)}});let l=document.body;rl(e.appendTo)?l=e.appendTo:Bt(e.appendTo)&&(l=document.querySelector(e.appendTo)),rl(l)||(l=document.body);const s=document.createElement("div"),u=be(vat,o,Lt(o.message)?o.message:sr(o.message)?()=>o.message:null);return u.appContext=On(t)?Lm._context:t,u.props.onDestroy=()=>{uc(null,s)},uc(u,s),h0[n].push({vm:u}),l.appendChild(s.firstElementChild),{close:()=>{u.component.exposed.visible.value=!1}}};hfe.forEach(e=>{Lm[e]=(t={},n)=>((Bt(t)||sr(t))&&(t={message:t}),Lm(Et(Te({},t),{type:e}),n))});function yat(e,t,n){const r=h0[t],a=r.findIndex(({vm:u})=>{var c;return((c=u.component)==null?void 0:c.props.id)===e});if(a===-1)return;const{vm:i}=r[a];if(!i)return;n==null||n(i);const o=i.el.offsetHeight,l=t.split("-")[0];r.splice(a,1);const s=r.length;if(!(s<1))for(let u=a;u{t.component.exposed.visible.value=!1})}function Cat(e="top-right"){var t,n,r,a;let i=((r=(n=(t=h0[e][0])==null?void 0:t.vm.component)==null?void 0:n.props)==null?void 0:r.offset)||0;for(const{vm:o}of h0[e])o.component.props.offset=i,i+=(((a=o.el)==null?void 0:a.offsetHeight)||0)+_6}Lm.closeAll=bat;Lm.updateOffsets=Cat;Lm._context=null;const mfe=Zle(Lm,"$notify"),Fat={viewBox:"0 0 24 24",width:"1em",height:"1em"};function Eat(e,t){return H(),le("svg",Fat,[...t[0]||(t[0]=[ye("path",{fill:"currentColor",d:"M16 3h6v6h-2V5h-4zM2 3h6v2H4v4H2zm18 16v-4h2v6h-6v-2zM4 19h4v2H2v-6h2z"},null,-1)])])}const wat=Lo({name:"ri-fullscreen-fill",render:Eat}),Sat={viewBox:"0 0 24 24",width:"1em",height:"1em"};function Aat(e,t){return H(),le("svg",Sat,[...t[0]||(t[0]=[ye("path",{fill:"currentColor",d:"M18 7h4v2h-6V3h2zM8 9H2V7h4V3h2zm10 8v4h-2v-6h6v2zM8 15v6H6v-4H2v-2z"},null,-1)])])}const ZG=Lo({name:"ri-fullscreen-exit-fill",render:Aat}),Dat={key:0,class:"flex items-center justify-between"},Tat=["id"],kat=["onClick"],_at={key:1},xat=Ve({name:"ReDialog",__name:"index",setup(e){const t=j({}),n=j(!1),r=R(()=>l=>{var s;return((s=l==null?void 0:l.footerButtons)==null?void 0:s.length)>0?l.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({dialog:{options:u,index:c}})=>{const d=()=>uw(u,c,{command:"cancel"});u!=null&&u.beforeCancel&&pd(u==null?void 0:u.beforeCancel)?u.beforeCancel(d,{options:u,index:c}):d()}},{label:"确定",type:"primary",text:!0,bg:!0,popconfirm:l==null?void 0:l.popconfirm,btnClick:({dialog:{options:u,index:c}})=>{u!=null&&u.sureBtnLoading&&(t.value[c]=Object.assign({},t.value[c],{loading:!0}));const d=()=>{u!=null&&u.sureBtnLoading&&(t.value[c].loading=!1)},f=()=>{d(),uw(u,c,{command:"sure"})};u!=null&&u.beforeSure&&pd(u==null?void 0:u.beforeSure)?u.beforeSure(f,{options:u,index:c,closeLoading:d}):f()}}]}),a=R(()=>["el-icon","el-dialog__close","-translate-x-2","cursor-pointer","hover:text-[red]!"]);function i(l,s,u,c=!1){var d;if(c||(n.value=(d=s==null?void 0:s.fullscreen)!=null?d:!1),s!=null&&s[l]&&pd(s==null?void 0:s[l]))return s==null?void 0:s[l]({options:s,index:u})}function o(l,s,u={command:"close"}){uw(l,s,u),i("close",l,s)}return(l,s)=>{const u=en("IconifyIconOffline"),c=en("el-button"),d=en("el-popconfirm"),f=en("el-dialog");return H(!0),le(kt,null,En(F(m0),(p,h)=>(H(),Ue(f,tn({key:h},{ref_for:!0},p,{modelValue:p.visible,"onUpdate:modelValue":m=>p.visible=m,class:"pure-dialog",fullscreen:n.value?!0:!!(p!=null&&p.fullscreen),onClosed:m=>o(p,h),onOpened:m=>i("open",p,h),onOpenAutoFocus:m=>i("openAutoFocus",p,h),onCloseAutoFocus:m=>i("closeAutoFocus",p,h)}),Ri({default:Re(()=>[(H(),Ue(ln(p.contentRenderer({options:p,index:h})),tn({ref_for:!0},p==null?void 0:p.props,{onClose:m=>o(p,h,m)}),null,16,["onClose"]))]),_:2},[p!=null&&p.fullscreenIcon||p!=null&&p.headerRenderer?{name:"header",fn:Re(({close:m,titleId:v,titleClass:g})=>[p!=null&&p.fullscreenIcon?(H(),le("div",Dat,[ye("span",{id:v,class:J(g)},ft(p==null?void 0:p.title),11,Tat),p!=null&&p.fullscreen?Pe("",!0):(H(),le("i",{key:0,class:J(a.value),onClick:()=>{n.value=!n.value,i("fullscreenCallBack",Et(Te({},p),{fullscreen:n.value}),h,!0)}},[be(u,{class:"pure-dialog-svg",icon:p!=null&&p.fullscreen||n.value?F(ZG):F(wat)},null,8,["icon"])],10,kat))])):(H(),Ue(ln(p==null?void 0:p.headerRenderer({close:m,titleId:v,titleClass:g})),{key:1}))]),key:"0"}:void 0,p!=null&&p.hideFooter?void 0:{name:"footer",fn:Re(()=>[p!=null&&p.footerRenderer?(H(),Ue(ln(p==null?void 0:p.footerRenderer({options:p,index:h})),{key:0})):(H(),le("span",_at,[(H(!0),le(kt,null,En(r.value(p),(m,v)=>{var g;return H(),le(kt,{key:v},[m.popconfirm?(H(),Ue(d,tn({key:0,ref_for:!0},m.popconfirm,{onConfirm:b=>m.btnClick({dialog:{options:p,index:h},button:{btn:m,index:v}})}),{reference:Re(()=>[be(c,tn({ref_for:!0},m),{default:Re(()=>[Cn(ft(m==null?void 0:m.label),1)]),_:2},1040)]),_:2},1040,["onConfirm"])):(H(),Ue(c,tn({key:1,ref_for:!0},m,{loading:v===1&&((g=t.value[h])==null?void 0:g.loading),onClick:b=>m.btnClick({dialog:{options:p,index:h},button:{btn:m,index:v}})}),{default:Re(()=>[Cn(ft(m==null?void 0:m.label),1)]),_:2},1040,["loading","onClick"]))],64)}),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","fullscreen","onClosed","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}});function D2(e,t){return j0()?(K0(e,t),!0):!1}const T2=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const Mat=e=>typeof e!="undefined",Bat=Object.prototype.toString,Rat=e=>Bat.call(e)==="[object Object]",p1=()=>{};function Lat(e,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}function Oat(e,t={}){let n,r,a=p1;const i=s=>{clearTimeout(s),a(),a=p1};let o;return s=>{const u=Yr(e),c=Yr(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=void 0),Promise.resolve(s())):new Promise((d,f)=>{a=t.rejectOnCancel?f:d,o=s,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,d(o())},c)),n=setTimeout(()=>{r&&i(r),r=void 0,d(s())},u)})}}function Pat(e,t=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(t?()=>a(n):r,e)})}function vfe(e){return e}function sw(e){return Array.isArray(e)?e:[e]}function gfe(e){return Jt()}function Bxt(e,t=200,n={}){return Lat(Oat(t,n),e)}function Iat(e,t=!0,n){gfe()?Ut(e,n):t?e():Oe(e)}function Rxt(e,t){gfe()&&la(e,t)}function Lxt(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n;let i=null;const o=Zn(!1);function l(){i&&(clearInterval(i),i=null)}function s(){o.value=!1,l()}function u(){const c=Yr(t);c<=0||(o.value=!0,a&&e(),l(),o.value&&(i=setInterval(e,c)))}return r&&T2&&u(),(Gn(t)||typeof t=="function")&&D2($e(t,()=>{o.value&&T2&&u()})),D2(s),{isActive:iO(o),pause:s,resume:u}}function e4(e,t,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=Zn(!1);let o;function l(){o&&(clearTimeout(o),o=void 0)}function s(){i.value=!1,l()}function u(...c){a&&e(),l(),i.value=!0,o=setTimeout(()=>{i.value=!1,o=void 0,e(...c)},Yr(t))}return r&&(i.value=!0,T2&&u()),D2(s),{isPending:iO(i),start:u,stop:s}}function Nat(e,t,n){return $e(e,t,Et(Te({},n),{immediate:!0}))}const z9=T2?window:void 0,$at=T2?window.document:void 0;function $h(e){var t;const n=Yr(e);return(t=n==null?void 0:n.$el)!==null&&t!==void 0?t:n}function qs(...e){const t=(r,a,i,o)=>(r.addEventListener(a,i,o),()=>r.removeEventListener(a,i,o)),n=R(()=>{const r=sw(Yr(e[0])).filter(a=>a!=null);return r.every(a=>typeof a!="string")?r:void 0});return Nat(()=>{var r,a;return[(r=(a=n.value)===null||a===void 0?void 0:a.map(i=>$h(i)))!==null&&r!==void 0?r:[z9].filter(i=>i!=null),sw(Yr(n.value?e[1]:e[0])),sw(F(n.value?e[2]:e[1])),Yr(n.value?e[3]:e[2])]},([r,a,i,o],l,s)=>{if(!(r!=null&&r.length)||!(a!=null&&a.length)||!(i!=null&&i.length))return;const u=Rat(o)?Te({},o):o,c=r.flatMap(d=>a.flatMap(f=>i.map(p=>t(d,f,p,u))));s(()=>{c.forEach(d=>d())})},{flush:"post"})}function Oxt(e,t,n={}){const{window:r=z9,ignore:a=[],capture:i=!0,detectIframe:o=!1,controls:l=!1}=n;if(!r)return l?{stop:p1,cancel:p1,trigger:p1}:p1;let s=!0;const u=v=>Yr(a).some(g=>{if(typeof g=="string")return Array.from(r.document.querySelectorAll(g)).some(b=>b===v.target||v.composedPath().includes(b));{const b=$h(g);return b&&(v.target===b||v.composedPath().includes(b))}});function c(v){const g=Yr(v);return g&&g.$.subTree.shapeFlag===16}function d(v,g){const b=Yr(v),C=b.$.subTree&&b.$.subTree.children;return C==null||!Array.isArray(C)?!1:C.some(y=>y.el===g.target||g.composedPath().includes(y.el))}const f=v=>{const g=$h(e);if(v.target!=null&&!(!(g instanceof Element)&&c(e)&&d(e,v))&&!(!g||g===v.target||v.composedPath().includes(g))){if("detail"in v&&v.detail===0&&(s=!u(v)),!s){s=!0;return}t(v)}};let p=!1;const h=[qs(r,"click",v=>{p||(p=!0,setTimeout(()=>{p=!1},0),f(v))},{passive:!0,capture:i}),qs(r,"pointerdown",v=>{const g=$h(e);s=!u(v)&&!!(g&&!v.composedPath().includes(g))},{passive:!0}),o&&qs(r,"blur",v=>{setTimeout(()=>{var g;const b=$h(e);((g=r.document.activeElement)===null||g===void 0?void 0:g.tagName)==="IFRAME"&&!(b!=null&&b.contains(r.document.activeElement))&&t(v)},0)},{passive:!0})].filter(Boolean),m=()=>h.forEach(v=>v());return l?{stop:m,cancel:()=>{s=!1},trigger:v=>{s=!0,f(v),s=!1}}:m}function Vat(){const e=Zn(!1),t=Jt();return t&&Ut(()=>{e.value=!0},t),e}function Hat(e){const t=Vat();return R(()=>(t.value,!!e()))}function zat(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Pxt(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=z9,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=r,s=zat(t);return qs(a,i,c=>{c.repeat&&Yr(l)||s(c)&&n(c)},o)}function Wat(e){return JSON.parse(JSON.stringify(e))}const QG=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Ixt(e,t={}){const{document:n=$at,autoExit:r=!1}=t,a=R(()=>{var b;return(b=$h(e))!==null&&b!==void 0?b:n==null?void 0:n.documentElement}),i=Zn(!1),o=R(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||a.value&&b in a.value)),l=R(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||a.value&&b in a.value)),s=R(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||a.value&&b in a.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),c=Hat(()=>a.value&&n&&o.value!==void 0&&l.value!==void 0&&s.value!==void 0),d=()=>u?(n==null?void 0:n[u])===a.value:!1,f=()=>{if(s.value){if(n&&n[s.value]!=null)return n[s.value];{const b=a.value;if((b==null?void 0:b[s.value])!=null)return!!b[s.value]}}return!1};function p(){return Xt(this,null,function*(){if(!(!c.value||!i.value)){if(l.value)if((n==null?void 0:n[l.value])!=null)yield n[l.value]();else{const b=a.value;(b==null?void 0:b[l.value])!=null&&(yield b[l.value]())}i.value=!1}})}function h(){return Xt(this,null,function*(){if(!c.value||i.value)return;f()&&(yield p());const b=a.value;o.value&&(b==null?void 0:b[o.value])!=null&&(yield b[o.value](),i.value=!0)})}function m(){return Xt(this,null,function*(){yield i.value?p():h()})}const v=()=>{const b=f();(!b||b&&d())&&(i.value=b)},g={capture:!1,passive:!0};return qs(n,QG,v,g),qs(()=>$h(a),QG,v,g),Iat(v,!1),r&&D2(p),{isSupported:c,isFullscreen:i,enter:h,exit:p,toggle:m}}const Gat={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]},Nxt=Object.assign({},{linear:vfe},Gat);function jat([e,t,n,r]){const a=(c,d)=>1-3*d+3*c,i=(c,d)=>3*d-6*c,o=c=>3*c,l=(c,d,f)=>((a(d,f)*c+i(d,f))*c+o(d))*c,s=(c,d,f)=>3*a(d,f)*c*c+2*i(d,f)*c+o(d),u=c=>{let d=c;for(let f=0;f<4;++f){const p=s(d,e,n);if(p===0)return d;const h=l(d,e,n)-c;d-=h/p}return d};return c=>e===t&&n===r?c:l(u(c),t,r)}function ej(e,t,n){return e+n*(t-e)}function Kat(e,t,n){const r=Yr(e),a=Yr(t);if(typeof r=="number"&&typeof a=="number")return ej(r,a,n);if(Array.isArray(r)&&Array.isArray(a))return r.map((i,o)=>ej(i,Yr(a[o]),n));throw new TypeError("Unknown transition type, specify an interpolation function.")}function tj(e){var t;return typeof e=="function"?e:(t=Yr(e))!==null&&t!==void 0?t:vfe}function Uat(e,t,n,r={}){var a;const{window:i=z9}=r,o=Yr(t),l=Yr(n),s=(a=Yr(r.duration))!==null&&a!==void 0?a:1e3,u=Date.now(),c=Date.now()+s,d=typeof r.interpolation=="function"?r.interpolation:Kat,f=typeof r.easing!="undefined"?tj(r.easing):tj(r.transition),p=typeof f=="function"?f:jat(f);return new Promise(h=>{e.value=o;const m=()=>{var v;if(!((v=r.abort)===null||v===void 0)&&v.call(r)){h();return}const g=Date.now();e.value=d(o,l,p((g-u)/s)),g{const i=Yr(e);return typeof t.interpolation=="undefined"&&Array.isArray(i)?i.map(Yr):i},a=Zn(r());return $e(r,i=>Xt(null,null,function*(){var o,l;if(Yr(t.disabled))return;const s=++n;t.delay&&(yield Pat(Yr(t.delay))),s===n&&((o=t.onStarted)===null||o===void 0||o.call(t),yield Uat(a,a.value,i,Et(Te({},t),{abort:()=>{var u;return s!==n||((u=t.abort)===null||u===void 0?void 0:u.call(t))}})),(l=t.onFinished)===null||l===void 0||l.call(t))}),{deep:!0}),$e(()=>Yr(t.disabled),i=>{i&&(n++,a.value=r())}),D2(()=>{n++}),R(()=>Yr(t.disabled)?r():a.value)}function Vxt(e,t,n,r={}){var a,i;const{clone:o=!1,passive:l=!1,eventName:s,deep:u=!1,defaultValue:c,shouldEmit:d}=r,f=Jt(),p=n||(f==null?void 0:f.emit)||(f==null||(a=f.$emit)===null||a===void 0?void 0:a.bind(f))||(f==null||(i=f.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(f==null?void 0:f.proxy));let h=s;h=h||`update:${t.toString()}`;const m=b=>o?typeof o=="function"?o(b):Wat(b):b,v=()=>Mat(e[t])?m(e[t]):c,g=b=>{d?d(b)&&p(h,b):p(h,b)};if(l){const b=j(v());let C=!1;return $e(()=>e[t],y=>{C||(C=!0,b.value=m(y),Oe(()=>C=!1))}),$e(b,y=>{!C&&(y!==e[t]||u)&&g(y)},{deep:u}),b}else return R({get(){return v()},set(b){g(b)}})}const m0=j([]),Hxt=e=>{const t=()=>m0.value.push(Object.assign(e,{visible:!0}));e!=null&&e.openDelay?e4(()=>{t()},e.openDelay):t()},uw=(e,t,n)=>{var a;m0.value[t].visible=!1,e.closeCallBack&&e.closeCallBack({options:e,index:t,args:n});const r=(a=e==null?void 0:e.closeDelay)!=null?a:200;e4(()=>{m0.value.splice(t,1)},r)},zxt=(e,t="title",n=0)=>{m0.value[n][t]=e},Wxt=()=>{m0.value=[]},qat=Goe(xat),Yat={key:1},Jat=Ve({name:"ReDrawer",__name:"index",setup(e){const t=j({}),n=R(()=>i=>{var o;return((o=i==null?void 0:i.footerButtons)==null?void 0:o.length)>0?i.footerButtons:[{label:"取消",text:!0,bg:!0,btnClick:({drawer:{options:l,index:s}})=>{const u=()=>cw(l,s,{command:"cancel"});l!=null&&l.beforeCancel&&pd(l==null?void 0:l.beforeCancel)?l.beforeCancel(u,{options:l,index:s}):u()}},{label:"确定",type:"primary",text:!0,bg:!0,popConfirm:i==null?void 0:i.popConfirm,btnClick:({drawer:{options:l,index:s}})=>{l!=null&&l.sureBtnLoading&&(t.value[s]=Object.assign({},t.value[s],{loading:!0}));const u=()=>{l!=null&&l.sureBtnLoading&&(t.value[s].loading=!1)},c=()=>{u(),cw(l,s,{command:"sure"})};l!=null&&l.beforeSure&&pd(l==null?void 0:l.beforeSure)?l.beforeSure(c,{options:l,index:s,closeLoading:u}):c()}}]});function r(i,o,l){if(o!=null&&o[i]&&pd(o==null?void 0:o[i]))return o==null?void 0:o[i]({options:o,index:l})}function a(i,o,l={command:"close"}){cw(i,o,l),r("close",i,o)}return(i,o)=>{const l=en("el-button"),s=en("el-popconfirm"),u=en("el-drawer");return H(!0),le(kt,null,En(F(v0),(c,d)=>(H(),Ue(u,tn({key:d},{ref_for:!0},c,{modelValue:c.visible,"onUpdate:modelValue":f=>c.visible=f,class:"pure-drawer","append-to-body":!!(c!=null&&c.appendToBody),"append-to":c!=null&&c.appendTo?c.appendTo:"body","destroy-on-close":!!(c!=null&&c.destroyOnClose),"lock-scroll":!!(c!=null&&c.lockScroll),onClosed:f=>a(c,d),onOpened:f=>r("open",c,d),onOpenAutoFocus:f=>r("openAutoFocus",c,d),onCloseAutoFocus:f=>r("closeAutoFocus",c,d)}),Ri({default:Re(()=>[(H(),Ue(ln(c.contentRenderer({options:c,index:d})),tn({ref_for:!0},c==null?void 0:c.props,{onClose:f=>a(c,d,f)}),null,16,["onClose"]))]),_:2},[c!=null&&c.headerRenderer?{name:"header",fn:Re(({close:f,titleId:p,titleClass:h})=>[(H(),Ue(ln(c==null?void 0:c.headerRenderer({close:f,titleId:p,titleClass:h}))))]),key:"0"}:void 0,c!=null&&c.hideFooter?void 0:{name:"footer",fn:Re(()=>[c!=null&&c.footerRenderer?(H(),Ue(ln(c==null?void 0:c.footerRenderer({options:c,index:d})),{key:0})):(H(),le("span",Yat,[(H(!0),le(kt,null,En(n.value(c),(f,p)=>{var h;return H(),le(kt,{key:p},[f.popConfirm?(H(),Ue(s,tn({key:0,ref_for:!0},f.popConfirm,{onConfirm:m=>f.btnClick({drawer:{options:c,index:d},button:{btn:f,index:p}})}),{reference:Re(()=>[be(l,tn({ref_for:!0},f),{default:Re(()=>[Cn(ft(f==null?void 0:f.label),1)]),_:2},1040)]),_:2},1040,["onConfirm"])):(H(),Ue(l,tn({key:1,ref_for:!0},f,{loading:p===1&&((h=t.value[d])==null?void 0:h.loading),onClick:m=>f.btnClick({drawer:{options:c,index:d},button:{btn:f,index:p}})}),{default:Re(()=>[Cn(ft(f==null?void 0:f.label),1)]),_:2},1040,["loading","onClick"]))],64)}),128))]))]),key:"1"}]),1040,["modelValue","onUpdate:modelValue","append-to-body","append-to","destroy-on-close","lock-scroll","onClosed","onOpened","onOpenAutoFocus","onCloseAutoFocus"]))),128)}}}),v0=j([]),Gxt=e=>{const t=()=>v0.value.push(Object.assign(e,{visible:!0}));e!=null&&e.openDelay?e4(()=>{t()},e.openDelay):t()},cw=(e,t,n)=>{var a;v0.value[t].visible=!1,e.closeCallBack&&e.closeCallBack({options:e,index:t,args:n});const r=(a=e==null?void 0:e.closeDelay)!=null?a:200;e4(()=>{v0.value.splice(t,1)},r)},jxt=(e,t="title",n=0)=>{v0.value[n][t]=e},Kxt=()=>{v0.value=[]},Xat=Goe(Jat);var yfe={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}"}}},Zat={name:"en",plus:{dialog:{confirmText:"Yes",cancelText:"No",title:"Dialog"},datepicker:{startPlaceholder:"Please select start time",endPlaceholder:"Please select end time"},dialogForm:{title:"Dialog form"},drawerForm:{title:"Drawer form",confirmText:"Yes",cancelText:"No"},form:{submitText:"Submit",resetText:"Reset",errorTip:"Please complete the form and submit again!"},field:{pleaseEnter:"Please enter ",pleaseSelect:"Please select "},popover:{confirmText:"Yes",cancelText:"No"},search:{searchText:"Search",resetText:"Reset",expand:"Expand",retract:"Retract"},table:{title:"Table",density:"Density",refresh:"Refresh",columnSettings:"Column settings",selectAll:"Select all",default:"Default",loose:"Loose",compact:"Compact",action:"Action",more:"More",confirmToPerformThisOperation:"Confirm to perform this operation?",prompt:"Prompt",sort:"Sort",resetText:"Reset"},stepsForm:{nextText:"Next step",preText:"Previous step",submitText:"Submit"},inputTag:{placeholder:"Please enter keywords and press enter or space key"},header:{logout:"logout"}}},Qat={name:"zh-cn",plus:{dialog:{confirmText:"确定",cancelText:"取消",title:"弹窗"},datepicker:{startPlaceholder:"请选择开始时间",endPlaceholder:"请选择结束时间"},dialogForm:{title:"弹窗表单"},drawerForm:{title:"抽屉表单",confirmText:"确定",cancelText:"取消"},form:{submitText:"提交",resetText:"重置",errorTip:"请完整填写表单然后再次提交!"},field:{pleaseEnter:"请输入",pleaseSelect:"请选择"},popover:{confirmText:"确定",cancelText:"取消"},search:{searchText:"搜索",resetText:"重置",expand:"展开",retract:"收起"},table:{title:"表格",density:"密度",refresh:"刷新",columnSettings:"列设置",selectAll:"全选",default:"默认",loose:"宽松",compact:"紧凑",action:"操作",more:"更多",confirmToPerformThisOperation:"确定执行本次操作?",prompt:"提示",sort:"排序",resetText:"重置"},stepsForm:{nextText:"下一步",preText:"上一步",submitText:"提交"},inputTag:{placeholder:"请输入关键字后按回车/空格键"},header:{logout:"退出登录"}}};const eit={VITE_PUBLIC_PATH:"/vue-pure-admin/"};var tit={pkg:{name:"vue-pure-admin",version:"6.3.0"}};const nit=Ve({name:"app",components:{[c6.name]:c6,ReDialog:qat,ReDrawer:Xat},setup(){const{$storage:e}=Qv();return{currentLocale:R(()=>{var n;return((n=e.locale)==null?void 0:n.locale)==="zh"?Te(Te({},yfe),Qat):Te(Te({},zO),Zat)})}},beforeCreate(){const{version:e,name:t}=tit.pkg,{VITE_PUBLIC_PATH:n}=eit;bDe({pollingTime:3e5,localPackageVersion:e,originVersionFileUrl:`${location.origin}${n}version.json`},{title:t,description:"检测到新版本",buttonText:"立即更新"})},mounted(){mfe({title:"高级服务",duration:0,customClass:"fullpage-notification",style:{width:"280px"},position:"bottom-right",dangerouslyUseHTMLString:!0,message:` 限时活动即将结束! `})}}),bfe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n};function rit(e,t,n,r,a,i){const o=en("router-view"),l=en("ReDialog"),s=en("ReDrawer"),u=en("el-config-provider");return H(),Ue(u,{locale:e.currentLocale},{default:Re(()=>[be(o),be(l),be(s)]),_:1},8,["locale"])}const ait=bfe(nit,[["render",rit]]),iit="modulepreload",oit=function(e){return"/vue-pure-admin/"+e},nj={},Be=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let s=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=s(n.map(u=>{if(u=oit(u),u in nj)return;nj[u]=!0;const c=u.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":iit,c||(f.as="script"),f.crossOrigin="",f.href=u,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((p,h)=>{f.addEventListener("load",p),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return a.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},lit={buttons:{pureAccountSettings:{t:0,b:{t:2,i:[{t:3}],s:"Account"}},pureLoginOut:{t:0,b:{t:2,i:[{t:3}],s:"LoginOut"}},pureLogin:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},pureOpenSystemSet:{t:0,b:{t:2,i:[{t:3}],s:"Open System Configs"}},pureReload:{t:0,b:{t:2,i:[{t:3}],s:"Reload"}},pureCloseCurrentTab:{t:0,b:{t:2,i:[{t:3}],s:"Close CurrentTab"}},pureCloseLeftTabs:{t:0,b:{t:2,i:[{t:3}],s:"Close LeftTabs"}},pureCloseRightTabs:{t:0,b:{t:2,i:[{t:3}],s:"Close RightTabs"}},pureCloseOtherTabs:{t:0,b:{t:2,i:[{t:3}],s:"Close OtherTabs"}},pureCloseAllTabs:{t:0,b:{t:2,i:[{t:3}],s:"Close AllTabs"}},pureContentFullScreen:{t:0,b:{t:2,i:[{t:3}],s:"Content FullScreen"}},pureContentExitFullScreen:{t:0,b:{t:2,i:[{t:3}],s:"Content ExitFullScreen"}},pureClickCollapse:{t:0,b:{t:2,i:[{t:3}],s:"Collapse"}},pureClickExpand:{t:0,b:{t:2,i:[{t:3}],s:"Expand"}},pureConfirm:{t:0,b:{t:2,i:[{t:3}],s:"Confirm"}},pureSwitch:{t:0,b:{t:2,i:[{t:3}],s:"Switch"}},pureClose:{t:0,b:{t:2,i:[{t:3}],s:"Close"}},pureBackTop:{t:0,b:{t:2,i:[{t:3}],s:"BackTop"}},pureOpenText:{t:0,b:{t:2,i:[{t:3}],s:"Open"}},pureCloseText:{t:0,b:{t:2,i:[{t:3}],s:"Close"}}},search:{pureTotal:{t:0,b:{t:2,i:[{t:3}],s:"Total"}},pureHistory:{t:0,b:{t:2,i:[{t:3}],s:"History"}},pureCollect:{t:0,b:{t:2,i:[{t:3}],s:"Collect"}},pureDragSort:{t:0,b:{t:2,i:[{t:3}],s:"(Drag Sort)"}},pureEmpty:{t:0,b:{t:2,i:[{t:3}],s:"Empty"}},purePlaceholder:{t:0,b:{t:2,i:[{t:3}],s:"Search Menu"}}},panel:{pureSystemSet:{t:0,b:{t:2,i:[{t:3}],s:"System Configs"}},pureCloseSystemSet:{t:0,b:{t:2,i:[{t:3}],s:"Close System Configs"}},pureClearCacheAndToLogin:{t:0,b:{t:2,i:[{t:3}],s:"Clear cache and return to login page"}},pureClearCache:{t:0,b:{t:2,i:[{t:3}],s:"Clear Cache"}},pureThemeMode:{t:0,b:{t:2,i:[{t:3}],s:"Theme Mode"}},pureThemeModeLight:{t:0,b:{t:2,i:[{t:3}],s:"Light"}},pureThemeModeLightTip:{t:0,b:{t:2,i:[{t:3}],s:"Set sail freshly and light up the comfortable work interface"}},pureThemeModeDark:{t:0,b:{t:2,i:[{t:3}],s:"Dark"}},pureThemeModeDarkTip:{t:0,b:{t:2,i:[{t:3}],s:"Moonlight Overture, indulge in the tranquility and elegance of the night"}},pureThemeModeSystem:{t:0,b:{t:2,i:[{t:3}],s:"Auto"}},pureThemeModeSystemTip:{t:0,b:{t:2,i:[{t:3}],s:"Synchronize time, the interface naturally responds to morning and dusk"}},pureThemeColor:{t:0,b:{t:2,i:[{t:3}],s:"Theme Color"}},pureMenuLayout:{t:0,b:{t:2,i:[{t:3}],s:"Menu Layout"}},pureVerticalTip:{t:0,b:{t:2,i:[{t:3}],s:"The menu on the left is familiar and friendly"}},pureHorizontalTip:{t:0,b:{t:2,i:[{t:3}],s:"Top menu, concise overview"}},pureMixTip:{t:0,b:{t:2,i:[{t:3}],s:"Mixed menu, flexible"}},pureStretch:{t:0,b:{t:2,i:[{t:3}],s:"Stretch Page"}},pureStretchFixed:{t:0,b:{t:2,i:[{t:3}],s:"Fixed"}},pureStretchFixedTip:{t:0,b:{t:2,i:[{t:3}],s:"Compact pages make it easy to find the information you need"}},pureStretchCustom:{t:0,b:{t:2,i:[{t:3}],s:"Custom"}},pureStretchCustomTip:{t:0,b:{t:2,i:[{t:3}],s:"Minimum 1280, maximum 1600"}},pureTagsStyle:{t:0,b:{t:2,i:[{t:3}],s:"Tags Style"}},pureTagsStyleSmart:{t:0,b:{t:2,i:[{t:3}],s:"Smart"}},pureTagsStyleSmartTip:{t:0,b:{t:2,i:[{t:3}],s:"Smart tags add fun and brilliance"}},pureTagsStyleCard:{t:0,b:{t:2,i:[{t:3}],s:"Card"}},pureTagsStyleCardTip:{t:0,b:{t:2,i:[{t:3}],s:"Card tags for efficient browsing"}},pureTagsStyleChrome:{t:0,b:{t:2,i:[{t:3}],s:"Chrome"}},pureTagsStyleChromeTip:{t:0,b:{t:2,i:[{t:3}],s:"Chrome style is classic and elegant"}},pureInterfaceDisplay:{t:0,b:{t:2,i:[{t:3}],s:"Interface Display"}},pureGreyModel:{t:0,b:{t:2,i:[{t:3}],s:"Grey Model"}},pureWeakModel:{t:0,b:{t:2,i:[{t:3}],s:"Weak Model"}},pureHiddenTags:{t:0,b:{t:2,i:[{t:3}],s:"Hidden Tags"}},pureHiddenFooter:{t:0,b:{t:2,i:[{t:3}],s:"Hidden Footer"}},pureMultiTagsCache:{t:0,b:{t:2,i:[{t:3}],s:"MultiTags Cache"}}},menus:{pureHome:{t:0,b:{t:2,i:[{t:3}],s:"Home"}},pureLogin:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},pureEmpty:{t:0,b:{t:2,i:[{t:3}],s:"Empty Page"}},pureTable:{t:0,b:{t:2,i:[{t:3}],s:"Table"}},pureSysManagement:{t:0,b:{t:2,i:[{t:3}],s:"System Manage"}},pureUser:{t:0,b:{t:2,i:[{t:3}],s:"User Manage"}},pureRole:{t:0,b:{t:2,i:[{t:3}],s:"Role Manage"}},pureSystemMenu:{t:0,b:{t:2,i:[{t:3}],s:"Menu Manage"}},pureDept:{t:0,b:{t:2,i:[{t:3}],s:"Dept Manage"}},pureSysMonitor:{t:0,b:{t:2,i:[{t:3}],s:"System Monitor"}},pureOnlineUser:{t:0,b:{t:2,i:[{t:3}],s:"Online User"}},pureLoginLog:{t:0,b:{t:2,i:[{t:3}],s:"Login Log"}},pureOperationLog:{t:0,b:{t:2,i:[{t:3}],s:"Operation Log"}},pureSystemLog:{t:0,b:{t:2,i:[{t:3}],s:"System Log"}},pureCodeMirror:{t:0,b:{t:2,i:[{t:3}],s:"CodeMirror"}},pureMarkdown:{t:0,b:{t:2,i:[{t:3}],s:"Markdown"}},pureEditor:{t:0,b:{t:2,i:[{t:3}],s:"Editor"}},pureAbnormal:{t:0,b:{t:2,i:[{t:3}],s:"Abnormal Page"}},purePageNotFound:{t:0,b:{t:2,i:[{t:3}],s:"404"}},pureAccessDenied:{t:0,b:{t:2,i:[{t:3}],s:"403"}},pureServerError:{t:0,b:{t:2,i:[{t:3}],s:"500"}},pureComponents:{t:0,b:{t:2,i:[{t:3}],s:"Components"}},pureDialog:{t:0,b:{t:2,i:[{t:3}],s:"Dialog"}},pureDrawer:{t:0,b:{t:2,i:[{t:3}],s:"Drawer"}},pureMessage:{t:0,b:{t:2,i:[{t:3}],s:"Message Tips"}},pureVideo:{t:0,b:{t:2,i:[{t:3}],s:"Video"}},pureSegmented:{t:0,b:{t:2,i:[{t:3}],s:"Segmented"}},pureWaterfall:{t:0,b:{t:2,i:[{t:3}],s:"Waterfall"}},pureMap:{t:0,b:{t:2,i:[{t:3}],s:"Map"}},pureDraggable:{t:0,b:{t:2,i:[{t:3}],s:"Draggable"}},pureSplitPane:{t:0,b:{t:2,i:[{t:3}],s:"Split Pane"}},pureText:{t:0,b:{t:2,i:[{t:3}],s:"Text Ellipsis"}},pureSlider:{t:0,b:{t:2,i:[{t:3}],s:"Slider"}},pureElButton:{t:0,b:{t:2,i:[{t:3}],s:"Button"}},pureButton:{t:0,b:{t:2,i:[{t:3}],s:"Button Animation"}},pureCheckButton:{t:0,b:{t:2,i:[{t:3}],s:"Check Button"}},pureCropping:{t:0,b:{t:2,i:[{t:3}],s:"Picture Cropping"}},pureAnimatecss:{t:0,b:{t:2,i:[{t:3}],s:"AnimateCss Selector"}},pureCountTo:{t:0,b:{t:2,i:[{t:3}],s:"Digital Animation"}},pureSelector:{t:0,b:{t:2,i:[{t:3}],s:"Scope Selector"}},pureFlowChart:{t:0,b:{t:2,i:[{t:3}],s:"Flow Chart"}},pureSeamless:{t:0,b:{t:2,i:[{t:3}],s:"Seamless Scroll"}},pureContextmenu:{t:0,b:{t:2,i:[{t:3}],s:"Context Menu"}},pureTypeit:{t:0,b:{t:2,i:[{t:3}],s:"Typeit"}},pureJsonEditor:{t:0,b:{t:2,i:[{t:3}],s:"JSON Editor"}},pureColorPicker:{t:0,b:{t:2,i:[{t:3}],s:"Color Picker"}},pureColorPickerPanel:{t:0,b:{t:2,i:[{t:3}],s:"Color PickerPanel"}},pureDatePicker:{t:0,b:{t:2,i:[{t:3}],s:"Date Picker"}},pureDateTimePicker:{t:0,b:{t:2,i:[{t:3}],s:"DateTimePicker"}},pureTimePicker:{t:0,b:{t:2,i:[{t:3}],s:"TimePicker"}},pureTag:{t:0,b:{t:2,i:[{t:3}],s:"Tag"}},pureStatistic:{t:0,b:{t:2,i:[{t:3}],s:"Statistic"}},pureCollapse:{t:0,b:{t:2,i:[{t:3}],s:"Collapse"}},pureGanttastic:{t:0,b:{t:2,i:[{t:3}],s:"Gantt Chart"}},pureProgress:{t:0,b:{t:2,i:[{t:3}],s:"Progress"}},pureUpload:{t:0,b:{t:2,i:[{t:3}],s:"File Upload"}},pureCheckCard:{t:0,b:{t:2,i:[{t:3}],s:"CheckCard"}},pureMenus:{t:0,b:{t:2,i:[{t:3}],s:"MultiLevel Menu"}},pureMenu1:{t:0,b:{t:2,i:[{t:3}],s:"Menu1"}},"pureMenu1-1":{t:0,b:{t:2,i:[{t:3}],s:"Menu1-1"}},"pureMenu1-2":{t:0,b:{t:2,i:[{t:3}],s:"Menu1-2"}},"pureMenu1-2-1":{t:0,b:{t:2,i:[{t:3}],s:"Menu1-2-1"}},"pureMenu1-2-2":{t:0,b:{t:2,i:[{t:3}],s:"Menu1-2-2"}},"pureMenu1-3":{t:0,b:{t:2,i:[{t:3}],s:"Menu1-3"}},pureMenu2:{t:0,b:{t:2,i:[{t:3}],s:"Menu2"}},purePermission:{t:0,b:{t:2,i:[{t:3}],s:"Permission Manage"}},purePermissionPage:{t:0,b:{t:2,i:[{t:3}],s:"Page Permission"}},purePermissionButton:{t:0,b:{t:2,i:[{t:3}],s:"Button Permission"}},purePermissionButtonRouter:{t:0,b:{t:2,i:[{t:3}],s:"Route return button permission"}},purePermissionButtonLogin:{t:0,b:{t:2,i:[{t:3}],s:"Login interface return button permission"}},pureTabs:{t:0,b:{t:2,i:[{t:3}],s:"Tabs Operate"}},pureGuide:{t:0,b:{t:2,i:[{t:3}],s:"Guide"}},pureAble:{t:0,b:{t:2,i:[{t:3}],s:"Able"}},pureMenuTree:{t:0,b:{t:2,i:[{t:3}],s:"Menu Tree"}},pureVideoFrame:{t:0,b:{t:2,i:[{t:3}],s:"Video Frame Capture"}},pureWavesurfer:{t:0,b:{t:2,i:[{t:3}],s:"Audio Visualization"}},pureRipple:{t:0,b:{t:2,i:[{t:3}],s:"Ripple"}},pureMqtt:{t:0,b:{t:2,i:[{t:3}],s:"Mqtt Client"}},pureOptimize:{t:0,b:{t:2,i:[{t:3}],s:"Debounce、Throttle、Copy、Longpress Directives"}},pureVerify:{t:0,b:{t:2,i:[{t:3}],s:"Captcha"}},pureWatermark:{t:0,b:{t:2,i:[{t:3}],s:"Water Mark"}},purePrint:{t:0,b:{t:2,i:[{t:3}],s:"Print"}},pureDownload:{t:0,b:{t:2,i:[{t:3}],s:"Download"}},pureExternalPage:{t:0,b:{t:2,i:[{t:3}],s:"External Page"}},pureExternalDoc:{t:0,b:{t:2,i:[{t:3}],s:"Docs External"}},pureEmbeddedDoc:{t:0,b:{t:2,i:[{t:3}],s:"Docs Embedded"}},pureExternalLink:{t:0,b:{t:2,i:[{t:3}],s:"Vue-Pure-Admin"}},pureUtilsLink:{t:0,b:{t:2,i:[{t:3}],s:"Pure-Admin-Utils"}},pureColorHuntDoc:{t:0,b:{t:2,i:[{t:3}],s:"ColorHunt"}},pureUiGradients:{t:0,b:{t:2,i:[{t:3}],s:"UiGradients"}},pureEpDoc:{t:0,b:{t:2,i:[{t:3}],s:"Element-Plus"}},pureTailwindcssDoc:{t:0,b:{t:2,i:[{t:3}],s:"Tailwindcss"}},pureVueDoc:{t:0,b:{t:2,i:[{t:3}],s:"Vue3"}},pureViteDoc:{t:0,b:{t:2,i:[{t:3}],s:"Vite"}},purePiniaDoc:{t:0,b:{t:2,i:[{t:3}],s:"Pinia"}},pureRouterDoc:{t:0,b:{t:2,i:[{t:3}],s:"Vue-Router"}},pureAbout:{t:0,b:{t:2,i:[{t:3}],s:"About"}},pureResult:{t:0,b:{t:2,i:[{t:3}],s:"Result Page"}},pureSuccess:{t:0,b:{t:2,i:[{t:3}],s:"Success Page"}},pureFail:{t:0,b:{t:2,i:[{t:3}],s:"Fail Page"}},pureIconSelect:{t:0,b:{t:2,i:[{t:3}],s:"Icon Select"}},pureTimeline:{t:0,b:{t:2,i:[{t:3}],s:"Time Line"}},pureLineTree:{t:0,b:{t:2,i:[{t:3}],s:"LineTree"}},pureList:{t:0,b:{t:2,i:[{t:3}],s:"List Page"}},pureCardList:{t:0,b:{t:2,i:[{t:3}],s:"Card List Page"}},pureDebounce:{t:0,b:{t:2,i:[{t:3}],s:"Debounce & Throttle"}},pureFormDesign:{t:0,b:{t:2,i:[{t:3}],s:"Form Design"}},pureBarcode:{t:0,b:{t:2,i:[{t:3}],s:"Barcode"}},pureQrcode:{t:0,b:{t:2,i:[{t:3}],s:"Qrcode"}},pureCascader:{t:0,b:{t:2,i:[{t:3}],s:"Area Cascader"}},pureSwiper:{t:0,b:{t:2,i:[{t:3}],s:"Swiper Plugin"}},pureVirtualList:{t:0,b:{t:2,i:[{t:3}],s:"Virtual List"}},purePdf:{t:0,b:{t:2,i:[{t:3}],s:"PDF Preview"}},pureExcel:{t:0,b:{t:2,i:[{t:3}],s:"Export Excel"}},pureInfiniteScroll:{t:0,b:{t:2,i:[{t:3}],s:"Table Infinite Scroll"}},pureSensitive:{t:0,b:{t:2,i:[{t:3}],s:"Sensitive Filter"}},purePinyin:{t:0,b:{t:2,i:[{t:3}],s:"PinYin"}},pureDanmaku:{t:0,b:{t:2,i:[{t:3}],s:"Danmaku"}},pureSchemaForm:{t:0,b:{t:2,i:[{t:3}],s:"Form"}},pureTableBase:{t:0,b:{t:2,i:[{t:3}],s:"Base Usage"}},pureTableHigh:{t:0,b:{t:2,i:[{t:3}],s:"High Usage"}},pureTableEdit:{t:0,b:{t:2,i:[{t:3}],s:"Edit Usage"}},pureVxeTable:{t:0,b:{t:2,i:[{t:3}],s:"Virtual Usage"}},pureBoard:{t:0,b:{t:2,i:[{t:3}],s:"Paint Board"}},pureMindMap:{t:0,b:{t:2,i:[{t:3}],s:"Mind Map"}},pureMenuOverflow:{t:0,b:{t:2,i:[{t:3}],s:"Menu Overflow Show Tooltip Text"}},pureChildMenuOverflow:{t:0,b:{t:2,i:[{t:3}],s:"Child Menu Overflow Show Tooltip Text"}}},status:{pureLoad:{t:0,b:{t:2,i:[{t:3}],s:"Loading..."}},pureMessage:{t:0,b:{t:2,i:[{t:3}],s:"Message"}},pureNotify:{t:0,b:{t:2,i:[{t:3}],s:"Notify"}},pureTodo:{t:0,b:{t:2,i:[{t:3}],s:"Todo"}},pureNoMessage:{t:0,b:{t:2,i:[{t:3}],s:"No Message"}},pureNoNotify:{t:0,b:{t:2,i:[{t:3}],s:"No Notify"}},pureNoTodo:{t:0,b:{t:2,i:[{t:3}],s:"No Todo"}}},login:{pureUsername:{t:0,b:{t:2,i:[{t:3}],s:"Username"}},purePassword:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},pureVerifyCode:{t:0,b:{t:2,i:[{t:3}],s:"VerifyCode"}},pureRemember:{t:0,b:{t:2,i:[{t:3}],s:"days no need to login"}},pureRememberInfo:{t:0,b:{t:2,i:[{t:3}],s:"After checking and logging in, will automatically log in to the system without entering your username and password within the specified number of days."}},pureSure:{t:0,b:{t:2,i:[{t:3}],s:"Sure Password"}},pureForget:{t:0,b:{t:2,i:[{t:3}],s:"Forget Password?"}},pureLogin:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},pureThirdLogin:{t:0,b:{t:2,i:[{t:3}],s:"Third Login"}},purePhoneLogin:{t:0,b:{t:2,i:[{t:3}],s:"Phone Login"}},pureQRCodeLogin:{t:0,b:{t:2,i:[{t:3}],s:"QRCode Login"}},pureRegister:{t:0,b:{t:2,i:[{t:3}],s:"Register"}},pureWeChatLogin:{t:0,b:{t:2,i:[{t:3}],s:"WeChat Login"}},pureAlipayLogin:{t:0,b:{t:2,i:[{t:3}],s:"Alipay Login"}},pureQQLogin:{t:0,b:{t:2,i:[{t:3}],s:"QQ Login"}},pureWeiBoLogin:{t:0,b:{t:2,i:[{t:3}],s:"Weibo Login"}},purePhone:{t:0,b:{t:2,i:[{t:3}],s:"Phone"}},pureSmsVerifyCode:{t:0,b:{t:2,i:[{t:3}],s:"SMS VerifyCode"}},pureBack:{t:0,b:{t:2,i:[{t:3}],s:"Back"}},pureTest:{t:0,b:{t:2,i:[{t:3}],s:"Mock Test"}},pureTip:{t:0,b:{t:2,i:[{t:3}],s:'After scanning the code, click "Confirm" to complete the login'}},pureDefinite:{t:0,b:{t:2,i:[{t:3}],s:"Definite"}},pureLoginSuccess:{t:0,b:{t:2,i:[{t:3}],s:"Login Success"}},pureLoginFail:{t:0,b:{t:2,i:[{t:3}],s:"Login Fail"}},pureRegisterSuccess:{t:0,b:{t:2,i:[{t:3}],s:"Regist Success"}},pureTickPrivacy:{t:0,b:{t:2,i:[{t:3}],s:"Please tick Privacy Policy"}},pureReadAccept:{t:0,b:{t:2,i:[{t:3}],s:"I have read it carefully and accept"}},purePrivacyPolicy:{t:0,b:{t:2,i:[{t:3}],s:"Privacy Policy"}},pureGetVerifyCode:{t:0,b:{t:2,i:[{t:3}],s:"Get VerifyCode"}},pureInfo:{t:0,b:{t:2,i:[{t:3}],s:"Seconds"}},pureUsernameReg:{t:0,b:{t:2,i:[{t:3}],s:"Please enter username"}},purePassWordReg:{t:0,b:{t:2,i:[{t:3}],s:"Please enter password"}},pureVerifyCodeReg:{t:0,b:{t:2,i:[{t:3}],s:"Please enter verify code"}},pureVerifyCodeCorrectReg:{t:0,b:{t:2,i:[{t:3}],s:"Please enter correct verify code"}},pureVerifyCodeSixReg:{t:0,b:{t:2,i:[{t:3}],s:"Please enter a 6-digit verify code"}},purePhoneReg:{t:0,b:{t:2,i:[{t:3}],s:"Please enter the phone"}},purePhoneCorrectReg:{t:0,b:{t:2,i:[{t:3}],s:"Please enter the correct phone number format"}},purePassWordRuleReg:{t:0,b:{t:2,i:[{t:3}],s:"The password format should be any combination of 8-18 digits"}},purePassWordSureReg:{t:0,b:{t:2,i:[{t:3}],s:"Please enter confirm password"}},purePassWordDifferentReg:{t:0,b:{t:2,i:[{t:3}],s:"The two passwords do not match!"}},purePassWordUpdateReg:{t:0,b:{t:2,i:[{t:3}],s:"Password has been updated"}},pureLoginExpired:{t:0,b:{t:2,i:[{t:3}],s:"Login expired, please login again"}}},tableBar:{pureList:{t:0,b:{t:2,i:[{t:3}],s:"List"}},pureLarge:{t:0,b:{t:2,i:[{t:3}],s:"Large"}},pureDefault:{t:0,b:{t:2,i:[{t:3}],s:"Default"}},pureSmall:{t:0,b:{t:2,i:[{t:3}],s:"Small"}},pureColumnSettings:{t:0,b:{t:2,i:[{t:3}],s:"ColumnSettings"}},pureCollapse:{t:0,b:{t:2,i:[{t:3}],s:"Collapse"}},pureExpand:{t:0,b:{t:2,i:[{t:3}],s:"Expand"}},pureRefresh:{t:0,b:{t:2,i:[{t:3}],s:"Refresh"}},pureDensity:{t:0,b:{t:2,i:[{t:3}],s:"Density"}},pureColumnDisplay:{t:0,b:{t:2,i:[{t:3}],s:"ColumnDisplay"}},pureReset:{t:0,b:{t:2,i:[{t:3}],s:"Reset"}},pureExitFullScreen:{t:0,b:{t:2,i:[{t:3}],s:"ExitFullScreen"}},pureFullScreen:{t:0,b:{t:2,i:[{t:3}],s:"FullScreen"}}}},sit=Object.freeze(Object.defineProperty({__proto__:null,default:lit},Symbol.toStringTag,{value:"Module"})),uit={buttons:{pureAccountSettings:{t:0,b:{t:2,i:[{t:3}],s:"账户设置"}},pureLoginOut:{t:0,b:{t:2,i:[{t:3}],s:"退出系统"}},pureLogin:{t:0,b:{t:2,i:[{t:3}],s:"登录"}},pureOpenSystemSet:{t:0,b:{t:2,i:[{t:3}],s:"打开系统配置"}},pureReload:{t:0,b:{t:2,i:[{t:3}],s:"重新加载"}},pureCloseCurrentTab:{t:0,b:{t:2,i:[{t:3}],s:"关闭当前标签页"}},pureCloseLeftTabs:{t:0,b:{t:2,i:[{t:3}],s:"关闭左侧标签页"}},pureCloseRightTabs:{t:0,b:{t:2,i:[{t:3}],s:"关闭右侧标签页"}},pureCloseOtherTabs:{t:0,b:{t:2,i:[{t:3}],s:"关闭其他标签页"}},pureCloseAllTabs:{t:0,b:{t:2,i:[{t:3}],s:"关闭全部标签页"}},pureContentFullScreen:{t:0,b:{t:2,i:[{t:3}],s:"内容区全屏"}},pureContentExitFullScreen:{t:0,b:{t:2,i:[{t:3}],s:"内容区退出全屏"}},pureClickCollapse:{t:0,b:{t:2,i:[{t:3}],s:"点击折叠"}},pureClickExpand:{t:0,b:{t:2,i:[{t:3}],s:"点击展开"}},pureConfirm:{t:0,b:{t:2,i:[{t:3}],s:"确认"}},pureSwitch:{t:0,b:{t:2,i:[{t:3}],s:"切换"}},pureClose:{t:0,b:{t:2,i:[{t:3}],s:"关闭"}},pureBackTop:{t:0,b:{t:2,i:[{t:3}],s:"回到顶部"}},pureOpenText:{t:0,b:{t:2,i:[{t:3}],s:"开"}},pureCloseText:{t:0,b:{t:2,i:[{t:3}],s:"关"}}},search:{pureTotal:{t:0,b:{t:2,i:[{t:3}],s:"共"}},pureHistory:{t:0,b:{t:2,i:[{t:3}],s:"搜索历史"}},pureCollect:{t:0,b:{t:2,i:[{t:3}],s:"收藏"}},pureDragSort:{t:0,b:{t:2,i:[{t:3}],s:"(可拖拽排序)"}},pureEmpty:{t:0,b:{t:2,i:[{t:3}],s:"暂无搜索结果"}},purePlaceholder:{t:0,b:{t:2,i:[{t:3}],s:"搜索菜单(支持拼音搜索)"}}},panel:{pureSystemSet:{t:0,b:{t:2,i:[{t:3}],s:"系统配置"}},pureCloseSystemSet:{t:0,b:{t:2,i:[{t:3}],s:"关闭配置"}},pureClearCacheAndToLogin:{t:0,b:{t:2,i:[{t:3}],s:"清空缓存并返回登录页"}},pureClearCache:{t:0,b:{t:2,i:[{t:3}],s:"清空缓存"}},pureThemeMode:{t:0,b:{t:2,i:[{t:3}],s:"主题模式"}},pureThemeModeLight:{t:0,b:{t:2,i:[{t:3}],s:"浅色"}},pureThemeModeLightTip:{t:0,b:{t:2,i:[{t:3}],s:"清新启航,点亮舒适的工作界面"}},pureThemeModeDark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},pureThemeModeDarkTip:{t:0,b:{t:2,i:[{t:3}],s:"月光序曲,沉醉于夜的静谧雅致"}},pureThemeModeSystem:{t:0,b:{t:2,i:[{t:3}],s:"自动"}},pureThemeModeSystemTip:{t:0,b:{t:2,i:[{t:3}],s:"同步时光,界面随晨昏自然呼应"}},pureThemeColor:{t:0,b:{t:2,i:[{t:3}],s:"主题色"}},pureMenuLayout:{t:0,b:{t:2,i:[{t:3}],s:"菜单布局"}},pureVerticalTip:{t:0,b:{t:2,i:[{t:3}],s:"左侧菜单,亲切熟悉"}},pureHorizontalTip:{t:0,b:{t:2,i:[{t:3}],s:"顶部菜单,简洁概览"}},pureMixTip:{t:0,b:{t:2,i:[{t:3}],s:"混合菜单,灵活多变"}},pureStretch:{t:0,b:{t:2,i:[{t:3}],s:"页宽"}},pureStretchFixed:{t:0,b:{t:2,i:[{t:3}],s:"固定"}},pureStretchFixedTip:{t:0,b:{t:2,i:[{t:3}],s:"紧凑页面,轻松找到所需信息"}},pureStretchCustom:{t:0,b:{t:2,i:[{t:3}],s:"自定义"}},pureStretchCustomTip:{t:0,b:{t:2,i:[{t:3}],s:"最小1280、最大1600"}},pureTagsStyle:{t:0,b:{t:2,i:[{t:3}],s:"页签风格"}},pureTagsStyleSmart:{t:0,b:{t:2,i:[{t:3}],s:"灵动"}},pureTagsStyleSmartTip:{t:0,b:{t:2,i:[{t:3}],s:"灵动标签,添趣生辉"}},pureTagsStyleCard:{t:0,b:{t:2,i:[{t:3}],s:"卡片"}},pureTagsStyleCardTip:{t:0,b:{t:2,i:[{t:3}],s:"卡片标签,高效浏览"}},pureTagsStyleChrome:{t:0,b:{t:2,i:[{t:3}],s:"谷歌"}},pureTagsStyleChromeTip:{t:0,b:{t:2,i:[{t:3}],s:"谷歌风格,经典美观"}},pureInterfaceDisplay:{t:0,b:{t:2,i:[{t:3}],s:"界面显示"}},pureGreyModel:{t:0,b:{t:2,i:[{t:3}],s:"灰色模式"}},pureWeakModel:{t:0,b:{t:2,i:[{t:3}],s:"色弱模式"}},pureHiddenTags:{t:0,b:{t:2,i:[{t:3}],s:"隐藏标签页"}},pureHiddenFooter:{t:0,b:{t:2,i:[{t:3}],s:"隐藏页脚"}},pureMultiTagsCache:{t:0,b:{t:2,i:[{t:3}],s:"页签持久化"}}},menus:{pureHome:{t:0,b:{t:2,i:[{t:3}],s:"首页"}},pureLogin:{t:0,b:{t:2,i:[{t:3}],s:"登录"}},pureEmpty:{t:0,b:{t:2,i:[{t:3}],s:"无Layout页"}},pureTable:{t:0,b:{t:2,i:[{t:3}],s:"表格"}},pureSysManagement:{t:0,b:{t:2,i:[{t:3}],s:"系统管理"}},pureUser:{t:0,b:{t:2,i:[{t:3}],s:"用户管理"}},pureRole:{t:0,b:{t:2,i:[{t:3}],s:"角色管理"}},pureSystemMenu:{t:0,b:{t:2,i:[{t:3}],s:"菜单管理"}},pureDept:{t:0,b:{t:2,i:[{t:3}],s:"部门管理"}},pureSysMonitor:{t:0,b:{t:2,i:[{t:3}],s:"系统监控"}},pureOnlineUser:{t:0,b:{t:2,i:[{t:3}],s:"在线用户"}},pureLoginLog:{t:0,b:{t:2,i:[{t:3}],s:"登录日志"}},pureOperationLog:{t:0,b:{t:2,i:[{t:3}],s:"操作日志"}},pureSystemLog:{t:0,b:{t:2,i:[{t:3}],s:"系统日志"}},pureCodeMirror:{t:0,b:{t:2,i:[{t:3}],s:"代码编辑器"}},pureMarkdown:{t:0,b:{t:2,i:[{t:3}],s:"Markdown"}},pureEditor:{t:0,b:{t:2,i:[{t:3}],s:"编辑器"}},pureAbnormal:{t:0,b:{t:2,i:[{t:3}],s:"异常页面"}},purePageNotFound:{t:0,b:{t:2,i:[{t:3}],s:"404"}},pureAccessDenied:{t:0,b:{t:2,i:[{t:3}],s:"403"}},pureServerError:{t:0,b:{t:2,i:[{t:3}],s:"500"}},pureComponents:{t:0,b:{t:2,i:[{t:3}],s:"组件"}},pureDialog:{t:0,b:{t:2,i:[{t:3}],s:"函数式弹框"}},pureDrawer:{t:0,b:{t:2,i:[{t:3}],s:"函数式抽屉"}},pureMessage:{t:0,b:{t:2,i:[{t:3}],s:"消息提示"}},pureVideo:{t:0,b:{t:2,i:[{t:3}],s:"视频"}},pureSegmented:{t:0,b:{t:2,i:[{t:3}],s:"分段控制器"}},pureWaterfall:{t:0,b:{t:2,i:[{t:3}],s:"瀑布流无限滚动"}},pureMap:{t:0,b:{t:2,i:[{t:3}],s:"地图"}},pureDraggable:{t:0,b:{t:2,i:[{t:3}],s:"拖拽"}},pureSplitPane:{t:0,b:{t:2,i:[{t:3}],s:"切割面板"}},pureText:{t:0,b:{t:2,i:[{t:3}],s:"文本省略"}},pureSlider:{t:0,b:{t:2,i:[{t:3}],s:"滑块"}},pureElButton:{t:0,b:{t:2,i:[{t:3}],s:"按钮"}},pureCheckButton:{t:0,b:{t:2,i:[{t:3}],s:"可选按钮"}},pureButton:{t:0,b:{t:2,i:[{t:3}],s:"按钮动效"}},pureCropping:{t:0,b:{t:2,i:[{t:3}],s:"图片裁剪"}},pureAnimatecss:{t:0,b:{t:2,i:[{t:3}],s:"animate.css选择器"}},pureCountTo:{t:0,b:{t:2,i:[{t:3}],s:"数字动画"}},pureSelector:{t:0,b:{t:2,i:[{t:3}],s:"范围选择器"}},pureFlowChart:{t:0,b:{t:2,i:[{t:3}],s:"流程图"}},pureSeamless:{t:0,b:{t:2,i:[{t:3}],s:"无缝滚动"}},pureContextmenu:{t:0,b:{t:2,i:[{t:3}],s:"右键菜单"}},pureTypeit:{t:0,b:{t:2,i:[{t:3}],s:"打字机"}},pureJsonEditor:{t:0,b:{t:2,i:[{t:3}],s:"JSON编辑器"}},pureColorPicker:{t:0,b:{t:2,i:[{t:3}],s:"颜色选择器"}},pureColorPickerPanel:{t:0,b:{t:2,i:[{t:3}],s:"颜色选择器面板"}},pureDatePicker:{t:0,b:{t:2,i:[{t:3}],s:"日期选择器"}},pureDateTimePicker:{t:0,b:{t:2,i:[{t:3}],s:"日期时间选择器"}},pureTimePicker:{t:0,b:{t:2,i:[{t:3}],s:"时间选择器"}},pureTag:{t:0,b:{t:2,i:[{t:3}],s:"标签"}},pureStatistic:{t:0,b:{t:2,i:[{t:3}],s:"统计组件"}},pureCollapse:{t:0,b:{t:2,i:[{t:3}],s:"折叠面板"}},pureGanttastic:{t:0,b:{t:2,i:[{t:3}],s:"甘特图"}},pureProgress:{t:0,b:{t:2,i:[{t:3}],s:"进度条"}},pureUpload:{t:0,b:{t:2,i:[{t:3}],s:"文件上传"}},pureCheckCard:{t:0,b:{t:2,i:[{t:3}],s:"多选卡片"}},pureMenus:{t:0,b:{t:2,i:[{t:3}],s:"多级菜单"}},pureMenu1:{t:0,b:{t:2,i:[{t:3}],s:"菜单1"}},"pureMenu1-1":{t:0,b:{t:2,i:[{t:3}],s:"菜单1-1"}},"pureMenu1-2":{t:0,b:{t:2,i:[{t:3}],s:"菜单1-2"}},"pureMenu1-2-1":{t:0,b:{t:2,i:[{t:3}],s:"菜单1-2-1"}},"pureMenu1-2-2":{t:0,b:{t:2,i:[{t:3}],s:"菜单1-2-2"}},"pureMenu1-3":{t:0,b:{t:2,i:[{t:3}],s:"菜单1-3"}},pureMenu2:{t:0,b:{t:2,i:[{t:3}],s:"菜单二"}},purePermission:{t:0,b:{t:2,i:[{t:3}],s:"权限管理"}},purePermissionPage:{t:0,b:{t:2,i:[{t:3}],s:"页面权限"}},purePermissionButton:{t:0,b:{t:2,i:[{t:3}],s:"按钮权限"}},purePermissionButtonRouter:{t:0,b:{t:2,i:[{t:3}],s:"路由返回按钮权限"}},purePermissionButtonLogin:{t:0,b:{t:2,i:[{t:3}],s:"登录接口返回按钮权限"}},pureTabs:{t:0,b:{t:2,i:[{t:3}],s:"标签页操作"}},pureGuide:{t:0,b:{t:2,i:[{t:3}],s:"引导页"}},pureAble:{t:0,b:{t:2,i:[{t:3}],s:"功能"}},pureMenuTree:{t:0,b:{t:2,i:[{t:3}],s:"菜单树结构"}},pureVideoFrame:{t:0,b:{t:2,i:[{t:3}],s:"视频帧截取-wasm版"}},pureWavesurfer:{t:0,b:{t:2,i:[{t:3}],s:"音频可视化"}},pureRipple:{t:0,b:{t:2,i:[{t:3}],s:"波纹(Ripple)"}},pureMqtt:{t:0,b:{t:2,i:[{t:3}],s:"MQTT客户端(mqtt)"}},pureOptimize:{t:0,b:{t:2,i:[{t:3}],s:"防抖、截流、复制、长按指令"}},pureVerify:{t:0,b:{t:2,i:[{t:3}],s:"图形验证码"}},pureWatermark:{t:0,b:{t:2,i:[{t:3}],s:"水印"}},purePrint:{t:0,b:{t:2,i:[{t:3}],s:"打印"}},pureDownload:{t:0,b:{t:2,i:[{t:3}],s:"下载"}},pureExternalPage:{t:0,b:{t:2,i:[{t:3}],s:"外部页面"}},pureExternalDoc:{t:0,b:{t:2,i:[{t:3}],s:"文档外链"}},pureEmbeddedDoc:{t:0,b:{t:2,i:[{t:3}],s:"文档内嵌"}},pureExternalLink:{t:0,b:{t:2,i:[{t:3}],s:"vue-pure-admin"}},pureUtilsLink:{t:0,b:{t:2,i:[{t:3}],s:"pure-admin-utils"}},pureColorHuntDoc:{t:0,b:{t:2,i:[{t:3}],s:"调色板"}},pureUiGradients:{t:0,b:{t:2,i:[{t:3}],s:"渐变色"}},pureEpDoc:{t:0,b:{t:2,i:[{t:3}],s:"element-plus"}},pureTailwindcssDoc:{t:0,b:{t:2,i:[{t:3}],s:"tailwindcss"}},pureVueDoc:{t:0,b:{t:2,i:[{t:3}],s:"vue3"}},pureViteDoc:{t:0,b:{t:2,i:[{t:3}],s:"vite"}},purePiniaDoc:{t:0,b:{t:2,i:[{t:3}],s:"pinia"}},pureRouterDoc:{t:0,b:{t:2,i:[{t:3}],s:"vue-router"}},pureAbout:{t:0,b:{t:2,i:[{t:3}],s:"关于"}},pureResult:{t:0,b:{t:2,i:[{t:3}],s:"结果页面"}},pureSuccess:{t:0,b:{t:2,i:[{t:3}],s:"成功页面"}},pureFail:{t:0,b:{t:2,i:[{t:3}],s:"失败页面"}},pureIconSelect:{t:0,b:{t:2,i:[{t:3}],s:"图标选择器"}},pureTimeline:{t:0,b:{t:2,i:[{t:3}],s:"时间线"}},pureLineTree:{t:0,b:{t:2,i:[{t:3}],s:"树形连接线"}},pureList:{t:0,b:{t:2,i:[{t:3}],s:"列表页面"}},pureCardList:{t:0,b:{t:2,i:[{t:3}],s:"卡片列表页"}},pureDebounce:{t:0,b:{t:2,i:[{t:3}],s:"防抖节流"}},pureFormDesign:{t:0,b:{t:2,i:[{t:3}],s:"表单设计器"}},pureBarcode:{t:0,b:{t:2,i:[{t:3}],s:"条形码"}},pureQrcode:{t:0,b:{t:2,i:[{t:3}],s:"二维码"}},pureCascader:{t:0,b:{t:2,i:[{t:3}],s:"区域级联选择器"}},pureSwiper:{t:0,b:{t:2,i:[{t:3}],s:"Swiper插件"}},pureVirtualList:{t:0,b:{t:2,i:[{t:3}],s:"虚拟列表"}},purePdf:{t:0,b:{t:2,i:[{t:3}],s:"PDF预览"}},pureExcel:{t:0,b:{t:2,i:[{t:3}],s:"导出Excel"}},pureInfiniteScroll:{t:0,b:{t:2,i:[{t:3}],s:"表格无限滚动"}},pureSensitive:{t:0,b:{t:2,i:[{t:3}],s:"敏感词过滤"}},purePinyin:{t:0,b:{t:2,i:[{t:3}],s:"汉语拼音"}},pureDanmaku:{t:0,b:{t:2,i:[{t:3}],s:"弹幕"}},pureSchemaForm:{t:0,b:{t:2,i:[{t:3}],s:"表单"}},pureTableBase:{t:0,b:{t:2,i:[{t:3}],s:"基础用法"}},pureTableHigh:{t:0,b:{t:2,i:[{t:3}],s:"高级用法"}},pureTableEdit:{t:0,b:{t:2,i:[{t:3}],s:"可编辑用法"}},pureVxeTable:{t:0,b:{t:2,i:[{t:3}],s:"虚拟滚动"}},pureBoard:{t:0,b:{t:2,i:[{t:3}],s:"艺术画板"}},pureMindMap:{t:0,b:{t:2,i:[{t:3}],s:"思维导图"}},pureMenuOverflow:{t:0,b:{t:2,i:[{t:3}],s:"目录超出显示 Tooltip 文字提示"}},pureChildMenuOverflow:{t:0,b:{t:2,i:[{t:3}],s:"菜单超出显示 Tooltip 文字提示"}}},status:{pureLoad:{t:0,b:{t:2,i:[{t:3}],s:"加载中..."}},pureMessage:{t:0,b:{t:2,i:[{t:3}],s:"消息"}},pureNotify:{t:0,b:{t:2,i:[{t:3}],s:"通知"}},pureTodo:{t:0,b:{t:2,i:[{t:3}],s:"待办"}},pureNoMessage:{t:0,b:{t:2,i:[{t:3}],s:"暂无消息"}},pureNoNotify:{t:0,b:{t:2,i:[{t:3}],s:"暂无通知"}},pureNoTodo:{t:0,b:{t:2,i:[{t:3}],s:"暂无待办"}}},login:{pureUsername:{t:0,b:{t:2,i:[{t:3}],s:"账号"}},purePassword:{t:0,b:{t:2,i:[{t:3}],s:"密码"}},pureVerifyCode:{t:0,b:{t:2,i:[{t:3}],s:"验证码"}},pureRemember:{t:0,b:{t:2,i:[{t:3}],s:"天内免登录"}},pureRememberInfo:{t:0,b:{t:2,i:[{t:3}],s:"勾选并登录后,规定天数内无需输入用户名和密码会自动登入系统"}},pureSure:{t:0,b:{t:2,i:[{t:3}],s:"确认密码"}},pureForget:{t:0,b:{t:2,i:[{t:3}],s:"忘记密码?"}},pureLogin:{t:0,b:{t:2,i:[{t:3}],s:"登录"}},pureThirdLogin:{t:0,b:{t:2,i:[{t:3}],s:"第三方登录"}},purePhoneLogin:{t:0,b:{t:2,i:[{t:3}],s:"手机登录"}},pureQRCodeLogin:{t:0,b:{t:2,i:[{t:3}],s:"二维码登录"}},pureRegister:{t:0,b:{t:2,i:[{t:3}],s:"注册"}},pureWeChatLogin:{t:0,b:{t:2,i:[{t:3}],s:"微信登录"}},pureAlipayLogin:{t:0,b:{t:2,i:[{t:3}],s:"支付宝登录"}},pureQQLogin:{t:0,b:{t:2,i:[{t:3}],s:"QQ登录"}},pureWeiBoLogin:{t:0,b:{t:2,i:[{t:3}],s:"微博登录"}},purePhone:{t:0,b:{t:2,i:[{t:3}],s:"手机号码"}},pureSmsVerifyCode:{t:0,b:{t:2,i:[{t:3}],s:"短信验证码"}},pureBack:{t:0,b:{t:2,i:[{t:3}],s:"返回"}},pureTest:{t:0,b:{t:2,i:[{t:3}],s:"模拟测试"}},pureTip:{t:0,b:{t:2,i:[{t:3}],s:'扫码后点击"确认",即可完成登录'}},pureDefinite:{t:0,b:{t:2,i:[{t:3}],s:"确定"}},pureLoginSuccess:{t:0,b:{t:2,i:[{t:3}],s:"登录成功"}},pureLoginFail:{t:0,b:{t:2,i:[{t:3}],s:"登录失败"}},pureRegisterSuccess:{t:0,b:{t:2,i:[{t:3}],s:"注册成功"}},pureTickPrivacy:{t:0,b:{t:2,i:[{t:3}],s:"请勾选隐私政策"}},pureReadAccept:{t:0,b:{t:2,i:[{t:3}],s:"我已仔细阅读并接受"}},purePrivacyPolicy:{t:0,b:{t:2,i:[{t:3}],s:"《隐私政策》"}},pureGetVerifyCode:{t:0,b:{t:2,i:[{t:3}],s:"获取验证码"}},pureInfo:{t:0,b:{t:2,i:[{t:3}],s:"秒后重新获取"}},pureUsernameReg:{t:0,b:{t:2,i:[{t:3}],s:"请输入账号"}},purePassWordReg:{t:0,b:{t:2,i:[{t:3}],s:"请输入密码"}},pureVerifyCodeReg:{t:0,b:{t:2,i:[{t:3}],s:"请输入验证码"}},pureVerifyCodeCorrectReg:{t:0,b:{t:2,i:[{t:3}],s:"请输入正确的验证码"}},pureVerifyCodeSixReg:{t:0,b:{t:2,i:[{t:3}],s:"请输入6位数字验证码"}},purePhoneReg:{t:0,b:{t:2,i:[{t:3}],s:"请输入手机号码"}},purePhoneCorrectReg:{t:0,b:{t:2,i:[{t:3}],s:"请输入正确的手机号码格式"}},purePassWordRuleReg:{t:0,b:{t:2,i:[{t:3}],s:"密码格式应为8-18位数字、字母、符号的任意两种组合"}},purePassWordSureReg:{t:0,b:{t:2,i:[{t:3}],s:"请输入确认密码"}},purePassWordDifferentReg:{t:0,b:{t:2,i:[{t:3}],s:"两次密码不一致!"}},purePassWordUpdateReg:{t:0,b:{t:2,i:[{t:3}],s:"修改密码成功"}},pureLoginExpired:{t:0,b:{t:2,i:[{t:3}],s:"登录已过期,请重新登录"}}},tableBar:{pureList:{t:0,b:{t:2,i:[{t:3}],s:"列表"}},pureLarge:{t:0,b:{t:2,i:[{t:3}],s:"宽松"}},pureDefault:{t:0,b:{t:2,i:[{t:3}],s:"默认"}},pureSmall:{t:0,b:{t:2,i:[{t:3}],s:"紧凑"}},pureColumnSettings:{t:0,b:{t:2,i:[{t:3}],s:"列设置"}},pureCollapse:{t:0,b:{t:2,i:[{t:3}],s:"折叠"}},pureExpand:{t:0,b:{t:2,i:[{t:3}],s:"展开"}},pureRefresh:{t:0,b:{t:2,i:[{t:3}],s:"刷新"}},pureDensity:{t:0,b:{t:2,i:[{t:3}],s:"密度"}},pureColumnDisplay:{t:0,b:{t:2,i:[{t:3}],s:"列展示"}},pureReset:{t:0,b:{t:2,i:[{t:3}],s:"重置"}},pureExitFullScreen:{t:0,b:{t:2,i:[{t:3}],s:"退出全屏"}},pureFullScreen:{t:0,b:{t:2,i:[{t:3}],s:"全屏"}}}},cit=Object.freeze(Object.defineProperty({__proto__:null,default:uit},Symbol.toStringTag,{value:"Module"}));function dit(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const x6=typeof window!="undefined",vp=(e,t=!1)=>t?Symbol.for(e):Symbol(e),fit=(e,t,n)=>pit({l:e,k:t,s:n}),pit=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),si=e=>typeof e=="number"&&isFinite(e),hit=e=>pI(e)==="[object Date]",M6=e=>pI(e)==="[object RegExp]",W9=e=>Hr(e)&&Object.keys(e).length===0,Ki=Object.assign,mit=Object.create,Fa=(e=null)=>mit(e);function rj(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function aj(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function vit(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,a,i)=>`${a}="${aj(i)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,a,i)=>`${a}='${aj(i)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const git=Object.prototype.hasOwnProperty;function Vs(e,t){return git.call(e,t)}const ni=Array.isArray,Ha=e=>typeof e=="function",kn=e=>typeof e=="string",za=e=>typeof e=="boolean",Jr=e=>e!==null&&typeof e=="object",yit=e=>Jr(e)&&Ha(e.then)&&Ha(e.catch),Cfe=Object.prototype.toString,pI=e=>Cfe.call(e),Hr=e=>pI(e)==="[object Object]",bit=e=>e==null?"":ni(e)||Hr(e)&&e.toString===Cfe?JSON.stringify(e,null,2):String(e);function hI(e,t=""){return e.reduce((n,r,a)=>a===0?n+r:n+t+r,"")}const v8=e=>!Jr(e)||ni(e);function a7(e,t){if(v8(e)||v8(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:a}=n.pop();Object.keys(r).forEach(i=>{i!=="__proto__"&&(Jr(r[i])&&!Jr(a[i])&&(a[i]=Array.isArray(r[i])?[]:Fa()),v8(a[i])||v8(r[i])?a[i]=r[i]:n.push({src:r[i],des:a[i]}))})}}function Cit(e,t,n){return{line:e,column:t,offset:n}}function yB(e,t,n){return{start:e,end:t}}const aa={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},Fit=17;function G9(e,t,n={}){const{domain:r,messages:a,args:i}=n,o=e,l=new SyntaxError(String(o));return l.code=e,t&&(l.location=t),l.domain=r,l}function Eit(e){throw e}const wu=" ",wit="\r",eo=` `,Sit="\u2028",Ait="\u2029";function Dit(e){const t=e;let n=0,r=1,a=1,i=0;const o=S=>t[S]===wit&&t[S+1]===eo,l=S=>t[S]===eo,s=S=>t[S]===Ait,u=S=>t[S]===Sit,c=S=>o(S)||l(S)||s(S)||u(S),d=()=>n,f=()=>r,p=()=>a,h=()=>i,m=S=>o(S)||s(S)||u(S)?eo:t[S],v=()=>m(n),g=()=>m(n+i);function b(){return i=0,c(n)&&(r++,a=0),o(n)&&n++,n++,a++,t[n]}function C(){return o(n+i)&&i++,i++,t[n+i]}function y(){n=0,r=1,a=1,i=0}function E(S=0){i=S}function w(){const S=n+i;for(;S!==n;)b();i=0}return{index:d,line:f,column:p,peekOffset:h,charAt:m,currentChar:v,currentPeek:g,next:b,peek:C,reset:y,resetPeek:E,skipToPeek:w}}const Pc=void 0,Tit=".",ij="'",kit="tokenizer";function _it(e,t={}){const n=t.location!==!1,r=Dit(e),a=()=>r.index(),i=()=>Cit(r.line(),r.column(),r.index()),o=i(),l=a(),s={currentType:13,offset:l,startLoc:o,endLoc:o,lastType:13,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},u=()=>s,{onError:c}=t;function d(te,ue,Se,...Ae){const Ne=u();if(ue.column+=Se,ue.offset+=Se,c){const je=n?yB(Ne.startLoc,ue):null,De=G9(te,je,{domain:kit,args:Ae});c(De)}}function f(te,ue,Se){te.endLoc=i(),te.currentType=ue;const Ae={type:ue};return n&&(Ae.loc=yB(te.startLoc,te.endLoc)),Se!=null&&(Ae.value=Se),Ae}const p=te=>f(te,13);function h(te,ue){return te.currentChar()===ue?(te.next(),ue):(d(aa.EXPECTED_TOKEN,i(),0,ue),"")}function m(te){let ue="";for(;te.currentPeek()===wu||te.currentPeek()===eo;)ue+=te.currentPeek(),te.peek();return ue}function v(te){const ue=m(te);return te.skipToPeek(),ue}function g(te){if(te===Pc)return!1;const ue=te.charCodeAt(0);return ue>=97&&ue<=122||ue>=65&&ue<=90||ue===95}function b(te){if(te===Pc)return!1;const ue=te.charCodeAt(0);return ue>=48&&ue<=57}function C(te,ue){const{currentType:Se}=ue;if(Se!==2)return!1;m(te);const Ae=g(te.currentPeek());return te.resetPeek(),Ae}function y(te,ue){const{currentType:Se}=ue;if(Se!==2)return!1;m(te);const Ae=te.currentPeek()==="-"?te.peek():te.currentPeek(),Ne=b(Ae);return te.resetPeek(),Ne}function E(te,ue){const{currentType:Se}=ue;if(Se!==2)return!1;m(te);const Ae=te.currentPeek()===ij;return te.resetPeek(),Ae}function w(te,ue){const{currentType:Se}=ue;if(Se!==7)return!1;m(te);const Ae=te.currentPeek()===".";return te.resetPeek(),Ae}function S(te,ue){const{currentType:Se}=ue;if(Se!==8)return!1;m(te);const Ae=g(te.currentPeek());return te.resetPeek(),Ae}function A(te,ue){const{currentType:Se}=ue;if(!(Se===7||Se===11))return!1;m(te);const Ae=te.currentPeek()===":";return te.resetPeek(),Ae}function D(te,ue){const{currentType:Se}=ue;if(Se!==9)return!1;const Ae=()=>{const je=te.currentPeek();return je==="{"?g(te.peek()):je==="@"||je==="|"||je===":"||je==="."||je===wu||!je?!1:je===eo?(te.peek(),Ae()):x(te,!1)},Ne=Ae();return te.resetPeek(),Ne}function k(te){m(te);const ue=te.currentPeek()==="|";return te.resetPeek(),ue}function x(te,ue=!0){const Se=(Ne=!1,je="")=>{const De=te.currentPeek();return De==="{"||De==="@"||!De?Ne:De==="|"?!(je===wu||je===eo):De===wu?(te.peek(),Se(!0,wu)):De===eo?(te.peek(),Se(!0,eo)):!0},Ae=Se();return ue&&te.resetPeek(),Ae}function _(te,ue){const Se=te.currentChar();return Se===Pc?Pc:ue(Se)?(te.next(),Se):null}function M(te){const ue=te.charCodeAt(0);return ue>=97&&ue<=122||ue>=65&&ue<=90||ue>=48&&ue<=57||ue===95||ue===36}function L(te){return _(te,M)}function I(te){const ue=te.charCodeAt(0);return ue>=97&&ue<=122||ue>=65&&ue<=90||ue>=48&&ue<=57||ue===95||ue===36||ue===45}function P(te){return _(te,I)}function B(te){const ue=te.charCodeAt(0);return ue>=48&&ue<=57}function T(te){return _(te,B)}function O(te){const ue=te.charCodeAt(0);return ue>=48&&ue<=57||ue>=65&&ue<=70||ue>=97&&ue<=102}function N(te){return _(te,O)}function V(te){let ue="",Se="";for(;ue=T(te);)Se+=ue;return Se}function Y(te){let ue="";for(;;){const Se=te.currentChar();if(Se==="{"||Se==="}"||Se==="@"||Se==="|"||!Se)break;if(Se===wu||Se===eo)if(x(te))ue+=Se,te.next();else{if(k(te))break;ue+=Se,te.next()}else ue+=Se,te.next()}return ue}function z(te){v(te);let ue="",Se="";for(;ue=P(te);)Se+=ue;const Ae=te.currentChar();if(Ae&&Ae!=="}"&&Ae!==Pc&&Ae!==wu&&Ae!==eo&&Ae!==" "){const Ne=X(te);return d(aa.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Se+Ne),Se+Ne}return te.currentChar()===Pc&&d(aa.UNTERMINATED_CLOSING_BRACE,i(),0),Se}function ee(te){v(te);let ue="";return te.currentChar()==="-"?(te.next(),ue+=`-${V(te)}`):ue+=V(te),te.currentChar()===Pc&&d(aa.UNTERMINATED_CLOSING_BRACE,i(),0),ue}function ae(te){return te!==ij&&te!==eo}function pe(te){v(te),h(te,"'");let ue="",Se="";for(;ue=_(te,ae);)ue==="\\"?Se+=re(te):Se+=ue;const Ae=te.currentChar();return Ae===eo||Ae===Pc?(d(aa.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),Ae===eo&&(te.next(),h(te,"'")),Se):(h(te,"'"),Se)}function re(te){const ue=te.currentChar();switch(ue){case"\\":case"'":return te.next(),`\\${ue}`;case"u":return Q(te,ue,4);case"U":return Q(te,ue,6);default:return d(aa.UNKNOWN_ESCAPE_SEQUENCE,i(),0,ue),""}}function Q(te,ue,Se){h(te,ue);let Ae="";for(let Ne=0;Ne{const Ae=te.currentChar();return Ae==="{"||Ae==="@"||Ae==="|"||Ae==="("||Ae===")"||!Ae||Ae===wu?Se:(Se+=Ae,te.next(),ue(Se))};return ue("")}function K(te){v(te);const ue=h(te,"|");return v(te),ue}function Z(te,ue){let Se=null;switch(te.currentChar()){case"{":return ue.braceNest>=1&&d(aa.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),te.next(),Se=f(ue,2,"{"),v(te),ue.braceNest++,Se;case"}":return ue.braceNest>0&&ue.currentType===2&&d(aa.EMPTY_PLACEHOLDER,i(),0),te.next(),Se=f(ue,3,"}"),ue.braceNest--,ue.braceNest>0&&v(te),ue.inLinked&&ue.braceNest===0&&(ue.inLinked=!1),Se;case"@":return ue.braceNest>0&&d(aa.UNTERMINATED_CLOSING_BRACE,i(),0),Se=se(te,ue)||p(ue),ue.braceNest=0,Se;default:{let Ne=!0,je=!0,De=!0;if(k(te))return ue.braceNest>0&&d(aa.UNTERMINATED_CLOSING_BRACE,i(),0),Se=f(ue,1,K(te)),ue.braceNest=0,ue.inLinked=!1,Se;if(ue.braceNest>0&&(ue.currentType===4||ue.currentType===5||ue.currentType===6))return d(aa.UNTERMINATED_CLOSING_BRACE,i(),0),ue.braceNest=0,Fe(te,ue);if(Ne=C(te,ue))return Se=f(ue,4,z(te)),v(te),Se;if(je=y(te,ue))return Se=f(ue,5,ee(te)),v(te),Se;if(De=E(te,ue))return Se=f(ue,6,pe(te)),v(te),Se;if(!Ne&&!je&&!De)return Se=f(ue,12,X(te)),d(aa.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,Se.value),v(te),Se;break}}return Se}function se(te,ue){const{currentType:Se}=ue;let Ae=null;const Ne=te.currentChar();switch((Se===7||Se===8||Se===11||Se===9)&&(Ne===eo||Ne===wu)&&d(aa.INVALID_LINKED_FORMAT,i(),0),Ne){case"@":return te.next(),Ae=f(ue,7,"@"),ue.inLinked=!0,Ae;case".":return v(te),te.next(),f(ue,8,".");case":":return v(te),te.next(),f(ue,9,":");default:return k(te)?(Ae=f(ue,1,K(te)),ue.braceNest=0,ue.inLinked=!1,Ae):w(te,ue)||A(te,ue)?(v(te),se(te,ue)):S(te,ue)?(v(te),f(ue,11,q(te))):D(te,ue)?(v(te),Ne==="{"?Z(te,ue)||Ae:f(ue,10,ce(te))):(Se===7&&d(aa.INVALID_LINKED_FORMAT,i(),0),ue.braceNest=0,ue.inLinked=!1,Fe(te,ue))}}function Fe(te,ue){let Se={type:13};if(ue.braceNest>0)return Z(te,ue)||p(ue);if(ue.inLinked)return se(te,ue)||p(ue);switch(te.currentChar()){case"{":return Z(te,ue)||p(ue);case"}":return d(aa.UNBALANCED_CLOSING_BRACE,i(),0),te.next(),f(ue,3,"}");case"@":return se(te,ue)||p(ue);default:{if(k(te))return Se=f(ue,1,K(te)),ue.braceNest=0,ue.inLinked=!1,Se;if(x(te))return f(ue,0,Y(te));break}}return Se}function me(){const{currentType:te,offset:ue,startLoc:Se,endLoc:Ae}=s;return s.lastType=te,s.lastOffset=ue,s.lastStartLoc=Se,s.lastEndLoc=Ae,s.offset=a(),s.startLoc=i(),r.currentChar()===Pc?f(s,13):Fe(r,s)}return{nextToken:me,currentOffset:a,currentPosition:i,context:u}}const xit="parser",Mit=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Bit(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Rit(e={}){const t=e.location!==!1,{onError:n}=e;function r(g,b,C,y,...E){const w=g.currentPosition();if(w.offset+=y,w.column+=y,n){const S=t?yB(C,w):null,A=G9(b,S,{domain:xit,args:E});n(A)}}function a(g,b,C){const y={type:g};return t&&(y.start=b,y.end=b,y.loc={start:C,end:C}),y}function i(g,b,C,y){t&&(g.end=b,g.loc&&(g.loc.end=C))}function o(g,b){const C=g.context(),y=a(3,C.offset,C.startLoc);return y.value=b,i(y,g.currentOffset(),g.currentPosition()),y}function l(g,b){const C=g.context(),{lastOffset:y,lastStartLoc:E}=C,w=a(5,y,E);return w.index=parseInt(b,10),g.nextToken(),i(w,g.currentOffset(),g.currentPosition()),w}function s(g,b){const C=g.context(),{lastOffset:y,lastStartLoc:E}=C,w=a(4,y,E);return w.key=b,g.nextToken(),i(w,g.currentOffset(),g.currentPosition()),w}function u(g,b){const C=g.context(),{lastOffset:y,lastStartLoc:E}=C,w=a(9,y,E);return w.value=b.replace(Mit,Bit),g.nextToken(),i(w,g.currentOffset(),g.currentPosition()),w}function c(g){const b=g.nextToken(),C=g.context(),{lastOffset:y,lastStartLoc:E}=C,w=a(8,y,E);return b.type!==11?(r(g,aa.UNEXPECTED_EMPTY_LINKED_MODIFIER,C.lastStartLoc,0),w.value="",i(w,y,E),{nextConsumeToken:b,node:w}):(b.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Su(b)),w.value=b.value||"",i(w,g.currentOffset(),g.currentPosition()),{node:w})}function d(g,b){const C=g.context(),y=a(7,C.offset,C.startLoc);return y.value=b,i(y,g.currentOffset(),g.currentPosition()),y}function f(g){const b=g.context(),C=a(6,b.offset,b.startLoc);let y=g.nextToken();if(y.type===8){const E=c(g);C.modifier=E.node,y=E.nextConsumeToken||g.nextToken()}switch(y.type!==9&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(y)),y=g.nextToken(),y.type===2&&(y=g.nextToken()),y.type){case 10:y.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(y)),C.key=d(g,y.value||"");break;case 4:y.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(y)),C.key=s(g,y.value||"");break;case 5:y.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(y)),C.key=l(g,y.value||"");break;case 6:y.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(y)),C.key=u(g,y.value||"");break;default:{r(g,aa.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const E=g.context(),w=a(7,E.offset,E.startLoc);return w.value="",i(w,E.offset,E.startLoc),C.key=w,i(C,E.offset,E.startLoc),{nextConsumeToken:y,node:C}}}return i(C,g.currentOffset(),g.currentPosition()),{node:C}}function p(g){const b=g.context(),C=b.currentType===1?g.currentOffset():b.offset,y=b.currentType===1?b.endLoc:b.startLoc,E=a(2,C,y);E.items=[];let w=null;do{const D=w||g.nextToken();switch(w=null,D.type){case 0:D.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(D)),E.items.push(o(g,D.value||""));break;case 5:D.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(D)),E.items.push(l(g,D.value||""));break;case 4:D.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(D)),E.items.push(s(g,D.value||""));break;case 6:D.value==null&&r(g,aa.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Su(D)),E.items.push(u(g,D.value||""));break;case 7:{const k=f(g);E.items.push(k.node),w=k.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const S=b.currentType===1?b.lastOffset:g.currentOffset(),A=b.currentType===1?b.lastEndLoc:g.currentPosition();return i(E,S,A),E}function h(g,b,C,y){const E=g.context();let w=y.items.length===0;const S=a(1,b,C);S.cases=[],S.cases.push(y);do{const A=p(g);w||(w=A.items.length===0),S.cases.push(A)}while(E.currentType!==13);return w&&r(g,aa.MUST_HAVE_MESSAGES_IN_PLURAL,C,0),i(S,g.currentOffset(),g.currentPosition()),S}function m(g){const b=g.context(),{offset:C,startLoc:y}=b,E=p(g);return b.currentType===13?E:h(g,C,y,E)}function v(g){const b=_it(g,Ki({},e)),C=b.context(),y=a(0,C.offset,C.startLoc);return t&&y.loc&&(y.loc.source=g),y.body=m(b),e.onCacheKey&&(y.cacheKey=e.onCacheKey(g)),C.currentType!==13&&r(b,aa.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,g[C.offset]||""),i(y,b.currentOffset(),b.currentPosition()),y}return{parse:v}}function Su(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Lit(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function oj(e,t){for(let n=0;nlj(n)),e}function lj(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;no;function s(m,v){o.code+=m}function u(m,v=!0){const g=v?r:"";s(a?g+" ".repeat(m):g)}function c(m=!0){const v=++o.indentLevel;m&&u(v)}function d(m=!0){const v=--o.indentLevel;m&&u(v)}function f(){u(o.indentLevel)}return{context:l,push:s,indent:c,deindent:d,newline:f,helper:m=>`_${m}`,needIndent:()=>o.needIndent}}function Nit(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),g0(e,t.key),t.modifier?(e.push(", "),g0(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function $it(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const a=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(r());const a=t.cases.length;for(let i=0;i{const n=kn(t.mode)?t.mode:"normal",r=kn(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` `,i=t.needIndent?t.needIndent:n!=="arrow",o=e.helpers||[],l=Iit(e,{filename:r,breakLineCode:a,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),o.length>0&&(l.push(`const { ${hI(o.map(c=>`${c}: _${c}`),", ")} } = ctx`),l.newline()),l.push("return "),g0(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:s,map:u}=l.context();return{ast:e,code:s,map:u?u.toJSON():void 0}};function Wit(e,t={}){const n=Ki({},t),r=!!n.jit,a=!!n.minify,i=n.optimize==null?!0:n.optimize,l=Rit(n).parse(e);return r?(i&&Pit(l),a&&r1(l),{ast:l,code:""}):(Oit(l,n),zit(l,n))}function tc(e){return Jr(e)&&vI(e)===0&&(Vs(e,"b")||Vs(e,"body"))}const Ffe=["b","body"];function Git(e){return gp(e,Ffe)}const Efe=["c","cases"];function jit(e){return gp(e,Efe,[])}const wfe=["s","static"];function Kit(e){return gp(e,wfe)}const Sfe=["i","items"];function Uit(e){return gp(e,Sfe,[])}const Afe=["t","type"];function vI(e){return gp(e,Afe)}const Dfe=["v","value"];function g8(e,t){const n=gp(e,Dfe);if(n!=null)return n;throw k2(t)}const Tfe=["m","modifier"];function qit(e){return gp(e,Tfe)}const kfe=["k","key"];function Yit(e){const t=gp(e,kfe);if(t)return t;throw k2(6)}function gp(e,t,n){for(let r=0;rJit(n,e)}function Jit(e,t){const n=Git(t);if(n==null)throw k2(0);if(vI(n)===1){const i=jit(n);return e.plural(i.reduce((o,l)=>[...o,sj(e,l)],[]))}else return sj(e,n)}function sj(e,t){const n=Kit(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Uit(t).reduce((a,i)=>[...a,bB(e,i)],[]);return e.normalize(r)}}function bB(e,t){const n=vI(t);switch(n){case 3:return g8(t,n);case 9:return g8(t,n);case 4:{const r=t;if(Vs(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Vs(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw k2(n)}case 5:{const r=t;if(Vs(r,"i")&&si(r.i))return e.interpolate(e.list(r.i));if(Vs(r,"index")&&si(r.index))return e.interpolate(e.list(r.index));throw k2(n)}case 6:{const r=t,a=qit(r),i=Yit(r);return e.linked(bB(e,i),a?bB(e,a):void 0,e.type)}case 7:return g8(t,n);case 8:return g8(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Xit=e=>e;let y8=Fa();function Zit(e,t={}){let n=!1;const r=t.onError||Eit;return t.onError=a=>{n=!0,r(a)},Et(Te({},Wit(e,t)),{detectError:n})}function Qit(e,t){if(kn(e)){za(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Xit)(e),a=y8[r];if(a)return a;const{ast:i,detectError:o}=Zit(e,Et(Te({},t),{location:!1,jit:!0})),l=dw(i);return o?l:y8[r]=l}else{const n=e.cacheKey;if(n){const r=y8[n];return r||(y8[n]=dw(e))}else return dw(e)}}const sd={INVALID_ARGUMENT:Fit,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},eot=24;function ud(e){return G9(e,null,void 0)}function gI(e,t){return t.locale!=null?uj(t.locale):uj(e.locale)}let fw;function uj(e){if(kn(e))return e;if(Ha(e)){if(e.resolvedOnce&&fw!=null)return fw;if(e.constructor.name==="Function"){const t=e();if(yit(t))throw ud(sd.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return fw=t}else throw ud(sd.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ud(sd.NOT_SUPPORT_LOCALE_TYPE)}function tot(e,t,n){return[...new Set([n,...ni(t)?t:Jr(t)?Object.keys(t):kn(t)?[t]:[n]])]}function xfe(e,t,n){const r=kn(n)?n:B6,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let i=a.__localeChainCache.get(r);if(!i){i=[];let o=[n];for(;ni(o);)o=cj(i,o,t);const l=ni(t)||!Hr(t)?t:t.default?t.default:null;o=kn(l)?[l]:l,ni(o)&&cj(i,o,!1),a.__localeChainCache.set(r,i)}return i}function cj(e,t,n){let r=!0;for(let a=0;a{o===void 0?o=l:o+=l},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),a++},f[3]=()=>{if(a>0)a--,r=4,f[0]();else{if(a=0,o===void 0||(o=sot(o),o===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,l="\\"+h,f[0](),!0}for(;r!==null;)if(n++,i=e[n],!(i==="\\"&&p())){if(s=lot(i),d=yp[r],u=d[s]||d.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=f[u[1]],c&&(l=i,c()===!1))))return;if(r===7)return t}}const dj=new Map;function cot(e,t){return Jr(e)?e[t]:null}function dot(e,t){if(!Jr(e))return null;let n=dj.get(t);if(n||(n=uot(t),n&&dj.set(t,n)),!n)return null;const r=n.length;let a=e,i=0;for(;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function pot(){return{upper:(e,t)=>t==="text"&&kn(e)?e.toUpperCase():t==="vnode"&&Jr(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&kn(e)?e.toLowerCase():t==="vnode"&&Jr(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&kn(e)?pj(e):t==="vnode"&&Jr(e)&&"__v_isVNode"in e?pj(e.children):e}}let Mfe;function hot(e){Mfe=e}let Bfe;function mot(e){Bfe=e}let Rfe;function vot(e){Rfe=e}let Lfe=null;const hj=e=>{Lfe=e},got=()=>Lfe;let mj=0;function yot(e={}){const t=Ha(e.onWarn)?e.onWarn:dit,n=kn(e.version)?e.version:fot,r=kn(e.locale)||Ha(e.locale)?e.locale:B6,a=Ha(r)?B6:r,i=ni(e.fallbackLocale)||Hr(e.fallbackLocale)||kn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,o=Hr(e.messages)?e.messages:pw(a),l=Hr(e.datetimeFormats)?e.datetimeFormats:pw(a),s=Hr(e.numberFormats)?e.numberFormats:pw(a),u=Ki(Fa(),e.modifiers,pot()),c=e.pluralRules||Fa(),d=Ha(e.missing)?e.missing:null,f=za(e.missingWarn)||M6(e.missingWarn)?e.missingWarn:!0,p=za(e.fallbackWarn)||M6(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,m=!!e.unresolving,v=Ha(e.postTranslation)?e.postTranslation:null,g=Hr(e.processor)?e.processor:null,b=za(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,y=Ha(e.messageCompiler)?e.messageCompiler:Mfe,E=Ha(e.messageResolver)?e.messageResolver:Bfe||cot,w=Ha(e.localeFallbacker)?e.localeFallbacker:Rfe||tot,S=Jr(e.fallbackContext)?e.fallbackContext:void 0,A=e,D=Jr(A.__datetimeFormatters)?A.__datetimeFormatters:new Map,k=Jr(A.__numberFormatters)?A.__numberFormatters:new Map,x=Jr(A.__meta)?A.__meta:{};mj++;const _={version:n,cid:mj,locale:r,fallbackLocale:i,messages:o,modifiers:u,pluralRules:c,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:m,postTranslation:v,processor:g,warnHtmlMessage:b,escapeParameter:C,messageCompiler:y,messageResolver:E,localeFallbacker:w,fallbackContext:S,onWarn:t,__meta:x};return _.datetimeFormats=l,_.numberFormats=s,_.__datetimeFormatters=D,_.__numberFormatters=k,_}const pw=e=>({[e]:Fa()});function yI(e,t,n,r,a){const{missing:i,onWarn:o}=e;if(i!==null){const l=i(e,n,t,a);return kn(l)?l:t}else return t}function qg(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function bot(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Cot(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r{Ofe.includes(s)?o[s]=n[s]:i[s]=n[s]}),kn(r)?i.locale=r:Hr(r)&&(o=r),Hr(a)&&(o=a),[i.key||"",l,i,o]}function gj(e,t,n){const r=e;for(const a in n){const i=`${t}__${a}`;r.__datetimeFormatters.has(i)&&r.__datetimeFormatters.delete(i)}}function yj(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:a,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:l}=e,[s,u,c,d]=FB(...t),f=za(c.missingWarn)?c.missingWarn:e.missingWarn;za(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const p=!!c.part,h=gI(e,c),m=o(e,a,h);if(!kn(s)||s==="")return new Intl.NumberFormat(h,d).format(u);let v={},g,b=null;const C="number format";for(let w=0;w{Pfe.includes(s)?o[s]=n[s]:i[s]=n[s]}),kn(r)?i.locale=r:Hr(r)&&(o=r),Hr(a)&&(o=a),[i.key||"",l,i,o]}function bj(e,t,n){const r=e;for(const a in n){const i=`${t}__${a}`;r.__numberFormatters.has(i)&&r.__numberFormatters.delete(i)}}const Fot=e=>e,Eot=e=>"",wot="text",Sot=e=>e.length===0?"":hI(e),Aot=bit;function Cj(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Dot(e){const t=si(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(si(e.named.count)||si(e.named.n))?si(e.named.count)?e.named.count:si(e.named.n)?e.named.n:t:t}function Tot(e,t){t.count||(t.count=e),t.n||(t.n=e)}function kot(e={}){const t=e.locale,n=Dot(e),r=Jr(e.pluralRules)&&kn(t)&&Ha(e.pluralRules[t])?e.pluralRules[t]:Cj,a=Jr(e.pluralRules)&&kn(t)&&Ha(e.pluralRules[t])?Cj:void 0,i=g=>g[r(n,g.length,a)],o=e.list||[],l=g=>o[g],s=e.named||Fa();si(e.pluralIndex)&&Tot(n,s);const u=g=>s[g];function c(g,b){const C=Ha(e.messages)?e.messages(g,!!b):Jr(e.messages)?e.messages[g]:!1;return C||(e.parent?e.parent.message(g):Eot)}const d=g=>e.modifiers?e.modifiers[g]:Fot,f=Hr(e.processor)&&Ha(e.processor.normalize)?e.processor.normalize:Sot,p=Hr(e.processor)&&Ha(e.processor.interpolate)?e.processor.interpolate:Aot,h=Hr(e.processor)&&kn(e.processor.type)?e.processor.type:wot,v={list:l,named:u,plural:i,linked:(g,...b)=>{const[C,y]=b;let E="text",w="";b.length===1?Jr(C)?(w=C.modifier||w,E=C.type||E):kn(C)&&(w=C||w):b.length===2&&(kn(C)&&(w=C||w),kn(y)&&(E=y||E));const S=c(g,!0)(v),A=E==="vnode"&&ni(S)&&w?S[0]:S;return w?d(w)(A,E):A},message:c,type:h,interpolate:p,normalize:f,values:Ki(Fa(),o,s)};return v}const Fj=()=>"",md=e=>Ha(e);function Ej(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:a,messageCompiler:i,fallbackLocale:o,messages:l}=e,[s,u]=EB(...t),c=za(u.missingWarn)?u.missingWarn:e.missingWarn,d=za(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=za(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=kn(u.default)||za(u.default)?za(u.default)?i?s:()=>s:u.default:n?i?s:()=>s:null,m=n||h!=null&&(kn(h)||Ha(h)),v=gI(e,u);f&&_ot(u);let[g,b,C]=p?[s,v,l[v]||Fa()]:Ife(e,s,v,o,d,c),y=g,E=s;if(!p&&!(kn(y)||tc(y)||md(y))&&m&&(y=h,E=y),!p&&(!(kn(y)||tc(y)||md(y))||!kn(b)))return a?j9:s;let w=!1;const S=()=>{w=!0},A=md(y)?y:Nfe(e,s,b,y,E,S);if(w)return y;const D=Bot(e,b,C,u),k=kot(D),x=xot(e,A,k);let _=r?r(x,s):x;return f&&kn(_)&&(_=vit(_)),_}function _ot(e){ni(e.list)?e.list=e.list.map(t=>kn(t)?rj(t):t):Jr(e.named)&&Object.keys(e.named).forEach(t=>{kn(e.named[t])&&(e.named[t]=rj(e.named[t]))})}function Ife(e,t,n,r,a,i){const{messages:o,onWarn:l,messageResolver:s,localeFallbacker:u}=e,c=u(e,r,n);let d=Fa(),f,p=null;const h="translate";for(let m=0;mr);return u.locale=n,u.key=t,u}const s=o(r,Mot(e,n,a,r,l,i));return s.locale=n,s.key=t,s.source=r,s}function xot(e,t,n){return t(n)}function EB(...e){const[t,n,r]=e,a=Fa();if(!kn(t)&&!si(t)&&!md(t)&&!tc(t))throw ud(sd.INVALID_ARGUMENT);const i=si(t)?String(t):(md(t),t);return si(n)?a.plural=n:kn(n)?a.default=n:Hr(n)&&!W9(n)?a.named=n:ni(n)&&(a.list=n),si(r)?a.plural=r:kn(r)?a.default=r:Hr(r)&&Ki(a,r),[i,a]}function Mot(e,t,n,r,a,i){return{locale:t,key:n,warnHtmlMessage:a,onError:o=>{throw i&&i(o),o},onCacheKey:o=>fit(t,n,o)}}function Bot(e,t,n,r){const{modifiers:a,pluralRules:i,messageResolver:o,fallbackLocale:l,fallbackWarn:s,missingWarn:u,fallbackContext:c}=e,f={locale:t,modifiers:a,pluralRules:i,messages:(p,h)=>{let m=o(n,p);if(m==null&&(c||h)){const[,,v]=Ife(c||e,p,t,l,s,u);m=o(v,p)}if(kn(m)||tc(m)){let v=!1;const b=Nfe(e,p,t,m,p,()=>{v=!0});return v?Fj:b}else return md(m)?m:Fj}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),si(r.plural)&&(f.pluralIndex=r.plural),f}const Rot="11.2.8",gs={UNEXPECTED_RETURN_TYPE:eot,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function au(e,...t){return G9(e,null,void 0)}const wB=vp("__translateVNode"),SB=vp("__datetimeParts"),AB=vp("__numberParts"),Lot=vp("__setPluralRules"),Oot=vp("__injectWithOption"),DB=vp("__dispose");function _2(e){if(!Jr(e)||tc(e))return e;for(const t in e)if(Vs(e,t))if(!t.includes("."))Jr(e[t])&&_2(e[t]);else{const n=t.split("."),r=n.length-1;let a=e,i=!1;for(let o=0;o{if("locale"in l&&"resource"in l){const{locale:s,resource:u}=l;s?(o[s]=o[s]||Fa(),a7(u,o[s])):a7(u,o)}else kn(l)&&a7(JSON.parse(l),o)}),a==null&&i)for(const l in o)Vs(o,l)&&_2(o[l]);return o}function Pot(e){return e.type}function Iot(e,t,n){let r=Jr(t.messages)?t.messages:Fa();"__i18nGlobal"in n&&(r=$fe(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(Jr(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Jr(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function wj(e){return be(Gs,null,e,0)}function Vfe(){return Jt()}const Sj=()=>[],Not=()=>!1;let Aj=0;function Dj(e){return((t,n,r,a)=>e(n,r,Vfe()||void 0,a))}function Hfe(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,a=e.flatJson,i=x6?j:Zn;let o=za(e.inheritLocale)?e.inheritLocale:!0;const l=i(t&&o?t.locale.value:kn(e.locale)?e.locale:B6),s=i(t&&o?t.fallbackLocale.value:kn(e.fallbackLocale)||ni(e.fallbackLocale)||Hr(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=i($fe(l.value,e)),c=i(Hr(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),d=i(Hr(e.numberFormats)?e.numberFormats:{[l.value]:{}});let f=t?t.missingWarn:za(e.missingWarn)||M6(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:za(e.fallbackWarn)||M6(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:za(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,v=Ha(e.missing)?e.missing:null,g=Ha(e.missing)?Dj(e.missing):null,b=Ha(e.postTranslation)?e.postTranslation:null,C=t?t.warnHtmlMessage:za(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const E=t?t.modifiers:Hr(e.modifiers)?e.modifiers:{};let w=e.pluralRules||t&&t.pluralRules,S;S=(()=>{r&&hj(null);const De={version:Rot,locale:l.value,fallbackLocale:s.value,messages:u.value,modifiers:E,pluralRules:w,missing:g===null?void 0:g,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:C,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};De.datetimeFormats=c.value,De.numberFormats=d.value,De.__datetimeFormatters=Hr(S)?S.__datetimeFormatters:void 0,De.__numberFormatters=Hr(S)?S.__numberFormatters:void 0;const he=yot(De);return r&&hj(he),he})(),qg(S,l.value,s.value);function D(){return[l.value,s.value,u.value,c.value,d.value]}const k=R({get:()=>l.value,set:De=>{S.locale=De,l.value=De}}),x=R({get:()=>s.value,set:De=>{S.fallbackLocale=De,s.value=De,qg(S,l.value,De)}}),_=R(()=>u.value),M=R(()=>c.value),L=R(()=>d.value);function I(){return Ha(b)?b:null}function P(De){b=De,S.postTranslation=De}function B(){return v}function T(De){De!==null&&(g=Dj(De)),v=De,S.missing=g}const O=(De,he,He,xe,qe,ve)=>{D();let Ge;try{r||(S.fallbackContext=t?got():void 0),Ge=De(S)}finally{r||(S.fallbackContext=void 0)}if(He!=="translate exists"&&si(Ge)&&Ge===j9||He==="translate exists"&&!Ge){const[Ke,rt]=he();return t&&h?xe(t):qe(Ke)}else{if(ve(Ge))return Ge;throw au(gs.UNEXPECTED_RETURN_TYPE)}};function N(...De){return O(he=>Reflect.apply(Ej,null,[he,...De]),()=>EB(...De),"translate",he=>Reflect.apply(he.t,he,[...De]),he=>he,he=>kn(he))}function V(...De){const[he,He,xe]=De;if(xe&&!Jr(xe))throw au(gs.INVALID_ARGUMENT);return N(he,He,Ki({resolvedMessage:!0},xe||{}))}function Y(...De){return O(he=>Reflect.apply(vj,null,[he,...De]),()=>CB(...De),"datetime format",he=>Reflect.apply(he.d,he,[...De]),()=>fj,he=>kn(he)||ni(he))}function z(...De){return O(he=>Reflect.apply(yj,null,[he,...De]),()=>FB(...De),"number format",he=>Reflect.apply(he.n,he,[...De]),()=>fj,he=>kn(he)||ni(he))}function ee(De){return De.map(he=>kn(he)||si(he)||za(he)?wj(String(he)):he)}const pe={normalize:ee,interpolate:De=>De,type:"vnode"};function re(...De){return O(he=>{let He;const xe=he;try{xe.processor=pe,He=Reflect.apply(Ej,null,[xe,...De])}finally{xe.processor=null}return He},()=>EB(...De),"translate",he=>he[wB](...De),he=>[wj(he)],he=>ni(he))}function Q(...De){return O(he=>Reflect.apply(yj,null,[he,...De]),()=>FB(...De),"number format",he=>he[AB](...De),Sj,he=>kn(he)||ni(he))}function ie(...De){return O(he=>Reflect.apply(vj,null,[he,...De]),()=>CB(...De),"datetime format",he=>he[SB](...De),Sj,he=>kn(he)||ni(he))}function X(De){w=De,S.pluralRules=w}function q(De,he){return O(()=>{if(!De)return!1;const He=kn(he)?he:l.value,xe=Z(He),qe=S.messageResolver(xe,De);return tc(qe)||md(qe)||kn(qe)},()=>[De],"translate exists",He=>Reflect.apply(He.te,He,[De,he]),Not,He=>za(He))}function ce(De){let he=null;const He=xfe(S,s.value,l.value);for(let xe=0;xe{o&&(l.value=De,S.locale=De,qg(S,l.value,s.value))}),$e(t.fallbackLocale,De=>{o&&(s.value=De,S.fallbackLocale=De,qg(S,l.value,s.value))}));const je={id:Aj,locale:k,fallbackLocale:x,get inheritLocale(){return o},set inheritLocale(De){o=De,De&&t&&(l.value=t.locale.value,s.value=t.fallbackLocale.value,qg(S,l.value,s.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:_,get modifiers(){return E},get pluralRules(){return w||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(De){f=De,S.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(De){p=De,S.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(De){h=De},get fallbackFormat(){return m},set fallbackFormat(De){m=De,S.fallbackFormat=m},get warnHtmlMessage(){return C},set warnHtmlMessage(De){C=De,S.warnHtmlMessage=De},get escapeParameter(){return y},set escapeParameter(De){y=De,S.escapeParameter=De},t:N,getLocaleMessage:Z,setLocaleMessage:se,mergeLocaleMessage:Fe,getPostTranslationHandler:I,setPostTranslationHandler:P,getMissingHandler:B,setMissingHandler:T,[Lot]:X};return je.datetimeFormats=M,je.numberFormats=L,je.rt=V,je.te=q,je.tm=K,je.d=Y,je.n=z,je.getDateTimeFormat=me,je.setDateTimeFormat=te,je.mergeDateTimeFormat=ue,je.getNumberFormat=Se,je.setNumberFormat=Ae,je.mergeNumberFormat=Ne,je[Oot]=n,je[wB]=re,je[SB]=ie,je[AB]=Q,je}const bI={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function $ot({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,a)=>[...r,...a.type===kt?a.children:[a]],[]):t.reduce((n,r)=>{const a=e[r];return a&&(n[r]=a()),n},Fa())}function zfe(){return kt}const Vot=Ve({name:"i18n-t",props:Ki({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>si(e)||!isNaN(e)}},bI),setup(e,t){const{slots:n,attrs:r}=t,a=e.i18n||CI({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d[0]!=="_"),o=Fa();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=kn(e.plural)?+e.plural:e.plural);const l=$ot(t,i),s=a[wB](e.keypath,l,o),u=Ki(Fa(),r),c=kn(e.tag)||Jr(e.tag)?e.tag:zfe();return W(c,u,s)}}}),Tj=Vot;function Hot(e){return ni(e)&&!kn(e[0])}function Wfe(e,t,n,r){const{slots:a,attrs:i}=t;return()=>{const o={part:!0};let l=Fa();e.locale&&(o.locale=e.locale),kn(e.format)?o.key=e.format:Jr(e.format)&&(kn(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Ki(Fa(),f,{[p]:e.format[p]}):f,Fa()));const s=r(e.value,o,l);let u=[o.key];ni(s)?u=s.map((f,p)=>{const h=a[f.type],m=h?h({[f.type]:f.value,index:p,parts:s}):[f.value];return Hot(m)&&(m[0].key=`${f.type}-${p}`),m}):kn(s)&&(u=[s]);const c=Ki(Fa(),i),d=kn(e.tag)||Jr(e.tag)?e.tag:zfe();return W(d,c,u)}}const zot=Ve({name:"i18n-n",props:Ki({value:{type:Number,required:!0},format:{type:[String,Object]}},bI),setup(e,t){const n=e.i18n||CI({useScope:e.scope,__useComponent:!0});return Wfe(e,t,Pfe,(...r)=>n[AB](...r))}}),kj=zot;function Wot(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Got(e){const t=o=>{const{instance:l,value:s}=o;if(!l||!l.$)throw au(gs.UNEXPECTED_ERROR);const u=Wot(e,l.$),c=_j(s);return[Reflect.apply(u.t,u,[...xj(c)]),u]};return{created:(o,l)=>{const[s,u]=t(l);x6&&e.global===u&&(o.__i18nWatcher=$e(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=u,o.textContent=s},unmounted:o=>{x6&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const s=o.__composer,u=_j(l);o.textContent=Reflect.apply(s.t,s,[...xj(u)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function _j(e){if(kn(e))return{path:e};if(Hr(e)){if(!("path"in e))throw au(gs.REQUIRED_VALUE,"path");return e}else throw au(gs.INVALID_VALUE)}function xj(e){const{path:t,locale:n,args:r,choice:a,plural:i}=e,o={},l=r||{};return kn(n)&&(o.locale=n),si(a)&&(o.plural=a),si(i)&&(o.plural=i),[t,l,o]}function jot(e,t,...n){const r=Hr(n[0])?n[0]:{};(!za(r.globalInstall)||r.globalInstall)&&([Tj.name,"I18nT"].forEach(i=>e.component(i,Tj)),[kj.name,"I18nN"].forEach(i=>e.component(i,kj)),[Bj.name,"I18nD"].forEach(i=>e.component(i,Bj))),e.directive("t",Got(t))}const Kot=vp("global-vue-i18n");function Uot(e={}){const t=za(e.globalInjection)?e.globalInjection:!0,n=new Map,[r,a]=qot(e),i=vp("");function o(d){return n.get(d)||null}function l(d,f){n.set(d,f)}function s(d){n.delete(d)}const u={get mode(){return"composition"},install(d,...f){return Xt(this,null,function*(){if(d.__VUE_I18N_SYMBOL__=i,d.provide(d.__VUE_I18N_SYMBOL__,u),Hr(f[0])){const m=f[0];u.__composerExtend=m.__composerExtend,u.__vueI18nExtend=m.__vueI18nExtend}let p=null;t&&(p=nlt(d,u.global)),jot(d,u,...f);const h=d.unmount;d.unmount=()=>{p&&p(),u.dispose(),h()}})},get global(){return a},dispose(){r.stop()},__instances:n,__getInstance:o,__setInstance:l,__deleteInstance:s};return u}function CI(e={}){const t=Vfe();if(t==null)throw au(gs.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw au(gs.NOT_INSTALLED);const n=Yot(t),r=Xot(n),a=Pot(t),i=Jot(e,a);if(i==="global")return Iot(r,e,a),r;if(i==="parent"){let s=Zot(n,t,e.__useComponent);return s==null&&(s=r),s}const o=n;let l=o.__getInstance(t);if(l==null){const s=Ki({},e);"__i18n"in a&&(s.__i18n=a.__i18n),r&&(s.__root=r),l=Hfe(s),o.__composerExtend&&(l[DB]=o.__composerExtend(l)),elt(o,t,l),o.__setInstance(t,l)}return l}function qot(e,t){const n=y5(),r=n.run(()=>Hfe(e));if(r==null)throw au(gs.UNEXPECTED_ERROR);return[n,r]}function Yot(e){const t=lt(e.isCE?Kot:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw au(e.isCE?gs.NOT_INSTALLED_WITH_PROVIDE:gs.UNEXPECTED_ERROR);return t}function Jot(e,t){return W9(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Xot(e){return e.mode==="composition"?e.global:e.global.__composer}function Zot(e,t,n=!1){let r=null;const a=t.root;let i=Qot(t,n);for(;i!=null;){const o=e;if(e.mode==="composition"&&(r=o.__getInstance(i)),r!=null||a===i)break;i=i.parent}return r}function Qot(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function elt(e,t,n){Ut(()=>{},t),la(()=>{const r=n;e.__deleteInstance(t);const a=r[DB];a&&(a(),delete r[DB])},t)}const tlt=["locale","fallbackLocale","availableLocales"],Mj=["t","rt","d","n","tm","te"];function nlt(e,t){const n=Object.create(null);return tlt.forEach(a=>{const i=Object.getOwnPropertyDescriptor(t,a);if(!i)throw au(gs.UNEXPECTED_ERROR);const o=Gn(i.value)?{get(){return i.value.value},set(l){i.value.value=l}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,a,o)}),e.config.globalProperties.$i18n=n,Mj.forEach(a=>{const i=Object.getOwnPropertyDescriptor(t,a);if(!i||!i.value)throw au(gs.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,i)}),()=>{delete e.config.globalProperties.$i18n,Mj.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}const rlt=Ve({name:"i18n-d",props:Ki({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},bI),setup(e,t){const n=e.i18n||CI({useScope:e.scope,__useComponent:!0});return Wfe(e,t,Ofe,(...r)=>n[SB](...r))}}),Bj=rlt;hot(Qit);mot(dot);vot(xfe);function Gfe(e,t){return function(){return e.apply(t,arguments)}}const{toString:alt}=Object.prototype,{getPrototypeOf:FI}=Object,{iterator:K9,toStringTag:jfe}=Symbol,U9=(e=>t=>{const n=alt.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),mu=e=>(e=e.toLowerCase(),t=>U9(t)===e),q9=e=>t=>typeof t===e,{isArray:ig}=Array,y0=q9("undefined");function t4(e){return e!==null&&!y0(e)&&e.constructor!==null&&!y0(e.constructor)&&ul(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Kfe=mu("ArrayBuffer");function ilt(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Kfe(e.buffer),t}const olt=q9("string"),ul=q9("function"),Ufe=q9("number"),n4=e=>e!==null&&typeof e=="object",llt=e=>e===!0||e===!1,i7=e=>{if(U9(e)!=="object")return!1;const t=FI(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(jfe in e)&&!(K9 in e)},slt=e=>{if(!n4(e)||t4(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},ult=mu("Date"),clt=mu("File"),dlt=mu("Blob"),flt=mu("FileList"),plt=e=>n4(e)&&ul(e.pipe),hlt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ul(e.append)&&((t=U9(e))==="formdata"||t==="object"&&ul(e.toString)&&e.toString()==="[object FormData]"))},mlt=mu("URLSearchParams"),[vlt,glt,ylt,blt]=["ReadableStream","Request","Response","Headers"].map(mu),Clt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function r4(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e=="undefined")return;let r,a;if(typeof e!="object"&&(e=[e]),ig(e))for(r=0,a=e.length;r0;)if(a=n[r],t===a.toLowerCase())return a;return null}const Vh=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,Yfe=e=>!y0(e)&&e!==Vh;function TB(){const{caseless:e,skipUndefined:t}=Yfe(this)&&this||{},n={},r=(a,i)=>{const o=e&&qfe(n,i)||i;i7(n[o])&&i7(a)?n[o]=TB(n[o],a):i7(a)?n[o]=TB({},a):ig(a)?n[o]=a.slice():(!t||!y0(a))&&(n[o]=a)};for(let a=0,i=arguments.length;a(r4(t,(a,i)=>{n&&ul(a)?e[i]=Gfe(a,n):e[i]=a},{allOwnKeys:r}),e),Elt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wlt=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Slt=(e,t,n,r)=>{let a,i,o;const l={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)o=a[i],(!r||r(o,e,t))&&!l[o]&&(t[o]=e[o],l[o]=!0);e=n!==!1&&FI(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Alt=(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},Dlt=e=>{if(!e)return null;if(ig(e))return e;let t=e.length;if(!Ufe(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Tlt=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&FI(Uint8Array)),klt=(e,t)=>{const r=(e&&e[K9]).call(e);let a;for(;(a=r.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},_lt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},xlt=mu("HTMLFormElement"),Mlt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,a){return r.toUpperCase()+a}),Rj=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Blt=mu("RegExp"),Jfe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};r4(n,(a,i)=>{let o;(o=t(a,i,e))!==!1&&(r[i]=o||a)}),Object.defineProperties(e,r)},Rlt=e=>{Jfe(e,(t,n)=>{if(ul(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ul(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+"'")})}})},Llt=(e,t)=>{const n={},r=a=>{a.forEach(i=>{n[i]=!0})};return ig(e)?r(e):r(String(e).split(t)),n},Olt=()=>{},Plt=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ilt(e){return!!(e&&ul(e.append)&&e[jfe]==="FormData"&&e[K9])}const Nlt=e=>{const t=new Array(10),n=(r,a)=>{if(n4(r)){if(t.indexOf(r)>=0)return;if(t4(r))return r;if(!("toJSON"in r)){t[a]=r;const i=ig(r)?[]:{};return r4(r,(o,l)=>{const s=n(o,a+1);!y0(s)&&(i[l]=s)}),t[a]=void 0,i}}return r};return n(e,0)},$lt=mu("AsyncFunction"),Vlt=e=>e&&(n4(e)||ul(e))&&ul(e.then)&&ul(e.catch),Xfe=((e,t)=>e?setImmediate:t?((n,r)=>(Vh.addEventListener("message",({source:a,data:i})=>{a===Vh&&i===n&&r.length&&r.shift()()},!1),a=>{r.push(a),Vh.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ul(Vh.postMessage)),Hlt=typeof queueMicrotask!="undefined"?queueMicrotask.bind(Vh):typeof process!="undefined"&&process.nextTick||Xfe,zlt=e=>e!=null&&ul(e[K9]),wt={isArray:ig,isArrayBuffer:Kfe,isBuffer:t4,isFormData:hlt,isArrayBufferView:ilt,isString:olt,isNumber:Ufe,isBoolean:llt,isObject:n4,isPlainObject:i7,isEmptyObject:slt,isReadableStream:vlt,isRequest:glt,isResponse:ylt,isHeaders:blt,isUndefined:y0,isDate:ult,isFile:clt,isBlob:dlt,isRegExp:Blt,isFunction:ul,isStream:plt,isURLSearchParams:mlt,isTypedArray:Tlt,isFileList:flt,forEach:r4,merge:TB,extend:Flt,trim:Clt,stripBOM:Elt,inherits:wlt,toFlatObject:Slt,kindOf:U9,kindOfTest:mu,endsWith:Alt,toArray:Dlt,forEachEntry:klt,matchAll:_lt,isHTMLForm:xlt,hasOwnProperty:Rj,hasOwnProp:Rj,reduceDescriptors:Jfe,freezeMethods:Rlt,toObjectSet:Llt,toCamelCase:Mlt,noop:Olt,toFiniteNumber:Plt,findKey:qfe,global:Vh,isContextDefined:Yfe,isSpecCompliantForm:Ilt,toJSONObject:Nlt,isAsyncFn:$lt,isThenable:Vlt,setImmediate:Xfe,asap:Hlt,isIterable:zlt};function yr(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status?a.status:null)}wt.inherits(yr,Error,{toJSON:function(){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:wt.toJSONObject(this.config),code:this.code,status:this.status}}});const Zfe=yr.prototype,Qfe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Qfe[e]={value:e}});Object.defineProperties(yr,Qfe);Object.defineProperty(Zfe,"isAxiosError",{value:!0});yr.from=(e,t,n,r,a,i)=>{const o=Object.create(Zfe);wt.toFlatObject(e,o,function(c){return c!==Error.prototype},u=>u!=="isAxiosError");const l=e&&e.message?e.message:"Error",s=t==null&&e?e.code:t;return yr.call(o,l,s,n,r,a),e&&o.cause==null&&Object.defineProperty(o,"cause",{value:e,configurable:!0}),o.name=e&&e.name||"Error",i&&Object.assign(o,i),o};const Wlt=null;function kB(e){return wt.isPlainObject(e)||wt.isArray(e)}function epe(e){return wt.endsWith(e,"[]")?e.slice(0,-2):e}function Lj(e,t,n){return e?e.concat(t).map(function(a,i){return a=epe(a),!n&&i?"["+a+"]":a}).join(n?".":""):t}function Glt(e){return wt.isArray(e)&&!e.some(kB)}const jlt=wt.toFlatObject(wt,{},null,function(t){return/^is[A-Z]/.test(t)});function Y9(e,t,n){if(!wt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=wt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!wt.isUndefined(v[m])});const r=n.metaTokens,a=n.visitor||c,i=n.dots,o=n.indexes,s=(n.Blob||typeof Blob!="undefined"&&Blob)&&wt.isSpecCompliantForm(t);if(!wt.isFunction(a))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(wt.isDate(h))return h.toISOString();if(wt.isBoolean(h))return h.toString();if(!s&&wt.isBlob(h))throw new yr("Blob is not supported. Use a Buffer instead.");return wt.isArrayBuffer(h)||wt.isTypedArray(h)?s&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,m,v){let g=h;if(h&&!v&&typeof h=="object"){if(wt.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if(wt.isArray(h)&&Glt(h)||(wt.isFileList(h)||wt.endsWith(m,"[]"))&&(g=wt.toArray(h)))return m=epe(m),g.forEach(function(C,y){!(wt.isUndefined(C)||C===null)&&t.append(o===!0?Lj([m],y,i):o===null?m:m+"[]",u(C))}),!1}return kB(h)?!0:(t.append(Lj(v,m,i),u(h)),!1)}const d=[],f=Object.assign(jlt,{defaultVisitor:c,convertValue:u,isVisitable:kB});function p(h,m){if(!wt.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),wt.forEach(h,function(g,b){(!(wt.isUndefined(g)||g===null)&&a.call(t,g,wt.isString(b)?b.trim():b,m,f))===!0&&p(g,m?m.concat(b):[b])}),d.pop()}}if(!wt.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Oj(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function EI(e,t){this._pairs=[],e&&Y9(e,this,t)}const tpe=EI.prototype;tpe.append=function(t,n){this._pairs.push([t,n])};tpe.toString=function(t){const n=t?function(r){return t.call(this,r,Oj)}:Oj;return this._pairs.map(function(a){return n(a[0])+"="+n(a[1])},"").join("&")};function Klt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function npe(e,t,n){if(!t)return e;const r=n&&n.encode||Klt;wt.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let i;if(a?i=a(t,n):i=wt.isURLSearchParams(t)?t.toString():new EI(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Pj{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){wt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const rpe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ult=typeof URLSearchParams!="undefined"?URLSearchParams:EI,qlt=typeof FormData!="undefined"?FormData:null,Ylt=typeof Blob!="undefined"?Blob:null,Jlt={isBrowser:!0,classes:{URLSearchParams:Ult,FormData:qlt,Blob:Ylt},protocols:["http","https","file","blob","url","data"]},wI=typeof window!="undefined"&&typeof document!="undefined",_B=typeof navigator=="object"&&navigator||void 0,Xlt=wI&&(!_B||["ReactNative","NativeScript","NS"].indexOf(_B.product)<0),Zlt=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Qlt=wI&&window.location.href||"http://localhost",est=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:wI,hasStandardBrowserEnv:Xlt,hasStandardBrowserWebWorkerEnv:Zlt,navigator:_B,origin:Qlt},Symbol.toStringTag,{value:"Module"})),so=Te(Te({},est),Jlt);function tst(e,t){return Y9(e,new so.classes.URLSearchParams,Te({visitor:function(n,r,a,i){return so.isNode&&wt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function nst(e){return wt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rst(e){const t={},n=Object.keys(e);let r;const a=n.length;let i;for(r=0;r=n.length;return o=!o&&wt.isArray(a)?a.length:o,s?(wt.hasOwnProp(a,o)?a[o]=[a[o],r]:a[o]=r,!l):((!a[o]||!wt.isObject(a[o]))&&(a[o]=[]),t(n,r,a[o],i)&&wt.isArray(a[o])&&(a[o]=rst(a[o])),!l)}if(wt.isFormData(e)&&wt.isFunction(e.entries)){const n={};return wt.forEachEntry(e,(r,a)=>{t(nst(r),a,n,0)}),n}return null}function ast(e,t,n){if(wt.isString(e))try{return(t||JSON.parse)(e),wt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const a4={transitional:rpe,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",a=r.indexOf("application/json")>-1,i=wt.isObject(t);if(i&&wt.isHTMLForm(t)&&(t=new FormData(t)),wt.isFormData(t))return a?JSON.stringify(ape(t)):t;if(wt.isArrayBuffer(t)||wt.isBuffer(t)||wt.isStream(t)||wt.isFile(t)||wt.isBlob(t)||wt.isReadableStream(t))return t;if(wt.isArrayBufferView(t))return t.buffer;if(wt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return tst(t,this.formSerializer).toString();if((l=wt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Y9(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return i||a?(n.setContentType("application/json",!1),ast(t)):t}],transformResponse:[function(t){const n=this.transitional||a4.transitional,r=n&&n.forcedJSONParsing,a=this.responseType==="json";if(wt.isResponse(t)||wt.isReadableStream(t))return t;if(t&&wt.isString(t)&&(r&&!this.responseType||a)){const o=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(l){if(o)throw l.name==="SyntaxError"?yr.from(l,yr.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:so.classes.FormData,Blob:so.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};wt.forEach(["delete","get","head","post","put","patch"],e=>{a4.headers[e]={}});const ist=wt.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"]),ost=e=>{const t={};let n,r,a;return e&&e.split(` `).forEach(function(o){a=o.indexOf(":"),n=o.substring(0,a).trim().toLowerCase(),r=o.substring(a+1).trim(),!(!n||t[n]&&ist[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ij=Symbol("internals");function Yg(e){return e&&String(e).trim().toLowerCase()}function o7(e){return e===!1||e==null?e:wt.isArray(e)?e.map(o7):String(e)}function lst(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 sst=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function hw(e,t,n,r,a){if(wt.isFunction(r))return r.call(this,t,n);if(a&&(t=n),!!wt.isString(t)){if(wt.isString(r))return t.indexOf(r)!==-1;if(wt.isRegExp(r))return r.test(t)}}function ust(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function cst(e,t){const n=wt.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(a,i,o){return this[r].call(this,t,a,i,o)},configurable:!0})})}let cl=class{constructor(t){t&&this.set(t)}set(t,n,r){const a=this;function i(l,s,u){const c=Yg(s);if(!c)throw new Error("header name must be a non-empty string");const d=wt.findKey(a,c);(!d||a[d]===void 0||u===!0||u===void 0&&a[d]!==!1)&&(a[d||s]=o7(l))}const o=(l,s)=>wt.forEach(l,(u,c)=>i(u,c,s));if(wt.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(wt.isString(t)&&(t=t.trim())&&!sst(t))o(ost(t),n);else if(wt.isObject(t)&&wt.isIterable(t)){let l={},s,u;for(const c of t){if(!wt.isArray(c))throw TypeError("Object iterator must return a key-value pair");l[u=c[0]]=(s=l[u])?wt.isArray(s)?[...s,c[1]]:[s,c[1]]:c[1]}o(l,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=Yg(t),t){const r=wt.findKey(this,t);if(r){const a=this[r];if(!n)return a;if(n===!0)return lst(a);if(wt.isFunction(n))return n.call(this,a,r);if(wt.isRegExp(n))return n.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Yg(t),t){const r=wt.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||hw(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let a=!1;function i(o){if(o=Yg(o),o){const l=wt.findKey(r,o);l&&(!n||hw(r,r[l],l,n))&&(delete r[l],a=!0)}}return wt.isArray(t)?t.forEach(i):i(t),a}clear(t){const n=Object.keys(this);let r=n.length,a=!1;for(;r--;){const i=n[r];(!t||hw(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const n=this,r={};return wt.forEach(this,(a,i)=>{const o=wt.findKey(r,i);if(o){n[o]=o7(a),delete n[i];return}const l=t?ust(i):String(i).trim();l!==i&&delete n[i],n[l]=o7(a),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return wt.forEach(this,(r,a)=>{r!=null&&r!==!1&&(n[a]=t&&wt.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(a=>r.set(a)),r}static accessor(t){const r=(this[Ij]=this[Ij]={accessors:{}}).accessors,a=this.prototype;function i(o){const l=Yg(o);r[l]||(cst(a,o),r[l]=!0)}return wt.isArray(t)?t.forEach(i):i(t),this}};cl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);wt.reduceDescriptors(cl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});wt.freezeMethods(cl);function mw(e,t){const n=this||a4,r=t||n,a=cl.from(r.headers);let i=r.data;return wt.forEach(e,function(l){i=l.call(n,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function ipe(e){return!!(e&&e.__CANCEL__)}function og(e,t,n){yr.call(this,e==null?"canceled":e,yr.ERR_CANCELED,t,n),this.name="CanceledError"}wt.inherits(og,yr,{__CANCEL__:!0});function ope(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new yr("Request failed with status code "+n.status,[yr.ERR_BAD_REQUEST,yr.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function dst(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fst(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a=0,i=0,o;return t=t!==void 0?t:1e3,function(s){const u=Date.now(),c=r[i];o||(o=u),n[a]=s,r[a]=u;let d=i,f=0;for(;d!==a;)f+=n[d++],d=d%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),u-o{n=c,a=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const c=Date.now(),d=c-n;d>=r?o(u,c):(a=u,i||(i=setTimeout(()=>{i=null,o(a)},r-d)))},()=>a&&o(a)]}const R6=(e,t,n=3)=>{let r=0;const a=fst(50,250);return pst(i=>{const o=i.loaded,l=i.lengthComputable?i.total:void 0,s=o-r,u=a(s),c=o<=l;r=o;const d={loaded:o,total:l,progress:l?o/l:void 0,bytes:s,rate:u||void 0,estimated:u&&l&&c?(l-o)/u:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},Nj=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},$j=e=>(...t)=>wt.asap(()=>e(...t)),hst=so.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,so.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(so.origin),so.navigator&&/(msie|trident)/i.test(so.navigator.userAgent)):()=>!0,mst=so.hasStandardBrowserEnv?{write(e,t,n,r,a,i,o){if(typeof document=="undefined")return;const l=[`${e}=${encodeURIComponent(t)}`];wt.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),wt.isString(r)&&l.push(`path=${r}`),wt.isString(a)&&l.push(`domain=${a}`),i===!0&&l.push("secure"),wt.isString(o)&&l.push(`SameSite=${o}`),document.cookie=l.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vst(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gst(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function lpe(e,t,n){let r=!vst(t);return e&&(r||n==!1)?gst(e,t):t}const Vj=e=>e instanceof cl?Te({},e):e;function Om(e,t){t=t||{};const n={};function r(u,c,d,f){return wt.isPlainObject(u)&&wt.isPlainObject(c)?wt.merge.call({caseless:f},u,c):wt.isPlainObject(c)?wt.merge({},c):wt.isArray(c)?c.slice():c}function a(u,c,d,f){if(wt.isUndefined(c)){if(!wt.isUndefined(u))return r(void 0,u,d,f)}else return r(u,c,d,f)}function i(u,c){if(!wt.isUndefined(c))return r(void 0,c)}function o(u,c){if(wt.isUndefined(c)){if(!wt.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function l(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const s={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l,headers:(u,c,d)=>a(Vj(u),Vj(c),d,!0)};return wt.forEach(Object.keys(Te(Te({},e),t)),function(c){const d=s[c]||a,f=d(e[c],t[c],c);wt.isUndefined(f)&&d!==l||(n[c]=f)}),n}const spe=e=>{const t=Om({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:a,xsrfCookieName:i,headers:o,auth:l}=t;if(t.headers=o=cl.from(o),t.url=npe(lpe(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&o.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),wt.isFormData(n)){if(so.hasStandardBrowserEnv||so.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(wt.isFunction(n.getHeaders)){const s=n.getHeaders(),u=["content-type","content-length"];Object.entries(s).forEach(([c,d])=>{u.includes(c.toLowerCase())&&o.set(c,d)})}}if(so.hasStandardBrowserEnv&&(r&&wt.isFunction(r)&&(r=r(t)),r||r!==!1&&hst(t.url))){const s=a&&i&&mst.read(i);s&&o.set(a,s)}return t},yst=typeof XMLHttpRequest!="undefined",bst=yst&&function(e){return new Promise(function(n,r){const a=spe(e);let i=a.data;const o=cl.from(a.headers).normalize();let{responseType:l,onUploadProgress:s,onDownloadProgress:u}=a,c,d,f,p,h;function m(){p&&p(),h&&h(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(a.method.toUpperCase(),a.url,!0),v.timeout=a.timeout;function g(){if(!v)return;const C=cl.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),E={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:C,config:e,request:v};ope(function(S){n(S),m()},function(S){r(S),m()},E),v=null}"onloadend"in v?v.onloadend=g:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(g)},v.onabort=function(){v&&(r(new yr("Request aborted",yr.ECONNABORTED,e,v)),v=null)},v.onerror=function(y){const E=y&&y.message?y.message:"Network Error",w=new yr(E,yr.ERR_NETWORK,e,v);w.event=y||null,r(w),v=null},v.ontimeout=function(){let y=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const E=a.transitional||rpe;a.timeoutErrorMessage&&(y=a.timeoutErrorMessage),r(new yr(y,E.clarifyTimeoutError?yr.ETIMEDOUT:yr.ECONNABORTED,e,v)),v=null},i===void 0&&o.setContentType(null),"setRequestHeader"in v&&wt.forEach(o.toJSON(),function(y,E){v.setRequestHeader(E,y)}),wt.isUndefined(a.withCredentials)||(v.withCredentials=!!a.withCredentials),l&&l!=="json"&&(v.responseType=a.responseType),u&&([f,h]=R6(u,!0),v.addEventListener("progress",f)),s&&v.upload&&([d,p]=R6(s),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(c=C=>{v&&(r(!C||C.type?new og(null,e,v):C),v.abort(),v=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const b=dst(a.url);if(b&&so.protocols.indexOf(b)===-1){r(new yr("Unsupported protocol "+b+":",yr.ERR_BAD_REQUEST,e));return}v.send(i||null)})},Cst=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,a;const i=function(u){if(!a){a=!0,l();const c=u instanceof Error?u:this.reason;r.abort(c instanceof yr?c:new og(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,i(new yr(`timeout ${t} of ms exceeded`,yr.ETIMEDOUT))},t);const l=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:s}=r;return s.unsubscribe=()=>wt.asap(l),s}},Fst=function*(e,t){let n=e.byteLength;if(n{const a=Est(e,t);let i=0,o,l=u=>{o||(o=!0,r&&r(u))};return new ReadableStream({pull(u){return Xt(this,null,function*(){try{const{done:c,value:d}=yield a.next();if(c){l(),u.close();return}let f=d.byteLength;if(n){let p=i+=f;n(p)}u.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}})},cancel(u){return l(u),a.return()}},{highWaterMark:2})},zj=64*1024,{isFunction:b8}=wt,Sst=(({Request:e,Response:t})=>({Request:e,Response:t}))(wt.global),{ReadableStream:Wj,TextEncoder:Gj}=wt.global,jj=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},Ast=e=>{e=wt.merge.call({skipUndefined:!0},Sst,e);const{fetch:t,Request:n,Response:r}=e,a=t?b8(t):typeof fetch=="function",i=b8(n),o=b8(r);if(!a)return!1;const l=a&&b8(Wj),s=a&&(typeof Gj=="function"?(h=>m=>h.encode(m))(new Gj):h=>Xt(null,null,function*(){return new Uint8Array(yield new n(h).arrayBuffer())})),u=i&&l&&jj(()=>{let h=!1;const m=new n(so.origin,{body:new Wj,method:"POST",get duplex(){return h=!0,"half"}}).headers.has("Content-Type");return h&&!m}),c=o&&l&&jj(()=>wt.isReadableStream(new r("").body)),d={stream:c&&(h=>h.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(h=>{!d[h]&&(d[h]=(m,v)=>{let g=m&&m[h];if(g)return g.call(m);throw new yr(`Response type '${h}' is not supported`,yr.ERR_NOT_SUPPORT,v)})});const f=h=>Xt(null,null,function*(){if(h==null)return 0;if(wt.isBlob(h))return h.size;if(wt.isSpecCompliantForm(h))return(yield new n(so.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(wt.isArrayBufferView(h)||wt.isArrayBuffer(h))return h.byteLength;if(wt.isURLSearchParams(h)&&(h=h+""),wt.isString(h))return(yield s(h)).byteLength}),p=(h,m)=>Xt(null,null,function*(){const v=wt.toFiniteNumber(h.getContentLength());return v==null?f(m):v});return h=>Xt(null,null,function*(){let{url:m,method:v,data:g,signal:b,cancelToken:C,timeout:y,onDownloadProgress:E,onUploadProgress:w,responseType:S,headers:A,withCredentials:D="same-origin",fetchOptions:k}=spe(h),x=t||fetch;S=S?(S+"").toLowerCase():"text";let _=Cst([b,C&&C.toAbortSignal()],y),M=null;const L=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let I;try{if(w&&u&&v!=="get"&&v!=="head"&&(I=yield p(A,g))!==0){let V=new n(m,{method:"POST",body:g,duplex:"half"}),Y;if(wt.isFormData(g)&&(Y=V.headers.get("content-type"))&&A.setContentType(Y),V.body){const[z,ee]=Nj(I,R6($j(w)));g=Hj(V.body,zj,z,ee)}}wt.isString(D)||(D=D?"include":"omit");const P=i&&"credentials"in n.prototype,B=Et(Te({},k),{signal:_,method:v.toUpperCase(),headers:A.normalize().toJSON(),body:g,duplex:"half",credentials:P?D:void 0});M=i&&new n(m,B);let T=yield i?x(M,k):x(m,B);const O=c&&(S==="stream"||S==="response");if(c&&(E||O&&L)){const V={};["status","statusText","headers"].forEach(ae=>{V[ae]=T[ae]});const Y=wt.toFiniteNumber(T.headers.get("content-length")),[z,ee]=E&&Nj(Y,R6($j(E),!0))||[];T=new r(Hj(T.body,zj,z,()=>{ee&&ee(),L&&L()}),V)}S=S||"text";let N=yield d[wt.findKey(d,S)||"text"](T,h);return!O&&L&&L(),yield new Promise((V,Y)=>{ope(V,Y,{data:N,headers:cl.from(T.headers),status:T.status,statusText:T.statusText,config:h,request:M})})}catch(P){throw L&&L(),P&&P.name==="TypeError"&&/Load failed|fetch/i.test(P.message)?Object.assign(new yr("Network Error",yr.ERR_NETWORK,h,M),{cause:P.cause||P}):yr.from(P,P&&P.code,h,M)}})},Dst=new Map,upe=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:a}=t,i=[r,a,n];let o=i.length,l=o,s,u,c=Dst;for(;l--;)s=i[l],u=c.get(s),u===void 0&&c.set(s,u=l?new Map:Ast(t)),c=u;return u};upe();const SI={http:Wlt,xhr:bst,fetch:{get:upe}};wt.forEach(SI,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});const Kj=e=>`- ${e}`,Tst=e=>wt.isFunction(e)||e===null||e===!1;function kst(e,t){e=wt.isArray(e)?e:[e];const{length:n}=e;let r,a;const i={};for(let o=0;o`adapter ${s} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=n?o.length>1?`since : `+o.map(Kj).join(` `):" "+Kj(o[0]):"as no adapter specified";throw new yr("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return a}const cpe={getAdapter:kst,adapters:SI};function vw(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new og(null,e)}function Uj(e){return vw(e),e.headers=cl.from(e.headers),e.data=mw.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),cpe.getAdapter(e.adapter||a4.adapter,e)(e).then(function(r){return vw(e),r.data=mw.call(e,e.transformResponse,r),r.headers=cl.from(r.headers),r},function(r){return ipe(r)||(vw(e),r&&r.response&&(r.response.data=mw.call(e,e.transformResponse,r.response),r.response.headers=cl.from(r.response.headers))),Promise.reject(r)})}const dpe="1.13.2",J9={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{J9[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const qj={};J9.transitional=function(t,n,r){function a(i,o){return"[Axios v"+dpe+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,l)=>{if(t===!1)throw new yr(a(o," has been removed"+(n?" in "+n:"")),yr.ERR_DEPRECATED);return n&&!qj[o]&&(qj[o]=!0,console.warn(a(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,l):!0}};J9.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function _st(e,t,n){if(typeof e!="object")throw new yr("options must be an object",yr.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const i=r[a],o=t[i];if(o){const l=e[i],s=l===void 0||o(l,i,e);if(s!==!0)throw new yr("option "+i+" must be "+s,yr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yr("Unknown option "+i,yr.ERR_BAD_OPTION)}}const l7={assertOptions:_st,validators:J9},Au=l7.validators;let im=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Pj,response:new Pj}}request(t,n){return Xt(this,null,function*(){try{return yield this._request(t,n)}catch(r){if(r instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+i):r.stack=i}catch(o){}}throw r}})}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Om(this.defaults,n);const{transitional:r,paramsSerializer:a,headers:i}=n;r!==void 0&&l7.assertOptions(r,{silentJSONParsing:Au.transitional(Au.boolean),forcedJSONParsing:Au.transitional(Au.boolean),clarifyTimeoutError:Au.transitional(Au.boolean)},!1),a!=null&&(wt.isFunction(a)?n.paramsSerializer={serialize:a}:l7.assertOptions(a,{encode:Au.function,serialize:Au.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),l7.assertOptions(n,{baseUrl:Au.spelling("baseURL"),withXsrfToken:Au.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&wt.merge(i.common,i[n.method]);i&&wt.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=cl.concat(o,i);const l=[];let s=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(s=s&&m.synchronous,l.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,d=0,f;if(!s){const h=[Uj.bind(this),void 0];for(h.unshift(...l),h.push(...u),f=h.length,c=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](a);r._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(l=>{r.subscribe(l),i=l}).then(a);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,l){r.reason||(r.reason=new og(i,o,l),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 fpe(function(a){t=a}),cancel:t}}};function Mst(e){return function(n){return e.apply(null,n)}}function Bst(e){return wt.isObject(e)&&e.isAxiosError===!0}const xB={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(xB).forEach(([e,t])=>{xB[t]=e});function ppe(e){const t=new im(e),n=Gfe(im.prototype.request,t);return wt.extend(n,im.prototype,t,{allOwnKeys:!0}),wt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(a){return ppe(Om(e,a))},n}const Ka=ppe(a4);Ka.Axios=im;Ka.CanceledError=og;Ka.CancelToken=xst;Ka.isCancel=ipe;Ka.VERSION=dpe;Ka.toFormData=Y9;Ka.AxiosError=yr;Ka.Cancel=Ka.CanceledError;Ka.all=function(t){return Promise.all(t)};Ka.spread=Mst;Ka.isAxiosError=Bst;Ka.mergeConfig=Om;Ka.AxiosHeaders=cl;Ka.formToJSON=e=>ape(wt.isHTMLForm(e)?new FormData(e):e);Ka.getAdapter=cpe.getAdapter;Ka.HttpStatusCode=xB;Ka.default=Ka;const{Axios:Yxt,AxiosError:Jxt,CanceledError:Xxt,isCancel:Zxt,CancelToken:Qxt,VERSION:eMt,all:tMt,Cancel:nMt,isAxiosError:rMt,spread:aMt,toFormData:iMt,AxiosHeaders:oMt,HttpStatusCode:lMt,formToJSON:sMt,getAdapter:uMt,mergeConfig:cMt}=Ka,Rst={VITE_PUBLIC_PATH:"/vue-pure-admin/"};let L6={};const{VITE_PUBLIC_PATH:Lst}=Rst,Ost=e=>{L6=Object.assign(L6,e)},om=e=>{if(typeof e=="string"){const t=e.split(".");if(t&&t.length){let n=L6;return t.forEach(r=>{n&&typeof n[r]!="undefined"?n=n[r]:n=null}),n}}return L6},Pst=e=>Xt(null,null,function*(){return e.config.globalProperties.$config=om(),Ka({method:"get",url:`${Lst}platform-config.json`}).then(({data:t})=>{let n=e.config.globalProperties.$config;return e&&n&&typeof t=="object"&&(n=Object.assign(n,t),e.config.globalProperties.$config=n,Ost(n)),n}).catch(()=>{throw"请在public文件夹下添加platform-config.json配置文件"})}),Cf=()=>om().ResponsiveStorageNameSpace,O6=(function(){const e=Object.fromEntries(Object.entries(Object.assign({"../../locales/en.yaml":sit,"../../locales/zh-CN.yaml":cit})).map(([t,n])=>[t.match(/([A-Za-z0-9-_]+)\./i)[1],n.default]));return(t="zh-CN")=>e[t]})(),Ist={zh:Te(Te({},O6("zh-CN")),yfe),en:Te(Te({},O6("en")),zO)};function Nst(e){const t=[],n=new Set;for(t.push({obj:e,key:""});t.length>0;){const{obj:r,key:a}=t.pop();for(const i in r){const o=a?`${a}.${i}`:i;r[i]&&Q1(r[i])?t.push({obj:r[i],key:o}):n.add(a)}}return n}const Yj=new Map,$st=(e="zh-CN")=>{let t=Yj.get(e);return t||(t=Nst(O6(e)),Yj.set(e,t)),t};function MB(e=""){var n;if(!e)return"";if(typeof e=="object"){const r=a1.global.locale;return e[r==null?void 0:r.value]}const t=(n=e.match(/(\S*)\./))==null?void 0:n.input;return t&&$st("zh-CN").has(t)||!t&&Object.hasOwn(O6("zh-CN"),e)?a1.global.t.call(a1.global.locale,e):e}const Ot=e=>e;var Fae,Eae;const a1=Uot({locale:(Eae=(Fae=Pa().getItem(`${Cf()}locale`))==null?void 0:Fae.locale)!=null?Eae:"zh",fallbackLocale:"en",messages:Ist});function Vst(e){e.use(a1)}const Hst={path:"/able",redirect:"/able/watermark",meta:{icon:"ri/ubuntu-fill",title:Ot("menus.pureAble"),rank:B5e},children:[{path:"/able/mqtt-client",name:"MqttClient",component:()=>Be(()=>import("./mqtt-client-Sc9xn8Sf.js"),__vite__mapDeps([0,1])),meta:{title:Ot("menus.pureMqtt")}},{path:"/able/verify",name:"Verify",component:()=>Be(()=>import("./verify-DOowU97F.js"),__vite__mapDeps([2,3])),meta:{title:Ot("menus.pureVerify")}},{path:"/able/watermark",name:"WaterMark",component:()=>Be(()=>import("./watermark-D4Ac7KL0.js"),[]),meta:{title:Ot("menus.pureWatermark")}},{path:"/able/print",name:"Print",component:()=>Be(()=>import("./index-DFq0u5mz.js"),__vite__mapDeps([4,5,6,7])),meta:{title:Ot("menus.purePrint")}},{path:"/able/download",name:"Download",component:()=>Be(()=>import("./download-DKPUcuKf.js"),[]),meta:{title:Ot("menus.pureDownload")}},{path:"/able/excel",name:"Excel",component:()=>Be(()=>import("./excel-Cbu_THFh.js"),__vite__mapDeps([8,9])),meta:{title:Ot("menus.pureExcel")}},{path:"/components/ripple",name:"Ripple",component:()=>Be(()=>import("./ripple-DyM6oey2.js"),[]),meta:{title:Ot("menus.pureRipple")}},{path:"/able/debounce",name:"Debounce",component:()=>Be(()=>import("./debounce-CS7hWKYe.js"),[]),meta:{title:Ot("menus.pureDebounce")}},{path:"/able/directives",name:"Directives",component:()=>Be(()=>import("./directives-DoOHWOC-.js"),[]),meta:{title:Ot("menus.pureOptimize")}},{path:"/able/draggable",name:"Draggable",component:()=>Be(()=>import("./draggable-Bqrv092C.js"),__vite__mapDeps([10,11,12,13])),meta:{title:Ot("menus.pureDraggable"),transition:{enterTransition:"animate__zoomIn",leaveTransition:"animate__zoomOut"}}},{path:"/able/pdf",name:"Pdf",component:()=>Be(()=>import("./pdf-B8bwJBDY.js"),[]),meta:{title:Ot("menus.purePdf")}},{path:"/able/barcode",name:"BarCode",component:()=>Be(()=>import("./barcode-B9pekyA4.js"),[]),meta:{title:Ot("menus.pureBarcode")}},{path:"/able/qrcode",name:"QrCode",component:()=>Be(()=>import("./qrcode-CpVRjG5m.js"),__vite__mapDeps([14,15,16,17,18])),meta:{title:Ot("menus.pureQrcode")}},{path:"/able/map",name:"MapPage",component:()=>Be(()=>import("./map-CeN1uya_.js"),__vite__mapDeps([19,20,21])),meta:{title:Ot("menus.pureMap"),keepAlive:!0,transition:{name:"fade"}}},{path:"/able/wavesurfer",name:"Wavesurfer",component:()=>Be(()=>import("./index-BQ66Hwz_.js"),[]),meta:{title:Ot("menus.pureWavesurfer")}},{path:"/able/video",name:"VideoPage",component:()=>Be(()=>import("./video-CJhuHHlE.js"),__vite__mapDeps([22,23,24])),meta:{title:Ot("menus.pureVideo")}},{path:"/able/video-frame",name:"VideoFrame",component:()=>Be(()=>import("./index-BXZkxjri.js"),__vite__mapDeps([25,26,27])),meta:{title:Ot("menus.pureVideoFrame")}},{path:"/able/danmaku",name:"Danmaku",component:()=>Be(()=>import("./index-CzXthEua.js"),__vite__mapDeps([28,29])),meta:{title:Ot("menus.pureDanmaku")}},{path:"/able/infinite-scroll",name:"InfiniteScroll",component:()=>Be(()=>import("./infinite-scroll-Bxb9rwTO.js"),[]),meta:{title:Ot("menus.pureInfiniteScroll")}},{path:"/able/menu-tree",name:"MenuTree",component:()=>Be(()=>import("./menu-tree-Btwjzzcq.js"),__vite__mapDeps([30,23])),meta:{title:Ot("menus.pureMenuTree")}},{path:"/able/line-tree",name:"LineTree",component:()=>Be(()=>import("./line-tree-DX4FSN4g.js"),__vite__mapDeps([31,32])),meta:{title:Ot("menus.pureLineTree")}},{path:"/able/typeit",name:"Typeit",component:()=>Be(()=>import("./typeit-DXcvtEfR.js"),__vite__mapDeps([33,34])),meta:{title:Ot("menus.pureTypeit")}},{path:"/able/sensitive",name:"Sensitive",component:()=>Be(()=>import("./sensitive-BOqc2C4u.js"),[]),meta:{title:Ot("menus.pureSensitive")}},{path:"/able/pinyin",name:"Pinyin",component:()=>Be(()=>import("./pinyin-Dcqh83tL.js"),__vite__mapDeps([35,36,37])),meta:{title:Ot("menus.purePinyin")}}]},zst=Object.freeze(Object.defineProperty({__proto__:null,default:Hst},Symbol.toStringTag,{value:"Module"})),Wst={path:"/about",redirect:"/about/index",meta:{icon:"ri/file-info-line",title:Ot("menus.pureAbout"),rank:G5e},children:[{path:"/about/index",name:"About",component:()=>Be(()=>import("./index-qSECcA1F.js"),__vite__mapDeps([38,39,40])),meta:{title:Ot("menus.pureAbout")}}]},Gst=Object.freeze(Object.defineProperty({__proto__:null,default:Wst},Symbol.toStringTag,{value:"Module"})),jst=()=>Be(()=>import("./frame-27tEfk9B.js"),__vite__mapDeps([41,42])),Kst={path:"/board",redirect:"/board/index",meta:{icon:"ri/artboard-line",title:Ot("menus.pureBoard"),rank:J5e},children:[{path:"/board/index",name:"FrameBoard",component:jst,meta:{title:Ot("menus.pureBoard"),keepAlive:!0,frameSrc:"https://songlh.top/paint-board/"}}]},Ust=Object.freeze(Object.defineProperty({__proto__:null,default:Kst},Symbol.toStringTag,{value:"Module"})),qst={path:"/chatai",redirect:"/chatai/index",meta:{icon:"ri/chat-search-line",title:"chat-ai",rank:k5e},children:[{path:"/chatai/index",name:"ChatAi",component:()=>Be(()=>import("./index-p_fPHxdJ.js"),__vite__mapDeps([43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58])),meta:{title:"chat-ai",extraIcon:"IF-pure-iconfont-new svg"}}]},Yst=Object.freeze(Object.defineProperty({__proto__:null,default:qst},Symbol.toStringTag,{value:"Module"})),Jst={path:"/codemirror",redirect:"/codemirror/index",meta:{icon:"ri/code-box-line",title:Ot("menus.pureCodeMirror"),rank:j5e},children:[{path:"/codemirror/index",name:"CodeMirror",component:()=>Be(()=>import("./index-DozWJnEX.js"),__vite__mapDeps([59,60])),meta:{title:Ot("menus.pureCodeMirror"),extraIcon:"IF-pure-iconfont-new svg"}}]},Xst=Object.freeze(Object.defineProperty({__proto__:null,default:Jst},Symbol.toStringTag,{value:"Module"})),Zst={path:"/components",redirect:"/components/dialog",meta:{icon:"ep/menu",title:Ot("menus.pureComponents"),rank:M5e},children:[{path:"/components/dialog",name:"DialogPage",component:()=>Be(()=>import("./index-DaaD5E6f.js"),__vite__mapDeps([61,62,63,64])),meta:{title:Ot("menus.pureDialog")}},{path:"/components/drawer",name:"DrawerPage",component:()=>Be(()=>import("./index-BAolTmmn.js"),__vite__mapDeps([65,66,67])),meta:{title:Ot("menus.pureDrawer")}},{path:"/components/message",name:"Message",component:()=>Be(()=>import("./message-Df8EDRnV.js"),__vite__mapDeps([68,23,69])),meta:{title:Ot("menus.pureMessage")}},{path:"/components/upload",name:"PureUpload",component:()=>Be(()=>import("./index-CzNN_2eE.js"),__vite__mapDeps([70,11,71,20,72])),meta:{title:Ot("menus.pureUpload")}},{path:"/components/check-card",name:"CheckCard",component:()=>Be(()=>import("./check-card-COl_wCu0.js"),__vite__mapDeps([73,74,75,76])),meta:{title:Ot("menus.pureCheckCard")}},{path:"/components/date-picker",name:"DatePicker",component:()=>Be(()=>import("./date-picker-DzoDK41m.js"),__vite__mapDeps([77,23,78])),meta:{title:Ot("menus.pureDatePicker")}},{path:"/components/datetime-picker",name:"DateTimePicker",component:()=>Be(()=>import("./datetime-picker-poDSNwkp.js"),__vite__mapDeps([79,80])),meta:{title:Ot("menus.pureDateTimePicker")}},{path:"/components/time-picker",name:"TimePicker",component:()=>Be(()=>import("./time-picker-BVXVUS3H.js"),[]),meta:{title:Ot("menus.pureTimePicker")}},{path:"/components/icon-select",name:"IconSelect",component:()=>Be(()=>import("./icon-select-BApzD-xL.js"),[]),meta:{title:Ot("menus.pureIconSelect")}},{path:"/components/animatecss",name:"AnimateCss",component:()=>Be(()=>import("./animatecss-qNNYryWi.js"),__vite__mapDeps([81,82,83])),meta:{title:Ot("menus.pureAnimatecss")}},{path:"/components/cropping",name:"Cropping",component:()=>Be(()=>import("./index-DDcrUGN6.js"),__vite__mapDeps([84,85,86])),meta:{title:Ot("menus.pureCropping")}},{path:"/components/segmented",name:"Segmented",component:()=>Be(()=>import("./segmented-The-hDyj.js"),__vite__mapDeps([87,23,88,89,90])),meta:{title:Ot("menus.pureSegmented")}},{path:"/components/text",name:"PureText",component:()=>Be(()=>import("./text-K0_2uqCF.js"),__vite__mapDeps([91,92,93])),meta:{title:Ot("menus.pureText")}},{path:"/components/slider",name:"PureSlider",component:()=>Be(()=>import("./index-DnlThzFs.js"),__vite__mapDeps([94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110])),meta:{title:Ot("menus.pureSlider")}},{path:"/components/el-button",name:"PureButton",component:()=>Be(()=>import("./el-button-BfSindnz.js"),__vite__mapDeps([111,23,112])),meta:{title:Ot("menus.pureElButton")}},{path:"/components/check-button",name:"CheckButton",component:()=>Be(()=>import("./check-button-Cx3Xukja.js"),__vite__mapDeps([113,114])),meta:{title:Ot("menus.pureCheckButton")}},{path:"/components/button",name:"ButtonPage",component:()=>Be(()=>import("./button-jEuwwek3.js"),[]),meta:{title:Ot("menus.pureButton")}},{path:"/components/progress",name:"PureProgress",component:()=>Be(()=>import("./progress-CnoEAonf.js"),__vite__mapDeps([115,23,116])),meta:{title:Ot("menus.pureProgress")}},{path:"/components/tag",name:"PureTag",component:()=>Be(()=>import("./tag-BF8pa4Rk.js"),__vite__mapDeps([117,118])),meta:{title:Ot("menus.pureTag")}},{path:"/components/statistic",name:"Statistic",component:()=>Be(()=>import("./statistic-BOXRkNmg.js"),__vite__mapDeps([119,120,121])),meta:{title:Ot("menus.pureStatistic")}},{path:"/components/collapse",name:"Collapse",component:()=>Be(()=>import("./collapse-D_sAyhqM.js"),[]),meta:{title:Ot("menus.pureCollapse")}},{path:"/components/cascader",name:"Cascader",component:()=>Be(()=>import("./cascader-Bp5C_agR.js"),[]),meta:{title:Ot("menus.pureCascader")}},{path:"/components/color-picker",name:"ColorPicker",component:()=>Be(()=>import("./color-picker-sMphc-HK.js"),[]),meta:{title:Ot("menus.pureColorPicker")}},{path:"/components/color-picker-panel",name:"ColorPickerPanel",component:()=>Be(()=>import("./color-picker-panel-alhbvowF.js"),[]),meta:{title:Ot("menus.pureColorPickerPanel"),extraIcon:"IF-pure-iconfont-new svg"}},{path:"/components/selector",name:"Selector",component:()=>Be(()=>import("./selector-_-SytHB7.js"),__vite__mapDeps([122,123])),meta:{title:Ot("menus.pureSelector")}},{path:"/components/waterfall",name:"Waterfall",component:()=>Be(()=>import("./index-ftG5Mnug.js"),__vite__mapDeps([124,125,126])),meta:{title:Ot("menus.pureWaterfall")}},{path:"/components/split-pane",name:"SplitPane",component:()=>Be(()=>import("./split-pane-CjbRIbT_.js"),__vite__mapDeps([127,128])),meta:{title:Ot("menus.pureSplitPane")}},{path:"/components/swiper",name:"Swiper",component:()=>Be(()=>import("./swiper-D5pNQct5.js"),__vite__mapDeps([129,130])),meta:{title:Ot("menus.pureSwiper")}},{path:"/components/timeline",name:"TimeLine",component:()=>Be(()=>import("./timeline-D1CD9Sje.js"),__vite__mapDeps([131,132,133,23,134,135])),meta:{title:Ot("menus.pureTimeline")}},{path:"/components/count-to",name:"CountTo",component:()=>Be(()=>import("./count-to-D_v9wKOA.js"),__vite__mapDeps([136,137,16,138])),meta:{title:Ot("menus.pureCountTo")}},{path:"/components/contextmenu",name:"ContextMenu",component:()=>Be(()=>import("./index-CpGD2SWR.js"),__vite__mapDeps([139,140,141,142,143,144,145,146,147])),meta:{title:Ot("menus.pureContextmenu")}},{path:"/components/json-editor",name:"JsonEditor",component:()=>Be(()=>import("./json-editor-SCf8kPEU.js"),__vite__mapDeps([148,149,150])),meta:{title:Ot("menus.pureJsonEditor")}},{path:"/components/seamless-scroll",name:"SeamlessScroll",component:()=>Be(()=>import("./seamless-scroll-D8YzBxVH.js"),__vite__mapDeps([151,152])),meta:{title:Ot("menus.pureSeamless")}},{path:"/components/virtual-list",name:"VirtualList",component:()=>Be(()=>import("./index-DN2W9B9T.js"),__vite__mapDeps([153,154,155,156,157,158,159])),meta:{title:Ot("menus.pureVirtualList")}}]},Qst=Object.freeze(Object.defineProperty({__proto__:null,default:Zst},Symbol.toStringTag,{value:"Module"})),eut={path:"/editor",redirect:"/editor/index",meta:{icon:"ep/edit",title:Ot("menus.pureEditor"),rank:U5e},children:[{path:"/editor/index",name:"Editor",component:()=>Be(()=>import("./index-CkbqxxeV.js"),__vite__mapDeps([160,161,162,163,164,120,165,166])),meta:{title:Ot("menus.pureEditor"),keepAlive:!0}}]},tut=Object.freeze(Object.defineProperty({__proto__:null,default:eut},Symbol.toStringTag,{value:"Module"})),nut={path:"/error",redirect:"/error/403",meta:{icon:"ri/information-line",title:Ot("menus.pureAbnormal"),rank:I5e},children:[{path:"/error/403",name:"403",component:()=>Be(()=>import("./403-BThdJqDf.js"),__vite__mapDeps([167,168])),meta:{title:Ot("menus.pureAccessDenied")}},{path:"/error/404",name:"404",component:()=>Be(()=>import("./404-DZGbVnnT.js"),__vite__mapDeps([169,170])),meta:{title:Ot("menus.purePageNotFound")}},{path:"/error/500",name:"500",component:()=>Be(()=>import("./500-B5lh3OV9.js"),__vite__mapDeps([171,172])),meta:{title:Ot("menus.pureServerError")}}]},rut=Object.freeze(Object.defineProperty({__proto__:null,default:nut},Symbol.toStringTag,{value:"Module"})),aut={path:"/flow-chart",redirect:"/flow-chart/index",meta:{icon:"ep/set-up",title:Ot("menus.pureFlowChart"),rank:q5e},children:[{path:"/flow-chart/index",name:"FlowChart",component:()=>Be(()=>import("./index-DHr4p8tD.js"),__vite__mapDeps([173,174,149,150,175])),meta:{title:Ot("menus.pureFlowChart")}}]},iut=Object.freeze(Object.defineProperty({__proto__:null,default:aut},Symbol.toStringTag,{value:"Module"})),out={path:"/form",redirect:"/form/index",meta:{icon:"ri/edit-box-line",title:Ot("menus.pureSchemaForm"),rank:L5e},children:[{path:"/form/index",name:"SchemaForm",component:()=>Be(()=>import("./index-BOqSFRAI.js"),__vite__mapDeps([176,177,178,74,75,179,180,181,182,183,184,185,186,187,188,174,189,190])),meta:{title:Ot("menus.pureSchemaForm")}}]},lut=Object.freeze(Object.defineProperty({__proto__:null,default:out},Symbol.toStringTag,{value:"Module"})),sut=()=>Be(()=>import("./frame-27tEfk9B.js"),__vite__mapDeps([41,42])),uut={path:"/form-design",redirect:"/form-design/index",meta:{icon:"ri/terminal-window-line",title:Ot("menus.pureFormDesign"),rank:Y5e},children:[{path:"/form-design/index",name:"FormDesign",component:sut,meta:{title:Ot("menus.pureFormDesign"),keepAlive:!0,frameSrc:"https://haixin-fang.github.io/vue-form-design/playground/index.html",frameLoading:!1}}]},cut=Object.freeze(Object.defineProperty({__proto__:null,default:uut},Symbol.toStringTag,{value:"Module"})),dut={path:"/ganttastic",redirect:"/ganttastic/index",meta:{icon:"ri/bar-chart-horizontal-line",title:Ot("menus.pureGanttastic"),rank:x5e},children:[{path:"/ganttastic/index",name:"Ganttastic",component:()=>Be(()=>import("./index-DG2aRXT_.js"),[]),meta:{title:Ot("menus.pureGanttastic")}}]},fut=Object.freeze(Object.defineProperty({__proto__:null,default:dut},Symbol.toStringTag,{value:"Module"})),put={path:"/guide",redirect:"/guide/index",meta:{icon:"ep/guide",title:Ot("menus.pureGuide"),rank:Q5e},children:[{path:"/guide/index",name:"Guide",component:()=>Be(()=>import("./index-BgTlcszz.js"),__vite__mapDeps([191,192])),meta:{title:Ot("menus.pureGuide")}}]},hut=Object.freeze(Object.defineProperty({__proto__:null,default:put},Symbol.toStringTag,{value:"Module"})),mut=()=>Be(()=>import("./index-Cii3cJrL.js"),__vite__mapDeps([193,194,12,195,26,17,196,197,198,199,200,36,23,11,69,125,88,89,92,201])),vut={path:"/",name:"Home",component:mut,redirect:"/welcome",meta:{icon:"ep/home-filled",title:Ot("menus.pureHome"),rank:T5e},children:[{path:"/welcome",name:"Welcome",component:()=>Be(()=>import("./index-BADhr3lz.js"),__vite__mapDeps([202,120,203,204,23,205,137,16,138,132,133,206,207,208,88,89,209])),meta:{title:Ot("menus.pureHome"),showLink:!0}}]},gut=Object.freeze(Object.defineProperty({__proto__:null,default:vut},Symbol.toStringTag,{value:"Module"})),yut={path:"/list",redirect:"/list/card",meta:{icon:"ri/list-check",title:Ot("menus.pureList"),rank:O5e},children:[{path:"/list/card",name:"CardList",component:()=>Be(()=>import("./index-BLfvrcic.js"),__vite__mapDeps([210,211,212,213,23,214])),meta:{icon:"ri/bank-card-line",title:Ot("menus.pureCardList"),showParent:!0}}]},but=Object.freeze(Object.defineProperty({__proto__:null,default:yut},Symbol.toStringTag,{value:"Module"})),Cut={path:"/markdown",redirect:"/markdown/index",meta:{icon:"ri/markdown-line",title:Ot("menus.pureMarkdown"),rank:K5e},children:[{path:"/markdown/index",name:"Markdown",component:()=>Be(()=>import("./index-D0S7hPTT.js"),__vite__mapDeps([215,216,217])),meta:{title:Ot("menus.pureMarkdown"),extraIcon:"IF-pure-iconfont-new svg"}}]},Fut=Object.freeze(Object.defineProperty({__proto__:null,default:Cut},Symbol.toStringTag,{value:"Module"})),Eut={path:"/menuoverflow",redirect:"/menuoverflow/index",meta:{title:Ot("menus.pureMenuOverflow"),rank:e4e},children:[{path:"/menuoverflow/index",name:"MenuOverflow",component:()=>Be(()=>import("./index-DhX9TRMT.js"),[]),meta:{title:Ot("menus.pureChildMenuOverflow"),showParent:!0}}]},wut=Object.freeze(Object.defineProperty({__proto__:null,default:Eut},Symbol.toStringTag,{value:"Module"})),Sut=()=>Be(()=>import("./frame-27tEfk9B.js"),__vite__mapDeps([41,42])),Aut={path:"/mind-map",redirect:"/mind-map/index",meta:{icon:"ri/mind-map",title:Ot("menus.pureMindMap"),rank:Z5e},children:[{path:"/mind-map/index",name:"FrameMindMap",component:Sut,meta:{title:Ot("menus.pureMindMap"),keepAlive:!0,frameSrc:"https://wanglin2.github.io/mind-map/#/"}}]},Dut=Object.freeze(Object.defineProperty({__proto__:null,default:Aut},Symbol.toStringTag,{value:"Module"})),Tut={path:"/nested",redirect:"/nested/menu1/menu1-1",meta:{title:Ot("menus.pureMenus"),icon:"ep/histogram",rank:$5e},children:[{path:"/nested/menu1",meta:{title:Ot("menus.pureMenu1"),keepAlive:!0},redirect:"/nested/menu1/menu1-1",children:[{path:"/nested/menu1/menu1-1",component:()=>Be(()=>import("./index-ODLQb_26.js"),[]),name:"Menu1-1",meta:{title:Ot("menus.pureMenu1-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2",redirect:"/nested/menu1/menu1-2/menu1-2-1",meta:{title:Ot("menus.pureMenu1-2"),keepAlive:!0},children:[{path:"/nested/menu1/menu1-2/menu1-2-1",component:()=>Be(()=>import("./index-DpIGFbZ-.js"),[]),name:"Menu1-2-1",meta:{title:Ot("menus.pureMenu1-2-1"),keepAlive:!0}},{path:"/nested/menu1/menu1-2/menu1-2-2",component:()=>Be(()=>import("./index-DFhNzL-W.js"),[]),name:"Menu1-2-2",meta:{title:Ot("menus.pureMenu1-2-2"),keepAlive:!0}}]},{path:"/nested/menu1/menu1-3",component:()=>Be(()=>import("./index-CCxCpvuf.js"),[]),name:"Menu1-3",meta:{title:Ot("menus.pureMenu1-3"),keepAlive:!0}}]},{path:"/nested/menu2",name:"Menu2",component:()=>Be(()=>import("./index-CU5PAzpa.js"),[]),meta:{title:Ot("menus.pureMenu2"),keepAlive:!0}}]},kut=Object.freeze(Object.defineProperty({__proto__:null,default:Tut},Symbol.toStringTag,{value:"Module"})),_ut=()=>Be(()=>import("./frame-27tEfk9B.js"),__vite__mapDeps([41,42])),xut={path:"/ppt",redirect:"/ppt/index",meta:{icon:"ri/file-ppt-2-line",title:"PPT",rank:X5e},children:[{path:"/ppt/index",name:"FramePpt",component:_ut,meta:{title:"PPT",keepAlive:!0,frameSrc:"https://pipipi-pikachu.github.io/PPTist/",frameLoading:!1}}]},Mut=Object.freeze(Object.defineProperty({__proto__:null,default:xut},Symbol.toStringTag,{value:"Module"})),But={path:"/result",redirect:"/result/success",meta:{icon:"ri/checkbox-circle-line",title:Ot("menus.pureResult"),rank:P5e},children:[{path:"/result/success",name:"Success",component:()=>Be(()=>import("./success-Bj1M0zgF.js"),__vite__mapDeps([218,219])),meta:{title:Ot("menus.pureSuccess")}},{path:"/result/fail",name:"Fail",component:()=>Be(()=>import("./fail-DF2TM2lA.js"),__vite__mapDeps([220,221,197,222])),meta:{title:Ot("menus.pureFail")}}]},Rut=Object.freeze(Object.defineProperty({__proto__:null,default:But},Symbol.toStringTag,{value:"Module"})),Lut={path:"/table",redirect:"/table/index",meta:{icon:"ri/table-line",title:Ot("menus.pureTable"),rank:R5e},children:[{path:"/table/index",name:"PureTable",component:()=>Be(()=>import("./index-WfoFp6RH.js"),__vite__mapDeps([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])),meta:{title:Ot("menus.pureTableBase")}},{path:"/table/high",name:"PureTableHigh",component:()=>Be(()=>import("./high-BZSckjwz.js"),__vite__mapDeps([252,253,254,255,256,257,258,259,260,261,262,11,263,264,265,266,267,268,9,269,270,271,272,5,273,274,275,276,277,278,279,280])),meta:{title:Ot("menus.pureTableHigh")}},{path:"/table/edit",name:"PureTableEdit",component:()=>Be(()=>import("./edit-BOqqajPS.js"),__vite__mapDeps([281,282,283,284,285,23,286,287,288,289,290,291,292,69,293])),meta:{title:Ot("menus.pureTableEdit")}},{path:"/table/virtual",name:"VxeTable",component:()=>Be(()=>import("./virtual-ahwVDe9r.js"),__vite__mapDeps([294,295,296,297,11,195,298,299,300,301])),meta:{title:Ot("menus.pureVxeTable")}}]},Out=Object.freeze(Object.defineProperty({__proto__:null,default:Lut},Symbol.toStringTag,{value:"Module"})),Put={path:"/vue-flow",redirect:"/vue-flow/index",meta:{icon:"ep/set-up",title:"vue-flow",rank:_5e},children:[{path:"/vue-flow/index",name:"VueFlow",component:()=>Be(()=>import("./index-D19Fh9w8.js"),__vite__mapDeps([302,303,1,304,305,306,307,308,309])),meta:{title:"vue-flow"}}]},Iut=Object.freeze(Object.defineProperty({__proto__:null,default:Put},Symbol.toStringTag,{value:"Module"}));function C8(e){for(var t=1;thpe=e,mpe=Symbol();function RB(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var lb;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(lb||(lb={}));function $ut(){const e=y5(!0),t=e.run(()=>j({}));let n=[],r=[];const a=Lo({install(i){X9(a),a._a=i,i.provide(mpe,a),i.config.globalProperties.$pinia=a,r.forEach(o=>n.push(o)),r=[]},use(i){return this._a?n.push(i):r.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return a}const vpe=()=>{};function Jj(e,t,n,r=vpe){e.add(t);const a=()=>{e.delete(t)&&r()};return!n&&j0()&&K0(a),a}function Tv(e,...t){e.forEach(n=>{n(...t)})}const Vut=e=>e(),Xj=Symbol(),gw=Symbol();function LB(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],a=e[n];RB(a)&&RB(r)&&e.hasOwnProperty(n)&&!Gn(r)&&!il(r)?e[n]=LB(a,r):e[n]=r}return e}const Hut=Symbol();function zut(e){return!RB(e)||!Object.prototype.hasOwnProperty.call(e,Hut)}const{assign:pf}=Object;function Wut(e){return!!(Gn(e)&&e.effect)}function Gut(e,t,n,r){const{state:a,actions:i,getters:o}=t,l=n.state.value[e];let s;function u(){l||(n.state.value[e]=a?a():{});const c=Na(n.state.value[e]);return pf(c,i,Object.keys(o||{}).reduce((d,f)=>(d[f]=Lo(R(()=>{X9(n);const p=n._s.get(e);return o[f].call(p,p)})),d),{}))}return s=gpe(e,u,t,n,r,!0),s}function gpe(e,t,n={},r,a,i){let o;const l=pf({actions:{}},n),s={deep:!0};let u,c,d=new Set,f=new Set,p;const h=r.state.value[e];!i&&!h&&(r.state.value[e]={}),j({});let m;function v(A){let D;u=c=!1,typeof A=="function"?(A(r.state.value[e]),D={type:lb.patchFunction,storeId:e,events:p}):(LB(r.state.value[e],A),D={type:lb.patchObject,payload:A,storeId:e,events:p});const k=m=Symbol();Oe().then(()=>{m===k&&(u=!0)}),c=!0,Tv(d,D,r.state.value[e])}const g=i?function(){const{state:D}=n,k=D?D():{};this.$patch(x=>{pf(x,k)})}:vpe;function b(){o.stop(),d.clear(),f.clear(),r._s.delete(e)}const C=(A,D="")=>{if(Xj in A)return A[gw]=D,A;const k=function(){X9(r);const x=Array.from(arguments),_=new Set,M=new Set;function L(B){_.add(B)}function I(B){M.add(B)}Tv(f,{args:x,name:k[gw],store:E,after:L,onError:I});let P;try{P=A.apply(this&&this.$id===e?this:E,x)}catch(B){throw Tv(M,B),B}return P instanceof Promise?P.then(B=>(Tv(_,B),B)).catch(B=>(Tv(M,B),Promise.reject(B))):(Tv(_,P),P)};return k[Xj]=!0,k[gw]=D,k},y={_p:r,$id:e,$onAction:Jj.bind(null,f),$patch:v,$reset:g,$subscribe(A,D={}){const k=Jj(d,A,D.detached,()=>x()),x=o.run(()=>$e(()=>r.state.value[e],_=>{(D.flush==="sync"?c:u)&&A({storeId:e,type:lb.direct,events:p},_)},pf({},s,D)));return k},$dispose:b},E=dn(y);r._s.set(e,E);const S=(r._a&&r._a.runWithContext||Vut)(()=>r._e.run(()=>(o=y5()).run(()=>t({action:C}))));for(const A in S){const D=S[A];if(Gn(D)&&!Wut(D)||il(D))i||(h&&zut(D)&&(Gn(D)?D.value=h[A]:LB(D,h[A])),r.state.value[e][A]=D);else if(typeof D=="function"){const k=C(D,A);S[A]=k,l.actions[A]=D}}return pf(E,S),pf(dr(E),S),Object.defineProperty(E,"$state",{get:()=>r.state.value[e],set:A=>{v(D=>{pf(D,A)})}}),r._p.forEach(A=>{pf(E,o.run(()=>A({store:E,app:r._a,pinia:r,options:l})))}),h&&i&&n.hydrate&&n.hydrate(E.$state,h),u=!0,c=!0,E}function AI(e,t,n){let r;const a=typeof t=="function";r=a?n:t;function i(o,l){const s=yie();return o=o||(s?lt(mpe,null):null),o&&X9(o),o=hpe,o._s.has(e)||(a?gpe(e,t,r,o):Gut(e,r,o)),o._s.get(e)}return i.$id=e,i}function dMt(e){const t=dr(e),n={};for(const r in t){const a=t[r];a.effect?n[r]=R({get:()=>e[r],set(i){e[r]=i}}):(Gn(a)||il(a))&&(n[r]=Qn(e,r))}return n}const Z9=$ut();function jut(e){e.use(Z9)}const Q9=[{path:"/welcome",name:"Welcome",meta:{title:"menus.pureHome",icon:"ep/home-filled"}}];const i1=typeof document!="undefined";function ype(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Kut(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ype(e.default)}const ra=Object.assign;function yw(e,t){const n={};for(const r in t){const a=t[r];n[r]=iu(a)?a.map(e):e(a)}return n}const sb=()=>{},iu=Array.isArray;function Zj(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const bpe=/#/g,Uut=/&/g,qut=/\//g,Yut=/=/g,Jut=/\?/g,Cpe=/\+/g,Xut=/%5B/g,Zut=/%5D/g,Fpe=/%5E/g,Qut=/%60/g,Epe=/%7B/g,ect=/%7C/g,wpe=/%7D/g,tct=/%20/g;function DI(e){return e==null?"":encodeURI(""+e).replace(ect,"|").replace(Xut,"[").replace(Zut,"]")}function nct(e){return DI(e).replace(Epe,"{").replace(wpe,"}").replace(Fpe,"^")}function OB(e){return DI(e).replace(Cpe,"%2B").replace(tct,"+").replace(bpe,"%23").replace(Uut,"%26").replace(Qut,"`").replace(Epe,"{").replace(wpe,"}").replace(Fpe,"^")}function rct(e){return OB(e).replace(Yut,"%3D")}function act(e){return DI(e).replace(bpe,"%23").replace(Jut,"%3F")}function ict(e){return act(e).replace(qut,"%2F")}function x2(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch(t){}return""+e}const oct=/\/$/,lct=e=>e.replace(oct,"");function bw(e,t,n="/"){let r,a={},i="",o="";const l=t.indexOf("#");let s=t.indexOf("?");return s=l>=0&&s>l?-1:s,s>=0&&(r=t.slice(0,s),i=t.slice(s,l>0?l:t.length),a=e(i.slice(1))),l>=0&&(r=r||t.slice(0,l),o=t.slice(l,t.length)),r=dct(r!=null?r:t,n),{fullPath:r+i+o,path:r,query:a,hash:x2(o)}}function sct(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qj(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function uct(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&b0(t.matched[r],n.matched[a])&&Spe(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function b0(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Spe(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!cct(e[n],t[n]))return!1;return!0}function cct(e,t){return iu(e)?eK(e,t):iu(t)?eK(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function eK(e,t){return iu(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function dct(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),a=r[r.length-1];(a===".."||a===".")&&r.push("");let i=n.length-1,o,l;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}const qd={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let PB=(function(e){return e.pop="pop",e.push="push",e})({}),Cw=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function fct(e){if(!e)if(i1){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lct(e)}const pct=/^[^#]+#/;function hct(e,t){return e.replace(pct,"#")+t}function mct(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 eF=()=>({left:window.scrollX,top:window.scrollY});function vct(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=mct(a,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 tK(e,t){return(history.state?history.state.position-t:-1)+e}const IB=new Map;function gct(e,t){IB.set(e,t)}function yct(e){const t=IB.get(e);return IB.delete(e),t}function bct(e){return typeof e=="string"||e&&typeof e=="object"}function Ape(e){return typeof e=="string"||typeof e=="symbol"}let qa=(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 Dpe=Symbol("");qa.MATCHER_NOT_FOUND+"",qa.NAVIGATION_GUARD_REDIRECT+"",qa.NAVIGATION_ABORTED+"",qa.NAVIGATION_CANCELLED+"",qa.NAVIGATION_DUPLICATED+"";function C0(e,t){return ra(new Error,{type:e,[Dpe]:!0},t)}function Ic(e,t){return e instanceof Error&&Dpe in e&&(t==null||!!(e.type&t))}const Cct=["params","query","hash"];function Fct(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Cct)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Ect(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ra&&OB(a)):[r&&OB(r)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function wct(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=iu(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return t}const Sct=Symbol(""),rK=Symbol(""),tF=Symbol(""),TI=Symbol(""),NB=Symbol("");function Jg(){let e=[];function t(r){return e.push(r),()=>{const a=e.indexOf(r);a>-1&&e.splice(a,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ff(e,t,n,r,a,i=o=>o()){const o=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((l,s)=>{const u=f=>{f===!1?s(C0(qa.NAVIGATION_ABORTED,{from:n,to:t})):f instanceof Error?s(f):bct(f)?s(C0(qa.NAVIGATION_GUARD_REDIRECT,{from:t,to:f})):(o&&r.enterCallbacks[a]===o&&typeof f=="function"&&o.push(f),l())},c=i(()=>e.call(r&&r.instances[a],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(f=>s(f))})}function Fw(e,t,n,r,a=i=>i()){const i=[];for(const o of e)for(const l in o.components){let s=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(ype(s)){const u=(s.__vccOpts||s)[t];u&&i.push(Ff(u,n,r,o,l,a))}else{let u=s();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const d=Kut(c)?c.default:c;o.mods[l]=c,o.components[l]=d;const f=(d.__vccOpts||d)[t];return f&&Ff(f,n,r,o,l,a)()}))}}return i}function Act(e,t){const n=[],r=[],a=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;ob0(u,l))?r.push(l):n.push(l));const s=e.matched[o];s&&(t.matched.find(u=>b0(u,s))||a.push(s))}return[n,r,a]}let Dct=()=>location.protocol+"//"+location.host;function Tpe(e,t){const{pathname:n,search:r,hash:a}=t,i=e.indexOf("#");if(i>-1){let o=a.includes(e.slice(i))?e.slice(i).length:1,l=a.slice(o);return l[0]!=="/"&&(l="/"+l),Qj(l,"")}return Qj(n,e)+r+a}function Tct(e,t,n,r){let a=[],i=[],o=null;const l=({state:f})=>{const p=Tpe(e,location),h=n.value,m=t.value;let v=0;if(f){if(n.value=p,t.value=f,o&&o===h){o=null;return}v=m?f.position-m.position:0}else r(p);a.forEach(g=>{g(n.value,h,{delta:v,type:PB.pop,direction:v?v>0?Cw.forward:Cw.back:Cw.unknown})})};function s(){o=n.value}function u(f){a.push(f);const p=()=>{const h=a.indexOf(f);h>-1&&a.splice(h,1)};return i.push(p),p}function c(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(ra({},f.state,{scroll:eF()}),"")}}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:s,listen:u,destroy:d}}function aK(e,t,n,r=!1,a=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?eF():null}}function kct(e){const{history:t,location:n}=window,r={value:Tpe(e,n)},a={value:t.state};a.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,u,c){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+s:Dct()+e+s;try{t[c?"replaceState":"pushState"](u,"",f),a.value=u}catch(p){console.error(p),n[c?"replace":"assign"](f)}}function o(s,u){i(s,ra({},t.state,aK(a.value.back,s,a.value.forward,!0),u,{position:a.value.position}),!0),r.value=s}function l(s,u){const c=ra({},a.value,t.state,{forward:s,scroll:eF()});i(c.current,c,!0),i(s,ra({},aK(r.value,s,null),{position:c.position+1},u),!1),r.value=s}return{location:r,state:a,push:l,replace:o}}function $B(e){e=fct(e);const t=kct(e),n=Tct(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const a=ra({location:"",base:e,go:r,createHref:hct.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function iK(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),$B(e)}let Hh=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var fi=(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})(fi||{});const _ct={type:Hh.Static,value:""},xct=/[a-zA-Z0-9_]/;function Mct(e){if(!e)return[[]];if(e==="/")return[[_ct]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=fi.Static,r=n;const a=[];let i;function o(){i&&a.push(i),i=[]}let l=0,s,u="",c="";function d(){u&&(n===fi.Static?i.push({type:Hh.Static,value:u}):n===fi.Param||n===fi.ParamRegExp||n===fi.ParamRegExpEnd?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Hh.Param,value:u,regexp:c,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=s}for(;lt.length?t.length===1&&t[0]===So.Static+So.Segment?1:-1:0}function kpe(e,t){let n=0;const r=e.score,a=t.score;for(;n0&&t[t.length-1]<0}const Pct={strict:!1,end:!0,sensitive:!1};function Ict(e,t,n){const r=Lct(Mct(e.path),n),a=ra(r,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function Nct(e,t){const n=[],r=new Map;t=Zj(Pct,t);function a(d){return r.get(d)}function i(d,f,p){const h=!p,m=uK(d);m.aliasOf=p&&p.record;const v=Zj(t,d),g=[m];if("alias"in d){const y=typeof d.alias=="string"?[d.alias]:d.alias;for(const E of y)g.push(uK(ra({},m,{components:p?p.record.components:m.components,path:E,aliasOf:p?p.record:m})))}let b,C;for(const y of g){const{path:E}=y;if(f&&E[0]!=="/"){const w=f.record.path,S=w[w.length-1]==="/"?"":"/";y.path=f.record.path+(E&&S+E)}if(b=Ict(y,f,v),p?p.alias.push(b):(C=C||b,C!==b&&C.alias.push(b),h&&d.name&&!cK(b)&&o(d.name)),_pe(b)&&s(b),m.children){const w=m.children;for(let S=0;S{o(C)}:sb}function o(d){if(Ape(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function l(){return n}function s(d){const f=Hct(d,n);n.splice(f,0,d),d.record.name&&!cK(d)&&r.set(d.record.name,d)}function u(d,f){let p,h={},m,v;if("name"in d&&d.name){if(p=r.get(d.name),!p)throw C0(qa.MATCHER_NOT_FOUND,{location:d});v=p.record.name,h=ra(sK(f.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),d.params&&sK(d.params,p.keys.map(C=>C.name))),m=p.stringify(h)}else if(d.path!=null)m=d.path,p=n.find(C=>C.re.test(m)),p&&(h=p.parse(m),v=p.record.name);else{if(p=f.name?r.get(f.name):n.find(C=>C.re.test(f.path)),!p)throw C0(qa.MATCHER_NOT_FOUND,{location:d,currentLocation:f});v=p.record.name,h=ra({},f.params,d.params),m=p.stringify(h)}const g=[];let b=p;for(;b;)g.unshift(b.record),b=b.parent;return{name:v,path:m,params:h,matched:g,meta:Vct(g)}}e.forEach(d=>i(d));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:o,clearRoutes:c,getRoutes:l,getRecordMatcher:a}}function sK(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function uK(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:$ct(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 $ct(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 cK(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vct(e){return e.reduce((t,n)=>ra(t,n.meta),{})}function Hct(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;kpe(e,t[i])<0?r=i:n=i+1}const a=zct(e);return a&&(r=t.lastIndexOf(a,r-1)),r}function zct(e){let t=e;for(;t=t.parent;)if(_pe(t)&&kpe(e,t)===0)return t}function _pe({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function dK(e){const t=lt(tF),n=lt(TI),r=R(()=>{const s=F(e.to);return t.resolve(s)}),a=R(()=>{const{matched:s}=r.value,{length:u}=s,c=s[u-1],d=n.matched;if(!c||!d.length)return-1;const f=d.findIndex(b0.bind(null,c));if(f>-1)return f;const p=fK(s[u-2]);return u>1&&fK(c)===p&&d[d.length-1].path!==p?d.findIndex(b0.bind(null,s[u-2])):f}),i=R(()=>a.value>-1&&Uct(n.params,r.value.params)),o=R(()=>a.value>-1&&a.value===n.matched.length-1&&Spe(n.params,r.value.params));function l(s={}){if(Kct(s)){const u=t[F(e.replace)?"replace":"push"](F(e.to)).catch(sb);return e.viewTransition&&typeof document!="undefined"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:R(()=>r.value.href),isActive:i,isExactActive:o,navigate:l}}function Wct(e){return e.length===1?e[0]:e}const Gct=Ve({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:dK,setup(e,{slots:t}){const n=dn(dK(e)),{options:r}=lt(tF),a=R(()=>({[pK(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[pK(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Wct(t.default(n));return e.custom?i:W("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},i)}}}),jct=Gct;function Kct(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 Uct(e,t){for(const n in t){const r=t[n],a=e[n];if(typeof r=="string"){if(r!==a)return!1}else if(!iu(a)||a.length!==r.length||r.some((i,o)=>i.valueOf()!==a[o].valueOf()))return!1}return!0}function fK(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const pK=(e,t,n)=>e!=null?e:t!=null?t:n,qct=Ve({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=lt(NB),a=R(()=>e.route||r.value),i=lt(rK,0),o=R(()=>{let u=F(i);const{matched:c}=a.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),l=R(()=>a.value.matched[o.value]);Qt(rK,R(()=>o.value+1)),Qt(Sct,l),Qt(NB,a);const s=j();return $e(()=>[s.value,l.value,e.name],([u,c,d],[f,p,h])=>{c&&(c.instances[d]=u,p&&p!==c&&u&&u===f&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!b0(c,p)||!f)&&(c.enterCallbacks[d]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=a.value,c=e.name,d=l.value,f=d&&d.components[c];if(!f)return hK(n.default,{Component:f,route:u});const p=d.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,v=W(f,ra({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(d.instances[c]=null)},ref:s}));return hK(n.default,{Component:v,route:u})||v}}});function hK(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Yct=qct;function Jct(e){const t=Nct(e.routes,e),n=e.parseQuery||Ect,r=e.stringifyQuery||nK,a=e.history,i=Jg(),o=Jg(),l=Jg(),s=Zn(qd);let u=qd;i1&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=yw.bind(null,re=>""+re),d=yw.bind(null,ict),f=yw.bind(null,x2);function p(re,Q){let ie,X;return Ape(re)?(ie=t.getRecordMatcher(re),X=Q):X=re,t.addRoute(X,ie)}function h(re){const Q=t.getRecordMatcher(re);Q&&t.removeRoute(Q)}function m(){return t.getRoutes().map(re=>re.record)}function v(re){return!!t.getRecordMatcher(re)}function g(re,Q){if(Q=ra({},Q||s.value),typeof re=="string"){const Z=bw(n,re,Q.path),se=t.resolve({path:Z.path},Q),Fe=a.createHref(Z.fullPath);return ra(Z,se,{params:f(se.params),hash:x2(Z.hash),redirectedFrom:void 0,href:Fe})}let ie;if(re.path!=null)ie=ra({},re,{path:bw(n,re.path,Q.path).path});else{const Z=ra({},re.params);for(const se in Z)Z[se]==null&&delete Z[se];ie=ra({},re,{params:d(Z)}),Q.params=d(Q.params)}const X=t.resolve(ie,Q),q=re.hash||"";X.params=c(f(X.params));const ce=sct(r,ra({},re,{hash:nct(q),path:X.path})),K=a.createHref(ce);return ra({fullPath:ce,hash:q,query:r===nK?wct(re.query):re.query||{}},X,{redirectedFrom:void 0,href:K})}function b(re){return typeof re=="string"?bw(n,re,s.value.path):ra({},re)}function C(re,Q){if(u!==re)return C0(qa.NAVIGATION_CANCELLED,{from:Q,to:re})}function y(re){return S(re)}function E(re){return y(ra(b(re),{replace:!0}))}function w(re,Q){const ie=re.matched[re.matched.length-1];if(ie&&ie.redirect){const{redirect:X}=ie;let q=typeof X=="function"?X(re,Q):X;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=b(q):{path:q},q.params={}),ra({query:re.query,hash:re.hash,params:q.path!=null?{}:re.params},q)}}function S(re,Q){const ie=u=g(re),X=s.value,q=re.state,ce=re.force,K=re.replace===!0,Z=w(ie,X);if(Z)return S(ra(b(Z),{state:typeof Z=="object"?ra({},q,Z.state):q,force:ce,replace:K}),Q||ie);const se=ie;se.redirectedFrom=Q;let Fe;return!ce&&uct(r,X,ie)&&(Fe=C0(qa.NAVIGATION_DUPLICATED,{to:se,from:X}),V(X,X,!0,!1)),(Fe?Promise.resolve(Fe):k(se,X)).catch(me=>Ic(me)?Ic(me,qa.NAVIGATION_GUARD_REDIRECT)?me:N(me):T(me,se,X)).then(me=>{if(me){if(Ic(me,qa.NAVIGATION_GUARD_REDIRECT))return S(ra({replace:K},b(me.to),{state:typeof me.to=="object"?ra({},q,me.to.state):q,force:ce}),Q||se)}else me=_(se,X,!0,K,q);return x(se,X,me),me})}function A(re,Q){const ie=C(re,Q);return ie?Promise.reject(ie):Promise.resolve()}function D(re){const Q=ee.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(re):re()}function k(re,Q){let ie;const[X,q,ce]=Act(re,Q);ie=Fw(X.reverse(),"beforeRouteLeave",re,Q);for(const Z of X)Z.leaveGuards.forEach(se=>{ie.push(Ff(se,re,Q))});const K=A.bind(null,re,Q);return ie.push(K),pe(ie).then(()=>{ie=[];for(const Z of i.list())ie.push(Ff(Z,re,Q));return ie.push(K),pe(ie)}).then(()=>{ie=Fw(q,"beforeRouteUpdate",re,Q);for(const Z of q)Z.updateGuards.forEach(se=>{ie.push(Ff(se,re,Q))});return ie.push(K),pe(ie)}).then(()=>{ie=[];for(const Z of ce)if(Z.beforeEnter)if(iu(Z.beforeEnter))for(const se of Z.beforeEnter)ie.push(Ff(se,re,Q));else ie.push(Ff(Z.beforeEnter,re,Q));return ie.push(K),pe(ie)}).then(()=>(re.matched.forEach(Z=>Z.enterCallbacks={}),ie=Fw(ce,"beforeRouteEnter",re,Q,D),ie.push(K),pe(ie))).then(()=>{ie=[];for(const Z of o.list())ie.push(Ff(Z,re,Q));return ie.push(K),pe(ie)}).catch(Z=>Ic(Z,qa.NAVIGATION_CANCELLED)?Z:Promise.reject(Z))}function x(re,Q,ie){l.list().forEach(X=>D(()=>X(re,Q,ie)))}function _(re,Q,ie,X,q){const ce=C(re,Q);if(ce)return ce;const K=Q===qd,Z=i1?history.state:{};ie&&(X||K?a.replace(re.fullPath,ra({scroll:K&&Z&&Z.scroll},q)):a.push(re.fullPath,q)),s.value=re,V(re,Q,ie,K),N()}let M;function L(){M||(M=a.listen((re,Q,ie)=>{if(!ae.listening)return;const X=g(re),q=w(X,ae.currentRoute.value);if(q){S(ra(q,{replace:!0,force:!0}),X).catch(sb);return}u=X;const ce=s.value;i1&&gct(tK(ce.fullPath,ie.delta),eF()),k(X,ce).catch(K=>Ic(K,qa.NAVIGATION_ABORTED|qa.NAVIGATION_CANCELLED)?K:Ic(K,qa.NAVIGATION_GUARD_REDIRECT)?(S(ra(b(K.to),{force:!0}),X).then(Z=>{Ic(Z,qa.NAVIGATION_ABORTED|qa.NAVIGATION_DUPLICATED)&&!ie.delta&&ie.type===PB.pop&&a.go(-1,!1)}).catch(sb),Promise.reject()):(ie.delta&&a.go(-ie.delta,!1),T(K,X,ce))).then(K=>{K=K||_(X,ce,!1),K&&(ie.delta&&!Ic(K,qa.NAVIGATION_CANCELLED)?a.go(-ie.delta,!1):ie.type===PB.pop&&Ic(K,qa.NAVIGATION_ABORTED|qa.NAVIGATION_DUPLICATED)&&a.go(-1,!1)),x(X,ce,K)}).catch(sb)}))}let I=Jg(),P=Jg(),B;function T(re,Q,ie){N(re);const X=P.list();return X.length?X.forEach(q=>q(re,Q,ie)):console.error(re),Promise.reject(re)}function O(){return B&&s.value!==qd?Promise.resolve():new Promise((re,Q)=>{I.add([re,Q])})}function N(re){return B||(B=!re,L(),I.list().forEach(([Q,ie])=>re?ie(re):Q()),I.reset()),re}function V(re,Q,ie,X){const{scrollBehavior:q}=e;if(!i1||!q)return Promise.resolve();const ce=!ie&&yct(tK(re.fullPath,0))||(X||!ie)&&history.state&&history.state.scroll||null;return Oe().then(()=>q(re,Q,ce)).then(K=>K&&vct(K)).catch(K=>T(K,re,Q))}const Y=re=>a.go(re);let z;const ee=new Set,ae={currentRoute:s,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:m,resolve:g,options:e,push:y,replace:E,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:P.add,isReady:O,install(re){re.component("RouterLink",jct),re.component("RouterView",Yct),re.config.globalProperties.$router=ae,Object.defineProperty(re.config.globalProperties,"$route",{enumerable:!0,get:()=>F(s)}),i1&&!z&&s.value===qd&&(z=!0,y(a.location).catch(X=>{}));const Q={};for(const X in qd)Object.defineProperty(Q,X,{get:()=>s.value[X],enumerable:!0});re.provide(tF,ae),re.provide(TI,b5(Q)),re.provide(NB,s);const ie=re.unmount;ee.add(re),re.unmount=function(){ee.delete(re),ee.size<1&&(u=qd,M&&M(),M=null,s.value=qd,z=!1,B=!1),ie()}}};function pe(re){return re.reduce((Q,ie)=>Q.then(()=>D(ie)),Promise.resolve())}return ae}function fMt(){return lt(tF)}function pMt(e){return lt(TI)}const Xct=e=>{if(!Array.isArray(e))return console.warn("tree must be an array"),[];if(!e||e.length===0)return[];const t=[];for(const n of e)n.children&&n.children.length>0&&Xct(n.children),t.push(n.uniqueId);return t},Zct=(e,t=[])=>{if(!Array.isArray(e))return console.warn("menuTree must be an array"),[];if(!e||e.length===0)return[];for(const[n,r]of e.entries())r.children&&r.children.length===1&&delete r.children,r.id=n,r.parentId=t.length?t[t.length-1]:null,r.pathList=[...t,r.id],r.uniqueId=r.pathList.length>1?r.pathList.join("-"):r.pathList[0],r.children&&r.children.length>0&&Zct(r.children,r.pathList);return e},nF=(e,t=[])=>{if(!Array.isArray(e))return console.warn("tree must be an array"),[];if(!e||e.length===0)return[];for(const[n,r]of e.entries())r.id=n,r.parentId=t.length?t[t.length-1]:null,r.pathList=[...t,r.id],r.children&&r.children.length>0&&nF(r.children,r.pathList);return e},Qct=(e,t)=>{if(!Array.isArray(e))return console.warn("menuTree must be an array"),[];if(!e||e.length===0)return[];const n=e.find(a=>a.uniqueId===t);if(n)return n;const r=e.filter(a=>a.children).map(a=>a.children).flat(1);return Qct(r,t)},edt=(e,t,n)=>{if(!Array.isArray(e))return console.warn("menuTree must be an array"),[];if(!e||e.length===0)return[];for(const r of e){const a=r.children&&r.children.length>0;r.uniqueId===t&&Object.prototype.toString.call(n)==="[object Object]"&&Object.assign(r,n),a&&edt(r.children,t,n)}return e},hMt=(e,t,n,r)=>{if(!Array.isArray(e))return console.warn("data must be an array"),[];const a={id:"id",parentId:"parentId",childrenList:"children"},i={},o={},l=[];for(const u of e){const c=u[a.parentId];i[c]==null&&(i[c]=[]),o[u[a.id]]=u,i[c].push(u)}for(const u of e){const c=u[a.parentId];o[c]==null&&l.push(u)}for(const u of l)s(u);function s(u){if(i[u[a.id]]!==null&&(u[a.childrenList]=i[u[a.id]]),u[a.childrenList])for(const c of u[a.childrenList])s(c)}return l},tdt=AI("pure-permission",{state:()=>({constantMenus:tft,wholeMenus:[],flatteningRoutes:[],cachePageList:[]}),actions:{handleWholeMenus(e){this.wholeMenus=Hpe(MI(o4(this.constantMenus.concat(e)))),this.flatteningRoutes=iF(this.constantMenus.concat(e))},clearCache(){let e=this.cachePageList.length;const t=lDe(Wf().multiTags,"name");for(;e>0;)t.findIndex(n=>n===this.cachePageList[e-1])===-1&&this.cachePageList.splice(this.cachePageList.indexOf(this.cachePageList[e-1]),1),e--},cacheOperate({mode:e,name:t}){const n=this.cachePageList.findIndex(r=>r===t);switch(e){case"refresh":this.cachePageList=this.cachePageList.filter(r=>r!==t),this.clearCache();break;case"add":this.cachePageList.push(t);break;case"delete":n!==-1&&this.cachePageList.splice(n,1),this.clearCache();break}},clearAllCachePage(){this.wholeMenus=[],this.cachePageList=[]}}});function ns(){return tdt(Z9)}const ndt=AI("pure-multiTags",{state:()=>{var e,t;return{multiTags:(e=Pa().getItem(`${Cf()}configure`))!=null&&e.multiTagsCache?Pa().getItem(`${Cf()}tags`):[...Q9,...ns().flatteningRoutes.filter(n=>{var r;return(r=n==null?void 0:n.meta)==null?void 0:r.fixedTag})],multiTagsCache:(t=Pa().getItem(`${Cf()}configure`))==null?void 0:t.multiTagsCache}},getters:{getMultiTagsCache(e){return e.multiTagsCache}},actions:{multiTagsCacheChange(e){this.multiTagsCache=e,e?Pa().setItem(`${Cf()}tags`,this.multiTags):Pa().removeItem(`${Cf()}tags`)},tagsCache(e){this.getMultiTagsCache&&Pa().setItem(`${Cf()}tags`,e)},handleTags(e,t,n){var r,a,i,o,l,s,u;switch(e){case"equal":this.multiTags=t,this.tagsCache(this.multiTags);break;case"push":{const c=t;if((r=c==null?void 0:c.meta)!=null&&r.hiddenTag||CO(c==null?void 0:c.name)||((a=c==null?void 0:c.meta)==null?void 0:a.title.length)===0||GAe((i=c==null?void 0:c.meta)==null?void 0:i.showLink)&&!((o=c==null?void 0:c.meta)!=null&&o.showLink))return;const d=c.path;if(this.multiTags.some(h=>h.path===d&&cM(h==null?void 0:h.query,c==null?void 0:c.query)&&cM(h==null?void 0:h.params,c==null?void 0:c.params)))return;const p=(s=(l=c==null?void 0:c.meta)==null?void 0:l.dynamicLevel)!=null?s:-1;if(p>0&&this.multiTags.filter(h=>(h==null?void 0:h.path)===d).length>=p){const h=this.multiTags.findIndex(m=>(m==null?void 0:m.path)===d);h!==-1&&this.multiTags.splice(h,1)}this.multiTags.push(t),this.tagsCache(this.multiTags),(u=om())!=null&&u.MaxTagsLevel&&uM(om().MaxTagsLevel)&&this.multiTags.length>om().MaxTagsLevel&&this.multiTags.splice(1,1)}break;case"splice":if(n)this.multiTags.splice(n==null?void 0:n.startIndex,n==null?void 0:n.length);else{const c=this.multiTags.findIndex(d=>d.path===t);if(c===-1)return;this.multiTags.splice(c,1)}return this.tagsCache(this.multiTags),this.multiTags;case"slice":return this.multiTags.slice(-1)}}}});function Wf(){return ndt(Z9)}var Ew,mK;function lg(){return mK||(mK=1,Ew=TypeError),Ew}const rdt={},adt=Object.freeze(Object.defineProperty({__proto__:null,default:rdt},Symbol.toStringTag,{value:"Module"})),idt=PIe(adt);var ww,vK;function rF(){if(vK)return ww;vK=1;var e=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=e&&t&&typeof t.get=="function"?t.get:null,r=e&&Map.prototype.forEach,a=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=a&&i&&typeof i.get=="function"?i.get:null,l=a&&Set.prototype.forEach,s=typeof WeakMap=="function"&&WeakMap.prototype,u=s?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,d=c?WeakSet.prototype.has:null,f=typeof WeakRef=="function"&&WeakRef.prototype,p=f?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,v=Function.prototype.toString,g=String.prototype.match,b=String.prototype.slice,C=String.prototype.replace,y=String.prototype.toUpperCase,E=String.prototype.toLowerCase,w=RegExp.prototype.test,S=Array.prototype.concat,A=Array.prototype.join,D=Array.prototype.slice,k=Math.floor,x=typeof BigInt=="function"?BigInt.prototype.valueOf:null,_=Object.getOwnPropertySymbols,M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,L=typeof Symbol=="function"&&typeof Symbol.iterator=="object",I=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===L||!0)?Symbol.toStringTag:null,P=Object.prototype.propertyIsEnumerable,B=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(ge){return ge.__proto__}:null);function T(ge,oe){if(ge===1/0||ge===-1/0||ge!==ge||ge&&ge>-1e3&&ge<1e3||w.call(/e/,oe))return oe;var Xe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof ge=="number"){var it=ge<0?-k(-ge):k(ge);if(it!==ge){var xt=String(it),Ee=b.call(oe,xt.length+1);return C.call(xt,Xe,"$&_")+"."+C.call(C.call(Ee,/([0-9]{3})/g,"$&_"),/_$/,"")}}return C.call(oe,Xe,"$&_")}var O=idt,N=O.custom,V=Z(N)?N:null,Y={__proto__:null,double:'"',single:"'"},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ww=function ge(oe,Xe,it,xt){var Ee=Xe||{};if(me(Ee,"quoteStyle")&&!me(Y,Ee.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(me(Ee,"maxStringLength")&&(typeof Ee.maxStringLength=="number"?Ee.maxStringLength<0&&Ee.maxStringLength!==1/0:Ee.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var pn=me(Ee,"customInspect")?Ee.customInspect:!0;if(typeof pn!="boolean"&&pn!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(me(Ee,"indent")&&Ee.indent!==null&&Ee.indent!==" "&&!(parseInt(Ee.indent,10)===Ee.indent&&Ee.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(me(Ee,"numericSeparator")&&typeof Ee.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Qe=Ee.numericSeparator;if(typeof oe=="undefined")return"undefined";if(oe===null)return"null";if(typeof oe=="boolean")return oe?"true":"false";if(typeof oe=="string")return xe(oe,Ee);if(typeof oe=="number"){if(oe===0)return 1/0/oe>0?"0":"-0";var ct=String(oe);return Qe?T(oe,ct):ct}if(typeof oe=="bigint"){var gt=String(oe)+"n";return Qe?T(oe,gt):gt}var an=typeof Ee.depth=="undefined"?5:Ee.depth;if(typeof it=="undefined"&&(it=0),it>=an&&an>0&&typeof oe=="object")return re(oe)?"[Array]":"[Object]";var Wt=nt(Ee,it);if(typeof xt=="undefined")xt=[];else if(Se(xt,oe)>=0)return"[Circular]";function bt(Vt,bn,cr){if(bn&&(xt=D.call(xt),xt.push(bn)),cr){var kr={depth:Ee.depth};return me(Ee,"quoteStyle")&&(kr.quoteStyle=Ee.quoteStyle),ge(Vt,kr,it+1,xt)}return ge(Vt,Ee,it+1,xt)}if(typeof oe=="function"&&!ie(oe)){var Ft=ue(oe),It=Ie(oe,bt);return"[Function"+(Ft?": "+Ft:" (anonymous)")+"]"+(It.length>0?" { "+A.call(It,", ")+" }":"")}if(Z(oe)){var Nn=L?C.call(String(oe),/^(Symbol\(.*\))_[^)]*$/,"$1"):M.call(oe);return typeof oe=="object"&&!L?ve(Nn):Nn}if(He(oe)){for(var Kn="<"+E.call(String(oe.nodeName)),Sr=oe.attributes||[],Pr=0;Pr",Kn}if(re(oe)){if(oe.length===0)return"[]";var xr=Ie(oe,bt);return Wt&&!rt(xr)?"["+ze(xr,Wt)+"]":"[ "+A.call(xr,", ")+" ]"}if(X(oe)){var ta=Ie(oe,bt);return!("cause"in Error.prototype)&&"cause"in oe&&!P.call(oe,"cause")?"{ ["+String(oe)+"] "+A.call(S.call("[cause]: "+bt(oe.cause),ta),", ")+" }":ta.length===0?"["+String(oe)+"]":"{ ["+String(oe)+"] "+A.call(ta,", ")+" }"}if(typeof oe=="object"&&pn){if(V&&typeof oe[V]=="function"&&O)return O(oe,{depth:an-it});if(pn!=="symbol"&&typeof oe.inspect=="function")return oe.inspect()}if(Ae(oe)){var ur=[];return r&&r.call(oe,function(Vt,bn){ur.push(bt(bn,oe,!0)+" => "+bt(Vt,oe))}),Ke("Map",n.call(oe),ur,Wt)}if(De(oe)){var Mr=[];return l&&l.call(oe,function(Vt){Mr.push(bt(Vt,oe))}),Ke("Set",o.call(oe),Mr,Wt)}if(Ne(oe))return Ge("WeakMap");if(he(oe))return Ge("WeakSet");if(je(oe))return Ge("WeakRef");if(ce(oe))return ve(bt(Number(oe)));if(se(oe))return ve(bt(x.call(oe)));if(K(oe))return ve(h.call(oe));if(q(oe))return ve(bt(String(oe)));if(typeof window!="undefined"&&oe===window)return"{ [object Window] }";if(typeof globalThis!="undefined"&&oe===globalThis||typeof vW!="undefined"&&oe===vW)return"{ [object globalThis] }";if(!Q(oe)&&!ie(oe)){var Tr=Ie(oe,bt),jr=B?B(oe)===Object.prototype:oe instanceof Object||oe.constructor===Object,ba=oe instanceof Object?"":"null prototype",Kr=!jr&&I&&Object(oe)===oe&&I in oe?b.call(te(oe),8,-1):ba?"Object":"",wa=jr||typeof oe.constructor!="function"?"":oe.constructor.name?oe.constructor.name+" ":"",ut=wa+(Kr||ba?"["+A.call(S.call([],Kr||[],ba||[]),": ")+"] ":"");return Tr.length===0?ut+"{}":Wt?ut+"{"+ze(Tr,Wt)+"}":ut+"{ "+A.call(Tr,", ")+" }"}return String(oe)};function ee(ge,oe,Xe){var it=Xe.quoteStyle||oe,xt=Y[it];return xt+ge+xt}function ae(ge){return C.call(String(ge),/"/g,""")}function pe(ge){return!I||!(typeof ge=="object"&&(I in ge||typeof ge[I]!="undefined"))}function re(ge){return te(ge)==="[object Array]"&&pe(ge)}function Q(ge){return te(ge)==="[object Date]"&&pe(ge)}function ie(ge){return te(ge)==="[object RegExp]"&&pe(ge)}function X(ge){return te(ge)==="[object Error]"&&pe(ge)}function q(ge){return te(ge)==="[object String]"&&pe(ge)}function ce(ge){return te(ge)==="[object Number]"&&pe(ge)}function K(ge){return te(ge)==="[object Boolean]"&&pe(ge)}function Z(ge){if(L)return ge&&typeof ge=="object"&&ge instanceof Symbol;if(typeof ge=="symbol")return!0;if(!ge||typeof ge!="object"||!M)return!1;try{return M.call(ge),!0}catch(oe){}return!1}function se(ge){if(!ge||typeof ge!="object"||!x)return!1;try{return x.call(ge),!0}catch(oe){}return!1}var Fe=Object.prototype.hasOwnProperty||function(ge){return ge in this};function me(ge,oe){return Fe.call(ge,oe)}function te(ge){return m.call(ge)}function ue(ge){if(ge.name)return ge.name;var oe=g.call(v.call(ge),/^function\s*([\w$]+)/);return oe?oe[1]:null}function Se(ge,oe){if(ge.indexOf)return ge.indexOf(oe);for(var Xe=0,it=ge.length;Xeoe.maxStringLength){var Xe=ge.length-oe.maxStringLength,it="... "+Xe+" more character"+(Xe>1?"s":"");return xe(b.call(ge,0,oe.maxStringLength),oe)+it}var xt=z[oe.quoteStyle||"single"];xt.lastIndex=0;var Ee=C.call(C.call(ge,xt,"\\$1"),/[\x00-\x1f]/g,qe);return ee(Ee,"single",oe)}function qe(ge){var oe=ge.charCodeAt(0),Xe={8:"b",9:"t",10:"n",12:"f",13:"r"}[oe];return Xe?"\\"+Xe:"\\x"+(oe<16?"0":"")+y.call(oe.toString(16))}function ve(ge){return"Object("+ge+")"}function Ge(ge){return ge+" { ? }"}function Ke(ge,oe,Xe,it){var xt=it?ze(Xe,it):A.call(Xe,", ");return ge+" ("+oe+") {"+xt+"}"}function rt(ge){for(var oe=0;oe=0)return!1;return!0}function nt(ge,oe){var Xe;if(ge.indent===" ")Xe=" ";else if(typeof ge.indent=="number"&&ge.indent>0)Xe=A.call(Array(ge.indent+1)," ");else return null;return{base:Xe,prev:A.call(Array(oe+1),Xe)}}function ze(ge,oe){if(ge.length===0)return"";var Xe=` `+oe.prev+oe.base;return Xe+A.call(ge,","+Xe)+` `+oe.prev}function Ie(ge,oe){var Xe=re(ge),it=[];if(Xe){it.length=ge.length;for(var xt=0;xt1&&typeof q!="boolean")throw new l('"allowMissing" argument must be a boolean');if(ee(/^%?[^%]*%?$/,X)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ce=re(X),K=ce.length>0?ce[0]:"",Z=Q("%"+K+"%",q),se=Z.name,Fe=Z.value,me=!1,te=Z.alias;te&&(K=te[0],V(ce,N([0,1],te)));for(var ue=1,Se=!0;ue=ce.length){var De=b(Fe,Ae);Se=!!De,Se&&"get"in De&&!("originalValue"in De.get)?Fe=De.get:Fe=Fe[Ae]}else Se=O(Fe,Ae),Fe=Fe[Ae];Se&&!me&&(L[se]=Fe)}}return Fe},rS}var aS,XK;function Ppe(){if(XK)return aS;XK=1;var e=_I(),t=Ope(),n=t([e("%String.prototype.indexOf%")]);return aS=function(a,i){var o=e(a,!!i);return typeof o=="function"&&n(a,".prototype.")>-1?t([o]):o},aS}var iS,ZK;function Ipe(){if(ZK)return iS;ZK=1;var e=_I(),t=Ppe(),n=rF(),r=lg(),a=e("%Map%",!0),i=t("Map.prototype.get",!0),o=t("Map.prototype.set",!0),l=t("Map.prototype.has",!0),s=t("Map.prototype.delete",!0),u=t("Map.prototype.size",!0);return iS=!!a&&function(){var d,f={assert:function(p){if(!f.has(p))throw new r("Side channel does not contain "+n(p))},delete:function(p){if(d){var h=s(d,p);return u(d)===0&&(d=void 0),h}return!1},get:function(p){if(d)return i(d,p)},has:function(p){return d?l(d,p):!1},set:function(p,h){d||(d=new a),o(d,p,h)}};return f},iS}var oS,QK;function Mdt(){if(QK)return oS;QK=1;var e=_I(),t=Ppe(),n=rF(),r=Ipe(),a=lg(),i=e("%WeakMap%",!0),o=t("WeakMap.prototype.get",!0),l=t("WeakMap.prototype.set",!0),s=t("WeakMap.prototype.has",!0),u=t("WeakMap.prototype.delete",!0);return oS=i?function(){var d,f,p={assert:function(h){if(!p.has(h))throw new a("Side channel does not contain "+n(h))},delete:function(h){if(i&&h&&(typeof h=="object"||typeof h=="function")){if(d)return u(d,h)}else if(r&&f)return f.delete(h);return!1},get:function(h){return i&&h&&(typeof h=="object"||typeof h=="function")&&d?o(d,h):f&&f.get(h)},has:function(h){return i&&h&&(typeof h=="object"||typeof h=="function")&&d?s(d,h):!!f&&f.has(h)},set:function(h,m){i&&h&&(typeof h=="object"||typeof h=="function")?(d||(d=new i),l(d,h,m)):r&&(f||(f=r()),f.set(h,m))}};return p}:r,oS}var lS,eU;function Npe(){if(eU)return lS;eU=1;var e=lg(),t=rF(),n=odt(),r=Ipe(),a=Mdt(),i=a||r||n;return lS=function(){var l,s={assert:function(u){if(!s.has(u))throw new e("Side channel does not contain "+t(u))},delete:function(u){return!!l&&l.delete(u)},get:function(u){return l&&l.get(u)},has:function(u){return!!l&&l.has(u)},set:function(u,c){l||(l=i()),l.set(u,c)}};return s},lS}var sS,tU;function xI(){if(tU)return sS;tU=1;var e=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};return sS={default:n.RFC3986,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986},sS}var uS,nU;function $pe(){if(nU)return uS;nU=1;var e=xI(),t=Npe(),n=Object.prototype.hasOwnProperty,r=Array.isArray,a=t(),i=function(S,A){return a.set(S,A),S},o=function(S){return a.has(S)},l=function(S){return a.get(S)},s=function(S,A){a.set(S,A)},u=(function(){for(var w=[],S=0;S<256;++S)w.push("%"+((S<16?"0":"")+S.toString(16)).toUpperCase());return w})(),c=function(S){for(;S.length>1;){var A=S.pop(),D=A.obj[A.prop];if(r(D)){for(var k=[],x=0;x=m?_.slice(L,L+m):_,P=[],B=0;B=48&&T<=57||T>=65&&T<=90||T>=97&&T<=122||x===e.RFC1738&&(T===40||T===41)){P[P.length]=I.charAt(B);continue}if(T<128){P[P.length]=u[T];continue}if(T<2048){P[P.length]=u[192|T>>6]+u[128|T&63];continue}if(T<55296||T>=57344){P[P.length]=u[224|T>>12]+u[128|T>>6&63]+u[128|T&63];continue}B+=1,T=65536+((T&1023)<<10|I.charCodeAt(B)&1023),P[P.length]=u[240|T>>18]+u[128|T>>12&63]+u[128|T>>6&63]+u[128|T&63]}M+=P.join("")}return M},g=function(S){for(var A=[{obj:{o:S},prop:"o"}],D=[],k=0;kD?i(d(_,{plainObjects:k}),_.length-1):_},E=function(S,A){if(r(S)){for(var D=[],k=0;k0?T.join(",")||null:void 0}];else if(i(D))ae=D;else{var pe=Object.keys(T);ae=k?pe.sort(k):pe}var re=S?String(g).replace(/\./g,"%2E"):String(g),Q=C&&i(T)&&T.length===1?re+"[]":re;if(y&&i(T)&&T.length===0)return Q+"[]";for(var ie=0;ie0?M+_:""},cS}var dS,aU;function Rdt(){if(aU)return dS;aU=1;var e=$pe(),t=Object.prototype.hasOwnProperty,n=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(p){return p.replace(/&#(\d+);/g,function(h,m){return String.fromCharCode(parseInt(m,10))})},i=function(p,h,m){if(p&&typeof p=="string"&&h.comma&&p.indexOf(",")>-1)return p.split(",");if(h.throwOnLimitExceeded&&m>=h.arrayLimit)throw new RangeError("Array limit exceeded. Only "+h.arrayLimit+" element"+(h.arrayLimit===1?"":"s")+" allowed in an array.");return p},o="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",s=function(h,m){var v={__proto__:null},g=m.ignoreQueryPrefix?h.replace(/^\?/,""):h;g=g.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var b=m.parameterLimit===1/0?void 0:m.parameterLimit,C=g.split(m.delimiter,m.throwOnLimitExceeded?b+1:b);if(m.throwOnLimitExceeded&&C.length>b)throw new RangeError("Parameter limit exceeded. Only "+b+" parameter"+(b===1?"":"s")+" allowed.");var y=-1,E,w=m.charset;if(m.charsetSentinel)for(E=0;E-1&&(x=n(x)?[x]:x),k!==null){var _=t.call(v,k);_&&m.duplicates==="combine"?v[k]=e.combine(v[k],x,m.arrayLimit,m.plainObjects):(!_||m.duplicates==="last")&&(v[k]=x)}}return v},u=function(p,h,m,v){var g=0;if(p.length>0&&p[p.length-1]==="[]"){var b=p.slice(0,-1).join("");g=Array.isArray(h)&&h[b]?h[b].length:0}for(var C=v?h:i(h,m,g),y=p.length-1;y>=0;--y){var E,w=p[y];if(w==="[]"&&m.parseArrays)e.isOverflow(C)?E=C:E=m.allowEmptyArrays&&(C===""||m.strictNullHandling&&C===null)?[]:e.combine([],C,m.arrayLimit,m.plainObjects);else{E=m.plainObjects?{__proto__:null}:{};var S=w.charAt(0)==="["&&w.charAt(w.length-1)==="]"?w.slice(1,-1):w,A=m.decodeDotInKeys?S.replace(/%2E/g,"."):S,D=parseInt(A,10);!m.parseArrays&&A===""?E={0:C}:!isNaN(D)&&w!==A&&String(D)===A&&D>=0&&m.parseArrays&&D<=m.arrayLimit?(E=[],E[D]=C):A!=="__proto__"&&(E[A]=C)}C=E}return C},c=function(h,m){var v=m.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h;if(m.depth<=0)return!m.plainObjects&&t.call(Object.prototype,v)&&!m.allowPrototypes?void 0:[v];var g=/(\[[^[\]]*])/,b=/(\[[^[\]]*])/g,C=g.exec(v),y=C?v.slice(0,C.index):v,E=[];if(y){if(!m.plainObjects&&t.call(Object.prototype,y)&&!m.allowPrototypes)return;E.push(y)}for(var w=0;(C=b.exec(v))!==null&&w{if(t){const{icon:n,type:r="info",plain:a=!1,dangerouslyUseHTMLString:i=!1,customClass:o="antd",duration:l=2e3,showClose:s=!1,offset:u=16,placement:c="top",appendTo:d=document.body,grouping:f=!1,repeatNum:p=1,onClose:h}=t;return k6({message:e,icon:n,type:r,plain:a,dangerouslyUseHTMLString:i,duration:l,showClose:s,offset:u,placement:c,appendTo:d,grouping:f,repeatNum:p,customClass:o==="antd"?"pure-message":"",onClose:()=>pd(h)?h():null})}else return k6({message:e,customClass:"pure-message"})},mMt=()=>k6.closeAll(),Pdt={timeout:1e4,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},paramsSerializer:{serialize:Odt.stringify}},Qa=class Qa{constructor(){this.httpInterceptorsRequest(),this.httpInterceptorsResponse()}static retryOriginalRequest(t){return new Promise(n=>{Qa.requests.push(r=>{t.headers.Authorization=hS(r),n(t)})})}httpInterceptorsRequest(){Qa.axiosInstance.interceptors.request.use(t=>Xt(null,null,function*(){return typeof t.beforeRequestCallback=="function"?(t.beforeRequestCallback(t),t):Qa.initConfig.beforeRequestCallback?(Qa.initConfig.beforeRequestCallback(t),t):["/refresh-token","/login"].some(r=>t.url.endsWith(r))?t:new Promise(r=>{const a=Ydt();if(a){const i=new Date().getTime();parseInt(a.expires)-i<=0?(Qa.isRefreshing||(Qa.isRefreshing=!0,Zc().handRefreshToken({refreshToken:a.refreshToken}).then(l=>{const s=l.data.accessToken;t.headers.Authorization=hS(s),Qa.requests.forEach(u=>u(s)),Qa.requests=[]}).catch(l=>{Qa.requests=[],Zc().logOut(),VB(MB(Ot("login.pureLoginExpired")),{type:"warning"})}).finally(()=>{Qa.isRefreshing=!1})),r(Qa.retryOriginalRequest(t))):(t.headers.Authorization=hS(a.accessToken),r(t))}else r(t)})}),t=>Promise.reject(t))}httpInterceptorsResponse(){Qa.axiosInstance.interceptors.response.use(n=>{const r=n.config;return typeof r.beforeResponseCallback=="function"?(r.beforeResponseCallback(n),n.data):(Qa.initConfig.beforeResponseCallback&&Qa.initConfig.beforeResponseCallback(n),n.data)},n=>{const r=n;return r.isCancelRequest=Ka.isCancel(r),Promise.reject(r)})}request(t,n,r,a){const i=Te(Te({method:t,url:n},r),a);return new Promise((o,l)=>{Qa.axiosInstance.request(i).then(s=>{o(s)}).catch(s=>{l(s)})})}post(t,n,r){return this.request("post",t,n,r)}get(t,n,r){return this.request("get",t,n,r)}};Hn(Qa,"requests",[]),Hn(Qa,"isRefreshing",!1),Hn(Qa,"initConfig",{}),Hn(Qa,"axiosInstance",Ka.create(Pdt));let HB=Qa;const i4=new HB,oU=()=>i4.request("get","/get-async-routes"),Idt=()=>Be(()=>import("./frame-27tEfk9B.js"),__vite__mapDeps([41,42])),lU=Object.assign({"/src/views/able/barcode.vue":()=>Be(()=>import("./barcode-B9pekyA4.js"),[]),"/src/views/able/danmaku/index.vue":()=>Be(()=>import("./index-CzXthEua.js"),__vite__mapDeps([28,29])),"/src/views/able/debounce.vue":()=>Be(()=>import("./debounce-CS7hWKYe.js"),[]),"/src/views/able/directives.vue":()=>Be(()=>import("./directives-DoOHWOC-.js"),[]),"/src/views/able/download.vue":()=>Be(()=>import("./download-DKPUcuKf.js"),[]),"/src/views/able/draggable.vue":()=>Be(()=>import("./draggable-Bqrv092C.js"),__vite__mapDeps([10,11,12,13])),"/src/views/able/excel.vue":()=>Be(()=>import("./excel-Cbu_THFh.js"),__vite__mapDeps([8,9])),"/src/views/able/infinite-scroll.vue":()=>Be(()=>import("./infinite-scroll-Bxb9rwTO.js"),[]),"/src/views/able/line-tree.vue":()=>Be(()=>import("./line-tree-DX4FSN4g.js"),__vite__mapDeps([31,32])),"/src/views/able/map.vue":()=>Be(()=>import("./map-CeN1uya_.js"),__vite__mapDeps([19,20,21])),"/src/views/able/menu-tree.vue":()=>Be(()=>import("./menu-tree-Btwjzzcq.js"),__vite__mapDeps([30,23])),"/src/views/able/mqtt-client.vue":()=>Be(()=>import("./mqtt-client-Sc9xn8Sf.js"),__vite__mapDeps([0,1])),"/src/views/able/pdf.vue":()=>Be(()=>import("./pdf-B8bwJBDY.js"),[]),"/src/views/able/pinyin.vue":()=>Be(()=>import("./pinyin-Dcqh83tL.js"),__vite__mapDeps([35,36,37])),"/src/views/able/print/index.vue":()=>Be(()=>import("./index-DFq0u5mz.js"),__vite__mapDeps([4,5,6,7])),"/src/views/able/print/pieChart.vue":()=>Be(()=>import("./pieChart-DIl1qZPx.js"),__vite__mapDeps([310,6])),"/src/views/able/qrcode.vue":()=>Be(()=>import("./qrcode-CpVRjG5m.js"),__vite__mapDeps([14,15,16,17,18])),"/src/views/able/ripple.vue":()=>Be(()=>import("./ripple-DyM6oey2.js"),[]),"/src/views/able/sensitive.vue":()=>Be(()=>import("./sensitive-BOqc2C4u.js"),[]),"/src/views/able/typeit.vue":()=>Be(()=>import("./typeit-DXcvtEfR.js"),__vite__mapDeps([33,34])),"/src/views/able/verify.vue":()=>Be(()=>import("./verify-DOowU97F.js"),__vite__mapDeps([2,3])),"/src/views/able/video-frame/index.vue":()=>Be(()=>import("./index-BXZkxjri.js"),__vite__mapDeps([25,26,27])),"/src/views/able/video.vue":()=>Be(()=>import("./video-CJhuHHlE.js"),__vite__mapDeps([22,23,24])),"/src/views/able/watermark.vue":()=>Be(()=>import("./watermark-D4Ac7KL0.js"),[]),"/src/views/able/wavesurfer/index.vue":()=>Be(()=>import("./index-BQ66Hwz_.js"),[]),"/src/views/about/columns.tsx":()=>Be(()=>import("./columns-BCMD5k9D.js"),[]),"/src/views/about/index.vue":()=>Be(()=>import("./index-qSECcA1F.js"),__vite__mapDeps([38,39,40])),"/src/views/account-settings/components/AccountManagement.vue":()=>Be(()=>import("./AccountManagement-erU7X-o3.js"),__vite__mapDeps([311,312])),"/src/views/account-settings/components/Preferences.vue":()=>Be(()=>import("./Preferences-2p_vkBon.js"),__vite__mapDeps([313,314])),"/src/views/account-settings/components/Profile.vue":()=>Be(()=>import("./Profile-CJMDvfng.js"),__vite__mapDeps([315,316,20,317,85,86,318])),"/src/views/account-settings/components/SecurityLog.vue":()=>Be(()=>import("./SecurityLog-CpaRHaeA.js"),__vite__mapDeps([319,320])),"/src/views/account-settings/index.vue":()=>Be(()=>import("./index-BtgV6yhb.js"),__vite__mapDeps([321,92,316,20,317,85,86,318,313,314,320,311,312,194,12,195,198,322])),"/src/views/chatai/components/Bard.vue":()=>Be(()=>import("./Bard-CUrONFr0.js"),__vite__mapDeps([323,46,45])),"/src/views/chatai/components/Bing.vue":()=>Be(()=>import("./Bing-DB1WNtQ6.js"),__vite__mapDeps([324,47,45])),"/src/views/chatai/components/Blue.vue":()=>Be(()=>import("./Blue-BJVUGAJD.js"),__vite__mapDeps([325,49,45])),"/src/views/chatai/components/ChatGPT.vue":()=>Be(()=>import("./ChatGPT-CnqsmGx1.js"),__vite__mapDeps([326,44,45])),"/src/views/chatai/components/Dark.vue":()=>Be(()=>import("./Dark-D87-Gp4Q.js"),__vite__mapDeps([327,52,45])),"/src/views/chatai/components/FullInput.vue":()=>Be(()=>import("./FullInput-Db-INc2M.js"),__vite__mapDeps([328,53,45])),"/src/views/chatai/components/Group.vue":()=>Be(()=>import("./Group-CRmihqel.js"),__vite__mapDeps([329,54,45])),"/src/views/chatai/components/IntroPanel.vue":()=>Be(()=>import("./IntroPanel-BewixsBc.js"),__vite__mapDeps([330,57,45])),"/src/views/chatai/components/LoFi.vue":()=>Be(()=>import("./LoFi-CelIhZPx.js"),__vite__mapDeps([331,50,45])),"/src/views/chatai/components/MessageCode.vue":()=>Be(()=>import("./MessageCode-B-malaud.js"),__vite__mapDeps([332,55,45])),"/src/views/chatai/components/Red.vue":()=>Be(()=>import("./Red-BmZj9Wku.js"),__vite__mapDeps([333,51,45])),"/src/views/chatai/components/Speech.vue":()=>Be(()=>import("./Speech-0XE_-3Ya.js"),__vite__mapDeps([334,56,45])),"/src/views/chatai/components/iMessage.vue":()=>Be(()=>import("./iMessage-UGuvZEx6.js"),__vite__mapDeps([335,48,45])),"/src/views/chatai/index.vue":()=>Be(()=>import("./index-p_fPHxdJ.js"),__vite__mapDeps([43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58])),"/src/views/codemirror/index.vue":()=>Be(()=>import("./index-DozWJnEX.js"),__vite__mapDeps([59,60])),"/src/views/components/animatecss.vue":()=>Be(()=>import("./animatecss-qNNYryWi.js"),__vite__mapDeps([81,82,83])),"/src/views/components/button.vue":()=>Be(()=>import("./button-jEuwwek3.js"),[]),"/src/views/components/cascader.vue":()=>Be(()=>import("./cascader-Bp5C_agR.js"),[]),"/src/views/components/check-button.vue":()=>Be(()=>import("./check-button-Cx3Xukja.js"),__vite__mapDeps([113,114])),"/src/views/components/check-card.vue":()=>Be(()=>import("./check-card-COl_wCu0.js"),__vite__mapDeps([73,74,75,76])),"/src/views/components/collapse.vue":()=>Be(()=>import("./collapse-D_sAyhqM.js"),[]),"/src/views/components/color-picker-panel.vue":()=>Be(()=>import("./color-picker-panel-alhbvowF.js"),[]),"/src/views/components/color-picker.vue":()=>Be(()=>import("./color-picker-sMphc-HK.js"),[]),"/src/views/components/contextmenu/basic.vue":()=>Be(()=>import("./basic-Djs25ZFg.js"),__vite__mapDeps([140,141,142])),"/src/views/components/contextmenu/index.vue":()=>Be(()=>import("./index-CpGD2SWR.js"),__vite__mapDeps([139,140,141,142,143,144,145,146,147])),"/src/views/components/contextmenu/menuDynamic.vue":()=>Be(()=>import("./menuDynamic-CPFio7bI.js"),__vite__mapDeps([145,141,146])),"/src/views/components/contextmenu/menuGroup.vue":()=>Be(()=>import("./menuGroup-D3TIpT-_.js"),__vite__mapDeps([143,141,144])),"/src/views/components/count-to.vue":()=>Be(()=>import("./count-to-D_v9wKOA.js"),__vite__mapDeps([136,137,16,138])),"/src/views/components/cropping/index.vue":()=>Be(()=>import("./index-DDcrUGN6.js"),__vite__mapDeps([84,85,86])),"/src/views/components/date-picker.vue":()=>Be(()=>import("./date-picker-DzoDK41m.js"),__vite__mapDeps([77,23,78])),"/src/views/components/datetime-picker.vue":()=>Be(()=>import("./datetime-picker-poDSNwkp.js"),__vite__mapDeps([79,80])),"/src/views/components/dialog/form.vue":()=>Be(()=>import("./form-XhS-hJj6.js"),__vite__mapDeps([336,63])),"/src/views/components/dialog/formPrimitive.vue":()=>Be(()=>import("./formPrimitive-C7AK8lCF.js"),__vite__mapDeps([337,62])),"/src/views/components/dialog/index.vue":()=>Be(()=>import("./index-DaaD5E6f.js"),__vite__mapDeps([61,62,63,64])),"/src/views/components/drawer/form.vue":()=>Be(()=>import("./form-ChetleQW.js"),__vite__mapDeps([338,67])),"/src/views/components/drawer/formPrimitive.vue":()=>Be(()=>import("./formPrimitive-DoLtHKSd.js"),__vite__mapDeps([339,66])),"/src/views/components/drawer/index.vue":()=>Be(()=>import("./index-BAolTmmn.js"),__vite__mapDeps([65,66,67])),"/src/views/components/el-button.vue":()=>Be(()=>import("./el-button-BfSindnz.js"),__vite__mapDeps([111,23,112])),"/src/views/components/icon-select.vue":()=>Be(()=>import("./icon-select-BApzD-xL.js"),[]),"/src/views/components/json-editor.vue":()=>Be(()=>import("./json-editor-SCf8kPEU.js"),__vite__mapDeps([148,149,150])),"/src/views/components/message.vue":()=>Be(()=>import("./message-Df8EDRnV.js"),__vite__mapDeps([68,23,69])),"/src/views/components/progress.vue":()=>Be(()=>import("./progress-CnoEAonf.js"),__vite__mapDeps([115,23,116])),"/src/views/components/seamless-scroll.vue":()=>Be(()=>import("./seamless-scroll-D8YzBxVH.js"),__vite__mapDeps([151,152])),"/src/views/components/segmented.vue":()=>Be(()=>import("./segmented-The-hDyj.js"),__vite__mapDeps([87,23,88,89,90])),"/src/views/components/selector.vue":()=>Be(()=>import("./selector-_-SytHB7.js"),__vite__mapDeps([122,123])),"/src/views/components/slider/components/Base.vue":()=>Be(()=>import("./Base-B6ViIGzO.js"),__vite__mapDeps([95,96])),"/src/views/components/slider/components/Input.vue":()=>Be(()=>import("./Input-BrdEnxfr.js"),__vite__mapDeps([101,102])),"/src/views/components/slider/components/Marks.vue":()=>Be(()=>import("./Marks-DjEHrXCI.js"),__vite__mapDeps([105,106])),"/src/views/components/slider/components/Placement.vue":()=>Be(()=>import("./Placement--irb3039.js"),__vite__mapDeps([109,110])),"/src/views/components/slider/components/Range.vue":()=>Be(()=>import("./Range-CmcgoKhd.js"),__vite__mapDeps([103,104])),"/src/views/components/slider/components/Size.vue":()=>Be(()=>import("./Size-zp7Nup9c.js"),__vite__mapDeps([99,100])),"/src/views/components/slider/components/Step.vue":()=>Be(()=>import("./Step-C2fntjba.js"),__vite__mapDeps([97,98])),"/src/views/components/slider/components/Vertical.vue":()=>Be(()=>import("./Vertical-ktAIs_BA.js"),__vite__mapDeps([107,108])),"/src/views/components/slider/index.vue":()=>Be(()=>import("./index-DnlThzFs.js"),__vite__mapDeps([94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110])),"/src/views/components/split-pane.vue":()=>Be(()=>import("./split-pane-CjbRIbT_.js"),__vite__mapDeps([127,128])),"/src/views/components/statistic.vue":()=>Be(()=>import("./statistic-BOXRkNmg.js"),__vite__mapDeps([119,120,121])),"/src/views/components/swiper.vue":()=>Be(()=>import("./swiper-D5pNQct5.js"),__vite__mapDeps([129,130])),"/src/views/components/tag.vue":()=>Be(()=>import("./tag-BF8pa4Rk.js"),__vite__mapDeps([117,118])),"/src/views/components/text.vue":()=>Be(()=>import("./text-K0_2uqCF.js"),__vite__mapDeps([91,92,93])),"/src/views/components/time-picker.vue":()=>Be(()=>import("./time-picker-BVXVUS3H.js"),[]),"/src/views/components/timeline.vue":()=>Be(()=>import("./timeline-D1CD9Sje.js"),__vite__mapDeps([131,132,133,23,134,135])),"/src/views/components/upload/form.vue":()=>Be(()=>import("./form-BWZPkTT7.js"),__vite__mapDeps([340,71,20])),"/src/views/components/upload/index.vue":()=>Be(()=>import("./index-CzNN_2eE.js"),__vite__mapDeps([70,11,71,20,72])),"/src/views/components/virtual-list/horizontal.vue":()=>Be(()=>import("./horizontal-iahJxnUc.js"),__vite__mapDeps([157,155,158])),"/src/views/components/virtual-list/index.vue":()=>Be(()=>import("./index-DN2W9B9T.js"),__vite__mapDeps([153,154,155,156,157,158,159])),"/src/views/components/virtual-list/vertical.vue":()=>Be(()=>import("./vertical-CaNMQ94a.js"),__vite__mapDeps([154,155,156])),"/src/views/components/waterfall/index.vue":()=>Be(()=>import("./index-ftG5Mnug.js"),__vite__mapDeps([124,125,126])),"/src/views/editor/components/EditorBase.vue":()=>Be(()=>import("./EditorBase-_9JD7HdF.js"),__vite__mapDeps([341,161,162,163])),"/src/views/editor/components/EditorMulti.vue":()=>Be(()=>import("./EditorMulti-ZjDhV5Ln.js"),__vite__mapDeps([342,164,120,162,163])),"/src/views/editor/components/EditorUpload.vue":()=>Be(()=>import("./EditorUpload-DlEEeOer.js"),__vite__mapDeps([343,165,162,163])),"/src/views/editor/index.vue":()=>Be(()=>import("./index-CkbqxxeV.js"),__vite__mapDeps([160,161,162,163,164,120,165,166])),"/src/views/empty/index.vue":()=>Be(()=>import("./index-C1vmMvJf.js"),__vite__mapDeps([344,345])),"/src/views/error/403.vue":()=>Be(()=>import("./403-BThdJqDf.js"),__vite__mapDeps([167,168])),"/src/views/error/404.vue":()=>Be(()=>import("./404-DZGbVnnT.js"),__vite__mapDeps([169,170])),"/src/views/error/500.vue":()=>Be(()=>import("./500-B5lh3OV9.js"),__vite__mapDeps([171,172])),"/src/views/flow-chart/index.vue":()=>Be(()=>import("./index-DHr4p8tD.js"),__vite__mapDeps([173,174,149,150,175])),"/src/views/ganttastic/index.vue":()=>Be(()=>import("./index-DG2aRXT_.js"),[]),"/src/views/guide/index.vue":()=>Be(()=>import("./index-BgTlcszz.js"),__vite__mapDeps([191,192])),"/src/views/list/card/components/ListCard.vue":()=>Be(()=>import("./ListCard-Bv3_pQbZ.js"),__vite__mapDeps([211,212])),"/src/views/list/card/components/ListDialogForm.vue":()=>Be(()=>import("./ListDialogForm-Cmyk4lcL.js"),__vite__mapDeps([346,213])),"/src/views/list/card/index.vue":()=>Be(()=>import("./index-BLfvrcic.js"),__vite__mapDeps([210,211,212,213,23,214])),"/src/views/login/components/LoginPhone.vue":()=>Be(()=>import("./LoginPhone-C4qE1fY0.js"),__vite__mapDeps([347,348,349,350,23,134])),"/src/views/login/components/LoginQrCode.vue":()=>Be(()=>import("./LoginQrCode-WzKn31Oa.js"),__vite__mapDeps([351,352,349,15,16,17,18])),"/src/views/login/components/LoginRegist.vue":()=>Be(()=>import("./LoginRegist-DkrJnulW.js"),__vite__mapDeps([353,354,349,350,23,355,134])),"/src/views/login/components/LoginUpdate.vue":()=>Be(()=>import("./LoginUpdate-CAav4qkJ.js"),__vite__mapDeps([356,357,349,350,23,355,134])),"/src/views/login/index.vue":()=>Be(()=>import("./index-B37DTkB7.js"),__vite__mapDeps([358,349,350,34,199,26,200,12,195,194,348,23,134,354,355,357,352,15,16,17,18,69,359])),"/src/views/markdown/components/Vditor.vue":()=>Be(()=>import("./Vditor-C1-PJr9J.js"),__vite__mapDeps([360,216,217])),"/src/views/markdown/index.vue":()=>Be(()=>import("./index-D0S7hPTT.js"),__vite__mapDeps([215,216,217])),"/src/views/menuoverflow/index.vue":()=>Be(()=>import("./index-DhX9TRMT.js"),[]),"/src/views/monitor/logs/login/hook.tsx":()=>Be(()=>import("./hook-vjQUFhrt.js"),__vite__mapDeps([361,362,363])),"/src/views/monitor/logs/login/index.vue":()=>Be(()=>import("./index-BYSX_s1V.js"),__vite__mapDeps([364,361,362,363,365,366,11,195,298,23,286,367])),"/src/views/monitor/logs/operation/hook.tsx":()=>Be(()=>import("./hook-o8LkLqkD.js"),__vite__mapDeps([368,362,363])),"/src/views/monitor/logs/operation/index.vue":()=>Be(()=>import("./index-CGBPBZKy.js"),__vite__mapDeps([369,368,362,363,365,366,11,195,298,23,286,370])),"/src/views/monitor/logs/system/detail.vue":()=>Be(()=>import("./detail-CpwDVnfw.js"),__vite__mapDeps([371,372,149,150])),"/src/views/monitor/logs/system/hook.tsx":()=>Be(()=>import("./hook-mVXKTmwz.js"),__vite__mapDeps([373,372,149,150,362])),"/src/views/monitor/logs/system/index.vue":()=>Be(()=>import("./index-DZkE9mty.js"),__vite__mapDeps([374,373,372,149,150,362,365,366,11,195,298,23,286,375])),"/src/views/monitor/online/hook.tsx":()=>Be(()=>import("./hook-T2zu8UwG.js"),__vite__mapDeps([376,362])),"/src/views/monitor/online/index.vue":()=>Be(()=>import("./index-DgZAzOx5.js"),__vite__mapDeps([377,376,362,366,11,195,298,23,378])),"/src/views/nested/menu1/menu1-1/index.vue":()=>Be(()=>import("./index-ODLQb_26.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue":()=>Be(()=>import("./index-DpIGFbZ-.js"),[]),"/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue":()=>Be(()=>import("./index-DFhNzL-W.js"),[]),"/src/views/nested/menu1/menu1-3/index.vue":()=>Be(()=>import("./index-CCxCpvuf.js"),[]),"/src/views/nested/menu2/index.vue":()=>Be(()=>import("./index-CU5PAzpa.js"),[]),"/src/views/permission/button/index.vue":()=>Be(()=>import("./index-CF9Jirce.js"),[]),"/src/views/permission/button/perms.vue":()=>Be(()=>import("./perms-BpU-TyR-.js"),[]),"/src/views/permission/page/index.vue":()=>Be(()=>import("./index-BwBd31SI.js"),[]),"/src/views/result/columns.tsx":()=>Be(()=>import("./columns-DaxgCDDg.js"),__vite__mapDeps([221,197])),"/src/views/result/fail.vue":()=>Be(()=>import("./fail-DF2TM2lA.js"),__vite__mapDeps([220,221,197,222])),"/src/views/result/success.vue":()=>Be(()=>import("./success-Bj1M0zgF.js"),__vite__mapDeps([218,219])),"/src/views/schema-form/form/base.vue":()=>Be(()=>import("./base-NIyocvcb.js"),__vite__mapDeps([379,178,74,75,179,180])),"/src/views/schema-form/form/dialog.vue":()=>Be(()=>import("./dialog-DOdjG8vw.js"),__vite__mapDeps([380,181,74,75,179,180,182,183])),"/src/views/schema-form/form/drawer.vue":()=>Be(()=>import("./drawer-CjBW9ZEc.js"),__vite__mapDeps([381,184,74,75,179,180,185,183])),"/src/views/schema-form/form/search.vue":()=>Be(()=>import("./search-Ivol7uH4.js"),__vite__mapDeps([382,188,74,75,179,180,174,189])),"/src/views/schema-form/form/steps.vue":()=>Be(()=>import("./steps-C7hCCa9U.js"),__vite__mapDeps([383,186,74,75,179,180,187])),"/src/views/schema-form/index.vue":()=>Be(()=>import("./index-BOqSFRAI.js"),__vite__mapDeps([176,177,178,74,75,179,180,181,182,183,184,185,186,187,188,174,189,190])),"/src/views/schema-form/list.tsx":()=>Be(()=>import("./list-BAYuMefX.js"),__vite__mapDeps([177,178,74,75,179,180,181,182,183,184,185,186,187,188,174,189])),"/src/views/system/dept/form.vue":()=>Be(()=>import("./form-Bu7vjxKz.js"),__vite__mapDeps([384,385,120,363])),"/src/views/system/dept/index.vue":()=>Be(()=>import("./index-DokCKo3X.js"),__vite__mapDeps([386,387,385,120,363,362,366,11,195,298,23,286,292,214,388])),"/src/views/system/dept/utils/hook.tsx":()=>Be(()=>import("./hook-Bo4mTqKY.js"),__vite__mapDeps([387,385,120,363,362])),"/src/views/system/menu/form.vue":()=>Be(()=>import("./form-QkAhPzun.js"),__vite__mapDeps([389,390,120,88,23,89,82,83])),"/src/views/system/menu/index.vue":()=>Be(()=>import("./index-BP_2Po0B.js"),__vite__mapDeps([391,392,390,120,88,23,89,82,83,362,366,11,195,298,286,292,214,393])),"/src/views/system/menu/utils/hook.tsx":()=>Be(()=>import("./hook-0o-l3QlN.js"),__vite__mapDeps([392,390,120,88,23,89,82,83,362])),"/src/views/system/role/form.vue":()=>Be(()=>import("./form-dw1N_6zM.js"),__vite__mapDeps([394,395])),"/src/views/system/role/index.vue":()=>Be(()=>import("./index-DbBdS_zJ.js"),__vite__mapDeps([396,397,395,363,362,366,11,195,298,23,286,292,214,196,69,398])),"/src/views/system/role/utils/hook.tsx":()=>Be(()=>import("./hook-8GBswN7i.js"),__vite__mapDeps([397,395,363,362])),"/src/views/system/user/form/index.vue":()=>Be(()=>import("./index-CV1fDce5.js"),__vite__mapDeps([399,400,120,363])),"/src/views/system/user/form/role.vue":()=>Be(()=>import("./role-Dj7qD1Py.js"),__vite__mapDeps([401,402,120])),"/src/views/system/user/index.vue":()=>Be(()=>import("./index-DutAAXSa.js"),__vite__mapDeps([403,404,23,405,406,402,120,400,363,200,317,85,86,362,407,366,11,195,298,318,286,292,214,408])),"/src/views/system/user/tree.vue":()=>Be(()=>import("./tree-B3TMLujF.js"),__vite__mapDeps([404,23,405])),"/src/views/system/user/utils/hook.tsx":()=>Be(()=>import("./hook-XcVoGmdm.js"),__vite__mapDeps([406,402,120,400,363,200,317,85,86,362,407])),"/src/views/table/base/base.vue":()=>Be(()=>import("./base-BAUqhzDl.js"),__vite__mapDeps([409,225,226])),"/src/views/table/base/border.vue":()=>Be(()=>import("./border-XHwFvw_3.js"),__vite__mapDeps([410,228,226])),"/src/views/table/base/column-template/columns.tsx":()=>Be(()=>import("./columns-DFvDVkkP.js"),__vite__mapDeps([240,226])),"/src/views/table/base/column-template/index.vue":()=>Be(()=>import("./index-BHz4DkUU.js"),__vite__mapDeps([411,239,240,226])),"/src/views/table/base/customIndex.vue":()=>Be(()=>import("./customIndex-MAn7lTDy.js"),__vite__mapDeps([412,247,226])),"/src/views/table/base/expand.vue":()=>Be(()=>import("./expand-gEOqSVCT.js"),__vite__mapDeps([413,243,226])),"/src/views/table/base/filters.vue":()=>Be(()=>import("./filters-yjKHHC7G.js"),__vite__mapDeps([414,238])),"/src/views/table/base/fixColumn.vue":()=>Be(()=>import("./fixColumn-B5uLFblj.js"),__vite__mapDeps([415,232,226])),"/src/views/table/base/fixHeader.vue":()=>Be(()=>import("./fixHeader-BcULCst8.js"),__vite__mapDeps([416,231,226])),"/src/views/table/base/fluidHeight.vue":()=>Be(()=>import("./fluidHeight-CkT-WiWv.js"),__vite__mapDeps([417,233,226])),"/src/views/table/base/groupHeader.vue":()=>Be(()=>import("./groupHeader-CynvKxf8.js"),__vite__mapDeps([418,234,226])),"/src/views/table/base/header-renderer/columns.tsx":()=>Be(()=>import("./columns-IjjXDFet.js"),__vite__mapDeps([242,226])),"/src/views/table/base/header-renderer/index.vue":()=>Be(()=>import("./index-DcjkgMgQ.js"),__vite__mapDeps([419,241,242,226])),"/src/views/table/base/imgPreview.vue":()=>Be(()=>import("./imgPreview-CtChgn4F.js"),__vite__mapDeps([420,250,226])),"/src/views/table/base/layout.vue":()=>Be(()=>import("./layout-zxBy7av2.js"),__vite__mapDeps([421,248,226])),"/src/views/table/base/list.tsx":()=>Be(()=>import("./list-DncDgPoz.js"),__vite__mapDeps([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])),"/src/views/table/base/merge.vue":()=>Be(()=>import("./merge-JcZI81hY.js"),__vite__mapDeps([422,246])),"/src/views/table/base/multipleChoice.vue":()=>Be(()=>import("./multipleChoice-mwKsE9l3.js"),__vite__mapDeps([423,236,226])),"/src/views/table/base/nestProp.vue":()=>Be(()=>import("./nestProp-CCFfiNNN.js"),__vite__mapDeps([424,249])),"/src/views/table/base/radio.vue":()=>Be(()=>import("./radio-BHXLXKin.js"),__vite__mapDeps([425,235,226])),"/src/views/table/base/sortable.vue":()=>Be(()=>import("./sortable-DyLgl5CC.js"),__vite__mapDeps([426,237,226])),"/src/views/table/base/status.vue":()=>Be(()=>import("./status-BnlQoqtB.js"),__vite__mapDeps([427,229,226,230])),"/src/views/table/base/stripe.vue":()=>Be(()=>import("./stripe-CwFLOgZY.js"),__vite__mapDeps([428,227,226])),"/src/views/table/base/totalRow.vue":()=>Be(()=>import("./totalRow-CasqnBMj.js"),__vite__mapDeps([429,245])),"/src/views/table/base/tree.vue":()=>Be(()=>import("./tree-BJbOioXq.js"),__vite__mapDeps([430,244])),"/src/views/table/edit.vue":()=>Be(()=>import("./edit-BOqqajPS.js"),__vite__mapDeps([281,282,283,284,285,23,286,287,288,289,290,291,292,69,293])),"/src/views/table/edit/demo1/columns.tsx":()=>Be(()=>import("./columns-Tw5Sz8IJ.js"),__vite__mapDeps([284,285])),"/src/views/table/edit/demo1/index.vue":()=>Be(()=>import("./index-D443zIbS.js"),__vite__mapDeps([283,284,285,23,286,287])),"/src/views/table/edit/demo2/columns.tsx":()=>Be(()=>import("./columns-BCq8KP4Y.js"),__vite__mapDeps([289,285])),"/src/views/table/edit/demo2/index.vue":()=>Be(()=>import("./index-D2FwtJM0.js"),__vite__mapDeps([431,288,289,285])),"/src/views/table/edit/demo3/columns.tsx":()=>Be(()=>import("./columns-C5PtkViZ.js"),__vite__mapDeps([291,285,292,69])),"/src/views/table/edit/demo3/index.vue":()=>Be(()=>import("./index-BPzdT-ZB.js"),__vite__mapDeps([432,290,291,285,292,69])),"/src/views/table/edit/list.tsx":()=>Be(()=>import("./list-Cm-310uI.js"),__vite__mapDeps([282,283,284,285,23,286,287,288,289,290,291,292,69])),"/src/views/table/high.vue":()=>Be(()=>import("./high-BZSckjwz.js"),__vite__mapDeps([252,253,254,255,256,257,258,259,260,261,262,11,263,264,265,266,267,268,9,269,270,271,272,5,273,274,275,276,277,278,279,280])),"/src/views/table/high/adaptive/columns.tsx":()=>Be(()=>import("./columns-E8e9vdZg.js"),__vite__mapDeps([255,256])),"/src/views/table/high/adaptive/index.vue":()=>Be(()=>import("./index-CBkixIAi.js"),__vite__mapDeps([433,254,255,256])),"/src/views/table/high/contextmenu/columns.tsx":()=>Be(()=>import("./columns-Dux98s8F.js"),__vite__mapDeps([266,256])),"/src/views/table/high/contextmenu/index.vue":()=>Be(()=>import("./index-D2vd9Bys.js"),__vite__mapDeps([434,265,266,256])),"/src/views/table/high/drag/column/columns.tsx":()=>Be(()=>import("./columns-C8sNvk7-.js"),__vite__mapDeps([264,11,256])),"/src/views/table/high/drag/column/index.vue":()=>Be(()=>import("./index-96YrXFGk.js"),__vite__mapDeps([435,263,264,11,256])),"/src/views/table/high/drag/row/columns.tsx":()=>Be(()=>import("./columns-BH4lC5Xs.js"),__vite__mapDeps([262,11,256])),"/src/views/table/high/drag/row/index.vue":()=>Be(()=>import("./index-C6ae8Pqu.js"),__vite__mapDeps([436,261,262,11,256])),"/src/views/table/high/echarts/columns.tsx":()=>Be(()=>import("./columns-BX8OT0uL.js"),__vite__mapDeps([274,256])),"/src/views/table/high/echarts/index.vue":()=>Be(()=>import("./index-DYD4nA5m.js"),__vite__mapDeps([437,273,274,256])),"/src/views/table/high/excel/columns.tsx":()=>Be(()=>import("./columns-YcPj0Tnd.js"),__vite__mapDeps([268,9,256])),"/src/views/table/high/excel/index.vue":()=>Be(()=>import("./index-B1-HkTz7.js"),__vite__mapDeps([438,267,268,9,256])),"/src/views/table/high/header/columns.tsx":()=>Be(()=>import("./columns-Co830Z6n.js"),__vite__mapDeps([260,256])),"/src/views/table/high/header/index.vue":()=>Be(()=>import("./index-XkZbPwyG.js"),__vite__mapDeps([439,259,260,256])),"/src/views/table/high/list.tsx":()=>Be(()=>import("./list-Chnq8RCl.js"),__vite__mapDeps([253,254,255,256,257,258,259,260,261,262,11,263,264,265,266,267,268,9,269,270,271,272,5,273,274,275,276,277,278,279])),"/src/views/table/high/page/columns.tsx":()=>Be(()=>import("./columns-6FbcXbbn.js"),__vite__mapDeps([258,256])),"/src/views/table/high/page/index.vue":()=>Be(()=>import("./index-CmD7wFlk.js"),__vite__mapDeps([440,257,258,256])),"/src/views/table/high/prints/columns.tsx":()=>Be(()=>import("./columns-DjU_PhZg.js"),__vite__mapDeps([272,5,256])),"/src/views/table/high/prints/index.vue":()=>Be(()=>import("./index-D2uaAcuU.js"),__vite__mapDeps([441,271,272,5,256])),"/src/views/table/high/table-select/index.vue":()=>Be(()=>import("./index-LwpIg9P9.js"),__vite__mapDeps([442,275,276,277,256,278,279])),"/src/views/table/high/table-select/multiple/columns.tsx":()=>Be(()=>import("./columns-Da6rquXr.js"),__vite__mapDeps([279,256])),"/src/views/table/high/table-select/multiple/index.vue":()=>Be(()=>import("./index-CtuKU5lF.js"),__vite__mapDeps([443,278,279,256])),"/src/views/table/high/table-select/radio/columns.tsx":()=>Be(()=>import("./columns-C5D32AQ4.js"),__vite__mapDeps([277,256])),"/src/views/table/high/table-select/radio/index.vue":()=>Be(()=>import("./index-DpPXH8K5.js"),__vite__mapDeps([444,276,277,256])),"/src/views/table/high/watermark/columns.tsx":()=>Be(()=>import("./columns-BkKS_zx_.js"),__vite__mapDeps([270,256])),"/src/views/table/high/watermark/index.vue":()=>Be(()=>import("./index-DiYVcHrJ.js"),__vite__mapDeps([445,269,270,256])),"/src/views/table/index.vue":()=>Be(()=>import("./index-WfoFp6RH.js"),__vite__mapDeps([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])),"/src/views/table/virtual.vue":()=>Be(()=>import("./virtual-ahwVDe9r.js"),__vite__mapDeps([294,295,296,297,11,195,298,299,300,301])),"/src/views/table/virtual/list.tsx":()=>Be(()=>import("./list-Dh84jNlI.js"),__vite__mapDeps([295,296,297,11,195,298,299,300])),"/src/views/table/virtual/list.vue":()=>Be(()=>import("./list-CdtWHWIH.js"),__vite__mapDeps([446,296,297,11,195,298])),"/src/views/table/virtual/pageList.vue":()=>Be(()=>import("./pageList-C7lFRefv.js"),__vite__mapDeps([447,300,297,11,195,298])),"/src/views/table/virtual/treeList.vue":()=>Be(()=>import("./treeList-CxLmuMkw.js"),__vite__mapDeps([448,299,297,11,195,298])),"/src/views/tabs/index.vue":()=>Be(()=>import("./index-nm8rWJoe.js"),__vite__mapDeps([449,450])),"/src/views/tabs/params-detail.vue":()=>Be(()=>import("./params-detail-B6FtTXP7.js"),__vite__mapDeps([451,450])),"/src/views/tabs/query-detail.vue":()=>Be(()=>import("./query-detail-Bxd6mkWF.js"),__vite__mapDeps([452,450])),"/src/views/vue-flow/layouting/animationEdge.vue":()=>Be(()=>import("./animationEdge-DfDHx4Cy.js"),__vite__mapDeps([307,304,308])),"/src/views/vue-flow/layouting/icon.vue":()=>Be(()=>import("./icon-cOCPUWNt.js"),__vite__mapDeps([453,303])),"/src/views/vue-flow/layouting/index.vue":()=>Be(()=>import("./index-D19Fh9w8.js"),__vite__mapDeps([302,303,1,304,305,306,307,308,309])),"/src/views/vue-flow/layouting/processNode.vue":()=>Be(()=>import("./processNode-DXYIM2sn.js"),__vite__mapDeps([305,304,306])),"/src/views/welcome/components/charts/ChartBar.vue":()=>Be(()=>import("./ChartBar-CYFTGgBE.js"),__vite__mapDeps([454,206])),"/src/views/welcome/components/charts/ChartLine.vue":()=>Be(()=>import("./ChartLine-B808V1mp.js"),__vite__mapDeps([455,207])),"/src/views/welcome/components/charts/ChartRound.vue":()=>Be(()=>import("./ChartRound-DnIH2qp2.js"),__vite__mapDeps([456,208])),"/src/views/welcome/components/table/columns.tsx":()=>Be(()=>import("./columns-BZ1SU_ps.js").then(e=>e.a),[]),"/src/views/welcome/components/table/index.vue":()=>Be(()=>import("./index-QMwIMez5.js"),__vite__mapDeps([203,204,23,205])),"/src/views/welcome/index.vue":()=>Be(()=>import("./index-BADhr3lz.js"),__vite__mapDeps([202,120,203,204,23,205,137,16,138,132,133,206,207,208,88,89,209]))});function Ndt(e){const{name:t,path:n,parentId:r,meta:a}=e;return ld(r)?!!(ld(a==null?void 0:a.rank)||(a==null?void 0:a.rank)===0&&t!=="Home"&&n!=="/"):!1}function o4(e){return e.forEach((t,n)=>{Ndt(t)&&(t.meta.rank=n+2)}),e.sort((t,n)=>(t==null?void 0:t.meta.rank)-(n==null?void 0:n.meta.rank))}function MI(e){const t=km(e).filter(n=>{var r;return((r=n.meta)==null?void 0:r.showLink)!==!1});return t.forEach(n=>n.children&&(n.children=MI(n.children))),t}function $dt(e){const t=km(e).filter(n=>{var r;return((r=n==null?void 0:n.children)==null?void 0:r.length)!==0});return t.forEach(n=>n.children&&(n.children=MI(n.children))),t}function Vpe(e,t){return Array.isArray(e)&&Array.isArray(t)?oDe(e,t).length>0:!0}function Hpe(e){var r,a;const t=(a=(r=Pa().getItem(xo))==null?void 0:r.roles)!=null?a:[],n=km(e).filter(i=>{var o;return Vpe((o=i.meta)==null?void 0:o.roles,t)});return n.forEach(i=>i.children&&(i.children=Hpe(i.children))),$dt(n)}function vMt(e,t,n="path"){function r(a,i,o){for(let l=0;lr.path==e);if(n)return Am(n)?dr(n):n;for(let r=0;r0&&(n=zpe(e,t[r].children),n))return Am(n)?dr(n):n;return null}function Vdt(){Oa.hasRoute("pathMatch")||Oa.addRoute({path:"/:pathMatch(.*)*",name:"PageNotFound",component:()=>Be(()=>import("./404-DZGbVnnT.js"),__vite__mapDeps([169,170])),meta:{title:"menus.purePageNotFound",showLink:!1}})}function pS(e){e.length===0||iF(Gpe(e)).map(t=>{if(Oa.options.routes[0].children.findIndex(n=>n.path===t.path)===-1){Oa.options.routes[0].children.push(t),o4(Oa.options.routes[0].children),Oa.hasRoute(t==null?void 0:t.name)||Oa.addRoute(t);const n=Oa.getRoutes().find(r=>r.path==="/");n.children=Oa.options.routes[0].children,Oa.addRoute(n)}}),ns().handleWholeMenus(e),Wf().getMultiTagsCache||Wf().handleTags("equal",[...Q9,...ns().flatteningRoutes.filter(t=>{var n;return(n=t==null?void 0:t.meta)==null?void 0:n.fixedTag})]),Vdt()}function Hdt(){var e;if((e=om())!=null&&e.CachingAsyncRoutes){const t="async-routes",n=Pa().getItem(t);return n&&(n==null?void 0:n.length)>0?new Promise(r=>{pS(n),r(Oa)}):new Promise(r=>{oU().then(({code:a,data:i})=>{a===0&&(pS(km(i)),Pa().setItem(t,i)),r(Oa)})})}else return new Promise(t=>{oU().then(({code:n,data:r})=>{n===0&&pS(km(r)),t(Oa)})})}function iF(e){if(e.length===0)return e;let t=nF(e);for(let n=0;n{var r;n.path==="/"?t.push({component:n.component,name:n.name,path:n.path,redirect:n.redirect,meta:n.meta,children:[]}):(r=t[0])==null||r.children.push(Te({},n))}),t}function sU({name:e},t){switch(t){case"add":ns().cacheOperate({mode:"add",name:e});break;case"delete":ns().cacheOperate({mode:"delete",name:e});break;case"refresh":ns().cacheOperate({mode:"refresh",name:e});break;default:ns().cacheOperate({mode:"delete",name:e}),e4(()=>{ns().cacheOperate({mode:"add",name:e})},100)}}function Gpe(e){if(!e||!e.length)return;const t=Object.keys(lU);return e.forEach(n=>{var r;if(n.meta.backstage=!0,n!=null&&n.children&&n.children.length&&!n.redirect&&(n.redirect=n.children[0].path),n!=null&&n.children&&n.children.length&&!n.name&&(n.name=n.children[0].name+"Parent"),(r=n.meta)!=null&&r.frameSrc)n.component=Idt;else{const a=n!=null&&n.component?t.findIndex(i=>i.includes(n.component)):t.findIndex(i=>i.includes(n.path));n.component=lU[t[a]]}n!=null&&n.children&&n.children.length&&Gpe(n.children)}),e}function zdt(e){const t=e.split(","),n=t[0],r=t[1];if(t.length===1){if(n==="hash")return iK("");if(n==="h5")return $B("")}else if(t.length===2){if(n==="hash")return iK(r);if(n==="h5")return $B(r)}}function Wdt(){return Oa.currentRoute.value.meta.auths}function jpe(e){if(!e)return!1;const t=Wdt();return t?!!(T5(e)?t.includes(e):Koe(e,t)):!1}function Gdt(e){return e!=null&&e.children&&e.children.length>1?e.redirect?e.children.filter(t=>t.path===e.redirect)[0]:e.children[0]:e}function jdt(e=!1){var n;const t=Gdt((n=ns().wholeMenus[0])==null?void 0:n.children[0]);return e&&Wf().handleTags("push",t),t}const Kdt=e=>i4.request("post","/login",{data:e}),Udt=e=>i4.request("post","/refresh-token",{data:e}),gMt=e=>i4.request("get","/mine",{data:e}),yMt=e=>i4.request("get","/mine-logs",{data:e}),qdt=AI("pure-user",{state:()=>{var e,t,n,r,a,i,o,l,s,u;return{avatar:(t=(e=Pa().getItem(xo))==null?void 0:e.avatar)!=null?t:"",username:(r=(n=Pa().getItem(xo))==null?void 0:n.username)!=null?r:"",nickname:(i=(a=Pa().getItem(xo))==null?void 0:a.nickname)!=null?i:"",roles:(l=(o=Pa().getItem(xo))==null?void 0:o.roles)!=null?l:[],permissions:(u=(s=Pa().getItem(xo))==null?void 0:s.permissions)!=null?u:[],verifyCode:"",currentPage:0,isRemembered:!1,loginDay:7}},actions:{SET_AVATAR(e){this.avatar=e},SET_USERNAME(e){this.username=e},SET_NICKNAME(e){this.nickname=e},SET_ROLES(e){this.roles=e},SET_PERMS(e){this.permissions=e},SET_VERIFYCODE(e){this.verifyCode=e},SET_CURRENTPAGE(e){this.currentPage=e},SET_ISREMEMBERED(e){this.isRemembered=e},SET_LOGINDAY(e){this.loginDay=Number(e)},loginByUsername(e){return Xt(this,null,function*(){return new Promise((t,n)=>{Kdt(e).then(r=>{r.code===0?(zB(r.data),t(r)):n(r.message)}).catch(r=>{n(r)})})})},logOut(){this.username="",this.roles=[],this.permissions=[],RI(),Wf().handleTags("equal",[...Q9]),rft(),Oa.push("/login")},handRefreshToken(e){return Xt(this,null,function*(){return new Promise((t,n)=>{Udt(e).then(r=>{r.code===0?(zB(r.data),t(r)):n(r.message)}).catch(r=>{n(r)})})})}}});function Zc(){return qdt(Z9)}const xo="user-info",M2="authorized-token",BI="multiple-tabs";function Ydt(){return zf.get(M2)?JSON.parse(zf.get(M2)):Pa().getItem(xo)}function zB(e){var s,u,c,d,f,p,h,m,v,g,b,C,y;let t=0;const{accessToken:n,refreshToken:r}=e,{isRemembered:a,loginDay:i}=Zc();t=new Date(e.expires).getTime();const o=JSON.stringify({accessToken:n,expires:t,refreshToken:r});t>0?zf.set(M2,o,{expires:(t-Date.now())/864e5}):zf.set(M2,o),zf.set(BI,"true",a?{expires:i}:{});function l({avatar:E,username:w,nickname:S,roles:A,permissions:D}){Zc().SET_AVATAR(E),Zc().SET_USERNAME(w),Zc().SET_NICKNAME(S),Zc().SET_ROLES(A),Zc().SET_PERMS(D),Pa().setItem(xo,{refreshToken:r,expires:t,avatar:E,username:w,nickname:S,roles:A,permissions:D})}if(e.username&&e.roles){const{username:E,roles:w}=e;l({avatar:(s=e==null?void 0:e.avatar)!=null?s:"",username:E,nickname:(u=e==null?void 0:e.nickname)!=null?u:"",roles:w,permissions:(c=e==null?void 0:e.permissions)!=null?c:[]})}else{const E=(f=(d=Pa().getItem(xo))==null?void 0:d.avatar)!=null?f:"",w=(h=(p=Pa().getItem(xo))==null?void 0:p.username)!=null?h:"",S=(v=(m=Pa().getItem(xo))==null?void 0:m.nickname)!=null?v:"",A=(b=(g=Pa().getItem(xo))==null?void 0:g.roles)!=null?b:[],D=(y=(C=Pa().getItem(xo))==null?void 0:C.permissions)!=null?y:[];l({avatar:E,username:w,nickname:S,roles:A,permissions:D})}}function RI(){zf.remove(M2),zf.remove(BI),Pa().removeItem(xo)}const hS=e=>"Bearer "+e,Kpe=e=>{if(!e)return!1;const t="*:*:*",{permissions:n}=Zc();return n?n.length===1&&n[0]===t?!0:!!(T5(e)?n.includes(e):Koe(e,n)):!1};(function(){const e=iDe(location.href),t=["username","roles","accessToken"],n=t.length;if(Object.keys(e).length!==n)return;let r=[],a=0;for(;a
'};n.configure=function(h){var m,v;for(m in h)v=h[m],v!==void 0&&h.hasOwnProperty(m)&&(r[m]=v);return this},n.status=null,n.set=function(h){var m=n.isStarted();h=a(h,r.minimum,1),n.status=h===1?null:h;var v=n.render(!m),g=v.querySelector(r.barSelector),b=r.speed,C=r.easing;return v.offsetWidth,l(function(y){r.positionUsing===""&&(r.positionUsing=n.getPositioningCSS()),s(g,o(h,b,C)),h===1?(s(v,{transition:"none",opacity:1}),v.offsetWidth,setTimeout(function(){s(v,{transition:"all "+b+"ms linear",opacity:0}),setTimeout(function(){n.remove(),y()},b)},b)):setTimeout(y,b)}),this},n.isStarted=function(){return typeof n.status=="number"},n.start=function(){n.status||n.set(0);var h=function(){setTimeout(function(){n.status&&(n.trickle(),h())},r.trickleSpeed)};return r.trickle&&h(),this},n.done=function(h){return!h&&!n.status?this:n.inc(.3+.5*Math.random()).set(1)},n.inc=function(h){var m=n.status;return m?(typeof h!="number"&&(h=(1-m)*a(Math.random()*m,.1,.95)),m=a(m+h,0,.994),n.set(m)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},(function(){var h=0,m=0;n.promise=function(v){return!v||v.state()==="resolved"?this:(m===0&&n.start(),h++,m++,v.always(function(){m--,m===0?(h=0,n.done()):n.set((h-m)/h)}),this)}})(),n.render=function(h){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var m=document.createElement("div");m.id="nprogress",m.innerHTML=r.template;var v=m.querySelector(r.barSelector),g=h?"-100":i(n.status||0),b=document.querySelector(r.parent),C;return s(v,{transition:"all 0 linear",transform:"translate3d("+g+"%,0,0)"}),r.showSpinner||(C=m.querySelector(r.spinnerSelector),C&&p(C)),b!=document.body&&c(b,"nprogress-custom-parent"),b.appendChild(m),m},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var h=document.getElementById("nprogress");h&&p(h)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var h=document.body.style,m="WebkitTransform"in h?"Webkit":"MozTransform"in h?"Moz":"msTransform"in h?"ms":"OTransform"in h?"O":"";return m+"Perspective"in h?"translate3d":m+"Transform"in h?"translate":"margin"};function a(h,m,v){return hv?v:h}function i(h){return(-1+h)*100}function o(h,m,v){var g;return r.positionUsing==="translate3d"?g={transform:"translate3d("+i(h)+"%,0,0)"}:r.positionUsing==="translate"?g={transform:"translate("+i(h)+"%,0)"}:g={"margin-left":i(h)+"%"},g.transition="all "+m+"ms "+v,g}var l=(function(){var h=[];function m(){var v=h.shift();v&&v(m)}return function(v){h.push(v),h.length==1&&m()}})(),s=(function(){var h=["Webkit","O","Moz","ms"],m={};function v(y){return y.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(E,w){return w.toUpperCase()})}function g(y){var E=document.body.style;if(y in E)return y;for(var w=h.length,S=y.charAt(0).toUpperCase()+y.slice(1),A;w--;)if(A=h[w]+S,A in E)return A;return y}function b(y){return y=v(y),m[y]||(m[y]=g(y))}function C(y,E,w){E=b(E),y.style[E]=w}return function(y,E){var w=arguments,S,A;if(w.length==2)for(S in E)A=E[S],A!==void 0&&E.hasOwnProperty(S)&&C(y,S,A);else C(y,w[1],w[2])}})();function u(h,m){var v=typeof h=="string"?h:f(h);return v.indexOf(" "+m+" ")>=0}function c(h,m){var v=f(h),g=v+m;u(v,m)||(h.className=g.substring(1))}function d(h,m){var v=f(h),g;u(h,m)&&(g=v.replace(" "+m+" "," "),h.className=g.substring(1,g.length-1))}function f(h){return(" "+(h.className||"")+" ").replace(/\s+/gi," ")}function p(h){h&&h.parentNode&&h.parentNode.removeChild(h)}return n})})(s7)),s7.exports}var Zdt=Xdt();const P6=pu(Zdt);P6.configure({easing:"ease",speed:500,showSpinner:!1,trickleSpeed:200,minimum:.3});const Qdt=()=>Be(()=>import("./index-Cii3cJrL.js"),__vite__mapDeps([193,194,12,195,26,17,196,197,198,199,200,36,23,11,69,125,88,89,92,201])),B2=[{path:"/login",name:"Login",component:()=>Be(()=>import("./index-B37DTkB7.js"),__vite__mapDeps([358,349,350,34,199,26,200,12,195,194,348,23,134,354,355,357,352,15,16,17,18,69,359])),meta:{title:Ot("menus.pureLogin"),showLink:!1}},{path:"/access-denied",name:"AccessDenied",component:()=>Be(()=>import("./403-BThdJqDf.js"),__vite__mapDeps([167,168])),meta:{title:Ot("menus.pureAccessDenied"),showLink:!1}},{path:"/server-error",name:"ServerError",component:()=>Be(()=>import("./500-B5lh3OV9.js"),__vite__mapDeps([171,172])),meta:{title:Ot("menus.pureServerError"),showLink:!1}},{path:"/redirect",component:Qdt,meta:{title:Ot("status.pureLoad"),showLink:!1},children:[{path:"/redirect/:path(.*)",name:"Redirect",component:()=>Be(()=>import("./redirect-Cw94BuxM.js"),[])}]},{path:"/account-settings",name:"AccountSettings",component:()=>Be(()=>import("./index-BtgV6yhb.js"),__vite__mapDeps([321,92,316,20,317,85,86,318,313,314,320,311,312,194,12,195,198,322])),meta:{title:Ot("buttons.pureAccountSettings"),showLink:!1}},{path:"/empty",name:"Empty",component:()=>Be(()=>import("./index-C1vmMvJf.js"),__vite__mapDeps([344,345])),meta:{title:Ot("menus.pureEmpty"),showLink:!1}}],cU=Object.assign({"./modules/able.ts":zst,"./modules/about.ts":Gst,"./modules/board.ts":Ust,"./modules/chatai.ts":Yst,"./modules/codemirror.ts":Xst,"./modules/components.ts":Qst,"./modules/editor.ts":tut,"./modules/error.ts":rut,"./modules/flowchart.ts":iut,"./modules/form.ts":lut,"./modules/formdesign.ts":cut,"./modules/ganttastic.ts":fut,"./modules/guide.ts":hut,"./modules/home.ts":gut,"./modules/list.ts":but,"./modules/markdown.ts":Fut,"./modules/menuoverflow.ts":wut,"./modules/mind.ts":Dut,"./modules/nested.ts":kut,"./modules/ppt.ts":Mut,"./modules/result.ts":Rut,"./modules/table.ts":Out,"./modules/vueflow.ts":Iut}),oF=[];Object.keys(cU).forEach(e=>{oF.push(cU[e].default)});const Upe=Wpe(iF(nF(o4(oF.flat(1/0))))),eft=km(Upe),tft=o4(oF.flat(1/0)).concat(...B2),bMt=Object.keys(B2).map(e=>B2[e].path),Oa=Jct({history:zdt("hash"),routes:Upe.concat(...B2),strict:!0,scrollBehavior(e,t,n){return new Promise(r=>{if(n)return n;if(t.meta.saveSrollTop){const a=document.documentElement.scrollTop||document.body.scrollTop;r({left:0,top:a})}})}}),LI=new Set;function nft(){LI.clear()}function rft(){Oa.clearRoutes();for(const e of eft.concat(...B2))Oa.addRoute(e);Oa.options.routes=Wpe(iF(nF(o4(oF.flat(1/0))))),ns().clearAllCachePage(),nft()}const dU=["/login"];Oa.beforeEach((e,t,n)=>{var o,l,s;e.meta.loaded=LI.has(e.path),e.meta.loaded||P6.start(),(o=e.meta)!=null&&o.keepAlive&&(sU(e,"add"),(t.name===void 0||t.name==="Redirect")&&sU(e));const r=Pa().getItem(xo),a=CO(e==null?void 0:e.name);a||e.matched.some(u=>{if(!u.meta.title)return"";const c=om().Title;c?document.title=`${MB(u.meta.title)} | ${c}`:document.title=MB(u.meta.title)});function i(){dU.includes(e.fullPath)?n(t.fullPath):n()}zf.get(BI)&&r?((l=e.meta)!=null&&l.roles&&!Vpe((s=e.meta)==null?void 0:s.roles,r==null?void 0:r.roles)&&n({path:"/error/403"}),t!=null&&t.name?a?(zoe(e==null?void 0:e.name),P6.done()):i():(ns().wholeMenus.length===0&&e.path!=="/login"&&Hdt().then(u=>{var c,d;if(!Wf().getMultiTagsCache){const{path:f}=e,p=zpe(f,u.options.routes[0].children);if(jdt(!0),p&&((c=p.meta)!=null&&c.title))if(ld(p.parentId)&&((d=p.meta)!=null&&d.backstage)){const{path:h,name:m,meta:v}=p.children[0];Wf().handleTags("push",{path:h,name:m,meta:v})}else{const{path:h,name:m,meta:v}=p;Wf().handleTags("push",{path:h,name:m,meta:v})}}ld(e.name)&&u.push(e.fullPath)}),i())):e.path!=="/login"?dU.indexOf(e.path)!==-1?n():(RI(),n({path:"/login"})):n()});Oa.afterEach(e=>{LI.add(e.path),P6.done()});function mS(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function WB(e,t,n=".",r){if(!mS(t))return WB(e,{},n,r);const a=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(a,i,o,n)||(Array.isArray(o)&&Array.isArray(a[i])?a[i]=[...o,...a[i]]:mS(o)&&mS(a[i])?a[i]=WB(o,a[i],(n?`${n}.`:"")+i.toString(),r):a[i]=o))}return a}function aft(e){return(...t)=>t.reduce((n,r)=>WB(n,r,"",e),{})}const qpe=aft();function Ype(e){return j0()?(K0(e),!0):!1}const ift=typeof window!="undefined"&&typeof document!="undefined";typeof WorkerGlobalScope!="undefined"&&globalThis instanceof WorkerGlobalScope;const oft=e=>e!=null,lft=Object.prototype.toString,I6=e=>lft.call(e)==="[object Object]",vS=()=>{};function u7(e){return Array.isArray(e)?e:[e]}function sft(e){return Jt()}function uft(e,t){sft()&&la(e,t)}function cft(e,t,n){return $e(e,t,Et(Te({},n),{immediate:!0}))}const Jpe=ift?window:void 0;function ub(e){var t;const n=Yr(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Du(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,s,u,c)=>(l.addEventListener(s,u,c),()=>l.removeEventListener(s,u,c)),a=R(()=>{const l=u7(Yr(e[0])).filter(s=>s!=null);return l.every(s=>typeof s!="string")?l:void 0}),i=cft(()=>{var l,s;return[(s=(l=a.value)==null?void 0:l.map(u=>ub(u)))!=null?s:[Jpe].filter(u=>u!=null),u7(Yr(a.value?e[1]:e[0])),u7(F(a.value?e[2]:e[1])),Yr(a.value?e[3]:e[2])]},([l,s,u,c])=>{if(n(),!(l!=null&&l.length)||!(s!=null&&s.length)||!(u!=null&&u.length))return;const d=I6(c)?Te({},c):c;t.push(...l.flatMap(f=>s.flatMap(p=>u.map(h=>r(f,p,h,d)))))},{flush:"post"}),o=()=>{i(),n()};return Ype(n),o}function dft(){const e=Zn(!1),t=Jt();return t&&Ut(()=>{e.value=!0},t),e}function fft(e){const t=dft();return R(()=>(t.value,!!e()))}function pft(e,t,n={}){const{root:r,rootMargin:a="0px",threshold:i=0,window:o=Jpe,immediate:l=!0}=n,s=fft(()=>o&&"IntersectionObserver"in o),u=R(()=>{const h=Yr(e);return u7(h).map(ub).filter(oft)});let c=vS;const d=Zn(l),f=s.value?$e(()=>[u.value,ub(r),d.value],([h,m])=>{if(c(),!d.value||!h.length)return;const v=new IntersectionObserver(t,{root:ub(m),rootMargin:a,threshold:i});h.forEach(g=>g&&v.observe(g)),c=()=>{v.disconnect(),c=vS}},{immediate:l,flush:"post"}):vS,p=()=>{c(),f(),d.value=!1};return Ype(p),{isSupported:s,isActive:d,pause(){c(),d.value=!1},resume(){d.value=!0},stop:p}}const Xpe=1/60*1e3,hft=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Zpe=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(hft()),Xpe);function mft(e){let t=[],n=[],r=0,a=!1,i=!1;const o=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const d=c&&a,f=d?t:n;return u&&o.add(s),f.indexOf(s)===-1&&(f.push(s),d&&a&&(r=t.length)),s},cancel:s=>{const u=n.indexOf(s);u!==-1&&n.splice(u,1),o.delete(s)},process:s=>{if(a){i=!0;return}if(a=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let u=0;u(e[t]=mft(()=>R2=!0),e),{}),KB=l4.reduce((e,t)=>{const n=lF[t];return e[t]=(r,a=!1,i=!1)=>(R2||bft(),n.schedule(r,a,i)),e},{}),gft=l4.reduce((e,t)=>(e[t]=lF[t].cancel,e),{});l4.reduce((e,t)=>(e[t]=()=>lF[t].process($1),e),{});const yft=e=>lF[e].process($1),Qpe=e=>{R2=!1,$1.delta=GB?Xpe:Math.max(Math.min(e-$1.timestamp,vft),1),$1.timestamp=e,jB=!0,l4.forEach(yft),jB=!1,R2&&(GB=!1,Zpe(Qpe))},bft=()=>{R2=!0,GB=!0,jB||Zpe(Qpe)},ehe=()=>$1;function the(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);aMath.min(Math.max(n,e),t),gS=.001,Cft=.01,Fft=10,Eft=.05,wft=1;function Sft({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let a,i,o=1-t;o=UB(Eft,wft,o),e=UB(Cft,Fft,e/1e3),o<1?(a=u=>{const c=u*o,d=c*e,f=c-n,p=qB(u,o),h=Math.exp(-d);return gS-f/p*h},i=u=>{const d=u*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=qB(Math.pow(u,2),o);return(-a(u)+gS>0?-1:1)*((f-p)*h)/m}):(a=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-gS+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const l=5/e,s=Dft(a,i,l);if(e=e*1e3,isNaN(s))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(s,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const Aft=12;function Dft(e,t,n){let r=n;for(let a=1;ae[n]!==void 0)}function _ft(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!pU(e,kft)&&pU(e,Tft)){const n=Sft(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function OI(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:a}=e,i=the(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=_ft(i),p=hU,h=hU;function m(){const v=c?-(c/1e3):0,g=n-t,b=s/(2*Math.sqrt(l*u)),C=Math.sqrt(l/u)/1e3;if(a===void 0&&(a=Math.min(Math.abs(n-t)/100,.4)),b<1){const y=qB(C,b);p=E=>{const w=Math.exp(-b*C*E);return n-w*((v+b*C*g)/y*Math.sin(y*E)+g*Math.cos(y*E))},h=E=>{const w=Math.exp(-b*C*E);return b*C*w*(Math.sin(y*E)*(v+b*C*g)/y+g*Math.cos(y*E))-w*(Math.cos(y*E)*(v+b*C*g)-y*g*Math.sin(y*E))}}else if(b===1)p=y=>n-Math.exp(-C*y)*(g+(v+C*g)*y);else{const y=C*Math.sqrt(b*b-1);p=E=>{const w=Math.exp(-b*C*E),S=Math.min(y*E,300);return n-w*((v+b*C*g)*Math.sinh(S)+y*g*Math.cosh(S))/y}}}return m(),{next:v=>{const g=p(v);if(f)o.done=v>=d;else{const b=h(v)*1e3,C=Math.abs(b)<=r,y=Math.abs(n-g)<=a;o.done=C&&y}return o.value=o.done?n:g,o},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}OI.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const hU=e=>0,nhe=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},PI=(e,t,n)=>-n*e+n*t+e,rhe=(e,t)=>n=>Math.max(Math.min(n,t),e),cb=e=>e%1?Number(e.toFixed(5)):e,L2=/(-)?([\d]*\.?[\d])+/g,YB=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,xft=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function s4(e){return typeof e=="string"}const u4={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},db=Object.assign(Object.assign({},u4),{transform:rhe(0,1)}),F8=Object.assign(Object.assign({},u4),{default:1}),II=e=>({test:t=>s4(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Kp=II("deg"),fb=II("%"),Cr=II("px"),mU=Object.assign(Object.assign({},fb),{parse:e=>fb.parse(e)/100,transform:e=>fb.transform(e*100)}),NI=(e,t)=>n=>!!(s4(n)&&xft.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),ahe=(e,t,n)=>r=>{if(!s4(r))return r;const[a,i,o,l]=r.match(L2);return{[e]:parseFloat(a),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},zh={test:NI("hsl","hue"),parse:ahe("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+fb.transform(cb(t))+", "+fb.transform(cb(n))+", "+cb(db.transform(r))+")"},Mft=rhe(0,255),yS=Object.assign(Object.assign({},u4),{transform:e=>Math.round(Mft(e))}),xf={test:NI("rgb","red"),parse:ahe("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+yS.transform(e)+", "+yS.transform(t)+", "+yS.transform(n)+", "+cb(db.transform(r))+")"};function Bft(e){let t="",n="",r="",a="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),a=e.substr(4,1),t+=t,n+=n,r+=r,a+=a),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:a?parseInt(a,16)/255:1}}const JB={test:NI("#"),parse:Bft,transform:xf.transform},Zo={test:e=>xf.test(e)||JB.test(e)||zh.test(e),parse:e=>xf.test(e)?xf.parse(e):zh.test(e)?zh.parse(e):JB.parse(e),transform:e=>s4(e)?e:e.hasOwnProperty("red")?xf.transform(e):zh.transform(e)},ihe="${c}",ohe="${n}";function Rft(e){var t,n,r,a;return isNaN(e)&&s4(e)&&((n=(t=e.match(L2))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((a=(r=e.match(YB))===null||r===void 0?void 0:r.length)!==null&&a!==void 0?a:0)>0}function lhe(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(YB);r&&(n=r.length,e=e.replace(YB,ihe),t.push(...r.map(Zo.parse)));const a=e.match(L2);return a&&(e=e.replace(L2,ohe),t.push(...a.map(u4.parse))),{values:t,numColors:n,tokenised:e}}function she(e){return lhe(e).values}function uhe(e){const{values:t,numColors:n,tokenised:r}=lhe(e),a=t.length;return i=>{let o=r;for(let l=0;ltypeof e=="number"?0:e;function Oft(e){const t=she(e);return uhe(e)(t.map(Lft))}const c4={test:Rft,parse:she,createTransformer:uhe,getAnimatableNone:Oft},Pft=new Set(["brightness","contrast","saturate","opacity"]);function Ift(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(L2)||[];if(!r)return e;const a=n.replace(r,"");let i=Pft.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+a+")"}const Nft=/([a-z-]*)\(.*?\)/g,XB=Object.assign(Object.assign({},c4),{getAnimatableNone:e=>{const t=e.match(Nft);return t?t.map(Ift).join(" "):e}});function bS(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vU({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let a=0,i=0,o=0;if(!t)a=i=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;a=bS(s,l,e+1/3),i=bS(s,l,e),o=bS(s,l,e-1/3)}return{red:Math.round(a*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}const $ft=(e,t,n)=>{const r=e*e,a=t*t;return Math.sqrt(Math.max(0,n*(a-r)+r))},Vft=[JB,xf,zh],gU=e=>Vft.find(t=>t.test(e)),che=(e,t)=>{let n=gU(e),r=gU(t),a=n.parse(e),i=r.parse(t);n===zh&&(a=vU(a),n=xf),r===zh&&(i=vU(i),r=xf);const o=Object.assign({},a);return l=>{for(const s in o)s!=="alpha"&&(o[s]=$ft(a[s],i[s],l));return o.alpha=PI(a.alpha,i.alpha,l),n.transform(o)}},Hft=e=>typeof e=="number",zft=(e,t)=>n=>t(e(n)),dhe=(...e)=>e.reduce(zft);function fhe(e,t){return Hft(e)?n=>PI(e,t,n):Zo.test(e)?che(e,t):hhe(e,t)}const phe=(e,t)=>{const n=[...e],r=n.length,a=e.map((i,o)=>fhe(i,t[o]));return i=>{for(let o=0;o{const n=Object.assign(Object.assign({},e),t),r={};for(const a in n)e[a]!==void 0&&t[a]!==void 0&&(r[a]=fhe(e[a],t[a]));return a=>{for(const i in r)n[i]=r[i](a);return n}};function yU(e){const t=c4.parse(e),n=t.length;let r=0,a=0,i=0;for(let o=0;o{const n=c4.createTransformer(t),r=yU(e),a=yU(t);return r.numHSL===a.numHSL&&r.numRGB===a.numRGB&&r.numNumbers>=a.numNumbers?dhe(phe(r.parsed,a.parsed),n):o=>`${o>0?t:e}`},Gft=(e,t)=>n=>PI(e,t,n);function jft(e){if(typeof e=="number")return Gft;if(typeof e=="string")return Zo.test(e)?che:hhe;if(Array.isArray(e))return phe;if(typeof e=="object")return Wft}function Kft(e,t,n){const r=[],a=n||jft(e[0]),i=e.length-1;for(let o=0;on(nhe(e,t,r))}function qft(e,t){const n=e.length,r=n-1;return a=>{let i=0,o=!1;if(a<=e[0]?o=!0:a>=e[r]&&(i=r-1,o=!0),!o){let s=1;for(;sa||s===r);s++);i=s-1}const l=nhe(e[i],e[i+1],a);return t[i](l)}}function mhe(e,t,{clamp:n=!0,ease:r,mixer:a}={}){const i=e.length;fU(i===t.length),fU(!r||!Array.isArray(r)||r.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=Kft(t,r,a),l=i===2?Uft(e,o):qft(e,o);return n?s=>l(UB(e[0],e[i-1],s)):l}const sF=e=>t=>1-e(1-t),$I=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yft=e=>t=>Math.pow(t,e),vhe=e=>t=>t*t*((e+1)*t-e),Jft=e=>{const t=vhe(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},ghe=1.525,Xft=4/11,Zft=8/11,Qft=9/10,yhe=e=>e,VI=Yft(2),ept=sF(VI),bhe=$I(VI),Che=e=>1-Math.sin(Math.acos(e)),Fhe=sF(Che),tpt=$I(Fhe),HI=vhe(ghe),npt=sF(HI),rpt=$I(HI),apt=Jft(ghe),ipt=4356/361,opt=35442/1805,lpt=16061/1805,N6=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-N6(1-e*2)):.5*N6(e*2-1)+.5;function cpt(e,t){return e.map(()=>t||bhe).splice(0,e.length-1)}function dpt(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function fpt(e,t){return e.map(n=>n*t)}function c7({from:e=0,to:t=1,ease:n,offset:r,duration:a=300}){const i={done:!1,value:e},o=Array.isArray(t)?t:[e,t],l=fpt(r&&r.length===o.length?r:dpt(o),a);function s(){return mhe(l,o,{ease:Array.isArray(n)?n:cpt(o,n)})}let u=s();return{next:c=>(i.value=u(c),i.done=c>=a,i),flipTarget:()=>{o.reverse(),u=s()}}}function ppt({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:a=.5,modifyTarget:i}){const o={done:!1,value:t};let l=n*e;const s=t+l,u=i===void 0?s:i(s);return u!==s&&(l=u-t),{next:c=>{const d=-l*Math.exp(-c/r);return o.done=!(d>a||d<-a),o.value=o.done?u:u+d,o},flipTarget:()=>{}}}const bU={keyframes:c7,spring:OI,decay:ppt};function hpt(e){if(Array.isArray(e.to))return c7;if(bU[e.type])return bU[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?c7:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?OI:c7}function Ehe(e,t,n=0){return e-t-n}function mpt(e,t,n=0,r=!0){return r?Ehe(t+-e,t,n):t-(e-t)+n}function vpt(e,t,n,r){return r?e>=t+n:e<=-n}const gpt=e=>{const t=({delta:n})=>e(n);return{start:()=>KB.update(t,!0),stop:()=>gft.update(t)}};function whe(e){var t,n,{from:r,autoplay:a=!0,driver:i=gpt,elapsed:o=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=e,m=the(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=m,g,b=0,C=m.duration,y,E=!1,w=!0,S;const A=hpt(m);!((n=(t=A).needsInterpolation)===null||n===void 0)&&n.call(t,r,v)&&(S=mhe([0,100],[r,v],{clamp:!1}),r=0,v=100);const D=A(Object.assign(Object.assign({},m),{from:r,to:v}));function k(){b++,s==="reverse"?(w=b%2===0,o=mpt(o,C,u,w)):(o=Ehe(o,C,u),s==="mirror"&&D.flipTarget()),E=!1,p&&p()}function x(){g.stop(),f&&f()}function _(L){if(w||(L=-L),o+=L,!E){const I=D.next(Math.max(0,o));y=I.value,S&&(y=S(y)),E=w?I.done:o<=0}h==null||h(y),E&&(b===0&&(C!=null||(C=o)),b{d==null||d(),g.stop()}}}function She(e,t){return t?e*(1e3/t):0}function ypt({from:e=0,velocity:t=0,min:n,max:r,power:a=.8,timeConstant:i=750,bounceStiffness:o=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:p}){let h;function m(C){return n!==void 0&&Cr}function v(C){return n===void 0?r:r===void 0||Math.abs(n-C){var E;d==null||d(y),(E=C.onUpdate)===null||E===void 0||E.call(C,y)},onComplete:f,onStop:p}))}function b(C){g(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:s},C))}if(m(e))b({from:e,velocity:t,to:v(e)});else{let C=a*t+e;typeof u!="undefined"&&(C=u(C));const y=v(C),E=y===n?-1:1;let w,S;const A=D=>{w=S,S=D,t=She(D-w,ehe().delta),(E===1&&D>y||E===-1&&Dh==null?void 0:h.stop()}}const Ahe=(e,t)=>1-3*t+3*e,Dhe=(e,t)=>3*t-6*e,The=e=>3*e,$6=(e,t,n)=>((Ahe(t,n)*e+Dhe(t,n))*e+The(t))*e,khe=(e,t,n)=>3*Ahe(t,n)*e*e+2*Dhe(t,n)*e+The(t),bpt=1e-7,Cpt=10;function Fpt(e,t,n,r,a){let i,o,l=0;do o=t+(n-t)/2,i=$6(o,r,a)-e,i>0?n=o:t=o;while(Math.abs(i)>bpt&&++l=wpt?Spt(o,d,e,n):f===0?d:Fpt(o,l,l+E8,e,n)}return o=>o===0||o===1?o:$6(i(o),t,r)}const vd={},CS={};class Dpt{constructor(){Hn(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const a of this.subscriptions)a(t,n,r)}clear(){this.subscriptions.clear()}}function CU(e){return!Number.isNaN(Number.parseFloat(e))}class Tpt{constructor(t){Hn(this,"current");Hn(this,"prev");Hn(this,"timeDelta",0);Hn(this,"lastUpdated",0);Hn(this,"updateSubscribers",new Dpt);Hn(this,"stopAnimation");Hn(this,"canTrackVelocity",!1);Hn(this,"updateAndNotify",t=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:r}=ehe();this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r),KB.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)});Hn(this,"scheduleVelocityCheck",()=>KB.postRender(this.velocityCheck));Hn(this,"velocityCheck",({timestamp:t})=>{this.canTrackVelocity||(this.canTrackVelocity=CU(this.current)),t!==this.lastUpdated&&(this.prev=this.current)});this.prev=this.current=t,this.canTrackVelocity=CU(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?She(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function kpt(e){return new Tpt(e)}const{isArray:_pt}=Array;function xpt(){const e=j({}),t=r=>{const a=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};r?_pt(r)?r.forEach(a):a(r):Object.keys(e.value).forEach(a)},n=(r,a,i)=>{if(e.value[r])return e.value[r];const o=kpt(a);return o.onChange(l=>i[r]=l),e.value[r]=o,o};return uft(t),{motionValues:e,get:n,stop:t}}function Mpt(e){return Array.isArray(e)}function Up(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function FS(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function Bpt(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function ES(){return{type:"keyframes",ease:"linear",duration:300}}function Rpt(e){return{type:"keyframes",duration:800,values:e}}const FU={default:Bpt,x:Up,y:Up,z:Up,rotate:Up,rotateX:Up,rotateY:Up,rotateZ:Up,scaleX:FS,scaleY:FS,scale:FS,backgroundColor:ES,color:ES,opacity:ES};function _he(e,t){let n;return Mpt(t)?n=Rpt:n=FU[e]||FU.default,Te({to:t},n(t))}const EU=Et(Te({},u4),{transform:Math.round}),xhe={color:Zo,backgroundColor:Zo,outlineColor:Zo,fill:Zo,stroke:Zo,borderColor:Zo,borderTopColor:Zo,borderRightColor:Zo,borderBottomColor:Zo,borderLeftColor:Zo,borderWidth:Cr,borderTopWidth:Cr,borderRightWidth:Cr,borderBottomWidth:Cr,borderLeftWidth:Cr,borderRadius:Cr,radius:Cr,borderTopLeftRadius:Cr,borderTopRightRadius:Cr,borderBottomRightRadius:Cr,borderBottomLeftRadius:Cr,width:Cr,maxWidth:Cr,height:Cr,maxHeight:Cr,size:Cr,top:Cr,right:Cr,bottom:Cr,left:Cr,padding:Cr,paddingTop:Cr,paddingRight:Cr,paddingBottom:Cr,paddingLeft:Cr,margin:Cr,marginTop:Cr,marginRight:Cr,marginBottom:Cr,marginLeft:Cr,rotate:Kp,rotateX:Kp,rotateY:Kp,rotateZ:Kp,scale:F8,scaleX:F8,scaleY:F8,scaleZ:F8,skew:Kp,skewX:Kp,skewY:Kp,distance:Cr,translateX:Cr,translateY:Cr,translateZ:Cr,x:Cr,y:Cr,z:Cr,perspective:Cr,transformPerspective:Cr,opacity:db,originX:mU,originY:mU,originZ:Cr,zIndex:EU,filter:XB,WebkitFilter:XB,fillOpacity:db,strokeOpacity:db,numOctaves:EU},zI=e=>xhe[e];function ZB(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function Lpt(e,t){let n=zI(e);return n!==XB&&(n=c4),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Opt={linear:yhe,easeIn:VI,easeInOut:bhe,easeOut:ept,circIn:Che,circInOut:tpt,circOut:Fhe,backIn:HI,backInOut:rpt,backOut:npt,anticipate:apt,bounceIn:spt,bounceInOut:upt,bounceOut:N6};function wU(e){if(Array.isArray(e)){const[t,n,r,a]=e;return Apt(t,n,r,a)}else if(typeof e=="string")return Opt[e];return e}function Ppt(e){return Array.isArray(e)&&typeof e[0]!="number"}function SU(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&c4.test(t)&&!t.startsWith("url("))}function Ipt(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Npt(a){var i=a,{ease:e,times:t,delay:n}=i,r=Fo(i,["ease","times","delay"]);const o=Te({},r);return t&&(o.offset=t),e&&(o.ease=Ppt(e)?e.map(wU):wU(e)),n&&(o.elapsed=-n),o}function $pt(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),Ipt(t),Vpt(e)||(e=Te(Te({},e),_he(n,t.to))),Te(Te({},t),Npt(e))}function Vpt(o){var l=o,{delay:e,repeat:t,repeatType:n,repeatDelay:r,from:a}=l,i=Fo(l,["delay","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(i).length}function Hpt(e,t){return e[t]||e.default||e}function zpt(e,t,n,r,a){const i=Hpt(r,e);let o=i.from===null||i.from===void 0?t.get():i.from;const l=SU(e,n);o==="none"&&l&&typeof n=="string"&&(o=Lpt(e,n));const s=SU(e,o);function u(d){const f={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:p=>t.set(p)};return i.type==="inertia"||i.type==="decay"?ypt(Te(Te({},f),i)):whe(Et(Te({},$pt(i,f,e)),{onUpdate:p=>{f.onUpdate(p),i.onUpdate&&i.onUpdate(p)},onComplete:()=>{a&&a(),d&&d()}}))}function c(d){return t.set(n),a&&a(),d&&d(),{stop:()=>{}}}return!s||!l||i.type===!1?c:u}function Wpt(){const{motionValues:e,stop:t,get:n}=xpt();return{motionValues:e,stop:t,push:(a,i,o,l={},s)=>{const u=o[a],c=n(a,u,o);if(l&&l.immediate){c.set(i);return}const d=zpt(a,c,i,l,s);c.start(d)}}}function Gpt(e,t={},{motionValues:n,push:r,stop:a}=Wpt()){const i=F(t),o=j(!1);$e(n,d=>{o.value=Object.values(d).filter(f=>f.isAnimating()).length>0},{immediate:!0,deep:!0});const l=d=>{if(!i||!i[d])throw new Error(`The variant ${d} does not exist.`);return i[d]},s=d=>{typeof d=="string"&&(d=l(d));const f=Object.entries(d).map(([h,m])=>{if(h!=="transition")return new Promise(v=>r(h,m,e,d.transition||_he(h,d[h]),v))}).filter(Boolean);function p(){return Xt(this,null,function*(){var h,m;yield Promise.all(f),(m=(h=d.transition)==null?void 0:h.onComplete)==null||m.call(h)})}return Promise.all([p()])};return{isAnimating:o,apply:s,set:d=>{const f=I6(d)?d:l(d);Object.entries(f).forEach(([p,h])=>{p!=="transition"&&r(p,h,e,{immediate:!0})})},leave:d=>Xt(null,null,function*(){let f;if(i&&(i.leave&&(f=i.leave),!i.leave&&i.initial&&(f=i.initial)),!f){d();return}yield s(f),d()}),stop:a}}const WI=typeof window!="undefined",jpt=()=>WI&&(window.onpointerdown===null||(vd==null?void 0:vd.TEST)),Kpt=()=>WI&&(window.ontouchstart===null||(vd==null?void 0:vd.TEST)),Upt=()=>WI&&(window.onmousedown===null||(vd==null?void 0:vd.TEST));function qpt({target:e,state:t,variants:n,apply:r}){const a=F(n),i=j(!1),o=j(!1),l=j(!1),s=R(()=>{let c=[...Object.keys(t.value||{})];return a&&(a.hovered&&(c=[...c,...Object.keys(a.hovered)]),a.tapped&&(c=[...c,...Object.keys(a.tapped)]),a.focused&&(c=[...c,...Object.keys(a.focused)])),c}),u=R(()=>{const c={};Object.assign(c,t.value),i.value&&a.hovered&&Object.assign(c,a.hovered),o.value&&a.tapped&&Object.assign(c,a.tapped),l.value&&a.focused&&Object.assign(c,a.focused);for(const d in c)s.value.includes(d)||delete c[d];return c});a.hovered&&(Du(e,"mouseenter",()=>i.value=!0),Du(e,"mouseleave",()=>{i.value=!1,o.value=!1})),a.tapped&&(Upt()&&(Du(e,"mousedown",()=>o.value=!0),Du(e,"mouseup",()=>o.value=!1)),jpt()&&(Du(e,"pointerdown",()=>o.value=!0),Du(e,"pointerup",()=>o.value=!1)),Kpt()&&(Du(e,"touchstart",()=>o.value=!0),Du(e,"touchend",()=>o.value=!1))),a.focused&&(Du(e,"focus",()=>l.value=!0),Du(e,"blur",()=>l.value=!1)),$e([i,o,l],()=>{r(u.value)})}function Ypt({set:e,target:t,variants:n,variant:r}){const a=F(n);$e(()=>t,()=>{a&&(a.initial&&(e("initial"),r.value="initial"),a.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function Jpt({state:e,apply:t}){$e(e,n=>{n&&t(n)},{immediate:!0})}function Mhe({target:e,variants:t,variant:n}){const r=F(t);r&&(r.visible||r.visibleOnce)&&pft(e,([{isIntersecting:a}])=>{r.visible?a?n.value="visible":n.value="initial":r.visibleOnce&&(a&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function Xpt(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&Ypt(e),t.syncVariants&&Jpt(e),t.visibilityHooks&&Mhe(e),t.eventListeners&&qpt(e)}function Bhe(e={}){const t=dn(Te({},e)),n=j({});return $e(t,()=>{const r={};for(const[a,i]of Object.entries(t)){const o=zI(a),l=ZB(i,o);r[a]=l}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function GI(e,t){$e(()=>ub(e),n=>{n&&t(n)},{immediate:!0})}const Zpt={x:"translateX",y:"translateY",z:"translateZ"};function Rhe(e={},t=!0){const n=dn(Te({},e)),r=j("");return $e(n,a=>{let i="",o=!1;if(t&&(a.x||a.y||a.z)){const l=[a.x||0,a.y||0,a.z||0].map(s=>ZB(s,Cr)).join(",");i+=`translate3d(${l}) `,o=!0}for(const[l,s]of Object.entries(a)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const u=zI(l),c=ZB(s,u);i+=`${Zpt[l]||l}(${c}) `}t&&!o&&(i+="translateZ(0px) "),r.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const Qpt=["","X","Y","Z"],eht=["perspective","translate","scale","rotate","skew"],Lhe=["transformPerspective","x","y","z"];eht.forEach(e=>{Qpt.forEach(t=>{const n=e+t;Lhe.push(n)})});const tht=new Set(Lhe);function jI(e){return tht.has(e)}const nht=new Set(["originX","originY","originZ"]);function Ohe(e){return nht.has(e)}function rht(e){const t={},n={};return Object.entries(e).forEach(([r,a])=>{jI(r)||Ohe(r)?t[r]=a:n[r]=a}),{transform:t,style:n}}function uF(e){const{transform:t,style:n}=rht(e),{transform:r}=Rhe(t),{style:a}=Bhe(n);return r.value&&(a.value.transform=r.value),a.value}function aht(e,t){let n,r;const{state:a,style:i}=Bhe();return GI(e,o=>{r=o;for(const l of Object.keys(xhe))o.style[l]===null||o.style[l]===""||jI(l)||Ohe(l)||(a[l]=o.style[l]);n&&Object.entries(n).forEach(([l,s])=>o.style[l]=s),t&&t(a)}),$e(i,o=>{if(!r){n=o;return}for(const l in o)r.style[l]=o[l]},{immediate:!0}),{style:a}}function iht(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?Number.parseFloat(r):Number.isNaN(Number(r))?Number(r):r;return t.reduce((r,a)=>{if(!a)return r;const[i,o]=a.split("("),s=o.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),u=s.length===1?s[0]:s;return Et(Te({},r),{[i]:u})},{})}function oht(e,t){Object.entries(iht(t)).forEach(([n,r])=>{const a=["x","y","z"];if(n==="translate3d"){if(r===0){a.forEach(i=>e[i]=0);return}r.forEach((i,o)=>e[a[o]]=i);return}if(r=Number.parseFloat(`${r}`),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function lht(e,t){let n,r;const{state:a,transform:i}=Rhe();return GI(e,o=>{r=o,o.style.transform&&oht(a,o.style.transform),n&&(o.style.transform=n),t&&t(a)}),$e(i,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:a}}function sht(e){return Object.entries(e)}function uht(e,t){const n=dn({}),r=o=>Object.entries(o).forEach(([l,s])=>n[l]=s),{style:a}=aht(e,r),{transform:i}=lht(e,r);return $e(n,o=>{sht(o).forEach(([l,s])=>{const u=jI(l)?i:a;u[l]&&u[l]===s||(u[l]=s)})},{immediate:!0,deep:!0}),GI(e,()=>t),{motionProperties:n,style:a,transform:i}}function cht(e={}){const t=F(e),n=j();return{state:R(()=>{if(n.value)return t[n.value]}),variant:n}}function Phe(e,t={},n){const{motionProperties:r}=uht(e),{variant:a,state:i}=cht(t),o=Gpt(r,t),l=Te({target:e,variant:a,variants:t,state:i,motionProperties:r},o);return Xpt(l,n),l}const Ihe=["delay","duration"],dht=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...Ihe];function fht(e){return Ihe.includes(e)}function pht(e,t){var r;const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&I6(n.variants)&&(t.value=Te(Te({},t.value),n.variants));for(let a of dht)if(!(!n||!n[a])){if(fht(a)&&typeof n[a]=="number"){for(const i of["enter","visible","visibleOnce"]){const o=t.value[i];o!=null&&((r=o.transition)!=null||(o.transition={}),o.transition[a]=n[a])}continue}if(I6(n[a])){const i=n[a];a==="visible-once"&&(a="visibleOnce"),t.value[a]=i}}}}function wS(e,t=!1){return{created:(a,i,o)=>{const l=i.value&&typeof i.value=="string"?i.value:o.key;l&&CS[l]&&CS[l].stop();const s=t?structuredClone(dr(e)||{}):e||{},u=j(s);typeof i.value=="object"&&(u.value=i.value),pht(o,u);const d=Phe(a,u,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});a.motionInstance=d,l&&(CS[l]=d)},mounted:(a,i,o)=>{a.motionInstance&&Mhe(a.motionInstance)},getSSRProps(a,i){let{initial:o}=a.value||i&&(i==null?void 0:i.props)||{};o=F(o);const l=qpe({},(e==null?void 0:e.initial)||{},o||{});return!l||Object.keys(l).length===0?void 0:{style:uF(l)}}}}const hht={initial:{opacity:0},enter:{opacity:1}},mht={initial:{opacity:0},visible:{opacity:1}},vht={initial:{opacity:0},visibleOnce:{opacity:1}},ght={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},yht={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},bht={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Cht={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Fht={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Eht={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},wht={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Sht={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Aht={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Dht={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},Tht={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},kht={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},_ht={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},xht={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},Mht={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},Bht={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},Rht={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},Lht={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},Oht={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},Pht={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},Iht={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},Nht={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},$ht={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},Vht={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},Hht={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},zht={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Wht={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},V6={__proto__:null,fade:hht,fadeVisible:mht,fadeVisibleOnce:vht,pop:ght,popVisible:yht,popVisibleOnce:bht,rollBottom:_ht,rollLeft:Cht,rollRight:wht,rollTop:Dht,rollVisibleBottom:xht,rollVisibleLeft:Fht,rollVisibleOnceBottom:Mht,rollVisibleOnceLeft:Eht,rollVisibleOnceRight:Aht,rollVisibleOnceTop:kht,rollVisibleRight:Sht,rollVisibleTop:Tht,slideBottom:Hht,slideLeft:Bht,slideRight:Oht,slideTop:Nht,slideVisibleBottom:zht,slideVisibleLeft:Rht,slideVisibleOnceBottom:Wht,slideVisibleOnceLeft:Lht,slideVisibleOnceRight:Iht,slideVisibleOnceTop:Vht,slideVisibleRight:Pht,slideVisibleTop:$ht};function Ght(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,a=>`-${a}`).toLowerCase().replace(/\s+/g,"-").replace(r,a=>n.charAt(t.indexOf(a))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const Nhe=Symbol(""),$he={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function jht(e){return Object.prototype.toString.call(e)==="[object Object]"}function QB(e){if(Array.isArray(e))return e.map(QB);if(jht(e)){const t={};for(const n in e)t[n]=QB(e[n]);return t}return e}function Vhe(e){const t=dn({}),n=lt(Nhe,{}),r=R(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(dr(n)[e.preset]):e.preset in V6?structuredClone(V6[e.preset]):{}),a=R(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function i(s,u){var c;for(const d of["delay","duration"]){if(u[d]==null)continue;const f=Number.parseInt(u[d]);for(const p of["enter","visible","visibleOnce"]){const h=s[p];h!=null&&((c=h.transition)!=null||(h.transition={}),h.transition[d]=f)}}return s}const o=R(()=>{const s=qpe({},a.value,r.value,e.variants||{});return i(Te({},s),e)});function l(s,u,c){var f,p,h;(f=s.props)!=null||(s.props={}),(h=(p=s.props).style)!=null||(p.style={}),s.props.style=Te(Te({},s.props.style),c);const d=i(QB(o.value),s.props);return s.props.onVnodeMounted=({el:m})=>{t[u]=Phe(m,d)},s.props.onVnodeUpdated=({el:m})=>{const v=uF(t[u].state);for(const[g,b]of Object.entries(v))m.style[g]=b},s}return{motionConfig:o,setNodeInstance:l}}const Kht=Ve({name:"Motion",props:Et(Te({},$he),{is:{type:[String,Object],default:"div"}}),setup(e){const t=pa(),{motionConfig:n,setNodeInstance:r}=Vhe(e);return()=>{const a=uF(n.value.initial||{}),i=W(e.is,void 0,t);return r(i,0,a),i}}}),Uht=Ve({name:"MotionGroup",props:Et(Te({},$he),{is:{type:[String,Object],required:!1}}),setup(e){const t=pa(),{motionConfig:n,setNodeInstance:r}=Vhe(e);return()=>{var o;const a=uF(n.value.initial||{}),i=((o=t.default)==null?void 0:o.call(t))||[];for(let l=0;l-1?(tr.node=!0,tr.svgSupported=!0):Xht(navigator.userAgent,tr);function Xht(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),a=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),i=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),a&&(n.ie=!0,n.version=a[1]),i&&(n.edge=!0,n.version=i[1],n.newEdge=+i[1].split(".")[0]>18),o&&(n.weChat=!0),t.svgSupported=typeof SVGRect!="undefined",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11);var l=t.domSupported=typeof document!="undefined";if(l){var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}}var KI=12,Hhe="sans-serif",kd=KI+"px "+Hhe,Zht=20,Qht=100,emt="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function tmt(e){var t={};if(typeof JSON=="undefined")return t;for(var n=0;n=0)l=o*n.length;else for(var s=0;s>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",a[u]+":0",r[1-s]+":auto",a[1-u]+":auto",""].join("!important;"),e.appendChild(o),n.push(o)}return t.clearMarkers=function(){_e(n,function(c){c.parentNode&&c.parentNode.removeChild(c)})},n}function xmt(e,t,n){for(var r=n?"invTrans":"trans",a=t[r],i=t.srcCoords,o=[],l=[],s=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),d=2*u,f=c.left,p=c.top;o.push(f,p),s=s&&i&&f===i[d]&&p===i[d+1],l.push(e[u].offsetLeft,e[u].offsetTop)}return s&&a?a:(t.srcCoords=o,t[r]=n?DU(l,o):DU(o,l))}function tme(e){return e.nodeName.toUpperCase()==="CANVAS"}var Mmt=/([&<>"'])/g,Bmt={"&":"&","<":"<",">":">",'"':""","'":"'"};function oo(e){return e==null?"":(e+"").replace(Mmt,function(t,n){return Bmt[n]})}var Rmt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,AS=[],Lmt=tr.browser.firefox&&+tr.browser.version.split(".")[0]<39;function iR(e,t,n,r){return n=n||{},r?TU(e,t,n):Lmt&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX!=null?(n.zrX=t.offsetX,n.zrY=t.offsetY):TU(e,t,n),n}function TU(e,t,n){if(tr.domSupported&&e.getBoundingClientRect){var r=t.clientX,a=t.clientY;if(tme(e)){var i=e.getBoundingClientRect();n.zrX=r-i.left,n.zrY=a-i.top;return}else if(aR(AS,e,r,a)){n.zrX=AS[0],n.zrY=AS[1];return}}n.zrX=n.zrY=0}function eN(e){return e||window.event}function ql(e,t,n){if(t=eN(t),t.zrX!=null)return t;var r=t.type,a=r&&r.indexOf("touch")>=0;if(a){var o=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&iR(e,o,t,n)}else{iR(e,t,t,n);var i=Omt(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var l=t.button;return t.which==null&&l!==void 0&&Rmt.test(t.type)&&(t.which=l&1?1:l&2?3:l&4?2:0),t}function Omt(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var a=Math.abs(r!==0?r:n),i=r>0?-1:r<0?1:n>0?-1:1;return 3*a*i}function oR(e,t,n,r){e.addEventListener(t,n,r)}function Pmt(e,t,n,r){e.removeEventListener(t,n,r)}var _d=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function kU(e){return e.which===2||e.which===3}var Imt=(function(){function e(){this._track=[]}return e.prototype.recognize=function(t,n,r){return this._doTrack(t,n,r),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,n,r){var a=t.touches;if(a){for(var i={points:[],touches:[],target:n,event:t},o=0,l=a.length;o1&&r&&r.length>1){var i=_U(r)/_U(a);!isFinite(i)&&(i=1),t.pinchScale=i;var o=Nmt(r);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function ss(){return[1,0,0,1,0,0]}function p4(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function hF(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 sm(e,t,n){var r=t[0]*n[0]+t[2]*n[1],a=t[1]*n[0]+t[3]*n[1],i=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],l=t[0]*n[4]+t[2]*n[5]+t[4],s=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=l,e[5]=s,e}function O2(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function h4(e,t,n,r){r===void 0&&(r=[0,0]);var a=t[0],i=t[2],o=t[4],l=t[1],s=t[3],u=t[5],c=Math.sin(n),d=Math.cos(n);return e[0]=a*d+l*c,e[1]=-a*c+l*d,e[2]=i*d+s*c,e[3]=-i*c+d*s,e[4]=d*(o-r[0])+c*(u-r[1])+r[0],e[5]=d*(u-r[1])-c*(o-r[0])+r[1],e}function nme(e,t,n){var r=n[0],a=n[1];return e[0]=t[0]*r,e[1]=t[1]*a,e[2]=t[2]*r,e[3]=t[3]*a,e[4]=t[4]*r,e[5]=t[5]*a,e}function ev(e,t){var n=t[0],r=t[2],a=t[4],i=t[1],o=t[3],l=t[5],s=n*o-i*r;return s?(s=1/s,e[0]=o*s,e[1]=-i*s,e[2]=-r*s,e[3]=n*s,e[4]=(r*l-o*a)*s,e[5]=(i*a-n*l)*s,e):null}function $mt(e){var t=ss();return hF(t,e),t}const Vmt=Object.freeze(Object.defineProperty({__proto__:null,clone:$mt,copy:hF,create:ss,identity:p4,invert:ev,mul:sm,rotate:h4,scale:nme,translate:O2},Symbol.toStringTag,{value:"Module"}));var ar=(function(){function e(t,n){this.x=t||0,this.y=n||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,n){return this.x=t,this.y=n,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,n){this.x+=t.x*n,this.y+=t.y*n},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 n=this.x-t.x,r=this.y-t.y;return Math.sqrt(n*n+r*r)},e.prototype.distanceSquare=function(t){var n=this.x-t.x,r=this.y-t.y;return n*n+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var n=this.x,r=this.y;return this.x=t[0]*n+t[2]*r+t[4],this.y=t[1]*n+t[3]*r+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,n,r){t.x=n,t.y=r},e.copy=function(t,n){t.x=n.x,t.y=n.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,n){return t.x*n.x+t.y*n.y},e.add=function(t,n,r){t.x=n.x+r.x,t.y=n.y+r.y},e.sub=function(t,n,r){t.x=n.x-r.x,t.y=n.y-r.y},e.scale=function(t,n,r){t.x=n.x*r,t.y=n.y*r},e.scaleAndAdd=function(t,n,r,a){t.x=n.x+r.x*a,t.y=n.y+r.y*a},e.lerp=function(t,n,r,a){var i=1-a;t.x=i*n.x+a*r.x,t.y=i*n.y+a*r.y},e})(),Wh=Math.min,h1=Math.max,lR=Math.abs,xU=["x","y"],Hmt=["width","height"],qp=new ar,Yp=new ar,Jp=new ar,Xp=new ar,Al=rme(),Iy=Al.minTv,sR=Al.maxTv,hb=[0,0],nr=(function(){function e(t,n,r,a){e.set(this,t,n,r,a)}return e.set=function(t,n,r,a,i){return a<0&&(n=n+a,a=-a),i<0&&(r=r+i,i=-i),t.x=n,t.y=r,t.width=a,t.height=i,t},e.prototype.union=function(t){var n=Wh(t.x,this.x),r=Wh(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=h1(t.x+t.width,this.x+this.width)-n:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=h1(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=n,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var n=this,r=t.width/n.width,a=t.height/n.height,i=ss();return O2(i,i,[-n.x,-n.y]),nme(i,i,[r,a]),O2(i,i,[t.x,t.y]),i},e.prototype.intersect=function(t,n,r){return e.intersect(this,t,n,r)},e.intersect=function(t,n,r,a){r&&ar.set(r,0,0);var i=a&&a.outIntersectRect||null,o=a&&a.clamp;if(i&&(i.x=i.y=i.width=i.height=NaN),!t||!n)return!1;t instanceof e||(t=e.set(zmt,t.x,t.y,t.width,t.height)),n instanceof e||(n=e.set(Wmt,n.x,n.y,n.width,n.height));var l=!!r;Al.reset(a,l);var s=Al.touchThreshold,u=t.x+s,c=t.x+t.width-s,d=t.y+s,f=t.y+t.height-s,p=n.x+s,h=n.x+n.width-s,m=n.y+s,v=n.y+n.height-s;if(u>c||d>f||p>h||m>v)return!1;var g=!(c=t.x&&n<=t.x+t.width&&r>=t.y&&r<=t.y+t.height},e.prototype.contain=function(t,n){return e.contain(this,t,n)},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(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.x,t.y,t.width,t.height)},e.copy=function(t,n){return t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height,t},e.applyTransform=function(t,n,r){if(!r){t!==n&&e.copy(t,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var a=r[0],i=r[3],o=r[4],l=r[5];t.x=n.x*a+o,t.y=n.y*i+l,t.width=n.width*a,t.height=n.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}qp.x=Jp.x=n.x,qp.y=Xp.y=n.y,Yp.x=Xp.x=n.x+n.width,Yp.y=Jp.y=n.y+n.height,qp.transform(r),Xp.transform(r),Yp.transform(r),Jp.transform(r),t.x=Wh(qp.x,Yp.x,Jp.x,Xp.x),t.y=Wh(qp.y,Yp.y,Jp.y,Xp.y);var s=h1(qp.x,Yp.x,Jp.x,Xp.x),u=h1(qp.y,Yp.y,Jp.y,Xp.y);t.width=s-t.x,t.height=u-t.y},e})(),zmt=new nr(0,0,0,0),Wmt=new nr(0,0,0,0);function MU(e,t,n,r,a,i,o,l){var s=lR(t-n),u=lR(r-e),c=Wh(s,u),d=xU[a],f=xU[1-a],p=Hmt[a];t=u||!Al.bidirectional)&&(Iy[d]=-u,Iy[f]=0,Al.useDir&&Al.calcDirMTV())))}function rme(){var e=0,t=new ar,n=new ar,r={minTv:new ar,maxTv:new ar,useDir:!1,dirMinTv:new ar,touchThreshold:0,bidirectional:!0,negativeSize:!1,reset:function(i,o){r.touchThreshold=0,i&&i.touchThreshold!=null&&(r.touchThreshold=h1(0,i.touchThreshold)),r.negativeSize=!1,o&&(r.minTv.set(1/0,1/0),r.maxTv.set(0,0),r.useDir=!1,i&&i.direction!=null&&(r.useDir=!0,r.dirMinTv.copy(r.minTv),n.copy(r.minTv),e=i.direction,r.bidirectional=i.bidirectional==null||!!i.bidirectional,r.bidirectional||t.set(Math.cos(e),Math.sin(e))))},calcDirMTV:function(){var i=r.minTv,o=r.dirMinTv,l=i.y*i.y+i.x*i.x,s=Math.sin(e),u=Math.cos(e),c=s*i.y+u*i.x;if(a(c)){a(i.x)&&a(i.y)&&o.set(0,0);return}if(n.x=l*u/c,n.y=l*s/c,a(n.x)&&a(n.y)){o.set(0,0);return}(r.bidirectional||t.dot(n)>0)&&n.len()=0;d--){var f=i[d];f!==a&&!f.ignore&&!f.ignoreCoarsePointer&&(!f.parent||!f.parent.ignoreCoarsePointer)&&(TS.copy(f.getBoundingRect()),f.transform&&TS.applyTransform(f.transform),TS.intersect(c)&&l.push(f))}if(l.length)for(var p=4,h=Math.PI/12,m=Math.PI*2,v=0;v4)return;this._downPoint=null}this.dispatchToElement(i,e,t)}});function qmt(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,a=void 0,i=!1;r;){if(r.ignoreClip&&(i=!0),!i){var o=r.getClipPath();if(o&&!o.contain(t,n))return!1}r.silent&&(a=!0);var l=r.__hostTarget;r=l?r.ignoreHostSilent?null:l:r.parent}return a?ame:!0}return!1}function BU(e,t,n,r,a){for(var i=e.length-1;i>=0;i--){var o=e[i],l=void 0;if(o!==a&&!o.ignore&&(l=qmt(o,n,r))&&(!t.topTarget&&(t.topTarget=o),l!==ame)){t.target=o;break}}}function ome(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var lme=32,Zg=7;function Ymt(e){for(var t=0;e>=lme;)t|=e&1,e>>=1;return e+t}function RU(e,t,n,r){var a=t+1;if(a===n)return 1;if(r(e[a++],e[t])<0){for(;a=0;)a++;return a-t}function Jmt(e,t,n){for(n--;t>>1,a(i,e[s])<0?l=s:o=s+1;var u=r-o;switch(u){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(;u>0;)e[o+u]=e[o+u-1],u--}e[o]=i}}function kS(e,t,n,r,a,i){var o=0,l=0,s=1;if(i(e,t[n+a])>0){for(l=r-a;s0;)o=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l),o+=a,s+=a}else{for(l=a+1;sl&&(s=l);var u=o;o=a-s,s=a-u}for(o++;o>>1);i(e,t[n+c])>0?o=c+1:s=c}return s}function _S(e,t,n,r,a,i){var o=0,l=0,s=1;if(i(e,t[n+a])<0){for(l=a+1;sl&&(s=l);var u=o;o=a-s,s=a-u}else{for(l=r-a;s=0;)o=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l),o+=a,s+=a}for(o++;o>>1);i(e,t[n+c])<0?s=c:o=c+1}return s}function Xmt(e,t){var n=Zg,r,a,i=0,o=[];r=[],a=[];function l(p,h){r[i]=p,a[i]=h,i+=1}function s(){for(;i>1;){var p=i-2;if(p>=1&&a[p-1]<=a[p]+a[p+1]||p>=2&&a[p-2]<=a[p]+a[p-1])a[p-1]a[p+1])break;c(p)}}function u(){for(;i>1;){var p=i-2;p>0&&a[p-1]=Zg||S>=Zg);if(A)break;E<0&&(E=0),E+=2}if(n=E,n<1&&(n=1),h===1){for(g=0;g=0;g--)e[w+g]=e[E+g];e[y]=o[C];return}for(var S=n;;){var A=0,D=0,k=!1;do if(t(o[C],e[b])<0){if(e[y--]=e[b--],A++,D=0,--h===0){k=!0;break}}else if(e[y--]=o[C--],D++,A=0,--v===1){k=!0;break}while((A|D)=0;g--)e[w+g]=e[E+g];if(h===0){k=!0;break}}if(e[y--]=o[C--],--v===1){k=!0;break}if(D=v-kS(e[b],o,0,v,v-1,t),D!==0){for(y-=D,C-=D,v-=D,w=y+1,E=C+1,g=0;g=Zg||D>=Zg);if(k)break;S<0&&(S=0),S+=2}if(n=S,n<1&&(n=1),v===1){for(y-=h,b-=h,w=y+1,E=b+1,g=h-1;g>=0;g--)e[w+g]=e[E+g];e[y]=o[C]}else{if(v===0)throw new Error;for(E=y-(v-1),g=0;gl&&(s=l),LU(e,n,n+s,n+i,t),i=s}o.pushRun(n,i),o.mergeRuns(),a-=i,n+=i}while(a!==0);o.forceMergeRuns()}}var kl=1,Ny=2,o1=4,OU=!1;function xS(){OU||(OU=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function PU(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Zmt=(function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=PU}return e.prototype.traverse=function(t,n){for(var r=0;r=0&&this._roots.splice(a,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})(),K6;K6=tr.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var mb={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,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.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-mb.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?mb.bounceIn(e*2)*.5:mb.bounceOut(e*2-1)*.5+.5}},S8=Math.pow,jf=Math.sqrt,U6=1e-8,sme=1e-4,IU=jf(3),A8=1/3,Vu=Qm(),Ql=Qm(),H1=Qm();function Rf(e){return e>-U6&&eU6||e<-U6}function Hi(e,t,n,r,a){var i=1-a;return i*i*(i*e+3*a*t)+a*a*(a*r+3*i*n)}function NU(e,t,n,r,a){var i=1-a;return 3*(((t-e)*i+2*(n-t)*a)*i+(r-n)*a*a)}function q6(e,t,n,r,a,i){var o=r+3*(t-n)-e,l=3*(n-t*2+e),s=3*(t-e),u=e-a,c=l*l-3*o*s,d=l*s-9*o*u,f=s*s-3*l*u,p=0;if(Rf(c)&&Rf(d))if(Rf(l))i[0]=0;else{var h=-s/l;h>=0&&h<=1&&(i[p++]=h)}else{var m=d*d-4*c*f;if(Rf(m)){var v=d/c,h=-l/o+v,g=-v/2;h>=0&&h<=1&&(i[p++]=h),g>=0&&g<=1&&(i[p++]=g)}else if(m>0){var b=jf(m),C=c*l+1.5*o*(-d+b),y=c*l+1.5*o*(-d-b);C<0?C=-S8(-C,A8):C=S8(C,A8),y<0?y=-S8(-y,A8):y=S8(y,A8);var h=(-l-(C+y))/(3*o);h>=0&&h<=1&&(i[p++]=h)}else{var E=(2*c*l-3*o*d)/(2*jf(c*c*c)),w=Math.acos(E)/3,S=jf(c),A=Math.cos(w),h=(-l-2*S*A)/(3*o),g=(-l+S*(A+IU*Math.sin(w)))/(3*o),D=(-l+S*(A-IU*Math.sin(w)))/(3*o);h>=0&&h<=1&&(i[p++]=h),g>=0&&g<=1&&(i[p++]=g),D>=0&&D<=1&&(i[p++]=D)}}return p}function cme(e,t,n,r,a){var i=6*n-12*t+6*e,o=9*t+3*r-3*e-9*n,l=3*t-3*e,s=0;if(Rf(o)){if(ume(i)){var u=-l/i;u>=0&&u<=1&&(a[s++]=u)}}else{var c=i*i-4*o*l;if(Rf(c))a[0]=-i/(2*o);else if(c>0){var d=jf(c),u=(-i+d)/(2*o),f=(-i-d)/(2*o);u>=0&&u<=1&&(a[s++]=u),f>=0&&f<=1&&(a[s++]=f)}}return s}function Y6(e,t,n,r,a,i){var o=(t-e)*a+e,l=(n-t)*a+t,s=(r-n)*a+n,u=(l-o)*a+o,c=(s-l)*a+l,d=(c-u)*a+u;i[0]=e,i[1]=o,i[2]=u,i[3]=d,i[4]=d,i[5]=c,i[6]=s,i[7]=r}function Qmt(e,t,n,r,a,i,o,l,s,u,c){var d,f=.005,p=1/0,h,m,v,g;Vu[0]=s,Vu[1]=u;for(var b=0;b<1;b+=.05)Ql[0]=Hi(e,n,a,o,b),Ql[1]=Hi(t,r,i,l,b),v=lm(Vu,Ql),v=0&&v=0&&u<=1&&(a[s++]=u)}}else{var c=o*o-4*i*l;if(Rf(c)){var u=-o/(2*i);u>=0&&u<=1&&(a[s++]=u)}else if(c>0){var d=jf(c),u=(-o+d)/(2*i),f=(-o-d)/(2*i);u>=0&&u<=1&&(a[s++]=u),f>=0&&f<=1&&(a[s++]=f)}}return s}function dme(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function J6(e,t,n,r,a){var i=(t-e)*r+e,o=(n-t)*r+t,l=(o-i)*r+i;a[0]=e,a[1]=i,a[2]=l,a[3]=l,a[4]=o,a[5]=n}function nvt(e,t,n,r,a,i,o,l,s){var u,c=.005,d=1/0;Vu[0]=o,Vu[1]=l;for(var f=0;f<1;f+=.05){Ql[0]=el(e,n,a,f),Ql[1]=el(t,r,i,f);var p=lm(Vu,Ql);p=0&&p=1?1:q6(0,r,i,1,s,l)&&Hi(0,a,o,1,l[0])}}}var ivt=(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||Bi,this.ondestroy=t.ondestroy||Bi,this.onrestart=t.onrestart||Bi,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,n){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,a=t-this._startTime-this._pausedTime,i=a/r;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,l=o?o(i):i;if(this.onframe(l),i===1)if(this.loop){var s=a%r;this._startTime=t-s,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=Pn(t)?t:mb[t]||tN(t)},e})(),fme=(function(){function e(t){this.value=t}return e})(),ovt=(function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new fme(t);return this.insertEntry(n),n},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 n=t.prev,r=t.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,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})(),w0=(function(){function e(t){this._list=new ovt,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,n){var r=this._list,a=this._map,i=null;if(a[t]==null){var o=r.len(),l=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=r.head;r.remove(s),delete a[s.key],i=s.value,this._lastRemovedEntry=s}l?l.value=n:l=new fme(n),l.key=t,r.insertEntry(l),a[t]=l}return i},e.prototype.get=function(t){var n=this._map[t],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e})(),VU={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 Ys(e){return e=Math.round(e),e<0?0:e>255?255:e}function lvt(e){return e=Math.round(e),e<0?0:e>360?360:e}function P2(e){return e<0?0:e>1?1:e}function m7(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Ys(parseFloat(t)/100*255):Ys(parseInt(t,10))}function Kf(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?P2(parseFloat(t)/100):P2(parseFloat(t))}function MS(e,t,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function Lf(e,t,n){return e+(t-e)*n}function Ul(e,t,n,r,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e}function uR(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var pme=new w0(20),D8=null;function _v(e,t){D8&&uR(D8,t),D8=pme.put(e,D8||t.slice())}function Po(e,t){if(e){t=t||[];var n=pme.get(e);if(n)return uR(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in VU)return uR(t,VU[r]),_v(e,t),t;var a=r.length;if(r.charAt(0)==="#"){if(a===4||a===5){var i=parseInt(r.slice(1,4),16);if(!(i>=0&&i<=4095)){Ul(t,0,0,0,1);return}return Ul(t,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,a===5?parseInt(r.slice(4),16)/15:1),_v(e,t),t}else if(a===7||a===9){var i=parseInt(r.slice(1,7),16);if(!(i>=0&&i<=16777215)){Ul(t,0,0,0,1);return}return Ul(t,(i&16711680)>>16,(i&65280)>>8,i&255,a===9?parseInt(r.slice(7),16)/255:1),_v(e,t),t}return}var o=r.indexOf("("),l=r.indexOf(")");if(o!==-1&&l+1===a){var s=r.substr(0,o),u=r.substr(o+1,l-(o+1)).split(","),c=1;switch(s){case"rgba":if(u.length!==4)return u.length===3?Ul(t,+u[0],+u[1],+u[2],1):Ul(t,0,0,0,1);c=Kf(u.pop());case"rgb":if(u.length>=3)return Ul(t,m7(u[0]),m7(u[1]),m7(u[2]),u.length===3?c:Kf(u[3])),_v(e,t),t;Ul(t,0,0,0,1);return;case"hsla":if(u.length!==4){Ul(t,0,0,0,1);return}return u[3]=Kf(u[3]),cR(u,t),_v(e,t),t;case"hsl":if(u.length!==3){Ul(t,0,0,0,1);return}return cR(u,t),_v(e,t),t;default:return}}Ul(t,0,0,0,1)}}function cR(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=Kf(e[1]),a=Kf(e[2]),i=a<=.5?a*(r+1):a+r-a*r,o=a*2-i;return t=t||[],Ul(t,Ys(MS(o,i,n+1/3)*255),Ys(MS(o,i,n)*255),Ys(MS(o,i,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function svt(e){if(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.min(t,n,r),i=Math.max(t,n,r),o=i-a,l=(i+a)/2,s,u;if(o===0)s=0,u=0;else{l<.5?u=o/(i+a):u=o/(2-i-a);var c=((i-t)/6+o/2)/o,d=((i-n)/6+o/2)/o,f=((i-r)/6+o/2)/o;t===i?s=f-d:n===i?s=1/3+c-f:r===i&&(s=2/3+d-c),s<0&&(s+=1),s>1&&(s-=1)}var p=[s*360,u,l];return e[3]!=null&&p.push(e[3]),p}}function dR(e,t){var n=Po(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return Js(n,n.length===4?"rgba":"rgb")}}function uvt(e){var t=Po(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function vb(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){n=n||[];var r=e*(t.length-1),a=Math.floor(r),i=Math.ceil(r),o=t[a],l=t[i],s=r-a;return n[0]=Ys(Lf(o[0],l[0],s)),n[1]=Ys(Lf(o[1],l[1],s)),n[2]=Ys(Lf(o[2],l[2],s)),n[3]=P2(Lf(o[3],l[3],s)),n}}var cvt=vb;function nN(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),a=Math.floor(r),i=Math.ceil(r),o=Po(t[a]),l=Po(t[i]),s=r-a,u=Js([Ys(Lf(o[0],l[0],s)),Ys(Lf(o[1],l[1],s)),Ys(Lf(o[2],l[2],s)),P2(Lf(o[3],l[3],s))],"rgba");return n?{color:u,leftIndex:a,rightIndex:i,value:r}:u}}var dvt=nN;function um(e,t,n,r){var a=Po(e);if(e)return a=svt(a),t!=null&&(a[0]=lvt(Pn(t)?t(a[0]):t)),n!=null&&(a[1]=Kf(Pn(n)?n(a[1]):n)),r!=null&&(a[2]=Kf(Pn(r)?r(a[2]):r)),Js(cR(a),"rgba")}function hme(e,t){var n=Po(e);if(n&&t!=null)return n[3]=P2(t),Js(n,"rgba")}function Js(e,t){if(!(!e||!e.length)){var n=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(n+=","+e[3]),t+"("+n+")"}}function I2(e,t){var n=Po(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}function fvt(){return Js([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}var HU=new w0(100);function X6(e){if(gn(e)){var t=HU.get(e);return t||(t=dR(e,-.1),HU.put(e,t)),t}else if(d4(e)){var n=Gt({},e);return n.colorStops=cn(e.colorStops,function(r){return{offset:r.offset,color:dR(r.color,-.1)}}),n}return e}const pvt=Object.freeze(Object.defineProperty({__proto__:null,fastLerp:vb,fastMapToColor:cvt,lerp:nN,lift:dR,liftColor:X6,lum:I2,mapToColor:dvt,modifyAlpha:hme,modifyHSL:um,parse:Po,parseCssFloat:Kf,parseCssInt:m7,random:fvt,stringify:Js,toHex:uvt},Symbol.toStringTag,{value:"Module"}));var Z6=Math.round;function N2(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var n=Po(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}return{color:e,opacity:t==null?1:t}}var zU=1e-4;function Of(e){return e-zU}function T8(e){return Z6(e*1e3)/1e3}function fR(e){return Z6(e*1e4)/1e4}function hvt(e){return"matrix("+T8(e[0])+","+T8(e[1])+","+T8(e[2])+","+T8(e[3])+","+fR(e[4])+","+fR(e[5])+")"}var mvt={left:"start",right:"end",center:"middle",middle:"middle"};function vvt(e,t,n){return n==="top"?e+=t/2:n==="bottom"&&(e-=t/2),e}function gvt(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function yvt(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function mme(e){return e&&!!e.image}function bvt(e){return e&&!!e.svgElement}function rN(e){return mme(e)||bvt(e)}function vme(e){return e.type==="linear"}function gme(e){return e.type==="radial"}function yme(e){return e&&(e.type==="linear"||e.type==="radial")}function mF(e){return"url(#"+e+")"}function bme(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Cme(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*pb,a=_n(e.scaleX,1),i=_n(e.scaleY,1),o=e.skewX||0,l=e.skewY||0,s=[];return(t||n)&&s.push("translate("+t+"px,"+n+"px)"),r&&s.push("rotate("+r+")"),(a!==1||i!==1)&&s.push("scale("+a+","+i+")"),(o||l)&&s.push("skew("+Z6(o*pb)+"deg, "+Z6(l*pb)+"deg)"),s.join(" ")}var Cvt=(function(){return tr.hasGlobalWindow&&Pn(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer!="undefined"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}})(),pR=Array.prototype.slice;function qc(e,t,n){return(t-e)*n+e}function BS(e,t,n,r){for(var a=t.length,i=0;ir?t:e,i=Math.min(n,r),o=a[i-1]||{color:[0,0,0,0],offset:0},l=i;lo;if(l)r.length=o;else for(var s=i;s=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,n,r){this._needsSort=!0;var a=this.keyframes,i=a.length,o=!1,l=GU,s=n;if(vo(n)){var u=Svt(n);l=u,(u===1&&!Xr(n[0])||u===2&&!Xr(n[0][0]))&&(o=!0)}else if(Xr(n)&&!F0(n))l=_8;else if(gn(n))if(!isNaN(+n))l=_8;else{var c=Po(n);c&&(s=c,l=$y)}else if(d4(n)){var d=Gt({},s);d.colorStops=cn(n.colorStops,function(p){return{offset:p.offset,color:Po(p.color)}}),vme(n)?l=hR:gme(n)&&(l=mR),s=d}i===0?this.valType=l:(l!==this.valType||l===GU)&&(o=!0),this.discrete=this.discrete||o;var f={time:t,value:s,rawValue:n,percent:0};return r&&(f.easing=r,f.easingFunc=Pn(r)?r:mb[r]||tN(r)),a.push(f),f},e.prototype.prepare=function(t,n){var r=this.keyframes;this._needsSort&&r.sort(function(m,v){return m.time-v.time});for(var a=this.valType,i=r.length,o=r[i-1],l=this.discrete,s=x8(a),u=jU(a),c=0;c=0&&!(o[c].percent<=n);c--);c=f(c,l-2)}else{for(c=d;cn);c++);c=f(c-1,l-2)}h=o[c+1],p=o[c]}if(p&&h){this._lastFr=c,this._lastFrP=n;var v=h.percent-p.percent,g=v===0?1:f((n-p.percent)/v,1);h.easingFunc&&(g=h.easingFunc(g));var b=r?this._additiveValue:u?Qg:t[s];if((x8(i)||u)&&!b&&(b=this._additiveValue=[]),this.discrete)t[s]=g<1?p.rawValue:h.rawValue;else if(x8(i))i===g7?BS(b,p[a],h[a],g):Fvt(b,p[a],h[a],g);else if(jU(i)){var C=p[a],y=h[a],E=i===hR;t[s]={type:E?"linear":"radial",x:qc(C.x,y.x,g),y:qc(C.y,y.y,g),colorStops:cn(C.colorStops,function(S,A){var D=y.colorStops[A];return{offset:qc(S.offset,D.offset,g),color:v7(BS([],S.color,D.color,g))}}),global:y.global},E?(t[s].x2=qc(C.x2,y.x2,g),t[s].y2=qc(C.y2,y.y2,g)):t[s].r=qc(C.r,y.r,g)}else if(u)BS(b,p[a],h[a],g),r||(t[s]=v7(b));else{var w=qc(p[a],h[a],g);r?this._additiveValue=w:t[s]=w}r&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var n=this.valType,r=this.propName,a=this._additiveValue;n===_8?t[r]=t[r]+a:n===$y?(Po(t[r],Qg),k8(Qg,Qg,a,1),t[r]=v7(Qg)):n===g7?k8(t[r],t[r],a,1):n===Fme&&WU(t[r],t[r],a,1)},e})(),aN=(function(){function e(t,n,r,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=n,n&&a){dF("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=r}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,n,r){return this.whenWithKeys(t,n,Fr(n),r)},e.prototype.whenWithKeys=function(t,n,r,a){for(var i=this._tracks,o=0;o0&&s.addKeyframe(0,gb(u),a),this._trackKeys.push(l)}s.addKeyframe(t,gb(n[l]),a)}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 n=t.length,r=0;r0)){this._started=1;for(var n=this,r=[],a=this._maxTime||0,i=0;i1){var l=o.pop();i.addKeyframe(l.time,t[a]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e})();function m1(){return new Date().getTime()}var Dvt=(function(e){Nt(t,e);function t(n){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return t.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},t.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(n){if(n.animation){var r=n.prev,a=n.next;r?r.next=a:this._head=a,a?a.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},t.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},t.prototype.update=function(n){for(var r=m1()-this._pausedTime,a=r-this._time,i=this._head;i;){var o=i.next,l=i.step(r,a);l&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=r,n||(this.trigger("frame",a),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(K6(r),!n._paused&&n.update())}K6(r)},t.prototype.start=function(){this._running||(this._time=m1(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=m1(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=m1()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(n,r){r=r||{},this.start();var a=new aN(n,r.loop);return this.addAnimator(a),a},t})(ws),Tvt=300,RS=tr.domSupported,LS=(function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=cn(e,function(a){var i=a.replace("mouse","pointer");return n.hasOwnProperty(i)?i:a});return{mouse:e,touch:t,pointer:r}})(),KU={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},UU=!1;function vR(e){var t=e.pointerType;return t==="pen"||t==="touch"}function kvt(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 OS(e){e&&(e.zrByTouch=!0)}function _vt(e,t){return ql(e.dom,new xvt(e,t),!0)}function Eme(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var xvt=(function(){function e(t,n){this.stopPropagation=Bi,this.stopImmediatePropagation=Bi,this.preventDefault=Bi,this.type=n.type,this.target=this.currentTarget=t.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return e})(),Rs={mousedown:function(e){e=ql(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=ql(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=ql(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=ql(this.dom,e);var t=e.toElement||e.relatedTarget;Eme(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){UU=!0,e=ql(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){UU||(e=ql(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=ql(this.dom,e),OS(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Rs.mousemove.call(this,e),Rs.mousedown.call(this,e)},touchmove:function(e){e=ql(this.dom,e),OS(e),this.handler.processGesture(e,"change"),Rs.mousemove.call(this,e)},touchend:function(e){e=ql(this.dom,e),OS(e),this.handler.processGesture(e,"end"),Rs.mouseup.call(this,e),+new Date-+this.__lastTouchMomentJU||e<-JU}var Qp=[],xv=[],IS=ss(),NS=Math.abs,iN=(function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(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 Zp(this.rotation)||Zp(this.x)||Zp(this.y)||Zp(this.scaleX-1)||Zp(this.scaleY-1)||Zp(this.skewX)||Zp(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&(YU(r),this.invTransform=null);return}r=r||ss(),n?this.getLocalTransform(r):YU(r),t&&(n?sm(r,t,r):hF(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(Qp);var r=Qp[0]<0?-1:1,a=Qp[1]<0?-1:1,i=((Qp[0]-r)*n+r)/Qp[0]||0,o=((Qp[1]-a)*n+a)/Qp[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||ss(),ev(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],a=Math.atan2(t[1],t[0]),i=Math.PI/2+a-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(i),n=Math.sqrt(n),this.skewX=i,this.skewY=0,this.rotation=-a,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||ss(),sm(xv,t.invTransform,n),n=xv);var r=this.originX,a=this.originY;(r||a)&&(IS[4]=r,IS[5]=a,sm(xv,n,IS),xv[4]-=r,xv[5]-=a,n=xv),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],a=this.invTransform;return a&&Oo(r,r,a),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],a=this.transform;return a&&Oo(r,r,a),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&NS(t[0]-1)>1e-10&&NS(t[3]-1)>1e-10?Math.sqrt(NS(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){eC(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,a=t.originY||0,i=t.scaleX,o=t.scaleY,l=t.anchorX,s=t.anchorY,u=t.rotation||0,c=t.x,d=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(r||a||l||s){var h=r+l,m=a+s;n[4]=-h*i-f*m*o,n[5]=-m*o-p*h*i}else n[4]=n[5]=0;return n[0]=i,n[3]=o,n[1]=p*i,n[2]=f*o,u&&h4(n,n,u),n[4]+=r+c,n[5]+=a+d,n},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})(),gc=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function eC(e,t){for(var n=0;n=XU)){e=e||kd;for(var t=[],n=+new Date,r=0;r<=127;r++)t[r]=ys.measureText(String.fromCharCode(r),e).width;var a=+new Date-n;return a>16?$S=XU:a>2&&$S++,t}}var $S=0,XU=5;function Sme(e,t){return e.asciiWidthMapTried||(e.asciiWidthMap=Ovt(e.font),e.asciiWidthMapTried=!0),0<=t&&t<=127?e.asciiWidthMap!=null?e.asciiWidthMap[t]:e.asciiCharWidth:e.stWideCharWidth}function rc(e,t){var n=e.strWidthCache,r=n.get(t);return r==null&&(r=ys.measureText(t,e.font).width,n.put(t,r)),r}function ZU(e,t,n,r){var a=rc(nc(t),e),i=m4(t),o=S0(0,a,n),l=cm(0,i,r),s=new nr(o,l,a,i);return s}function vF(e,t,n,r){var a=((e||"")+"").split(` `),i=a.length;if(i===1)return ZU(a[0],t,n,r);for(var o=new nr(0,0,0,0),l=0;l=0?parseFloat(e)/100*t:parseFloat(e):e}function tC(e,t,n){var r=t.position||"inside",a=t.distance!=null?t.distance:5,i=n.height,o=n.width,l=i/2,s=n.x,u=n.y,c="left",d="top";if(r instanceof Array)s+=yc(r[0],n.width),u+=yc(r[1],n.height),c=null,d=null;else switch(r){case"left":s-=a,u+=l,c="right",d="middle";break;case"right":s+=a+o,u+=l,d="middle";break;case"top":s+=o/2,u-=a,c="center",d="bottom";break;case"bottom":s+=o/2,u+=i+a,c="center";break;case"inside":s+=o/2,u+=l,c="center",d="middle";break;case"insideLeft":s+=a,u+=l,d="middle";break;case"insideRight":s+=o-a,u+=l,c="right",d="middle";break;case"insideTop":s+=o/2,u+=a,c="center";break;case"insideBottom":s+=o/2,u+=i-a,c="center",d="bottom";break;case"insideTopLeft":s+=a,u+=a;break;case"insideTopRight":s+=o-a,u+=a,c="right";break;case"insideBottomLeft":s+=a,u+=i-a,d="bottom";break;case"insideBottomRight":s+=o-a,u+=i-a,c="right",d="bottom";break}return e=e||{},e.x=s,e.y=u,e.align=c,e.verticalAlign=d,e}var VS="__zr_normal__",HS=gc.concat(["ignore"]),Pvt=ou(gc,function(e,t){return e[t]=!0,e},{ignore:!1}),Mv={},Ivt=new nr(0,0,0,0),B8=[],gF=(function(){function e(t){this.id=YI(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[5]+=n,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 n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,a=r.local,i=n.innerTransformable,o=void 0,l=void 0,s=!1;i.parent=a?this:null;var u=!1;i.copyTransform(n);var c=r.position!=null,d=r.autoOverflowArea,f=void 0;if((d||c)&&(f=Ivt,r.layoutRect?f.copy(r.layoutRect):f.copy(this.getBoundingRect()),a||f.applyTransform(this.transform)),c){this.calculateTextPosition?this.calculateTextPosition(Mv,r,f):tC(Mv,r,f),i.x=Mv.x,i.y=Mv.y,o=Mv.align,l=Mv.verticalAlign;var p=r.origin;if(p&&r.rotation!=null){var h=void 0,m=void 0;p==="center"?(h=f.width*.5,m=f.height*.5):(h=yc(p[0],f.width),m=yc(p[1],f.height)),u=!0,i.originX=-i.x+h+(a?0:f.x),i.originY=-i.y+m+(a?0:f.y)}}r.rotation!=null&&(i.rotation=r.rotation);var v=r.offset;v&&(i.x+=v[0],i.y+=v[1],u||(i.originX=-v[0],i.originY=-v[1]));var g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={});if(d){var b=g.overflowRect=g.overflowRect||new nr(0,0,0,0);i.getLocalTransform(B8),ev(B8,B8),nr.copy(b,f),b.applyTransform(B8)}else g.overflowRect=null;var C=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,y=void 0,E=void 0,w=void 0;C&&this.canBeInsideText()?(y=r.insideFill,E=r.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(E==null||E==="auto")&&(E=this.getInsideTextStroke(y),w=!0)):(y=r.outsideFill,E=r.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(E==null||E==="auto")&&(E=this.getOutsideStroke(y),w=!0)),y=y||"#000",(y!==g.fill||E!==g.stroke||w!==g.autoStroke||o!==g.align||l!==g.verticalAlign)&&(s=!0,g.fill=y,g.stroke=E,g.autoStroke=w,g.align=o,g.verticalAlign=l,n.setDefaultTextStyle(g)),n.__dirty|=kl,s&&n.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()?CR:bR},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&Po(n);r||(r=[255,255,255,1]);for(var a=r[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*a+(i?0:255)*(1-a);return r[3]=1,Js(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},Gt(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(Sn(t))for(var r=t,a=Fr(r),i=0;i0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(VS,!1,t)},e.prototype.useState=function(t,n,r,a){var i=t===VS,o=this.hasState();if(!(!o&&i)){var l=this.currentStates,s=this.stateTransition;if(!(fr(l,t)>=0&&(n||l.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!i){dF("State "+t+" not exists.");return}i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||a);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&s&&s.duration>0,s);var d=this._textContent,f=this._textGuide;return d&&d.useState(t,n,r,c),f&&f.useState(t,n,r,c),i?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~kl),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var a=[],i=this.currentStates,o=t.length,l=o===i.length;if(l){for(var s=0;s0,h);var m=this._textContent,v=this._textGuide;m&&m.useStates(t,n,f),v&&v.useStates(t,n,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~kl)}},e.prototype.isSilent=function(){for(var t=this;t;){if(t.silent)return!0;var n=t.__hostTarget;t=n?t.ignoreHostSilent?null:n:t.parent}return!1},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var a=this.currentStates.slice(),i=fr(a,t),o=fr(a,n)>=0;i>=0?o?a.splice(i,1):a[i]=n:r&&!o&&a.push(n),this.useStates(a)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,a=0;a=0&&i.splice(o,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,a=r.length,i=[],o=0;o0&&n.during&&i[0].during(function(h,m){n.during(m)});for(var f=0;f0||a.force&&!o.length){var A=void 0,D=void 0,k=void 0;if(l){D={},f&&(A={});for(var y=0;y=0&&(a.splice(i,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var a=fr(this._children,n);return a>=0&&this.replaceAt(r,a),this},t.prototype.replaceAt=function(n,r){var a=this._children,i=a[r];if(n&&n!==this&&n.parent!==this&&n!==i){a[r]=n,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,a=this._children,i=fr(a,n);return i<0?this:(a.splice(i,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,a=0;a0&&(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._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},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,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n0){if(e<=a)return o;if(e>=i)return l}else{if(e>=a)return o;if(e<=i)return l}else{if(e===a)return o;if(e===i)return l}return(e-a)/s*u+o}var Br=Xvt;function Xvt(e,t,n){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return wR(e,t,n)}function wR(e,t,n){return gn(e)?Jvt(e).match(/%$/)?parseFloat(e)/100*t+(n||0):parseFloat(e):e==null?NaN:+e}function Mi(e,t,n){return t==null&&(t=10),t=Math.min(Math.max(0,t),_me),e=(+e).toFixed(t),n?e:+e}function Pf(e){return e.sort(function(t,n){return t-n}),e}function ju(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n}return xme(e)}function xme(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,a=n>0?n:t.length,i=t.indexOf("."),o=i<0?0:a-1-i;return Math.max(0,o-r)}function oN(e,t){var n=Math.log,r=Math.LN10,a=Math.floor(n(e[1]-e[0])/r),i=Math.round(n(Gu(t[1]-t[0]))/r),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20}function Zvt(e,t,n){if(!e[t])return 0;var r=Mme(e,n);return r[t]||0}function Mme(e,t){var n=ou(e,function(p,h){return p+(isNaN(h)?0:h)},0);if(n===0)return[];for(var r=Math.pow(10,t),a=cn(e,function(p){return(isNaN(p)?0:p)/n*r*100}),i=r*100,o=cn(a,function(p){return Math.floor(p)}),l=ou(o,function(p,h){return p+h},0),s=cn(a,function(p,h){return p-o[h]});lu&&(u=s[d],c=d);++o[c],s[c]=0,++l}return cn(o,function(p){return p/r})}function Qvt(e,t){var n=Math.max(ju(e),ju(t)),r=e+t;return n>_me?r:Mi(r,n)}var e1t=9007199254740991;function lN(e){var t=Math.PI*2;return(e%t+t)%t}function V2(e){return e>-QU&&e=10&&t++,t}function sN(e,t){var n=yF(e),r=Math.pow(10,n),a=e/r,i;return t?a<1.5?i=1:a<2.5?i=2:a<4?i=3:a<7?i=5:i=10:a<1?i=1:a<2?i=2:a<3?i=3:a<5?i=5:i=10,e=i*r,n>=-20?+e.toFixed(n<0?-n:0):e}function n1t(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),a=+e[r-1],i=n-r;return i?a+i*(e[r]-a):a}function SR(e){e.sort(function(s,u){return l(s,u,0)?-1:1});for(var t=-1/0,n=1,r=0;r=0||i&&fr(i,s)<0)){var u=r.getShallow(s,t);u!=null&&(o[e[l][0]]=u)}}return o}}var x1t=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],M1t=W2(x1t),B1t=(function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return M1t(this,t,n)},e})(),DR=new w0(50);function R1t(e){if(typeof e=="string"){var t=DR.get(e);return t&&t.image}else return e}function fN(e,t,n,r,a){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!n)return t;var i=DR.get(e),o={hostEl:n,cb:r,cbPayload:a};return i?(t=i.image,!CF(t)&&i.pending.push(o)):(t=ys.loadImage(e,rq,rq),t.__zrImageSrc=e,DR.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function rq(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=l;u++)s-=l;var c=rc(o,n);return c>s&&(n="",c=0),s=e-c,a.ellipsis=n,a.ellipsisWidth=c,a.contentWidth=s,a.containerWidth=e,a}function Kme(e,t,n){var r=n.containerWidth,a=n.contentWidth,i=n.fontMeasureInfo;if(!r){e.textLine="",e.isTruncated=!1;return}var o=rc(i,t);if(o<=r){e.textLine=t,e.isTruncated=!1;return}for(var l=0;;l++){if(o<=a||l>=n.maxIterations){t+=n.ellipsis;break}var s=l===0?O1t(t,a,i):o>0?Math.floor(t.length*a/o):0;t=t.substr(0,s),o=rc(i,t)}t===""&&(t=n.placeholder),e.textLine=t,e.isTruncated=!0}function O1t(e,t,n){for(var r=0,a=0,i=e.length;av&&p){var C=Math.floor(v/f);h=h||g.length>C,g=g.slice(0,C),b=g.length*f}if(a&&c&&m!=null)for(var y=jme(m,u,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),E={},w=0;wh&&jS(i,o.substring(h,v),t,p),jS(i,m[2],t,p,m[1]),h=GS.lastIndex}hd){var O=i.lines.length;_>0?(D.tokens=D.tokens.slice(0,_),S(D,x,k),i.lines=i.lines.slice(0,A+1)):i.lines=i.lines.slice(0,A),i.isTruncated=i.isTruncated||i.lines.length0&&h+r.accumWidth>r.width&&(c=t.split(` `),u=!0),r.accumWidth=h}else{var m=Ume(t,s,r.width,r.breakAll,r.accumWidth);r.accumWidth=m.accumWidth+p,d=m.linesWidths,c=m.lines}}c||(c=t.split(` `));for(var v=nc(s),g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var H1t=ou(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function z1t(e){return V1t(e)?!!H1t[e]:!0}function Ume(e,t,n,r,a){for(var i=[],o=[],l="",s="",u=0,c=0,d=nc(t),f=0;fn:a+c+h>n){c?(l||s)&&(m?(l||(l=s,s="",u=0,c=u),i.push(l),o.push(c-u),s+=p,u+=h,l="",c=u):(s&&(l+=s,s="",u=0),i.push(l),o.push(c),l=p,c=h)):m?(i.push(s),o.push(u),s=p,u=h):(i.push(p),o.push(h));continue}c+=h,m?(s+=p,u+=h):(s&&(l+=s,s="",u=0),l+=p)}return s&&(l+=s),l&&(i.push(l),o.push(c)),i.length===1&&(c+=a),{accumWidth:c,lines:i,linesWidths:o}}function iq(e,t,n,r,a,i){if(e.baseX=n,e.baseY=r,e.outerWidth=e.outerHeight=null,!!t){var o=t.width*2,l=t.height*2;nr.set(oq,S0(n,o,a),cm(r,l,i),o,l),nr.intersect(t,oq,null,lq);var s=lq.outIntersectRect;e.outerWidth=s.width,e.outerHeight=s.height,e.baseX=S0(s.x,s.width,a,!0),e.baseY=cm(s.y,s.height,i,!0)}}var oq=new nr(0,0,0,0),lq={outIntersectRect:{},clamp:!0};function pN(e){return e!=null?e+="":e=""}function W1t(e){var t=pN(e.text),n=e.font,r=rc(nc(n),t),a=m4(n);return TR(e,r,a,null)}function TR(e,t,n,r){var a=new nr(S0(e.x||0,t,e.textAlign),cm(e.y||0,n,e.textBaseline),t,n),i=r!=null?r:qme(e)?e.lineWidth:0;return i>0&&(a.x-=i/2,a.y-=i/2,a.width+=i,a.height+=i),a}function qme(e){var t=e.stroke;return t!=null&&t!=="none"&&e.lineWidth>0}var kR="__zr_style_"+Math.round(Math.random()*10),dm={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},FF={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};dm[kR]=!0;var sq=["z","z2","invisible"],G1t=["invisible"],tv=(function(e){Nt(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=Fr(n),a=0;a1e-4){l[0]=e-n,l[1]=t-r,s[0]=e+n,s[1]=t+r;return}if(R8[0]=YS(a)*n+e,R8[1]=qS(a)*r+t,L8[0]=YS(i)*n+e,L8[1]=qS(i)*r+t,u(l,R8,L8),c(s,R8,L8),a=a%th,a<0&&(a=a+th),i=i%th,i<0&&(i=i+th),a>i&&!o?i+=th:aa&&(O8[0]=YS(p)*n+e,O8[1]=qS(p)*r+t,u(l,O8,l),c(s,O8,s))}var na={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},nh=[],rh=[],Tu=[],Yd=[],ku=[],_u=[],JS=Math.min,XS=Math.max,ah=Math.cos,ih=Math.sin,Nc=Math.abs,_R=Math.PI,hf=_R*2,ZS=typeof Float32Array!="undefined",ey=[];function QS(e){var t=Math.round(e/_R*1e8)/1e8;return t%2*_R}function Yme(e,t){var n=QS(e[0]);n<0&&(n+=hf);var r=n-e[0],a=e[1];a+=r,!t&&a-n>=hf?a=n+hf:t&&n-a>=hf?a=n-hf:!t&&n>a?a=n+(hf-QS(n-a)):t&&n0&&(this._ux=Nc(r/Q6/t)||0,this._uy=Nc(r/Q6/n)||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,n){return this._drawPendingPt(),this.addData(na.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=Nc(t-this._xi),a=Nc(n-this._yi),i=r>this._ux||a>this._uy;if(this.addData(na.L,t,n),this._ctx&&i&&this._ctx.lineTo(t,n),i)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var o=r*r+a*a;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,n,r,a,i,o){return this._drawPendingPt(),this.addData(na.C,t,n,r,a,i,o),this._ctx&&this._ctx.bezierCurveTo(t,n,r,a,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,n,r,a){return this._drawPendingPt(),this.addData(na.Q,t,n,r,a),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,a),this._xi=r,this._yi=a,this},e.prototype.arc=function(t,n,r,a,i,o){this._drawPendingPt(),ey[0]=a,ey[1]=i,Yme(ey,o),a=ey[0],i=ey[1];var l=i-a;return this.addData(na.A,t,n,r,r,a,l,0,o?0:1),this._ctx&&this._ctx.arc(t,n,r,a,i,o),this._xi=ah(i)*r+t,this._yi=ih(i)*r+n,this},e.prototype.arcTo=function(t,n,r,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,a,i),this},e.prototype.rect=function(t,n,r,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,a),this.addData(na.R,t,n,r,a),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(na.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,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 n=t.length;!(this.data&&this.data.length===n)&&ZS&&(this.data=new Float32Array(n));for(var r=0;r0&&o))for(var l=0;lc.length&&(this._expandData(),c=this.data);for(var d=0;d0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){Tu[0]=Tu[1]=ku[0]=ku[1]=Number.MAX_VALUE,Yd[0]=Yd[1]=_u[0]=_u[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,a=0,i=0,o;for(o=0;or||Nc(C)>a||f===n-1)&&(m=Math.sqrt(b*b+C*C),i=v,o=g);break}case na.C:{var y=t[f++],E=t[f++],v=t[f++],g=t[f++],w=t[f++],S=t[f++];m=evt(i,o,y,E,v,g,w,S,10),i=w,o=S;break}case na.Q:{var y=t[f++],E=t[f++],v=t[f++],g=t[f++];m=rvt(i,o,y,E,v,g,10),i=v,o=g;break}case na.A:var A=t[f++],D=t[f++],k=t[f++],x=t[f++],_=t[f++],M=t[f++],L=M+_;f+=1,h&&(l=ah(_)*k+A,s=ih(_)*x+D),m=XS(k,x)*JS(hf,Math.abs(M)),i=ah(L)*k+A,o=ih(L)*x+D;break;case na.R:{l=i=t[f++],s=o=t[f++];var I=t[f++],P=t[f++];m=I*2+P*2;break}case na.Z:{var b=l-i,C=s-o;m=Math.sqrt(b*b+C*C),i=l,o=s;break}}m>=0&&(u[d++]=m,c+=m)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,a=this._ux,i=this._uy,o=this._len,l,s,u,c,d,f,p=n<1,h,m,v=0,g=0,b,C=0,y,E;if(!(p&&(this._pathSegLen||this._calculateLength(),h=this._pathSegLen,m=this._pathLen,b=n*m,!b)))e:for(var w=0;w0&&(t.lineTo(y,E),C=0),S){case na.M:l=u=r[w++],s=c=r[w++],t.moveTo(u,c);break;case na.L:{d=r[w++],f=r[w++];var D=Nc(d-u),k=Nc(f-c);if(D>a||k>i){if(p){var x=h[g++];if(v+x>b){var _=(b-v)/x;t.lineTo(u*(1-_)+d*_,c*(1-_)+f*_);break e}v+=x}t.lineTo(d,f),u=d,c=f,C=0}else{var M=D*D+k*k;M>C&&(y=d,E=f,C=M)}break}case na.C:{var L=r[w++],I=r[w++],P=r[w++],B=r[w++],T=r[w++],O=r[w++];if(p){var x=h[g++];if(v+x>b){var _=(b-v)/x;Y6(u,L,P,T,_,nh),Y6(c,I,B,O,_,rh),t.bezierCurveTo(nh[1],rh[1],nh[2],rh[2],nh[3],rh[3]);break e}v+=x}t.bezierCurveTo(L,I,P,B,T,O),u=T,c=O;break}case na.Q:{var L=r[w++],I=r[w++],P=r[w++],B=r[w++];if(p){var x=h[g++];if(v+x>b){var _=(b-v)/x;J6(u,L,P,_,nh),J6(c,I,B,_,rh),t.quadraticCurveTo(nh[1],rh[1],nh[2],rh[2]);break e}v+=x}t.quadraticCurveTo(L,I,P,B),u=P,c=B;break}case na.A:var N=r[w++],V=r[w++],Y=r[w++],z=r[w++],ee=r[w++],ae=r[w++],pe=r[w++],re=!r[w++],Q=Y>z?Y:z,ie=Nc(Y-z)>.001,X=ee+ae,q=!1;if(p){var x=h[g++];v+x>b&&(X=ee+ae*(b-v)/x,q=!0),v+=x}if(ie&&t.ellipse?t.ellipse(N,V,Y,z,pe,ee,X,re):t.arc(N,V,Q,ee,X,re),q)break e;A&&(l=ah(ee)*Y+N,s=ih(ee)*z+V),u=ah(X)*Y+N,c=ih(X)*z+V;break;case na.R:l=u=r[w],s=c=r[w+1],d=r[w++],f=r[w++];var ce=r[w++],K=r[w++];if(p){var x=h[g++];if(v+x>b){var Z=b-v;t.moveTo(d,f),t.lineTo(d+JS(Z,ce),f),Z-=ce,Z>0&&t.lineTo(d+ce,f+JS(Z,K)),Z-=K,Z>0&&t.lineTo(d+XS(ce-Z,0),f+K),Z-=ce,Z>0&&t.lineTo(d,f+XS(K-Z,0));break e}v+=x}t.rect(d,f,ce,K);break;case na.Z:if(p){var x=h[g++];if(v+x>b){var _=(b-v)/x;t.lineTo(u*(1-_)+l*_,c*(1-_)+s*_);break e}v+=x}t.closePath(),u=l,c=s}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.prototype.canSave=function(){return!!this._saveData},e.CMD=na,e.initDefaultProps=(function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),e})();function Bv(e,t,n,r,a,i,o){if(a===0)return!1;var l=a,s=0,u=e;if(o>t+l&&o>r+l||oe+l&&i>n+l||it+d&&c>r+d&&c>i+d&&c>l+d||ce+d&&u>n+d&&u>a+d&&u>o+d||ut+u&&s>r+u&&s>i+u||se+u&&l>n+u&&l>a+u||ln||c+ua&&(a+=ty);var f=Math.atan2(s,l);return f<0&&(f+=ty),f>=r&&f<=a||f+ty>=r&&f+ty<=a}function Yc(e,t,n,r,a,i){if(i>t&&i>r||ia?l:0}var Jd=dp.CMD,oh=Math.PI*2,Z1t=1e-4;function Q1t(e,t){return Math.abs(e-t)t&&u>r&&u>i&&u>l||u1&&e0t(),p=Hi(t,r,i,l,Xl[0]),f>1&&(h=Hi(t,r,i,l,Xl[1]))),f===2?vt&&l>r&&l>i||l=0&&u<=1){for(var c=0,d=el(t,r,i,u),f=0;fn||l<-n)return 0;var s=Math.sqrt(n*n-l*l);Ao[0]=-s,Ao[1]=s;var u=Math.abs(r-a);if(u<1e-4)return 0;if(u>=oh-1e-4){r=0,a=oh;var c=i?1:-1;return o>=Ao[0]+e&&o<=Ao[1]+e?c:0}if(r>a){var d=r;r=a,a=d}r<0&&(r+=oh,a+=oh);for(var f=0,p=0;p<2;p++){var h=Ao[p];if(h+e>o){var m=Math.atan2(l,h),c=i?1:-1;m<0&&(m=oh+m),(m>=r&&m<=a||m+oh>=r&&m+oh<=a)&&(m>Math.PI/2&&m1&&(n||(l+=Yc(s,u,c,d,r,a))),v&&(s=i[h],u=i[h+1],c=s,d=u),m){case Jd.M:c=i[h++],d=i[h++],s=c,u=d;break;case Jd.L:if(n){if(Bv(s,u,i[h],i[h+1],t,r,a))return!0}else l+=Yc(s,u,i[h],i[h+1],r,a)||0;s=i[h++],u=i[h++];break;case Jd.C:if(n){if(Y1t(s,u,i[h++],i[h++],i[h++],i[h++],i[h],i[h+1],t,r,a))return!0}else l+=t0t(s,u,i[h++],i[h++],i[h++],i[h++],i[h],i[h+1],r,a)||0;s=i[h++],u=i[h++];break;case Jd.Q:if(n){if(J1t(s,u,i[h++],i[h++],i[h],i[h+1],t,r,a))return!0}else l+=n0t(s,u,i[h++],i[h++],i[h],i[h+1],r,a)||0;s=i[h++],u=i[h++];break;case Jd.A:var g=i[h++],b=i[h++],C=i[h++],y=i[h++],E=i[h++],w=i[h++];h+=1;var S=!!(1-i[h++]);f=Math.cos(E)*C+g,p=Math.sin(E)*y+b,v?(c=f,d=p):l+=Yc(s,u,f,p,r,a);var A=(r-g)*y/C+g;if(n){if(X1t(g,b,y,E,E+w,S,t,A,a))return!0}else l+=r0t(g,b,y,E,E+w,S,A,a);s=Math.cos(E+w)*C+g,u=Math.sin(E+w)*y+b;break;case Jd.R:c=s=i[h++],d=u=i[h++];var D=i[h++],k=i[h++];if(f=c+D,p=d+k,n){if(Bv(c,d,f,d,t,r,a)||Bv(f,d,f,p,t,r,a)||Bv(f,p,c,p,t,r,a)||Bv(c,p,c,d,t,r,a))return!0}else l+=Yc(f,d,f,p,r,a),l+=Yc(c,p,c,d,r,a);break;case Jd.Z:if(n){if(Bv(s,u,c,d,t,r,a))return!0}else l+=Yc(s,u,c,d,r,a);s=c,u=d;break}}return!n&&!Q1t(u,d)&&(l+=Yc(s,u,c,d,r,a)||0),l!==0}function a0t(e,t,n){return Jme(e,0,!1,t,n)}function i0t(e,t,n,r){return Jme(e,t,!0,n,r)}var nC=or({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},dm),o0t={style:or({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},FF.style)},eA=gc.concat(["invisible","culling","z","z2","zlevel","parent"]),ea=(function(e){Nt(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var a=this._decalEl=this._decalEl||new t;a.buildPath===t.prototype.buildPath&&(a.buildPath=function(s){n.buildPath(s,n.shape)}),a.silent=!0;var i=a.style;for(var o in r)i[o]!==r[o]&&(i[o]=r[o]);i.fill=r.fill?r.decal:null,i.decal=null,i.shadowColor=null,r.strokeFirst&&(i.stroke=null);for(var l=0;l.5?bR:r>.2?Lvt:CR}else if(n)return CR}return bR},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(gn(r)){var a=this.__zr,i=!!(a&&a.isDarkMode()),o=I2(n,0)0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,a=!n;if(a){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||this.__dirty&o1)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),n=o.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var l=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||a){l.copy(n);var s=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c==null?4:c)}s>1e-10&&(l.width+=u/s,l.height+=u/s,l.x-=u/s/2,l.y-=u/s/2)}return l}return n},t.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),i=this.getBoundingRect(),o=this.style;if(n=a[0],r=a[1],i.contain(n,r)){var l=this.path;if(this.hasStroke()){var s=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),i0t(l,s/u,n,r)))return!0}if(this.hasFill())return a0t(l,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=o1,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var a=this.shape;return a||(a=this.shape={}),typeof n=="string"?a[n]=r:Gt(a,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&o1)},t.prototype.createStyle=function(n){return f4(nC,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=Gt({},this.shape))},t.prototype._applyStateObj=function(n,r,a,i,o,l){e.prototype._applyStateObj.call(this,n,r,a,i,o,l);var s=!(r&&i),u;if(r&&r.shape?o?i?u=r.shape:(u=Gt({},a.shape),Gt(u,r.shape)):(u=Gt({},i?this.shape:a.shape),Gt(u,r.shape)):s&&(u=a.shape),u)if(o){this.shape=Gt({},this.shape);for(var c={},d=Fr(u),f=0;fa&&(d=l+s,l*=a/d,s*=a/d),u+c>a&&(d=u+c,u*=a/d,c*=a/d),s+u>i&&(d=s+u,s*=i/d,u*=i/d),l+c>i&&(d=l+c,l*=i/d,c*=i/d),e.moveTo(n+l,r),e.lineTo(n+a-s,r),s!==0&&e.arc(n+a-s,r+s,s,-Math.PI/2,0),e.lineTo(n+a,r+i-u),u!==0&&e.arc(n+a-u,r+i-u,u,0,Math.PI/2),e.lineTo(n+c,r+i),c!==0&&e.arc(n+c,r+i-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+l),l!==0&&e.arc(n+l,r+l,l,Math.PI,Math.PI*1.5)}var v1=Math.round;function Xme(e,t,n){if(t){var r=t.x1,a=t.x2,i=t.y1,o=t.y2;e.x1=r,e.x2=a,e.y1=i,e.y2=o;var l=n&&n.lineWidth;return l&&(v1(r*2)===v1(a*2)&&(e.x1=e.x2=jh(r,l,!0)),v1(i*2)===v1(o*2)&&(e.y1=e.y2=jh(i,l,!0))),e}}function Zme(e,t,n){if(t){var r=t.x,a=t.y,i=t.width,o=t.height;e.x=r,e.y=a,e.width=i,e.height=o;var l=n&&n.lineWidth;return l&&(e.x=jh(r,l,!0),e.y=jh(a,l,!0),e.width=Math.max(jh(r+i,l,!1)-e.x,i===0?0:1),e.height=Math.max(jh(a+o,l,!1)-e.y,o===0?0:1)),e}}function jh(e,t,n){if(!t)return e;var r=v1(e*2);return(r+v1(t))%2===0?r/2:(r+(n?1:-1))/2}var f0t=(function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e})(),p0t={},Zr=(function(e){Nt(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new f0t},t.prototype.buildPath=function(n,r){var a,i,o,l;if(this.subPixelOptimize){var s=Zme(p0t,r,this.style);a=s.x,i=s.y,o=s.width,l=s.height,s.r=r.r,r=s}else a=r.x,i=r.y,o=r.width,l=r.height;r.r?d0t(n,r):n.rect(a,i,o,l)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t})(ea);Zr.prototype.type="rect";var pq={fill:"#000"},hq=2,xu={},h0t={style:or({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},FF.style)},Qr=(function(e){Nt(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=pq,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n0,_=0;_=0&&(L=w[M],L.align==="right");)this._placeToken(L,n,A,g,_,"right",C),D-=L.width,_-=L.width,M--;for(x+=(c-(x-v)-(b-_)-D)/2;k<=M;)L=w[k],this._placeToken(L,n,A,g,x+L.width/2,"center",C),x+=L.width,k++;g+=A}},t.prototype._placeToken=function(n,r,a,i,o,l,s){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,d=i+a/2;c==="top"?d=i+n.height/2:c==="bottom"&&(d=i+a-n.height/2);var f=!n.isLineHolder&&tA(u);f&&this._renderBackground(u,r,l==="right"?o-n.width:l==="center"?o-n.width/2:o,d-n.height/2,n.width,n.height);var p=!!u.backgroundColor,h=n.textPadding;h&&(o=Cq(o,l,h),d-=n.height/2-h[0]-n.innerHeight/2);var m=this._getOrCreateChild(G2),v=m.createStyle();m.useStyle(v);var g=this._defaultStyle,b=!1,C=0,y=!1,E=bq("fill"in u?u.fill:"fill"in r?r.fill:(b=!0,g.fill)),w=yq("stroke"in u?u.stroke:"stroke"in r?r.stroke:!p&&!s&&(!g.autoStroke||b)?(C=hq,y=!0,g.stroke):null),S=u.textShadowBlur>0||r.textShadowBlur>0;v.text=n.text,v.x=o,v.y=d,S&&(v.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,v.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",v.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,v.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),v.textAlign=l,v.textBaseline="middle",v.font=n.font||kd,v.opacity=Gf(u.opacity,r.opacity,1),vq(v,u),w&&(v.lineWidth=Gf(u.lineWidth,r.lineWidth,C),v.lineDash=_n(u.lineDash,r.lineDash),v.lineDashOffset=r.lineDashOffset||0,v.stroke=w),E&&(v.fill=E),m.setBoundingRect(TR(v,n.contentWidth,n.contentHeight,y?0:null))},t.prototype._renderBackground=function(n,r,a,i,o,l){var s=n.backgroundColor,u=n.borderWidth,c=n.borderColor,d=s&&s.image,f=s&&!d,p=n.borderRadius,h=this,m,v;if(f||n.lineHeight||u&&c){m=this._getOrCreateChild(Zr),m.useStyle(m.createStyle()),m.style.fill=null;var g=m.shape;g.x=a,g.y=i,g.width=o,g.height=l,g.r=p,m.dirtyShape()}if(f){var b=m.style;b.fill=s||null,b.fillOpacity=_n(n.fillOpacity,1)}else if(d){v=this._getOrCreateChild(Vl),v.onload=function(){h.dirtyStyle()};var C=v.style;C.image=s.image,C.x=a,C.y=i,C.width=o,C.height=l}if(u&&c){var b=m.style;b.lineWidth=u,b.stroke=c,b.strokeOpacity=_n(n.strokeOpacity,1),b.lineDash=n.borderDash,b.lineDashOffset=n.borderDashOffset||0,m.strokeContainThreshold=0,m.hasFill()&&m.hasStroke()&&(b.strokeFirst=!0,b.lineWidth*=2)}var y=(m||v).style;y.shadowBlur=n.shadowBlur||0,y.shadowColor=n.shadowColor||"transparent",y.shadowOffsetX=n.shadowOffsetX||0,y.shadowOffsetY=n.shadowOffsetY||0,y.opacity=Gf(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return eve(n)&&(r=[n.fontStyle,n.fontWeight,Qme(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&Hs(r)||n.textFont||n.font},t})(tv),m0t={left:!0,right:1,center:1},v0t={top:1,bottom:1,middle:1},mq=["fontStyle","fontWeight","fontSize","fontFamily"];function Qme(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?KI+"px":e+"px"}function vq(e,t){for(var n=0;n=0,i=!1;if(e instanceof ea){var o=tve(e),l=a&&o.selectFill||o.normalFill,s=a&&o.selectStroke||o.normalStroke;if(Rv(l)||Rv(s)){r=r||{};var u=r.style||{};u.fill==="inherit"?(i=!0,r=Gt({},r),u=Gt({},u),u.fill=l):!Rv(u.fill)&&Rv(l)?(i=!0,r=Gt({},r),u=Gt({},u),u.fill=X6(l)):!Rv(u.stroke)&&Rv(s)&&(i||(r=Gt({},r),u=Gt({},u)),u.stroke=X6(s)),r.style=u}}if(r&&r.z2==null){i||(r=Gt({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c!=null?c:b0t)}return r}function A0t(e,t,n){if(n&&n.z2==null){n=Gt({},n);var r=e.z2SelectLift;n.z2=e.z2+(r!=null?r:C0t)}return n}function D0t(e,t,n){var r=fr(e.currentStates,t)>=0,a=e.style.opacity,i=r?null:w0t(e,["opacity"],t,{opacity:1});n=n||{};var o=n.style||{};return o.opacity==null&&(n=Gt({},n),o=Gt({opacity:r?a:i.opacity*.1},o),n.style=o),n}function nA(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return S0t(this,e,t,n);if(e==="blur")return D0t(this,e,n);if(e==="select")return A0t(this,e,n)}return n}function T0t(e){e.stateProxy=nA;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=nA),n&&(n.stateProxy=nA)}function Dq(e,t){!sve(e,t)&&!e.__highByOuter&&$d(e,nve)}function Tq(e,t){!sve(e,t)&&!e.__highByOuter&&$d(e,rve)}function A0(e,t){e.__highByOuter|=1<<(t||0),$d(e,nve)}function D0(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&$d(e,rve)}function k0t(e){$d(e,gN)}function ive(e){$d(e,ave)}function ove(e){$d(e,F0t)}function lve(e){$d(e,E0t)}function sve(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function uve(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(a,i){var o=hN(i),l=a==="series",s=l?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!l&&r.push(s),o.isBlured&&(s.group.traverse(function(u){ave(u)}),l&&n.push(i)),o.isBlured=!1}),_e(r,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(n,!1,t)})}function MR(e,t,n,r){var a=r.getModel();n=n||"coordinateSystem";function i(u,c){for(var d=0;d0){var l={dataIndex:o,seriesIndex:n.seriesIndex};i!=null&&(l.dataType=i),t.push(l)}})}),t}function j2(e,t,n){bN(e,!0),$d(e,T0t),O0t(e,t,n)}function L0t(e){bN(e,!1)}function K2(e,t,n,r){r?L0t(e):j2(e,t,n)}function O0t(e,t,n){var r=Dr(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var _q=["emphasis","blur","select"],P0t={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function oC(e,t,n,r){n=n||"itemStyle";for(var a=0;a<_q.length;a++){var i=_q[a],o=t.getModel([i,n]),l=e.ensureState(i);l.style=o[P0t[n]]()}}function bN(e,t){var n=t===!1,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!n||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function RR(e){return!!(e&&e.__highDownDispatcher)}function I0t(e){var t=wq[e];return t==null&&Eq<=32&&(t=wq[e]=Eq++),t}function LR(e){var t=e.type;return t===aC||t===xR||t===iC}function xq(e){var t=e.type;return t===fm||t===C7}function N0t(e){var t=tve(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}var Lv=dp.CMD,$0t=[[],[],[]],Mq=Math.sqrt,V0t=Math.atan2;function H0t(e,t){if(t){var n=e.data,r=e.len(),a,i,o,l,s,u,c=Lv.M,d=Lv.C,f=Lv.L,p=Lv.R,h=Lv.A,m=Lv.Q;for(o=0,l=0;o1&&(o*=rA(h),l*=rA(h));var m=(a===i?-1:1)*rA((o*o*(l*l)-o*o*(p*p)-l*l*(f*f))/(o*o*(p*p)+l*l*(f*f)))||0,v=m*o*p/l,g=m*-l*f/o,b=(e+n)/2+N8(d)*v-I8(d)*g,C=(t+r)/2+I8(d)*v+N8(d)*g,y=Rq([1,0],[(f-v)/o,(p-g)/l]),E=[(f-v)/o,(p-g)/l],w=[(-1*f-v)/o,(-1*p-g)/l],S=Rq(E,w);if(OR(E,w)<=-1&&(S=ny),OR(E,w)>=1&&(S=0),S<0){var A=Math.round(S/ny*1e6)/1e6;S=ny*2+A%2*ny}c.addData(u,b,C,o,l,y,S,d,i)}var z0t=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,W0t=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function G0t(e){var t=new dp;if(!e)return t;var n=0,r=0,a=n,i=r,o,l=dp.CMD,s=e.match(z0t);if(!s)return t;for(var u=0;uL*L+I*I&&(A=k,D=x),{cx:A,cy:D,x0:-c,y0:-d,x1:A*(a/E-1),y1:D*(a/E-1)}}function Z0t(e){var t;if(rn(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function Q0t(e,t){var n,r=Vy(t.r,0),a=Vy(t.r0||0,0),i=r>0,o=a>0;if(!(!i&&!o)){if(i||(r=a,a=0),a>r){var l=r;r=a,a=l}var s=t.startAngle,u=t.endAngle;if(!(isNaN(s)||isNaN(u))){var c=t.cx,d=t.cy,f=!!t.clockwise,p=Oq(u-s),h=p>aA&&p%aA;if(h>Bs&&(p=h),!(r>Bs))e.moveTo(c,d);else if(p>aA-Bs)e.moveTo(c+r*Ov(s),d+r*lh(s)),e.arc(c,d,r,s,u,!f),a>Bs&&(e.moveTo(c+a*Ov(u),d+a*lh(u)),e.arc(c,d,a,u,s,f));else{var m=void 0,v=void 0,g=void 0,b=void 0,C=void 0,y=void 0,E=void 0,w=void 0,S=void 0,A=void 0,D=void 0,k=void 0,x=void 0,_=void 0,M=void 0,L=void 0,I=r*Ov(s),P=r*lh(s),B=a*Ov(u),T=a*lh(u),O=p>Bs;if(O){var N=t.cornerRadius;N&&(n=Z0t(N),m=n[0],v=n[1],g=n[2],b=n[3]);var V=Oq(r-a)/2;if(C=Mu(V,g),y=Mu(V,b),E=Mu(V,m),w=Mu(V,v),D=S=Vy(C,y),k=A=Vy(E,w),(S>Bs||A>Bs)&&(x=r*Ov(u),_=r*lh(u),M=a*Ov(s),L=a*lh(s),pBs){var ie=Mu(g,D),X=Mu(b,D),q=$8(M,L,I,P,r,ie,f),ce=$8(x,_,B,T,r,X,f);e.moveTo(c+q.cx+q.x0,d+q.cy+q.y0),D0&&e.arc(c+q.cx,d+q.cy,ie,Zi(q.y0,q.x0),Zi(q.y1,q.x1),!f),e.arc(c,d,r,Zi(q.cy+q.y1,q.cx+q.x1),Zi(ce.cy+ce.y1,ce.cx+ce.x1),!f),X>0&&e.arc(c+ce.cx,d+ce.cy,X,Zi(ce.y1,ce.x1),Zi(ce.y0,ce.x0),!f))}else e.moveTo(c+I,d+P),e.arc(c,d,r,s,u,!f);if(!(a>Bs)||!O)e.lineTo(c+B,d+T);else if(k>Bs){var ie=Mu(m,k),X=Mu(v,k),q=$8(B,T,x,_,a,-X,f),ce=$8(I,P,M,L,a,-ie,f);e.lineTo(c+q.cx+q.x0,d+q.cy+q.y0),k0&&e.arc(c+q.cx,d+q.cy,X,Zi(q.y0,q.x0),Zi(q.y1,q.x1),!f),e.arc(c,d,a,Zi(q.cy+q.y1,q.cx+q.x1),Zi(ce.cy+ce.y1,ce.cx+ce.x1),f),ie>0&&e.arc(c+ce.cx,d+ce.cy,ie,Zi(ce.y1,ce.x1),Zi(ce.y0,ce.x0),!f))}else e.lineTo(c+B,d+T),e.arc(c,d,a,u,s,f)}e.closePath()}}}var egt=(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})(),vu=(function(e){Nt(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new egt},t.prototype.buildPath=function(n,r){Q0t(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(ea);vu.prototype.type="sector";var tgt=(function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e})(),g4=(function(e){Nt(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new tgt},t.prototype.buildPath=function(n,r){var a=r.cx,i=r.cy,o=Math.PI*2;n.moveTo(a+r.r,i),n.arc(a,i,r.r,0,o,!1),n.moveTo(a+r.r0,i),n.arc(a,i,r.r0,0,o,!0)},t})(ea);g4.prototype.type="ring";function ngt(e,t,n,r){var a=[],i=[],o=[],l=[],s,u,c,d;if(r){c=[1/0,1/0],d=[-1/0,-1/0];for(var f=0,p=e.length;f=2){if(r){var i=ngt(a,r,n,t.smoothConstraint);e.moveTo(a[0][0],a[0][1]);for(var o=a.length,l=0;l<(n?o:o-1);l++){var s=i[l*2],u=i[l*2+1],c=a[(l+1)%o];e.bezierCurveTo(s[0],s[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(a[0][0],a[0][1]);for(var l=1,d=a.length;luh[1]){if(i=!1,ki.negativeSize||r)return i;var s=V8(uh[0]-sh[1]),u=V8(sh[0]-uh[1]);iA(s,u)>z8.len()&&(s=u||!ki.bidirectional)&&(ar.scale(H8,l,-u*a),ki.useDir&&ki.calcDirMTV()))}}return i},e.prototype._getProjMinMaxOnAxis=function(t,n,r){for(var a=this._axes[t],i=this._origin,o=n[0].dot(a)+i[t],l=o,s=o,u=1;u0){var d=c.duration,f=c.delay,p=c.easing,h={duration:d,delay:f||0,easing:p,done:i,force:!!i||!!o,setToFinal:!u,scope:e,during:o};l?t.animateFrom(n,h):t.animateTo(n,h)}else t.stopAnimation(),!l&&t.attr(n),o&&o(1),i&&i()}function qi(e,t,n,r,a,i){EN("update",e,t,n,r,a,i)}function Ol(e,t,n,r,a,i){EN("enter",e,t,n,r,a,i)}function Fb(e){if(!e.__zr)return!0;for(var t=0;tGu(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function Nq(e){return!e.isGroup}function mgt(e){return e.shape!=null}function TN(e,t,n){if(!e||!t)return;function r(o){var l={};return o.traverse(function(s){Nq(s)&&s.anid&&(l[s.anid]=s)}),l}function a(o){var l={x:o.x,y:o.y,rotation:o.rotation};return mgt(o)&&(l.shape=Rn(o.shape)),l}var i=r(e);t.traverse(function(o){if(Nq(o)&&o.anid){var l=i[o.anid];if(l){var s=a(o);o.attr(a(l)),qi(o,s,n,Dr(o).dataIndex)}}})}function kN(e,t){return cn(e,function(n){var r=n[0];r=Bl(r,t.x),r=$2(r,t.x+t.width);var a=n[1];return a=Bl(a,t.y),a=$2(a,t.y+t.height),[r,a]})}function Eve(e,t){var n=Bl(e.x,t.x),r=$2(e.x+e.width,t.x+t.width),a=Bl(e.y,t.y),i=$2(e.y+e.height,t.y+t.height);if(r>=n&&i>=a)return{x:n,y:a,width:r-n,height:i-a}}function b4(e,t,n){var r=Gt({rectHover:!0},t),a=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(a.image=e.slice(8),or(a,n),new Vl(r)):kF(e.replace("path://",""),r,n,"center")}function vgt(e,t,n,r,a){for(var i=0,o=a[a.length-1];i1)return!1;var v=oA(p,h,c,d)/f;return!(v<0||v>1)}function oA(e,t,n,r){return e*r-n*t}function ggt(e){return e<=1e-6&&e>=-1e-6}function sC(e,t,n,r,a){return t==null||(Xr(t)?Da[0]=Da[1]=Da[2]=Da[3]=t:(Da[0]=t[0],Da[1]=t[1],Da[2]=t[2],Da[3]=t[3]),r&&(Da[0]=Bl(0,Da[0]),Da[1]=Bl(0,Da[1]),Da[2]=Bl(0,Da[2]),Da[3]=Bl(0,Da[3])),n&&(Da[0]=-Da[0],Da[1]=-Da[1],Da[2]=-Da[2],Da[3]=-Da[3]),$q(e,Da,"x","width",3,1,a&&a[0]||0),$q(e,Da,"y","height",0,2,a&&a[1]||0)),e}var Da=[0,0,0,0];function $q(e,t,n,r,a,i,o){var l=t[i]+t[a],s=e[r];e[r]+=l,o=Bl(0,$2(o,s)),e[r]=0?-t[a]:t[i]>=0?s+t[i]:Gu(l)>1e-8?(s-o)*t[a]/l:0):e[n]-=t[a]}function rv(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,a=gn(t)?{formatter:t}:t,i=n.mainType,o=n.componentIndex,l={componentType:i,name:r,$vars:["name"]};l[i+"Index"]=o;var s=e.formatterParamsExtra;s&&_e(Fr(s),function(c){Xn(l,c)||(l[c]=s[c],l.$vars.push(c))});var u=Dr(e.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:r,option:or({content:r,encodeHTMLContent:!0,formatterParams:l},a)}}function IR(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function xF(e,t){if(e)if(rn(e))for(var n=0;nt&&(t=o),ot&&(n=t=0),{min:n,max:t}}function Sve(e,t,n){Ave(e,t,n,-1/0)}function Ave(e,t,n,r){if(e.ignoreModelZ)return r;var a=e.getTextContent(),i=e.getTextGuideLine(),o=e.isGroup;if(o)for(var l=e.childrenRef(),s=0;s=0&&l.push(s)}),l}}function dg(e,t){return lr(lr({},e,!0),t,!0)}const Bgt={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:". "}}}},Rgt={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 uC="ZH",BN="EN",z1=BN,F7={},RN={},_ve=tr.domSupported?(function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||z1).toUpperCase();return e.indexOf(uC)>-1?uC:z1})():z1;function LN(e,t){e=e.toUpperCase(),RN[e]=new va(t),F7[e]=t}function Lgt(e){if(gn(e)){var t=F7[e.toUpperCase()]||{};return e===uC||e===BN?Rn(t):lr(Rn(t),Rn(F7[z1]),!1)}else return lr(Rn(e),Rn(F7[z1]),!1)}function Ogt(e){return RN[e]}function Pgt(){return RN[z1]}LN(BN,Bgt);LN(uC,Rgt);var Igt=null;function cC(){return Igt}var ON=1e3,PN=ON*60,wb=PN*60,rs=wb*24,Kq=rs*365,Ngt={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})/},E7={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}"},$gt="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}",G8="{yyyy}-{MM}-{dd}",Uq={year:"{yyyy}",month:"{yyyy}-{MM}",day:G8,hour:G8+" "+E7.hour,minute:G8+" "+E7.minute,second:G8+" "+E7.second,millisecond:$gt},pm=["year","month","day","hour","minute","second","millisecond"],Vgt=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Hgt(e){return!gn(e)&&!Pn(e)?zgt(e):e}function zgt(e){e=e||{};var t={},n=!0;return _e(pm,function(r){n&&(n=e[r]==null)}),_e(pm,function(r,a){var i=e[r];t[r]={};for(var o=null,l=a;l>=0;l--){var s=pm[l],u=Sn(i)&&!rn(i)?i[s]:i,c=void 0;rn(u)?(c=u.slice(),o=c[0]||""):gn(u)?(o=u,c=[o]):(o==null?o=E7[r]:Ngt[s].test(o)||(o=t[s][s][0]+" "+o),c=[o],n&&(c[1]="{primary|"+o+"}")),t[r][s]=c}}),t}function Do(e,t){return e+="","0000".substr(0,t-e.length)+e}function Sb(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 Wgt(e){return e===Sb(e)}function Ggt(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function w4(e,t,n,r){var a=Nd(e),i=a[xve(n)](),o=a[IN(n)]()+1,l=Math.floor((o-1)/3)+1,s=a[NN(n)](),u=a["get"+(n?"UTC":"")+"Day"](),c=a[$N(n)](),d=(c-1)%12+1,f=a[VN(n)](),p=a[HN(n)](),h=a[zN(n)](),m=c>=12?"pm":"am",v=m.toUpperCase(),g=r instanceof va?r:Ogt(r||_ve)||Pgt(),b=g.getModel("time"),C=b.get("month"),y=b.get("monthAbbr"),E=b.get("dayOfWeek"),w=b.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,m+"").replace(/{A}/g,v+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Do(i%100+"",2)).replace(/{Q}/g,l+"").replace(/{MMMM}/g,C[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,Do(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Do(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,E[u]).replace(/{ee}/g,w[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Do(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Do(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,Do(f,2)).replace(/{m}/g,f+"").replace(/{ss}/g,Do(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,Do(h,3)).replace(/{S}/g,h+"")}function jgt(e,t,n,r,a){var i=null;if(gn(n))i=n;else if(Pn(n)){var o={time:e.time,level:e.time.level},l=cC();l&&l.makeAxisLabelFormatterParamBreak(o,e.break),i=n(e.value,t,o)}else{var s=e.time;if(s){var u=n[s.lowerTimeUnit][s.upperTimeUnit];i=u[Math.min(s.level,u.length-1)]||""}else{var c=dC(e.value,a);i=n[c][c][0]}}return w4(new Date(e.value),i,a,r)}function dC(e,t){var n=Nd(e),r=n[IN(t)]()+1,a=n[NN(t)](),i=n[$N(t)](),o=n[VN(t)](),l=n[HN(t)](),s=n[zN(t)](),u=s===0,c=u&&l===0,d=c&&o===0,f=d&&i===0,p=f&&a===1,h=p&&r===1;return h?"year":p?"month":f?"day":d?"hour":c?"minute":u?"second":"millisecond"}function fC(e,t,n){switch(t){case"year":e[Mve(n)](0);case"month":e[Bve(n)](1);case"day":e[Rve(n)](0);case"hour":e[Lve(n)](0);case"minute":e[Ove(n)](0);case"second":e[Pve(n)](0)}return e}function xve(e){return e?"getUTCFullYear":"getFullYear"}function IN(e){return e?"getUTCMonth":"getMonth"}function NN(e){return e?"getUTCDate":"getDate"}function $N(e){return e?"getUTCHours":"getHours"}function VN(e){return e?"getUTCMinutes":"getMinutes"}function HN(e){return e?"getUTCSeconds":"getSeconds"}function zN(e){return e?"getUTCMilliseconds":"getMilliseconds"}function Kgt(e){return e?"setUTCFullYear":"setFullYear"}function Mve(e){return e?"setUTCMonth":"setMonth"}function Bve(e){return e?"setUTCDate":"setDate"}function Rve(e){return e?"setUTCHours":"setHours"}function Lve(e){return e?"setUTCMinutes":"setMinutes"}function Ove(e){return e?"setUTCSeconds":"setSeconds"}function Pve(e){return e?"setUTCMilliseconds":"setMilliseconds"}function Ugt(e,t,n,r,a,i,o,l){var s=new Qr({style:{text:e,font:t,align:n,verticalAlign:r,padding:a,rich:i,overflow:o?"truncate":null,lineHeight:l}});return s.getBoundingRect()}function WN(e){if(!Rme(e))return gn(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function GN(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var fg=pF;function NR(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(c){return c&&Hs(c)?c:"-"}function i(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=t==="time",l=e instanceof Date;if(o||l){var s=o?Nd(e):e;if(isNaN(+s)){if(l)return"-"}else return w4(s,r,n)}if(t==="ordinal")return H6(e)?a(e):Xr(e)&&i(e)?e+"":"-";var u=H2(e);return i(u)?WN(u):H6(e)?a(e):typeof e=="boolean"?e+"":"-"}var qq=["a","b","c","d","e","f","g"],uA=function(e,t){return"{"+e+(t==null?"":t)+"}"};function jN(e,t,n){rn(t)||(t=[t]);var r=t.length;if(!r)return"";for(var a=t[0].$vars||[],i=0;i':'';var o=n.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function qgt(e,t,n){(e==="week"||e==="month"||e==="quarter"||e==="half-year"||e==="year")&&(e=`MM-dd yyyy`);var r=Nd(t),a=n?"getUTC":"get",i=r[a+"FullYear"](),o=r[a+"Month"]()+1,l=r[a+"Date"](),s=r[a+"Hours"](),u=r[a+"Minutes"](),c=r[a+"Seconds"](),d=r[a+"Milliseconds"]();return e=e.replace("MM",Do(o,2)).replace("M",o).replace("yyyy",i).replace("yy",Do(i%100+"",2)).replace("dd",Do(l,2)).replace("d",l).replace("hh",Do(s,2)).replace("h",s).replace("mm",Do(u,2)).replace("m",u).replace("ss",Do(c,2)).replace("s",c).replace("SSS",Do(d,3)),e}function Ygt(e){return e&&e.charAt(0).toUpperCase()+e.substr(1)}function Nm(e,t){return t=t||"transparent",gn(e)?e:Sn(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Yq(e,t){if(t==="_blank"||t==="blank"){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var w7={},cA={},RF=(function(){function e(){this._normalMasterList=[],this._nonSeriesBoxMasterList=[]}return e.prototype.create=function(t,n){this._nonSeriesBoxMasterList=r(w7),this._normalMasterList=r(cA);function r(a,i){var o=[];return _e(a,function(l,s){var u=l.create(t,n);o=o.concat(u||[])}),o}},e.prototype.update=function(t,n){_e(this._normalMasterList,function(r){r.update&&r.update(t,n)})},e.prototype.getCoordinateSystems=function(){return this._normalMasterList.concat(this._nonSeriesBoxMasterList)},e.register=function(t,n){if(t==="matrix"||t==="calendar"){w7[t]=n;return}cA[t]=n},e.get=function(t){return cA[t]||w7[t]},e})();function Jgt(e){return!!w7[e]}var $R={coord:1,coord2:2};function Xgt(e){Nve.set(e.fullType,{getCoord2:void 0}).getCoord2=e.getCoord2}var Nve=jn();function Zgt(e){var t=e.getShallow("coord",!0),n=$R.coord;if(t==null){var r=Nve.get(e.type);r&&r.getCoord2&&(n=$R.coord2,t=r.getCoord2(e))}return{coord:t,from:n}}var od={none:0,dataCoordSys:1,boxCoordSys:2};function Qgt(e,t){var n=e.getShallow("coordinateSystem"),r=e.getShallow("coordinateSystemUsage",!0),a=od.none;if(n){var i=e.mainType==="series";r==null&&(r=i?"data":"box"),r==="data"?(a=od.dataCoordSys,i||(a=od.none)):r==="box"&&(a=od.boxCoordSys,!i&&!Jgt(n)&&(a=od.none))}return{coordSysType:n,kind:a}}function eyt(e){var t=e.targetModel,n=e.coordSysType,r=e.coordSysProvider,a=e.isDefaultDataCoordSys,i=Qgt(t),o=i.kind,l=i.coordSysType;if(a&&o!==od.dataCoordSys&&(o=od.dataCoordSys,l=n),o===od.none||l!==n)return!1;var s=r(n,t);return s?(o===od.dataCoordSys?t.coordinateSystem=s:t.boxCoordinateSystem=s,!0):!1}var S7=_e,$ve=["left","right","top","bottom","width","height"],j8=[["width","left","right"],["height","top","bottom"]];function KN(e,t,n,r,a){var i=0,o=0;r==null&&(r=1/0),a==null&&(a=1/0);var l=0;t.eachChild(function(s,u){var c=s.getBoundingRect(),d=t.childAt(u+1),f=d&&d.getBoundingRect(),p,h;if(e==="horizontal"){var m=c.width+(f?-f.x+c.x:0);p=i+m,p>r||s.newline?(i=0,p=m,o+=l+n,l=c.height):l=Math.max(l,c.height)}else{var v=c.height+(f?-f.y+c.y:0);h=o+v,h>a||s.newline?(i+=l+n,o=0,h=v,l=c.width):l=Math.max(l,c.width)}s.newline||(s.x=i,s.y=o,s.markRedraw(),e==="horizontal"?i=p+n:o=h+n)})}var hm=KN;Rr(KN,"vertical");Rr(KN,"horizontal");function tyt(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 nyt(e,t){var n=Cp(e,t,{enableLayoutOnlyByCenter:!0}),r=e.getBoxLayoutParams(),a,i;if(n.type===Hy.point)i=n.refPoint,a=Pl(r,{width:t.getWidth(),height:t.getHeight()});else{var o=e.get("center"),l=rn(o)?o:[o,o];a=Pl(r,n.refContainer),i=n.boxCoordFrom===$R.coord2?n.refPoint:[Br(l[0],a.width)+a.x,Br(l[1],a.height)+a.y]}return{viewRect:a,center:i}}function ryt(e,t){var n=nyt(e,t),r=n.viewRect,a=n.center,i=e.get("radius");rn(i)||(i=[0,i]);var o=Br(r.width,t.getWidth()),l=Br(r.height,t.getHeight()),s=Math.min(o,l),u=Br(i[0],s/2),c=Br(i[1],s/2);return{cx:a[0],cy:a[1],r0:u,r:c,viewRect:r}}function Pl(e,t,n){n=fg(n||0);var r=t.width,a=t.height,i=Br(e.left,r),o=Br(e.top,a),l=Br(e.right,r),s=Br(e.bottom,a),u=Br(e.width,r),c=Br(e.height,a),d=n[2]+n[0],f=n[1]+n[3],p=e.aspect;switch(isNaN(u)&&(u=r-l-f-i),isNaN(c)&&(c=a-s-d-o),p!=null&&(isNaN(u)&&isNaN(c)&&(p>r/a?u=r*.8:c=a*.8),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(i)&&(i=r-l-u-f),isNaN(o)&&(o=a-s-c-d),e.left||e.right){case"center":i=r/2-u/2-n[3];break;case"right":i=r-u-f;break}switch(e.top||e.bottom){case"middle":case"center":o=a/2-c/2-n[0];break;case"bottom":o=a-c-d;break}i=i||0,o=o||0,isNaN(u)&&(u=r-f-i-(l||0)),isNaN(c)&&(c=a-d-o-(s||0));var h=new nr((t.x||0)+i+n[3],(t.y||0)+o+n[0],u,c);return h.margin=n,h}var Hy={rect:1,point:2};function Cp(e,t,n){var r,a,i,o=e.boxCoordinateSystem,l;if(o){var s=Zgt(e),u=s.coord,c=s.from;if(o.dataToLayout){i=Hy.rect,l=c;var d=o.dataToLayout(u);r=d.contentRect||d.rect}else n&&n.enableLayoutOnlyByCenter&&o.dataToPoint&&(i=Hy.point,l=c,a=o.dataToPoint(u))}return i==null&&(i=Hy.rect),i===Hy.rect&&(r||(r={x:0,y:0,width:t.getWidth(),height:t.getHeight()}),a=[r.x+r.width/2,r.y+r.height/2]),{type:i,refContainer:r,refPoint:a,boxCoordFrom:l}}function UN(e,t,n,r,a,i){var o=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],s=a&&a.boundingMode||"all";if(i=i||e,i.x=e.x,i.y=e.y,!o&&!l)return!1;var u;if(s==="raw")u=e.type==="group"?new nr(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();u=u.clone(),u.applyTransform(c)}var d=Pl(or({width:u.width,height:u.height},t),n,r),f=o?d.x-u.x:0,p=l?d.y-u.y:0;return s==="raw"?(i.x=f,i.y=p):(i.x+=f,i.y+=p),i===e&&e.markRedraw(),!0}function J2(e){var t=e.layoutMode||e.constructor.layoutMode;return Sn(t)?t:t?{type:t}:null}function xd(e,t,n){var r=n&&n.ignoreSize;!rn(r)&&(r=[r,r]);var a=o(j8[0],0),i=o(j8[1],1);s(j8[0],e,a),s(j8[1],e,i);function o(u,c){var d={},f=0,p={},h=0,m=2;if(S7(u,function(b){p[b]=e[b]}),S7(u,function(b){Xn(t,b)&&(d[b]=p[b]=t[b]),l(d,b)&&f++,l(p,b)&&h++}),r[c])return l(t,u[1])?p[u[2]]=null:l(t,u[2])&&(p[u[1]]=null),p;if(h===m||!f)return p;if(f>=m)return d;for(var v=0;v=0;s--)l=lr(l,a[s],!0);r.defaultOption=l}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var a=n+"Index",i=n+"Id";return ug(this.ecModel,n,{index:this.get(a,!0),id:this.get(i,!0)},r)},t.prototype.getBoxLayoutParams=function(){return tyt(this,!1)},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=(function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0})(),t})(va);Wme(_r,va);bF(_r);xgt(_r);Mgt(_r,iyt);function iyt(e){var t=[];return _e(_r.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=cn(t,function(n){return Ku(n).main}),e!=="dataset"&&fr(t,"dataset")<=0&&t.unshift("dataset"),t}var Kt={color:{},darkColor:{},size:{}},Ua=Kt.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)"};Gt(Ua,{primary:Ua.neutral80,secondary:Ua.neutral70,tertiary:Ua.neutral60,quaternary:Ua.neutral50,disabled:Ua.neutral20,border:Ua.neutral30,borderTint:Ua.neutral20,borderShade:Ua.neutral40,background:Ua.neutral05,backgroundTint:"rgba(234,237,245,0.5)",backgroundTransparent:"rgba(255,255,255,0)",backgroundShade:Ua.neutral10,shadow:"rgba(0,0,0,0.2)",shadowTint:"rgba(129,130,136,0.2)",axisLine:Ua.neutral70,axisLineTint:Ua.neutral40,axisTick:Ua.neutral70,axisTickMinor:Ua.neutral60,axisLabel:Ua.neutral70,axisSplitLine:Ua.neutral15,axisMinorSplitLine:Ua.neutral05});for(var ch in Ua)if(Ua.hasOwnProperty(ch)){var Jq=Ua[ch];ch==="theme"?Kt.darkColor.theme=Ua.theme.slice():ch==="highlight"?Kt.darkColor.highlight="rgba(255,231,130,0.4)":ch.indexOf("accent")===0?Kt.darkColor[ch]=um(Jq,null,function(e){return e*.5},function(e){return Math.min(1,1.3-e)}):Kt.darkColor[ch]=um(Jq,null,function(e){return e*.9},function(e){return 1-Math.pow(e,1.5)})}Kt.size={xxs:2,xs:5,s:10,m:15,l:20,xl:30,xxl:40,xxxl:50};var Hve="";typeof navigator!="undefined"&&(Hve=navigator.platform||"");var Pv="rgba(0, 0, 0, 0.2)",zve=Kt.color.theme[0],oyt=um(zve,null,null,.9);const lyt={darkMode:"auto",colorBy:"series",color:Kt.color.theme,gradientColor:[oyt,zve],aria:{decal:{decals:[{color:Pv,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Pv,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Pv,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Pv,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Pv,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Pv,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Hve.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 Wve=jn(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Hl="original",go="arrayRows",As="objectRows",gu="keyedColumns",qf="typedArray",Gve="unknown",ac="column",av="row",$i={Must:1,Might:2,Not:3},jve=Gr();function syt(e){jve(e).datasetMap=jn()}function uyt(e,t,n){var r={},a=qN(t);if(!a||!e)return r;var i=[],o=[],l=t.ecModel,s=jve(l).datasetMap,u=a.uid+"_"+n.seriesLayoutBy,c,d;e=e.slice(),_e(e,function(m,v){var g=Sn(m)?m:e[v]={name:m};g.type==="ordinal"&&c==null&&(c=v,d=h(g)),r[g.name]=[]});var f=s.get(u)||s.set(u,{categoryWayDim:d,valueWayDim:0});_e(e,function(m,v){var g=m.name,b=h(m);if(c==null){var C=f.valueWayDim;p(r[g],C,b),p(o,C,b),f.valueWayDim+=b}else if(c===v)p(r[g],0,b),p(i,0,b);else{var C=f.categoryWayDim;p(r[g],C,b),p(o,C,b),f.categoryWayDim+=b}});function p(m,v,g){for(var b=0;bt)return e[r];return e[n-1]}function myt(e,t,n,r,a,i,o){i=i||e;var l=t(i),s=l.paletteIdx||0,u=l.paletteNameMap=l.paletteNameMap||{};if(u.hasOwnProperty(a))return u[a];var c=o==null||!r?n:hyt(r,o);if(c=c||n,!(!c||!c.length)){var d=c[s];return a&&(u[a]=d),l.paletteIdx=(s+1)%c.length,d}}function vyt(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var K8,ry,Zq,Qq="\0_ec_inner",gyt=1,JN=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,a,i,o,l){i=i||{},this.option=null,this._theme=new va(i),this._locale=new va(o),this._optionManager=l},t.prototype.setOption=function(n,r,a){var i=nY(r);this._optionManager.setOption(n,a,i),this._resetOption(null,i)},t.prototype.resetOption=function(n,r){return this._resetOption(n,nY(r))},t.prototype._resetOption=function(n,r){var a=!1,i=this._optionManager;if(!n||n==="recreate"){var o=i.mountOption(n==="recreate");!this.option||n==="recreate"?Zq(this,o):(this.restoreData(),this._mergeOption(o,r)),a=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var l=i.getTimelineOption(this);l&&(a=!0,this._mergeOption(l,r))}if(!n||n==="recreate"||n==="media"){var s=i.getMediaOption(this);s.length&&_e(s,function(u){a=!0,this._mergeOption(u,r)},this)}return a},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var a=this.option,i=this._componentsMap,o=this._componentsCount,l=[],s=jn(),u=r&&r.replaceMergeMainTypeMap;syt(this),_e(n,function(d,f){d!=null&&(_r.hasClass(f)?f&&(l.push(f),s.set(f,!0)):a[f]=a[f]==null?Rn(d):lr(a[f],d,!0))}),u&&u.each(function(d,f){_r.hasClass(f)&&!s.get(f)&&(l.push(f),s.set(f,!0))}),_r.topologicalTravel(l,_r.getAllClassMainTypes(),c,this);function c(d){var f=pyt(this,d,mi(n[d])),p=i.get(d),h=p?u&&u.get(d)?"replaceMerge":"normalMerge":"replaceAll",m=$me(p,f,h);h1t(m,d,_r),a[d]=null,i.set(d,null),o.set(d,0);var v=[],g=[],b=0,C;_e(m,function(y,E){var w=y.existing,S=y.newOption;if(!S)w&&(w.mergeOption({},this),w.optionUpdated({},!1));else{var A=d==="series",D=_r.getClass(d,y.keyInfo.subType,!A);if(!D)return;if(d==="tooltip"){if(C)return;C=!0}if(w&&w.constructor===D)w.name=y.keyInfo.name,w.mergeOption(S,this),w.optionUpdated(S,!1);else{var k=Gt({componentIndex:E},y.keyInfo);w=new D(S,this,this,k),Gt(w,k),y.brandNew&&(w.__requireNewView=!0),w.init(S,this,this),w.optionUpdated(null,!0)}}w?(v.push(w.option),g.push(w),b++):(v.push(void 0),g.push(void 0))},this),a[d]=v,i.set(d,g),o.set(d,b),d==="series"&&K8(this)}this._seriesIndices||K8(this)},t.prototype.getOption=function(){var n=Rn(this.option);return _e(n,function(r,a){if(_r.hasClass(a)){for(var i=mi(r),o=i.length,l=!1,s=o-1;s>=0;s--)i[s]&&!z2(i[s])?l=!0:(i[s]=null,!l&&o--);i.length=o,n[a]=i}}),delete n[Qq],n},t.prototype.setTheme=function(n){this._theme=new va(n),this._resetOption("recreate",null)},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var a=this._componentsMap.get(n);if(a){var i=a[r||0];if(i)return i;if(r==null){for(var o=0;o=t:n==="max"?e<=t:e===t}function Dyt(e,t){return e.join(",")===t.join(",")}var _s=_e,X2=Sn,rY=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function dA(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=rY.length;n0?n[o-1].seriesModel:null)}),Oyt(n)}})}function Oyt(e){_e(e,function(t,n){var r=[],a=[NaN,NaN],i=[t.stackResultDimension,t.stackedOverDimension],o=t.data,l=t.isStackedByIndex,s=t.seriesModel.get("stackStrategy")||"samesign";o.modify(i,function(u,c,d){var f=o.get(t.stackedDimension,d);if(isNaN(f))return a;var p,h;l?h=o.getRawIndex(d):p=o.get(t.stackedByDimension,d);for(var m=NaN,v=n-1;v>=0;v--){var g=e[v];if(l||(h=g.data.rawIndexOf(g.stackedByDimension,p)),h>=0){var b=g.data.getByRawIndex(g.stackResultDimension,h);if(s==="all"||s==="positive"&&b>0||s==="negative"&&b<0||s==="samesign"&&f>=0&&b>0||s==="samesign"&&f<=0&&b<0){f=Qvt(f,b),m=b;break}}}return r[0]=f,r[1]=m,r})})}var LF=(function(){function e(t){this.data=t.data||(t.sourceFormat===gu?{}:[]),this.sourceFormat=t.sourceFormat||Gve,this.seriesLayoutBy=t.seriesLayoutBy||ac,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;rm&&(m=C)}p[0]=h,p[1]=m}},a=function(){return this._data?this._data.length/this._dimSize:0};cY=(t={},t[go+"_"+ac]={pure:!0,appendData:i},t[go+"_"+av]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[As]={pure:!0,appendData:i},t[gu]={pure:!0,appendData:function(o){var l=this._data;_e(o,function(s,u){for(var c=l[u]||(l[u]=[]),d=0;d<(s||[]).length;d++)c.push(s[d])})}},t[Hl]={appendData:i},t[qf]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function i(o){for(var l=0;l=0&&(m=o.interpolatedValue[v])}return m!=null?m+"":""})}},e.prototype.getRawValue=function(t,n){return k0(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e})();function hY(e){var t,n;return Sn(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Ab(e){return new Gyt(e)}var Gyt=(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 n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!r&&(i=this._plan(this.context));var o=c(this._modBy),l=this._modDataCount||0,s=c(t&&t.modBy),u=t&&t.modDataCount||0;(o!==s||l!==u)&&(i="reset");function c(b){return!(b>=1)&&(b=1),b}var d;(this._dirty||i==="reset")&&(this._dirty=!1,d=this._doReset(r)),this._modBy=s,this._modDataCount=u;var f=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,h=Math.min(f!=null?this._dueIndex+f:1/0,this._dueEnd);if(!r&&(d||p1&&r>0?l:o}};return i;function o(){return t=e?null:sa?-this._resultLT:0},e})(),Kyt=(function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,n){},e.prototype.retrieveValueFromItem=function(t,n){},e.prototype.convertValue=function(t,n){return A7(t,n)},e})();function Uyt(e,t){var n=new Kyt,r=e.data,a=n.sourceFormat=e.sourceFormat,i=e.startIndex,o="";e.seriesLayoutBy!==ac&&tl(o);var l=[],s={},u=e.dimensionsDefine;if(u)_e(u,function(m,v){var g=m.name,b={index:v,name:g,displayName:m.displayName};if(l.push(b),g!=null){var C="";Xn(s,g)&&tl(C),s[g]=b}});else for(var c=0;c65535?tbt:nbt}function Nv(){return[1/0,-1/0]}function rbt(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function gY(e,t,n,r,a){var i=o1e[n||"float"];if(a){var o=e[t],l=o&&o.length;if(l!==r){for(var s=new i(r),u=0;uv[1]&&(v[1]=m)}return this._rawCount=this._count=s,{start:l,end:s}},e.prototype._initDataFromProvider=function(t,n,r){for(var a=this._provider,i=this._chunks,o=this._dimensions,l=o.length,s=this._rawExtent,u=cn(o,function(b){return b.property}),c=0;cg[1]&&(g[1]=v)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n=0&&n=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&rt)i=o-1;else return o}return-1},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,a=this._count;if(r===Array){t=new r(a);for(var i=0;i=d&&b<=f||isNaN(b))&&(s[u++]=m),m++}h=!0}else if(i===2){for(var v=p[a[0]],C=p[a[1]],y=t[a[1]][0],E=t[a[1]][1],g=0;g=d&&b<=f||isNaN(b))&&(w>=y&&w<=E||isNaN(w))&&(s[u++]=m),m++}h=!0}}if(!h)if(i===1)for(var g=0;g=d&&b<=f||isNaN(b))&&(s[u++]=S)}else for(var g=0;gt[k][1])&&(A=!1)}A&&(s[u++]=n.getRawIndex(g))}return ug[1]&&(g[1]=v)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),a=r._chunks,i=a[t],o=this.count(),l=0,s=Math.floor(1/n),u=this.getRawIndex(0),c,d,f,p=new(Iv(this._rawCount))(Math.min((Math.ceil(o/s)+2)*2,o));p[l++]=u;for(var h=1;hc&&(c=d,f=y)}x>0&&xl&&(m=l-c);for(var v=0;vh&&(h=b,p=c+v)}var C=this.getRawIndex(d),y=this.getRawIndex(p);dc-h&&(s=c-h,l.length=s);for(var m=0;md[1]&&(d[1]=g),f[p++]=b}return i._count=p,i._indices=f,i._updateGetRawIdx(),i},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,a=this._chunks,i=0,o=this.count();is&&(s=d)}return o=[l,s],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],a=this._chunks,i=0;i=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=(function(){function t(n,r,a,i){return A7(n[i],this._dimensions[i])}hA={arrayRows:t,objectRows:function(n,r,a,i){return A7(n[r],this._dimensions[i])},keyedColumns:t,original:function(n,r,a,i){var o=n&&(n.value==null?n:n.value);return A7(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(n,r,a,i){return n[i]}}})(),e})(),abt=(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,n){this._sourceList=t,this._upstreamSignList=n,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,n=this._getUpstreamSourceManagers(),r=!!n.length,a,i;if(q8(t)){var o=t,l=void 0,s=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),l=u.data,s=u.sourceFormat,i=[c._getVersionSign()]}else l=o.get("data",!0),s=Ho(l)?qf:Hl,i=[];var d=this._getSourceMetaRawOption()||{},f=u&&u.metaRawOption||{},p=_n(d.seriesLayoutBy,f.seriesLayoutBy)||null,h=_n(d.sourceHeader,f.sourceHeader),m=_n(d.dimensions,f.dimensions),v=p!==f.seriesLayoutBy||!!h!=!!f.sourceHeader||m;a=v?[HR(l,{seriesLayoutBy:p,sourceHeader:h,dimensions:m},s)]:[]}else{var g=t;if(r){var b=this._applyTransform(n);a=b.sourceList,i=b.upstreamSignList}else{var C=g.get("source",!0);a=[HR(C,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(a,i)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(a!=null){var i="";t.length!==1&&yY(i)}var o,l=[],s=[];return _e(t,function(u){u.prepareSource();var c=u.getSource(a||0),d="";a!=null&&!c&&yY(d),l.push(c),s.push(u._getVersionSign())}),r?o=Qyt(r,l,{datasetIndex:n.componentIndex}):a!=null&&(o=[Pyt(l[0])]),{sourceList:o,upstreamSignList:s}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n1||n>0&&!e.noHeader;return _e(e.blocks,function(a){var i=c1e(a);i>=t&&(t=i+ +(r&&(!i||WR(a)&&!a.noHeader)))}),t}return 0}function sbt(e,t,n,r){var a=t.noHeader,i=cbt(c1e(t)),o=[],l=t.blocks||[];pl(!l||rn(l)),l=l||[];var s=e.orderMode;if(t.sortBlocks&&s){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Xn(u,s)){var c=new jyt(u[s],null);l.sort(function(m,v){return c.evaluate(m.sortParam,v.sortParam)})}else s==="seriesDesc"&&l.reverse()}_e(l,function(m,v){var g=t.valueFormatter,b=u1e(m)(g?Gt(Gt({},e),{valueFormatter:g}):e,m,v>0?i.html:0,r);b!=null&&o.push(b)});var d=e.renderMode==="richText"?o.join(i.richText):GR(r,o.join(""),a?n:i.html);if(a)return d;var f=NR(t.header,"ordinal",e.useUTC),p=s1e(r,e.renderMode).nameStyle,h=l1e(r);return e.renderMode==="richText"?d1e(e,f,p)+i.richText+d:GR(r,'
'+oo(f)+"
"+d,n)}function ubt(e,t,n,r){var a=e.renderMode,i=t.noName,o=t.noValue,l=!t.markerType,s=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(y){return y=rn(y)?y:[y],cn(y,function(E,w){return NR(E,rn(p)?p[w]:p,u)})};if(!(i&&o)){var d=l?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||Kt.color.secondary,a),f=i?"":NR(s,"ordinal",u),p=t.valueType,h=o?[]:c(t.value,t.dataIndex),m=!l||!i,v=!l&&i,g=s1e(r,a),b=g.nameStyle,C=g.valueStyle;return a==="richText"?(l?"":d)+(i?"":d1e(e,f,b))+(o?"":pbt(e,h,m,v,C)):GR(r,(l?"":d)+(i?"":dbt(f,!l,b))+(o?"":fbt(h,m,v,C)),n)}}function bY(e,t,n,r,a,i){if(e){var o=u1e(e),l={useUTC:a,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(l,e,0,i)}}function cbt(e){return{html:obt[e],richText:lbt[e]}}function GR(e,t,n){var r='
',a="margin: "+n+"px 0 0",i=l1e(e);return'
'+t+r+"
"}function dbt(e,t,n){var r=t?"margin-left:2px":"";return''+oo(e)+""}function fbt(e,t,n,r){var a=n?"10px":"20px",i=t?"float:right;margin-left:"+a:"";return e=rn(e)?e:[e],''+cn(e,function(o){return oo(o)}).join("  ")+""}function d1e(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function pbt(e,t,n,r,a){var i=[a],o=r?10:20;return n&&i.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(rn(t)?t.join(" "):t,i)}function hbt(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return Nm(r)}function f1e(e,t){var n=e.get("padding");return n!=null?n:t==="richText"?[8,10]:10}var mA=(function(){function e(){this.richTextStyles={},this._nextStyleNameId=Lme()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var a=r==="richText"?this._generateStyleName():null,i=Ive({color:n,type:t,renderMode:r,markerId:a});return gn(i)?i:(this.richTextStyles[a]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};rn(n)?_e(n,function(i){return Gt(r,i)}):Gt(r,n);var a=this._generateStyleName();return this.richTextStyles[a]=r,"{"+a+"|"+t+"}"},e})();function mbt(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,a=t.getData(),i=a.mapDimensionsAll("defaultedTooltip"),o=i.length,l=t.getRawValue(n),s=rn(l),u=hbt(t,n),c,d,f,p;if(o>1||s&&!o){var h=vbt(l,t,n,i,u);c=h.inlineValues,d=h.inlineValueTypes,f=h.blocks,p=h.inlineValues[0]}else if(o){var m=a.getDimensionInfo(i[0]);p=c=k0(a,n,i[0]),d=m.type}else p=c=s?l[0]:l;var v=uN(t),g=v&&t.name||"",b=a.getName(n),C=r?g:b;return Z2("section",{header:g,noHeader:r||!v,sortParam:p,blocks:[Z2("nameValue",{markerType:"item",markerColor:u,name:C,noName:!Hs(C),value:c,valueType:d,dataIndex:n})].concat(f||[])})}function vbt(e,t,n,r,a){var i=t.getData(),o=ou(e,function(d,f,p){var h=i.getDimensionInfo(p);return d=d||h&&h.tooltip!==!1&&h.displayName!=null},!1),l=[],s=[],u=[];r.length?_e(r,function(d){c(k0(i,n,d),d)}):_e(e,c);function c(d,f){var p=i.getDimensionInfo(f);!p||p.otherDims.tooltip===!1||(o?u.push(Z2("nameValue",{markerType:"subItem",markerColor:a,name:p.displayName,value:d,valueType:p.type})):(l.push(d),s.push(p.type)))}return{inlineValues:l,inlineValueTypes:s,blocks:u}}var Xd=Gr();function Y8(e,t){return e.getName(t)||e.getId(t)}var gbt="__universalTransitionEnabled",hl=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,a){this.seriesIndex=this.componentIndex,this.dataTask=Ab({count:bbt,reset:Cbt}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,a);var i=Xd(this).sourceManager=new abt(this);i.prepareSource();var o=this.getInitialData(n,a);FY(o,this),this.dataTask.context.data=o,Xd(this).dataBeforeProcessed=o,CY(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(n,r){var a=J2(this),i=a?pg(n):{},o=this.subType;_r.hasClass(o)&&(o+="Series"),lr(n,r.getTheme().get(this.subType)),lr(n,this.getDefaultOption()),AR(n,"label",["show"]),this.fillDataTextStyle(n.data),a&&xd(n,i,a)},t.prototype.mergeOption=function(n,r){n=lr(this.option,n,!0),this.fillDataTextStyle(n.data);var a=J2(this);a&&xd(this.option,n,a);var i=Xd(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(n,r);FY(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Xd(this).dataBeforeProcessed=o,CY(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(n){if(n&&!Ho(n))for(var r=["show"],a=0;a=0&&f<0)&&(d=b,f=g,p=0),g===f&&(c[p++]=m))}),c.length=p,c},t.prototype.formatTooltip=function(n,r,a){return mbt({series:this,dataIndex:n,multipleSeries:r})},t.prototype.isAnimationEnabled=function(){var n=this.ecModel;if(tr.node&&!(n&&n.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,a){var i=this.ecModel,o=YN.prototype.getColorFromPalette.call(this,n,r,a);return o||(o=i.getColorFromPalette(n,r,a)),o},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var a=this.option.selectedMap;if(a){var i=this.option.selectedMode,o=this.getData(r);if(i==="series"||a==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var l=0;l=0&&a.push(o)}return a},t.prototype.isSelected=function(n,r){var a=this.option.selectedMap;if(!a)return!1;var i=this.getData(r);return(a==="all"||a[Y8(i,n)])&&!i.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[gbt])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var a,i,o=this.option,l=o.selectedMode,s=r.length;if(!(!l||!s)){if(l==="series")o.selectedMap="all";else if(l==="multiple"){Sn(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,c=0;c0&&this._innerSelect(n,r)}},t.registerClass=function(n){return _r.registerClass(n)},t.protoInitialize=(function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"})(),t})(_r);$l(hl,Wyt);$l(hl,YN);Wme(hl,_r);function CY(e){var t=e.name;uN(e)||(e.name=ybt(e)||t)}function ybt(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return _e(n,function(a){var i=t.getDimensionInfo(a);i.displayName&&r.push(i.displayName)}),r.join(" ")}function bbt(e){return e.model.getRawData().count()}function Cbt(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),Fbt}function Fbt(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function FY(e,t){_e(Jhe(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,Rr(Ebt,t))})}function Ebt(e,t){var n=jR(e);return n&&n.setOutputEnd((t||this).count()),t}function jR(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var a=r.agentStubMap;a&&(r=a.get(e.uid))}return r}}var bi=(function(){function e(){this.group=new oa,this.uid=E4("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,a){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,a){},e.prototype.updateLayout=function(t,n,r,a){},e.prototype.updateVisual=function(t,n,r,a){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e})();dN(bi);bF(bi);function e$(){var e=Gr();return function(t){var n=e(t),r=t.pipelineContext,a=!!n.large,i=!!n.progressiveRender,o=n.large=!!(r&&r.large),l=n.progressiveRender=!!(r&&r.progressiveRender);return(a!==o||i!==l)&&"reset"}}var p1e=Gr(),wbt=e$(),Io=(function(){function e(){this.group=new oa,this.uid=E4("viewChart"),this.renderTask=Ab({plan:Sbt,reset:Abt}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,a){},e.prototype.highlight=function(t,n,r,a){var i=t.getData(a&&a.dataType);i&&wY(i,a,"emphasis")},e.prototype.downplay=function(t,n,r,a){var i=t.getData(a&&a.dataType);i&&wY(i,a,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.updateLayout=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.updateVisual=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.eachRendered=function(t){xF(this.group,t)},e.markUpdateMethod=function(t,n){p1e(t).updateMethod=n},e.protoInitialize=(function(){var t=e.prototype;t.type="chart"})(),e})();function EY(e,t,n){e&&RR(e)&&(t==="emphasis"?A0:D0)(e,n)}function wY(e,t,n){var r=Im(e,t),a=t&&t.highlightKey!=null?I0t(t.highlightKey):null;r!=null?_e(mi(r),function(i){EY(e.getItemGraphicEl(i),n,a)}):e.eachItemGraphicEl(function(i){EY(i,n,a)})}dN(Io);bF(Io);function Sbt(e){return wbt(e.model)}function Abt(e){var t=e.model,n=e.ecModel,r=e.api,a=e.payload,i=t.pipelineContext.progressiveRender,o=e.view,l=a&&p1e(a).updateMethod,s=i?"incrementalPrepareRender":l&&o[l]?l:"render";return s!=="render"&&o[s](t,n,r,a),Dbt[s]}var Dbt={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)}}},pC="\0__throttleOriginMethod",SY="\0__throttleRate",AY="\0__throttleType";function PF(e,t,n){var r,a=0,i=0,o=null,l,s,u,c;t=t||0;function d(){i=new Date().getTime(),o=null,e.apply(s,u||[])}var f=function(){for(var p=[],h=0;h=0?d():o=setTimeout(d,-l),a=r};return f.clear=function(){o&&(clearTimeout(o),o=null)},f.debounceNextCall=function(p){c=p},f}function IF(e,t,n,r){var a=e[t];if(a){var i=a[pC]||a,o=a[AY],l=a[SY];if(l!==n||o!==r){if(n==null||!r)return e[t]=i;a=e[t]=PF(i,n,r==="debounce"),a[pC]=i,a[AY]=r,a[SY]=n}return a}}function hC(e,t){var n=e[t];n&&n[pC]&&(n.clear&&n.clear(),e[t]=n[pC])}var DY=Gr(),TY={itemStyle:W2(kve,!0),lineStyle:W2(Tve,!0)},Tbt={lineStyle:"stroke",itemStyle:"fill"};function h1e(e,t){var n=e.visualStyleMapper||TY[t];return n||(console.warn("Unknown style type '"+t+"'."),TY.itemStyle)}function m1e(e,t){var n=e.visualDrawType||Tbt[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var kbt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=e.getModel(r),i=h1e(e,r),o=i(a),l=a.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var s=m1e(e,r),u=o[s],c=Pn(u)?u:null,d=o.fill==="auto"||o.stroke==="auto";if(!o[s]||c||d){var f=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[s]||(o[s]=f,n.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||Pn(o.fill)?f:o.fill,o.stroke=o.stroke==="auto"||Pn(o.stroke)?f:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(p,h){var m=e.getDataParams(h),v=Gt({},o);v[s]=c(m),p.setItemVisual(h,"style",v)}}}},iy=new va,_bt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=h1e(e,r),i=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(o,l){var s=o.getRawDataItem(l);if(s&&s[r]){iy.option=s[r];var u=a(iy),c=o.ensureUniqueItemVisual(l,"style");Gt(c,u),iy.option.decal&&(o.setItemVisual(l,"decal",iy.option.decal),iy.option.decal.dirty=!0),i in u&&o.setItemVisual(l,"colorFromPalette",!1)}}:null}}}},xbt={performRawSeries:!0,overallReset:function(e){var t=jn();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var a=n.type+"-"+r,i=t.get(a);i||(i={},t.set(a,i)),DY(n).scope=i}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),a={},i=n.getData(),o=DY(n).scope,l=n.visualStyleAccessPath||"itemStyle",s=m1e(n,l);i.each(function(u){var c=i.getRawIndex(u);a[c]=u}),r.each(function(u){var c=a[u],d=i.getItemVisual(c,"colorFromPalette");if(d){var f=i.ensureUniqueItemVisual(c,"style"),p=r.getName(u)||u+"",h=r.count();f[s]=n.getColorFromPalette(p,o,h)}})}})}},J8=Math.PI;function Mbt(e,t){t=t||{},or(t,{text:"loading",textColor:Kt.color.primary,fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255,255,255,0.8)",showSpinner:!0,color:Kt.color.theme[0],spinnerRadius:10,lineWidth:5,zlevel:0});var n=new oa,r=new Zr({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var a=new Qr({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),i=new Zr({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(i);var o;return t.showSpinner&&(o=new y4({shape:{startAngle:-J8/2,endAngle:-J8/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:J8*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:J8*3/2}).delay(300).start("circularInOut"),n.add(o)),n.resize=function(){var l=a.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-s*2-(t.showSpinner&&l?10:0)-l)/2-(t.showSpinner&&l?0:5+l/2)+(t.showSpinner?0:l/2)+(l?0:s),c=e.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:c}),i.setShape({x:u-s,y:c-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var v1e=(function(){function e(t,n,r,a){this._stageTaskMap=jn(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=r.concat(a)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var a=r.overallTask;a&&a.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),a=r.context,i=!n&&r.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>r.blockIndex,o=i?r.step:null,l=a&&a.modDataCount,s=l!=null?Math.ceil(l/o):null;return{step:o,modBy:s,modDataCount:l}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),a=t.getData(),i=a.count(),o=r.progressiveEnabled&&n.incrementalPrepareRender&&i>=r.threshold,l=t.get("large")&&i>=t.get("largeThreshold"),s=t.get("progressiveChunkMode")==="mod"?i:null;t.pipelineContext=r.context={progressiveRender:o,modDataCount:s,large:l}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=jn();t.eachSeries(function(a){var i=a.getProgressive(),o=a.uid;r.set(o,{id:o,head:null,tail:null,threshold:a.getProgressiveThreshold(),progressiveEnabled:i&&!(a.preventIncremental&&a.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),n._pipe(a,a.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;_e(this._allHandlers,function(a){var i=t.get(a.uid)||t.set(a.uid,{}),o="";pl(!(a.reset&&a.overallReset),o),a.reset&&this._createSeriesStageTask(a,i,n,r),a.overallReset&&this._createOverallStageTask(a,i,n,r)},this)},e.prototype.prepareView=function(t,n,r,a){var i=t.renderTask,o=i.context;o.model=n,o.ecModel=r,o.api=a,i.__block=!t.incrementalPrepareRender,this._pipe(n,i)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,a){a=a||{};var i=!1,o=this;_e(t,function(s,u){if(!(a.visualType&&a.visualType!==s.visualType)){var c=o._stageTaskMap.get(s.uid),d=c.seriesTaskMap,f=c.overallTask;if(f){var p,h=f.agentStubMap;h.each(function(v){l(a,v)&&(v.dirty(),p=!0)}),p&&f.dirty(),o.updatePayload(f,r);var m=o.getPerformArgs(f,a.block);h.each(function(v){v.perform(m)}),f.perform(m)&&(i=!0)}else d&&d.each(function(v,g){l(a,v)&&v.dirty();var b=o.getPerformArgs(v,a.block);b.skip=!s.performRawSeries&&n.isSeriesFiltered(v.context.model),o.updatePayload(v,r),v.perform(b)&&(i=!0)})}});function l(s,u){return s.setDirty&&(!s.dirtyMap||s.dirtyMap.get(u.__pipeline.id))}this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,a){var i=this,o=n.seriesTaskMap,l=n.seriesTaskMap=jn(),s=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):s?r.eachRawSeriesByType(s,c):u&&u(r,a).each(c);function c(d){var f=d.uid,p=l.set(f,o&&o.get(f)||Ab({plan:Pbt,reset:Ibt,count:$bt}));p.context={model:d,ecModel:r,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(d,p)}},e.prototype._createOverallStageTask=function(t,n,r,a){var i=this,o=n.overallTask=n.overallTask||Ab({reset:Bbt});o.context={ecModel:r,api:a,overallReset:t.overallReset,scheduler:i};var l=o.agentStubMap,s=o.agentStubMap=jn(),u=t.seriesType,c=t.getTargetSeries,d=!0,f=!1,p="";pl(!t.createOnAllSeries,p),u?r.eachRawSeriesByType(u,h):c?c(r,a).each(h):(d=!1,_e(r.getSeries(),h));function h(m){var v=m.uid,g=s.set(v,l&&l.get(v)||(f=!0,Ab({reset:Rbt,onDirty:Obt})));g.context={model:m,overallProgress:d},g.agent=o,g.__block=d,i._pipe(m,g)}f&&o.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,a=this._pipelineMap.get(r);!a.head&&(a.head=n),a.tail&&a.tail.pipe(n),a.tail=n,n.__idxInPipeline=a.count++,n.__pipeline=a},e.wrapStageHandler=function(t,n){return Pn(t)&&(t={overallReset:t,seriesType:Vbt(t)}),t.uid=E4("stageHandler"),n&&(t.visualType=n),t},e})();function Bbt(e){e.overallReset(e.ecModel,e.api,e.payload)}function Rbt(e){return e.overallProgress&&Lbt}function Lbt(){this.agent.dirty(),this.getDownstream().dirty()}function Obt(){this.agent&&this.agent.dirty()}function Pbt(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Ibt(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=mi(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?cn(t,function(n,r){return g1e(r)}):Nbt}var Nbt=g1e(0);function g1e(e){return function(t,n){var r=n.data,a=n.resetDefines[e];if(a&&a.dataEach)for(var i=t.start;i0&&p===u.length-f.length){var h=u.slice(0,p);h!=="data"&&(n.mainType=h,n[f.toLowerCase()]=s,c=!0)}}l.hasOwnProperty(u)&&(r[u]=s,c=!0),c||(a[u]=s)})}return{cptQuery:n,dataQuery:r,otherQuery:a}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var a=r.targetEl,i=r.packedEvent,o=r.model,l=r.view;if(!o||!l)return!0;var s=n.cptQuery,u=n.dataQuery;return c(s,o,"mainType")&&c(s,o,"subType")&&c(s,o,"index","componentIndex")&&c(s,o,"name")&&c(s,o,"id")&&c(u,i,"name")&&c(u,i,"dataIndex")&&c(u,i,"dataType")&&(!l.filterForExposedEvent||l.filterForExposedEvent(t,n.otherQuery,a,i));function c(d,f,p,h){return d[p]==null||f[h||p]===d[p]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e})(),KR=["symbol","symbolSize","symbolRotate","symbolOffset"],_Y=KR.concat(["symbolKeepAspect"]),Wbt={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},a={},i=!1,o=0;o=0&&Kh(s)?s:.5;var u=e.createRadialGradient(o,l,0,o,l,s);return u}function UR(e,t,n){for(var r=t.type==="radial"?l2t(e,t,n):o2t(e,t,n),a=t.colorStops,i=0;i0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Xr(e)?[e]:rn(e)?e:null}function t$(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&u2t(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var a=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;a&&a!==1&&(n=cn(n,function(i){return i/a}),r/=a)}return[n,r]}var c2t=new dp(!0);function gC(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function xY(e){return typeof e=="string"&&e!=="none"}function yC(e){var t=e.fill;return t!=null&&t!=="none"}function MY(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function BY(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function qR(e,t,n){var r=fN(t.image,t.__image,n);if(CF(r)){var a=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&a&&a.setTransform){var i=new DOMMatrix;i.translateSelf(t.x||0,t.y||0),i.rotateSelf(0,0,(t.rotation||0)*pb),i.scaleSelf(t.scaleX||1,t.scaleY||1),a.setTransform(i)}return a}}function d2t(e,t,n,r){var a,i=gC(n),o=yC(n),l=n.strokePercent,s=l<1,u=!t.path;(!t.silent||s)&&u&&t.createPathProxy();var c=t.path||c2t,d=t.__dirty;if(!r){var f=n.fill,p=n.stroke,h=o&&!!f.colorStops,m=i&&!!p.colorStops,v=o&&!!f.image,g=i&&!!p.image,b=void 0,C=void 0,y=void 0,E=void 0,w=void 0;(h||m)&&(w=t.getBoundingRect()),h&&(b=d?UR(e,f,w):t.__canvasFillGradient,t.__canvasFillGradient=b),m&&(C=d?UR(e,p,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=C),v&&(y=d||!t.__canvasFillPattern?qR(e,f,t):t.__canvasFillPattern,t.__canvasFillPattern=y),g&&(E=d||!t.__canvasStrokePattern?qR(e,p,t):t.__canvasStrokePattern,t.__canvasStrokePattern=E),h?e.fillStyle=b:v&&(y?e.fillStyle=y:o=!1),m?e.strokeStyle=C:g&&(E?e.strokeStyle=E:i=!1)}var S=t.getGlobalScale();c.setScale(S[0],S[1],t.segmentIgnoreThreshold);var A,D;e.setLineDash&&n.lineDash&&(a=t$(t),A=a[0],D=a[1]);var k=!0;(u||d&o1)&&(c.setDPR(e.dpr),s?c.setContext(null):(c.setContext(e),k=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),k&&c.rebuildPath(e,s?l:1),A&&(e.setLineDash(A),e.lineDashOffset=D),r||(n.strokeFirst?(i&&BY(e,n),o&&MY(e,n)):(o&&MY(e,n),i&&BY(e,n))),A&&e.setLineDash([])}function f2t(e,t,n){var r=t.__image=fN(n.image,t.__image,t,t.onload);if(!(!r||!CF(r))){var a=n.x||0,i=n.y||0,o=t.getWidth(),l=t.getHeight(),s=r.width/r.height;if(o==null&&l!=null?o=l*s:l==null&&o!=null?l=o/s:o==null&&l==null&&(o=r.width,l=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,a,i,o,l)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,d=o-u,f=l-c;e.drawImage(r,u,c,d,f,a,i,o,l)}else e.drawImage(r,a,i,o,l)}}function p2t(e,t,n){var r,a=n.text;if(a!=null&&(a+=""),a){e.font=n.font||kd,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var i=void 0,o=void 0;e.setLineDash&&n.lineDash&&(r=t$(t),i=r[0],o=r[1]),i&&(e.setLineDash(i),e.lineDashOffset=o),n.strokeFirst?(gC(n)&&e.strokeText(a,n.x,n.y),yC(n)&&e.fillText(a,n.x,n.y)):(yC(n)&&e.fillText(a,n.x,n.y),gC(n)&&e.strokeText(a,n.x,n.y)),i&&e.setLineDash([])}}var RY=["shadowBlur","shadowOffsetX","shadowOffsetY"],LY=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function S1e(e,t,n,r,a){var i=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){nl(e,a),i=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?dm.opacity:o}(r||t.blend!==n.blend)&&(i||(nl(e,a),i=!0),e.globalCompositeOperation=t.blend||dm.blend);for(var l=0;l0&&n.unfinished);n.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(n,r,a){if(!this[ii]){if(this._disposed){this.id;return}var i,o,l;if(Sn(r)&&(a=r.lazyUpdate,i=r.silent,o=r.replaceMerge,l=r.transition,r=r.notMerge),this[ii]=!0,zv(this),!this._model||r){var s=new Eyt(this._api),u=this._theme,c=this._model=new JN;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,s)}this._model.setOption(n,{replaceMerge:o},QR);var d={seriesTransition:l,optionChanged:!0};if(a)this[Ti]={silent:i,updateParams:d},this[ii]=!1,this.getZr().wakeUp();else{try{mh(this),Vc.update.call(this,null,d)}catch(f){throw this[Ti]=null,this[ii]=!1,f}this._ssr||this._zr.flush(),this[Ti]=null,this[ii]=!1,Vv.call(this,i),Hv.call(this,i)}}},t.prototype.setTheme=function(n,r){if(!this[ii]){if(this._disposed){this.id;return}var a=this._model;if(a){var i=r&&r.silent,o=null;this[Ti]&&(i==null&&(i=this[Ti].silent),o=this[Ti].updateParams,this[Ti]=null),this[ii]=!0,zv(this);try{this._updateTheme(n),a.setTheme(this._theme),mh(this),Vc.update.call(this,{type:"setTheme"},o)}catch(l){throw this[ii]=!1,l}this[ii]=!1,Vv.call(this,i),Hv.call(this,i)}}},t.prototype._updateTheme=function(n){gn(n)&&(n=H1e[n]),n&&(n=Rn(n),n&&Jve(n,!0),this._theme=n)},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||tr.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){var n=this._zr,r=n.storage.getDisplayList();return _e(r,function(a){a.stopAnimation(null,!0)}),n.painter.toDataURL()},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,a=this._model,i=[],o=this;_e(r,function(s){a.eachComponent({mainType:s},function(u){var c=o._componentsMap[u.__viewId];c.group.ignore||(i.push(c),c.group.ignore=!0)})});var l=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return _e(i,function(s){s.group.ignore=!1}),l},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",a=this.group,i=Math.min,o=Math.max,l=1/0;if(EC[a]){var s=l,u=l,c=-l,d=-l,f=[],p=n&&n.pixelRatio||this.getDevicePixelRatio();_e(mm,function(C,y){if(C.group===a){var E=r?C.getZr().painter.getSvgDom().innerHTML:C.renderToCanvas(Rn(n)),w=C.getDom().getBoundingClientRect();s=i(w.left,s),u=i(w.top,u),c=o(w.right,c),d=o(w.bottom,d),f.push({dom:E,left:w.left,top:w.top})}}),s*=p,u*=p,c*=p,d*=p;var h=c-s,m=d-u,v=ys.createCanvas(),g=FR(v,{renderer:r?"svg":"canvas"});if(g.resize({width:h,height:m}),r){var b="";return _e(f,function(C){var y=C.left-s,E=C.top-u;b+=''+C.dom+""}),g.painter.getSvgRoot().innerHTML=b,n.connectedBackgroundColor&&g.painter.setBackgroundColor(n.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return n.connectedBackgroundColor&&g.add(new Zr({shape:{x:0,y:0,width:h,height:m},style:{fill:n.connectedBackgroundColor}})),_e(f,function(C){var y=new Vl({style:{x:C.left*p-s,y:C.top*p-u,image:C.dom}});g.add(y)}),g.refreshImmediately(),v.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r,a){return e3(this,"convertToPixel",n,r,a)},t.prototype.convertToLayout=function(n,r,a){return e3(this,"convertToLayout",n,r,a)},t.prototype.convertFromPixel=function(n,r,a){return e3(this,"convertFromPixel",n,r,a)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var a=this._model,i,o=bb(a,n);return _e(o,function(l,s){s.indexOf("Models")>=0&&_e(l,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)i=i||!!c.containPoint(r);else if(s==="seriesModels"){var d=this._chartsMap[u.__viewId];d&&d.containPoint&&(i=i||d.containPoint(r,u))}},this)},this),!!i},t.prototype.getVisual=function(n,r){var a=this._model,i=bb(a,n,{defaultMainType:"series"}),o=i.seriesModel,l=o.getData(),s=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?l.indexOfRawIndex(i.dataIndex):null;return s!=null?F1e(l,s,r):E1e(l,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;_e(N2t,function(a){var i=function(o){var l=n.getModel(),s=o.target,u,c=a==="globalout";if(c?u={}:s&&y1(s,function(m){var v=Dr(m);if(v&&v.dataIndex!=null){var g=v.dataModel||l.getSeriesByIndex(v.seriesIndex);return u=g&&g.getDataParams(v.dataIndex,v.dataType,s)||{},!0}else if(v.eventData)return u=Gt({},v.eventData),!0},!0),u){var d=u.componentType,f=u.componentIndex;(d==="markLine"||d==="markPoint"||d==="markArea")&&(d="series",f=u.seriesIndex);var p=d&&f!=null&&l.getComponent(d,f),h=p&&n[p.mainType==="series"?"_chartsMap":"_componentsMap"][p.__viewId];u.event=o,u.type=a,n._$eventProcessor.eventInfo={targetEl:s,packedEvent:u,model:p,view:h},n.trigger(a,u)}};i.zrEventfulCallAtLast=!0,n._zr.on(a,i,n)});var r=this._messageCenter;_e(XR,function(a,i){r.on(i,function(o){n.trigger(i,o)})}),Ubt(r,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 n=this.getDom();n&&Hme(this.getDom(),i$,"");var r=this,a=r._api,i=r._model;_e(r._componentsViews,function(o){o.dispose(i,a)}),_e(r._chartsViews,function(o){o.dispose(i,a)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete mm[r.id]},t.prototype.resize=function(n){if(!this[ii]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var a=r.resetOption("media"),i=n&&n.silent;this[Ti]&&(i==null&&(i=this[Ti].silent),a=!0,this[Ti]=null),this[ii]=!0,zv(this);try{a&&mh(this),Vc.update.call(this,{type:"resize",animation:Gt({duration:0},n&&n.animation)})}catch(o){throw this[ii]=!1,o}this[ii]=!1,Vv.call(this,i),Hv.call(this,i)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(Sn(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!eL[n]){var a=eL[n](this._api,r),i=this._zr;this._loadingFX=a,i.add(a)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=Gt({},n);return r.type=JR[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(Sn(r)||(r={silent:!!r}),!!CC[n.type]&&this._model){if(this[ii]){this._pendingActions.push(n);return}var a=r.silent;FA.call(this,n,a);var i=r.flush;i?this._zr.flush():i!==!1&&tr.browser.weChat&&this._throttledZrFlush(),Vv.call(this,a),Hv.call(this,a)}},t.prototype.updateLabelLayout=function(){Ls.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,a=this.getModel(),i=a.getSeriesByIndex(r);i.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=(function(){mh=function(d){var f=d._scheduler;f.restorePipelines(d._model),f.prepareStageTasks(),bA(d,!0),bA(d,!1),f.plan()},bA=function(d,f){for(var p=d._model,h=d._scheduler,m=f?d._componentsViews:d._chartsViews,v=f?d._componentsMap:d._chartsMap,g=d._zr,b=d._api,C=0;Cf.get("hoverLayerThreshold")&&!tr.node&&!tr.worker&&f.eachSeries(function(v){if(!v.preventUsingHoverLayer){var g=d._chartsMap[v.__viewId];g.__alive&&g.eachRendered(function(b){b.states.emphasis&&(b.states.emphasis.hoverLayer=!0)})}})}function l(d,f){var p=d.get("blendMode")||null;f.eachRendered(function(h){h.isGroup||(h.style.blend=p)})}function s(d,f){if(!d.preventAutoZ){var p=Y2(d);f.eachRendered(function(h){return Sve(h,p.z,p.zlevel),!0})}}function u(d,f){f.eachRendered(function(p){if(!Fb(p)){var h=p.getTextContent(),m=p.getTextGuideLine();p.stateTransition&&(p.stateTransition=null),h&&h.stateTransition&&(h.stateTransition=null),m&&m.stateTransition&&(m.stateTransition=null),p.hasState()?(p.prevStates=p.currentStates,p.clearStates()):p.prevStates&&(p.prevStates=null)}})}function c(d,f){var p=d.getModel("stateAnimation"),h=d.isAnimationEnabled(),m=p.get("duration"),v=m>0?{duration:m,delay:p.get("delay"),easing:p.get("easing")}:null;f.eachRendered(function(g){if(g.states&&g.states.emphasis){if(Fb(g))return;if(g instanceof ea&&N0t(g),g.__dirty){var b=g.prevStates;b&&g.useStates(b)}if(h){g.stateTransition=v;var C=g.getTextContent(),y=g.getTextGuideLine();C&&(C.stateTransition=v),y&&(y.stateTransition=v)}g.__dirty&&i(g)}})}UY=function(d){return new((function(f){Nt(p,f);function p(){return f!==null&&f.apply(this,arguments)||this}return p.prototype.getCoordinateSystems=function(){return d._coordSysMgr.getCoordinateSystems()},p.prototype.getComponentByElement=function(h){for(;h;){var m=h.__ecComponentInfo;if(m!=null)return d._model.getComponent(m.mainType,m.index);h=h.parent}},p.prototype.enterEmphasis=function(h,m){A0(h,m),Kl(d)},p.prototype.leaveEmphasis=function(h,m){D0(h,m),Kl(d)},p.prototype.enterBlur=function(h){k0t(h),Kl(d)},p.prototype.leaveBlur=function(h){ive(h),Kl(d)},p.prototype.enterSelect=function(h){ove(h),Kl(d)},p.prototype.leaveSelect=function(h){lve(h),Kl(d)},p.prototype.getModel=function(){return d.getModel()},p.prototype.getViewOfComponentModel=function(h){return d.getViewOfComponentModel(h)},p.prototype.getViewOfSeriesModel=function(h){return d.getViewOfSeriesModel(h)},p.prototype.getMainProcessVersion=function(){return d[Z8]},p})(qve))(d)},V1e=function(d){function f(p,h){for(var m=0;m=0)){YY.push(n);var i=v1e.wrapStageHandler(n,a);i.__prio=t,i.__raw=n,e.push(i)}}function d$(e,t){eL[e]=t}function q2t(e){zhe({createCanvas:e})}function U1e(e,t,n){var r=x1e("registerMap");r&&r(e,t,n)}function Y2t(e){var t=x1e("getMap");return t&&t(e)}var q1e=Zyt;Fp(r$,kbt);Fp(NF,_bt);Fp(NF,xbt);Fp(r$,Wbt);Fp(NF,Gbt);Fp(R1e,F2t);s$(Jve);u$(T2t,Lyt);d$("default",Mbt);yu({type:fm,event:fm,update:fm},Bi);yu({type:C7,event:C7,update:C7},Bi);yu({type:aC,event:vN,update:aC,action:Bi,refineEvent:f$,publishNonRefinedEvent:!0});yu({type:xR,event:vN,update:xR,action:Bi,refineEvent:f$,publishNonRefinedEvent:!0});yu({type:iC,event:vN,update:iC,action:Bi,refineEvent:f$,publishNonRefinedEvent:!0});function f$(e,t,n,r){return{eventContent:{selected:R0t(n),isFromClick:t.isFromClick||!1}}}l$("default",{});l$("dark",C1e);var J2t={};function ly(e){return e==null?0:e.length||1}function JY(e){return e}var p$=(function(){function e(t,n,r,a,i,o){this._old=t,this._new=n,this._oldKeyGetter=r||JY,this._newKeyGetter=a||JY,this.context=i,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,n=this._new,r={},a=new Array(t.length),i=new Array(n.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(n,r,i,"_newKeyGetter");for(var o=0;o1){var c=s.shift();s.length===1&&(r[l]=s[0]),this._update&&this._update(c,o)}else u===1?(r[l]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},a={},i=[],o=[];this._initIndexMap(t,r,i,"_oldKeyGetter"),this._initIndexMap(n,a,o,"_newKeyGetter");for(var l=0;l1&&f===1)this._updateManyToOne&&this._updateManyToOne(c,u),a[s]=null;else if(d===1&&f>1)this._updateOneToMany&&this._updateOneToMany(c,u),a[s]=null;else if(d===1&&f===1)this._update&&this._update(c,u),a[s]=null;else if(d>1&&f>1)this._updateManyToMany&&this._updateManyToMany(c,u),a[s]=null;else if(d>1)for(var p=0;p1)for(var l=0;l30}var sy=Sn,Zd=cn,r5t=typeof Int32Array=="undefined"?Array:Int32Array,a5t="e\0\0",XY=-1,i5t=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],o5t=["_approximateExtent"],ZY,n3,uy,cy,SA,dy,AA,h$=(function(){function e(t,n){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 r,a=!1;J1e(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(a=!0,r=t),r=r||["x","y"];for(var i={},o=[],l={},s=!1,u={},c=0;c=n)){var r=this._store,a=r.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,l=a.getSource().sourceFormat,s=l===Hl;if(s&&!a.pure)for(var u=[],c=t;c0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,a=r[t];a||(a=r[t]={});var i=a[n];return i==null&&(i=this.getVisual(n),rn(i)?i=i.slice():sy(i)&&(i=Gt({},i)),a[n]=i),i},e.prototype.setItemVisual=function(t,n,r){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,sy(n)?Gt(a,n):a[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){sy(t)?Gt(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?Gt(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;y0t(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){_e(this._graphicEls,function(r,a){r&&t&&t.call(n,r,a)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Zd(this.dimensions,this._getDimInfo,this),this.hostModel)),SA(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];Pn(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var a=r.apply(this,arguments);return n.apply(this,[a].concat(fF(arguments)))})},e.internalField=(function(){ZY=function(t){var n=t._invertedIndicesMap;_e(n,function(r,a){var i=t._dimInfos[a],o=i.ordinalMeta,l=t._store;if(o){r=n[a]=new r5t(o.categories.length);for(var s=0;s1&&(s+="__ec__"+c),a[n]=s}}})(),e})();function l5t(e,t){return m$(e,t).dimensions}function m$(e,t){XN(e)||(e=Xve(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],a=jn(),i=[],o=u5t(e,n,r,t.dimensionsCount),l=t.canOmitUnusedDimensions&&Q1e(o),s=r===e.dimensionsDefine,u=s?Z1e(e):X1e(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,o));for(var d=jn(c),f=new i1e(o),p=0;p0&&(r.name=a+(i-1)),i++,t.set(a,i)}}function u5t(e,t,n,r){var a=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return _e(t,function(i){var o;Sn(i)&&(o=i.dimsDef)&&(a=Math.max(a,o.length))}),a}function c5t(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var d5t=(function(){function e(t){this.coordSysDims=[],this.axisMap=jn(),this.categoryAxisMap=jn(),this.coordSysName=t}return e})();function f5t(e){var t=e.get("coordinateSystem"),n=new d5t(t),r=p5t[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var p5t={cartesian2d:function(e,t,n,r){var a=e.getReferringComponents("xAxis",xi).models[0],i=e.getReferringComponents("yAxis",xi).models[0];t.coordSysDims=["x","y"],n.set("x",a),n.set("y",i),Wv(a)&&(r.set("x",a),t.firstCategoryDimIndex=0),Wv(i)&&(r.set("y",i),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var a=e.getReferringComponents("singleAxis",xi).models[0];t.coordSysDims=["single"],n.set("single",a),Wv(a)&&(r.set("single",a),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var a=e.getReferringComponents("polar",xi).models[0],i=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",i),n.set("angle",o),Wv(i)&&(r.set("radius",i),t.firstCategoryDimIndex=0),Wv(o)&&(r.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var a=e.ecModel,i=a.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=i.dimensions.slice();_e(i.parallelAxisIndex,function(l,s){var u=a.getComponent("parallelAxis",l),c=o[s];n.set(c,u),Wv(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=s))})},matrix:function(e,t,n,r){var a=e.getReferringComponents("matrix",xi).models[0];t.coordSysDims=["x","y"];var i=a.getDimensionModel("x"),o=a.getDimensionModel("y");n.set("x",i),n.set("y",o),r.set("x",i),r.set("y",o)}};function Wv(e){return e.get("type")==="category"}function e0e(e,t,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,i,o,l;h5t(t)?i=t:(o=t.schema,i=o.dimensions,l=t.store);var s=!!(e&&e.get("stack")),u,c,d,f;if(_e(i,function(b,C){gn(b)&&(i[C]=b={name:b}),s&&!b.isExtraCoord&&(!r&&!u&&b.ordinalMeta&&(u=b),!c&&b.type!=="ordinal"&&b.type!=="time"&&(!a||a===b.coordDim)&&(c=b))}),c&&!r&&!u&&(r=!0),c){d="__\0ecstackresult_"+e.id,f="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var p=c.coordDim,h=c.type,m=0;_e(i,function(b){b.coordDim===p&&m++});var v={name:d,coordDim:p,coordDimIndex:m,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},g={name:f,coordDim:f,coordDimIndex:m+1,type:h,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(l&&(v.storeDimIndex=l.ensureCalculationDimension(f,h),g.storeDimIndex=l.ensureCalculationDimension(d,h)),o.appendCalculationDimension(v),o.appendCalculationDimension(g)):(i.push(v),i.push(g))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:f,stackResultDimension:d}}function h5t(e){return!J1e(e.schema)}function fp(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function t0e(e,t){return fp(e,t)?e.getCalculationInfo("stackResultDimension"):t}function m5t(e,t){var n=e.get("coordinateSystem"),r=RF.get(n),a;return t&&t.coordSysDims&&(a=cn(t.coordSysDims,function(i){var o={name:i},l=t.axisMap.get(i);if(l){var s=l.get("type");o.type=Q2t(s)}return o})),a||(a=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),a}function v5t(e,t,n){var r,a;return n&&_e(e,function(i,o){var l=i.coordDim,s=n.categoryAxisMap.get(l);s&&(r==null&&(r=o),i.ordinalMeta=s.getOrdinalMeta(),t&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(a=!0)}),!a&&r!=null&&(e[r].otherDims.itemName=0),r}function VF(e,t,n){n=n||{};var r=t.getSourceManager(),a,i=!1;a=r.getSource(),i=a.sourceFormat===Hl;var o=f5t(t),l=m5t(t,o),s=n.useEncodeDefaulter,u=Pn(s)?s:s?Rr(uyt,l,t):null,c={coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},d=m$(a,c),f=v5t(d.dimensions,n.createInvertedIndices,o),p=i?null:r.getSharedDataStore(d),h=e0e(t,{schema:d,store:p}),m=new h$(d,t);m.setCalculationInfo(h);var v=f!=null&&g5t(a)?function(g,b,C,y){return y===f?C:this.defaultDimValueGetter(g,b,C,y)}:null;return m.hasItemOption=!1,m.initData(i?a:p,null,v),m}function g5t(e){if(e.sourceFormat===Hl){var t=y5t(e.data||[]);return!rn(v4(t))}}function y5t(e){for(var t=0;ta&&(o=i.interval=a);var l=i.intervalPrecision=t5(o),s=i.niceTickExtent=[Mi(Math.ceil(e[0]/o)*o,l),Mi(Math.floor(e[1]/o)*o,l)];return C5t(s,e),i}function DA(e){var t=Math.pow(10,yF(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,Mi(n*t)}function t5(e){return ju(e)+2}function QY(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function C5t(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),QY(e,0,t),QY(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function v$(e,t){return e>=t[0]&&e<=t[1]}var F5t=(function(){function e(){this.normalize=eJ,this.scale=tJ}return e.prototype.updateMethods=function(t){t.hasBreaks()?(this.normalize=wn(t.normalize,t),this.scale=wn(t.scale,t)):(this.normalize=eJ,this.scale=tJ)},e})();function eJ(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function tJ(e,t){return e*(t[1]-t[0])+t[0]}function nL(e,t,n){var r=Math.log(e);return[Math.log(n?t[0]:Math.max(0,t[0]))/r,Math.log(n?t[1]:Math.max(0,t[1]))/r]}var Ep=(function(){function e(t){this._calculator=new F5t,this._setting=t||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(t){return this._setting[t]},e.prototype._innerUnionExtent=function(t){var n=this._extent;this._innerSetExtent(t[0]n[1]?t[1]:n[1])},e.prototype.unionExtentFromData=function(t,n){this._innerUnionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){this._innerSetExtent(t,n)},e.prototype._innerSetExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n),this._brkCtx&&this._brkCtx.update(r)},e.prototype.setBreaksFromOption=function(t){},e.prototype._innerSetBreak=function(t){this._brkCtx&&(this._brkCtx.setBreaks(t),this._calculator.updateMethods(this._brkCtx),this._brkCtx.update(this._extent))},e.prototype._innerGetBreaks=function(){return this._brkCtx?this._brkCtx.breaks:[]},e.prototype.hasBreaks=function(){return this._brkCtx?this._brkCtx.hasBreaks():!1},e.prototype._getExtentSpanWithBreaks=function(){return this._brkCtx&&this._brkCtx.hasBreaks()?this._brkCtx.getExtentSpan():this._extent[1]-this._extent[0]},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e})();bF(Ep);var E5t=0,rL=(function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++E5t,this._onCollect=t.onCollect}return e.createByAxisModel=function(t){var n=t.option,r=n.data,a=r&&cn(r,w5t);return new e({categories:a,needCollect:!a,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!gn(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,this._onCollect&&this._onCollect(t,n),n;var a=this._getOrCreateMap();return n=a.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,a.set(t,n),this._onCollect&&this._onCollect(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=jn(this.categories))},e})();function w5t(e){return Sn(e)&&e.value!=null?e.value:e+""}var n0e=(function(e){Nt(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var a=r.getSetting("ordinalMeta");return a||(a=new rL({})),rn(a)&&(a=new rL({categories:cn(a,function(i){return Sn(i)?i.value:i})})),r._ordinalMeta=a,r._extent=r.getSetting("extent")||[0,a.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:gn(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return v$(n,this._extent)&&n>=0&&n=0&&n=0&&n=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t})(Ep);Ep.registerClass(n0e);var Qd=Mi,_0=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n==null||n===""?NaN:Number(n)},t.prototype.contain=function(n){return v$(n,this._extent)},t.prototype.normalize=function(n){return this._calculator.normalize(n,this._extent)},t.prototype.scale=function(n){return this._calculator.scale(n,this._extent)},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=t5(n)},t.prototype.getTicks=function(n){n=n||{};var r=this._interval,a=this._extent,i=this._niceExtent,o=this._intervalPrecision,l=cC(),s=[];if(!r)return s;n.breakTicks;var u=1e4;a[0]=0&&(d=Qd(d+f*r,o))}if(s.length>0&&d===s[s.length-1].value)break;if(s.length>u)return[]}var p=s.length?s[s.length-1].value:i[1];return a[1]>p&&(n.expandToNicedExtent?s.push({value:Qd(p+r,o)}):s.push({value:a[1]})),n.breakTicks,s},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks({expandToNicedExtent:!0}),a=[],i=this.getExtent(),o=1;oi[0]&&h0&&(i=i===null?l:Math.min(i,l))}n[r]=i}}return n}function o0e(e){var t=D5t(e),n=[];return _e(e,function(r){var a=r.coordinateSystem,i=a.getBaseAxis(),o=i.getExtent(),l;if(i.type==="category")l=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var s=i.dim+"_"+i.index,u=t[s],c=Math.abs(o[1]-o[0]),d=i.scale.getExtent(),f=Math.abs(d[1]-d[0]);l=u?c/f*u:c}else{var p=r.getData();l=Math.abs(o[1]-o[0])/p.count()}var h=Br(r.get("barWidth"),l),m=Br(r.get("barMaxWidth"),l),v=Br(r.get("barMinWidth")||(s0e(r)?.5:1),l),g=r.get("barGap"),b=r.get("barCategoryGap"),C=r.get("defaultBarGap");n.push({bandWidth:l,barWidth:h,barMaxWidth:m,barMinWidth:v,barGap:g,barCategoryGap:b,defaultBarGap:C,axisKey:g$(i),stackId:a0e(r)})}),T5t(n)}function T5t(e){var t={};_e(e,function(r,a){var i=r.axisKey,o=r.bandWidth,l=t[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:r.defaultBarGap||0,stacks:{}},s=l.stacks;t[i]=l;var u=r.stackId;s[u]||l.autoWidthCount++,s[u]=s[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!s[u].width&&(s[u].width=c,c=Math.min(l.remainedWidth,c),l.remainedWidth-=c);var d=r.barMaxWidth;d&&(s[u].maxWidth=d);var f=r.barMinWidth;f&&(s[u].minWidth=f);var p=r.barGap;p!=null&&(l.gap=p);var h=r.barCategoryGap;h!=null&&(l.categoryGap=h)});var n={};return _e(t,function(r,a){n[a]={};var i=r.stacks,o=r.bandWidth,l=r.categoryGap;if(l==null){var s=Fr(i).length;l=Math.max(35-s*4,15)+"%"}var u=Br(l,o),c=Br(r.gap,1),d=r.remainedWidth,f=r.autoWidthCount,p=(d-u)/(f+(f-1)*c);p=Math.max(p,0),_e(i,function(g){var b=g.maxWidth,C=g.minWidth;if(g.width){var y=g.width;b&&(y=Math.min(y,b)),C&&(y=Math.max(y,C)),g.width=y,d-=y+c*y,f--}else{var y=p;b&&by&&(y=C),y!==p&&(g.width=y,d-=y+c*y,f--)}}),p=(d-u)/(f+(f-1)*c),p=Math.max(p,0);var h=0,m;_e(i,function(g,b){g.width||(g.width=p),m=g,h+=g.width*(1+c)}),m&&(h-=m.width*c);var v=-h/2;_e(i,function(g,b){n[a][b]=n[a][b]||{bandWidth:o,offset:v,width:g.width},v+=g.width*(1+c)})}),n}function k5t(e,t,n){if(e&&t){var r=e[g$(t)];return r}}function _5t(e,t){var n=i0e(e,t),r=o0e(n);_e(n,function(a){var i=a.getData(),o=a.coordinateSystem,l=o.getBaseAxis(),s=a0e(a),u=r[g$(l)][s],c=u.offset,d=u.width;i.setLayout({bandWidth:u.bandWidth,offset:c,size:d})})}function x5t(e){return{seriesType:e,plan:e$(),reset:function(t){if(l0e(t)){var n=t.getData(),r=t.coordinateSystem,a=r.getBaseAxis(),i=r.getOtherAxis(a),o=n.getDimensionIndex(n.mapDimension(i.dim)),l=n.getDimensionIndex(n.mapDimension(a.dim)),s=t.get("showBackground",!0),u=n.mapDimension(i.dim),c=n.getCalculationInfo("stackResultDimension"),d=fp(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),f=i.isHorizontal(),p=M5t(a,i),h=s0e(t),m=t.get("barMinHeight")||0,v=c&&n.getDimensionIndex(c),g=n.getLayout("size"),b=n.getLayout("offset");return{progress:function(C,y){for(var E=C.count,w=h&&cd(E*3),S=h&&s&&cd(E*3),A=h&&cd(E),D=r.master.getRect(),k=f?D.width:D.height,x,_=y.getStore(),M=0;(x=C.next())!=null;){var L=_.get(d?v:o,x),I=_.get(l,x),P=p,B=void 0;d&&(B=+L-_.get(o,x));var T=void 0,O=void 0,N=void 0,V=void 0;if(f){var Y=r.dataToPoint([L,I]);if(d){var z=r.dataToPoint([B,I]);P=z[0]}T=P,O=Y[1]+b,N=Y[0]-P,V=g,Math.abs(N)0?n:1:n))}var B5t=function(e,t,n,r){for(;n>>1;e[a][1]a&&(this._approxInterval=a);var o=r3.length,l=Math.min(B5t(r3,this._approxInterval,0,o),o-1);this._interval=r3[l][1],this._intervalPrecision=t5(this._interval),this._minLevelUnit=r3[Math.max(l-1,0)][0]},t.prototype.parse=function(n){return Xr(n)?n:+Nd(n)},t.prototype.contain=function(n){return v$(n,this._extent)},t.prototype.normalize=function(n){return this._calculator.normalize(n,this._extent)},t.prototype.scale=function(n){return this._calculator.scale(n,this._extent)},t.type="time",t})(_0),r3=[["second",ON],["minute",PN],["hour",wb],["quarter-day",wb*6],["half-day",wb*12],["day",rs*1.2],["half-week",rs*3.5],["week",rs*7],["month",rs*31],["quarter",rs*95],["half-year",Kq/2],["year",Kq]];function R5t(e,t,n,r){return fC(new Date(t),e,r).getTime()===fC(new Date(n),e,r).getTime()}function L5t(e,t){return e/=rs,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function O5t(e){var t=30*rs;return e/=t,e>6?6:e>3?3:e>2?2:1}function P5t(e){return e/=wb,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function nJ(e,t){return e/=t?PN:ON,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function I5t(e){return sN(e,!0)}function N5t(e,t,n){var r=Math.max(0,fr(pm,t)-1);return fC(new Date(e),pm[r],n).getTime()}function $5t(e,t){var n=new Date(0);n[e](1);var r=n.getTime();n[e](1+t);var a=n.getTime()-r;return function(i,o){return Math.max(0,Math.round((o-i)/a))}}function V5t(e,t,n,r,a,i){var o=1e4,l=Vgt,s=0;function u(M,L,I,P,B,T,O){for(var N=$5t(B,M),V=L,Y=new Date(V);Vo));)if(Y[B](Y[P]()+M),V=Y.getTime(),i){var z=i.calcNiceTickMultiple(V,N);z>0&&(Y[B](Y[P]()+z*M),V=Y.getTime())}O.push({value:V,notAdd:!0})}function c(M,L,I){var P=[],B=!L.length;if(!R5t(Sb(M),r[0],r[1],n)){B&&(L=[{value:N5t(r[0],M,n)},{value:r[1]}]);for(var T=0;T=r[0]&&O<=r[1]&&u(V,O,N,Y,z,ee,P),M==="year"&&I.length>1&&T===0&&I.unshift({value:I[0].value-V})}}for(var T=0;T=r[0]&&y<=r[1]&&p++)}var E=a/t;if(p>E*1.5&&h>E/1.5||(d.push(b),p>E||e===l[m]))break}f=[]}}}for(var w=_a(cn(d,function(M){return _a(M,function(L){return L.value>=r[0]&&L.value<=r[1]&&!L.notAdd})}),function(M){return M.length>0}),S=[],A=w.length-1,m=0;m0;)i*=10;var l=[aL(z5t(r[0]/i)*i),aL(H5t(r[1]/i)*i)];this._interval=i,this._intervalPrecision=t5(i),this._niceExtent=l}},t.prototype.calcNiceExtent=function(n){e.prototype.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.contain=function(n){return n=i3(n)/i3(this.base),e.prototype.contain.call(this,n)},t.prototype.normalize=function(n){return n=i3(n)/i3(this.base),e.prototype.normalize.call(this,n)},t.prototype.scale=function(n){return n=e.prototype.scale.call(this,n),a3(this.base,n)},t.prototype.setBreaksFromOption=function(n){},t.type="log",t})(_0);function TA(e,t){return aL(e,ju(t))}Ep.registerClass(c0e);var W5t=(function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]0&&s>0&&!u&&(l=0),l<0&&s<0&&!c&&(s=0));var f=this._determinedMin,p=this._determinedMax;return f!=null&&(l=f,u=!0),p!=null&&(s=p,c=!0),{min:l,max:s,minFixed:u,maxFixed:c,isBlank:d}},e.prototype.modifyDataMinMax=function(t,n){this[j5t[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=G5t[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e})(),G5t={min:"_determinedMin",max:"_determinedMax"},j5t={min:"_dataMin",max:"_dataMax"};function d0e(e,t,n){var r=e.rawExtentInfo;return r||(r=new W5t(e,t,n),e.rawExtentInfo=r,r)}function o3(e,t){return t==null?null:F0(t)?NaN:e.parse(t)}function f0e(e,t){var n=e.type,r=d0e(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var a=r.min,i=r.max,o=t.ecModel;if(o&&n==="time"){var l=i0e("bar",o),s=!1;if(_e(l,function(d){s=s||d.getBaseAxis()===t.axis}),s){var u=o0e(l),c=K5t(a,i,t,u);a=c.min,i=c.max}}return{extent:[a,i],fixMin:r.minFixed,fixMax:r.maxFixed}}function K5t(e,t,n,r){var a=n.axis.getExtent(),i=Math.abs(a[1]-a[0]),o=k5t(r,n.axis);if(o===void 0)return{min:e,max:t};var l=1/0;_e(o,function(p){l=Math.min(p.offset,l)});var s=-1/0;_e(o,function(p){s=Math.max(p.offset+p.width,s)}),l=Math.abs(l),s=Math.abs(s);var u=l+s,c=t-e,d=1-(l+s)/i,f=c/d-c;return t+=f*(s/u),e-=f*(l/u),{min:e,max:t}}function n5(e,t){var n=t,r=f0e(e,n),a=r.extent,i=n.get("splitNumber");e instanceof c0e&&(e.base=n.get("logBase"));var o=e.type,l=n.get("interval"),s=o==="interval"||o==="time";e.setBreaksFromOption(h0e(n)),e.setExtent(a[0],a[1]),e.calcNiceExtent({splitNumber:i,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?n.get("minInterval"):null,maxInterval:s?n.get("maxInterval"):null}),l!=null&&e.setInterval&&e.setInterval(l)}function y$(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new n0e({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new u0e({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Ep.getClass(t)||_0)}}function U5t(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function S4(e){var t=e.getLabelModel().get("formatter");if(e.type==="time"){var n=Hgt(t);return function(a,i){return e.scale.getFormattedLabel(a,i,n)}}else{if(gn(t))return function(a){var i=e.scale.getLabel(a),o=t.replace("{value}",i!=null?i:"");return o};if(Pn(t)){if(e.type==="category")return function(a,i){return t(wC(e,a),a.value-e.scale.getExtent()[0],null)};var r=cC();return function(a,i){var o=null;return r&&(o=r.makeAxisLabelFormatterParamBreak(o,a.break)),t(wC(e,a),i,o)}}else return function(a){return e.scale.getLabel(a)}}}function wC(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function b$(e){var t=e.get("interval");return t==null?"auto":t}function p0e(e){return e.type==="category"&&b$(e.getLabelModel())===0}function SC(e,t){var n={};return _e(e.mapDimensionsAll(t),function(r){n[t0e(e,r)]=!0}),Fr(n)}function q5t(e,t,n){t&&_e(SC(t,n),function(r){var a=t.getApproximateExtent(r);a[0]e[1]&&(e[1]=a[1])})}function x0(e){return e==="middle"||e==="center"}function r5(e){return e.getShallow("show")}function h0e(e){var t=e.get("breaks",!0);t==null}var C$=(function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e})();function Y5t(e){return VF(null,e)}var J5t={isDimensionStacked:fp,enableDataStack:e0e,getStackedDimension:t0e};function X5t(e,t){var n=t;t instanceof va||(n=new va(t));var r=y$(n);return r.setExtent(e[0],e[1]),n5(r,n),r}function Z5t(e){$l(e,C$)}function Q5t(e,t){return t=t||{},ho(e,null,null,t.state!=="normal")}const e4t=Object.freeze(Object.defineProperty({__proto__:null,createDimensions:l5t,createList:Y5t,createScale:X5t,createSymbol:Cs,createTextStyle:Q5t,dataStack:J5t,enableHoverEmphasis:j2,getECData:Dr,getLayoutRect:Pl,mixinAxisModelCommonMethods:Z5t},Symbol.toStringTag,{value:"Module"}));var rJ=[],t4t={registerPreprocessor:s$,registerProcessor:u$,registerPostInit:W1e,registerPostUpdate:G1e,registerUpdateLifecycle:$F,registerAction:yu,registerCoordinateSystem:j1e,registerLayout:K1e,registerVisual:Fp,registerTransform:q1e,registerLoading:d$,registerMap:U1e,registerImpl:E2t,PRIORITY:L1e,ComponentModel:_r,ComponentView:bi,SeriesModel:hl,ChartView:Io,registerComponentModel:function(e){_r.registerClass(e)},registerComponentView:function(e){bi.registerClass(e)},registerSeriesModel:function(e){hl.registerClass(e)},registerChartView:function(e){Io.registerClass(e)},registerCustomSeries:function(e,t){},registerSubTypeDefaulter:function(e,t){_r.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Dme(e,t)}};function ml(e){if(rn(e)){_e(e,function(t){ml(t)});return}fr(rJ,e)>=0||(rJ.push(e),Pn(e)&&(e={install:e}),e.install(t4t))}var n4t=1e-8;function aJ(e,t){return Math.abs(e-t)a&&(r=o,a=s)}if(r)return a4t(r.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(n){var r=this._rect;if(r&&!n)return r;var a=[1/0,1/0],i=[-1/0,-1/0],o=this.geometries;return _e(o,function(l){l.type==="polygon"?oJ(l.exterior,a,i,n):_e(l.points,function(s){oJ(s,a,i,n)})}),isFinite(a[0])&&isFinite(a[1])&&isFinite(i[0])&&isFinite(i[1])||(a[0]=a[1]=i[0]=i[1]=0),r=new nr(a[0],a[1],i[0]-a[0],i[1]-a[1]),n||(this._rect=r),r},t.prototype.contain=function(n){var r=this.getBoundingRect(),a=this.geometries;if(!r.contain(n[0],n[1]))return!1;e:for(var i=0,o=a.length;i>1^-(l&1),s=s>>1^-(s&1),l+=a,s+=i,a=l,i=s,r.push([l/n,s/n])}return r}function uJ(e,t){return e=o4t(e),cn(_a(e.features,function(n){return n.geometry&&n.properties&&n.geometry.coordinates.length>0}),function(n){var r=n.properties,a=n.geometry,i=[];switch(a.type){case"Polygon":var o=a.coordinates;i.push(new lJ(o[0],o.slice(1)));break;case"MultiPolygon":_e(a.coordinates,function(s){s[0]&&i.push(new lJ(s[0],s.slice(1)))});break;case"LineString":i.push(new sJ([a.coordinates]));break;case"MultiLineString":i.push(new sJ(a.coordinates))}var l=new i4t(r[t||"name"],i,r.cp);return l.properties=r,l})}const l4t=Object.freeze(Object.defineProperty({__proto__:null,MAX_SAFE_INTEGER:e1t,asc:Pf,getPercentWithPrecision:Zvt,getPixelPrecision:oN,getPrecision:ju,getPrecisionSafe:xme,isNumeric:Rme,isRadianAroundZero:V2,linearMap:Ca,nice:sN,numericToNumber:H2,parseDate:Nd,parsePercent:Br,quantile:n1t,quantity:Bme,quantityExponent:yF,reformIntervals:SR,remRadian:lN,round:Mi},Symbol.toStringTag,{value:"Module"})),s4t=Object.freeze(Object.defineProperty({__proto__:null,format:w4,parse:Nd,roundTime:fC},Symbol.toStringTag,{value:"Module"})),u4t=Object.freeze(Object.defineProperty({__proto__:null,Arc:y4,BezierCurve:DF,BoundingRect:nr,Circle:cg,CompoundPath:CN,Ellipse:AF,Group:oa,Image:Vl,IncrementalDisplayable:yve,Line:Rl,LinearGradient:TF,Polygon:nv,Polyline:bp,RadialGradient:vve,Rect:Zr,Ring:g4,Sector:vu,Text:Qr,clipPointsByRect:kN,clipRectByRect:Eve,createIcon:b4,extendPath:Cve,extendShape:bve,getShapeClass:SN,getTransform:Uf,initProps:Ol,makeImage:AN,makePath:kF,mergePath:Hu,registerShape:Ss,resizePath:DN,updateProps:qi},Symbol.toStringTag,{value:"Module"})),c4t=Object.freeze(Object.defineProperty({__proto__:null,addCommas:WN,capitalFirst:Ygt,encodeHTML:oo,formatTime:qgt,formatTpl:jN,getTextRect:Ugt,getTooltipMarker:Ive,normalizeCssArray:fg,toCamelCase:GN,truncateText:L1t},Symbol.toStringTag,{value:"Module"})),d4t=Object.freeze(Object.defineProperty({__proto__:null,bind:wn,clone:Rn,curry:Rr,defaults:or,each:_e,extend:Gt,filter:_a,indexOf:fr,inherits:JI,isArray:rn,isFunction:Pn,isObject:Sn,isString:gn,map:cn,merge:lr,reduce:ou},Symbol.toStringTag,{value:"Module"}));var f4t=Gr(),Db=Gr(),lu={estimate:1,determine:2};function AC(e){return{out:{noPxChangeTryDetermine:[]},kind:e}}function g0e(e,t){var n=cn(t,function(r){return e.scale.parse(r)});return e.type==="time"&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function p4t(e,t){var n=e.getLabelModel().get("customValues");if(n){var r=S4(e),a=e.scale.getExtent(),i=g0e(e,n),o=_a(i,function(l){return l>=a[0]&&l<=a[1]});return{labels:cn(o,function(l){var s={value:l};return{formattedLabel:r(s),rawLabel:e.scale.getLabel(s),tickValue:l,time:void 0,break:void 0}})}}return e.type==="category"?m4t(e,t):g4t(e)}function h4t(e,t,n){var r=e.getTickModel().get("customValues");if(r){var a=e.scale.getExtent(),i=g0e(e,r);return{ticks:_a(i,function(o){return o>=a[0]&&o<=a[1]})}}return e.type==="category"?v4t(e,t):{ticks:cn(e.scale.getTicks(n),function(o){return o.value})}}function m4t(e,t){var n=e.getLabelModel(),r=y0e(e,n,t);return!n.get("show")||e.scale.isBlank()?{labels:[]}:r}function y0e(e,t,n){var r=b4t(e),a=b$(t),i=n.kind===lu.estimate;if(!i){var o=C0e(r,a);if(o)return o}var l,s;Pn(a)?l=w0e(e,a):(s=a==="auto"?C4t(e,n):a,l=E0e(e,s));var u={labels:l,labelCategoryInterval:s};return i?n.out.noPxChangeTryDetermine.push(function(){return iL(r,a,u),!0}):iL(r,a,u),u}function v4t(e,t){var n=y4t(e),r=b$(t),a=C0e(n,r);if(a)return a;var i,o;if((!t.get("show")||e.scale.isBlank())&&(i=[]),Pn(r))i=w0e(e,r,!0);else if(r==="auto"){var l=y0e(e,e.getLabelModel(),AC(lu.determine));o=l.labelCategoryInterval,i=cn(l.labels,function(s){return s.tickValue})}else o=r,i=E0e(e,o,!0);return iL(n,r,{ticks:i,tickCategoryInterval:o})}function g4t(e){var t=e.scale.getTicks(),n=S4(e);return{labels:cn(t,function(r,a){return{formattedLabel:n(r,a),rawLabel:e.scale.getLabel(r),tickValue:r.value,time:r.time,break:r.break}})}}var y4t=b0e("axisTick"),b4t=b0e("axisLabel");function b0e(e){return function(n){return Db(n)[e]||(Db(n)[e]={list:[]})}}function C0e(e,t){for(var n=0;nc&&(u=Math.max(1,Math.floor(s/c)));for(var d=l[0],f=e.dataToCoord(d+1)-e.dataToCoord(d),p=Math.abs(f*Math.cos(i)),h=Math.abs(f*Math.sin(i)),m=0,v=0;d<=l[1];d+=u){var g=0,b=0,C=vF(a({value:d}),r.font,"center","top");g=C.width*1.3,b=C.height*1.3,m=Math.max(m,g,7),v=Math.max(v,b,7)}var y=m/p,E=v/h;isNaN(y)&&(y=1/0),isNaN(E)&&(E=1/0);var w=Math.max(0,Math.floor(Math.min(y,E)));if(n===lu.estimate)return t.out.noPxChangeTryDetermine.push(wn(E4t,null,e,w,s)),w;var S=F0e(e,w,s);return S!=null?S:w}function E4t(e,t,n){return F0e(e,t,n)==null}function F0e(e,t,n){var r=f4t(e.model),a=e.getExtent(),i=r.lastAutoInterval,o=r.lastTickCount;if(i!=null&&o!=null&&Math.abs(i-t)<=1&&Math.abs(o-n)<=1&&i>t&&r.axisExtent0===a[0]&&r.axisExtent1===a[1])return i;r.lastTickCount=n,r.lastAutoInterval=t,r.axisExtent0=a[0],r.axisExtent1=a[1]}function w4t(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 E0e(e,t,n){var r=S4(e),a=e.scale,i=a.getExtent(),o=e.getLabelModel(),l=[],s=Math.max((t||0)+1,1),u=i[0],c=a.count();u!==0&&s>1&&c/s>2&&(u=Math.round(Math.ceil(u/s)*s));var d=p0e(e),f=o.get("showMinLabel")||d,p=o.get("showMaxLabel")||d;f&&u!==i[0]&&m(i[0]);for(var h=u;h<=i[1];h+=s)m(h);p&&h-s!==i[1]&&m(i[1]);function m(v){var g={value:v};l.push(n?v:{formattedLabel:r(g),rawLabel:a.getLabel(g),tickValue:v,time:void 0,break:void 0})}return l}function w0e(e,t,n){var r=e.scale,a=S4(e),i=[];return _e(r.getTicks(),function(o){var l=r.getLabel(o),s=o.value;t(o.value,l)&&i.push(n?s:{formattedLabel:a(o),rawLabel:l,tickValue:s,time:void 0,break:void 0})}),i}var cJ=[0,1],wp=(function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);return t>=r&&t<=a},e.prototype.containData=function(t){return this.scale.contain(this.scale.parse(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return oN(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,a=this.scale;return t=a.normalize(a.parse(t)),this.onBand&&a.type==="ordinal"&&(r=r.slice(),dJ(r,a.count())),Ca(t,cJ,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(r=r.slice(),dJ(r,a.count()));var i=Ca(t,r,cJ,n);return this.scale.scale(i)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=h4t(this,n,{breakTicks:t.breakTicks,pruneByBreak:t.pruneByBreak}),a=r.ticks,i=cn(a,function(l){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(l):l),tickValue:l}},this),o=n.get("alignWithLabel");return S4t(this,i,o,t.clamp),i},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),a=cn(r,function(i){return cn(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return a},e.prototype.getViewLabels=function(t){return t=t||AC(lu.determine),p4t(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(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/r},e.prototype.calculateCategoryInterval=function(t){return t=t||AC(lu.determine),F4t(this,t)},e})();function dJ(e,t){var n=e[1]-e[0],r=t,a=n/r/2;e[0]+=a,e[1]-=a}function S4t(e,t,n,r){var a=t.length;if(!e.onBand||n||!a)return;var i=e.getExtent(),o,l;if(a===1)t[0].coord=i[0],t[0].onBand=!0,o=t[1]={coord:i[1],tickValue:t[0].tickValue,onBand:!0};else{var s=t[a-1].tickValue-t[0].tickValue,u=(t[a-1].coord-t[0].coord)/s;_e(t,function(p){p.coord-=u/2,p.onBand=!0});var c=e.scale.getExtent();l=1+c[1]-t[a-1].tickValue,o={coord:t[a-1].coord+u*l,tickValue:c[1]+1,onBand:!0},t.push(o)}var d=i[0]>i[1];f(t[0].coord,i[0])&&(r?t[0].coord=i[0]:t.shift()),r&&f(i[0],t[0].coord)&&t.unshift({coord:i[0],onBand:!0}),f(i[1],o.coord)&&(r?o.coord=i[1]:t.pop()),r&&f(o.coord,i[1])&&t.push({coord:i[1],onBand:!0});function f(p,h){return p=Mi(p),h=Mi(h),d?p>h:p0){t=t/180*Math.PI,If.fromArray(e[0]),Ya.fromArray(e[1]),Vi.fromArray(e[2]),ar.sub(Nf,If,Ya),ar.sub(zu,Vi,Ya);var n=Nf.len(),r=zu.len();if(!(n<.001||r<.001)){Nf.scale(1/n),zu.scale(1/r);var a=Nf.dot(zu),i=Math.cos(t);if(i1&&ar.copy(To,Vi),To.toArray(e[1])}}}}function x4t(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,If.fromArray(e[0]),Ya.fromArray(e[1]),Vi.fromArray(e[2]),ar.sub(Nf,Ya,If),ar.sub(zu,Vi,Ya);var r=Nf.len(),a=zu.len();if(!(r<.001||a<.001)){Nf.scale(1/r),zu.scale(1/a);var i=Nf.dot(t),o=Math.cos(n);if(i=s)ar.copy(To,Vi);else{To.scaleAndAdd(zu,l/Math.tan(Math.PI/2-c));var d=Vi.x!==Ya.x?(To.x-Ya.x)/(Vi.x-Ya.x):(To.y-Ya.y)/(Vi.y-Ya.y);if(isNaN(d))return;d<0?ar.copy(To,Ya):d>1&&ar.copy(To,Vi)}To.toArray(e[1])}}}}function xA(e,t,n,r){var a=n==="normal",i=a?e:e.ensureState(n);i.ignore=t;var o=r.get("smooth");o&&o===!0&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var l=r.getModel("lineStyle").getLineStyle();a?e.useStyle(l):i.style=l}function M4t(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var a=G6(r[0],r[1]),i=G6(r[1],r[2]);if(!a||!i){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var o=Math.min(a,i)*n,l=p7([],r[1],r[0],o/a),s=p7([],r[1],r[2],o/i),u=p7([],l,s,.5);e.bezierCurveTo(l[0],l[1],l[0],l[1],u[0],u[1]),e.bezierCurveTo(s[0],s[1],s[0],s[1],r[2][0],r[2][1])}else for(var c=1;c0){y(k*D,0,i);var x=k+S;x<0&&E(-x*D,1)}else E(-S*D,1)}}function y(S,A,D){S!==0&&(c=!0);for(var k=A;k0)for(var x=0;x0;x--){var I=D[x-1]*L;y(-I,x,i)}}}function w(S){var A=S<0?-1:1;S=Math.abs(S);for(var D=Math.ceil(S/(i-1)),k=0;k0?y(D,0,k+1):y(-D,i-k-1,i),S-=D,S<=0)return}return c}function N4t(e){var t=[];e.sort(function(u,c){return(c.suggestIgnore?1:0)-(u.suggestIgnore?1:0)||c.priority-u.priority});function n(u){if(!u.ignore){var c=u.ensureState("emphasis");c.ignore==null&&(c.ignore=!1)}u.ignore=!0}for(var r=0;r-1&&(u.style.stroke=u.style.fill,u.style.fill=Kt.color.neutral00,u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.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},t})(hl);function E$(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var a=k0(e,t,n[0]);return a!=null?a+"":null}else if(r){for(var i=[],o=0;o=0&&r.push(t[i])}return r.join(" ")}var w$=(function(e){Nt(t,e);function t(n,r,a,i){var o=e.call(this)||this;return o.updateData(n,r,a,i),o}return t.prototype._createSymbol=function(n,r,a,i,o,l){this.removeAll();var s=Cs(n,-1,-1,2,2,null,l);s.attr({z2:_n(o,100),culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=V4t,this._symbolType=n,this.add(s)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){A0(this.childAt(0))},t.prototype.downplay=function(){D0(this.childAt(0))},t.prototype.setZ=function(n,r){var a=this.childAt(0);a.zlevel=n,a.z=r},t.prototype.setDraggable=function(n,r){var a=this.childAt(0);a.draggable=n,a.cursor=!r&&n?"move":a.cursor},t.prototype.updateData=function(n,r,a,i){this.silent=!1;var o=n.getItemVisual(r,"symbol")||"circle",l=n.hostModel,s=t.getSymbolSize(n,r),u=t.getSymbolZ2(n,r),c=o!==this._symbolType,d=i&&i.disableAnimation;if(c){var f=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(o,n,r,s,u,f)}else{var p=this.childAt(0);p.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};d?p.attr(h):qi(p,h,l,r),wN(p)}if(this._updateCommon(n,r,s,a,i),c){var p=this.childAt(0);if(!d){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,Ol(p,h,l,r)}}d&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,a,i,o){var l=this.childAt(0),s=n.hostModel,u,c,d,f,p,h,m,v,g;if(i&&(u=i.emphasisItemStyle,c=i.blurItemStyle,d=i.selectItemStyle,f=i.focus,p=i.blurScope,m=i.labelStatesModels,v=i.hoverScale,g=i.cursorStyle,h=i.emphasisDisabled),!i||n.hasItemOption){var b=i&&i.itemModel?i.itemModel:n.getItemModel(r),C=b.getModel("emphasis");u=C.getModel("itemStyle").getItemStyle(),d=b.getModel(["select","itemStyle"]).getItemStyle(),c=b.getModel(["blur","itemStyle"]).getItemStyle(),f=C.get("focus"),p=C.get("blurScope"),h=C.get("disabled"),m=F4(b),v=C.getShallow("scale"),g=b.getShallow("cursor")}var y=n.getItemVisual(r,"symbolRotate");l.attr("rotation",(y||0)*Math.PI/180||0);var E=w1e(n.getItemVisual(r,"symbolOffset"),a);E&&(l.x=E[0],l.y=E[1]),g&&l.attr("cursor",g);var w=n.getItemVisual(r,"style"),S=w.fill;if(l instanceof Vl){var A=l.style;l.useStyle(Gt({image:A.image,x:A.x,y:A.y,width:A.width,height:A.height},w))}else l.__isEmptyBrush?l.useStyle(Gt({},w)):l.useStyle(w),l.style.decal=null,l.setColor(S,o&&o.symbolInnerColor),l.style.strokeNoScale=!0;var D=n.getItemVisual(r,"liftZ"),k=this._z2;D!=null?k==null&&(this._z2=l.z2,l.z2+=D):k!=null&&(l.z2=k,this._z2=null);var x=o&&o.useNameLabel;C4(l,m,{labelFetcher:s,labelDataIndex:r,defaultText:_,inheritColor:S,defaultOpacity:w.opacity});function _(I){return x?n.getName(I):E$(n,I)}this._sizeX=a[0]/2,this._sizeY=a[1]/2;var M=l.ensureState("emphasis");M.style=u,l.ensureState("select").style=d,l.ensureState("blur").style=c;var L=v==null||v===!0?Math.max(1.1,3/this._sizeY):isFinite(v)&&v>0?+v:1;M.scaleX=this._sizeX*L,M.scaleY=this._sizeY*L,this.setSymbolScale(1),K2(this,f,p,h)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,a){var i=this.childAt(0),o=Dr(this).dataIndex,l=a&&a.animation;if(this.silent=i.silent=!0,a&&a.fadeLabel){var s=i.getTextContent();s&&lC(s,{style:{opacity:0}},r,{dataIndex:o,removeOpt:l,cb:function(){i.removeTextContent()}})}else i.removeTextContent();lC(i,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:o,cb:n,removeOpt:l})},t.getSymbolSize=function(n,r){return i2t(n.getItemVisual(r,"symbolSize"))},t.getSymbolZ2=function(n,r){return n.getItemVisual(r,"z2")},t})(oa);function V4t(e,t){this.parent.drift(e,t)}function BA(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function mJ(e){return e!=null&&!Sn(e)&&(e={isIgnore:e}),e||{}}function vJ(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:F4(t),cursorStyle:t.get("cursor")}}var H4t=(function(){function e(t){this.group=new oa,this._SymbolCtor=t||w$}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=mJ(n);var r=this.group,a=t.hostModel,i=this._data,o=this._SymbolCtor,l=n.disableAnimation,s=vJ(t),u={disableAnimation:l},c=n.getSymbolPoint||function(d){return t.getItemLayout(d)};i||r.removeAll(),t.diff(i).add(function(d){var f=c(d);if(BA(t,f,d,n)){var p=new o(t,d,s,u);p.setPosition(f),t.setItemGraphicEl(d,p),r.add(p)}}).update(function(d,f){var p=i.getItemGraphicEl(f),h=c(d);if(!BA(t,h,d,n)){r.remove(p);return}var m=t.getItemVisual(d,"symbol")||"circle",v=p&&p.getSymbolType&&p.getSymbolType();if(!p||v&&v!==m)r.remove(p),p=new o(t,d,s,u),p.setPosition(h);else{p.updateData(t,d,s,u);var g={x:h[0],y:h[1]};l?p.attr(g):qi(p,g,a)}r.add(p),t.setItemGraphicEl(d,p)}).remove(function(d){var f=i.getItemGraphicEl(d);f&&f.fadeOut(function(){r.remove(f)},a)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,a){var i=t._getSymbolPoint(a);r.setPosition(i),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=vJ(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=mJ(r);function a(s){s.isGroup||(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i0?n=r[0]:r[1]<0&&(n=r[1]),n}function M0e(e,t,n,r){var a=NaN;e.stacked&&(a=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(a)&&(a=e.valueStart);var i=e.baseDataOffset,o=[];return o[i]=n.get(e.baseDim,r),o[1-i]=a,t.dataToPoint(o)}function W4t(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,a){n.push({cmd:"=",idx:a,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function G4t(e,t,n,r,a,i,o,l){for(var s=W4t(e,t),u=[],c=[],d=[],f=[],p=[],h=[],m=[],v=x0e(a,t,o),g=e.getLayout("points")||[],b=t.getLayout("points")||[],C=0;C=a||m<0)break;if(vm(g,b)){if(s){m+=i;continue}break}if(m===n)e[i>0?"moveTo":"lineTo"](g,b),d=g,f=b;else{var C=g-u,y=b-c;if(C*C+y*y<.5){m+=i;continue}if(o>0){for(var E=m+i,w=t[E*2],S=t[E*2+1];w===g&&S===b&&v=r||vm(w,S))p=g,h=b;else{k=w-u,x=S-c;var L=g-u,I=w-g,P=b-c,B=S-b,T=void 0,O=void 0;if(l==="x"){T=Math.abs(L),O=Math.abs(I);var N=k>0?1:-1;p=g-N*T*o,h=b,_=g+N*O*o,M=b}else if(l==="y"){T=Math.abs(P),O=Math.abs(B);var V=x>0?1:-1;p=g,h=b-V*T*o,_=g,M=b+V*O*o}else T=Math.sqrt(L*L+P*P),O=Math.sqrt(I*I+B*B),D=O/(O+T),p=g-k*o*(1-D),h=b-x*o*(1-D),_=g+k*o*D,M=b+x*o*D,_=ef(_,tf(w,g)),M=ef(M,tf(S,b)),_=tf(_,ef(w,g)),M=tf(M,ef(S,b)),k=_-g,x=M-b,p=g-k*T/O,h=b-x*T/O,p=ef(p,tf(u,g)),h=ef(h,tf(c,b)),p=tf(p,ef(u,g)),h=tf(h,ef(c,b)),k=g-p,x=b-h,_=g+k*O/T,M=b+x*O/T}e.bezierCurveTo(d,f,p,h,g,b),d=_,f=M}else e.lineTo(g,b)}u=g,c=b,m+=i}return v}var B0e=(function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e})(),j4t=(function(e){Nt(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:Kt.color.neutral99,fill:null}},t.prototype.getDefaultShape=function(){return new B0e},t.prototype.buildPath=function(n,r){var a=r.points,i=0,o=a.length/2;if(r.connectNulls){for(;o>0&&vm(a[o*2-2],a[o*2-1]);o--);for(;i=0){var y=u?(h-s)*C+s:(p-l)*C+l;return u?[n,y]:[y,n]}l=p,s=h;break;case o.C:p=i[d++],h=i[d++],m=i[d++],v=i[d++],g=i[d++],b=i[d++];var E=u?q6(l,p,m,g,n,c):q6(s,h,v,b,n,c);if(E>0)for(var w=0;w=0){var y=u?Hi(s,h,v,b,S):Hi(l,p,m,g,S);return u?[n,y]:[y,n]}}l=g,s=b;break}}},t})(ea),K4t=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(B0e),U4t=(function(e){Nt(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new K4t},t.prototype.buildPath=function(n,r){var a=r.points,i=r.stackedOnPoints,o=0,l=a.length/2,s=r.smoothMonotone;if(r.connectNulls){for(;l>0&&vm(a[l*2-2],a[l*2-1]);l--);for(;ot){i?n.push(o(i,s,t)):a&&n.push(o(a,s,0),o(a,s,t));break}else a&&(n.push(o(a,s,0)),a=null),n.push(s),i=s}return n}function X4t(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var a,i,o=r.length-1;o>=0;o--){var l=e.getDimensionInfo(r[o].dimension);if(a=l&&l.coordDim,a==="x"||a==="y"){i=r[o];break}}if(i){var s=t.getAxis(a),u=cn(i.stops,function(C){return{coord:s.toGlobalCoord(s.dataToCoord(C.value)),color:C.color}}),c=u.length,d=i.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var f=J4t(u,a==="x"?n.getWidth():n.getHeight()),p=f.length;if(!p&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var h=10,m=f[0].coord-h,v=f[p-1].coord+h,g=v-m;if(g<.001)return"transparent";_e(f,function(C){C.offset=(C.coord-m)/g}),f.push({offset:p?f[p-1].offset:.5,color:d[1]||"transparent"}),f.unshift({offset:p?f[0].offset:.5,color:d[0]||"transparent"});var b=new TF(0,0,0,0,f,!0);return b[a]=m,b[a+"2"]=v,b}}}function Z4t(e,t,n){var r=e.get("showAllSymbol"),a=r==="auto";if(!(r&&!a)){var i=n.getAxesByScale("ordinal")[0];if(i&&!(a&&Q4t(i,t))){var o=t.mapDimension(i.dim),l={};return _e(i.getViewLabels(),function(s){var u=i.scale.getRawOrdinalNumber(s.tickValue);l[u]=1}),function(s){return!l.hasOwnProperty(t.get(o,s))}}}}function Q4t(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var a=t.count(),i=Math.max(1,Math.round(a/5)),o=0;or)return!1;return!0}function e8t(e,t){return isNaN(e)||isNaN(t)}function t8t(e){for(var t=e.length/2;t>0&&e8t(e[t*2-2],e[t*2-1]);t--);return t-1}function FJ(e,t){return[e[t*2],e[t*2+1]]}function n8t(e,t,n){for(var r=e.length/2,a=n==="x"?0:1,i,o,l=0,s=-1,u=0;u=t||i>=t&&o<=t){s=u;break}l=u,i=o}return{range:[l,s],t:(t-i)/(o-i)}}function O0e(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var O=h.getState("emphasis").style;O.lineWidth=+h.style.lineWidth+1}Dr(h).seriesIndex=n.seriesIndex,K2(h,P,B,T);var N=CJ(n.get("smooth")),V=n.get("smoothMonotone");if(h.setShape({smooth:N,smoothMonotone:V,connectNulls:S}),m){var Y=l.getCalculationInfo("stackedOnSeries"),z=0;m.useStyle(or(u.getAreaStyle(),{fill:_,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),Y&&(z=CJ(Y.get("smooth"))),m.setShape({smooth:N,stackedOnSmooth:z,smoothMonotone:V,connectNulls:S}),oC(m,n,"areaStyle"),Dr(m).seriesIndex=n.seriesIndex,K2(m,P,B,T)}var ee=this._changePolyState;l.eachItemGraphicEl(function(ae){ae&&(ae.onHoverStateChange=ee)}),this._polyline.onHoverStateChange=ee,this._data=l,this._coordSys=i,this._stackedOnPoints=E,this._points=c,this._step=k,this._valueOrigin=C,n.get("triggerLineEvent")&&(this.packEventData(n,h),m&&this.packEventData(n,m))},t.prototype.packEventData=function(n,r){Dr(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,a,i){var o=n.getData(),l=Im(o,i);if(this._changePolyState("emphasis"),!(l instanceof Array)&&l!=null&&l>=0){var s=o.getLayout("points"),u=o.getItemGraphicEl(l);if(!u){var c=s[l*2],d=s[l*2+1];if(isNaN(c)||isNaN(d)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,d))return;var f=n.get("zlevel")||0,p=n.get("z")||0;u=new w$(o,l),u.x=c,u.y=d,u.setZ(f,p);var h=u.getSymbolPath().getTextContent();h&&(h.zlevel=f,h.z=p,h.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(l,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else Io.prototype.highlight.call(this,n,r,a,i)},t.prototype.downplay=function(n,r,a,i){var o=n.getData(),l=Im(o,i);if(this._changePolyState("normal"),l!=null&&l>=0){var s=o.getItemGraphicEl(l);s&&(s.__temp?(o.setItemGraphicEl(l,null),this.group.remove(s)):s.downplay())}else Io.prototype.downplay.call(this,n,r,a,i)},t.prototype._changePolyState=function(n){var r=this._polygon;Aq(this._polyline,n),r&&Aq(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new j4t({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var a=this._polygon;return a&&this._lineGroup.remove(a),a=new U4t({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(a),this._polygon=a,a},t.prototype._initSymbolLabelAnimation=function(n,r,a){var i,o,l=r.getBaseAxis(),s=l.inverse;r.type==="cartesian2d"?(i=l.isHorizontal(),o=!1):r.type==="polar"&&(i=l.dim==="angle",o=!0);var u=n.hostModel,c=u.get("animationDuration");Pn(c)&&(c=c(null));var d=u.get("animationDelay")||0,f=Pn(d)?d(null):d;n.eachItemGraphicEl(function(p,h){var m=p;if(m){var v=[p.x,p.y],g=void 0,b=void 0,C=void 0;if(a)if(o){var y=a,E=r.pointToCoord(v);i?(g=y.startAngle,b=y.endAngle,C=-E[1]/180*Math.PI):(g=y.r0,b=y.r,C=E[0])}else{var w=a;i?(g=w.x,b=w.x+w.width,C=p.x):(g=w.y+w.height,b=w.y,C=p.y)}var S=b===g?0:(C-g)/(b-g);s&&(S=1-S);var A=Pn(d)?d(h):c*S+f,D=m.getSymbolPath(),k=D.getTextContent();m.attr({scaleX:0,scaleY:0}),m.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:A}),k&&k.animateFrom({style:{opacity:0}},{duration:300,delay:A}),D.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,a){var i=n.getModel("endLabel");if(O0e(n)){var o=n.getData(),l=this._polyline,s=o.getLayout("points");if(!s){l.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Qr({z2:200}),u.ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var c=t8t(s);c>=0&&(C4(l,F4(n,"endLabel"),{inheritColor:a,labelFetcher:n,labelDataIndex:c,defaultText:function(d,f,p){return p!=null?_0e(o,p):E$(o,d)},enableTextSetter:!0},r8t(i,r)),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,a,i,o,l,s){var u=this._endLabel,c=this._polyline;if(u){n<1&&i.originalX==null&&(i.originalX=u.x,i.originalY=u.y);var d=a.getLayout("points"),f=a.hostModel,p=f.get("connectNulls"),h=l.get("precision"),m=l.get("distance")||0,v=s.getBaseAxis(),g=v.isHorizontal(),b=v.inverse,C=r.shape,y=b?g?C.x:C.y+C.height:g?C.x+C.width:C.y,E=(g?m:0)*(b?-1:1),w=(g?0:-m)*(b?-1:1),S=g?"x":"y",A=n8t(d,y,S),D=A.range,k=D[1]-D[0],x=void 0;if(k>=1){if(k>1&&!p){var _=FJ(d,D[0]);u.attr({x:_[0]+E,y:_[1]+w}),o&&(x=f.getRawValue(D[0]))}else{var _=c.getPointOn(y,S);_&&u.attr({x:_[0]+E,y:_[1]+w});var M=f.getRawValue(D[0]),L=f.getRawValue(D[1]);o&&(x=F1t(a,h,M,L,A.t))}i.lastFrameIndex=D[0]}else{var I=n===1||i.lastFrameIndex>0?D[0]:0,_=FJ(d,I);o&&(x=f.getRawValue(I)),u.attr({x:_[0]+E,y:_[1]+w})}if(o){var P=BF(u);typeof P.setLabelText=="function"&&P.setLabelText(x)}}},t.prototype._doUpdateAnimation=function(n,r,a,i,o,l,s){var u=this._polyline,c=this._polygon,d=n.hostModel,f=G4t(this._data,n,this._stackedOnPoints,r,this._coordSys,a,this._valueOrigin),p=f.current,h=f.stackedOnCurrent,m=f.next,v=f.stackedOnNext;if(o&&(h=nf(f.stackedOnCurrent,f.current,a,o,s),p=nf(f.current,null,a,o,s),v=nf(f.stackedOnNext,f.next,a,o,s),m=nf(f.next,null,a,o,s)),bJ(p,m)>3e3||c&&bJ(h,v)>3e3){u.stopAnimation(),u.setShape({points:m}),c&&(c.stopAnimation(),c.setShape({points:m,stackedOnPoints:v}));return}u.shape.__points=f.current,u.shape.points=p;var g={shape:{points:m}};f.current!==p&&(g.shape.__points=f.next),u.stopAnimation(),qi(u,g,d),c&&(c.setShape({points:p,stackedOnPoints:h}),c.stopAnimation(),qi(c,{shape:{stackedOnPoints:v}},d),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var b=[],C=f.status,y=0;yt&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n10&&o.type==="cartesian2d"&&i){var s=o.getBaseAxis(),u=o.getOtherAxis(s),c=s.getExtent(),d=r.getDevicePixelRatio(),f=Math.abs(c[1]-c[0])*(d||1),p=Math.round(l/f);if(isFinite(p)&&p>1){i==="lttb"?t.setData(a.lttbDownSample(a.mapDimension(u.dim),1/p)):i==="minmax"&&t.setData(a.minmaxDownSample(a.mapDimension(u.dim),1/p));var h=void 0;gn(i)?h=o8t[i]:Pn(i)&&(h=i),h&&t.setData(a.downSample(a.mapDimension(u.dim),1/p,h,l8t))}}}}}function s8t(e){e.registerChartView(a8t),e.registerSeriesModel($4t),e.registerLayout(i8t("line")),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,P0e("line"))}var lL=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return VF(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,a){var i=this.coordinateSystem;if(i&&i.clampData){var o=i.clampData(n),l=i.dataToPoint(o);if(a)_e(i.getAxes(),function(f,p){if(f.type==="category"&&r!=null){var h=f.getTicksCoords(),m=f.getTickModel().get("alignWithLabel"),v=o[p],g=r[p]==="x1"||r[p]==="y1";if(g&&!m&&(v+=1),h.length<2)return;if(h.length===2){l[p]=f.toGlobalCoord(f.getExtent()[g?1:0]);return}for(var b=void 0,C=void 0,y=1,E=0;Ev){C=(w+b)/2;break}E===1&&(y=S-h[0].tickValue)}C==null&&(b?b&&(C=h[h.length-1].coord):C=h[0].coord),l[p]=f.toGlobalCoord(C)}});else{var s=this.getData(),u=s.getLayout("offset"),c=s.getLayout("size"),d=i.getBaseAxis().isHorizontal()?0:1;l[d]+=u+c/2}return l}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",defaultBarGap:"10%"},t})(hl);hl.registerClass(lL);var u8t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return VF(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,a){return a.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=dg(lL.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:Kt.color.primary,borderWidth:2}},realtimeSort:!1}),t})(lL),c8t=(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}return e})(),EJ=(function(e){Nt(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new c8t},t.prototype.buildPath=function(n,r){var a=r.cx,i=r.cy,o=Math.max(r.r0||0,0),l=Math.max(r.r,0),s=(l-o)*.5,u=o+s,c=r.startAngle,d=r.endAngle,f=r.clockwise,p=Math.PI*2,h=f?d-cMath.PI/2&&cl)return!0;l=d}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var a=r.scale,i=a.getExtent(),o=Math.max(0,i[0]),l=Math.min(i[1],a.getOrdinalMeta().categories.length-1);o<=l;++o)if(n.ordinalNumbers[o]!==a.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(n,r,a,i){if(this._isOrderChangedWithinSameData(n,r,a)){var o=this._dataSort(n,a,r);this._isOrderDifferentInView(o,a)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",axisId:a.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(n,r,a){var i=r.baseAxis,o=this._dataSort(n,i,function(l){return n.get(n.mapDimension(r.otherAxis.dim),l)});a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,a=this._data;n&&n.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(i){Eb(i,n,Dr(i).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t})(Io),wJ={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var a=e.x+e.width,i=e.y+e.height,o=LA(t.x,e.x),l=OA(t.x+t.width,a),s=LA(t.y,e.y),u=OA(t.y+t.height,i),c=la?l:o,t.y=d&&s>i?u:s,t.width=c?0:l-o,t.height=d?0:u-s,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||d},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var a=OA(t.r,e.r),i=LA(t.r0,e.r0);t.r=a,t.r0=i;var o=a-i<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return o}},SJ={cartesian2d:function(e,t,n,r,a,i,o,l,s){var u=new Zr({shape:Gt({},r),z2:1});if(u.__dataIndex=n,u.name="item",i){var c=u.shape,d=a?"height":"width";c[d]=0}return u},polar:function(e,t,n,r,a,i,o,l,s){var u=!a&&s?EJ:vu,c=new u({shape:r,z2:1});c.name="item";var d=I0e(a);if(c.calculateTextPosition=d8t(d,{isRoundCap:u===EJ}),i){var f=c.shape,p=a?"r":"endAngle",h={};f[p]=a?r.r0:r.startAngle,h[p]=r[p],(l?qi:Ol)(c,{shape:h},i)}return c}};function m8t(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function AJ(e,t,n,r,a,i,o,l){var s,u;i?(u={x:r.x,width:r.width},s={y:r.y,height:r.height}):(u={y:r.y,height:r.height},s={x:r.x,width:r.width}),l||(o?qi:Ol)(n,{shape:s},t,a,null);var c=t?e.baseAxis.model:null;(o?qi:Ol)(n,{shape:u},c,a)}function DJ(e,t){for(var n=0;n0?1:-1,o=r.height>0?1:-1;return{x:r.x+i*a/2,y:r.y+o*a/2,width:r.width-i*a,height:r.height-o*a}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function y8t(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function I0e(e){return(function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}})(e)}function kJ(e,t,n,r,a,i,o,l){var s=t.getItemVisual(n,"style");if(l){if(!i.get("roundCap")){var c=e.shape,d=Wy(r.getModel("itemStyle"),c,!0);Gt(c,d),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(s);var f=r.getShallow("cursor");f&&e.attr("cursor",f);var p=l?o?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":o?a.height>=0?"bottom":"top":a.width>=0?"right":"left",h=F4(r);C4(e,h,{labelFetcher:i,labelDataIndex:n,defaultText:E$(i.getData(),n),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:p});var m=e.getTextContent();if(l&&m){var v=r.get(["label","position"]);e.textConfig.inside=v==="middle"?!0:null,f8t(e,v==="outside"?p:v,I0e(o),r.get(["label","rotate"]))}Egt(m,h,i.getRawValue(n),function(b){return _0e(t,b)});var g=r.getModel(["emphasis"]);K2(e,g.get("focus"),g.get("blurScope"),g.get("disabled")),oC(e,r),y8t(a)&&(e.style.fill="none",e.style.stroke="none",_e(e.states,function(b){b.style&&(b.style.fill=b.style.stroke="none")}))}function b8t(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,a=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,a,i)}var C8t=(function(){function e(){}return e})(),_J=(function(e){Nt(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new C8t},t.prototype.buildPath=function(n,r){for(var a=r.points,i=this.baseDimIdx,o=1-this.baseDimIdx,l=[],s=[],u=this.barWidth,c=0;c=0?n:null},30,!1);function F8t(e,t,n){for(var r=e.baseDimIdx,a=1-r,i=e.shape.points,o=e.largeDataIndices,l=[],s=[],u=e.barWidth,c=0,d=i.length/3;c=l[0]&&t<=l[0]+s[0]&&n>=l[1]&&n<=l[1]+s[1])return o[c]}return-1}function N0e(e,t,n){if(S$(n,"cartesian2d")){var r=t,a=n.getArea();return{x:e?r.x:a.x,y:e?a.y:r.y,width:e?r.width:a.width,height:e?a.height:r.height}}else{var a=n.getArea(),i=t;return{cx:a.cx,cy:a.cy,r0:e?a.r0:i.r0,r:e?a.r:i.r,startAngle:e?i.startAngle:0,endAngle:e?i.endAngle:Math.PI*2}}}function E8t(e,t,n){var r=e.type==="polar"?vu:Zr;return new r({shape:N0e(t,n,e),silent:!0,z2:0})}function w8t(e){e.registerChartView(h8t),e.registerSeriesModel(u8t),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Rr(_5t,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,x5t("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,P0e("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(a){t.sortInfo&&a.axis.setCategorySortInfo(t.sortInfo)})})}var BJ=Math.PI*2,c3=Math.PI/180;function S8t(e,t,n){t.eachSeriesByType(e,function(r){var a=r.getData(),i=a.mapDimension("value"),o=ryt(r,n),l=o.cx,s=o.cy,u=o.r,c=o.r0,d=o.viewRect,f=-r.get("startAngle")*c3,p=r.get("endAngle"),h=r.get("padAngle")*c3;p=p==="auto"?f-BJ:-p*c3;var m=r.get("minAngle")*c3,v=m+h,g=0;a.each(i,function(B){!isNaN(B)&&g++});var b=a.getSum(i),C=Math.PI/(b||g)*2,y=r.get("clockwise"),E=r.get("roseType"),w=r.get("stillShowZeroSum"),S=a.getDataExtent(i);S[0]=0;var A=y?1:-1,D=[f,p],k=A*h/2;Yme(D,!y),f=D[0],p=D[1];var x=$0e(r);x.startAngle=f,x.endAngle=p,x.clockwise=y,x.cx=l,x.cy=s,x.r=u,x.r0=c;var _=Math.abs(p-f),M=_,L=0,I=f;if(a.setLayout({viewRect:d,r:u}),a.each(i,function(B,T){var O;if(isNaN(B)){a.setItemLayout(T,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:y,cx:l,cy:s,r0:c,r:E?NaN:u});return}E!=="area"?O=b===0&&w?C:B*C:O=_/g,OO?(V=I+A*O/2,Y=V):(V=I+k,Y=N-k),a.setItemLayout(T,{angle:O,startAngle:V,endAngle:Y,clockwise:y,cx:l,cy:s,r0:c,r:E?Ca(B,S,[c,u]):u}),I=N}),Mn?g:v,E=Math.abs(C.label.y-n);if(E>=y.maxY){var w=C.label.x-t-C.len2*a,S=r+C.len,A=Math.abs(w)e.unconstrainedWidth?null:f:null;r.setStyle("width",p)}H0e(i,r)}}}function H0e(e,t){LJ.rect=e,T0e(LJ,t,k8t)}var k8t={minMarginForce:[null,0,null,0],marginDefault:[1,0,1,0]},LJ={};function PA(e){return e.position==="center"}function _8t(e){var t=e.getData(),n=[],r,a,i=!1,o=(e.get("minShowLabelAngle")||0)*D8t,l=t.getLayout("viewRect"),s=t.getLayout("r"),u=l.width,c=l.x,d=l.y,f=l.height;function p(w){w.ignore=!0}function h(w){if(!w.ignore)return!0;for(var S in w.states)if(w.states[S].ignore===!1)return!0;return!1}t.each(function(w){var S=t.getItemGraphicEl(w),A=S.shape,D=S.getTextContent(),k=S.getTextGuideLine(),x=t.getItemModel(w),_=x.getModel("label"),M=_.get("position")||x.get(["emphasis","label","position"]),L=_.get("distanceToLabelLine"),I=_.get("alignTo"),P=Br(_.get("edgeDistance"),u),B=_.get("bleedMargin");B==null&&(B=Math.min(u,f)>200?10:2);var T=x.getModel("labelLine"),O=T.get("length");O=Br(O,u);var N=T.get("length2");if(N=Br(N,u),Math.abs(A.endAngle-A.startAngle)0?"right":"left":Y>0?"left":"right"}var se=Math.PI,Fe=0,me=_.get("rotate");if(Xr(me))Fe=me*(se/180);else if(M==="center")Fe=0;else if(me==="radial"||me===!0){var te=Y<0?-V+se:-V;Fe=te}else if(me==="tangential"&&M!=="outside"&&M!=="outer"){var ue=Math.atan2(Y,z);ue<0&&(ue=se*2+ue);var Se=z>0;Se&&(ue=se+ue),Fe=ue-se}if(i=!!Fe,D.x=ee,D.y=ae,D.rotation=Fe,D.setStyle({verticalAlign:"middle"}),Q){D.setStyle({align:re});var Ne=D.states.select;Ne&&(Ne.x+=D.x,Ne.y+=D.y)}else{var Ae=new nr(0,0,0,0);H0e(Ae,D),n.push({label:D,labelLine:k,position:M,len:O,len2:N,minTurnAngle:T.get("minTurnAngle"),maxSurfaceAngle:T.get("maxSurfaceAngle"),surfaceNormal:new ar(Y,z),linePoints:pe,textAlign:re,labelDistance:L,labelAlignTo:I,edgeDistance:P,bleedMargin:B,rect:Ae,unconstrainedWidth:Ae.width,labelStyleWidth:D.style.width})}S.setTextConfig({inside:Q})}}),!i&&e.get("avoidLabelOverlap")&&T8t(n,r,a,s,u,f,c,d);for(var m=0;m0){for(var c=o.getItemLayout(0),d=1;isNaN(c&&c.startAngle)&&d=i.r0}},t.type="pie",t})(Io);function B8t(e,t,n){t=rn(t)&&{coordDimensions:t}||Gt({encodeDefine:e.getEncode()},t);var r=e.getSource(),a=m$(r,t).dimensions,i=new h$(a,e);return i.initData(r,n),i}var R8t=(function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e})(),L8t=Gr(),z0e=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new R8t(wn(this.getData,this),wn(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return B8t(this,{coordDimensions:["value"],encodeDefaulter:Rr(cyt,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),a=L8t(r),i=a.seats;if(!i){var o=[];r.each(r.mapDimension("value"),function(s){o.push(s)}),i=a.seats=Mme(o,r.hostModel.get("percentPrecision"))}var l=e.prototype.getDataParams.call(this,n);return l.percent=i[n]||0,l.$vars.push("percent"),l},t.prototype._defaultLabelLine=function(n){AR(n,"labelLine",["show"]);var r=n.labelLine,a=n.emphasis.labelLine;r.show=r.show&&n.label.show,a.show=a.show&&n.emphasis.label.show},t.type="series.pie",t.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"},t})(hl);Xgt({fullType:z0e.type,getCoord2:function(e){return e.getShallow("center")}});function O8t(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(a){var i=r.mapDimension("value"),o=r.get(i,a);return!(Xr(o)&&!isNaN(o)&&o<0)})}}}function P8t(e){e.registerChartView(M8t),e.registerSeriesModel(z0e),Kbt("pie",e.registerAction),e.registerLayout(Rr(S8t,"pie")),e.registerProcessor(A8t("pie")),e.registerProcessor(O8t("pie"))}var W0e={left:0,right:0,top:0,bottom:0},_C=["25%","25%"],I8t=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.mergeDefaultAndTheme=function(n,r){var a=pg(n.outerBounds);e.prototype.mergeDefaultAndTheme.apply(this,arguments),a&&n.outerBounds&&xd(n.outerBounds,a)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.apply(this,arguments),this.option.outerBounds&&n.outerBounds&&xd(this.option.outerBounds,n.outerBounds)},t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"15%",top:65,right:"10%",bottom:80,containLabel:!1,outerBoundsMode:"auto",outerBounds:W0e,outerBoundsContain:"all",outerBoundsClampWidth:_C[0],outerBoundsClampHeight:_C[1],backgroundColor:Kt.color.transparent,borderWidth:1,borderColor:Kt.color.neutral30},t})(_r),sL=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",xi).models[0]},t.type="cartesian2dAxis",t})(_r);$l(sL,C$);var G0e={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:Kt.color.axisLine,width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15],breakLine:!0},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12,color:Kt.color.axisLabel,textMargin:[0,3]},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:Kt.color.axisSplitLine,width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:[Kt.color.backgroundTint,Kt.color.backgroundTransparent]}},breakArea:{show:!0,itemStyle:{color:Kt.color.neutral00,borderColor:Kt.color.border,borderWidth:1,borderType:[3,3],opacity:.6},zigzagAmplitude:4,zigzagMinSpan:4,zigzagMaxSpan:20,zigzagZ:100,expandOnClick:!0},breakLabelLayout:{moveOverlap:"auto"}},N8t=lr({boundaryGap:!0,deduplication:null,jitter:0,jitterOverlap:!0,jitterMargin:2,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto",show:"auto"},axisLabel:{interval:"auto"}},G0e),A$=lr({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:Kt.color.axisMinorSplitLine,width:1}}},G0e),$8t=lr({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},A$),V8t=or({logBase:10},A$);const H8t={category:N8t,value:A$,time:$8t,log:V8t};var z8t={value:1,category:1,time:1,log:1},W8t=null;function G8t(){return W8t}function xC(e,t,n,r){_e(z8t,function(a,i){var o=lr(lr({},H8t[i],!0),r,!0),l=(function(s){Nt(u,s);function u(){var c=s!==null&&s.apply(this,arguments)||this;return c.type=t+"Axis."+i,c}return u.prototype.mergeDefaultAndTheme=function(c,d){var f=J2(this),p=f?pg(c):{},h=d.getTheme();lr(c,h.get(i+"Axis")),lr(c,this.getDefaultOption()),c.type=OJ(c),f&&xd(c,p,f)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=rL.createByAxisModel(this))},u.prototype.getCategories=function(c){var d=this.option;if(d.type==="category")return c?d.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.prototype.updateAxisBreaks=function(c){return{breaks:[]}},u.type=t+"Axis."+i,u.defaultOption=o,u})(n);e.registerComponentModel(l)}),e.registerSubTypeDefaulter(t+"Axis",OJ)}function OJ(e){return e.type||(e.data?"category":"value")}var j8t=(function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return cn(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),_a(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e})(),uL=["x","y"];function PJ(e){return(e.type==="interval"||e.type==="time")&&!e.hasBreaks()}var K8t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=uL,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!PJ(n)||!PJ(r))){var a=n.getExtent(),i=r.getExtent(),o=this.dataToPoint([a[0],i[0]]),l=this.dataToPoint([a[1],i[1]]),s=a[1]-a[0],u=i[1]-i[0];if(!(!s||!u)){var c=(l[0]-o[0])/s,d=(l[1]-o[1])/u,f=o[0]-a[0]*c,p=o[1]-i[0]*d,h=this._transform=[c,0,0,d,f,p];this._invTransform=ev([],h)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),a=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&a.contain(a.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var a=this.dataToPoint(n),i=this.dataToPoint(r),o=this.getArea(),l=new nr(a[0],a[1],i[0]-a[0],i[1]-a[1]);return o.intersect(l)},t.prototype.dataToPoint=function(n,r,a){a=a||[];var i=n[0],o=n[1];if(this._transform&&i!=null&&isFinite(i)&&o!=null&&isFinite(o))return Oo(a,n,this._transform);var l=this.getAxis("x"),s=this.getAxis("y");return a[0]=l.toGlobalCoord(l.dataToCoord(i,r)),a[1]=s.toGlobalCoord(s.dataToCoord(o,r)),a},t.prototype.clampData=function(n,r){var a=this.getAxis("x").scale,i=this.getAxis("y").scale,o=a.getExtent(),l=i.getExtent(),s=a.parse(n[0]),u=i.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),r[1]=Math.min(Math.max(Math.min(l[0],l[1]),u),Math.max(l[0],l[1])),r},t.prototype.pointToData=function(n,r,a){if(a=a||[],this._invTransform)return Oo(a,n,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return a[0]=i.coordToData(i.toLocalCoord(n[0]),r),a[1]=o.coordToData(o.toLocalCoord(n[1]),r),a},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(n){n=n||0;var r=this.getAxis("x").getGlobalExtent(),a=this.getAxis("y").getGlobalExtent(),i=Math.min(r[0],r[1])-n,o=Math.min(a[0],a[1])-n,l=Math.max(r[0],r[1])-i+n,s=Math.max(a[0],a[1])-o+n;return new nr(i,o,l,s)},t})(j8t),U8t=(function(e){Nt(t,e);function t(n,r,a,i,o){var l=e.call(this,n,r,a)||this;return l.index=0,l.type=i||"value",l.position=o||"bottom",l}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t})(wp),q8t="expandAxisBreak",$f=Math.PI,Y8t=[[1,2,1,2],[5,3,5,3],[8,3,8,3]],J8t=[[0,1,0,1],[0,3,0,3],[0,3,0,3]],a5=Gr(),j0e=Gr(),K0e=(function(){function e(t){this.recordMap={},this.resolveAxisNameOverlap=t}return e.prototype.ensureRecord=function(t){var n=t.axis.dim,r=t.componentIndex,a=this.recordMap,i=a[n]||(a[n]=[]);return i[r]||(i[r]={ready:{}})},e})();function X8t(e,t,n,r){var a=n.axis,i=t.ensureRecord(n),o=[],l,s=D$(e.axisName)&&x0(e.nameLocation);_e(r,function(h){var m=pp(h);if(!(!m||m.label.ignore)){o.push(m);var v=i.transGroup;s&&(v.transform?ev(fy,v.transform):p4(fy),m.transform&&sm(fy,fy,m.transform),nr.copy(d3,m.localRect),d3.applyTransform(fy),l?l.union(d3):nr.copy(l=new nr(0,0,0,0),d3))}});var u=Math.abs(i.dirVec.x)>.1?"x":"y",c=i.transGroup[u];if(o.sort(function(h,m){return Math.abs(h.label[u]-c)-Math.abs(m.label[u]-c)}),s&&l){var d=a.getExtent(),f=Math.min(d[0],d[1]),p=Math.max(d[0],d[1])-f;l.union(new nr(f,0,p,1))}i.stOccupiedRect=l,i.labelInfoList=o}var fy=ss(),d3=new nr(0,0,0,0),U0e=function(e,t,n,r,a,i){if(x0(e.nameLocation)){var o=i.stOccupiedRect;o&&q0e(O4t({},o,i.transGroup.transform),r,a)}else Y0e(i.labelInfoList,i.dirVec,r,a)};function q0e(e,t,n){var r=new ar;F$(e,t,r,{direction:Math.atan2(n.y,n.x),bidirectional:!1,touchThreshold:.05})&&P4t(t,r)}function Y0e(e,t,n,r){for(var a=ar.dot(r,t)>=0,i=0,o=e.length;i0?"top":"bottom",i="center"):V2(a-$f)?(o=r>0?"bottom":"top",i="center"):(o="middle",a>0&&a<$f?i=r>0?"right":"left":i=r>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e})(),Z8t=["axisLine","axisTickLabelEstimate","axisTickLabelDetermine","axisName"],Q8t={axisLine:function(e,t,n,r,a,i,o){var l=r.get(["axisLine","show"]);if(l==="auto"&&(l=!0,e.raw.axisLineAutoShow!=null&&(l=!!e.raw.axisLineAutoShow)),!!l){var s=r.axis.getExtent(),u=i.transform,c=[s[0],0],d=[s[1],0],f=c[0]>d[0];u&&(Oo(c,c,u),Oo(d,d,u));var p=Gt({lineCap:"round"},r.getModel(["axisLine","lineStyle"]).getLineStyle()),h={strokeContainThreshold:e.raw.strokeContainThreshold||5,silent:!0,z2:1,style:p};if(r.get(["axisLine","breakLine"])&&r.axis.scale.hasBreaks())G8t().buildAxisBreakLine(r,a,i,h);else{var m=new Rl(Gt({shape:{x1:c[0],y1:c[1],x2:d[0],y2:d[1]}},h));U2(m.shape,m.style.lineWidth),m.anid="line",a.add(m)}var v=r.get(["axisLine","symbol"]);if(v!=null){var g=r.get(["axisLine","symbolSize"]);gn(v)&&(v=[v,v]),(gn(g)||Xr(g))&&(g=[g,g]);var b=w1e(r.get(["axisLine","symbolOffset"])||0,g),C=g[0],y=g[1];_e([{rotate:e.rotation+Math.PI/2,offset:b[0],r:0},{rotate:e.rotation-Math.PI/2,offset:b[1],r:Math.sqrt((c[0]-d[0])*(c[0]-d[0])+(c[1]-d[1])*(c[1]-d[1]))}],function(E,w){if(v[w]!=="none"&&v[w]!=null){var S=Cs(v[w],-C/2,-y/2,C,y,p.stroke,!0),A=E.r+E.offset,D=f?d:c;S.attr({rotation:E.rotate,x:D[0]+A*Math.cos(e.rotation),y:D[1]-A*Math.sin(e.rotation),silent:!0,z2:11}),a.add(S)}})}}},axisTickLabelEstimate:function(e,t,n,r,a,i,o,l){var s=NJ(t,a,l);s&&IJ(e,t,n,r,a,i,o,lu.estimate)},axisTickLabelDetermine:function(e,t,n,r,a,i,o,l){var s=NJ(t,a,l);s&&IJ(e,t,n,r,a,i,o,lu.determine);var u=r3t(e,a,i,r);n3t(e,t.labelLayoutList,u),a3t(e,a,i,r,e.tickDirection)},axisName:function(e,t,n,r,a,i,o,l){var s=n.ensureRecord(r);t.nameEl&&(a.remove(t.nameEl),t.nameEl=s.nameLayout=s.nameLocation=null);var u=e.axisName;if(D$(u)){var c=e.nameLocation,d=e.nameDirection,f=r.getModel("nameTextStyle"),p=r.get("nameGap")||0,h=r.axis.getExtent(),m=r.axis.inverse?-1:1,v=new ar(0,0),g=new ar(0,0);c==="start"?(v.x=h[0]-m*p,g.x=-m):c==="end"?(v.x=h[1]+m*p,g.x=m):(v.x=(h[0]+h[1])/2,v.y=e.labelOffset+d*p,g.y=d);var b=ss();g.transform(h4(b,b,e.rotation));var C=r.get("nameRotate");C!=null&&(C=C*$f/180);var y,E;x0(c)?y=us.innerTextLayout(e.rotation,C!=null?C:e.rotation,d):(y=e3t(e.rotation,c,C||0,h),E=e.raw.axisNameAvailableWidth,E!=null&&(E=Math.abs(E/Math.sin(y.rotation)),!isFinite(E)&&(E=null)));var w=f.getFont(),S=r.get("nameTruncate",!0)||{},A=S.ellipsis,D=E0(e.raw.nameTruncateMaxWidth,S.maxWidth,E),k=l.nameMarginLevel||0,x=new Qr({x:v.x,y:v.y,rotation:y.rotation,silent:us.isLabelSilent(r),style:ho(f,{text:u,font:w,overflow:"truncate",width:D,ellipsis:A,fill:f.getTextColor()||r.get(["axisLine","lineStyle","color"]),align:f.get("align")||y.textAlign,verticalAlign:f.get("verticalAlign")||y.textVerticalAlign}),z2:1});if(rv({el:x,componentModel:r,itemName:u}),x.__fullText=u,x.anid="name",r.get("triggerEvent")){var _=us.makeAxisEventDataBase(r);_.targetType="axisName",_.name=u,Dr(x).eventData=_}i.add(x),x.updateTransform(),t.nameEl=x;var M=s.nameLayout=pp({label:x,priority:x.z2,defaultAttr:{ignore:x.ignore},marginDefault:x0(c)?Y8t[k]:J8t[k]});if(s.nameLocation=c,a.add(x),x.decomposeTransform(),e.shouldNameMoveOverlap&&M){var L=n.ensureRecord(r);n.resolveAxisNameOverlap(e,n,r,M,g,L)}}}};function IJ(e,t,n,r,a,i,o,l){X0e(t)||i3t(e,t,a,l,r,o);var s=t.labelLayoutList;o3t(e,r,s,i),e.rotation;var u=e.optionHideOverlap;t3t(r,s,u),u&&N4t(_a(s,function(c){return c&&!c.label.ignore})),X8t(e,n,r,s)}function e3t(e,t,n,r){var a=lN(n-e),i,o,l=r[0]>r[1],s=t==="start"&&!l||t!=="start"&&l;return V2(a-$f/2)?(o=s?"bottom":"top",i="center"):V2(a-$f*1.5)?(o=s?"top":"bottom",i="center"):(o="middle",a<$f*1.5&&a>$f/2?i=s?"left":"right":i=s?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function t3t(e,t,n){if(p0e(e.axis))return;function r(l,s,u){var c=pp(t[s]),d=pp(t[u]);if(!(!c||!d)){if(l===!1||c.suggestIgnore){Gy(c.label);return}if(d.suggestIgnore){Gy(d.label);return}var f=.1;if(!n){var p=[0,0,0,0];c=pJ({marginForce:p},c),d=pJ({marginForce:p},d)}F$(c,d,null,{touchThreshold:f})&&Gy(l?d.label:c.label)}}var a=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]),o=t.length;r(a,0,1),r(i,o-1,o-2)}function n3t(e,t,n){e.showMinorTicks||_e(t,function(r){if(r&&r.label.ignore)for(var a=0;au[0]&&isFinite(h)&&isFinite(u[0]);)p=DA(p),h=u[1]-p*o;else{var v=e.getTicks().length-1;v>o&&(p=DA(p));var g=p*o;m=Math.ceil(u[1]/p)*p,h=Mi(m-g),h<0&&u[0]>=0?(h=0,m=Mi(g)):m>0&&u[1]<=0&&(m=0,h=-Mi(g))}var b=(a[0].value-i[0].value)/l,C=(a[o].value-i[o].value)/l;r.setExtent.call(e,h+p*b,m+p*C),r.setInterval.call(e,p),(b||C)&&r.setNiceExtent.call(e,h+p,m-p)}var VJ=[[3,1],[0,2]],p3t=(function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=uL,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function a(o){var l,s=Fr(o),u=s.length;if(u){for(var c=[],d=u-1;d>=0;d--){var f=+s[d],p=o[f],h=p.model,m=p.scale;tL(m)&&h.get("alignTicks")&&h.get("interval")==null?c.push(p):(n5(m,h),tL(m)&&(l=p))}c.length&&(l||(l=c.pop(),n5(l.scale,l.model)),_e(c,function(v){f3t(v.scale,v.model,l.scale)}))}}a(r.x),a(r.y);var i={};_e(r.x,function(o){HJ(r,"y",o,i)}),_e(r.y,function(o){HJ(r,"x",o,i)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var a=Cp(t,n),i=this._rect=Pl(t.getBoxLayoutParams(),a.refContainer),o=this._axesMap,l=this._coordsList,s=t.get("containLabel");if(Z0e(o,i),!r){var u=m3t(i,l,o,s,n),c=void 0;if(s)c=GJ(i.clone(),"axisLabel",null,i,o,u,a);else{var d=v3t(t,i,a),f=d.outerBoundsRect,p=d.parsedOuterBoundsContain,h=d.outerBoundsClamp;f&&(c=GJ(f,p,h,i,o,u,a))}Q0e(i,o,lu.determine,null,c,a)}_e(this._coordsList,function(m){m.calcAffineTransform()})},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}Sn(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,i=this._coordsList;a0})==null;return sC(r,l,!0,!0,n),Z0e(a,r),s;function u(f){_e(a[Sf[f]],function(p){if(r5(p.model)){var h=i.ensureRecord(p.model),m=h.labelInfoList;if(m)for(var v=0;v0&&!F0(p)&&p>1e-4&&(f/=p),f}}function m3t(e,t,n,r,a){var i=new K0e(g3t);return _e(n,function(o){return _e(o,function(l){if(r5(l.model)){var s=!r;l.axisBuilder=c3t(e,t,l.model,a,i,s)}})}),i}function Q0e(e,t,n,r,a,i){var o=n===lu.determine;_e(t,function(u){return _e(u,function(c){r5(c.model)&&(d3t(c.axisBuilder,e,c.model),c.axisBuilder.build(o?{axisTickLabelDetermine:!0}:{axisTickLabelEstimate:!0},{noPxChange:a}))})});var l={x:0,y:0};s(0),s(1);function s(u){l[Sf[1-u]]=e[T0[u]]<=i.refContainer[T0[u]]*.5?0:1-u===1?2:1}_e(t,function(u,c){return _e(u,function(d){r5(d.model)&&((r==="all"||o)&&d.axisBuilder.build({axisName:!0},{nameMarginLevel:l[c]}),o&&d.axisBuilder.build({axisLine:!0}))})})}function v3t(e,t,n){var r,a=e.get("outerBoundsMode",!0);a==="same"?r=t.clone():(a==null||a==="auto")&&(r=Pl(e.get("outerBounds",!0)||W0e,n.refContainer));var i=e.get("outerBoundsContain",!0),o;i==null||i==="auto"||fr(["all","axisLabel"],i)<0?o="all":o=i;var l=[wR(_n(e.get("outerBoundsClampWidth",!0),_C[0]),t.width),wR(_n(e.get("outerBoundsClampHeight",!0),_C[1]),t.height)];return{outerBoundsRect:r,parsedOuterBoundsContain:o,outerBoundsClamp:l}}var g3t=function(e,t,n,r,a,i){var o=n.axis.dim==="x"?"y":"x";U0e(e,t,n,r,a,i),x0(e.nameLocation)||_e(t.recordMap[o],function(l){l&&l.labelInfoList&&l.dirVec&&Y0e(l.labelInfoList,l.dirVec,r,a)})};function y3t(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return b3t(n,e,t),n.seriesInvolved&&F3t(n,e),n}function b3t(e,t,n){var r=t.getComponent("tooltip"),a=t.getComponent("axisPointer"),i=a.get("link",!0)||[],o=[];_e(n.getCoordinateSystems(),function(l){if(!l.axisPointerEnabled)return;var s=i5(l.model),u=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=l;var c=l.model,d=c.getModel("tooltip",r);if(_e(l.getAxes(),Rr(m,!1,null)),l.getTooltipAxes&&r&&d.get("show")){var f=d.get("trigger")==="axis",p=d.get(["axisPointer","type"])==="cross",h=l.getTooltipAxes(d.get(["axisPointer","axis"]));(f||p)&&_e(h.baseAxes,Rr(m,p?"cross":!0,f)),p&&_e(h.otherAxes,Rr(m,"cross",!1))}function m(v,g,b){var C=b.model.getModel("axisPointer",a),y=C.get("show");if(!(!y||y==="auto"&&!v&&!dL(C))){g==null&&(g=C.get("triggerTooltip")),C=v?C3t(b,d,a,t,v,g):C;var E=C.get("snap"),w=C.get("triggerEmphasis"),S=i5(b.model),A=g||E||b.type==="category",D=e.axesInfo[S]={key:S,axis:b,coordSys:l,axisPointerModel:C,triggerTooltip:g,triggerEmphasis:w,involveSeries:A,snap:E,useHandle:dL(C),seriesModels:[],linkGroup:null};u[S]=D,e.seriesInvolved=e.seriesInvolved||A;var k=E3t(i,b);if(k!=null){var x=o[k]||(o[k]={axesInfo:{}});x.axesInfo[S]=D,x.mapper=i[k].mapper,D.linkGroup=x}}}})}function C3t(e,t,n,r,a,i){var o=t.getModel("axisPointer"),l=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],s={};_e(l,function(f){s[f]=Rn(o.get(f))}),s.snap=e.type!=="category"&&!!i,o.get("type")==="cross"&&(s.type="line");var u=s.label||(s.label={});if(u.show==null&&(u.show=!1),a==="cross"){var c=o.get(["label","show"]);if(u.show=c!=null?c:!0,!i){var d=s.lineStyle=o.get("crossStyle");d&&or(u,d.textStyle)}}return e.model.getModel("axisPointer",new va(s,n,r))}function F3t(e,t){t.eachSeries(function(n){var r=n.coordinateSystem,a=n.get(["tooltip","trigger"],!0),i=n.get(["tooltip","show"],!0);!r||!r.model||a==="none"||a===!1||a==="item"||i===!1||n.get(["axisPointer","show"],!0)===!1||_e(e.coordSysAxesInfo[i5(r.model)],function(o){var l=o.axis;r.getAxis(l.dim)===l&&(o.seriesModels.push(n),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=n.getData().count())})})}function E3t(e,t){for(var n=t.model,r=t.dim,a=0;a=0||e===t}function w3t(e){var t=T$(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,a=n.option,i=n.get("status"),o=n.get("value");o!=null&&(o=r.parse(o));var l=dL(n);i==null&&(a.status=l?"show":"hide");var s=r.getExtent().slice();s[0]>s[1]&&s.reverse(),(o==null||o>s[1])&&(o=s[1]),o3?1.4:o>1?1.2:1.1,c=i>0?u:1/u;this._checkTriggerMoveZoom(this,"zoom","zoomOnMouseWheel",n,{scale:c,originX:l,originY:s,isAvailableBehavior:null})}if(a){var d=Math.abs(i),f=(i>0?1:-1)*(d>3?.4:d>1?.15:.05);this._checkTriggerMoveZoom(this,"scrollMove","moveOnMouseWheel",n,{scrollDelta:f,originX:l,originY:s,isAvailableBehavior:null})}}}},t.prototype._pinchHandler=function(n){if(!(UJ(this._zr,"globalPan")||py(n))){var r=n.pinchScale>1?1.1:1/1.1;this._checkTriggerMoveZoom(this,"zoom",null,n,{scale:r,originX:n.pinchX,originY:n.pinchY,isAvailableBehavior:null})}},t.prototype._checkTriggerMoveZoom=function(n,r,a,i,o){n._checkPointer(i,o.originX,o.originY)&&(_d(i.event),i.__ecRoamConsumed=!0,qJ(n,r,a,i,o))},t})(ws);function py(e){return e.__ecRoamConsumed}var P3t=Gr();function HF(e){var t=P3t(e);return t.roam=t.roam||{},t.uniform=t.uniform||{},t}function hy(e,t,n,r){for(var a=HF(e),i=a.roam,o=i[t]=i[t]||[],l=0;l=0;i--)r[i]==null&&(delete n[t[i]],t.pop())}function $A(e,t){var n=e.visual,r=[];Sn(n)?o5(n,function(i){r.push(i)}):n!=null&&r.push(n);var a={color:1,symbol:1};!t&&r.length===1&&!a.hasOwnProperty(e.type)&&(r[1]=r[0]),rge(e,r)}function f3(e){return{applyVisual:function(t,n,r){var a=this.mapValueToVisual(t);r("color",e(n("color"),a))},_normalizedToVisual:pL([0,1])}}function YJ(e){var t=this.option.visual;return t[Math.round(Ca(e,[0,1],[0,t.length-1],!0))]||{}}function vy(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function jy(e){var t=this.option.visual;return t[this.option.loop&&e!==BC?e%t.length:e]}function Ch(){return this.option.visual[0]}function pL(e){return{linear:function(t){return Ca(t,e,this.option.visual,!0)},category:jy,piecewise:function(t,n){var r=hL.call(this,n);return r==null&&(r=Ca(t,e,this.option.visual,!0)),r},fixed:Ch}}function hL(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=mo.findPieceIndex(e,n),a=n[r];if(a&&a.visual)return a.visual[this.type]}}function rge(e,t){return e.visual=t,e.type==="color"&&(e.parsedVisual=cn(t,function(n){var r=Po(n);return r||[0,0,0,1]})),t}var z3t={linear:function(e){return Ca(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=mo.findPieceIndex(e,t,!0);if(n!=null)return Ca(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return t==null?BC:t},fixed:Bi};function p3(e,t,n){return e?t<=n:ti&&(t[1-r]=t[r]+d.sign*i),t}function VA(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function Gv(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var Vm=!0,l5=Math.min,M0=Math.max,W3t=Math.pow,G3t=1e4,j3t=6,K3t=6,JJ="globalPan",U3t={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},q3t={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},XJ={brushStyle:{lineWidth:2,stroke:Kt.color.backgroundTint,fill:Kt.color.borderTint},transformable:!0,brushMode:"single",removeOnClick:!1},Y3t=0,J3t=(function(e){Nt(t,e);function t(n){var r=e.call(this)||this;return r._track=[],r._covers=[],r._handlers={},r._zr=n,r.group=new oa,r._uid="brushController_"+Y3t++,_e(r7t,function(a,i){this._handlers[i]=wn(a,this)},r),r}return t.prototype.enableBrush=function(n){return this._brushType&&this._doDisableBrush(),n.brushType&&this._doEnableBrush(n),this},t.prototype._doEnableBrush=function(n){var r=this._zr;this._enableGlobalPan||B3t(r,JJ,this._uid),_e(this._handlers,function(a,i){r.on(i,a)}),this._brushType=n.brushType,this._brushOption=lr(Rn(XJ),n,!0)},t.prototype._doDisableBrush=function(){var n=this._zr;R3t(n,JJ,this._uid),_e(this._handlers,function(r,a){n.off(a,r)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(n){if(n&&n.length){var r=this._panels={};_e(n,function(a){r[a.panelId]=Rn(a)})}else this._panels=null;return this},t.prototype.mount=function(n){n=n||{},this._enableGlobalPan=n.enableGlobalPan;var r=this.group;return this._zr.add(r),r.attr({x:n.x||0,y:n.y||0,rotation:n.rotation||0,scaleX:n.scaleX||1,scaleY:n.scaleY||1}),this._transform=r.getLocalTransform(),this},t.prototype.updateCovers=function(n){n=cn(n,function(f){return lr(Rn(XJ),f,!0)});var r="\0-brush-index-",a=this._covers,i=this._covers=[],o=this,l=this._creatingCover;return new p$(a,n,u,s).add(c).update(c).remove(d).execute(),this;function s(f,p){return(f.id!=null?f.id:r+p)+"-"+f.brushType}function u(f,p){return s(f.__brushOption,p)}function c(f,p){var h=n[f];if(p!=null&&a[p]===l)i[f]=a[p];else{var m=i[f]=p!=null?(a[p].__brushOption=h,a[p]):ige(o,age(o,h));_$(o,m)}}function d(f){a[f]!==l&&o.group.remove(a[f])}},t.prototype.unmount=function(){return this.enableBrush(!1),mL(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t})(ws);function age(e,t){var n=zF[t.brushType].createCover(e,t);return n.__brushOption=t,lge(n,t),e.group.add(n),n}function ige(e,t){var n=x$(t);return n.endCreating&&(n.endCreating(e,t),lge(t,t.__brushOption)),t}function oge(e,t){var n=t.__brushOption;x$(t).updateCoverShape(e,t,n.range,n)}function lge(e,t){var n=t.z;n==null&&(n=G3t),e.traverse(function(r){r.z=n,r.z2=n})}function _$(e,t){x$(t).updateCommon(e,t),oge(e,t)}function x$(e){return zF[e.__brushOption.brushType]}function M$(e,t,n){var r=e._panels;if(!r)return Vm;var a,i=e._transform;return _e(r,function(o){o.isTargetByCursor(t,n,i)&&(a=o)}),a}function sge(e,t){var n=e._panels;if(!n)return Vm;var r=t.__brushOption.panelId;return r!=null?n[r]:Vm}function mL(e){var t=e._covers,n=t.length;return _e(t,function(r){e.group.remove(r)},e),t.length=0,!!n}function Hm(e,t){var n=cn(e._covers,function(r){var a=r.__brushOption,i=Rn(a.range);return{brushType:a.brushType,panelId:a.panelId,range:i}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function X3t(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],a=n[0]-r[0],i=n[1]-r[1],o=W3t(a*a+i*i,.5);return o>j3t}function uge(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function cge(e,t,n,r){var a=new oa;return a.add(new Zr({name:"main",style:B$(n),silent:!0,draggable:!0,cursor:"move",drift:Rr(ZJ,e,t,a,["n","s","w","e"]),ondragend:Rr(Hm,t,{isEnd:!0})})),_e(r,function(i){a.add(new Zr({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Rr(ZJ,e,t,a,i),ondragend:Rr(Hm,t,{isEnd:!0})}))}),a}function dge(e,t,n,r){var a=r.brushStyle.lineWidth||0,i=M0(a,K3t),o=n[0][0],l=n[1][0],s=o-a/2,u=l-a/2,c=n[0][1],d=n[1][1],f=c-i+a/2,p=d-i+a/2,h=c-o,m=d-l,v=h+a,g=m+a;zc(e,t,"main",o,l,h,m),r.transformable&&(zc(e,t,"w",s,u,i,g),zc(e,t,"e",f,u,i,g),zc(e,t,"n",s,u,v,i),zc(e,t,"s",s,p,v,i),zc(e,t,"nw",s,u,i,i),zc(e,t,"ne",f,u,i,i),zc(e,t,"sw",s,p,i,i),zc(e,t,"se",f,p,i,i))}function vL(e,t){var n=t.__brushOption,r=n.transformable,a=t.childAt(0);a.useStyle(B$(n)),a.attr({silent:!r,cursor:r?"move":"default"}),_e([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=t.childOfName(i.join("")),l=i.length===1?gL(e,i[0]):Q3t(e,i);o&&o.attr({silent:!r,invisible:!r,cursor:r?q3t[l]+"-resize":null})})}function zc(e,t,n,r,a,i,o){var l=t.childOfName(n);l&&l.setShape(t7t(R$(e,t,[[r,a],[r+i,a+o]])))}function B$(e){return or({strokeNoScale:!0},e.brushStyle)}function fge(e,t,n,r){var a=[l5(e,n),l5(t,r)],i=[M0(e,n),M0(t,r)];return[[a[0],i[0]],[a[1],i[1]]]}function Z3t(e){return Uf(e.group)}function gL(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},a=_F(n[t],Z3t(e));return r[a]}function Q3t(e,t){var n=[gL(e,t[0]),gL(e,t[1])];return(n[0]==="e"||n[0]==="w")&&n.reverse(),n.join("")}function ZJ(e,t,n,r,a,i){var o=n.__brushOption,l=e.toRectRange(o.range),s=pge(t,a,i);_e(r,function(u){var c=U3t[u];l[c[0]][c[1]]+=s[c[0]]}),o.range=e.fromRectRange(fge(l[0][0],l[1][0],l[0][1],l[1][1])),_$(t,n),Hm(t,{isEnd:!1})}function e7t(e,t,n,r){var a=t.__brushOption.range,i=pge(e,n,r);_e(a,function(o){o[0]+=i[0],o[1]+=i[1]}),_$(e,t),Hm(e,{isEnd:!1})}function pge(e,t,n){var r=e.group,a=r.transformCoordToLocal(t,n),i=r.transformCoordToLocal(0,0);return[a[0]-i[0],a[1]-i[1]]}function R$(e,t,n){var r=sge(e,t);return r&&r!==Vm?r.clipPath(n,e._transform):Rn(n)}function t7t(e){var t=l5(e[0][0],e[1][0]),n=l5(e[0][1],e[1][1]),r=M0(e[0][0],e[1][0]),a=M0(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:a-n}}function n7t(e,t,n){if(!(!e._brushType||a7t(e,t.offsetX,t.offsetY))){var r=e._zr,a=e._covers,i=M$(e,t,n);if(!e._dragging)for(var o=0;or.getWidth()||n<0||n>r.getHeight()}var zF={lineX:tX(0),lineY:tX(1),rect:{createCover:function(e,t){function n(r){return r}return cge({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=uge(e);return fge(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){dge(e,t,n,r)},updateCommon:vL,contain:bL},polygon:{createCover:function(e,t){var n=new oa;return n.add(new bp({name:"main",style:B$(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new nv({name:"main",draggable:!0,drift:Rr(e7t,e,t),ondragend:Rr(Hm,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:R$(e,t,n)})},updateCommon:vL,contain:bL}};function tX(e){return{createCover:function(t,n){return cge({toRectRange:function(r){var a=[r,[0,100]];return e&&a.reverse(),a},fromRectRange:function(r){return r[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=uge(t),r=l5(n[0][e],n[1][e]),a=M0(n[0][e],n[1][e]);return[r,a]},updateCoverShape:function(t,n,r,a){var i,o=sge(t,n);if(o!==Vm&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(e);else{var l=t._zr;i=[0,[l.getWidth(),l.getHeight()][1-e]]}var s=[r,i];e&&s.reverse(),dge(t,n,s,a)},updateCommon:vL,contain:bL}}function i7t(e){return e=L$(e),function(t){return kN(t,e)}}function o7t(e,t){return e=L$(e),function(n){var r=t!=null?t:n,a=r?e.width:e.height,i=r?e.x:e.y;return[i,i+(a||0)]}}function l7t(e,t,n){var r=L$(e);return function(a,i){return r.contain(i[0],i[1])&&!nge(a,t,n)}}function L$(e){return nr.create(e)}function s7t(e,t,n,r){return e&&(e.legacy||e.legacy!==!1&&!n&&!r&&t!=="tspan"&&(t==="text"||Xn(e,"text")))}function u7t(e,t,n){var r=e,a,i,o;if(t==="text")o=r;else{o={},Xn(r,"text")&&(o.text=r.text),Xn(r,"rich")&&(o.rich=r.rich),Xn(r,"textFill")&&(o.fill=r.textFill),Xn(r,"textStroke")&&(o.stroke=r.textStroke),Xn(r,"fontFamily")&&(o.fontFamily=r.fontFamily),Xn(r,"fontSize")&&(o.fontSize=r.fontSize),Xn(r,"fontStyle")&&(o.fontStyle=r.fontStyle),Xn(r,"fontWeight")&&(o.fontWeight=r.fontWeight),i={type:"text",style:o,silent:!0},a={};var l=Xn(r,"textPosition");a.position=l?r.textPosition:"inside",Xn(r,"textPosition")&&(a.position=r.textPosition),Xn(r,"textOffset")&&(a.offset=r.textOffset),Xn(r,"textRotation")&&(a.rotation=r.textRotation),Xn(r,"textDistance")&&(a.distance=r.textDistance)}return nX(o,e),_e(o.rich,function(s){nX(s,s)}),{textConfig:a,textContent:i}}function nX(e,t){t&&(t.font=t.textFont||t.font,Xn(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),Xn(t,"textAlign")&&(e.align=t.textAlign),Xn(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),Xn(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),Xn(t,"textWidth")&&(e.width=t.textWidth),Xn(t,"textHeight")&&(e.height=t.textHeight),Xn(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),Xn(t,"textPadding")&&(e.padding=t.textPadding),Xn(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),Xn(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),Xn(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),Xn(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),Xn(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),Xn(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),Xn(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}var mge={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},rX=Fr(mge);ou(gc,function(e,t){return e[t]=1,e},{});gc.join(", ");var RC=["","style","shape","extra"],B0=Gr();function O$(e,t,n,r,a){var i=e+"Animation",o=FN(e,r,a)||{},l=B0(t).userDuring;return o.duration>0&&(o.during=l?wn(m7t,{el:t,userDuring:l}):null,o.setToFinal=!0,o.scope=e),Gt(o,n[i]),o}function HA(e,t,n,r){r=r||{};var a=r.dataIndex,i=r.isInit,o=r.clearStyle,l=n.isAnimationEnabled(),s=B0(e),u=t.style;s.userDuring=t.during;var c={},d={};if(g7t(e,t,d),e.type==="compound")for(var f=e.shape.paths,p=t.shape.paths,h=0;h0&&e.animateFrom(v,g)}else f7t(e,t,a||0,n,c);vge(e,t),u?e.dirty():e.markRedraw()}function vge(e,t){for(var n=B0(e).leaveToProps,r=0;r0&&e.animateFrom(a,i)}}function p7t(e,t){Xn(t,"silent")&&(e.silent=t.silent),Xn(t,"ignore")&&(e.ignore=t.ignore),e instanceof tv&&Xn(t,"invisible")&&(e.invisible=t.invisible),e instanceof ea&&Xn(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var Ru={},h7t={setTransform:function(e,t){return Ru.el[e]=t,this},getTransform:function(e){return Ru.el[e]},setShape:function(e,t){var n=Ru.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=Ru.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=Ru.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=Ru.el.style;if(t)return t[e]},setExtra:function(e,t){var n=Ru.el.extra||(Ru.el.extra={});return n[e]=t,this},getExtra:function(e){var t=Ru.el.extra;if(t)return t[e]}};function m7t(){var e=this,t=e.el;if(t){var n=B0(t).userDuring,r=e.userDuring;if(n!==r){e.el=e.userDuring=null;return}Ru.el=t,r(h7t)}}function aX(e,t,n,r){var a=n[e];if(a){var i=t[e],o;if(i){var l=n.transition,s=a.transition;if(s)if(!o&&(o=r[e]={}),gm(s))Gt(o,i);else for(var u=mi(s),c=0;c=0){!o&&(o=r[e]={});for(var p=Fr(i),c=0;c=0)){var f=e.getAnimationStyleProps(),p=f?f.style:null;if(p){!i&&(i=r.style={});for(var h=Fr(n),u=0;u=vh:-u>=vh),p=u>0?u%vh:u%vh+vh,h=!1;f?h=!0:Of(d)?h=!1:h=p>=yge==!!c;var m=t+r*GA(o),v=n+a*WA(o);this._start&&this._add("M",m,v);var g=Math.round(i*E7t);if(f){var b=1/this._p,C=(c?1:-1)*(vh-b);this._add("A",r,a,g,1,+c,t+r*GA(o+C),n+a*WA(o+C)),b>.01&&this._add("A",r,a,g,0,+c,m,v)}else{var y=t+r*GA(l),E=n+a*WA(l);this._add("A",r,a,g,+h,+c,y,E)}},e.prototype.rect=function(t,n,r,a){this._add("M",t,n),this._add("l",r,0),this._add("l",0,a),this._add("l",-r,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,n,r,a,i,o,l,s,u){for(var c=[],d=this._p,f=1;f"}function M7t(e){return""}function I$(e,t){t=t||{};var n=t.newline?` `:"";function r(a){var i=a.children,o=a.tag,l=a.attrs,s=a.text;return x7t(o,l)+(o!=="style"?oo(s):s||"")+(i?""+n+cn(i,function(u){return r(u)}).join(n)+n:"")+M7t(o)}return r(e)}function B7t(e,t,n){n=n||{};var r=n.newline?` `:"",a=" {"+r,i=r+"}",o=cn(Fr(e),function(s){return s+a+cn(Fr(e[s]),function(u){return u+":"+e[s][u]+";"}).join(r)+i}).join(r),l=cn(Fr(t),function(s){return"@keyframes "+s+a+cn(Fr(t[s]),function(u){return u+a+cn(Fr(t[s][u]),function(c){var d=t[s][u][c];return c==="d"&&(d='path("'+d+'")'),c+":"+d+";"}).join(r)+i}).join(r)+i}).join(r);return!o&&!l?"":[""].join(r)}function EL(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function oX(e,t,n,r){return hi("svg","root",{width:e,height:t,xmlns:Cge,"xmlns:xlink":Fge,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var R7t=0;function wge(){return R7t++}var lX={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Fh="transform-origin";function L7t(e,t,n){var r=Gt({},e.shape);Gt(r,t),e.buildPath(n,r);var a=new bge;return a.reset(bme(e)),n.rebuildPath(a,1),a.generateStr(),a.getStr()}function O7t(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[Fh]=n+"px "+r+"px")}var P7t={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Sge(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function I7t(e,t,n){var r=e.shape.paths,a={},i,o;if(_e(r,function(s){var u=EL(n.zrId);u.animation=!0,WF(s,{},u,!0);var c=u.cssAnims,d=u.cssNodes,f=Fr(c),p=f.length;if(p){o=f[p-1];var h=c[o];for(var m in h){var v=h[m];a[m]=a[m]||{d:""},a[m].d+=v.d||""}for(var g in d){var b=d[g].animation;b.indexOf(o)>=0&&(i=b)}}}),!!i){t.d=!1;var l=Sge(a,n);return i.replace(o,l)}}function sX(e){return gn(e)?lX[e]?"cubic-bezier("+lX[e]+")":tN(e)?e:"":""}function WF(e,t,n,r){var a=e.animators,i=a.length,o=[];if(e instanceof CN){var l=I7t(e,t,n);if(l)o.push(l);else if(!i)return}else if(!i)return;for(var s={},u=0;u0}).length){var re=Sge(S,n);return re+" "+b[0]+" both"}}for(var v in s){var l=m(s[v]);l&&o.push(l)}if(o.length){var g=n.zrId+"-cls-"+wge();n.cssNodes["."+g]={animation:o.join(",")},t.class=g}}function N7t(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};uX(r,t,n)}else{var a=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},i=a.fill;if(!i){var o=e.style&&e.style.fill,l=e.states.select&&e.states.select.style&&e.states.select.style.fill,s=e.currentStates.indexOf("select")>=0&&l||o;s&&(i=X6(s))}var u=a.lineWidth;if(u){var c=!a.strokeNoScale&&e.transform?e.transform[0]:1;u=u/c}var r={cursor:"pointer"};i&&(r.fill=i),a.stroke&&(r.stroke=a.stroke),u&&(r["stroke-width"]=u),uX(r,t,n)}}function uX(e,t,n,r){var a=JSON.stringify(e),i=n.cssStyleCache[a];i||(i=n.zrId+"-cls-"+wge(),n.cssStyleCache[a]=i,n.cssNodes["."+i+":hover"]=e),t.class=t.class?t.class+" "+i:i}var s5=Math.round;function Age(e){return e&&gn(e.src)}function Dge(e){return e&&Pn(e.toDataURL)}function N$(e,t,n,r){T7t(function(a,i){var o=a==="fill"||a==="stroke";o&&yme(i)?kge(t,e,a,r):o&&rN(i)?_ge(n,e,a,r):e[a]=i,o&&r.ssr&&i==="none"&&(e["pointer-events"]="visible")},t,n,!1),j7t(n,e,r)}function $$(e,t){var n=Tme(t);n&&(n.each(function(r,a){r!=null&&(e[(iX+a).toLowerCase()]=r+"")}),t.isSilent()&&(e[iX+"silent"]="true"))}function cX(e){return Of(e[0]-1)&&Of(e[1])&&Of(e[2])&&Of(e[3]-1)}function $7t(e){return Of(e[4])&&Of(e[5])}function V$(e,t,n){if(t&&!($7t(t)&&cX(t))){var r=1e4;e.transform=cX(t)?"translate("+s5(t[4]*r)/r+" "+s5(t[5]*r)/r+")":hvt(t)}}function dX(e,t,n){for(var r=e.points,a=[],i=0;ii?(h=n[s+1]==null?null:n[s+1].elm,Bge(e,h,n,a,s)):LC(e,t,r,i))}function l1(e,t){var n=t.elm=e.elm,r=e.children,a=t.children;e!==t&&(H$(e,t),wL(t.text)?Nu(r)&&Nu(a)?r!==a&&J7t(n,r,a):Nu(a)?(Nu(e.text)&&jA(n,""),Bge(n,null,a,0,a.length-1)):Nu(r)?LC(n,r,0,r.length-1):Nu(e.text)&&jA(n,""):e.text!==t.text&&(Nu(r)&&LC(n,r,0,r.length-1),jA(n,t.text)))}function X7t(e,t){if(Ky(e,t))l1(e,t);else{var n=e.elm,r=xge(n);u5(t),r!==null&&(Th(r,t.elm,Mge(n)),LC(r,[e],0,0))}return t}var Z7t=0,Q7t=(function(){function e(t,n,r){if(this.type="svg",this.refreshHover=yX(),this.configLayer=yX(),this.storage=n,this._opts=r=Gt({},r),this.root=t,this._id="zr"+Z7t++,this._oldVNode=oX(r.width,r.height),t&&!r.ssr){var a=this._viewport=document.createElement("div");a.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=Ege("svg");H$(null,this._oldVNode),a.appendChild(i),t.appendChild(a)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",X7t(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return pX(t,EL(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var n=this.storage.getDisplayList(!0),r=this._width,a=this._height,i=EL(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress,i.emphasis=t.emphasis,i.ssr=this._opts.ssr;var o=[],l=this._bgVNode=e6t(r,a,this._backgroundColor,i);l&&o.push(l);var s=t.compress?null:this._mainVNode=hi("g","main",{},[]);this._paintList(n,i,s?s.children:o),s&&o.push(s);var u=cn(Fr(i.defs),function(f){return i.defs[f]});if(u.length&&o.push(hi("defs","defs",{},u)),t.animation){var c=B7t(i.cssNodes,i.cssAnims,{newline:!0});if(c){var d=hi("style","stl",{},[],c);o.push(d)}}return oX(r,a,o,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},I$(this.renderToVNode({animation:_n(t.cssAnimation,!0),emphasis:_n(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:_n(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,n,r){for(var a=t.length,i=[],o=0,l,s,u=0,c=0;c=0&&!(f&&s&&f[m]===s[m]);m--);for(var v=h-1;v>m;v--)o--,l=i[o-1];for(var g=m+1;g=l)}}for(var d=this.__startIndex;d15)break}}L.prevElClipPaths&&g.restore()};if(b)if(b.length===0)A=v.__endIndex;else for(var k=p.dpr,x=0;x0&&t>a[0]){for(s=0;st);s++);l=r[a[s]]}if(a.splice(s+1,0,t),r[t]=n,!n.virtual)if(l){var u=l.dom;u.nextSibling?o.insertBefore(n.dom,u.nextSibling):o.appendChild(n.dom)}else o.firstChild?o.insertBefore(n.dom,o.firstChild):o.appendChild(n.dom);n.painter||(n.painter=this)}},e.prototype.eachLayer=function(t,n){for(var r=this._zlevelList,a=0;a0?h3:0),this._needsManuallyCompositing),c.__builtin__||dF("ZLevel "+u+" has been used by unkown layer "+c.id),c!==i&&(c.__used=!0,c.__startIndex!==s&&(c.__dirty=!0),c.__startIndex=s,c.incremental?c.__drawIndex=-1:c.__drawIndex=s,n(s),i=c),a.__dirty&kl&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=s))}n(s),this.eachBuiltinLayer(function(d,f){!d.__used&&d.getElementCount()>0&&(d.__dirty=!0,d.__startIndex=d.__endIndex=d.__drawIndex=0),d.__dirty&&d.__drawIndex<0&&(d.__drawIndex=d.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,_e(this._layers,function(n){n.setUnpainted()})},e.prototype.configLayer=function(t,n){if(n){var r=this._layerConfig;r[t]?lr(r[t],n,!0):r[t]=n;for(var a=0;al)return!0;if(o){var s=T$(t).seriesDataCount,u=a.getExtent();return Math.abs(u[0]-u[1])/s>l}return!1}return r===!0},e.prototype.makeElOption=function(t,n,r,a,i){},e.prototype.createPointerEl=function(t,n,r,a){var i=n.pointer;if(i){var o=kh(t).pointerEl=new MN[i.type](FX(n.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,n,r,a){if(n.label){var i=kh(t).labelEl=new Qr(FX(n.label));t.add(i),wX(i,a)}},e.prototype.updatePointerEl=function(t,n,r){var a=kh(t).pointerEl;a&&n.pointer&&(a.setStyle(n.pointer.style),r(a,{shape:n.pointer.shape}))},e.prototype.updateLabelEl=function(t,n,r,a){var i=kh(t).labelEl;i&&(i.setStyle(n.label.style),r(i,{x:n.label.x,y:n.label.y}),wX(i,a))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,i=n.getModel("handle"),o=n.get("status");if(!i.get("show")||!o||o==="hide"){a&&r.remove(a),this._handle=null;return}var l;this._handle||(l=!0,a=this._handle=b4(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){_d(u.event)},onmousedown:UA(this._onHandleDragMove,this,0,0),drift:UA(this._onHandleDragMove,this),ondragend:UA(this._onHandleDragEnd,this)}),r.add(a)),SX(a,n,!1),a.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=i.get("size");rn(s)||(s=[s,s]),a.scaleX=s[0]/2,a.scaleY=s[1]/2,IF(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,l)}},e.prototype._moveHandleToValue=function(t,n){EX(this._axisPointerModel,!n&&this._moveAnimation,this._handle,qA(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,n){var r=this._handle;if(r){this._dragging=!0;var a=this.updateHandleTransform(qA(r),[t,n],this._axisModel,this._axisPointerModel);this._payloadInfo=a,r.stopAnimation(),r.attr(qA(a)),kh(r).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var n=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var n=t.getZr(),r=this._group,a=this._handle;n&&r&&(this._lastGraphicKey=null,r&&n.remove(r),a&&n.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),hC(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,n,r){return r=r||0,{x:t[r],y:t[1-r],width:n[r],height:n[1-r]}},e})();function EX(e,t,n,r){Lge(kh(n).lastProp,r)||(kh(n).lastProp=r,t?qi(n,r,e):(n.stopAnimation(),n.attr(r)))}function Lge(e,t){if(Sn(e)&&Sn(t)){var n=!0;return _e(t,function(r,a){n=n&&Lge(e[a],r)}),!!n}else return e===t}function wX(e,t){e[t.get(["label","show"])?"show":"hide"]()}function qA(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function SX(e,t,n){var r=t.get("z"),a=t.get("zlevel");e&&e.traverse(function(i){i.type!=="group"&&(r!=null&&(i.z=r),a!=null&&(i.zlevel=a),i.silent=n)})}function Oge(e){var t=e.get("type"),n=e.getModel(t+"Style"),r;return t==="line"?(r=n.getLineStyle(),r.fill=null):t==="shadow"&&(r=n.getAreaStyle(),r.stroke=null),r}function Pge(e,t,n,r,a){var i=n.get("value"),o=Ige(i,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),l=n.getModel("label"),s=fg(l.get("padding")||0),u=l.getFont(),c=vF(o,u),d=a.position,f=c.width+s[1]+s[3],p=c.height+s[0]+s[2],h=a.align;h==="right"&&(d[0]-=f),h==="center"&&(d[0]-=f/2);var m=a.verticalAlign;m==="bottom"&&(d[1]-=p),m==="middle"&&(d[1]-=p/2),l6t(d,f,p,r);var v=l.get("backgroundColor");(!v||v==="auto")&&(v=t.get(["axisLine","lineStyle","color"])),e.label={x:d[0],y:d[1],style:ho(l,{text:o,font:u,fill:l.getTextColor(),padding:s,backgroundColor:v}),z2:10}}function l6t(e,t,n,r){var a=r.getWidth(),i=r.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+n,i)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function Ige(e,t,n,r,a){e=t.scale.parse(e);var i=t.scale.getLabel({value:e},{precision:a.precision}),o=a.formatter;if(o){var l={value:wC(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};_e(r,function(s){var u=n.getSeriesByIndex(s.seriesIndex),c=s.dataIndexInside,d=u&&u.getDataParams(c);d&&l.seriesData.push(d)}),gn(o)?i=o.replace("{value}",i):Pn(o)&&(i=o(l))}return i}function Nge(e,t,n){var r=ss();return h4(r,r,n.rotation),O2(r,r,n.position),gd([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function s6t(e,t,n,r,a,i){var o=us.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),Pge(t,r,a,i,{position:Nge(r.axis,e,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function $ge(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function u6t(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function AX(e,t,n,r,a,i){return{cx:e,cy:t,r0:n,r,startAngle:a,endAngle:i,clockwise:!0}}var c6t=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,a,i,o){var l=a.axis,s=l.grid,u=i.get("type"),c=DX(s,l).getOtherAxis(l).getGlobalExtent(),d=l.toGlobalCoord(l.dataToCoord(r,!0));if(u&&u!=="none"){var f=Oge(i),p=d6t[u](l,d,c);p.style=f,n.graphicKey=p.type,n.pointer=p}var h=MC(s.getRect(),a);s6t(r,n,h,a,i,o)},t.prototype.getHandleTransform=function(n,r,a){var i=MC(r.axis.grid.getRect(),r,{labelInside:!1});i.labelMargin=a.get(["handle","margin"]);var o=Nge(r.axis,n,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,a,i){var o=a.axis,l=o.grid,s=o.getGlobalExtent(!0),u=DX(l,o).getOtherAxis(o).getGlobalExtent(),c=o.dim==="x"?0:1,d=[n.x,n.y];d[c]+=r[c],d[c]=Math.min(s[1],d[c]),d[c]=Math.max(s[0],d[c]);var f=(u[1]+u[0])/2,p=[f,f];p[c]=d[c];var h=[{verticalAlign:"middle"},{align:"center"}];return{x:d[0],y:d[1],rotation:n.rotation,cursorPoint:p,tooltipOption:h[c]}},t})(Rge);function DX(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var d6t={line:function(e,t,n){var r=$ge([t,n[0]],[t,n[1]],TX(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:u6t([t-r/2,n[0]],[r,a],TX(e))}}};function TX(e){return e.dim==="x"?0:1}var f6t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}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:Kt.color.border,width:1,type:"dashed"},shadowStyle:{color:Kt.color.shadowTint},label:{show:!0,formatter:null,precision:"auto",margin:3,color:Kt.color.neutral00,padding:[5,7,5,7],backgroundColor:Kt.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:Kt.color.accent40,throttle:40}},t})(_r),dd=Gr(),p6t=_e;function Vge(e,t,n){if(!tr.node){var r=t.getZr();dd(r).records||(dd(r).records={}),h6t(r,t);var a=dd(r).records[e]||(dd(r).records[e]={});a.handler=n}}function h6t(e,t){if(dd(e).initialized)return;dd(e).initialized=!0,n("click",Rr(kX,"click")),n("mousemove",Rr(kX,"mousemove")),n("globalout",v6t);function n(r,a){e.on(r,function(i){var o=g6t(t);p6t(dd(e).records,function(l){l&&a(l,i,o.dispatchAction)}),m6t(o.pendings,t)})}}function m6t(e,t){var n=e.showTip.length,r=e.hideTip.length,a;n?a=e.showTip[n-1]:r&&(a=e.hideTip[r-1]),a&&(a.dispatchAction=null,t.dispatchAction(a))}function v6t(e,t,n){e.handler("leave",null,n)}function kX(e,t,n,r){t.handler(e,n,r)}function g6t(e){var t={showTip:[],hideTip:[]},n=function(r){var a=t[r.type];a?a.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function SL(e,t){if(!tr.node){var n=t.getZr(),r=(dd(n).records||{})[e];r&&(dd(n).records[e]=null)}}var y6t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=r.getComponent("tooltip"),o=n.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";Vge("axisPointer",a,function(l,s,u){o!=="none"&&(l==="leave"||o.indexOf(l)>=0)&&u({type:"updateAxisPointer",currTrigger:l,x:s&&s.offsetX,y:s&&s.offsetY})})},t.prototype.remove=function(n,r){SL("axisPointer",r)},t.prototype.dispose=function(n,r){SL("axisPointer",r)},t.type="axisPointer",t})(bi);function Hge(e,t){var n=[],r=e.seriesIndex,a;if(r==null||!(a=t.getSeriesByIndex(r)))return{point:[]};var i=a.getData(),o=Im(i,e);if(o==null||o<0||rn(o))return{point:[]};var l=i.getItemGraphicEl(o),s=a.coordinateSystem;if(a.getTooltipPosition)n=a.getTooltipPosition(o)||[];else if(s&&s.dataToPoint)if(e.isStacked){var u=s.getBaseAxis(),c=s.getOtherAxis(u),d=c.dim,f=u.dim,p=d==="x"||d==="radius"?1:0,h=i.mapDimension(f),m=[];m[p]=i.get(h,o),m[1-p]=i.get(i.getCalculationInfo("stackResultDimension"),o),n=s.dataToPoint(m)||[]}else n=s.dataToPoint(i.getValues(cn(s.dimensions,function(g){return i.mapDimension(g)}),o))||[];else if(l){var v=l.getBoundingRect().clone();v.applyTransform(l.transform),n=[v.x+v.width/2,v.y+v.height/2]}return{point:n,el:l}}var _X=Gr();function b6t(e,t,n){var r=e.currTrigger,a=[e.x,e.y],i=e,o=e.dispatchAction||wn(n.dispatchAction,n),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){k7(a)&&(a=Hge({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},t).point);var s=k7(a),u=i.axesInfo,c=l.axesInfo,d=r==="leave"||k7(a),f={},p={},h={list:[],map:{}},m={showPointer:Rr(F6t,p),showTooltip:Rr(E6t,h)};_e(l.coordSysMap,function(g,b){var C=s||g.containPoint(a);_e(l.coordSysAxesInfo[b],function(y,E){var w=y.axis,S=D6t(u,y);if(!d&&C&&(!u||S)){var A=S&&S.value;A==null&&!s&&(A=w.pointToData(a)),A!=null&&xX(y,A,m,!1,f)}})});var v={};return _e(c,function(g,b){var C=g.linkGroup;C&&!p[b]&&_e(C.axesInfo,function(y,E){var w=p[E];if(y!==g&&w){var S=w.value;C.mapper&&(S=g.axis.scale.parse(C.mapper(S,MX(y),MX(g)))),v[g.key]=S}})}),_e(v,function(g,b){xX(c[b],g,m,!0,f)}),w6t(p,c,f),S6t(h,a,e,o),A6t(c,o,n),f}}function xX(e,t,n,r,a){var i=e.axis;if(!(i.scale.isBlank()||!i.containData(t))){if(!e.involveSeries){n.showPointer(e,t);return}var o=C6t(t,e),l=o.payloadBatch,s=o.snapToValue;l[0]&&a.seriesIndex==null&&Gt(a,l[0]),!r&&e.snap&&i.containData(s)&&s!=null&&(t=s),n.showPointer(e,t,l),n.showTooltip(e,o,s)}}function C6t(e,t){var n=t.axis,r=n.dim,a=e,i=[],o=Number.MAX_VALUE,l=-1;return _e(t.seriesModels,function(s,u){var c=s.getData().mapDimensionsAll(r),d,f;if(s.getAxisTooltipData){var p=s.getAxisTooltipData(c,e,n);f=p.dataIndices,d=p.nestestValue}else{if(f=s.indicesOfNearest(r,c[0],e,n.type==="category"?.5:null),!f.length)return;d=s.getData().get(c[0],f[0])}if(!(d==null||!isFinite(d))){var h=e-d,m=Math.abs(h);m<=o&&((m=0&&l<0)&&(o=m,l=h,a=d,i.length=0),_e(f,function(v){i.push({seriesIndex:s.seriesIndex,dataIndexInside:v,dataIndex:s.getData().getRawIndex(v)})}))}}),{payloadBatch:i,snapToValue:a}}function F6t(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function E6t(e,t,n,r){var a=n.payloadBatch,i=t.axis,o=i.model,l=t.axisPointerModel;if(!(!t.triggerTooltip||!a.length)){var s=t.coordSys.model,u=i5(s),c=e.map[u];c||(c=e.map[u]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:r,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:a.slice()})}}function w6t(e,t,n){var r=n.axesInfo=[];_e(t,function(a,i){var o=a.axisPointerModel.option,l=e[i];l?(!a.useHandle&&(o.status="show"),o.value=l.value,o.seriesDataIndices=(l.payloadBatch||[]).slice()):!a.useHandle&&(o.status="hide"),o.status==="show"&&r.push({axisDim:a.axis.dim,axisIndex:a.axis.model.componentIndex,value:o.value})})}function S6t(e,t,n,r){if(k7(t)||!e.list.length){r({type:"hideTip"});return}var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}function A6t(e,t,n){var r=n.getZr(),a="axisPointerLastHighlights",i=_X(r)[a]||{},o=_X(r)[a]={};_e(e,function(u,c){var d=u.axisPointerModel.option;d.status==="show"&&u.triggerEmphasis&&_e(d.seriesDataIndices,function(f){var p=f.seriesIndex+" | "+f.dataIndex;o[p]=f})});var l=[],s=[];_e(i,function(u,c){!o[c]&&s.push(u)}),_e(o,function(u,c){!i[c]&&l.push(u)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function D6t(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function MX(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function k7(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function z$(e){A4.registerAxisPointerClass("CartesianAxisPointer",c6t),e.registerComponentModel(f6t),e.registerComponentView(y6t),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!rn(n)&&(t.axisPointer.link=[n])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,n){t.getComponent("axisPointer").coordSysAxesInfo=y3t(t,n)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},b6t)}function T6t(e){ml(M3t),ml(z$)}var k6t=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,a,i,o){var l=a.axis;l.dim==="angle"&&(this.animationThreshold=Math.PI/18);var s=l.polar,u=s.getOtherAxis(l),c=u.getExtent(),d=l.dataToCoord(r),f=i.get("type");if(f&&f!=="none"){var p=Oge(i),h=x6t[f](l,s,d,c);h.style=p,n.graphicKey=h.type,n.pointer=h}var m=i.get(["label","margin"]),v=_6t(r,a,i,s,m);Pge(n,a,i,o,v)},t})(Rge);function _6t(e,t,n,r,a){var i=t.axis,o=i.dataToCoord(e),l=r.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var s=r.getRadiusAxis().getExtent(),u,c,d;if(i.dim==="radius"){var f=ss();h4(f,f,l),O2(f,f,[r.cx,r.cy]),u=gd([o,-a],f);var p=t.getModel("axisLabel").get("rotate")||0,h=us.innerTextLayout(l,p*Math.PI/180,-1);c=h.textAlign,d=h.textVerticalAlign}else{var m=s[1];u=r.coordToPoint([m+a,o]);var v=r.cx,g=r.cy;c=Math.abs(u[0]-v)/m<.3?"center":u[0]>v?"left":"right",d=Math.abs(u[1]-g)/m<.3?"middle":u[1]>g?"top":"bottom"}return{position:u,align:c,verticalAlign:d}}var x6t={line:function(e,t,n,r){return e.dim==="angle"?{type:"Line",shape:$ge(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var a=Math.max(1,e.getBandWidth()),i=Math.PI/180;return e.dim==="angle"?{type:"Sector",shape:AX(t.cx,t.cy,r[0],r[1],(-n-a/2)*i,(-n+a/2)*i)}:{type:"Sector",shape:AX(t.cx,t.cy,n-a/2,n+a/2,0,Math.PI*2)}}},M6t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.findAxisModel=function(n){var r,a=this.ecModel;return a.eachComponent(n,function(i){i.getCoordSysModel()===this&&(r=i)},this),r},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t})(_r),W$=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",xi).models[0]},t.type="polarAxis",t})(_r);$l(W$,C$);var B6t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="angleAxis",t})(W$),R6t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="radiusAxis",t})(W$),G$=(function(e){Nt(t,e);function t(n,r){return e.call(this,"radius",n,r)||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t})(wp);G$.prototype.dataToRadius=wp.prototype.dataToCoord;G$.prototype.radiusToData=wp.prototype.coordToData;var L6t=Gr(),j$=(function(e){Nt(t,e);function t(n,r){return e.call(this,"angle",n,r||[0,360])||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var n=this,r=n.getLabelModel(),a=n.scale,i=a.getExtent(),o=a.count();if(i[1]-i[0]<1)return 0;var l=i[0],s=n.dataToCoord(l+1)-n.dataToCoord(l),u=Math.abs(s),c=vF(l==null?"":l+"",r.getFont(),"center","top"),d=Math.max(c.height,7),f=d/u;isNaN(f)&&(f=1/0);var p=Math.max(0,Math.floor(f)),h=L6t(n.model),m=h.lastAutoInterval,v=h.lastTickCount;return m!=null&&v!=null&&Math.abs(m-p)<=1&&Math.abs(v-o)<=1&&m>p?p=m:(h.lastTickCount=o,h.lastAutoInterval=p),p},t})(wp);j$.prototype.dataToAngle=wp.prototype.dataToCoord;j$.prototype.angleToData=wp.prototype.coordToData;var zge=["radius","angle"],O6t=(function(){function e(t){this.dimensions=zge,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new G$,this._angleAxis=new j$,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(t){var n=this.pointToCoord(t);return this._radiusAxis.contain(n[0])&&this._angleAxis.contain(n[1])},e.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},e.prototype.getAxis=function(t){var n="_"+t+"Axis";return this[n]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(t){var n=[],r=this._angleAxis,a=this._radiusAxis;return r.scale.type===t&&n.push(r),a.scale.type===t&&n.push(a),n},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(t){var n=this._angleAxis;return t===n?this._radiusAxis:n},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(t){var n=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[n],otherAxes:[this.getOtherAxis(n)]}},e.prototype.dataToPoint=function(t,n,r){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],n),this._angleAxis.dataToAngle(t[1],n)],r)},e.prototype.pointToData=function(t,n,r){r=r||[];var a=this.pointToCoord(t);return r[0]=this._radiusAxis.radiusToData(a[0],n),r[1]=this._angleAxis.angleToData(a[1],n),r},e.prototype.pointToCoord=function(t){var n=t[0]-this.cx,r=t[1]-this.cy,a=this.getAngleAxis(),i=a.getExtent(),o=Math.min(i[0],i[1]),l=Math.max(i[0],i[1]);a.inverse?o=l-360:l=o+360;var s=Math.sqrt(n*n+r*r);n/=s,r/=s;for(var u=Math.atan2(-r,n)/Math.PI*180,c=ul;)u+=c*360;return[s,u]},e.prototype.coordToPoint=function(t,n){n=n||[];var r=t[0],a=t[1]/180*Math.PI;return n[0]=Math.cos(a)*r+this.cx,n[1]=-Math.sin(a)*r+this.cy,n},e.prototype.getArea=function(){var t=this.getAngleAxis(),n=this.getRadiusAxis(),r=n.getExtent().slice();r[0]>r[1]&&r.reverse();var a=t.getExtent(),i=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:r[0],r:r[1],startAngle:-a[0]*i,endAngle:-a[1]*i,clockwise:t.inverse,contain:function(l,s){var u=l-this.cx,c=s-this.cy,d=u*u+c*c,f=this.r,p=this.r0;return f!==p&&d-o<=f*f&&d+o>=p*p},x:this.cx-r[1],y:this.cy-r[1],width:r[1]*2,height:r[1]*2}},e.prototype.convertToPixel=function(t,n,r){var a=BX(n);return a===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var a=BX(n);return a===this?this.pointToData(r):null},e})();function BX(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function P6t(e,t,n){var r=t.get("center"),a=Cp(t,n).refContainer;e.cx=Br(r[0],a.width)+a.x,e.cy=Br(r[1],a.height)+a.y;var i=e.getRadiusAxis(),o=Math.min(a.width,a.height)/2,l=t.get("radius");l==null?l=[0,"100%"]:rn(l)||(l=[0,l]);var s=[Br(l[0],o),Br(l[1],o)];i.inverse?i.setExtent(s[1],s[0]):i.setExtent(s[0],s[1])}function I6t(e,t){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries(function(l){if(l.coordinateSystem===n){var s=l.getData();_e(SC(s,"radius"),function(u){a.scale.unionExtentFromData(s,u)}),_e(SC(s,"angle"),function(u){r.scale.unionExtentFromData(s,u)})}}),n5(r.scale,r.model),n5(a.scale,a.model),r.type==="category"&&!r.onBand){var i=r.getExtent(),o=360/r.scale.count();r.inverse?i[1]+=o:i[1]-=o,r.setExtent(i[0],i[1])}}function N6t(e){return e.mainType==="angleAxis"}function RX(e,t){var n;if(e.type=t.get("type"),e.scale=y$(t),e.onBand=t.get("boundaryGap")&&e.type==="category",e.inverse=t.get("inverse"),N6t(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),a=(n=t.get("endAngle"))!==null&&n!==void 0?n:r+(e.inverse?-360:360);e.setExtent(r,a)}t.axis=e,e.model=t}var $6t={dimensions:zge,create:function(e,t){var n=[];return e.eachComponent("polar",function(r,a){var i=new O6t(a+"");i.update=I6t;var o=i.getRadiusAxis(),l=i.getAngleAxis(),s=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");RX(o,s),RX(l,u),P6t(i,r,t),n.push(i),r.coordinateSystem=i,i.model=r}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="polar"){var a=r.getReferringComponents("polar",xi).models[0];r.coordinateSystem=a.coordinateSystem}}),n}},V6t=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function m3(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),a=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:a[0],y2:a[1]}}function v3(e){var t=e.getRadiusAxis();return t.inverse?0:1}function LX(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var H6t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return t.prototype.render=function(n,r){if(this.group.removeAll(),!!n.get("show")){var a=n.axis,i=a.polar,o=i.getRadiusAxis().getExtent(),l=a.getTicksCoords({breakTicks:"none"}),s=a.getMinorTicksCoords(),u=cn(a.getViewLabels(),function(c){c=Rn(c);var d=a.scale,f=d.type==="ordinal"?d.getRawOrdinalNumber(c.tickValue):c.tickValue;return c.coord=a.dataToCoord(f),c});LX(u),LX(l),_e(V6t,function(c){n.get([c,"show"])&&(!a.scale.isBlank()||c==="axisLine")&&z6t[c](this.group,n,i,l,s,o,u)},this)}},t.type="angleAxis",t})(A4),z6t={axisLine:function(e,t,n,r,a,i){var o=t.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),s=Math.PI/180,u=l.getExtent(),c=v3(n),d=c?0:1,f,p=Math.abs(u[1]-u[0])===360?"Circle":"Arc";i[d]===0?f=new MN[p]({shape:{cx:n.cx,cy:n.cy,r:i[c],startAngle:-u[0]*s,endAngle:-u[1]*s,clockwise:l.inverse},style:o.getLineStyle(),z2:1,silent:!0}):f=new g4({shape:{cx:n.cx,cy:n.cy,r:i[c],r0:i[d]},style:o.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,e.add(f)},axisTick:function(e,t,n,r,a,i){var o=t.getModel("axisTick"),l=(o.get("inside")?-1:1)*o.get("length"),s=i[v3(n)],u=cn(r,function(c){return new Rl({shape:m3(n,[s,s+l],c.coord)})});e.add(Hu(u,{style:or(o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,a,i){if(a.length){for(var o=t.getModel("axisTick"),l=t.getModel("minorTick"),s=(o.get("inside")?-1:1)*l.get("length"),u=i[v3(n)],c=[],d=0;dg?"left":"right",y=Math.abs(v[1]-b)/m<.3?"middle":v[1]>b?"top":"bottom";if(l&&l[h]){var E=l[h];Sn(E)&&E.textStyle&&(p=new va(E.textStyle,s,s.ecModel))}var w=new Qr({silent:us.isLabelSilent(t),style:ho(p,{x:v[0],y:v[1],fill:p.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:d.formattedLabel,align:C,verticalAlign:y})});if(e.add(w),rv({el:w,componentModel:t,itemName:d.formattedLabel,formatterParamsExtra:{isTruncated:function(){return w.isTruncated},value:d.rawLabel,tickIndex:f}}),c){var S=us.makeAxisEventDataBase(t);S.targetType="axisLabel",S.value=d.rawLabel,Dr(w).eventData=S}},this)},splitLine:function(e,t,n,r,a,i){var o=t.getModel("splitLine"),l=o.getModel("lineStyle"),s=l.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],d=0;d=0?"p":"n",I=D;E&&(r[c][M]||(r[c][M]={p:D,n:D}),I=r[c][M][L]);var P=void 0,B=void 0,T=void 0,O=void 0;if(h.dim==="radius"){var N=h.dataToCoord(_)-D,V=s.dataToCoord(M);Math.abs(N)=O})}}})}function q6t(e){var t={};_e(e,function(r,a){var i=r.getData(),o=r.coordinateSystem,l=o.getBaseAxis(),s=Gge(o,l),u=l.getExtent(),c=l.type==="category"?l.getBandWidth():Math.abs(u[1]-u[0])/i.count(),d=t[s]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=d.stacks;t[s]=d;var p=Wge(r);f[p]||d.autoWidthCount++,f[p]=f[p]||{width:0,maxWidth:0};var h=Br(r.get("barWidth"),c),m=Br(r.get("barMaxWidth"),c),v=r.get("barGap"),g=r.get("barCategoryGap");h&&!f[p].width&&(h=Math.min(d.remainedWidth,h),f[p].width=h,d.remainedWidth-=h),m&&(f[p].maxWidth=m),v!=null&&(d.gap=v),g!=null&&(d.categoryGap=g)});var n={};return _e(t,function(r,a){n[a]={};var i=r.stacks,o=r.bandWidth,l=Br(r.categoryGap,o),s=Br(r.gap,1),u=r.remainedWidth,c=r.autoWidthCount,d=(u-l)/(c+(c-1)*s);d=Math.max(d,0),_e(i,function(m,v){var g=m.maxWidth;g&&g=0;c--){var d=a[c],f=Ro(d.id,null),p=f!=null?o.get(f):null;if(p){var h=p.parent,g=Zl(h),b=h===i?{width:l,height:s}:{width:g.width,height:g.height},C={},y=UN(p,d,b,null,{hv:d.hv,boundingMode:d.bounding},C);if(!Zl(p).isNew&&y){for(var E=d.transition,w={},S=0;S=0)?w[A]=D:p[A]=D}qi(p,w,n,0)}else p.attr(C)}}},t.prototype._clear=function(){var n=this,r=this._elMap;r.each(function(a){_7(a,Zl(a).option,r,n._lastGraphicModel)}),this._elMap=jn()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t})(bi);function AL(e){var t=Xn(PX,e)?PX[e]:SN(e),n=new t({});return Zl(n).type=e,n}function IX(e,t,n,r){var a=AL(n);return t.add(a),r.set(e,a),Zl(a).id=e,Zl(a).isNew=!0,a}function _7(e,t,n,r){var a=e&&e.parent;a&&(e.type==="group"&&e.traverse(function(i){_7(i,t,n,r)}),c7t(e,t,r),n.removeKey(Zl(e).id))}function NX(e,t,n,r){e.isGroup||_e([["cursor",tv.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(a){var i=a[0];Xn(t,i)?e[i]=_n(t[i],a[1]):e[i]==null&&(e[i]=a[1])}),_e(Fr(t),function(a){if(a.indexOf("on")===0){var i=t[a];e[a]=Pn(i)?i:null}}),Xn(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function iCt(e){return e=Gt({},e),_e(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat($ve),function(t){delete e[t]}),e}function oCt(e,t,n){var r=Dr(e).eventData;!e.silent&&!e.ignore&&!r&&(r=Dr(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function lCt(e){e.registerComponentModel(rCt),e.registerComponentView(aCt),e.registerPreprocessor(function(t){var n=t.graphic;rn(n)?!n[0]||!n[0].elements?t.graphic=[{elements:n}]:t.graphic=[t.graphic[0]]:n&&!n.elements&&(t.graphic=[{elements:[n]}])})}var $X=["x","y","radius","angle","single"],sCt=["cartesian2d","polar","singleAxis"];function uCt(e){var t=e.get("coordinateSystem");return fr(sCt,t)>=0}function Vf(e){return e+"Axis"}function cCt(e,t){var n=jn(),r=[],a=jn();e.eachComponent({mainType:"dataZoom",query:t},function(c){a.get(c.uid)||l(c)});var i;do i=!1,e.eachComponent("dataZoom",o);while(i);function o(c){!a.get(c.uid)&&s(c)&&(l(c),i=!0)}function l(c){a.set(c.uid,!0),r.push(c),u(c)}function s(c){var d=!1;return c.eachTargetAxis(function(f,p){var h=n.get(f);h&&h[p]&&(d=!0)}),d}function u(c){c.eachTargetAxis(function(d,f){(n.get(d)||n.set(d,[]))[f]=!0})}return r}function Kge(e){var t=e.ecModel,n={infoList:[],infoMap:jn()};return e.eachTargetAxis(function(r,a){var i=t.getComponent(Vf(r),a);if(i){var o=i.getCoordSysModel();if(o){var l=o.uid,s=n.infoMap.get(l);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(l,s)),s.axisModels.push(i)}}}),n}var YA=(function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e})(),c5=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return t.prototype.init=function(n,r,a){var i=VX(n);this.settledOption=i,this.mergeDefaultAndTheme(n,a),this._doInit(i)},t.prototype.mergeOption=function(n){var r=VX(n);lr(this.option,n,!0),lr(this.settledOption,r,!0),this._doInit(r)},t.prototype._doInit=function(n){var r=this.option;this._setDefaultThrottle(n),this._updateRangeUse(n);var a=this.settledOption;_e([["start","startValue"],["end","endValue"]],function(i,o){this._rangePropMode[o]==="value"&&(r[i[0]]=a[i[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var n=this.get("orient",!0),r=this._targetAxisInfoMap=jn(),a=this._fillSpecifiedTargetAxis(r);a?this._orient=n||this._makeAutoOrientByTargetAxis():(this._orient=n||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(n){var r=!1;return _e($X,function(a){var i=this.getReferringComponents(Vf(a),y1t);if(i.specified){r=!0;var o=new YA;_e(i.models,function(l){o.add(l.componentIndex)}),n.set(a,o)}},this),r},t.prototype._fillAutoTargetAxisByOrient=function(n,r){var a=this.ecModel,i=!0;if(i){var o=r==="vertical"?"y":"x",l=a.findComponents({mainType:o+"Axis"});s(l,o)}if(i){var l=a.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===r}});s(l,"single")}function s(u,c){var d=u[0];if(d){var f=new YA;if(f.add(d.componentIndex),n.set(c,f),i=!1,c==="x"||c==="y"){var p=d.getReferringComponents("grid",xi).models[0];p&&_e(u,function(h){d.componentIndex!==h.componentIndex&&p===h.getReferringComponents("grid",xi).models[0]&&f.add(h.componentIndex)})}}}i&&_e($X,function(u){if(i){var c=a.findComponents({mainType:Vf(u),filter:function(f){return f.get("type",!0)==="category"}});if(c[0]){var d=new YA;d.add(c[0].componentIndex),n.set(u,d),i=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var n;return this.eachTargetAxis(function(r){!n&&(n=r)},this),n==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(n){if(n.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(n){var r=this._rangePropMode,a=this.get("rangeMode");_e([["start","startValue"],["end","endValue"]],function(i,o){var l=n[i[0]]!=null,s=n[i[1]]!=null;l&&!s?r[o]="percent":!l&&s?r[o]="value":a?r[o]=a[o]:l&&(r[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var n;return this.eachTargetAxis(function(r,a){n==null&&(n=this.ecModel.getComponent(Vf(r),a))},this),n},t.prototype.eachTargetAxis=function(n,r){this._targetAxisInfoMap.each(function(a,i){_e(a.indexList,function(o){n.call(r,i,o)})})},t.prototype.getAxisProxy=function(n,r){var a=this.getAxisModel(n,r);if(a)return a.__dzAxisProxy},t.prototype.getAxisModel=function(n,r){var a=this._targetAxisInfoMap.get(n);if(a&&a.indexMap[r])return this.ecModel.getComponent(Vf(n),r)},t.prototype.setRawRange=function(n){var r=this.option,a=this.settledOption;_e([["start","startValue"],["end","endValue"]],function(i){(n[i[0]]!=null||n[i[1]]!=null)&&(r[i[0]]=a[i[0]]=n[i[0]],r[i[1]]=a[i[1]]=n[i[1]])},this),this._updateRangeUse(n)},t.prototype.setCalculatedRange=function(n){var r=this.option;_e(["start","startValue","end","endValue"],function(a){r[a]=n[a]})},t.prototype.getPercentRange=function(){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataPercentWindow()},t.prototype.getValueRange=function(n,r){if(n==null&&r==null){var a=this.findRepresentativeAxisProxy();if(a)return a.getDataValueWindow()}else return this.getAxisProxy(n,r).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(n){if(n)return n.__dzAxisProxy;for(var r,a=this._targetAxisInfoMap.keys(),i=0;io[1];if(C&&!y&&!E)return!0;C&&(v=!0),y&&(h=!0),E&&(m=!0)}return v&&h&&m})}else s1(c,function(p){if(i==="empty")s.setData(u=u.map(p,function(m){return l(m)?m:NaN}));else{var h={};h[p]=o,u.selectRange(h)}});s1(c,function(p){u.setApproximateExtent(o,p)})}});function l(s){return s>=o[0]&&s<=o[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},n=this._dataZoomModel,r=this._dataExtent;s1(["min","max"],function(a){var i=n.get(a+"Span"),o=n.get(a+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?i=Ca(r[0]+o,r,[0,100],!0):i!=null&&(o=Ca(i,[0,100],r,!0)-r[0]),t[a+"Span"]=i,t[a+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),n=this._percentWindow,r=this._valueWindow;if(n){var a=oN(r,[0,500]);a=Math.min(a,20);var i=t.axis.scale.rawExtentInfo;n[0]!==0&&i.setDeterminedMinMax("min",+r[0].toFixed(a)),n[1]!==100&&i.setDeterminedMinMax("max",+r[1].toFixed(a)),i.freeze()}},e})();function hCt(e,t,n){var r=[1/0,-1/0];s1(n,function(o){q5t(r,o.getData(),t)});var a=e.getAxisModel(),i=d0e(a.axis.scale,a,r).calculate();return[i.min,i.max]}var mCt={getTargetSeries:function(e){function t(a){e.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,l){var s=e.getComponent(Vf(o),l);a(o,l,s,i)})})}t(function(a,i,o,l){o.__dzAxisProxy=null});var n=[];t(function(a,i,o,l){o.__dzAxisProxy||(o.__dzAxisProxy=new pCt(a,i,l,e),n.push(o.__dzAxisProxy))});var r=jn();return _e(n,function(a){_e(a.getTargetSeriesModels(),function(i){r.set(i.uid,i)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,a){n.getAxisProxy(r,a).reset(n)}),n.eachTargetAxis(function(r,a){n.getAxisProxy(r,a).filterData(n,t)})}),e.eachComponent("dataZoom",function(n){var r=n.findRepresentativeAxisProxy();if(r){var a=r.getDataPercentWindow(),i=r.getDataValueWindow();n.setCalculatedRange({start:a[0],end:a[1],startValue:i[0],endValue:i[1]})}})}};function vCt(e){e.registerAction("dataZoom",function(t,n){var r=cCt(n,t);_e(r,function(a){a.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var zX=!1;function U$(e){zX||(zX=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,mCt),vCt(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function gCt(e){e.registerComponentModel(dCt),e.registerComponentView(fCt),U$(e)}var Is=(function(){function e(){}return e})(),Uge={};function gy(e,t){Uge[e]=t}function qge(e){return Uge[e]}var yCt=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var n=this.ecModel;_e(this.option.feature,function(r,a){var i=qge(a);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(n)),lr(r,i.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:Kt.color.border,borderRadius:0,borderWidth:0,padding:Kt.size.m,itemSize:15,itemGap:Kt.size.s,showTitle:!0,iconStyle:{borderColor:Kt.color.accent50,color:"none"},emphasis:{iconStyle:{borderColor:Kt.color.accent50}},tooltip:{show:!1,position:"bottom"}},t})(_r);function Yge(e,t){var n=fg(t.get("padding")),r=t.getItemStyle(["color","opacity"]);r.fill=t.get("backgroundColor");var a=new Zr({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1});return a}var bCt=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,a,i){var o=this.group;if(o.removeAll(),!n.get("show"))return;var l=+n.get("itemSize"),s=n.get("orient")==="vertical",u=n.get("feature")||{},c=this._features||(this._features={}),d=[];_e(u,function(b,C){d.push(C)}),new p$(this._featureNames||[],d).add(f).update(f).remove(Rr(f,null)).execute(),this._featureNames=d;function f(b,C){var y=d[b],E=d[C],w=u[y],S=new va(w,n,n.ecModel),A;if(i&&i.newTitle!=null&&i.featureName===y&&(w.title=i.newTitle),y&&!E){if(CCt(y))A={onclick:S.option.onclick,featureName:y};else{var D=qge(y);if(!D)return;A=new D}c[y]=A}else if(A=c[E],!A)return;A.uid=E4("toolbox-feature"),A.model=S,A.ecModel=r,A.api=a;var k=A instanceof Is;if(!y&&E){k&&A.dispose&&A.dispose(r,a);return}if(!S.get("show")||k&&A.unusable){k&&A.remove&&A.remove(r,a);return}p(S,A,y),S.setIconStatus=function(x,_){var M=this.option,L=this.iconPaths;M.iconStatus=M.iconStatus||{},M.iconStatus[x]=_,L[x]&&(_==="emphasis"?A0:D0)(L[x])},A instanceof Is&&A.render&&A.render(S,r,a,i)}function p(b,C,y){var E=b.getModel("iconStyle"),w=b.getModel(["emphasis","iconStyle"]),S=C instanceof Is&&C.getIcons?C.getIcons():b.get("icon"),A=b.get("title")||{},D,k;gn(S)?(D={},D[y]=S):D=S,gn(A)?(k={},k[y]=A):k=A;var x=b.iconPaths={};_e(D,function(_,M){var L=b4(_,{},{x:-l/2,y:-l/2,width:l,height:l});L.setStyle(E.getItemStyle());var I=L.ensureState("emphasis");I.style=w.getItemStyle();var P=new Qr({style:{text:k[M],align:w.get("textAlign"),borderRadius:w.get("textBorderRadius"),padding:w.get("textPadding"),fill:null,font:Dve({fontStyle:w.get("textFontStyle"),fontFamily:w.get("textFontFamily"),fontSize:w.get("textFontSize"),fontWeight:w.get("textFontWeight")},r)},ignore:!0});L.setTextContent(P),rv({el:L,componentModel:n,itemName:M,formatterParamsExtra:{title:k[M]}}),L.__title=k[M],L.on("mouseover",function(){var B=w.getItemStyle(),T=s?n.get("right")==null&&n.get("left")!=="right"?"right":"left":n.get("bottom")==null&&n.get("top")!=="bottom"?"bottom":"top";P.setStyle({fill:w.get("textFill")||B.fill||B.stroke||Kt.color.neutral99,backgroundColor:w.get("textBackgroundColor")}),L.setTextConfig({position:w.get("textPosition")||T}),P.ignore=!n.get("showTitle"),a.enterEmphasis(this)}).on("mouseout",function(){b.get(["iconStatus",M])!=="emphasis"&&a.leaveEmphasis(this),P.hide()}),(b.get(["iconStatus",M])==="emphasis"?A0:D0)(L),o.add(L),L.on("click",wn(C.onclick,C,r,a,M)),x[M]=L})}var h=Cp(n,a).refContainer,m=n.getBoxLayoutParams(),v=n.get("padding"),g=Pl(m,h,v);hm(n.get("orient"),o,n.get("itemGap"),g.width,g.height),UN(o,m,h,v),o.add(Yge(o.getBoundingRect(),n)),s||o.eachChild(function(b){var C=b.__title,y=b.ensureState("emphasis"),E=y.textConfig||(y.textConfig={}),w=b.getTextContent(),S=w&&w.ensureState("emphasis");if(S&&!Pn(S)&&C){var A=S.style||(S.style={}),D=vF(C,Qr.makeFont(A)),k=b.x+o.x,x=b.y+o.y+l,_=!1;x+D.height>a.getHeight()&&(E.position="top",_=!0);var M=_?-5-D.height:l+10;k+D.width/2>a.getWidth()?(E.position=["100%",M],A.align="right"):k-D.width/2<0&&(E.position=[0,M],A.align="left")}})},t.prototype.updateView=function(n,r,a,i){_e(this._features,function(o){o instanceof Is&&o.updateView&&o.updateView(o.model,r,a,i)})},t.prototype.remove=function(n,r){_e(this._features,function(a){a instanceof Is&&a.remove&&a.remove(n,r)}),this.group.removeAll()},t.prototype.dispose=function(n,r){_e(this._features,function(a){a instanceof Is&&a.dispose&&a.dispose(n,r)})},t.type="toolbox",t})(bi);function CCt(e){return e.indexOf("my")===0}var FCt=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){var a=this.model,i=a.get("name")||n.get("title.0.text")||"echarts",o=r.getZr().painter.getType()==="svg",l=o?"svg":a.get("type",!0)||"png",s=r.getConnectedDataURL({type:l,backgroundColor:a.get("backgroundColor",!0)||n.get("backgroundColor")||Kt.color.neutral00,connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")}),u=tr.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=i+"."+l,c.target="_blank",c.href=s;var d=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(d)}else if(window.navigator.msSaveOrOpenBlob||o){var f=s.split(","),p=f[0].indexOf("base64")>-1,h=o?decodeURIComponent(f[1]):f[1];p&&(h=window.atob(h));var m=i+"."+l;if(window.navigator.msSaveOrOpenBlob){for(var v=h.length,g=new Uint8Array(v);v--;)g[v]=h.charCodeAt(v);var b=new Blob([g]);window.navigator.msSaveOrOpenBlob(b,m)}else{var C=document.createElement("iframe");document.body.appendChild(C);var y=C.contentWindow,E=y.document;E.open("image/svg+xml","replace"),E.write(h),E.close(),y.focus(),E.execCommand("SaveAs",!0,m),document.body.removeChild(C)}}else{var w=a.get("lang"),S='',A=window.open();A.document.write(S),A.document.title=i}},t.getDefaultOption=function(n){var r={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:n.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:Kt.color.neutral00,name:"",excludeComponents:["toolbox"],lang:n.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return r},t})(Is),WX="__ec_magicType_stack__",ECt=[["line","bar"],["stack"]],wCt=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var n=this.model,r=n.get("icon"),a={};return _e(n.get("type"),function(i){r[i]&&(a[i]=r[i])}),a},t.getDefaultOption=function(n){var r={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:n.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return r},t.prototype.onclick=function(n,r,a){var i=this.model,o=i.get(["seriesIndex",a]);if(GX[a]){var l={series:[]},s=function(d){var f=d.subType,p=d.id,h=GX[a](f,p,d,i);h&&(or(h,d.option),l.series.push(h));var m=d.coordinateSystem;if(m&&m.type==="cartesian2d"&&(a==="line"||a==="bar")){var v=m.getAxesByScale("ordinal")[0];if(v){var g=v.dim,b=g+"Axis",C=d.getReferringComponents(b,xi).models[0],y=C.componentIndex;l[b]=l[b]||[];for(var E=0;E<=y;E++)l[b][y]=l[b][y]||{};l[b][y].boundaryGap=a==="bar"}}};_e(ECt,function(d){fr(d,a)>=0&&_e(d,function(f){i.setIconStatus(f,"normal")})}),i.setIconStatus(a,"emphasis"),n.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},s);var u,c=a;a==="stack"&&(u=lr({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),i.get(["iconStatus",a])!=="emphasis"&&(c="tiled")),r.dispatchAction({type:"changeMagicType",currentType:c,newOption:l,newTitle:u,featureName:"magicType"})}},t})(Is),GX={line:function(e,t,n,r){if(e==="bar")return lr({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if(e==="line")return lr({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var a=n.get("stack")===WX;if(e==="line"||e==="bar")return r.setIconStatus("stack",a?"normal":"emphasis"),lr({id:t,stack:a?"":WX},r.get(["option","stack"])||{},!0)}};yu({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});var GF=new Array(60).join("-"),R0=" ";function SCt(e){var t={},n=[],r=[];return e.eachRawSeries(function(a){var i=a.coordinateSystem;if(i&&(i.type==="cartesian2d"||i.type==="polar")){var o=i.getBaseAxis();if(o.type==="category"){var l=o.dim+"_"+o.index;t[l]||(t[l]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[l].series.push(a)}else n.push(a)}else n.push(a)}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function ACt(e){var t=[];return _e(e,function(n,r){var a=n.categoryAxis,i=n.valueAxis,o=i.dim,l=[" "].concat(cn(n.series,function(p){return p.name})),s=[a.model.getCategories()];_e(n.series,function(p){var h=p.getRawData();s.push(p.getRawData().mapArray(h.mapDimension(o),function(m){return m}))});for(var u=[l.join(R0)],c=0;c=0)return!0}var DL=new RegExp("["+R0+"]+","g");function _Ct(e){for(var t=e.split(/\n+/g),n=OC(t.shift()).split(DL),r=[],a=cn(n,function(s){return{name:s,data:[]}}),i=0;i=0;i--){var o=n[i];if(o[a])break}if(i<0){var l=e.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(l){var s=l.getPercentRange();n[0][a]={dataZoomId:a,start:s[0],end:s[1]}}}}),n.push(t)}function OCt(e){var t=q$(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return Jge(n,function(a,i){for(var o=t.length-1;o>=0;o--)if(a=t[o][i],a){r[i]=a;break}}),r}function PCt(e){Xge(e).snapshots=null}function ICt(e){return q$(e).length}function q$(e){var t=Xge(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var NCt=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){PCt(n),r.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(n){var r={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:n.getLocaleModel().get(["toolbox","restore","title"])};return r},t})(Is);yu({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var $Ct=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Zge=(function(){function e(t,n,r){var a=this;this._targetInfoList=[];var i=jX(n,t);_e(VCt,function(o,l){(!r||!r.include||fr(r.include,l)>=0)&&o(i,a._targetInfoList)})}return e.prototype.setOutputRanges=function(t,n){return this.matchOutputRanges(t,n,function(r,a,i){if((r.coordRanges||(r.coordRanges=[])).push(a),!r.coordRange){r.coordRange=a;var o=JA[r.brushType](0,i,a);r.__rangeOffset={offset:YX[r.brushType](o.values,r.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,n,r){_e(t,function(a){var i=this.findTargetInfo(a,n);i&&i!==!0&&_e(i.coordSyses,function(o){var l=JA[a.brushType](1,o,a.range,!0);r(a,l.values,o,n)})},this)},e.prototype.setInputRanges=function(t,n){_e(t,function(r){var a=this.findTargetInfo(r,n);if(r.range=r.range||[],a&&a!==!0){r.panelId=a.panelId;var i=JA[r.brushType](0,a.coordSys,r.coordRange),o=r.__rangeOffset;r.range=o?YX[r.brushType](i.values,o.offset,HCt(i.xyMinMax,o.xyMinMax)):i.values}},this)},e.prototype.makePanelOpts=function(t,n){return cn(this._targetInfoList,function(r){var a=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:n?n(r):null,clipPath:i7t(a),isTargetByCursor:l7t(a,t,r.coordSysModel),getLinearBrushOtherExtent:o7t(a)}})},e.prototype.controlSeries=function(t,n,r){var a=this.findTargetInfo(t,r);return a===!0||a&&fr(a.coordSyses,n.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,n){for(var r=this._targetInfoList,a=jX(n,t),i=0;ie[1]&&e.reverse(),e}function jX(e,t){return bb(e,t,{includeMainTypes:$Ct})}var VCt={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,a=e.gridModels,i=jn(),o={},l={};!n&&!r&&!a||(_e(n,function(s){var u=s.axis.grid.model;i.set(u.id,u),o[u.id]=!0}),_e(r,function(s){var u=s.axis.grid.model;i.set(u.id,u),l[u.id]=!0}),_e(a,function(s){i.set(s.id,s),o[s.id]=!0,l[s.id]=!0}),i.each(function(s){var u=s.coordinateSystem,c=[];_e(u.getCartesians(),function(d,f){(fr(n,d.getAxis("x").model)>=0||fr(r,d.getAxis("y").model)>=0)&&c.push(d)}),t.push({panelId:"grid--"+s.id,gridModel:s,coordSysModel:s,coordSys:c[0],coordSyses:c,getPanelRect:UX.grid,xAxisDeclared:o[s.id],yAxisDeclared:l[s.id]})}))},geo:function(e,t){_e(e.geoModels,function(n){var r=n.coordinateSystem;t.push({panelId:"geo--"+n.id,geoModel:n,coordSysModel:n,coordSys:r,coordSyses:[r],getPanelRect:UX.geo})})}},KX=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,a=e.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&r&&(a=r.axis.grid.model),a&&a===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],UX={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Uf(e)),t}},JA={lineX:Rr(qX,0),lineY:Rr(qX,1),rect:function(e,t,n,r){var a=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),i=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),o=[TL([a[0],i[0]]),TL([a[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n,r){var a=[[1/0,-1/0],[1/0,-1/0]],i=cn(n,function(o){var l=e?t.pointToData(o,r):t.dataToPoint(o,r);return a[0][0]=Math.min(a[0][0],l[0]),a[1][0]=Math.min(a[1][0],l[1]),a[0][1]=Math.max(a[0][1],l[0]),a[1][1]=Math.max(a[1][1],l[1]),l});return{values:i,xyMinMax:a}}};function qX(e,t,n,r){var a=n.getAxis(["x","y"][e]),i=TL(cn([0,1],function(l){return t?a.coordToData(a.toLocalCoord(r[l]),!0):a.toGlobalCoord(a.dataToCoord(r[l]))})),o=[];return o[e]=i,o[1-e]=[NaN,NaN],{values:i,xyMinMax:o}}var YX={lineX:Rr(JX,0),lineY:Rr(JX,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return cn(e,function(r,a){return[r[0]-n[0]*t[a][0],r[1]-n[1]*t[a][1]]})}};function JX(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function HCt(e,t){var n=XX(e),r=XX(t),a=[n[0]/r[0],n[1]/r[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function XX(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var kL=_e,zCt=p1t("toolbox-dataZoom_"),WCt=(function(e){Nt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,a,i){this._brushController||(this._brushController=new J3t(a.getZr()),this._brushController.on("brush",wn(this._onBrush,this)).mount()),KCt(n,r,this,i,a),jCt(n,r)},t.prototype.onclick=function(n,r,a){GCt[a].call(this)},t.prototype.remove=function(n,r){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(n,r){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(n){var r=n.areas;if(!n.isEnd||!r.length)return;var a={},i=this.ecModel;this._brushController.updateCovers([]);var o=new Zge(Y$(this.model),i,{include:["grid"]});o.matchOutputRanges(r,i,function(u,c,d){if(d.type==="cartesian2d"){var f=u.brushType;f==="rect"?(l("x",d,c[0]),l("y",d,c[1])):l({lineX:"x",lineY:"y"}[f],d,c)}}),LCt(i,a),this._dispatchZoomAction(a);function l(u,c,d){var f=c.getAxis(u),p=f.model,h=s(u,p,i),m=h.findRepresentativeAxisProxy(p).getMinMaxSpan();(m.minValueSpan!=null||m.maxValueSpan!=null)&&(d=$m(0,d.slice(),f.scale.getExtent(),0,m.minValueSpan,m.maxValueSpan)),h&&(a[h.id]={dataZoomId:h.id,startValue:d[0],endValue:d[1]})}function s(u,c,d){var f;return d.eachComponent({mainType:"dataZoom",subType:"select"},function(p){var h=p.getAxisModel(u,c.componentIndex);h&&(f=p)}),f}},t.prototype._dispatchZoomAction=function(n){var r=[];kL(n,function(a,i){r.push(Rn(a))}),r.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:r})},t.getDefaultOption=function(n){var r={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:n.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:Kt.color.backgroundTint}};return r},t})(Is),GCt={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(OCt(this.ecModel))}};function Y$(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function jCt(e,t){e.setIconStatus("back",ICt(t)>1?"emphasis":"normal")}function KCt(e,t,n,r,a){var i=n._isZoomActive;r&&r.type==="takeGlobalCursor"&&(i=r.key==="dataZoomSelect"?r.dataZoomSelectActive:!1),n._isZoomActive=i,e.setIconStatus("zoom",i?"emphasis":"normal");var o=new Zge(Y$(e),t,{include:["grid"]}),l=o.makePanelOpts(a,function(s){return s.xAxisDeclared&&!s.yAxisDeclared?"lineX":!s.xAxisDeclared&&s.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(l).enableBrush(i&&l.length?{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()}:!1)}fyt("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(!t||t.get(n)==null)return;var r=t.getModel(n),a=[],i=Y$(r),o=bb(e,i);kL(o.xAxisModels,function(s){return l(s,"xAxis","xAxisIndex")}),kL(o.yAxisModels,function(s){return l(s,"yAxis","yAxisIndex")});function l(s,u,c){var d=s.componentIndex,f={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:zCt+u+d};f[c]=d,a.push(f)}return a});function UCt(e){e.registerComponentModel(yCt),e.registerComponentView(bCt),gy("saveAsImage",FCt),gy("magicType",wCt),gy("dataView",BCt),gy("dataZoom",WCt),gy("restore",NCt),ml(gCt)}var qCt=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,displayTransition:!0,enterable:!1,backgroundColor:Kt.color.neutral00,shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,defaultBorderColor:Kt.color.border,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:Kt.color.borderShade,width:1,type:"dashed",textStyle:{}}},textStyle:{color:Kt.color.tertiary,fontSize:14}},t})(_r);function Qge(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function eye(e){if(tr.domSupported){for(var t=document.documentElement.style,n=0,r=e.length;n-1?(l+="top:50%",s+="translateY(-50%) rotate("+(u=i==="left"?-225:-45)+"deg)"):(l+="left:50%",s+="translateX(-50%) rotate("+(u=i==="top"?225:45)+"deg)");var c=u*Math.PI/180,d=o+a,f=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),p=Math.round(((f-Math.SQRT2*a)/2+Math.SQRT2*a-(f-d)/2)*100)/100;l+=";"+i+":-"+p+"px";var h=t+" solid "+a+"px;",m=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",l+";"+s+";","border-bottom:"+h,"border-right:"+h,"background-color:"+r+";"];return'
'}function t9t(e,t,n){var r="cubic-bezier(0.23,1,0.32,1)",a="",i="";return n&&(a=" "+e/2+"s "+r,i="opacity"+a+",visibility"+a),t||(a=" "+e+"s "+r,i+=(i.length?",":"")+(tr.transformSupported?""+J$+a:",left"+a+",top"+a)),XCt+":"+i}function ZX(e,t,n){var r=e.toFixed(0)+"px",a=t.toFixed(0)+"px";if(!tr.transformSupported)return n?"top:"+a+";left:"+r+";":[["top",a],["left",r]];var i=tr.transform3dSupported,o="translate"+(i?"3d":"")+"("+r+","+a+(i?",0":"")+")";return n?"top:0;left:0;"+J$+":"+o+";":[["top",0],["left",0],[tye,o]]}function n9t(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont());var a=_n(e.get("lineHeight"),Math.round(n*3/2));n&&t.push("line-height:"+a+"px");var i=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,l=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+l+"px "+s+"px "+o+"px "+i),_e(["decoration","align"],function(u){var c=e.get(u);c&&t.push("text-"+u+":"+c)}),t.join(";")}function r9t(e,t,n,r){var a=[],i=e.get("transitionDuration"),o=e.get("backgroundColor"),l=e.get("shadowBlur"),s=e.get("shadowColor"),u=e.get("shadowOffsetX"),c=e.get("shadowOffsetY"),d=e.getModel("textStyle"),f=f1e(e,"html"),p=u+"px "+c+"px "+l+"px "+s;return a.push("box-shadow:"+p),t&&i>0&&a.push(t9t(i,n,r)),o&&a.push("background-color:"+o),_e(["width","color","radius"],function(h){var m="border-"+h,v=GN(m),g=e.get(v);g!=null&&a.push(m+":"+g+(h==="color"?"":"px"))}),a.push(n9t(d)),f!=null&&a.push("padding:"+fg(f).join("px ")+"px"),a.join(";")+";"}function QX(e,t,n,r,a){var i=t&&t.painter;if(n){var o=i&&i.getViewportRoot();o&&Tmt(e,o,n,r,a)}else{e[0]=r,e[1]=a;var l=i&&i.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var a9t=(function(){function e(t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,tr.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var a=this._zr=t.getZr(),i=n.appendTo,o=i&&(gn(i)?document.querySelector(i):Pm(i)?i:Pn(i)&&i(t.getDom()));QX(this._styleCoord,a,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(r),this._api=t,this._container=o;var l=this;r.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},r.onmousemove=function(s){if(s=s||window.event,!l._enterable){var u=a.handler,c=a.painter.getViewportRoot();ql(c,s,!0),u.dispatch("mousemove",s)}},r.onmouseleave=function(){l._inContent=!1,l._enterable&&l._show&&l.hideLater(l._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var n=this._api.getDom(),r=JCt(n,"position"),a=n.style;a.position!=="absolute"&&r!=="absolute"&&(a.position="relative")}var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this._enableDisplayTransition=t.get("displayTransition")&&t.get("transitionDuration")>0,this.el.className=t.get("className")||""},e.prototype.show=function(t,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,a=r.style,i=this._styleCoord;r.innerHTML?a.cssText=ZCt+r9t(t,!this._firstShow,this._longHide,this._enableDisplayTransition)+ZX(i[0],i[1],!0)+("border-color:"+Nm(n)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,n,r,a,i){var o=this.el;if(t==null){o.innerHTML="";return}var l="";if(gn(i)&&r.get("trigger")==="item"&&!Qge(r)&&(l=e9t(r,a,i)),gn(t))o.innerHTML=t+l;else if(t){o.innerHTML="",rn(t)||(t=[t]);for(var s=0;s=0?this._tryShow(i,o):a==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var n=this._tooltipModel,r=this._ecModel,a=this._api,i=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!a.isDisposed()&&o.manuallyShowTip(n,r,a,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(n,r,a,i){if(!(i.from===this.uid||tr.node||!a.getDom())){var o=nZ(i,a);this._ticket="";var l=i.dataByCoordSys,s=d9t(i,r,a);if(s){var u=s.el.getBoundingRect().clone();u.applyTransform(s.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:s.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&i.x!=null&&i.y!=null){var c=o9t;c.x=i.x,c.y=i.y,c.update(),Dr(c).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:c},o)}else if(l)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:l,tooltipOption:i.tooltipOption},o);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(n,r,a,i))return;var d=Hge(i,r),f=d.point[0],p=d.point[1];f!=null&&p!=null&&this._tryShow({offsetX:f,offsetY:p,target:d.el,position:i.position,positionDefault:"bottom"},o)}else i.x!=null&&i.y!=null&&(a.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:a.getZr().findHover(i.x,i.y).target},o))}},t.prototype.manuallyHideTip=function(n,r,a,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(nZ(i,a))},t.prototype._manuallyAxisShowTip=function(n,r,a,i){var o=i.seriesIndex,l=i.dataIndex,s=r.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||l==null||s==null)){var u=r.getSeriesByIndex(o);if(u){var c=u.getData(),d=yy([c.getItemModel(l),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(d.get("trigger")==="axis")return a.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:l,position:i.position}),!0}}},t.prototype._tryShow=function(n,r){var a=n.target,i=this._tooltipModel;if(i){this._lastX=n.offsetX,this._lastY=n.offsetY;var o=n.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,n);else if(a){var l=Dr(a);if(l.ssrType==="legend")return;this._lastDataByCoordSys=null;var s,u;y1(a,function(c){if(c.tooltipDisabled)return s=u=null,!0;s||u||(Dr(c).dataIndex!=null?s=c:Dr(c).tooltipConfig!=null&&(u=c))},!0),s?this._showSeriesItemTooltip(n,s,r):u?this._showComponentItemTooltip(n,u,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},t.prototype._showOrMove=function(n,r){var a=n.get("showDelay");r=wn(r,this),clearTimeout(this._showTimout),a>0?this._showTimout=setTimeout(r,a):r()},t.prototype._showAxisTooltip=function(n,r){var a=this._ecModel,i=this._tooltipModel,o=[r.offsetX,r.offsetY],l=yy([r.tooltipOption],i),s=this._renderMode,u=[],c=Z2("section",{blocks:[],noHeader:!0}),d=[],f=new mA;_e(n,function(b){_e(b.dataByAxis,function(C){var y=a.getComponent(C.axisDim+"Axis",C.axisIndex),E=C.value;if(!(!y||E==null)){var w=Ige(E,y.axis,a,C.seriesDataIndices,C.valueLabelOpt),S=Z2("section",{header:w,noHeader:!Hs(w),sortBlocks:!0,blocks:[]});c.blocks.push(S),_e(C.seriesDataIndices,function(A){var D=a.getSeriesByIndex(A.seriesIndex),k=A.dataIndexInside,x=D.getDataParams(k);if(!(x.dataIndex<0)){x.axisDim=C.axisDim,x.axisIndex=C.axisIndex,x.axisType=C.axisType,x.axisId=C.axisId,x.axisValue=wC(y.axis,{value:E}),x.axisValueLabel=w,x.marker=f.makeTooltipMarker("item",Nm(x.color),s);var _=hY(D.formatTooltip(k,!0,null)),M=_.frag;if(M){var L=yy([D],i).get("valueFormatter");S.blocks.push(L?Gt({valueFormatter:L},M):M)}_.text&&d.push(_.text),u.push(x)}})}})}),c.blocks.reverse(),d.reverse();var p=r.position,h=l.get("order"),m=bY(c,f,s,h,a.get("useUTC"),l.get("textStyle"));m&&d.unshift(m);var v=s==="richText"?` `:"
",g=d.join(v);this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(l,p,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(l,g,u,Math.random()+"",o[0],o[1],p,null,f)})},t.prototype._showSeriesItemTooltip=function(n,r,a){var i=this._ecModel,o=Dr(r),l=o.seriesIndex,s=i.getSeriesByIndex(l),u=o.dataModel||s,c=o.dataIndex,d=o.dataType,f=u.getData(d),p=this._renderMode,h=n.positionDefault,m=yy([f.getItemModel(c),u,s&&(s.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),v=m.get("trigger");if(!(v!=null&&v!=="item")){var g=u.getDataParams(c,d),b=new mA;g.marker=b.makeTooltipMarker("item",Nm(g.color),p);var C=hY(u.formatTooltip(c,!1,d)),y=m.get("order"),E=m.get("valueFormatter"),w=C.frag,S=w?bY(E?Gt({valueFormatter:E},w):w,b,p,y,i.get("useUTC"),m.get("textStyle")):C.text,A="item_"+u.name+"_"+c;this._showOrMove(m,function(){this._showTooltipContent(m,S,g,A,n.offsetX,n.offsetY,n.position,n.target,b)}),a({type:"showTip",dataIndexInside:c,dataIndex:f.getRawIndex(c),seriesIndex:l,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,a){var i=this._renderMode==="html",o=Dr(r),l=o.tooltipConfig,s=l.option||{},u=s.encodeHTMLContent;if(gn(s)){var c=s;s={content:c,formatter:c},u=!0}u&&i&&s.content&&(s=Rn(s),s.content=oo(s.content));var d=[s],f=this._ecModel.getComponent(o.componentMainType,o.componentIndex);f&&d.push(f),d.push({formatter:s.content});var p=n.positionDefault,h=yy(d,this._tooltipModel,p?{position:p}:null),m=h.get("content"),v=Math.random()+"",g=new mA;this._showOrMove(h,function(){var b=Rn(h.get("formatterParams")||{});this._showTooltipContent(h,m,b,v,n.offsetX,n.offsetY,n.position,r,g)}),a({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,a,i,o,l,s,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var d=this._tooltipContent;d.setEnterable(n.get("enterable"));var f=n.get("formatter");s=s||n.get("position");var p=r,h=this._getNearestPoint([o,l],a,n.get("trigger"),n.get("borderColor"),n.get("defaultBorderColor",!0)),m=h.color;if(f)if(gn(f)){var v=n.ecModel.get("useUTC"),g=rn(a)?a[0]:a,b=g&&g.axisType&&g.axisType.indexOf("time")>=0;p=f,b&&(p=w4(g.axisValue,p,v)),p=jN(p,a,!0)}else if(Pn(f)){var C=wn(function(y,E){y===this._ticket&&(d.setContent(E,c,n,m,s),this._updatePosition(n,s,o,l,d,a,u))},this);this._ticket=i,p=f(a,i,C)}else p=f;d.setContent(p,c,n,m,s),d.show(n,m),this._updatePosition(n,s,o,l,d,a,u)}},t.prototype._getNearestPoint=function(n,r,a,i,o){if(a==="axis"||rn(r))return{color:i||o};if(!rn(r))return{color:i||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,a,i,o,l,s){var u=this._api.getWidth(),c=this._api.getHeight();r=r||n.get("position");var d=o.getSize(),f=n.get("align"),p=n.get("verticalAlign"),h=s&&s.getBoundingRect().clone();if(s&&h.applyTransform(s.transform),Pn(r)&&(r=r([a,i],l,o.el,h,{viewSize:[u,c],contentSize:d.slice()})),rn(r))a=Br(r[0],u),i=Br(r[1],c);else if(Sn(r)){var m=r;m.width=d[0],m.height=d[1];var v=Pl(m,{width:u,height:c});a=v.x,i=v.y,f=null,p=null}else if(gn(r)&&s){var g=c9t(r,h,d,n.get("borderWidth"));a=g[0],i=g[1]}else{var g=s9t(a,i,o,u,c,f?null:20,p?null:20);a=g[0],i=g[1]}if(f&&(a-=rZ(f)?d[0]/2:f==="right"?d[0]:0),p&&(i-=rZ(p)?d[1]/2:p==="bottom"?d[1]:0),Qge(n)){var g=u9t(a,i,o,u,c);a=g[0],i=g[1]}o.moveTo(a,i)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var a=this._lastDataByCoordSys,i=this._cbParamsList,o=!!a&&a.length===n.length;return o&&_e(a,function(l,s){var u=l.dataByAxis||[],c=n[s]||{},d=c.dataByAxis||[];o=o&&u.length===d.length,o&&_e(u,function(f,p){var h=d[p]||{},m=f.seriesDataIndices||[],v=h.seriesDataIndices||[];o=o&&f.value===h.value&&f.axisType===h.axisType&&f.axisId===h.axisId&&m.length===v.length,o&&_e(m,function(g,b){var C=v[b];o=o&&g.seriesIndex===C.seriesIndex&&g.dataIndex===C.dataIndex}),i&&_e(f.seriesDataIndices,function(g){var b=g.seriesIndex,C=r[b],y=i[b];C&&y&&y.data!==C.data&&(o=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!o},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,r){tr.node||!r.getDom()||(hC(this,"_updatePosition"),this._tooltipContent.dispose(),SL("itemTooltip",r))},t.type="tooltip",t})(bi);function yy(e,t,n){var r=t.ecModel,a;n?(a=new va(n,r,r),a=new va(t.option,a,r)):a=t;for(var i=e.length-1;i>=0;i--){var o=e[i];o&&(o instanceof va&&(o=o.get("tooltip",!0)),gn(o)&&(o={formatter:o}),o&&(a=new va(o,a,r)))}return a}function nZ(e,t){return e.dispatchAction||wn(t.dispatchAction,t)}function s9t(e,t,n,r,a,i,o){var l=n.getSize(),s=l[0],u=l[1];return i!=null&&(e+s+i+2>r?e-=s+i:e+=i),o!=null&&(t+u+o>a?t-=u+o:t+=o),[e,t]}function u9t(e,t,n,r,a){var i=n.getSize(),o=i[0],l=i[1];return e=Math.min(e+o,r)-o,t=Math.min(t+l,a)-l,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function c9t(e,t,n,r){var a=n[0],i=n[1],o=Math.ceil(Math.SQRT2*r)+8,l=0,s=0,u=t.width,c=t.height;switch(e){case"inside":l=t.x+u/2-a/2,s=t.y+c/2-i/2;break;case"top":l=t.x+u/2-a/2,s=t.y-i-o;break;case"bottom":l=t.x+u/2-a/2,s=t.y+c+o;break;case"left":l=t.x-a-o,s=t.y+c/2-i/2;break;case"right":l=t.x+u+o,s=t.y+c/2-i/2}return[l,s]}function rZ(e){return e==="center"||e==="middle"}function d9t(e,t,n){var r=cN(e).queryOptionMap,a=r.keys()[0];if(!(!a||a==="series")){var i=ug(t,a,r.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var l=n.getViewOfComponentModel(o),s;if(l.group.traverse(function(u){var c=Dr(u).tooltipConfig;if(c&&c.name===e.name)return s=u,!0}),s)return{componentMainType:a,componentIndex:o.componentIndex,el:s}}}}function f9t(e){ml(z$),e.registerComponentModel(qCt),e.registerComponentView(l9t),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Bi),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Bi)}var aZ=_e;function iZ(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function oZ(e,t,n){var r={};return aZ(t,function(i){var o=r[i]=a();aZ(e[i],function(l,s){if(mo.isValidType(s)){var u={type:s,visual:l};n&&n(u,i),o[s]=new mo(u),s==="opacity"&&(u=Rn(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new mo(u))}})}),r;function a(){var i=function(){};i.prototype.__hidden=i.prototype;var o=new i;return o}}function p9t(e,t,n){var r;_e(n,function(a){t.hasOwnProperty(a)&&iZ(t[a])&&(r=!0)}),r&&_e(n,function(a){t.hasOwnProperty(a)&&iZ(t[a])?e[a]=Rn(t[a]):delete e[a]})}function h9t(e,t,n,r){var a={};return _e(e,function(i){var o=mo.prepareVisualTypes(t[i]);a[i]=o}),{progress:function(o,l){var s;r!=null&&(s=l.getDimensionIndex(r));function u(E){return F1e(l,d,E)}function c(E,w){jbt(l,d,E,w)}for(var d,f=l.getStore();(d=o.next())!=null;){var p=l.getRawDataItem(d);if(!(p&&p.visualMap===!1))for(var h=r!=null?f.get(s,d):d,m=n(h),v=t[m],g=a[m],b=0,C=g.length;b=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:Kt.size.m,align:"auto",backgroundColor:Kt.color.transparent,borderColor:Kt.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:Kt.color.disabled,inactiveBorderColor:Kt.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:Kt.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:Kt.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:Kt.color.tertiary,borderWidth:1,borderColor:Kt.color.border},emphasis:{selectorLabel:{show:!0,color:Kt.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},t})(_r),jv=Rr,xL=_e,y3=oa,rye=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new y3),this.group.add(this._selectorGroup=new y3),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,a){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var o=n.get("align"),l=n.get("orient");(!o||o==="auto")&&(o=n.get("left")==="right"&&l==="vertical"?"right":"left");var s=n.get("selector",!0),u=n.get("selectorPosition",!0);s&&(!u||u==="auto")&&(u=l==="horizontal"?"end":"start"),this.renderInner(o,n,r,a,s,l,u);var c=Cp(n,a).refContainer,d=n.getBoxLayoutParams(),f=n.get("padding"),p=Pl(d,c,f),h=this.layoutInner(n,o,p,i,s,u),m=Pl(or({width:h.width,height:h.height},d),c,f);this.group.x=m.x-h.x,this.group.y=m.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Yge(h,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,a,i,o,l,s){var u=this.getContentGroup(),c=jn(),d=r.get("selectedMode"),f=r.get("triggerEvent"),p=[];a.eachRawSeries(function(h){!h.get("legendHoverLink")&&p.push(h.id)}),xL(r.getData(),function(h,m){var v=this,g=h.get("name");if(!this.newlineDisabled&&(g===""||g===` `)){var b=new y3;b.newline=!0,u.add(b);return}var C=a.getSeriesByName(g)[0];if(!c.get(g))if(C){var y=C.getData(),E=y.getVisual("legendLineStyle")||{},w=y.getVisual("legendIcon"),S=y.getVisual("style"),A=this._createItem(C,g,m,h,r,n,E,S,w,d,i);A.on("click",jv(lZ,g,null,i,p)).on("mouseover",jv(ML,C.name,null,i,p)).on("mouseout",jv(BL,C.name,null,i,p)),a.ssr&&A.eachChild(function(D){var k=Dr(D);k.seriesIndex=C.seriesIndex,k.dataIndex=m,k.ssrType="legend"}),f&&A.eachChild(function(D){v.packEventData(D,r,C,m,g)}),c.set(g,!0)}else a.eachRawSeries(function(D){var k=this;if(!c.get(g)&&D.legendVisualProvider){var x=D.legendVisualProvider;if(!x.containName(g))return;var _=x.indexOfName(g),M=x.getItemVisual(_,"style"),L=x.getItemVisual(_,"legendIcon"),I=Po(M.fill);I&&I[3]===0&&(I[3]=.2,M=Gt(Gt({},M),{fill:Js(I,"rgba")}));var P=this._createItem(D,g,m,h,r,n,{},M,L,d,i);P.on("click",jv(lZ,null,g,i,p)).on("mouseover",jv(ML,null,g,i,p)).on("mouseout",jv(BL,null,g,i,p)),a.ssr&&P.eachChild(function(B){var T=Dr(B);T.seriesIndex=D.seriesIndex,T.dataIndex=m,T.ssrType="legend"}),f&&P.eachChild(function(B){k.packEventData(B,r,D,m,g)}),c.set(g,!0)}},this)},this),o&&this._createSelector(o,r,i,l,s)},t.prototype.packEventData=function(n,r,a,i,o){var l={componentType:"legend",componentIndex:r.componentIndex,dataIndex:i,value:o,seriesIndex:a.seriesIndex};Dr(n).eventData=l},t.prototype._createSelector=function(n,r,a,i,o){var l=this.getSelectorGroup();xL(n,function(u){var c=u.type,d=new Qr({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){a.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:r.id})}});l.add(d);var f=r.getModel("selectorLabel"),p=r.getModel(["emphasis","selectorLabel"]);C4(d,{normal:f,emphasis:p},{defaultText:u.title}),j2(d)})},t.prototype._createItem=function(n,r,a,i,o,l,s,u,c,d,f){var p=n.visualDrawType,h=o.get("itemWidth"),m=o.get("itemHeight"),v=o.isSelected(r),g=i.get("symbolRotate"),b=i.get("symbolKeepAspect"),C=i.get("icon");c=C||c||"roundRect";var y=b9t(c,i,s,u,p,v,f),E=new y3,w=i.getModel("textStyle");if(Pn(n.getLegendIcon)&&(!C||C==="inherit"))E.add(n.getLegendIcon({itemWidth:h,itemHeight:m,icon:c,iconRotate:g,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:b}));else{var S=C==="inherit"&&n.getData().getVisual("symbol")?g==="inherit"?n.getData().getVisual("symbolRotate"):g:0;E.add(C9t({itemWidth:h,itemHeight:m,icon:c,iconRotate:S,itemStyle:y.itemStyle,symbolKeepAspect:b}))}var A=l==="left"?h+5:-5,D=l,k=o.get("formatter"),x=r;gn(k)&&k?x=k.replace("{name}",r!=null?r:""):Pn(k)&&(x=k(r));var _=v?w.getTextColor():i.get("inactiveColor");E.add(new Qr({style:ho(w,{text:x,x:A,y:m/2,fill:_,align:D,verticalAlign:"middle"},{inheritColor:_})}));var M=new Zr({shape:E.getBoundingRect(),style:{fill:"transparent"}}),L=i.getModel("tooltip");return L.get("show")&&rv({el:M,componentModel:o,itemName:r,itemTooltipOption:L.option}),E.add(M),E.eachChild(function(I){I.silent=!0}),M.silent=!d,this.getContentGroup().add(E),j2(E),E.__legendDataIndex=a,E},t.prototype.layoutInner=function(n,r,a,i,o,l){var s=this.getContentGroup(),u=this.getSelectorGroup();hm(n.get("orient"),s,n.get("itemGap"),a.width,a.height);var c=s.getBoundingRect(),d=[-c.x,-c.y];if(u.markRedraw(),s.markRedraw(),o){hm("horizontal",u,n.get("selectorItemGap",!0));var f=u.getBoundingRect(),p=[-f.x,-f.y],h=n.get("selectorButtonGap",!0),m=n.getOrient().index,v=m===0?"width":"height",g=m===0?"height":"width",b=m===0?"y":"x";l==="end"?p[m]+=c[v]+h:d[m]+=f[v]+h,p[1-m]+=c[g]/2-f[g]/2,u.x=p[0],u.y=p[1],s.x=d[0],s.y=d[1];var C={x:0,y:0};return C[v]=c[v]+h+f[v],C[g]=Math.max(c[g],f[g]),C[b]=Math.min(0,f[b]+p[1-m]),C}else return s.x=d[0],s.y=d[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t})(bi);function b9t(e,t,n,r,a,i,o){function l(v,g){v.lineWidth==="auto"&&(v.lineWidth=g.lineWidth>0?2:0),xL(v,function(b,C){v[C]==="inherit"&&(v[C]=g[C])})}var s=t.getModel("itemStyle"),u=s.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",d=s.getShallow("decal");u.decal=!d||d==="inherit"?r.decal:YR(d,o),u.fill==="inherit"&&(u.fill=r[a]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(a==="fill"?r:n).opacity),l(u,r);var f=t.getModel("lineStyle"),p=f.getLineStyle();if(l(p,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),p.stroke==="auto"&&(p.stroke=r.fill),!i){var h=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth=h==="auto"?r.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),p.stroke=f.get("inactiveColor"),p.lineWidth=f.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}function C9t(e){var t=e.icon||"roundRect",n=Cs(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill=Kt.color.neutral00,n.style.lineWidth=2),n}function lZ(e,t,n,r){BL(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e!=null?e:t}),ML(e,t,n,r)}function aye(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,a=t.length;ra[o],v=[-p.x,-p.y];r||(v[i]=c[u]);var g=[0,0],b=[-h.x,-h.y],C=_n(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(m){var y=n.get("pageButtonPosition",!0);y==="end"?b[i]+=a[o]-h[o]:g[i]+=h[o]+C}b[1-i]+=p[l]/2-h[l]/2,c.setPosition(v),d.setPosition(g),f.setPosition(b);var E={x:0,y:0};if(E[o]=m?a[o]:p[o],E[l]=Math.max(p[l],h[l]),E[s]=Math.min(0,h[s]+b[1-i]),d.__rectSize=a[o],m){var w={x:0,y:0};w[o]=Math.max(a[o]-h[o]-C,0),w[l]=E[l],d.setClipPath(new Zr({shape:w})),d.__rectSize=w[o]}else f.eachChild(function(A){A.attr({invisible:!0,silent:!0})});var S=this._getPageInfo(n);return S.pageIndex!=null&&qi(c,{x:S.contentPosition[0],y:S.contentPosition[1]},m?n:null),this._updatePageInfoView(n,S),E},t.prototype._pageGo=function(n,r,a){var i=this._getPageInfo(r)[n];i!=null&&a.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:r.id})},t.prototype._updatePageInfoView=function(n,r){var a=this._controllerGroup;_e(["pagePrev","pageNext"],function(c){var d=c+"DataIndex",f=r[d]!=null,p=a.childOfName(c);p&&(p.setStyle("fill",f?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),p.cursor=f?"pointer":"default")});var i=a.childOfName("pageText"),o=n.get("pageFormatter"),l=r.pageIndex,s=l!=null?l+1:0,u=r.pageCount;i&&o&&i.setStyle("text",gn(o)?o.replace("{current}",s==null?"":s+"").replace("{total}",u==null?"":u+""):o({current:s,total:u}))},t.prototype._getPageInfo=function(n){var r=n.get("scrollDataIndex",!0),a=this.getContentGroup(),i=this._containerGroup.__rectSize,o=n.getOrient().index,l=XA[o],s=ZA[o],u=this._findTargetItemIndex(r),c=a.children(),d=c[u],f=c.length,p=f?1:0,h={contentPosition:[a.x,a.y],pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return h;var m=y(d);h.contentPosition[o]=-m.s;for(var v=u+1,g=m,b=m,C=null;v<=f;++v)C=y(c[v]),(!C&&b.e>g.s+i||C&&!E(C,g.s))&&(b.i>g.i?g=b:g=C,g&&(h.pageNextDataIndex==null&&(h.pageNextDataIndex=g.i),++h.pageCount)),b=C;for(var v=u-1,g=m,b=m,C=null;v>=-1;--v)C=y(c[v]),(!C||!E(b,C.s))&&g.i=S&&w.s<=S+i}},t.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var r,a=this.getContentGroup(),i;return a.eachChild(function(o,l){var s=o.__legendDataIndex;i==null&&s!=null&&(i=l),s===n&&(r=l)}),r!=null?r:i},t.type="legend.scroll",t})(rye);function A9t(e){e.registerAction("legendScroll","legendscroll",function(t,n){var r=t.scrollDataIndex;r!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:t},function(a){a.setScrollDataIndex(r)})})}function D9t(e){ml(iye),e.registerComponentModel(w9t),e.registerComponentView(S9t),A9t(e)}function T9t(e){ml(iye),ml(D9t)}var k9t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.inside",t.defaultOption=dg(c5.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t})(c5),X$=Gr();function _9t(e,t,n){X$(e).coordSysRecordMap.each(function(r){var a=r.dataZoomInfoMap.get(t.uid);a&&(a.getRange=n)})}function x9t(e,t){for(var n=X$(e).coordSysRecordMap,r=n.keys(),a=0;ai[a+r]&&(r=u),o=o&&s.get("preventDefaultMouseMove",!0)}),{controlType:r,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o,api:n,zInfo:{component:t.model},triggerInfo:{roamTrigger:null,isInSelf:t.containsPoint}}}}function O9t(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,n){var r=X$(n),a=r.coordSysRecordMap||(r.coordSysRecordMap=jn());a.each(function(i){i.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=Kge(i);_e(o.infoList,function(l){var s=l.model.uid,u=a.get(s)||a.set(s,M9t(n,l.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=jn());c.set(i.uid,{dzReferCoordSysInfo:l,model:i,getRange:null})})}),a.each(function(i){var o=i.controller,l,s=i.dataZoomInfoMap;if(s){var u=s.keys()[0];u!=null&&(l=s.get(u))}if(!l){oye(a,i);return}var c=L9t(s,i,n);o.enable(c.controlType,c.opt),IF(i,"dispatchAction",l.model.get("throttle",!0),"fixRate")})})}var P9t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="dataZoom.inside",n}return t.prototype.render=function(n,r,a){if(e.prototype.render.apply(this,arguments),n.noTarget()){this._clear();return}this.range=n.getPercentRange(),_9t(a,n,{pan:wn(QA.pan,this),zoom:wn(QA.zoom,this),scrollMove:wn(QA.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){x9t(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t})(K$),QA={zoom:function(e,t,n,r){var a=this.range,i=a.slice(),o=e.axisModels[0];if(o){var l=eD[t](null,[r.originX,r.originY],o,n,e),s=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(i[1]-i[0])+i[0],u=Math.max(1/r.scale,0);i[0]=(i[0]-s)*u+s,i[1]=(i[1]-s)*u+s;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if($m(0,i,[0,100],0,c.minSpan,c.maxSpan),this.range=i,a[0]!==i[0]||a[1]!==i[1])return i}},pan:dZ(function(e,t,n,r,a,i){var o=eD[r]([i.oldX,i.oldY],[i.newX,i.newY],t,a,n);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength}),scrollMove:dZ(function(e,t,n,r,a,i){var o=eD[r]([0,0],[i.scrollDelta,i.scrollDelta],t,a,n);return o.signal*(e[1]-e[0])*i.scrollDelta})};function dZ(e){return function(t,n,r,a){var i=this.range,o=i.slice(),l=t.axisModels[0];if(l){var s=e(o,l,t,n,r,a);if($m(s,o,[0,100],"all"),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}}}var eD={grid:function(e,t,n,r,a){var i=n.axis,o={},l=a.model.coordinateSystem.getRect();return e=e||[0,0],i.dim==="x"?(o.pixel=t[0]-e[0],o.pixelLength=l.width,o.pixelStart=l.x,o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=l.height,o.pixelStart=l.y,o.signal=i.inverse?-1:1),o},polar:function(e,t,n,r,a){var i=n.axis,o={},l=a.model.coordinateSystem,s=l.getRadiusAxis().getExtent(),u=l.getAngleAxis().getExtent();return e=e?l.pointToCoord(e):[0,0],t=l.pointToCoord(t),n.mainType==="radiusAxis"?(o.pixel=t[0]-e[0],o.pixelLength=s[1]-s[0],o.pixelStart=s[0],o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(e,t,n,r,a){var i=n.axis,o=a.model.coordinateSystem.getRect(),l={};return e=e||[0,0],i.orient==="horizontal"?(l.pixel=t[0]-e[0],l.pixelLength=o.width,l.pixelStart=o.x,l.signal=i.inverse?1:-1):(l.pixel=t[1]-e[1],l.pixelLength=o.height,l.pixelStart=o.y,l.signal=i.inverse?-1:1),l}};function I9t(e){U$(e),e.registerComponentModel(k9t),e.registerComponentView(P9t),O9t(e)}var N9t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=dg(c5.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:Kt.color.accent10,borderRadius:0,backgroundColor:Kt.color.transparent,dataBackground:{lineStyle:{color:Kt.color.accent30,width:.5},areaStyle:{color:Kt.color.accent20,opacity:.2}},selectedDataBackground:{lineStyle:{color:Kt.color.accent40,width:.5},areaStyle:{color:Kt.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:Kt.color.neutral00,borderColor:Kt.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:Kt.color.accent40,opacity:.5},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:Kt.color.tertiary},brushSelect:!0,brushStyle:{color:Kt.color.accent30,opacity:.3},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:Kt.color.accent40},moveHandleStyle:{opacity:.8}},defaultLocationEdgeGap:15}),t})(c5),Cy=Zr,$9t=1,tD=30,V9t=7,Fy="horizontal",fZ="vertical",H9t=5,z9t=["line","bar","candlestick","scatter"],W9t={easing:"cubicOut",duration:100,delay:0},G9t=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return t.prototype.init=function(n,r){this.api=r,this._onBrush=wn(this._onBrush,this),this._onBrushEnd=wn(this._onBrushEnd,this)},t.prototype.render=function(n,r,a,i){if(e.prototype.render.apply(this,arguments),IF(this,"_dispatchZoomAction",n.get("throttle"),"fixRate"),this._orient=n.getOrient(),n.get("show")===!1){this.group.removeAll();return}if(n.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){hC(this,"_dispatchZoomAction");var n=this.api.getZr();n.off("mousemove",this._onBrush),n.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var n=this.group;n.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new oa;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),n.add(r),this._positionGroup()},t.prototype._resetLocation=function(){var n=this.dataZoomModel,r=this.api,a=n.get("brushSelect"),i=a?V9t:0,o=Cp(n,r).refContainer,l=this._findCoordRect(),s=n.get("defaultLocationEdgeGap",!0)||0,u=this._orient===Fy?{right:o.width-l.x-l.width,top:o.height-tD-s-i,width:l.width,height:tD}:{right:s,top:l.y,width:tD,height:l.height},c=pg(n.option);_e(["right","top","width","height"],function(f){c[f]==="ph"&&(c[f]=u[f])});var d=Pl(c,o);this._location={x:d.x,y:d.y},this._size=[d.width,d.height],this._orient===fZ&&this._size.reverse()},t.prototype._positionGroup=function(){var n=this.group,r=this._location,a=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),l=this._displayables.sliderGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;l.attr(a===Fy&&!o?{scaleY:s?1:-1,scaleX:1}:a===Fy&&o?{scaleY:s?1:-1,scaleX:-1}:a===fZ&&!o?{scaleY:s?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:s?-1:1,scaleX:-1,rotation:Math.PI/2});var u=n.getBoundingRect([l]);n.x=r.x-u.x,n.y=r.y-u.y,n.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var n=this.dataZoomModel,r=this._size,a=this._displayables.sliderGroup,i=n.get("brushSelect");a.add(new Cy({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:n.get("backgroundColor")},z2:-40}));var o=new Cy({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:wn(this._onClickPanel,this)}),l=this.api.getZr();i?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",l.on("mousemove",this._onBrush),l.on("mouseup",this._onBrushEnd)):(l.off("mousemove",this._onBrush),l.off("mouseup",this._onBrushEnd)),a.add(o)},t.prototype._renderDataShadow=function(){var n=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!n)return;var r=this._size,a=this._shadowSize||[],i=n.series,o=i.getRawData(),l=i.getShadowDim&&i.getShadowDim(),s=l&&o.getDimensionInfo(l)?i.getShadowDim():n.otherDim;if(s==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(o!==this._shadowData||s!==this._shadowDim||r[0]!==a[0]||r[1]!==a[1]){var d=o.getDataExtent(n.thisDim),f=o.getDataExtent(s),p=(f[1]-f[0])*.3;f=[f[0]-p,f[1]+p];var h=[0,r[1]],m=[0,r[0]],v=[[r[0],0],[0,0]],g=[],b=m[1]/Math.max(1,o.count()-1),C=r[0]/(d[1]-d[0]),y=n.thisAxis.type==="time",E=-b,w=Math.round(o.count()/r[0]),S;o.each([n.thisDim,s],function(_,M,L){if(w>0&&L%w){y||(E+=b);return}E=y?(+_-d[0])*C:E+b;var I=M==null||isNaN(M)||M==="",P=I?0:Ca(M,f,h,!0);I&&!S&&L?(v.push([v[v.length-1][0],0]),g.push([g[g.length-1][0],0])):!I&&S&&(v.push([E,0]),g.push([E,0])),I||(v.push([E,P]),g.push([E,P])),S=I}),u=this._shadowPolygonPts=v,c=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=s,this._shadowSize=[r[0],r[1]];var A=this.dataZoomModel;function D(_){var M=A.getModel(_?"selectedDataBackground":"dataBackground"),L=new oa,I=new nv({shape:{points:u},segmentIgnoreThreshold:1,style:M.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),P=new bp({shape:{points:c},segmentIgnoreThreshold:1,style:M.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return L.add(I),L.add(P),L}for(var k=0;k<3;k++){var x=D(k===1);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}},t.prototype._prepareDataShadowInfo=function(){var n=this.dataZoomModel,r=n.get("showDataShadow");if(r!==!1){var a,i=this.ecModel;return n.eachTargetAxis(function(o,l){var s=n.getAxisProxy(o,l).getTargetSeriesModels();_e(s,function(u){if(!a&&!(r!==!0&&fr(z9t,u.get("type"))<0)){var c=i.getComponent(Vf(o),l).axis,d=j9t(o),f,p=u.coordinateSystem;d!=null&&p.getOtherAxis&&(f=p.getOtherAxis(c).inverse),d=u.getData().mapDimension(d);var h=u.getData().mapDimension(o);a={thisAxis:c,series:u,thisDim:h,otherDim:d,otherAxisInverse:f}}},this)},this),a}},t.prototype._renderHandle=function(){var n=this.group,r=this._displayables,a=r.handles=[null,null],i=r.handleLabels=[null,null],o=this._displayables.sliderGroup,l=this._size,s=this.dataZoomModel,u=this.api,c=s.get("borderRadius")||0,d=s.get("brushSelect"),f=r.filler=new Cy({silent:d,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});o.add(f),o.add(new Cy({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:l[0],height:l[1],r:c},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:$9t,fill:Kt.color.transparent}})),_e([0,1],function(C){var y=s.get("handleIcon");!vC[y]&&y.indexOf("path://")<0&&y.indexOf("image://")<0&&(y="path://"+y);var E=Cs(y,-1,0,2,2,null,!0);E.attr({cursor:K9t(this._orient),draggable:!0,drift:wn(this._onDragMove,this,C),ondragend:wn(this._onDragEnd,this),onmouseover:wn(this._showDataInfo,this,!0),onmouseout:wn(this._showDataInfo,this,!1),z2:5});var w=E.getBoundingRect(),S=s.get("handleSize");this._handleHeight=Br(S,this._size[1]),this._handleWidth=w.width/w.height*this._handleHeight,E.setStyle(s.getModel("handleStyle").getItemStyle()),E.style.strokeNoScale=!0,E.rectHover=!0,E.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),j2(E);var A=s.get("handleColor");A!=null&&(E.style.fill=A),o.add(a[C]=E);var D=s.getModel("textStyle"),k=s.get("handleLabel")||{},x=k.show||!1;n.add(i[C]=new Qr({silent:!0,invisible:!x,style:ho(D,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:D.getTextColor(),font:D.getFont()}),z2:10}))},this);var p=f;if(d){var h=Br(s.get("moveHandleSize"),l[1]),m=r.moveHandle=new Zr({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:l[1]-.5,height:h}}),v=h*.8,g=r.moveHandleIcon=Cs(s.get("moveHandleIcon"),-v/2,-v/2,v,v,Kt.color.neutral00,!0);g.silent=!0,g.y=l[1]+h/2-.5,m.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var b=Math.min(l[1]/2,Math.max(h,10));p=r.moveZone=new Zr({invisible:!0,shape:{y:l[1]-b,height:h+b}}),p.on("mouseover",function(){u.enterEmphasis(m)}).on("mouseout",function(){u.leaveEmphasis(m)}),o.add(m),o.add(g),o.add(p)}p.attr({draggable:!0,cursor:"default",drift:wn(this._onDragMove,this,"all"),ondragstart:wn(this._showDataInfo,this,!0),ondragend:wn(this._onDragEnd,this),onmouseover:wn(this._showDataInfo,this,!0),onmouseout:wn(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var n=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[Ca(n[0],[0,100],r,!0),Ca(n[1],[0,100],r,!0)]},t.prototype._updateInterval=function(n,r){var a=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),l=a.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];$m(r,i,o,a.get("zoomLock")?"all":n,l.minSpan!=null?Ca(l.minSpan,s,o,!0):null,l.maxSpan!=null?Ca(l.maxSpan,s,o,!0):null);var u=this._range,c=this._range=Pf([Ca(i[0],o,s,!0),Ca(i[1],o,s,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},t.prototype._updateView=function(n){var r=this._displayables,a=this._handleEnds,i=Pf(a.slice()),o=this._size;_e([0,1],function(p){var h=r.handles[p],m=this._handleHeight;h.attr({scaleX:m/2,scaleY:m/2,x:a[p]+(p?-1:1),y:o[1]/2-m/2})},this),r.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]});var l={x:i[0],width:i[1]-i[0]};r.moveHandle&&(r.moveHandle.setShape(l),r.moveZone.setShape(l),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",l.x+l.width/2));for(var s=r.dataShadowSegs,u=[0,i[0],i[1],o[0]],c=0;cr[0]||a[1]<0||a[1]>r[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,l=this._updateInterval("all",a[0]-o);this._updateView(),l&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(n){var r=n.offsetX,a=n.offsetY;this._brushStart=new ar(r,a),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(n){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var a=r.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(a.width)<5)){var o=this._getViewExtent(),l=[0,100],s=this._handleEnds=[a.x,a.x+a.width],u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();$m(0,s,o,0,u.minSpan!=null?Ca(u.minSpan,l,o,!0):null,u.maxSpan!=null?Ca(u.maxSpan,l,o,!0):null),this._range=Pf([Ca(s[0],o,l,!0),Ca(s[1],o,l,!0)]),this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(n){this._brushing&&(_d(n.event),this._updateBrushRect(n.offsetX,n.offsetY))},t.prototype._updateBrushRect=function(n,r){var a=this._displayables,i=this.dataZoomModel,o=a.brushRect;o||(o=a.brushRect=new Cy({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),a.sliderGroup.add(o)),o.attr("ignore",!1);var l=this._brushStart,s=this._displayables.sliderGroup,u=s.transformCoordToLocal(n,r),c=s.transformCoordToLocal(l.x,l.y),d=this._size;u[0]=Math.max(Math.min(d[0],u[0]),0),o.setShape({x:c[0],y:0,width:u[0]-c[0],height:d[1]})},t.prototype._dispatchZoomAction=function(n){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:n?W9t:null,start:r[0],end:r[1]})},t.prototype._findCoordRect=function(){var n,r=Kge(this.dataZoomModel).infoList;if(!n&&r.length){var a=r[0].model.coordinateSystem;n=a.getRect&&a.getRect()}if(!n){var i=this.api.getWidth(),o=this.api.getHeight();n={x:i*.2,y:o*.2,width:i*.6,height:o*.6}}return n},t.type="dataZoom.slider",t})(K$);function j9t(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function K9t(e){return e==="vertical"?"ns-resize":"ew-resize"}function U9t(e){e.registerComponentModel(N9t),e.registerComponentView(G9t),U$(e)}function q9t(e){ml(I9t),ml(U9t)}var lye={get:function(e,t,n){var r=Rn((Y9t[e]||{})[t]);return n&&rn(r)?r[r.length-1]:r}},Y9t={color:{active:["#006edd","#e0ffff"],inactive:[Kt.color.transparent]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},pZ=mo.mapVisual,J9t=mo.eachVisual,X9t=rn,hZ=_e,Z9t=Pf,Q9t=Ca,PC=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a)},t.prototype.optionUpdated=function(n,r){var a=this.option;!r&&p9t(a,n,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(n){var r=this.stateList;n=wn(n,this),this.controllerVisuals=oZ(this.option.controller,r,n),this.targetVisuals=oZ(this.option.target,r,n)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var n=this.option.seriesId,r=this.option.seriesIndex;r==null&&n==null&&(r="all");var a=ug(this.ecModel,"series",{index:r,id:n},{useDefault:!1,enableAll:!0,enableNone:!1}).models;return cn(a,function(i){return i.componentIndex})},t.prototype.eachTargetSeries=function(n,r){_e(this.getTargetSeriesIndices(),function(a){var i=this.ecModel.getSeriesByIndex(a);i&&n.call(r,i)},this)},t.prototype.isTargetSeries=function(n){var r=!1;return this.eachTargetSeries(function(a){a===n&&(r=!0)}),r},t.prototype.formatValueText=function(n,r,a){var i=this.option,o=i.precision,l=this.dataBound,s=i.formatter,u;a=a||["<",">"],rn(n)&&(n=n.slice(),u=!0);var c=r?n:u?[d(n[0]),d(n[1])]:d(n);if(gn(s))return s.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(Pn(s))return u?s(n[0],n[1]):s(n);if(u)return n[0]===l[0]?a[0]+" "+c[1]:n[1]===l[1]?a[1]+" "+c[0]:c[0]+" - "+c[1];return c;function d(f){return f===l[0]?"min":f===l[1]?"max":(+f).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var n=this.option,r=Z9t([n.min,n.max]);this._dataExtent=r},t.prototype.getDataDimensionIndex=function(n){var r=this.option.dimension;if(r!=null)return n.getDimensionIndex(r);for(var a=n.dimensions,i=a.length-1;i>=0;i--){var o=a[i],l=n.getDimensionInfo(o);if(!l.isCalculationCoord)return l.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var n=this.ecModel,r=this.option,a={inRange:r.inRange,outOfRange:r.outOfRange},i=r.target||(r.target={}),o=r.controller||(r.controller={});lr(i,a),lr(o,a);var l=this.isCategory();s.call(this,i),s.call(this,o),u.call(this,i,"inRange","outOfRange"),c.call(this,o);function s(d){X9t(r.color)&&!d.inRange&&(d.inRange={color:r.color.slice().reverse()}),d.inRange=d.inRange||{color:n.get("gradientColor")}}function u(d,f,p){var h=d[f],m=d[p];h&&!m&&(m=d[p]={},hZ(h,function(v,g){if(mo.isValidType(g)){var b=lye.get(g,"inactive",l);b!=null&&(m[g]=b,g==="color"&&!m.hasOwnProperty("opacity")&&!m.hasOwnProperty("colorAlpha")&&(m.opacity=[0,0]))}}))}function c(d){var f=(d.inRange||{}).symbol||(d.outOfRange||{}).symbol,p=(d.inRange||{}).symbolSize||(d.outOfRange||{}).symbolSize,h=this.get("inactiveColor"),m=this.getItemSymbol(),v=m||"roundRect";hZ(this.stateList,function(g){var b=this.itemSize,C=d[g];C||(C=d[g]={color:l?h:[h]}),C.symbol==null&&(C.symbol=f&&Rn(f)||(l?v:[v])),C.symbolSize==null&&(C.symbolSize=p&&Rn(p)||(l?b[0]:[b[0],b[0]])),C.symbol=pZ(C.symbol,function(w){return w==="none"?v:w});var y=C.symbolSize;if(y!=null){var E=-1/0;J9t(y,function(w){w>E&&(E=w)}),C.symbolSize=pZ(y,function(w){return Q9t(w,[0,E],[0,b[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(n){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(n){return null},t.prototype.getVisualMeta=function(n){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:Kt.color.transparent,borderColor:Kt.color.borderTint,contentColor:Kt.color.theme[0],inactiveColor:Kt.color.disabled,borderWidth:0,padding:Kt.size.m,textGap:10,precision:0,textStyle:{color:Kt.color.secondary}},t})(_r),mZ=[20,140],eFt=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(a){a.mappingMethod="linear",a.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var n=this.itemSize;(n[0]==null||isNaN(n[0]))&&(n[0]=mZ[0]),(n[1]==null||isNaN(n[1]))&&(n[1]=mZ[1])},t.prototype._resetRange=function(){var n=this.getExtent(),r=this.option.range;!r||r.auto?(n.auto=1,this.option.range=n):rn(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],n[0]),r[1]=Math.min(r[1],n[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),_e(this.stateList,function(n){var r=this.option.controller[n].symbolSize;r&&r[0]!==r[1]&&(r[0]=r[1]/3)},this)},t.prototype.setSelected=function(n){this.option.range=n.slice(),this._resetRange()},t.prototype.getSelected=function(){var n=this.getExtent(),r=Pf((this.get("range")||[]).slice());return r[0]>n[1]&&(r[0]=n[1]),r[1]>n[1]&&(r[1]=n[1]),r[0]=a[1]||n<=r[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[];return this.eachTargetSeries(function(a){var i=[],o=a.getData();o.each(this.getDataDimensionIndex(o),function(l,s){n[0]<=l&&l<=n[1]&&i.push(s)},this),r.push({seriesId:a.id,dataIndex:i})},this),r},t.prototype.getVisualMeta=function(n){var r=vZ(this,"outOfRange",this.getExtent()),a=vZ(this,"inRange",this.option.range.slice()),i=[];function o(p,h){i.push({value:p,color:n(p,h)})}for(var l=0,s=0,u=a.length,c=r.length;sn[1])break;i.push({color:this.getControllerVisual(s,"color",r),offset:l/a})}return i.push({color:this.getControllerVisual(n[1],"color",r),offset:1}),i},t.prototype._createBarPoints=function(n,r){var a=this.visualMapModel.itemSize;return[[a[0]-r[0],n[0]],[a[0],n[0]],[a[0],n[1]],[a[0]-r[1],n[1]]]},t.prototype._createBarGroup=function(n){var r=this._orient,a=this.visualMapModel.get("inverse");return new oa(r==="horizontal"&&!a?{scaleX:n==="bottom"?1:-1,rotation:Math.PI/2}:r==="horizontal"&&a?{scaleX:n==="bottom"?-1:1,rotation:-Math.PI/2}:r==="vertical"&&!a?{scaleX:n==="left"?1:-1,scaleY:-1}:{scaleX:n==="left"?1:-1})},t.prototype._updateHandle=function(n,r){if(this._useHandle){var a=this._shapes,i=this.visualMapModel,o=a.handleThumbs,l=a.handleLabels,s=i.itemSize,u=i.getExtent(),c=this._applyTransform("left",a.mainGroup);tFt([0,1],function(d){var f=o[d];f.setStyle("fill",r.handlesColor[d]),f.y=n[d];var p=Lu(n[d],[0,s[1]],u,!0),h=this.getControllerVisual(p,"symbolSize");f.scaleX=f.scaleY=h/s[0],f.x=s[0]-h/2;var m=gd(a.handleLabelPoints[d],Uf(f,this.group));if(this._orient==="horizontal"){var v=c==="left"||c==="top"?(s[0]-h)/2:(s[0]-h)/-2;m[1]+=v}l[d].setStyle({x:m[0],y:m[1],text:i.formatValueText(this._dataInterval[d]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",a.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(n,r,a,i){var o=this.visualMapModel,l=o.getExtent(),s=o.itemSize,u=[0,s[1]],c=this._shapes,d=c.indicator;if(d){d.attr("invisible",!1);var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(n,"color",f),h=this.getControllerVisual(n,"symbolSize"),m=Lu(n,l,u,!0),v=s[0]-h/2,g={x:d.x,y:d.y};d.y=m,d.x=v;var b=gd(c.indicatorLabelPoint,Uf(d,this.group)),C=c.indicatorLabel;C.attr("invisible",!1);var y=this._applyTransform("left",c.mainGroup),E=this._orient,w=E==="horizontal";C.setStyle({text:(a||"")+o.formatValueText(r),verticalAlign:w?y:"middle",align:w?"center":y});var S={x:v,y:m,style:{fill:p}},A={style:{x:b[0],y:b[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var D={duration:100,easing:"cubicInOut",additive:!0};d.x=g.x,d.y=g.y,d.animateTo(S,D),C.animateTo(A,D)}else d.attr(S),C.attr(A);this._firstShowIndicator=!1;var k=this._shapes.handleLabels;if(k)for(var x=0;xo[1]&&(d[1]=1/0),r&&(d[0]===-1/0?this._showIndicator(c,d[1],"< ",s):d[1]===1/0?this._showIndicator(c,d[0],"> ",s):this._showIndicator(c,c,"≈ ",s));var f=this._hoverLinkDataIndices,p=[];(r||CZ(a))&&(p=this._hoverLinkDataIndices=a.findTargetDataIndices(d));var h=v1t(f,p);this._dispatchHighDown("downplay",x7(h[0],a)),this._dispatchHighDown("highlight",x7(h[1],a))}},t.prototype._hoverLinkFromSeriesMouseOver=function(n){var r;if(y1(n.target,function(s){var u=Dr(s);if(u.dataIndex!=null)return r=u,!0},!0),!!r){var a=this.ecModel.getSeriesByIndex(r.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(a)){var o=a.getData(r.dataType),l=o.getStore().get(i.getDataDimensionIndex(o),r.dataIndex);isNaN(l)||this._showIndicator(l,l)}}},t.prototype._hideIndicator=function(){var n=this._shapes;n.indicator&&n.indicator.attr("invisible",!0),n.indicatorLabel&&n.indicatorLabel.attr("invisible",!0);var r=this._shapes.handleLabels;if(r)for(var a=0;a=0&&(i.dimension=o,r.push(i))}}),e.getData().setVisual("visualMeta",r)}}];function uFt(e,t,n,r){for(var a=t.targetVisuals[r],i=mo.prepareVisualTypes(a),o={color:E1e(e.getData(),"color")},l=0,s=i.length;l0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(oFt,lFt),_e(sFt,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(cFt))}function dFt(e){e.registerComponentModel(eFt),e.registerComponentView(aFt),cye(e)}var fFt=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var a=this._mode=this._determineMode();this._pieceList=[],pFt[this._mode].call(this,this._pieceList),this._resetSelected(n,r);var i=this.option.categories;this.resetVisual(function(o,l){a==="categories"?(o.mappingMethod="category",o.categories=Rn(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=cn(this._pieceList,function(s){return s=Rn(s),l!=="inRange"&&(s.visual=null),s}))})},t.prototype.completeVisualOption=function(){var n=this.option,r={},a=mo.listVisualTypes(),i=this.isCategory();_e(n.pieces,function(l){_e(a,function(s){l.hasOwnProperty(s)&&(r[s]=1)})}),_e(r,function(l,s){var u=!1;_e(this.stateList,function(c){u=u||o(n,c,s)||o(n.target,c,s)},this),!u&&_e(this.stateList,function(c){(n[c]||(n[c]={}))[s]=lye.get(s,c==="inRange"?"active":"inactive",i)})},this);function o(l,s,u){return l&&l[s]&&l[s].hasOwnProperty(u)}e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(n,r){var a=this.option,i=this._pieceList,o=(r?a:n).selected||{};if(a.selected=o,_e(i,function(s,u){var c=this.getSelectedMapKey(s);o.hasOwnProperty(c)||(o[c]=!0)},this),a.selectedMode==="single"){var l=!1;_e(i,function(s,u){var c=this.getSelectedMapKey(s);o[c]&&(l?o[c]=!1:l=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(n){return this._mode==="categories"?n.value+"":n.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(n){this.option.selected=Rn(n)},t.prototype.getValueState=function(n){var r=mo.findPieceIndex(n,this._pieceList);return r!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[r])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[],a=this._pieceList;return this.eachTargetSeries(function(i){var o=[],l=i.getData();l.each(this.getDataDimensionIndex(l),function(s,u){var c=mo.findPieceIndex(s,a);c===n&&o.push(u)},this),r.push({seriesId:i.id,dataIndex:o})},this),r},t.prototype.getRepresentValue=function(n){var r;if(this.isCategory())r=n.value;else if(n.value!=null)r=n.value;else{var a=n.interval||[];r=a[0]===-1/0&&a[1]===1/0?0:(a[0]+a[1])/2}return r},t.prototype.getVisualMeta=function(n){if(this.isCategory())return;var r=[],a=["",""],i=this;function o(c,d){var f=i.getRepresentValue({interval:c});d||(d=i.getValueState(f));var p=n(f,d);c[0]===-1/0?a[0]=p:c[1]===1/0?a[1]=p:r.push({value:c[0],color:p},{value:c[1],color:p})}var l=this._pieceList.slice();if(!l.length)l.push({interval:[-1/0,1/0]});else{var s=l[0].interval[0];s!==-1/0&&l.unshift({interval:[-1/0,s]}),s=l[l.length-1].interval[1],s!==1/0&&l.push({interval:[s,1/0]})}var u=-1/0;return _e(l,function(c){var d=c.interval;d&&(d[0]>u&&o([u,d[0]],"outOfRange"),o(d.slice()),u=d[1])},this),{stops:r,outerColors:a}},t.type="visualMap.piecewise",t.defaultOption=dg(PC.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t})(PC),pFt={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var i=(r[1]-r[0])/a;+i.toFixed(n)!==i&&n<5;)n++;t.precision=n,i=+i.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var o=0,l=r[0];o","≥"][r[0]]];n.text=n.text||this.formatValueText(n.value!=null?n.value:n.interval,!1,a)},this)}};function SZ(e,t){var n=e.inverse;(e.orient==="vertical"?!n:n)&&t.reverse()}var hFt=(function(e){Nt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.doRender=function(){var n=this.group;n.removeAll();var r=this.visualMapModel,a=r.get("textGap"),i=r.textStyleModel,o=this._getItemAlign(),l=r.itemSize,s=this._getViewData(),u=s.endsText,c=E0(r.get("showLabel",!0),!u),d=!r.get("selectedMode");u&&this._renderEndsText(n,u[0],l,c,o),_e(s.viewPieceList,function(f){var p=f.piece,h=new oa;h.onclick=wn(this._onItemClick,this,p),this._enableHoverLink(h,f.indexInModelPieceList);var m=r.getRepresentValue(p);if(this._createItemSymbol(h,m,[0,0,l[0],l[1]],d),c){var v=this.visualMapModel.getValueState(m),g=i.get("align")||o;h.add(new Qr({style:ho(i,{x:g==="right"?-a:l[0]+a,y:l[1]/2,text:p.text,verticalAlign:i.get("verticalAlign")||"middle",align:g,opacity:_n(i.get("opacity"),v==="outOfRange"?.5:1)}),silent:d}))}n.add(h)},this),u&&this._renderEndsText(n,u[1],l,c,o),hm(r.get("orient"),n,r.get("itemGap")),this.renderBackground(n),this.positionGroup(n)},t.prototype._enableHoverLink=function(n,r){var a=this;n.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(o){var l=a.visualMapModel;l.option.hoverLink&&a.api.dispatchAction({type:o,batch:x7(l.findTargetDataIndices(r),l)})}},t.prototype._getItemAlign=function(){var n=this.visualMapModel,r=n.option;if(r.orient==="vertical")return uye(n,this.api,n.itemSize);var a=r.align;return(!a||a==="auto")&&(a="left"),a},t.prototype._renderEndsText=function(n,r,a,i,o){if(r){var l=new oa,s=this.visualMapModel.textStyleModel;l.add(new Qr({style:ho(s,{x:i?o==="right"?a[0]:0:a[0]/2,y:a[1]/2,verticalAlign:"middle",align:i?o:"center",text:r})})),n.add(l)}},t.prototype._getViewData=function(){var n=this.visualMapModel,r=cn(n.getPieceList(),function(l,s){return{piece:l,indexInModelPieceList:s}}),a=n.get("text"),i=n.get("orient"),o=n.get("inverse");return(i==="horizontal"?o:!o)?r.reverse():a&&(a=a.slice().reverse()),{viewPieceList:r,endsText:a}},t.prototype._createItemSymbol=function(n,r,a,i){var o=Cs(this.getControllerVisual(r,"symbol"),a[0],a[1],a[2],a[3],this.getControllerVisual(r,"color"));o.silent=i,n.add(o)},t.prototype._onItemClick=function(n){var r=this.visualMapModel,a=r.option,i=a.selectedMode;if(i){var o=Rn(a.selected),l=r.getSelectedMapKey(n);i==="single"||i===!0?(o[l]=!0,_e(o,function(s,u){o[u]=u===l})):o[l]=!o[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t})(sye);function mFt(e){e.registerComponentModel(fFt),e.registerComponentView(hFt),cye(e)}function vFt(e){ml(dFt),ml(mFt)}const{use:gFt}=k0e;gFt([P8t,w8t,s8t,o6t,t6t,T6t,g9t,Z6t,T9t,lCt,UCt,f9t,q9t,vFt]);function yFt(e){e.config.globalProperties.$echarts=k0e}var rD,AZ;function Dc(){if(AZ)return rD;AZ=1;var e={keyId:1,cookies:{path:"/"},treeOptions:{parentKey:"parentId",key:"id",children:"children"},parseDateFormat:"yyyy-MM-dd HH:mm:ss",firstDayOfWeek:1};return rD=e,rD}var aD,DZ;function zo(){if(DZ)return aD;DZ=1;function e(t,n,r){if(t)if(t.forEach)t.forEach(n,r);else for(var a=0,i=t.length;a1?function(l){o.push([""+l,i[l]])}:function(){o.push(arguments[r])})}return o}}return pD=t,pD}var hD,PZ;function Vd(){if(PZ)return hD;PZ=1;var e=Z$(),t=e("keys",1);return hD=t,hD}var mD,IZ;function Q$(){if(IZ)return mD;IZ=1;var e=dye(),t=T4(),n=zo();function r(l,s){var u=l.__proto__.constructor;return s?new u(s):new u}function a(l,s){return s?i(l,s):l}function i(l,s){if(l)switch(e.call(l)){case"[object Object]":{var u=Object.create(Object.getPrototypeOf(l));return t(l,function(p,h){u[h]=a(p,s)}),u}case"[object Date]":case"[object RegExp]":return r(l,l.valueOf());case"[object Array]":case"[object Arguments]":{var c=[];return n(l,function(p){c.push(a(p,s))}),c}case"[object Set]":{var d=r(l);return d.forEach(function(p){d.add(a(p,s))}),d}case"[object Map]":{var f=r(l);return f.forEach(function(p,h){f.set(h,a(p,s))}),f}}return l}function o(l,s){return l&&i(l,s)}return mD=o,mD}var vD,NZ;function zl(){if(NZ)return vD;NZ=1;var e=zo(),t=Vd(),n=ya(),r=Q$(),a=Object.assign;function i(l,s,u){for(var c=s.length,d,f=1;f1)return l=n(l[1])?[]:{},i(l,s,!0)}else return a?a.apply(Object,s):i(l,s)}return l};return vD=o,vD}var gD,$Z;function bFt(){if($Z)return gD;$Z=1;var e=Dc(),t=zo(),n=Oi(),r=vl(),a=zl(),i=function(){};function o(){t(arguments,function(c){n(c,function(d,f){i[f]=r(d)?function(){var p=d.apply(i.$context,arguments);return i.$context=null,p}:d})})}function l(c){return a(e,c)}function s(){return e}var u="3.8.4";return i.VERSION=u,i.version=u,i.mixin=o,i.setup=l,i.setConfig=l,i.getConfig=s,gD=i,gD}var yD,VZ;function eV(){if(VZ)return yD;VZ=1;function e(t,n,r){for(var a=t.length-1;a>=0;a--)n.call(r,t[a],a,t)}return yD=e,yD}var bD,HZ;function fye(){if(HZ)return bD;HZ=1;var e=eV(),t=Vd();function n(r,a,i){e(t(r),function(o){a.call(i,r[o],o,r)})}return bD=n,bD}var CD,zZ;function Hd(){if(zZ)return CD;zZ=1;function e(t){return t===null}return CD=e,CD}var FD,WZ;function mg(){if(WZ)return FD;WZ=1;var e=Hd();function t(n,r){return function(a){return e(a)?r:a[n]}}return FD=t,FD}var ED,GZ;function CFt(){if(GZ)return ED;GZ=1;var e=Oi(),t=vl(),n=mg();function r(a,i,o){var l={};if(a)if(i)t(i)||(i=n(i)),e(a,function(s,u){l[u]=i.call(o,s,u,a)});else return a;return l}return ED=r,ED}var wD,jZ;function vg(){if(jZ)return wD;jZ=1;function e(t){return t?t.constructor===Object:!1}return wD=e,wD}var SD,KZ;function pye(){if(KZ)return SD;KZ=1;function e(t){return t!=="__proto__"&&t!=="constructor"}return SD=e,SD}var AD,UZ;function FFt(){if(UZ)return AD;UZ=1;var e=ya(),t=vg(),n=vl(),r=Oi(),a=pye();function i(l,s){return t(l)&&t(s)||e(l)&&e(s)?(r(s,function(u,c){a(c)&&(l[c]=n(s)?u:i(l[c],u))}),l):s}var o=function(l){l||(l={});for(var s=arguments,u=s.length,c,d=1;d1){if(n.map)return n.map(r,a);e(n,function(){i.push(r.apply(a,arguments))})}return i}return DD=t,DD}var TD,YZ;function jF(){if(YZ)return TD;YZ=1;var e=bu(),t=ya();function n(r,a,i,o,l){return function(s,u,c){if(s&&u){if(r&&s[r])return s[r](u,c);if(a&&t(s)){for(var d=0,f=s.length;db?1:-1}function h(g,b,C){return function(y,E){var w=y[g],S=E[g];return w===S?C?C(y,E):0:b.order===f?p(S,w):p(w,S)}}function m(g,b,C,y){var E=[];return C=r(C)?C:[C],e(C,function(w,S){if(w){var A=w,D;r(w)?(A=w[0],D=w[1]):i(w)&&(A=w.field,D=w.order),E.push({field:A,order:D||d}),e(b,a(A)?function(k,x){k[S]=A.call(y,k.data,x,g)}:function(k){k[S]=A?u(k.data,A):k.data})}}),E}function v(g,b,C){if(g){if(s(b))return t(g).sort(p);for(var y,E=n(g,function(A){return{data:A}}),w=m(g,E,b,C),S=w.length-1;S>=0;)y=h(S,w[S],y),S--;return y&&(E=E.sort(y)),n(E,c("data"))}return[]}return HD=v,HD}var zD,cQ;function wFt(){if(cQ)return zD;cQ=1;var e=rV(),t=e;return zD=t,zD}var WD,dQ;function bye(){if(dQ)return WD;dQ=1;function e(t,n){return t>=n?t:(t=t>>0)+Math.round(Math.random()*((n||9)-t))}return WD=e,WD}var GD,fQ;function yg(){if(fQ)return GD;fQ=1;var e=Z$(),t=e("values",0);return GD=t,GD}var jD,pQ;function Cye(){if(pQ)return jD;pQ=1;var e=bye(),t=yg();function n(r){for(var a,i=[],o=t(r),l=o.length-1;l>=0;l--)a=l>0?e(0,l):0,i.push(o[a]),o.splice(a,1);return i}return jD=n,jD}var KD,hQ;function SFt(){if(hQ)return KD;hQ=1;var e=Cye();function t(n,r){var a=e(n);return arguments.length<=1?a[0]:(r=2?e(r):0,a=o>=3?e(a):n.length,n.slice)return n.slice(r,a);for(;r=0;o--)if(a.call(i,r[o],o,r))return r[o]}}return QD=n,QD}var eT,EQ;function _Ft(){if(EQ)return eT;EQ=1;var e=Vd();function t(n,r,a){if(n){var i,o,l=0,s=null,u=a,c=arguments.length>2,d=e(n);if(n.length&&n.reduce)return o=function(){return r.apply(s,arguments)},c?n.reduce(o,u):n.reduce(o);for(c&&(l=1,u=n[d[0]]),i=d.length;l>0,u=a>>0,c=n.length,d=arguments.length>3?i>>0:c;if(s=0?s:c+s,s>=0&&(u=u>=0?u:c+u,d=d>=0?d:c+d,u>0||1;if(e(n))if(o>=0&&n.length>o)for(a=0;a1&&(a(u)||!n(u)),p=f?c:u;if(t(s))o(s,f?function(h,m){s[m]=u}:function(h,m){e(s,m)}),p&&i(s,p);else if(r(s)){if(f)for(d=s.length;d>0;)d--,s[d]=u;else s.length=0;p&&s.push.apply(s,p)}}return s}return mT=l,mT}var vT,NQ;function _ye(){if(NQ)return vT;NQ=1;var e=Dye(),t=vl(),n=ya(),r=Oi(),a=zo(),i=Tye(),o=kye(),l=kc();function s(c){return function(d,f){return f===c}}function u(c,d,f){if(c){if(!l(d)){var p=[],h=[];return t(d)||(d=s(d)),r(c,function(m,v,g){d.call(f,m,v,g)&&p.push(v)}),n(c)?i(p,function(m,v){h.push(c[m]),c.splice(m,1)}):(h={},a(p,function(m){h[m]=c[m],e(c,m)})),h}return o(c)}return c}return vT=u,vT}var gT,$Q;function IFt(){if($Q)return gT;$Q=1;var e=Dc(),t=PFt(),n=rV(),r=Q$(),a=kc(),i=Oi(),o=_ye(),l=zl();function s(c,d){i(c,function(f){f[d]&&!f[d].length&&o(f,d)})}function u(c,d){var f=l({},e.treeOptions,d),p=f.strict,h=f.key,m=f.parentKey,v=f.children,g=f.mapChildren,b=f.sortKey,C=f.reverse,y=f.data,E=[],w={},S={},A,D,k;return b&&(c=n(r(c),b),C&&(c=c.reverse())),i(c,function(x){A=x[h],S[A]&&t("warn","Duplicate primary key="+A),S[A]=!0}),i(c,function(x){A=x[h],y?(D={},D[y]=x):D=x,k=x[m],w[A]=w[A]||[],D[h]=A,D[m]=k,A===k&&(k=null,t("warn","Error infinite Loop. key="+A+" parentKey="+A)),w[k]=w[k]||[],w[k].push(D),D[v]=w[A],g&&(D[g]=w[A]),(!p||p&&a(k))&&(S[k]||E.push(D))}),p&&s(c,v),E}return gT=u,gT}var yT,VQ;function NFt(){if(VQ)return yT;VQ=1;var e=Dc(),t=zo(),n=zl();function r(i,o,l,s){var u=s.key,c=s.parentKey,d=s.children,f=s.data,p=s.updated,h=s.clear;return t(l,function(m){var v=m[d];f&&(m=m[f]),p!==!1&&(m[c]=o?o[u]:null),i.push(m),v&&v.length&&r(i,m,v,s),h&&delete m[d]}),i}function a(i,o){return r([],null,i,n({},e.treeOptions,o))}return yT=a,yT}var bT,HQ;function UF(){if(HQ)return bT;HQ=1;function e(t){return function(n,r,a,i){var o=a||{},l=o.children||"children";return t(null,n,r,i,[],[],l,o)}}return bT=e,bT}var CT,zQ;function $Ft(){if(zQ)return CT;zQ=1;var e=UF();function t(r,a,i,o,l,s,u,c){if(a){var d,f,p,h,m,v;for(f=0,p=a.length;f=0;r--)if(n===t[r])return r;return-1}return DT=e,DT}var TT,YQ;function _c(){if(YQ)return TT;YQ=1;var e=hg(),t=e("number");return TT=t,TT}var kT,JQ;function WFt(){if(JQ)return kT;JQ=1;var e=_c();function t(n){return e(n)&&isNaN(n)}return kT=t,kT}var _T,XQ;function zd(){if(XQ)return _T;XQ=1;var e=hg(),t=e("string");return _T=t,_T}var xT,ZQ;function Sp(){if(ZQ)return xT;ZQ=1;var e=D4(),t=e("Date");return xT=t,xT}var MT,QQ;function Ap(){if(QQ)return MT;QQ=1;var e=parseInt;return MT=e,MT}var BT,eee;function GFt(){if(eee)return BT;eee=1;function e(t){return Date.UTC(t.y,t.M||0,t.d||1,t.H||0,t.m||0,t.s||0,t.S||0)}return BT=e,BT}var RT,tee;function Wo(){if(tee)return RT;tee=1;function e(t){return t.getTime()}return RT=e,RT}var LT,nee;function Yi(){if(nee)return LT;nee=1;var e=Ap(),t=GFt(),n=Wo(),r=zd(),a=Sp();function i(L){return"(\\d{"+L+"})"}function o(L){return L<10?L*100:L<100?L*10:L}function l(L){return isNaN(L)?L:e(L)}for(var s=i(2),u=i("1,2"),c=i("1,7"),d=i("3,4"),f=".{1}",p=f+u,h="(([zZ])|([-+]\\d{2}:?\\d{2}))",m=[d,p,p,p,p,p,f+c,h],v=[],g=m.length-1;g>=0;g--){for(var b="",C=0;C=0&&a.call(i,r[o],o,r)!==!1;o--);else for(l=t(r),o=l.length-1;o>=0&&a.call(i,r[l[o]],l[o],r)!==!1;o--);}}return NT=n,NT}var $T,lee;function Lye(){if(lee)return $T;lee=1;var e=ya(),t=zd(),n=bu();function r(a,i){return function(o,l){if(o){if(o[a])return o[a](l);if(t(o)||e(o))return i(o,l);for(var s in o)if(n(o,s)&&l===o[s])return s}return-1}}return $T=r,$T}var VT,see;function UFt(){if(see)return VT;see=1;var e=Lye(),t=Mye(),n=e("indexOf",t);return VT=n,VT}var HT,uee;function Oye(){if(uee)return HT;uee=1;var e=Lye(),t=Bye(),n=e("lastIndexOf",t);return HT=n,HT}var zT,cee;function Pye(){if(cee)return zT;cee=1;var e=ya(),t=zd(),n=Oi();function r(a){var i=0;return t(a)||e(a)?a.length:(n(a,function(){i++}),i)}return zT=r,zT}var WT,dee;function qFt(){if(dee)return WT;dee=1;var e=_c();function t(n){return e(n)&&isFinite(n)}return WT=t,WT}var GT,fee;function Iye(){if(fee)return GT;fee=1;var e=ya(),t=Hd(),n=function(r){return!t(r)&&!isNaN(r)&&!e(r)&&r%1===0};return GT=n,GT}var jT,pee;function YFt(){if(pee)return jT;pee=1;var e=ya(),t=Iye(),n=Hd();function r(a){return!n(a)&&!isNaN(a)&&!e(a)&&!t(a)}return jT=r,jT}var KT,hee;function Nye(){if(hee)return KT;hee=1;var e=hg(),t=e("boolean");return KT=t,KT}var UT,mee;function aV(){if(mee)return UT;mee=1;var e=D4(),t=e("RegExp");return UT=t,UT}var qT,vee;function $ye(){if(vee)return qT;vee=1;var e=D4(),t=e("Error");return qT=t,qT}var YT,gee;function JFt(){if(gee)return YT;gee=1;function e(t){return t?t.constructor===TypeError:!1}return YT=e,YT}var JT,yee;function Vye(){if(yee)return JT;yee=1;function e(t){for(var n in t)return!1;return!0}return JT=e,JT}var XT,bee;function Hye(){if(bee)return XT;bee=1;var e=Cu(),t=typeof Symbol!==e;function n(r){return t&&Symbol.isSymbol?Symbol.isSymbol(r):typeof r=="symbol"}return XT=n,XT}var ZT,Cee;function XFt(){if(Cee)return ZT;Cee=1;var e=D4(),t=e("Arguments");return ZT=t,ZT}var QT,Fee;function ZFt(){if(Fee)return QT;Fee=1;var e=zd(),t=_c();function n(r){return!!(r&&e(r.nodeName)&&t(r.nodeType))}return QT=n,QT}var ek,Eee;function iV(){if(Eee)return ek;Eee=1;var e=Cu(),t=typeof document===e?0:document;return ek=t,ek}var tk,wee;function QFt(){if(wee)return tk;wee=1;var e=iV();function t(n){return!!(n&&e&&n.nodeType===9)}return tk=t,tk}var nk,See;function zye(){if(See)return nk;See=1;var e=Cu(),t=typeof window===e?0:window;return nk=t,nk}var rk,Aee;function eEt(){if(Aee)return rk;Aee=1;var e=zye();function t(n){return!!(e&&(n&&n===n.window))}return rk=t,rk}var ak,Dee;function tEt(){if(Dee)return ak;Dee=1;var e=Cu(),t=typeof FormData!==e;function n(r){return t&&r instanceof FormData}return ak=n,ak}var ik,Tee;function nEt(){if(Tee)return ik;Tee=1;var e=Cu(),t=typeof Map!==e;function n(r){return t&&r instanceof Map}return ik=n,ik}var ok,kee;function rEt(){if(kee)return ok;kee=1;var e=Cu(),t=typeof WeakMap!==e;function n(r){return t&&r instanceof WeakMap}return ok=n,ok}var lk,_ee;function aEt(){if(_ee)return lk;_ee=1;var e=Cu(),t=typeof Set!==e;function n(r){return t&&r instanceof Set}return lk=n,lk}var sk,xee;function iEt(){if(xee)return sk;xee=1;var e=Cu(),t=typeof WeakSet!==e;function n(r){return t&&r instanceof WeakSet}return sk=n,sk}var uk,Mee;function Wye(){if(Mee)return uk;Mee=1;var e=vl(),t=zd(),n=ya(),r=bu();function a(i){return function(o,l,s){if(o&&e(l)){if(n(o)||t(o))return i(o,l,s);for(var u in o)if(r(o,u)&&l.call(s,o[u],u,o))return u}return-1}}return uk=a,uk}var ck,Bee;function oV(){if(Bee)return ck;Bee=1;var e=Wye(),t=e(function(n,r,a){for(var i=0,o=n.length;i-1})}else return!0;return n(o,l)}return hk=i,hk}var mk,Iee;function lEt(){if(Iee)return mk;Iee=1;var e=Gye(),t=jye(),n=vl(),r=Tc();function a(i,o,l){return n(l)?e(i,o,function(s,u,c,d,f){var p=l(s,u,c,d,f);return r(p)?t(s,u):!!p},l):e(i,o,t)}return mk=a,mk}var vk,Nee;function sEt(){if(Nee)return vk;Nee=1;var e=Hye(),t=Sp(),n=ya(),r=aV(),a=$ye(),i=Hd();function o(l){return i(l)?"null":e(l)?"symbol":t(l)?"date":n(l)?"array":r(l)?"regexp":a(l)?"error":typeof l}return vk=o,vk}var gk,$ee;function uEt(){if($ee)return gk;$ee=1;var e=Dc(),t=kc();function n(r){return""+(t(r)?"":r)+e.keyId++}return gk=n,gk}var yk,Vee;function cEt(){if(Vee)return yk;Vee=1;var e=Wye(),t=e(function(n,r,a){for(var i=n.length-1;i>=0;i--)if(r.call(a,n[i],i,n))return i;return-1});return yk=t,yk}var bk,Hee;function dEt(){if(Hee)return bk;Hee=1;var e=vg(),t=zd();function n(r){if(e(r))return r;if(t(r))try{return JSON.parse(r)}catch(a){}return{}}return bk=n,bk}var Ck,zee;function fEt(){if(zee)return Ck;zee=1;var e=kc();function t(n){return e(n)?"":JSON.stringify(n)}return Ck=t,Ck}var Fk,Wee;function pEt(){if(Wee)return Fk;Wee=1;var e=Z$(),t=e("entries",2);return Fk=t,Fk}var Ek,Gee;function Uye(){if(Gee)return Ek;Gee=1;var e=vl(),t=ya(),n=Oi(),r=oV();function a(i,o){return function(l,s){var u,c,d={},f=[],p=this,h=arguments,m=h.length;if(!e(s)){for(c=1;c-1)?i:o)&&(d[g]=v)}),d}}return Ek=a,Ek}var wk,jee;function hEt(){if(jee)return wk;jee=1;var e=Uye(),t=e(1,0);return wk=t,wk}var Sk,Kee;function mEt(){if(Kee)return Sk;Kee=1;var e=Uye(),t=e(0,1);return Sk=t,Sk}var Ak,Uee;function vEt(){if(Uee)return Ak;Uee=1;var e=yg();function t(n){return e(n)[0]}return Ak=t,Ak}var Dk,qee;function gEt(){if(qee)return Dk;qee=1;var e=yg();function t(n){var r=e(n);return r[r.length-1]}return Dk=t,Dk}var Tk,Yee;function yEt(){if(Yee)return Tk;Yee=1;var e=yye(),t=nV(),n=bu();function r(a,i){if(a){if(n(a,i))return!0;var o,l,s,u,c,d,f=t(i),p=0,h=f.length;for(c=a;p>0,i=n>>0,a>0||1;ar});return Rk=t,Rk}var Lk,nte;function YF(){if(nte)return Lk;nte=1;function e(t){return(t.split(".")[1]||"").length}return Lk=e,Lk}var Ok,rte;function _4(){if(rte)return Ok;rte=1;var e=Ap();function t(n,r){if(n.repeat)return n.repeat(r);var a=isNaN(r)?[]:new Array(e(r));return a.join(n)+(a.length>0?n:"")}return Ok=t,Ok}var Pk,ate;function Jye(){if(ate)return Pk;ate=1;function e(t,n){return t.substring(0,n)+"."+t.substring(n,t.length)}return Pk=e,Pk}var Ik,ite;function Dp(){if(ite)return Ik;ite=1;var e=_4(),t=Jye();function n(r){var a=""+r,i=a.match(/^([-+]?)((\d+)|((\d+)?[.](\d+)?))e([-+]{1})([0-9]+)$/);if(i){var o=r<0,l=o?"-":"",s=i[3]||"",u=i[5]||"",c=i[6]||"",d=i[7],f=i[8],p=f-c.length,h=f-s.length,m=f-u.length;return d==="+"?s?l+s+e("0",f):p>0?l+u+c+e("0",p):l+u+t(c,f):s?h>0?l+"0."+e("0",Math.abs(h))+s:l+t(s,h):m>0?l+"0."+e("0",Math.abs(m))+u+c:l+t(u,m)+c}return a}return Ik=n,Ik}var Nk,ote;function Xye(){if(ote)return Nk;ote=1;var e=YF(),t=Dp();function n(r,a){var i=t(r),o=t(a);return parseInt(i.replace(".",""))*parseInt(o.replace(".",""))/Math.pow(10,e(i)+e(o))}return Nk=n,Nk}var $k,lte;function lV(){if(lte)return $k;lte=1;var e=Xye(),t=ov(),n=Dp();function r(a){return function(i,o){var l=t(i),s=l;if(l){o=o>>0;var u=n(l),c=u.split("."),d=c[0],f=c[1]||"",p=f.substring(0,o+1),h=d+(p?"."+p:"");if(o>=f.length)return t(h);if(h=l,o>0){var m=Math.pow(10,o);s=Math[a](e(h,m))/m}else s=Math[a](h)}return s}}return $k=r,$k}var Vk,ste;function sV(){if(ste)return Vk;ste=1;var e=lV(),t=e("round");return Vk=t,Vk}var Hk,ute;function Zye(){if(ute)return Hk;ute=1;var e=lV(),t=e("ceil");return Hk=t,Hk}var zk,cte;function Qye(){if(cte)return zk;cte=1;var e=lV(),t=e("floor");return zk=t,zk}var Wk,dte;function gl(){if(dte)return Wk;dte=1;var e=kc(),t=_c(),n=Dp();function r(a){return t(a)?n(a):""+(e(a)?"":a)}return Wk=r,Wk}var Gk,fte;function uV(){if(fte)return Gk;fte=1;var e=sV(),t=gl(),n=_4(),r=Jye();function a(i,o){o=o>>0;var l=t(e(i,o)),s=l.split("."),u=s[0],c=s[1]||"",d=o-c.length;return o?d>0?u+"."+c+n("0",d):u+r(c,Math.abs(d)):u}return Gk=a,Gk}var jk,pte;function wEt(){if(pte)return jk;pte=1;var e=Dc(),t=sV(),n=Zye(),r=Qye(),a=_c(),i=gl(),o=uV(),l=Dp(),s=zl();function u(c,d){var f=s({},e.commafyOptions,d),p=f.digits,h=a(c),m,v,g,b,C;return h?(m=(f.ceil?n:f.floor?r:t)(c,p),v=l(p?o(m,p):m).split("."),b=v[0],C=v[1],g=b&&m<0,g&&(b=b.substring(1,b.length))):(m=i(c).replace(/,/g,""),v=m?[m]:[],b=v[0]),v.length?(g?"-":"")+b.replace(new RegExp("(?=(?!(\\b))(.{"+(f.spaceNumber||3)+"})+$)","g"),f.separator||",")+(C?"."+C:""):m}return jk=u,jk}var Kk,hte;function SEt(){if(hte)return Kk;hte=1;var e=Ap(),t=Fye(),n=t(e);return Kk=n,Kk}var Uk,mte;function cV(){if(mte)return Uk;mte=1;var e=Xye(),t=ov();function n(r,a){var i=t(r),o=t(a);return e(i,o)}return Uk=n,Uk}var qk,vte;function ebe(){if(vte)return qk;vte=1;var e=YF(),t=Dp(),n=cV();function r(a,i){var o=t(a),l=t(i),s=Math.pow(10,Math.max(e(o),e(l)));return(n(a,s)+n(i,s))/s}return qk=r,qk}var Yk,gte;function AEt(){if(gte)return Yk;gte=1;var e=ebe(),t=ov();function n(r,a){return e(t(r),t(a))}return Yk=n,Yk}var Jk,yte;function DEt(){if(yte)return Jk;yte=1;var e=YF(),t=Dp(),n=ov(),r=uV();function a(i,o){var l=n(i),s=n(o),u=t(l),c=t(s),d=e(u),f=e(c),p=Math.pow(10,Math.max(d,f)),h=d>=f?d:f;return parseFloat(r((l*p-s*p)/p,h))}return Jk=a,Jk}var Xk,bte;function tbe(){if(bte)return Xk;bte=1;var e=YF(),t=Dp(),n=cV();function r(a,i){var o=t(a),l=t(i),s=e(o),u=e(l),c=u-s,d=c<0,f=Math.pow(10,d?Math.abs(c):c);return n(o.replace(".","")/l.replace(".",""),d?1/f:f)}return Xk=r,Xk}var Zk,Cte;function TEt(){if(Cte)return Zk;Cte=1;var e=tbe(),t=ov();function n(r,a){return e(t(r),t(a))}return Zk=n,Zk}var Qk,Fte;function nbe(){if(Fte)return Qk;Fte=1;var e=ebe(),t=vl(),n=ya(),r=Oi(),a=k4();function i(o,l,s){var u=0;return r(o&&o.length>2&&n(o)?o.sort():o,l?t(l)?function(){u=e(u,l.apply(s,arguments))}:function(c){u=e(u,a(c,l))}:function(c){u=e(u,c)}),u}return Qk=i,Qk}var e_,Ete;function kEt(){if(Ete)return e_;Ete=1;var e=tbe(),t=Pye(),n=nbe();function r(a,i,o){return e(n(a,i,o),t(a))}return e_=r,e_}var t_,wte;function Tp(){if(wte)return t_;wte=1;var e="first";return t_=e,t_}var n_,Ste;function sv(){if(Ste)return n_;Ste=1;var e="last";return n_=e,n_}var r_,Ate;function kp(){if(Ate)return r_;Ate=1;function e(t){return t.getFullYear()}return r_=e,r_}var a_,Dte;function bg(){if(Dte)return a_;Dte=1;var e=864e5;return a_=e,a_}var i_,Tte;function uv(){if(Tte)return i_;Tte=1;function e(t){return t.getMonth()}return i_=e,i_}var o_,kte;function Go(){if(kte)return o_;kte=1;var e=Sp(),t=Wo();function n(r){return e(r)&&!isNaN(t(r))}return o_=n,o_}var l_,_te;function x4(){if(_te)return l_;_te=1;var e=Tp(),t=sv(),n=bg(),r=kp(),a=Wo(),i=uv(),o=Yi(),l=Go(),s=_c();function u(c,d,f){var p=d&&!isNaN(d)?d:0;if(c=o(c),l(c)){if(f===e)return new Date(r(c),i(c)+p,1);if(f===t)return new Date(a(u(c,p+1,e))-1);if(s(f)&&c.setDate(f),p){var h=c.getDate();if(c.setMonth(i(c)+p),h!==c.getDate())return c.setDate(1),new Date(a(c)-n)}}return c}return l_=u,l_}var s_,xte;function JF(){if(xte)return s_;xte=1;var e=Tp(),t=sv(),n=kp(),r=x4(),a=Yi(),i=Go();function o(l,s,u){var c;if(l=a(l),i(l)&&(s&&(c=s&&!isNaN(s)?s:0,l.setFullYear(n(l)+c)),u||!isNaN(u))){if(u===e)return new Date(n(l),0,1);if(u===t)return l.setMonth(11),r(l,0,t);l.setMonth(u)}return l}return s_=o,s_}var u_,Mte;function _Et(){if(Mte)return u_;Mte=1;var e=x4(),t=Yi(),n=Go();function r(i){var o=i.getMonth();return o<3?1:o<6?2:o<9?3:4}function a(i,o,l){var s,u=o&&!isNaN(o)?o*3:0;return i=t(i),n(i)?(s=(r(i)-1)*3,i.setMonth(s),e(i,u,l)):i}return u_=a,u_}var c_,Bte;function rbe(){if(Bte)return c_;Bte=1;var e=bg(),t=e*7;return c_=t,c_}var d_,Rte;function abe(){if(Rte)return d_;Rte=1;var e=Dc(),t=bg(),n=rbe(),r=Wo(),a=Yi(),i=Go(),o=_c();function l(s,u,c,d){if(s=a(s),i(s)){var f=o(c),p=o(d),h=r(s);if(f||p){var m=p?d:e.firstDayOfWeek,v=s.getDay(),g=f?c:v;if(v!==g){var b=0;m>v?b=-(7-m+v):mm?h+=((g===0?7:g)-m+b)*t:g>0,o=t(o)?" ":""+o,l.padStart?l.padStart(i,o):i>l.length?(i-=l.length,i>o.length&&(o+=n(o,i/o.length)),o.slice(0,i)+l):l}return E_=r,E_}var w_,jte;function dbe(){if(jte)return w_;jte=1;var e=Dc(),t=obe(),n=kp(),r=uv(),a=Yi(),i=sbe(),o=ube(),l=zl(),s=Go(),u=vl(),c=kc(),d=cbe();function f(m,v,g,b){var C=v[g];return C?u(C)?C(b,g,m):C[b]:b}var p=/\[([^\]]+)]|y{2,4}|M{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|S{1,3}|Z{1,2}|W{1,2}|D{1,3}|[aAeEq]/g;function h(m,v,g){if(m){if(m=a(m),s(m)){var b=g||{},C=v||e.parseDateFormat||e.formatString,y=m.getHours(),E=y<12?"am":"pm",w=l({},e.parseDateRules||e.formatStringMatchs,b.formats),S=function(O,N){return(""+n(m)).substring(4-N)},A=function(O,N){return d(r(m)+1,N,"0")},D=function(O,N){return d(m.getDate(),N,"0")},k=function(O,N){return d(y,N,"0")},x=function(O,N){return d(y<=12?y:y-12,N,"0")},_=function(O,N){return d(m.getMinutes(),N,"0")},M=function(O,N){return d(m.getSeconds(),N,"0")},L=function(O,N){return d(m.getMilliseconds(),N,"0")},I=function(O,N){var V=m.getTimezoneOffset()/60*-1;return f(m,w,O,(V>=0?"+":"-")+d(V,2,"0")+(N===1?":":"")+"00")},P=function(O,N){return d(f(m,w,O,i(m,c(b.firstDay)?e.firstDayOfWeek:b.firstDay)),N,"0")},B=function(O,N){return d(f(m,w,O,o(m)),N,"0")},T={yyyy:S,yy:S,MM:A,M:A,dd:D,d:D,HH:k,H:k,hh:x,h:x,mm:_,m:_,ss:M,s:M,SSS:L,S:L,ZZ:I,Z:I,WW:P,W:P,DDD:B,D:B,a:function(O){return f(m,w,O,E)},A:function(O){return f(m,w,O,t(E))},e:function(O){return f(m,w,O,m.getDay())},E:function(O){return f(m,w,O,m.getDay())},q:function(O){return f(m,w,O,Math.floor((r(m)+3)/3))}};return C.replace(p,function(O,N){return N||(T[O]?T[O](O,O.length):O)})}return"Invalid Date"}return""}return w_=h,w_}var S_,Kte;function fbe(){if(Kte)return S_;Kte=1;var e=Wo(),t=qF(),n=Date.now||function(){return e(t())};return S_=n,S_}var A_,Ute;function OEt(){if(Ute)return A_;Ute=1;var e=Wo(),t=fbe(),n=Yi(),r=Sp(),a=function(i,o){if(i){var l=n(i,o);return r(l)?e(l):l}return t()};return A_=a,A_}var D_,qte;function PEt(){if(qte)return D_;qte=1;var e=dbe();function t(n,r,a){return n&&r?(n=e(n,a),n!=="Invalid Date"&&n===e(r,a)):!1}return D_=t,D_}var T_,Yte;function IEt(){if(Yte)return T_;Yte=1;var e=lbe(),t=e(function(n){return new Date(n.getFullYear(),n.getMonth(),1)},function(n,r){return n.getMonth()!==r.getMonth()});return T_=t,T_}var k_,Jte;function NEt(){if(Jte)return k_;Jte=1;var e=JF(),t=Yi(),n=Go(),r=Rye();function a(i,o){return i=t(i),n(i)?r(e(i,o))?366:365:NaN}return k_=a,k_}var __,Xte;function $Et(){if(Xte)return __;Xte=1;var e=bg(),t=Tp(),n=sv(),r=Wo(),a=x4(),i=Yi(),o=Go();function l(s,u){return s=i(s),o(s)?Math.floor((r(a(s,u,n))-r(a(s,u,t)))/e)+1:NaN}return __=l,__}var x_,Zte;function VEt(){if(Zte)return x_;Zte=1;var e=Wo(),t=qF(),n=Yi(),r=Go(),a=[["yyyy",31536e6],["MM",2592e6],["dd",864e5],["HH",36e5],["mm",6e4],["ss",1e3],["S",0]];function i(o,l){var s,u,c,d,f,p,h={done:!1,status:!1,time:0};if(o=n(o),l=l?n(l):t(),r(o)&&r(l)&&(s=e(o),u=e(l),s=c[1]?p===f-1?h[c[0]]=d||0:(h[c[0]]=Math.floor(d/c[1]),d-=h[c[0]]*c[1]):h[c[0]]=0;return h}return x_=i,x_}var M_,Qte;function HEt(){if(Qte)return M_;Qte=1;var e=gl(),t=Tc(),n=_4();function r(a,i,o){var l=e(a);return i=i>>0,o=t(o)?" ":""+o,l.padEnd?l.padEnd(i,o):i>l.length?(i-=l.length,i>o.length&&(o+=n(o,i/o.length)),l+o.slice(0,i)):l}return M_=r,M_}var B_,ene;function zEt(){if(ene)return B_;ene=1;var e=gl(),t=_4();function n(r,a){return t(e(r),a)}return B_=n,B_}var R_,tne;function pbe(){if(tne)return R_;tne=1;var e=gl();function t(n){return n&&n.trimRight?n.trimRight():e(n).replace(/[\s\uFEFF\xA0]+$/g,"")}return R_=t,R_}var L_,nne;function hbe(){if(nne)return L_;nne=1;var e=gl();function t(n){return n&&n.trimLeft?n.trimLeft():e(n).replace(/^[\s\uFEFF\xA0]+/g,"")}return L_=t,L_}var O_,rne;function mbe(){if(rne)return O_;rne=1;var e=pbe(),t=hbe();function n(r){return r&&r.trim?r.trim():e(t(r))}return O_=n,O_}var P_,ane;function vbe(){if(ane)return P_;ane=1;var e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"};return P_=e,P_}var I_,ine;function gbe(){if(ine)return I_;ine=1;var e=gl(),t=Vd();function n(r){var a=new RegExp("(?:"+t(r).join("|")+")","g");return function(i){return e(i).replace(a,function(o){return r[o]})}}return I_=n,I_}var N_,one;function WEt(){if(one)return N_;one=1;var e=vbe(),t=gbe(),n=t(e);return N_=n,N_}var $_,lne;function GEt(){if(lne)return $_;lne=1;var e=vbe(),t=gbe(),n=Oi(),r={};n(e,function(i,o){r[e[o]]=o});var a=t(r);return $_=a,$_}var V_,sne;function ybe(){if(sne)return V_;sne=1;function e(t,n,r){return t.substring(n,r)}return V_=e,V_}var H_,une;function bbe(){if(une)return H_;une=1;function e(t){return t.toLowerCase()}return H_=e,H_}var z_,cne;function jEt(){if(cne)return z_;cne=1;var e=gl(),t=ybe(),n=obe(),r=bbe(),a={};function i(o){if(o=e(o),a[o])return a[o];var l=o.length,s=o.replace(/([-]+)/g,function(u,c,d){return d&&d+c.length2&&d+f1&&d+f1?s+"-"+n(t(u,0,d-1))+"-"+n(t(u,d-1,d))+c:n(s+"-"+u+c)}).replace(/^([A-Z]+)([a-z]+)?$/,function(l,s,u){var c=s.length;return n(t(s,0,c-1)+"-"+t(s,c-1,c)+(u||""))}).replace(/([a-z]?)([A-Z]+)([a-z]?)/g,function(l,s,u,c,d){var f=u.length;return f>1&&(s&&(s+="-"),c)?(s||"")+n(t(u,0,f-1))+"-"+n(t(u,f-1,f))+c:(s||"")+(d?"-":"")+n(u)+(c||"")});return o=o.replace(/([-]+)/g,function(l,s,u){return u&&u+s.length1&&(o>2?i.substring(0,a).indexOf(r)===a-1:i.indexOf(r)===i.length-1)}return j_=t,j_}var K_,hne;function Cbe(){if(hne)return K_;hne=1;var e=Dc(),t=gl(),n=mbe(),r=k4();function a(i,o,l){return t(i).replace((l||e).tmplRE||/\{{2}([.\w[\]\s]+)\}{2}/g,function(s,u){return r(o,n(u))})}return K_=a,K_}var U_,mne;function YEt(){if(mne)return U_;mne=1;var e=Cbe();function t(n,r){return e(n,r,{tmplRE:/\{([.\w[\]\s]+)\}/g})}return U_=t,U_}var q_,vne;function JEt(){if(vne)return q_;vne=1;function e(){}return q_=e,q_}var Y_,gne;function XEt(){if(gne)return Y_;gne=1;var e=lv();function t(n,r){var a=e(arguments,2);return function(){return n.apply(r,e(arguments).concat(a))}}return Y_=t,Y_}var J_,yne;function ZEt(){if(yne)return J_;yne=1;var e=lv();function t(n,r){var a=!1,i=null,o=e(arguments,2);return function(){return a||(i=n.apply(r,e(arguments).concat(o)),a=!0),i}}return J_=t,J_}var X_,bne;function QEt(){if(bne)return X_;bne=1;var e=lv();function t(n,r,a){var i=0,o=[];return function(){var l=arguments;i++,i<=n&&o.push(l[0]),i>=n&&r.apply(a,[o].concat(e(l)))}}return X_=t,X_}var Z_,Cne;function ewt(){if(Cne)return Z_;Cne=1;var e=lv();function t(n,r,a){var i=0,o=[];return a=a||this,function(){var l=arguments;i++,i1?s[1]:""},u.path=c.replace(/^([a-z0-9.+-]*:)\/\//,function(d,f){return u.protocol=f,""}).replace(/^([a-z0-9.+-]*)(:\d+)?\/?/,function(d,f,p){return l=p||"",u.port=l.replace(":",""),u.hostname=f,u.host=f+l,"/"}).replace(/(#.*)/,function(d,f){return u.hash=f.length>1?f:"",""}),o=u.hash.match(/#((.*)\?|(.*))/),u.pathname=u.path.replace(/(\?|#.*).*/,""),u.origin=u.protocol+"//"+u.host,u.hashKey=o&&(o[2]||o[1])||"",u.hashQuery=r(u.hash),u.searchQuery=r(u.search),u}return sx=a,sx}var ux,Mne;function iwt(){if(Mne)return ux;Mne=1;var e=XF(),t=Sbe(),n=Oye();function r(){if(e){var a=e.pathname,i=n(a,"/")+1;return t()+(i===a.length?a:a.substring(0,i))}return""}return ux=r,ux}var cx,Bne;function owt(){if(Bne)return cx;Bne=1;var e=XF(),t=Abe();function n(){return e?t(e.href):{}}return cx=n,cx}var dx,Rne;function lwt(){if(Rne)return dx;Rne=1;var e=Dc(),t=iV(),n=Fbe(),r=wbe(),a=ya(),i=KF(),o=Sp(),l=Tc(),s=gg(),u=Vd(),c=zl(),d=zo(),f=qF(),p=Wo(),h=JF(),m=x4(),v=ibe();function g(k,x){var _=parseFloat(x),M=f(),L=p(M);switch(k){case"y":return p(h(M,_));case"M":return p(m(M,_));case"d":return p(v(M,_));case"h":case"H":return L+_*60*60*1e3;case"m":return L+_*60*1e3;case"s":return L+_*1e3}return L}function b(k){return(o(k)?k:new Date(k)).toUTCString()}function C(k,x,_){if(t){var M,L,I,P,B,T,O=[],N=arguments;return a(k)?O=k:N.length>1?O=[c({name:k,value:x},_)]:i(k)&&(O=[k]),O.length>0?(d(O,function(V){M=c({},e.cookies,V),I=[],M.name&&(L=M.expires,I.push(r(M.name)+"="+r(i(M.value)?JSON.stringify(M.value):M.value)),L&&(isNaN(L)?L=L.replace(/^([0-9]+)(y|M|d|H|h|m|s)$/,function(Y,z,ee){return b(g(ee,z))}):/^[0-9]{11,13}$/.test(L)||o(L)?L=b(L):L=b(g("d",L)),M.expires=L),d(["expires","path","domain","secure"],function(Y){l(M[Y])||I.push(M[Y]&&Y==="secure"?Y:Y+"="+M[Y])})),t.cookie=I.join("; ")}),!0):(P={},B=t.cookie,B&&d(B.split("; "),function(V){T=V.indexOf("="),P[n(V.substring(0,T))]=n(V.substring(T+1)||"")}),N.length===1?P[k]:P)}return!1}function y(k){return s(A(),k)}function E(k){return C(k)}function w(k,x,_){return C(k,x,_),C}function S(k,x){C(k,"",c({expires:-1},e.cookies,x))}function A(){return u(C())}function D(){return C()}return c(C,{has:y,set:w,setItem:w,get:E,getItem:E,remove:S,removeItem:S,keys:A,getJSON:D}),dx=C,dx}var fx,Lne;function swt(){if(Lne)return fx;Lne=1;var e=Cu(),t=iV(),n=zye(),r=zl(),a=zo();function i(s){try{var u="__xe_t";return s.setItem(u,1),s.removeItem(u),!0}catch(c){return!1}}function o(s){return navigator.userAgent.indexOf(s)>-1}function l(){var s,u,c,d=!1,f=!1,p=!1,h={isNode:!1,isMobile:d,isPC:!1,isDoc:!!t};if(!n&&typeof process!==e)h.isNode=!0;else{c=o("Edge"),u=o("Chrome"),d=/(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent),h.isDoc&&(s=t.body||t.documentElement,a(["webkit","khtml","moz","ms","o"],function(m){h["-"+m]=!!s[m+"MatchesSelector"]}));try{f=i(n.localStorage)}catch(m){}try{p=i(n.sessionStorage)}catch(m){}r(h,{edge:c,firefox:o("Firefox"),msie:!c&&h["-ms"],safari:!u&&!c&&o("Safari"),isMobile:d,isPC:!d,isLocalStorage:f,isSessionStorage:p})}return h}return fx=l,fx}var px,One;function uwt(){if(One)return px;One=1;var e=bFt(),t=zl(),n=T4(),r=fye(),a=CFt(),i=FFt(),o=iv(),l=hye(),s=mye(),u=vye(),c=zo(),d=eV(),f=gye(),p=EFt(),h=tV(),m=wFt(),v=rV(),g=Cye(),b=SFt(),C=lv(),y=AFt(),E=DFt(),w=gg(),S=TFt(),A=kFt(),D=_Ft(),k=xFt(),x=MFt(),_=BFt(),M=Aye(),L=RFt(),I=LFt(),P=Eye(),B=OFt(),T=IFt(),O=NFt(),N=$Ft(),V=xye(),Y=VFt(),z=HFt(),ee=zFt(),ae=Mye(),pe=Bye(),re=bu(),Q=ya(),ie=Hd(),X=WFt(),q=Tc(),ce=vl(),K=KF(),Z=zd(),se=vg(),Fe=Rye(),me=Sp(),te=kc(),ue=Oi(),Se=jFt(),Ae=KFt(),Ne=UFt(),je=Oye(),De=Vd(),he=yg(),He=Q$(),xe=Pye(),qe=Tye(),ve=_ye(),Ge=kye(),Ke=qFt(),rt=YFt(),nt=Iye(),ze=Nye(),Ie=_c(),ge=aV(),oe=$ye(),Xe=JFt(),it=Vye(),xt=Hye(),Ee=XFt(),pn=ZFt(),Qe=QFt(),ct=eEt(),gt=tEt(),an=nEt(),Wt=rEt(),bt=aEt(),Ft=iEt(),It=oEt(),Nn=Kye(),Kn=lEt(),Sr=sEt(),Pr=uEt(),xr=oV(),ta=cEt(),ur=dEt(),Mr=fEt(),Tr=pEt(),jr=hEt(),ba=mEt(),Kr=vEt(),wa=gEt(),ut=yEt(),Vt=k4(),bn=bEt(),cr=qye(),kr=CEt(),Sa=Yye(),Nr=FEt(),Ur=bye(),Ba=Sye(),Za=EEt(),Fi=wEt(),mt=sV(),jt=Zye(),sn=Qye(),vn=uV(),$r=SEt(),Va=ov(),Ei=Dp(),Pi=AEt(),Ji=DEt(),Ds=cV(),wi=TEt(),Ra=nbe(),yl=kEt(),Vr=JF(),di=_Et(),bl=x4(),Mc=abe(),xp=ibe(),cv=xEt(),Eg=MEt(),dv=BEt(),Wd=Yi(),Ts=dbe(),wg=fbe(),fv=OEt(),Sg=Go(),Ag=PEt(),Dg=ube(),Tg=sbe(),pv=IEt(),hv=NEt(),kg=$Et(),_g=VEt(),xg=HEt(),Gd=cbe(),Mp=zEt(),mv=mbe(),Mg=pbe(),Bp=hbe(),Rp=WEt(),Ce=GEt(),et=jEt(),ot=KEt(),Tt=UEt(),zt=qEt(),Mt=Cbe(),on=YEt(),$=gl(),G=JEt(),ne=mg(),de=XEt(),we=ZEt(),Me=QEt(),Le=ewt(),Je=twt(),Ye=nwt(),tt=rwt(),Ze=Ebe(),ht=awt(),At=Abe(),Ct=iwt(),Dt=owt(),St=lwt(),_t=swt();return t(e,{assign:t,objectEach:n,lastObjectEach:r,objectMap:a,merge:i,uniq:f,union:p,sortBy:m,orderBy:v,shuffle:g,sample:b,some:l,every:s,slice:C,filter:y,find:S,findLast:A,findKey:E,includes:w,arrayIndexOf:ae,arrayLastIndexOf:pe,map:o,reduce:D,copyWithin:k,chunk:x,zip:_,unzip:M,zipObject:L,flatten:I,toArray:h,includeArrays:u,pluck:P,invoke:B,arrayEach:c,lastArrayEach:d,toArrayTree:T,toTreeArray:O,findTree:N,eachTree:V,mapTree:Y,filterTree:z,searchTree:ee,hasOwnProp:re,eqNull:te,isNaN:X,isFinite:Ke,isUndefined:q,isArray:Q,isFloat:rt,isInteger:nt,isFunction:ce,isBoolean:ze,isString:Z,isNumber:Ie,isRegExp:ge,isObject:K,isPlainObject:se,isDate:me,isError:oe,isTypeError:Xe,isEmpty:it,isNull:ie,isSymbol:xt,isArguments:Ee,isElement:pn,isDocument:Qe,isWindow:ct,isFormData:gt,isMap:an,isWeakMap:Wt,isSet:bt,isWeakSet:Ft,isLeapYear:Fe,isMatch:It,isEqual:Nn,isEqualWith:Kn,getType:Sr,uniqueId:Pr,getSize:xe,indexOf:Ne,lastIndexOf:je,findIndexOf:xr,findLastIndexOf:ta,toStringJSON:ur,toJSONString:Mr,keys:De,values:he,entries:Tr,pick:jr,omit:ba,first:Kr,last:wa,each:ue,forOf:Se,lastForOf:Ae,lastEach:qe,has:ut,get:Vt,set:bn,groupBy:cr,countBy:kr,clone:He,clear:Ge,remove:ve,range:Sa,destructuring:Nr,random:Ur,min:Za,max:Ba,commafy:Fi,round:mt,ceil:jt,floor:sn,toFixed:vn,toNumber:Va,toNumberString:Ei,toInteger:$r,add:Pi,subtract:Ji,multiply:Ds,divide:wi,sum:Ra,mean:yl,now:wg,timestamp:fv,isValidDate:Sg,isDateSame:Ag,toStringDate:Wd,toDateString:Ts,getWhatYear:Vr,getWhatQuarter:di,getWhatMonth:bl,getWhatWeek:Mc,getWhatDay:xp,getWhatHours:cv,getWhatMinutes:Eg,getWhatSeconds:dv,getYearDay:Dg,getYearWeek:Tg,getMonthWeek:pv,getDayOfYear:hv,getDayOfMonth:kg,getDateDiff:_g,trim:mv,trimLeft:Bp,trimRight:Mg,escape:Rp,unescape:Ce,camelCase:et,kebabCase:ot,repeat:Mp,padStart:Gd,padEnd:xg,startsWith:Tt,endsWith:zt,template:Mt,toFormatString:on,toString:$,toValueString:$,noop:G,property:ne,bind:de,once:we,after:Me,before:Le,throttle:Je,debounce:Ye,delay:tt,unserialize:Ze,serialize:ht,parseUrl:At,getBaseURL:Ct,locat:Dt,browse:_t,cookie:St}),px=e,px}var cwt=uwt();const U=pu(cwt),Dn="vxe-icon-",fe={size:null,zIndex:999,version:0,emptyCell:" ",table:{fit:!0,showHeader:!0,animat:!0,delayHover:250,autoResize:!0,minHeight:144,resizeConfig:{refreshDelay:250},radioConfig:{strict:!0},checkboxConfig:{strict:!0},tooltipConfig:{enterable:!0},validConfig:{showMessage:!0,autoClear:!0,autoPos:!0,message:"inline",msgMode:"single"},columnConfig:{maxFixedSize:4},customConfig:{allowFixed:!0,showFooter:!0},sortConfig:{showIcon:!0,iconLayout:"vertical"},filterConfig:{showIcon:!0},treeConfig:{rowField:"id",parentField:"parentId",childrenField:"children",hasChildField:"hasChild",mapChildrenField:"_X_ROW_CHILD",indent:20,showIcon:!0},expandConfig:{showIcon:!0},editConfig:{showIcon:!0,showAsterisk:!0},importConfig:{_typeMaps:{},modes:["insert","covering"]},exportConfig:{_typeMaps:{csv:1,html:1,xml:1,txt:1},modes:["current","selected"]},printConfig:{modes:["current","selected"]},mouseConfig:{extension:!0},keyboardConfig:{isEsc:!0},areaConfig:{autoClear:!0,selectCellByHeader:!0},clipConfig:{isCopy:!0,isCut:!0,isPaste:!0},fnrConfig:{isFind:!0,isReplace:!0},scrollX:{gt:60},scrollY:{gt:100}},export:{types:{}},grid:{formConfig:{enabled:!0},pagerConfig:{enabled:!0},toolbarConfig:{enabled:!0},proxyConfig:{enabled:!0,autoLoad:!0,message:!0,props:{list:null,result:"result",total:"page.total",message:"message"}}},toolbar:{},icon:{LOADING:Dn+"spinner roll vxe-loading--default-icon",TABLE_SORT_ASC:Dn+"caret-up",TABLE_SORT_DESC:Dn+"caret-down",TABLE_FILTER_NONE:Dn+"funnel",TABLE_FILTER_MATCH:Dn+"funnel",TABLE_EDIT:Dn+"edit",TABLE_TITLE_PREFIX:Dn+"question-circle-fill",TABLE_TITLE_SUFFIX:Dn+"question-circle-fill",TABLE_TREE_LOADED:Dn+"spinner roll",TABLE_TREE_OPEN:Dn+"caret-right rotate90",TABLE_TREE_CLOSE:Dn+"caret-right",TABLE_EXPAND_LOADED:Dn+"spinner roll",TABLE_EXPAND_OPEN:Dn+"arrow-right rotate90",TABLE_EXPAND_CLOSE:Dn+"arrow-right",TABLE_CHECKBOX_CHECKED:Dn+"checkbox-checked",TABLE_CHECKBOX_UNCHECKED:Dn+"checkbox-unchecked",TABLE_CHECKBOX_INDETERMINATE:Dn+"checkbox-indeterminate",TABLE_RADIO_CHECKED:Dn+"radio-checked",TABLE_RADIO_UNCHECKED:Dn+"radio-unchecked",BUTTON_DROPDOWN:Dn+"arrow-down",BUTTON_LOADING:Dn+"spinner roll",SELECT_LOADED:Dn+"spinner roll",SELECT_OPEN:Dn+"caret-down rotate180",SELECT_CLOSE:Dn+"caret-down",PAGER_HOME:Dn+"home-page",PAGER_END:Dn+"end-page",PAGER_JUMP_PREV:Dn+"arrow-double-left",PAGER_JUMP_NEXT:Dn+"arrow-double-right",PAGER_PREV_PAGE:Dn+"arrow-left",PAGER_NEXT_PAGE:Dn+"arrow-right",PAGER_JUMP_MORE:Dn+"ellipsis-h",INPUT_CLEAR:Dn+"error-circle-fill",INPUT_PWD:Dn+"eye-fill",INPUT_SHOW_PWD:Dn+"eye-fill-close",INPUT_PREV_NUM:Dn+"caret-up",INPUT_NEXT_NUM:Dn+"caret-down",INPUT_DATE:Dn+"calendar",INPUT_SEARCH:Dn+"search",MODAL_ZOOM_IN:Dn+"square",MODAL_ZOOM_OUT:Dn+"maximize",MODAL_CLOSE:Dn+"close",MODAL_INFO:Dn+"info-circle-fill",MODAL_SUCCESS:Dn+"success-circle-fill",MODAL_WARNING:Dn+"warnion-circle-fill",MODAL_ERROR:Dn+"error-circle-fill",MODAL_QUESTION:Dn+"question-circle-fill",MODAL_LOADING:Dn+"spinner roll",TOOLBAR_TOOLS_REFRESH:Dn+"repeat",TOOLBAR_TOOLS_REFRESH_LOADING:Dn+"repeat roll",TOOLBAR_TOOLS_IMPORT:Dn+"upload",TOOLBAR_TOOLS_EXPORT:Dn+"download",TOOLBAR_TOOLS_PRINT:Dn+"print",TOOLBAR_TOOLS_FULLSCREEN:Dn+"fullscreen",TOOLBAR_TOOLS_MINIMIZE:Dn+"minimize",TOOLBAR_TOOLS_CUSTOM:Dn+"custom-column",TOOLBAR_TOOLS_FIXED_LEFT:Dn+"fixed-left",TOOLBAR_TOOLS_FIXED_LEFT_ACTIVED:Dn+"fixed-left-fill",TOOLBAR_TOOLS_FIXED_RIGHT:Dn+"fixed-right",TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVED:Dn+"fixed-right-fill",FORM_PREFIX:Dn+"question-circle-fill",FORM_SUFFIX:Dn+"question-circle-fill",FORM_FOLDING:Dn+"arrow-up rotate180",FORM_UNFOLDING:Dn+"arrow-up"},tooltip:{trigger:"hover",theme:"dark",enterDelay:500,leaveDelay:300},pager:{},form:{validConfig:{showMessage:!0,autoPos:!0},tooltipConfig:{enterable:!0},titleAsterisk:!0},input:{startDate:new Date(1900,0,1),endDate:new Date(2100,0,1),startDay:1,selectDay:1,digits:2,controls:!0},textarea:{},select:{multiCharOverflow:8},button:{},buttonGroup:{},radio:{strict:!0},radioButton:{strict:!0},radioGroup:{strict:!0},checkbox:{},checkboxGroup:{},switch:{},modal:{top:15,showHeader:!0,minWidth:340,minHeight:140,lockView:!0,mask:!0,duration:3e3,marginSize:0,dblclickZoom:!0,showTitleOverflow:!0,animat:!0,showClose:!0,draggable:!0,showConfirmButton:null,storageKey:"VXE_MODAL_POSITION"},drawer:{showHeader:!0,lockView:!0,mask:!0,showTitleOverflow:!0,showClose:!0},list:{scrollY:{enabled:!0,gt:100}},i18n:e=>e};var W1=null,hx=null,rf=null,Pne="z-index-manage",yh=null,Ine="z-index-style",Dbe="m",Tbe="s",d5={m:1e3,s:1e3};function dV(){return W1||typeof document!="undefined"&&(W1=document),W1}function kbe(){return W1&&!hx&&(hx=W1.body||W1.getElementsByTagName("body")[0]),hx}function dwt(){var e=0,t=dV();if(t){var n=kbe();if(n)for(var r=n.getElementsByTagName("*"),a=0;aM7.add(n,t)),M7},get(e){return Ey[e]||[]},add(e,t){if(t){let n=Ey[e];n||(n=Ey[e]=[]),n.push(t)}return M7},delete(e,t){const n=Ey[e];n&&(t?U.remove(n,r=>r===t):delete Ey[e])}};class hwt{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(t){return U.each(t,(n,r)=>{this.add(r,n)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(t,n){const r=this.store[t];return U.isFunction(n)&&(n={cellFormatMethod:n}),this.store[t]=r?U.merge(r,n):n,this}delete(t){delete this.store[t]}forEach(t){U.objectEach(this.store,t)}}const mwt=new hwt;function gr(e){return e&&e.enabled!==!1}function vV(e){return e==null||e===""}function vwt(e){const t=e.name,n=U.lastIndexOf(t,"."),r=t.substring(n+1,t.length).toLowerCase();return{filename:t.substring(0,n),type:r}}function su(){return mV.getNext()}function xc(){return mV.getCurrent()}function b3(e){return e&&e.children&&e.children.length>0}function Ea(e){return e?U.toValueString(fe.translate?fe.translate(""+e):e):""}function _i(e,t){return""+(vV(e)?t?fe.emptyCell:"":e)}function Qc(e){return e===""||U.eqNull(e)}class LL{constructor(t,n,{renderHeader:r,renderCell:a,renderFooter:i,renderData:o}={}){const l=t.xegrid,s=n.formatter,u=U.isBoolean(n.visible)?n.visible:!0;if(Object.assign(this,{type:n.type,property:n.field,field:n.field,title:n.title,width:n.width,minWidth:n.minWidth,maxWidth:n.maxWidth,resizable:n.resizable,fixed:n.fixed,align:n.align,headerAlign:n.headerAlign,footerAlign:n.footerAlign,showOverflow:n.showOverflow,showHeaderOverflow:n.showHeaderOverflow,showFooterOverflow:n.showFooterOverflow,className:n.className,headerClassName:n.headerClassName,footerClassName:n.footerClassName,formatter:s,sortable:n.sortable,sortBy:n.sortBy,sortType:n.sortType,filters:Cwt(n.filters),filterMultiple:U.isBoolean(n.filterMultiple)?n.filterMultiple:!0,filterMethod:n.filterMethod,filterResetMethod:n.filterResetMethod,filterRecoverMethod:n.filterRecoverMethod,filterRender:n.filterRender,treeNode:n.treeNode,cellType:n.cellType,cellRender:n.cellRender,editRender:n.editRender,contentRender:n.contentRender,headerExportMethod:n.headerExportMethod,exportMethod:n.exportMethod,footerExportMethod:n.footerExportMethod,titleHelp:n.titleHelp,titlePrefix:n.titlePrefix,titleSuffix:n.titleSuffix,params:n.params,id:n.colId||U.uniqueId("col_"),parentId:null,visible:u,halfVisible:!1,defaultVisible:u,defaultFixed:n.fixed,checked:!1,halfChecked:!1,disabled:!1,level:1,rowSpan:1,colSpan:1,order:null,sortTime:0,sortNumber:0,renderSortNumber:0,renderWidth:0,renderHeight:0,resizeWidth:0,renderLeft:0,renderArgs:[],model:{},renderHeader:r||n.renderHeader,renderCell:a||n.renderCell,renderFooter:i||n.renderFooter,renderData:o,slots:n.slots}),l){const{computeProxyOpts:c}=l.getComputeMaps(),d=c.value;d.beforeColumn&&d.beforeColumn({$grid:l,column:this})}}getTitle(){return Ea(this.title||(this.type==="seq"?fe.i18n("vxe.table.seqTitle"):""))}getKey(){return this.field||(this.type?`type=${this.type}`:null)}update(t,n){t!=="filters"&&(t==="field"&&(this.property=n),this[t]=n)}}const mx={},Uu=U.browse();function Af(e,t){return e?U.isFunction(e)?e(t):e:""}function Ibe(e){return mx[e]||(mx[e]=new RegExp(`(?:^|\\s)${e}(?!\\S)`,"g")),mx[e]}function Nbe(e,t,n){if(e){const r=e.parentNode;if(n.top+=e.offsetTop,n.left+=e.offsetLeft,r&&r!==document.documentElement&&r!==document.body&&(n.top-=r.scrollTop,n.left-=r.scrollLeft),!(t&&(e===t||e.offsetParent===t))&&e.offsetParent)return Nbe(e.offsetParent,t,n)}return n}function OL(e){return e&&/^\d+(px)?$/.test(e)}function Uy(e){return e&&/^\d+%$/.test(e)}function hp(e,t){return e&&e.className&&e.className.match&&e.className.match(Ibe(t))}function $s(e,t){e&&hp(e,t)&&(e.className=e.className.replace(Ibe(t),""))}function qh(e,t){e&&!hp(e,t)&&($s(e,t),e.className=`${e.className} ${t}`)}function G1(){const e=document.documentElement,t=document.body;return{scrollTop:e.scrollTop||t.scrollTop,scrollLeft:e.scrollLeft||t.scrollLeft,visibleHeight:e.clientHeight||t.clientHeight,visibleWidth:e.clientWidth||t.clientWidth}}function wy(e){return e?e.offsetHeight:0}function PL(e){if(e){const t=getComputedStyle(e),n=U.toNumber(t.paddingTop),r=U.toNumber(t.paddingBottom);return n+r}return 0}function C3(e,t){e&&(e.scrollTop=t)}function Nne(e,t){e&&(e.scrollLeft=t)}function gV(e,t){const n=t.type==="html"?e.innerText:e.textContent;e.getAttribute("title")!==n&&e.setAttribute("title",n)}function Ar(e,t,n,r){let a,i=e.target.shadowRoot&&e.composed&&e.composedPath()[0]||e.target;for(;i&&i.nodeType&&i!==document;){if(n&&hp(i,n))a=i;else if(i===t)return{flag:n?!!a:!0,container:t,targetElem:a};i=i.parentNode}return{flag:!1}}function gwt(e,t){return Nbe(e,t,{left:0,top:0})}function L0(e){const t=e.getBoundingClientRect(),n=t.top,r=t.left,{scrollTop:a,scrollLeft:i,visibleHeight:o,visibleWidth:l}=G1();return{boundingTop:n,top:a+n,boundingLeft:r,left:i+r,visibleHeight:o,visibleWidth:l}}const $ne="scrollIntoViewIfNeeded",Vne="scrollIntoView";function ywt(e){e&&(e[$ne]?e[$ne]():e[Vne]&&e[Vne]())}function vx(e){return e&&e.nodeType===1}const $be=(e,t)=>{const n=[];return e.forEach(r=>{r.parentId=t?t.id:null,r.visible&&(r.children&&r.children.length&&r.children.some(a=>a.visible)?(n.push(r),n.push(...$be(r.children,r))):n.push(r))}),n},bwt=e=>{let t=1;const n=(i,o)=>{if(o&&(i.level=o.level+1,tl.visible)){let l=0;i.children.forEach(s=>{s.visible&&(n(s,i),l+=s.colSpan)}),i.colSpan=l}else i.colSpan=1};e.forEach(i=>{i.level=1,n(i)});const r=[];for(let i=0;i{i.children&&i.children.length&&i.children.some(o=>o.visible)?i.rowSpan=1:i.rowSpan=t-i.level+1,r[i.level-1].push(i)}),r};function gx(e,t,n){const{internalData:r}=e;return e.clearScroll().then(()=>{if(t||n)return r.lastScrollLeft=0,r.lastScrollTop=0,e.scrollTo(t,n)})}function Hne(e){e&&e._onscroll&&(e.onscroll=null)}function IC(e){e&&e._onscroll&&(e.onscroll=e._onscroll)}function yx(){return U.uniqueId("row_")}function Eh(e){const{props:t}=e,{computeRowOpts:n}=e.getComputeMaps(),{rowId:r}=t,a=n.value;return r||a.keyField||"_X_ROW_KEY"}function qt(e,t){const n=U.get(t,Eh(e));return U.eqNull(n)?"":encodeURIComponent(n)}const xs=(e,t)=>t?U.isString(t)?e.getColumnByField(t):t:null;function bx(e){if(e){const t=getComputedStyle(e),n=U.toNumber(t.paddingLeft),r=U.toNumber(t.paddingRight);return n+r}return 0}function Uv(e){if(e){const t=getComputedStyle(e),n=U.toNumber(t.marginLeft),r=U.toNumber(t.marginRight);return e.offsetWidth+n+r}return 0}function af(e,t){return e.querySelector(".vxe-cell"+t)}function Cwt(e){return e&&U.isArray(e)?e.map(({label:t,value:n,data:r,resetValue:a,checked:i})=>({label:t,value:n,data:r,resetValue:a,checked:!!i,_checked:!!i})):e}function Fwt(e){return e.map((t,n)=>n%2===0?Number(t)+1:".").join("")}function Md(e,t){return U.get(e,t.field)}function _h(e,t,n){return U.set(e,t.field,n)}function Ewt(e){const{$table:t,column:n,cell:r}=e,{props:a}=t,{computeResizableOpts:i}=t.getComputeMaps(),o=i.value,{minWidth:l}=o;if(l){const C=U.isFunction(l)?l(e):l;if(C!=="auto")return Math.max(1,U.toNumber(C))}const{showHeaderOverflow:s}=a,{showHeaderOverflow:u,minWidth:c}=n,d=U.isUndefined(u)||U.isNull(u)?s:u,m=d==="title"||(d===!0||d==="tooltip")||d==="ellipsis",v=U.floor((U.toNumber(getComputedStyle(r).fontSize)||14)*1.6),g=bx(r)+bx(af(r,""));let b=v+g;if(m){const C=bx(af(r,"--title>.vxe-cell--checkbox")),y=Uv(af(r,">.vxe-cell--required-icon")),E=Uv(af(r,">.vxe-cell--edit-icon")),w=Uv(af(r,">.vxe-cell-title-prefix-icon")),S=Uv(af(r,">.vxe-cell-title-suffix-icon")),A=Uv(af(r,">.vxe-cell--sort")),D=Uv(af(r,">.vxe-cell--filter"));b+=C+y+E+w+S+D+A}if(c){const{refTableBody:C}=t.getRefMaps(),y=C.value,E=y?y.$el:null;if(E){if(Uy(c)){const S=(E.clientWidth-1)/100;return Math.max(b,Math.floor(U.toInteger(c)*S))}else if(OL(c))return Math.max(b,U.toInteger(c))}}return b}function wwt(e){return e&&(e.constructor===LL||e instanceof LL)}function Swt(e,t,n){return wwt(t)?t:dn(new LL(e,t,n))}function Vbe(e,t,n){Object.keys(t).forEach(r=>{$e(()=>t[r],a=>{n.update(r,a),e&&(r==="filters"?(e.setFilter(n,a),e.handleUpdateDataQueue()):["visible","fixed","width","minWidth","maxWidth"].includes(r)&&e.handleRefreshColumnQueue())})})}function Hbe(e,t,n,r){const{reactData:a}=e,{staticColumns:i}=a,o=t.parentNode,l=r?r.column:null,s=l?l.children:i;o&&s&&(s.splice(U.arrayIndexOf(o.children,t),0,n),a.staticColumns=i.slice(0))}function zbe(e,t){const{reactData:n}=e,{staticColumns:r}=n,a=U.findTree(r,i=>i.id===t.id,{children:"children"});a&&a.items.splice(a.index,1),n.staticColumns=r.slice(0)}function zne(e,t){const{internalData:n}=e,{fullColumnIdData:r}=n;if(!t)return null;let a=t.parentId;for(;r[a];){const i=r[a].column;if(a=i.parentId,!a)return i}return t}function Awt(e,t,n){for(let r=0;r-1&&a>-1&&o&&l){if(a===t&&i===n)return{rowspan:o,colspan:l};if(t>=a&&t=i&&nf+d)return e.scrollTo(null,h);if(h+m>=d+f)return e.scrollTo(null,f+m)}else if(i)return e.scrollTo(null,(o.indexOf(t)-1)*l.rowHeight)}return Promise.resolve()}function kwt(e,t){const{reactData:n,internalData:r}=e,{refTableBody:a}=e.getRefMaps(),{scrollXLoad:i}=n,{visibleColumn:o}=r,l=a.value,s=l?l.$el:null;if(t&&t.fixed)return Promise.resolve();if(s){const u=s.querySelector(`.${t.id}`);if(u){const c=s.clientWidth,d=s.scrollLeft,f=u.offsetParent,p=u.offsetLeft+(f?f.offsetLeft:0),h=u.clientWidth;if(pd+c)return e.scrollTo(p);if(p+h>=c+d)return e.scrollTo(d+h)}else if(i){let c=0;for(let d=0;d{s[j1(c)]=function(...d){u(t,...d)}}),n&&(s[j1(i)]=function(u){n(u),l&&r&&r(u),a&&a[i]&&a[i](t,u)}),!l&&r&&(s[j1(o)]=function(...u){r(...u),a&&a[o]&&a[o](t,...u)}),s}function Fg(e,t,n,r){const{events:a}=e,i=Wbe(e),o=Gbe(e),l={};return U.objectEach(a,(s,u)=>{l[j1(u)]=function(...c){s(t,...c)}}),n&&(l[j1(i)]=function(s){n(s),a&&a[i]&&a[i](t,s)}),r&&(l[j1(o)]=function(...s){r(...s),a&&a[o]&&a[o](t,...s)}),l}function eE(e,t){const{$table:n,row:r,column:a}=t,{name:i}=e,{model:o}=a,l=QF(e,t);return Fg(e,t,s=>{l?_h(r,a,s):(o.update=!0,o.value=s)},s=>{if(!l&&["VxeInput","VxeTextarea","$input","$textarea"].includes(i)){const u=s.value;o.update=!0,o.value=u,n.updateStatus(t,u)}else n.updateStatus(t)})}function $C(e,t,n){return Fg(e,t,r=>{n.data=r},()=>{Kbe(t,!U.eqNull(n.data),n)})}function yd(e,t){const{$form:n,data:r,property:a}=t;return Fg(e,t,i=>{U.set(r,a,i)},()=>{n.updateStatus(t)})}function qbe(e,t){const{$table:n,row:r,column:a}=t,{model:i}=a;return CV(e,t,o=>{const l=o.target.value;QF(e,t)?_h(r,a,l):(i.update=!0,i.value=l)},o=>{const l=o.target.value;n.updateStatus(t,l)})}function Ybe(e,t,n){return CV(e,t,r=>{n.data=r.target.value},()=>{Kbe(t,!U.eqNull(n.data),n)})}function Jbe(e,t){const{$form:n,data:r,property:a}=t;return CV(e,t,i=>{const o=i.target.value;U.set(r,a,o)},()=>{n.updateStatus(t)})}function Cx(e,t){const{row:n,column:r}=t,{name:a}=e,i=QF(e,t)?Md(n,r):r.model.value;return[W(a,Object.assign(Object.assign(Object.assign({class:`vxe-default-${a}`},P0(e)),{value:i}),qbe(e,t)))]}function jne(e,t){return[W(ic(e),Object.assign(Object.assign({},Cg(e,t,null)),Fg(e,t)))]}function F3(e,t){const{row:n,column:r}=t,a=Md(n,r);return[W(ic(e),Object.assign(Object.assign({},Cg(e,t,a)),eE(e,t)))]}function E3(e,t){const{row:n,column:r}=t,a=Md(n,r);return[W(O0(e),Object.assign(Object.assign({},Cg(e,t,a)),eE(e,t)))]}function Xbe(e,t){return[W(en("vxe-button"),Object.assign(Object.assign({},Cg(e,t,null)),Fg(e,t)))]}function Mwt(e,t){return e.children.map(n=>Xbe(n,t)[0])}function IL(e,t,n){const{optionGroups:r,optionGroupProps:a={}}=e,i=a.options||"options",o=a.label||"label";return r.map((l,s)=>W("optgroup",{key:s,label:l[o]},n(l[i],e,t)))}function VC(e,t,n){const{optionProps:r={}}=t,{row:a,column:i}=n,o=r.label||"label",l=r.value||"value",s=r.disabled||"disabled",u=QF(t,n)?Md(a,i):i.model.value;return e.map((c,d)=>W("option",{key:d,value:c[l],disabled:c[s],selected:c[l]==u},c[o]))}function Bwt(e,t){const{column:n}=t,{name:r}=e,a=P0(e);return n.filters.map((i,o)=>W(r,Object.assign(Object.assign(Object.assign({key:o,class:`vxe-default-${r}`},a),{value:i.data}),Ybe(e,t,i))))}function Rwt(e,t){const{column:n}=t;return n.filters.map((r,a)=>{const i=r.data;return W(ic(e),Object.assign(Object.assign({key:a},NC(e,e,i)),$C(e,t,r)))})}function Lwt(e,t){const{column:n}=t;return n.filters.map((r,a)=>{const i=r.data;return W(O0(e),Object.assign(Object.assign({key:a},NC(e,e,i)),$C(e,t,r)))})}function qv({option:e,row:t,column:n}){const{data:r}=e;return U.get(t,n.property)==r}function Kne(e,t){return[W("select",Object.assign(Object.assign({class:"vxe-default-select"},P0(e)),qbe(e,t)),e.optionGroups?IL(e,t,VC):VC(e.options,e,t))]}function Une(e,t){const{row:n,column:r}=t,{options:a,optionProps:i,optionGroups:o,optionGroupProps:l}=e,s=Md(n,r);return[W(ic(e),Object.assign(Object.assign({},Cg(e,t,s,{options:a,optionProps:i,optionGroups:o,optionGroupProps:l})),eE(e,t)))]}function qne(e,t){const{row:n,column:r}=t,{options:a,optionProps:i,optionGroups:o,optionGroupProps:l}=e,s=Md(n,r);return[W(O0(e),Object.assign(Object.assign({},Cg(e,t,s,{options:a,optionProps:i,optionGroups:o,optionGroupProps:l})),eE(e,t)))]}function B7(e,{row:t,column:n}){const{props:r={},options:a,optionGroups:i,optionProps:o={},optionGroupProps:l={}}=e,s=U.get(t,n.property);let u;const c=o.label||"label",d=o.value||"value";return vV(s)?"":U.map(r.multiple?s:[s],i?f=>{const p=l.options||"options";for(let h=0;hm[d]==f),!u);h++);return u?u[c]:f}:f=>(u=U.find(a,p=>p[d]==f),u?u[c]:f)).join(", ")}function Yne(e,t){const{data:n,property:r}=t,{name:a}=e,i=P0(e),o=U.get(n,r);return[W(a,Object.assign(Object.assign(Object.assign({class:`vxe-default-${a}`},i),{value:i&&a==="input"&&(i.type==="submit"||i.type==="reset")?null:o}),Jbe(e,t)))]}function Fx(e,t){const{data:n,property:r}=t,a=U.get(n,r);return[W(ic(e),Object.assign(Object.assign({},oc(e,t,a)),yd(e,t)))]}function Ex(e,t){const{data:n,property:r}=t,a=U.get(n,r);return[W(O0(e),Object.assign(Object.assign({},oc(e,t,a)),yd(e,t)))]}function Zbe(e,t){return[W(en("vxe-button"),Object.assign(Object.assign({},oc(e,t,null)),Fg(e,t)))]}function Owt(e,t){return e.children.map(n=>Zbe(n,t)[0])}function Jne(e,t,n){const{data:r,property:a}=n,{optionProps:i={}}=t,o=i.label||"label",l=i.value||"value",s=i.disabled||"disabled",u=U.get(r,a);return e.map((c,d)=>W("option",{key:d,value:c[l],disabled:c[s],selected:c[l]==u},c[o]))}function Sx(e){const{row:t,column:n,options:r}=e;return r.original?Md(t,n):B7(n.editRender||n.cellRender,e)}function Ax(e,t){const{data:n,property:r}=t,a=U.get(n,r);return[W(ic(e),Object.assign(Object.assign({},oc(e,t,a)),yd(e,t)))]}function Xne(e,t){const{options:n,optionProps:r}=e,{data:a,property:i}=t,o=U.get(a,i);return[W(ic(e),Object.assign(Object.assign({options:n,optionProps:r},oc(e,t,o)),yd(e,t)))]}function Zne(e,t){const{name:n,options:r,optionProps:a={}}=e,{data:i,property:o}=t,l=a.label||"label",s=a.value||"value",u=a.disabled||"disabled",c=U.get(i,o),d=jbe(n);return r?[W(en(`${d}-group`),Object.assign(Object.assign({},oc(e,t,c)),yd(e,t)),{default:()=>r.map((f,p)=>W(en(d),{key:p,label:f[s],content:f[l],disabled:f[u]}))})]:[W(en(d),Object.assign(Object.assign({},oc(e,t,c)),yd(e,t)))]}const w3={input:{autofocus:"input",renderEdit:Cx,renderDefault:Cx,renderFilter:Bwt,defaultFilterMethod:qv,renderItemContent:Yne},textarea:{autofocus:"textarea",renderEdit:Cx,renderItemContent:Yne},select:{renderEdit:Kne,renderDefault:Kne,renderCell(e,t){return Sy(e,t,B7(e,t))},renderFilter(e,t){const{column:n}=t;return n.filters.map((r,a)=>W("select",Object.assign(Object.assign({key:a,class:"vxe-default-select"},P0(e)),Ybe(e,t,r)),e.optionGroups?IL(e,t,VC):VC(e.options,e,t)))},defaultFilterMethod:qv,renderItemContent(e,t){return[W("select",Object.assign(Object.assign({class:"vxe-default-select"},P0(e)),Jbe(e,t)),e.optionGroups?IL(e,t,Jne):Jne(e.options,e,t))]},exportMethod:Sx},VxeInput:{autofocus:".vxe-input--inner",renderEdit:F3,renderCell(e,t){const{props:n={}}=e,{row:r,column:a}=t,i=n.digits||fe.input.digits;let o=U.get(r,a.property);if(o)switch(n.type){case"date":case"week":case"month":case"year":o=Gne(o,n);break;case"float":o=U.toFixed(U.floor(o,i),i);break}return Sy(e,t,o)},renderDefault:F3,renderFilter:Rwt,defaultFilterMethod:qv,renderItemContent:Fx},VxeTextarea:{autofocus:".vxe-textarea--inner",renderItemContent:Fx},VxeButton:{renderDefault:jne,renderItemContent:Ax},VxeButtonGroup:{renderDefault:jne,renderItemContent(e,t){const{options:n}=e,{data:r,property:a}=t,i=U.get(r,a);return[W(ic(e),Object.assign(Object.assign({options:n},oc(e,t,i)),yd(e,t)))]}},VxeSelect:{autofocus:".vxe-input--inner",renderEdit:Une,renderDefault:Une,renderCell(e,t){return Sy(e,t,B7(e,t))},renderFilter(e,t){const{column:n}=t,{options:r,optionProps:a,optionGroups:i,optionGroupProps:o}=e;return n.filters.map((l,s)=>{const u=l.data;return W(ic(e),Object.assign(Object.assign({key:s},NC(e,t,u,{options:r,optionProps:a,optionGroups:i,optionGroupProps:o})),$C(e,t,l)))})},defaultFilterMethod:qv,renderItemContent(e,t){const{data:n,property:r}=t,{options:a,optionProps:i,optionGroups:o,optionGroupProps:l}=e,s=U.get(n,r);return[W(ic(e),Object.assign(Object.assign({},oc(e,t,s,{options:a,optionProps:i,optionGroups:o,optionGroupProps:l})),yd(e,t)))]},exportMethod:Sx},VxeRadio:{autofocus:".vxe-radio--input",renderItemContent:Ax},VxeRadioGroup:{autofocus:".vxe-radio--input",renderItemContent:Xne},VxeCheckbox:{autofocus:".vxe-checkbox--input",renderItemContent:Ax},VxeCheckboxGroup:{autofocus:".vxe-checkbox--input",renderItemContent:Xne},VxeSwitch:{autofocus:".vxe-switch--button",renderEdit:F3,renderDefault:F3,renderItemContent:Fx},$input:{autofocus:".vxe-input--inner",renderEdit:E3,renderCell(e,t){const{props:n={}}=e,{row:r,column:a}=t,i=n.digits||fe.input.digits;let o=U.get(r,a.property);if(o)switch(n.type){case"date":case"week":case"month":case"year":o=Gne(o,n);break;case"float":o=U.toFixed(U.floor(o,i),i);break}return Sy(e,t,o)},renderDefault:E3,renderFilter:Lwt,defaultFilterMethod:qv,renderItemContent:Ex},$textarea:{autofocus:".vxe-textarea--inner",renderItemContent:Ex},$button:{renderDefault:Xbe,renderItemContent:Zbe},$buttons:{renderDefault:Mwt,renderItemContent:Owt},$select:{autofocus:".vxe-input--inner",renderEdit:qne,renderDefault:qne,renderCell(e,t){return Sy(e,t,B7(e,t))},renderFilter(e,t){const{column:n}=t,{options:r,optionProps:a,optionGroups:i,optionGroupProps:o}=e;return n.filters.map((l,s)=>{const u=l.data;return W(O0(e),Object.assign(Object.assign({key:s},NC(e,t,u,{options:r,optionProps:a,optionGroups:i,optionGroupProps:o})),$C(e,t,l)))})},defaultFilterMethod:qv,renderItemContent(e,t){const{data:n,property:r}=t,{options:a,optionProps:i,optionGroups:o,optionGroupProps:l}=e,s=U.get(n,r);return[W(O0(e),Object.assign(Object.assign({},oc(e,t,s,{options:a,optionProps:i,optionGroups:o,optionGroupProps:l})),yd(e,t)))]},exportMethod:Sx},$radio:{autofocus:".vxe-radio--input",renderItemContent:Zne},$checkbox:{autofocus:".vxe-checkbox--input",renderItemContent:Zne},$switch:{autofocus:".vxe-switch--button",renderEdit:E3,renderDefault:E3,renderItemContent:Ex}},qy={mixin(e){return U.each(e,(t,n)=>qy.add(n,t)),qy},get(e){return w3[e]||null},add(e,t){if(e&&t){const n=w3[e];n?Object.assign(n,t):w3[e]=t}return qy},delete(e){return delete w3[e],qy}};class Pwt{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(t){return U.each(t,(n,r)=>{this.add(r,n)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(t,n){const r=this.store[t];return U.isFunction(n)&&(n={commandMethod:n}),this.store[t]=r?U.merge(r,n):n,this}delete(t){delete this.store[t]}forEach(t){U.objectEach(this.store,t)}}const Iwt=new Pwt;class Nwt{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(t){return U.each(t,(n,r)=>{this.add(r,n)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(t,n){const r=this.store[t];return U.isFunction(n)&&(n={menuMethod:n}),this.store[t]=r?U.merge(r,n):n,this}delete(t){delete this.store[t]}forEach(t){U.objectEach(this.store,t)}}const $wt=new Nwt;class Qbe{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(t){return U.each(t,(n,r)=>{this.add(r,n)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(t,n){const r=this.store[t];return this.store[t]=r?U.merge(r,n):n,this}delete(t){delete this.store[t]}forEach(t){U.objectEach(this.store,t)}}const Vwt=new Qbe,Hwt=new Qbe;function FV(e){let t=e||fe.theme;if((!t||t==="default")&&(t="light"),fe.theme=t,typeof document!="undefined"){const n=document.documentElement;n&&n.setAttribute("data-vxe-ui-theme",t)}}function zwt(){return fe.theme}function Qne(e,t){const n=[];return U.objectEach(e,(r,a)=>{(r===0||r===t)&&n.push(a)}),n}const ere=[];function Wwt(e,t){return e&&e.install&&ere.indexOf(e)===-1&&(e.install($n,t),ere.push(e)),$n}function Gwt(e,t){return fe.i18n(e,t)}function jwt(e,t){return e?U.toValueString(fe.translate?fe.translate(e,t):e):""}const tE=e=>(e&&(e.theme&&FV(e.theme),e.zIndex&&mV.setCurrent(e.zIndex),U.merge(fe,e)),$n);class Kwt{get zIndex(){return xc()}get nextZIndex(){return su()}get exportTypes(){return Qne(fe.export.types,1)}get importTypes(){return Qne(fe.export.types,2)}}const Uwt=new Kwt,qwt="v4",Ywt=e=>(tE(e),fe),Jwt=e=>(tE(e),fe);function Xwt(e){return e&&Object.assign(fe.icon,e),$n}const Zwt={},Qwt={};function eSt(e){return Qwt[e]||null}const e2e="4.6.25",tSt=e2e,$n={v:qwt,version:e2e,tableVersion:tSt,setConfig:tE,setIcon:Xwt,globalStore:Zwt,interceptor:M7,renderer:qy,commands:Iwt,formats:mwt,validators:Vwt,menus:$wt,hooks:Hwt,use:Wwt,t:Gwt,_t:jwt,setTheme:FV,getTheme:zwt,getComponent:eSt,config:Jwt,setup:Ywt,globalConfs:Uwt};FV("light");const tre=Ve({name:"VxeTableFilterPanel",props:{filterStore:Object},setup(e){const t=lt("$xetable",{}),{reactData:n,internalData:r,getComputeMaps:a}=t,{computeFilterOpts:i}=a(),o=R(()=>{const{filterStore:b}=e;return b&&b.options.some(C=>C.checked)}),l=(b,C)=>{const{filterStore:y}=e;y.options.forEach(E=>{E._checked=C,E.checked=C}),y.isAllSelected=C,y.isIndeterminate=!1},s=b=>{const{filterStore:C}=e;C.options.forEach(y=>{y.checked=y._checked}),t.confirmFilterEvent(b)},u=(b,C,y)=>{const{filterStore:E}=e;E.options.forEach(w=>{w._checked=!1}),y._checked=C,t.checkFilterOptions(),s(b)},c=b=>{const{filterStore:C}=e;t.handleClearFilter(C.column),t.confirmFilterEvent(b)},d=(b,C,y)=>{y._checked=C,t.checkFilterOptions()},f=(b,C,y)=>{const{filterStore:E}=e;E.multiple?d(b,C,y):u(b,C,y)},p=(b,C)=>{const{filterStore:y}=e;y.multiple?l(b,C):c(b)},h={changeRadioOption:u,changeMultipleOption:d,changeAllOption:p,changeOption:f,confirmFilter:s,resetFilter:c},m=(b,C)=>{const{filterStore:y}=e,{column:E,multiple:w,maxHeight:S}=y,{slots:A}=E,D=A?A.filter:null,k=Object.assign({},r._currFilterParams,{$panel:h,$table:t});if(D)return[W("div",{class:"vxe-table--filter-template"},t.callSlot(D,k))];if(C&&C.renderFilter)return[W("div",{class:"vxe-table--filter-template"},Wr(C.renderFilter(b,k)))];const x=w?y.isAllSelected:!y.options.some(M=>M._checked),_=w&&y.isIndeterminate;return[W("ul",{class:"vxe-table--filter-header"},[W("li",{class:["vxe-table--filter-option",{"is--checked":x,"is--indeterminate":_}],title:fe.i18n(w?"vxe.table.allTitle":"vxe.table.allFilter"),onClick:M=>{p(M,!y.isAllSelected)}},(w?[W("span",{class:["vxe-checkbox--icon",_?fe.icon.TABLE_CHECKBOX_INDETERMINATE:x?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]})]:[]).concat([W("span",{class:"vxe-checkbox--label"},fe.i18n("vxe.table.allFilter"))]))]),W("ul",{class:"vxe-table--filter-body",style:S?{maxHeight:`${S}px`}:{}},y.options.map(M=>{const L=M._checked;return W("li",{class:["vxe-table--filter-option",{"is--checked":M._checked}],title:M.label,onClick:I=>{f(I,!M._checked,M)}},(w?[W("span",{class:["vxe-checkbox--icon",L?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]})]:[]).concat([W("span",{class:"vxe-checkbox--label"},_i(M.label,1))]))}))]},v=()=>{const{filterStore:b}=e,{column:C,multiple:y}=b,E=i.value,w=o.value,S=C.filterRender,A=S?$n.renderer.get(S.name):null,D=!w&&!b.isAllSelected&&!b.isIndeterminate;return y&&(!A||A.showFilterFooter!==!1)?[W("div",{class:"vxe-table--filter-footer"},[W("button",{class:{"is--disabled":D},disabled:D,onClick:s},E.confirmButtonText||fe.i18n("vxe.table.confirmFilter")),W("button",{onClick:c},E.resetButtonText||fe.i18n("vxe.table.resetFilter"))])]:[]};return()=>{const{filterStore:b}=e,{initStore:C}=n,{column:y}=b,E=y?y.filterRender:null,w=E?$n.renderer.get(E.name):null,S=w?w.filterClassName:"",A=Object.assign({},r._currFilterParams,{$panel:h,$table:t});return W("div",{class:["vxe-table--filter-wrapper","filter--prevent-default",Af(S,A),{"is--animat":t.props.animat,"is--multiple":b.multiple,"is--active":b.visible}],style:b.style},C.filter&&b.visible?m(E,w).concat(v()):[])}}});let Ay;const ym=dn({modals:[],drawers:[]}),nSt=Ve({setup(){return()=>{const{modals:e,drawers:t}=ym;return[e.length?W("div",{class:"vxe-dynamics--modal"},e.map(n=>W(en("vxe-modal"),n))):Pe(),t.length?W("div",{class:"vxe-dynamics--drawer"},t.map(n=>W(en("vxe-drawer"),n))):Pe()]}}}),Or=np(nSt);function t2e(){Ay||(Ay=document.createElement("div"),Ay.className="vxe-dynamics",document.body.appendChild(Ay),Or.mount(Ay))}Or.component(tre.name,tre);const nre=Ve({name:"VxeTableMenuPanel",setup(e,t){const n=U.uniqueId(),r=lt("$xetable",{}),{reactData:a}=r,i=j(),o={refElem:i},l={xID:n,props:e,context:t,getRefMaps:()=>o},s=()=>{const{ctxMenuStore:u}=a,{computeMenuOpts:c}=r.getComputeMaps(),d=c.value;return W(Bd,{to:"body",disabled:!1},[W("div",{ref:i,class:["vxe-table--context-menu-wrapper",d.className,{"is--visible":u.visible}],style:u.style},u.list.map((f,p)=>f.every(h=>h.visible===!1)?Pe():W("ul",{class:"vxe-context-menu--option-wrapper",key:p},f.map((h,m)=>{const v=h.children&&h.children.some(g=>g.visible!==!1);return h.visible===!1?null:W("li",{class:[h.className,{"link--disabled":h.disabled,"link--active":h===u.selected}],key:`${p}_${m}`},[W("a",{class:"vxe-context-menu--link",onClick(g){r.ctxMenuLinkEvent(g,h)},onMouseover(g){r.ctxMenuMouseoverEvent(g,h)},onMouseout(g){r.ctxMenuMouseoutEvent(g,h)}},[W("i",{class:["vxe-context-menu--link-prefix",h.prefixIcon]}),W("span",{class:"vxe-context-menu--link-content"},Ea(h.name)),W("i",{class:["vxe-context-menu--link-suffix",v?h.suffixIcon||"suffix--haschild":h.suffixIcon]})]),v?W("ul",{class:["vxe-table--context-menu-clild-wrapper",{"is--show":h===u.selected&&u.showChild}]},h.children.map((g,b)=>g.visible===!1?null:W("li",{class:[g.className,{"link--disabled":g.disabled,"link--active":g===u.selectChild}],key:`${p}_${m}_${b}`},[W("a",{class:"vxe-context-menu--link",onClick(C){r.ctxMenuLinkEvent(C,g)},onMouseover(C){r.ctxMenuMouseoverEvent(C,h,g)},onMouseout(C){r.ctxMenuMouseoutEvent(C,h)}},[W("i",{class:["vxe-context-menu--link-prefix",g.prefixIcon]}),W("span",{class:"vxe-context-menu--link-content"},Ea(g.name))])]))):null])}))))])};return l.renderVN=s,l},render(){return this.renderVN()}}),zn={F2:"F2",ESCAPE:"Escape",ENTER:"Enter",TAB:"Tab",DELETE:"Delete",BACKSPACE:"Backspace",SPACEBAR:" ",CONTEXT_MENU:"ContextMenu",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown"},rre={" ":"Spacebar",Apps:zn.CONTEXT_MENU,Del:zn.DELETE,Up:zn.ARROW_UP,Down:zn.ARROW_DOWN,Left:zn.ARROW_LEFT,Right:zn.ARROW_RIGHT},n2e=Uu.firefox?"DOMMouseScroll":"mousewheel",NL=[],rr=(e,t)=>{const{key:n}=e;return t=t.toLowerCase(),n?t===n.toLowerCase()||!!(rre[n]&&rre[n].toLowerCase()===t):!1};function Ou(e){const t=e.type===n2e;NL.forEach(({type:n,cb:r})=>{e.cancelBubble||(n===e.type||t&&n==="mousewheel")&&r(e)})}const Un={on(e,t,n){NL.push({comp:e,type:t,cb:n})},off(e,t){U.remove(NL,n=>n.comp===e&&n.type===t)},trigger:Ou,eqKeypad(e,t){const{key:n}=e;return t.toLowerCase()===n.toLowerCase()}};Uu.isDoc&&(Uu.msie||(window.addEventListener("copy",Ou,!1),window.addEventListener("cut",Ou,!1),window.addEventListener("paste",Ou,!1)),document.addEventListener("keydown",Ou,!1),document.addEventListener("contextmenu",Ou,!1),window.addEventListener("mousedown",Ou,!1),window.addEventListener("blur",Ou,!1),window.addEventListener("resize",Ou,!1),window.addEventListener(n2e,U.throttle(Ou,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1}));Or.component(nre.name,nre);function ai(e){const t=lt("xesize",null),n=R(()=>e.size||(t?t.value:null));return Qt("xesize",n),n}const Ui=Ve({name:"VxeButton",props:{type:String,mode:String,className:[String,Function],popupClassName:[String,Function],size:{type:String,default:()=>fe.button.size||fe.size},name:[String,Number],content:String,placement:String,status:String,title:String,icon:String,round:Boolean,circle:Boolean,disabled:Boolean,loading:Boolean,destroyOnClose:Boolean,transfer:{type:Boolean,default:()=>fe.button.transfer}},emits:["click","mouseenter","mouseleave","dropdown-click"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=ai(e),o=dn({inited:!1,showPanel:!1,animatVisible:!1,panelIndex:0,panelStyle:{},panelPlacement:""}),l={showTime:null},s=j(),u=j(),c=j(),d={refElem:s},f={xID:a,props:e,context:t,reactData:o,internalData:l,getRefMaps:()=>d},p=lt("$xebuttongroup",null);let h={};const m=R(()=>{const{type:T}=e;return T?["submit","reset","button"].indexOf(T)>-1:!1}),v=R(()=>{const{type:T,mode:O}=e;return O==="text"||T==="text"||p&&p.props.mode==="text"?"text":"button"}),g=R(()=>{const{status:T}=e;return T||(p?p.props.status:"")}),b=R(()=>{const{round:T}=e;return T||(p?p.props.round:!1)}),C=R(()=>{const{circle:T}=e;return T||(p?p.props.circle:!1)}),y=()=>{o.panelIndexOe().then(()=>{const{transfer:T,placement:O}=e,{panelIndex:N}=o,V=u.value,Y=c.value;if(Y&&V){const z=V.offsetHeight,ee=V.offsetWidth,ae=Y.offsetHeight,pe=Y.offsetWidth,re=5,Q={zIndex:N},{top:ie,left:X,boundingTop:q,visibleHeight:ce,visibleWidth:K}=L0(V);let Z="bottom";if(T){let se=X+ee-pe,Fe=ie+z;O==="top"?(Z="top",Fe=ie-ae):O||(q+z+ae+re>ce&&(Z="top",Fe=ie-ae),FeK&&(se-=se+pe+re-K),sece&&q-z-ae>re&&(Z="top",Q.bottom=`${z}px`);return o.panelStyle=Q,o.panelPlacement=Z,Oe()}}),w=T=>{p?p.handleClick({name:e.name},T):h.dispatchEvent("click",{$event:T},T)},S=T=>{T.button===0&&T.stopPropagation()},A=T=>{const O=T.currentTarget,N=c.value,{flag:V,targetElem:Y}=Ar(T,O,"vxe-button");V&&(N&&(N.dataset.active="N"),o.showPanel=!1,setTimeout(()=>{(!N||N.dataset.active!=="Y")&&(o.animatVisible=!1)},350),h.dispatchEvent("dropdown-click",{name:Y.getAttribute("name"),$event:T},T))},D=()=>{const T=c.value;T&&(T.dataset.active="Y",o.animatVisible=!0,setTimeout(()=>{T.dataset.active==="Y"&&(o.showPanel=!0,y(),E(),setTimeout(()=>{o.showPanel&&E()},50))},20))},k=T=>{const O=c.value;O&&(O.dataset.active="Y",o.inited||(o.inited=!0),l.showTime=setTimeout(()=>{O.dataset.active==="Y"?D():o.animatVisible=!1},250)),_(T)},x=T=>{L(),M(T)},_=T=>{r("mouseenter",{$event:T})},M=T=>{r("mouseleave",{$event:T})},L=()=>{const T=c.value;clearTimeout(l.showTime),T?(T.dataset.active="N",setTimeout(()=>{T.dataset.active!=="Y"&&(o.showPanel=!1,setTimeout(()=>{T.dataset.active!=="Y"&&(o.animatVisible=!1)},350))},100)):(o.animatVisible=!1,o.showPanel=!1)},I=()=>{L()},P=()=>{const{content:T,icon:O,loading:N}=e,V=[];return N?V.push(W("i",{class:["vxe-button--loading-icon",fe.icon.BUTTON_LOADING]})):n.icon?V.push(W("span",{class:"vxe-button--custom-icon"},n.icon({}))):O&&V.push(W("i",{class:["vxe-button--icon",O]})),n.default?V.push(W("span",{class:"vxe-button--content"},n.default({}))):T&&V.push(W("span",{class:"vxe-button--content"},Ea(T))),V};h={dispatchEvent(T,O,N){r(T,Object.assign({$button:f,$event:N},O))},focus(){return u.value.focus(),Oe()},blur(){return u.value.blur(),Oe()}},Object.assign(f,h),Ut(()=>{Un.on(f,"mousewheel",T=>{const O=c.value;o.showPanel&&!Ar(T,O).flag&&L()})}),la(()=>{Un.off(f,"mousewheel")});const B=()=>{const{className:T,popupClassName:O,transfer:N,title:V,type:Y,destroyOnClose:z,name:ee,disabled:ae,loading:pe}=e,{inited:re,showPanel:Q}=o,ie=m.value,X=v.value,q=g.value,ce=b.value,K=C.value,Z=i.value;return n.dropdowns?W("div",{ref:s,class:["vxe-button--dropdown",T?U.isFunction(T)?T({$button:f}):T:"",{[`size--${Z}`]:Z,"is--active":Q}]},[W("button",{ref:u,class:["vxe-button",`type--${X}`,{[`size--${Z}`]:Z,[`theme--${q}`]:q,"is--round":ce,"is--circle":K,"is--disabled":ae||pe,"is--loading":pe}],title:V,name:ee,type:ie?Y:"button",disabled:ae||pe,onMouseenter:k,onMouseleave:x,onClick:w},P().concat([W("i",{class:`vxe-button--dropdown-arrow ${fe.icon.BUTTON_DROPDOWN}`})])),W(Bd,{to:"body",disabled:N?!re:!0},[W("div",{ref:c,class:["vxe-button--dropdown-panel",O?U.isFunction(O)?O({$button:f}):O:"",{[`size--${Z}`]:Z,"animat--leave":o.animatVisible,"animat--enter":Q}],placement:o.panelPlacement,style:o.panelStyle},re?[W("div",{class:"vxe-button--dropdown-wrapper",onMousedown:S,onClick:A,onMouseenter:D,onMouseleave:I},z&&!Q?[]:n.dropdowns({}))]:[])])]):W("button",{ref:u,class:["vxe-button",`type--${X}`,T?U.isFunction(T)?T({$button:f}):T:"",{[`size--${Z}`]:Z,[`theme--${q}`]:q,"is--round":ce,"is--circle":K,"is--disabled":ae||pe,"is--loading":pe}],title:V,name:ee,type:ie?Y:"button",disabled:ae||pe,onClick:w,onMouseenter:_,onMouseleave:M},P())};return f.renderVN=B,f},render(){return this.renderVN()}}),Dx=Ve({name:"VxeLoading",props:{modelValue:Boolean,icon:String,text:String},setup(e,{slots:t}){const n=R(()=>e.icon||fe.icon.LOADING),r=R(()=>{const a=fe.loadingText;return e.text||(a===null?a:fe.i18n("vxe.loading.text"))});return()=>{const a=n.value,i=r.value;return W("div",{class:["vxe-loading",{"is--visible":e.modelValue}]},t.default?[W("div",{class:"vxe-loading--wrapper"},t.default({}))]:[W("div",{class:"vxe-loading--chunk"},[a?W("i",{class:a}):W("div",{class:"vxe-loading--spinner"}),i?W("div",{class:"vxe-loading--text"},`${i}`):null])])}}}),M4=Object.assign(Dx,{install(e){e.component(Dx.name,Dx)}}),Yh=[],Dy=[],Yf=Ve({name:"VxeModal",props:{modelValue:Boolean,id:String,type:{type:String,default:"modal"},loading:{type:Boolean,default:null},status:String,iconStatus:String,className:String,top:{type:[Number,String],default:()=>fe.modal.top},position:[String,Object],title:String,duration:{type:[Number,String],default:()=>fe.modal.duration},message:[Number,String],content:[Number,String],showCancelButton:{type:Boolean,default:null},cancelButtonText:{type:String,default:()=>fe.modal.cancelButtonText},showConfirmButton:{type:Boolean,default:()=>fe.modal.showConfirmButton},confirmButtonText:{type:String,default:()=>fe.modal.confirmButtonText},lockView:{type:Boolean,default:()=>fe.modal.lockView},lockScroll:Boolean,mask:{type:Boolean,default:()=>fe.modal.mask},maskClosable:{type:Boolean,default:()=>fe.modal.maskClosable},escClosable:{type:Boolean,default:()=>fe.modal.escClosable},resize:Boolean,showHeader:{type:Boolean,default:()=>fe.modal.showHeader},showFooter:{type:Boolean,default:()=>fe.modal.showFooter},showZoom:Boolean,showClose:{type:Boolean,default:()=>fe.modal.showClose},dblclickZoom:{type:Boolean,default:()=>fe.modal.dblclickZoom},width:[Number,String],height:[Number,String],minWidth:{type:[Number,String],default:()=>fe.modal.minWidth},minHeight:{type:[Number,String],default:()=>fe.modal.minHeight},zIndex:Number,marginSize:{type:[Number,String],default:()=>fe.modal.marginSize},fullscreen:Boolean,draggable:{type:Boolean,default:()=>fe.modal.draggable},remember:{type:Boolean,default:()=>fe.modal.remember},destroyOnClose:{type:Boolean,default:()=>fe.modal.destroyOnClose},showTitleOverflow:{type:Boolean,default:()=>fe.modal.showTitleOverflow},transfer:{type:Boolean,default:()=>fe.modal.transfer},storage:{type:Boolean,default:()=>fe.modal.storage},storageKey:{type:String,default:()=>fe.modal.storageKey},animat:{type:Boolean,default:()=>fe.modal.animat},size:{type:String,default:()=>fe.modal.size||fe.size},beforeHideMethod:{type:Function,default:()=>fe.modal.beforeHideMethod},slots:Object},emits:["update:modelValue","show","hide","before-hide","close","confirm","cancel","zoom","resize","move"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=ai(e),o=dn({inited:!1,visible:!1,contentVisible:!1,modalTop:0,modalZindex:0,zoomLocat:null,firstOpen:!0}),l=j(),s=j(),u=j(),c=j(),d={refElem:l},f={xID:a,props:e,context:t,reactData:o,getRefMaps:()=>d};let p={};const h=R(()=>e.type==="message"),m=()=>s.value,v=()=>{const{width:K,height:Z}=e,se=m();return se.style.width=`${K?isNaN(K)?K:`${K}px`:""}`,se.style.height=`${Z?isNaN(Z)?Z:`${Z}px`:""}`,Oe()},g=()=>{const{zIndex:K}=e,{modalZindex:Z}=o;K?o.modalZindex=K:ZOe().then(()=>{const{position:K}=e,Z=U.toNumber(e.marginSize),se=m(),Fe=document.documentElement.clientWidth||document.body.clientWidth,me=document.documentElement.clientHeight||document.body.clientHeight,te=K==="center",{top:ue,left:Se}=U.isString(K)?{top:K,left:K}:Object.assign({},K),Ae=te||ue==="center",Ne=te||Se==="center";let je="",De="";Se&&!Ne?De=isNaN(Se)?Se:`${Se}px`:De=`${Math.max(Z,Fe/2-se.offsetWidth/2)}px`,ue&&!Ae?je=isNaN(ue)?ue:`${ue}px`:je=`${Math.max(Z,me/2-se.offsetHeight/2)}px`,se.style.top=je,se.style.left=De}),C=()=>{Oe(()=>{let K=0;Dy.forEach(Z=>{const se=Z.getBox();K+=U.toNumber(Z.props.top),Z.reactData.modalTop=K,K+=se.clientHeight})})},y=()=>{Dy.indexOf(f)>-1&&U.remove(Dy,K=>K===f),C()},E=K=>{const{remember:Z,beforeHideMethod:se}=e,{visible:Fe}=o,me=h.value,te={type:K};return Fe&&Promise.resolve(se?se(te):null).then(ue=>{U.isError(ue)||(me&&y(),o.contentVisible=!1,Z||(o.zoomLocat=null),U.remove(Yh,Se=>Se===f),p.dispatchEvent("before-hide",te),setTimeout(()=>{o.visible=!1,r("update:modelValue",!1),p.dispatchEvent("hide",te)},200))}).catch(ue=>ue),Oe()},w=K=>{const Z="close";p.dispatchEvent(Z,{type:Z},K),E(Z)},S=K=>{const Z="confirm";p.dispatchEvent(Z,{type:Z},K),E(Z)},A=K=>{const Z="cancel";p.dispatchEvent(Z,{type:Z},K),E(Z)},D=K=>{const Z=fe.version,se=U.toStringJSON(localStorage.getItem(K)||"");return se&&se._v===Z?se:{_v:Z}},k=()=>{const{id:K,remember:Z,storage:se,storageKey:Fe}=e;return!!(K&&Z&&se&&D(Fe)[K])},x=()=>{const{id:K,remember:Z,storage:se,storageKey:Fe}=e;if(K&&Z&&se){const me=D(Fe)[K];if(me){const te=m(),[ue,Se,Ae,Ne,je,De,he,He]=me.split(",");ue&&(te.style.left=`${ue}px`),Se&&(te.style.top=`${Se}px`),Ae&&(te.style.width=`${Ae}px`),Ne&&(te.style.height=`${Ne}px`),je&&De&&(o.zoomLocat={left:je,top:De,width:he,height:He})}}},_=()=>{Dy.indexOf(f)===-1&&Dy.push(f),C()},M=()=>{const{id:K,remember:Z,storage:se,storageKey:Fe}=e,{zoomLocat:me}=o;if(K&&Z&&se){const te=m(),ue=D(Fe);ue[K]=[te.style.left,te.style.top,te.style.width,te.style.height].concat(me?[me.left,me.top,me.width,me.height]:[]).map(Se=>Se?U.toNumber(Se):"").join(","),localStorage.setItem(Fe,U.toJSONString(ue))}},L=()=>Oe().then(()=>{if(!o.zoomLocat){const K=Math.max(0,U.toNumber(e.marginSize)),Z=m(),{visibleHeight:se,visibleWidth:Fe}=G1();o.zoomLocat={top:Z.offsetTop,left:Z.offsetLeft,width:Z.offsetWidth+(Z.style.width?0:1),height:Z.offsetHeight+(Z.style.height?0:1)},Object.assign(Z.style,{top:`${K}px`,left:`${K}px`,width:`${Fe-K*2}px`,height:`${se-K*2}px`}),M()}}),I=()=>{const{duration:K,remember:Z,showFooter:se}=e,{inited:Fe,visible:me}=o,te=h.value;return Fe||(o.inited=!0),me||(Z||v(),o.visible=!0,o.contentVisible=!1,g(),Yh.push(f),setTimeout(()=>{o.contentVisible=!0,Oe(()=>{if(se){const Ae=u.value,Ne=c.value,je=Ae||Ne;je&&je.focus()}const Se={type:""};r("update:modelValue",!0),p.dispatchEvent("show",Se)})},10),te?(_(),K!==-1&&setTimeout(()=>E("close"),U.toNumber(K))):Oe(()=>{const{fullscreen:ue}=e,{firstOpen:Se}=o;(!Z||Se)&&b().then(()=>{setTimeout(()=>b(),20)}),Se?(o.firstOpen=!1,k()?x():ue&&Oe(()=>L())):ue&&Oe(()=>L())})),Oe()},P=K=>{const Z=l.value;e.maskClosable&&K.target===Z&&E("mask")},B=K=>{if(rr(K,zn.ESCAPE)){const se=U.max(Yh,Fe=>Fe.reactData.modalZindex);se&&setTimeout(()=>{se===f&&se.props.escClosable&&E("exit")},10)}},T=()=>!!o.zoomLocat,O=()=>Oe().then(()=>{const{zoomLocat:K}=o;if(K){const Z=m();o.zoomLocat=null,Object.assign(Z.style,{top:`${K.top}px`,left:`${K.left}px`,width:`${K.width}px`,height:`${K.height}px`}),M()}}),N=()=>o.zoomLocat?O().then(()=>T()):L().then(()=>T()),V=K=>{const{zoomLocat:Z}=o,se={type:Z?"revert":"max"};return N().then(()=>{p.dispatchEvent("zoom",se,K)})},Y=()=>{if(!h.value){const Z=m();if(Z)return{top:Z.offsetTop,left:Z.offsetLeft}}return null},z=(K,Z)=>{if(!h.value){const Fe=m();U.isNumber(K)&&(Fe.style.top=`${K}px`),U.isNumber(Z)&&(Fe.style.left=`${Z}px`)}return Oe()},ee=()=>{const{modalZindex:K}=o;Yh.some(Z=>Z.reactData.visible&&Z.reactData.modalZindex>K)&&g()},ae=K=>{const{remember:Z,storage:se}=e,{zoomLocat:Fe}=o,me=U.toNumber(e.marginSize),te=m();if(!Fe&&K.button===0&&!Ar(K,te,"trigger--btn").flag){K.preventDefault();const ue=document.onmousemove,Se=document.onmouseup,Ae=K.clientX-te.offsetLeft,Ne=K.clientY-te.offsetTop,{visibleHeight:je,visibleWidth:De}=G1();document.onmousemove=he=>{he.preventDefault();const He=te.offsetWidth,xe=te.offsetHeight,qe=me,ve=De-He-me-1,Ge=me,Ke=je-xe-me-1;let rt=he.clientX-Ae,nt=he.clientY-Ne;rt>ve&&(rt=ve),rtKe&&(nt=Ke),nt{document.onmousemove=ue,document.onmouseup=Se,Z&&se&&Oe(()=>{M()}),setTimeout(()=>{te.className=te.className.replace(/\s?is--drag/,"")},50)}}},pe=K=>{K.preventDefault();const{remember:Z,storage:se}=e,{visibleHeight:Fe,visibleWidth:me}=G1(),te=U.toNumber(e.marginSize),Se=K.target.getAttribute("type"),Ae=U.toNumber(e.minWidth),Ne=U.toNumber(e.minHeight),je=me,De=Fe,he=m(),He=document.onmousemove,xe=document.onmouseup,qe=he.clientWidth,ve=he.clientHeight,Ge=K.clientX,Ke=K.clientY,rt=he.offsetTop,nt=he.offsetLeft,ze={type:"resize"};document.onmousemove=Ie=>{Ie.preventDefault();let ge,oe,Xe,it;switch(Se){case"wl":ge=Ge-Ie.clientX,Xe=ge+qe,nt-ge>te&&Xe>Ae&&(he.style.width=`${Xete&&Xe>Ae&&(he.style.width=`${Xete&&it>Ne&&(he.style.height=`${itte&&Xe>Ae&&(he.style.width=`${XeNe&&(he.style.height=`${itte&&it>Ne&&(he.style.height=`${itAe&&(he.style.width=`${XeAe&&(he.style.width=`${Xete&&it>Ne&&(he.style.height=`${itAe&&(he.style.width=`${XeNe&&(he.style.height=`${itNe&&(he.style.height=`${it{o.zoomLocat=null,document.onmousemove=He,document.onmouseup=xe,setTimeout(()=>{he.className=he.className.replace(/\s?is--drag/,"")},50)}};p={dispatchEvent(K,Z,se){r(K,Object.assign({$modal:f,$event:se},Z))},open:I,close(){return E("close")},getBox:m,getPosition:Y,setPosition:z,isMaximized:T,zoom:N,maximize:L,revert:O},Object.assign(f,p);const re=()=>{const{slots:K={},showClose:Z,showZoom:se,title:Fe}=e,{zoomLocat:me}=o,te=n.title||K.title,ue=n.corner||K.corner,Se=[W("div",{class:"vxe-modal--header-title"},te?Wr(te({$modal:f})):Fe?Ea(Fe):fe.i18n("vxe.alert.title"))],Ae=[];return ue&&Ae.push(W("span",{class:"vxe-modal--corner-wrapper"},Wr(ue({$modal:f})))),se&&Ae.push(W("i",{class:["vxe-modal--zoom-btn","trigger--btn",me?fe.icon.MODAL_ZOOM_OUT:fe.icon.MODAL_ZOOM_IN],title:fe.i18n(`vxe.modal.zoom${me?"Out":"In"}`),onClick:V})),Z&&Ae.push(W("i",{class:["vxe-modal--close-btn","trigger--btn",fe.icon.MODAL_CLOSE],title:fe.i18n("vxe.modal.close"),onClick:w})),Se.push(W("div",{class:"vxe-modal--header-right"},Ae)),Se},Q=()=>{const{slots:K={},showZoom:Z,draggable:se}=e,Fe=h.value,me=n.header||K.header,te=[];if(e.showHeader){const ue={};se&&(ue.onMousedown=ae),Z&&e.dblclickZoom&&e.type==="modal"&&(ue.onDblclick=V),te.push(W("div",Object.assign({class:["vxe-modal--header",{"is--draggable":se,"is--ellipsis":!Fe&&e.showTitleOverflow}]},ue),me?!o.inited||e.destroyOnClose&&!o.visible?[]:Wr(me({$modal:f})):re()))}return te},ie=()=>{const{slots:K={},status:Z,message:se}=e,Fe=e.content||se,me=h.value,te=n.default||K.default,ue=[];return Z&&ue.push(W("div",{class:"vxe-modal--status-wrapper"},[W("i",{class:["vxe-modal--status-icon",e.iconStatus||fe.icon[`MODAL_${Z}`.toLocaleUpperCase()]]})])),ue.push(W("div",{class:"vxe-modal--content"},te?!o.inited||e.destroyOnClose&&!o.visible?[]:Wr(te({$modal:f})):Ea(Fe))),me||ue.push(W(M4,{class:"vxe-modal--loading",modelValue:e.loading})),[W("div",{class:"vxe-modal--body"},ue)]},X=()=>{const{showCancelButton:K,showConfirmButton:Z,type:se}=e,Fe=[];return(U.isBoolean(K)?K:se==="confirm")&&Fe.push(W(Ui,{key:1,ref:c,content:e.cancelButtonText||fe.i18n("vxe.button.cancel"),onClick:A})),(U.isBoolean(Z)?Z:se==="confirm"||se==="alert")&&Fe.push(W(Ui,{key:2,ref:u,status:"primary",content:e.confirmButtonText||fe.i18n("vxe.button.confirm"),onClick:S})),Fe},q=()=>{const{slots:K={}}=e,Z=h.value,se=n.footer||K.footer,Fe=[];return e.showFooter&&Fe.push(W("div",{class:"vxe-modal--footer"},se?!o.inited||e.destroyOnClose&&!o.visible?[]:Wr(se({$modal:f})):X())),!Z&&e.resize&&Fe.push(W("span",{class:"vxe-modal--resize"},["wl","wr","swst","sest","st","swlb","selb","sb"].map(me=>W("span",{class:`${me}-resize`,type:me,onMousedown:pe})))),Fe},ce=()=>{const{className:K,type:Z,animat:se,loading:Fe,status:me,lockScroll:te,lockView:ue,mask:Se,resize:Ae}=e,{inited:Ne,zoomLocat:je,modalTop:De,contentVisible:he,visible:He}=o,xe=i.value;return W(Bd,{to:"body",disabled:e.transfer?!Ne:!0},[W("div",{ref:l,class:["vxe-modal--wrapper",`type--${Z}`,K||"",{[`size--${xe}`]:xe,[`status--${me}`]:me,"is--animat":se,"lock--scroll":te,"lock--view":ue,"is--resize":Ae,"is--mask":Se,"is--maximize":je,"is--visible":he,"is--active":He,"is--loading":Fe}],style:{zIndex:o.modalZindex,top:De?`${De}px`:null},onClick:P},[W("div",{ref:s,class:"vxe-modal--box",onMousedown:ee},Q().concat(ie(),q()))])])};return f.renderVN=ce,$e(()=>e.width,v),$e(()=>e.height,v),$e(()=>e.modelValue,K=>{K?I():E("model")}),Ut(()=>{Oe(()=>{e.storage&&!e.id&&ei("vxe.error.reqProp",["modal.id"]),e.modelValue&&I(),v()}),e.escClosable&&Un.on(f,"keydown",B)}),la(()=>{Un.off(f,"keydown"),y()}),f},render(){return this.renderVN()}});function rSt(e){if(e){const t=new Date;let n=0,r=0,a=0;if(U.isDate(e))n=e.getHours(),r=e.getMinutes(),a=e.getSeconds();else{e=U.toValueString(e);const i=e.match(/^(\d{1,2})(:(\d{1,2}))?(:(\d{1,2}))?/);i&&(n=U.toNumber(i[1]),r=U.toNumber(i[3]),a=U.toNumber(i[5]))}return t.setHours(n),t.setMinutes(r),t.setSeconds(a),t}return new Date("")}function are(e){const t=e.getMonth();return t<3?1:t<6?2:t<9?3:4}function Yv(e){return U.isString(e)?e.replace(/,/g,""):e}function ire(e,t){return/^-/.test(""+e)?U.toFixed(U.ceil(e,t),t):U.toFixed(U.floor(e,t),t)}const Wc=12,aSt=20,iSt=8,bd=Ve({name:"VxeInput",props:{modelValue:[String,Number,Date],immediate:{type:Boolean,default:!0},name:String,type:{type:String,default:"text"},clearable:{type:Boolean,default:()=>fe.input.clearable},readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:()=>U.eqNull(fe.input.placeholder)?fe.i18n("vxe.base.pleaseInput"):fe.input.placeholder},maxlength:[String,Number],autocomplete:{type:String,default:"off"},align:String,form:String,className:String,size:{type:String,default:()=>fe.input.size||fe.size},multiple:Boolean,showWordCount:Boolean,countMethod:Function,min:{type:[String,Number],default:null},max:{type:[String,Number],default:null},step:[String,Number],exponential:{type:Boolean,default:()=>fe.input.exponential},controls:{type:Boolean,default:()=>fe.input.controls},digits:{type:[String,Number],default:()=>fe.input.digits},startDate:{type:[String,Number,Date],default:()=>fe.input.startDate},endDate:{type:[String,Number,Date],default:()=>fe.input.endDate},minDate:[String,Number,Date],maxDate:[String,Number,Date],startWeek:Number,startDay:{type:[String,Number],default:()=>fe.input.startDay},labelFormat:{type:String,default:()=>fe.input.labelFormat},valueFormat:{type:String,default:()=>fe.input.valueFormat},editable:{type:Boolean,default:!0},festivalMethod:{type:Function,default:()=>fe.input.festivalMethod},disabledMethod:{type:Function,default:()=>fe.input.disabledMethod},selectDay:{type:[String,Number],default:()=>fe.input.selectDay},prefixIcon:String,suffixIcon:String,placement:String,transfer:{type:Boolean,default:()=>fe.input.transfer}},emits:["update:modelValue","input","change","keydown","keyup","wheel","click","focus","blur","clear","search-click","toggle-visible","prev-number","next-number","prefix-click","suffix-click","date-prev","date-today","date-next"],setup(e,t){const{slots:n,emit:r}=t,a=lt("$xeform",null),i=lt("$xeformiteminfo",null),o=U.uniqueId(),l=ai(e),s=dn({inited:!1,panelIndex:0,showPwd:!1,visiblePanel:!1,animatVisible:!1,panelStyle:null,panelPlacement:"",isActivated:!1,inputValue:e.modelValue,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),u=j(),c=j(),d=j(),f=j(),p={refElem:u,refInput:c},h={xID:o,props:e,context:t,reactData:s,getRefMaps:()=>p};let m={};const v=(Ce,et)=>{const{type:ot}=e;return ot==="time"?rSt(Ce):U.toStringDate(Ce,et)},g=R(()=>{const{type:Ce}=e;return Ce==="time"||Ce==="datetime"}),b=R(()=>["number","integer","float"].indexOf(e.type)>-1),C=R(()=>U.getSize(s.inputValue)),y=R(()=>{const Ce=C.value;return e.maxlength&&Ce>U.toNumber(e.maxlength)}),E=R(()=>g.value||["date","week","month","quarter","year"].indexOf(e.type)>-1),w=R(()=>e.type==="password"),S=R(()=>e.type==="search"),A=R(()=>U.toInteger(e.digits)||1),D=R(()=>{const{type:Ce}=e,et=A.value,ot=e.step;return Ce==="integer"?U.toInteger(ot)||1:Ce==="float"?U.toNumber(ot)||1/Math.pow(10,et):U.toNumber(ot)||1}),k=R(()=>{const{type:Ce}=e,et=b.value,ot=E.value,Tt=w.value;return e.clearable&&(Tt||et||ot||Ce==="text"||Ce==="search")}),x=R(()=>e.startDate?U.toStringDate(e.startDate):null),_=R(()=>e.endDate?U.toStringDate(e.endDate):null),M=R(()=>["date","week","month","quarter","year"].includes(e.type)),L=R(()=>{const{modelValue:Ce,multiple:et}=e,ot=E.value,Tt=B.value;return et&&Ce&&ot?U.toValueString(Ce).split(",").map(zt=>{const Mt=v(zt,Tt);return U.isValidDate(Mt)?Mt:null}):[]}),I=R(()=>{const Ce=L.value,et=B.value;return Ce.map(ot=>U.toDateString(ot,et))}),P=R(()=>{const Ce=L.value,et=z.value;return Ce.map(ot=>U.toDateString(ot,et)).join(", ")}),B=R(()=>{const{type:Ce}=e;return Ce==="time"?"HH:mm:ss":e.valueFormat||(Ce==="datetime"?"yyyy-MM-dd HH:mm:ss":"yyyy-MM-dd")}),T=R(()=>{const{modelValue:Ce}=e,et=E.value,ot=B.value;let Tt=null;if(Ce&&et){const zt=v(Ce,ot);U.isValidDate(zt)&&(Tt=zt)}return Tt}),O=R(()=>{const Ce=x.value,{selectMonth:et}=s;return et&&Ce?et<=Ce:!1}),N=R(()=>{const Ce=_.value,{selectMonth:et}=s;return et&&Ce?et>=Ce:!1}),V=R(()=>{const{datetimePanelValue:Ce}=s;return Ce?U.toDateString(Ce,"HH:mm:ss"):""}),Y=R(()=>{const Ce=T.value,et=g.value;return Ce&&et?(Ce.getHours()*3600+Ce.getMinutes()*60+Ce.getSeconds())*1e3:0}),z=R(()=>E.value?e.labelFormat||fe.i18n(`vxe.input.date.labelFormat.${e.type}`):null),ee=R(()=>{const{selectMonth:Ce,currentDate:et}=s,ot=[];if(Ce&&et){const Tt=et.getFullYear(),zt=Ce.getFullYear(),Mt=new Date(zt-zt%Wc,0,1);for(let on=-4;on=Wc,year:G})}}return ot}),ae=R(()=>{if(E.value){const{datePanelType:et,selectMonth:ot}=s,Tt=ee.value;let zt="",Mt;return ot&&(zt=ot.getFullYear(),Mt=ot.getMonth()+1),et==="quarter"?fe.i18n("vxe.input.date.quarterLabel",[zt]):et==="month"?fe.i18n("vxe.input.date.monthLabel",[zt]):et==="year"?Tt.length?`${Tt[0].year} - ${Tt[Tt.length-1].year}`:"":fe.i18n("vxe.input.date.dayLabel",[zt,Mt?fe.i18n(`vxe.input.date.m${Mt}`):"-"])}return""}),pe=R(()=>{const{startDay:Ce,startWeek:et}=e;return U.toNumber(U.isNumber(Ce)||U.isString(Ce)?Ce:et)}),re=R(()=>{const Ce=[];if(E.value){let ot=pe.value;Ce.push(ot);for(let Tt=0;Tt<6;Tt++)ot>=6?ot=0:ot++,Ce.push(ot)}return Ce}),Q=R(()=>E.value?re.value.map(ot=>({value:ot,label:fe.i18n(`vxe.input.date.weeks.w${ot}`)})):[]),ie=R(()=>{if(E.value){const et=Q.value;return[{label:fe.i18n("vxe.input.date.weeks.w")}].concat(et)}return[]}),X=R(()=>{const Ce=ee.value;return U.chunk(Ce,4)}),q=R(()=>{const{selectMonth:Ce,currentDate:et}=s,ot=[];if(Ce&&et){const Tt=et.getFullYear(),zt=are(et),Mt=U.getWhatYear(Ce,0,"first"),on=Mt.getFullYear();for(let $=-2;$on,quarter:de})}}return ot}),ce=R(()=>{const Ce=q.value;return U.chunk(Ce,2)}),K=R(()=>{const{selectMonth:Ce,currentDate:et}=s,ot=[];if(Ce&&et){const Tt=et.getFullYear(),zt=et.getMonth(),Mt=U.getWhatYear(Ce,0,"first").getFullYear();for(let on=-4;onMt,month:ne})}}return ot}),Z=R(()=>{const Ce=K.value;return U.chunk(Ce,4)}),se=R(()=>{const{selectMonth:Ce,currentDate:et}=s,ot=[];if(Ce&&et){const Tt=Y.value,zt=re.value,Mt=et.getFullYear(),on=et.getMonth(),$=et.getDate(),G=Ce.getFullYear(),ne=Ce.getMonth(),de=Ce.getDay(),we=-zt.indexOf(de),Me=new Date(U.getWhatDay(Ce,we).getTime()+Tt);for(let Le=0;Le<42;Le++){const Je=U.getWhatDay(Me,Le),Ye=Je.getFullYear(),tt=Je.getMonth(),Ze=Je.getDate(),ht=Je{const Ce=se.value;return U.chunk(Ce,7)}),me=R(()=>{const Ce=Fe.value,et=pe.value;return Ce.map(ot=>{const Tt=ot[0];return[{date:Tt.date,isWeekNumber:!0,isPrev:!1,isCurrent:!1,isNow:!1,isNext:!1,label:U.getYearWeek(Tt.date,et)}].concat(ot)})}),te=R(()=>{const Ce=[];if(g.value)for(let ot=0;ot<24;ot++)Ce.push({value:ot,label:(""+ot).padStart(2,"0")});return Ce}),ue=R(()=>{const Ce=[];if(g.value)for(let ot=0;ot<60;ot++)Ce.push({value:ot,label:(""+ot).padStart(2,"0")});return Ce}),Se=R(()=>ue.value),Ae=R(()=>{const{type:Ce,readonly:et,editable:ot,multiple:Tt}=e;return et||Tt||!ot||Ce==="week"||Ce==="quarter"}),Ne=R(()=>{const{type:Ce}=e,{showPwd:et}=s,ot=b.value,Tt=E.value,zt=w.value;return Tt||ot||zt&&et||Ce==="number"?"text":Ce}),je=R(()=>{const{placeholder:Ce}=e;return Ce?Ea(Ce):""}),De=R(()=>{const{maxlength:Ce}=e;return b.value&&!U.toNumber(Ce)?16:Ce}),he=R(()=>{const{type:Ce,immediate:et}=e;return et||!(Ce==="text"||Ce==="number"||Ce==="integer"||Ce==="float")}),He=R(()=>{const{type:Ce}=e,{inputValue:et}=s;return b.value?Ce==="integer"?U.toInteger(Yv(et)):U.toNumber(Yv(et)):0}),xe=R(()=>{const{min:Ce}=e,{inputValue:et}=s,ot=b.value,Tt=He.value;return(et||et===0)&&ot&&Ce!==null?Tt<=U.toNumber(Ce):!1}),qe=R(()=>{const{max:Ce}=e,{inputValue:et}=s,ot=b.value,Tt=He.value;return(et||et===0)&&ot&&Ce!==null?Tt>=U.toNumber(Ce):!1}),ve=Ce=>{const{type:et,exponential:ot}=e,Tt=De.value,zt=A.value,Mt=et==="float"?ire(Ce,zt):U.toValueString(Ce);return ot&&(Ce===Mt||U.toValueString(Ce).toLowerCase()===U.toNumber(Mt).toExponential())?Ce:Mt.slice(0,Tt)},Ge=Ce=>{const{inputValue:et}=s;m.dispatchEvent(Ce.type,{value:et},Ce)},Ke=(Ce,et)=>{s.inputValue=Ce,r("update:modelValue",Ce),m.dispatchEvent("input",{value:Ce},et),U.toValueString(e.modelValue)!==Ce&&(m.dispatchEvent("change",{value:Ce},et),a&&i&&a.triggerItemEvent(et,i.itemConfig.field,Ce))},rt=(Ce,et)=>{const ot=E.value,Tt=he.value;s.inputValue=Ce,ot||(Tt?Ke(Ce,et):m.dispatchEvent("input",{value:Ce},et))},nt=Ce=>{const ot=Ce.target.value;rt(ot,Ce)},ze=Ce=>{he.value||Ge(Ce)},Ie=Ce=>{s.isActivated=!0,E.value&&Mc(Ce),Ge(Ce)},ge=Ce=>{const{disabled:et}=e;if(!et){const{inputValue:ot}=s;m.dispatchEvent("prefix-click",{value:ot},Ce)}};let oe;const Xe=()=>new Promise(Ce=>{s.visiblePanel=!1,oe=window.setTimeout(()=>{s.animatVisible=!1,Ce()},350)}),it=(Ce,et)=>{const{type:ot}=e,Tt=b.value;E.value&&Xe(),(Tt||["text","search","password"].indexOf(ot)>-1)&&focus(),m.dispatchEvent("clear",{value:et},Ce)},xt=Ce=>{const{disabled:et}=e;if(!et)if(hp(Ce.currentTarget,"is--clear"))Ke("",Ce),it(Ce,"");else{const{inputValue:ot}=s;m.dispatchEvent("suffix-click",{value:ot},Ce)}},Ee=Ce=>{const{type:et}=e,{valueFormat:ot}=e,Tt=z.value,zt=pe.value;let Mt=null,on="";if(Ce&&(Mt=v(Ce,ot)),U.isValidDate(Mt)){if(on=U.toDateString(Mt,Tt,{firstDay:zt}),Tt&&et==="week"&&U.getWhatWeek(Mt,0,zt,zt).getFullYear()-1){const ne=Number(on.substring(G,G+4));ne&&!isNaN(ne)&&(on=on.replace(`${ne}`,`${ne-1}`))}}}else Mt=null;s.datePanelValue=Mt,s.datePanelLabel=on},pn=()=>{const Ce=E.value,{inputValue:et}=s;Ce&&(Ee(et),s.inputValue=e.multiple?P.value:s.datePanelLabel)},Qe=()=>{const{type:Ce}=e,{inputValue:et}=s,ot=E.value,Tt=A.value;if(ot)pn();else if(Ce==="float"&&et){const zt=ire(et,Tt);et!==zt&&Ke(zt,{type:"init"})}},ct=Ce=>e.max===null||U.toNumber(Ce)<=U.toNumber(e.max),gt=Ce=>e.min===null||U.toNumber(Ce)>=U.toNumber(e.min),an=()=>{s.inputValue=e.multiple?P.value:s.datePanelLabel},Wt=Ce=>{const et=U.getWhatMonth(Ce,0,"first");U.isEqual(et,s.selectMonth)||(s.selectMonth=et)},bt=Ce=>{const{modelValue:et,multiple:ot}=e,{datetimePanelValue:Tt}=s,zt=g.value,Mt=B.value,on=pe.value;if(e.type==="week"){const G=U.toNumber(e.selectDay);Ce=U.getWhatWeek(Ce,0,G,on)}else zt&&(Ce.setHours(Tt.getHours()),Ce.setMinutes(Tt.getMinutes()),Ce.setSeconds(Tt.getSeconds()));const $=U.toDateString(Ce,Mt,{firstDay:on});if(Wt(Ce),ot){const G=I.value;if(zt){const ne=[...L.value],de=[],we=U.findIndexOf(ne,Me=>U.isDateSame(Ce,Me,"yyyyMMdd"));we===-1?ne.push(Ce):ne.splice(we,1),ne.forEach(Me=>{Me&&(Me.setHours(Tt.getHours()),Me.setMinutes(Tt.getMinutes()),Me.setSeconds(Tt.getSeconds()),de.push(Me))}),Ke(de.map(Me=>U.toDateString(Me,Mt)).join(","),{type:"update"})}else G.some(ne=>U.isEqual(ne,$))?Ke(G.filter(ne=>!U.isEqual(ne,$)).join(","),{type:"update"}):Ke(G.concat([$]).join(","),{type:"update"})}else U.isEqual(et,$)||Ke($,{type:"update"})},Ft=()=>{const{type:Ce,min:et,max:ot,exponential:Tt}=e,{inputValue:zt,datetimePanelValue:Mt}=s,on=b.value,$=E.value,G=z.value;if(!Ae.value){if(on){if(zt){let de=Ce==="integer"?U.toInteger(Yv(zt)):U.toNumber(Yv(zt));if(gt(de)?ct(de)||(de=ot):de=et,Tt){const we=U.toValueString(zt).toLowerCase();we===U.toNumber(de).toExponential()&&(de=we)}Ke(ve(de),{type:"check"})}}else if($)if(zt){let de=v(zt,G);if(U.isValidDate(de))if(Ce==="time")de=U.toDateString(de,G),zt!==de&&Ke(de,{type:"check"}),s.inputValue=de;else{let we=!1;const Me=pe.value;if(Ce==="datetime"){const Le=T.value;(zt!==U.toDateString(Le,G)||zt!==U.toDateString(de,G))&&(we=!0,Mt.setHours(de.getHours()),Mt.setMinutes(de.getMinutes()),Mt.setSeconds(de.getSeconds()))}else we=!0;s.inputValue=U.toDateString(de,G,{firstDay:Me}),we&&bt(de)}else an()}else Ke("",{type:"check"})}},It=Ce=>{const{inputValue:et}=s;he.value||Ke(et,Ce),Ft(),s.visiblePanel||(s.isActivated=!1),m.dispatchEvent("blur",{value:et},Ce)},Nn=Ce=>{const{readonly:et,disabled:ot}=e,{showPwd:Tt}=s;!ot&&!et&&(s.showPwd=!Tt),m.dispatchEvent("toggle-visible",{visible:s.showPwd},Ce)},Kn=Ce=>{m.dispatchEvent("search-click",{},Ce)},Sr=(Ce,et)=>{const{min:ot,max:Tt,type:zt}=e,{inputValue:Mt}=s,on=D.value,$=zt==="integer"?U.toInteger(Yv(Mt)):U.toNumber(Yv(Mt)),G=Ce?U.add($,on):U.subtract($,on);let ne;gt(G)?ct(G)?ne=G:ne=Tt:ne=ot,rt(ve(ne),et)};let Pr;const xr=Ce=>{const{readonly:et,disabled:ot}=e,Tt=xe.value;clearTimeout(Pr),!ot&&!et&&!Tt&&Sr(!1,Ce),m.dispatchEvent("next-number",{value:s.inputValue},Ce)},ta=Ce=>{Pr=window.setTimeout(()=>{xr(Ce),ta(Ce)},60)},ur=Ce=>{const{readonly:et,disabled:ot}=e,Tt=qe.value;clearTimeout(Pr),!ot&&!et&&!Tt&&Sr(!0,Ce),m.dispatchEvent("prev-number",{value:s.inputValue},Ce)},Mr=Ce=>{const et=rr(Ce,zn.ARROW_UP),ot=rr(Ce,zn.ARROW_DOWN);(et||ot)&&(Ce.preventDefault(),et?ur(Ce):xr(Ce))},Tr=Ce=>{const{exponential:et,controls:ot}=e;if(b.value){const zt=Ce.ctrlKey,Mt=Ce.shiftKey,on=Ce.altKey,$=Ce.keyCode;!zt&&!Mt&&!on&&(rr(Ce,zn.SPACEBAR)||(!et||$!==69)&&$>=65&&$<=90||$>=186&&$<=188||$>=191)&&Ce.preventDefault(),ot&&Mr(Ce)}Ge(Ce)},jr=Ce=>{Ge(Ce)},ba=()=>{clearTimeout(Pr)},Kr=Ce=>{Pr=window.setTimeout(()=>{ur(Ce),Kr(Ce)},60)},wa=Ce=>{if(ba(),Ce.button===0){const et=hp(Ce.currentTarget,"is--prev");et?ur(Ce):xr(Ce),Pr=window.setTimeout(()=>{et?Kr(Ce):ta(Ce)},500)}},ut=Ce=>{if(b.value&&e.controls&&s.isActivated){const ot=Ce.deltaY;ot>0?xr(Ce):ot<0&&ur(Ce),Ce.preventDefault()}Ge(Ce)},Vt=(Ce,et)=>{s.selectMonth=U.getWhatMonth(Ce,et,"first")},bn=()=>{const Ce=U.getWhatDay(Date.now(),0,"first");s.currentDate=Ce,Vt(Ce,0)},cr=()=>{let{datePanelType:Ce}=s;Ce==="month"||Ce==="quarter"?Ce="year":Ce="month",s.datePanelType=Ce},kr=Ce=>{const{type:et}=e,{datePanelType:ot,selectMonth:Tt,inputValue:zt}=s,Mt=zt;O.value||(et==="year"?s.selectMonth=U.getWhatYear(Tt,-Wc,"first"):et==="month"||et==="quarter"?ot==="year"?s.selectMonth=U.getWhatYear(Tt,-Wc,"first"):s.selectMonth=U.getWhatYear(Tt,-1,"first"):ot==="year"?s.selectMonth=U.getWhatYear(Tt,-Wc,"first"):ot==="month"?s.selectMonth=U.getWhatYear(Tt,-1,"first"):s.selectMonth=U.getWhatMonth(Tt,-1,"first"),m.dispatchEvent("date-prev",{value:Mt,type:et},Ce))},Sa=Ce=>{bn(),e.multiple||(bt(s.currentDate),Xe()),m.dispatchEvent("date-today",{type:e.type},Ce)},Nr=Ce=>{const{type:et}=e,{datePanelType:ot,selectMonth:Tt,inputValue:zt}=s,Mt=zt;N.value||(et==="year"?s.selectMonth=U.getWhatYear(Tt,Wc,"first"):et==="month"||et==="quarter"?ot==="year"?s.selectMonth=U.getWhatYear(Tt,Wc,"first"):s.selectMonth=U.getWhatYear(Tt,1,"first"):ot==="year"?s.selectMonth=U.getWhatYear(Tt,Wc,"first"):ot==="month"?s.selectMonth=U.getWhatYear(Tt,1,"first"):s.selectMonth=U.getWhatMonth(Tt,1,"first"),m.dispatchEvent("date-next",{value:Mt,type:et},Ce))},Ur=Ce=>{const{disabledMethod:et}=e,{datePanelType:ot}=s;return et&&et({type:ot,viewType:ot,date:Ce.date,$input:h})},Ba=Ce=>{const{type:et,multiple:ot}=e,{datePanelType:Tt}=s;et==="month"?Tt==="year"?(s.datePanelType="month",Wt(Ce)):(bt(Ce),ot||Xe()):et==="year"?(bt(Ce),ot||Xe()):et==="quarter"?Tt==="year"?(s.datePanelType="quarter",Wt(Ce)):(bt(Ce),ot||Xe()):Tt==="month"?(s.datePanelType=et==="week"?et:"day",Wt(Ce)):Tt==="year"?(s.datePanelType="month",Wt(Ce)):(bt(Ce),et==="datetime"||ot||Xe())},Za=Ce=>{Ur(Ce)||Ba(Ce.date)},Fi=Ce=>{Ur({date:Ce})||(se.value.some(ot=>U.isDateSame(ot.date,Ce,"yyyyMMdd"))||Wt(Ce),Ee(Ce))},mt=Ce=>{Ur({date:Ce})||(ee.value.some(ot=>U.isDateSame(ot.date,Ce,"yyyy"))||Wt(Ce),Ee(Ce))},jt=Ce=>{Ur({date:Ce})||(q.value.some(ot=>U.isDateSame(ot.date,Ce,"yyyyq"))||Wt(Ce),Ee(Ce))},sn=Ce=>{Ur({date:Ce})||(K.value.some(ot=>U.isDateSame(ot.date,Ce,"yyyyMM"))||Wt(Ce),Ee(Ce))},vn=Ce=>{if(!Ur(Ce)){const{datePanelType:et}=s;et==="month"?sn(Ce.date):et==="quarter"?jt(Ce.date):et==="year"?mt(Ce.date):Fi(Ce.date)}},$r=Ce=>{if(Ce){const et=Ce.offsetHeight,ot=Ce.parentNode;ot.scrollTop=Ce.offsetTop-et*4}},Va=Ce=>{s.datetimePanelValue=new Date(s.datetimePanelValue.getTime()),$r(Ce.currentTarget)},Ei=(Ce,et)=>{s.datetimePanelValue.setHours(et.value),Va(Ce)},Pi=()=>{const{multiple:Ce}=e,{datetimePanelValue:et}=s,ot=T.value,Tt=g.value;if(Tt){const zt=B.value;if(Ce){const Mt=I.value;if(Tt){const on=[...L.value],$=[];on.forEach(G=>{G&&(G.setHours(et.getHours()),G.setMinutes(et.getMinutes()),G.setSeconds(et.getSeconds()),$.push(G))}),Ke($.map(G=>U.toDateString(G,zt)).join(","),{type:"update"})}else Ke(Mt.join(","),{type:"update"})}else bt(ot||s.currentDate)}Xe()},Ji=(Ce,et)=>{s.datetimePanelValue.setMinutes(et.value),Va(Ce)},Ds=(Ce,et)=>{s.datetimePanelValue.setSeconds(et.value),Va(Ce)},wi=Ce=>{const{isActivated:et,datePanelValue:ot,datePanelType:Tt}=s;if(et){Ce.preventDefault();const zt=rr(Ce,zn.ARROW_LEFT),Mt=rr(Ce,zn.ARROW_UP),on=rr(Ce,zn.ARROW_RIGHT),$=rr(Ce,zn.ARROW_DOWN);if(Tt==="year"){let G=U.getWhatYear(ot||Date.now(),0,"first");zt?G=U.getWhatYear(G,-1):Mt?G=U.getWhatYear(G,-4):on?G=U.getWhatYear(G,1):$&&(G=U.getWhatYear(G,4)),mt(G)}else if(Tt==="quarter"){let G=U.getWhatQuarter(ot||Date.now(),0,"first");zt?G=U.getWhatQuarter(G,-1):Mt?G=U.getWhatQuarter(G,-2):on?G=U.getWhatQuarter(G,1):$&&(G=U.getWhatQuarter(G,2)),jt(G)}else if(Tt==="month"){let G=U.getWhatMonth(ot||Date.now(),0,"first");zt?G=U.getWhatMonth(G,-1):Mt?G=U.getWhatMonth(G,-4):on?G=U.getWhatMonth(G,1):$&&(G=U.getWhatMonth(G,4)),sn(G)}else{let G=ot||U.getWhatDay(Date.now(),0,"first");const ne=pe.value;zt?G=U.getWhatDay(G,-1):Mt?G=U.getWhatWeek(G,-1,ne):on?G=U.getWhatDay(G,1):$&&(G=U.getWhatWeek(G,1,ne)),Fi(G)}}},Ra=Ce=>{const{isActivated:et}=s;if(et){const ot=rr(Ce,zn.PAGE_UP);Ce.preventDefault(),ot?kr(Ce):Nr(Ce)}},yl=()=>{const{type:Ce}=e,et=g.value,ot=T.value;["year","quarter","month","week"].indexOf(Ce)>-1?s.datePanelType=Ce:s.datePanelType="day",s.currentDate=U.getWhatDay(Date.now(),0,"first"),ot?(Vt(ot,0),Ee(ot)):bn(),et&&(s.datetimePanelValue=s.datePanelValue||U.getWhatDay(Date.now(),0,"first"),Oe(()=>{const Tt=f.value;U.arrayEach(Tt.querySelectorAll("li.is--selected"),$r)}))},Vr=()=>{s.panelIndexOe().then(()=>{const{transfer:Ce,placement:et}=e,{panelIndex:ot}=s,Tt=c.value,zt=d.value;if(Tt&&zt){const Mt=Tt.offsetHeight,on=Tt.offsetWidth,$=zt.offsetHeight,G=zt.offsetWidth,ne=5,de={zIndex:ot},{boundingTop:we,boundingLeft:Me,visibleHeight:Le,visibleWidth:Je}=L0(Tt);let Ye="bottom";if(console.log(L0(Tt)),Ce){let tt=Me,Ze=we+Mt;et==="top"?(Ye="top",Ze=we-$):et||(Ze+$+ne>Le&&(Ye="top",Ze=we-$),ZeJe&&(tt-=tt+G+ne-Je),ttLe&&we-Mt-$>ne&&(Ye="top",de.bottom=`${Mt}px`);return s.panelStyle=de,s.panelPlacement=Ye,Oe()}}),bl=()=>{const{disabled:Ce}=e,{visiblePanel:et}=s,ot=E.value;return!Ce&&!et?(s.inited||(s.inited=!0),clearTimeout(oe),s.isActivated=!0,s.animatVisible=!0,ot&&yl(),setTimeout(()=>{s.visiblePanel=!0},10),Vr(),di()):Oe()},Mc=Ce=>{const{readonly:et}=e;et||(Ce.preventDefault(),bl())},xp=Ce=>{Ge(Ce)},cv=Ce=>{const{disabled:et}=e,{visiblePanel:ot,isActivated:Tt}=s,zt=E.value,Mt=u.value,on=d.value;!et&&Tt&&(s.isActivated=Ar(Ce,Mt).flag||Ar(Ce,on).flag,s.isActivated||(zt?ot&&(Xe(),Ft()):Ft()))},Eg=Ce=>{const{clearable:et,disabled:ot}=e,{visiblePanel:Tt}=s,zt=E.value;if(!ot){const Mt=rr(Ce,zn.TAB),on=rr(Ce,zn.DELETE),$=rr(Ce,zn.ESCAPE),G=rr(Ce,zn.ENTER),ne=rr(Ce,zn.ARROW_LEFT),de=rr(Ce,zn.ARROW_UP),we=rr(Ce,zn.ARROW_RIGHT),Me=rr(Ce,zn.ARROW_DOWN),Le=rr(Ce,zn.PAGE_UP),Je=rr(Ce,zn.PAGE_DOWN),Ye=ne||de||we||Me;let tt=s.isActivated;Mt?(tt&&Ft(),tt=!1,s.isActivated=tt):Ye?zt&&tt&&(Tt?wi(Ce):(de||Me)&&Mc(Ce)):G?zt&&(Tt?s.datePanelValue?Ba(s.datePanelValue):Xe():tt&&Mc(Ce)):(Le||Je)&&zt&&tt&&Ra(Ce),Mt||$?Tt&&Xe():on&&et&&tt&&it(Ce,null)}},dv=Ce=>{const{disabled:et}=e,{visiblePanel:ot}=s;if(!et&&ot){const Tt=d.value;Ar(Ce,Tt).flag?di():(Xe(),Ft())}},Wd=()=>{const{isActivated:Ce,visiblePanel:et}=s;et?(Xe(),Ft()):Ce&&Ft()},Ts=(Ce,et)=>{const{festivalMethod:ot}=e;if(ot){const{datePanelType:Tt}=s,zt=ot({type:Tt,viewType:Tt,date:Ce.date,$input:h}),Mt=zt?U.isString(zt)?{label:zt}:zt:{},on=Mt.extra?U.isString(Mt.extra)?{label:Mt.extra}:Mt.extra:null,$=[W("span",{class:["vxe-input--date-label",{"is-notice":Mt.notice}]},on&&on.label?[W("span",et),W("span",{class:["vxe-input--date-label--extra",on.important?"is-important":"",on.className],style:on.style},U.toValueString(on.label))]:et)],G=Mt.label;if(G){const ne=U.toValueString(G).split(",");$.push(W("span",{class:["vxe-input--date-festival",Mt.important?"is-important":"",Mt.className],style:Mt.style},[ne.length>1?W("span",{class:["vxe-input--date-festival--overlap",`overlap--${ne.length}`]},ne.map(de=>W("span",de.substring(0,3)))):W("span",{class:"vxe-input--date-festival--label"},ne[0].substring(0,3))]))}return $}return et},wg=()=>{const{multiple:Ce}=e,{datePanelType:et,datePanelValue:ot}=s,Tt=T.value,zt=Q.value,Mt=Fe.value,on=L.value,$="yyyyMMdd";return[W("table",{class:`vxe-input--date-${et}-view`,cellspacing:0,cellpadding:0,border:0},[W("thead",[W("tr",zt.map(G=>W("th",G.label)))]),W("tbody",Mt.map(G=>W("tr",G.map(ne=>W("td",{class:{"is--prev":ne.isPrev,"is--current":ne.isCurrent,"is--now":ne.isNow,"is--next":ne.isNext,"is--disabled":Ur(ne),"is--selected":Ce?on.some(de=>U.isDateSame(de,ne.date,$)):U.isDateSame(Tt,ne.date,$),"is--hover":U.isDateSame(ot,ne.date,$)},onClick:()=>Za(ne),onMouseenter:()=>vn(ne)},Ts(ne,ne.label))))))])]},fv=()=>{const{multiple:Ce}=e,{datePanelType:et,datePanelValue:ot}=s,Tt=T.value,zt=ie.value,Mt=me.value,on=L.value,$="yyyyMMdd";return[W("table",{class:`vxe-input--date-${et}-view`,cellspacing:0,cellpadding:0,border:0},[W("thead",[W("tr",zt.map(G=>W("th",G.label)))]),W("tbody",Mt.map(G=>{const ne=Ce?G.some(we=>on.some(Me=>U.isDateSame(Me,we.date,$))):G.some(we=>U.isDateSame(Tt,we.date,$)),de=G.some(we=>U.isDateSame(ot,we.date,$));return W("tr",G.map(we=>W("td",{class:{"is--prev":we.isPrev,"is--current":we.isCurrent,"is--now":we.isNow,"is--next":we.isNext,"is--disabled":Ur(we),"is--selected":ne,"is--hover":de},onClick:()=>Za(we),onMouseenter:()=>vn(we)},Ts(we,we.label))))}))])]},Sg=()=>{const{multiple:Ce}=e,{datePanelType:et,datePanelValue:ot}=s,Tt=T.value,zt=Z.value,Mt=L.value,on="yyyyMM";return[W("table",{class:`vxe-input--date-${et}-view`,cellspacing:0,cellpadding:0,border:0},[W("tbody",zt.map($=>W("tr",$.map(G=>W("td",{class:{"is--prev":G.isPrev,"is--current":G.isCurrent,"is--now":G.isNow,"is--next":G.isNext,"is--disabled":Ur(G),"is--selected":Ce?Mt.some(ne=>U.isDateSame(ne,G.date,on)):U.isDateSame(Tt,G.date,on),"is--hover":U.isDateSame(ot,G.date,on)},onClick:()=>Za(G),onMouseenter:()=>vn(G)},Ts(G,fe.i18n(`vxe.input.date.months.m${G.month}`)))))))])]},Ag=()=>{const{multiple:Ce}=e,{datePanelType:et,datePanelValue:ot}=s,Tt=T.value,zt=ce.value,Mt=L.value,on="yyyyq";return[W("table",{class:`vxe-input--date-${et}-view`,cellspacing:0,cellpadding:0,border:0},[W("tbody",zt.map($=>W("tr",$.map(G=>W("td",{class:{"is--prev":G.isPrev,"is--current":G.isCurrent,"is--now":G.isNow,"is--next":G.isNext,"is--disabled":Ur(G),"is--selected":Ce?Mt.some(ne=>U.isDateSame(ne,G.date,on)):U.isDateSame(Tt,G.date,on),"is--hover":U.isDateSame(ot,G.date,on)},onClick:()=>Za(G),onMouseenter:()=>vn(G)},Ts(G,fe.i18n(`vxe.input.date.quarters.q${G.quarter}`)))))))])]},Dg=()=>{const{multiple:Ce}=e,{datePanelType:et,datePanelValue:ot}=s,Tt=T.value,zt=X.value,Mt=L.value,on="yyyy";return[W("table",{class:`vxe-input--date-${et}-view`,cellspacing:0,cellpadding:0,border:0},[W("tbody",zt.map($=>W("tr",$.map(G=>W("td",{class:{"is--prev":G.isPrev,"is--current":G.isCurrent,"is--now":G.isNow,"is--next":G.isNext,"is--disabled":Ur(G),"is--selected":Ce?Mt.some(ne=>U.isDateSame(ne,G.date,on)):U.isDateSame(Tt,G.date,on),"is--hover":U.isDateSame(ot,G.date,on)},onClick:()=>Za(G),onMouseenter:()=>vn(G)},Ts(G,G.year))))))])]},Tg=()=>{const{datePanelType:Ce}=s;switch(Ce){case"week":return fv();case"month":return Sg();case"quarter":return Ag();case"year":return Dg()}return wg()},pv=()=>{const{multiple:Ce}=e,{datePanelType:et}=s,ot=O.value,Tt=N.value,zt=ae.value;return[W("div",{class:"vxe-input--date-picker-header"},[W("div",{class:"vxe-input--date-picker-type-wrapper"},[et==="year"?W("span",{class:"vxe-input--date-picker-label"},zt):W("span",{class:"vxe-input--date-picker-btn",onClick:cr},zt)]),W("div",{class:"vxe-input--date-picker-btn-wrapper"},[W("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-prev-btn",{"is--disabled":ot}],onClick:kr},[W("i",{class:"vxe-icon-caret-left"})]),W("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-current-btn",onClick:Sa},[W("i",{class:"vxe-icon-dot"})]),W("span",{class:["vxe-input--date-picker-btn vxe-input--date-picker-next-btn",{"is--disabled":Tt}],onClick:Nr},[W("i",{class:"vxe-icon-caret-right"})]),Ce&&M.value?W("span",{class:"vxe-input--date-picker-btn vxe-input--date-picker-confirm-btn"},[W("button",{class:"vxe-input--date-picker-confirm",type:"button",onClick:Pi},fe.i18n("vxe.button.confirm"))]):null])]),W("div",{class:"vxe-input--date-picker-body"},Tg())]},hv=()=>{const{datetimePanelValue:Ce}=s,et=V.value,ot=te.value,Tt=ue.value,zt=Se.value;return[W("div",{class:"vxe-input--time-picker-header"},[W("span",{class:"vxe-input--time-picker-title"},et),W("button",{class:"vxe-input--time-picker-confirm",type:"button",onClick:Pi},fe.i18n("vxe.button.confirm"))]),W("div",{ref:f,class:"vxe-input--time-picker-body"},[W("ul",{class:"vxe-input--time-picker-hour-list"},ot.map((Mt,on)=>W("li",{key:on,class:{"is--selected":Ce&&Ce.getHours()===Mt.value},onClick:$=>Ei($,Mt)},Mt.label))),W("ul",{class:"vxe-input--time-picker-minute-list"},Tt.map((Mt,on)=>W("li",{key:on,class:{"is--selected":Ce&&Ce.getMinutes()===Mt.value},onClick:$=>Ji($,Mt)},Mt.label))),W("ul",{class:"vxe-input--time-picker-second-list"},zt.map((Mt,on)=>W("li",{key:on,class:{"is--selected":Ce&&Ce.getSeconds()===Mt.value},onClick:$=>Ds($,Mt)},Mt.label)))])]},kg=()=>{const{type:Ce,transfer:et}=e,{inited:ot,animatVisible:Tt,visiblePanel:zt,panelPlacement:Mt,panelStyle:on}=s,$=l.value,G=E.value,ne=[];return G?(Ce==="datetime"?ne.push(W("div",{class:"vxe-input--panel-layout-wrapper"},[W("div",{class:"vxe-input--panel-left-wrapper"},pv()),W("div",{class:"vxe-input--panel-right-wrapper"},hv())])):Ce==="time"?ne.push(W("div",{class:"vxe-input--panel-wrapper"},hv())):ne.push(W("div",{class:"vxe-input--panel-wrapper"},pv())),W(Bd,{to:"body",disabled:et?!ot:!0},[W("div",{ref:d,class:["vxe-table--ignore-clear vxe-input--panel",`type--${Ce}`,{[`size--${$}`]:$,"is--transfer":et,"animat--leave":Tt,"animat--enter":zt}],placement:Mt,style:on},ne)])):null},_g=()=>{const Ce=qe.value,et=xe.value;return W("span",{class:"vxe-input--number-suffix"},[W("span",{class:["vxe-input--number-prev is--prev",{"is--disabled":Ce}],onMousedown:wa,onMouseup:ba,onMouseleave:ba},[W("i",{class:["vxe-input--number-prev-icon",fe.icon.INPUT_PREV_NUM]})]),W("span",{class:["vxe-input--number-next is--next",{"is--disabled":et}],onMousedown:wa,onMouseup:ba,onMouseleave:ba},[W("i",{class:["vxe-input--number-next-icon",fe.icon.INPUT_NEXT_NUM]})])])},xg=()=>W("span",{class:"vxe-input--date-picker-suffix",onClick:Mc},[W("i",{class:["vxe-input--date-picker-icon",fe.icon.INPUT_DATE]})]),Gd=()=>W("span",{class:"vxe-input--search-suffix",onClick:Kn},[W("i",{class:["vxe-input--search-icon",fe.icon.INPUT_SEARCH]})]),Mp=()=>{const{showPwd:Ce}=s;return W("span",{class:"vxe-input--password-suffix",onClick:Nn},[W("i",{class:["vxe-input--password-icon",Ce?fe.icon.INPUT_SHOW_PWD:fe.icon.INPUT_PWD]})])},mv=()=>{const{prefixIcon:Ce}=e,et=n.prefix,ot=[];return et?ot.push(W("span",{class:"vxe-input--prefix-icon"},et({}))):Ce&&ot.push(W("i",{class:["vxe-input--prefix-icon",Ce]})),ot.length?W("span",{class:"vxe-input--prefix",onClick:ge},ot):null},Mg=()=>{const{disabled:Ce,suffixIcon:et}=e,{inputValue:ot}=s,Tt=n.suffix,zt=k.value,Mt=[];return Tt?Mt.push(W("span",{class:"vxe-input--suffix-icon"},Tt({}))):et&&Mt.push(W("i",{class:["vxe-input--suffix-icon",et]})),zt&&Mt.push(W("i",{class:["vxe-input--clear-icon",fe.icon.INPUT_CLEAR]})),Mt.length?W("span",{class:["vxe-input--suffix",{"is--clear":zt&&!Ce&&!(ot===""||U.eqNull(ot))}],onClick:xt},Mt):null},Bp=()=>{const{controls:Ce}=e,et=b.value,ot=E.value,Tt=w.value,zt=S.value;let Mt;return Tt?Mt=Mp():et?Ce&&(Mt=_g()):ot?Mt=xg():zt&&(Mt=Gd()),Mt?W("span",{class:"vxe-input--extra-suffix"},[Mt]):null};m={dispatchEvent(Ce,et,ot){r(Ce,Object.assign({$input:h,$event:ot},et))},focus(){const Ce=c.value;return s.isActivated=!0,Ce.focus(),Oe()},blur(){return c.value.blur(),s.isActivated=!1,Oe()},select(){return c.value.select(),s.isActivated=!1,Oe()},showPanel:bl,hidePanel:Xe,updatePlacement:di},Object.assign(h,m),$e(()=>e.modelValue,Ce=>{s.inputValue=Ce,pn()}),$e(()=>e.type,()=>{Object.assign(s,{inputValue:e.modelValue,datetimePanelValue:null,datePanelValue:null,datePanelLabel:"",datePanelType:"day",selectMonth:null,currentDate:null}),Qe()}),$e(z,()=>{E.value&&(Ee(s.datePanelValue),s.inputValue=e.multiple?P.value:s.datePanelLabel)}),Oe(()=>{Un.on(h,"mousewheel",dv),Un.on(h,"mousedown",cv),Un.on(h,"keydown",Eg),Un.on(h,"blur",Wd)}),la(()=>{ba(),Un.off(h,"mousewheel"),Un.off(h,"mousedown"),Un.off(h,"keydown"),Un.off(h,"blur")}),Qe();const Rp=()=>{const{className:Ce,controls:et,type:ot,align:Tt,showWordCount:zt,countMethod:Mt,name:on,disabled:$,readonly:G,autocomplete:ne}=e,{inputValue:de,visiblePanel:we,isActivated:Me}=s,Le=l.value,Je=y.value,Ye=C.value,tt=E.value,Ze=Ae.value,ht=De.value,At=Ne.value,Ct=je.value,Dt=[],St=mv(),_t=Mg();St&&Dt.push(St),Dt.push(W("input",{ref:c,class:"vxe-input--inner",value:de,name:on,type:At,placeholder:Ct,maxlength:ht,readonly:Ze,disabled:$,autocomplete:ne,onKeydown:Tr,onKeyup:jr,onWheel:ut,onClick:xp,onInput:nt,onChange:ze,onFocus:Ie,onBlur:It})),_t&&Dt.push(_t),Dt.push(Bp()),tt&&Dt.push(kg());let vt=!1;return zt&&["text","search"].includes(ot)&&(vt=!0,Dt.push(W("span",{class:["vxe-input--count",{"is--error":Je}]},Mt?`${Mt({value:de})}`:`${Ye}${ht?`/${ht}`:""}`))),W("div",{ref:u,class:["vxe-input",`type--${ot}`,Ce,{[`size--${Le}`]:Le,[`is--${Tt}`]:Tt,"is--controls":et,"is--prefix":!!St,"is--suffix":!!_t,"is--readonly":G,"is--visivle":we,"is--count":vt,"is--disabled":$,"is--active":Me}]},Dt)};return h.renderVN=Rp,h},render(){return this.renderVN()}}),Dl=Ve({name:"VxeCheckbox",props:{modelValue:[String,Number,Boolean],label:{type:[String,Number],default:null},indeterminate:Boolean,title:[String,Number],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},content:[String,Number],disabled:Boolean,size:{type:String,default:()=>fe.checkbox.size||fe.size}},emits:["update:modelValue","change"],setup(e,t){const{slots:n,emit:r}=t,a=lt("$xeform",null),i=lt("$xeformiteminfo",null),l={xID:U.uniqueId(),props:e,context:t};let s={};const u=ai(e),c=lt("$xecheckboxgroup",null),d=R(()=>c?U.includes(c.props.modelValue,e.label):e.modelValue===e.checkedValue),f=R(()=>{if(e.disabled)return!0;if(c){const{props:m}=c,{computeIsMaximize:v}=c.getComputeMaps(),g=v.value,b=d.value;return m.disabled||g&&!b}return!1}),p=m=>{const{checkedValue:v,uncheckedValue:g}=e;if(!f.value){const C=m.target.checked,y=C?v:g,E={checked:C,value:y,label:e.label};c?c.handleChecked(E,m):(r("update:modelValue",y),s.dispatchEvent("change",E,m),a&&i&&a.triggerItemEvent(m,i.itemConfig.field,y))}};s={dispatchEvent(m,v,g){r(m,Object.assign({$checkbox:l,$event:g},v))}},Object.assign(l,s);const h=()=>{const m=u.value,v=f.value,g=d.value,b=e.indeterminate;return W("label",{class:["vxe-checkbox",{[`size--${m}`]:m,"is--indeterminate":b,"is--disabled":v,"is--checked":g}],title:e.title},[W("input",{class:"vxe-checkbox--input",type:"checkbox",disabled:v,checked:g,onChange:p}),W("span",{class:["vxe-checkbox--icon",b?"vxe-icon-checkbox-indeterminate":g?"vxe-icon-checkbox-checked":"vxe-icon-checkbox-unchecked"]}),W("span",{class:"vxe-checkbox--label"},n.default?n.default({}):Ea(e.content))])};return l.renderVN=h,l},render(){return this.renderVN()}});function of(e){return e.visible!==!1}function oSt(){return U.uniqueId("opt_")}const bm=Ve({name:"VxeSelect",props:{modelValue:null,clearable:Boolean,placeholder:{type:String,default:()=>U.eqNull(fe.select.placeholder)?fe.i18n("vxe.base.pleaseSelect"):fe.select.placeholder},loading:Boolean,disabled:Boolean,multiple:Boolean,multiCharOverflow:{type:[Number,String],default:()=>fe.select.multiCharOverflow},prefixIcon:String,placement:String,options:Array,optionProps:Object,optionGroups:Array,optionGroupProps:Object,optionConfig:Object,className:[String,Function],popupClassName:[String,Function],max:{type:[String,Number],default:null},size:{type:String,default:()=>fe.select.size||fe.size},filterable:Boolean,filterMethod:Function,remote:Boolean,remoteMethod:Function,emptyText:String,optionId:{type:String,default:()=>fe.select.optionId},optionKey:Boolean,transfer:{type:Boolean,default:()=>fe.select.transfer}},emits:["update:modelValue","change","clear","blur","focus"],setup(e,t){const{slots:n,emit:r}=t,a=lt("$xeform",null),i=lt("$xeformiteminfo",null),o=U.uniqueId(),l=ai(e),s=dn({inited:!1,staticOptions:[],fullGroupList:[],fullOptionList:[],visibleGroupList:[],visibleOptionList:[],remoteValueList:[],panelIndex:0,panelStyle:{},panelPlacement:null,currentOption:null,currentValue:null,visiblePanel:!1,animatVisible:!1,isActivated:!1,searchValue:"",searchLoading:!1}),u=j(),c=j(),d=j(),f=j(),p=j(),h={refElem:u},m={xID:o,props:e,context:t,reactData:s,getRefMaps:()=>h};let v={};const g=R(()=>e.optionProps||{}),b=R(()=>e.optionGroupProps||{}),C=R(()=>g.value.label||"label"),y=R(()=>g.value.value||"value"),E=R(()=>b.value.label||"label"),w=R(()=>b.value.options||"options"),S=R(()=>{const{modelValue:ve,multiple:Ge,max:Ke}=e;return Ge&&Ke?(ve?ve.length:0)>=U.toNumber(Ke):!1}),A=R(()=>Object.assign({},fe.select.optionConfig,e.optionConfig)),D=R(()=>s.fullGroupList.some(ve=>ve.options&&ve.options.length)),k=R(()=>U.toNumber(e.multiCharOverflow)),x=(ve,Ge)=>ve&&(U.isString(ve)&&(ve=n[ve]||null),U.isFunction(ve))?Wr(ve(Ge)):[],_=ve=>{const{fullOptionList:Ge,fullGroupList:Ke}=s,rt=D.value,nt=y.value;if(rt)for(let ze=0;zeve===ze[nt])},M=ve=>{const{remoteValueList:Ge}=s,Ke=C.value,rt=Ge.find(ze=>ve===ze.key),nt=rt?rt.result:null;return U.toValueString(nt?nt[Ke]:ve)},L=ve=>{const Ge=C.value,Ke=_(ve);return U.toValueString(Ke?Ke[Ge]:ve)},I=R(()=>{const{modelValue:ve,multiple:Ge,remote:Ke}=e,rt=k.value;if(ve&&Ge){const nt=U.isArray(ve)?ve:[ve];return Ke?nt.map(ze=>M(ze)).join(", "):nt.map(ze=>{const Ie=L(ze);return rt>0&&Ie.length>rt?`${Ie.substring(0,rt)}...`:Ie}).join(", ")}return Ke?M(ve):L(ve)}),P=()=>A.value.keyField||e.optionId||"_X_OPTION_KEY",B=ve=>{const Ge=ve[P()];return Ge?encodeURIComponent(Ge):""},T=()=>{const{filterable:ve,filterMethod:Ge}=e,{fullOptionList:Ke,fullGroupList:rt,searchValue:nt}=s,ze=D.value,Ie=E.value,ge=C.value;return ze?ve&&Ge?s.visibleGroupList=rt.filter(oe=>of(oe)&&Ge({group:oe,option:null,searchValue:nt})):ve?s.visibleGroupList=rt.filter(oe=>of(oe)&&(!nt||`${oe[Ie]}`.indexOf(nt)>-1)):s.visibleGroupList=rt.filter(of):ve&&Ge?s.visibleOptionList=Ke.filter(oe=>of(oe)&&Ge({group:null,option:oe,searchValue:nt})):ve?s.visibleOptionList=Ke.filter(oe=>of(oe)&&(!nt||`${oe[ge]}`.indexOf(nt)>-1)):s.visibleOptionList=Ke.filter(of),Oe()},O=()=>{const{fullOptionList:ve,fullGroupList:Ge}=s,Ke=w.value,rt=P(),nt=ze=>{B(ze)||(ze[rt]=oSt())};Ge.length?Ge.forEach(ze=>{nt(ze),ze[Ke]&&ze[Ke].forEach(nt)}):ve.length&&ve.forEach(nt),T()},N=ve=>{const Ge=y.value;ve&&(s.currentOption=ve,s.currentValue=ve[Ge])},V=(ve,Ge)=>Oe().then(()=>{if(ve){const Ke=f.value,nt=p.value.querySelector(`[optid='${B(ve)}']`);if(Ke&&nt){const ze=Ke.offsetHeight,Ie=5;Ge?nt.offsetTop+nt.offsetHeight-Ke.scrollTop>ze&&(Ke.scrollTop=nt.offsetTop+nt.offsetHeight-ze):(nt.offsetTop+IeKe.scrollTop+Ke.clientHeight)&&(Ke.scrollTop=nt.offsetTop-Ie)}}}),Y=()=>{s.panelIndexOe().then(()=>{const{transfer:ve,placement:Ge}=e,{panelIndex:Ke}=s,rt=u.value,nt=p.value;if(nt&&rt){const ze=rt.offsetHeight,Ie=rt.offsetWidth,ge=nt.offsetHeight,oe=nt.offsetWidth,Xe=5,it={zIndex:Ke},{boundingTop:xt,boundingLeft:Ee,visibleHeight:pn,visibleWidth:Qe}=L0(rt);let ct="bottom";if(ve){let gt=Ee,an=xt+ze;Ge==="top"?(ct="top",an=xt-ge):Ge||(an+ge+Xe>pn&&(ct="top",an=xt-ge),anQe&&(gt-=gt+oe+Xe-Qe),gtpn&&xt-ze-ge>Xe&&(ct="top",it.bottom=`${ze}px`);return s.panelStyle=it,s.panelPlacement=ct,Oe()}});let ee;const ae=()=>{const{loading:ve,disabled:Ge,filterable:Ke}=e;!ve&&!Ge&&(clearTimeout(ee),s.inited||(s.inited=!0),s.isActivated=!0,s.animatVisible=!0,Ke&&T(),setTimeout(()=>{const{modelValue:rt,multiple:nt}=e,ze=_(nt&&rt?rt[0]:rt);s.visiblePanel=!0,ze&&(N(ze),V(ze)),Fe()},10),Y(),z())},pe=()=>{s.searchValue="",s.searchLoading=!1,s.visiblePanel=!1,ee=window.setTimeout(()=>{s.animatVisible=!1},350)},re=(ve,Ge)=>{Ge!==e.modelValue&&(r("update:modelValue",Ge),v.dispatchEvent("change",{value:Ge},ve),a&&i&&a.triggerItemEvent(ve,i.itemConfig.field,Ge))},Q=(ve,Ge)=>{s.remoteValueList=[],re(ve,Ge),v.dispatchEvent("clear",{value:Ge},ve)},ie=(ve,Ge)=>{Q(Ge,null),pe()},X=(ve,Ge,Ke)=>{const{modelValue:rt,multiple:nt}=e,{remoteValueList:ze}=s;if(nt){let Ie;rt?rt.indexOf(Ge)===-1?Ie=rt.concat([Ge]):Ie=rt.filter(oe=>oe!==Ge):Ie=[Ge];const ge=ze.find(oe=>oe.key===Ge);ge?ge.result=Ke:ze.push({key:Ge,result:Ke}),re(ve,Ie)}else s.remoteValueList=[{key:Ge,result:Ke}],re(ve,Ge),pe()},q=ve=>{const{disabled:Ge}=e,{visiblePanel:Ke}=s;if(!Ge&&Ke){const rt=p.value;Ar(ve,rt).flag?z():pe()}},ce=ve=>{const{disabled:Ge}=e,{visiblePanel:Ke}=s;if(!Ge){const rt=u.value,nt=p.value;s.isActivated=Ar(ve,rt).flag||Ar(ve,nt).flag,Ke&&!s.isActivated&&pe()}},K=(ve,Ge)=>{const{visibleOptionList:Ke,visibleGroupList:rt}=s,nt=D.value,ze=y.value,Ie=w.value;let ge,oe,Xe,it;if(nt)for(let xt=0;xt{const{clearable:Ge,disabled:Ke}=e,{visiblePanel:rt,currentValue:nt,currentOption:ze}=s;if(!Ke){const Ie=rr(ve,zn.TAB),ge=rr(ve,zn.ENTER),oe=rr(ve,zn.ESCAPE),Xe=rr(ve,zn.ARROW_UP),it=rr(ve,zn.ARROW_DOWN),xt=rr(ve,zn.DELETE),Ee=rr(ve,zn.SPACEBAR);if(Ie&&(s.isActivated=!1),rt)if(oe||Ie)pe();else if(ge)ve.preventDefault(),ve.stopPropagation(),X(ve,nt,ze);else if(Xe||it){ve.preventDefault();let{firstOption:pn,offsetOption:Qe}=K(nt,Xe);!Qe&&!_(nt)&&(Qe=pn),N(Qe),V(Qe,it)}else Ee&&ve.preventDefault();else(Xe||it||ge||Ee)&&s.isActivated&&(ve.preventDefault(),ae());s.isActivated&&xt&&Ge&&Q(ve,null)}},se=()=>{pe()},Fe=()=>{e.filterable&&Oe(()=>{const ve=d.value;ve&&ve.focus()})},me=ve=>{e.disabled||(s.isActivated=!0),v.dispatchEvent("focus",{},ve)},te=ve=>{s.isActivated=!1,v.dispatchEvent("blur",{},ve)},ue=ve=>{s.searchValue=ve},Se=()=>{s.isActivated=!0},Ae=ve=>{const{$event:Ge}=ve;rr(Ge,zn.ENTER)&&(Ge.preventDefault(),Ge.stopPropagation())},Ne=U.debounce(function(){const{remote:ve,remoteMethod:Ge}=e,{searchValue:Ke}=s;ve&&Ge?(s.searchLoading=!0,Promise.resolve(Ge({searchValue:Ke})).then(()=>Oe()).catch(()=>Oe()).finally(()=>{s.searchLoading=!1,T()})):T()},350,{trailing:!0}),je=ve=>{const{$event:Ge}=ve;Ge.preventDefault(),s.visiblePanel?pe():ae()},De=(ve,Ge,Ke)=>!!(Ge.disabled||Ke&&Ke.disabled||S.value&&!ve),he=(ve,Ge)=>{const{optionKey:Ke,modelValue:rt,multiple:nt}=e,{currentValue:ze}=s,Ie=A.value,ge=C.value,oe=y.value,Xe=D.value,{useKey:it}=Ie,xt=n.option;return ve.map((Ee,pn)=>{const{slots:Qe,className:ct}=Ee,gt=Ee[oe],an=nt?rt&&rt.indexOf(gt)>-1:rt===gt,Wt=!Xe||of(Ee),bt=De(an,Ee,Ge),Ft=B(Ee),It=Qe?Qe.default:null,Nn={option:Ee,group:null,$select:m};return Wt?W("div",{key:it||Ke?Ft:pn,class:["vxe-select-option",ct?U.isFunction(ct)?ct(Nn):ct:"",{"is--disabled":bt,"is--selected":an,"is--hover":ze===gt}],optid:Ft,onMousedown:Kn=>{Kn.button===0&&Kn.stopPropagation()},onClick:Kn=>{bt||X(Kn,gt,Ee)},onMouseenter:()=>{bt||N(Ee)}},xt?x(xt,Nn):It?x(It,Nn):_i(Ea(Ee[ge]))):null})},He=()=>{const{optionKey:ve}=e,{visibleGroupList:Ge}=s,Ke=A.value,rt=E.value,nt=w.value,{useKey:ze}=Ke,Ie=n.option;return Ge.map((ge,oe)=>{const{slots:Xe,className:it}=ge,xt=B(ge),Ee=ge.disabled,pn=Xe?Xe.default:null,Qe={option:ge,group:ge,$select:m};return W("div",{key:ze||ve?xt:oe,class:["vxe-optgroup",it?U.isFunction(it)?it(Qe):it:"",{"is--disabled":Ee}],optid:xt},[W("div",{class:"vxe-optgroup--title"},Ie?x(Ie,Qe):pn?x(pn,Qe):Ea(ge[rt])),W("div",{class:"vxe-optgroup--wrapper"},he(ge[nt]||[],ge))])})},xe=()=>{const{visibleGroupList:ve,visibleOptionList:Ge,searchLoading:Ke}=s,rt=D.value;if(Ke)return[W("div",{class:"vxe-select--search-loading"},[W("i",{class:["vxe-select--search-icon",fe.icon.SELECT_LOADED]}),W("span",{class:"vxe-select--search-text"},fe.i18n("vxe.select.loadingText"))])];if(rt){if(ve.length)return He()}else if(Ge.length)return he(Ge);return[W("div",{class:"vxe-select--empty-placeholder"},e.emptyText||fe.i18n("vxe.select.emptyText"))]};v={dispatchEvent(ve,Ge,Ke){r(ve,Object.assign({$select:m,$event:Ke},Ge))},isPanelVisible(){return s.visiblePanel},togglePanel(){return s.visiblePanel?pe():ae(),Oe()},hidePanel(){return s.visiblePanel&&pe(),Oe()},showPanel(){return s.visiblePanel||ae(),Oe()},refreshOption:T,focus(){const ve=c.value;return s.isActivated=!0,ve.blur(),Oe()},blur(){return c.value.blur(),s.isActivated=!1,Oe()}},Object.assign(m,v),$e(()=>s.staticOptions,ve=>{ve.some(Ge=>Ge.options&&Ge.options.length)?(s.fullOptionList=[],s.fullGroupList=ve):(s.fullGroupList=[],s.fullOptionList=ve||[]),O()}),$e(()=>e.options,ve=>{s.fullGroupList=[],s.fullOptionList=ve||[],O()}),$e(()=>e.optionGroups,ve=>{s.fullOptionList=[],s.fullGroupList=ve||[],O()}),Ut(()=>{Oe(()=>{const{options:ve,optionGroups:Ge}=e;Ge?s.fullGroupList=Ge:ve&&(s.fullOptionList=ve),O()}),Un.on(m,"mousewheel",q),Un.on(m,"mousedown",ce),Un.on(m,"keydown",Z),Un.on(m,"blur",se)}),la(()=>{Un.off(m,"mousewheel"),Un.off(m,"mousedown"),Un.off(m,"keydown"),Un.off(m,"blur")});const qe=()=>{const{className:ve,popupClassName:Ge,transfer:Ke,disabled:rt,loading:nt,filterable:ze}=e,{inited:Ie,isActivated:ge,visiblePanel:oe}=s,Xe=l.value,it=I.value,xt=n.default,Ee=n.header,pn=n.footer,Qe=n.prefix;return W("div",{ref:u,class:["vxe-select",ve?U.isFunction(ve)?ve({$select:m}):ve:"",{[`size--${Xe}`]:Xe,"is--visivle":oe,"is--disabled":rt,"is--filter":ze,"is--loading":nt,"is--active":ge}]},[W("div",{class:"vxe-select-slots",ref:"hideOption"},xt?xt({}):[]),W(bd,{ref:c,clearable:e.clearable,placeholder:e.placeholder,readonly:!0,disabled:rt,type:"text",prefixIcon:e.prefixIcon,suffixIcon:nt?fe.icon.SELECT_LOADED:oe?fe.icon.SELECT_OPEN:fe.icon.SELECT_CLOSE,modelValue:it,onClear:ie,onClick:je,onFocus:me,onBlur:te,onSuffixClick:je},Qe?{prefix:()=>Qe({})}:{}),W(Bd,{to:"body",disabled:Ke?!Ie:!0},[W("div",{ref:p,class:["vxe-table--ignore-clear vxe-select--panel",Ge?U.isFunction(Ge)?Ge({$select:m}):Ge:"",{[`size--${Xe}`]:Xe,"is--transfer":Ke,"animat--leave":!nt&&s.animatVisible,"animat--enter":!nt&&oe}],placement:s.panelPlacement,style:s.panelStyle},Ie?[ze?W("div",{class:"vxe-select--panel-search"},[W(bd,{ref:d,class:"vxe-select-search--input",modelValue:s.searchValue,clearable:!0,placeholder:fe.i18n("vxe.select.search"),prefixIcon:fe.icon.INPUT_SEARCH,"onUpdate:modelValue":ue,onFocus:Se,onKeydown:Ae,onChange:Ne,onSearch:Ne})]):Pe(),W("div",{class:"vxe-select--panel-wrapper"},[Ee?W("div",{class:"vxe-select--panel-header"},Ee({})):Pe(),W("div",{class:"vxe-select--panel-body"},[W("div",{ref:f,class:"vxe-select-option--wrapper"},xe())]),pn?W("div",{class:"vxe-select--panel-footer"},pn({})):Pe()])]:[])])])};return m.renderVN=qe,Qt("$xeselect",m),m},render(){return this.renderVN()}}),ore=Ve({name:"VxeTableExportPanel",props:{defaultOptions:Object,storeData:Object},setup(e){const t=lt("$xetable",{}),{computeExportOpts:n,computePrintOpts:r}=t.getComputeMaps(),a=dn({isAll:!1,isIndeterminate:!1,loading:!1}),i=j(),o=j(),l=j(),s=R(()=>{const{storeData:S}=e;return S.columns.every(A=>A.checked)}),u=R(()=>{const{defaultOptions:S}=e;return["html","xml","xlsx","pdf"].indexOf(S.type)>-1}),c=R(()=>{const{storeData:S,defaultOptions:A}=e;return!A.original&&A.mode==="current"&&(S.isPrint||["html","xlsx"].indexOf(A.type)>-1)}),d=R(()=>{const{defaultOptions:S}=e;return!S.original&&["xlsx"].indexOf(S.type)>-1}),f=S=>{const{storeData:A}=e,D=U.findTree(A.columns,k=>k===S);if(D&&D.parent){const{parent:k}=D;k.children&&k.children.length&&(k.checked=k.children.every(x=>x.checked),k.halfChecked=!k.checked&&k.children.some(x=>x.checked||x.halfChecked),f(k))}},p=()=>{const{storeData:S}=e,A=S.columns;a.isAll=A.every(D=>D.disabled||D.checked),a.isIndeterminate=!a.isAll&&A.some(D=>!D.disabled&&(D.checked||D.halfChecked))},h=S=>{const A=!S.checked;U.eachTree([S],D=>{D.checked=A,D.halfChecked=!1}),f(S),p()},m=()=>{const{storeData:S}=e,A=!a.isAll;U.eachTree(S.columns,D=>{D.disabled||(D.checked=A,D.halfChecked=!1)}),a.isAll=A,p()},v=()=>{Oe(()=>{const S=o.value,A=l.value,D=i.value,k=S||A||D;k&&k.focus()}),p()},g=()=>{const{storeData:S,defaultOptions:A}=e,{hasMerge:D,columns:k}=S,x=s.value,_=c.value,M=U.searchTree(k,L=>L.checked,{children:"children",mapChildren:"childNodes",original:!0});return Object.assign({},A,{columns:M,isMerge:D&&_&&x?A.isMerge:!1})},b=()=>{const{storeData:S}=e,A=r.value;S.visible=!1,t.print(Object.assign({},A,g()))},C=()=>{const{storeData:S}=e,A=n.value;a.loading=!0,t.exportData(Object.assign({},A,g())).then(()=>{a.loading=!1,S.visible=!1}).catch(()=>{a.loading=!1})},y=()=>{const{storeData:S}=e;S.visible=!1},E=()=>{const{storeData:S}=e;S.isPrint?b():C()};return()=>{const{defaultOptions:S,storeData:A}=e,{isAll:D,isIndeterminate:k}=a,{hasTree:x,hasMerge:_,isPrint:M,hasColgroup:L}=A,{isHeader:I}=S,P=[],B=s.value,T=u.value,O=c.value,N=d.value;return U.eachTree(A.columns,V=>{const Y=_i(V.getTitle(),1),z=V.children&&V.children.length,ee=V.checked,ae=V.halfChecked;P.push(W("li",{class:["vxe-export--panel-column-option",`level--${V.level}`,{"is--group":z,"is--checked":ee,"is--indeterminate":ae,"is--disabled":V.disabled}],title:Y,onClick:()=>{V.disabled||h(V)}},[W("span",{class:["vxe-checkbox--icon",ae?fe.icon.TABLE_CHECKBOX_INDETERMINATE:ee?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]}),W("span",{class:"vxe-checkbox--label"},Y)]))}),W(Yf,{modelValue:A.visible,title:fe.i18n(M?"vxe.export.printTitle":"vxe.export.expTitle"),className:"vxe-table-export-popup-wrapper",width:660,mask:!0,lockView:!0,showFooter:!1,escClosable:!0,maskClosable:!0,loading:a.loading,"onUpdate:modelValue"(V){A.visible=V},onShow:v},{default:()=>W("div",{class:"vxe-export--panel"},[W("table",{cellspacing:0,cellpadding:0,border:0},[W("tbody",[[M?Pe():W("tr",[W("td",fe.i18n("vxe.export.expName")),W("td",[W(bd,{ref:o,modelValue:S.filename,type:"text",clearable:!0,placeholder:fe.i18n("vxe.export.expNamePlaceholder"),"onUpdate:modelValue"(V){S.filename=V}})])]),M?Pe():W("tr",[W("td",fe.i18n("vxe.export.expType")),W("td",[W(bm,{modelValue:S.type,options:A.typeList.map(V=>({value:V.value,label:fe.i18n(V.label)})),"onUpdate:modelValue"(V){S.type=V}})])]),M||T?W("tr",[W("td",fe.i18n("vxe.export.expSheetName")),W("td",[W(bd,{ref:l,modelValue:S.sheetName,type:"text",clearable:!0,placeholder:fe.i18n("vxe.export.expSheetNamePlaceholder"),"onUpdate:modelValue"(V){S.sheetName=V}})])]):Pe(),W("tr",[W("td",fe.i18n("vxe.export.expMode")),W("td",[W(bm,{modelValue:S.mode,options:A.modeList.map(V=>({value:V.value,label:fe.i18n(V.label)})),"onUpdate:modelValue"(V){S.mode=V}})])]),W("tr",[W("td",[fe.i18n("vxe.export.expColumn")]),W("td",[W("div",{class:"vxe-export--panel-column"},[W("ul",{class:"vxe-export--panel-column-header"},[W("li",{class:["vxe-export--panel-column-option",{"is--checked":D,"is--indeterminate":k}],title:fe.i18n("vxe.table.allTitle"),onClick:m},[W("span",{class:["vxe-checkbox--icon",k?fe.icon.TABLE_CHECKBOX_INDETERMINATE:D?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]}),W("span",{class:"vxe-checkbox--label"},fe.i18n("vxe.export.expCurrentColumn"))])]),W("ul",{class:"vxe-export--panel-column-body"},P)])])]),W("tr",[W("td",fe.i18n("vxe.export.expOpts")),W("td",[W("div",{class:"vxe-export--panel-option-row"},[W(Dl,{modelValue:S.isHeader,title:fe.i18n("vxe.export.expHeaderTitle"),content:fe.i18n("vxe.export.expOptHeader"),"onUpdate:modelValue"(V){S.isHeader=V}}),W(Dl,{modelValue:S.isFooter,disabled:!A.hasFooter,title:fe.i18n("vxe.export.expFooterTitle"),content:fe.i18n("vxe.export.expOptFooter"),"onUpdate:modelValue"(V){S.isFooter=V}}),W(Dl,{modelValue:S.original,title:fe.i18n("vxe.export.expOriginalTitle"),content:fe.i18n("vxe.export.expOptOriginal"),"onUpdate:modelValue"(V){S.original=V}})]),W("div",{class:"vxe-export--panel-option-row"},[W(Dl,{modelValue:I&&L&&O?S.isColgroup:!1,title:fe.i18n("vxe.export.expColgroupTitle"),disabled:!I||!L||!O,content:fe.i18n("vxe.export.expOptColgroup"),"onUpdate:modelValue"(V){S.isColgroup=V}}),W(Dl,{modelValue:_&&O&&B?S.isMerge:!1,title:fe.i18n("vxe.export.expMergeTitle"),disabled:!_||!O||!B,content:fe.i18n("vxe.export.expOptMerge"),"onUpdate:modelValue"(V){S.isMerge=V}}),M?Pe():W(Dl,{modelValue:N?S.useStyle:!1,disabled:!N,title:fe.i18n("vxe.export.expUseStyleTitle"),content:fe.i18n("vxe.export.expOptUseStyle"),"onUpdate:modelValue"(V){S.useStyle=V}}),W(Dl,{modelValue:x?S.isAllExpand:!1,disabled:!x,title:fe.i18n("vxe.export.expAllExpandTitle"),content:fe.i18n("vxe.export.expOptAllExpand"),"onUpdate:modelValue"(V){S.isAllExpand=V}})])])])]])]),W("div",{class:"vxe-export--panel-btns"},[W(Ui,{content:fe.i18n("vxe.export.expCancel"),onClick:y}),W(Ui,{ref:i,status:"primary",content:fe.i18n(M?"vxe.export.expPrint":"vxe.export.expConfirm"),onClick:E})])])})}}}),Cm=Ve({name:"VxeRadio",props:{modelValue:[String,Number,Boolean],label:{type:[String,Number,Boolean],default:null},title:[String,Number],content:[String,Number],disabled:Boolean,name:String,strict:{type:Boolean,default:()=>fe.radio.strict},size:{type:String,default:()=>fe.radio.size||fe.size}},emits:["update:modelValue","change"],setup(e,t){const{slots:n,emit:r}=t,a=lt("$xeform",null),i=lt("$xeformiteminfo",null),l={xID:U.uniqueId(),props:e,context:t},s=ai(e),u=lt("$xeradiogroup",null);let c={};const d=R(()=>e.disabled||u&&u.props.disabled),f=R(()=>u?u.name:e.name),p=R(()=>u?u.props.strict:e.strict),h=R(()=>{const{modelValue:C,label:y}=e;return u?u.props.modelValue===y:C===y}),m=(C,y)=>{u?u.handleChecked({label:C},y):(r("update:modelValue",C),c.dispatchEvent("change",{label:C},y),a&&i&&a.triggerItemEvent(y,i.itemConfig.field,C))},v=C=>{d.value||m(e.label,C)},g=C=>{const y=d.value,E=p.value;!y&&!E&&e.label===(u?u.props.modelValue:e.modelValue)&&m(null,C)};c={dispatchEvent(C,y,E){r(C,Object.assign({$radio:l,$event:E},y))}},Object.assign(l,c);const b=()=>{const C=s.value,y=d.value,E=f.value,w=h.value;return W("label",{class:["vxe-radio",{[`size--${C}`]:C,"is--checked":w,"is--disabled":y}],title:e.title},[W("input",{class:"vxe-radio--input",type:"radio",name:E,checked:w,disabled:y,onChange:v,onClick:g}),W("span",{class:["vxe-radio--icon",w?"vxe-icon-radio-checked":"vxe-icon-radio-unchecked"]}),W("span",{class:"vxe-radio--label"},n.default?n.default({}):Ea(e.content))])};return l.renderVN=b,l},render(){return this.renderVN()}}),K1=Ve({name:"VxeRadioButton",props:{modelValue:[String,Number,Boolean],label:{type:[String,Number,Boolean],default:null},title:[String,Number],content:[String,Number],disabled:Boolean,strict:{type:Boolean,default:()=>fe.radioButton.strict},size:{type:String,default:()=>fe.radioButton.size||fe.size}},emits:["update:modelValue","change"],setup(e,t){const{slots:n,emit:r}=t,a=lt("$xeform",null),i=lt("$xeformiteminfo",null),o=U.uniqueId(),l=ai(e),s={xID:o,props:e,context:t};let u={};const c=lt("$xeradiogroup",null),d=R(()=>e.disabled||c&&c.props.disabled),f=R(()=>c?c.name:null),p=R(()=>c?c.props.strict:e.strict),h=R(()=>{const{modelValue:C,label:y}=e;return c?c.props.modelValue===y:C===y});u={dispatchEvent(C,y,E){r(C,Object.assign({$radioButton:s,$event:E},y))}},Object.assign(s,u);const m=(C,y)=>{c?c.handleChecked({label:C},y):(r("update:modelValue",C),u.dispatchEvent("change",{label:C},y),a&&i&&a.triggerItemEvent(y,i.itemConfig.field,C))},v=C=>{d.value||m(e.label,C)},g=C=>{const y=d.value,E=p.value;!y&&!E&&e.label===(c?c.props.modelValue:e.modelValue)&&m(null,C)},b=()=>{const C=l.value,y=d.value,E=f.value,w=h.value;return W("label",{class:["vxe-radio","vxe-radio-button",{[`size--${C}`]:C,"is--disabled":y}],title:e.title},[W("input",{class:"vxe-radio--input",type:"radio",name:E,checked:w,disabled:y,onChange:v,onClick:g}),W("span",{class:"vxe-radio--label"},n.default?n.default({}):Ea(e.content))])};return Object.assign(s,{renderVN:b,dispatchEvent}),b}}),Fm=Ve({name:"VxeRadioGroup",props:{modelValue:[String,Number,Boolean],disabled:Boolean,type:String,options:Array,optionProps:Object,strict:{type:Boolean,default:()=>fe.radioGroup.strict},size:{type:String,default:()=>fe.radioGroup.size||fe.size}},emits:["update:modelValue","change"],setup(e,t){const{slots:n,emit:r}=t,a=lt("$xeform",null),i=lt("$xeformiteminfo",null),l={xID:U.uniqueId(),props:e,context:t,name:U.uniqueId("xegroup_")},s=R(()=>e.optionProps||{}),u=R(()=>s.value.label||"label"),c=R(()=>s.value.value||"value"),d=R(()=>s.value.disabled||"disabled");let f={};ai(e);const p={handleChecked(m,v){r("update:modelValue",m.label),f.dispatchEvent("change",m),a&&i&&a.triggerItemEvent(v,i.itemConfig.field,m.label)}};f={dispatchEvent(m,v,g){r(m,Object.assign({$radioGroup:l,$event:g},v))}};const h=()=>{const{options:m,type:v}=e,g=n.default,b=c.value,C=u.value,y=d.value,E=v==="button"?K1:Cm;return W("div",{class:"vxe-radio-group"},g?g({}):m?m.map(w=>W(E,{label:w[b],content:w[C],disabled:w[y]})):[])};return Object.assign(l,p,{renderVN:h,dispatchEvent}),Qt("$xeradiogroup",l),h}}),lre=Ve({name:"VxeTableImportPanel",props:{defaultOptions:Object,storeData:Object},setup(e){const t=lt("$xetable",{}),{computeImportOpts:n}=t.getComputeMaps(),r=dn({loading:!1}),a=j(),i=R(()=>{const{storeData:h}=e;return`${h.filename}.${h.type}`}),o=R(()=>{const{storeData:h}=e;return h.file&&h.type}),l=R(()=>{const{storeData:h}=e,{type:m,typeList:v}=h;if(m){const g=U.find(v,b=>m===b.value);return g?fe.i18n(g.label):"*.*"}return`*.${v.map(g=>g.value).join(", *.")}`}),s=()=>{const{storeData:h}=e;Object.assign(h,{filename:"",sheetName:"",type:""})},u=()=>{const{storeData:h,defaultOptions:m}=e;t.readFile(m).then(v=>{const{file:g}=v;Object.assign(h,vwt(g),{file:g})}).catch(v=>v)},c=()=>{Oe(()=>{const h=a.value;h&&h.focus()})},d=()=>{const{storeData:h}=e;h.visible=!1},f=()=>{const{storeData:h,defaultOptions:m}=e,v=n.value;r.loading=!0,t.importByFile(h.file,Object.assign({},v,m)).then(()=>{r.loading=!1,h.visible=!1}).catch(()=>{r.loading=!1})};return()=>{const{defaultOptions:h,storeData:m}=e,v=i.value,g=o.value,b=l.value;return W(Yf,{modelValue:m.visible,title:fe.i18n("vxe.import.impTitle"),className:"vxe-table-import-popup-wrapper",width:440,mask:!0,lockView:!0,showFooter:!1,escClosable:!0,maskClosable:!0,loading:r.loading,"onUpdate:modelValue"(C){m.visible=C},onShow:c},{default:()=>W("div",{class:"vxe-export--panel"},[W("table",{cellspacing:0,cellpadding:0,border:0},[W("tbody",[W("tr",[W("td",fe.i18n("vxe.import.impFile")),W("td",[g?W("div",{class:"vxe-import-selected--file",title:v},[W("span",v),W("i",{class:fe.icon.INPUT_CLEAR,onClick:s})]):W("button",{ref:a,class:"vxe-import-select--file",onClick:u},fe.i18n("vxe.import.impSelect"))])]),W("tr",[W("td",fe.i18n("vxe.import.impType")),W("td",b)]),W("tr",[W("td",fe.i18n("vxe.import.impOpts")),W("td",[W(Fm,{modelValue:h.mode,"onUpdate:modelValue"(C){h.mode=C}},{default:()=>m.modeList.map(C=>W(Cm,{label:C.value,content:fe.i18n(C.label)}))})])])])]),W("div",{class:"vxe-export--panel-btns"},[W(Ui,{content:fe.i18n("vxe.import.impCancel"),onClick:d}),W(Ui,{status:"primary",disabled:!g,content:fe.i18n("vxe.import.impConfirm"),onClick:f})])])})}}});Or.component(ore.name,ore);Or.component(lre.name,lre);const U1=Ve({name:"VxeTooltip",props:{modelValue:Boolean,size:{type:String,default:()=>fe.tooltip.size||fe.size},trigger:{type:String,default:()=>fe.tooltip.trigger||"hover"},theme:{type:String,default:()=>fe.tooltip.theme||"dark"},content:{type:[String,Number],default:null},useHTML:Boolean,zIndex:[String,Number],popupClassName:[String,Function],isArrow:{type:Boolean,default:!0},enterable:Boolean,enterDelay:{type:Number,default:()=>fe.tooltip.enterDelay},leaveDelay:{type:Number,default:()=>fe.tooltip.leaveDelay}},emits:["update:modelValue"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=ai(e),o=dn({target:null,isUpdate:!1,visible:!1,tipContent:"",tipActive:!1,tipTarget:null,tipZindex:0,tipStore:{style:{},placement:"",arrowStyle:{}}}),l=j(),s={refElem:l},u={xID:a,props:e,context:t,reactData:o,getRefMaps:()=>s};let c={};const d=()=>{const{tipTarget:S,tipStore:A}=o;if(S){const{scrollTop:D,scrollLeft:k,visibleWidth:x}=G1(),{top:_,left:M}=L0(S),L=l.value,I=6,P=L.offsetHeight,B=L.offsetWidth;let T=M,O=_-P-I;T=Math.max(I,M+Math.floor((S.offsetWidth-B)/2)),T+B+I>k+x&&(T=k+x-B-I),_-P{S!==o.visible&&(o.visible=S,o.isUpdate=!0,r("update:modelValue",S))},p=()=>{o.tipZindex{o.visible?c.close():c.open()},m=()=>{c.open()},v=()=>{const{trigger:S,enterable:A,leaveDelay:D}=e;o.tipActive=!1,A&&S==="hover"?setTimeout(()=>{o.tipActive||c.close()},D):c.close()},g=()=>{o.tipActive=!0},b=()=>{const{trigger:S,enterable:A,leaveDelay:D}=e;o.tipActive=!1,A&&S==="hover"&&setTimeout(()=>{o.tipActive||c.close()},D)},C=()=>{const{tipStore:S}=o,A=l.value;return A&&(A.parentNode||document.body.appendChild(A)),f(!0),p(),S.placement="top",S.style={width:"auto",left:0,top:0,zIndex:e.zIndex||o.tipZindex},S.arrowStyle={left:"50%"},c.updatePlacement()},y=U.debounce(()=>{o.tipActive&&C()},e.enterDelay,{leading:!1,trailing:!0});c={dispatchEvent(S,A,D){r(S,Object.assign({$tooltip:u,$event:D},A))},open(S,A){return c.toVisible(S||o.target,A)},close(){return o.tipTarget=null,o.tipActive=!1,Object.assign(o.tipStore,{style:{},placement:"",arrowStyle:null}),f(!1),Oe()},toVisible(S,A){if(S){const{trigger:D,enterDelay:k}=e;if(o.tipActive=!0,o.tipTarget=S,A&&(o.tipContent=A),k&&D==="hover")y();else return C()}return Oe()},updatePlacement(){return Oe().then(()=>{const{tipTarget:S}=o,A=l.value;if(S&&A)return d(),Oe().then(d)})},isActived(){return o.tipActive},setActived(S){o.tipActive=!!S}},Object.assign(u,c),$e(()=>e.content,()=>{o.tipContent=e.content}),$e(()=>e.modelValue,()=>{o.isUpdate||(e.modelValue?c.open():c.close()),o.isUpdate=!1}),Ut(()=>{Oe(()=>{const{trigger:S,content:A,modelValue:D}=e,k=l.value;if(k){const x=k.parentNode;if(x){o.tipContent=A,o.tipZindex=su(),U.arrayEach(k.children,(M,L)=>{L>1&&(x.insertBefore(M,k),o.target||(o.target=M))}),x.removeChild(k);const{target:_}=o;_&&(S==="hover"?(_.onmouseenter=m,_.onmouseleave=v):S==="click"&&(_.onclick=h)),D&&c.open()}}})}),Vn(()=>{const{trigger:S}=e,{target:A}=o,D=l.value;if(A&&(S==="hover"?(A.onmouseenter=null,A.onmouseleave=null):S==="click"&&(A.onclick=null)),D){const k=D.parentNode;k&&k.removeChild(D)}});const E=()=>{const{useHTML:S}=e,{tipContent:A}=o,D=n.content;return D?W("div",{key:1,class:"vxe-table--tooltip-content"},Wr(D({}))):S?W("div",{key:2,class:"vxe-table--tooltip-content",innerHTML:A}):W("div",{key:3,class:"vxe-table--tooltip-content"},_i(A))},w=()=>{const{popupClassName:S,theme:A,isArrow:D,enterable:k}=e,{tipActive:x,visible:_,tipStore:M}=o,L=n.default,I=i.value;let P;return k&&(P={onMouseenter:g,onMouseleave:b}),W("div",Object.assign({ref:l,class:["vxe-table--tooltip-wrapper",`theme--${A}`,S?U.isFunction(S)?S({$tooltip:u}):S:"",{[`size--${I}`]:I,[`placement--${M.placement}`]:M.placement,"is--enterable":k,"is--visible":_,"is--arrow":D,"is--active":x}],style:M.style},P),[E(),W("div",{class:"vxe-table--tooltip-arrow",style:M.arrowStyle}),...L?Wr(L({})):[]])};return u.renderVN=w,u},render(){return this.renderVN()}}),Tb=Ve({name:"VxeTableCustomPanel",props:{customStore:{type:Object,default:()=>({})}},setup(e){const t=lt("$xetable",{}),{reactData:n}=t,{computeCustomOpts:r,computeColumnOpts:a,computeIsMaxFixedColumn:i}=t.getComputeMaps(),o=j(),l=j(),s=j(),u=j();let c;const d=P=>{const{customStore:B}=e;B.activeWrapper=!0,t.customOpenEvent(P)},f=P=>{const{customStore:B}=e;B.activeWrapper=!1,setTimeout(()=>{!B.activeBtn&&!B.activeWrapper&&t.customColseEvent(P)},300)},p=P=>{D(),t.closeCustom(),t.emitCustomEvent("confirm",P)},h=P=>{t.closeCustom(),t.emitCustomEvent("cancel",P)},m=P=>{t.resetColumn(!0),t.closeCustom(),t.emitCustomEvent("reset",P)},v=P=>{$n.modal?$n.modal.confirm({content:fe.i18n("vxe.custom.cstmConfirmRestore"),className:"vxe-table--ignore-clear",escClosable:!0}).then(B=>{B==="confirm"&&m(P)}):m(P)},g=P=>{const{customColumnList:B}=n,T=U.findTree(B,O=>O===P);if(T&&T.parent){const{parent:O}=T;O.children&&O.children.length&&(O.visible=O.children.every(N=>N.visible),O.halfVisible=!O.visible&&O.children.some(N=>N.visible||N.halfVisible),g(O))}},b=P=>{const B=!P.visible,T=r.value;U.eachTree([P],O=>{O.visible=B,O.halfVisible=!1}),g(P),T.immediate&&t.handleCustom(),t.checkCustomStatus()},C=(P,B)=>{const T=i.value;P.fixed===B?t.clearColumnFixed(P):(!T||P.fixed)&&t.setColumnFixed(P,B)},y=P=>{i.value||t.setColumnFixed(P,P.fixed)},E=()=>{const{customStore:P}=e,{customColumnList:B}=n,T=r.value,{checkMethod:O}=T,N=!P.isAll;U.eachTree(B,V=>{(!O||O({column:V}))&&(V.visible=N,V.halfVisible=!1)}),P.isAll=N,t.checkCustomStatus()},w=P=>{const O=P.currentTarget.parentNode.parentNode,N=O.getAttribute("colid"),V=t.getColumnById(N);O.draggable=!0,u.value=V,qh(O,"active--drag-origin")},S=P=>{const O=P.currentTarget.parentNode.parentNode,N=s.value;O.draggable=!1,u.value=null,$s(O,"active--drag-origin"),N&&(N.style.display="")},A=P=>{const B=new Image;P.dataTransfer&&P.dataTransfer.setDragImage(B,0,0)},D=()=>{const{customColumnList:P}=n;P.forEach((B,T)=>{const O=T+1;B.renderSortNumber=O})},k=P=>{const{customColumnList:B}=n,T=P.currentTarget,O=s.value;if(c){if(c!==T){const N=c.getAttribute("drag-pos"),V=T.getAttribute("colid"),Y=t.getColumnById(V);if(!Y)return;const z=U.findIndexOf(B,re=>re.id===Y.id),ee=c.getAttribute("colid"),ae=t.getColumnById(ee);if(!ae)return;B.splice(z,1);const pe=U.findIndexOf(B,re=>re.id===ae.id);B.splice(pe+(N==="bottom"?1:0),0,Y)}c.draggable=!1,c.removeAttribute("drag-pos"),$s(c,"active--drag-target")}u.value=null,T.draggable=!1,T.removeAttribute("drag-pos"),O&&(O.style.display=""),$s(T,"active--drag-target"),$s(T,"active--drag-origin"),D()},x=P=>{const B=P.currentTarget;c!==B&&$s(c,"active--drag-target");const T=B.getAttribute("colid"),O=t.getColumnById(T);if(O&&O.level===1){P.preventDefault();const V=P.clientY-B.getBoundingClientRect().y{const B=s.value,T=l.value;if(T&&B){const O=T.parentNode,N=O.getBoundingClientRect();B.style.display="block",B.style.top=`${Math.min(O.clientHeight-O.scrollTop-B.clientHeight,P.clientY-N.y)}px`,B.style.left=`${Math.min(O.clientWidth-O.scrollLeft-B.clientWidth-16,P.clientX-N.x)}px`}},M=()=>{const{customStore:P}=e,{customColumnList:B}=n,T=r.value,{maxHeight:O}=P,{checkMethod:N,visibleMethod:V,trigger:Y}=T,z=i.value,ee=[],ae={};Y==="hover"&&(ae.onMouseenter=d,ae.onMouseleave=f),U.eachTree(B,(Q,ie,X,q,ce)=>{if(V?V({column:Q}):!0){const Z=Q.visible,se=Q.halfVisible,Fe=Q.children&&Q.children.length,me=_i(Q.getTitle(),1),te=N?!N({column:Q}):!1;ee.push(W("li",{key:Q.id,class:["vxe-table-custom--option",`level--${Q.level}`,{"is--group":Fe}]},[W("div",{title:me,class:["vxe-table-custom--checkbox-option",{"is--checked":Z,"is--indeterminate":se,"is--disabled":te}],onClick:()=>{te||b(Q)}},[W("span",{class:["vxe-checkbox--icon",se?fe.icon.TABLE_CHECKBOX_INDETERMINATE:Z?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]}),W("span",{class:"vxe-checkbox--label"},me)]),!ce&&T.allowFixed?W("div",{class:"vxe-table-custom--fixed-option"},[W("span",{class:["vxe-table-custom--fixed-left-option",Q.fixed==="left"?fe.icon.TOOLBAR_TOOLS_FIXED_LEFT_ACTIVED:fe.icon.TOOLBAR_TOOLS_FIXED_LEFT,{"is--checked":Q.fixed==="left","is--disabled":z&&!Q.fixed}],title:fe.i18n(Q.fixed==="left"?"vxe.toolbar.cancelFixed":"vxe.toolbar.fixedLeft"),onClick:()=>{C(Q,"left")}}),W("span",{class:["vxe-table-custom--fixed-right-option",Q.fixed==="right"?fe.icon.TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVED:fe.icon.TOOLBAR_TOOLS_FIXED_RIGHT,{"is--checked":Q.fixed==="right","is--disabled":z&&!Q.fixed}],title:fe.i18n(Q.fixed==="right"?"vxe.toolbar.cancelFixed":"vxe.toolbar.fixedRight"),onClick:()=>{C(Q,"right")}})]):null]))}});const pe=P.isAll,re=P.isIndeterminate;return W("div",{ref:o,key:"simple",class:["vxe-table-custom-wrapper",{"is--active":P.visible}]},[W("ul",{class:"vxe-table-custom--header"},[W("li",{class:"vxe-table-custom--option"},[W("div",{class:["vxe-table-custom--checkbox-option",{"is--checked":pe,"is--indeterminate":re}],title:fe.i18n("vxe.table.allTitle"),onClick:E},[W("span",{class:["vxe-checkbox--icon",re?fe.icon.TABLE_CHECKBOX_INDETERMINATE:pe?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]}),W("span",{class:"vxe-checkbox--label"},fe.i18n("vxe.toolbar.customAll"))])])]),W("ul",Object.assign({class:"vxe-table-custom--body",style:O?{maxHeight:`${O}px`}:{}},ae),ee),T.showFooter?W("div",{class:"vxe-table-custom--footer"},[W("button",{class:"btn--reset",onClick:m},T.resetButtonText||fe.i18n("vxe.toolbar.customRestore")),W("button",{class:"btn--confirm",onClick:p},T.confirmButtonText||fe.i18n("vxe.toolbar.customConfirm"))]):null])},L=()=>{const{customStore:P}=e,{customColumnList:B}=n,T=r.value,{checkMethod:O,visibleMethod:N}=T,V=a.value,Y=i.value,z=[];return U.eachTree(B,(ee,ae,pe,re,Q)=>{if(N?N({column:ee}):!0){const X=ee.visible,q=ee.halfVisible,ce=_i(ee.getTitle(),1),K=ee.children&&ee.children.length,Z=O?!O({column:ee}):!1;z.push(W("tr",{key:ee.id,colid:ee.id,class:[`vxe-table-custom-popup--row level--${ee.level}`,{"is--group":K}],onDragstart:A,onDragend:k,onDragover:x},[W("td",{class:"vxe-table-custom-popup--column-item col--sort"},[ee.level===1?W("span",{class:"vxe-table-custom-popup--column-sort-btn",onMousedown:w,onMouseup:S},[W("i",{class:"vxe-icon-sort"})]):null]),W("td",{class:"vxe-table-custom-popup--column-item col--name"},[W("div",{class:"vxe-table-custom-popup--name",title:ce},ce)]),W("td",{class:"vxe-table-custom-popup--column-item col--visible"},[W("div",{class:["vxe-table-custom--checkbox-option",{"is--checked":X,"is--indeterminate":q,"is--disabled":Z}],onClick:()=>{Z||b(ee)}},[W("span",{class:["vxe-checkbox--icon",q?fe.icon.TABLE_CHECKBOX_INDETERMINATE:X?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]})])]),W("td",{class:"vxe-table-custom-popup--column-item col--fixed"},[!Q&&T.allowFixed?W(Fm,{modelValue:ee.fixed||"",type:"button",size:"mini",options:[{label:fe.i18n("vxe.custom.setting.fixedLeft"),value:"left",disabled:Y},{label:fe.i18n("vxe.custom.setting.fixedUnset"),value:""},{label:fe.i18n("vxe.custom.setting.fixedRight"),value:"right",disabled:Y}],"onUpdate:modelValue"(se){ee.fixed=se},onChange(){y(ee)}}):null])]))}}),W(Yf,{key:"popup",className:"vxe-table-custom-popup-wrapper vxe-table--ignore-clear",modelValue:P.visible,title:fe.i18n("vxe.custom.cstmTitle"),width:"40vw",minWidth:520,height:"50vh",minHeight:300,mask:!0,lockView:!0,showFooter:!0,resize:!0,escClosable:!0,destroyOnClose:!0,"onUpdate:modelValue"(ee){P.visible=ee}},{default:()=>W("div",{ref:l,class:"vxe-table-custom-popup--body"},[W("div",{class:"vxe-table-custom-popup--table-wrapper"},[W("table",{},[W("colgroup",{},[W("col",{style:{width:"80px"}}),W("col",{}),W("col",{style:{width:"80px"}}),W("col",{style:{width:"200px"}})]),W("thead",{},[W("tr",{},[W("th",{},[W("span",{class:"vxe-table-custom-popup--table-sort-help-title"},fe.i18n("vxe.custom.setting.colSort")),W(U1,{enterable:!0,content:fe.i18n("vxe.custom.setting.sortHelpTip")},{default:()=>W("i",{class:"vxe-table-custom-popup--table-sort-help-icon vxe-icon-question-circle-fill"})})]),W("th",{},fe.i18n("vxe.custom.setting.colTitle")),W("th",{},fe.i18n("vxe.custom.setting.colVisible")),W("th",{},fe.i18n("vxe.custom.setting.colFixed",[V.maxFixedSize||0]))])]),W(s9,{class:"vxe-table-custom--body",tag:"tbody",name:"vxe-table-custom--list"},{default:()=>z})])]),W("div",{ref:s,class:"vxe-table-custom-popup--drag-hint"},fe.i18n("vxe.custom.cstmDragTarget",[u.value?u.value.getTitle():""]))]),footer:()=>W("div",{class:"vxe-table-custom-popup--footer"},[W(Ui,{content:T.resetButtonText||fe.i18n("vxe.custom.cstmRestore"),onClick:v}),W(Ui,{content:T.resetButtonText||fe.i18n("vxe.custom.cstmCancel"),onClick:h}),W(Ui,{status:"primary",content:T.confirmButtonText||fe.i18n("vxe.custom.cstmConfirm"),onClick:p})])})};return()=>r.value.mode==="popup"?L():M()}}),lSt=["openCustom","closeCustom"],sSt={setupTable(e){const{reactData:t,internalData:n}=e,{computeCustomOpts:r}=e.getComputeMaps(),{refTableHeader:a,refTableBody:i,refTableCustom:o}=e.getRefMaps(),l=e.xegrid,s=()=>{const{customStore:m}=t,v=a.value,g=i.value,b=o.value,C=b?b.$el:null,y=v.$el,E=g.$el;let w=0;y&&(w+=y.clientHeight),E&&(w+=E.clientHeight),m.maxHeight=Math.max(0,C?Math.min(C.clientHeight,w-80):0)},u=()=>{const{initStore:m,customStore:v}=t;return v.visible=!0,m.custom=!0,t.customColumnList=n.collectColumn.slice(0),f(),s(),Oe().then(()=>s())},c=()=>{const{customStore:m}=t,v=r.value;return m.visible&&(m.visible=!1,v.immediate||e.handleCustom()),Oe()},d={openCustom:u,closeCustom:c},f=()=>{const{customStore:m}=t,{collectColumn:v}=n,g=r.value,{checkMethod:b}=g;m.isAll=v.every(C=>(b?!b({column:C}):!1)||C.visible),m.isIndeterminate=!m.isAll&&v.some(C=>(!b||b({column:C}))&&(C.visible||C.halfVisible))},p=(m,v)=>{(l||e).dispatchEvent("custom",{type:m},v)},h={checkCustomStatus:f,emitCustomEvent:p,triggerCustomEvent(m){const{customStore:v}=e.reactData;v.visible?(c(),p("close",m)):(v.btnEl=m.target,u(),p("open",m))},customOpenEvent(m){const{customStore:v}=t;v.visible||(v.activeBtn=!0,v.btnEl=m.target,e.openCustom(),e.emitCustomEvent("open",m))},customColseEvent(m){const{customStore:v}=t;v.visible&&(v.activeBtn=!1,e.closeCustom(),e.emitCustomEvent("close",m))}};return Object.assign(Object.assign({},d),h)},setupGrid(e){return e.extendTableMethods(lSt)}},uSt={Panel:Tb,install(e){$n.hooks.add("$tableCustom",sSt),e.component(Tb.name,Tb)}},cSt=uSt;Or.component(Tb.name,Tb);const Tx=Ve({name:"VxeIcon",props:{name:String,roll:Boolean,status:String},emits:["click"],setup(e,{emit:t}){const n=r=>{t("click",{$event:r})};return()=>{const{name:r,roll:a,status:i}=e;return W("i",{class:[`vxe-icon-${r}`,a?"roll":"",i?[`theme--${i}`]:""],onClick:n})}}}),$L=Object.assign(Tx,{install(e){e.component(Tx.name,Tx)}}),dSt=$L;Or.component($L.name,$L);function fSt(e){const{$table:t,column:n}=e,r=n.titlePrefix||n.titleHelp;return r?[W("i",{class:["vxe-cell-title-prefix-icon",r.icon||fe.icon.TABLE_TITLE_PREFIX],onMouseenter(a){t.triggerHeaderTitleEvent(a,r,e)},onMouseleave(a){t.handleTargetLeaveEvent(a)}})]:[]}function pSt(e){const{$table:t,column:n}=e,r=n.titleSuffix;return r?[W("i",{class:["vxe-cell-title-suffix-icon",r.icon||fe.icon.TABLE_TITLE_SUFFIX],onMouseenter(a){t.triggerHeaderTitleEvent(a,r,e)},onMouseleave(a){t.handleTargetLeaveEvent(a)}})]:[]}function lf(e,t){const{$table:n,column:r}=e,{props:a,reactData:i}=n,{computeTooltipOpts:o}=n.getComputeMaps(),{showHeaderOverflow:l}=a,{type:s,showHeaderOverflow:u}=r,d=o.value.showAll,f=U.isUndefined(u)||U.isNull(u)?l:u,p=f==="title",h=f===!0||f==="tooltip",m={};return(p||h||d)&&(m.onMouseenter=v=>{i._isResize||(p?gV(v.currentTarget,r):(h||d)&&n.triggerHeaderTooltipEvent(v,e))}),(h||d)&&(m.onMouseleave=v=>{i._isResize||(h||d)&&n.handleTargetLeaveEvent(v)}),[s==="html"&&U.isString(t)?W("span",Object.assign({class:"vxe-cell--title",innerHTML:t},m)):W("span",Object.assign({class:"vxe-cell--title"},m),Wr(t))]}function hSt(e){const{$table:t,column:n,_columnIndex:r,items:a,row:i}=e,{slots:o,editRender:l,cellRender:s}=n,u=l||s,c=o?o.footer:null;if(c)return t.callSlot(c,e);if(u){const d=$n.renderer.get(u.name);if(d&&d.renderFooter)return Wr(d.renderFooter(u,e))}return U.isArray(a)?[_i(a[r],1)]:[_i(U.get(i,n.field),1)]}function sre(e){const{$table:t,row:n,column:r}=e;return _i(t.getCellLabel(n,r),1)}const Tn={createColumn(e,t){const{type:n,sortable:r,filters:a,editRender:i,treeNode:o}=t,{props:l}=e,{editConfig:s}=l,{computeEditOpts:u,computeCheckboxOpts:c}=e.getComputeMaps(),d=c.value,f=u.value,p={renderHeader:Tn.renderDefaultHeader,renderCell:o?Tn.renderTreeCell:Tn.renderDefaultCell,renderFooter:Tn.renderDefaultFooter};switch(n){case"seq":p.renderHeader=Tn.renderSeqHeader,p.renderCell=o?Tn.renderTreeIndexCell:Tn.renderSeqCell;break;case"radio":p.renderHeader=Tn.renderRadioHeader,p.renderCell=o?Tn.renderTreeRadioCell:Tn.renderRadioCell;break;case"checkbox":p.renderHeader=Tn.renderCheckboxHeader,p.renderCell=d.checkField?o?Tn.renderTreeSelectionCellByProp:Tn.renderCheckboxCellByProp:o?Tn.renderTreeSelectionCell:Tn.renderCheckboxCell;break;case"expand":p.renderCell=Tn.renderExpandCell,p.renderData=Tn.renderExpandData;break;case"html":p.renderCell=o?Tn.renderTreeHTMLCell:Tn.renderHTMLCell,a&&r?p.renderHeader=Tn.renderSortAndFilterHeader:r?p.renderHeader=Tn.renderSortHeader:a&&(p.renderHeader=Tn.renderFilterHeader);break;default:s&&i?(p.renderHeader=Tn.renderEditHeader,p.renderCell=f.mode==="cell"?o?Tn.renderTreeCellEdit:Tn.renderCellEdit:o?Tn.renderTreeRowEdit:Tn.renderRowEdit):a&&r?p.renderHeader=Tn.renderSortAndFilterHeader:r?p.renderHeader=Tn.renderSortHeader:a&&(p.renderHeader=Tn.renderFilterHeader)}return Swt(e,t,p)},renderHeaderTitle(e){const{$table:t,column:n}=e,{slots:r,editRender:a,cellRender:i}=n,o=a||i,l=r?r.header:null;if(l)return lf(e,t.callSlot(l,e));if(o){const s=$n.renderer.get(o.name);if(s&&s.renderHeader)return lf(e,Wr(s.renderHeader(o,e)))}return lf(e,_i(n.getTitle(),1))},renderDefaultHeader(e){return fSt(e).concat(Tn.renderHeaderTitle(e)).concat(pSt(e))},renderDefaultCell(e){const{$table:t,row:n,column:r}=e,{slots:a,editRender:i,cellRender:o}=r,l=i||o,s=a?a.default:null;if(s)return t.callSlot(s,e);if(l){const d=i?"renderCell":"renderDefault",f=$n.renderer.get(l.name),p=f?f[d]:null;if(p)return Wr(p(l,Object.assign({$type:i?"edit":"cell"},e)))}const u=t.getCellLabel(n,r),c=i?i.placeholder:"";return[W("span",{class:"vxe-cell--label"},i&&Qc(u)?[W("span",{class:"vxe-cell--placeholder"},_i(Ea(c),1))]:_i(u,1))]},renderTreeCell(e){return Tn.renderTreeIcon(e,Tn.renderDefaultCell(e))},renderDefaultFooter(e){return[W("span",{class:"vxe-cell--item"},hSt(e))]},renderTreeIcon(e,t){const{$table:n,isHidden:r}=e,{reactData:a}=n,{computeTreeOpts:i}=n.getComputeMaps(),{treeExpandedMaps:o,treeExpandLazyLoadedMaps:l}=a,s=i.value,{row:u,column:c,level:d}=e,{slots:f}=c,{indent:p,lazy:h,trigger:m,iconLoaded:v,showIcon:g,iconOpen:b,iconClose:C}=s,y=s.children||s.childrenField,E=s.hasChild||s.hasChildField,w=u[y],S=f?f.icon:null;let A=!1,D=!1,k=!1;const x={};if(S)return n.callSlot(S,e);if(!r){const _=qt(n,u);D=!!o[_],h&&(k=!!l[_],A=u[E])}return(!m||m==="default")&&(x.onClick=_=>{_.stopPropagation(),n.triggerTreeExpandEvent(_,e)}),[W("div",{class:["vxe-cell--tree-node",{"is--active":D}],style:{paddingLeft:`${d*p}px`}},[g&&(w&&w.length||A)?[W("div",Object.assign({class:"vxe-tree--btn-wrapper"},x),[W("i",{class:["vxe-tree--node-btn",k?v||fe.icon.TABLE_TREE_LOADED:D?b||fe.icon.TABLE_TREE_OPEN:C||fe.icon.TABLE_TREE_CLOSE]})])]:null,W("div",{class:"vxe-tree-cell"},t)])]},renderSeqHeader(e){const{$table:t,column:n}=e,{slots:r}=n,a=r?r.header:null;return lf(e,a?t.callSlot(a,e):_i(n.getTitle(),1))},renderSeqCell(e){const{$table:t,column:n}=e,{props:r}=t,{treeConfig:a}=r,{computeSeqOpts:i}=t.getComputeMaps(),o=i.value,{slots:l}=n,s=l?l.default:null;if(s)return t.callSlot(s,e);const{seq:u}=e,c=o.seqMethod;return[_i(c?c(e):a?u:(o.startIndex||0)+u,1)]},renderTreeIndexCell(e){return Tn.renderTreeIcon(e,Tn.renderSeqCell(e))},renderRadioHeader(e){const{$table:t,column:n}=e,{slots:r}=n,a=r?r.header:null,i=r?r.title:null;return lf(e,a?t.callSlot(a,e):[W("span",{class:"vxe-radio--label"},i?t.callSlot(i,e):_i(n.getTitle(),1))])},renderRadioCell(e){const{$table:t,column:n,isHidden:r}=e,{reactData:a}=t,{computeRadioOpts:i}=t.getComputeMaps(),{selectRadioRow:o}=a,l=i.value,{slots:s}=n,{labelField:u,checkMethod:c,visibleMethod:d}=l,{row:f}=e,p=s?s.default:null,h=s?s.radio:null,m=t.eqRow(f,o),v=!d||d({row:f});let g=!!c,b;r||(b={onClick(E){!g&&v&&(E.stopPropagation(),t.triggerRadioRowEvent(E,e))}},c&&(g=!c({row:f})));const C=Object.assign(Object.assign({},e),{checked:m,disabled:g,visible:v});if(h)return t.callSlot(h,C);const y=[];return v&&y.push(W("span",{class:["vxe-radio--icon",m?fe.icon.TABLE_RADIO_CHECKED:fe.icon.TABLE_RADIO_UNCHECKED]})),(p||u)&&y.push(W("span",{class:"vxe-radio--label"},p?t.callSlot(p,C):U.get(f,u))),[W("span",Object.assign({class:["vxe-cell--radio",{"is--checked":m,"is--disabled":g}]},b),y)]},renderTreeRadioCell(e){return Tn.renderTreeIcon(e,Tn.renderRadioCell(e))},renderCheckboxHeader(e){const{$table:t,column:n,isHidden:r}=e,{reactData:a}=t,{computeIsAllCheckboxDisabled:i,computeCheckboxOpts:o}=t.getComputeMaps(),{isAllSelected:l,isIndeterminate:s}=a,u=i.value,{slots:c}=n,d=c?c.header:null,f=c?c.title:null,p=o.value,h=n.getTitle();let m;r||(m={onClick(g){u||(g.stopPropagation(),t.triggerCheckAllEvent(g,!l))}});const v=Object.assign(Object.assign({},e),{checked:l,disabled:u,indeterminate:s});return d?lf(v,t.callSlot(d,v)):(p.checkStrictly?!p.showHeader:p.showHeader===!1)?lf(v,[W("span",{class:"vxe-checkbox--label"},f?t.callSlot(f,v):h)]):lf(v,[W("span",Object.assign({class:["vxe-cell--checkbox",{"is--checked":l,"is--disabled":u,"is--indeterminate":s}],title:fe.i18n("vxe.table.allTitle")},m),[W("span",{class:["vxe-checkbox--icon",s?fe.icon.TABLE_CHECKBOX_INDETERMINATE:l?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]})].concat(f||h?[W("span",{class:"vxe-checkbox--label"},f?t.callSlot(f,v):h)]:[]))])},renderCheckboxCell(e){const{$table:t,row:n,column:r,isHidden:a}=e,{props:i,reactData:o}=t,{treeConfig:l}=i,{selectCheckboxMaps:s,treeIndeterminateMaps:u}=o,{computeCheckboxOpts:c}=t.getComputeMaps(),d=c.value,{labelField:f,checkMethod:p,visibleMethod:h}=d,{slots:m}=r,v=m?m.default:null,g=m?m.checkbox:null;let b=!1,C=!1;const y=!h||h({row:n});let E=!!p,w;if(!a){const D=qt(t,n);C=!!s[D],w={onClick(k){!E&&y&&(k.stopPropagation(),t.triggerCheckRowEvent(k,e,!C))}},p&&(E=!p({row:n})),l&&(b=!!u[D])}const S=Object.assign(Object.assign({},e),{checked:C,disabled:E,visible:y,indeterminate:b});if(g)return t.callSlot(g,S);const A=[];return y&&A.push(W("span",{class:["vxe-checkbox--icon",b?fe.icon.TABLE_CHECKBOX_INDETERMINATE:C?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]})),(v||f)&&A.push(W("span",{class:"vxe-checkbox--label"},v?t.callSlot(v,S):U.get(n,f))),[W("span",Object.assign({class:["vxe-cell--checkbox",{"is--checked":C,"is--disabled":E,"is--indeterminate":b,"is--hidden":!y}]},w),A)]},renderTreeSelectionCell(e){return Tn.renderTreeIcon(e,Tn.renderCheckboxCell(e))},renderCheckboxCellByProp(e){const{$table:t,row:n,column:r,isHidden:a}=e,{props:i,reactData:o}=t,{treeConfig:l}=i,{treeIndeterminateMaps:s}=o,{computeCheckboxOpts:u}=t.getComputeMaps(),c=u.value,{labelField:d,checkField:f,checkMethod:p,visibleMethod:h}=c,m=c.indeterminateField||c.halfField,{slots:v}=r,g=v?v.default:null,b=v?v.checkbox:null;let C=!1,y=!1;const E=!h||h({row:n});let w=!!p,S;if(!a){const k=qt(t,n);y=U.get(n,f),S={onClick(x){!w&&E&&(x.stopPropagation(),t.triggerCheckRowEvent(x,e,!y))}},p&&(w=!p({row:n})),l&&(C=!!s[k])}const A=Object.assign(Object.assign({},e),{checked:y,disabled:w,visible:E,indeterminate:C});if(b)return t.callSlot(b,A);const D=[];return E&&(D.push(W("span",{class:["vxe-checkbox--icon",C?fe.icon.TABLE_CHECKBOX_INDETERMINATE:y?fe.icon.TABLE_CHECKBOX_CHECKED:fe.icon.TABLE_CHECKBOX_UNCHECKED]})),(g||d)&&D.push(W("span",{class:"vxe-checkbox--label"},g?t.callSlot(g,A):U.get(n,d)))),[W("span",Object.assign({class:["vxe-cell--checkbox",{"is--checked":y,"is--disabled":w,"is--indeterminate":m&&!y?n[m]:C,"is--hidden":!E}]},S),D)]},renderTreeSelectionCellByProp(e){return Tn.renderTreeIcon(e,Tn.renderCheckboxCellByProp(e))},renderExpandCell(e){const{$table:t,isHidden:n,row:r,column:a}=e,{reactData:i}=t,{rowExpandedMaps:o,rowExpandLazyLoadedMaps:l}=i,{computeExpandOpts:s}=t.getComputeMaps(),u=s.value,{lazy:c,labelField:d,iconLoaded:f,showIcon:p,iconOpen:h,iconClose:m,visibleMethod:v}=u,{slots:g}=a,b=g?g.default:null,C=g?g.icon:null;let y=!1,E=!1;if(C)return t.callSlot(C,e);if(!n){const w=qt(t,r);y=!!o[w],c&&(E=!!l[w])}return[p&&(!v||v(e))?W("span",{class:["vxe-table--expanded",{"is--active":y}],onClick(w){w.stopPropagation(),t.triggerRowExpandEvent(w,e)}},[W("i",{class:["vxe-table--expand-btn",E?f||fe.icon.TABLE_EXPAND_LOADED:y?h||fe.icon.TABLE_EXPAND_OPEN:m||fe.icon.TABLE_EXPAND_CLOSE]})]):null,b||d?W("span",{class:"vxe-table--expand-label"},b?t.callSlot(b,e):U.get(r,d)):null]},renderExpandData(e){const{$table:t,column:n}=e,{slots:r,contentRender:a}=n,i=r?r.content:null;if(i)return t.callSlot(i,e);if(a){const o=$n.renderer.get(a.name);if(o&&o.renderExpand)return Wr(o.renderExpand(a,e))}return[]},renderHTMLCell(e){const{$table:t,column:n}=e,{slots:r}=n,a=r?r.default:null;return a?t.callSlot(a,e):[W("span",{class:"vxe-cell--html",innerHTML:sre(e)})]},renderTreeHTMLCell(e){return Tn.renderTreeIcon(e,Tn.renderHTMLCell(e))},renderSortAndFilterHeader(e){return Tn.renderDefaultHeader(e).concat(Tn.renderSortIcon(e)).concat(Tn.renderFilterIcon(e))},renderSortHeader(e){return Tn.renderDefaultHeader(e).concat(Tn.renderSortIcon(e))},renderSortIcon(e){const{$table:t,column:n}=e,{computeSortOpts:r}=t.getComputeMaps(),a=r.value,{showIcon:i,iconLayout:o,iconAsc:l,iconDesc:s}=a,{order:u}=n;return i?[W("span",{class:["vxe-cell--sort",`vxe-cell--sort-${o}-layout`]},[W("i",{class:["vxe-sort--asc-btn",l||fe.icon.TABLE_SORT_ASC,{"sort--active":u==="asc"}],title:fe.i18n("vxe.table.sortAsc"),onClick(c){c.stopPropagation(),t.triggerSortEvent(c,n,"asc")}}),W("i",{class:["vxe-sort--desc-btn",s||fe.icon.TABLE_SORT_DESC,{"sort--active":u==="desc"}],title:fe.i18n("vxe.table.sortDesc"),onClick(c){c.stopPropagation(),t.triggerSortEvent(c,n,"desc")}})])]:[]},renderFilterHeader(e){return Tn.renderDefaultHeader(e).concat(Tn.renderFilterIcon(e))},renderFilterIcon(e){const{$table:t,column:n,hasFilter:r}=e,{reactData:a}=t,{filterStore:i}=a,{computeFilterOpts:o}=t.getComputeMaps(),l=o.value,{showIcon:s,iconNone:u,iconMatch:c}=l;return s?[W("span",{class:["vxe-cell--filter",{"is--active":i.visible&&i.column===n}]},[W("i",{class:["vxe-filter--btn",r?c||fe.icon.TABLE_FILTER_MATCH:u||fe.icon.TABLE_FILTER_NONE],title:fe.i18n("vxe.table.filter"),onClick(d){t.triggerFilterEvent&&t.triggerFilterEvent(d,e.column,e)}})])]:[]},renderEditHeader(e){const{$table:t,column:n}=e,{props:r}=t,{computeEditOpts:a}=t.getComputeMaps(),{editConfig:i,editRules:o}=r,l=a.value,{sortable:s,filters:u,editRender:c}=n;let d=!1;if(o){const f=U.get(o,n.field);f&&(d=f.some(p=>p.required))}return(gr(i)?[d&&l.showAsterisk?W("i",{class:"vxe-cell--required-icon"}):null,gr(c)&&l.showIcon?W("i",{class:["vxe-cell--edit-icon",l.icon||fe.icon.TABLE_EDIT]}):null]:[]).concat(Tn.renderDefaultHeader(e)).concat(s?Tn.renderSortIcon(e):[]).concat(u?Tn.renderFilterIcon(e):[])},renderRowEdit(e){const{$table:t,column:n}=e,{reactData:r}=t,{editStore:a}=r,{actived:i}=a,{editRender:o}=n;return Tn.runRenderer(e,gr(o)&&i&&i.row===e.row)},renderTreeRowEdit(e){return Tn.renderTreeIcon(e,Tn.renderRowEdit(e))},renderCellEdit(e){const{$table:t,column:n}=e,{reactData:r}=t,{editStore:a}=r,{actived:i}=a,{editRender:o}=n;return Tn.runRenderer(e,gr(o)&&i&&i.row===e.row&&i.column===e.column)},renderTreeCellEdit(e){return Tn.renderTreeIcon(e,Tn.renderCellEdit(e))},runRenderer(e,t){const{$table:n,column:r}=e,{slots:a,editRender:i,formatter:o}=r,l=a?a.default:null,s=a?a.edit:null,u=$n.renderer.get(i.name);return t?s?n.callSlot(s,e):u&&u.renderEdit?Wr(u.renderEdit(i,Object.assign({$type:"edit"},e))):[]:l?n.callSlot(l,e):o?[W("span",{class:"vxe-cell--label"},sre(e))]:Tn.renderDefaultCell(e)}},r2e={colId:[String,Number],type:String,field:String,title:String,width:[Number,String],minWidth:[Number,String],maxWidth:[Number,String],resizable:{type:Boolean,default:null},fixed:String,align:String,headerAlign:String,footerAlign:String,showOverflow:{type:[Boolean,String],default:null},showHeaderOverflow:{type:[Boolean,String],default:null},showFooterOverflow:{type:[Boolean,String],default:null},className:[String,Function],headerClassName:[String,Function],footerClassName:[String,Function],formatter:[Function,Array,String],sortable:Boolean,sortBy:[String,Function],sortType:String,filters:{type:Array,default:null},filterMultiple:{type:Boolean,default:!0},filterMethod:Function,filterResetMethod:Function,filterRecoverMethod:Function,filterRender:Object,treeNode:Boolean,visible:{type:Boolean,default:null},headerExportMethod:Function,exportMethod:Function,footerExportMethod:Function,titleHelp:Object,titlePrefix:Object,titleSuffix:Object,cellType:String,cellRender:Object,editRender:Object,contentRender:Object,params:Object},Jh=Ve({name:"VxeColumn",props:r2e,setup(e,{slots:t}){const n=j(),r=lt("$xetable",{}),a=lt("xecolgroup",null),i=Tn.createColumn(r,e);return i.slots=t,Qt("$xegrid",null),Vbe(r,e,i),Ut(()=>{Hbe(r,n.value,i,a)}),la(()=>{zbe(r,i)}),()=>W("div",{ref:n})}}),mSt=Object.assign(Jh,{install(e){e.component(Jh.name,Jh),e.component("VxeTableColumn",Jh)}}),vSt=mSt;Or.component(Jh.name,Jh);Or.component("VxeTableColumn",Jh);const Xh=Ve({name:"VxeColgroup",props:r2e,setup(e,{slots:t}){const n=j(),r=lt("$xetable",{}),a=lt("xecolgroup",null),i=Tn.createColumn(r,e),o={};t.header&&(o.header=t.header);const l={column:i};return i.slots=o,i.children=[],Qt("xecolgroup",l),Qt("$xegrid",null),Vbe(r,e,i),Ut(()=>{Hbe(r,n.value,i,a)}),la(()=>{zbe(r,i)}),()=>W("div",{ref:n},t.default?t.default():[])}});Object.assign(Xh,{install(e){e.component(Xh.name,Xh),e.component("VxeTableColgroup",Xh)}});Or.component(Xh.name,Xh);Or.component("VxeTableColgroup",Xh);let ure;const xh=[],gSt=500;function ySt(){xh.length&&(xh.forEach(e=>{e.tarList.forEach(t=>{const{target:n,width:r,heighe:a}=t,i=n.clientWidth,o=n.clientHeight;(i&&r!==i||o&&a!==o)&&(t.width=i,t.heighe=o,setTimeout(e.callback))})}),a2e())}function a2e(){clearTimeout(ure),ure=setTimeout(ySt,fe.resizeInterval||gSt)}class bSt{constructor(t){Object.defineProperty(this,"tarList",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"callback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.callback=t}observe(t){if(t){const{tarList:n}=this;n.some(r=>r.target===t)||n.push({target:t,width:t.clientWidth,heighe:t.clientHeight}),xh.length||a2e(),xh.some(r=>r===this)||xh.push(this)}}unobserve(t){U.remove(xh,n=>n.tarList.some(r=>r.target===t))}disconnect(){U.remove(xh,t=>t===this)}}function i2e(e){return window.ResizeObserver?new window.ResizeObserver(e):new bSt(e)}const Jv="body",CSt={mini:3,small:2,medium:1},cre=Ve({name:"VxeTableBody",props:{tableData:Array,tableColumn:Array,fixedColumn:Array,fixedType:{type:String,default:null}},setup(e){const t=lt("$xetable",{}),n=lt("xesize",null),{xID:r,props:a,context:i,reactData:o,internalData:l}=t,{refTableHeader:s,refTableBody:u,refTableFooter:c,refTableLeftBody:d,refTableRightBody:f,refValidTooltip:p}=t.getRefMaps(),{computeEditOpts:h,computeMouseOpts:m,computeSYOpts:v,computeEmptyOpts:g,computeKeyboardOpts:b,computeTooltipOpts:C,computeRadioOpts:y,computeExpandOpts:E,computeTreeOpts:w,computeCheckboxOpts:S,computeValidOpts:A,computeRowOpts:D,computeColumnOpts:k}=t.getComputeMaps(),x=j(),_=j(),M=j(),L=j(),I=j(),P=j(),B=j(),T=()=>{if(n){const Fe=n.value;if(Fe)return CSt[Fe]||0}return 0},O=()=>{const{delayHover:Fe}=a,{lastScrollTime:me,_isResize:te}=o;return!!(te||me&&Date.now(){let te=1;if(!Fe)return te;const ue=w.value,Se=ue.children||ue.childrenField,Ae=Fe[Se];if(Ae&&t.isTreeExpandByRow(Fe))for(let Ne=0;Ne{let ue=1;return te&&(ue=N(me[te-1])),o.rowHeight*ue-(te?1:12-T())},Y=Fe=>{const{row:me,column:te}=Fe,{afterFullData:ue}=l,{treeConfig:Se}=a,Ae=w.value,{slots:Ne,treeNode:je}=te,{fullAllDataRowIdData:De}=l,he=qt(t,me),He=De[he];let xe=0,qe=0,ve=[];if(He&&(xe=He.level,qe=He._index,ve=He.items),Ne&&Ne.line)return t.callSlot(Ne.line,Fe);const Ge=t.eqRow(ue[0],me);return Se&&je&&(Ae.showLine||Ae.line)?[W("div",{class:"vxe-tree--line-wrapper"},[W("div",{class:"vxe-tree--line",style:{height:`${Ge?1:V(Fe,ve,qe)}px`,left:`${xe*Ae.indent+(xe?2-T():0)+16}px`}})])]:[]},z=(Fe,me,te,ue,Se,Ae,Ne,je,De,he,He,xe)=>{const{columnKey:qe,height:ve,showOverflow:Ge,cellClassName:Ke,cellStyle:rt,align:nt,spanMethod:ze,mouseConfig:Ie,editConfig:ge,editRules:oe,tooltipConfig:Xe}=a,{tableData:it,overflowX:xt,scrollYLoad:Ee,currentColumn:pn,mergeList:Qe,editStore:ct,isAllOverflow:gt,validErrorMaps:an}=o,{afterFullData:Wt}=l,bt=A.value,Ft=S.value,It=h.value,Nn=C.value,Kn=D.value,Sr=v.value,Pr=k.value,{type:xr,cellRender:ta,editRender:ur,align:Mr,showOverflow:Tr,className:jr,treeNode:ba,slots:Kr}=De,{actived:wa}=ct,{rHeight:ut}=Sr,{height:Vt}=Kn,bn=ur||ta,cr=bn?$n.renderer.get(bn.name):null,kr=cr?cr.cellClassName:"",Sa=cr?cr.cellStyle:"",Nr=Nn.showAll,Ur=t.getColumnIndex(De),Ba=t.getVTColumnIndex(De),Za=gr(ur);let Fi=te?De.fixed!==te:De.fixed&&xt;const mt=U.isUndefined(Tr)||U.isNull(Tr)?Ge:Tr;let jt=mt==="ellipsis";const sn=mt==="title",vn=mt===!0||mt==="tooltip";let $r=sn||vn||jt,Va;const Ei={},Pi=Mr||nt,Ji=an[`${me}:${De.id}`],Ds=oe&&bt.showMessage&&(bt.message==="default"?ve||it.length>1:bt.message==="inline"),wi={colid:De.id},Ra={$table:t,$grid:t.xegrid,seq:Fe,rowid:me,row:Se,rowIndex:Ae,$rowIndex:Ne,_rowIndex:je,column:De,columnIndex:Ur,$columnIndex:he,_columnIndex:Ba,fixed:te,type:Jv,isHidden:Fi,level:ue,visibleData:Wt,data:it,items:xe};if(Ee&&!$r&&(jt=$r=!0),(sn||vn||Nr||Xe)&&(Ei.onMouseenter=Vr=>{O()||(sn?gV(Vr.currentTarget,De):(vn||Nr)&&t.triggerBodyTooltipEvent(Vr,Ra),t.dispatchEvent("cell-mouseenter",Object.assign({cell:Vr.currentTarget},Ra),Vr))}),(vn||Nr||Xe)&&(Ei.onMouseleave=Vr=>{O()||((vn||Nr)&&t.handleTargetLeaveEvent(Vr),t.dispatchEvent("cell-mouseleave",Object.assign({cell:Vr.currentTarget},Ra),Vr))}),(Ft.range||Ie)&&(Ei.onMousedown=Vr=>{t.triggerCellMousedownEvent(Vr,Ra)}),Ei.onClick=Vr=>{t.triggerCellClickEvent(Vr,Ra)},Ei.onDblclick=Vr=>{t.triggerCellDblclickEvent(Vr,Ra)},Qe.length){const Vr=Awt(Qe,je,Ba);if(Vr){const{rowspan:di,colspan:bl}=Vr;if(!di||!bl)return null;di>1&&(wi.rowspan=di),bl>1&&(wi.colspan=bl)}}else if(ze){const{rowspan:Vr=1,colspan:di=1}=ze(Ra)||{};if(!Vr||!di)return null;Vr>1&&(wi.rowspan=Vr),di>1&&(wi.colspan=di)}Fi&&Qe&&(wi.colspan>1||wi.rowspan>1)&&(Fi=!1),!Fi&&ge&&(ur||ta)&&(It.showStatus||It.showUpdateStatus)&&(Va=t.isUpdateByRow(Se,De.field));const yl=[];if(Fi&&Ge&>)yl.push(W("div",{class:["vxe-cell",{"c--title":sn,"c--tooltip":vn,"c--ellipsis":jt}],style:{maxHeight:$r&&(ut||Vt)?`${ut||Vt}px`:""}}));else if(yl.push(...Y(Ra),W("div",{class:["vxe-cell",{"c--title":sn,"c--tooltip":vn,"c--ellipsis":jt}],style:{maxHeight:$r&&(ut||Vt)?`${ut||Vt}px`:""},title:sn?t.getCellLabel(Se,De):null},De.renderCell(Ra))),Ds&&Ji){const Vr=Ji.rule,di=Kr?Kr.valid:null,bl=Object.assign(Object.assign({},Ra),Ji);yl.push(W("div",{class:["vxe-cell--valid-error-hint",Af(bt.className,bl)],style:Vr&&Vr.maxWidth?{width:`${Vr.maxWidth}px`}:null},di?t.callSlot(di,bl):[W("span",{class:"vxe-cell--valid-error-msg"},Ji.content)]))}return W("td",Object.assign(Object.assign(Object.assign({class:["vxe-body--column",De.id,{[`col--${Pi}`]:Pi,[`col--${xr}`]:xr,"col--last":he===He.length-1,"col--tree-node":ba,"col--edit":Za,"col--ellipsis":$r,"fixed--hidden":Fi,"col--dirty":Va,"col--active":ge&&Za&&wa.row===Se&&(wa.column===De||It.mode==="row"),"col--valid-error":!!Ji,"col--current":pn===De},Af(kr,Ra),Af(jr,Ra),Af(Ke,Ra)],key:qe||Pr.useKey?De.id:he},wi),{style:Object.assign({height:$r&&(ut||Vt)?`${ut||Vt}px`:""},U.isFunction(Sa)?Sa(Ra):Sa,U.isFunction(rt)?rt(Ra):rt)}),Ei),yl)},ee=(Fe,me,te)=>{const{stripe:ue,rowKey:Se,highlightHoverRow:Ae,rowClassName:Ne,rowStyle:je,showOverflow:De,editConfig:he,treeConfig:He}=a,{hasFixedColumn:xe,treeExpandedMaps:qe,scrollYLoad:ve,rowExpandedMaps:Ge,expandColumn:Ke,selectRadioRow:rt,pendingRowMaps:nt,pendingRowList:ze}=o,{fullAllDataRowIdData:Ie}=l,ge=S.value,oe=y.value,Xe=w.value,it=h.value,xt=D.value,{transform:Ee}=Xe,pn=Xe.children||Xe.childrenField,Qe=[];return me.forEach((ct,gt)=>{const an={};let Wt=gt;Wt=t.getRowIndex(ct),(xt.isHover||Ae)&&(an.onMouseenter=Mr=>{O()||t.triggerHoverEvent(Mr,{row:ct,rowIndex:Wt})},an.onMouseleave=()=>{O()||t.clearHoverRow()});const bt=qt(t,ct),Ft=Ie[bt];let It=0,Nn=-1,Kn=0;Ft&&(It=Ft.level,Nn=Ft.seq,Kn=Ft._index);const Sr={$table:t,seq:Nn,rowid:bt,fixed:Fe,type:Jv,level:It,row:ct,rowIndex:Wt,$rowIndex:gt,_rowIndex:Kn},Pr=Ke&&!!Ge[bt];let xr=!1,ta=[],ur=!1;if(he&&(ur=t.isInsertByRow(ct)),He&&!ve&&!Ee&&(ta=ct[pn],xr=ta&&ta.length&&!!qe[bt]),Qe.push(W("tr",Object.assign({class:["vxe-body--row",He?`row--level-${It}`:"",{"row--stripe":ue&&(t.getVTRowIndex(ct)+1)%2===0,"is--new":ur,"is--expand-row":Pr,"is--expand-tree":xr,"row--new":ur&&(it.showStatus||it.showInsertStatus),"row--radio":oe.highlight&&t.eqRow(rt,ct),"row--checked":ge.highlight&&t.isCheckedByCheckboxRow(ct),"row--pending":ze.length&&!!nt[bt]},Af(Ne,Sr)],rowid:bt,style:je?U.isFunction(je)?je(Sr):je:null,key:Se||xt.useKey||He?bt:gt},an),te.map((Mr,Tr)=>z(Nn,bt,Fe,It,ct,Wt,gt,Kn,Mr,Tr,te,me)))),Pr){const Mr=E.value,{height:Tr}=Mr,jr={};Tr&&(jr.height=`${Tr}px`),He&&(jr.paddingLeft=`${It*Xe.indent+30}px`);const{showOverflow:ba}=Ke,Kr=U.isUndefined(ba)||U.isNull(ba)?De:ba,wa={$table:t,seq:Nn,column:Ke,fixed:Fe,type:Jv,level:It,row:ct,rowIndex:Wt,$rowIndex:gt,_rowIndex:Kn};Qe.push(W("tr",Object.assign({class:"vxe-body--expanded-row",key:`expand_${bt}`,style:je?U.isFunction(je)?je(wa):je:null},an),[W("td",{class:{"vxe-body--expanded-column":1,"fixed--hidden":Fe&&!xe,"col--ellipsis":Kr},colspan:te.length},[W("div",{class:{"vxe-body--expanded-cell":1,"is--ellipsis":Tr},style:jr},[Ke.renderData(wa)])])]))}xr&&Qe.push(...ee(Fe,ta,te))}),Qe};let ae;const pe=(Fe,me,te,ue)=>{(te||ue)&&(te&&(Hne(te),te.scrollTop=me),ue&&(Hne(ue),ue.scrollTop=me),clearTimeout(ae),ae=setTimeout(()=>{IC(te),IC(ue),o.lastScrollTime=Date.now()},300))},re=Fe=>{const{fixedType:me}=e,{highlightHoverRow:te}=a,{scrollXLoad:ue,scrollYLoad:Se}=o,{elemStore:Ae,lastScrollTop:Ne,lastScrollLeft:je}=l,De=D.value,he=s.value,He=u.value,xe=c.value,qe=d.value,ve=f.value,Ge=p.value,Ke=x.value,rt=he?he.$el:null,nt=xe?xe.$el:null,ze=He.$el,Ie=qe?qe.$el:null,ge=ve?ve.$el:null,oe=Ae["main-body-ySpace"],Xe=oe?oe.value:null,it=Ae["main-body-xSpace"],xt=it?it.value:null,Ee=Se&&Xe?Xe.clientHeight:ze.clientHeight,pn=ue&&xt?xt.clientWidth:ze.clientWidth;let Qe=Ke.scrollTop;const ct=ze.scrollLeft,gt=ct!==je,an=Qe!==Ne;l.lastScrollTop=Qe,l.lastScrollLeft=ct,o.lastScrollTime=Date.now(),(De.isHover||te)&&t.clearHoverRow(),Ie&&me==="left"?(Qe=Ie.scrollTop,pe(me,Qe,ze,ge)):ge&&me==="right"?(Qe=ge.scrollTop,pe(me,Qe,ze,Ie)):(gt&&(rt&&(rt.scrollLeft=ze.scrollLeft),nt&&(nt.scrollLeft=ze.scrollLeft)),(Ie||ge)&&(t.checkScrolling(),an&&pe(me,Qe,Ie,ge))),ue&>&&t.triggerScrollXEvent(Fe),Se&&an&&t.triggerScrollYEvent(Fe),gt&&Ge&&Ge.reactData.visible&&Ge.updatePlacement(),t.dispatchEvent("scroll",{type:Jv,fixed:me,scrollTop:Qe,scrollLeft:ct,scrollHeight:ze.scrollHeight,scrollWidth:ze.scrollWidth,bodyHeight:Ee,bodyWidth:pn,isX:gt,isY:an},Fe)};let Q,ie=0,X=0,q=0,ce=!1;const K=(Fe,me,te,ue,Se)=>{const{elemStore:Ae}=l,{scrollXLoad:Ne,scrollYLoad:je}=o,De=u.value,he=d.value,He=f.value,xe=he?he.$el:null,qe=He?He.$el:null,ve=De.$el,Ge=Ae["main-body-ySpace"],Ke=Ge?Ge.value:null,rt=Ae["main-body-xSpace"],nt=rt?rt.value:null,ze=je&&Ke?Ke.clientHeight:ve.clientHeight,Ie=Ne&&nt?nt.clientWidth:ve.clientWidth,ge=ce===me?Math.max(0,ie-q):0;ce=me,ie=Math.abs(me?te-ge:te+ge),X=0,q=0,clearTimeout(Q);const oe=()=>{if(qie&&(X=X-(q-ie));const{scrollTop:it,clientHeight:xt,scrollHeight:Ee}=ve,pn=it+X*(me?-1:1);ve.scrollTop=pn,xe&&(xe.scrollTop=pn),qe&&(qe.scrollTop=pn),(me?pn=0)&&(Q=setTimeout(oe,10)),t.dispatchEvent("scroll",{type:Jv,fixed:Xe,scrollTop:ve.scrollTop,scrollLeft:ve.scrollLeft,scrollHeight:ve.scrollHeight,scrollWidth:ve.scrollWidth,bodyHeight:ze,bodyWidth:Ie,isX:ue,isY:Se},Fe)}};oe()},Z=Fe=>{const{deltaY:me,deltaX:te}=Fe,{highlightHoverRow:ue}=a,{scrollYLoad:Se}=o,{lastScrollTop:Ae,lastScrollLeft:Ne}=l,je=D.value,De=u.value,he=x.value,He=De.$el,xe=me,qe=te,ve=xe<0;if(ve?he.scrollTop<=0:he.scrollTop>=he.scrollHeight-he.clientHeight)return;const Ge=he.scrollTop+xe,Ke=He.scrollLeft+qe,rt=Ke!==Ne,nt=Ge!==Ae;nt&&(Fe.preventDefault(),l.lastScrollTop=Ge,l.lastScrollLeft=Ke,o.lastScrollTime=Date.now(),(je.isHover||ue)&&t.clearHoverRow(),K(Fe,ve,xe,rt,nt),Se&&t.triggerScrollYEvent(Fe))};return Ut(()=>{Oe(()=>{const{fixedType:Fe}=e,{elemStore:me}=l,te=`${Fe||"main"}-body-`,ue=x.value;me[`${te}wrapper`]=x,me[`${te}table`]=_,me[`${te}colgroup`]=M,me[`${te}list`]=L,me[`${te}xSpace`]=I,me[`${te}ySpace`]=P,me[`${te}emptyBlock`]=B,ue&&(ue.onscroll=re,ue._onscroll=re)})}),Vn(()=>{const Fe=x.value;clearTimeout(Q),Fe&&(Fe._onscroll=null,Fe.onscroll=null)}),la(()=>{const{fixedType:Fe}=e,{elemStore:me}=l,te=`${Fe||"main"}-body-`;me[`${te}wrapper`]=null,me[`${te}table`]=null,me[`${te}colgroup`]=null,me[`${te}list`]=null,me[`${te}xSpace`]=null,me[`${te}ySpace`]=null,me[`${te}emptyBlock`]=null}),()=>{let{fixedColumn:Fe,fixedType:me,tableColumn:te}=e;const{keyboardConfig:ue,showOverflow:Se,spanMethod:Ae,mouseConfig:Ne}=a,{tableData:je,mergeList:De,scrollYLoad:he,isAllOverflow:He}=o,{visibleColumn:xe}=l,{slots:qe}=i,ve=v.value,Ge=g.value,Ke=b.value,rt=m.value;me&&(!o.expandColumn&&(he||Se&&He)&&!De.length&&!Ae&&!(ue&&Ke.isMerge)?te=Fe:te=xe);let nt;const ze=qe?qe.empty:null;if(ze)nt=t.callSlot(ze,{$table:t,$grid:t.xegrid});else{const Ie=Ge.name?$n.renderer.get(Ge.name):null,ge=Ie?Ie.renderTableEmptyView||Ie.renderEmpty:null;ge?nt=Wr(ge(Ge,{$table:t})):nt=a.emptyText||fe.i18n("vxe.table.emptyText")}return W("div",Object.assign({ref:x,class:["vxe-table--body-wrapper",me?`fixed-${me}--wrapper`:"body--wrapper"],xid:r},ve.mode==="wheel"?{onWheel:Z}:{}),[me?Pe():W("div",{ref:I,class:"vxe-body--x-space"}),W("div",{ref:P,class:"vxe-body--y-space"}),W("table",{ref:_,class:"vxe-table--body",xid:r,cellspacing:0,cellpadding:0,border:0},[W("colgroup",{ref:M},te.map((Ie,ge)=>W("col",{name:Ie.id,key:ge}))),W("tbody",{ref:L},ee(me,je,te))]),W("div",{class:"vxe-table--checkbox-range"}),Ne&&rt.area?W("div",{class:"vxe-table--cell-area"},[W("span",{class:"vxe-table--cell-main-area"},rt.extension?[W("span",{class:"vxe-table--cell-main-area-btn",onMousedown(Ie){t.triggerCellExtendMousedownEvent(Ie,{$table:t,fixed:me,type:Jv})}})]:[]),W("span",{class:"vxe-table--cell-copy-area"}),W("span",{class:"vxe-table--cell-extend-area"}),W("span",{class:"vxe-table--cell-multi-area"}),W("span",{class:"vxe-table--cell-active-area"})]):null,me?null:W("div",{class:"vxe-table--empty-block",ref:B},[W("div",{class:"vxe-table--empty-content"},nt)])])}}}),kx="header",dre=Ve({name:"VxeTableHeader",props:{tableData:Array,tableColumn:Array,tableGroupColumn:Array,fixedColumn:Array,fixedType:{type:String,default:null}},setup(e){const t=lt("$xetable",{}),{xID:n,props:r,reactData:a,internalData:i}=t,{refElem:o,refTableBody:l,refLeftContainer:s,refRightContainer:u,refCellResizeBar:c}=t.getRefMaps(),{computeColumnOpts:d}=t.getComputeMaps(),f=j([]),p=j(),h=j(),m=j(),v=j(),g=j(),b=j(),C=()=>{const{isGroup:w}=a;f.value=w?bwt(e.tableGroupColumn):[]},y=(w,S)=>{const{column:A}=S,{fixedType:D}=e,k=l.value,x=s.value,_=u.value,M=c.value,{clientX:L}=w,I=p.value,P=w.target,B=S.cell=P.parentNode;let T=0;const O=k.$el,N=gwt(P,I),V=P.clientWidth,Y=Math.floor(V/2),z=Ewt(S)-Y;let ee=N.left-B.clientWidth+V+z,ae=N.left+Y;const pe=document.onmousemove,re=document.onmouseup,Q=D==="left",ie=D==="right",X=o.value;let q=0;if(Q||ie){const K=Q?"nextElementSibling":"previousElementSibling";let Z=B[K];for(;Z&&!hp(Z,"fixed--hidden");)hp(Z,"col--group")||(q+=Z.offsetWidth),Z=Z[K];ie&&_&&(ae=_.offsetLeft+q)}const ce=function(K){K.stopPropagation(),K.preventDefault();const Z=K.clientX-L;let se=ae+Z;const Fe=D?0:O.scrollLeft;Q?se=Math.min(se,(_?_.offsetLeft:O.clientWidth)-q-z):ie?(ee=(x?x.clientWidth:0)+q+z,se=Math.min(se,ae+B.clientWidth-z)):ee=Math.max(O.scrollLeft,ee),T=Math.max(se,ee),M.style.left=`${T-Fe}px`};a._isResize=!0,qh(X,"drag--resize"),M.style.display="block",document.onmousemove=ce,document.onmouseup=function(K){document.onmousemove=pe,document.onmouseup=re;const Z=A.renderWidth+(ie?ae-T:T-ae);A.resizeWidth=Z,M.style.display="none",a._isResize=!1,i._lastResizeTime=Date.now(),t.analyColumnWidth(),t.recalculate(!0).then(()=>{t.saveCustomResizable(),t.updateCellAreas(),t.dispatchEvent("resizable-change",Object.assign(Object.assign({},S),{resizeWidth:Z}),K)}),$s(X,"drag--resize")},ce(w),t.closeMenu&&t.closeMenu()};return $e(()=>e.tableColumn,C),Ut(()=>{Oe(()=>{const{fixedType:w}=e,{internalData:S}=t,{elemStore:A}=S,D=`${w||"main"}-header-`;A[`${D}wrapper`]=p,A[`${D}table`]=h,A[`${D}colgroup`]=m,A[`${D}list`]=v,A[`${D}xSpace`]=g,A[`${D}repair`]=b,C()})}),la(()=>{const{fixedType:w}=e,{internalData:S}=t,{elemStore:A}=S,D=`${w||"main"}-header-`;A[`${D}wrapper`]=null,A[`${D}table`]=null,A[`${D}colgroup`]=null,A[`${D}list`]=null,A[`${D}xSpace`]=null,A[`${D}repair`]=null}),()=>{const{fixedType:w,fixedColumn:S,tableColumn:A}=e,{resizable:D,border:k,columnKey:x,headerRowClassName:_,headerCellClassName:M,headerRowStyle:L,headerCellStyle:I,showHeaderOverflow:P,headerAlign:B,align:T,mouseConfig:O}=r,{isGroup:N,currentColumn:V,scrollXLoad:Y,overflowX:z,scrollbarWidth:ee}=a,{visibleColumn:ae}=i,pe=d.value;let re=f.value,Q=A;return N?Q=ae:(w&&(Y||P)&&(Q=S),re=[Q]),W("div",{ref:p,class:["vxe-table--header-wrapper",w?`fixed-${w}--wrapper`:"body--wrapper"],xid:n},[w?Pe():W("div",{ref:g,class:"vxe-body--x-space"}),W("table",{ref:h,class:"vxe-table--header",xid:n,cellspacing:0,cellpadding:0,border:0},[W("colgroup",{ref:m},Q.map((ie,X)=>W("col",{name:ie.id,key:X})).concat(ee?[W("col",{name:"col_gutter"})]:[])),W("thead",{ref:v},re.map((ie,X)=>W("tr",{class:["vxe-header--row",_?U.isFunction(_)?_({$table:t,$rowIndex:X,fixed:w,type:kx}):_:""],style:L?U.isFunction(L)?L({$table:t,$rowIndex:X,fixed:w,type:kx}):L:null},ie.map((q,ce)=>{const{type:K,showHeaderOverflow:Z,headerAlign:se,align:Fe,headerClassName:me}=q,te=q.children&&q.children.length,ue=w?q.fixed!==w&&!te:!!q.fixed&&z,Se=U.isUndefined(Z)||U.isNull(Z)?P:Z,Ae=se||Fe||B||T;let Ne=Se==="ellipsis";const je=Se==="title",De=Se===!0||Se==="tooltip";let he=je||De||Ne;const He=q.filters&&q.filters.some(Ke=>Ke.checked),xe=t.getColumnIndex(q),qe=t.getVTColumnIndex(q),ve={$table:t,$grid:t.xegrid,$rowIndex:X,column:q,columnIndex:xe,$columnIndex:ce,_columnIndex:qe,fixed:w,type:kx,isHidden:ue,hasFilter:He},Ge={onClick:Ke=>t.triggerHeaderCellClickEvent(Ke,ve),onDblclick:Ke=>t.triggerHeaderCellDblclickEvent(Ke,ve)};return Y&&!he&&(Ne=he=!0),O&&(Ge.onMousedown=Ke=>t.triggerHeaderCellMousedownEvent(Ke,ve)),W("th",Object.assign(Object.assign({class:["vxe-header--column",q.id,{[`col--${Ae}`]:Ae,[`col--${K}`]:K,"col--last":ce===ie.length-1,"col--fixed":q.fixed,"col--group":te,"col--ellipsis":he,"fixed--hidden":ue,"is--sortable":q.sortable,"col--filter":!!q.filters,"is--filter-active":He,"col--current":V===q},me?U.isFunction(me)?me(ve):me:"",M?U.isFunction(M)?M(ve):M:""],colid:q.id,colspan:q.colSpan>1?q.colSpan:null,rowspan:q.rowSpan>1?q.rowSpan:null,style:I?U.isFunction(I)?I(ve):I:null},Ge),{key:x||pe.useKey||te?q.id:ce}),[W("div",{class:["vxe-cell",{"c--title":je,"c--tooltip":De,"c--ellipsis":Ne}]},q.renderHeader(ve)),!ue&&!te&&(U.isBoolean(q.resizable)?q.resizable:pe.resizable||D)?W("div",{class:["vxe-resizable",{"is--line":!k||k==="none"}],onMousedown:Ke=>y(Ke,ve)}):null])}).concat(ee?[W("th",{class:"vxe-header--gutter col--gutter"})]:[]))))]),W("div",{ref:b,class:"vxe-table--header-border-line"})])}}}),_x="footer";function FSt(e,t,n){for(let r=0;r-1&&a>-1&&o&&l){if(a===t&&i===n)return{rowspan:o,colspan:l};if(t>=a&&t=i&&n[]},tableColumn:{type:Array,default:()=>[]},fixedColumn:{type:Array,default:()=>[]},fixedType:{type:String,default:null}},setup(e){const t=lt("$xetable",{}),{xID:n,props:r,reactData:a,internalData:i}=t,{refTableHeader:o,refTableBody:l,refValidTooltip:s}=t.getRefMaps(),{computeTooltipOpts:u,computeColumnOpts:c}=t.getComputeMaps(),d=j(),f=j(),p=j(),h=j(),m=j(),v=b=>{const{fixedType:C}=e,{scrollXLoad:y}=a,{lastScrollLeft:E}=i,w=s.value,S=o.value,A=l.value,D=S?S.$el:null,k=d.value,x=A.$el,_=k.scrollLeft,M=_!==E;i.lastScrollLeft=_,a.lastScrollTime=Date.now(),D&&(D.scrollLeft=_),x&&(x.scrollLeft=_),y&&M&&t.triggerScrollXEvent(b),M&&w&&w.reactData.visible&&w.updatePlacement(),t.dispatchEvent("scroll",{type:_x,fixed:C,scrollTop:x.scrollTop,scrollLeft:_,isX:M,isY:!1},b)};return Ut(()=>{Oe(()=>{const{fixedType:b}=e,{elemStore:C}=i,y=`${b||"main"}-footer-`;C[`${y}wrapper`]=d,C[`${y}table`]=f,C[`${y}colgroup`]=p,C[`${y}list`]=h,C[`${y}xSpace`]=m})}),la(()=>{const{fixedType:b}=e,{elemStore:C}=i,y=`${b||"main"}-footer-`;C[`${y}wrapper`]=null,C[`${y}table`]=null,C[`${y}colgroup`]=null,C[`${y}list`]=null,C[`${y}xSpace`]=null}),()=>{let{fixedType:b,fixedColumn:C,tableColumn:y,footerTableData:E}=e;const{footerRowClassName:w,footerCellClassName:S,footerRowStyle:A,footerCellStyle:D,footerAlign:k,footerSpanMethod:x,align:_,columnKey:M,showFooterOverflow:L}=r,{visibleColumn:I}=i,{scrollXLoad:P,overflowX:B,scrollbarWidth:T,currentColumn:O,mergeFooterList:N}=a,V=u.value,Y=c.value;return b&&(!a.expandColumn&&(P||L)&&(!N.length||!x)?y=C:y=I),W("div",{ref:d,class:["vxe-table--footer-wrapper",b?`fixed-${b}--wrapper`:"body--wrapper"],xid:n,onScroll:v},[b?Pe():W("div",{ref:m,class:"vxe-body--x-space"}),W("table",{ref:f,class:"vxe-table--footer",xid:n,cellspacing:0,cellpadding:0,border:0},[W("colgroup",{ref:p},y.map((z,ee)=>W("col",{name:z.id,key:ee})).concat(T?[W("col",{name:"col_gutter"})]:[])),W("tfoot",{ref:h},E.map((z,ee)=>{const ae=ee,pe={$table:t,row:z,_rowIndex:ee,$rowIndex:ae,fixed:b,type:_x};return W("tr",{class:["vxe-footer--row",w?U.isFunction(w)?w(pe):w:""],style:A?U.isFunction(A)?A(pe):A:null},y.map((re,Q)=>{const{type:ie,showFooterOverflow:X,footerAlign:q,align:ce,footerClassName:K}=re,Z=V.showAll,se=re.children&&re.children.length,Fe=b?re.fixed!==b&&!se:re.fixed&&B,me=U.isUndefined(X)||U.isNull(X)?L:X,te=q||ce||k||_;let ue=me==="ellipsis";const Se=me==="title",Ae=me===!0||me==="tooltip";let Ne=Se||Ae||ue;const je={colid:re.id},De={},he=t.getColumnIndex(re),He=t.getVTColumnIndex(re),xe=He,qe={$table:t,$grid:t.xegrid,row:z,rowIndex:ee,_rowIndex:ee,$rowIndex:ae,column:re,columnIndex:he,$columnIndex:Q,_columnIndex:He,itemIndex:xe,items:z,fixed:b,type:_x,data:E};if(P&&!Ne&&(ue=Ne=!0),(Se||Ae||Z)&&(De.onMouseenter=ve=>{Se?gV(ve.currentTarget,re):(Ae||Z)&&t.triggerFooterTooltipEvent(ve,qe)}),(Ae||Z)&&(De.onMouseleave=ve=>{(Ae||Z)&&t.handleTargetLeaveEvent(ve)}),De.onClick=ve=>{t.dispatchEvent("footer-cell-click",Object.assign({cell:ve.currentTarget},qe),ve)},De.onDblclick=ve=>{t.dispatchEvent("footer-cell-dblclick",Object.assign({cell:ve.currentTarget},qe),ve)},N.length){const ve=FSt(N,ee,He);if(ve){const{rowspan:Ge,colspan:Ke}=ve;if(!Ge||!Ke)return null;Ge>1&&(je.rowspan=Ge),Ke>1&&(je.colspan=Ke)}}else if(x){const{rowspan:ve=1,colspan:Ge=1}=x(qe)||{};if(!ve||!Ge)return null;ve>1&&(je.rowspan=ve),Ge>1&&(je.colspan=Ge)}return W("td",Object.assign(Object.assign(Object.assign(Object.assign({class:["vxe-footer--column",re.id,{[`col--${te}`]:te,[`col--${ie}`]:ie,"col--last":Q===y.length-1,"fixed--hidden":Fe,"col--ellipsis":Ne,"col--current":O===re},Af(K,qe),Af(S,qe)]},je),{style:D?U.isFunction(D)?D(qe):D:null}),De),{key:M||Y.useKey?re.id:Q}),[W("div",{class:["vxe-cell",{"c--title":Se,"c--tooltip":Ae,"c--ellipsis":ue}]},re.renderFooter(qe))])}).concat(T?[W("td",{class:"vxe-footer--gutter col--gutter"})]:[]))}))])])}}}),EV={id:String,data:Array,height:[Number,String],minHeight:{type:[Number,String],default:()=>fe.table.minHeight},maxHeight:[Number,String],resizable:{type:Boolean,default:()=>fe.table.resizable},stripe:{type:Boolean,default:()=>fe.table.stripe},border:{type:[Boolean,String],default:()=>fe.table.border},round:{type:Boolean,default:()=>fe.table.round},size:{type:String,default:()=>fe.table.size||fe.size},fit:{type:Boolean,default:()=>fe.table.fit},loading:Boolean,align:{type:String,default:()=>fe.table.align},headerAlign:{type:String,default:()=>fe.table.headerAlign},footerAlign:{type:String,default:()=>fe.table.footerAlign},showHeader:{type:Boolean,default:()=>fe.table.showHeader},highlightCurrentRow:{type:Boolean,default:()=>fe.table.highlightCurrentRow},highlightHoverRow:{type:Boolean,default:()=>fe.table.highlightHoverRow},highlightCurrentColumn:{type:Boolean,default:()=>fe.table.highlightCurrentColumn},highlightHoverColumn:{type:Boolean,default:()=>fe.table.highlightHoverColumn},highlightCell:Boolean,showFooter:Boolean,footerData:Array,footerMethod:Function,rowClassName:[String,Function],cellClassName:[String,Function],headerRowClassName:[String,Function],headerCellClassName:[String,Function],footerRowClassName:[String,Function],footerCellClassName:[String,Function],cellStyle:[Object,Function],headerCellStyle:[Object,Function],footerCellStyle:[Object,Function],rowStyle:[Object,Function],headerRowStyle:[Object,Function],footerRowStyle:[Object,Function],mergeCells:Array,mergeFooterItems:Array,spanMethod:Function,footerSpanMethod:Function,showOverflow:{type:[Boolean,String],default:()=>fe.table.showOverflow},showHeaderOverflow:{type:[Boolean,String],default:()=>fe.table.showHeaderOverflow},showFooterOverflow:{type:[Boolean,String],default:()=>fe.table.showFooterOverflow},columnKey:Boolean,rowKey:Boolean,rowId:{type:String,default:()=>fe.table.rowId},zIndex:Number,emptyText:{type:String,default:()=>fe.table.emptyText},keepSource:{type:Boolean,default:()=>fe.table.keepSource},autoResize:{type:Boolean,default:()=>fe.table.autoResize},syncResize:[Boolean,String,Number],resizeConfig:Object,columnConfig:Object,rowConfig:Object,resizableConfig:Object,seqConfig:Object,sortConfig:Object,filterConfig:Object,radioConfig:Object,checkboxConfig:Object,tooltipConfig:Object,exportConfig:Object,importConfig:Object,printConfig:Object,expandConfig:Object,treeConfig:Object,menuConfig:Object,mouseConfig:Object,areaConfig:Object,keyboardConfig:Object,clipConfig:Object,fnrConfig:Object,editConfig:Object,validConfig:Object,editRules:Object,loadingConfig:Object,emptyRender:Object,customConfig:Object,scrollX:Object,scrollY:Object,animat:{type:Boolean,default:()=>fe.table.animat},delayHover:{type:Number,default:()=>fe.table.delayHover},params:Object},wV=["update:data","keydown-start","keydown","keydown-end","paste","copy","cut","current-change","radio-change","checkbox-change","checkbox-all","checkbox-range-start","checkbox-range-change","checkbox-range-end","checkbox-range-select","cell-click","cell-dblclick","cell-menu","cell-mouseenter","cell-mouseleave","cell-selected","cell-delete-value","header-cell-click","header-cell-dblclick","header-cell-menu","footer-cell-click","footer-cell-dblclick","footer-cell-menu","clear-merge","sort-change","clear-sort","filter-change","filter-visible","clear-filter","resizable-change","toggle-row-expand","toggle-tree-expand","menu-click","edit-closed","edit-actived","edit-activated","edit-disabled","valid-error","scroll","custom","change-fnr","open-fnr","show-fnr","hide-fnr","fnr-change","fnr-find","fnr-find-all","fnr-replace","fnr-replace-all","cell-area-copy","cell-area-cut","cell-area-paste","cell-area-merge","clear-cell-area-merge","header-cell-area-selection","cell-area-selection-invalid","cell-area-selection-start","cell-area-selection-drag","cell-area-selection-end","cell-area-extension-start","cell-area-extension-drag","cell-area-extension-end","cell-area-selection-all-start","cell-area-selection-all-end","cell-area-arrows-start","cell-area-arrows-end","active-cell-change-start","active-cell-change-end"],ESt=Uu["-webkit"]&&!Uu.edge,xx="VXE_TABLE_CUSTOM_COLUMN_WIDTH",Mx="VXE_TABLE_CUSTOM_COLUMN_VISIBLE",Bx="VXE_TABLE_CUSTOM_COLUMN_FIXED",Rx="VXE_TABLE_CUSTOM_COLUMN_SORT",kb=Ve({name:"VxeTable",props:EV,emits:wV,setup(e,t){const{slots:n,emit:r}=t,a=$n.tooltip,i=U.uniqueId(),o=ai(e),l=Jt(),s=dn({staticColumns:[],tableGroupColumn:[],tableColumn:[],tableData:[],scrollXLoad:!1,scrollYLoad:!1,overflowY:!0,overflowX:!1,scrollbarWidth:0,scrollbarHeight:0,lastScrollTime:0,rowHeight:0,parentHeight:0,isGroup:!1,isAllOverflow:!1,isAllSelected:!1,isIndeterminate:!1,selectCheckboxMaps:{},currentRow:null,currentColumn:null,selectRadioRow:null,footerTableData:[],expandColumn:null,treeNodeColumn:null,hasFixedColumn:!1,rowExpandedMaps:{},rowExpandLazyLoadedMaps:{},treeExpandedMaps:{},treeExpandLazyLoadedMaps:{},treeIndeterminateMaps:{},mergeList:[],mergeFooterList:[],upDataFlag:0,reColumnFlag:0,pendingRowMaps:{},pendingRowList:[],initStore:{filter:!1,import:!1,export:!1,custom:!1},customStore:{btnEl:null,isAll:!1,isIndeterminate:!1,activeBtn:!1,activeWrapper:!1,visible:!1,maxHeight:0},customColumnList:[],filterStore:{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1,maxHeight:null},columnStore:{leftList:[],centerList:[],rightList:[],resizeList:[],pxList:[],pxMinList:[],scaleList:[],scaleMinList:[],autoList:[]},ctxMenuStore:{selected:null,visible:!1,showChild:!1,selectChild:null,list:[],style:null},editStore:{indexs:{columns:[]},titles:{columns:[]},selected:{row:null,column:null},copyed:{cut:!1,rows:[],columns:[]},actived:{row:null,column:null},focused:{row:null,column:null},insertMaps:{},removeMaps:{}},tooltipStore:{row:null,column:null,content:null,visible:!1},validStore:{visible:!1},validErrorMaps:{},importStore:{inited:!1,file:null,type:"",modeList:[],typeList:[],filename:"",visible:!1},importParams:{mode:"",types:null,message:!0},exportStore:{inited:!1,name:"",modeList:[],typeList:[],columns:[],isPrint:!1,hasFooter:!1,hasMerge:!1,hasTree:!1,hasColgroup:!1,visible:!1},exportParams:{filename:"",sheetName:"",mode:"",type:"",isColgroup:!1,isMerge:!1,isAllExpand:!1,useStyle:!1,original:!1,message:!0,isHeader:!1,isFooter:!1},scrollVMLoading:!1,_isResize:!1}),u={tZindex:0,elemStore:{},scrollXStore:{offsetSize:0,visibleSize:0,startIndex:0,endIndex:0},scrollYStore:{rowHeight:0,offsetSize:0,visibleSize:0,startIndex:0,endIndex:0},tableWidth:0,tableHeight:0,headerHeight:0,footerHeight:0,customHeight:0,customMinHeight:0,customMaxHeight:0,hoverRow:null,lastScrollLeft:0,lastScrollTop:0,radioReserveRow:null,checkboxReserveRowMap:{},rowExpandedReserveRowMap:{},treeExpandedReserveRowMap:{},treeIndeterminateRowMaps:{},tableFullData:[],afterFullData:[],afterTreeFullData:[],afterFullRowMaps:{},tableFullTreeData:[],tableSynchData:[],tableSourceData:[],collectColumn:[],tableFullColumn:[],visibleColumn:[],fullAllDataRowIdData:{},sourceDataRowIdData:{},fullDataRowIdData:{},fullColumnIdData:{},fullColumnFieldData:{},columnStatusMaps:{},rowStatusMaps:{},inited:!1,tooltipTimeout:null,initStatus:!1,isActivated:!1};let c={},d={};const f=j(),p=j(),h=j(),m=j(),v=j(),g=j(),b=j(),C=j(),y=j(),E=j(),w=j(),S=j(),A=j(),D=j(),k=j(),x=j(),_=j(),M=j(),L=j(),I=j(),P=lt("$xegrid",null);let B;const T=R(()=>Object.assign({},fe.table.validConfig,e.validConfig)),O=R(()=>Object.assign({},fe.table.scrollX,e.scrollX)),N=R(()=>Object.assign({},fe.table.scrollY,e.scrollY)),V=R(()=>({default:48,medium:44,small:40,mini:36})),Y=R(()=>Object.assign({},fe.table.columnConfig,e.columnConfig)),z=R(()=>Object.assign({},fe.table.rowConfig,e.rowConfig)),ee=R(()=>Object.assign({},fe.table.resizeConfig,e.resizeConfig)),ae=R(()=>Object.assign({},fe.table.resizableConfig,e.resizableConfig)),pe=R(()=>Object.assign({startIndex:0},fe.table.seqConfig,e.seqConfig)),re=R(()=>Object.assign({},fe.table.radioConfig,e.radioConfig)),Q=R(()=>Object.assign({},fe.table.checkboxConfig,e.checkboxConfig));let ie=j();ie=R(()=>Object.assign({},fe.tooltip,fe.table.tooltipConfig,e.tooltipConfig));const X=R(()=>{const $=ie.value;return Object.assign({},$)}),q=R(()=>{const $=ie.value;return Object.assign({isArrow:!1},$)}),ce=R(()=>Object.assign({},fe.table.editConfig,e.editConfig)),K=R(()=>Object.assign({orders:["asc","desc",null]},fe.table.sortConfig,e.sortConfig)),Z=R(()=>Object.assign({},fe.table.filterConfig,e.filterConfig)),se=R(()=>Object.assign({},fe.table.mouseConfig,e.mouseConfig)),Fe=R(()=>Object.assign({},fe.table.areaConfig,e.areaConfig)),me=R(()=>Object.assign({},fe.table.keyboardConfig,e.keyboardConfig)),te=R(()=>Object.assign({},fe.table.clipConfig,e.clipConfig)),ue=R(()=>Object.assign({},fe.table.fnrConfig,e.fnrConfig)),Se=R(()=>Object.assign({},fe.table.menuConfig,e.menuConfig)),Ae=R(()=>{const G=Se.value.header;return G&&G.options?G.options:[]}),Ne=R(()=>{const G=Se.value.body;return G&&G.options?G.options:[]}),je=R(()=>{const G=Se.value.footer;return G&&G.options?G.options:[]}),De=R(()=>{const $=Se.value,G=Ae.value,ne=Ne.value,de=je.value;return!!(e.menuConfig&&gr($)&&(G.length||ne.length||de.length))}),he=R(()=>{const{ctxMenuStore:$}=s,G=[];return $.list.forEach(ne=>{ne.forEach(de=>{G.push(de)})}),G}),He=R(()=>Object.assign({},fe.table.exportConfig,e.exportConfig)),xe=R(()=>Object.assign({},fe.table.importConfig,e.importConfig)),qe=R(()=>Object.assign({},fe.table.printConfig,e.printConfig)),ve=R(()=>Object.assign({},fe.table.expandConfig,e.expandConfig)),Ge=R(()=>Object.assign({},fe.table.treeConfig,e.treeConfig)),Ke=R(()=>Object.assign({},fe.table.emptyRender,e.emptyRender)),rt=R(()=>Object.assign({},fe.table.loadingConfig,e.loadingConfig)),nt=R(()=>e.border?Math.max(2,Math.ceil(s.scrollbarWidth/s.tableColumn.length)):1),ze=R(()=>Object.assign({},fe.table.customConfig,e.customConfig)),Ie=R(()=>{const{collectColumn:$}=u;let G=0;return $.forEach(ne=>{ne.fixed&&G++}),G}),ge=R(()=>{const $=Ie.value,G=Y.value,{maxFixedSize:ne}=G;return ne?$>=ne:!1}),oe=R(()=>{const{border:$}=e;return $===!0?"full":$||"default"}),Xe=R(()=>{const{treeConfig:$}=e,{tableData:G}=s,{tableFullData:ne}=u,de=Q.value,{strict:we,checkMethod:Me}=de;return we?G.length||ne.length?Me?ne.every(Le=>!Me({row:Le})):!1:!0:!1}),it={refElem:f,refTooltip:p,refValidTooltip:m,refTableFilter:g,refTableCustom:b,refTableMenu:v,refTableHeader:C,refTableBody:y,refTableFooter:E,refTableLeftHeader:w,refTableLeftBody:S,refTableLeftFooter:A,refTableRightHeader:D,refTableRightBody:k,refTableRightFooter:x,refLeftContainer:_,refRightContainer:M,refCellResizeBar:L},xt={computeSize:o,computeValidOpts:T,computeSXOpts:O,computeSYOpts:N,computeColumnOpts:Y,computeRowOpts:z,computeResizeleOpts:ee,computeResizableOpts:ae,computeSeqOpts:pe,computeRadioOpts:re,computeCheckboxOpts:Q,computeTooltipOpts:ie,computeEditOpts:ce,computeSortOpts:K,computeFilterOpts:Z,computeMouseOpts:se,computeAreaOpts:Fe,computeKeyboardOpts:me,computeClipOpts:te,computeFNROpts:ue,computeHeaderMenu:Ae,computeBodyMenu:Ne,computeFooterMenu:je,computeIsMenu:De,computeMenuOpts:Se,computeExportOpts:He,computeImportOpts:xe,computePrintOpts:qe,computeExpandOpts:ve,computeTreeOpts:Ge,computeEmptyOpts:Ke,computeLoadingOpts:rt,computeCustomOpts:ze,computeFixedColumnSize:Ie,computeIsMaxFixedColumn:ge,computeIsAllCheckboxDisabled:Xe},Ee={xID:i,props:e,context:t,instance:l,reactData:s,internalData:u,getRefMaps:()=>it,getComputeMaps:()=>xt,xegrid:P},pn=($,G,ne)=>{const de=U.get($,ne),we=U.get(G,ne);return Qc(de)&&Qc(we)?!0:U.isString(de)||U.isNumber(de)?""+de==""+we:U.isEqual(de,we)},Qe=$=>{const G=K.value,{orders:ne}=G,de=$.order||null,we=ne.indexOf(de)+1;return ne[we{const G=fe.version,ne=U.toStringJSON(localStorage.getItem($)||"");return ne&&ne._v===G?ne:{_v:G}},gt=$=>{const{fullAllDataRowIdData:G}=u,ne={};return U.each($,(de,we)=>{G[we]&&(ne[we]=de)}),ne},an=$=>{const{fullDataRowIdData:G}=u,ne=[];return U.each($,(de,we)=>{G[we]&&Ee.findRowIndexOf(ne,G[we].row)===-1&&ne.push(G[we].row)}),ne},Wt=()=>{const{visibleColumn:$}=u,G=y.value,ne=G?G.$el:null;if(ne){const{scrollLeft:de,clientWidth:we}=ne,Me=de+we;let Le=-1,Je=0,Ye=0;for(let tt=0,Ze=$.length;tt=0&&(Ye++,Je>Me)));tt++);return{toVisibleIndex:Math.max(0,Le),visibleSize:Math.max(8,Ye)}}return{toVisibleIndex:0,visibleSize:8}},bt=()=>{const $=C.value,G=y.value,ne=G?G.$el:null,de=o.value,we=V.value;if(ne){const Me=$?$.$el:null;let Le=0,Je;Je=ne.querySelector("tr"),!Je&&Me&&(Je=Me.querySelector("tr")),Je&&(Le=Je.clientHeight),Le||(Le=we[de||"default"]);const Ye=Math.max(8,Math.ceil(ne.clientHeight/Le)+2);return{rowHeight:Le,visibleSize:Ye}}return{rowHeight:0,visibleSize:8}},Ft=($,G,ne)=>{for(let de=0,we=$.length;de{if($){const{treeConfig:de}=e,{visibleColumn:we}=u;U.isArray($)||($=[$]),de&&$.length&&ei("vxe.error.noTree",["merge-cells | merge-footer-items"]),$.forEach(Me=>{let{row:Le,col:Je,rowspan:Ye,colspan:tt}=Me;if(ne&&U.isNumber(Le)&&(Le=ne[Le]),U.isNumber(Je)&&(Je=we[Je]),(ne?Le:U.isNumber(Le))&&Je&&(Ye||tt)&&(Ye=U.toNumber(Ye)||1,tt=U.toNumber(tt)||1,Ye>1||tt>1)){const Ze=U.findIndexOf(G,At=>(At._row===Le||qt(Ee,At._row)===qt(Ee,Le))&&(At._col.id===Je||At._col.id===Je.id)),ht=G[Ze];if(ht)ht.rowspan=Ye,ht.colspan=tt,ht._rowspan=Ye,ht._colspan=tt;else{const At=ne?Ee.findRowIndexOf(ne,Le):Le,Ct=c.getVTColumnIndex(Je);G.push({row:At,col:Ct,rowspan:Ye,colspan:tt,_row:Le,_col:Je,_rowspan:Ye,_colspan:tt})}}})}},Nn=($,G,ne)=>{const de=[];if($){const{treeConfig:we}=e,{visibleColumn:Me}=u;U.isArray($)||($=[$]),we&&$.length&&ei("vxe.error.noTree",["merge-cells | merge-footer-items"]),$.forEach(Le=>{let{row:Je,col:Ye}=Le;ne&&U.isNumber(Je)&&(Je=ne[Je]),U.isNumber(Ye)&&(Ye=Me[Ye]);const tt=U.findIndexOf(G,Ze=>(Ze._row===Je||qt(Ee,Ze._row)===qt(Ee,Je))&&(Ze._col.id===Ye||Ze._col.id===Ye.id));if(tt>-1){const Ze=G.splice(tt,1);de.push(Ze[0])}})}return de},Kn=()=>{const{tableFullColumn:$}=u;$.forEach(G=>{G.order=null})},Sr=$=>{const{parentHeight:G}=s,ne=e[$];let de=0;if(ne)if(ne==="100%"||ne==="auto")de=G;else{const we=Ee.getExcludeHeight();Uy(ne)?de=Math.floor((U.toInteger(ne)||1)/100*G):de=U.toNumber(ne),de=Math.max(40,de-we)}return de},Pr=()=>{const{id:$,customConfig:G}=e,ne=ze.value,{storage:de}=ne,we=de===!0,Me=we?{}:Object.assign({},de||{}),Le=we||Me.resizable,Je=we||Me.visible,Ye=we||Me.fixed,tt=we||Me.sort;if(G&&(Le||Je||Ye||tt)){const Ze={};if(!$){ei("vxe.error.reqProp",["id"]);return}if(Le){const Dt=ct(xx)[$];Dt&&U.each(Dt,(St,_t)=>{Ze[_t]={resizeWidth:St}})}if(Ye){const Dt=ct(Bx)[$];Dt&&Dt.split(",").forEach(_t=>{const[vt,Ht]=_t.split("|");Ze[vt]?Ze[vt].fixed=Ht:Ze[vt]={fixed:Ht}})}let ht=!1;if(tt){const Dt=ct(Rx)[$];Dt&&U.each(Dt,(St,_t)=>{Ze[_t]?Ze[_t].renderSortNumber=St:Ze[_t]={renderSortNumber:St},ht||(ht=!0)})}if(Je){const Dt=ct(Mx)[$];if(Dt){const St=Dt.split("|"),_t=St[0]?St[0].split(","):[],vt=St[1]?St[1].split(","):[];_t.forEach(Ht=>{Ze[Ht]?Ze[Ht].visible=!1:Ze[Ht]={visible:!1}}),vt.forEach(Ht=>{Ze[Ht]?Ze[Ht].visible=!0:Ze[Ht]={visible:!0}})}}let{collectColumn:At}=u;const Ct={};U.eachTree(At,Dt=>{const St=Dt.getKey();St&&(Ct[St]=Dt)}),U.each(Ze,({visible:Dt,resizeWidth:St,fixed:_t,renderSortNumber:vt},Ht)=>{const Zt=Ct[Ht];Zt&&(U.isNumber(St)&&(Zt.resizeWidth=St),U.isBoolean(Dt)&&(Zt.visible=Dt),_t&&(Zt.fixed=_t),vt&&(Zt.renderSortNumber=Number(vt)))}),ht&&(At=U.orderBy(At,"renderSortNumber"),u.collectColumn=At,u.tableFullColumn=Vr(At))}},xr=()=>{const{tableFullColumn:$,collectColumn:G}=u,ne=u.fullColumnIdData={},de=u.fullColumnFieldData={};se.value,Y.value,z.value;const we=G.some(b3);let Me=!!e.showOverflow,Le,Je;const Ye=(tt,Ze,ht,At,Ct)=>{const{id:Dt,field:St,fixed:_t,type:vt,treeNode:Ht}=tt,Zt={column:tt,colid:Dt,index:Ze,items:ht,parent:Ct};St&&(de[St]=Zt),Ht?Je||(Je=tt):vt==="expand"&&(Le||(Le=tt)),Me&&tt.showOverflow===!1&&(Me=!1),ne[Dt]&&ei("vxe.error.colRepet",["colId",Dt]),ne[Dt]=Zt};we?U.eachTree(G,(tt,Ze,ht,At,Ct,Dt)=>{tt.level=Dt.length,Ye(tt,Ze,ht,At,Ct)}):$.forEach(Ye),s.isGroup=we,s.treeNodeColumn=Je,s.expandColumn=Le,s.isAllOverflow=Me},ta=()=>{u.customHeight=Sr("height"),u.customMinHeight=Sr("minHeight"),u.customMaxHeight=Sr("maxHeight")},ur=()=>{const $=C.value,G=y.value,ne=E.value,de=G?G.$el:null,we=$?$.$el:null,Me=ne?ne.$el:null;if(!de)return;let Le=0;const Je=40,Ye=de.clientWidth-1;let tt=Ye,Ze=tt/100;const{fit:ht}=e,{columnStore:At}=s,{resizeList:Ct,pxMinList:Dt,pxList:St,scaleList:_t,scaleMinList:vt,autoList:Ht}=At;if(Dt.forEach(br=>{const vr=U.toInteger(br.minWidth);Le+=vr,br.renderWidth=vr}),vt.forEach(br=>{const vr=Math.floor(U.toInteger(br.minWidth)*Ze);Le+=vr,br.renderWidth=vr}),_t.forEach(br=>{const vr=Math.floor(U.toInteger(br.width)*Ze);Le+=vr,br.renderWidth=vr}),St.forEach(br=>{const vr=U.toInteger(br.width);Le+=vr,br.renderWidth=vr}),Ct.forEach(br=>{const vr=U.toInteger(br.resizeWidth);Le+=vr,br.renderWidth=vr}),tt-=Le,Ze=tt>0?Math.floor(tt/(vt.length+Dt.length+Ht.length)):0,ht?tt>0&&vt.concat(Dt).forEach(br=>{Le+=Ze,br.renderWidth+=Ze}):Ze=Je,Ht.forEach(br=>{const vr=Math.max(Ze,Je);br.renderWidth=vr,Le+=vr}),ht){const br=_t.concat(vt).concat(Dt).concat(Ht);let vr=br.length-1;if(vr>0){let Aa=Ye-Le;if(Aa>0){for(;Aa>0&&vr>=0;)Aa--,br[vr--].renderWidth++;Le=Ye}}}const Zt=de.offsetHeight,Bn=de.scrollHeight>de.clientHeight;let Fn=0;Bn&&(Fn=Math.max(de.offsetWidth-de.clientWidth,0)),s.scrollbarWidth=Fn,s.overflowY=Bn,u.tableWidth=Le,u.tableHeight=Zt;let Mn=0;we&&(Mn=we.clientHeight,Oe(()=>{we&&de&&we.scrollLeft!==de.scrollLeft&&(we.scrollLeft=de.scrollLeft)})),u.headerHeight=Mn;let ua=!1,La=0,qr=0;Me?(La=Me.offsetHeight,ua=Le>Me.clientWidth,ua&&(qr=Math.max(La-Me.clientHeight,0))):(ua=Le>Ye,ua&&(qr=Math.max(Zt-de.clientHeight,0))),u.footerHeight=La,s.overflowX=ua,s.scrollbarHeight=qr,ta(),s.parentHeight=Math.max(u.headerHeight+La+20,d.getParentHeight()),ua&&d.checkScrolling()},Mr=$=>{const{sortBy:G,sortType:ne}=$;return de=>{let we;return G?we=U.isFunction(G)?G({row:de,column:$}):U.get(de,G):we=d.getCellLabel(de,$),!ne||ne==="auto"?isNaN(we)?we:U.toNumber(we):ne==="number"?U.toNumber(we):ne==="string"?U.toValueString(we):we}},Tr=()=>{const{treeConfig:$}=e,{afterFullData:G,fullDataRowIdData:ne,fullAllDataRowIdData:de}=u,{afterTreeFullData:we}=u,Me=Ge.value,Le=Me.children||Me.childrenField,Je={};$?U.eachTree(we,(Ye,tt,Ze,ht)=>{const At=qt(Ee,Ye),Ct=de[At],Dt=ht.map((St,_t)=>_t%2===0?Number(St)+1:".").join("");if(Ct)Ct.seq=Dt,Ct._index=tt;else{const St={row:Ye,rowid:At,seq:Dt,index:-1,$index:-1,_index:tt,items:[],parent:null,level:0};de[At]=St,ne[At]=St}Je[At]=Ye},{children:Me.transform?Me.mapChildrenField:Le}):G.forEach((Ye,tt)=>{const Ze=qt(Ee,Ye),ht=de[Ze],At=tt+1;if(ht)ht.seq=At,ht._index=tt;else{const Ct={row:Ye,rowid:Ze,seq:At,index:-1,$index:-1,_index:tt,items:[],parent:null,level:0};de[Ze]=Ct,ne[Ze]=Ct}Je[Ze]=Ye}),u.afterFullRowMaps=Je},jr=()=>{const{treeConfig:$}=e,{treeExpandedMaps:G}=s,ne=Ge.value;if($&&ne.transform){const de=[],we={};return U.eachTree(u.afterTreeFullData,(Me,Le,Je,Ye,tt)=>{const Ze=qt(Ee,Me),ht=qt(Ee,tt);(!tt||we[ht]&&G[ht])&&(we[Ze]=1,de.push(Me))},{children:ne.mapChildrenField}),u.afterFullData=de,xp(de),de}return u.afterFullData},ba=()=>{const{treeConfig:$}=e,{tableFullColumn:G,tableFullData:ne,tableFullTreeData:de}=u,we=Z.value,Me=K.value,Le=Ge.value,{transform:Je}=Le,{remote:Ye,filterMethod:tt}=we,{remote:Ze,sortMethod:ht,multiple:At,chronological:Ct}=Me;let Dt=[],St=[];if(!Ye||!Ze){const _t=[];let vt=[];if(G.forEach(Ht=>{const{field:Zt,sortable:Bn,order:Fn,filters:Mn}=Ht;if(!Ye&&Mn&&Mn.length){const ua=[],La=[];Mn.forEach(qr=>{qr.checked&&(La.push(qr),ua.push(qr.value))}),La.length&&_t.push({column:Ht,valueList:ua,itemList:La})}!Ze&&Bn&&Fn&&vt.push({column:Ht,field:Zt,property:Zt,order:Fn,sortTime:Ht.sortTime})}),At&&Ct&&vt.length>1&&(vt=U.orderBy(vt,"sortTime")),!Ye&&_t.length){const Ht=Zt=>_t.every(({column:Bn,valueList:Fn,itemList:Mn})=>{const{filterMethod:ua,filterRender:La}=Bn,qr=La?$n.renderer.get(La.name):null,br=qr?qr.filterMethod:null,vr=qr?qr.defaultFilterMethod:null,Aa=Md(Zt,Bn);return ua?Mn.some(Ii=>ua({value:Ii.value,option:Ii,cellValue:Aa,row:Zt,column:Bn,$table:Ee})):br?Mn.some(Ii=>br({value:Ii.value,option:Ii,cellValue:Aa,row:Zt,column:Bn,$table:Ee})):tt?tt({options:Mn,values:Fn,cellValue:Aa,row:Zt,column:Bn}):vr?Mn.some(Ii=>vr({value:Ii.value,option:Ii,cellValue:Aa,row:Zt,column:Bn,$table:Ee})):Fn.indexOf(U.get(Zt,Bn.field))>-1});$&&Je?(St=U.searchTree(de,Ht,Object.assign(Object.assign({},Le),{original:!0})),Dt=St):(Dt=$?de.filter(Ht):ne.filter(Ht),St=Dt)}else $&&Je?(St=U.searchTree(de,()=>!0,Object.assign(Object.assign({},Le),{original:!0})),Dt=St):(Dt=$?de.slice(0):ne.slice(0),St=Dt);if(!Ze&&vt.length)if($&&Je){if(ht){const Ht=ht({data:St,sortList:vt,$table:Ee});St=U.isArray(Ht)?Ht:St}else St=U.orderBy(St,vt.map(({column:Ht,order:Zt})=>[Mr(Ht),Zt]));Dt=St}else{if(ht){const Ht=ht({data:Dt,sortList:vt,$table:Ee});Dt=U.isArray(Ht)?Ht:Dt}else Dt=U.orderBy(Dt,vt.map(({column:Ht,order:Zt})=>[Mr(Ht),Zt]));St=Dt}}else $&&Je?(St=U.searchTree(de,()=>!0,Object.assign(Object.assign({},Le),{original:!0})),Dt=St):(Dt=$?de.slice(0):ne.slice(0),St=Dt);u.afterFullData=Dt,u.afterTreeFullData=St,Tr()},Kr=()=>{const{border:$,showFooter:G,showOverflow:ne,showHeaderOverflow:de,showFooterOverflow:we,mouseConfig:Me,spanMethod:Le,footerSpanMethod:Je,keyboardConfig:Ye}=e,{isGroup:tt,currentRow:Ze,tableColumn:ht,scrollXLoad:At,scrollYLoad:Ct,scrollbarWidth:Dt,scrollbarHeight:St,columnStore:_t,editStore:vt,mergeList:Ht,mergeFooterList:Zt,isAllOverflow:Bn}=s;let{visibleColumn:Fn,fullColumnIdData:Mn,tableHeight:ua,tableWidth:La,headerHeight:qr,footerHeight:br,elemStore:vr,customHeight:Aa,customMinHeight:Ii,customMaxHeight:ks}=u;const vv=["main","left","right"],Lp=I.value,Bg=nt.value,Op=se.value,Bc=me.value,Pp=vr["main-body-wrapper"],Ip=Pp?Pp.value:null;return Lp&&(Lp.style.top=`${qr}px`,Lp.style.height=Ip?`${Ip.offsetHeight-St}px`:""),Aa>0&&G&&(Aa+=St),vv.forEach((Cl,Np)=>{const bo=Np>0?Cl:"",Si=["header","body","footer"],jo=bo==="left";let Ai=[],$p;bo&&(Ai=jo?_t.leftList:_t.rightList,$p=jo?_.value:M.value),Si.forEach(Wl=>{const jV=vr[`${Cl}-${Wl}-wrapper`],Eu=jV?jV.value:null,KV=vr[`${Cl}-${Wl}-table`],Vp=KV?KV.value:null;if(Wl==="header"){let Ko=La,Co=ht;tt?Co=Fn:bo&&(At||de)&&(Co=Ai),Ko=Co.reduce((Ni,Rg)=>Ni+Rg.renderWidth,0),Vp&&(Vp.style.width=Ko?`${Ko+Dt}px`:"");const Xi=vr[`${Cl}-${Wl}-repair`],Fl=Xi?Xi.value:null;Fl&&(Fl.style.width=`${La}px`);const Di=vr[`${Cl}-${Wl}-list`],Uo=Di?Di.value:null;tt&&Uo&&U.arrayEach(Uo.querySelectorAll(".col--group"),Ni=>{const Rg=c.getColumnNode(Ni);if(Rg){const L4=Rg.item,{showHeaderOverflow:lE}=L4,jd=U.isBoolean(lE)?lE:de,gv=jd==="title"||(jd===!0||jd==="tooltip")||jd==="ellipsis";let Lg=0,Og=0;gv&&U.eachTree(L4.children,O4=>{(!O4.children||!L4.children.length)&&Og++,Lg+=O4.renderWidth},{children:"children"}),Ni.style.width=gv?`${Lg-Og-($?2:0)}px`:""}})}else if(Wl==="body"){const Ko=vr[`${Cl}-${Wl}-emptyBlock`],Co=Ko?Ko.value:null;if(vx(Eu)){let Di=0;const Uo=Ii-qr-br;if(ks&&(Di=ks-qr-br,bo&&(Di-=G?0:St),Di=Math.max(Uo,Di),Eu.style.maxHeight=`${Di}px`),Aa){let Ni=Aa-qr-br;bo&&(Ni-=G?0:St),Di&&(Ni=Math.min(Di,Ni)),Eu.style.height=`${Math.max(Uo,Ni)}px`}else Eu.style.height="";Eu.style.minHeight=`${Uo}px`}$p&&(vx(Eu)&&(Eu.style.top=`${qr}px`),$p.style.height=`${(Aa>0?Aa-qr-br:ua)+qr+br-St*(G?2:1)}px`,$p.style.width=`${Ai.reduce((Di,Uo)=>Di+Uo.renderWidth,jo?0:Dt)}px`);let Xi=La,Fl=ht;bo&&(!s.expandColumn&&(Ct||ne&&Bn)&&!Ht.length&&!Le&&!(Ye&&Bc.isMerge)?Fl=Ai:Fl=Fn),Xi=Fl.reduce((Di,Uo)=>Di+Uo.renderWidth,0),Vp&&(Vp.style.width=Xi?`${Xi}px`:"",Vp.style.paddingRight=Dt&&bo&&(Uu["-moz"]||Uu.safari)?`${Dt}px`:""),Co&&(Co.style.width=Xi?`${Xi}px`:"")}else if(Wl==="footer"){let Ko=La,Co=ht;bo&&(!s.expandColumn&&(At||we)&&(!Zt.length||!Je)?Co=Ai:Co=Fn),Ko=Co.reduce((Xi,Fl)=>Xi+Fl.renderWidth,0),vx(Eu)&&($p&&(Eu.style.top=`${Aa>0?Aa-br:ua+qr}px`),Eu.style.marginTop=`${-Math.max(1,St)}px`),Vp&&(Vp.style.width=Ko?`${Ko+Dt}px`:"")}const UV=vr[`${Cl}-${Wl}-colgroup`],qV=UV?UV.value:null;qV&&U.arrayEach(qV.children,Ko=>{const Co=Ko.getAttribute("name");if(Co==="col_gutter"&&(Ko.style.width=`${Dt}px`),Mn[Co]){const Xi=Mn[Co].column,{showHeaderOverflow:Fl,showFooterOverflow:Di,showOverflow:Uo}=Xi;let Ni;Ko.style.width=`${Xi.renderWidth}px`,Wl==="header"?Ni=U.isUndefined(Fl)||U.isNull(Fl)?de:Fl:Wl==="footer"?Ni=U.isUndefined(Di)||U.isNull(Di)?we:Di:Ni=U.isUndefined(Uo)||U.isNull(Uo)?ne:Uo;let jd=Ni==="title"||(Ni===!0||Ni==="tooltip")||Ni==="ellipsis";const sE=vr[`${Cl}-${Wl}-list`],uE=sE?sE.value:null;Ct&&!jd&&(jd=!0),uE&&U.arrayEach(uE.querySelectorAll(`.${Xi.id}`),cE=>{const gv=parseInt(cE.getAttribute("colspan")||1),Lg=cE.querySelector(".vxe-cell");let Og=Xi.renderWidth;if(Lg){if(gv>1){const O4=c.getColumnIndex(Xi);for(let dE=1;dEEe.triggerValidate?Ee.triggerValidate($):Oe(),ut=($,G)=>{wa("blur").catch(ne=>ne).then(()=>{Ee.handleActived(G,$).then(()=>wa("change")).catch(ne=>ne)})},Vt=()=>{const{sortConfig:$}=e;if($){const G=K.value;let{defaultSort:ne}=G;ne&&(U.isArray(ne)||(ne=[ne]),ne.length&&(($.multiple?ne:ne.slice(0,1)).forEach((de,we)=>{const{field:Me,order:Le}=de;if(Me&&Le){const Je=c.getColumnByField(Me);Je&&Je.sortable&&(Je.order=Le,Je.sortTime=Date.now()+we)}}),G.remote||d.handleTableData(!0).then(Kr)))}},bn=()=>{const{checkboxConfig:$}=e;if($){const{fullDataRowIdData:G}=u,ne=Q.value,{checkAll:de,checkRowKeys:we}=ne;if(de)Za(!0,!0);else if(we){const Me=[];we.forEach(Le=>{G[Le]&&Me.push(G[Le].row)}),Ba(Me,!0,!0)}}},cr=()=>{const{radioConfig:$}=e;if($){const{fullDataRowIdData:G}=u,ne=re.value,{checkRowKey:de,reserve:we}=ne;if(de&&(G[de]&&Ur(G[de].row,!0),we)){const Me=Eh(Ee);u.radioReserveRow={[Me]:de}}}},kr=()=>{const{expandConfig:$}=e;if($){const{fullDataRowIdData:G}=u,ne=ve.value,{expandAll:de,expandRowKeys:we}=ne;if(de)c.setAllRowExpand(!0);else if(we){const Me=[];we.forEach(Le=>{G[Le]&&Me.push(G[Le].row)}),c.setRowExpand(Me,!0)}}},Sa=$=>{re.value.reserve&&(u.radioReserveRow=$)},Nr=($,G)=>{const{checkboxReserveRowMap:ne}=u;if(Q.value.reserve){const we=qt(Ee,$);G?ne[we]=$:ne[we]&&delete ne[we]}},Ur=($,G)=>{const ne=re.value,{checkMethod:de}=ne;return $&&(G||!de||de({row:$}))&&(s.selectRadioRow=$,Sa($)),Oe()},Ba=($,G,ne)=>($&&!U.isArray($)&&($=[$]),$.forEach(de=>d.handleSelectRow({row:de},!!G,ne)),Oe()),Za=($,G)=>{const{treeConfig:ne}=e,{selectCheckboxMaps:de}=s,{afterFullData:we,afterFullRowMaps:Me,checkboxReserveRowMap:Le}=u,Je=Ge.value,Ye=Je.children||Je.childrenField,tt=Q.value,{checkField:Ze,reserve:ht,checkStrictly:At,checkMethod:Ct}=tt,Dt=tt.indeterminateField||tt.halfField,St={};if(ne||U.each(de,(_t,vt)=>{Me[vt]||(St[vt]=_t)}),At)s.isAllSelected=$;else{if(Ze){const _t=vt=>{(G||!Ct||Ct({row:vt}))&&($&&(St[qt(Ee,vt)]=vt),U.set(vt,Ze,$)),ne&&Dt&&U.set(vt,Dt,!1)};ne?U.eachTree(we,_t,{children:Ye}):we.forEach(_t)}else ne?$?U.eachTree(we,_t=>{(G||!Ct||Ct({row:_t}))&&(St[qt(Ee,_t)]=_t)},{children:Ye}):!G&&Ct&&U.eachTree(we,_t=>{const vt=qt(Ee,_t);!Ct({row:_t})&&de[vt]&&(St[vt]=_t)},{children:Ye}):$?!G&&Ct?we.forEach(_t=>{const vt=qt(Ee,_t);(de[vt]||Ct({row:_t}))&&(St[vt]=_t)}):we.forEach(_t=>{St[qt(Ee,_t)]=_t}):!G&&Ct&&we.forEach(_t=>{const vt=qt(Ee,_t);!Ct({row:_t})&&de[vt]&&(St[vt]=_t)});ht&&($?U.each(St,(_t,vt)=>{Le[vt]=_t}):we.forEach(_t=>Nr(_t,!1))),s.selectCheckboxMaps=Ze?{}:St}return s.treeIndeterminateMaps={},u.treeIndeterminateRowMaps={},d.checkSelectionStatus(),Oe()},Fi=()=>{const{treeConfig:$}=e,{expandColumn:G,currentRow:ne,selectCheckboxMaps:de,selectRadioRow:we,rowExpandedMaps:Me,treeExpandedMaps:Le}=s,{fullDataRowIdData:Je,fullAllDataRowIdData:Ye,radioReserveRow:tt}=u,Ze=ve.value,ht=Ge.value,At=re.value,Ct=Q.value;if(we&&!Ye[qt(Ee,we)]&&(s.selectRadioRow=null),At.reserve&&tt){const Dt=qt(Ee,tt);Je[Dt]&&Ur(Je[Dt].row,!0)}s.selectCheckboxMaps=gt(de),Ct.reserve&&Ba(an(u.checkboxReserveRowMap),!0,!0),ne&&!Ye[qt(Ee,ne)]&&(s.currentRow=null),s.rowExpandedMaps=G?gt(Me):{},G&&Ze.reserve&&c.setRowExpand(an(u.rowExpandedReserveRowMap),!0),s.treeExpandedMaps=$?gt(Le):{},$&&ht.reserve&&c.setTreeExpand(an(u.treeExpandedReserveRowMap),!0)},mt=()=>{const{treeConfig:$}=e;if($){const{tableFullData:G}=u,ne=Ge.value,{expandAll:de,expandRowKeys:we}=ne,Me=ne.children||ne.childrenField;if(de)c.setAllTreeExpand(!0);else if(we){const Le=[],Je=Eh(Ee);we.forEach(Ye=>{const tt=U.findTree(G,Ze=>Ye===U.get(Ze,Je),{children:Me});tt&&Le.push(tt.item)}),c.setTreeExpand(Le,!0)}}},jt=$=>{const G=Ge.value,ne=Q.value,{transform:de,loadMethod:we}=G,{checkStrictly:Me}=ne;return new Promise(Le=>{if(we){const{treeExpandLazyLoadedMaps:Je}=s,{fullAllDataRowIdData:Ye}=u,tt=qt(Ee,$),Ze=Ye[tt];Je[tt]=$,we({$table:Ee,row:$}).then(ht=>{if(Ze.treeLoaded=!0,Je[tt]&&delete Je[tt],U.isArray(ht)||(ht=[]),ht)return c.loadTreeChildren($,ht).then(At=>{const{treeExpandedMaps:Ct}=s;return At.length&&!Ct[tt]&&(Ct[tt]=$),!Me&&c.isCheckedByCheckboxRow($)&&Ba(At,!0),Oe().then(()=>{if(de)return d.handleTableData()})})}).catch(()=>{const{treeExpandLazyLoadedMaps:ht}=s;Ze.treeLoaded=!1,ht[tt]&&delete ht[tt]}).finally(()=>{Oe().then(()=>c.recalculate()).then(()=>Le())})}else Le()})},sn=($,G)=>{const{treeExpandedReserveRowMap:ne}=u;if(Ge.value.reserve){const we=qt(Ee,$);G?ne[we]=$:ne[we]&&delete ne[we]}},vn=$=>new Promise(G=>{const ne=ve.value,{loadMethod:de}=ne;if(de){const{fullAllDataRowIdData:we}=u,{rowExpandLazyLoadedMaps:Me}=s,Le=qt(Ee,$),Je=we[Le];Me[Le]=$,de({$table:Ee,row:$,rowIndex:c.getRowIndex($),$rowIndex:c.getVMRowIndex($)}).then(()=>{const{rowExpandedMaps:Ye}=s;Je.expandLoaded=!0,Ye[Le]=$}).catch(()=>{Je.expandLoaded=!1}).finally(()=>{const{rowExpandLazyLoadedMaps:Ye}=s;Ye[Le]&&delete Ye[Le],Oe().then(()=>c.recalculate()).then(()=>G())})}else G()}),$r=($,G)=>{const{rowExpandedReserveRowMap:ne}=u;if(ve.value.reserve){const we=qt(Ee,$);G?ne[we]=$:ne[we]&&delete ne[we]}},Va=()=>{const{mergeCells:$}=e;$&&c.setMergeCells($)},Ei=()=>{const{mergeFooterItems:$}=e;$&&c.setMergeFooterItems($)},Pi=()=>Oe().then(()=>{const{scrollXLoad:$,scrollYLoad:G}=s,{scrollXStore:ne,scrollYStore:de}=u,we=N.value,Me=O.value;if($){const{visibleSize:Ye}=Wt(),tt=Me.oSize?U.toNumber(Me.oSize):Uu.edge?5:0;ne.offsetSize=tt,ne.visibleSize=Ye,ne.endIndex=Math.max(ne.startIndex+ne.visibleSize+tt,ne.endIndex),d.updateScrollXData()}else d.updateScrollXSpace();const{rowHeight:Le,visibleSize:Je}=bt();if(de.rowHeight=Le,G){const Ye=we.oSize?U.toNumber(we.oSize):Uu.edge?10:0;de.offsetSize=Ye,de.visibleSize=Je,de.endIndex=Math.max(de.startIndex+Je+Ye,de.endIndex),d.updateScrollYData()}else d.updateScrollYSpace();s.rowHeight=Le,Oe(Kr)}),Ji=$=>{const{keepSource:G,treeConfig:ne}=e,{editStore:de,scrollYLoad:we}=s,{scrollYStore:Me,scrollXStore:Le,lastScrollLeft:Je,lastScrollTop:Ye}=u,tt=Ge.value,{transform:Ze}=tt,ht=tt.children||tt.childrenField;let At=[],Ct=dn($?$.slice(0):[]);ne&&(Ze?(At=U.toArrayTree(Ct,{key:tt.rowField,parentKey:tt.parentField,children:ht,mapChildren:tt.mapChildrenField}),Ct=At.slice(0)):At=Ct.slice(0)),Me.startIndex=0,Me.endIndex=1,Le.startIndex=0,Le.endIndex=1,s.scrollVMLoading=!1,de.insertMaps={},de.removeMaps={};const Dt=xp(Ct);return s.scrollYLoad=Dt,u.tableFullData=Ct,u.tableFullTreeData=At,d.cacheRowMap(!0),u.tableSynchData=$,G&&d.cacheSourceMap(Ct),Dt&&(e.height||e.maxHeight||ei("vxe.error.reqProp",["table.height | table.max-height | table.scroll-y={enabled: false}"]),e.showOverflow||ei("vxe.error.reqProp",["table.show-overflow"])),Ee.clearCellAreas&&e.mouseConfig&&(Ee.clearCellAreas(),Ee.clearCopyCellArea()),c.clearMergeCells(),c.clearMergeFooterItems(),d.handleTableData(!0),c.updateFooter(),Oe().then(()=>{ta(),Kr()}).then(()=>{Pi()}).then(()=>(Dt&&(Me.endIndex=Me.visibleSize),Fi(),d.checkSelectionStatus(),new Promise(St=>{Oe().then(()=>c.recalculate()).then(()=>{let _t=Je,vt=Ye;const Ht=O.value,Zt=N.value;Ht.scrollToLeftOnChange&&(_t=0),Zt.scrollToTopOnChange&&(vt=0),we===Dt?gx(Ee,_t,vt).then(St):setTimeout(()=>gx(Ee,_t,vt).then(St))})})))},Ds=()=>{bn(),cr(),kr(),mt(),Va(),Ei(),Oe(()=>setTimeout(()=>c.recalculate()))},wi=()=>{Vt()},Ra=()=>{const{scrollXLoad:$}=s,{visibleColumn:G,scrollXStore:ne,fullColumnIdData:de}=u,we=$?G.slice(ne.startIndex,ne.endIndex):G.slice(0);we.forEach((Me,Le)=>{const Je=Me.id,Ye=de[Je];Ye&&(Ye.$index=Le)}),s.tableColumn=we},yl=()=>{const{mergeList:$,mergeFooterList:G}=s,{scrollXStore:ne}=u,{startIndex:de,endIndex:we,offsetSize:Me}=ne,{toVisibleIndex:Le,visibleSize:Je}=Wt(),Ye={startIndex:Math.max(0,Le-1-Me),endIndex:Le+Je+Me};Ft($.concat(G),Ye,"col");const{startIndex:tt,endIndex:Ze}=Ye;(Le<=de||Le>=we-Je-1)&&(de!==tt||we!==Ze)&&(ne.startIndex=tt,ne.endIndex=Ze,d.updateScrollXData()),c.closeTooltip()},Vr=$=>{const G=[];return $.forEach(ne=>{G.push(...ne.children&&ne.children.length?Vr(ne.children):[ne])}),G},di=()=>{const $=[],G=[],ne=[],{isGroup:de,columnStore:we}=s,Me=O.value,{collectColumn:Le,tableFullColumn:Je,scrollXStore:Ye,fullColumnIdData:tt}=u;if(de){const At=[],Ct=[],Dt=[];U.eachTree(Le,(St,_t,vt,Ht,Zt)=>{const Bn=b3(St);Zt&&Zt.fixed&&(St.fixed=Zt.fixed),Zt&&St.fixed!==Zt.fixed&&ei("vxe.error.groupFixed"),Bn?St.visible=!!U.findTree(St.children,Fn=>b3(Fn)?!1:Fn.visible):St.visible&&(St.fixed==="left"?$.push(St):St.fixed==="right"?ne.push(St):G.push(St))}),Le.forEach(St=>{St.visible&&(St.fixed==="left"?At.push(St):St.fixed==="right"?Dt.push(St):Ct.push(St))}),s.tableGroupColumn=At.concat(Ct).concat(Dt)}else Je.forEach(At=>{At.visible&&(At.fixed==="left"?$.push(At):At.fixed==="right"?ne.push(At):G.push(At))});const Ze=$.concat(G).concat(ne),ht=!!Me.enabled&&Me.gt>-1&&(Me.gt===0||Me.gt0||ne.length>0,Object.assign(we,{leftList:$,centerList:G,rightList:ne}),ht){const{visibleSize:At}=Wt();Ye.startIndex=0,Ye.endIndex=At,Ye.visibleSize=At}return(Ze.length!==u.visibleColumn.length||!u.visibleColumn.every((At,Ct)=>At===Ze[Ct]))&&(c.clearMergeCells(),c.clearMergeFooterItems()),s.scrollXLoad=ht,Ze.forEach((At,Ct)=>{const Dt=At.id,St=tt[Dt];St&&(St._index=Ct)}),u.visibleColumn=Ze,Ra(),c.updateFooter().then(()=>c.recalculate()).then(()=>(c.updateCellAreas(),c.recalculate()))},bl=()=>{const{collectColumn:$}=u;$.forEach((G,ne)=>{const de=ne+1;G.sortNumber=de,G.renderSortNumber=de})},Mc=$=>{u.collectColumn=$;const G=Vr($);return u.tableFullColumn=G,bl(),Pr(),xr(),di().then(()=>{s.scrollXLoad&&yl()}),c.clearMergeCells(),c.clearMergeFooterItems(),d.handleTableData(!0),Oe().then(()=>(B&&B.syncUpdate({collectColumn:$,$table:Ee}),c.recalculate()))},xp=$=>{const{treeConfig:G}=e,ne=N.value,de=Ge.value,{transform:we}=de,Me=$||u.tableFullData,Le=(we||!G)&&!!ne.enabled&&ne.gt>-1&&(ne.gt===0||ne.gt{const{treeExpandedMaps:ne,treeExpandLazyLoadedMaps:de,treeNodeColumn:we}=s,Me=Object.assign({},ne),{fullAllDataRowIdData:Le,tableFullData:Je}=u,Ye=Ge.value,{reserve:tt,lazy:Ze,accordion:ht,toggleMethod:At}=Ye,Ct=Ye.children||Ye.childrenField,Dt=Ye.hasChild||Ye.hasChildField,St=[],_t=c.getColumnIndex(we),vt=c.getVMColumnIndex(we);let Ht=At?$.filter(Zt=>At({$table:Ee,expanded:G,column:we,columnIndex:_t,$columnIndex:vt,row:Zt})):$;if(ht){Ht=Ht.length?[Ht[Ht.length-1]]:[];const Zt=U.findTree(Je,Bn=>Bn===Ht[0],{children:Ct});Zt&&Zt.items.forEach(Bn=>{const Fn=qt(Ee,Bn);Me[Fn]&&delete Me[Fn]})}return G?Ht.forEach(Zt=>{const Bn=qt(Ee,Zt);if(!Me[Bn]){const Fn=Le[Bn];Ze&&Zt[Dt]&&!Fn.treeLoaded&&!de[Bn]?St.push(jt(Zt)):Zt[Ct]&&Zt[Ct].length&&(Me[Bn]=Zt)}}):Ht.forEach(Zt=>{const Bn=qt(Ee,Zt);Me[Bn]&&delete Me[Bn]}),tt&&Ht.forEach(Zt=>sn(Zt,G)),s.treeExpandedMaps=Me,Promise.all(St).then(()=>c.recalculate())},Eg=($,G)=>cv($,G).then(()=>(jr(),d.handleTableData())).then(()=>c.recalculate()),dv=$=>{const{mergeList:G}=s,{scrollYStore:ne}=u,{startIndex:de,endIndex:we,visibleSize:Me,offsetSize:Le,rowHeight:Je}=ne,tt=($.currentTarget||$.target).scrollTop,Ze=Math.floor(tt/Je),ht={startIndex:Math.max(0,Ze-1-Le),endIndex:Ze+Me+Le};Ft(G,ht,"row");const{startIndex:At,endIndex:Ct}=ht;(Ze<=de||Ze>=we-Me-1)&&(de!==At||we!==Ct)&&(ne.startIndex=At,ne.endIndex=Ct,d.updateScrollYData())},Wd=$=>function(G){const{fullAllDataRowIdData:ne}=u;if(G){const de=qt(Ee,G),we=ne[de];if(we)return we[$]}return-1},Ts=$=>function(G){const{fullColumnIdData:ne}=u;if(G){const de=ne[G.id];if(de)return de[$]}return-1},wg=U.debounce(function($){dv($)},20,{leading:!1,trailing:!0});let fv;c={dispatchEvent($,G,ne){r($,Object.assign({$table:Ee,$grid:P,$event:ne},G))},clearAll(){return Twt(Ee)},syncData(){return RL("vxe.error.delFunc",["syncData","getData"]),Oe().then(()=>(s.tableData=[],r("update:data",u.tableFullData),Oe()))},updateData(){const{scrollXLoad:$,scrollYLoad:G}=s;return d.handleTableData(!0).then(()=>{if(c.updateFooter(),$||G)return $&&d.updateScrollXSpace(),G&&d.updateScrollYSpace(),c.refreshScroll()}).then(()=>(c.updateCellAreas(),c.recalculate(!0))).then(()=>{setTimeout(()=>Ee.recalculate(),50)})},loadData($){const{inited:G,initStatus:ne}=u;return Ji($).then(()=>(u.inited=!0,u.initStatus=!0,ne||Ds(),G||wi(),c.recalculate()))},reloadData($){const{inited:G}=u;return c.clearAll().then(()=>(u.inited=!0,u.initStatus=!0,Ji($))).then(()=>(Ds(),G||wi(),c.recalculate()))},setRow($,G){if(G){let ne=$;U.isArray($)||(ne=[$]),ne.forEach(de=>Object.assign(de,G))}return Oe()},reloadRow($,G,ne){const{keepSource:de}=e,{tableData:we}=s,{tableSourceData:Me}=u;if(de){const Le=c.getRowIndex($),Je=Me[Le];if(Je&&$)if(ne){const Ye=U.get(G||$,ne);U.set($,ne,Ye),U.set(Je,ne,Ye)}else{const Ye=U.clone(Object.assign({},G),!0);U.destructuring(Je,Object.assign($,Ye))}s.tableData=we.slice(0)}return Oe()},loadTreeChildren($,G){const{keepSource:ne}=e,{tableSourceData:de,fullDataRowIdData:we,fullAllDataRowIdData:Me,sourceDataRowIdData:Le}=u,Je=Ge.value,{transform:Ye,mapChildrenField:tt}=Je,Ze=Je.children||Je.childrenField,ht=Me[qt(Ee,$)],At=ht?ht.level:0;return c.createData(G).then(Ct=>{if(ne){const Dt=qt(Ee,$),St=U.findTree(de,_t=>Dt===qt(Ee,_t),{children:Ze});St&&(St.item[Ze]=U.clone(Ct,!0)),Ct.forEach(_t=>{const vt=qt(Ee,_t);Le[vt]=U.clone(_t,!0)})}return U.eachTree(Ct,(Dt,St,_t,vt,Ht,Zt)=>{const Bn=qt(Ee,Dt),Fn=Ht||ht.row,Mn={row:Dt,rowid:Bn,seq:-1,index:St,_index:-1,$index:-1,items:_t,parent:Fn,level:At+Zt.length};we[Bn]=Mn,Me[Bn]=Mn},{children:Ze}),$[Ze]=Ct,Ye&&($[tt]=Ct),Tr(),Ct})},loadColumn($){const G=U.mapTree($,ne=>dn(Tn.createColumn(Ee,ne)));return Mc(G)},reloadColumn($){return c.clearAll().then(()=>c.loadColumn($))},getRowNode($){if($){const{fullAllDataRowIdData:G}=u,ne=$.getAttribute("rowid");if(ne){const de=G[ne];if(de)return{rowid:de.rowid,item:de.row,index:de.index,items:de.items,parent:de.parent}}}return null},getColumnNode($){if($){const{fullColumnIdData:G}=u,ne=$.getAttribute("colid");if(ne){const de=G[ne];if(de)return{colid:de.colid,item:de.column,index:de.index,items:de.items,parent:de.parent}}}return null},getRowSeq:Wd("seq"),getRowIndex:Wd("index"),getVTRowIndex:Wd("_index"),getVMRowIndex:Wd("$index"),getColumnIndex:Ts("index"),getVTColumnIndex:Ts("_index"),getVMColumnIndex:Ts("$index"),createData($){return Oe().then(()=>dn(d.defineField($)))},createRow($){const G=U.isArray($);return G||($=[$||{}]),c.createData($).then(ne=>G?ne:ne[0])},revertData($,G){const{keepSource:ne}=e,{tableSourceData:de,sourceDataRowIdData:we}=u;if(!ne)return Oe();let Me=$;return $?U.isArray($)||(Me=[$]):Me=U.toArray(Ee.getUpdateRecords()),Me.length&&Me.forEach(Le=>{if(!c.isInsertByRow(Le)){const Je=qt(Ee,Le),Ye=we[Je];Ye&&Le&&(G?U.set(Le,G,U.clone(U.get(Ye,G),!0)):U.destructuring(Le,U.clone(Ye,!0)))}}),$?Oe():c.reloadData(de)},clearData($,G){const{tableFullData:ne,visibleColumn:de}=u;return arguments.length?$&&!U.isArray($)&&($=[$]):$=ne,G?$.forEach(we=>U.set(we,G,null)):$.forEach(we=>{de.forEach(Me=>{Me.field&&_h(we,Me,null)})}),Oe()},isInsertByRow($){const{editStore:G}=s,ne=qt(Ee,$);return G.insertMaps[ne]},removeInsertRow(){const{editStore:$}=s;return $.insertMaps={},Ee.remove(Ee.getInsertRecords())},isUpdateByRow($,G){const{keepSource:ne}=e,{tableFullColumn:de,fullDataRowIdData:we,sourceDataRowIdData:Me}=u;if(ne){const Le=qt(Ee,$);if(!we[Le])return!1;const Je=Me[Le];if(Je){if(arguments.length>1)return!pn(Je,$,G);for(let Ye=0,tt=de.length;YeU.get(_t,At),{children:Ze?ht:Ct}):Dt=St.filter(_t=>U.get(_t,At));else{const{selectCheckboxMaps:_t}=s;U.each(_t,(vt,Ht)=>{$?Le[Ht]&&Dt.push(Le[Ht].row):Je[Ht]&&Dt.push(Je[Ht])})}return Dt},getParentRow($){const{treeConfig:G}=e,{fullDataRowIdData:ne}=u;if($&&G){let de;if(U.isString($)?de=$:de=qt(Ee,$),de){const we=ne[de];return we?we.parent:null}}return null},getRowById($){const{fullDataRowIdData:G}=u,ne=U.eqNull($)?"":encodeURIComponent($||"");return G[ne]?G[ne].row:null},getRowid($){return qt(Ee,$)},getTableData(){const{tableData:$,footerTableData:G}=s,{tableFullData:ne,afterFullData:de,tableFullTreeData:we}=u;return{fullData:e.treeConfig?we.slice(0):ne.slice(0),visibleData:de.slice(0),tableData:$.slice(0),footerData:G.slice(0)}},setColumnFixed($,G){const ne=xs(Ee,$),de=zne(Ee,ne),we=ge.value,Me=Y.value,{maxFixedSize:Le}=Me;return de&&de.fixed!==G?!de.fixed&&we?($n.modal&&$n.modal.message({status:"error",content:fe.i18n("vxe.table.maxFixedCol",[Le])}),Oe()):(U.eachTree([de],Je=>{Je.fixed=G}),d.saveCustomFixed(),c.refreshColumn()):Oe()},clearColumnFixed($){const G=xs(Ee,$),ne=zne(Ee,G);return ne&&ne.fixed?(U.eachTree([ne],de=>{de.fixed=null}),d.saveCustomFixed(),c.refreshColumn()):Oe()},hideColumn($){const G=xs(Ee,$);return G&&G.visible?(G.visible=!1,d.handleCustom()):Oe()},showColumn($){const G=xs(Ee,$);return G&&!G.visible?(G.visible=!0,d.handleCustom()):Oe()},setColumnWidth($,G){const ne=xs(Ee,$);if(ne){const de=U.toInteger(G);let we=de;if(Uy(G)){const Me=y.value,Le=Me?Me.$el:null,Je=Le?Le.clientWidth-1:0;we=Math.floor(de*Je)}ne.renderWidth=we}return Oe()},getColumnWidth($){const G=xs(Ee,$);return G?G.renderWidth:0},resetCustom($){const{collectColumn:G}=u,ne=ze.value,{checkMethod:de}=ne,we=Object.assign({visible:!0,resizable:$===!0,fixed:$===!0,sort:$===!0},$);return U.eachTree(G,Me=>{we.resizable&&(Me.resizeWidth=0),we.fixed&&(Me.fixed=Me.defaultFixed),we.sort&&(Me.renderSortNumber=Me.sortNumber),(!de||de({column:Me}))&&(Me.visible=Me.defaultVisible)}),we.resizable&&d.saveCustomResizable(!0),we.sort&&d.saveCustomSort(!0),we.fixed&&d.saveCustomFixed(),d.handleCustom()},resetColumn($){return RL("vxe.error.delFunc",["resetColumn","resetCustom"]),Ee.resetCustom($)},refreshColumn($){if($){const G=U.orderBy(u.collectColumn,"renderSortNumber");u.collectColumn=G;const ne=Vr(G);u.tableFullColumn=ne,xr()}return di().then(()=>c.refreshScroll()).then(()=>c.recalculate())},refreshScroll(){const{lastScrollLeft:$,lastScrollTop:G}=u,ne=y.value,de=E.value,we=S.value,Me=k.value,Le=ne?ne.$el:null,Je=we?we.$el:null,Ye=Me?Me.$el:null,tt=de?de.$el:null;return new Promise(Ze=>{if($||G)return gx(Ee,$,G).then().then(()=>{setTimeout(Ze,30)});C3(Le,G),C3(Je,G),C3(Ye,G),Nne(tt,$),setTimeout(Ze,30)})},recalculate($){return ur(),$===!0?Pi().then(()=>(ur(),Pi())):Pi()},openTooltip($,G){const ne=h.value;return ne?ne.open($,G):Oe()},closeTooltip(){const{tooltipStore:$}=s,G=p.value,ne=h.value;return $.visible&&(Object.assign($,{row:null,column:null,content:null,visible:!1}),G&&G.close()),ne&&ne.close(),Oe()},isAllCheckboxChecked(){return s.isAllSelected},isAllCheckboxIndeterminate(){return!s.isAllSelected&&s.isIndeterminate},getCheckboxIndeterminateRecords($){const{treeConfig:G}=e,{fullDataRowIdData:ne}=u,{treeIndeterminateMaps:de}=s;if(G){const we=[],Me=[];return U.each(de,(Le,Je)=>{Le&&(we.push(Le),ne[Je]&&Me.push(Le))}),$?we:Me}return[]},setCheckboxRow($,G){return Ba($,G,!0)},isCheckedByCheckboxRow($){const{selectCheckboxMaps:G}=s,ne=Q.value,{checkField:de}=ne;return de?U.get($,de):!!G[qt(Ee,$)]},isIndeterminateByCheckboxRow($){const{treeIndeterminateMaps:G}=s;return!!G[qt(Ee,$)]&&!c.isCheckedByCheckboxRow($)},toggleCheckboxRow($){const{selectCheckboxMaps:G}=s,ne=Q.value,{checkField:de}=ne,we=de?!U.get($,de):!G[qt(Ee,$)];return d.handleSelectRow({row:$},we,!0),Oe()},setAllCheckboxRow($){return Za($,!0)},getRadioReserveRecord($){const{treeConfig:G}=e,{fullDataRowIdData:ne,radioReserveRow:de,afterFullData:we}=u,Me=re.value,Le=Ge.value,Je=Le.children||Le.childrenField;if(Me.reserve&&de){const Ye=qt(Ee,de);if($){if(!ne[Ye])return de}else{const tt=Eh(Ee);if(G){if(U.findTree(we,ht=>Ye===U.get(ht,tt),{children:Je}))return de}else if(!we.some(Ze=>Ye===U.get(Ze,tt)))return de}}return null},clearRadioReserve(){return u.radioReserveRow=null,Oe()},getCheckboxReserveRecords($){const{treeConfig:G}=e,{afterFullData:ne,fullDataRowIdData:de,checkboxReserveRowMap:we}=u,Me=Q.value,Le=Ge.value,Je=Le.children||Le.childrenField,Ye=[];if(Me.reserve){const tt={};G?U.eachTree(ne,Ze=>{tt[qt(Ee,Ze)]=1},{children:Je}):ne.forEach(Ze=>{tt[qt(Ee,Ze)]=1}),U.each(we,(Ze,ht)=>{Ze&&($?de[ht]||Ye.push(Ze):tt[ht]||Ye.push(Ze))})}return Ye},clearCheckboxReserve(){return u.checkboxReserveRowMap={},Oe()},toggleAllCheckboxRow(){return d.triggerCheckAllEvent(null,!s.isAllSelected),Oe()},clearCheckboxRow(){const{treeConfig:$}=e,{tableFullData:G}=u,ne=Ge.value,de=ne.children||ne.childrenField,we=Q.value,{checkField:Me,reserve:Le}=we,Je=we.indeterminateField||we.halfField;if(Me){const Ye=tt=>{$&&Je&&U.set(tt,Je,!1),U.set(tt,Me,!1)};$?U.eachTree(G,Ye,{children:de}):G.forEach(Ye)}return Le&&G.forEach(Ye=>Nr(Ye,!1)),s.isAllSelected=!1,s.isIndeterminate=!1,s.selectCheckboxMaps={},s.treeIndeterminateMaps={},Oe()},setCurrentRow($){const G=z.value,ne=f.value;return c.clearCurrentRow(),s.currentRow=$,(G.isCurrent||e.highlightCurrentRow)&&ne&&U.arrayEach(ne.querySelectorAll(`[rowid="${qt(Ee,$)}"]`),de=>qh(de,"row--current")),Oe()},isCheckedByRadioRow($){return Ee.eqRow(s.selectRadioRow,$)},setRadioRow($){return Ur($,!0)},clearCurrentRow(){const $=f.value;return s.currentRow=null,u.hoverRow=null,$&&U.arrayEach($.querySelectorAll(".row--current"),G=>$s(G,"row--current")),Oe()},clearRadioRow(){return s.selectRadioRow=null,Oe()},getCurrentRecord(){return z.value.isCurrent||e.highlightCurrentRow?s.currentRow:null},getRadioRecord($){const{fullDataRowIdData:G,afterFullRowMaps:ne}=u,{selectRadioRow:de}=s;if(de){const we=qt(Ee,de);if($){if(G[we])return de}else if(ne[we])return de}return null},getCurrentColumn(){return Y.value.isCurrent||e.highlightCurrentColumn?s.currentColumn:null},setCurrentColumn($){const G=xs(Ee,$);return G&&(c.clearCurrentColumn(),s.currentColumn=G),Oe()},clearCurrentColumn(){return s.currentColumn=null,Oe()},setPendingRow($,G){const ne=Object.assign({},s.pendingRowMaps),de=[...s.pendingRowList];return $&&!U.isArray($)&&($=[$]),G?$.forEach(we=>{const Me=qt(Ee,we);Me&&!ne[Me]&&(de.push(we),ne[Me]=we)}):$.forEach(we=>{const Me=qt(Ee,we);if(Me&&ne[Me]){const Le=Ee.findRowIndexOf(de,we);Le>-1&&de.splice(Le,1),delete ne[Me]}}),s.pendingRowMaps=ne,s.pendingRowList=de,Oe()},togglePendingRow($){const G=Object.assign({},s.pendingRowMaps),ne=[...s.pendingRowList];return $&&!U.isArray($)&&($=[$]),$.forEach(de=>{const we=qt(Ee,de);if(we)if(G[we]){const Me=Ee.findRowIndexOf(ne,de);Me>-1&&ne.splice(Me,1),delete G[we]}else ne.push(de),G[we]=de}),s.pendingRowMaps=G,s.pendingRowList=ne,Oe()},hasPendingByRow($){const{pendingRowMaps:G}=s,ne=qt(Ee,$);return!!G[ne]},getPendingRecords(){const{pendingRowList:$}=s;return $.slice(0)},clearPendingRow(){return s.pendingRowMaps={},s.pendingRowList=[],Oe()},sort($,G){const ne=K.value,{multiple:de,remote:we,orders:Me}=ne;return $&&U.isString($)&&($=[{field:$,order:G}]),U.isArray($)||($=[$]),$.length?(de||Kn(),(de?$:[$[0]]).forEach((Le,Je)=>{let{field:Ye,order:tt}=Le,Ze=Ye;U.isString(Ye)&&(Ze=c.getColumnByField(Ye)),Ze&&Ze.sortable&&(Me.indexOf(tt)===-1&&(tt=Qe(Ze)),Ze.order!==tt&&(Ze.order=tt),Ze.sortTime=Date.now()+Je)}),we||d.handleTableData(!0),Oe().then(()=>(c.updateCellAreas(),Kr()))):Oe()},clearSort($){const G=K.value;if($){const ne=xs(Ee,$);ne&&(ne.order=null)}else Kn();return G.remote||d.handleTableData(!0),Oe().then(Kr)},isSort($){if($){const G=xs(Ee,$);return G?G.sortable&&!!G.order:!1}return c.getSortColumns().length>0},getSortColumns(){const $=K.value,{multiple:G,chronological:ne}=$,de=[],{tableFullColumn:we}=u;return we.forEach(Me=>{const{field:Le,order:Je}=Me;Me.sortable&&Je&&de.push({column:Me,field:Le,property:Le,order:Je,sortTime:Me.sortTime})}),G&&ne&&de.length>1?U.orderBy(de,"sortTime"):de},closeFilter(){const{filterStore:$}=s,{column:G,visible:ne}=$;return Object.assign($,{isAllSelected:!1,isIndeterminate:!1,options:[],visible:!1}),ne&&Ee.dispatchEvent("filter-visible",{column:G,property:G.field,field:G.field,filterList:Ee.getCheckedFilters(),visible:!1},null),Oe()},isActiveFilterByColumn($){const G=xs(Ee,$);return G?G.filters&&G.filters.some(ne=>ne.checked):Ee.getCheckedFilters().length>0},isFilter($){return c.isActiveFilterByColumn($)},isRowExpandLoaded($){const{fullAllDataRowIdData:G}=u,ne=G[qt(Ee,$)];return ne&&!!ne.expandLoaded},clearRowExpandLoaded($){const{rowExpandLazyLoadedMaps:G}=s,{fullAllDataRowIdData:ne}=u,de=ve.value,{lazy:we}=de,Me=qt(Ee,$),Le=ne[Me];return we&&Le&&(Le.expandLoaded=!1,delete G[Me]),Oe()},reloadRowExpand($){const{rowExpandLazyLoadedMaps:G}=s,ne=ve.value,{lazy:de}=ne,we=qt(Ee,$);return de&&!G[we]&&c.clearRowExpandLoaded($).then(()=>vn($)),Oe()},reloadExpandContent($){return c.reloadRowExpand($)},toggleRowExpand($){return c.setRowExpand($,!c.isRowExpandByRow($))},setAllRowExpand($){const G=Ge.value,{tableFullData:ne,tableFullTreeData:de}=u,we=G.children||G.childrenField;let Me=[];return e.treeConfig?U.eachTree(de,Le=>{Me.push(Le)},{children:we}):Me=ne,c.setRowExpand(Me,$)},setRowExpand($,G){const{rowExpandedMaps:ne,rowExpandLazyLoadedMaps:de,expandColumn:we}=s,{fullAllDataRowIdData:Me}=u;let Le=Object.assign({},ne);const Je=ve.value,{reserve:Ye,lazy:tt,accordion:Ze,toggleMethod:ht}=Je,At=[],Ct=c.getColumnIndex(we),Dt=c.getVMColumnIndex(we);if($){U.isArray($)||($=[$]),Ze&&(Le={},$=$.slice($.length-1,$.length));const St=ht?$.filter(_t=>ht({$table:Ee,expanded:G,column:we,columnIndex:Ct,$columnIndex:Dt,row:_t,rowIndex:c.getRowIndex(_t),$rowIndex:c.getVMRowIndex(_t)})):$;G?St.forEach(_t=>{const vt=qt(Ee,_t);if(!Le[vt]){const Ht=Me[vt];tt&&!Ht.expandLoaded&&!de[vt]?At.push(vn(_t)):Le[vt]=_t}}):St.forEach(_t=>{const vt=qt(Ee,_t);Le[vt]&&delete Le[vt]}),Ye&&St.forEach(_t=>$r(_t,G))}return s.rowExpandedMaps=Le,Promise.all(At).then(()=>c.recalculate())},isRowExpandByRow($){const{rowExpandedMaps:G}=s,ne=qt(Ee,$);return!!G[ne]},isExpandByRow($){return c.isRowExpandByRow($)},clearRowExpand(){const{tableFullData:$}=u,G=ve.value,{reserve:ne}=G,de=c.getRowExpandRecords();return s.rowExpandedMaps={},ne&&$.forEach(we=>$r(we,!1)),Oe().then(()=>{de.length&&c.recalculate()})},clearRowExpandReserve(){return u.rowExpandedReserveRowMap={},Oe()},getRowExpandRecords(){const $=[];return U.each(s.rowExpandedMaps,G=>{G&&$.push(G)}),$},getTreeExpandRecords(){const $=[];return U.each(s.treeExpandedMaps,G=>{G&&$.push(G)}),$},isTreeExpandLoaded($){const{fullAllDataRowIdData:G}=u,ne=G[qt(Ee,$)];return ne&&!!ne.treeLoaded},clearTreeExpandLoaded($){const{treeExpandedMaps:G}=s,{fullAllDataRowIdData:ne}=u,de=Ge.value,{transform:we,lazy:Me}=de,Le=qt(Ee,$),Je=ne[Le];return Me&&Je&&(Je.treeLoaded=!1,G[Le]&&delete G[Le]),we?(jr(),d.handleTableData()):Oe()},reloadTreeExpand($){const{treeExpandLazyLoadedMaps:G}=s,ne=Ge.value,de=ne.hasChild||ne.hasChildField,{transform:we,lazy:Me}=ne,Le=qt(Ee,$);return Me&&$[de]&&!G[Le]&&c.clearTreeExpandLoaded($).then(()=>jt($)).then(()=>{if(we)return jr(),d.handleTableData()}).then(()=>c.recalculate()),Oe()},reloadTreeChilds($){return c.reloadTreeExpand($)},toggleTreeExpand($){return c.setTreeExpand($,!c.isTreeExpandByRow($))},setAllTreeExpand($){const{tableFullData:G}=u,ne=Ge.value,{transform:de,lazy:we}=ne,Me=ne.children||ne.childrenField,Le=[];return U.eachTree(G,Je=>{const Ye=Je[Me];(we||Ye&&Ye.length)&&Le.push(Je)},{children:Me}),c.setTreeExpand(Le,$).then(()=>{if(de)return jr(),c.recalculate()})},setTreeExpand($,G){const ne=Ge.value,{transform:de}=ne;return $&&(U.isArray($)||($=[$]),$.length)?de?Eg($,G):cv($,G):Oe()},isTreeExpandByRow($){const{treeExpandedMaps:G}=s;return!!G[qt(Ee,$)]},clearTreeExpand(){const{tableFullTreeData:$}=u,G=Ge.value,ne=G.children||G.childrenField,{transform:de,reserve:we}=G,Me=c.getTreeExpandRecords();return s.treeExpandedMaps={},we&&U.eachTree($,Le=>sn(Le,!1),{children:ne}),d.handleTableData().then(()=>{if(de)return jr(),d.handleTableData()}).then(()=>{if(Me.length)return c.recalculate()})},clearTreeExpandReserve(){return u.treeExpandedReserveRowMap={},Oe()},getScroll(){const{scrollXLoad:$,scrollYLoad:G}=s,de=y.value.$el;return{virtualX:$,virtualY:G,scrollTop:de.scrollTop,scrollLeft:de.scrollLeft}},scrollTo($,G){const ne=y.value,de=E.value,we=k.value,Me=ne?ne.$el:null,Le=we?we.$el:null,Je=de?de.$el:null;return U.isNumber($)&&Nne(Je||Me,$),U.isNumber(G)&&C3(Le||Me,G),s.scrollXLoad||s.scrollYLoad?new Promise(Ye=>{setTimeout(()=>{Oe(()=>{Ye()})},50)}):Oe()},scrollToRow($,G){const ne=[];return $&&(e.treeConfig?ne.push(d.scrollToTreeRow($)):ne.push(Wne(Ee,$))),G&&ne.push(c.scrollToColumn(G)),Promise.all(ne)},scrollToColumn($){const{fullColumnIdData:G}=u,ne=xs(Ee,$);return ne&&G[ne.id]?kwt(Ee,ne):Oe()},clearScroll(){const{scrollXStore:$,scrollYStore:G}=u,ne=y.value,de=E.value,we=k.value,Me=ne?ne.$el:null,Le=we?we.$el:null,Je=de?de.$el:null;return Le&&(IC(Le),Le.scrollTop=0),Je&&(Je.scrollLeft=0),Me&&(IC(Me),Me.scrollTop=0,Me.scrollLeft=0),$.startIndex=0,G.startIndex=0,Oe()},updateFooter(){const{showFooter:$,footerData:G,footerMethod:ne}=e,{visibleColumn:de,afterFullData:we}=u;let Me=[];return $&&G&&G.length?Me=G.slice(0):$&&ne&&(Me=de.length?ne({columns:de,data:we,$table:Ee,$grid:P}):[]),s.footerTableData=Me,Oe()},updateStatus($,G){const ne=!U.isUndefined(G);return Oe().then(()=>{const{editRules:de}=e,{validStore:we}=s,Me=y.value;if($&&Me&&de){const{row:Le,column:Je}=$,Ye="change";if(Ee.hasCellRules&&Ee.hasCellRules(Ye,Le,Je)){const tt=d.getCell(Le,Je);if(tt)return Ee.validCellRules(Ye,Le,Je,G).then(()=>{ne&&we.visible&&_h(Le,Je,G),Ee.clearValidate(Le,Je)}).catch(({rule:Ze})=>{ne&&_h(Le,Je,G),Ee.showValidTooltip({rule:Ze,row:Le,column:Je,cell:tt})})}}})},setMergeCells($){return e.spanMethod&&ei("vxe.error.errConflicts",["merge-cells","span-method"]),It($,s.mergeList,u.afterFullData),Oe().then(()=>(c.updateCellAreas(),Kr()))},removeMergeCells($){e.spanMethod&&ei("vxe.error.errConflicts",["merge-cells","span-method"]);const G=Nn($,s.mergeList,u.afterFullData);return Oe().then(()=>(c.updateCellAreas(),Kr(),G))},getMergeCells(){return s.mergeList.slice(0)},clearMergeCells(){return s.mergeList=[],Oe().then(()=>Kr())},setMergeFooterItems($){return e.footerSpanMethod&&ei("vxe.error.errConflicts",["merge-footer-items","footer-span-method"]),It($,s.mergeFooterList),Oe().then(()=>(c.updateCellAreas(),Kr()))},removeMergeFooterItems($){e.footerSpanMethod&&ei("vxe.error.errConflicts",["merge-footer-items","footer-span-method"]);const G=Nn($,s.mergeFooterList);return Oe().then(()=>(c.updateCellAreas(),Kr(),G))},getMergeFooterItems(){return s.mergeFooterList.slice(0)},clearMergeFooterItems(){return s.mergeFooterList=[],Oe().then(()=>Kr())},updateCellAreas(){const{mouseConfig:$}=e,G=se.value;return $&&G.area&&Ee.handleUpdateCellAreas?Ee.handleUpdateCellAreas():Oe()},focus(){return u.isActivated=!0,Oe()},blur(){return u.isActivated=!1,Oe()},connect($){return $?(B=$,B.syncUpdate({collectColumn:u.collectColumn,$table:Ee})):ei("vxe.error.barUnableLink"),Oe()}};const Sg=$=>{const{editStore:G,ctxMenuStore:ne,filterStore:de,customStore:we}=s,{mouseConfig:Me,editRules:Le}=e,Je=f.value,Ye=ce.value,tt=T.value,Ze=Fe.value,{actived:ht}=G,At=m.value,Ct=g.value,Dt=b.value,St=v.value;if(Ct&&(Ar($,Je,"vxe-cell--filter").flag||Ar($,Ct.$el).flag||Ar($,document.body,"vxe-table--ignore-clear").flag||d.preventEvent($,"event.clearFilter",de.args,c.closeFilter)),Dt&&(we.btnEl===$.target||Ar($,document.body,"vxe-toolbar-custom-target").flag||Ar($,Dt.$el).flag||Ar($,document.body,"vxe-table--ignore-clear").flag||d.preventEvent($,"event.clearCustom",{},()=>{Ee.closeCustom&&Ee.closeCustom()})),ht.row){if(Ye.autoClear!==!1){const vt=ht.args.cell;(!vt||!Ar($,vt).flag)&&(At&&Ar($,At.$el).flag||(!u._lastCallTime||u._lastCallTime+50{let Ht;if(Ye.mode==="row"){const Zt=Ar($,Je,"vxe-body--row"),Bn=Zt.flag?c.getRowNode(Zt.targetElem):null;Ht=Bn?!Ee.eqRow(Bn.item,ht.args.row):!1}else Ht=!Ar($,Je,"col--edit").flag;if(Ht||(Ht=Ar($,Je,"vxe-header--row").flag),Ht||(Ht=Ar($,Je,"vxe-footer--row").flag),!Ht&&e.height&&!s.overflowY){const Zt=$.target;hp(Zt,"vxe-table--body-wrapper")&&(Ht=$.offsetYEe.clearEdit($))})))}}else Me&&!Ar($,Je).flag&&!(P&&Ar($,P.getRefMaps().refElem.value).flag)&&!(St&&Ar($,St.getRefMaps().refElem.value).flag)&&!(B&&Ar($,B.getRefMaps().refElem.value).flag)&&(Ee.clearSelected&&Ee.clearSelected(),Ze.autoClear&&Ee.clearCellAreas&&(Ar($,document.body,"vxe-table--ignore-areas-clear").flag||d.preventEvent($,"event.clearAreas",{},()=>{Ee.clearCellAreas(),Ee.clearCopyCellArea()})));Ee.closeMenu&&ne.visible&&St&&!Ar($,St.getRefMaps().refElem.value).flag&&Ee.closeMenu();const _t=Ar($,P?P.getRefMaps().refElem.value:Je).flag;!_t&&Le&&tt.autoClear&&(s.validErrorMaps={}),u.isActivated=_t},Ag=()=>{c.closeFilter(),Ee.closeMenu&&Ee.closeMenu()},Dg=()=>{c.closeTooltip(),Ee.closeMenu&&Ee.closeMenu()},Tg=$=>{const{mouseConfig:G,keyboardConfig:ne}=e,{filterStore:de,ctxMenuStore:we,editStore:Me}=s,Le=se.value,Je=me.value,{actived:Ye}=Me;rr($,zn.ESCAPE)&&d.preventEvent($,"event.keydown",null,()=>{if(c.dispatchEvent("keydown-start",{},$),ne&&G&&Le.area&&Ee.handleKeyboardEvent)Ee.handleKeyboardEvent($);else if((Ye.row||de.visible||we.visible)&&($.stopPropagation(),Ee.closeMenu&&Ee.closeMenu(),c.closeFilter(),ne&&Je.isEsc&&Ye.row)){const Ze=Ye.args;Ee.clearEdit($),Le.selected&&Oe(()=>Ee.handleSelected(Ze,$))}c.dispatchEvent("keydown",{},$),c.dispatchEvent("keydown-end",{},$)})},pv=$=>{u.isActivated&&d.preventEvent($,"event.keydown",null,()=>{const{mouseConfig:G,keyboardConfig:ne,treeConfig:de,editConfig:we,highlightCurrentRow:Me}=e,{ctxMenuStore:Le,editStore:Je,currentRow:Ye}=s,tt=De.value,Ze=Ne.value,ht=me.value,At=se.value,Ct=ce.value,Dt=Ge.value,St=he.value,_t=z.value,{selected:vt,actived:Ht}=Je,Zt=Dt.children||Dt.childrenField,Bn=$.keyCode,Fn=rr($,zn.ESCAPE),Mn=rr($,zn.BACKSPACE),ua=rr($,zn.TAB),La=rr($,zn.ENTER),qr=rr($,zn.SPACEBAR),br=rr($,zn.ARROW_LEFT),vr=rr($,zn.ARROW_UP),Aa=rr($,zn.ARROW_RIGHT),Ii=rr($,zn.ARROW_DOWN),ks=rr($,zn.DELETE),vv=rr($,zn.F2),Lp=rr($,zn.CONTEXT_MENU),Bg=$.metaKey,Op=$.ctrlKey,Bc=$.shiftKey,Pp=$.altKey,Ip=br||vr||Aa||Ii,Cl=tt&&Le.visible&&(La||qr||Ip),Np=gr(we)&&Ht.column&&Ht.row;let bo;if(Cl)$.preventDefault(),Le.showChild&&b3(Le.selected)?Ee.moveCtxMenu($,Le,"selectChild",br,!1,Le.selected.children):Ee.moveCtxMenu($,Le,"selected",Aa,!0,St);else if(ne&&G&&At.area&&Ee.handleKeyboardEvent)Ee.handleKeyboardEvent($);else if(Fn){if(Ee.closeMenu&&Ee.closeMenu(),c.closeFilter(),ne&&ht.isEsc&&Ht.row){const Si=Ht.args;Ee.clearEdit($),At.selected&&Oe(()=>Ee.handleSelected(Si,$))}}else if(qr&&ne&&ht.isChecked&&vt.row&&vt.column&&(vt.column.type==="checkbox"||vt.column.type==="radio"))$.preventDefault(),vt.column.type==="checkbox"?d.handleToggleCheckRowEvent($,vt.args):d.triggerRadioRowEvent($,vt.args);else if(vv&&gr(we))Np||vt.row&&vt.column&&($.preventDefault(),Ee.handleActived(vt.args,$));else if(Lp)u._keyCtx=vt.row&&vt.column&&Ze.length,clearTimeout(fv),fv=setTimeout(()=>{u._keyCtx=!1},1e3);else if(La&&!Pp&&ne&&ht.isEnter&&(vt.row||Ht.row||de&&(_t.isCurrent||Me)&&Ye)){if(Op)Ht.row&&(bo=Ht.args,Ee.clearEdit($),At.selected&&Oe(()=>Ee.handleSelected(bo,$)));else if(vt.row||Ht.row){const Si=vt.row?vt.args:Ht.args;Bc?ht.enterToTab?Ee.moveTabSelected(Si,Bc,$):Ee.moveSelected(Si,br,!0,Aa,!1,$):ht.enterToTab?Ee.moveTabSelected(Si,Bc,$):Ee.moveSelected(Si,br,!1,Aa,!0,$)}else if(de&&(_t.isCurrent||Me)&&Ye){const Si=Ye[Zt];if(Si&&Si.length){$.preventDefault();const jo=Si[0];bo={$table:Ee,row:jo,rowIndex:c.getRowIndex(jo),$rowIndex:c.getVMRowIndex(jo)},c.setTreeExpand(Ye,!0).then(()=>c.scrollToRow(jo)).then(()=>d.triggerCurrentRowEvent($,bo))}}}else if(Ip&&ne&&ht.isArrow)Np||(vt.row&&vt.column?Ee.moveSelected(vt.args,br,vr,Aa,Ii,$):(vr||Ii)&&(_t.isCurrent||Me)&&Ee.moveCurrentRow(vr,Ii,$));else if(ua&&ne&&ht.isTab)vt.row||vt.column?Ee.moveTabSelected(vt.args,Bc,$):(Ht.row||Ht.column)&&Ee.moveTabSelected(Ht.args,Bc,$);else if(ne&&gr(we)&&(ks||(de&&(_t.isCurrent||Me)&&Ye?Mn&&ht.isArrow:Mn))){if(!Np){const{delMethod:Si,backMethod:jo}=ht;if(ht.isDel&&(vt.row||vt.column)){const Ai={row:vt.row,rowIndex:c.getRowIndex(vt.row),column:vt.column,columnIndex:c.getColumnIndex(vt.column),$table:Ee};Si?Si(Ai):_h(vt.row,vt.column,null),Mn?jo?jo({row:vt.row,rowIndex:c.getRowIndex(vt.row),column:vt.column,columnIndex:c.getColumnIndex(vt.column),$table:Ee}):Ee.handleActived(vt.args,$):ks&&c.updateFooter(),Ee.dispatchEvent("cell-delete-value",Ai,$)}else if(Mn&&ht.isArrow&&de&&(_t.isCurrent||Me)&&Ye){const{parent:Ai}=U.findTree(u.afterFullData,$p=>$p===Ye,{children:Zt});Ai&&($.preventDefault(),bo={$table:Ee,row:Ai,rowIndex:c.getRowIndex(Ai),$rowIndex:c.getVMRowIndex(Ai)},c.setTreeExpand(Ai,!1).then(()=>c.scrollToRow(Ai)).then(()=>d.triggerCurrentRowEvent($,bo)))}}}else if(ne&&gr(we)&&ht.isEdit&&!Op&&!Bg&&(qr||Bn>=48&&Bn<=57||Bn>=65&&Bn<=90||Bn>=96&&Bn<=111||Bn>=186&&Bn<=192||Bn>=219&&Bn<=222)){const{editMethod:Si}=ht;if(vt.column&&vt.row&&gr(vt.column.editRender)){const jo=Ct.beforeEditMethod||Ct.activeMethod;if(!jo||jo(Object.assign(Object.assign({},vt.args),{$table:Ee,$grid:P}))){Si?Si({row:vt.row,rowIndex:c.getRowIndex(vt.row),column:vt.column,columnIndex:c.getColumnIndex(vt.column),$table:Ee,$grid:P}):(_h(vt.row,vt.column,null),Ee.handleActived(vt.args,$));const Ai=Ct.afterEditMethod;Ai&&Oe(()=>{Ai({row:vt.row,rowIndex:c.getRowIndex(vt.row),column:vt.column,columnIndex:c.getColumnIndex(vt.column),$table:Ee,$grid:P})})}}}c.dispatchEvent("keydown",{},$)})},hv=$=>{const{keyboardConfig:G,mouseConfig:ne}=e,{editStore:de,filterStore:we}=s,{isActivated:Me}=u,Le=se.value,Je=me.value,{actived:Ye}=de;Me&&!we.visible&&(Ye.row||Ye.column||G&&Je.isClip&&ne&&Le.area&&Ee.handlePasteCellAreaEvent&&Ee.handlePasteCellAreaEvent($),c.dispatchEvent("paste",{},$))},kg=$=>{const{keyboardConfig:G,mouseConfig:ne}=e,{editStore:de,filterStore:we}=s,{isActivated:Me}=u,Le=se.value,Je=me.value,{actived:Ye}=de;Me&&!we.visible&&(Ye.row||Ye.column||G&&Je.isClip&&ne&&Le.area&&Ee.handleCopyCellAreaEvent&&Ee.handleCopyCellAreaEvent($),c.dispatchEvent("copy",{},$))},_g=$=>{const{keyboardConfig:G,mouseConfig:ne}=e,{editStore:de,filterStore:we}=s,{isActivated:Me}=u,Le=se.value,Je=me.value,{actived:Ye}=de;Me&&!we.visible&&(Ye.row||Ye.column||G&&Je.isClip&&ne&&Le.area&&Ee.handleCutCellAreaEvent&&Ee.handleCutCellAreaEvent($),c.dispatchEvent("cut",{},$))},xg=()=>{Ee.closeMenu&&Ee.closeMenu(),c.updateCellAreas(),c.recalculate(!0)},Gd=$=>{const G=p.value;clearTimeout(u.tooltipTimeout),$?c.closeTooltip():G&&G.setActived(!0)},Mp=($,G,ne,de,we)=>{we.cell=G;const{tooltipStore:Me}=s,Le=ie.value,{column:Je,row:Ye}=we,{showAll:tt,contentMethod:Ze}=Le,ht=Ze?Ze(we):null,At=Ze&&!U.eqNull(ht),Ct=At?ht:U.toString(Je.type==="html"?ne.innerText:ne.textContent).trim(),Dt=ne.scrollWidth>ne.clientWidth;return Ct&&(tt||At||Dt)&&(Object.assign(Me,{row:Ye,column:Je,visible:!0}),Oe(()=>{const St=p.value;St&&St.open(Dt?ne:de||ne,_i(Ct))})),Oe()};d={getSetupOptions(){return fe},updateAfterDataIndex:Tr,callSlot($,G){if($){if(P)return P.callSlot($,G);if(U.isFunction($))return Wr($(G))}return[]},getParentElem(){const $=f.value;if(P){const G=P.getRefMaps().refElem.value;return G?G.parentNode:null}return $?$.parentNode:null},getParentHeight(){const{height:$}=e,G=f.value;if(G){const ne=G.parentNode,de=$==="100%"||$==="auto"?PL(ne):0;return Math.floor(P?P.getParentHeight():U.toNumber(getComputedStyle(ne).height)-de)}return 0},getExcludeHeight(){return P?P.getExcludeHeight():0},defineField($){const{treeConfig:G}=e,ne=ve.value,de=Ge.value,we=re.value,Me=Q.value,Le=de.children||de.childrenField,Je=Eh(Ee);return U.isArray($)||($=[$]),$.map(Ye=>(u.tableFullColumn.forEach(Ze=>{const{field:ht,editRender:At}=Ze;if(ht&&!U.has(Ye,ht)&&!Ye[ht]){let Ct=null;if(At){const{defaultValue:Dt}=At;U.isFunction(Dt)?Ct=Dt({column:Ze}):U.isUndefined(Dt)||(Ct=Dt)}U.set(Ye,ht,Ct)}}),[we.labelField,Me.checkField,Me.labelField,ne.labelField].forEach(Ze=>{Ze&&Qc(U.get(Ye,Ze))&&U.set(Ye,Ze,null)}),G&&de.lazy&&U.isUndefined(Ye[Le])&&(Ye[Le]=null),Qc(U.get(Ye,Je))&&U.set(Ye,Je,yx()),Ye))},handleTableData($){const{scrollYLoad:G}=s,{scrollYStore:ne,fullDataRowIdData:de}=u;let we=u.afterFullData;$&&(ba(),we=jr());const Me=G?we.slice(ne.startIndex,ne.endIndex):we.slice(0);return Me.forEach((Le,Je)=>{const Ye=qt(Ee,Le),tt=de[Ye];tt&&(tt.$index=Je)}),s.tableData=Me,Oe()},cacheRowMap($){const{treeConfig:G}=e,ne=Ge.value,{fullAllDataRowIdData:de,tableFullData:we,tableFullTreeData:Me}=u,Le=ne.children||ne.childrenField,Je=ne.hasChild||ne.hasChildField,Ye=Eh(Ee),tt=G&&ne.lazy,Ze={},ht={},At=(Ct,Dt,St,_t,vt,Ht)=>{let Zt=qt(Ee,Ct);const Bn=G&&_t?Fwt(_t):Dt+1,Fn=Ht?Ht.length-1:0;Qc(Zt)&&(Zt=yx(),U.set(Ct,Ye,Zt)),tt&&Ct[Je]&&U.isUndefined(Ct[Le])&&(Ct[Le]=null);let Mn=de[Zt];Mn||(Mn={row:Ct,rowid:Zt,seq:Bn,index:-1,_index:-1,$index:-1,items:St,parent:vt,level:Fn}),$&&(Mn.index=G&&vt?-1:Dt,ht[Zt]=Mn),Ze[Zt]=Mn};$&&(u.fullDataRowIdData=ht),u.fullAllDataRowIdData=Ze,G?U.eachTree(Me,At,{children:Le}):we.forEach(At)},cacheSourceMap($){const{treeConfig:G}=e,ne=Ge.value;let{sourceDataRowIdData:de}=u;const we=U.clone($,!0),Me=Eh(Ee);de=u.sourceDataRowIdData={};const Le=Je=>{let Ye=qt(Ee,Je);Qc(Ye)&&(Ye=yx(),U.set(Je,Me,Ye)),de[Ye]=Je};if(G){const Je=ne.children||ne.childrenField;U.eachTree(we,Le,{children:ne.transform?ne.mapChildrenField:Je})}else we.forEach(Le);u.tableSourceData=we},analyColumnWidth(){const{tableFullColumn:$}=u,G=Y.value,{width:ne,minWidth:de}=G,we=[],Me=[],Le=[],Je=[],Ye=[],tt=[];$.forEach(Ze=>{ne&&!Ze.width&&(Ze.width=ne),de&&!Ze.minWidth&&(Ze.minWidth=de),Ze.visible&&(Ze.resizeWidth?we.push(Ze):OL(Ze.width)?Me.push(Ze):Uy(Ze.width)?Je.push(Ze):OL(Ze.minWidth)?Le.push(Ze):Uy(Ze.minWidth)?Ye.push(Ze):tt.push(Ze))}),Object.assign(s.columnStore,{resizeList:we,pxList:Me,pxMinList:Le,scaleList:Je,scaleMinList:Ye,autoList:tt})},saveCustomResizable($){const{id:G,customConfig:ne}=e,de=ze.value,{collectColumn:we}=u,{storage:Me}=de,Le=Me===!0,Je=Le?{}:Object.assign({},Me||{}),Ye=Le||Je.resizable;if(ne&&Ye){const tt=ct(xx);let Ze;if(!G){ei("vxe.error.reqProp",["id"]);return}$||(Ze=U.isPlainObject(tt[G])?tt[G]:{},U.eachTree(we,ht=>{if(ht.resizeWidth){const At=ht.getKey();At&&(Ze[At]=ht.renderWidth)}})),tt[G]=U.isEmpty(Ze)?void 0:Ze,localStorage.setItem(xx,U.toJSONString(tt))}},saveCustomSort($){const{id:G,customConfig:ne}=e,de=ze.value,{collectColumn:we}=u,{storage:Me}=de,Le=Me===!0,Je=Le?{}:Object.assign({},Me||{}),Ye=Le||Je.sort;if(ne&&Ye){const tt=ct(Rx);let Ze;if(!G){ei("vxe.error.reqProp",["id"]);return}$||(Ze=U.isPlainObject(tt[G])?tt[G]:{},we.forEach(ht=>{if(ht.sortNumber!==ht.renderSortNumber){const At=ht.getKey();At&&(Ze[At]=ht.renderSortNumber)}})),tt[G]=U.isEmpty(Ze)?void 0:Ze,localStorage.setItem(Rx,U.toJSONString(tt))}},saveCustomFixed(){const{id:$,customConfig:G}=e,{collectColumn:ne}=u,de=ze.value,{storage:we}=de,Me=we===!0,Le=Me?{}:Object.assign({},we||{}),Je=Me||Le.fixed;if(G&&Je){const Ye=ct(Bx),tt=[];if(!$){ei("vxe.error.reqProp",["id"]);return}U.eachTree(ne,Ze=>{if(Ze.fixed&&Ze.fixed!==Ze.defaultFixed){const ht=Ze.getKey();ht&&tt.push(`${ht}|${Ze.fixed}`)}}),Ye[$]=tt.join(",")||void 0,localStorage.setItem(Bx,U.toJSONString(Ye))}},saveCustomVisible(){const{id:$,customConfig:G}=e,{collectColumn:ne}=u,de=ze.value,{checkMethod:we,storage:Me}=de,Le=Me===!0,Je=Le?{}:Object.assign({},Me||{}),Ye=Le||Je.visible;if(G&&Ye){const tt=ct(Mx),Ze=[],ht=[];if(!$){ei("vxe.error.reqProp",["id"]);return}U.eachTree(ne,At=>{if(!we||we({column:At})){if(!At.visible&&At.defaultVisible){const Ct=At.getKey();Ct&&Ze.push(Ct)}else if(At.visible&&!At.defaultVisible){const Ct=At.getKey();Ct&&ht.push(Ct)}}}),tt[$]=[Ze.join(",")].concat(ht.length?[ht.join(",")]:[]).join("|")||void 0,localStorage.setItem(Mx,U.toJSONString(tt))}},handleCustom(){const{mouseConfig:$}=e;return $&&(Ee.clearSelected&&Ee.clearSelected(),Ee.clearCellAreas&&(Ee.clearCellAreas(),Ee.clearCopyCellArea())),d.saveCustomVisible(),d.saveCustomSort(),d.analyColumnWidth(),c.refreshColumn(!0)},handleUpdateDataQueue(){s.upDataFlag++},handleRefreshColumnQueue(){s.reColumnFlag++},preventEvent($,G,ne,de,we){let Me=$n.interceptor.get(G);!Me.length&&G==="event.clearEdit"&&(Me=$n.interceptor.get("event.clearActived"));let Le;return Me.some(Je=>Je(Object.assign({$grid:P,$table:Ee,$event:$},ne))===!1)||de&&(Le=de()),we&&we(),Le},checkSelectionStatus(){const{treeConfig:$}=e,{selectCheckboxMaps:G,treeIndeterminateMaps:ne}=s,{afterFullData:de}=u,we=Q.value,{checkField:Me,checkStrictly:Le,checkMethod:Je}=we,Ye=we.indeterminateField||we.halfField;if(!Le){const tt=[];let Ze=!1,ht=!1,At=!1;Me?(Ze=de.every(Je?Ct=>Je({row:Ct})?!!U.get(Ct,Me):(tt.push(Ct),!0):Ct=>U.get(Ct,Me)),ht=Ze&&de.length!==tt.length,$?Ye?At=!ht&&de.some(Ct=>U.get(Ct,Me)||U.get(Ct,Ye)||!!ne[qt(Ee,Ct)]):At=!ht&&de.some(Ct=>U.get(Ct,Me)||!!ne[qt(Ee,Ct)]):Ye?At=!ht&&de.some(Ct=>U.get(Ct,Me)||U.get(Ct,Ye)):At=!ht&&de.some(Ct=>U.get(Ct,Me))):(Ze=de.every(Je?Ct=>Je({row:Ct})?!!G[qt(Ee,Ct)]:(tt.push(Ct),!0):Ct=>G[qt(Ee,Ct)]),ht=Ze&&de.length!==tt.length,$?At=!ht&&de.some(Ct=>{const Dt=qt(Ee,Ct);return ne[Dt]||G[Dt]}):At=!ht&&de.some(Ct=>G[qt(Ee,Ct)])),s.isAllSelected=ht,s.isIndeterminate=At}},handleSelectRow({row:$},G,ne){const{treeConfig:de}=e,{selectCheckboxMaps:we,treeIndeterminateMaps:Me}=s,Le=Object.assign({},we),{afterFullData:Je}=u,Ye=Ge.value,tt=Ye.children||Ye.childrenField,Ze=Q.value,{checkField:ht,checkStrictly:At,checkMethod:Ct}=Ze,Dt=Ze.indeterminateField||Ze.halfField,St=qt(Ee,$);if(ht)if(de&&!At){G===-1?(Me[St]||(Dt&&U.set($,Dt,!0),Me[St]=$),U.set($,ht,!1)):U.eachTree([$],vt=>{(Ee.eqRow(vt,$)||ne||!Ct||Ct({row:vt}))&&(U.set(vt,ht,G),Dt&&U.set($,Dt,!1),delete Me[qt(Ee,vt)],Nr($,G))},{children:tt});const _t=U.findTree(Je,vt=>Ee.eqRow(vt,$),{children:tt});if(_t&&_t.parent){let vt;const Ht=[],Zt={};if(!ne&&Ct?_t.items.forEach(Fn=>{if(Ct({row:Fn})){const Mn=qt(Ee,Fn);Zt[Mn]=Fn,Ht.push(Fn)}}):_t.items.forEach(Fn=>{const Mn=qt(Ee,Fn);Zt[Mn]=Fn,Ht.push(Fn)}),U.find(_t.items,Fn=>!!Me[qt(Ee,Fn)]))vt=-1;else{const Fn=[];_t.items.forEach(Mn=>{U.get(Mn,ht)&&Fn.push(Mn)}),vt=Fn.filter(Mn=>Zt[qt(Ee,Mn)]).length===Ht.length?!0:Fn.length||G===-1?-1:!1}return s.selectCheckboxMaps=Le,d.handleSelectRow({row:_t.parent},vt,ne)}}else(ne||!Ct||Ct({row:$}))&&(U.set($,ht,G),Nr($,G));else if(de&&!At){G===-1?(Me[St]||(Dt&&U.set($,Dt,!0),Me[St]=$),Le[St]&&delete Le[St]):U.eachTree([$],vt=>{const Ht=qt(Ee,vt);(Ee.eqRow(vt,$)||ne||!Ct||Ct({row:vt}))&&(G?Le[Ht]=vt:Le[Ht]&&delete Le[Ht],Dt&&U.set($,Dt,!1),delete Me[qt(Ee,vt)],Nr($,G))},{children:tt});const _t=U.findTree(Je,vt=>Ee.eqRow(vt,$),{children:tt});if(_t&&_t.parent){let vt;const Ht=[],Zt={};if(!ne&&Ct?_t.items.forEach(Fn=>{if(Ct({row:Fn})){const Mn=qt(Ee,Fn);Zt[Mn]=Fn,Ht.push(Fn)}}):_t.items.forEach(Fn=>{const Mn=qt(Ee,Fn);Zt[Mn]=Fn,Ht.push(Fn)}),U.find(_t.items,Fn=>!!Me[qt(Ee,Fn)]))vt=-1;else{const Fn=[];_t.items.forEach(Mn=>{const ua=qt(Ee,Mn);Le[ua]&&Fn.push(Mn)}),vt=Fn.filter(Mn=>Zt[qt(Ee,Mn)]).length===Ht.length?!0:Fn.length||G===-1?-1:!1}return s.selectCheckboxMaps=Le,d.handleSelectRow({row:_t.parent},vt,ne)}}else(ne||!Ct||Ct({row:$}))&&(G?Le[St]||(Le[St]=$):Le[St]&&delete Le[St],Nr($,G));s.selectCheckboxMaps=Le,d.checkSelectionStatus()},triggerHeaderTitleEvent($,G,ne){const de=G.content||G.message;if(de){const{tooltipStore:we}=s,{column:Me}=ne,Le=Ea(de);Gd(!0),we.row=null,we.column=Me,we.visible=!0,Oe(()=>{const Je=p.value;Je&&Je.open($.currentTarget,Le)})}},triggerHeaderTooltipEvent($,G){const{tooltipStore:ne}=s,{column:de}=G,we=$.currentTarget;Gd(!0),(ne.column!==de||!ne.visible)&&Mp($,we,we,null,G)},triggerBodyTooltipEvent($,G){const{editConfig:ne}=e,{editStore:de}=s,{tooltipStore:we}=s,Me=ce.value,{actived:Le}=de,{row:Je,column:Ye}=G,tt=$.currentTarget;if(Gd(we.column!==Ye||we.row!==Je),!(Ye.editRender&&gr(ne)&&(Me.mode==="row"&&Le.row===Je||Le.row===Je&&Le.column===Ye))&&(we.column!==Ye||we.row!==Je||!we.visible)){let Ze,ht;Ye.treeNode?(Ze=tt.querySelector(".vxe-tree-cell"),Ye.type==="html"&&(ht=tt.querySelector(".vxe-cell--html"))):ht=tt.querySelector(Ye.type==="html"?".vxe-cell--html":".vxe-cell--label"),Mp($,tt,Ze||tt.children[0],ht,G)}},triggerFooterTooltipEvent($,G){const{column:ne}=G,{tooltipStore:de}=s,we=$.currentTarget;Gd(de.column!==ne||!!de.row),(de.column!==ne||!de.visible)&&Mp($,we,we.querySelector(".vxe-cell--item")||we.children[0],null,G)},handleTargetLeaveEvent(){const $=ie.value;let G=p.value;G&&G.setActived(!1),$.enterable?u.tooltipTimeout=setTimeout(()=>{G=p.value,G&&!G.isActived()&&c.closeTooltip()},$.leaveDelay):c.closeTooltip()},triggerHeaderCellClickEvent($,G){const{_lastResizeTime:ne}=u,de=K.value,we=Y.value,{column:Me}=G,Le=$.currentTarget,Je=ne&&ne>Date.now()-300,Ye=Ar($,Le,"vxe-cell--sort").flag,tt=Ar($,Le,"vxe-cell--filter").flag;de.trigger==="cell"&&!(Je||Ye||tt)&&d.triggerSortEvent($,Me,Qe(Me)),c.dispatchEvent("header-cell-click",Object.assign({triggerResizable:Je,triggerSort:Ye,triggerFilter:tt,cell:Le},G),$),(we.isCurrent||e.highlightCurrentColumn)&&c.setCurrentColumn(Me)},triggerHeaderCellDblclickEvent($,G){c.dispatchEvent("header-cell-dblclick",Object.assign({cell:$.currentTarget},G),$)},triggerCellClickEvent($,G){const{highlightCurrentRow:ne,editConfig:de}=e,{editStore:we}=s,Me=ve.value,Le=ce.value,Je=Ge.value,Ye=re.value,tt=Q.value,Ze=me.value,ht=z.value,{actived:At,focused:Ct}=we,{row:Dt,column:St}=G,{type:_t,treeNode:vt}=St,Ht=_t==="radio",Zt=_t==="checkbox",Bn=_t==="expand",Fn=$.currentTarget,Mn=Ht&&Ar($,Fn,"vxe-cell--radio").flag,ua=Zt&&Ar($,Fn,"vxe-cell--checkbox").flag,La=vt&&Ar($,Fn,"vxe-tree--btn-wrapper").flag,qr=Bn&&Ar($,Fn,"vxe-table--expanded").flag;G=Object.assign({cell:Fn,triggerRadio:Mn,triggerCheckbox:ua,triggerTreeNode:La,triggerExpandNode:qr},G),!ua&&!Mn&&(!qr&&(Me.trigger==="row"||Bn&&Me.trigger==="cell")&&d.triggerRowExpandEvent($,G),(Je.trigger==="row"||vt&&Je.trigger==="cell")&&d.triggerTreeExpandEvent($,G)),La||(qr||((ht.isCurrent||ne)&&!ua&&!Mn&&d.triggerCurrentRowEvent($,G),!Mn&&(Ye.trigger==="row"||Ht&&Ye.trigger==="cell")&&d.triggerRadioRowEvent($,G),!ua&&(tt.trigger==="row"||Zt&&tt.trigger==="cell")&&d.handleToggleCheckRowEvent($,G)),gr(de)&&(Ze.arrowCursorLock&&$&&Le.mode==="cell"&&$.target&&/^input|textarea$/i.test($.target.tagName)&&(Ct.column=St,Ct.row=Dt),Le.trigger==="manual"?At.args&&At.row===Dt&&St!==At.column&&ut($,G):(!At.args||Dt!==At.row||St!==At.column)&&(Le.trigger==="click"||Le.trigger==="dblclick"&&Le.mode==="row"&&At.row===Dt)&&ut($,G))),c.dispatchEvent("cell-click",G,$)},triggerCellDblclickEvent($,G){const{editConfig:ne}=e,{editStore:de}=s,we=ce.value,{actived:Me}=de,Le=$.currentTarget;G=Object.assign({cell:Le},G),gr(ne)&&we.trigger==="dblclick"&&(!Me.args||$.currentTarget!==Me.args.cell)&&(we.mode==="row"?wa("blur").catch(Je=>Je).then(()=>{Ee.handleActived(G,$).then(()=>wa("change")).catch(Je=>Je)}):we.mode==="cell"&&Ee.handleActived(G,$).then(()=>wa("change")).catch(Je=>Je)),c.dispatchEvent("cell-dblclick",G,$)},handleToggleCheckRowEvent($,G){const{selectCheckboxMaps:ne}=s,de=Q.value,{checkField:we}=de,{row:Me}=G;let Le=!1;we?Le=!U.get(Me,we):Le=!ne[qt(Ee,Me)],$?d.triggerCheckRowEvent($,G,Le):d.handleSelectRow(G,Le)},triggerCheckRowEvent($,G,ne){const de=Q.value,{row:we}=G,{afterFullData:Me}=u,{checkMethod:Le}=de;if(de.isShiftKey&&$.shiftKey&&!e.treeConfig){const Je=c.getCheckboxRecords();if(Je.length){const Ye=Je[0],tt=c.getVTRowIndex(we),Ze=c.getVTRowIndex(Ye);if(tt!==Ze){c.setAllCheckboxRow(!1);const ht=ttEe.eqRow(Je,$),{children:Me});if(Le){const Je=Le.nodes;Je.forEach((Ye,tt)=>{ttWne(Ee,$))},updateScrollYStatus:xp,updateScrollXSpace(){const{isGroup:$,scrollXLoad:G,scrollbarWidth:ne}=s,{visibleColumn:de,scrollXStore:we,elemStore:Me,tableWidth:Le}=u,Je=C.value,Ye=y.value,tt=E.value,Ze=Ye?Ye.$el:null;if(Ze){const ht=Je?Je.$el:null,At=tt?tt.$el:null,Ct=ht?ht.querySelector(".vxe-table--header"):null,Dt=Ze.querySelector(".vxe-table--body"),St=At?At.querySelector(".vxe-table--footer"):null,_t=de.slice(0,we.startIndex).reduce((Zt,Bn)=>Zt+Bn.renderWidth,0);let vt="";G&&(vt=`${_t}px`),Ct&&(Ct.style.marginLeft=$?"":vt),Dt.style.marginLeft=vt,St&&(St.style.marginLeft=vt),["main"].forEach(Zt=>{["header","body","footer"].forEach(Fn=>{const Mn=Me[`${Zt}-${Fn}-xSpace`],ua=Mn?Mn.value:null;ua&&(ua.style.width=G?`${Le+(Fn==="header"?ne:0)}px`:"")})}),Oe(Kr)}},updateScrollYSpace(){const{scrollYLoad:$}=s,{scrollYStore:G,elemStore:ne,afterFullData:de}=u,{startIndex:we,rowHeight:Me}=G,Le=de.length*Me,Je=Math.max(0,we*Me),Ye=["main","left","right"];let tt="",Ze="";$&&(tt=`${Je}px`,Ze=`${Le}px`),Ye.forEach(ht=>{const At=["header","body","footer"],Ct=ne[`${ht}-body-table`],Dt=Ct?Ct.value:null;Dt&&(Dt.style.marginTop=tt),At.forEach(St=>{const _t=ne[`${ht}-${St}-ySpace`],vt=_t?_t.value:null;vt&&(vt.style.height=Ze)})}),Oe(Kr)},updateScrollXData(){Oe(()=>{Ra(),d.updateScrollXSpace()})},updateScrollYData(){Oe(()=>{d.handleTableData(),d.updateScrollYSpace()})},checkScrolling(){const $=_.value,G=M.value,ne=y.value,de=ne?ne.$el:null;de&&($&&(de.scrollLeft>0?qh($,"scrolling--middle"):$s($,"scrolling--middle")),G&&(de.clientWidthqh(de,"row--hover")),u.hoverRow=$},clearHoverRow(){const $=f.value;$&&U.arrayEach($.querySelectorAll(".vxe-body--row.row--hover"),G=>$s(G,"row--hover")),u.hoverRow=null},getCell($,G){const ne=qt(Ee,$),de=y.value,we=S.value,Me=k.value;let Le;return G&&(G.fixed&&(G.fixed==="left"?we&&(Le=we.$el):Me&&(Le=Me.$el)),Le||(Le=de.$el),Le)?Le.querySelector(`.vxe-body--row[rowid="${ne}"] .${G.id}`):null},getCellLabel($,G){const ne=G.formatter,de=Md($,G);let we=de;if(ne){let Me;const{fullAllDataRowIdData:Le}=u,Je=qt(Ee,$),Ye=G.id,tt=Le[Je];if(tt&&(Me=tt.formatData,Me||(Me=Le[Je].formatData={}),tt&&Me[Ye]&&Me[Ye].value===de))return Me[Ye].label;const Ze={cellValue:de,row:$,rowIndex:c.getRowIndex($),column:G,columnIndex:c.getColumnIndex(G)};if(U.isString(ne)){const ht=$n.formats.get(ne),At=ht?ht.tableCellFormatMethod||ht.cellFormatMethod:null;we=At?At(Ze):""}else if(U.isArray(ne)){const ht=$n.formats.get(ne[0]),At=ht?ht.tableCellFormatMethod||ht.cellFormatMethod:null;we=At?At(Ze,...ne.slice(1)):""}else we=ne(Ze);Me&&(Me[Ye]={value:de,label:we})}return we},findRowIndexOf($,G){return G?U.findIndexOf($,ne=>Ee.eqRow(ne,G)):-1},eqRow($,G){return $&&G?$===G?!0:qt(Ee,$)===qt(Ee,G):!1}},Object.assign(Ee,c,d);const mv=$=>{const{showHeader:G,showFooter:ne}=e,{tableData:de,tableColumn:we,tableGroupColumn:Me,columnStore:Le,footerTableData:Je}=s,Ye=$==="left",tt=Ye?Le.leftList:Le.rightList;return W("div",{ref:Ye?_:M,class:`vxe-table--fixed-${$}-wrapper`},[G?W(dre,{ref:Ye?w:D,fixedType:$,tableData:de,tableColumn:we,tableGroupColumn:Me,fixedColumn:tt}):Pe(),W(cre,{ref:Ye?S:k,fixedType:$,tableData:de,tableColumn:we,fixedColumn:tt}),ne?W(fre,{ref:Ye?A:x,footerTableData:Je,tableColumn:we,fixedColumn:tt,fixedType:$}):Pe()])},Mg=()=>{const $=Ke.value,G={$table:Ee};if(n.empty)return n.empty(G);{const ne=$.name?$n.renderer.get($.name):null,de=ne?ne.renderTableEmptyView||ne.renderEmpty:null;if(de)return Wr(de($,G))}return Ea(e.emptyText)||fe.i18n("vxe.table.emptyText")};function Bp(){const $=f.value;$&&$.clientWidth&&$.clientHeight&&c.recalculate()}const Rp=j(0);$e(()=>e.data?e.data.length:-1,()=>{Rp.value++}),$e(()=>e.data,()=>{Rp.value++}),$e(Rp,()=>{const{inited:$,initStatus:G}=u;Ji(e.data||[]).then(()=>{const{scrollXLoad:ne,scrollYLoad:de,expandColumn:we}=s;u.inited=!0,u.initStatus=!0,G||Ds(),$||wi(),c.recalculate()})});const Ce=j(0);$e(()=>s.staticColumns.length,()=>{Ce.value++}),$e(()=>s.staticColumns,()=>{Ce.value++}),$e(Ce,()=>{Mc(s.staticColumns)});const et=j(0);$e(()=>s.tableColumn.length,()=>{et.value++}),$e(()=>s.tableColumn,()=>{et.value++}),$e(et,()=>{d.analyColumnWidth()}),$e(()=>s.upDataFlag,()=>{Oe(()=>{c.updateData()})}),$e(()=>s.reColumnFlag,()=>{Oe(()=>{c.refreshColumn()})}),$e(()=>e.showHeader,()=>{Oe(()=>{c.recalculate(!0).then(()=>c.refreshScroll())})}),$e(()=>e.showFooter,()=>{Oe(()=>{c.recalculate(!0).then(()=>c.refreshScroll())})});const ot=j(0);$e(()=>e.footerData?e.footerData.length:-1,()=>{ot.value++}),$e(()=>e.footerData,()=>{ot.value++}),$e(ot,()=>{c.updateFooter()}),$e(()=>e.height,()=>{Oe(()=>c.recalculate(!0))}),$e(()=>e.maxHeight,()=>{Oe(()=>c.recalculate(!0))}),$e(()=>e.syncResize,$=>{$&&(Bp(),Oe(()=>{Bp(),setTimeout(()=>Bp())}))});const Tt=j(0);$e(()=>e.mergeCells?e.mergeCells.length:-1,()=>{Tt.value++}),$e(()=>e.mergeCells,()=>{Tt.value++}),$e(Tt,()=>{c.clearMergeCells(),Oe(()=>{e.mergeCells&&c.setMergeCells(e.mergeCells)})});const zt=j(0);$e(()=>e.mergeFooterItems?e.mergeFooterItems.length:-1,()=>{zt.value++}),$e(()=>e.mergeFooterItems,()=>{zt.value++}),$e(zt,()=>{c.clearMergeFooterItems(),Oe(()=>{e.mergeFooterItems&&c.setMergeFooterItems(e.mergeFooterItems)})}),$n.hooks.forEach($=>{const{setupTable:G}=$;if(G){const ne=G(Ee);ne&&U.isObject(ne)&&Object.assign(Ee,ne)}}),d.preventEvent(null,"created",{$table:Ee});let Mt;Km(()=>{c.recalculate().then(()=>c.refreshScroll()),d.preventEvent(null,"activated",{$table:Ee})}),r9(()=>{u.isActivated=!1,d.preventEvent(null,"deactivated",{$table:Ee})}),Ut(()=>{Oe(()=>{const{data:$,treeConfig:G,showOverflow:ne}=e,{scrollXStore:de,scrollYStore:we}=u,Me=N.value;if(ce.value,Ge.value,re.value,Q.value,ve.value,z.value,Object.assign(we,{startIndex:0,endIndex:0,visibleSize:0,adaptive:Me.adaptive!==!1}),Object.assign(de,{startIndex:0,endIndex:0,visibleSize:0}),Ji($||[]).then(()=>{$&&$.length&&(u.inited=!0,u.initStatus=!0,Ds(),wi()),Kr()}),e.autoResize){const Le=ee.value,{refreshDelay:Je}=Le,Ye=f.value,tt=d.getParentElem(),Ze=Je?U.throttle(()=>c.recalculate(!0),Je,{leading:!0,trailing:!0}):null;Mt=i2e(Ze?()=>{e.autoResize&&requestAnimationFrame(Ze)}:()=>{e.autoResize&&c.recalculate(!0)}),Ye&&Mt.observe(Ye),tt&&Mt.observe(tt)}}),Un.on(Ee,"paste",hv),Un.on(Ee,"copy",kg),Un.on(Ee,"cut",_g),Un.on(Ee,"mousedown",Sg),Un.on(Ee,"blur",Ag),Un.on(Ee,"mousewheel",Dg),Un.on(Ee,"keydown",pv),Un.on(Ee,"resize",xg),Ee.handleGlobalContextmenuEvent&&Un.on(Ee,"contextmenu",Ee.handleGlobalContextmenuEvent),d.preventEvent(null,"mounted",{$table:Ee})}),Vn(()=>{Mt&&Mt.disconnect(),c.closeFilter(),Ee.closeMenu&&Ee.closeMenu(),d.preventEvent(null,"beforeUnmount",{$table:Ee})}),la(()=>{Un.off(Ee,"paste"),Un.off(Ee,"copy"),Un.off(Ee,"cut"),Un.off(Ee,"mousedown"),Un.off(Ee,"blur"),Un.off(Ee,"mousewheel"),Un.off(Ee,"keydown"),Un.off(Ee,"resize"),Un.off(Ee,"contextmenu"),d.preventEvent(null,"unmounted",{$table:Ee})});const on=()=>{const{loading:$,stripe:G,showHeader:ne,height:de,treeConfig:we,mouseConfig:Me,showFooter:Le,highlightCell:Je,highlightHoverRow:Ye,highlightHoverColumn:tt,editConfig:Ze,editRules:ht}=e,{isGroup:At,overflowX:Ct,overflowY:Dt,scrollXLoad:St,scrollYLoad:_t,scrollbarHeight:vt,tableData:Ht,tableColumn:Zt,tableGroupColumn:Bn,footerTableData:Fn,initStore:Mn,columnStore:ua,filterStore:La,customStore:qr}=s,{leftList:br,rightList:vr}=ua,Aa=n.loading,Ii=X.value,ks=T.value,vv=Ge.value,Lp=z.value,Bg=Y.value,Op=o.value,Bc=oe.value,Pp=se.value,Ip=q.value,Cl=rt.value,Np=De.value;return W("div",{ref:f,class:["vxe-table","vxe-table--render-default",`tid_${i}`,`border--${Bc}`,{[`size--${Op}`]:Op,[`valid-msg--${ks.msgMode}`]:!!ht,"vxe-editable":!!Ze,"old-cell-valid":ht&&fe.cellVaildMode==="obsolete","cell--highlight":Je,"cell--selected":Me&&Pp.selected,"cell--area":Me&&Pp.area,"row--highlight":Lp.isHover||Ye,"column--highlight":Bg.isHover||tt,"is--header":ne,"is--footer":Le,"is--group":At,"is--tree-line":we&&(vv.showLine||vv.line),"is--fixed-left":br.length,"is--fixed-right":vr.length,"is--animat":!!e.animat,"is--round":e.round,"is--stripe":!we&&G,"is--loading":$,"is--empty":!$&&!Ht.length,"is--scroll-y":Dt,"is--scroll-x":Ct,"is--virtual-x":St,"is--virtual-y":_t}],onKeydown:Tg},[W("div",{class:"vxe-table-slots"},n.default?n.default({}):[]),W("div",{class:"vxe-table--render-wrapper"},[W("div",{class:"vxe-table--main-wrapper"},[ne?W(dre,{ref:C,tableData:Ht,tableColumn:Zt,tableGroupColumn:Bn}):Pe(),W(cre,{ref:y,tableData:Ht,tableColumn:Zt}),Le?W(fre,{ref:E,footerTableData:Fn,tableColumn:Zt}):Pe()]),W("div",{class:"vxe-table--fixed-wrapper"},[br&&br.length&&Ct?mv("left"):Pe(),vr&&vr.length&&Ct?mv("right"):Pe()])]),W("div",{ref:I,class:"vxe-table--empty-placeholder"},[W("div",{class:"vxe-table--empty-content"},Mg())]),W("div",{class:"vxe-table--border-line"}),W("div",{ref:L,class:"vxe-table--resizable-bar",style:Ct?{"padding-bottom":`${vt}px`}:null}),W(M4,{class:"vxe-table--loading",modelValue:$,icon:Cl.icon,text:Cl.text},Aa?{default:()=>Aa({$table:Ee,$grid:P})}:{}),Mn.custom?W(en("vxe-table-custom-panel"),{ref:b,customStore:qr}):Pe(),Mn.filter?W(en("vxe-table-filter-panel"),{ref:g,filterStore:La}):Pe(),Mn.import&&e.importConfig?W(en("vxe-table-import-panel"),{defaultOptions:s.importParams,storeData:s.importStore}):Pe(),Mn.export&&(e.exportConfig||e.printConfig)?W(en("vxe-table-export-panel"),{defaultOptions:s.exportParams,storeData:s.exportStore}):Pe(),Np?W(en("vxe-table-menu-panel"),{ref:v}):Pe(),a?W(en("vxe-tooltip"),{ref:h,isArrow:!1,enterable:!1}):Pe(),a?W(en("vxe-tooltip"),Object.assign({ref:p},Ii)):Pe(),a&&e.editRules&&ks.showMessage&&(ks.message==="default"?!de:ks.message==="tooltip")?W(en("vxe-tooltip"),Object.assign({ref:m,class:[{"old-cell-valid":ht&&fe.cellVaildMode==="obsolete"},"vxe-table--valid-error"]},ks.message==="tooltip"||Ht.length===1?Ip:{})):Pe()])};return Ee.renderVN=on,Qt("xecolgroup",null),Qt("$xetable",Ee),Ee},render(){return this.renderVN()}}),o2e=Object.assign(kb,{install:function(e){e.component(kb.name,kb)}}),wSt=o2e;Or.component(kb.name,kb);const l2e=Object.assign(bm,{install:function(e){e.component(bm.name,bm)}}),SSt=l2e;Or.component(bm.name,bm);const _b=Ve({name:"VxePager",props:{size:{type:String,default:()=>fe.pager.size||fe.size},layouts:{type:Array,default:()=>fe.pager.layouts||["PrevJump","PrevPage","Jump","PageCount","NextPage","NextJump","Sizes","Total"]},currentPage:{type:Number,default:1},loading:Boolean,pageSize:{type:Number,default:()=>fe.pager.pageSize||10},total:{type:Number,default:0},pagerCount:{type:Number,default:()=>fe.pager.pagerCount||7},pageSizes:{type:Array,default:()=>fe.pager.pageSizes||[10,15,20,50,100]},align:{type:String,default:()=>fe.pager.align},border:{type:Boolean,default:()=>fe.pager.border},background:{type:Boolean,default:()=>fe.pager.background},perfect:{type:Boolean,default:()=>fe.pager.perfect},autoHidden:{type:Boolean,default:()=>fe.pager.autoHidden},transfer:{type:Boolean,default:()=>fe.pager.transfer},className:[String,Function],iconPrevPage:String,iconJumpPrev:String,iconJumpNext:String,iconNextPage:String,iconJumpMore:String,iconHomePage:String,iconEndPage:String},emits:["update:pageSize","update:currentPage","page-change"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=ai(e),o=lt("$xegrid",null),l=dn({inpCurrPage:e.currentPage}),s=j(),u={refElem:s},c={xID:a,props:e,context:t,getRefMaps:()=>u};let d={},f={};const p=(Q,ie)=>Math.max(Math.ceil(Q/ie),1),h=R(()=>p(e.total,e.pageSize)),m=(Q,ie)=>{r("update:currentPage",ie),Q&&ie!==e.currentPage&&d.dispatchEvent("page-change",{type:"current",pageSize:e.pageSize,currentPage:ie},Q)},v=(Q,ie)=>{r("update:currentPage",Q),ie&&Q!==e.currentPage&&d.dispatchEvent("page-change",{type:"current",pageSize:e.pageSize,currentPage:Q},ie)},g=Q=>{const ie=Q.target,X=U.toInteger(ie.value),q=h.value,ce=X<=0?1:X>=q?q:X,K=U.toValueString(ce);ie.value=K,l.inpCurrPage=K,v(ce,Q)},b=R(()=>{const{pagerCount:Q}=e,X=h.value>Q?Q-2:Q,q=[];for(let ce=0;ceMath.floor((e.pagerCount-2)/2)),y=R(()=>e.pageSizes.map(Q=>U.isNumber(Q)?{value:Q,label:`${fe.i18n("vxe.pager.pagesize",[Q])}`}:Object.assign({value:"",label:""},Q))),E=Q=>{const{currentPage:ie}=e;ie>1&&v(1,Q)},w=Q=>{const{currentPage:ie}=e,X=h.value;ie{const{currentPage:ie}=e,X=h.value;ie>1&&v(Math.min(X,Math.max(ie-1,1)),Q)},A=Q=>{const{currentPage:ie}=e,X=h.value;ie{const ie=b.value;v(Math.max(e.currentPage-ie.length,1),Q)},k=Q=>{const ie=h.value,X=b.value;v(Math.min(e.currentPage+X.length,ie),Q)},x=Q=>{const{value:ie}=Q,X=U.toNumber(ie),q=p(e.total,X);let ce=e.currentPage;ce>q&&(ce=q,r("update:currentPage",q)),r("update:pageSize",X),d.dispatchEvent("page-change",{type:"size",pageSize:X,currentPage:ce})},_=Q=>{const ie=Q.target;l.inpCurrPage=ie.value},M=Q=>{rr(Q,zn.ENTER)?g(Q):rr(Q,zn.ARROW_UP)?(Q.preventDefault(),A(Q)):rr(Q,zn.ARROW_DOWN)&&(Q.preventDefault(),S(Q))},L=()=>W("button",{class:["vxe-pager--prev-btn",{"is--disabled":e.currentPage<=1}],type:"button",title:fe.i18n("vxe.pager.homePageTitle"),onClick:E},[W("i",{class:["vxe-pager--btn-icon",e.iconHomePage||fe.icon.PAGER_HOME]})]),I=()=>W("button",{class:["vxe-pager--prev-btn",{"is--disabled":e.currentPage<=1}],type:"button",title:fe.i18n("vxe.pager.prevPageTitle"),onClick:S},[W("i",{class:["vxe-pager--btn-icon",e.iconPrevPage||fe.icon.PAGER_PREV_PAGE]})]),P=Q=>W(Q||"button",{class:["vxe-pager--jump-prev",{"is--fixed":!Q,"is--disabled":e.currentPage<=1}],type:"button",title:fe.i18n("vxe.pager.prevJumpTitle"),onClick:D},[Q?W("i",{class:["vxe-pager--jump-more-icon",e.iconJumpMore||fe.icon.PAGER_JUMP_MORE]}):null,W("i",{class:["vxe-pager--jump-icon",e.iconJumpPrev||fe.icon.PAGER_JUMP_PREV]})]),B=Q=>{const ie=h.value;return W(Q||"button",{class:["vxe-pager--jump-next",{"is--fixed":!Q,"is--disabled":e.currentPage>=ie}],type:"button",title:fe.i18n("vxe.pager.nextJumpTitle"),onClick:k},[Q?W("i",{class:["vxe-pager--jump-more-icon",e.iconJumpMore||fe.icon.PAGER_JUMP_MORE]}):null,W("i",{class:["vxe-pager--jump-icon",e.iconJumpNext||fe.icon.PAGER_JUMP_NEXT]})])},T=()=>{const Q=h.value;return W("button",{class:["vxe-pager--next-btn",{"is--disabled":e.currentPage>=Q}],type:"button",title:fe.i18n("vxe.pager.nextPageTitle"),onClick:A},[W("i",{class:["vxe-pager--btn-icon",e.iconNextPage||fe.icon.PAGER_NEXT_PAGE]})])},O=()=>{const Q=h.value;return W("button",{class:["vxe-pager--prev-btn",{"is--disabled":e.currentPage>=Q}],type:"button",title:fe.i18n("vxe.pager.endPageTitle"),onClick:w},[W("i",{class:["vxe-pager--btn-icon",e.iconEndPage||fe.icon.PAGER_END]})])},N=Q=>{const{currentPage:ie,pagerCount:X}=e,q=[],ce=h.value,K=b.value,Z=C.value,se=ce>X,Fe=se&&ie>Z+1,me=se&&ie=ce-Z?te=Math.max(ce-K.length+1,1):te=Math.max(ie-Z,1)),Q&&Fe&&q.push(W("button",{class:"vxe-pager--num-btn",type:"button",onClick:ue=>m(ue,1)},1),P("span")),K.forEach((ue,Se)=>{const Ae=te+Se;Ae<=ce&&q.push(W("button",{key:Ae,class:["vxe-pager--num-btn",{"is--active":ie===Ae}],type:"button",onClick:Ne=>m(Ne,Ae)},Ae))}),Q&&me&&q.push(B("button"),W("button",{class:"vxe-pager--num-btn",type:"button",onClick:ue=>m(ue,ce)},ce)),W("span",{class:"vxe-pager--btn-wrapper"},q)},V=()=>N(!0),Y=()=>{const Q=y.value;return W(l2e,{class:"vxe-pager--sizes",modelValue:e.pageSize,placement:"top",transfer:e.transfer,options:Q,onChange:x})},z=Q=>W("span",{class:"vxe-pager--jump"},[Q?W("span",{class:"vxe-pager--goto-text"},fe.i18n("vxe.pager.goto")):null,W("input",{class:"vxe-pager--goto",value:l.inpCurrPage,type:"text",autocomplete:"off",onInput:_,onKeydown:M,onBlur:g}),Q?W("span",{class:"vxe-pager--classifier-text"},fe.i18n("vxe.pager.pageClassifier")):null]),ee=()=>z(!0),ae=()=>{const Q=h.value;return W("span",{class:"vxe-pager--count"},[W("span",{class:"vxe-pager--separator"}),W("span",Q)])},pe=()=>W("span",{class:"vxe-pager--total"},fe.i18n("vxe.pager.total",[e.total]));d={dispatchEvent(Q,ie,X){r(Q,Object.assign({$pager:c,$event:X},ie))},homePage(){return E(),Oe()},endPage(){return w(),Oe()},prevPage(){return S(),Oe()},nextPage(){return A(),Oe()},prevJump(){return D(),Oe()},nextJump(){return k(),Oe()}},f={handlePrevPage:S,handleNextPage:A,handlePrevJump:D,handleNextJump:k},Object.assign(c,d,f),$e(()=>e.currentPage,Q=>{l.inpCurrPage=Q});const re=()=>{const{align:Q,layouts:ie,className:X}=e,q=[],ce=i.value,K=h.value;return n.left&&q.push(W("span",{class:"vxe-pager--left-wrapper"},n.left({$grid:o}))),ie.forEach(Z=>{let se;switch(Z){case"Home":se=L;break;case"PrevJump":se=P;break;case"PrevPage":se=I;break;case"Number":se=N;break;case"JumpNumber":se=V;break;case"NextPage":se=T;break;case"NextJump":se=B;break;case"End":se=O;break;case"Sizes":se=Y;break;case"FullJump":se=ee;break;case"Jump":se=z;break;case"PageCount":se=ae;break;case"Total":se=pe;break}se&&q.push(se())}),n.right&&q.push(W("span",{class:"vxe-pager--right-wrapper"},n.right({$grid:o}))),W("div",{ref:s,class:["vxe-pager",X?U.isFunction(X)?X({$pager:c}):X:"",{[`size--${ce}`]:ce,[`align--${Q}`]:Q,"is--border":e.border,"is--background":e.background,"is--perfect":e.perfect,"is--hidden":e.autoHidden&&K===1,"is--loading":e.loading}]},[W("div",{class:"vxe-pager--wrapper"},q)])};return c.renderVN=re,c},render(){return this.renderVN()}}),s2e=Object.assign(_b,{install:function(e){e.component(_b.name,_b)}}),ASt=s2e;Or.component(_b.name,_b);const Gc=Object.assign(Ui,{install(e){e.component(Ui.name,Ui)}});Or.component(Ui.name,Ui);const xb=Ve({name:"VxeToolbar",props:{loading:Boolean,refresh:[Boolean,Object],import:[Boolean,Object],export:[Boolean,Object],print:[Boolean,Object],zoom:[Boolean,Object],custom:[Boolean,Object],buttons:{type:Array,default:()=>fe.toolbar.buttons},tools:{type:Array,default:()=>fe.toolbar.tools},perfect:{type:Boolean,default:()=>fe.toolbar.perfect},size:{type:String,default:()=>fe.toolbar.size||fe.size},className:[String,Function]},emits:["button-click","tool-click"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=ai(e),o=dn({isRefresh:!1,columns:[]}),l=j(),s={refElem:l},u={xID:a,props:e,context:t,reactData:o,getRefMaps:()=>s};let c={};const d=lt("$xegrid",null);let f;const p=j(0),h=R(()=>Object.assign({},fe.toolbar.refresh,e.refresh)),m=R(()=>Object.assign({},fe.toolbar.import,e.import)),v=R(()=>Object.assign({},fe.toolbar.export,e.export)),g=R(()=>Object.assign({},fe.toolbar.print,e.print)),b=R(()=>Object.assign({},fe.toolbar.zoom,e.zoom)),C=R(()=>Object.assign({},fe.toolbar.custom,e.custom)),y=R(()=>{if((p.value||f)&&f){const{computeCustomOpts:re}=f.getComputeMaps();return re.value}return{}}),E=R(()=>y.value.trigger),w=()=>{if(f)return!0;ei("vxe.error.barUnableLink")},S=({$event:re})=>{f&&(f.triggerCustomEvent?f.triggerCustomEvent(re):ei("vxe.error.reqModule",["VxeTableCustomModule"]))},A=({$event:re})=>{f?f.customOpenEvent(re):ei("vxe.error.reqModule",["VxeTableCustomModule"])},D=({$event:re})=>{const{customStore:Q}=f.reactData;Q.activeBtn=!1,setTimeout(()=>{!Q.activeBtn&&!Q.activeWrapper&&f.customColseEvent(re)},350)},k=re=>{const{isRefresh:Q}=o,ie=h.value;if(!Q){const X=ie.queryMethod||ie.query;if(X){o.isRefresh=!0;try{Promise.resolve(X({})).catch(q=>q).then(()=>{o.isRefresh=!1})}catch(q){o.isRefresh=!1}}else d&&(o.isRefresh=!0,d.triggerToolbarCommitEvent({code:ie.code||"reload"},re).catch(q=>q).then(()=>{o.isRefresh=!1}))}},x=re=>{d&&d.triggerZoomEvent(re)},_=(re,Q)=>{const{code:ie}=Q;if(ie)if(d)d.triggerToolbarBtnEvent(Q,re);else{const X=$n.commands.get(ie),q={code:ie,button:Q,$table:f,$grid:d,$event:re};X&&X.commandMethod&&X.commandMethod(q),u.dispatchEvent("button-click",q,re)}},M=(re,Q)=>{const{code:ie}=Q;if(ie)if(d)d.triggerToolbarTolEvent(Q,re);else{const X=$n.commands.get(ie),q={code:ie,tool:Q,$table:f,$grid:d,$event:re};X&&X.commandMethod&&X.commandMethod(q),u.dispatchEvent("tool-click",q,re)}},L=()=>{w()&&f.openImport()},I=()=>{w()&&f.openExport()},P=()=>{w()&&f.openPrint()},B=(re,Q)=>{const{dropdowns:ie}=re,X=[];return ie?ie.map((q,ce)=>q.visible===!1?Pe():W(Gc,{key:ce,disabled:q.disabled,loading:q.loading,type:q.type,icon:q.icon,circle:q.circle,round:q.round,status:q.status,content:q.name,onClick:K=>Q?_(K,q):M(K,q)})):X},T=()=>{const{buttons:re}=e,Q=n.buttons;if(Q)return Wr(Q({$grid:d,$table:f}));const ie=[];return re&&re.forEach(X=>{const{dropdowns:q,buttonRender:ce}=X;if(X.visible!==!1){const K=ce?$n.renderer.get(ce.name):null;if(ce&&K&&K.renderToolbarButton){const Z=K.toolbarButtonClassName,se={$grid:d,$table:f,button:X};ie.push(W("span",{class:["vxe-button--item",Z?U.isFunction(Z)?Z(se):Z:""]},Wr(K.renderToolbarButton(ce,se))))}else ie.push(W(Gc,{disabled:X.disabled,loading:X.loading,type:X.type,icon:X.icon,circle:X.circle,round:X.round,status:X.status,content:X.name,destroyOnClose:X.destroyOnClose,placement:X.placement,transfer:X.transfer,onClick:Z=>_(Z,X)},q&&q.length?{dropdowns:()=>B(X,!0)}:{}))}}),ie},O=()=>{const{tools:re}=e,Q=n.tools;if(Q)return Wr(Q({$grid:d,$table:f}));const ie=[];return re&&re.forEach((X,q)=>{const{dropdowns:ce,toolRender:K}=X;if(X.visible!==!1){const Z=K?K.name:null,se=K?$n.renderer.get(Z):null;if(K&&se&&se.renderToolbarTool){const Fe=se.toolbarToolClassName,me={$grid:d,$table:f,tool:X};ie.push(W("span",{key:Z,class:["vxe-tool--item",Fe?U.isFunction(Fe)?Fe(me):Fe:""]},Wr(se.renderToolbarTool(K,me))))}else ie.push(W(Gc,{key:q,disabled:X.disabled,loading:X.loading,type:X.type,icon:X.icon,circle:X.circle,round:X.round,status:X.status,content:X.name,destroyOnClose:X.destroyOnClose,placement:X.placement,transfer:X.transfer,onClick:Fe=>M(Fe,X)},ce&&ce.length?{dropdowns:()=>B(X,!1)}:{}))}}),ie},N=()=>{const re=m.value;return W(Gc,{key:"import",circle:!0,icon:re.icon||fe.icon.TOOLBAR_TOOLS_IMPORT,title:fe.i18n("vxe.toolbar.import"),onClick:L})},V=()=>{const re=v.value;return W(Gc,{key:"export",circle:!0,icon:re.icon||fe.icon.TOOLBAR_TOOLS_EXPORT,title:fe.i18n("vxe.toolbar.export"),onClick:I})},Y=()=>{const re=g.value;return W(Gc,{key:"print",circle:!0,icon:re.icon||fe.icon.TOOLBAR_TOOLS_PRINT,title:fe.i18n("vxe.toolbar.print"),onClick:P})},z=()=>{const re=h.value;return W(Gc,{key:"refresh",circle:!0,icon:o.isRefresh?re.iconLoading||fe.icon.TOOLBAR_TOOLS_REFRESH_LOADING:re.icon||fe.icon.TOOLBAR_TOOLS_REFRESH,title:fe.i18n("vxe.toolbar.refresh"),onClick:k})},ee=()=>{const re=b.value;return d?W(Gc,{key:"zoom",circle:!0,icon:d.isMaximized()?re.iconOut||fe.icon.TOOLBAR_TOOLS_MINIMIZE:re.iconIn||fe.icon.TOOLBAR_TOOLS_FULLSCREEN,title:fe.i18n(`vxe.toolbar.zoom${d.isMaximized()?"Out":"In"}`),onClick:x}):Pe()},ae=()=>{const re=C.value,Q=E.value,ie={};return Q==="manual"||(Q==="hover"?(ie.onMouseenter=A,ie.onMouseleave=D):ie.onClick=S),W(Gc,Object.assign({key:"custom",circle:!0,icon:re.icon||fe.icon.TOOLBAR_TOOLS_CUSTOM,title:fe.i18n("vxe.toolbar.custom"),className:"vxe-toolbar-custom-target"},ie))};c={dispatchEvent(re,Q,ie){r(re,Object.assign({$toolbar:u,$event:ie},Q))},syncUpdate(re){const{collectColumn:Q}=re;f=re.$table,o.columns=Q,p.value++}},Object.assign(u,c),Oe(()=>{const{refresh:re}=e,Q=h.value,ie=Q.queryMethod||Q.query;re&&!d&&!ie&&RL("vxe.error.notFunc",["queryMethod"]),C.value});const pe=()=>{const{perfect:re,loading:Q,refresh:ie,zoom:X,custom:q,className:ce}=e,K=i.value;return W("div",{ref:l,class:["vxe-toolbar",ce?U.isFunction(ce)?ce({$toolbar:u}):ce:"",{[`size--${K}`]:K,"is--perfect":re,"is--loading":Q}]},[W("div",{class:"vxe-buttons--wrapper"},T()),W("div",{class:"vxe-tools--wrapper"},O()),W("div",{class:"vxe-tools--operate"},[e.import?N():Pe(),e.export?V():Pe(),e.print?Y():Pe(),ie?z():Pe(),X&&d?ee():Pe(),q?ae():Pe()])])};return u.renderVN=pe,u},render(){return this.renderVN()}}),DSt=Object.assign(xb,{install:function(e){e.component(xb.name,xb)}});Or.component(xb.name,xb);class u2e{constructor(t,n){Object.assign(this,{id:U.uniqueId("item_"),title:n.title,field:n.field,span:n.span,align:n.align,titleAlign:n.titleAlign,titleWidth:n.titleWidth,titleColon:n.titleColon,titleAsterisk:n.titleAsterisk,titlePrefix:n.titlePrefix,titleSuffix:n.titleSuffix,titleOverflow:n.titleOverflow,showTitle:n.showTitle,resetValue:n.resetValue,visibleMethod:n.visibleMethod,visible:n.visible,folding:n.folding,collapseNode:n.collapseNode,className:n.className,contentClassName:n.contentClassName,contentStyle:n.contentStyle,titleClassName:n.titleClassName,titleStyle:n.titleStyle,itemRender:n.itemRender,rules:n.rules,showError:!1,errRule:null,slots:n.slots,children:[]})}update(t,n){this[t]=n}}function TSt(e){return e instanceof u2e}function SV(e,t){return TSt(t)?t:new u2e(e,t)}function pre(e,t){return t?U.isString(t)?e.getItemByField(t):t:null}function kSt(e,t){const{reactData:n}=e,{collapseAll:r}=n,{folding:a,visible:i}=t;return i===!1||a&&r}function AV(e,t){let{visibleMethod:n,itemRender:r,visible:a,field:i}=t;if(a===!1)return a;const o=gr(r)?$n.renderer.get(r.name):null;if(!n&&o&&o.itemVisibleMethod&&(n=o.itemVisibleMethod),!n)return!0;const{data:l}=e.props;return n({data:l,field:i,property:i,item:t,$form:e,$grid:e.xegrid})}function c2e(e,t){Object.keys(e).forEach(n=>{$e(()=>e[n],r=>{t.update(n,r)})})}function d2e(e,t,n,r){const{reactData:a}=e,{staticItems:i}=a,o=t.parentNode,l=r?r.formItem:null,s=l?l.children:i;o&&(s.splice(U.arrayIndexOf(o.children,t),0,n),a.staticItems=i.slice(0))}function f2e(e,t){const{reactData:n}=e,{staticItems:r}=n,a=U.findIndexOf(r,i=>i.id===t.id);a>-1&&r.splice(a,1),n.staticItems=r.slice(0)}const VL=Object.assign(U1,{install:function(e){$n.tooltip=!0,e.component(U1.name,U1)}});Or.component(U1.name,U1);function hre(e){return W("span",{class:"vxe-form--item-title-prefix"},[W("i",{class:e.icon||fe.icon.FORM_PREFIX})])}function mre(e){return W("span",{class:"vxe-form--item-title-suffix"},[W("i",{class:e.icon||fe.icon.FORM_SUFFIX})])}function p2e(e,t){const{data:n}=e.props,{computeTooltipOpts:r}=e.getComputeMaps(),{slots:a,field:i,itemRender:o,titlePrefix:l,titleSuffix:s}=t,u=r.value,c=gr(o)?$n.renderer.get(o.name):null,d={data:n,field:i,property:i,item:t,$form:e,$grid:e.xegrid},f=a?a.title:null,p=[],h=[];l&&h.push(l.content||l.message?W(VL,Object.assign(Object.assign(Object.assign({},u),l),{content:Ea(l.content||l.message)}),{default:()=>hre(l)}):hre(l)),h.push(W("span",{class:"vxe-form--item-title-label"},c&&c.renderItemTitle?Wr(c.renderItemTitle(o,d)):f?e.callSlot(f,d):Ea(t.title))),p.push(W("div",{class:"vxe-form--item-title-content"},h));const m=[];return s&&m.push(s.content||s.message?W(VL,Object.assign(Object.assign(Object.assign({},u),s),{content:Ea(s.content||s.message)}),{default:()=>mre(s)}):mre(s)),p.push(W("div",{class:"vxe-form--item-title-postfix"},m)),p}const h2e=Ve({name:"VxeFormConfigItem",props:{itemConfig:Object},setup(e){const t=lt("$xeform",{}),n={itemConfig:e.itemConfig};return Qt("$xeformiteminfo",n),Qt("$xeformgather",null),{renderVN:()=>{const{reactData:i}=t,{data:o,rules:l,span:s,align:u,titleAlign:c,titleWidth:d,titleColon:f,titleAsterisk:p,titleOverflow:h,vertical:m}=t.props,{computeValidOpts:v}=t.getComputeMaps(),g=e.itemConfig,{collapseAll:b}=i,C=v.value,{slots:y,title:E,visible:w,folding:S,field:A,collapseNode:D,itemRender:k,showError:x,errRule:_,className:M,titleOverflow:L,vertical:I,children:P,showTitle:B,contentClassName:T,contentStyle:O,titleClassName:N,titleStyle:V}=g,Y=gr(k)?$n.renderer.get(k.name):null,z=Y?Y.itemClassName:"",ee=Y?Y.itemStyle:null,ae=Y?Y.itemContentClassName:"",pe=Y?Y.itemContentStyle:null,re=Y?Y.itemTitleClassName:"",Q=Y?Y.itemTitleStyle:null,ie=y?y.default:null,X=y?y.title:null,q=g.span||s,ce=g.align||u,K=U.eqNull(g.titleAlign)?c:g.titleAlign,Z=U.eqNull(g.titleWidth)?d:g.titleWidth,se=U.eqNull(g.titleColon)?f:g.titleColon,Fe=U.eqNull(g.titleAsterisk)?p:g.titleAsterisk,me=U.isUndefined(L)||U.isNull(L)?h:L,te=U.isUndefined(I)||U.isNull(I)?m:I,ue=me==="ellipsis",Se=me==="title",Ae=me===!0||me==="tooltip",Ne=Se||Ae||ue,je={data:o,field:A,property:A,item:g,$form:t,$grid:t.xegrid};if(w===!1)return Pe();let De=!1;if(l){const qe=l[A];qe&&(De=qe.some(ve=>ve.required))}if(P&&P.length>0){const qe=P.map((ve,Ge)=>W(h2e,{key:Ge,itemConfig:ve}));return qe.length?W("div",{class:["vxe-form--gather vxe-form--item-row",g.id,q?`vxe-form--item-col_${q} is--span`:"",M?U.isFunction(M)?M(je):M:""]},qe):Pe()}let He=[];ie?He=t.callSlot(ie,je):Y&&Y.renderItemContent?He=Wr(Y.renderItemContent(k,je)):A&&(He=[U.toValueString(U.get(o,A))]),D&&He.push(W("div",{class:"vxe-form--item-trigger-node",onClick:t.toggleCollapseEvent},[W("span",{class:"vxe-form--item-trigger-text"},b?fe.i18n("vxe.form.unfolding"):fe.i18n("vxe.form.folding")),W("i",{class:["vxe-form--item-trigger-icon",b?fe.icon.FORM_FOLDING:fe.icon.FORM_UNFOLDING]})])),_&&C.showMessage&&He.push(W("div",{class:"vxe-form--item-valid",style:_.maxWidth?{width:`${_.maxWidth}px`}:null},_.content));const xe=Ae?{onMouseenter(qe){t.triggerTitleTipEvent(qe,je)},onMouseleave:t.handleTitleTipLeaveEvent}:{};return W("div",{class:["vxe-form--item",g.id,q?`vxe-form--item-col_${q} is--span`:"",M?U.isFunction(M)?M(je):M:"",z?U.isFunction(z)?z(je):z:"",{"is--title":E,"is--colon":se,"is--vertical":te,"is--asterisk":Fe,"is--required":De,"is--hidden":S&&b,"is--active":AV(t,g),"is--error":x}],style:U.isFunction(ee)?ee(je):ee},[W("div",{class:"vxe-form--item-inner"},[B!==!1&&(E||X)?W("div",Object.assign({class:["vxe-form--item-title",K?`align--${K}`:"",Ne?"is--ellipsis":"",re?U.isFunction(re)?re(je):re:"",N?U.isFunction(N)?N(je):N:""],style:Object.assign({},U.isFunction(Q)?Q(je):Q,U.isFunction(V)?V(je):V,Z?{width:isNaN(Z)?Z:`${Z}px`}:null),title:Se?Ea(E):null},xe),p2e(t,g)):null,W("div",{class:["vxe-form--item-content",ce?`align--${ce}`:"",ae?U.isFunction(ae)?ae(je):ae:"",T?U.isFunction(T)?T(je):T:""],style:Object.assign({},U.isFunction(pe)?pe(je):pe,U.isFunction(O)?O(je):O)},He)])])}}},render(){return this.renderVN()}});class Ty{constructor(t){Object.assign(this,{$options:t,required:t.required,min:t.min,max:t.min,type:t.type,pattern:t.pattern,validator:t.validator,trigger:t.trigger,maxWidth:t.maxWidth})}get content(){return Ea(this.$options.content||this.$options.message)}get message(){return this.content}}const vre=(e,t)=>{const{type:n,min:r,max:a,pattern:i}=e,o=n==="number",l=o?U.toNumber(t):U.getSize(t);return!!(o&&isNaN(t)||!U.eqNull(r)&&lU.toNumber(a)||i&&!(U.isRegExp(i)?i:new RegExp(i)).test(t))};function _St(e,t){return U.isArray(e)&&(t=[]),t}const Mb=Ve({name:"VxeForm",props:{collapseStatus:{type:Boolean,default:!0},loading:Boolean,data:Object,size:{type:String,default:()=>fe.form.size||fe.size},span:{type:[String,Number],default:()=>fe.form.span},align:{type:String,default:()=>fe.form.align},titleAlign:{type:String,default:()=>fe.form.titleAlign},titleWidth:{type:[String,Number],default:()=>fe.form.titleWidth},titleColon:{type:Boolean,default:()=>fe.form.titleColon},titleAsterisk:{type:Boolean,default:()=>fe.form.titleAsterisk},titleOverflow:{type:[Boolean,String],default:null},vertical:{type:Boolean,default:null},className:[String,Function],readonly:Boolean,items:Array,rules:Object,preventSubmit:{type:Boolean,default:()=>fe.form.preventSubmit},validConfig:Object,tooltipConfig:Object,customLayout:{type:Boolean,default:()=>fe.form.customLayout}},emits:["update:collapseStatus","collapse","toggle-collapse","submit","submit-invalid","reset"],setup(e,t){const n=$n.tooltip,{slots:r,emit:a}=t,i=U.uniqueId(),o=ai(e),l=dn({collapseAll:e.collapseStatus,staticItems:[],formItems:[]}),s=dn({tooltipTimeout:null,tooltipStore:{item:null,visible:!1}}),u=lt("$xegrid",null),c=j(),d=j();let f={};const p=R(()=>Object.assign({},fe.form.validConfig,e.validConfig)),h=R(()=>Object.assign({},fe.tooltip,fe.form.tooltipConfig,e.tooltipConfig)),m={refElem:c},v={computeSize:o,computeValidOpts:p,computeTooltipOpts:h},g={xID:i,props:e,context:t,reactData:l,xegrid:u,getRefMaps:()=>m,getComputeMaps:()=>v},b=(Q,ie)=>Q&&(U.isString(Q)&&(Q=r[Q]||null),U.isFunction(Q))?Wr(Q(ie)):[],C=Q=>(Q.length,l.staticItems=U.mapTree(Q,ie=>SV(g,ie),{children:"children"}),Oe()),y=()=>{const Q=[];return U.eachTree(l.formItems,ie=>{Q.push(ie)},{children:"children"}),Q},E=Q=>{const ie=U.findTree(l.formItems,X=>X.field===Q,{children:"children"});return ie?ie.item:null},w=()=>l.collapseAll,S=()=>{const Q=!w();return l.collapseAll=Q,a("update:collapseStatus",Q),Oe()},A=Q=>{S();const ie=w();f.dispatchEvent("toggle-collapse",{status:ie,collapse:ie,data:e.data},Q),f.dispatchEvent("collapse",{status:ie,collapse:ie,data:e.data},Q)},D=Q=>{if(Q){let ie=Q;U.isArray(Q)||(ie=[Q]),ie.forEach(X=>{if(X){const q=pre(g,X);q&&(q.showError=!1)}})}else y().forEach(ie=>{ie.showError=!1});return Oe()},k=()=>{const{data:Q}=e,ie=y();return Q&&ie.forEach(X=>{const{field:q,resetValue:ce,itemRender:K}=X;if(gr(K)){const Z=$n.renderer.get(K.name);Z&&Z.itemResetMethod?Z.itemResetMethod({data:Q,field:q,property:q,item:X,$form:g,$grid:g.xegrid}):q&&U.set(Q,q,ce===null?_St(U.get(Q,q),void 0):U.clone(ce,!0))}}),D()},x=Q=>{Q.preventDefault(),k(),f.dispatchEvent("reset",{data:e.data},Q)},_=Q=>{const ie=c.value;for(let X=0;X{const{data:q,rules:ce}=e,K={};return U.isArray(ie)||(ie=[ie]),Promise.all(ie.map(Z=>{const se=[],Fe=[];if(Z&&ce){const me=U.get(ce,Z);if(me){const te=U.isUndefined(X)?U.get(q,Z):X;me.forEach(ue=>{const{type:Se,trigger:Ae,required:Ne,validator:je}=ue;if(Q==="all"||!Ae||Q===Ae)if(je){const De={itemValue:te,rule:ue,rules:me,data:q,field:Z,property:Z,$form:g};let he;if(U.isString(je)){const He=$n.validators.get(je);He&&He.itemValidatorMethod&&(he=He.itemValidatorMethod(De))}else he=je(De);he&&(U.isError(he)?se.push(new Ty({type:"custom",trigger:Ae,content:he.message,rule:new Ty(ue)})):he.catch&&Fe.push(he.catch(He=>{se.push(new Ty({type:"custom",trigger:Ae,content:He?He.message:ue.content||ue.message,rule:new Ty(ue)}))})))}else{const De=Se==="array",he=U.isArray(te);let He=!0;De||he?He=!he||!te.length:U.isString(te)?He=Qc(te.trim()):He=Qc(te),(Ne?He||vre(ue,te):!He&&vre(ue,te))&&se.push(new Ty(ue))}})}}return Promise.all(Fe).then(()=>{se.length&&(K[Z]=se.map(me=>({$form:g,rule:me,data:q,field:Z,property:Z})))})})).then(()=>{if(!U.isEmpty(K))return Promise.reject(K)})};let L;const I=(Q,ie,X)=>{const{data:q,rules:ce}=e,K=p.value,Z={},se=[],Fe=[];return clearTimeout(L),q&&ce?(Q.forEach(me=>{const{field:te}=me;te&&!kSt(g,me)&&AV(g,me)&&Fe.push(M(ie||"all",te).then(()=>{me.errRule=null}).catch(ue=>{const Se=ue[te];return Z[te]||(Z[te]=[]),Z[te].push(Se),se.push(te),me.errRule=Se[0].rule,Promise.reject(Se)}))}),Promise.all(Fe).then(()=>{X&&X()}).catch(()=>new Promise(me=>{L=window.setTimeout(()=>{Q.forEach(te=>{te.errRule&&(te.showError=!0)})},20),K.autoPos!==!1&&Oe(()=>{_(se)}),X?(X(Z),me()):me(Z)}))):(X&&X(),Promise.resolve())},P=Q=>(D(),I(y(),"",Q)),B=(Q,ie)=>{let X=[];return U.isArray(Q)?X=Q:X=[Q],I(X.map(q=>pre(g,q)),"",ie)},T=Q=>{Q.preventDefault(),e.preventSubmit||(D(),I(y()).then(ie=>{ie?f.dispatchEvent("submit-invalid",{data:e.data,errMap:ie},Q):f.dispatchEvent("submit",{data:e.data},Q)}))},O=()=>{const{tooltipStore:Q}=s,ie=d.value;return Q.visible&&(Object.assign(Q,{item:null,visible:!1}),ie&&ie.close()),Oe()},N=(Q,ie)=>{const{item:X}=ie,{tooltipStore:q}=s,ce=d.value,K=Q.currentTarget.children[0],Z=(K.textContent||"").trim(),se=K.scrollWidth>K.clientWidth;clearTimeout(s.tooltipTimeout),q.item!==X&&O(),Z&&se&&(Object.assign(q,{item:X,visible:!0}),ce&&ce.open(K,Z))},V=()=>{const Q=h.value;let ie=d.value;ie&&ie.setActived(!1),Q.enterable?s.tooltipTimeout=setTimeout(()=>{ie=d.value,ie&&!ie.isActived()&&O()},Q.leaveDelay):O()},Y=(Q,ie,X)=>ie?M(Q?["blur"].includes(Q.type)?"blur":"change":"all",ie,X).then(()=>{D(ie)}).catch(q=>{const ce=q[ie],K=E(ie);ce&&K&&(K.showError=!0,K.errRule=ce[0].rule)}):Oe();f={dispatchEvent(Q,ie,X){a(Q,Object.assign({$form:g,$grid:u,$event:X},ie))},reset:k,validate:P,validateField:B,clearValidate:D,updateStatus:(Q,ie)=>{const{field:X}=Q;return Y(new Event("change"),X,ie)},toggleCollapse:S,getItems:y,getItemByField:E,closeTooltip:O},Object.assign(g,f,{callSlot:b,triggerItemEvent:Y,toggleCollapseEvent:A,triggerTitleTipEvent:N,handleTitleTipLeaveEvent:V});const ae=j(0);$e(()=>l.staticItems.length,()=>{ae.value++}),$e(()=>l.staticItems,()=>{ae.value++}),$e(ae,()=>{l.formItems=l.staticItems});const pe=j(0);$e(()=>e.items?e.items.length:-1,()=>{pe.value++}),$e(()=>e.items,()=>{pe.value++}),$e(pe,()=>{C(e.items||[])}),$e(()=>e.collapseStatus,Q=>{l.collapseAll=!!Q});const re=()=>{const{loading:Q,className:ie,data:X,customLayout:q}=e,{formItems:ce}=l,K=o.value,Z=h.value,se=r.default;return W("form",{ref:c,class:["vxe-form",ie?U.isFunction(ie)?ie({items:ce,data:X,$form:g}):ie:"",{[`size--${K}`]:K,"is--loading":Q}],onSubmit:T,onReset:x},[W("div",{class:"vxe-form--wrapper vxe-form--item-row"},q?se?se({}):[]:ce.map((Fe,me)=>W(h2e,{key:me,itemConfig:Fe}))),W("div",{class:"vxe-form-slots",ref:"hideItem"},q?[]:se?se({}):[]),W(M4,{class:"vxe-form--loading",modelValue:Q}),n?W(VL,Object.assign({ref:d},Z)):Pe()])};return g.renderVN=re,e.items&&C(e.items),Qt("$xeform",g),Qt("$xeformgather",null),Qt("$xeformitem",null),Qt("$xeformiteminfo",null),g},render(){return this.renderVN()}}),xSt=Object.assign(Mb,{install(e){e.component(Mb.name,Mb)}});Or.component(Mb.name,Mb);const MSt=Object.keys(EV),gre=["clearAll","syncData","updateData","loadData","reloadData","reloadRow","loadColumn","reloadColumn","getRowNode","getColumnNode","getRowIndex","getVTRowIndex","getVMRowIndex","getColumnIndex","getVTColumnIndex","getVMColumnIndex","createData","createRow","revertData","clearData","isInsertByRow","isUpdateByRow","getColumns","getColumnById","getColumnByField","getTableColumn","getData","getCheckboxRecords","getParentRow","getRowSeq","getRowById","getRowid","getTableData","setColumnFixed","clearColumnFixed","setColumnWidth","getColumnWidth","hideColumn","showColumn","resetColumn","refreshColumn","refreshScroll","recalculate","closeTooltip","isAllCheckboxChecked","isAllCheckboxIndeterminate","getCheckboxIndeterminateRecords","setCheckboxRow","isCheckedByCheckboxRow","isIndeterminateByCheckboxRow","toggleCheckboxRow","setAllCheckboxRow","getRadioReserveRecord","clearRadioReserve","getCheckboxReserveRecords","clearCheckboxReserve","toggleAllCheckboxRow","clearCheckboxRow","setCurrentRow","isCheckedByRadioRow","setRadioRow","clearCurrentRow","clearRadioRow","getCurrentRecord","getRadioRecord","getCurrentColumn","setCurrentColumn","clearCurrentColumn","setPendingRow","togglePendingRow","getPendingRecords","clearPendingRow","sort","clearSort","isSort","getSortColumns","closeFilter","isFilter","isActiveFilterByColumn","isRowExpandLoaded","clearRowExpandLoaded","reloadRowExpand","reloadRowExpand","toggleRowExpand","setAllRowExpand","setRowExpand","isExpandByRow","isRowExpandByRow","clearRowExpand","clearRowExpandReserve","getRowExpandRecords","getTreeExpandRecords","isTreeExpandLoaded","clearTreeExpandLoaded","reloadTreeExpand","reloadTreeChilds","toggleTreeExpand","setAllTreeExpand","setTreeExpand","isTreeExpandByRow","clearTreeExpand","clearTreeExpandReserve","getScroll","scrollTo","scrollToRow","scrollToColumn","clearScroll","updateFooter","updateStatus","setMergeCells","removeInsertRow","removeMergeCells","getMergeCells","clearMergeCells","setMergeFooterItems","removeMergeFooterItems","getMergeFooterItems","clearMergeFooterItems","openTooltip","focus","blur","connect"],BSt=[...wV,"page-change","form-submit","form-submit-invalid","form-reset","form-collapse","form-toggle-collapse","proxy-query","proxy-delete","proxy-save","toolbar-button-click","toolbar-tool-click","zoom"],Bb=Ve({name:"VxeGrid",props:Object.assign(Object.assign({},EV),{layouts:Array,columns:Array,pagerConfig:Object,proxyConfig:Object,toolbarConfig:Object,formConfig:Object,zoomConfig:Object,size:{type:String,default:()=>fe.grid.size||fe.size}}),emits:BSt,setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=Jt(),o=ai(e),l=dn({tableLoading:!1,proxyInited:!1,isZMax:!1,tableData:[],filterData:[],formData:{},sortData:[],tZindex:0,tablePage:{total:0,pageSize:fe.pager.pageSize||10,currentPage:1}}),s=j(),u=j(),c=j(),d=j(),f=j(),p=j(),h=j(),m=j(),v=j(),g=j(),b=he=>{const He={};return he.forEach(xe=>{He[xe]=(...qe)=>{const ve=u.value;if(ve&&ve[xe])return ve[xe](...qe)}}),He},C=b(gre);gre.forEach(he=>{C[he]=(...He)=>{const xe=u.value;if(xe&&xe[he])return xe&&xe[he](...He)}});const y=R(()=>Object.assign({},fe.grid.proxyConfig,e.proxyConfig)),E=R(()=>y.value.message!==!1),w=R(()=>Object.assign({},fe.grid.pagerConfig,e.pagerConfig)),S=R(()=>Object.assign({},fe.grid.formConfig,e.formConfig)),A=R(()=>Object.assign({},fe.grid.toolbarConfig,e.toolbarConfig)),D=R(()=>Object.assign({},fe.grid.zoomConfig,e.zoomConfig)),k=R(()=>l.isZMax?{zIndex:l.tZindex}:null),x=R(()=>{const he={},He=e;return MSt.forEach(xe=>{he[xe]=He[xe]}),he}),_={refElem:s,refTable:u,refForm:c,refToolbar:d,refPager:f},M={computeProxyOpts:y,computePagerOpts:w,computeFormOpts:S,computeToolbarOpts:A,computeZoomOpts:D},L={xID:a,props:e,context:t,instance:i,reactData:l,getRefMaps:()=>_,getComputeMaps:()=>M};let I={};const P=R(()=>{const{seqConfig:he,pagerConfig:He,loading:xe,editConfig:qe,proxyConfig:ve}=e,{isZMax:Ge,tableLoading:Ke,tablePage:rt,tableData:nt}=l,ze=x.value,Ie=y.value,ge=w.value,oe=Object.assign({},ze);return Ge&&(ze.maxHeight?oe.maxHeight="100%":oe.height="100%"),ve&&gr(Ie)&&(oe.loading=xe||Ke,oe.data=nt,He&&Ie.seq&&gr(ge)&&(oe.seqConfig=Object.assign({},he,{startIndex:(rt.currentPage-1)*rt.pageSize}))),qe&&(oe.editConfig=Object.assign({},qe)),oe}),B=()=>{const he=A.value;e.toolbarConfig&&gr(he)&&Oe(()=>{const He=u.value,xe=d.value;He&&xe&&He.connect(xe)})},T=()=>{const{tablePage:he}=l,{pagerConfig:He}=e,xe=w.value,{currentPage:qe,pageSize:ve}=xe;He&&gr(xe)&&(qe&&(he.currentPage=qe),ve&&(he.pageSize=ve))},O=he=>{const He=E.value,xe=u.value,qe=xe.getCheckboxRecords();qe.length?(xe.togglePendingRow(qe),C.clearCheckboxRow()):He&&$n.modal.message({id:he,content:fe.i18n("vxe.grid.selectOneRecord"),status:"warning"})},N=(he,He)=>{const xe=y.value,ve=(xe.response||xe.props||{}).message;let Ge;return he&&ve&&(Ge=U.isFunction(ve)?ve({data:he,$grid:L}):U.get(he,ve)),Ge||fe.i18n(He)},V=(he,He,xe)=>{const qe=E.value,ve=C.getCheckboxRecords();if(qe){if(ve.length)return $n.modal.confirm({id:`cfm_${he}`,content:fe.i18n(He),escClosable:!0}).then(Ge=>{if(Ge==="confirm")return xe()});$n.modal.message({id:`msg_${he}`,content:fe.i18n("vxe.grid.selectOneRecord"),status:"warning"})}else ve.length&&xe();return Promise.resolve()},Y=he=>{const{proxyConfig:He}=e,{tablePage:xe}=l,{currentPage:qe,pageSize:ve}=he,Ge=y.value;xe.currentPage=qe,xe.pageSize=ve,I.dispatchEvent("page-change",he),He&&gr(Ge)&&I.commitProxy("query").then(Ke=>{I.dispatchEvent("proxy-query",Ke,he.$event)})},z=he=>{const He=u.value,{proxyConfig:xe}=e,{computeSortOpts:qe}=He.getComputeMaps(),ve=y.value;qe.value.remote&&(l.sortData=he.sortList,xe&&gr(ve)&&(l.tablePage.currentPage=1,I.commitProxy("query").then(Ke=>{I.dispatchEvent("proxy-query",Ke,he.$event)}))),I.dispatchEvent("sort-change",he)},ee=he=>{const He=u.value,{proxyConfig:xe}=e,{computeFilterOpts:qe}=He.getComputeMaps(),ve=y.value;qe.value.remote&&(l.filterData=he.filterList,xe&&gr(ve)&&(l.tablePage.currentPage=1,I.commitProxy("query").then(Ke=>{I.dispatchEvent("proxy-query",Ke,he.$event)}))),I.dispatchEvent("filter-change",he)},ae=he=>{const{proxyConfig:He}=e,xe=y.value;He&&gr(xe)&&I.commitProxy("reload").then(qe=>{I.dispatchEvent("proxy-query",Object.assign(Object.assign({},qe),{isReload:!0}),he.$event)}),I.dispatchEvent("form-submit",he)},pe=he=>{const{proxyConfig:He}=e,xe=y.value;He&&gr(xe)&&I.commitProxy("reload").then(qe=>{I.dispatchEvent("proxy-query",Object.assign(Object.assign({},qe),{isReload:!0}),he.$event)}),I.dispatchEvent("form-reset",he)},re=he=>{I.dispatchEvent("form-submit-invalid",he)},Q=he=>{Oe(()=>C.recalculate(!0)),I.dispatchEvent("form-toggle-collapse",he),I.dispatchEvent("form-collapse",he)},ie=he=>{const{isZMax:He}=l;return(he?!He:He)&&(l.isZMax=!He,l.tZindexC.recalculate(!0)).then(()=>l.isZMax)},X=(he,He)=>{const xe=he[He];if(xe)if(U.isString(xe)){if(n[xe])return n[xe]}else return xe;return null},q=()=>{const{formConfig:he,proxyConfig:He}=e,{formData:xe}=l,qe=y.value,ve=S.value,Ge=[];if(he&&gr(ve)||n.form){let Ke=[];if(n.form)Ke=n.form({$grid:L});else if(ve.items){const rt={};if(!ve.inited){ve.inited=!0;const nt=qe.beforeItem;qe&&nt&&ve.items.forEach(ze=>{nt({$grid:L,item:ze})})}ve.items.forEach(nt=>{U.each(nt.slots,ze=>{U.isFunction(ze)||n[ze]&&(rt[ze]=n[ze])})}),Ke.push(W(xSt,Object.assign(Object.assign({ref:c},Object.assign({},ve,{data:He&&gr(qe)&&qe.form?xe:ve.data})),{onSubmit:ae,onReset:pe,onSubmitInvalid:re,onCollapse:Q}),rt))}Ge.push(W("div",{ref:p,key:"form",class:"vxe-grid--form-wrapper"},Ke))}return Ge},ce=()=>{const{toolbarConfig:he}=e,He=A.value,xe=[];if(he&&gr(He)||n.toolbar){let qe=[];if(n.toolbar)qe=n.toolbar({$grid:L});else{const ve=He.slots;let Ge,Ke;const rt={};ve&&(Ge=X(ve,"buttons"),Ke=X(ve,"tools"),Ge&&(rt.buttons=Ge),Ke&&(rt.tools=Ke)),qe.push(W(DSt,Object.assign({ref:d},He),rt))}xe.push(W("div",{ref:h,key:"toolbar",class:"vxe-grid--toolbar-wrapper"},qe))}return xe},K=()=>n.top?[W("div",{ref:m,key:"top",class:"vxe-grid--top-wrapper"},n.top({$grid:L}))]:[],Z=["Form","Toolbar","Top","Table","Bottom","Pager"],se=()=>{const{layouts:he}=e,He=[];return(he&&he.length?he:fe.grid.layouts||Z).forEach(qe=>{switch(qe){case"Form":He.push(q());break;case"Toolbar":He.push(ce());break;case"Top":He.push(K());break;case"Table":He.push(me());break;case"Bottom":He.push(te());break;case"Pager":He.push(ue());break}}),He},Fe={};wV.forEach(he=>{const He=U.camelCase(`on-${he}`);Fe[He]=(...xe)=>r(he,...xe)});const me=()=>{const{proxyConfig:he}=e,He=P.value,xe=y.value,qe=Object.assign({},Fe),ve=n.empty,Ge=n.loading;he&&gr(xe)&&(xe.sort&&(qe.onSortChange=z),xe.filter&&(qe.onFilterChange=ee));const Ke={};return ve&&(Ke.empty=()=>ve({})),Ge&&(Ke.loading=()=>Ge({})),[W(o2e,Object.assign(Object.assign({ref:u,key:"table"},He),qe),Ke)]},te=()=>n.bottom?[W("div",{ref:v,key:"bottom",class:"vxe-grid--bottom-wrapper"},n.bottom({$grid:L}))]:[],ue=()=>{const{proxyConfig:he,pagerConfig:He}=e,xe=y.value,qe=w.value,ve=[];if(He&&gr(qe)||n.pager){let Ge=[];if(n.pager)Ge=n.pager({$grid:L});else{const Ke=qe.slots,rt={};let nt,ze;Ke&&(nt=X(Ke,"left"),ze=X(Ke,"right"),nt&&(rt.left=nt),ze&&(rt.right=ze)),Ge.push(W(s2e,Object.assign(Object.assign(Object.assign({ref:f},qe),he&&gr(xe)?l.tablePage:{}),{onPageChange:Y}),rt))}ve.push(W("div",{ref:g,key:"pager",class:"vxe-grid--pager-wrapper"},Ge))}return ve},Se=()=>{const{proxyConfig:he,formConfig:He}=e,{proxyInited:xe}=l,qe=y.value,ve=S.value;if(he&&gr(qe)){if(He&&gr(ve)&&qe.form&&ve.items){const Ge={};ve.items.forEach(Ke=>{const{field:rt,itemRender:nt}=Ke;if(rt){let ze=null;if(nt){const{defaultValue:Ie}=nt;U.isFunction(Ie)?ze=Ie({item:Ke}):U.isUndefined(Ie)||(ze=Ie)}Ge[rt]=ze}}),l.formData=Ge}xe||(l.proxyInited=!0,qe.autoLoad!==!1&&Oe().then(()=>I.commitProxy("_init")).then(Ge=>{I.dispatchEvent("proxy-query",Object.assign(Object.assign({},Ge),{isInited:!0}),new Event("init"))}))}};I={dispatchEvent(he,He,xe){r(he,Object.assign({$grid:L,$event:xe},He))},commitProxy(he,...He){const{toolbarConfig:xe,pagerConfig:qe,editRules:ve,validConfig:Ge}=e,{tablePage:Ke,formData:rt}=l,nt=E.value,ze=y.value,Ie=w.value,ge=A.value,{beforeQuery:oe,afterQuery:Xe,beforeDelete:it,afterDelete:xt,beforeSave:Ee,afterSave:pn,ajax:Qe={}}=ze,ct=ze.response||ze.props||{},gt=u.value;let an=null,Wt=null;if(U.isString(he)){const{buttons:Ft}=ge,It=xe&&gr(ge)&&Ft?U.findTree(Ft,Nn=>Nn.code===he,{children:"dropdowns"}):null;an=It?It.item:null,Wt=he}else an=he,Wt=an.code;const bt=an?an.params:null;switch(Wt){case"insert":return gt.insert({});case"insert_edit":return gt.insert({}).then(({row:Ft})=>gt.setEditRow(Ft));case"insert_actived":return gt.insert({}).then(({row:Ft})=>gt.setEditRow(Ft));case"mark_cancel":O(Wt);break;case"remove":return V(Wt,"vxe.grid.removeSelectRecord",()=>gt.removeCheckboxRow());case"import":gt.importData(bt);break;case"open_import":gt.openImport(bt);break;case"export":gt.exportData(bt);break;case"open_export":gt.openExport(bt);break;case"reset_custom":return gt.resetColumn(!0);case"_init":case"reload":case"query":{const Ft=Qe.query;if(Ft){const It=Wt==="_init",Nn=Wt==="reload";let Kn=[],Sr=[],Pr={};if(qe&&((It||Nn)&&(Ke.currentPage=1),gr(Ie)&&(Pr=Object.assign({},Ke))),It){const{computeSortOpts:ur}=gt.getComputeMaps();let Tr=ur.value.defaultSort;Tr&&(U.isArray(Tr)||(Tr=[Tr]),Kn=Tr.map(jr=>({field:jr.field,property:jr.field,order:jr.order}))),Sr=gt.getCheckedFilters()}else Nn?gt.clearAll():(Kn=gt.getSortColumns(),Sr=gt.getCheckedFilters());const xr={code:Wt,button:an,isInited:It,isReload:Nn,$grid:L,page:Pr,sort:Kn.length?Kn[0]:{},sorts:Kn,filters:Sr,form:rt,options:Ft};l.sortData=Kn,l.filterData=Sr,l.tableLoading=!0;const ta=[xr].concat(He);return Promise.resolve((oe||Ft)(...ta)).then(ur=>{if(l.tableLoading=!1,ur)if(qe&&gr(Ie)){const Mr=ct.total,Tr=(U.isFunction(Mr)?Mr({data:ur,$grid:L}):U.get(ur,Mr||"page.total"))||0;Ke.total=U.toNumber(Tr);const jr=ct.result;l.tableData=(U.isFunction(jr)?jr({data:ur,$grid:L}):U.get(ur,jr||"result"))||[];const ba=Math.max(Math.ceil(Tr/Ke.pageSize),1);Ke.currentPage>ba&&(Ke.currentPage=ba)}else{const Mr=ct.list;l.tableData=(Mr?U.isFunction(Mr)?Mr({data:ur,$grid:L}):U.get(ur,Mr):ur)||[]}else l.tableData=[];return Xe&&Xe(...ta),{status:!0}}).catch(()=>(l.tableLoading=!1,{status:!1}))}break}case"delete":{const Ft=Qe.delete;if(Ft){const It=C.getCheckboxRecords(),Nn=It.filter(xr=>!gt.isInsertByRow(xr)),Pr=[{$grid:L,code:Wt,button:an,body:{removeRecords:Nn},form:rt,options:Ft}].concat(He);if(It.length)return V(Wt,"vxe.grid.deleteSelectRecord",()=>Nn.length?(l.tableLoading=!0,Promise.resolve((it||Ft)(...Pr)).then(xr=>(l.tableLoading=!1,gt.setPendingRow(Nn,!1),nt&&$n.modal.message({content:N(xr,"vxe.grid.delSuccess"),status:"success"}),xt?xt(...Pr):I.commitProxy("query"),{status:!0})).catch(xr=>(l.tableLoading=!1,nt&&$n.modal.message({id:Wt,content:N(xr,"vxe.grid.operError"),status:"error"}),{status:!1}))):gt.remove(It));nt&&$n.modal.message({id:Wt,content:fe.i18n("vxe.grid.selectOneRecord"),status:"warning"})}break}case"save":{const Ft=Qe.save;if(Ft){const It=gt.getRecordset(),{insertRecords:Nn,removeRecords:Kn,updateRecords:Sr,pendingRecords:Pr}=It,ta=[{$grid:L,code:Wt,button:an,body:It,form:rt,options:Ft}].concat(He);Nn.length&&(It.pendingRecords=Pr.filter(Mr=>gt.findRowIndexOf(Nn,Mr)===-1)),Pr.length&&(It.insertRecords=Nn.filter(Mr=>gt.findRowIndexOf(Pr,Mr)===-1));let ur=Promise.resolve();return ve&&(ur=gt[Ge&&Ge.msgMode==="full"?"fullValidate":"validate"](It.insertRecords.concat(Sr))),ur.then(Mr=>{if(!Mr){if(It.insertRecords.length||Kn.length||Sr.length||It.pendingRecords.length)return l.tableLoading=!0,Promise.resolve((Ee||Ft)(...ta)).then(Tr=>(l.tableLoading=!1,gt.clearPendingRow(),nt&&$n.modal.message({content:N(Tr,"vxe.grid.saveSuccess"),status:"success"}),pn?pn(...ta):I.commitProxy("query"),{status:!0})).catch(Tr=>(l.tableLoading=!1,nt&&$n.modal.message({id:Wt,content:N(Tr,"vxe.grid.operError"),status:"error"}),{status:!1}));nt&&$n.modal.message({id:Wt,content:fe.i18n("vxe.grid.dataUnchanged"),status:"info"})}})}break}default:{const Ft=$n.commands.get(Wt);Ft&&Ft.commandMethod&&Ft.commandMethod({code:Wt,button:an,$grid:L,$table:gt},...He)}}return Oe()},zoom(){return l.isZMax?I.revert():I.maximize()},isMaximized(){return l.isZMax},maximize(){return ie(!0)},revert(){return ie()},getFormItems(he){const He=S.value,{formConfig:xe}=e,{items:qe}=He,ve=[];return U.eachTree(xe&&gr(He)&&qe?qe:[],Ge=>{ve.push(Ge)},{children:"children"}),U.isUndefined(he)?ve:ve[he]},getProxyInfo(){const he=u.value;if(e.proxyConfig){const{sortData:He}=l;return{data:l.tableData,filter:l.filterData,form:l.formData,sort:He.length?He[0]:{},sorts:He,pager:l.tablePage,pendingRecords:he?he.getPendingRecords():[]}}return null}};const Ae={extendTableMethods:b,callSlot(he,He){return he&&(U.isString(he)&&(he=n[he]||null),U.isFunction(he))?Wr(he(He)):[]},getExcludeHeight(){const{height:he}=e,{isZMax:He}=l,xe=s.value,qe=p.value,ve=h.value,Ge=m.value,Ke=v.value,rt=g.value;return(He||!(he==="auto"||he==="100%")?0:PL(xe.parentNode))+PL(xe)+wy(qe)+wy(ve)+wy(Ge)+wy(Ke)+wy(rt)},getParentHeight(){const he=s.value;return he?(l.isZMax?G1().visibleHeight:U.toNumber(getComputedStyle(he.parentNode).height))-Ae.getExcludeHeight():0},triggerToolbarCommitEvent(he,He){const{code:xe}=he;return I.commitProxy(he,He).then(qe=>{xe&&qe&&qe.status&&["query","reload","delete","save"].includes(xe)&&I.dispatchEvent(xe==="delete"||xe==="save"?`proxy-${xe}`:"proxy-query",Object.assign(Object.assign({},qe),{isReload:xe==="reload"}),He)})},triggerToolbarBtnEvent(he,He){Ae.triggerToolbarCommitEvent(he,He),I.dispatchEvent("toolbar-button-click",{code:he.code,button:he},He)},triggerToolbarTolEvent(he,He){Ae.triggerToolbarCommitEvent(he,He),I.dispatchEvent("toolbar-tool-click",{code:he.code,tool:he,$event:He})},triggerZoomEvent(he){I.zoom(),I.dispatchEvent("zoom",{type:l.isZMax?"max":"revert"},he)}};Object.assign(L,C,I,Ae);const Ne=j(0);$e(()=>e.columns?e.columns.length:-1,()=>{Ne.value++}),$e(()=>e.columns,()=>{Ne.value++}),$e(Ne,()=>{Oe(()=>L.loadColumn(e.columns||[]))}),$e(()=>e.toolbarConfig,()=>{B()}),$e(()=>e.pagerConfig,()=>{T()}),$e(()=>e.proxyConfig,()=>{Se()});const je=he=>{const He=D.value;rr(he,zn.ESCAPE)&&l.isZMax&&He.escRestore!==!1&&Ae.triggerZoomEvent(he)};$n.hooks.forEach(he=>{const{setupGrid:He}=he;if(He){const xe=He(L);xe&&U.isObject(xe)&&Object.assign(L,xe)}}),T(),Ut(()=>{Oe(()=>{const{data:he,columns:He,proxyConfig:xe}=e,qe=y.value,ve=S.value;gr(xe)&&(he||qe.form&&ve.data)&&ei("vxe.error.errConflicts",["grid.data","grid.proxy-config"]),He&&He.length&&L.loadColumn(He),B()}),Un.on(L,"keydown",je)}),la(()=>{Un.off(L,"keydown")}),Oe(()=>{Se()});const De=()=>{const he=o.value,He=k.value;return W("div",{ref:s,class:["vxe-grid",{[`size--${he}`]:he,"is--animat":!!e.animat,"is--round":e.round,"is--maximize":l.isZMax,"is--loading":e.loading||l.tableLoading}],style:He},se())};return L.renderVN=De,Qt("$xegrid",L),L},render(){return this.renderVN()}}),RSt=Object.assign(Bb,{install(e){e.component(Bb.name,Bb)}}),LSt=RSt;Or.component(Bb.name,Bb);Object.assign(Dl,{install(e){e.component(Dl.name,Dl)}});Or.component(Dl.name,Dl);const Rb=Ve({name:"VxeCheckboxGroup",props:{modelValue:Array,options:Array,optionProps:Object,disabled:Boolean,max:{type:[String,Number],default:null},size:{type:String,default:()=>fe.checkboxGroup.size||fe.size}},emits:["update:modelValue","change"],setup(e,t){const{slots:n,emit:r}=t,a=lt("$xeform",null),i=lt("$xeformiteminfo",null),o=U.uniqueId(),l=R(()=>{const{modelValue:g,max:b}=e;return b?(g?g.length:0)>=U.toNumber(b):!1}),s=R(()=>e.optionProps||{}),u=R(()=>s.value.label||"label"),c=R(()=>s.value.value||"value"),d=R(()=>s.value.disabled||"disabled"),f={computeIsMaximize:l},p={xID:o,props:e,context:t,getComputeMaps:()=>f};ai(e),Object.assign(p,{dispatchEvent(g,b,C){r(g,Object.assign({$checkboxGroup:p,$event:C},b))}},{handleChecked(g,b){const{checked:C,label:y}=g,E=e.modelValue||[],w=E.indexOf(y);C?w===-1&&E.push(y):E.splice(w,1),r("update:modelValue",E),p.dispatchEvent("change",Object.assign({checklist:E},g),b),a&&i&&a.triggerItemEvent(b,i.itemConfig.field,E)}});const v=()=>{const{options:g}=e,b=n.default,C=c.value,y=u.value,E=d.value;return W("div",{class:"vxe-checkbox-group"},b?b({}):g?g.map(w=>W(Dl,{label:w[C],content:w[y],disabled:w[E]})):[])};return p.renderVN=v,Qt("$xecheckboxgroup",p),v}});Object.assign(Rb,{install(e){e.component(Rb.name,Rb)}});Or.component(Rb.name,Rb);Object.assign(Cm,{install:function(e){e.component(Cm.name,Cm)}});Or.component(Cm.name,Cm);Object.assign(Fm,{install:function(e){e.component(Fm.name,Fm)}});Or.component(Fm.name,Fm);Object.assign(K1,{install:function(e){e.component(K1.name,K1)}});Or.component(K1.name,K1);Object.assign(bd,{install(e){e.component(bd.name,bd)}});Or.component(bd.name,bd);let jc;const Lb=Ve({name:"VxeTextarea",props:{modelValue:[String,Number],className:String,immediate:{type:Boolean,default:!0},name:String,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:()=>U.eqNull(fe.textarea.placeholder)?fe.i18n("vxe.base.pleaseInput"):fe.textarea.placeholder},maxlength:[String,Number],rows:{type:[String,Number],default:2},cols:{type:[String,Number],default:null},showWordCount:Boolean,countMethod:Function,autosize:[Boolean,Object],form:String,resize:{type:String,default:()=>fe.textarea.resize},size:{type:String,default:()=>fe.textarea.size||fe.size}},emits:["update:modelValue","input","keydown","keyup","click","change","focus","blur"],setup(e,t){const{emit:n}=t,r=lt("$xeform",null),a=lt("$xeformiteminfo",null),i=U.uniqueId(),o=ai(e),l=dn({inputValue:e.modelValue}),s=j(),u=j(),c={refElem:s,refTextarea:u},d={xID:i,props:e,context:t,reactData:l,getRefMaps:()=>c};let f={};const p=R(()=>U.getSize(l.inputValue)),h=R(()=>{const A=p.value;return e.maxlength&&A>U.toNumber(e.maxlength)}),m=R(()=>Object.assign({minRows:1,maxRows:10},fe.textarea.autosize,e.autosize)),v=()=>{const{size:A,autosize:D}=e,{inputValue:k}=l;if(D){jc||(jc=document.createElement("div")),jc.parentNode||document.body.appendChild(jc);const x=u.value,_=getComputedStyle(x);jc.className=["vxe-textarea--autosize",A?`size--${A}`:""].join(" "),jc.style.width=`${x.clientWidth}px`,jc.style.padding=_.padding,jc.innerText=(""+(k||" ")).replace(/\n$/,`  `)}},g=()=>{e.autosize&&Oe(()=>{const A=m.value,{minRows:D,maxRows:k}=A,x=u.value,_=jc.clientHeight,M=getComputedStyle(x),L=U.toNumber(M.lineHeight),I=U.toNumber(M.paddingTop),P=U.toNumber(M.paddingBottom),B=U.toNumber(M.borderTopWidth),T=U.toNumber(M.borderBottomWidth),O=I+P+B+T,N=(_-O)/L,V=N&&/[0-9]/.test(""+N)?N:Math.floor(N)+1;let Y=V;Vk&&(Y=k),x.style.height=`${Y*L+O}px`})},b=A=>{const D=l.inputValue;d.dispatchEvent(A.type,{value:D},A)},C=(A,D)=>{l.inputValue=A,n("update:modelValue",A),U.toValueString(e.modelValue)!==A&&(f.dispatchEvent("change",{value:A},D),r&&a&&r.triggerItemEvent(D,a.itemConfig.field,A))},y=A=>{const{immediate:D}=e,x=A.target.value;l.inputValue=x,D&&C(x,A),d.dispatchEvent("input",{value:x},A),g()},E=A=>{const{immediate:D}=e;D?b(A):C(l.inputValue,A)},w=A=>{const{immediate:D}=e,{inputValue:k}=l;D||C(k,A),d.dispatchEvent("blur",{value:k},A)};f={dispatchEvent(A,D,k){n(A,Object.assign({$textarea:d,$event:k},D))},focus(){return u.value.focus(),Oe()},blur(){return u.value.blur(),Oe()}},Object.assign(d,f),$e(()=>e.modelValue,A=>{l.inputValue=A,v()}),Oe(()=>{const{autosize:A}=e;A&&(v(),g())});const S=()=>{const{className:A,resize:D,placeholder:k,disabled:x,maxlength:_,autosize:M,showWordCount:L,countMethod:I,rows:P,cols:B}=e,{inputValue:T}=l,O=o.value,N=h.value,V=p.value;return W("div",{ref:s,class:["vxe-textarea",A,{[`size--${O}`]:O,"is--autosize":M,"is--count":L,"is--disabled":x,"def--rows":!U.eqNull(P),"def--cols":!U.eqNull(B)}]},[W("textarea",{ref:u,class:"vxe-textarea--inner",value:T,name:e.name,placeholder:k?Ea(k):null,maxlength:_,readonly:e.readonly,disabled:x,rows:P,cols:B,style:D?{resize:D}:null,onInput:y,onChange:E,onKeydown:b,onKeyup:b,onClick:b,onFocus:b,onBlur:w}),L?W("span",{class:["vxe-textarea--count",{"is--error":N}]},I?`${I({value:T})}`:`${V}${_?`/${_}`:""}`):null])};return d.renderVN=S,d},render(){return this.renderVN()}});Object.assign(Lb,{install:function(e){e.component(Lb.name,Lb)}});Or.component(Lb.name,Lb);const Ob=Ve({name:"VxeButtonGroup",props:{options:Array,mode:String,status:String,round:Boolean,circle:Boolean,className:[String,Function],disabled:Boolean,size:{type:String,default:()=>fe.buttonGroup.size||fe.size}},emits:["click"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i={},o={xID:a,props:e,context:t,getComputeMaps:()=>i};ai(e);const l={dispatchEvent(c,d,f){r(c,Object.assign({$buttonGroup:o,$event:f},d))}};Object.assign(o,l,{handleClick(c,d){const{options:f}=e,{name:p}=c,h=f?f.find(m=>m.name===p):null;l.dispatchEvent("click",Object.assign(Object.assign({},c),{option:h}),d)}});const u=()=>{const{className:c,options:d}=e,f=n.default;return W("div",{class:["vxe-button-group",c?U.isFunction(c)?c({$buttonGroup:o}):c:""]},f?f({}):d?d.map((p,h)=>W(Ui,Object.assign({key:h},p))):[])};return o.renderVN=u,Qt("$xebuttongroup",o),u}});Object.assign(Ob,{install(e){e.component(Ob.name,Ob)}});Or.component(Ob.name,Ob);function m2e(e){return t2e(),new Promise(t=>{if(e&&e.id&&Yh.some(n=>n.props.id===e.id))t("exist");else{const n=e.onHide,r=Object.assign(e,{key:U.uniqueId(),modelValue:!0,onHide(a){const i=ym.modals;n&&n(a),ym.modals=i.filter(o=>o.key!==r.key),t(a.type)}});ym.modals.push(r)}})}function v2e(e){return U.find(Yh,t=>t.props.id===e)}function OSt(e){const t=e?[v2e(e)]:Yh,n=[];return t.forEach(r=>{r&&n.push(r.close())}),Promise.all(n)}function DV(e,t,n,r){let a;return U.isObject(t)?a=t:a={content:U.toValueString(t),title:n},m2e(Object.assign(Object.assign(Object.assign({},e),r),a))}function PSt(e,t,n){return DV({type:"alert",showFooter:!0},e,t,n)}function ISt(e,t,n){return DV({type:"confirm",status:"question",showFooter:!0},e,t,n)}function NSt(e,t){return DV({type:"message",mask:!1,lockView:!1,showHeader:!1},e,"",t)}const $St={get:v2e,close:OSt,open:m2e,alert:PSt,confirm:ISt,message:NSt};Object.assign(Yf,{install:function(e){e.component(Yf.name,Yf),$n.modal=$St}});Or.component(Yf.name,Yf);const Zh=[],Pb=Ve({name:"VxeDrawer",props:{modelValue:Boolean,id:String,title:String,loading:{type:Boolean,default:null},className:String,position:[String,Object],lockView:{type:Boolean,default:()=>fe.drawer.lockView},lockScroll:Boolean,mask:{type:Boolean,default:()=>fe.drawer.mask},maskClosable:{type:Boolean,default:()=>fe.drawer.maskClosable},escClosable:{type:Boolean,default:()=>fe.drawer.escClosable},showHeader:{type:Boolean,default:()=>fe.drawer.showHeader},showFooter:{type:Boolean,default:()=>fe.drawer.showFooter},showClose:{type:Boolean,default:()=>fe.drawer.showClose},content:[Number,String],showCancelButton:{type:Boolean,default:null},cancelButtonText:{type:String,default:()=>fe.drawer.cancelButtonText},showConfirmButton:{type:Boolean,default:()=>fe.drawer.showConfirmButton},confirmButtonText:{type:String,default:()=>fe.drawer.confirmButtonText},destroyOnClose:{type:Boolean,default:()=>fe.drawer.destroyOnClose},showTitleOverflow:{type:Boolean,default:()=>fe.drawer.showTitleOverflow},width:[Number,String],height:[Number,String],zIndex:Number,transfer:{type:Boolean,default:()=>fe.drawer.transfer},size:{type:String,default:()=>fe.drawer.size||fe.size},beforeHideMethod:{type:Function,default:()=>fe.drawer.beforeHideMethod},slots:Number},emits:["update:modelValue","show","hide","before-hide","close","confirm","cancel"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=ai(e),o=j(),l=j(),s=j(),u=j(),c=dn({inited:!1,visible:!1,contentVisible:!1,drawerZIndex:0,firstOpen:!0}),d={refElem:o},f={},p={xID:a,props:e,context:t,reactData:c,getRefMaps:()=>d,getComputeMaps:()=>f},h=()=>l.value,m=()=>{const{width:T,height:O}=e,N=h();return N.style.width=`${T?isNaN(T)?T:`${T}px`:""}`,N.style.height=`${O?isNaN(O)?O:`${O}px`:""}`,Oe()},v=()=>{const{zIndex:T}=e,{drawerZIndex:O}=c;T?c.drawerZIndex=T:OOe().then(()=>{}),b=T=>{const{beforeHideMethod:O}=e,{visible:N}=c,V={type:T};return N&&Promise.resolve(O?O(V):null).then(Y=>{U.isError(Y)||(c.contentVisible=!1,U.remove(Zh,z=>z===p),S.dispatchEvent("before-hide",V),setTimeout(()=>{c.visible=!1,r("update:modelValue",!1),S.dispatchEvent("hide",V)},200))}).catch(Y=>Y),Oe()},C=T=>{const O="close";S.dispatchEvent(O,{type:O},T),b(O)},y=T=>{const O="confirm";S.dispatchEvent(O,{type:O},T),b(O)},E=T=>{const O="cancel";S.dispatchEvent(O,{type:O},T),b(O)},w=()=>{const{showFooter:T}=e,{inited:O,visible:N}=c;return O||(c.inited=!0),N||(m(),c.visible=!0,c.contentVisible=!1,v(),Zh.push(p),setTimeout(()=>{c.contentVisible=!0,Oe(()=>{if(T){const z=s.value,ee=u.value,ae=z||ee;ae&&ae.focus()}const Y={type:""};r("update:modelValue",!0),S.dispatchEvent("show",Y)})},10),Oe(()=>{const{firstOpen:V}=c;V&&g().then(()=>{setTimeout(()=>g(),20)}),V&&(c.firstOpen=!1)})),Oe()},S={dispatchEvent(T,O,N){r(T,Object.assign({$drawer:p,$event:N},O))},open:w,close(){return b("close")},getBox:h},A=T=>{const O=o.value;e.maskClosable&&T.target===O&&b("mask")},D=T=>{if(rr(T,zn.ESCAPE)){const N=U.max(Zh,V=>V.reactData.drawerZIndex);N&&setTimeout(()=>{N===p&&N.props.escClosable&&b("exit")},10)}},k=()=>{const{drawerZIndex:T}=c;Zh.some(O=>O.reactData.visible&&O.reactData.drawerZIndex>T)&&v()};Object.assign(p,S,{});const _=()=>{const{slots:T={},showClose:O,title:N}=e,V=n.title||T.title,Y=n.corner||T.corner,z=[W("div",{class:"vxe-drawer--header-title"},V?Wr(V({$drawer:p})):N?Ea(N):fe.i18n("vxe.alert.title"))],ee=[];return Y&&ee.push(W("span",{class:"vxe-drawer--corner-wrapper"},Wr(Y({$drawer:p})))),O&&ee.push(W("i",{class:["vxe-drawer--close-btn","trigger--btn",fe.icon.MODAL_CLOSE],title:fe.i18n("vxe.drawer.close"),onClick:C})),z.push(W("div",{class:"vxe-drawer--header-right"},ee)),z},M=()=>{const{slots:T={},showTitleOverflow:O}=e,N=n.header||T.header,V=[];return e.showHeader&&V.push(W("div",{class:["vxe-drawer--header",{"is--ellipsis":O}]},N?!c.inited||e.destroyOnClose&&!c.visible?[]:Wr(N({$drawer:p})):_())),V},L=()=>{const{slots:T={},content:O}=e,N=n.default||T.default;return[W("div",{class:"vxe-drawer--body"},[W("div",{class:"vxe-drawer--content"},N?!c.inited||e.destroyOnClose&&!c.visible?[]:Wr(N({$drawer:p})):Ea(O)),W(M4,{class:"vxe-drawer--loading",modelValue:e.loading})])]},I=()=>{const{showCancelButton:T,showConfirmButton:O}=e,N=[];return T&&N.push(W(Ui,{key:1,ref:u,content:e.cancelButtonText||fe.i18n("vxe.button.cancel"),onClick:E})),O&&N.push(W(Ui,{key:2,ref:s,status:"primary",content:e.confirmButtonText||fe.i18n("vxe.button.confirm"),onClick:y})),N},P=()=>{const{slots:T={}}=e,O=n.footer||T.footer,N=[];return e.showFooter&&N.push(W("div",{class:"vxe-drawer--footer"},O?!c.inited||e.destroyOnClose&&!c.visible?[]:Wr(O({$drawer:p})):I())),N},B=()=>{const{className:T,position:O,loading:N,lockScroll:V,lockView:Y,mask:z}=e,{inited:ee,contentVisible:ae,visible:pe}=c,re=i.value;return W(Bd,{to:"body",disabled:e.transfer?!ee:!0},[W("div",{ref:o,class:["vxe-drawer--wrapper",`pos--${O}`,T||"",{[`size--${re}`]:re,"lock--scroll":V,"lock--view":Y,"is--mask":z,"is--visible":ae,"is--active":pe,"is--loading":N}],style:{zIndex:c.drawerZIndex},onClick:A},[W("div",{ref:l,class:"vxe-drawer--box",onMousedown:k},M().concat(L(),P()))])])};return p.renderVN=B,$e(()=>e.width,m),$e(()=>e.height,m),$e(()=>e.modelValue,T=>{T?w():b("model")}),Ut(()=>{Oe(()=>{e.modelValue&&w(),m()}),e.escClosable&&Un.on(p,"keydown",D)}),la(()=>{Un.off(p,"keydown")}),p},render(){return this.renderVN()}});function VSt(e){return t2e(),new Promise(t=>{if(e&&e.id&&Zh.some(n=>n.props.id===e.id))t("exist");else{const n=e.onHide,r=Object.assign(e,{key:U.uniqueId(),modelValue:!0,onHide(a){const i=ym.drawers;n&&n(a),ym.drawers=i.filter(o=>o.key!==r.key),t(a.type)}});ym.drawers.push(r)}})}function g2e(e){return U.find(Zh,t=>t.props.id===e)}function HSt(e){const t=e?[g2e(e)]:Zh,n=[];return t.forEach(r=>{r&&n.push(r.close())}),Promise.all(n)}const zSt={get:g2e,close:HSt,open:VSt};Object.assign(Pb,{install:function(e){e.component(Pb.name,Pb),$n.drawer=zSt}});Or.component(Pb.name,Pb);const y2e={title:String,field:String,span:[String,Number],align:String,titleAlign:{type:String,default:null},titleWidth:{type:[String,Number],default:null},titleColon:{type:Boolean,default:null},titleAsterisk:{type:Boolean,default:null},showTitle:{type:Boolean,default:!0},vertical:{type:Boolean,default:null},className:[String,Function],contentClassName:[String,Function],contentStyle:[Object,Function],titleClassName:[String,Function],titleStyle:[Object,Function],titleOverflow:{type:[Boolean,String],default:null},titlePrefix:Object,titleSuffix:Object,resetValue:{default:null},visibleMethod:Function,visible:{type:Boolean,default:null},folding:Boolean,collapseNode:Boolean,itemRender:Object,rules:Array},Ib=Ve({name:"VxeFormItem",props:y2e,setup(e,{slots:t}){const n=j(),r=lt("$xeform",{}),a=lt("$xeformgather",null),i=dn(SV(r,e)),o={formItem:i},l={itemConfig:i};i.slots=t,Qt("$xeformiteminfo",l),Qt("$xeformitem",o),Qt("$xeformgather",null),c2e(e,i),Ut(()=>{d2e(r,n.value,i,a)}),la(()=>{f2e(r,i)});const s=(d,f)=>{const{props:p,reactData:h}=d,{data:m,rules:v,titleAlign:g,titleWidth:b,titleColon:C,titleAsterisk:y,titleOverflow:E,vertical:w}=p,{collapseAll:S}=h,{computeValidOpts:A}=d.getComputeMaps(),D=A.value,{slots:k,title:x,visible:_,folding:M,field:L,collapseNode:I,itemRender:P,showError:B,errRule:T,className:O,titleOverflow:N,vertical:V,showTitle:Y,contentClassName:z,contentStyle:ee,titleClassName:ae,titleStyle:pe}=f,re=gr(P)?$n.renderer.get(P.name):null,Q=re?re.itemClassName:"",ie=re?re.itemStyle:null,X=re?re.itemContentClassName:"",q=re?re.itemContentStyle:null,ce=re?re.itemTitleClassName:"",K=re?re.itemTitleStyle:null,Z=k?k.default:null,se=k?k.title:null,Fe=f.span||p.span,me=f.align||p.align,te=U.eqNull(f.titleAlign)?g:f.titleAlign,ue=U.eqNull(f.titleWidth)?b:f.titleWidth,Se=U.eqNull(f.titleColon)?C:f.titleColon,Ae=U.eqNull(f.titleAsterisk)?y:f.titleAsterisk,Ne=U.isUndefined(N)||U.isNull(N)?E:N,je=U.isUndefined(V)||U.isNull(V)?w:V,De=Ne==="ellipsis",he=Ne==="title",He=Ne===!0||Ne==="tooltip",xe=he||He||De,qe={data:m,field:L,property:L,item:f,$form:d,$grid:d.xegrid};let ve=!1;if(_===!1)return Pe();if(v){const rt=v[L];rt&&(ve=rt.some(nt=>nt.required))}let Ge=[];Z?Ge=d.callSlot(Z,qe):re&&re.renderItemContent?Ge=Wr(re.renderItemContent(P,qe)):L&&(Ge=[`${U.get(m,L)}`]),I&&Ge.push(W("div",{class:"vxe-form--item-trigger-node",onClick:d.toggleCollapseEvent},[W("span",{class:"vxe-form--item-trigger-text"},S?fe.i18n("vxe.form.unfolding"):fe.i18n("vxe.form.folding")),W("i",{class:["vxe-form--item-trigger-icon",S?fe.icon.FORM_FOLDING:fe.icon.FORM_UNFOLDING]})])),T&&D.showMessage&&Ge.push(W("div",{class:"vxe-form--item-valid",style:T.maxWidth?{width:`${T.maxWidth}px`}:null},T.message));const Ke=He?{onMouseenter(rt){d.triggerTitleTipEvent(rt,qe)},onMouseleave:d.handleTitleTipLeaveEvent}:{};return W("div",{ref:n,class:["vxe-form--item",f.id,Fe?`vxe-form--item-col--${Fe} is--span`:"",O?U.isFunction(O)?O(qe):O:"",Q?U.isFunction(Q)?Q(qe):Q:"",{"is--title":x,"is--colon":Se,"is--vertical":je,"is--asterisk":Ae,"is--required":ve,"is--hidden":M&&S,"is--active":AV(d,f),"is--error":B}],style:U.isFunction(ie)?ie(qe):ie},[W("div",{class:"vxe-form--item-inner"},[Y!==!1&&(x||se)?W("div",Object.assign({class:["vxe-form--item-title",te?`align--${te}`:"",xe?"is--ellipsis":"",ce?U.isFunction(ce)?ce(qe):ce:"",ae?U.isFunction(ae)?ae(qe):ae:""],style:Object.assign({},U.isFunction(K)?K(qe):K,U.isFunction(pe)?pe(qe):pe,ue?{width:isNaN(ue)?ue:`${ue}px`}:null),title:he?Ea(x):null},Ke),p2e(d,f)):null,W("div",{class:["vxe-form--item-content",me?`align--${me}`:"",X?U.isFunction(X)?X(qe):X:"",z?U.isFunction(z)?z(qe):z:""],style:Object.assign({},U.isFunction(q)?q(qe):q,U.isFunction(ee)?ee(qe):ee)},Ge)])])};return{renderVN:()=>{const d=r?r.props:null;return d&&d.customLayout?s(r,i):W("div",{ref:n})}}},render(){return this.renderVN()}});Object.assign(Ib,{install(e){e.component(Ib.name,Ib)}});Or.component(Ib.name,Ib);const Nb=Ve({name:"VxeFormGather",props:y2e,setup(e,{slots:t}){const n=j(),r=lt("$xeform",{}),a=lt("$xeformgather",null),i=dn(SV(r,e)),o={formItem:i},l={itemConfig:i};return i.children=[],Qt("$xeformiteminfo",l),Qt("$xeformgather",o),Qt("$xeformitem",null),c2e(e,i),Ut(()=>{d2e(r,n.value,i,a)}),la(()=>{f2e(r,i)}),{renderVN:()=>{const{className:c,field:d}=e,f=e.span||(r?r.props.span:null),p=t.default;return W("div",{ref:n,class:["vxe-form--gather vxe-form--item-row",i.id,f?`vxe-form--item-col_${f} is--span`:"",c?U.isFunction(c)?c({$form:r,data:r?r.props.data:{},item:i,field:d,property:d}):c:""]},p?p():[])}}},render(){return this.renderVN()}});Object.assign(Nb,{install(e){e.component(Nb.name,Nb)}});Or.component(Nb.name,Nb);class b2e{constructor(t,n){Object.assign(this,{id:U.uniqueId("option_"),value:n.value,label:n.label,visible:n.visible,className:n.className,disabled:n.disabled})}update(t,n){this[t]=n}}function WSt(e){return e instanceof b2e}function C2e(e,t){return WSt(t)?t:new b2e(e,t)}function F2e(e,t){Object.keys(e).forEach(n=>{$e(()=>e[n],r=>{t.update(n,r)})})}function E2e(e,t,n,r){const{reactData:a}=e,{staticOptions:i}=a,o=t.parentNode,l=r?r.option:null,s=l?l.options:i;o&&s&&(s.splice(U.arrayIndexOf(o.children,t),0,n),a.staticOptions=i.slice(0))}function w2e(e,t){const{reactData:n}=e,{staticOptions:r}=n,a=U.findTree(r,i=>i.id===t.id,{children:"options"});a&&a.items.splice(a.index,1),n.staticOptions=r.slice(0)}const $b=Ve({name:"VxeOptgroup",props:{label:{type:[String,Number,Boolean],default:""},visible:{type:Boolean,default:null},className:[String,Function],disabled:Boolean},setup(e,{slots:t}){const n=j(),r=lt("$xeselect",{}),a=C2e(r,e),i={option:a};return a.options=[],Qt("xeoptgroup",i),F2e(e,a),Ut(()=>{E2e(r,n.value,a)}),la(()=>{w2e(r,a)}),()=>W("div",{ref:n},t.default?t.default():[])}});Object.assign($b,{install:function(e){e.component($b.name,$b)}});Or.component($b.name,$b);const Vb=Ve({name:"VxeOption",props:{value:null,label:{type:[String,Number,Boolean],default:""},visible:{type:Boolean,default:null},className:[String,Function],disabled:Boolean},setup(e,{slots:t}){const n=j(),r=lt("$xeselect",{}),a=lt("xeoptgroup",null),i=C2e(r,e);return i.slots=t,F2e(e,i),Ut(()=>{E2e(r,n.value,i,a)}),la(()=>{w2e(r,i)}),()=>W("div",{ref:n})}});Object.assign(Vb,{install:function(e){e.component(Vb.name,Vb)}});Or.component(Vb.name,Vb);const Hb=Ve({name:"VxeSwitch",props:{modelValue:[String,Number,Boolean],disabled:Boolean,size:{type:String,default:()=>fe.switch.size||fe.size},openLabel:String,closeLabel:String,openValue:{type:[String,Number,Boolean],default:!0},closeValue:{type:[String,Number,Boolean],default:!1},openIcon:String,closeIcon:String,openActiveIcon:String,closeActiveIcon:String},emits:["update:modelValue","change","focus","blur"],setup(e,t){const{emit:n}=t,r=lt("$xeform",null),a=lt("$xeformiteminfo",null),i=U.uniqueId(),o=ai(e),l=dn({isActivated:!1,hasAnimat:!1,offsetLeft:0}),s={xID:i,props:e,context:t,reactData:l},u=j();let c={};const d=R(()=>Ea(e.openLabel)),f=R(()=>Ea(e.closeLabel)),p=R(()=>e.modelValue===e.openValue);let h;const m=C=>{if(!e.disabled){const y=p.value;clearTimeout(h);const E=y?e.closeValue:e.openValue;l.hasAnimat=!0,n("update:modelValue",E),c.dispatchEvent("change",{value:E},C),r&&a&&r.triggerItemEvent(C,a.itemConfig.field,E),h=setTimeout(()=>{l.hasAnimat=!1},400)}},v=C=>{l.isActivated=!0,c.dispatchEvent("focus",{value:e.modelValue},C)},g=C=>{l.isActivated=!1,c.dispatchEvent("blur",{value:e.modelValue},C)};c={dispatchEvent(C,y,E){n(C,Object.assign({$switch:s,$event:E},y))},focus(){const C=u.value;return l.isActivated=!0,C.focus(),Oe()},blur(){return u.value.blur(),l.isActivated=!1,Oe()}},Object.assign(s,c);const b=()=>{const{disabled:C,openIcon:y,closeIcon:E,openActiveIcon:w,closeActiveIcon:S}=e,A=p.value,D=o.value,k=d.value,x=f.value;return W("div",{class:["vxe-switch",A?"is--on":"is--off",{[`size--${D}`]:D,"is--disabled":C,"is--animat":l.hasAnimat}]},[W("button",{ref:u,class:"vxe-switch--button",type:"button",disabled:C,onClick:m,onFocus:v,onBlur:g},[W("span",{class:"vxe-switch--label vxe-switch--label-on"},[y?W("i",{class:["vxe-switch--label-icon",y]}):Pe(),k]),W("span",{class:"vxe-switch--label vxe-switch--label-off"},[E?W("i",{class:["vxe-switch--label-icon",E]}):Pe(),x]),W("span",{class:"vxe-switch--icon"},w||S?[W("i",{class:A?w:S})]:[])])])};return s.renderVN=b,s},render(){return this.renderVN()}});Object.assign(Hb,{install:function(e){e.component(Hb.name,Hb)}});Or.component(Hb.name,Hb);const zb=Ve({name:"VxeList",props:{data:Array,height:[Number,String],maxHeight:[Number,String],loading:Boolean,className:[String,Function],size:{type:String,default:()=>fe.list.size||fe.size},autoResize:{type:Boolean,default:()=>fe.list.autoResize},syncResize:[Boolean,String,Number],scrollY:Object},emits:["scroll"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=ai(e),o=dn({scrollYLoad:!1,bodyHeight:0,rowHeight:0,topSpaceHeight:0,items:[]}),l=j(),s=j(),u=j(),c={fullData:[],lastScrollLeft:0,lastScrollTop:0,scrollYStore:{startIndex:0,endIndex:0,visibleSize:0,offsetSize:0,rowHeight:0}},d={refElem:l},f={xID:a,props:e,context:t,reactData:o,internalData:c,getRefMaps:()=>d};let p={};const h=R(()=>Object.assign({},fe.list.scrollY,e.scrollY)),m=R(()=>{const{height:M,maxHeight:L}=e,I={};return M?I.height=`${isNaN(M)?M:`${M}px`}`:L&&(I.height="auto",I.maxHeight=`${isNaN(L)?L:`${L}px`}`),I}),v=()=>{const{scrollYLoad:M}=o,{scrollYStore:L,fullData:I}=c;o.bodyHeight=M?I.length*L.rowHeight:0,o.topSpaceHeight=M?Math.max(L.startIndex*L.rowHeight,0):0},g=()=>{const{scrollYLoad:M}=o,{fullData:L,scrollYStore:I}=c;return o.items=M?L.slice(I.startIndex,I.endIndex):L.slice(0),Oe()},b=()=>{g(),v()},C=()=>Oe().then(()=>{const{scrollYLoad:M}=o,{scrollYStore:L}=c,I=u.value,P=h.value;let B=0,T;if(I&&(P.sItem&&(T=I.querySelector(P.sItem)),T||(T=I.children[0])),T&&(B=T.offsetHeight),B=Math.max(20,B),L.rowHeight=B,M){const O=s.value,N=Math.max(8,Math.ceil(O.clientHeight/B)),V=P.oSize?U.toNumber(P.oSize):Uu.edge?10:0;L.offsetSize=V,L.visibleSize=N,L.endIndex=Math.max(L.startIndex,N+V,L.endIndex),b()}else v();o.rowHeight=B}),y=()=>{const M=s.value;return M&&(M.scrollTop=0),Oe()},E=(M,L)=>{const I=s.value;return U.isNumber(M)&&(I.scrollLeft=M),U.isNumber(L)&&(I.scrollTop=L),o.scrollYLoad?new Promise(P=>{setTimeout(()=>{Oe(()=>{P()})},50)}):Oe()},w=()=>{const{lastScrollLeft:M,lastScrollTop:L}=c;return y().then(()=>{if(M||L)return c.lastScrollLeft=0,c.lastScrollTop=0,E(M,L)})},S=()=>{const M=l.value;return M.clientWidth&&M.clientHeight?C():Promise.resolve()},A=M=>{const{scrollYStore:L}=c,{startIndex:I,endIndex:P,visibleSize:B,offsetSize:T,rowHeight:O}=L,V=M.target.scrollTop,Y=Math.floor(V/O),z=Math.max(0,Y-1-T),ee=Y+B+T;(Y<=I||Y>=P-B-1)&&(I!==z||P!==ee)&&(L.startIndex=z,L.endIndex=ee,b())},D=M=>{const L=M.target,I=L.scrollTop,P=L.scrollLeft,B=P!==c.lastScrollLeft,T=I!==c.lastScrollTop;c.lastScrollTop=I,c.lastScrollLeft=P,o.scrollYLoad&&A(M),p.dispatchEvent("scroll",{scrollLeft:P,scrollTop:I,isX:B,isY:T},M)};p={dispatchEvent(M,L,I){r(M,Object.assign({$list:f,$event:I},L))},loadData(M){const{scrollYStore:L}=c,I=h.value,P=M||[];return Object.assign(L,{startIndex:0,endIndex:1,visibleSize:0}),c.fullData=P,o.scrollYLoad=!!I.enabled&&I.gt>-1&&(I.gt===0||I.gt<=P.length),g(),C().then(()=>{w()})},reloadData(M){return y(),p.loadData(M)},recalculate:S,scrollTo:E,refreshScroll:w,clearScroll:y},Object.assign(f,p);const k=j(0);$e(()=>e.data?e.data.length:-1,()=>{k.value++}),$e(()=>e.data,()=>{k.value++}),$e(k,()=>{p.loadData(e.data||[])}),$e(()=>e.syncResize,M=>{M&&(S(),Oe(()=>setTimeout(()=>S())))}),Km(()=>{S().then(()=>w())});let x;Oe(()=>{if(Un.on(f,"resize",()=>{S()}),e.autoResize){const M=l.value;x=i2e(()=>S()),x.observe(M)}p.loadData(e.data||[])}),la(()=>{x&&x.disconnect(),Un.off(f,"resize")});const _=()=>{const{className:M,loading:L}=e,{bodyHeight:I,topSpaceHeight:P,items:B}=o,T=i.value,O=m.value;return W("div",{ref:l,class:["vxe-list",M?U.isFunction(M)?M({$list:f}):M:"",{[`size--${T}`]:T,"is--loading":L}]},[W("div",{ref:s,class:"vxe-list--virtual-wrapper",style:O,onScroll:D},[W("div",{class:"vxe-list--y-space",style:{height:I?`${I}px`:""}}),W("div",{ref:u,class:"vxe-list--body",style:{marginTop:P?`${P}px`:""}},n.default?n.default({items:B,$list:f}):[])]),W(M4,{class:"vxe-list--loading",modelValue:L})])};return f.renderVN=_,f},render(){return this.renderVN()}});Object.assign(zb,{install(e){e.component(zb.name,zb)}});Or.component(zb.name,zb);const Wb=Ve({name:"VxePulldown",props:{modelValue:Boolean,disabled:Boolean,placement:String,size:{type:String,default:()=>fe.size},className:[String,Function],popupClassName:[String,Function],destroyOnClose:Boolean,transfer:Boolean},emits:["update:modelValue","hide-panel"],setup(e,t){const{slots:n,emit:r}=t,a=U.uniqueId(),i=ai(e),o=dn({inited:!1,panelIndex:0,panelStyle:null,panelPlacement:null,visiblePanel:!1,animatVisible:!1,isActivated:!1}),l=j(),s=j(),u=j(),c={refElem:l},d={xID:a,props:e,context:t,reactData:o,getRefMaps:()=>c};let f={};const p=()=>{o.panelIndexo.visiblePanel,m=()=>Oe().then(()=>{const{transfer:A,placement:D}=e,{panelIndex:k,visiblePanel:x}=o;if(x){const _=s.value,M=u.value;if(M&&_){const L=_.offsetHeight,I=_.offsetWidth,P=M.offsetHeight,B=M.offsetWidth,T=5,O={zIndex:k},{boundingTop:N,boundingLeft:V,visibleHeight:Y,visibleWidth:z}=L0(_);let ee="bottom";if(A){let ae=V,pe=N+L;D==="top"?(ee="top",pe=N-P):D||(pe+P+T>Y&&(ee="top",pe=N-P),pez&&(ae-=ae+B+T-z),aeY&&N-L-P>T&&(ee="top",O.bottom=`${L}px`);o.panelStyle=O,o.panelPlacement=ee}}return Oe()});let v;const g=()=>(o.inited||(o.inited=!0),new Promise(A=>{e.disabled?Oe(()=>{A()}):(clearTimeout(v),o.isActivated=!0,o.animatVisible=!0,setTimeout(()=>{o.visiblePanel=!0,r("update:modelValue",!0),m(),setTimeout(()=>{A(m())},40)},10),p())})),b=()=>(o.visiblePanel=!1,r("update:modelValue",!1),new Promise(A=>{o.animatVisible?v=window.setTimeout(()=>{o.animatVisible=!1,Oe(()=>{A()})},350):Oe(()=>{A()})})),C=()=>o.visiblePanel?b():g(),y=A=>{const{disabled:D}=e,{visiblePanel:k}=o,x=u.value;D||k&&(Ar(A,x).flag?m():(b(),f.dispatchEvent("hide-panel",{},A)))},E=A=>{const{disabled:D}=e,{visiblePanel:k}=o,x=l.value,_=u.value;D||(o.isActivated=Ar(A,x).flag||Ar(A,_).flag,k&&!o.isActivated&&(b(),f.dispatchEvent("hide-panel",{},A)))},w=A=>{o.visiblePanel&&(o.isActivated=!1,b(),f.dispatchEvent("hide-panel",{},A))};f={dispatchEvent(A,D,k){r(A,Object.assign({$pulldown:d,$event:k},D))},isPanelVisible:h,togglePanel:C,showPanel:g,hidePanel:b},Object.assign(d,f),$e(()=>e.modelValue,A=>{A?g():b()}),Oe(()=>{Un.on(d,"mousewheel",y),Un.on(d,"mousedown",E),Un.on(d,"blur",w)}),la(()=>{Un.off(d,"mousewheel"),Un.off(d,"mousedown"),Un.off(d,"blur")});const S=()=>{const{className:A,popupClassName:D,destroyOnClose:k,transfer:x,disabled:_}=e,{inited:M,isActivated:L,animatVisible:I,visiblePanel:P,panelStyle:B,panelPlacement:T}=o,O=i.value,N=n.default,V=n.header,Y=n.footer,z=n.dropdown;return W("div",{ref:l,class:["vxe-pulldown",A?U.isFunction(A)?A({$pulldown:d}):A:"",{[`size--${O}`]:O,"is--visivle":P,"is--disabled":_,"is--active":L}]},[W("div",{ref:s,class:"vxe-pulldown--content"},N?N({$pulldown:d}):[]),W(Bd,{to:"body",disabled:x?!M:!0},[W("div",{ref:u,class:["vxe-table--ignore-clear vxe-pulldown--panel",D?U.isFunction(D)?D({$pulldown:d}):D:"",{[`size--${O}`]:O,"is--transfer":x,"animat--leave":I,"animat--enter":P}],placement:T,style:B},z?[W("div",{class:"vxe-pulldown--panel-wrapper"},!M||k&&!P&&!I?[]:[V?W("div",{class:"vxe-pulldown--panel-header"},V({$pulldown:d})):Pe(),W("div",{class:"vxe-pulldown--panel-body"},z({$pulldown:d})),Y?W("div",{class:"vxe-pulldown--panel-footer"},Y({$pulldown:d})):Pe()])]:[])])])};return d.renderVN=S,d},render(){return this.renderVN()}});Object.assign(Wb,{install:function(e){e.component(Wb.name,Wb)}});Or.component(Wb.name,Wb);const GSt={vxe:{base:{pleaseInput:"请输入",pleaseSelect:"请选择",comma:",",fullStop:"。"},loading:{text:"加载中..."},error:{downErr:"下载失败",groupFixed:"如果使用分组表头,冻结列必须按组设置",groupMouseRange:'分组表头与 "{0}" 不能同时使用,这可能会出现错误',groupTag:'分组列头应该使用 "{0}" 而不是 "{1}",这可能会出现错误',scrollErrProp:'启用虚拟滚动后不支持该参数 "{0}"',errConflicts:'参数 "{0}" 与 "{1}" 有冲突',unableInsert:"无法插入到指定位置,请检查参数是否正确",useErr:'安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',barUnableLink:"工具栏无法关联表格",expandContent:'展开行的插槽应该是 "content",请检查是否正确',reqComp:'缺少 "{0}" 组件,请检查是否正确安装。 https://vxeui.com/#/start/useGlobal',reqModule:'缺少 "{0}" 模块',reqProp:'缺少必要的 "{0}" 参数,这可能会导致出现错误',emptyProp:'参数 "{0}" 不允许为空',errProp:'不支持的参数 "{0}",可能为 "{1}"',colRepet:'column.{0}="{1}" 重复了,这可能会导致某些功能无法使用',notFunc:'方法 "{0}" 不存在',errFunc:'参数 "{0}" 不是一个方法',notValidators:'全局校验 "{0}" 不存在',notFormats:'全局格式化 "{0}" 不存在',notCommands:'全局指令 "{0}" 不存在',notSlot:'插槽 "{0}" 不存在',noTree:'树结构不支持 "{0}"',notProp:'不支持的参数 "{0}"',checkProp:'当数据量过大时可能会导致复选框卡顿,建议设置参数 "{0}" 提升渲染速度',coverProp:'"{0}" 的参数 "{1}" 重复定义,这可能会出现错误',uniField:'字段名 "{0}" 重复定义,这可能会出现错误',delFunc:'方法 "{0}" 已废弃,请使用 "{1}"',delProp:'参数 "{0}" 已废弃,请使用 "{1}"',delEvent:'事件 "{0}" 已废弃,请使用 "{1}"',removeProp:'参数 "{0}" 已废弃,不建议使用,这可能会导致出现错误',errFormat:'全局的格式化内容应该使用 "VXETable.formats" 定义,挂载 "formatter={0}" 的方式已不建议使用',notType:'不支持的文件类型 "{0}"',notExp:"该浏览器不支持导入/导出功能",impFields:"导入失败,请检查字段名和数据格式是否正确",treeNotImp:"树表格不支持导入"},table:{emptyText:"暂无数据",allTitle:"全选/取消",seqTitle:"序号",actionTitle:"操作",confirmFilter:"筛选",resetFilter:"重置",allFilter:"全部",sortAsc:"升序:最低到最高",sortDesc:"降序:最高到最低",filter:"对所选的列启用筛选",impSuccess:"成功导入 {0} 条记录",expLoading:"正在导出中",expSuccess:"导出成功",expFilename:"导出_{0}",expOriginFilename:"导出_源_{0}",customTitle:"列设置",customAll:"全部",customConfirm:"确认",customClose:"关闭",customCancel:"取消",customRestore:"恢复默认",maxFixedCol:"最大冻结列的数量不能超过 {0} 个"},grid:{selectOneRecord:"请至少选择一条记录!",deleteSelectRecord:"您确定要删除所选记录吗?",removeSelectRecord:"您确定要移除所选记录吗?",dataUnchanged:"数据未改动!",delSuccess:"成功删除所选记录!",saveSuccess:"保存成功!",operError:"发生错误,操作失败!"},select:{search:"搜索",loadingText:"加载中",emptyText:"暂无数据"},pager:{goto:"前往",gotoTitle:"页数",pagesize:"{0}条/页",total:"共 {0} 条记录",pageClassifier:"页",homePage:"首页",homePageTitle:"首页",prevPage:"上一页",prevPageTitle:"上一页",nextPage:"下一页",nextPageTitle:"下一页",prevJump:"向上跳页",prevJumpTitle:"向上跳页",nextJump:"向下跳页",nextJumpTitle:"向下跳页",endPage:"末页",endPageTitle:"末页"},alert:{title:"系统提示"},button:{confirm:"确认",cancel:"取消"},filter:{search:"搜索"},custom:{cstmTitle:"列设置",cstmRestore:"恢复默认",cstmCancel:"取消",cstmConfirm:"确定",cstmConfirmRestore:"请确认是否恢复成默认列配置?",cstmDragTarget:"移动目标:{0}",setting:{colSort:"排序",sortHelpTip:"点击并拖动图标可以调整列的排序",colTitle:"标题",colResizable:"列宽(像素)",colVisible:"是否显示",colFixed:"冻结列",colFixedMax:"冻结列(最多 {0} 列)",fixedLeft:"左侧",fixedUnset:"不设置",fixedRight:"右侧"}},import:{modes:{covering:"覆盖方式(直接覆盖表格数据)",insert:"底部追加(在表格的底部追加新数据)",insertTop:"顶部追加(在表格的顶部追加新数据)",insertBottom:"底部追加(在表格的底部追加新数据)"},impTitle:"导入数据",impFile:"文件名",impSelect:"选择文件",impType:"文件类型",impOpts:"参数设置",impMode:"导入模式",impConfirm:"导入",impCancel:"取消"},export:{types:{csv:"CSV (逗号分隔)(*.csv)",html:"网页(*.html)",xml:"XML 数据(*.xml)",txt:"文本文件(制表符分隔)(*.txt)",xls:"Excel 97-2003 工作簿(*.xls)",xlsx:"Excel 工作簿(*.xlsx)",pdf:"PDF (*.pdf)"},modes:{current:"当前数据(当前页的数据)",selected:"选中数据(当前页选中的数据)",all:"全量数据(包括所有分页的数据)"},printTitle:"打印数据",expTitle:"导出数据",expName:"文件名",expNamePlaceholder:"请输入文件名",expSheetName:"标题",expSheetNamePlaceholder:"请输入标题",expType:"保存类型",expMode:"选择数据",expCurrentColumn:"全部字段",expColumn:"选择字段",expOpts:"参数设置",expOptHeader:"表头",expHeaderTitle:"是否需要表头",expOptFooter:"表尾",expFooterTitle:"是否需要表尾",expOptColgroup:"分组表头",expColgroupTitle:"如果存在,则支持带有分组结构的表头",expOptMerge:"合并",expMergeTitle:"如果存在,则支持带有合并结构的单元格",expOptAllExpand:"展开层级",expAllExpandTitle:"如果存在,则支持将带有层级结构的数据全部展开",expOptUseStyle:"样式",expUseStyleTitle:"如果存在,则支持带样式的单元格",expOptOriginal:"源数据",expOriginalTitle:"如果为源数据,则支持导入到表格中",expPrint:"打印",expConfirm:"导出",expCancel:"取消"},modal:{errTitle:"错误提示",zoomMin:"最小化",zoomIn:"最大化",zoomOut:"还原",close:"关闭",miniMaxSize:"最小化窗口的数量不能超过 {0} 个",footPropErr:"show-footer 仅用于启用表尾,需配合 show-confirm-button | show-cancel-button | 插槽使用"},drawer:{close:"关闭"},form:{folding:"收起",unfolding:"展开"},toolbar:{import:"导入",export:"导出",print:"打印",refresh:"刷新",zoomIn:"全屏",zoomOut:"还原",custom:"列设置",customAll:"全部",customConfirm:"确认",customRestore:"重置",fixedLeft:"冻结在左侧",fixedRight:"冻结在右侧",cancelFixed:"取消冻结列"},input:{date:{m1:"01 月",m2:"02 月",m3:"03 月",m4:"04 月",m5:"05 月",m6:"06 月",m7:"07 月",m8:"08 月",m9:"09 月",m10:"10 月",m11:"11 月",m12:"12 月",quarterLabel:"{0} 年",monthLabel:"{0} 年",dayLabel:"{0} 年 {1}",labelFormat:{date:"yyyy-MM-dd",time:"HH:mm:ss",datetime:"yyyy-MM-dd HH:mm:ss",week:"yyyy 年第 WW 周",month:"yyyy-MM",quarter:"yyyy 年第 q 季度",year:"yyyy"},weeks:{w:"周",w0:"周日",w1:"周一",w2:"周二",w3:"周三",w4:"周四",w5:"周五",w6:"周六"},months:{m0:"一月",m1:"二月",m2:"三月",m3:"四月",m4:"五月",m5:"六月",m6:"七月",m7:"八月",m8:"九月",m9:"十月",m10:"十一月",m11:"十二月"},quarters:{q1:"第一季度",q2:"第二季度",q3:"第三季度",q4:"第四季度"}}},imagePreview:{popupTitle:"预览",operBtn:{zoomOut:"缩小",zoomIn:"放大",pctFull:"等比例缩放",pct11:"显示原始尺寸",rotateLeft:"向左旋转",rotateRight:"向右旋转",print:"点击打印图片",download:"点击下载图片"}},upload:{fileBtnText:"点击或拖拽上传",imgBtnText:"点击或拖拽上传",dragPlaceholder:"请把文件拖放到这个区域即可上传",imgSizeHint:"单张{0}",imgCountHint:"最多{0}张",fileTypeHint:"支持 {0} 文件类型",fileSizeHint:"单个文件大小不超过{0}",fileCountHint:"最多可上传{0}个文件",overCountErr:"最多只能选择{0}个文件!",overCountExtraErr:"已超出最大数量{0}个,超出的{1}个文件将被忽略!",overSizeErr:"文件大小最大不能超过{0}!",reUpload:"重新上传",uploadProgress:"上传中 {0}%",uploadErr:"上传失败",uploadSuccess:"上传成功",moreBtnText:"更多({0})",viewItemTitle:"点击查看",morePopup:{readTitle:"查看列表",imageTitle:"上传图片",fileTitle:"上传文件"}},formDesign:{formName:"表单名称",defFormTitle:"未命名的表单",widgetPropTab:"控件属性",widgetFormTab:"表单属性",error:{wdFormUni:"该类型的控件在表单中只允许添加一个",wdSubUni:"该类型的控件在子表中只允许添加一个"},styleSetting:{btn:"样式设置",title:"表单的样式设置",layoutTitle:"控件布局",verticalLayout:"上下布局",horizontalLayout:"横向布局",styleTitle:"标题样式",boldTitle:"标题加粗",fontBold:"加粗",fontNormal:"常规",colonTitle:"显示冒号",colonVisible:"显示",colonHidden:"隐藏",alignTitle:"对齐方式",widthTitle:"标题宽度",alignLeft:"居左",alignRight:"居右",unitPx:"像素",unitPct:"百分比"},widget:{group:{base:"基础控件",layout:"布局控件",system:"系统控件",module:"模块控件",chart:"图表控件",advanced:"高级控件"},copyTitle:"副本_{0}",component:{input:"输入框",textarea:"文本域",select:"下拉选择",row:"一行多列",title:"标题",text:"文本",subtable:"子表",VxeSwitch:"是/否",VxeInput:"输入框",VxeNumberInput:"数字",VxeDatePicker:"日期",VxeTextarea:"文本域",VxeSelect:"下拉选择",VxeTreeSelect:"树形选择",VxeRadioGroup:"单选框",VxeCheckboxGroup:"复选框",VxeUploadFile:"文件",VxeUploadImage:"图片"}},widgetProp:{name:"控件名称",placeholder:"提示语",required:"必填校验",multiple:"允许多选",displaySetting:{name:"显示设置",pc:"电脑端",mobile:"手机端",visible:"显示",hidden:"隐藏"},dataSource:{name:"数据源",defValue:"选项{0}",addOption:"添加选项",batchEditOption:"批量编辑",batchEditTip:"每行对应一个选项,支持从表格、Excel、WPS 中直接复制粘贴。",batchEditSubTip:"每行对应一个选项,如果是分组,子项可以是空格或制表键开头,支持从表格、Excel、WPS 中直接复制粘贴。",buildOption:"生成选项"},rowProp:{colSize:"列数",col2:"两列",col3:"三列",col4:"四列",col6:"六列",layout:"布局"},textProp:{name:"内容",alignTitle:"对齐方式",alignLeft:"居左",alignCenter:"居中",alignRight:"居右",colorTitle:"字体颜色",sizeTitle:"字体大小",boldTitle:"字体加粗",fontNormal:"常规",fontBold:"加粗"},subtableProp:{seqTitle:"序号",showSeq:"显示序号",showCheckbox:"允许多选",errSubDrag:"子表不支持该控件,请使用其他控件",colPlace:"将控件拖拽进来"},uploadProp:{limitFileCount:"文件数量限制",limitFileSize:"文件大小限制",multiFile:"允许上传多个文件",limitImgCount:"图片数量限制",limitImgSize:"图片大小限制",multiImg:"允许上传多张图片"}}},listDesign:{fieldSettingTab:"字段设置",listSettingTab:"参数设置",searchTitle:"查询条件",listTitle:"列表字段",searchField:"查询字段",listField:"列表字段",activeBtn:{ActionButtonUpdate:"编辑",ActionButtonDelete:"删除"},search:{addBtn:"编辑",emptyText:"未配置查询条件",editPopupTitle:"编辑查询字段"},searchPopup:{colTitle:"标题",saveBtn:"保存"}},text:{copySuccess:"已复制到剪贴板",copyError:"当前环境不支持该操作"},countdown:{formats:{yyyy:"年",MM:"月",dd:"天",HH:"时",mm:"分",ss:"秒"}},plugins:{extendCellArea:{area:{mergeErr:"无法对合并单元格进行该操作",multiErr:"无法对多重选择区域进行该操作",extendErr:"如果延伸的区域包含被合并的单元格,所有合并的单元格需大小相同",pasteMultiErr:"无法粘贴,需要相同大小的复制的区域和粘贴的区域才能执行此操作",cpInvalidErr:"该操作无法进行,您选择的区域中存在被禁止的列({0})"},fnr:{title:"查找和替换",findLabel:"查找",replaceLabel:"替换",findTitle:"查找内容:",replaceTitle:"替换为:",tabs:{find:"查找",replace:"替换"},filter:{re:"正则表达式",whole:"全词匹配",sensitive:"区分大小写"},btns:{findNext:"查找下一个",findAll:"查找全部",replace:"替换",replaceAll:"替换全部",cancel:"取消"},header:{seq:"#",cell:"单元格",value:"值"},empty:"(空值)",reError:"无效的正则表达式",recordCount:"已找到 {0} 个单元格",notCell:"找不到匹配的单元格",replaceSuccess:"成功替换 {0} 个单元格"}},filterComplexInput:{menus:{fixedColumn:"冻结列",fixedGroup:"冻结分组",cancelFixed:"取消冻结",fixedLeft:"冻结左侧",fixedRight:"冻结右侧"},cases:{equal:"等于",gt:"大于",lt:"小于",begin:"开头是",endin:"结尾是",include:"包含",isSensitive:"区分大小写"}},filterCombination:{menus:{clearSort:"清除排序",sortAsc:"升序",sortDesc:"降序",fixedColumn:"冻结列",fixedGroup:"冻结分组",cancelFixed:"取消冻结",fixedLeft:"冻结左侧",fixedRight:"冻结右侧",clearFilter:"清除筛选",textOption:"文本筛选",numberOption:"数值筛选"},popup:{title:"自定义筛选的方式",currColumnTitle:"当前列:",and:"与",or:"或",describeHtml:"可用 ? 代表单个字符
用 * 代表任意多个字符"},cases:{equal:"等于",unequal:"不等于",gt:"大于",ge:"大于或等于",lt:"小于",le:"小于或等于",begin:"开头是",notbegin:"开头不是",endin:"结尾是",notendin:"结尾不是",include:"包含",exclude:"不包含",between:"介于",custom:"自定义筛选",insensitive:"不区分大小写",isSensitive:"区分大小写"},empty:"(空白)",notData:"无匹配项"}},pro:{area:{mergeErr:"无法对合并单元格进行该操作",multiErr:"无法对多重选择区域进行该操作",extendErr:"如果延伸的区域包含被合并的单元格,所有合并的单元格需大小相同",pasteMultiErr:"无法粘贴,需要相同大小的复制的区域和粘贴的区域才能执行此操作"},fnr:{title:"查找和替换",findLabel:"查找",replaceLabel:"替换",findTitle:"查找内容:",replaceTitle:"替换为:",tabs:{find:"查找",replace:"替换"},filter:{re:"正则表达式",whole:"全词匹配",sensitive:"区分大小写"},btns:{findNext:"查找下一个",findAll:"查找全部",replace:"替换",replaceAll:"替换全部",cancel:"取消"},header:{seq:"#",cell:"单元格",value:"值"},empty:"(空值)",reError:"无效的正则表达式",recordCount:"已找到 {0} 个单元格",notCell:"找不到匹配的单元格",replaceSuccess:"成功替换 {0} 个单元格"}},renderer:{search:"搜索",cases:{equal:"等于",unequal:"不等于",gt:"大于",ge:"大于或等于",lt:"小于",le:"小于或等于",begin:"开头是",notbegin:"开头不是",endin:"结尾是",notendin:"结尾不是",include:"包含",exclude:"不包含",between:"介于",custom:"自定义筛选",insensitive:"不区分大小写",isSensitive:"区分大小写"},combination:{menus:{clearSort:"清除排序",sortAsc:"升序",sortDesc:"降序",fixedColumn:"锁定列",fixedGroup:"锁定组",cancelFixed:"取消锁定",fixedLeft:"锁定左侧",fixedRight:"锁定右侧",clearFilter:"清除筛选",textOption:"文本筛选",numberOption:"数值筛选"},popup:{title:"自定义筛选的方式",currColumnTitle:"当前列:",and:"与",or:"或",describeHtml:"可用 ? 代表单个字符
用 * 代表任意多个字符"},empty:"(空白)",notData:"无匹配项"}}}};tE({i18n:(e,t)=>U.toFormatString(U.get(GSt,e),t)});$n.setConfig({});function jSt(e){e.use(cSt).use(dSt).use(vSt).use(LSt).use(ASt).use(SSt).use(wSt)}const KSt=[VBe,oLe,UPe,JZe,ZPe,aIe,Wse,hIe,mIe,ci,Yse,NNe,zNe,i$e,o$e,eVe,Cue,iVe,eu,y$e,hP,uVe,AVe,DVe,M9,Bue,eHe,c6,uHe,cHe,dHe,fHe,pHe,kWe,Kue,TP,Yue,JWe,nce,uGe,YGe,JGe,XGe,dce,yKe,bKe,Rt,MKe,hce,co,mce,qKe,eUe,vUe,gUe,yUe,bUe,AUe,Fce,uqe,gqe,Nse,wce,yue,x$e,_$e,Bqe,Pqe,zqe,Qs,up,s6,xNe,EYe,_Ye,xYe,JYe,tJe,Ice,cJe,gJe,yJe,kJe,ode,lde,YZe,uQe,cQe,hd,YP,IHe,yQe,wQe,SQe,gi,IQe,ZP,iet,Eet,Jet,ott,Dnt,Tnt,Pnt,Int,Gnt,rrt,grt,yrt],USt=[Art,xrt,k6,sat,mfe,Ece];function qSt(e){KSt.forEach(t=>{e.component(t.name,t)}),USt.forEach(t=>{e.use(t)})}var TV=Object.defineProperty,YSt=Object.getOwnPropertyDescriptor,JSt=Object.getOwnPropertyNames,XSt=Object.prototype.hasOwnProperty,ZSt=(e,t,n)=>t in e?TV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,QSt=(e,t)=>{for(var n in t)TV(e,n,{get:t[n],enumerable:!0})},eAt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of JSt(t))!XSt.call(e,a)&&a!==n&&TV(e,a,{get:()=>t[a],enumerable:!(r=YSt(t,a))||r.enumerable});return e},tAt=(e,t,n)=>(eAt(e,t,"default"),n),yre=(e,t,n)=>(ZSt(e,typeof t!="symbol"?t+"":t,n),n),kV={};QSt(kV,{Vue:()=>rp});tAt(kV,rp);var HC=class{static install(e,t){let{nameSpace:n=this._nameSpace,memory:r}=t;return r&&this.clearAll(n,r),new HC(e,t)}static clearAll(e,t){Object.keys(t).forEach(n=>{let r=e+n;Object.prototype.hasOwnProperty.call(window.localStorage,r)&&window.localStorage.removeItem(r)})}static get(e){return JSON.parse(window.localStorage.getItem(e))}static set(e,t){t=typeof t=="object"?JSON.stringify(t):t,window.localStorage.setItem(e,t)}static getData(e,t){if(Object.prototype.hasOwnProperty.call(window.localStorage,this._getStaticKey(t,e)))return JSON.parse(window.localStorage.getItem(this._getStaticKey(t,e)))}constructor(e,t){let n=HC,{version:r=3,nameSpace:a=n._nameSpace,memory:i}=t,o=u=>a+u,l=r===3?(0,kV.reactive)(i):i;Object.keys(l).length===0&&console.warn("key cannot be empty"),Object.keys(l).forEach(u=>{let c=l[u];n.set(o(u),c),Reflect.defineProperty(l,u,{get:()=>n.get(o(u)),set:d=>n.set(o(u),d),configurable:!0}),r===2&&e.util.defineReactive(l,u,l[u])});let s=r===3?e.config.globalProperties:e.prototype;Reflect.defineProperty(s,"$storage",{get:()=>l})}},Mh=HC;yre(Mh,"_nameSpace","rs-"),yre(Mh,"_getStaticKey",(e,t)=>`${e!=null?e:HC._nameSpace}${t}`);const nAt=(e,t)=>{var a,i,o,l,s,u,c,d,f,p,h,m,v,g,b,C,y,E,w,S;const n=Cf(),r=Object.assign({locale:(i=Mh.getData("locale",n))!=null?i:{locale:(a=t.Locale)!=null?a:"zh"},layout:(p=Mh.getData("layout",n))!=null?p:{layout:(o=t.Layout)!=null?o:"vertical",theme:(l=t.Theme)!=null?l:"light",darkMode:(s=t.DarkMode)!=null?s:!1,sidebarStatus:(u=t.SidebarStatus)!=null?u:!0,epThemeColor:(c=t.EpThemeColor)!=null?c:"#409EFF",themeColor:(d=t.Theme)!=null?d:"light",themeMode:(f=t.ThemeMode)!=null?f:"light"},configure:(w=Mh.getData("configure",n))!=null?w:{grey:(h=t.Grey)!=null?h:!1,weak:(m=t.Weak)!=null?m:!1,hideTabs:(v=t.HideTabs)!=null?v:!1,hideFooter:(g=t.HideFooter)!=null?g:!0,showLogo:(b=t.ShowLogo)!=null?b:!0,showModel:(C=t.ShowModel)!=null?C:"smart",multiTagsCache:(y=t.MultiTagsCache)!=null?y:!1,stretch:(E=t.Stretch)!=null?E:!1}},t.MultiTagsCache?{tags:(S=Mh.getData("tags",n))!=null?S:Q9}:{});e.use(Mh,{nameSpace:n,memory:r})};const rAt=Object.prototype.hasOwnProperty,bre=(e,t)=>rAt.call(e,t),Cre=e=>e!==null&&typeof e=="object",Fre="__epPropKey",aAt=((e,t)=>{if(!Cre(e)||Cre(n=e)&&n[Fre])return e;var n;const{values:r,required:a,default:i,type:o,validator:l}=e,s=r||l?c=>{let d=!1,f=[];if(r&&(f=Array.from(r),bre(e,"default")&&f.push(i),d||(d=f.includes(c))),l&&(d||(d=l(c))),!d&&f.length>0){const p=[...new Set(f)].map(h=>JSON.stringify(h)).join(", ");bO(`Invalid prop: validation failed. Expected one of [${p}], got value ${JSON.stringify(c)}.`)}return d}:void 0,u={type:o,required:!!a,validator:s,[Fre]:!0};return bre(e,"default")&&(u.default=i),u})({type:String,values:["","default","small","large"],required:!1});var iAt={data:{type:Array,default:()=>[]},size:aAt,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,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:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean};const oAt=Te({tableKey:{type:[String,Number],default:"0"},columns:{type:Array,default:[]},loading:{type:Boolean,default:!1},loadingConfig:{type:Object,default:()=>{}},alignWhole:{type:String,default:"left"},headerAlign:{type:String,default:""},showOverflowTooltip:{type:Boolean,default:!1},rowHoverBgColor:{type:String,default:""},pagination:{type:Object,default:{total:0,pageSize:5,align:"right",size:"default",background:!1,pageSizes:[5,10,15,20],layout:"total, sizes, prev, pager, next, jumper"}},adaptive:{type:Boolean,default:!1},adaptiveConfig:{type:Object,default:{offsetBottom:96,fixHeader:!0,timeout:60,zIndex:3}},locale:{type:[String,Object],default:""}},iAt),Ere=Ve({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:e=>()=>be(kt,null,[e.render(e.params)])}),wre={name:"en",el:{select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},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"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"}}},Sre={name:"zh-cn",el:{select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"}}},Are={name:"zh-tw",el:{select:{loading:"載入中",noMatch:"無相符資料",noData:"無資料",placeholder:"請選擇"},pagination:{goto:"前往",pagesize:"項/頁",total:"共 {total} 項",pageClassifier:"頁",page:"頁",prev:"上一頁",next:"下一頁",currentPage:"第 {pager} 頁",prevPages:"向前 {pager} 頁",nextPages:"向后 {pager} 頁",deprecationWarning:"偵測到已過時的使用方式,請參閱 el-pagination 說明文件以了解更多資訊"},table:{emptyText:"暫無資料",confirmFilter:"篩選",resetFilter:"重置",clearFilter:"全部",sumText:"合計"}}};var S2e=Object.defineProperty,lAt=Object.getOwnPropertyDescriptor,sAt=Object.getOwnPropertyNames,uAt=Object.prototype.hasOwnProperty,cAt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of sAt(t))!uAt.call(e,a)&&a!==n&&S2e(e,a,{get:()=>t[a],enumerable:!(r=lAt(t,a))||r.enumerable});return e},dAt=Object.prototype.toString;function A2e(e,t){return dAt.call(e)===`[object ${t}]`}function Dre(e){return A2e(e,"String")}function Tre(e){return typeof e=="function"}var kre=e=>e.replace(/\B([A-Z])/g,"-$1").toLowerCase(),C1={};((e,t)=>{for(var n in t)S2e(e,n,{get:t[n],enumerable:!0})})(C1,{Vue:()=>rp}),cAt(C1,rp,"default");var fAt=e=>{let t,n="dark",r=(0,C1.shallowRef)(!1),a=()=>{let i=document.documentElement;r.value=i.classList.contains(n)};return(function(i){(0,C1.getCurrentInstance)()&&(0,C1.onUnmounted)(i)})(()=>{t&&(t.takeRecords(),t.disconnect())}),(0,C1.onBeforeMount)(()=>{let i=document.documentElement;a(),t=new MutationObserver(a),t.observe(i,{attributes:!0,attributeFilter:["class"]})}),{isDark:r,toggleDark:()=>{document.documentElement.classList.toggle(n)}}};function _re(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!sr(e)}const Lx=Ve({name:"PureTable",props:oAt,directives:{Loading:N1},emits:["page-size-change","page-current-change"],setup(e,{slots:t,attrs:n,emit:r,expose:a}){var Y;const{locale:i,i18n:o,ssr:l}=lt("locale",{locale:null,i18n:null,ssr:!1}),{locale:s,columns:u,loading:c,tableKey:d,adaptive:f,pagination:p,alignWhole:h,headerAlign:m,loadingConfig:v,adaptiveConfig:g,rowHoverBgColor:b,showOverflowTooltip:C}=Na(e),y=j(!1),{isDark:E}=fAt(),w=Jt();let S=F(p)&&F(p).currentPage&&F(p).pageSize,A=R(()=>{var z,ee,ae,pe;if(!F(o))return;const re=((ae=(ee=o==null?void 0:o.global)==null?void 0:ee.getLocaleMessage(F((z=o==null?void 0:o.global)==null?void 0:z.locale)))==null?void 0:ae.el)||((pe=o==null?void 0:o.getLocaleMessage(F(o==null?void 0:o.locale)))==null?void 0:pe.el);return re?{el:re}:null}),D=R(()=>Dre(i)?[wre,Sre,Are].filter(z=>z.name===kre(i))[0]:i),k=R(()=>{if(F(s))return Dre(F(s))?[wre,Sre,Are].filter(z=>z.name===kre(F(s)))[0]:F(s)}),x=R(()=>{if(!F(v))return;let{text:z,spinner:ee,svg:ae,viewBox:pe}=F(v);return{"element-loading-text":z,"element-loading-spinner":ee,"element-loading-svg":ae,"element-loading-svg-view-box":pe}});const _=R(()=>{var z,ee;if(F(c))return{"element-loading-background":(z=F(v))!=null&&z.background?(ee=F(v))==null?void 0:ee.background:E.value?"rgba(0, 0, 0, 0.45)":"rgba(255, 255, 255, 0.45)"}}),M=R(()=>{var z;return Object.assign({width:"100%",margin:"16px 0",display:"flex",flexWrap:"wrap",justifyContent:F(p).align==="left"?"flex-start":F(p).align==="center"?"center":"flex-end"},(z=F(p).style)!=null?z:{})}),L=(z,ee)=>{const Fe=z,{cellRenderer:ae,slot:pe,headerRenderer:re,headerSlot:Q,filterIconSlot:ie,expandSlot:X,hide:q,children:ce,prop:K}=Fe,Z=Fo(Fe,["cellRenderer","slot","headerRenderer","headerSlot","filterIconSlot","expandSlot","hide","children","prop"]);if(Tre(q)&&q(n))return q(n);if((function(me){return A2e(me,"Boolean")})(q)&&q)return q;const se={default:me=>{var te;return ae?be(Ere,{render:ae,params:Object.assign(me,{index:me.$index,props:e,attrs:n})},null):pe?(te=t==null?void 0:t[pe])==null?void 0:te.call(t,Object.assign(me,{index:me.$index,props:e,attrs:n})):void 0}};return re?se.header=me=>be(Ere,{render:re,params:Object.assign(me,{index:me.$index,props:e,attrs:n})},null):t!=null&&t[Q]&&(se.header=me=>{var te;return(te=t[Q])==null?void 0:te.call(t,Object.assign(me,{index:me.$index,props:e,attrs:n}))}),t!=null&&t[ie]&&(se["filter-icon"]=me=>{var te;return(te=t[ie])==null?void 0:te.call(t,Object.assign(me,{index:me.$index,props:e,attrs:n}))}),t!=null&&t[X]&&(se.expand=me=>{var te;return(te=t[X])==null?void 0:te.call(t,Object.assign(me,{index:me.$index,props:e,attrs:n}))}),(ce==null?void 0:ce.length)>0&&(se.default=()=>ce.map(L)),be(lde,tn({key:ee},Z,{prop:Tre(K)&&K(ee)?K(ee):K,align:z!=null&&z.align?z.align:F(h),headerAlign:z!=null&&z.headerAlign?z.headerAlign:F(m),showOverflowTooltip:z!=null&&z.showOverflowTooltip?z.showOverflowTooltip:F(C)}),_re(se)?se:{default:()=>[se]})},I=()=>{var z;return(z=w==null?void 0:w.proxy)==null?void 0:z.$refs[`TableRef${F(d)}`]},P=()=>I().$refs,B=()=>Xt(null,null,function*(){var ae;yield Oe();const z=P().tableWrapper,ee=(ae=F(g).offsetBottom)!=null?ae:96;z.style.height=window.innerHeight-z.getBoundingClientRect().top-ee+"px"}),T=((z,ee=200,ae=!1)=>{let pe,re,Q=ee;return function(){pe&&clearTimeout(pe),ae?(pe||z.call(re,...arguments),pe=setTimeout(()=>pe=null,Q)):pe=setTimeout(()=>z.call(re,...arguments),Q)}})(B,(Y=F(g).timeout)!=null?Y:60),O=(z=3)=>Xt(null,null,function*(){yield Oe();const ee=P().tableHeaderRef.$el.style;ee.position="sticky",ee.top=0,ee.zIndex=z});Ut(()=>{y.value=!0,Oe(()=>{var z;if(F(b)&&P().tableWrapper.style.setProperty("--el-table-row-hover-bg-color",F(b),"important"),F(f)){if(B(),window.addEventListener("resize",T),Reflect.has(F(g),"fixHeader")&&!F(g).fixHeader)return;O((z=F(g).zIndex)!=null?z:3)}})}),Vn(()=>{F(f)&&window.removeEventListener("resize",T)}),a({getTableRef:I,getTableDoms:P,setAdaptive:B,setHeaderSticky:O});let N=()=>{var z,ee;return be(kt,null,[be(ode,tn(e,n,{ref:`TableRef${F(d)}`}),{default:()=>F(u).map(L),append:()=>t.append&&t.append(),empty:()=>t.empty&&t.empty()}),S?be(Fce,tn(n,{class:"pure-pagination",style:F(M)},F(p),{layout:(z=F(p).layout)!=null?z:"total, sizes, prev, pager, next, jumper",pageSizes:(ee=F(p).pageSizes)!=null?ee:[5,10,15,20],onSizeChange:ae=>(pe=>{F(p).pageSize=pe,r("page-size-change",pe)})(ae),onCurrentChange:ae=>(pe=>{F(p).currentPage=pe,r("page-current-change",pe)})(ae)}),null):null])},V=()=>{let z;return hn(be("div",tn({class:"pure-table",style:"width:100%"},F(_),F(x)),[F(A)||F(D)||F(k)?be(c6,{locale:F(k)?F(k):F(A)||F(D)},_re(z=N())?z:{default:()=>[z]}):N()]),[[q0("loading"),F(c)]])};return()=>l?y.value&&V():V()}}),pAt=Object.assign(Lx,{install:(e,t)=>{e.component(Lx.name,Lx),e.provide("locale",t!=null?t:{locale:null,i18n:null,ssr:!1})}}),hAt=Te({data:{type:Array,default:[]},columns:{type:Array,default:[]},loading:{type:Object,default:()=>({load:!1,text:"Loading...",svg:"",spinner:"",svgViewBox:"",background:""})},align:{type:String,default:"left"},labelAlign:{type:String,default:""}},TP.props),xre=Ve({name:"Renderer",props:{render:{type:Function},params:{type:Object}},setup:e=>()=>be(kt,null,[e.render(e.params)])});var D2e=Object.defineProperty,mAt=Object.getOwnPropertyDescriptor,vAt=Object.getOwnPropertyNames,gAt=Object.prototype.hasOwnProperty,yAt=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of vAt(t))!gAt.call(e,a)&&a!==n&&D2e(e,a,{get:()=>t[a],enumerable:!(r=mAt(t,a))||r.enumerable});return e},bAt=typeof document<"u",Os={};function Mre(e,{target:t=bAt?document.body:void 0}={}){let n=document.createElement("textarea"),r=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";let a,i=document.getSelection();i&&i.rangeCount>0&&(a=i.getRangeAt(0)),t==null||t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let o=!1;try{o=document.execCommand("copy")}catch(l){throw new Error(l.message)}return n.remove(),a&&i&&(i.removeAllRanges(),i.addRange(a)),r instanceof HTMLElement&&r.focus(),o}((e,t)=>{for(var n in t)D2e(e,n,{get:t[n],enumerable:!0})})(Os,{Vue:()=>rp}),yAt(Os,rp,"default");const Ox=Ve({name:"PureDescriptions",props:hAt,setup(e,{slots:t,attrs:n}){const r=j(-1),a=new URL("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiM0MDllZmYiIGQ9Ik01ODQuMjM1IDk5NC4zNDVIMjMxLjYwM2MtNzQuNTY1IDAtMTM1LjE1LTYwLjU4NC0xMzUuMTUtMTM1LjE1VjM2MC41NGMwLTc0LjU2NSA2MC41ODUtMTM1LjE1IDEzNS4xNS0xMzUuMTVoMzUyLjYzMmM3NC41NjYgMCAxMzUuMTUgNjAuNTg1IDEzNS4xNSAxMzUuMTV2NDk4LjY1NmMwIDc0LjU2Ni02MC41ODQgMTM1LjE1LTEzNS4xNSAxMzUuMTVNMjMxLjYwMyAzMDMuMDYyYy0zMS44NDYgMC01Ny40NzcgMjUuNjMxLTU3LjQ3NyA1Ny40Nzd2NDk4LjY1NmMwIDMxLjg0NiAyNS42MzEgNTcuNDc4IDU3LjQ3NyA1Ny40NzhoMzUyLjYzMmMzMS44NDYgMCA1Ny40NzgtMjUuNjMyIDU3LjQ3OC01Ny40NzhWMzYwLjU0YzAtMzEuODQ2LTI1LjYzMi01Ny40NzctNTcuNDc4LTU3LjQ3N3oiLz48cGF0aCBmaWxsPSIjNDA5ZWZmIiBkPSJNODMyLjAxIDc5MS42MmMtMjEuNzQ4IDAtMzguODM2LTE3LjA4OC0zOC44MzYtMzguODM2di00NTcuNDljMC04MC43NzktNjUuMjQ1LTE0Ni4wMjQtMTQ2LjAyNC0xNDYuMDI0SDMzNi40NmMtMjEuNzQ4IDAtMzguODM2LTE3LjA4OC0zOC44MzYtMzguODM2czE3LjA4OC0zOC44MzYgMzguODM3LTM4LjgzNkg2NDcuMTVjMTIzLjQ5OSAwIDIyMy42OTYgMTAwLjE5NyAyMjMuNjk2IDIyMy42OTZ2NDU3LjQ5YzAgMjAuOTcyLTE3LjA4OCAzOC44MzYtMzguODM2IDM4LjgzNiIvPjwvc3ZnPg==",self.location).href,i=new URL("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgY2xhc3M9Imljb24iIHZpZXdCb3g9IjAgMCAxMDI0IDEwMjQiPjxwYXRoIGZpbGw9IiM2N2MyM2EiIGQ9Ik0zNTEuODA5IDg0Ni43NTJjLTE5LjE2IDAtMzcuMjU0LTcuNDUtNTEuMDkxLTIxLjI4OC0xLjA2NS0xLjA2NC0xLjA2NS0yLjEyOS0yLjEyOS0yLjEyOUwzOS45NDEgNTA1LjA4MWMtMTEuNzA4LTEzLjgzNy05LjU4LTM1LjEyNSA1LjMyMi00Ni44MzMgMTMuODM3LTExLjcwOCAzNS4xMjUtOS41OCA0Ni44MzQgNS4zMjJsMjU2LjUxOSAzMTYuMTI1YzIuMTI4IDIuMTI5IDQuMjU3IDIuMTI5IDcuNDUtMS4wNjRsNTY2LjI1OC02MDIuNDQ3YzEyLjc3My0xMy44MzcgMzQuMDYtMTMuODM3IDQ2LjgzMy0xLjA2NSAxMy44MzcgMTIuNzczIDEzLjgzNyAzNC4wNiAxLjA2NSA0Ni44MzRMNDAyLjkgODI1LjQ2NGMtMTMuODM4IDEzLjgzNy0zMS45MzIgMjEuMjg4LTUxLjA5MSAyMS4yODgiLz48L3N2Zz4=",self.location).href,{data:o,columns:l,align:s,labelAlign:u,loading:c}=Na(e),d={title:()=>(t==null?void 0:t.title)&&t.title({props:e,attrs:n})},f={extra:()=>(t==null?void 0:t.extra)&&t.extra({props:e,attrs:n})},p=t!=null&&t.title&&!(t!=null&&t.extra)?d:t!=null&&t.extra&&!(t!=null&&t.title)?f:t!=null&&t.title&&(t!=null&&t.extra)?Object.assign(d,f):null,{copied:h,update:m}=((C="")=>{let y=(0,Os.shallowRef)(C),E=(0,Os.shallowRef)(!1);return(0,Os.watch)(y,(w=C)=>{(w=(w=(0,Os.isProxy)(w)||(0,Os.isRef)(w)?(0,Os.unref)(w):w).trim().length===0?C:w).length>0?E.value=Mre(w):E.value=!1},{flush:"sync"}),{clipboardValue:y,copied:E,update:w=>{y.value=(0,Os.isProxy)(w)||(0,Os.isRef)(w)?(0,Os.unref)(w):w;let S=y.value.trim().length===0?C:y.value;S.length>0?E.value=Mre(S):E.value=!1}}})();function v(C,y){h.value||(r.value=y,(function(E){return E&&Array.isArray(E)})(C)?m(C[0]):m(C),((E=20)=>new Promise(w=>setTimeout(w,E)))(600).then(()=>h.value=!h.value))}const g=R(()=>({cursor:"pointer",marginLeft:"4px",verticalAlign:"sub"})),b=R(()=>C=>r.value===C&&h.value?i:a);return()=>{var C;return hn(be(TP,tn(e,n,{"element-loading-text":(C=F(c).text)!=null?C:"Loading...","element-loading-svg":F(c).svg,"element-loading-spinner":F(c).spinner,"element-loading-svg-view-box":F(c).svgViewBox,"element-loading-background":F(c).background}),Te({default:()=>[F(l).map((y,E)=>{let w=F(o).map(k=>k[y==null?void 0:y.prop]);const S={default:()=>{var k;return y!=null&&y.cellRenderer?be(xre,{render:y.cellRenderer,params:{props:e,attrs:n,index:E,value:w[0]}},null):y!=null&&y.slot?(k=t==null?void 0:t[y.slot])==null?void 0:k.call(t,{props:e,attrs:n,index:E,value:w[0]}):be(kt,null,y!=null&&y.value?[F(y.value),F(y==null?void 0:y.copy)&&be("img",{src:b.value(E),style:g.value,onClick:()=>v(F(y.value),E)},null)]:[w,(y==null?void 0:y.copy)&&be("img",{src:b.value(E),style:g.value,onClick:()=>v(w,E)},null)])}},A=y!=null&&y.labelRenderer?Te({label:()=>be(xre,{render:y.labelRenderer,params:{props:e,attrs:n,index:E,value:w[0]}},null)},S):S;return(function(k){return typeof k=="function"})(y==null?void 0:y.hide)&&(y!=null&&y.hide(n))?y==null?void 0:y.hide(n):be(Yue,tn(y,{key:E,align:y.align?y.align:F(s),labelAlign:y.labelAlign?y.labelAlign:F(u)}),typeof(D=A)=="function"||Object.prototype.toString.call(D)==="[object Object]"&&!sr(D)?A:{default:()=>[A]});var D})]},p)),[[q0("loading"),F(c).load]])}}}),CAt=Object.assign(Ox,{install:function(e){e.component(Ox.name,Ox)}});window._iconfont_svg_string_2208059='',(function(e){var n=(n=document.getElementsByTagName("script"))[n.length-1],t=n.getAttribute("data-injectcss"),n=n.getAttribute("data-disable-injectsvg");if(!n){var r,a,i,o,l,s=function(d,f){f.parentNode.insertBefore(d,f)};if(t&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(d){console&&console.log(d)}}r=function(){var d,f=document.createElement("div");f.innerHTML=e._iconfont_svg_string_2208059,(f=f.getElementsByTagName("svg")[0])&&(f.style.position="absolute",f.style.width=0,f.style.height=0,f.style.overflow="hidden",f=f,(d=document.body).firstChild?s(f,d.firstChild):d.appendChild(f))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(r,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),r()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(i=r,o=e.document,l=!1,c(),o.onreadystatechange=function(){o.readyState=="complete"&&(o.onreadystatechange=null,u())})}function u(){l||(l=!0,i())}function c(){try{o.documentElement.doScroll("left")}catch(d){return void setTimeout(c,50)}u()}})(window);const FAt={mounted(e,t){var r;const{value:n}=t;if(n)!jpe(n)&&((r=e.parentNode)==null||r.removeChild(e));else throw new Error(`[Directive: auth]: need auths! Like v-auth="['btn.add','btn.edit']"`)}},EAt={mounted(e,t){var r;const{value:n}=t;if(n){e.copyValue=n;const a=(r=t.arg)!=null?r:"dblclick";qs(e,a,()=>{dM(e.copyValue)?VB("复制成功",{type:"success"}):VB("复制失败",{type:"error"})})}else throw new Error('[Directive: copy]: need value! Like v-copy="modelValue"')},updated(e,t){e.copyValue=t.value}},wAt={mounted(e,t){var r,a;const n=t.value;if(n&&pd(n)){let i=null,o=null,l=500,s=null;const u=(a=(r=t==null?void 0:t.arg)==null?void 0:r.includes(":"))!=null?a:!1;u?(l=Number(joe(t.arg,":")),s=Number(aDe(t.arg,":"))):t.arg&&(l=Number(t.arg));const c=()=>{i&&(clearTimeout(i),i=null),o&&(clearInterval(o),o=null)},d=p=>{p.preventDefault(),o===null&&(o=setInterval(()=>n(),s))};qs(e,"pointerdown",p=>{c(),p.preventDefault(),i===null&&(i=setTimeout(u?()=>{n(),d(p)}:()=>n(),l))}),qs(e,"pointerup",c),qs(e,"pointerleave",c)}else throw new Error('[Directive: longpress]: need callback and callback must be a function! Like v-longpress="callback"')}},SAt={mounted(e,t){var i,o,l,s;const{value:n}=t,r=(i=t.arg)!=null?i:"debounce",a=["debounce","throttle"].find(u=>u===r);if(a)if(n&&n.event&&pd(n.fn)){let u=n==null?void 0:n.params;if(u)if(ap(u)||Q1(u))u=Q1(u)?Array.of(u):u;else throw new Error("[Directive: optimize]: `params` must be an array or object");qs(e,n.event,a==="debounce"?EO(u?()=>n.fn(...u):n.fn,(o=n==null?void 0:n.timeout)!=null?o:200,(l=n==null?void 0:n.immediate)!=null?l:!1):QAe(u?()=>n.fn(...u):n.fn,(s=n==null?void 0:n.timeout)!=null?s:1e3))}else throw new Error("[Directive: optimize]: `event` and `fn` are required, and `fn` must be a function");else throw new Error("[Directive: optimize]: only `debounce` and `throttle` are supported")}},AAt={mounted(e,t){var r;const{value:n}=t;if(n)!Kpe(n)&&((r=e.parentNode)==null||r.removeChild(e));else throw new Error(`[Directive: perms]: need perms! Like v-perms="['btn.add','btn.edit']"`)}};function Bre(e,t){e.style.transform=t,e.style.webkitTransform=t}const DAt=(e,t,n={})=>{var f;const r=t.getBoundingClientRect(),a=e.clientX-r.left,i=e.clientY-r.top;let o=0,l=.3;(f=t._ripple)!=null&&f.circle?(l=.15,o=t.clientWidth/2,o=n.center?o:o+Math.sqrt(Gl(a-o,2)+Gl(i-o,2))/4):o=Math.sqrt(Gl(t.clientWidth,2)+Gl(t.clientHeight,2))/2;const s=`${(t.clientWidth-o*2)/2}px`,u=`${(t.clientHeight-o*2)/2}px`,c=n.center?s:`${a-o}px`,d=n.center?u:`${i-o}px`;return{radius:o,scale:l,x:c,y:d,centerX:s,centerY:u}},_V={show(e,t,n={}){var p;if(!((p=t==null?void 0:t._ripple)!=null&&p.enabled))return;const r=document.createElement("span"),a=document.createElement("span");r.appendChild(a),r.className="v-ripple__container",n.class&&(r.className+=` ${n.class}`);const{radius:i,scale:o,x:l,y:s,centerX:u,centerY:c}=DAt(e,t,n),d=`${i*2}px`;a.className="v-ripple__animation",a.style.width=d,a.style.height=d,t.appendChild(r);const f=window.getComputedStyle(t);f&&f.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),Bre(a,`translate(${l}, ${s}) scale3d(${o},${o},${o})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),Bre(a,`translate(${u}, ${c}) scale3d(1,1,1)`)},0)},hide(e){var i;if(!((i=e==null?void 0:e._ripple)!=null&&i.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const r=performance.now()-Number(n.dataset.activated),a=Math.max(250-r,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var l;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((l=n.parentNode)==null?void 0:l.parentNode)===e&&e.removeChild(n.parentNode)},300)},a)}};function T2e(e){return typeof e=="undefined"||!!e}function k2e(e){const t={},n=e.currentTarget;!(n!=null&&n._ripple)||n._ripple.touched||(t.center=n._ripple.centered,n._ripple.class&&(t.class=n._ripple.class),_V.show(e,n,t))}function _2e(e){const t=e.currentTarget;t!=null&&t._ripple&&(window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),_V.hide(t))}function x2e(e,t,n){var o;const{value:r,modifiers:a}=t,i=T2e(r);i||_V.hide(e),e._ripple=(o=e._ripple)!=null?o:{},e._ripple.enabled=i,e._ripple.centered=a.center,e._ripple.circle=a.circle,Q1(r)&&r.class&&(e._ripple.class=r.class),i&&!n?(e.addEventListener("pointerdown",k2e),e.addEventListener("pointerup",_2e)):!i&&n&&M2e(e)}function M2e(e){e.removeEventListener("pointerdown",k2e),e.removeEventListener("pointerup",_2e)}function TAt(e,t){x2e(e,t,!1)}function kAt(e){delete e._ripple,M2e(e)}function _At(e,t){if(t.value===t.oldValue)return;const n=T2e(t.oldValue);x2e(e,t,n)}const xAt={mounted:TAt,unmounted:kAt,updated:_At},Rre=Object.freeze(Object.defineProperty({__proto__:null,Ripple:xAt,auth:FAt,copy:EAt,longpress:wAt,optimize:SAt,perms:AAt},Symbol.toStringTag,{value:"Module"})),B2e=Object.freeze({left:0,top:0,width:16,height:16}),R2e=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),xV=Object.freeze(Te(Te({},B2e),R2e));Object.freeze(Et(Te({},xV),{body:"",hidden:!1}));Te({},B2e);const L2e=Object.freeze({width:null,height:null}),O2e=Object.freeze(Te(Te({},L2e),R2e));function MAt(e,t){const n=Te({},e);for(const r in t){const a=t[r],i=typeof a;r in L2e?(a===null||a&&(i==="string"||i==="number"))&&(n[r]=a):i===typeof n[r]&&(n[r]=r==="rotate"?a%4:a)}return n}const BAt=/[\s,]+/;function RAt(e,t){t.split(BAt).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function LAt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(a){for(;a<0;)a+=4;return a%4}if(n===""){const a=parseInt(e);return isNaN(a)?0:r(a)}else if(n!==e){let a=0;switch(n){case"%":a=25;break;case"deg":a=90}if(a){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/a,i%1===0?r(i):0)}}return t}const OAt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,PAt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Lre(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(OAt);if(r===null||!r.length)return e;const a=[];let i=r.shift(),o=PAt.test(i);for(;;){if(o){const l=parseFloat(i);isNaN(l)?a.push(i):a.push(Math.ceil(l*t*n)/n)}else a.push(i);if(i=r.shift(),i===void 0)return a.join("");o=!o}}function IAt(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const a=e.indexOf(">",r),i=e.indexOf("",i);if(o===-1)break;n+=e.slice(a+1,i).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function NAt(e,t){return e?""+e+""+t:t}function $At(e,t,n){const r=IAt(e);return NAt(r.defs,t+r.content+n)}const VAt=e=>e==="unset"||e==="undefined"||e==="none";function HAt(e,t){const n=Te(Te({},xV),e),r=Te(Te({},O2e),t),a={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(m=>{const v=[],g=m.hFlip,b=m.vFlip;let C=m.rotate;g?b?C+=2:(v.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),v.push("scale(-1 1)"),a.top=a.left=0):b&&(v.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),v.push("scale(1 -1)"),a.top=a.left=0);let y;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:y=a.height/2+a.top,v.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:v.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:y=a.width/2+a.left,v.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}C%2===1&&(a.left!==a.top&&(y=a.left,a.left=a.top,a.top=y),a.width!==a.height&&(y=a.width,a.width=a.height,a.height=y)),v.length&&(i=$At(i,'',""))});const o=r.width,l=r.height,s=a.width,u=a.height;let c,d;o===null?(d=l===null?"1em":l==="auto"?u:l,c=Lre(d,s/u)):(c=o==="auto"?s:o,d=l===null?Lre(c,u/s):l==="auto"?u:l);const f={},p=(m,v)=>{VAt(v)||(f[m]=v.toString())};p("width",c),p("height",d);const h=[a.left,a.top,s,u];return f.viewBox=h.join(" "),{attributes:f,viewBox:h,body:i}}const zAt=/\sid="(\S+)"/g,WAt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let GAt=0;function jAt(e,t=WAt){const n=[];let r;for(;r=zAt.exec(e);)n.push(r[1]);if(!n.length)return e;const a="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const o=typeof t=="function"?t(i):t+(GAt++).toString(),l=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+o+a+"$3")}),e=e.replace(new RegExp(a,"g"),""),e}function KAt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function UAt(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function qAt(e){return"data:image/svg+xml,"+UAt(e)}function YAt(e){return'url("'+qAt(e)+'")'}const Ore=Et(Te({},O2e),{inline:!1}),JAt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},XAt={display:"inline-block"},HL={backgroundColor:"currentColor"},P2e={backgroundColor:"transparent"},Pre={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ire={webkitMask:HL,mask:HL,background:P2e};for(const e in Ire){const t=Ire[e];for(const n in Pre)t[e+n]=Pre[n]}const R7={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";R7[e+"-flip"]=t,R7[e.slice(0,1)+"-flip"]=t,R7[e+"Flip"]=t});function Nre(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const ZAt=(e,t)=>{const n=MAt(Ore,t),r=Te({},JAt),a=t.mode||"svg",i={},o=t.style,l=typeof o=="object"&&!(o instanceof Array)?o:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&RAt(n,v);break;case"color":i.color=v;break;case"rotate":typeof v=="string"?n[m]=LAt(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const g=R7[m];g?(v===!0||v==="true"||v===1)&&(n[g]=!0):Ore[m]===void 0&&(r[m]=v)}}}const s=HAt(e,n),u=s.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),a==="svg"){r.style=Te(Te({},i),l),Object.assign(r,u);let m=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),r.innerHTML=jAt(s.body,v?()=>v+"ID"+m++:"iconifyVue"),W("svg",r)}const{body:c,width:d,height:f}=e,p=a==="mask"||(a==="bg"?!1:c.indexOf("currentColor")!==-1),h=KAt(c,Et(Te({},u),{width:d+"",height:f+""}));return r.style=Te(Te(Te(Et(Te({},i),{"--svg":YAt(h),width:Nre(u.width),height:Nre(u.height)}),XAt),p?HL:P2e),l),W("span",r)},I2e=Object.create(null);function QAt(e,t){I2e[e]=t}const $re=Ve({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?I2e[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:ZAt(Te(Te({},xV),n),e)}}),eDt=Ve({name:"IconifyIconOffline",components:{IconifyIcon:$re},props:{icon:{default:null}},render(){typeof this.icon=="object"&&QAt(this.icon,this.icon);const e=this.$attrs;return typeof this.icon=="string"?W($re,Te({icon:this.icon,"aria-hidden":!1,style:e!=null&&e.style?Object.assign(e.style,{outline:"none"}):{outline:"none"}},e),{default:()=>[]}):W(this.icon,Te({"aria-hidden":!1,style:e!=null&&e.style?Object.assign(e.style,{outline:"none"}):{outline:"none"}},e),{default:()=>[]})}}),N2e=/^[a-z0-9]+(-[a-z0-9]+)*$/,nE=(e,t,n,r="")=>{const a=e.split(":");if(e.slice(0,1)==="@"){if(a.length<2||a.length>3)return null;r=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){const l=a.pop(),s=a.pop(),u={provider:a.length>0?a[0]:r,prefix:s,name:l};return t&&!L7(u)?null:u}const i=a[0],o=i.split("-");if(o.length>1){const l={provider:r,prefix:o.shift(),name:o.join("-")};return t&&!L7(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:i};return t&&!L7(l,n)?null:l}return null},L7=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,$2e=Object.freeze({left:0,top:0,width:16,height:16}),zC=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),rE=Object.freeze(Te(Te({},$2e),zC)),zL=Object.freeze(Et(Te({},rE),{body:"",hidden:!1}));function tDt(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Vre(e,t){const n=tDt(e,t);for(const r in zL)r in zC?r in e&&!(r in n)&&(n[r]=zC[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function nDt(e,t){const n=e.icons,r=e.aliases||Object.create(null),a=Object.create(null);function i(o){if(n[o])return a[o]=[];if(!(o in a)){a[o]=null;const l=r[o]&&r[o].parent,s=l&&i(l);s&&(a[o]=[l].concat(s))}return a[o]}return Object.keys(n).concat(Object.keys(r)).forEach(i),a}function rDt(e,t,n){const r=e.icons,a=e.aliases||Object.create(null);let i={};function o(l){i=Vre(r[l]||a[l],i)}return o(t),n.forEach(o),Vre(e,i)}function V2e(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(a=>{t(a,null),n.push(a)});const r=nDt(e);for(const a in r){const i=r[a];i&&(t(a,rDt(e,a,i)),n.push(a))}return n}const aDt=Te({provider:"",aliases:{},not_found:{}},$2e);function Px(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function H2e(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Px(e,aDt))return null;const n=t.icons;for(const a in n){const i=n[a];if(!a||typeof i.body!="string"||!Px(i,zL))return null}const r=t.aliases||Object.create(null);for(const a in r){const i=r[a],o=i.parent;if(!a||typeof o!="string"||!n[o]&&!r[o]||!Px(i,zL))return null}return t}const Hre=Object.create(null);function iDt(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function zm(e,t){const n=Hre[e]||(Hre[e]=Object.create(null));return n[t]||(n[t]=iDt(e,t))}function MV(e,t){return H2e(t)?V2e(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function oDt(e,t,n){try{if(typeof n.body=="string")return e.icons[t]=Te({},n),!0}catch(r){}return!1}let f5=!1;function z2e(e){return typeof e=="boolean"&&(f5=e),f5}function lDt(e){const t=typeof e=="string"?nE(e,!0,f5):e;if(t){const n=zm(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function sDt(e,t){const n=nE(e,!0,f5);if(!n)return!1;const r=zm(n.provider,n.prefix);return t?oDt(r,n.name,t):(r.missing.add(n.name),!0)}function uDt(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),f5&&!t&&!e.prefix){let a=!1;return H2e(e)&&(e.prefix="",V2e(e,(i,o)=>{sDt(i,o)&&(a=!0)})),a}const n=e.prefix;if(!L7({prefix:n,name:"a"}))return!1;const r=zm(t,n);return!!MV(r,e)}const W2e=Object.freeze({width:null,height:null}),G2e=Object.freeze(Te(Te({},W2e),zC)),cDt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,dDt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function zre(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(cDt);if(r===null||!r.length)return e;const a=[];let i=r.shift(),o=dDt.test(i);for(;;){if(o){const l=parseFloat(i);isNaN(l)?a.push(i):a.push(Math.ceil(l*t*n)/n)}else a.push(i);if(i=r.shift(),i===void 0)return a.join("");o=!o}}function fDt(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const a=e.indexOf(">",r),i=e.indexOf("",i);if(o===-1)break;n+=e.slice(a+1,i).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function pDt(e,t){return e?""+e+""+t:t}function hDt(e,t,n){const r=fDt(e);return pDt(r.defs,t+r.content+n)}const mDt=e=>e==="unset"||e==="undefined"||e==="none";function vDt(e,t){const n=Te(Te({},rE),e),r=Te(Te({},G2e),t),a={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,r].forEach(m=>{const v=[],g=m.hFlip,b=m.vFlip;let C=m.rotate;g?b?C+=2:(v.push("translate("+(a.width+a.left).toString()+" "+(0-a.top).toString()+")"),v.push("scale(-1 1)"),a.top=a.left=0):b&&(v.push("translate("+(0-a.left).toString()+" "+(a.height+a.top).toString()+")"),v.push("scale(1 -1)"),a.top=a.left=0);let y;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:y=a.height/2+a.top,v.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:v.unshift("rotate(180 "+(a.width/2+a.left).toString()+" "+(a.height/2+a.top).toString()+")");break;case 3:y=a.width/2+a.left,v.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}C%2===1&&(a.left!==a.top&&(y=a.left,a.left=a.top,a.top=y),a.width!==a.height&&(y=a.width,a.width=a.height,a.height=y)),v.length&&(i=hDt(i,'',""))});const o=r.width,l=r.height,s=a.width,u=a.height;let c,d;o===null?(d=l===null?"1em":l==="auto"?u:l,c=zre(d,s/u)):(c=o==="auto"?s:o,d=l===null?zre(c,u/s):l==="auto"?u:l);const f={},p=(m,v)=>{mDt(v)||(f[m]=v.toString())};p("width",c),p("height",d);const h=[a.left,a.top,s,u];return f.viewBox=h.join(" "),{attributes:f,viewBox:h,body:i}}const gDt=/\sid="(\S+)"/g,yDt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let bDt=0;function CDt(e,t=yDt){const n=[];let r;for(;r=gDt.exec(e);)n.push(r[1]);if(!n.length)return e;const a="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const o=typeof t=="function"?t(i):t+(bDt++).toString(),l=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+o+a+"$3")}),e=e.replace(new RegExp(a,"g"),""),e}const WL=Object.create(null);function FDt(e,t){WL[e]=t}function GL(e){return WL[e]||WL[""]}function BV(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const RV=Object.create(null),ky=["https://api.simplesvg.com","https://api.unisvg.com"],O7=[];for(;ky.length>0;)ky.length===1||Math.random()>.5?O7.push(ky.shift()):O7.push(ky.pop());RV[""]=BV({resources:["https://api.iconify.design"].concat(O7)});function EDt(e,t){const n=BV(t);return n===null?!1:(RV[e]=n,!0)}function LV(e){return RV[e]}const wDt=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch(t){}};let Wre=wDt();function SDt(e,t){const n=LV(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let a=0;n.resources.forEach(o=>{a=Math.max(a,o.length)});const i=t+".json?icons=";r=n.maxURL-a-n.path.length-i.length}return r}function ADt(e){return e===404}const DDt=(e,t,n)=>{const r=[],a=SDt(e,t),i="icons";let o={type:i,provider:e,prefix:t,icons:[]},l=0;return n.forEach((s,u)=>{l+=s.length+1,l>=a&&u>0&&(r.push(o),o={type:i,provider:e,prefix:t,icons:[]},l=s.length),o.icons.push(s)}),r.push(o),r};function TDt(e){if(typeof e=="string"){const t=LV(e);if(t)return t.path}return"/"}const kDt=(e,t,n)=>{if(!Wre){n("abort",424);return}let r=TDt(t.provider);switch(t.type){case"icons":{const i=t.prefix,l=t.icons.join(","),s=new URLSearchParams({icons:l});r+=i+".json?"+s.toString();break}case"custom":{const i=t.uri;r+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let a=503;Wre(e+r).then(i=>{const o=i.status;if(o!==200){setTimeout(()=>{n(ADt(o)?"abort":"next",o)});return}return a=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",a)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",a)})},_Dt={prepare:DDt,send:kDt};function xDt(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((a,i)=>a.provider!==i.provider?a.provider.localeCompare(i.provider):a.prefix!==i.prefix?a.prefix.localeCompare(i.prefix):a.name.localeCompare(i.name));let r={provider:"",prefix:"",name:""};return e.forEach(a=>{if(r.name===a.name&&r.prefix===a.prefix&&r.provider===a.provider)return;r=a;const i=a.provider,o=a.prefix,l=a.name,s=n[i]||(n[i]=Object.create(null)),u=s[o]||(s[o]=zm(i,o));let c;l in u.icons?c=t.loaded:o===""||u.missing.has(l)?c=t.missing:c=t.pending;const d={provider:i,prefix:o,name:l};c.push(d)}),t}function j2e(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(a=>a.id!==t))})}function MDt(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,a=e.prefix;t.forEach(i=>{const o=i.icons,l=o.pending.length;o.pending=o.pending.filter(s=>{if(s.prefix!==a)return!0;const u=s.name;if(e.icons[u])o.loaded.push({provider:r,prefix:a,name:u});else if(e.missing.has(u))o.missing.push({provider:r,prefix:a,name:u});else return n=!0,!0;return!1}),o.pending.length!==l&&(n||j2e([e],i.id),i.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),i.abort))})}))}let BDt=0;function RDt(e,t,n){const r=BDt++,a=j2e.bind(null,n,r);if(!t.pending.length)return a;const i={id:r,icons:t,callback:e,abort:a};return n.forEach(o=>{(o.loaderCallbacks||(o.loaderCallbacks=[])).push(i)}),a}function LDt(e,t=!0,n=!1){const r=[];return e.forEach(a=>{const i=typeof a=="string"?nE(a,t,n):a;i&&r.push(i)}),r}var ODt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function PDt(e,t,n,r){const a=e.resources.length,i=e.random?Math.floor(Math.random()*a):e.index;let o;if(e.random){let w=e.resources.slice(0);for(o=[];w.length>1;){const S=Math.floor(Math.random()*w.length);o.push(w[S]),w=w.slice(0,S).concat(w.slice(S+1))}o=o.concat(w)}else o=e.resources.slice(i).concat(e.resources.slice(0,i));const l=Date.now();let s="pending",u=0,c,d=null,f=[],p=[];typeof r=="function"&&p.push(r);function h(){d&&(clearTimeout(d),d=null)}function m(){s==="pending"&&(s="aborted"),h(),f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function v(w,S){S&&(p=[]),typeof w=="function"&&p.push(w)}function g(){return{startTime:l,payload:t,status:s,queriesSent:u,queriesPending:f.length,subscribe:v,abort:m}}function b(){s="failed",p.forEach(w=>{w(void 0,c)})}function C(){f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function y(w,S,A){const D=S!=="success";switch(f=f.filter(k=>k!==w),s){case"pending":break;case"failed":if(D||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){c=A,b();return}if(D){c=A,f.length||(o.length?E():b());return}if(h(),C(),!e.random){const k=e.resources.indexOf(w.resource);k!==-1&&k!==e.index&&(e.index=k)}s="completed",p.forEach(k=>{k(A)})}function E(){if(s!=="pending")return;h();const w=o.shift();if(w===void 0){if(f.length){d=setTimeout(()=>{h(),s==="pending"&&(C(),b())},e.timeout);return}b();return}const S={status:"pending",resource:w,callback:(A,D)=>{y(S,A,D)}};f.push(S),u++,d=setTimeout(E,e.rotate),n(w,t,S.callback)}return setTimeout(E),g}function K2e(e){const t=Te(Te({},ODt),e);let n=[];function r(){n=n.filter(l=>l().status==="pending")}function a(l,s,u){const c=PDt(t,l,s,(d,f)=>{r(),u&&u(d,f)});return n.push(c),c}function i(l){return n.find(s=>l(s))||null}return{query:a,find:i,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function Gre(){}const Ix=Object.create(null);function IDt(e){if(!Ix[e]){const t=LV(e);if(!t)return;const n=K2e(t),r={config:t,redundancy:n};Ix[e]=r}return Ix[e]}function NDt(e,t,n){let r,a;if(typeof e=="string"){const i=GL(e);if(!i)return n(void 0,424),Gre;a=i.send;const o=IDt(e);o&&(r=o.redundancy)}else{const i=BV(e);if(i){r=K2e(i);const o=e.resources?e.resources[0]:"",l=GL(o);l&&(a=l.send)}}return!r||!a?(n(void 0,424),Gre):r.query(t,a,n)().abort}const jre="iconify2",p5="iconify",U2e=p5+"-count",Kre=p5+"-version",q2e=36e5,$Dt=168,VDt=50;function jL(e,t){try{return e.getItem(t)}catch(n){}}function OV(e,t,n){try{return e.setItem(t,n),!0}catch(r){}}function Ure(e,t){try{e.removeItem(t)}catch(n){}}function KL(e,t){return OV(e,U2e,t.toString())}function UL(e){return parseInt(jL(e,U2e))||0}const aE={local:!0,session:!0},Y2e={local:new Set,session:new Set};let PV=!1;function HDt(e){PV=e}let S3=typeof window=="undefined"?{}:window;function J2e(e){const t=e+"Storage";try{if(S3&&S3[t]&&typeof S3[t].length=="number")return S3[t]}catch(n){}aE[e]=!1}function X2e(e,t){const n=J2e(e);if(!n)return;const r=jL(n,Kre);if(r!==jre){if(r){const l=UL(n);for(let s=0;s{const s=p5+l.toString(),u=jL(n,s);if(typeof u=="string"){try{const c=JSON.parse(u);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>a&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&t(c,l))return!0}catch(c){}Ure(n,s)}};let o=UL(n);for(let l=o-1;l>=0;l--)i(l)||(l===o-1?(o--,KL(n,o)):Y2e[e].add(l))}function Z2e(){if(!PV){HDt(!0);for(const e in aE)X2e(e,t=>{const n=t.data,r=t.provider,a=n.prefix,i=zm(r,a);if(!MV(i,n).length)return!1;const o=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,o):o,!0})}}function zDt(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in aE)X2e(r,a=>{const i=a.data;return a.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function WDt(e,t){PV||Z2e();function n(r){let a;if(!aE[r]||!(a=J2e(r)))return;const i=Y2e[r];let o;if(i.size)i.delete(o=Array.from(i).shift());else if(o=UL(a),o>=VDt||!KL(a,o+1))return;const l={cached:Math.floor(Date.now()/q2e),provider:e.provider,data:t};return OV(a,p5+o.toString(),JSON.stringify(l))}t.lastModified&&!zDt(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function qre(){}function GDt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,MDt(e)}))}function jDt(e){const t=[],n=[];return e.forEach(r=>{(r.match(N2e)?t:n).push(r)}),{valid:t,invalid:n}}function _y(e,t,n,r){function a(){const i=e.pendingIcons;t.forEach(o=>{i&&i.delete(o),e.icons[o]||e.missing.add(o)})}if(n&&typeof n=="object")try{if(!MV(e,n).length){a();return}r&&WDt(e,n)}catch(i){console.error(i)}a(),GDt(e)}function Yre(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function KDt(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,a=e.iconsToLoad;if(delete e.iconsToLoad,!a||!a.length)return;const i=e.loadIcon;if(e.loadIcons&&(a.length>1||!i)){Yre(e.loadIcons(a,r,n),c=>{_y(e,a,c,!1)});return}if(i){a.forEach(c=>{const d=i(c,r,n);Yre(d,f=>{const p=f?{prefix:r,icons:{[c]:f}}:null;_y(e,[c],p,!1)})});return}const{valid:o,invalid:l}=jDt(a);if(l.length&&_y(e,l,null,!1),!o.length)return;const s=r.match(N2e)?GL(n):null;if(!s){_y(e,o,null,!1);return}s.prepare(n,r,o).forEach(c=>{NDt(n,c,d=>{_y(e,c.icons,d,!0)})})}))}const UDt=(e,t)=>{const n=LDt(e,!0,z2e()),r=xDt(n);if(!r.pending.length){let s=!0;return t&&setTimeout(()=>{s&&t(r.loaded,r.missing,r.pending,qre)}),()=>{s=!1}}const a=Object.create(null),i=[];let o,l;return r.pending.forEach(s=>{const{provider:u,prefix:c}=s;if(c===l&&u===o)return;o=u,l=c,i.push(zm(u,c));const d=a[u]||(a[u]=Object.create(null));d[c]||(d[c]=[])}),r.pending.forEach(s=>{const{provider:u,prefix:c,name:d}=s,f=zm(u,c),p=f.pendingIcons||(f.pendingIcons=new Set);p.has(d)||(p.add(d),a[u][c].push(d))}),i.forEach(s=>{const u=a[s.provider][s.prefix];u.length&&KDt(s,u)}),t?RDt(t,r,i):qre};function qDt(e,t){const n=Te({},e);for(const r in t){const a=t[r],i=typeof a;r in W2e?(a===null||a&&(i==="string"||i==="number"))&&(n[r]=a):i===typeof n[r]&&(n[r]=r==="rotate"?a%4:a)}return n}const YDt=/[\s,]+/;function JDt(e,t){t.split(YDt).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function XDt(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(a){for(;a<0;)a+=4;return a%4}if(n===""){const a=parseInt(e);return isNaN(a)?0:r(a)}else if(n!==e){let a=0;switch(n){case"%":a=25;break;case"deg":a=90}if(a){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/a,i%1===0?r(i):0)}}return t}function ZDt(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function QDt(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function eTt(e){return"data:image/svg+xml,"+QDt(e)}function tTt(e){return'url("'+eTt(e)+'")'}const Jre=Et(Te({},G2e),{inline:!1}),nTt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},rTt={display:"inline-block"},qL={backgroundColor:"currentColor"},Q2e={backgroundColor:"transparent"},Xre={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Zre={webkitMask:qL,mask:qL,background:Q2e};for(const e in Zre){const t=Zre[e];for(const n in Xre)t[e+n]=Xre[n]}const P7={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";P7[e+"-flip"]=t,P7[e.slice(0,1)+"-flip"]=t,P7[e+"Flip"]=t});function Qre(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const eae=(e,t)=>{const n=qDt(Jre,t),r=Te({},nTt),a=t.mode||"svg",i={},o=t.style,l=typeof o=="object"&&!(o instanceof Array)?o:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&JDt(n,v);break;case"color":i.color=v;break;case"rotate":typeof v=="string"?n[m]=XDt(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const g=P7[m];g?(v===!0||v==="true"||v===1)&&(n[g]=!0):Jre[m]===void 0&&(r[m]=v)}}}const s=vDt(e,n),u=s.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),a==="svg"){r.style=Te(Te({},i),l),Object.assign(r,u);let m=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),r.innerHTML=CDt(s.body,v?()=>v+"ID"+m++:"iconifyVue"),W("svg",r)}const{body:c,width:d,height:f}=e,p=a==="mask"||(a==="bg"?!1:c.indexOf("currentColor")!==-1),h=ZDt(c,Et(Te({},u),{width:d+"",height:f+""}));return r.style=Te(Te(Te(Et(Te({},i),{"--svg":tTt(h),width:Qre(u.width),height:Qre(u.height)}),rTt),p?qL:Q2e),l),W("span",r)};z2e(!0);FDt("",_Dt);if(typeof document!="undefined"&&typeof window!="undefined"){Z2e();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!uDt(r))&&console.error(n)}catch(a){console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const a=t[n];if(typeof a!="object"||!a||a.resources===void 0)continue;EDt(n,a)||console.error(r)}catch(a){console.error(r)}}}}const aTt=Et(Te({},rE),{body:""}),tae=Ve({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t,n){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=nE(e,!1,!0))===null)return this.abortLoading(),null;let a=lDt(r);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:e,abort:UDt([r],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e)),n){a=Object.assign({},a);const o=n(a.body,r.name,r.prefix,r.provider);typeof o=="string"&&(a.body=o)}const i=["iconify"];return r.prefix!==""&&i.push("iconify--"+r.prefix),r.provider!==""&&i.push("iconify--"+r.provider),{data:a,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!t)return eae(aTt,e);let n=e;return t.classes&&(n=Et(Te({},e),{class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")})),eae(Te(Te({},rE),t.data),n)}}),iTt=Ve({name:"IconifyIconOnline",components:{IconifyIcon:tae},props:{icon:{type:String,default:""}},render(){const e=this.$attrs;return W(tae,Te({icon:`${this.icon}`,"aria-hidden":!1,style:e!=null&&e.style?Object.assign(e.style,{outline:"none"}):{outline:"none"}},e),{default:()=>[]})}}),oTt={"ep:":["add-location","aim","alarm-clock","apple","arrow-down","arrow-down-bold","arrow-left","arrow-left-bold","arrow-right","arrow-right-bold","arrow-up","arrow-up-bold","avatar","back","baseball","basketball","bell","bell-filled","bicycle","bottom","bottom-left","bottom-right","bowl","box","briefcase","brush","brush-filled","burger","calendar","camera","camera-filled","caret-bottom","caret-left","caret-right","caret-top","cellphone","chat-dot-round","chat-dot-square","chat-line-round","chat-line-square","chat-round","chat-square","check","checked","cherry","chicken","chrome-filled","circle-check","circle-check-filled","circle-close","circle-close-filled","circle-plus","circle-plus-filled","clock","close","close-bold","cloudy","coffee","coffee-cup","coin","cold-drink","collection","collection-tag","comment","compass","connection","coordinate","copy-document","cpu","credit-card","crop","d-arrow-left","d-arrow-right","d-caret","data-analysis","data-board","data-line","delete","delete-filled","delete-location","dessert","discount","dish","dish-dot","document","document-add","document-checked","document-copy","document-delete","document-remove","download","drizzling","edit","edit-pen","eleme","eleme-filled","element-plus","expand","failed","female","files","film","filter","finished","first-aid-kit","flag","fold","folder","folder-add","folder-checked","folder-delete","folder-opened","folder-remove","food","football","fork-spoon","fries","full-screen","goblet","goblet-full","goblet-square","goblet-square-full","gold-medal","goods","goods-filled","grape","grid","guide","handbag","headset","help","help-filled","hide","histogram","home-filled","hot-water","house","ice-cream","ice-cream-round","ice-cream-square","ice-drink","ice-tea","info-filled","iphone","key","knife-fork","lightning","link","list","loading","location","location-filled","location-information","lock","lollipop","magic-stick","magnet","male","management","map-location","medal","memo","menu","message","message-box","mic","microphone","milk-tea","minus","money","monitor","moon","moon-night","more","more-filled","mostly-cloudy","mouse","mug","mute","mute-notification","no-smoking","notebook","notification","odometer","office-building","open","operation","opportunity","orange","paperclip","partly-cloudy","pear","phone","phone-filled","picture","picture-filled","picture-rounded","pie-chart","place","platform","plus","pointer","position","postcard","pouring","present","price-tag","printer","promotion","quartz-watch","question-filled","rank","reading","reading-lamp","refresh","refresh-left","refresh-right","refrigerator","remove","remove-filled","right","scale-to-original","school","scissor","search","select","sell","semi-select","service","set-up","setting","share","ship","shop","shopping-bag","shopping-cart","shopping-cart-full","shopping-trolley","smoking","soccer","sold-out","sort","sort-down","sort-up","stamp","star","star-filled","stopwatch","success-filled","sugar","suitcase","suitcase-line","sunny","sunrise","sunset","switch","switch-button","switch-filled","takeaway-box","ticket","tickets","timer","toilet-paper","tools","top","top-left","top-right","trend-charts","trophy","trophy-base","turn-off","umbrella","unlock","upload","upload-filled","user","user-filled","van","video-camera","video-camera-filled","video-pause","video-play","view","wallet","wallet-filled","warn-triangle-filled","warning","warning-filled","watch","watermelon","wind-power","zoom-in","zoom-out"],"ri:":["24-hours-fill","24-hours-line","4k-fill","4k-line","a-b","account-box-fill","account-box-line","account-circle-fill","account-circle-line","account-pin-box-fill","account-pin-box-line","account-pin-circle-fill","account-pin-circle-line","add-box-fill","add-box-line","add-circle-fill","add-circle-line","add-fill","add-line","admin-fill","admin-line","advertisement-fill","advertisement-line","ai-generate","airplay-fill","airplay-line","alarm-fill","alarm-line","alarm-warning-fill","alarm-warning-line","album-fill","album-line","alert-fill","alert-line","aliens-fill","aliens-line","align-bottom","align-center","align-justify","align-left","align-right","align-top","align-vertically","alipay-fill","alipay-line","amazon-fill","amazon-line","anchor-fill","anchor-line","ancient-gate-fill","ancient-gate-line","ancient-pavilion-fill","ancient-pavilion-line","android-fill","android-line","angularjs-fill","angularjs-line","anticlockwise-2-fill","anticlockwise-2-line","anticlockwise-fill","anticlockwise-line","app-store-fill","app-store-line","apple-fill","apple-line","apps-2-fill","apps-2-line","apps-fill","apps-line","archive-2-fill","archive-2-line","archive-drawer-fill","archive-drawer-line","archive-fill","archive-line","arrow-down-circle-fill","arrow-down-circle-line","arrow-down-double-fill","arrow-down-double-line","arrow-down-fill","arrow-down-line","arrow-down-s-fill","arrow-down-s-line","arrow-drop-down-fill","arrow-drop-down-line","arrow-drop-left-fill","arrow-drop-left-line","arrow-drop-right-fill","arrow-drop-right-line","arrow-drop-up-fill","arrow-drop-up-line","arrow-go-back-fill","arrow-go-back-line","arrow-go-forward-fill","arrow-go-forward-line","arrow-left-circle-fill","arrow-left-circle-line","arrow-left-double-fill","arrow-left-double-line","arrow-left-down-fill","arrow-left-down-line","arrow-left-fill","arrow-left-line","arrow-left-right-fill","arrow-left-right-line","arrow-left-s-fill","arrow-left-s-line","arrow-left-up-fill","arrow-left-up-line","arrow-right-circle-fill","arrow-right-circle-line","arrow-right-double-fill","arrow-right-double-line","arrow-right-down-fill","arrow-right-down-line","arrow-right-fill","arrow-right-line","arrow-right-s-fill","arrow-right-s-line","arrow-right-up-fill","arrow-right-up-line","arrow-turn-back-fill","arrow-turn-back-line","arrow-turn-forward-fill","arrow-turn-forward-line","arrow-up-circle-fill","arrow-up-circle-line","arrow-up-double-fill","arrow-up-double-line","arrow-up-down-fill","arrow-up-down-line","arrow-up-fill","arrow-up-line","arrow-up-s-fill","arrow-up-s-line","artboard-2-fill","artboard-2-line","artboard-fill","artboard-line","article-fill","article-line","aspect-ratio-fill","aspect-ratio-line","asterisk","at-fill","at-line","attachment-2","attachment-fill","attachment-line","auction-fill","auction-line","award-fill","award-line","baidu-fill","baidu-line","ball-pen-fill","ball-pen-line","bank-card-2-fill","bank-card-2-line","bank-card-fill","bank-card-line","bank-fill","bank-line","bar-chart-2-fill","bar-chart-2-line","bar-chart-box-fill","bar-chart-box-line","bar-chart-fill","bar-chart-grouped-fill","bar-chart-grouped-line","bar-chart-horizontal-fill","bar-chart-horizontal-line","bar-chart-line","barcode-box-fill","barcode-box-line","barcode-fill","barcode-line","bard-fill","bard-line","barricade-fill","barricade-line","base-station-fill","base-station-line","basketball-fill","basketball-line","battery-2-charge-fill","battery-2-charge-line","battery-2-fill","battery-2-line","battery-charge-fill","battery-charge-line","battery-fill","battery-line","battery-low-fill","battery-low-line","battery-saver-fill","battery-saver-line","battery-share-fill","battery-share-line","bear-smile-fill","bear-smile-line","beer-fill","beer-line","behance-fill","behance-line","bell-fill","bell-line","bike-fill","bike-line","bilibili-fill","bilibili-line","bill-fill","bill-line","billiards-fill","billiards-line","bit-coin-fill","bit-coin-line","blaze-fill","blaze-line","blender-fill","blender-line","bluetooth-connect-fill","bluetooth-connect-line","bluetooth-fill","bluetooth-line","blur-off-fill","blur-off-line","body-scan-fill","body-scan-line","bold","book-2-fill","book-2-line","book-3-fill","book-3-line","book-fill","book-line","book-mark-fill","book-mark-line","book-open-fill","book-open-line","book-read-fill","book-read-line","booklet-fill","booklet-line","bookmark-2-fill","bookmark-2-line","bookmark-3-fill","bookmark-3-line","bookmark-fill","bookmark-line","bootstrap-fill","bootstrap-line","box-1-fill","box-1-line","box-2-fill","box-2-line","box-3-fill","box-3-line","boxing-fill","boxing-line","braces-fill","braces-line","brackets-fill","brackets-line","brain-fill","brain-line","briefcase-2-fill","briefcase-2-line","briefcase-3-fill","briefcase-3-line","briefcase-4-fill","briefcase-4-line","briefcase-5-fill","briefcase-5-line","briefcase-fill","briefcase-line","bring-forward","bring-to-front","broadcast-fill","broadcast-line","brush-2-fill","brush-2-line","brush-3-fill","brush-3-line","brush-4-fill","brush-4-line","brush-fill","brush-line","bubble-chart-fill","bubble-chart-line","bug-2-fill","bug-2-line","bug-fill","bug-line","building-2-fill","building-2-line","building-3-fill","building-3-line","building-4-fill","building-4-line","building-fill","building-line","bus-2-fill","bus-2-line","bus-fill","bus-line","bus-wifi-fill","bus-wifi-line","cactus-fill","cactus-line","cake-2-fill","cake-2-line","cake-3-fill","cake-3-line","cake-fill","cake-line","calculator-fill","calculator-line","calendar-2-fill","calendar-2-line","calendar-check-fill","calendar-check-line","calendar-close-fill","calendar-close-line","calendar-event-fill","calendar-event-line","calendar-fill","calendar-line","calendar-todo-fill","calendar-todo-line","camera-2-fill","camera-2-line","camera-3-fill","camera-3-line","camera-fill","camera-lens-fill","camera-lens-line","camera-line","camera-off-fill","camera-off-line","camera-switch-fill","camera-switch-line","candle-fill","candle-line","capsule-fill","capsule-line","car-fill","car-line","car-washing-fill","car-washing-line","caravan-fill","caravan-line","cash-fill","cash-line","cast-fill","cast-line","cellphone-fill","cellphone-line","celsius-fill","celsius-line","centos-fill","centos-line","character-recognition-fill","character-recognition-line","charging-pile-2-fill","charging-pile-2-line","charging-pile-fill","charging-pile-line","chat-1-fill","chat-1-line","chat-2-fill","chat-2-line","chat-3-fill","chat-3-line","chat-4-fill","chat-4-line","chat-check-fill","chat-check-line","chat-delete-fill","chat-delete-line","chat-download-fill","chat-download-line","chat-follow-up-fill","chat-follow-up-line","chat-forward-fill","chat-forward-line","chat-heart-fill","chat-heart-line","chat-history-fill","chat-history-line","chat-new-fill","chat-new-line","chat-off-fill","chat-off-line","chat-poll-fill","chat-poll-line","chat-private-fill","chat-private-line","chat-quote-fill","chat-quote-line","chat-settings-fill","chat-settings-line","chat-smile-2-fill","chat-smile-2-line","chat-smile-3-fill","chat-smile-3-line","chat-smile-fill","chat-smile-line","chat-upload-fill","chat-upload-line","chat-voice-fill","chat-voice-line","check-double-fill","check-double-line","check-fill","check-line","checkbox-blank-circle-fill","checkbox-blank-circle-line","checkbox-blank-fill","checkbox-blank-line","checkbox-circle-fill","checkbox-circle-line","checkbox-fill","checkbox-indeterminate-fill","checkbox-indeterminate-line","checkbox-line","checkbox-multiple-blank-fill","checkbox-multiple-blank-line","checkbox-multiple-fill","checkbox-multiple-line","china-railway-fill","china-railway-line","chrome-fill","chrome-line","circle-fill","circle-line","clapperboard-fill","clapperboard-line","clipboard-fill","clipboard-line","clockwise-2-fill","clockwise-2-line","clockwise-fill","clockwise-line","close-circle-fill","close-circle-line","close-fill","close-line","closed-captioning-fill","closed-captioning-line","cloud-fill","cloud-line","cloud-off-fill","cloud-off-line","cloud-windy-fill","cloud-windy-line","cloudy-2-fill","cloudy-2-line","cloudy-fill","cloudy-line","code-box-fill","code-box-line","code-fill","code-line","code-s-fill","code-s-line","code-s-slash-fill","code-s-slash-line","code-view","codepen-fill","codepen-line","coin-fill","coin-line","coins-fill","coins-line","collage-fill","collage-line","command-fill","command-line","community-fill","community-line","compass-2-fill","compass-2-line","compass-3-fill","compass-3-line","compass-4-fill","compass-4-line","compass-discover-fill","compass-discover-line","compass-fill","compass-line","compasses-2-fill","compasses-2-line","compasses-fill","compasses-line","computer-fill","computer-line","contacts-book-2-fill","contacts-book-2-line","contacts-book-fill","contacts-book-line","contacts-book-upload-fill","contacts-book-upload-line","contacts-fill","contacts-line","contract-left-fill","contract-left-line","contract-left-right-fill","contract-left-right-line","contract-right-fill","contract-right-line","contract-up-down-fill","contract-up-down-line","contrast-2-fill","contrast-2-line","contrast-drop-2-fill","contrast-drop-2-line","contrast-drop-fill","contrast-drop-line","contrast-fill","contrast-line","copilot-fill","copilot-line","copper-coin-fill","copper-coin-line","copper-diamond-fill","copper-diamond-line","copyleft-fill","copyleft-line","copyright-fill","copyright-line","coreos-fill","coreos-line","corner-down-left-fill","corner-down-left-line","corner-down-right-fill","corner-down-right-line","corner-left-down-fill","corner-left-down-line","corner-left-up-fill","corner-left-up-line","corner-right-down-fill","corner-right-down-line","corner-right-up-fill","corner-right-up-line","corner-up-left-double-fill","corner-up-left-double-line","corner-up-left-fill","corner-up-left-line","corner-up-right-double-fill","corner-up-right-double-line","corner-up-right-fill","corner-up-right-line","coupon-2-fill","coupon-2-line","coupon-3-fill","coupon-3-line","coupon-4-fill","coupon-4-line","coupon-5-fill","coupon-5-line","coupon-fill","coupon-line","cpu-fill","cpu-line","creative-commons-by-fill","creative-commons-by-line","creative-commons-fill","creative-commons-line","creative-commons-nc-fill","creative-commons-nc-line","creative-commons-nd-fill","creative-commons-nd-line","creative-commons-sa-fill","creative-commons-sa-line","creative-commons-zero-fill","creative-commons-zero-line","criminal-fill","criminal-line","crop-2-fill","crop-2-line","crop-fill","crop-line","cross-fill","cross-line","crosshair-2-fill","crosshair-2-line","crosshair-fill","crosshair-line","css3-fill","css3-line","cup-fill","cup-line","currency-fill","currency-line","cursor-fill","cursor-line","customer-service-2-fill","customer-service-2-line","customer-service-fill","customer-service-line","dashboard-2-fill","dashboard-2-line","dashboard-3-fill","dashboard-3-line","dashboard-fill","dashboard-line","database-2-fill","database-2-line","database-fill","database-line","delete-back-2-fill","delete-back-2-line","delete-back-fill","delete-back-line","delete-bin-2-fill","delete-bin-2-line","delete-bin-3-fill","delete-bin-3-line","delete-bin-4-fill","delete-bin-4-line","delete-bin-5-fill","delete-bin-5-line","delete-bin-6-fill","delete-bin-6-line","delete-bin-7-fill","delete-bin-7-line","delete-bin-fill","delete-bin-line","delete-column","delete-row","device-fill","device-line","device-recover-fill","device-recover-line","dingding-fill","dingding-line","direction-fill","direction-line","disc-fill","disc-line","discord-fill","discord-line","discuss-fill","discuss-line","dislike-fill","dislike-line","disqus-fill","disqus-line","divide-fill","divide-line","donut-chart-fill","donut-chart-line","door-closed-fill","door-closed-line","door-fill","door-line","door-lock-box-fill","door-lock-box-line","door-lock-fill","door-lock-line","door-open-fill","door-open-line","dossier-fill","dossier-line","douban-fill","douban-line","double-quotes-l","double-quotes-r","download-2-fill","download-2-line","download-cloud-2-fill","download-cloud-2-line","download-cloud-fill","download-cloud-line","download-fill","download-line","draft-fill","draft-line","drag-drop-fill","drag-drop-line","drag-move-2-fill","drag-move-2-line","drag-move-fill","drag-move-line","draggable","dribbble-fill","dribbble-line","drive-fill","drive-line","drizzle-fill","drizzle-line","drop-fill","drop-line","dropbox-fill","dropbox-line","dropdown-list","dual-sim-1-fill","dual-sim-1-line","dual-sim-2-fill","dual-sim-2-line","dv-fill","dv-line","dvd-fill","dvd-line","e-bike-2-fill","e-bike-2-line","e-bike-fill","e-bike-line","earth-fill","earth-line","earthquake-fill","earthquake-line","edge-fill","edge-line","edge-new-fill","edge-new-line","edit-2-fill","edit-2-line","edit-box-fill","edit-box-line","edit-circle-fill","edit-circle-line","edit-fill","edit-line","eject-fill","eject-line","emoji-sticker-fill","emoji-sticker-line","emotion-2-fill","emotion-2-line","emotion-fill","emotion-happy-fill","emotion-happy-line","emotion-laugh-fill","emotion-laugh-line","emotion-line","emotion-normal-fill","emotion-normal-line","emotion-sad-fill","emotion-sad-line","emotion-unhappy-fill","emotion-unhappy-line","empathize-fill","empathize-line","emphasis","emphasis-cn","english-input","equal-fill","equal-line","equalizer-fill","equalizer-line","eraser-fill","eraser-line","error-warning-fill","error-warning-line","evernote-fill","evernote-line","exchange-box-fill","exchange-box-line","exchange-cny-fill","exchange-cny-line","exchange-dollar-fill","exchange-dollar-line","exchange-fill","exchange-funds-fill","exchange-funds-line","exchange-line","expand-left-fill","expand-left-line","expand-left-right-fill","expand-left-right-line","expand-right-fill","expand-right-line","expand-up-down-fill","expand-up-down-line","external-link-fill","external-link-line","eye-2-fill","eye-2-line","eye-close-fill","eye-close-line","eye-fill","eye-line","eye-off-fill","eye-off-line","facebook-box-fill","facebook-box-line","facebook-circle-fill","facebook-circle-line","facebook-fill","facebook-line","fahrenheit-fill","fahrenheit-line","feedback-fill","feedback-line","file-2-fill","file-2-line","file-3-fill","file-3-line","file-4-fill","file-4-line","file-add-fill","file-add-line","file-chart-2-fill","file-chart-2-line","file-chart-fill","file-chart-line","file-close-fill","file-close-line","file-cloud-fill","file-cloud-line","file-code-fill","file-code-line","file-copy-2-fill","file-copy-2-line","file-copy-fill","file-copy-line","file-damage-fill","file-damage-line","file-download-fill","file-download-line","file-edit-fill","file-edit-line","file-excel-2-fill","file-excel-2-line","file-excel-fill","file-excel-line","file-fill","file-forbid-fill","file-forbid-line","file-gif-fill","file-gif-line","file-history-fill","file-history-line","file-hwp-fill","file-hwp-line","file-image-fill","file-image-line","file-info-fill","file-info-line","file-line","file-list-2-fill","file-list-2-line","file-list-3-fill","file-list-3-line","file-list-fill","file-list-line","file-lock-fill","file-lock-line","file-mark-fill","file-mark-line","file-music-fill","file-music-line","file-paper-2-fill","file-paper-2-line","file-paper-fill","file-paper-line","file-pdf-2-fill","file-pdf-2-line","file-pdf-fill","file-pdf-line","file-ppt-2-fill","file-ppt-2-line","file-ppt-fill","file-ppt-line","file-reduce-fill","file-reduce-line","file-search-fill","file-search-line","file-settings-fill","file-settings-line","file-shield-2-fill","file-shield-2-line","file-shield-fill","file-shield-line","file-shred-fill","file-shred-line","file-text-fill","file-text-line","file-transfer-fill","file-transfer-line","file-unknow-fill","file-unknow-line","file-upload-fill","file-upload-line","file-user-fill","file-user-line","file-video-fill","file-video-line","file-warning-fill","file-warning-line","file-word-2-fill","file-word-2-line","file-word-fill","file-word-line","file-zip-fill","file-zip-line","film-fill","film-line","filter-2-fill","filter-2-line","filter-3-fill","filter-3-line","filter-fill","filter-line","filter-off-fill","filter-off-line","find-replace-fill","find-replace-line","finder-fill","finder-line","fingerprint-2-fill","fingerprint-2-line","fingerprint-fill","fingerprint-line","fire-fill","fire-line","firefox-fill","firefox-line","first-aid-kit-fill","first-aid-kit-line","flag-2-fill","flag-2-line","flag-fill","flag-line","flashlight-fill","flashlight-line","flask-fill","flask-line","flickr-fill","flickr-line","flight-land-fill","flight-land-line","flight-takeoff-fill","flight-takeoff-line","flood-fill","flood-line","flow-chart","flutter-fill","flutter-line","focus-2-fill","focus-2-line","focus-3-fill","focus-3-line","focus-fill","focus-line","foggy-fill","foggy-line","folder-2-fill","folder-2-line","folder-3-fill","folder-3-line","folder-4-fill","folder-4-line","folder-5-fill","folder-5-line","folder-add-fill","folder-add-line","folder-chart-2-fill","folder-chart-2-line","folder-chart-fill","folder-chart-line","folder-download-fill","folder-download-line","folder-fill","folder-forbid-fill","folder-forbid-line","folder-history-fill","folder-history-line","folder-image-fill","folder-image-line","folder-info-fill","folder-info-line","folder-keyhole-fill","folder-keyhole-line","folder-line","folder-lock-fill","folder-lock-line","folder-music-fill","folder-music-line","folder-open-fill","folder-open-line","folder-received-fill","folder-received-line","folder-reduce-fill","folder-reduce-line","folder-settings-fill","folder-settings-line","folder-shared-fill","folder-shared-line","folder-shield-2-fill","folder-shield-2-line","folder-shield-fill","folder-shield-line","folder-transfer-fill","folder-transfer-line","folder-unknow-fill","folder-unknow-line","folder-upload-fill","folder-upload-line","folder-user-fill","folder-user-line","folder-video-fill","folder-video-line","folder-warning-fill","folder-warning-line","folder-zip-fill","folder-zip-line","folders-fill","folders-line","font-color","font-family","font-mono","font-sans","font-sans-serif","font-size","font-size-2","football-fill","football-line","footprint-fill","footprint-line","forbid-2-fill","forbid-2-line","forbid-fill","forbid-line","format-clear","forward-10-fill","forward-10-line","forward-15-fill","forward-15-line","forward-30-fill","forward-30-line","forward-5-fill","forward-5-line","fridge-fill","fridge-line","fullscreen-exit-fill","fullscreen-exit-line","fullscreen-fill","fullscreen-line","function-fill","function-line","functions","funds-box-fill","funds-box-line","funds-fill","funds-line","gallery-fill","gallery-line","gallery-upload-fill","gallery-upload-line","game-fill","game-line","gamepad-fill","gamepad-line","gas-station-fill","gas-station-line","gatsby-fill","gatsby-line","genderless-fill","genderless-line","ghost-2-fill","ghost-2-line","ghost-fill","ghost-line","ghost-smile-fill","ghost-smile-line","gift-2-fill","gift-2-line","gift-fill","gift-line","git-branch-fill","git-branch-line","git-close-pull-request-fill","git-close-pull-request-line","git-commit-fill","git-commit-line","git-merge-fill","git-merge-line","git-pull-request-fill","git-pull-request-line","git-repository-commits-fill","git-repository-commits-line","git-repository-fill","git-repository-line","git-repository-private-fill","git-repository-private-line","github-fill","github-line","gitlab-fill","gitlab-line","global-fill","global-line","globe-fill","globe-line","goblet-fill","goblet-line","google-fill","google-line","google-play-fill","google-play-line","government-fill","government-line","gps-fill","gps-line","gradienter-fill","gradienter-line","graduation-cap-fill","graduation-cap-line","grid-fill","grid-line","group-2-fill","group-2-line","group-fill","group-line","guide-fill","guide-line","h-1","h-2","h-3","h-4","h-5","h-6","hail-fill","hail-line","hammer-fill","hammer-line","hand-coin-fill","hand-coin-line","hand-heart-fill","hand-heart-line","hand-sanitizer-fill","hand-sanitizer-line","handbag-fill","handbag-line","hard-drive-2-fill","hard-drive-2-line","hard-drive-3-fill","hard-drive-3-line","hard-drive-fill","hard-drive-line","hashtag","haze-2-fill","haze-2-line","haze-fill","haze-line","hd-fill","hd-line","heading","headphone-fill","headphone-line","health-book-fill","health-book-line","heart-2-fill","heart-2-line","heart-3-fill","heart-3-line","heart-add-fill","heart-add-line","heart-fill","heart-line","heart-pulse-fill","heart-pulse-line","hearts-fill","hearts-line","heavy-showers-fill","heavy-showers-line","hexagon-fill","hexagon-line","history-fill","history-line","home-2-fill","home-2-line","home-3-fill","home-3-line","home-4-fill","home-4-line","home-5-fill","home-5-line","home-6-fill","home-6-line","home-7-fill","home-7-line","home-8-fill","home-8-line","home-fill","home-gear-fill","home-gear-line","home-heart-fill","home-heart-line","home-line","home-office-fill","home-office-line","home-smile-2-fill","home-smile-2-line","home-smile-fill","home-smile-line","home-wifi-fill","home-wifi-line","honor-of-kings-fill","honor-of-kings-line","honour-fill","honour-line","hospital-fill","hospital-line","hotel-bed-fill","hotel-bed-line","hotel-fill","hotel-line","hotspot-fill","hotspot-line","hourglass-2-fill","hourglass-2-line","hourglass-fill","hourglass-line","hq-fill","hq-line","html5-fill","html5-line","ie-fill","ie-line","image-2-fill","image-2-line","image-add-fill","image-add-line","image-edit-fill","image-edit-line","image-fill","image-line","inbox-2-fill","inbox-2-line","inbox-archive-fill","inbox-archive-line","inbox-fill","inbox-line","inbox-unarchive-fill","inbox-unarchive-line","increase-decrease-fill","increase-decrease-line","indent-decrease","indent-increase","indeterminate-circle-fill","indeterminate-circle-line","infinity-fill","infinity-line","information-fill","information-line","infrared-thermometer-fill","infrared-thermometer-line","ink-bottle-fill","ink-bottle-line","input-cursor-move","input-method-fill","input-method-line","insert-column-left","insert-column-right","insert-row-bottom","insert-row-top","instagram-fill","instagram-line","install-fill","install-line","instance-fill","instance-line","invision-fill","invision-line","italic","javascript-fill","javascript-line","kakao-talk-fill","kakao-talk-line","key-2-fill","key-2-line","key-fill","key-line","keyboard-box-fill","keyboard-box-line","keyboard-fill","keyboard-line","keynote-fill","keynote-line","kick-fill","kick-line","knife-blood-fill","knife-blood-line","knife-fill","knife-line","landscape-fill","landscape-line","layout-2-fill","layout-2-line","layout-3-fill","layout-3-line","layout-4-fill","layout-4-line","layout-5-fill","layout-5-line","layout-6-fill","layout-6-line","layout-bottom-2-fill","layout-bottom-2-line","layout-bottom-fill","layout-bottom-line","layout-column-fill","layout-column-line","layout-fill","layout-grid-fill","layout-grid-line","layout-left-2-fill","layout-left-2-line","layout-left-fill","layout-left-line","layout-line","layout-masonry-fill","layout-masonry-line","layout-right-2-fill","layout-right-2-line","layout-right-fill","layout-right-line","layout-row-fill","layout-row-line","layout-top-2-fill","layout-top-2-line","layout-top-fill","layout-top-line","leaf-fill","leaf-line","lifebuoy-fill","lifebuoy-line","lightbulb-fill","lightbulb-flash-fill","lightbulb-flash-line","lightbulb-line","line-chart-fill","line-chart-line","line-fill","line-height","line-line","link","link-m","link-unlink","link-unlink-m","linkedin-box-fill","linkedin-box-line","linkedin-fill","linkedin-line","links-fill","links-line","list-check","list-check-2","list-check-3","list-indefinite","list-ordered","list-ordered-2","list-radio","list-settings-fill","list-settings-line","list-unordered","live-fill","live-line","loader-2-fill","loader-2-line","loader-3-fill","loader-3-line","loader-4-fill","loader-4-line","loader-5-fill","loader-5-line","loader-fill","loader-line","lock-2-fill","lock-2-line","lock-fill","lock-line","lock-password-fill","lock-password-line","lock-unlock-fill","lock-unlock-line","login-box-fill","login-box-line","login-circle-fill","login-circle-line","logout-box-fill","logout-box-line","logout-box-r-fill","logout-box-r-line","logout-circle-fill","logout-circle-line","logout-circle-r-fill","logout-circle-r-line","loop-left-fill","loop-left-line","loop-right-fill","loop-right-line","luggage-cart-fill","luggage-cart-line","luggage-deposit-fill","luggage-deposit-line","lungs-fill","lungs-line","mac-fill","mac-line","macbook-fill","macbook-line","magic-fill","magic-line","mail-add-fill","mail-add-line","mail-check-fill","mail-check-line","mail-close-fill","mail-close-line","mail-download-fill","mail-download-line","mail-fill","mail-forbid-fill","mail-forbid-line","mail-line","mail-lock-fill","mail-lock-line","mail-open-fill","mail-open-line","mail-send-fill","mail-send-line","mail-settings-fill","mail-settings-line","mail-star-fill","mail-star-line","mail-unread-fill","mail-unread-line","mail-volume-fill","mail-volume-line","map-2-fill","map-2-line","map-fill","map-line","map-pin-2-fill","map-pin-2-line","map-pin-3-fill","map-pin-3-line","map-pin-4-fill","map-pin-4-line","map-pin-5-fill","map-pin-5-line","map-pin-add-fill","map-pin-add-line","map-pin-fill","map-pin-line","map-pin-range-fill","map-pin-range-line","map-pin-time-fill","map-pin-time-line","map-pin-user-fill","map-pin-user-line","mark-pen-fill","mark-pen-line","markdown-fill","markdown-line","markup-fill","markup-line","mastercard-fill","mastercard-line","mastodon-fill","mastodon-line","medal-2-fill","medal-2-line","medal-fill","medal-line","medicine-bottle-fill","medicine-bottle-line","medium-fill","medium-line","megaphone-fill","megaphone-line","memories-fill","memories-line","men-fill","men-line","mental-health-fill","mental-health-line","menu-2-fill","menu-2-line","menu-3-fill","menu-3-line","menu-4-fill","menu-4-line","menu-5-fill","menu-5-line","menu-add-fill","menu-add-line","menu-fill","menu-fold-fill","menu-fold-line","menu-line","menu-search-fill","menu-search-line","menu-unfold-fill","menu-unfold-line","merge-cells-horizontal","merge-cells-vertical","message-2-fill","message-2-line","message-3-fill","message-3-line","message-fill","message-line","messenger-fill","messenger-line","meta-fill","meta-line","meteor-fill","meteor-line","mic-2-fill","mic-2-line","mic-fill","mic-line","mic-off-fill","mic-off-line","mickey-fill","mickey-line","microscope-fill","microscope-line","microsoft-fill","microsoft-line","microsoft-loop-fill","microsoft-loop-line","mind-map","mini-program-fill","mini-program-line","mist-fill","mist-line","money-cny-box-fill","money-cny-box-line","money-cny-circle-fill","money-cny-circle-line","money-dollar-box-fill","money-dollar-box-line","money-dollar-circle-fill","money-dollar-circle-line","money-euro-box-fill","money-euro-box-line","money-euro-circle-fill","money-euro-circle-line","money-pound-box-fill","money-pound-box-line","money-pound-circle-fill","money-pound-circle-line","moon-clear-fill","moon-clear-line","moon-cloudy-fill","moon-cloudy-line","moon-fill","moon-foggy-fill","moon-foggy-line","moon-line","more-2-fill","more-2-line","more-fill","more-line","motorbike-fill","motorbike-line","mouse-fill","mouse-line","movie-2-fill","movie-2-line","movie-fill","movie-line","music-2-fill","music-2-line","music-fill","music-line","mv-fill","mv-line","navigation-fill","navigation-line","netease-cloud-music-fill","netease-cloud-music-line","netflix-fill","netflix-line","newspaper-fill","newspaper-line","nft-fill","nft-line","node-tree","notification-2-fill","notification-2-line","notification-3-fill","notification-3-line","notification-4-fill","notification-4-line","notification-badge-fill","notification-badge-line","notification-fill","notification-line","notification-off-fill","notification-off-line","notion-fill","notion-line","npmjs-fill","npmjs-line","number-0","number-1","number-2","number-3","number-4","number-5","number-6","number-7","number-8","number-9","numbers-fill","numbers-line","nurse-fill","nurse-line","octagon-fill","octagon-line","oil-fill","oil-line","omega","open-arm-fill","open-arm-line","open-source-fill","open-source-line","openai-fill","openai-line","openbase-fill","openbase-line","opera-fill","opera-line","order-play-fill","order-play-line","organization-chart","outlet-2-fill","outlet-2-line","outlet-fill","outlet-line","overline","p2p-fill","p2p-line","page-separator","pages-fill","pages-line","paint-brush-fill","paint-brush-line","paint-fill","paint-line","palette-fill","palette-line","pantone-fill","pantone-line","paragraph","parent-fill","parent-line","parentheses-fill","parentheses-line","parking-box-fill","parking-box-line","parking-fill","parking-line","pass-expired-fill","pass-expired-line","pass-pending-fill","pass-pending-line","pass-valid-fill","pass-valid-line","passport-fill","passport-line","patreon-fill","patreon-line","pause-circle-fill","pause-circle-line","pause-fill","pause-line","pause-mini-fill","pause-mini-line","paypal-fill","paypal-line","pen-nib-fill","pen-nib-line","pencil-fill","pencil-line","pencil-ruler-2-fill","pencil-ruler-2-line","pencil-ruler-fill","pencil-ruler-line","pentagon-fill","pentagon-line","percent-fill","percent-line","phone-camera-fill","phone-camera-line","phone-fill","phone-find-fill","phone-find-line","phone-line","phone-lock-fill","phone-lock-line","picture-in-picture-2-fill","picture-in-picture-2-line","picture-in-picture-exit-fill","picture-in-picture-exit-line","picture-in-picture-fill","picture-in-picture-line","pie-chart-2-fill","pie-chart-2-line","pie-chart-box-fill","pie-chart-box-line","pie-chart-fill","pie-chart-line","pin-distance-fill","pin-distance-line","ping-pong-fill","ping-pong-line","pinterest-fill","pinterest-line","pinyin-input","pixelfed-fill","pixelfed-line","plane-fill","plane-line","planet-fill","planet-line","plant-fill","plant-line","play-circle-fill","play-circle-line","play-fill","play-line","play-list-2-fill","play-list-2-line","play-list-add-fill","play-list-add-line","play-list-fill","play-list-line","play-mini-fill","play-mini-line","playstation-fill","playstation-line","plug-2-fill","plug-2-line","plug-fill","plug-line","polaroid-2-fill","polaroid-2-line","polaroid-fill","polaroid-line","police-car-fill","police-car-line","presentation-fill","presentation-line","price-tag-2-fill","price-tag-2-line","price-tag-3-fill","price-tag-3-line","price-tag-fill","price-tag-line","printer-cloud-fill","printer-cloud-line","printer-fill","printer-line","product-hunt-fill","product-hunt-line","profile-fill","profile-line","prohibited-fill","prohibited-line","projector-2-fill","projector-2-line","projector-fill","projector-line","psychotherapy-fill","psychotherapy-line","pulse-fill","pulse-line","pushpin-2-fill","pushpin-2-line","pushpin-fill","pushpin-line","qq-fill","qq-line","qr-code-fill","qr-code-line","qr-scan-2-fill","qr-scan-2-line","qr-scan-fill","qr-scan-line","question-answer-fill","question-answer-line","question-fill","question-line","question-mark","questionnaire-fill","questionnaire-line","quill-pen-fill","quill-pen-line","quote-text","radar-fill","radar-line","radio-2-fill","radio-2-line","radio-button-fill","radio-button-line","radio-fill","radio-line","rainbow-fill","rainbow-line","rainy-fill","rainy-line","reactjs-fill","reactjs-line","record-circle-fill","record-circle-line","record-mail-fill","record-mail-line","rectangle-fill","rectangle-line","recycle-fill","recycle-line","red-packet-fill","red-packet-line","reddit-fill","reddit-line","refresh-fill","refresh-line","refund-2-fill","refund-2-line","refund-fill","refund-line","registered-fill","registered-line","remixicon-fill","remixicon-line","remote-control-2-fill","remote-control-2-line","remote-control-fill","remote-control-line","repeat-2-fill","repeat-2-line","repeat-fill","repeat-line","repeat-one-fill","repeat-one-line","replay-10-fill","replay-10-line","replay-15-fill","replay-15-line","replay-30-fill","replay-30-line","replay-5-fill","replay-5-line","reply-all-fill","reply-all-line","reply-fill","reply-line","reserved-fill","reserved-line","rest-time-fill","rest-time-line","restart-fill","restart-line","restaurant-2-fill","restaurant-2-line","restaurant-fill","restaurant-line","rewind-fill","rewind-line","rewind-mini-fill","rewind-mini-line","rfid-fill","rfid-line","rhythm-fill","rhythm-line","riding-fill","riding-line","road-map-fill","road-map-line","roadster-fill","roadster-line","robot-2-fill","robot-2-line","robot-fill","robot-line","rocket-2-fill","rocket-2-line","rocket-fill","rocket-line","rotate-lock-fill","rotate-lock-line","rounded-corner","route-fill","route-line","router-fill","router-line","rss-fill","rss-line","ruler-2-fill","ruler-2-line","ruler-fill","ruler-line","run-fill","run-line","safari-fill","safari-line","safe-2-fill","safe-2-line","safe-fill","safe-line","sailboat-fill","sailboat-line","save-2-fill","save-2-line","save-3-fill","save-3-line","save-fill","save-line","scales-2-fill","scales-2-line","scales-3-fill","scales-3-line","scales-fill","scales-line","scan-2-fill","scan-2-line","scan-fill","scan-line","school-fill","school-line","scissors-2-fill","scissors-2-line","scissors-cut-fill","scissors-cut-line","scissors-fill","scissors-line","screenshot-2-fill","screenshot-2-line","screenshot-fill","screenshot-line","sd-card-fill","sd-card-line","sd-card-mini-fill","sd-card-mini-line","search-2-fill","search-2-line","search-eye-fill","search-eye-line","search-fill","search-line","secure-payment-fill","secure-payment-line","seedling-fill","seedling-line","send-backward","send-plane-2-fill","send-plane-2-line","send-plane-fill","send-plane-line","send-to-back","sensor-fill","sensor-line","seo-fill","seo-line","separator","server-fill","server-line","service-fill","service-line","settings-2-fill","settings-2-line","settings-3-fill","settings-3-line","settings-4-fill","settings-4-line","settings-5-fill","settings-5-line","settings-6-fill","settings-6-line","settings-fill","settings-line","shake-hands-fill","shake-hands-line","shape-2-fill","shape-2-line","shape-fill","shape-line","shapes-fill","shapes-line","share-box-fill","share-box-line","share-circle-fill","share-circle-line","share-fill","share-forward-2-fill","share-forward-2-line","share-forward-box-fill","share-forward-box-line","share-forward-fill","share-forward-line","share-line","shield-check-fill","shield-check-line","shield-cross-fill","shield-cross-line","shield-fill","shield-flash-fill","shield-flash-line","shield-keyhole-fill","shield-keyhole-line","shield-line","shield-star-fill","shield-star-line","shield-user-fill","shield-user-line","shining-2-fill","shining-2-line","shining-fill","shining-line","ship-2-fill","ship-2-line","ship-fill","ship-line","shirt-fill","shirt-line","shopping-bag-2-fill","shopping-bag-2-line","shopping-bag-3-fill","shopping-bag-3-line","shopping-bag-fill","shopping-bag-line","shopping-basket-2-fill","shopping-basket-2-line","shopping-basket-fill","shopping-basket-line","shopping-cart-2-fill","shopping-cart-2-line","shopping-cart-fill","shopping-cart-line","showers-fill","showers-line","shuffle-fill","shuffle-line","shut-down-fill","shut-down-line","side-bar-fill","side-bar-line","signal-tower-fill","signal-tower-line","signal-wifi-1-fill","signal-wifi-1-line","signal-wifi-2-fill","signal-wifi-2-line","signal-wifi-3-fill","signal-wifi-3-line","signal-wifi-error-fill","signal-wifi-error-line","signal-wifi-fill","signal-wifi-line","signal-wifi-off-fill","signal-wifi-off-line","sim-card-2-fill","sim-card-2-line","sim-card-fill","sim-card-line","single-quotes-l","single-quotes-r","sip-fill","sip-line","sketching","skip-back-fill","skip-back-line","skip-back-mini-fill","skip-back-mini-line","skip-down-fill","skip-down-line","skip-forward-fill","skip-forward-line","skip-forward-mini-fill","skip-forward-mini-line","skip-left-fill","skip-left-line","skip-right-fill","skip-right-line","skip-up-fill","skip-up-line","skull-2-fill","skull-2-line","skull-fill","skull-line","skype-fill","skype-line","slack-fill","slack-line","slash-commands","slash-commands-2","slice-fill","slice-line","slideshow-2-fill","slideshow-2-line","slideshow-3-fill","slideshow-3-line","slideshow-4-fill","slideshow-4-line","slideshow-fill","slideshow-line","slow-down-fill","slow-down-line","smartphone-fill","smartphone-line","snapchat-fill","snapchat-line","snowy-fill","snowy-line","sort-asc","sort-desc","sound-module-fill","sound-module-line","soundcloud-fill","soundcloud-line","space","space-ship-fill","space-ship-line","spam-2-fill","spam-2-line","spam-3-fill","spam-3-line","spam-fill","spam-line","sparkling-2-fill","sparkling-2-line","sparkling-fill","sparkling-line","speak-fill","speak-line","speaker-2-fill","speaker-2-line","speaker-3-fill","speaker-3-line","speaker-fill","speaker-line","spectrum-fill","spectrum-line","speed-fill","speed-line","speed-mini-fill","speed-mini-line","speed-up-fill","speed-up-line","split-cells-horizontal","split-cells-vertical","spotify-fill","spotify-line","spy-fill","spy-line","square-fill","square-line","stack-fill","stack-line","stack-overflow-fill","stack-overflow-line","stackshare-fill","stackshare-line","star-fill","star-half-fill","star-half-line","star-half-s-fill","star-half-s-line","star-line","star-s-fill","star-s-line","star-smile-fill","star-smile-line","steam-fill","steam-line","steering-2-fill","steering-2-line","steering-fill","steering-line","stethoscope-fill","stethoscope-line","sticky-note-2-fill","sticky-note-2-line","sticky-note-fill","sticky-note-line","stock-fill","stock-line","stop-circle-fill","stop-circle-line","stop-fill","stop-line","stop-mini-fill","stop-mini-line","store-2-fill","store-2-line","store-3-fill","store-3-line","store-fill","store-line","strikethrough","strikethrough-2","subscript","subscript-2","subtract-fill","subtract-line","subway-fill","subway-line","subway-wifi-fill","subway-wifi-line","suitcase-2-fill","suitcase-2-line","suitcase-3-fill","suitcase-3-line","suitcase-fill","suitcase-line","sun-cloudy-fill","sun-cloudy-line","sun-fill","sun-foggy-fill","sun-foggy-line","sun-line","supabase-fill","supabase-line","superscript","superscript-2","surgical-mask-fill","surgical-mask-line","surround-sound-fill","surround-sound-line","survey-fill","survey-line","swap-box-fill","swap-box-line","swap-fill","swap-line","switch-fill","switch-line","sword-fill","sword-line","syringe-fill","syringe-line","t-box-fill","t-box-line","t-shirt-2-fill","t-shirt-2-line","t-shirt-air-fill","t-shirt-air-line","t-shirt-fill","t-shirt-line","table-2","table-alt-fill","table-alt-line","table-fill","table-line","tablet-fill","tablet-line","takeaway-fill","takeaway-line","taobao-fill","taobao-line","tape-fill","tape-line","task-fill","task-line","taxi-fill","taxi-line","taxi-wifi-fill","taxi-wifi-line","team-fill","team-line","telegram-fill","telegram-line","temp-cold-fill","temp-cold-line","temp-hot-fill","temp-hot-line","tent-fill","tent-line","terminal-box-fill","terminal-box-line","terminal-fill","terminal-line","terminal-window-fill","terminal-window-line","test-tube-fill","test-tube-line","text","text-direction-l","text-direction-r","text-spacing","text-wrap","thermometer-fill","thermometer-line","threads-fill","threads-line","thumb-down-fill","thumb-down-line","thumb-up-fill","thumb-up-line","thunderstorms-fill","thunderstorms-line","ticket-2-fill","ticket-2-line","ticket-fill","ticket-line","tiktok-fill","tiktok-line","time-fill","time-line","timer-2-fill","timer-2-line","timer-fill","timer-flash-fill","timer-flash-line","timer-line","todo-fill","todo-line","toggle-fill","toggle-line","token-swap-fill","token-swap-line","tools-fill","tools-line","tornado-fill","tornado-line","trademark-fill","trademark-line","traffic-light-fill","traffic-light-line","train-fill","train-line","train-wifi-fill","train-wifi-line","translate","translate-2","travesti-fill","travesti-line","treasure-map-fill","treasure-map-line","tree-fill","tree-line","trello-fill","trello-line","triangle-fill","triangle-line","trophy-fill","trophy-line","truck-fill","truck-line","tumblr-fill","tumblr-line","tv-2-fill","tv-2-line","tv-fill","tv-line","twitch-fill","twitch-line","twitter-fill","twitter-line","twitter-x-fill","twitter-x-line","typhoon-fill","typhoon-line","u-disk-fill","u-disk-line","ubuntu-fill","ubuntu-line","umbrella-fill","umbrella-line","underline","uninstall-fill","uninstall-line","unpin-fill","unpin-line","unsplash-fill","unsplash-line","upload-2-fill","upload-2-line","upload-cloud-2-fill","upload-cloud-2-line","upload-cloud-fill","upload-cloud-line","upload-fill","upload-line","usb-fill","usb-line","user-2-fill","user-2-line","user-3-fill","user-3-line","user-4-fill","user-4-line","user-5-fill","user-5-line","user-6-fill","user-6-line","user-add-fill","user-add-line","user-fill","user-follow-fill","user-follow-line","user-forbid-fill","user-forbid-line","user-heart-fill","user-heart-line","user-line","user-location-fill","user-location-line","user-received-2-fill","user-received-2-line","user-received-fill","user-received-line","user-search-fill","user-search-line","user-settings-fill","user-settings-line","user-shared-2-fill","user-shared-2-line","user-shared-fill","user-shared-line","user-smile-fill","user-smile-line","user-star-fill","user-star-line","user-unfollow-fill","user-unfollow-line","user-voice-fill","user-voice-line","verified-badge-fill","verified-badge-line","video-add-fill","video-add-line","video-chat-fill","video-chat-line","video-download-fill","video-download-line","video-fill","video-line","video-upload-fill","video-upload-line","vidicon-2-fill","vidicon-2-line","vidicon-fill","vidicon-line","vimeo-fill","vimeo-line","vip-crown-2-fill","vip-crown-2-line","vip-crown-fill","vip-crown-line","vip-diamond-fill","vip-diamond-line","vip-fill","vip-line","virus-fill","virus-line","visa-fill","visa-line","voice-recognition-fill","voice-recognition-line","voiceprint-fill","voiceprint-line","volume-down-fill","volume-down-line","volume-mute-fill","volume-mute-line","volume-off-vibrate-fill","volume-off-vibrate-line","volume-up-fill","volume-up-line","volume-vibrate-fill","volume-vibrate-line","vuejs-fill","vuejs-line","walk-fill","walk-line","wallet-2-fill","wallet-2-line","wallet-3-fill","wallet-3-line","wallet-fill","wallet-line","water-flash-fill","water-flash-line","water-percent-fill","water-percent-line","webcam-fill","webcam-line","wechat-2-fill","wechat-2-line","wechat-channels-fill","wechat-channels-line","wechat-fill","wechat-line","wechat-pay-fill","wechat-pay-line","weibo-fill","weibo-line","whatsapp-fill","whatsapp-line","wheelchair-fill","wheelchair-line","wifi-fill","wifi-line","wifi-off-fill","wifi-off-line","window-2-fill","window-2-line","window-fill","window-line","windows-fill","windows-line","windy-fill","windy-line","wireless-charging-fill","wireless-charging-line","women-fill","women-line","wordpress-fill","wordpress-line","wubi-input","xbox-fill","xbox-line","xing-fill","xing-line","youtube-fill","youtube-line","yuque-fill","yuque-line","zcool-fill","zcool-line","zhihu-fill","zhihu-line","zoom-in-fill","zoom-in-line","zoom-out-fill","zoom-out-line","zzz-fill","zzz-line"],"fa-solid:":["abacus","ad","address-book","address-card","adjust","air-freshener","align-center","align-justify","align-left","align-right","allergies","ambulance","american-sign-language-interpreting","anchor","angle-double-down","angle-double-left","angle-double-right","angle-double-up","angle-down","angle-left","angle-right","angle-up","angry","ankh","apple-alt","archive","archway","arrow-alt-circle-down","arrow-alt-circle-left","arrow-alt-circle-right","arrow-alt-circle-up","arrow-circle-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-down","arrow-left","arrow-right","arrow-up","arrows-alt","arrows-alt-h","arrows-alt-v","assistive-listening-systems","asterisk","at","atlas","atom","audio-description","award","baby","baby-carriage","backspace","backward","bacon","bacteria","bacterium","bahai","balance-scale","balance-scale-left","balance-scale-right","ban","band-aid","barcode","bars","baseball-ball","basketball-ball","bath","battery-empty","battery-full","battery-half","battery-quarter","battery-three-quarters","bed","beer","bell","bell-slash","bezier-curve","bible","bicycle","biking","binoculars","biohazard","birthday-cake","blender","blender-phone","blind","blog","bold","bolt","bomb","bone","bong","book","book-dead","book-medical","book-open","book-reader","bookmark","border-all","border-none","border-style","bowling-ball","box","box-open","box-tissue","boxes","braille","brain","bread-slice","briefcase","briefcase-medical","broadcast-tower","broom","brush","bug","building","bullhorn","bullseye","burn","bus","bus-alt","business-time","calculator","calculator-alt","calendar","calendar-alt","calendar-check","calendar-day","calendar-minus","calendar-plus","calendar-times","calendar-week","camera","camera-retro","campground","candy-cane","cannabis","capsules","car","car-alt","car-battery","car-crash","car-side","caravan","caret-down","caret-left","caret-right","caret-square-down","caret-square-left","caret-square-right","caret-square-up","caret-up","carrot","cart-arrow-down","cart-plus","cash-register","cat","certificate","chair","chalkboard","chalkboard-teacher","charging-station","chart-area","chart-bar","chart-line","chart-pie","check","check-circle","check-double","check-square","cheese","chess","chess-bishop","chess-board","chess-king","chess-knight","chess-pawn","chess-queen","chess-rook","chevron-circle-down","chevron-circle-left","chevron-circle-right","chevron-circle-up","chevron-down","chevron-left","chevron-right","chevron-up","child","church","circle","circle-notch","city","clinic-medical","clipboard","clipboard-check","clipboard-list","clock","clone","closed-captioning","cloud","cloud-download-alt","cloud-meatball","cloud-moon","cloud-moon-rain","cloud-rain","cloud-showers-heavy","cloud-sun","cloud-sun-rain","cloud-upload-alt","cocktail","code","code-branch","coffee","cog","cogs","coins","columns","comment","comment-alt","comment-dollar","comment-dots","comment-medical","comment-slash","comments","comments-dollar","compact-disc","compass","compress","compress-alt","compress-arrows-alt","concierge-bell","cookie","cookie-bite","copy","copyright","couch","credit-card","crop","crop-alt","cross","crosshairs","crow","crown","crutch","cube","cubes","cut","database","deaf","democrat","desktop","dharmachakra","diagnoses","dice","dice-d20","dice-d6","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","digital-tachograph","directions","disease","divide","dizzy","dna","dog","dollar-sign","dolly","dolly-flatbed","donate","door-closed","door-open","dot-circle","dove","download","drafting-compass","dragon","draw-polygon","drum","drum-steelpan","drumstick-bite","dumbbell","dumpster","dumpster-fire","dungeon","edit","egg","eject","ellipsis-h","ellipsis-v","empty-set","envelope","envelope-open","envelope-open-text","envelope-square","equals","eraser","ethernet","euro-sign","exchange-alt","exclamation","exclamation-circle","exclamation-triangle","expand","expand-alt","expand-arrows-alt","external-link-alt","external-link-square-alt","eye","eye-dropper","eye-slash","fan","fast-backward","fast-forward","faucet","fax","feather","feather-alt","female","fighter-jet","file","file-alt","file-archive","file-audio","file-code","file-contract","file-csv","file-download","file-excel","file-export","file-image","file-import","file-invoice","file-invoice-dollar","file-medical","file-medical-alt","file-pdf","file-powerpoint","file-prescription","file-signature","file-upload","file-video","file-word","fill","fill-drip","film","filter","fingerprint","fire","fire-alt","fire-extinguisher","first-aid","fish","fist-raised","flag","flag-checkered","flag-usa","flask","flushed","folder","folder-minus","folder-open","folder-plus","font","football-ball","forward","frog","frown","frown-open","function","funnel-dollar","futbol","gamepad","gas-pump","gavel","gem","genderless","ghost","gift","gifts","glass-cheers","glass-martini","glass-martini-alt","glass-whiskey","glasses","globe","globe-africa","globe-americas","globe-asia","globe-europe","golf-ball","gopuram","graduation-cap","greater-than","greater-than-equal","grimace","grin","grin-alt","grin-beam","grin-beam-sweat","grin-hearts","grin-squint","grin-squint-tears","grin-stars","grin-tears","grin-tongue","grin-tongue-squint","grin-tongue-wink","grin-wink","grip-horizontal","grip-lines","grip-lines-vertical","grip-vertical","guitar","h-square","hamburger","hammer","hamsa","hand-holding","hand-holding-heart","hand-holding-medical","hand-holding-usd","hand-holding-water","hand-lizard","hand-middle-finger","hand-paper","hand-peace","hand-point-down","hand-point-left","hand-point-right","hand-point-up","hand-pointer","hand-rock","hand-scissors","hand-sparkles","hand-spock","hands","hands-helping","hands-wash","handshake","handshake-alt-slash","handshake-slash","hanukiah","hard-hat","hashtag","hat-cowboy","hat-cowboy-side","hat-wizard","hdd","head-side-cough","head-side-cough-slash","head-side-mask","head-side-virus","heading","headphones","headphones-alt","headset","heart","heart-broken","heartbeat","helicopter","highlighter","hiking","hippo","history","hockey-puck","holly-berry","home","horse","horse-head","hospital","hospital-alt","hospital-symbol","hospital-user","hot-tub","hotdog","hotel","hourglass","hourglass-end","hourglass-half","hourglass-start","house-damage","house-user","hryvnia","i-cursor","ice-cream","icicles","icons","id-badge","id-card","id-card-alt","igloo","image","images","inbox","indent","industry","infinity","info","info-circle","integral","intersection","italic","jedi","joint","journal-whills","kaaba","key","keyboard","khanda","kiss","kiss-beam","kiss-wink-heart","kiwi-bird","lambda","landmark","language","laptop","laptop-code","laptop-house","laptop-medical","laugh","laugh-beam","laugh-squint","laugh-wink","layer-group","leaf","lemon","less-than","less-than-equal","level-down-alt","level-up-alt","life-ring","lightbulb","link","lira-sign","list","list-alt","list-ol","list-ul","location-arrow","lock","lock-open","long-arrow-alt-down","long-arrow-alt-left","long-arrow-alt-right","long-arrow-alt-up","low-vision","luggage-cart","lungs","lungs-virus","magic","magnet","mail-bulk","male","map","map-marked","map-marked-alt","map-marker","map-marker-alt","map-pin","map-signs","marker","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mask","medal","medkit","meh","meh-blank","meh-rolling-eyes","memory","menorah","mercury","meteor","microchip","microphone","microphone-alt","microphone-alt-slash","microphone-slash","microscope","minus","minus-circle","minus-square","mitten","mobile","mobile-alt","money-bill","money-bill-alt","money-bill-wave","money-bill-wave-alt","money-check","money-check-alt","monument","moon","mortar-pestle","mosque","motorcycle","mountain","mouse","mouse-pointer","mug-hot","music","network-wired","neuter","newspaper","not-equal","notes-medical","object-group","object-ungroup","oil-can","om","omega","otter","outdent","pager","paint-brush","paint-roller","palette","pallet","paper-plane","paperclip","parachute-box","paragraph","parking","passport","pastafarianism","paste","pause","pause-circle","paw","peace","pen","pen-alt","pen-fancy","pen-nib","pen-square","pencil-alt","pencil-ruler","people-arrows","people-carry","pepper-hot","percent","percentage","person-booth","phone","phone-alt","phone-slash","phone-square","phone-square-alt","phone-volume","photo-video","pi","piggy-bank","pills","pizza-slice","place-of-worship","plane","plane-arrival","plane-departure","plane-slash","play","play-circle","plug","plus","plus-circle","plus-square","podcast","poll","poll-h","poo","poo-storm","poop","portrait","pound-sign","power-off","pray","praying-hands","prescription","prescription-bottle","prescription-bottle-alt","print","procedures","project-diagram","pump-medical","pump-soap","puzzle-piece","qrcode","question","question-circle","quidditch","quote-left","quote-right","quran","radiation","radiation-alt","rainbow","random","receipt","record-vinyl","recycle","redo","redo-alt","registered","remove-format","reply","reply-all","republican","restroom","retweet","ribbon","ring","road","robot","rocket","route","rss","rss-square","ruble-sign","ruler","ruler-combined","ruler-horizontal","ruler-vertical","running","rupee-sign","sad-cry","sad-tear","satellite","satellite-dish","save","school","screwdriver","scroll","sd-card","search","search-dollar","search-location","search-minus","search-plus","seedling","server","shapes","share","share-alt","share-alt-square","share-square","shekel-sign","shield-alt","shield-virus","ship","shipping-fast","shoe-prints","shopping-bag","shopping-basket","shopping-cart","shower","shuttle-van","sigma","sign","sign-in-alt","sign-language","sign-out-alt","signal","signal-alt","signal-alt-slash","signal-slash","signature","sim-card","sink","sitemap","skating","skiing","skiing-nordic","skull","skull-crossbones","slash","sleigh","sliders-h","smile","smile-beam","smile-wink","smog","smoking","smoking-ban","sms","snowboarding","snowflake","snowman","snowplow","soap","socks","solar-panel","sort","sort-alpha-down","sort-alpha-down-alt","sort-alpha-up","sort-alpha-up-alt","sort-amount-down","sort-amount-down-alt","sort-amount-up","sort-amount-up-alt","sort-down","sort-numeric-down","sort-numeric-down-alt","sort-numeric-up","sort-numeric-up-alt","sort-up","spa","space-shuttle","spell-check","spider","spinner","splotch","spray-can","square","square-full","square-root","square-root-alt","stamp","star","star-and-crescent","star-half","star-half-alt","star-of-david","star-of-life","step-backward","step-forward","stethoscope","sticky-note","stop","stop-circle","stopwatch","stopwatch-20","store","store-alt","store-alt-slash","store-slash","stream","street-view","strikethrough","stroopwafel","subscript","subway","suitcase","suitcase-rolling","sun","superscript","surprise","swatchbook","swimmer","swimming-pool","synagogue","sync","sync-alt","syringe","table","table-tennis","tablet","tablet-alt","tablets","tachometer-alt","tag","tags","tally","tape","tasks","taxi","teeth","teeth-open","temperature-high","temperature-low","tenge","terminal","text-height","text-width","th","th-large","th-list","theater-masks","thermometer","thermometer-empty","thermometer-full","thermometer-half","thermometer-quarter","thermometer-three-quarters","theta","thumbs-down","thumbs-up","thumbtack","ticket-alt","tilde","times","times-circle","tint","tint-slash","tired","toggle-off","toggle-on","toilet","toilet-paper","toilet-paper-slash","toolbox","tools","tooth","torah","torii-gate","tractor","trademark","traffic-light","trailer","train","tram","transgender","transgender-alt","trash","trash-alt","trash-restore","trash-restore-alt","tree","trophy","truck","truck-loading","truck-monster","truck-moving","truck-pickup","tshirt","tty","tv","umbrella","umbrella-beach","underline","undo","undo-alt","union","universal-access","university","unlink","unlock","unlock-alt","upload","user","user-alt","user-alt-slash","user-astronaut","user-check","user-circle","user-clock","user-cog","user-edit","user-friends","user-graduate","user-injured","user-lock","user-md","user-minus","user-ninja","user-nurse","user-plus","user-secret","user-shield","user-slash","user-tag","user-tie","user-times","users","users-cog","users-slash","utensil-spoon","utensils","value-absolute","vector-square","venus","venus-double","venus-mars","vest","vest-patches","vial","vials","video","video-slash","vihara","virus","virus-slash","viruses","voicemail","volleyball-ball","volume","volume-down","volume-mute","volume-off","volume-slash","volume-up","vote-yea","vr-cardboard","walking","wallet","warehouse","water","wave-square","weight","weight-hanging","wheelchair","wifi","wifi-slash","wind","window-close","window-maximize","window-minimize","window-restore","wine-bottle","wine-glass","wine-glass-alt","won-sign","wrench","x-ray","yen-sign","yin-yang"]},lTt={viewBox:"0 0 24 24",width:"1em",height:"1em"};function sTt(e,t){return H(),le("svg",lTt,[...t[0]||(t[0]=[ye("path",{fill:"currentColor",d:"m18.031 16.617l4.283 4.282l-1.415 1.415l-4.282-4.283A8.96 8.96 0 0 1 11 20c-4.968 0-9-4.032-9-9s4.032-9 9-9s9 4.032 9 9a8.96 8.96 0 0 1-1.969 5.617m-2.006-.742A6.98 6.98 0 0 0 18 11c0-3.867-3.133-7-7-7s-7 3.133-7 7s3.133 7 7 7a6.98 6.98 0 0 0 4.875-1.975zm-3.847-8.699a2 2 0 1 0 2.646 2.646a4 4 0 1 1-2.646-2.646"},null,-1)])])}const uTt=Lo({name:"ri-search-eye-line",render:sTt}),cTt={class:"selector"},dTt={class:"w-[40px] h-[32px] cursor-pointer flex justify-center items-center"},fTt={class:"flex flex-wrap px-2! ml-2!"},pTt=["title","onClick"],hTt={class:"w-full h-9 flex items-center overflow-auto border-t border-[#e5e7eb]"},mTt=Ve({name:"IconSelect",__name:"Select",props:{modelValue:{type:String},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=Hie(e,"modelValue"),n=j(oTt),r=j(),a=j("ep:"),i=km(n.value),o=j(0),l=j(35),s=j(1),u=j(""),c=[{label:"Element Plus",name:"ep:"},{label:"Remix Icon",name:"ri:"},{label:"Font Awesome 5 Solid",name:"fa-solid:"}],d=R(()=>i[a.value].filter(y=>y.includes(u.value)).slice((s.value-1)*l.value,s.value*l.value)),f=R(()=>y=>{if(t.value===a.value+y)return{borderColor:"var(--el-color-primary)",color:"var(--el-color-primary)"}});function p(){a.value=t.value.substring(0,t.value.indexOf(":")+1),r.value=t.value.substring(t.value.indexOf(":")+1)}function h(){if(ld(r.value))return;p();const y=i[a.value].findIndex(E=>E===r.value);s.value=Math.ceil((y+1)/l.value)}function m(){u.value=""}function v({props:y}){s.value=1,a.value=y.name}function g(y){r.value=y,t.value=a.value+y}function b(y){s.value=y}function C(){r.value="",t.value=""}return $e(()=>d.value,()=>o.value=i[a.value].filter(y=>y.includes(u.value)).length,{immediate:!0}),$e(()=>t.value,y=>y&&p(),{immediate:!0}),$e(()=>u.value,()=>s.value=1),(y,E)=>{const w=en("IconifyIconOffline"),S=en("IconifyIconOnline"),A=en("el-input"),D=en("el-empty"),k=en("el-scrollbar"),x=en("el-tab-pane"),_=en("el-tabs"),M=en("el-pagination"),L=en("el-button"),I=en("el-popover");return H(),le("div",cTt,[be(A,{modelValue:t.value,"onUpdate:modelValue":E[2]||(E[2]=P=>t.value=P),disabled:""},{append:Re(()=>[be(I,{width:350,trigger:"click","popper-class":"pure-popper","popper-options":{placement:"auto"},onBeforeEnter:h,onAfterLeave:m},{reference:Re(()=>[ye("div",dTt,[r.value?(H(),Ue(S,{key:1,icon:t.value},null,8,["icon"])):(H(),Ue(w,{key:0,icon:F(uTt)},null,8,["icon"]))])]),default:Re(()=>[be(A,{modelValue:u.value,"onUpdate:modelValue":E[0]||(E[0]=P=>u.value=P),class:"px-2 pt-2",placeholder:"搜索图标",clearable:""},null,8,["modelValue"]),be(_,{modelValue:a.value,"onUpdate:modelValue":E[1]||(E[1]=P=>a.value=P),onTabClick:v},{default:Re(()=>[(H(),le(kt,null,En(c,(P,B)=>be(x,{key:B,label:P.label,name:P.name},{default:Re(()=>[be(k,{height:"220px"},{default:Re(()=>[ye("ul",fTt,[(H(!0),le(kt,null,En(d.value,(T,O)=>(H(),le("li",{key:O,title:T,class:"icon-item p-2 cursor-pointer mr-2 mt-1 flex justify-center items-center border border-[#e5e7eb]",style:Pt(f.value(T)),onClick:N=>g(T)},[be(S,{icon:a.value+T,width:"20px",height:"20px"},null,8,["icon"])],12,pTt))),128))]),hn(be(D,{description:`${u.value} 图标不存在`,"image-size":60},null,8,["description"]),[[In,d.value.length===0]])]),_:1})]),_:1},8,["label","name"])),64))]),_:1},8,["modelValue"]),ye("div",hTt,[be(M,{class:"flex-auto ml-2",total:o.value,"current-page":s.value,"page-size":l.value,"pager-count":5,layout:"pager",background:"",size:"small",onCurrentChange:b},null,8,["total","current-page","page-size"]),be(L,{class:"justify-end mx-2!",type:"danger",size:"small",text:"",bg:"",onClick:C},{default:Re(()=>[...E[3]||(E[3]=[Cn(" 清空 ",-1)])]),_:1})])]),_:1})]),_:1},8,["modelValue"])])}}}),vTt=bfe(mTt,[["__scopeId","data-v-174e052e"]]),gTt=Ve({name:"FontIcon",props:{icon:{type:String,default:""}},render(){const e=this.$attrs;return Object.keys(e).includes("uni")||(e==null?void 0:e.iconType)==="uni"?W("i",Te({class:"iconfont"},e),this.icon):Object.keys(e).includes("svg")||(e==null?void 0:e.iconType)==="svg"?W("svg",{class:"icon-svg"},{default:()=>[W("use",{"xlink:href":`#${this.icon}`})]}):W("i",Te({class:`iconfont ${this.icon}`},e))}}),yTt=eDt,bTt=iTt,CMt=vTt,CTt=gTt,FTt=Ve({name:"Auth",props:{value:{type:void 0,default:[]}},setup(e,{slots:t}){return()=>{var n;return t&&jpe(e.value)?be(kt,null,[(n=t.default)==null?void 0:n.call(t)]):null}}}),ETt=FTt,wTt=Ve({name:"Perms",props:{value:{type:void 0,default:[]}},setup(e,{slots:t}){return()=>{var n;return t&&Kpe(e.value)?be(kt,null,[(n=t.default)==null?void 0:n.call(t)]):null}}}),STt=wTt;var dl="top",Fs="bottom",Es="right",fl="left",IV="auto",B4=[dl,Fs,Es,fl],I0="start",h5="end",ATt="clippingParents",e5e="viewport",xy="popper",DTt="reference",nae=B4.reduce(function(e,t){return e.concat([t+"-"+I0,t+"-"+h5])},[]),t5e=[].concat(B4,[IV]).reduce(function(e,t){return e.concat([t,t+"-"+I0,t+"-"+h5])},[]),TTt="beforeRead",kTt="read",_Tt="afterRead",xTt="beforeMain",MTt="main",BTt="afterMain",RTt="beforeWrite",LTt="write",OTt="afterWrite",PTt=[TTt,kTt,_Tt,xTt,MTt,BTt,RTt,LTt,OTt];function bc(e){return e?(e.nodeName||"").toLowerCase():null}function Fu(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function N0(e){var t=Fu(e).Element;return e instanceof t||e instanceof Element}function cs(e){var t=Fu(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function n5e(e){if(typeof ShadowRoot=="undefined")return!1;var t=Fu(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ITt(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},i=t.elements[n];!cs(i)||!bc(i)||(Object.assign(i.style,r),Object.keys(a).forEach(function(o){var l=a[o];l===!1?i.removeAttribute(o):i.setAttribute(o,l===!0?"":l)}))})}function NTt(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(r){var a=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=o.reduce(function(s,u){return s[u]="",s},{});!cs(a)||!bc(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(s){a.removeAttribute(s)}))})}}var r5e={name:"applyStyles",enabled:!0,phase:"write",fn:ITt,effect:NTt,requires:["computeStyles"]};function lc(e){return e.split("-")[0]}var Em=Math.max,WC=Math.min,$0=Math.round;function V0(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,a=1;if(cs(e)&&t){var i=e.offsetHeight,o=e.offsetWidth;o>0&&(r=$0(n.width)/o||1),i>0&&(a=$0(n.height)/i||1)}return{width:n.width/r,height:n.height/a,top:n.top/a,right:n.right/r,bottom:n.bottom/a,left:n.left/r,x:n.left/r,y:n.top/a}}function NV(e){var t=V0(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function a5e(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&n5e(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Cc(e){return Fu(e).getComputedStyle(e)}function $Tt(e){return["table","td","th"].indexOf(bc(e))>=0}function _p(e){return((N0(e)?e.ownerDocument:e.document)||window.document).documentElement}function iE(e){return bc(e)==="html"?e:e.assignedSlot||e.parentNode||(n5e(e)?e.host:null)||_p(e)}function rae(e){return!cs(e)||Cc(e).position==="fixed"?null:e.offsetParent}function VTt(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&cs(e)){var r=Cc(e);if(r.position==="fixed")return null}for(var a=iE(e);cs(a)&&["html","body"].indexOf(bc(a))<0;){var i=Cc(a);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 a;a=a.parentNode}return null}function R4(e){for(var t=Fu(e),n=rae(e);n&&$Tt(n)&&Cc(n).position==="static";)n=rae(n);return n&&(bc(n)==="html"||bc(n)==="body"&&Cc(n).position==="static")?t:n||VTt(e)||t}function $V(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Gb(e,t,n){return Em(e,WC(t,n))}function HTt(e,t,n){var r=Gb(e,t,n);return r>n?n:r}function i5e(){return{top:0,right:0,bottom:0,left:0}}function o5e(e){return Object.assign({},i5e(),e)}function l5e(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var zTt=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,o5e(typeof t!="number"?t:l5e(t,B4))};function WTt(e){var t,n=e.state,r=e.name,a=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,l=lc(n.placement),s=$V(l),u=[fl,Es].indexOf(l)>=0,c=u?"height":"width";if(!(!i||!o)){var d=zTt(a.padding,n),f=NV(i),p=s==="y"?dl:fl,h=s==="y"?Fs:Es,m=n.rects.reference[c]+n.rects.reference[s]-o[s]-n.rects.popper[c],v=o[s]-n.rects.reference[s],g=R4(i),b=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,C=m/2-v/2,y=d[p],E=b-f[c]-d[h],w=b/2-f[c]/2+C,S=Gb(y,w,E),A=s;n.modifiersData[r]=(t={},t[A]=S,t.centerOffset=S-w,t)}}function GTt(e){var t=e.state,n=e.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||a5e(t.elements.popper,a)&&(t.elements.arrow=a))}var jTt={name:"arrow",enabled:!0,phase:"main",fn:WTt,effect:GTt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function H0(e){return e.split("-")[1]}var KTt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function UTt(e){var t=e.x,n=e.y,r=window,a=r.devicePixelRatio||1;return{x:$0(t*a)/a||0,y:$0(n*a)/a||0}}function aae(e){var t,n=e.popper,r=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,f=c===!0?UTt(o):typeof c=="function"?c(o):o,p=f.x,h=p===void 0?0:p,m=f.y,v=m===void 0?0:m,g=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),C=fl,y=dl,E=window;if(u){var w=R4(n),S="clientHeight",A="clientWidth";if(w===Fu(n)&&(w=_p(n),Cc(w).position!=="static"&&l==="absolute"&&(S="scrollHeight",A="scrollWidth")),w=w,a===dl||(a===fl||a===Es)&&i===h5){y=Fs;var D=d&&E.visualViewport?E.visualViewport.height:w[S];v-=D-r.height,v*=s?1:-1}if(a===fl||(a===dl||a===Fs)&&i===h5){C=Es;var k=d&&E.visualViewport?E.visualViewport.width:w[A];h-=k-r.width,h*=s?1:-1}}var x=Object.assign({position:l},u&&KTt);if(s){var _;return Object.assign({},x,(_={},_[y]=b?"0":"",_[C]=g?"0":"",_.transform=(E.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",_))}return Object.assign({},x,(t={},t[y]=b?v+"px":"",t[C]=g?h+"px":"",t.transform="",t))}function qTt(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,l=n.roundOffsets,s=l===void 0?!0:l,u={placement:lc(t.placement),variation:H0(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,aae(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,aae(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var YTt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qTt,data:{}},A3={passive:!0};function JTt(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,i=a===void 0?!0:a,o=r.resize,l=o===void 0?!0:o,s=Fu(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,A3)}),l&&s.addEventListener("resize",n.update,A3),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,A3)}),l&&s.removeEventListener("resize",n.update,A3)}}var XTt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:JTt,data:{}},ZTt={left:"right",right:"left",bottom:"top",top:"bottom"};function I7(e){return e.replace(/left|right|bottom|top/g,function(t){return ZTt[t]})}var QTt={start:"end",end:"start"};function iae(e){return e.replace(/start|end/g,function(t){return QTt[t]})}function VV(e){var t=Fu(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function HV(e){return V0(_p(e)).left+VV(e).scrollLeft}function ekt(e){var t=Fu(e),n=_p(e),r=t.visualViewport,a=n.clientWidth,i=n.clientHeight,o=0,l=0;return r&&(a=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,l=r.offsetTop)),{width:a,height:i,x:o+HV(e),y:l}}function tkt(e){var t,n=_p(e),r=VV(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=Em(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Em(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+HV(e),s=-r.scrollTop;return Cc(a||n).direction==="rtl"&&(l+=Em(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:o,x:l,y:s}}function zV(e){var t=Cc(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function s5e(e){return["html","body","#document"].indexOf(bc(e))>=0?e.ownerDocument.body:cs(e)&&zV(e)?e:s5e(iE(e))}function jb(e,t){var n;t===void 0&&(t=[]);var r=s5e(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=Fu(r),o=a?[i].concat(i.visualViewport||[],zV(r)?r:[]):r,l=t.concat(o);return a?l:l.concat(jb(iE(o)))}function YL(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nkt(e){var t=V0(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function oae(e,t){return t===e5e?YL(ekt(e)):N0(t)?nkt(t):YL(tkt(_p(e)))}function rkt(e){var t=jb(iE(e)),n=["absolute","fixed"].indexOf(Cc(e).position)>=0,r=n&&cs(e)?R4(e):e;return N0(r)?t.filter(function(a){return N0(a)&&a5e(a,r)&&bc(a)!=="body"&&(n?Cc(a).position!=="static":!0)}):[]}function akt(e,t,n){var r=t==="clippingParents"?rkt(e):[].concat(t),a=[].concat(r,[n]),i=a[0],o=a.reduce(function(l,s){var u=oae(e,s);return l.top=Em(u.top,l.top),l.right=WC(u.right,l.right),l.bottom=WC(u.bottom,l.bottom),l.left=Em(u.left,l.left),l},oae(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function u5e(e){var t=e.reference,n=e.element,r=e.placement,a=r?lc(r):null,i=r?H0(r):null,o=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,s;switch(a){case dl:s={x:o,y:t.y-n.height};break;case Fs:s={x:o,y:t.y+t.height};break;case Es:s={x:t.x+t.width,y:l};break;case fl:s={x:t.x-n.width,y:l};break;default:s={x:t.x,y:t.y}}var u=a?$V(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case I0:s[u]=s[u]-(t[c]/2-n[c]/2);break;case h5:s[u]=s[u]+(t[c]/2-n[c]/2);break}}return s}function m5(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,i=n.boundary,o=i===void 0?ATt:i,l=n.rootBoundary,s=l===void 0?e5e:l,u=n.elementContext,c=u===void 0?xy:u,d=n.altBoundary,f=d===void 0?!1:d,p=n.padding,h=p===void 0?0:p,m=o5e(typeof h!="number"?h:l5e(h,B4)),v=c===xy?DTt:xy,g=e.rects.popper,b=e.elements[f?v:c],C=akt(N0(b)?b:b.contextElement||_p(e.elements.popper),o,s),y=V0(e.elements.reference),E=u5e({reference:y,element:g,placement:a}),w=YL(Object.assign({},g,E)),S=c===xy?w:y,A={top:C.top-S.top+m.top,bottom:S.bottom-C.bottom+m.bottom,left:C.left-S.left+m.left,right:S.right-C.right+m.right},D=e.modifiersData.offset;if(c===xy&&D){var k=D[a];Object.keys(A).forEach(function(x){var _=[Es,Fs].indexOf(x)>=0?1:-1,M=[dl,Fs].indexOf(x)>=0?"y":"x";A[x]+=k[M]*_})}return A}function ikt(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,i=n.rootBoundary,o=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=s===void 0?t5e:s,c=H0(r),d=c?l?nae:nae.filter(function(h){return H0(h)===c}):B4,f=d.filter(function(h){return u.indexOf(h)>=0});f.length===0&&(f=d);var p=f.reduce(function(h,m){return h[m]=m5(e,{placement:m,boundary:a,rootBoundary:i,padding:o})[lc(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function okt(e){if(lc(e)===IV)return[];var t=I7(e);return[iae(e),t,iae(t)]}function lkt(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,l=o===void 0?!0:o,s=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,m=n.allowedAutoPlacements,v=t.options.placement,g=lc(v),b=g===v,C=s||(b||!h?[I7(v)]:okt(v)),y=[v].concat(C).reduce(function(ee,ae){return ee.concat(lc(ae)===IV?ikt(t,{placement:ae,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):ae)},[]),E=t.rects.reference,w=t.rects.popper,S=new Map,A=!0,D=y[0],k=0;k=0,I=L?"width":"height",P=m5(t,{placement:x,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),B=L?M?Es:fl:M?Fs:dl;E[I]>w[I]&&(B=I7(B));var T=I7(B),O=[];if(i&&O.push(P[_]<=0),l&&O.push(P[B]<=0,P[T]<=0),O.every(function(ee){return ee})){D=x,A=!1;break}S.set(x,O)}if(A)for(var N=h?3:1,V=function(ae){var pe=y.find(function(re){var Q=S.get(re);if(Q)return Q.slice(0,ae).every(function(ie){return ie})});if(pe)return D=pe,"break"},Y=N;Y>0;Y--){var z=V(Y);if(z==="break")break}t.placement!==D&&(t.modifiersData[r]._skip=!0,t.placement=D,t.reset=!0)}}var skt={name:"flip",enabled:!0,phase:"main",fn:lkt,requiresIfExists:["offset"],data:{_skip:!1}};function lae(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 sae(e){return[dl,Es,Fs,fl].some(function(t){return e[t]>=0})}function ukt(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,o=m5(t,{elementContext:"reference"}),l=m5(t,{altBoundary:!0}),s=lae(o,r),u=lae(l,a,i),c=sae(s),d=sae(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}var ckt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ukt};function dkt(e,t,n){var r=lc(e),a=[fl,dl].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],l=i[1];return o=o||0,l=(l||0)*a,[fl,Es].indexOf(r)>=0?{x:l,y:o}:{x:o,y:l}}function fkt(e){var t=e.state,n=e.options,r=e.name,a=n.offset,i=a===void 0?[0,0]:a,o=t5e.reduce(function(c,d){return c[d]=dkt(d,t.rects,i),c},{}),l=o[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}var pkt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:fkt};function hkt(e){var t=e.state,n=e.name;t.modifiersData[n]=u5e({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var mkt={name:"popperOffsets",enabled:!0,phase:"read",fn:hkt,data:{}};function vkt(e){return e==="x"?"y":"x"}function gkt(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,l=o===void 0?!1:o,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,m=h===void 0?0:h,v=m5(t,{boundary:s,rootBoundary:u,padding:d,altBoundary:c}),g=lc(t.placement),b=H0(t.placement),C=!b,y=$V(g),E=vkt(y),w=t.modifiersData.popperOffsets,S=t.rects.reference,A=t.rects.popper,D=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,k=typeof D=="number"?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(w){if(i){var M,L=y==="y"?dl:fl,I=y==="y"?Fs:Es,P=y==="y"?"height":"width",B=w[y],T=B+v[L],O=B-v[I],N=p?-A[P]/2:0,V=b===I0?S[P]:A[P],Y=b===I0?-A[P]:-S[P],z=t.elements.arrow,ee=p&&z?NV(z):{width:0,height:0},ae=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:i5e(),pe=ae[L],re=ae[I],Q=Gb(0,S[P],ee[P]),ie=C?S[P]/2-N-Q-pe-k.mainAxis:V-Q-pe-k.mainAxis,X=C?-S[P]/2+N+Q+re+k.mainAxis:Y+Q+re+k.mainAxis,q=t.elements.arrow&&R4(t.elements.arrow),ce=q?y==="y"?q.clientTop||0:q.clientLeft||0:0,K=(M=x==null?void 0:x[y])!=null?M:0,Z=B+ie-K-ce,se=B+X-K,Fe=Gb(p?WC(T,Z):T,B,p?Em(O,se):O);w[y]=Fe,_[y]=Fe-B}if(l){var me,te=y==="x"?dl:fl,ue=y==="x"?Fs:Es,Se=w[E],Ae=E==="y"?"height":"width",Ne=Se+v[te],je=Se-v[ue],De=[dl,fl].indexOf(g)!==-1,he=(me=x==null?void 0:x[E])!=null?me:0,He=De?Ne:Se-S[Ae]-A[Ae]-he+k.altAxis,xe=De?Se+S[Ae]+A[Ae]-he-k.altAxis:je,qe=p&&De?HTt(He,Se,xe):Gb(p?He:Ne,Se,p?xe:je);w[E]=qe,_[E]=qe-Se}t.modifiersData[r]=_}}var ykt={name:"preventOverflow",enabled:!0,phase:"main",fn:gkt,requiresIfExists:["offset"]};function bkt(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ckt(e){return e===Fu(e)||!cs(e)?VV(e):bkt(e)}function Fkt(e){var t=e.getBoundingClientRect(),n=$0(t.width)/e.offsetWidth||1,r=$0(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Ekt(e,t,n){n===void 0&&(n=!1);var r=cs(t),a=cs(t)&&Fkt(t),i=_p(t),o=V0(e,a),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((bc(t)!=="body"||zV(i))&&(l=Ckt(t)),cs(t)?(s=V0(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=HV(i))),{x:o.left+l.scrollLeft-s.x,y:o.top+l.scrollTop-s.y,width:o.width,height:o.height}}function wkt(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function a(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(l){if(!n.has(l)){var s=t.get(l);s&&a(s)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),r}function Skt(e){var t=wkt(e);return PTt.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function Akt(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Dkt(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var uae={placement:"bottom",modifiers:[],strategy:"absolute"};function cae(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function m5e(e,t){return typeof e=="function"?e.apply(void 0,t):e}function dae(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Mkt(e,t){var n=Object.assign({},e);return t.forEach(function(r){delete n[r]}),n}function Bkt(e){return e.split(/\s+/).filter(Boolean)}function Bh(e){return[].concat(e)}function fae(e,t){e.indexOf(t)===-1&&e.push(t)}function Rkt(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function v5e(e){return e.split("-")[0]}function z0(e){return[].slice.call(e)}function pae(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function wm(){return document.createElement("div")}function oE(e){return["Element","Fragment"].some(function(t){return WV(e,t)})}function Lkt(e){return WV(e,"NodeList")}function GV(e){return WV(e,"MouseEvent")}function Okt(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Pkt(e){return oE(e)?[e]:Lkt(e)?z0(e):Array.isArray(e)?e:z0(document.querySelectorAll(e))}function $x(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function v5(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function g5e(e){var t,n=Bh(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function Ikt(e,t){var n=t.clientX,r=t.clientY;return e.every(function(a){var i=a.popperRect,o=a.popperState,l=a.props,s=l.interactiveBorder,u=v5e(o.placement),c=o.modifiersData.offset;if(!c)return!0;var d=u==="bottom"?c.top.y:0,f=u==="top"?c.bottom.y:0,p=u==="right"?c.left.x:0,h=u==="left"?c.right.x:0,m=i.top-r+d>s,v=r-i.bottom-f>s,g=i.left-n+p>s,b=n-i.right-h>s;return m||v||g||b})}function Vx(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[r](a,n)})}function hae(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var $u={isTouch:!1},mae=0;function Nkt(){$u.isTouch||($u.isTouch=!0,window.performance&&document.addEventListener("mousemove",y5e))}function y5e(){var e=performance.now();e-mae<20&&($u.isTouch=!1,document.removeEventListener("mousemove",y5e)),mae=e}function $kt(){var e=document.activeElement;if(Okt(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Vkt(){document.addEventListener("touchstart",Nkt,wh),window.addEventListener("blur",$kt)}var Hkt=typeof window!="undefined"&&typeof document!="undefined",zkt=Hkt?!!window.msCrypto:!1,Wkt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Gkt={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},zs=Object.assign({appendTo:h5e,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Wkt,Gkt),jkt=Object.keys(zs),Kkt=function(t){var n=Object.keys(t);n.forEach(function(r){zs[r]=t[r]})};function b5e(e){var t=e.plugins||[],n=t.reduce(function(r,a){var i=a.name,o=a.defaultValue;if(i){var l;r[i]=e[i]!==void 0?e[i]:(l=zs[i])!=null?l:o}return r},{});return Object.assign({},e,n)}function Ukt(e,t){var n=t?Object.keys(b5e(Object.assign({},zs,{plugins:t}))):jkt,r=n.reduce(function(a,i){var o=(e.getAttribute("data-tippy-"+i)||"").trim();if(!o)return a;if(i==="content")a[i]=o;else try{a[i]=JSON.parse(o)}catch(l){a[i]=o}return a},{});return r}function vae(e,t){var n=Object.assign({},t,{content:m5e(t.content,[e])},t.ignoreAttributes?{}:Ukt(e,t.plugins));return n.aria=Object.assign({},zs.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var qkt=function(){return"innerHTML"};function JL(e,t){e[qkt()]=t}function gae(e){var t=wm();return e===!0?t.className=f5e:(t.className=p5e,oE(e)?t.appendChild(e):JL(t,e)),t}function yae(e,t){oE(t.content)?(JL(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?JL(e,t.content):e.textContent=t.content)}function GC(e){var t=e.firstElementChild,n=z0(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(c5e)}),arrow:n.find(function(r){return r.classList.contains(f5e)||r.classList.contains(p5e)}),backdrop:n.find(function(r){return r.classList.contains(d5e)})}}function C5e(e){var t=wm(),n=wm();n.className=xkt,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=wm();r.className=c5e,r.setAttribute("data-state","hidden"),yae(r,e.props),t.appendChild(n),n.appendChild(r),a(e.props,e.props);function a(i,o){var l=GC(t),s=l.box,u=l.content,c=l.arrow;o.theme?s.setAttribute("data-theme",o.theme):s.removeAttribute("data-theme"),typeof o.animation=="string"?s.setAttribute("data-animation",o.animation):s.removeAttribute("data-animation"),o.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth=typeof o.maxWidth=="number"?o.maxWidth+"px":o.maxWidth,o.role?s.setAttribute("role",o.role):s.removeAttribute("role"),(i.content!==o.content||i.allowHTML!==o.allowHTML)&&yae(u,e.props),o.arrow?c?i.arrow!==o.arrow&&(s.removeChild(c),s.appendChild(gae(o.arrow))):s.appendChild(gae(o.arrow)):c&&s.removeChild(c)}return{popper:t,onUpdate:a}}C5e.$$tippy=!0;var Ykt=1,D3=[],Hx=[];function Jkt(e,t){var n=vae(e,Object.assign({},zs,b5e(pae(t)))),r,a,i,o=!1,l=!1,s=!1,u=!1,c,d,f,p=[],h=dae(Z,n.interactiveDebounce),m,v=Ykt++,g=null,b=Rkt(n.plugins),C={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},y={id:v,reference:e,popper:wm(),popperInstance:g,props:n,state:C,plugins:b,clearDelayTimeouts:He,setProps:xe,setContent:qe,show:ve,hide:Ge,hideWithInteractivity:Ke,enable:De,disable:he,unmount:rt,destroy:nt};if(!n.render)return y;var E=n.render(y),w=E.popper,S=E.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+y.id,y.popper=w,e._tippy=y,w._tippy=y;var A=b.map(function(ze){return ze.fn(y)}),D=e.hasAttribute("aria-expanded");return q(),N(),B(),T("onCreate",[y]),n.showOnCreate&&Ne(),w.addEventListener("mouseenter",function(){y.props.interactive&&y.state.isVisible&&y.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){y.props.interactive&&y.props.trigger.indexOf("mouseenter")>=0&&L().addEventListener("mousemove",h)}),y;function k(){var ze=y.props.touch;return Array.isArray(ze)?ze:[ze,0]}function x(){return k()[0]==="hold"}function _(){var ze;return!!((ze=y.props.render)!=null&&ze.$$tippy)}function M(){return m||e}function L(){var ze=M().parentNode;return ze?g5e(ze):document}function I(){return GC(w)}function P(ze){return y.state.isMounted&&!y.state.isVisible||$u.isTouch||c&&c.type==="focus"?0:Nx(y.props.delay,ze?0:1,zs.delay)}function B(ze){ze===void 0&&(ze=!1),w.style.pointerEvents=y.props.interactive&&!ze?"":"none",w.style.zIndex=""+y.props.zIndex}function T(ze,Ie,ge){if(ge===void 0&&(ge=!0),A.forEach(function(Xe){Xe[ze]&&Xe[ze].apply(Xe,Ie)}),ge){var oe;(oe=y.props)[ze].apply(oe,Ie)}}function O(){var ze=y.props.aria;if(ze.content){var Ie="aria-"+ze.content,ge=w.id,oe=Bh(y.props.triggerTarget||e);oe.forEach(function(Xe){var it=Xe.getAttribute(Ie);if(y.state.isVisible)Xe.setAttribute(Ie,it?it+" "+ge:ge);else{var xt=it&&it.replace(ge,"").trim();xt?Xe.setAttribute(Ie,xt):Xe.removeAttribute(Ie)}})}}function N(){if(!(D||!y.props.aria.expanded)){var ze=Bh(y.props.triggerTarget||e);ze.forEach(function(Ie){y.props.interactive?Ie.setAttribute("aria-expanded",y.state.isVisible&&Ie===M()?"true":"false"):Ie.removeAttribute("aria-expanded")})}}function V(){L().removeEventListener("mousemove",h),D3=D3.filter(function(ze){return ze!==h})}function Y(ze){if(!($u.isTouch&&(s||ze.type==="mousedown"))){var Ie=ze.composedPath&&ze.composedPath()[0]||ze.target;if(!(y.props.interactive&&hae(w,Ie))){if(Bh(y.props.triggerTarget||e).some(function(ge){return hae(ge,Ie)})){if($u.isTouch||y.state.isVisible&&y.props.trigger.indexOf("click")>=0)return}else T("onClickOutside",[y,ze]);y.props.hideOnClick===!0&&(y.clearDelayTimeouts(),y.hide(),l=!0,setTimeout(function(){l=!1}),y.state.isMounted||pe())}}}function z(){s=!0}function ee(){s=!1}function ae(){var ze=L();ze.addEventListener("mousedown",Y,!0),ze.addEventListener("touchend",Y,wh),ze.addEventListener("touchstart",ee,wh),ze.addEventListener("touchmove",z,wh)}function pe(){var ze=L();ze.removeEventListener("mousedown",Y,!0),ze.removeEventListener("touchend",Y,wh),ze.removeEventListener("touchstart",ee,wh),ze.removeEventListener("touchmove",z,wh)}function re(ze,Ie){ie(ze,function(){!y.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&Ie()})}function Q(ze,Ie){ie(ze,Ie)}function ie(ze,Ie){var ge=I().box;function oe(Xe){Xe.target===ge&&(Vx(ge,"remove",oe),Ie())}if(ze===0)return Ie();Vx(ge,"remove",d),Vx(ge,"add",oe),d=oe}function X(ze,Ie,ge){ge===void 0&&(ge=!1);var oe=Bh(y.props.triggerTarget||e);oe.forEach(function(Xe){Xe.addEventListener(ze,Ie,ge),p.push({node:Xe,eventType:ze,handler:Ie,options:ge})})}function q(){x()&&(X("touchstart",K,{passive:!0}),X("touchend",se,{passive:!0})),Bkt(y.props.trigger).forEach(function(ze){if(ze!=="manual")switch(X(ze,K),ze){case"mouseenter":X("mouseleave",se);break;case"focus":X(zkt?"focusout":"blur",Fe);break;case"focusin":X("focusout",Fe);break}})}function ce(){p.forEach(function(ze){var Ie=ze.node,ge=ze.eventType,oe=ze.handler,Xe=ze.options;Ie.removeEventListener(ge,oe,Xe)}),p=[]}function K(ze){var Ie,ge=!1;if(!(!y.state.isEnabled||me(ze)||l)){var oe=((Ie=c)==null?void 0:Ie.type)==="focus";c=ze,m=ze.currentTarget,N(),!y.state.isVisible&&GV(ze)&&D3.forEach(function(Xe){return Xe(ze)}),ze.type==="click"&&(y.props.trigger.indexOf("mouseenter")<0||o)&&y.props.hideOnClick!==!1&&y.state.isVisible?ge=!0:Ne(ze),ze.type==="click"&&(o=!ge),ge&&!oe&&je(ze)}}function Z(ze){var Ie=ze.target,ge=M().contains(Ie)||w.contains(Ie);if(!(ze.type==="mousemove"&&ge)){var oe=Ae().concat(w).map(function(Xe){var it,xt=Xe._tippy,Ee=(it=xt.popperInstance)==null?void 0:it.state;return Ee?{popperRect:Xe.getBoundingClientRect(),popperState:Ee,props:n}:null}).filter(Boolean);Ikt(oe,ze)&&(V(),je(ze))}}function se(ze){var Ie=me(ze)||y.props.trigger.indexOf("click")>=0&&o;if(!Ie){if(y.props.interactive){y.hideWithInteractivity(ze);return}je(ze)}}function Fe(ze){y.props.trigger.indexOf("focusin")<0&&ze.target!==M()||y.props.interactive&&ze.relatedTarget&&w.contains(ze.relatedTarget)||je(ze)}function me(ze){return $u.isTouch?x()!==ze.type.indexOf("touch")>=0:!1}function te(){ue();var ze=y.props,Ie=ze.popperOptions,ge=ze.placement,oe=ze.offset,Xe=ze.getReferenceClientRect,it=ze.moveTransition,xt=_()?GC(w).arrow:null,Ee=Xe?{getBoundingClientRect:Xe,contextElement:Xe.contextElement||M()}:e,pn={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(gt){var an=gt.state;if(_()){var Wt=I(),bt=Wt.box;["placement","reference-hidden","escaped"].forEach(function(Ft){Ft==="placement"?bt.setAttribute("data-placement",an.placement):an.attributes.popper["data-popper-"+Ft]?bt.setAttribute("data-"+Ft,""):bt.removeAttribute("data-"+Ft)}),an.attributes.popper={}}}},Qe=[{name:"offset",options:{offset:oe}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!it}},pn];_()&&xt&&Qe.push({name:"arrow",options:{element:xt,padding:3}}),Qe.push.apply(Qe,(Ie==null?void 0:Ie.modifiers)||[]),y.popperInstance=_kt(Ee,w,Object.assign({},Ie,{placement:ge,onFirstUpdate:f,modifiers:Qe}))}function ue(){y.popperInstance&&(y.popperInstance.destroy(),y.popperInstance=null)}function Se(){var ze=y.props.appendTo,Ie,ge=M();y.props.interactive&&ze===h5e||ze==="parent"?Ie=ge.parentNode:Ie=m5e(ze,[ge]),Ie.contains(w)||Ie.appendChild(w),y.state.isMounted=!0,te()}function Ae(){return z0(w.querySelectorAll("[data-tippy-root]"))}function Ne(ze){y.clearDelayTimeouts(),ze&&T("onTrigger",[y,ze]),ae();var Ie=P(!0),ge=k(),oe=ge[0],Xe=ge[1];$u.isTouch&&oe==="hold"&&Xe&&(Ie=Xe),Ie?r=setTimeout(function(){y.show()},Ie):y.show()}function je(ze){if(y.clearDelayTimeouts(),T("onUntrigger",[y,ze]),!y.state.isVisible){pe();return}if(!(y.props.trigger.indexOf("mouseenter")>=0&&y.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ze.type)>=0&&o)){var Ie=P(!1);Ie?a=setTimeout(function(){y.state.isVisible&&y.hide()},Ie):i=requestAnimationFrame(function(){y.hide()})}}function De(){y.state.isEnabled=!0}function he(){y.hide(),y.state.isEnabled=!1}function He(){clearTimeout(r),clearTimeout(a),cancelAnimationFrame(i)}function xe(ze){if(!y.state.isDestroyed){T("onBeforeUpdate",[y,ze]),ce();var Ie=y.props,ge=vae(e,Object.assign({},Ie,pae(ze),{ignoreAttributes:!0}));y.props=ge,q(),Ie.interactiveDebounce!==ge.interactiveDebounce&&(V(),h=dae(Z,ge.interactiveDebounce)),Ie.triggerTarget&&!ge.triggerTarget?Bh(Ie.triggerTarget).forEach(function(oe){oe.removeAttribute("aria-expanded")}):ge.triggerTarget&&e.removeAttribute("aria-expanded"),N(),B(),S&&S(Ie,ge),y.popperInstance&&(te(),Ae().forEach(function(oe){requestAnimationFrame(oe._tippy.popperInstance.forceUpdate)})),T("onAfterUpdate",[y,ze])}}function qe(ze){y.setProps({content:ze})}function ve(){var ze=y.state.isVisible,Ie=y.state.isDestroyed,ge=!y.state.isEnabled,oe=$u.isTouch&&!y.props.touch,Xe=Nx(y.props.duration,0,zs.duration);if(!(ze||Ie||ge||oe)&&!M().hasAttribute("disabled")&&(T("onShow",[y],!1),y.props.onShow(y)!==!1)){if(y.state.isVisible=!0,_()&&(w.style.visibility="visible"),B(),ae(),y.state.isMounted||(w.style.transition="none"),_()){var it=I(),xt=it.box,Ee=it.content;$x([xt,Ee],0)}f=function(){var Qe;if(!(!y.state.isVisible||u)){if(u=!0,w.offsetHeight,w.style.transition=y.props.moveTransition,_()&&y.props.animation){var ct=I(),gt=ct.box,an=ct.content;$x([gt,an],Xe),v5([gt,an],"visible")}O(),N(),fae(Hx,y),(Qe=y.popperInstance)==null||Qe.forceUpdate(),T("onMount",[y]),y.props.animation&&_()&&Q(Xe,function(){y.state.isShown=!0,T("onShown",[y])})}},Se()}}function Ge(){var ze=!y.state.isVisible,Ie=y.state.isDestroyed,ge=!y.state.isEnabled,oe=Nx(y.props.duration,1,zs.duration);if(!(ze||Ie||ge)&&(T("onHide",[y],!1),y.props.onHide(y)!==!1)){if(y.state.isVisible=!1,y.state.isShown=!1,u=!1,o=!1,_()&&(w.style.visibility="hidden"),V(),pe(),B(!0),_()){var Xe=I(),it=Xe.box,xt=Xe.content;y.props.animation&&($x([it,xt],oe),v5([it,xt],"hidden"))}O(),N(),y.props.animation?_()&&re(oe,y.unmount):y.unmount()}}function Ke(ze){L().addEventListener("mousemove",h),fae(D3,h),h(ze)}function rt(){y.state.isVisible&&y.hide(),y.state.isMounted&&(ue(),Ae().forEach(function(ze){ze._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),Hx=Hx.filter(function(ze){return ze!==y}),y.state.isMounted=!1,T("onHidden",[y]))}function nt(){y.state.isDestroyed||(y.clearDelayTimeouts(),y.unmount(),ce(),delete e._tippy,y.state.isDestroyed=!0,T("onDestroy",[y]))}}function Ln(e,t){t===void 0&&(t={});var n=zs.plugins.concat(t.plugins||[]);Vkt();var r=Object.assign({},t,{plugins:n}),a=Pkt(e),i=a.reduce(function(o,l){var s=l&&Jkt(l,r);return s&&o.push(s),o},[]);return oE(e)?i[0]:i}Ln.defaultProps=zs;Ln.setDefaultProps=Kkt;Ln.currentInput=$u;var Xkt=Object.assign({},r5e,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}}),Zkt=function(t,n){var r;n===void 0&&(n={});var a=t,i=[],o=[],l,s=n.overrides,u=[],c=!1;function d(){o=a.map(function(y){return Bh(y.props.triggerTarget||y.reference)}).reduce(function(y,E){return y.concat(E)},[])}function f(){i=a.map(function(y){return y.reference})}function p(y){a.forEach(function(E){y?E.enable():E.disable()})}function h(y){return a.map(function(E){var w=E.setProps;return E.setProps=function(S){w(S),E.reference===l&&y.setProps(S)},function(){E.setProps=w}})}function m(y,E){var w=o.indexOf(E);if(E!==l){l=E;var S=(s||[]).concat("content").reduce(function(A,D){return A[D]=a[w].props[D],A},{});y.setProps(Object.assign({},S,{getReferenceClientRect:typeof S.getReferenceClientRect=="function"?S.getReferenceClientRect:function(){var A;return(A=i[w])==null?void 0:A.getBoundingClientRect()}}))}}p(!1),f(),d();var v={fn:function(){return{onDestroy:function(){p(!0)},onHidden:function(){l=null},onClickOutside:function(w){w.props.showOnCreate&&!c&&(c=!0,l=null)},onShow:function(w){w.props.showOnCreate&&!c&&(c=!0,m(w,i[0]))},onTrigger:function(w,S){m(w,S.currentTarget)}}}},g=Ln(wm(),Object.assign({},Mkt(n,["overrides"]),{plugins:[v].concat(n.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},n.popperOptions,{modifiers:[].concat(((r=n.popperOptions)==null?void 0:r.modifiers)||[],[Xkt])})})),b=g.show;g.show=function(y){if(b(),!l&&y==null)return m(g,i[0]);if(!(l&&y==null)){if(typeof y=="number")return i[y]&&m(g,i[y]);if(a.indexOf(y)>=0){var E=y.reference;return m(g,E)}if(i.indexOf(y)>=0)return m(g,y)}},g.showNext=function(){var y=i[0];if(!l)return g.show(0);var E=i.indexOf(l);g.show(i[E+1]||y)},g.showPrevious=function(){var y=i[i.length-1];if(!l)return g.show(y);var E=i.indexOf(l),w=i[E-1]||y;g.show(w)};var C=g.setProps;return g.setProps=function(y){s=y.overrides||s,C(y)},g.setInstances=function(y){p(!0),u.forEach(function(E){return E()}),a=y,p(!1),f(),d(),u=h(g),g.setProps({triggerTarget:o})},u=h(g),g},Qkt={name:"animateFill",defaultValue:!1,fn:function(t){var n;if(!((n=t.props.render)!=null&&n.$$tippy))return{};var r=GC(t.popper),a=r.box,i=r.content,o=t.props.animateFill?e_t():null;return{onCreate:function(){o&&(a.insertBefore(o,a.firstElementChild),a.setAttribute("data-animatefill",""),a.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var s=a.style.transitionDuration,u=Number(s.replace("ms",""));i.style.transitionDelay=Math.round(u/10)+"ms",o.style.transitionDuration=s,v5([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&v5([o],"hidden")}}}};function e_t(){var e=wm();return e.className=d5e,v5([e],"hidden"),e}var XL={clientX:0,clientY:0},T3=[];function F5e(e){var t=e.clientX,n=e.clientY;XL={clientX:t,clientY:n}}function t_t(e){e.addEventListener("mousemove",F5e)}function n_t(e){e.removeEventListener("mousemove",F5e)}var r_t={name:"followCursor",defaultValue:!1,fn:function(t){var n=t.reference,r=g5e(t.props.triggerTarget||n),a=!1,i=!1,o=!0,l=t.props;function s(){return t.props.followCursor==="initial"&&t.state.isVisible}function u(){r.addEventListener("mousemove",f)}function c(){r.removeEventListener("mousemove",f)}function d(){a=!0,t.setProps({getReferenceClientRect:null}),a=!1}function f(m){var v=m.target?n.contains(m.target):!0,g=t.props.followCursor,b=m.clientX,C=m.clientY,y=n.getBoundingClientRect(),E=b-y.left,w=C-y.top;(v||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var A=n.getBoundingClientRect(),D=b,k=C;g==="initial"&&(D=A.left+E,k=A.top+w);var x=g==="horizontal"?A.top:k,_=g==="vertical"?A.right:D,M=g==="horizontal"?A.bottom:k,L=g==="vertical"?A.left:D;return{width:_-L,height:M-x,top:x,right:_,bottom:M,left:L}}})}function p(){t.props.followCursor&&(T3.push({instance:t,doc:r}),t_t(r))}function h(){T3=T3.filter(function(m){return m.instance!==t}),T3.filter(function(m){return m.doc===r}).length===0&&n_t(r)}return{onCreate:p,onDestroy:h,onBeforeUpdate:function(){l=t.props},onAfterUpdate:function(v,g){var b=g.followCursor;a||b!==void 0&&l.followCursor!==b&&(h(),b?(p(),t.state.isMounted&&!i&&!s()&&u()):(c(),d()))},onMount:function(){t.props.followCursor&&!i&&(o&&(f(XL),o=!1),s()||u())},onTrigger:function(v,g){GV(g)&&(XL={clientX:g.clientX,clientY:g.clientY}),i=g.type==="focus"},onHidden:function(){t.props.followCursor&&(d(),c(),o=!0)}}}};function a_t(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((n=e.popperOptions)==null?void 0:n.modifiers)||[]).filter(function(r){var a=r.name;return a!==t.name}),[t])})}}var i_t={name:"inlinePositioning",defaultValue:!1,fn:function(t){var n=t.reference;function r(){return!!t.props.inlinePositioning}var a,i=-1,o=!1,l=[],s={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(p){var h=p.state;r()&&(l.indexOf(h.placement)!==-1&&(l=[]),a!==h.placement&&l.indexOf(h.placement)===-1&&(l.push(h.placement),t.setProps({getReferenceClientRect:function(){return u(h.placement)}})),a=h.placement)}};function u(f){return o_t(v5e(f),n.getBoundingClientRect(),z0(n.getClientRects()),i)}function c(f){o=!0,t.setProps(f),o=!1}function d(){o||c(a_t(t.props,s))}return{onCreate:d,onAfterUpdate:d,onTrigger:function(p,h){if(GV(h)){var m=z0(t.reference.getClientRects()),v=m.find(function(b){return b.left-2<=h.clientX&&b.right+2>=h.clientX&&b.top-2<=h.clientY&&b.bottom+2>=h.clientY}),g=m.indexOf(v);i=g>-1?g:i}},onHidden:function(){i=-1}}}};function o_t(e,t,n,r){if(n.length<2||e===null)return t;if(n.length===2&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":{var a=n[0],i=n[n.length-1],o=e==="top",l=a.top,s=i.bottom,u=o?a.left:i.left,c=o?a.right:i.right,d=c-u,f=s-l;return{top:l,bottom:s,left:u,right:c,width:d,height:f}}case"left":case"right":{var p=Math.min.apply(Math,n.map(function(w){return w.left})),h=Math.max.apply(Math,n.map(function(w){return w.right})),m=n.filter(function(w){return e==="left"?w.left===p:w.right===h}),v=m[0].top,g=m[m.length-1].bottom,b=p,C=h,y=C-b,E=g-v;return{top:v,bottom:g,left:b,right:C,width:y,height:E}}default:return t}}var l_t={name:"sticky",defaultValue:!1,fn:function(t){var n=t.reference,r=t.popper;function a(){return t.popperInstance?t.popperInstance.state.elements.reference:n}function i(u){return t.props.sticky===!0||t.props.sticky===u}var o=null,l=null;function s(){var u=i("reference")?a().getBoundingClientRect():null,c=i("popper")?r.getBoundingClientRect():null;(u&&bae(o,u)||c&&bae(l,c))&&t.popperInstance&&t.popperInstance.update(),o=u,l=c,t.state.isMounted&&requestAnimationFrame(s)}return{onMount:function(){t.props.sticky&&s()}}}};function bae(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}Ln.setDefaultProps({render:C5e});Ln.setDefaultProps({onShow:e=>{if(!e.props.content)return!1}});const s_t=e=>e instanceof Object&&"$"in e&&"$el"in e;function E5e(e,t={},n={mount:!0,appName:"Tippy"}){n=Object.assign({mount:!0,appName:"Tippy"},n);const r=Jt(),a=j(),i=j({isEnabled:!1,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1}),o=Zn();let l=null;const s=()=>l||(l=document.createDocumentFragment(),l),u=S=>{let A,D=Gn(S)?S.value:S;return sr(D)?(o.value||(o.value=np({name:n.appName,setup:()=>()=>Gn(S)?S.value:S}),r&&Object.assign(o.value._context,r.appContext),o.value.mount(s())),A=()=>s()):typeof D=="object"?(o.value||(o.value=np({name:n.appName,setup:()=>()=>W(Gn(S)?S.value:S)}),r&&Object.assign(o.value._context,r.appContext),o.value.mount(s())),A=()=>s()):A=D,A},c=S=>{let A={};return Gn(S)?A=S.value||{}:il(S)?A=Te({},S):A=Te({},S),A.content&&(A.content=u(A.content)),A.triggerTarget&&(A.triggerTarget=Gn(A.triggerTarget)?A.triggerTarget.value:A.triggerTarget),(!A.plugins||!Array.isArray(A.plugins))&&(A.plugins=[]),A.plugins=A.plugins.filter(D=>D.name!=="vueTippyReactiveState"),A.plugins.push({name:"vueTippyReactiveState",fn:()=>({onCreate(){i.value.isEnabled=!0},onMount(){i.value.isMounted=!0},onShow(){i.value.isMounted=!0,i.value.isVisible=!0},onShown(){i.value.isShown=!0},onHide(){i.value.isMounted=!1,i.value.isVisible=!1},onHidden(){i.value.isShown=!1},onUnmounted(){i.value.isMounted=!1},onDestroy(){i.value.isDestroyed=!0}})}),A},d=()=>{a.value&&a.value.setProps(c(t))},f=()=>{!a.value||!t.content||a.value.setContent(u(t.content))},p=S=>{var A;(A=a.value)===null||A===void 0||A.setContent(u(S))},h=S=>{var A;(A=a.value)===null||A===void 0||A.setProps(c(S))},m=()=>{var S;a.value&&(a.value.destroy(),a.value=void 0),l=null,(S=o.value)===null||S===void 0||S.unmount(),o.value=void 0},v=()=>{var S;(S=a.value)===null||S===void 0||S.show()},g=()=>{var S;(S=a.value)===null||S===void 0||S.hide()},b=()=>{var S;(S=a.value)===null||S===void 0||S.disable(),i.value.isEnabled=!1},C=()=>{var S;(S=a.value)===null||S===void 0||S.enable(),i.value.isEnabled=!0},y=()=>{var S;(S=a.value)===null||S===void 0||S.unmount()},E=()=>{if(!e)return;let S=Gn(e)?e.value:e;typeof S=="function"&&(S=S()),s_t(S)&&(S=S.$el),S&&(a.value=Ln(S,c(t)),S.$tippy=w)},w={tippy:a,refresh:d,refreshContent:f,setContent:p,setProps:h,destroy:m,hide:g,show:v,disable:b,enable:C,unmount:y,mount:E,state:i};return n.mount&&(r?r.isMounted?E():Ut(E):E()),r&&la(()=>{m()}),Gn(t)||il(t)?$e(t,d,{immediate:!1}):Gn(t.content)&&$e(t.content,f,{immediate:!1}),w}function u_t(e,t){const n=j();return Ut(()=>{const a=(Array.isArray(e)?e.map(i=>i.value):typeof e=="function"?e():e.value).map(i=>i instanceof Element?i._tippy:i).filter(Boolean);n.value=Zkt(a,t?Te({allowHTML:!0},t):{allowHTML:!0})}),{singleton:n}}function c_t(e){return typeof e=="function"?e():F(e)}function d_t(e){var t,n;const r=c_t(e);return(n=(t=r)===null||t===void 0?void 0:t.$el)!==null&&n!==void 0?n:r}const f_t=Ve({props:{to:{type:[String,Function]},tag:{type:[String,Object],default:"span"},contentTag:{type:[String,Object],default:"span"},contentClass:{type:String,default:null},appendTo:{default:()=>Ln.defaultProps.appendTo},aria:{default:()=>Ln.defaultProps.aria},delay:{default:()=>Ln.defaultProps.delay},duration:{default:()=>Ln.defaultProps.duration},getReferenceClientRect:{default:()=>Ln.defaultProps.getReferenceClientRect},hideOnClick:{type:[Boolean,String],default:()=>Ln.defaultProps.hideOnClick},ignoreAttributes:{type:Boolean,default:()=>Ln.defaultProps.ignoreAttributes},interactive:{type:Boolean,default:()=>Ln.defaultProps.interactive},interactiveBorder:{default:()=>Ln.defaultProps.interactiveBorder},interactiveDebounce:{default:()=>Ln.defaultProps.interactiveDebounce},moveTransition:{default:()=>Ln.defaultProps.moveTransition},offset:{default:()=>Ln.defaultProps.offset},onAfterUpdate:{default:()=>Ln.defaultProps.onAfterUpdate},onBeforeUpdate:{default:()=>Ln.defaultProps.onBeforeUpdate},onCreate:{default:()=>Ln.defaultProps.onCreate},onDestroy:{default:()=>Ln.defaultProps.onDestroy},onHidden:{default:()=>Ln.defaultProps.onHidden},onHide:{default:()=>Ln.defaultProps.onHide},onMount:{default:()=>Ln.defaultProps.onMount},onShow:{default:()=>Ln.defaultProps.onShow},onShown:{default:()=>Ln.defaultProps.onShown},onTrigger:{default:()=>Ln.defaultProps.onTrigger},onUntrigger:{default:()=>Ln.defaultProps.onUntrigger},onClickOutside:{default:()=>Ln.defaultProps.onClickOutside},placement:{default:()=>Ln.defaultProps.placement},plugins:{default:()=>Ln.defaultProps.plugins},popperOptions:{default:()=>Ln.defaultProps.popperOptions},render:{default:()=>Ln.defaultProps.render},showOnCreate:{type:Boolean,default:()=>Ln.defaultProps.showOnCreate},touch:{type:[Boolean,String,Array],default:()=>Ln.defaultProps.touch},trigger:{default:()=>Ln.defaultProps.trigger},triggerTarget:{default:()=>Ln.defaultProps.triggerTarget},animateFill:{type:Boolean,default:()=>Ln.defaultProps.animateFill},followCursor:{type:[Boolean,String],default:()=>Ln.defaultProps.followCursor},inlinePositioning:{type:Boolean,default:()=>Ln.defaultProps.inlinePositioning},sticky:{type:[Boolean,String],default:()=>Ln.defaultProps.sticky},allowHTML:{type:Boolean,default:()=>Ln.defaultProps.allowHTML},animation:{default:()=>Ln.defaultProps.animation},arrow:{default:()=>Ln.defaultProps.arrow},content:{default:()=>Ln.defaultProps.content},inertia:{default:()=>Ln.defaultProps.inertia},maxWidth:{default:()=>Ln.defaultProps.maxWidth},role:{default:()=>Ln.defaultProps.role},theme:{default:()=>Ln.defaultProps.theme},zIndex:{default:()=>Ln.defaultProps.zIndex}},emits:["state"],setup(e,{slots:t,emit:n,expose:r}){const a=j(),i=j(),o=j(),l=j(!1),s=()=>{let p=Te({},e);for(const h of["to","tag","contentTag","contentClass"])p.hasOwnProperty(h)&&delete p[h];return p};let u=()=>d_t(a);e.to&&(typeof Element!="undefined"&&e.to instanceof Element?u=()=>e.to:e.to==="parent"?u=()=>{let p=a.value;return p||(p=a.value=i.value.parentElement),p}:(typeof e.to=="string"||e.to instanceof String)&&(u=()=>document.querySelector(e.to)));const c=E5e(u,s());let d=t.content;!d&&e.to==="parent"&&(d=t.default),Ut(()=>{l.value=!0,Oe(()=>{d&&c.setContent(()=>o.value)})}),$e(c.state,()=>{n("state",F(c.state))},{immediate:!0,deep:!0}),$e(()=>e,()=>{c.setProps(s()),d&&c.setContent(()=>o.value)},{deep:!0});let f=dn(Te({elem:a,contentElem:o,mounted:l},c));return r(f),()=>{const p=(typeof e.contentTag=="string",e.contentTag),h=d?W(p,{ref:o,style:{display:l.value?"inherit":"none"},class:e.contentClass},d(f)):null;if(e.to==="parent"){const g=[];if(!a.value){const b=W("span",{ref:i,"data-v-tippy":"",style:{display:"none"}});g.push(b)}return h&&g.push(h),g}const m=t.default?t.default(f):[];if(!e.tag){const g=W(m[0],{ref:a,"data-v-tippy":""});return h?[g,h]:g}const v=(typeof e.tag=="string",e.tag);return W(v,{ref:a,"data-v-tippy":""},h?[m,h]:m)}}}),p_t=["a11y","allowHTML","arrow","flip","flipOnUpdate","hideOnClick","ignoreAttributes","inertia","interactive","lazy","multiple","showOnInit","touch","touchHold"];let ZL={};Object.keys(Ln.defaultProps).forEach(e=>{p_t.includes(e)?ZL[e]={type:Boolean,default:function(){return Ln.defaultProps[e]}}:ZL[e]={default:function(){return Ln.defaultProps[e]}}});const h_t=Ve({props:ZL,setup(e){const t=j([]),{singleton:n}=u_t(t,e);return{instances:t,singleton:n}},mounted(){var e;const n=this.$el.parentElement.querySelectorAll("[data-v-tippy]");this.instances=Array.from(n).map(r=>r._tippy).filter(Boolean),(e=this.singleton)===null||e===void 0||e.setInstances(this.instances)},render(){let e=this.$slots.default?this.$slots.default():[];return W(()=>e)}}),m_t={mounted(e,t,n){const r=typeof t.value=="string"?{content:t.value}:t.value||{},a=Object.keys(t.modifiers||{}),i=a.find(l=>l!=="arrow"),o=a.findIndex(l=>l==="arrow")!==-1;i&&(r.placement=r.placement||i),o&&(r.arrow=r.arrow!==void 0?r.arrow:!0),n.props&&n.props.onTippyShow&&(r.onShow=function(...l){var s;return(s=n.props)===null||s===void 0?void 0:s.onTippyShow(...l)}),n.props&&n.props.onTippyShown&&(r.onShown=function(...l){var s;return(s=n.props)===null||s===void 0?void 0:s.onTippyShown(...l)}),n.props&&n.props.onTippyHidden&&(r.onHidden=function(...l){var s;return(s=n.props)===null||s===void 0?void 0:s.onTippyHidden(...l)}),n.props&&n.props.onTippyHide&&(r.onHide=function(...l){var s;return(s=n.props)===null||s===void 0?void 0:s.onTippyHide(...l)}),n.props&&n.props.onTippyMount&&(r.onMount=function(...l){var s;return(s=n.props)===null||s===void 0?void 0:s.onTippyMount(...l)}),e.getAttribute("title")&&!r.content&&(r.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!r.content&&(r.content=e.getAttribute("content")),E5e(e,r)},unmounted(e){e.$tippy?e.$tippy.destroy():e._tippy&&e._tippy.destroy()},updated(e,t){const n=typeof t.value=="string"?{content:t.value}:t.value||{};n.content||(n.content=null),e.getAttribute("title")&&!n.content&&(n.content=e.getAttribute("title"),e.removeAttribute("title")),e.getAttribute("content")&&!n.content&&(n.content=e.getAttribute("content")),e.$tippy?e.$tippy.setProps(n||{}):e._tippy&&e._tippy.setProps(n||{})}},v_t={install(e,t={}){Ln.setDefaultProps(t.defaultProps||{}),e.directive(t.directive||"tippy",m_t),e.component(t.component||"tippy",f_t),e.component(t.componentSingleton||"tippy-singleton",h_t)}},g_t=Ln.setDefaultProps;g_t({ignoreAttributes:!0,plugins:[l_t,i_t,r_t,Qkt]});const Tl=np(ait);Object.keys(Rre).forEach(e=>{Tl.directive(e,Rre[e])});Tl.component("IconifyIconOffline",yTt);Tl.component("IconifyIconOnline",bTt);Tl.component("FontIcon",CTt);Tl.component("Auth",ETt);Tl.component("Perms",STt);Tl.use(v_t);Pst(Tl).then(e=>Xt(null,null,function*(){jut(Tl),Tl.use(Oa),yield Oa.isReady(),nAt(Tl,e),Tl.use(qht).use(Vst).use(qSt).use(pAt).use(jSt).use(CAt).use(yFt),Tl.mount("#app")}));export{In as $,hn as A,eDe as B,mxt as C,Ka as D,tDe as E,kt as F,EO as G,QAe as H,VB as I,s9 as J,W as K,Zn as L,Qn as M,We as N,Txt as O,No as P,Yr as Q,CI as R,hxt as S,Bd as T,pu as U,ln as V,Goe as W,pxt as X,E5 as Y,Jt as Z,bfe as _,j as a,pa as a$,fxt as a0,Lo as a1,Dxt as a2,np as a3,tn as a4,ca as a5,Art as a6,Q0 as a7,lxt as a8,ns as a9,CTt as aA,yTt as aB,bTt as aC,sr as aD,Gn as aE,Vxt as aF,lDe as aG,Ext as aH,vxt as aI,ZPe as aJ,Ri as aK,qu as aL,CMt as aM,eSe as aN,Hie as aO,dxt as aP,BSe as aQ,cDe as aR,xE as aS,E5e as aT,qs as aU,wAt as aV,m_t as aW,Jet as aX,ap as aY,uM as aZ,un as a_,Zct as aa,Xct as ab,MB as ac,pd as ad,pMt as ae,dce as af,Sxt as ag,fMt as ah,km as ai,Hxt as aj,uw as ak,Wxt as al,zxt as am,Gxt as an,cw as ao,Kxt as ap,jxt as aq,mMt as ar,Axt as as,AI as at,Z9 as au,Pa as av,om as aw,Cf as ax,T5 as ay,i4 as az,en as b,M1 as b$,ld as b0,$xt as b1,uVe as b2,oxt as b3,axt as b4,ixt as b5,Na as b6,bwe as b7,Cwe as b8,lt as b9,Qoe as bA,cc as bB,$o as bC,dTe as bD,hTe as bE,yTe as bF,ele as bG,f9 as bH,oTe as bI,ATe as bJ,xO as bK,J0 as bL,Y0 as bM,_5 as bN,kO as bO,x5 as bP,Ia as bQ,ule as bR,Um as bS,dle as bT,rle as bU,Z0 as bV,TO as bW,t_e as bX,qke as bY,_1 as bZ,STe as b_,rAe as ba,j0 as bb,K0 as bc,Qt as bd,xrt as be,Il as bf,w5 as bg,sxt as bh,Twe as bi,Iat as bj,Rxt as bk,Bxt as bl,Fwe as bm,b5 as bn,Iie as bo,Yu as bp,dr as bq,d9 as br,Zoe as bs,zDe as bt,fM as bu,AO as bv,iTe as bw,Vo as bx,uu as by,lTe as bz,vW as c,PE as c$,LO as c0,M5 as c1,SO as c2,_le as c3,FMe as c4,u_e as c5,k5 as c6,Ble as c7,MO as c8,i2 as c9,y9 as cA,sMe as cB,uMe as cC,MTe as cD,ME as cE,rTe as cF,mTe as cG,cMe as cH,hMe as cI,NO as cJ,ps as cK,gle as cL,qMe as cM,Oxe as cN,mMe as cO,v9 as cP,WMe as cQ,Ple as cR,TTe as cS,Uke as cT,OO as cU,ODe as cV,RDe as cW,tBe as cX,t6 as cY,LMe as cZ,o2 as c_,TMe as ca,wle as cb,Mle as cc,kMe as cd,yMe as ce,CMe as cf,n_e as cg,Ps as ch,Nxe as ci,f_e as cj,tle as ck,bMe as cl,Rle as cm,BMe as cn,xle as co,DO as cp,HDe as cq,gTe as cr,fTe as cs,X0 as ct,$Me as cu,e0 as cv,n2 as cw,BO as cx,t2 as cy,dke as cz,Ve as d,eu as d$,Lle as d0,OE as d1,dc as d2,m9 as d3,Df as d4,pi as d5,AMe as d6,RE as d7,r6 as d8,ma as d9,NRe as dA,eUe as dB,Rt as dC,E9 as dD,wc as dE,il as dF,jle as dG,Zat as dH,yue as dI,_$e as dJ,ha as dK,sp as dL,kWe as dM,hd as dN,co as dO,EYe as dP,iet as dQ,IQe as dR,yQe as dS,IHe as dT,kJe as dU,JYe as dV,s6 as dW,up as dX,Bqe as dY,mce as dZ,eHe as d_,_O as da,Q_e as db,Ma as dc,b9 as dd,nxe as de,VMe as df,g9 as dg,Ole as dh,B5 as di,wd as dj,JMe as dk,NMe as dl,kle as dm,gMe as dn,hle as dp,MMe as dq,ci as dr,JWe as ds,k6 as dt,uGe as du,yJe as dv,gJe as dw,Fc as dx,bKe as dy,LRe as dz,Ue as e,rxt as e$,hP as e0,eVe as e1,UPe as e2,gi as e3,xRe as e4,xNe as e5,YP as e6,nce as e7,zqe as e8,zNe as e9,uxt as eA,cxt as eB,Ixt as eC,dMt as eD,Zc as eE,bMt as eF,sat as eG,Lxt as eH,uc as eI,S1 as eJ,gxt as eK,Uat as eL,Nxt as eM,y5 as eN,tSe as eO,hoe as eP,cie as eQ,Qf as eR,_oe as eS,Hdt as eT,nxt as eU,gMt as eV,yMt as eW,wxt as eX,Wdt as eY,jpe as eZ,Kpe as e_,yKe as ea,vi as eb,QAt as ec,Fxt as ed,Wf as ee,Ot as ef,wat as eg,GAe as eh,cM as ei,Q7 as ej,jdt as ek,Q9 as el,Oxt as em,sU as en,ZG as eo,P6 as ep,Pxt as eq,vMt as er,zpe as es,Qv as et,zwe as eu,CO as ev,ndt as ew,RI as ex,Oa as ey,rft as ez,H as f,hMt as f0,joe as f1,Cxt as f2,wce as f3,edt as f4,Qct as f5,WAe as f6,be as g,ye as h,Pe as i,Cn as j,le as k,En as l,Ut as m,$e as n,la as o,R as p,Yt as q,dn as r,Pt as s,ft as t,F as u,J as v,Re as w,Oe as x,Vn as y,q0 as z};