hs-admin-ui 10.8.1 → 10.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{401-BPKS0gW9.mjs → 401-DXr7Q6wa.mjs} +1 -1
- package/dist/{401-BvPA6FLh.js → 401-kUs6psP7.js} +1 -1
- package/dist/{404-BFZDI4j2.js → 404-DsCzg9cj.js} +1 -1
- package/dist/404-DsCzg9cj.js.gz +0 -0
- package/dist/{404-10vd2LL8.mjs → 404-n1mjCt5l.mjs} +1 -1
- package/dist/404-n1mjCt5l.mjs.gz +0 -0
- package/dist/{account-D4Y4GziI.mjs → account-BG48OXjd.mjs} +2 -2
- package/dist/{account-B8PBxnW9.js → account-D52wMi9Z.js} +1 -1
- package/dist/{aside-DWzKuCn1.js → aside-A8hiqnP6.js} +1 -1
- package/dist/{aside-BaF9_mFY.mjs → aside-C0OYxrY2.mjs} +3 -3
- package/dist/{btnIndex-BUAgH-yB.mjs → btnIndex-B31sTrz4.mjs} +2 -2
- package/dist/btnIndex-B31sTrz4.mjs.gz +0 -0
- package/dist/{btnIndex-IkSpzW8X.js → btnIndex-DY7trF7t.js} +1 -1
- package/dist/{classic-De1nFtVX.mjs → classic-C3cWQD1f.mjs} +5 -5
- package/dist/{classic-y5vBpGk-.js → classic-DzZk-h9X.js} +1 -1
- package/dist/{columns-gq3eZLp7.js → columns-BY5SJ9QX.js} +1 -1
- package/dist/{columns-uVFqXSsx.mjs → columns-COOuSIew.mjs} +5 -5
- package/dist/{columnsAside-I_3LFqbz.mjs → columnsAside-BoxvQNxx.mjs} +1 -1
- package/dist/{columnsAside-CNToJHsI.js → columnsAside-D_C-wAAn.js} +1 -1
- package/dist/{contextmenu-DupAEDKL.mjs → contextmenu-BTOBg_Hm.mjs} +1 -1
- package/dist/{contextmenu-BvaaIyBg.mjs → contextmenu-Bi3f59wh.mjs} +1 -1
- package/dist/{contextmenu--h_5AUJo.js → contextmenu-Cvck6WPN.js} +1 -1
- package/dist/{contextmenu-D3Lf4yjg.js → contextmenu-DPoons7F.js} +1 -1
- package/dist/{copyMenuConfig-NF7x3qrU.mjs → copyMenuConfig-BHzUaacU.mjs} +1 -1
- package/dist/{copyMenuConfig-Dr6O2o5E.js → copyMenuConfig-BM9G7uLl.js} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-tuZvN3DW.js → copyMenuConfig.vue_vue_type_script_setup_true_lang-BiuC_2CH.js} +1 -1
- package/dist/{copyMenuConfig.vue_vue_type_script_setup_true_lang-BJmOHoLK.mjs → copyMenuConfig.vue_vue_type_script_setup_true_lang-CM4JYal4.mjs} +1 -1
- package/dist/{copySystem-QPdRqGyD.mjs → copySystem-DNovpoBs.mjs} +1 -1
- package/dist/{copySystem-CUmMDN56.js → copySystem-p-4SVmQt.js} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-DnUDoo0H.mjs → copySystem.vue_vue_type_script_setup_true_lang-BaP6REts.mjs} +1 -1
- package/dist/{copySystem.vue_vue_type_script_setup_true_lang-CA0U1dM1.js → copySystem.vue_vue_type_script_setup_true_lang-DJhkvNNa.js} +1 -1
- package/dist/{defaults-WVDe6QFG.mjs → defaults-BldmCgHK.mjs} +4 -4
- package/dist/{defaults-C1WUEidm.js → defaults-CevFF-fq.js} +1 -1
- package/dist/{dialog-C73dgbTV.mjs → dialog-B5NmKcmp.mjs} +1 -1
- package/dist/{dialog-BcF03K3I.mjs → dialog-BfHe4_Av.mjs} +1 -1
- package/dist/{dialog-DfdqgN-0.js → dialog-CSHl2Obb.js} +1 -1
- package/dist/{dialog-BEds8H_T.js → dialog-DfEMoHw7.js} +1 -1
- package/dist/{dialog-DyMjslKc.mjs → dialog-DqszRJND.mjs} +1 -1
- package/dist/{dialog-B9gny7lj.js → dialog-aW14N4LD.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DRIBanIH.js → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-CJ1oMwc2.js} +1 -1
- package/dist/{dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DY7JBQ9I.mjs → dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-DzFQJPWR.mjs} +2 -2
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BM8J-lzJ.js → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-D6o_bxz3.js} +1 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-D6o_bxz3.js.gz +0 -0
- package/dist/{dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DM8vfzQN.mjs → dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DO5VTOJM.mjs} +2 -2
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DO5VTOJM.mjs.gz +0 -0
- package/dist/{dictDialog-CP0yKuWM.mjs → dictDialog-Ceh7oahD.mjs} +1 -1
- package/dist/{dictDialog-XMMFptLt.js → dictDialog-Df2Xsztt.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-lit7_xzz.js → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C7fo5QW2.js} +1 -1
- package/dist/{dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-C47V8bLq.mjs → dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CmI1V38A.mjs} +2 -2
- package/dist/{dictItemDialog-exYlX1Ue.js → dictItemDialog-Bz3_tG_O.js} +1 -1
- package/dist/{dictItemDialog-74IVB8T1.mjs → dictItemDialog-CvpMLOgi.mjs} +1 -1
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-8urIAWdn.mjs → dictItemDialog.vue_vue_type_script_setup_true_lang-BWMEs6Bl.mjs} +2 -2
- package/dist/{dictItemDialog.vue_vue_type_script_setup_true_lang-BqCJWXYo.js → dictItemDialog.vue_vue_type_script_setup_true_lang-Br483w1X.js} +1 -1
- package/dist/{formConfig-BMYYI5NX.js → formConfig-CvolqHj8.js} +1 -1
- package/dist/formConfig-CvolqHj8.js.gz +0 -0
- package/dist/{formConfig-Dm_AegBH.mjs → formConfig-LvJmZtSb.mjs} +5 -5
- package/dist/formConfig-LvJmZtSb.mjs.gz +0 -0
- package/dist/{header-C0sjcFUd.js → header-Cur05bgb.js} +1 -1
- package/dist/{header-BJ0YYA7t.mjs → header-h8iVLGD4.mjs} +2 -2
- package/dist/{horizontal-kcgUCmOq.js → horizontal-Dq3VCzQl.js} +1 -1
- package/dist/{horizontal-D3MGzdl2.mjs → horizontal-uvm8kFR5.mjs} +2 -2
- package/dist/{hsAttrBtn-DK0JnMe-.mjs → hsAttrBtn-BUdApsl8.mjs} +1 -1
- package/dist/{hsAttrBtn-D4AqNE_f.js → hsAttrBtn-bwAraBjX.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-CMNoEeVi.js → hsAttrBtn.vue_vue_type_script_setup_true_lang-318T3IA5.js} +1 -1
- package/dist/{hsAttrBtn.vue_vue_type_script_setup_true_lang-D7TGAmvd.mjs → hsAttrBtn.vue_vue_type_script_setup_true_lang-B0qpe-Zq.mjs} +3 -3
- package/dist/{hsAttrForm-Dq8YdhEE.mjs → hsAttrForm-CjMdr19P.mjs} +1 -1
- package/dist/{hsAttrForm-BJ7o9j4q.js → hsAttrForm-vr-oDHi_.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-DvYvq0Em.js → hsAttrForm.vue_vue_type_script_setup_true_lang-5MzQfS5C.js} +1 -1
- package/dist/{hsAttrForm.vue_vue_type_script_setup_true_lang-Cq9w2n4A.mjs → hsAttrForm.vue_vue_type_script_setup_true_lang-D6UOF_eJ.mjs} +2 -2
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-D6UOF_eJ.mjs.gz +0 -0
- package/dist/{hsBtnConfigList-mTzAd7E8.mjs → hsBtnConfigList-DoEV5ZI0.mjs} +1 -1
- package/dist/{hsBtnConfigList-B3LJo0ZE.js → hsBtnConfigList-KOePqfFA.js} +1 -1
- package/dist/{hsBtnItemConfig-C5xFDDuA.js → hsBtnItemConfig-BPodz7xK.js} +1 -1
- package/dist/{hsBtnItemConfig-DjN2vpkJ.mjs → hsBtnItemConfig-C1HMMNGb.mjs} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CDm6K8sl.js → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-DwR_Aiv1.js} +1 -1
- package/dist/{hsBtnItemConfig.vue_vue_type_script_setup_true_lang-CFel_mqj.mjs → hsBtnItemConfig.vue_vue_type_script_setup_true_lang-MePS1EmC.mjs} +1 -1
- package/dist/{hsBtnPanel-ClwPBS_h.js → hsBtnPanel-Uj_omkt2.js} +1 -1
- package/dist/{hsBtnPanel-BgbS8IK-.mjs → hsBtnPanel-yYpjqZeI.mjs} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CNMoK4Bv.js → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-B2P67v4R.js} +1 -1
- package/dist/{hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-Dmak9yJt.mjs → hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-CyV5_F4-.mjs} +4 -4
- package/dist/{hsExpand-Cuvb-P8m.js → hsExpand-DA17IOjC.js} +1 -1
- package/dist/{hsExpand-xncbBFAL.mjs → hsExpand-DE7UvhiF.mjs} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-CbVb9gOE.js → hsExpand.vue_vue_type_script_setup_true_lang-BCD0zOdx.js} +1 -1
- package/dist/{hsExpand.vue_vue_type_script_setup_true_lang-B8gx3YjJ.mjs → hsExpand.vue_vue_type_script_setup_true_lang-CxqHy5w_.mjs} +1 -1
- package/dist/{hsFormConfig-CofMv7NM.mjs → hsFormConfig-CZGoU_16.mjs} +1 -1
- package/dist/{hsFormConfig-DviPErJt.js → hsFormConfig-vQe688Y0.js} +1 -1
- package/dist/{hsFormConfigList-DyXfiRMM.js → hsFormConfigList-BFbxuKFW.js} +1 -1
- package/dist/{hsFormConfigList-Dh61Ufhx.mjs → hsFormConfigList-BRo8vPYu.mjs} +2 -2
- package/dist/hsFormConfigList-BRo8vPYu.mjs.gz +0 -0
- package/dist/{hsFormPanel-ShCnMyJ7.mjs → hsFormPanel-C87KNyqR.mjs} +5 -5
- package/dist/hsFormPanel-C87KNyqR.mjs.gz +0 -0
- package/dist/{hsFormPanel-D6Y1Bbak.js → hsFormPanel-DjkJKsdz.js} +1 -1
- package/dist/{hsFormParse-DPo5oxKm.js → hsFormParse-CHfGLuwv.js} +1 -1
- package/dist/{hsFormParse-Cklv5yOs.mjs → hsFormParse-cAB8Y1Vl.mjs} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-DC34wnDD.mjs → hsFormParse.vue_vue_type_script_setup_true_lang-DE1EwUMh.mjs} +1 -1
- package/dist/{hsFormParse.vue_vue_type_script_setup_true_lang-COfa8QTl.js → hsFormParse.vue_vue_type_script_setup_true_lang-qfVwier_.js} +1 -1
- package/dist/{hsPanelItem-F9CEbVGc.js → hsPanelItem-Ci04jBOa.js} +1 -1
- package/dist/{hsPanelItem-mYWY4xHb.mjs → hsPanelItem-yRs3RQf_.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BDVUeFK_.mjs → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Brl1JJT6.mjs} +1 -1
- package/dist/{hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-BlApGlkT.js → hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-D5LM6l5S.js} +1 -1
- package/dist/{iframes-B1Yp9uua.mjs → iframes-B48cxzHY.mjs} +1 -1
- package/dist/{iframes-Cbw4U6nV.js → iframes-Bbco6ei3.js} +1 -1
- package/dist/{index copy-BwjJ15YY.mjs → index copy-C3uEtpum.mjs } +1 -1
- package/dist/{index copy-BwjJ15YY.mjs.gz → index copy-C3uEtpum.mjs.gz} +0 -0
- package/dist/{index copy-BGZtfEjH.js → index copy-C4A5itkK.js } +1 -1
- package/dist/{index copy-BGZtfEjH.js.gz → index copy-C4A5itkK.js.gz} +0 -0
- package/dist/{index-Cg9Vo4h_.mjs → index-3F7BQxQC.mjs} +3 -3
- package/dist/{index-CW9JdAs1.js → index-7tetJUCj.js} +1 -1
- package/dist/{index-CP7GUhCw.mjs → index-ApKB67Rt.mjs} +1 -1
- package/dist/{index-D51z2qb-.js → index-B0CTTaNP.js} +1 -1
- package/dist/index-B0CTTaNP.js.gz +0 -0
- package/dist/{index-CEg533o7.mjs → index-B2zgRF-J.mjs} +1 -1
- package/dist/index-B3bNnLpm.mjs +4 -0
- package/dist/{index-bsjZuwug.js → index-B3gTOFSd.js} +1 -1
- package/dist/{index-B9tJbrXV.mjs → index-B54JnJSf.mjs} +1 -1
- package/dist/{index-COfZCHjF.mjs → index-B6u_kGce.mjs} +1 -1
- package/dist/{index-CtGGD4Xe.js → index-BBeIi9r2.js} +1 -1
- package/dist/{index-Cmf3BUgk.mjs → index-BCxBfI_T.mjs} +1 -1
- package/dist/{index-BxY0ONuF.js → index-BDXZCRKN.js} +1 -1
- package/dist/{index-UjQ8tdPA.js → index-BGg1gnS6.js} +1 -1
- package/dist/{index-Bsa7D3Dn.mjs → index-BLih-7vC.mjs} +1 -1
- package/dist/{index-C-Ze6yv-.js → index-BPrhK0KH.js} +1 -1
- package/dist/{index-BH4INRgm.mjs → index-BXIdGPDQ.mjs} +3 -3
- package/dist/{index-uLh7ePQ6.js → index-B_Qb9gsb.js} +1 -1
- package/dist/{index-BuverBTu.js → index-BaV9ZpTI.js} +1 -1
- package/dist/{index-DfLIhn4H.mjs → index-BiEwpsL4.mjs} +1 -1
- package/dist/index-BiEwpsL4.mjs.gz +0 -0
- package/dist/{index-Cl4TDlVD.js → index-BiwH7LhM.js} +1 -1
- package/dist/{index-Ba6ZQgJW.mjs → index-Bl0O5BvZ.mjs} +1 -1
- package/dist/{index-CSyOBmFt.js → index-BndomHPp.js} +1 -1
- package/dist/{index-CPzkMAa6.mjs → index-BqyiL_bR.mjs} +1 -1
- package/dist/{index-DKc6aM7q.mjs → index-BrUCMjUK.mjs} +1 -1
- package/dist/{index-C5e2_EoV.mjs → index-Bv0BIvTt.mjs} +1 -1
- package/dist/{index-CzZ-ptX7.js → index-Bvgh5HbN.js} +1 -1
- package/dist/{index-B_M2UxFi.mjs → index-BxvL2Xo6.mjs} +20 -13
- package/dist/{index-B_M2UxFi.mjs.gz → index-BxvL2Xo6.mjs.gz} +0 -0
- package/dist/{index-LKRCpzTy.mjs → index-C0tq5u1l.mjs} +1 -1
- package/dist/{index-seQtwKCm.mjs → index-C1OeOp2v.mjs} +4 -4
- package/dist/{index-BM2BIGH3.js → index-C3YPGLrx.js} +1 -1
- package/dist/{index-BNpqp9Mt.mjs → index-C9nwAze2.mjs} +4 -4
- package/dist/index-C9nwAze2.mjs.gz +0 -0
- package/dist/{index-CU6ILlBp.js → index-CELqrRQl.js} +1 -1
- package/dist/{index-m83rTlQs.mjs → index-CG2zN6uj.mjs} +1 -1
- package/dist/{index-PZ-oxpKm.js → index-CICXSqxP.js} +1 -1
- package/dist/{index-e1qO_i53.js → index-CORjFDdR.js} +1 -1
- package/dist/{index-Eavp2S8x.mjs → index-COcr3h28.mjs} +1 -1
- package/dist/{index-BT-y8oiF.js → index-COe38aeZ.js} +1 -1
- package/dist/{index-D5KECjnT.mjs → index-CQTVY-Ty.mjs} +2 -2
- package/dist/{index-P9uCZ1OF.mjs → index-CWKAff5D.mjs} +3 -3
- package/dist/{index-BYPpaTfZ.mjs → index-CYthls_i.mjs} +1 -1
- package/dist/{index-1tKvfxjC.mjs → index-CYyhwt_-.mjs} +3 -3
- package/dist/{index-DQIcJJLM.js → index-CeKpO9k3.js} +1 -1
- package/dist/{index-BYa7zZGl.js → index-CkbTiV9n.js} +1 -1
- package/dist/{index-YEz9wH2S.js → index-CrFdpUCL.js} +1 -1
- package/dist/{index-B-l1Az3R.js → index-CulLs2As.js} +1 -1
- package/dist/{index-g1LfbVqs.mjs → index-D3ZnIID2.mjs} +2 -2
- package/dist/index-D3ZnIID2.mjs.gz +0 -0
- package/dist/{index-ISdkDoAj.js → index-D6-Bxk1i.js} +1 -1
- package/dist/{index-YZafAiLR.js → index-DGst5K-h.js} +1 -1
- package/dist/index-DGst5K-h.js.gz +0 -0
- package/dist/{index-UOIiR6ct.js → index-DSjs61h_.js} +1 -1
- package/dist/{index-DhLHA7ow.mjs → index-DV3sreIh.mjs} +3 -3
- package/dist/{index-DXYePYDC.mjs → index-DbnQGNbK.mjs} +1 -1
- package/dist/{index-CPdmq6pp.mjs → index-Dgprbvs9.mjs} +3 -3
- package/dist/index-Dgprbvs9.mjs.gz +0 -0
- package/dist/{index-D2m97PLu.js → index-Dgwh-5aT.js} +1 -1
- package/dist/{index-CMLzAi_a.mjs → index-Dgy5H3MC.mjs} +4 -4
- package/dist/{index-CBdy3jQ1.mjs → index-DkH8K9Zd.mjs} +1 -1
- package/dist/{index-BDpNbadD.js → index-DkbyJG1H.js} +1 -1
- package/dist/{index-06zbOl_S.js → index-DlIDuyHQ.js} +1 -1
- package/dist/{index-CqrtMIfC.mjs → index-Dp7uPhoU.mjs} +1 -1
- package/dist/{index-C8x8-K9R.mjs → index-DtnNUW8_.mjs} +1 -1
- package/dist/{index-CQ0PoJfd.mjs → index-O3eVwKR6.mjs} +1 -1
- package/dist/{index-BPVAZT3N.js → index-SzSHKKPO.js} +1 -1
- package/dist/{index-DZby-wlX.js → index-UaTdn4ei.js} +7 -7
- package/dist/{index-DZby-wlX.js.gz → index-UaTdn4ei.js.gz} +0 -0
- package/dist/{index-B_Q-9mFs.js → index-UuRO4-Of.js} +1 -1
- package/dist/{index-CwHwS5DX.mjs → index-Z_aK2mFc.mjs} +5 -5
- package/dist/{index-DB5KzUvc.js → index-ZuBzpgzL.js} +1 -1
- package/dist/index-ZuBzpgzL.js.gz +0 -0
- package/dist/{index-DVesyn_W.mjs → index-cD40eVRL.mjs} +1 -1
- package/dist/{index-2oEVxz7_.mjs → index-dJoDvJ1d.mjs} +2 -2
- package/dist/{index-BBLAsGpF.js → index-dxUjVX__.js} +1 -1
- package/dist/{index-ALCQkw2O.js → index-fYtDwWc2.js} +1 -1
- package/dist/{index-C5zEsXJc.js → index-hWxFmDes.js} +1 -1
- package/dist/{index-D0ZPb4dV.js → index-lpUdWegq.js} +1 -1
- package/dist/{index-rBXIiQwY.js → index-lybesR1U.js} +1 -1
- package/dist/{index-Cuu1eLRX.mjs → index-v6F5dmRv.mjs} +2 -2
- package/dist/index-v6F5dmRv.mjs.gz +0 -0
- package/dist/{index-CycFS-uH.js → index-wVrA8_ks.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-NTG_2mpm.mjs → index.vue_vue_type_script_setup_true_lang-Bl2er83b.mjs} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-Cj7c9Bt_.mjs → index.vue_vue_type_script_setup_true_lang-BsyA7uX1.mjs} +1 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BsyA7uX1.mjs.gz +0 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-BoOFDk0S.js → index.vue_vue_type_script_setup_true_lang-C7Ldrk22.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-oNZEoSUU.js → index.vue_vue_type_script_setup_true_lang-DLaIIr47.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BREG6fV9.js → index.vue_vue_type_script_setup_true_lang-D_yYXp7V.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-C6pHhRS5.mjs → index.vue_vue_type_script_setup_true_lang-DmmoOXL-.mjs} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DddXQ4cD.js → index.vue_vue_type_script_setup_true_lang-PL2Plklf.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-B19iAcTD.mjs → index.vue_vue_type_script_setup_true_lang-QUcrT9A9.mjs} +1 -1
- package/dist/{link-Vo7_VNvt.js → link-Cw1m3kGP.js} +1 -1
- package/dist/{link-D-I4OHMI.mjs → link-d1rWEECV.mjs} +1 -1
- package/dist/{list-BROgXxg2.mjs → list-Bzik5VLQ.mjs} +1 -1
- package/dist/{list-CaHr2_qC.js → list-DMKvxTVN.js} +1 -1
- package/dist/{main-B73xKa5U.mjs → main-BA0l2U_S.mjs} +3 -3
- package/dist/{main-BqXRku76.js → main-CCNXkJxw.js} +1 -1
- package/dist/{mobile-Miz8TcUS.mjs → mobile-Bq6bpQnl.mjs} +1 -1
- package/dist/{mobile-CqI3UDcq.js → mobile-C8B_l3tV.js} +1 -1
- package/dist/{parent-C8gLFCgr.mjs → parent-BPtGiA21.mjs} +2 -2
- package/dist/{parent-VZeecda7.js → parent-D6gN46Wu.js} +1 -1
- package/dist/{popup-BVJotca3.mjs → popup-CqkTEWLP.mjs} +1 -1
- package/dist/{popup-ikOrelXx.js → popup-Dx2n2ecm.js} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-BCMSI5SV.mjs → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-D1HSE98W.mjs} +1 -1
- package/dist/{popup.vue_vue_type_script_setup_true_name_editorPopup_lang-BwMxm_tT.js → popup.vue_vue_type_script_setup_true_name_editorPopup_lang-oqbGX6iv.js} +1 -1
- package/dist/{roleItem-C2XwVrnt.mjs → roleItem-Di778fRZ.mjs} +1 -1
- package/dist/{roleItem-BoNhBS_B.js → roleItem-PNaZytpT.js} +1 -1
- package/dist/{saveForm-C9bd_GsG.mjs → saveForm-CLQ76IGv.mjs} +2 -2
- package/dist/{saveForm-cKjS-jbz.js → saveForm-zTgr264U.js} +1 -1
- package/dist/{scan-BmId1zXb.js → scan-BU2UppSj.js} +1 -1
- package/dist/scan-BU2UppSj.js.gz +0 -0
- package/dist/{scan-DZmJa0eh.mjs → scan-CbD7WIT2.mjs} +1 -1
- package/dist/scan-CbD7WIT2.mjs.gz +0 -0
- package/dist/{search-Cd5XkVKv.js → search-C1rt6mUL.js} +1 -1
- package/dist/{search-CEGuunir.mjs → search-DF8cjQTS.mjs} +1 -1
- package/dist/{selectConfig-CQMMiyRK.mjs → selectConfig-CJFrf4lU.mjs} +1 -1
- package/dist/selectConfig-CJFrf4lU.mjs.gz +0 -0
- package/dist/{selectConfig-od8vTJMn.js → selectConfig-eKLt0liM.js} +1 -1
- package/dist/{subItem-2KKUD9jb.mjs → subItem-BYEAxNvL.mjs} +1 -1
- package/dist/{subItem-CnMF3eh0.js → subItem-C9Gjdyo1.js} +1 -1
- package/dist/{tagsView-BOFzZ6mV.mjs → tagsView-7h1SMttA.mjs} +2 -2
- package/dist/tagsView-7h1SMttA.mjs.gz +0 -0
- package/dist/{tagsView-B9n093y_.js → tagsView-CwRWm71v.js} +2 -2
- package/dist/tagsView-CwRWm71v.js.gz +0 -0
- package/dist/{transverse-Bj3g3ezg.js → transverse-DkFZ8GlY.js} +1 -1
- package/dist/{transverse-DnMkes_L.mjs → transverse-nl0FLowy.mjs} +3 -3
- package/dist/{uploadAvatar-mqezPpCu.js → uploadAvatar-CSvonxwm.js} +1 -1
- package/dist/uploadAvatar-CSvonxwm.js.gz +0 -0
- package/dist/{uploadAvatar-PsgdnD1g.mjs → uploadAvatar-DJbemA3Q.mjs} +1 -1
- package/dist/uploadAvatar-DJbemA3Q.mjs.gz +0 -0
- package/dist/{useSaveForm-B-rF_lxR.js → useSaveForm-4adWSl-j.js} +1 -1
- package/dist/useSaveForm-4adWSl-j.js.gz +0 -0
- package/dist/{useSaveForm-BTces2ah.mjs → useSaveForm-FXZCZNK0.mjs} +1 -1
- package/dist/useSaveForm-FXZCZNK0.mjs.gz +0 -0
- package/dist/{user-DWqTlZvV.js → user-BCxfPeIo.js} +1 -1
- package/dist/{user-D52cbOGZ.mjs → user-Ihh8-usO.mjs} +4 -4
- package/dist/{userNews-TFrqV-HM.mjs → userNews-BeZw3Olh.mjs} +1 -1
- package/dist/{userNews-4L-HsYrw.js → userNews-CqLxmivE.js} +1 -1
- package/dist/{userSelect-BsynyFZH.js → userSelect-Bjbh1NUB.js} +1 -1
- package/dist/{userSelect-Cd8YJi8Z.mjs → userSelect-Du0WjM-c.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-qtWrAm0c.mjs → userSelect.vue_vue_type_script_setup_true_lang-D7ghKkss.mjs} +1 -1
- package/dist/{userSelect.vue_vue_type_script_setup_true_lang-CBiRjR8b.js → userSelect.vue_vue_type_script_setup_true_lang-DC6Nwm9A.js} +1 -1
- package/dist/{vertical-_9B3paNZ.js → vertical-BbSUY1At.js} +1 -1
- package/dist/{vertical-DanJRMZM.mjs → vertical-Kb-IB-fN.mjs} +2 -2
- package/package.json +1 -1
- package/dist/404-10vd2LL8.mjs.gz +0 -0
- package/dist/404-BFZDI4j2.js.gz +0 -0
- package/dist/btnIndex-BUAgH-yB.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-BM8J-lzJ.js.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DM8vfzQN.mjs.gz +0 -0
- package/dist/formConfig-BMYYI5NX.js.gz +0 -0
- package/dist/formConfig-Dm_AegBH.mjs.gz +0 -0
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-Cq9w2n4A.mjs.gz +0 -0
- package/dist/hsFormConfigList-Dh61Ufhx.mjs.gz +0 -0
- package/dist/hsFormPanel-ShCnMyJ7.mjs.gz +0 -0
- package/dist/index-BNpqp9Mt.mjs.gz +0 -0
- package/dist/index-CPdmq6pp.mjs.gz +0 -0
- package/dist/index-Cuu1eLRX.mjs.gz +0 -0
- package/dist/index-D51z2qb-.js.gz +0 -0
- package/dist/index-DB5KzUvc.js.gz +0 -0
- package/dist/index-DfLIhn4H.mjs.gz +0 -0
- package/dist/index-LVSytcjE.mjs +0 -4
- package/dist/index-YZafAiLR.js.gz +0 -0
- package/dist/index-g1LfbVqs.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-Cj7c9Bt_.mjs.gz +0 -0
- package/dist/scan-BmId1zXb.js.gz +0 -0
- package/dist/scan-DZmJa0eh.mjs.gz +0 -0
- package/dist/selectConfig-CQMMiyRK.mjs.gz +0 -0
- package/dist/tagsView-B9n093y_.js.gz +0 -0
- package/dist/tagsView-BOFzZ6mV.mjs.gz +0 -0
- package/dist/uploadAvatar-PsgdnD1g.mjs.gz +0 -0
- package/dist/uploadAvatar-mqezPpCu.js.gz +0 -0
- package/dist/useSaveForm-B-rF_lxR.js.gz +0 -0
- package/dist/useSaveForm-BTces2ah.mjs.gz +0 -0
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),e=require("./index-DZby-wlX.js");var r,o,n={exports:{}};r=n,e.commonjsGlobal,r.exports=function(){function t(t){this.mode=r.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,o=this.data.length;e<o;e++){var n=[],i=this.data.charCodeAt(e);i>65536?(n[0]=240|(1835008&i)>>>18,n[1]=128|(258048&i)>>>12,n[2]=128|(4032&i)>>>6,n[3]=128|63&i):i>2048?(n[0]=224|(61440&i)>>>12,n[1]=128|(4032&i)>>>6,n[2]=128|63&i):i>128?(n[0]=192|(1984&i)>>>6,n[1]=128|63&i):n[0]=i,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,r=this.parsedData.length;e<r;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var r=new t(e);this.dataList.push(r),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++){this.modules[o]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[o][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,r),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(t,e){for(var r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(var o=-1;o<=7;o++)e+o<=-1||this.moduleCount<=e+o||(this.modules[t+r][e+o]=0<=r&&r<=6&&(0==o||6==o)||0<=o&&o<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=o&&o<=4)},getBestMaskPattern:function(){for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var o=a.getLostPoint(this);(0==r||t>o)&&(t=o,e=r)}return e},createMovieClip:function(t,e,r){var o=t.createEmptyMovieClip(e,r),n=1;this.make();for(var i=0;i<this.modules.length;i++)for(var a=i*n,s=0;s<this.modules[i].length;s++){var h=s*n;this.modules[i][s]&&(o.beginFill(0,100),o.moveTo(h,a),o.lineTo(h+n,a),o.lineTo(h+n,a+n),o.lineTo(h,a+n),o.endFill())}return o},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=a.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var r=0;r<t.length;r++){var o=t[e],n=t[r];if(null==this.modules[o][n])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[o+i][n+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},setupTypeNumber:function(t){for(var e=a.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var o=!t&&1==(e>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=o}for(r=0;r<18;r++)o=!t&&1==(e>>r&1),this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=o},setupTypeInfo:function(t,e){for(var r=this.errorCorrectLevel<<3|e,o=a.getBCHTypeInfo(r),n=0;n<15;n++){var i=!t&&1==(o>>n&1);n<6?this.modules[n][8]=i:n<8?this.modules[n+1][8]=i:this.modules[this.moduleCount-15+n][8]=i}for(n=0;n<15;n++)i=!t&&1==(o>>n&1),n<8?this.modules[8][this.moduleCount-n-1]=i:n<9?this.modules[8][15-n-1+1]=i:this.modules[8][15-n-1]=i;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,o=this.moduleCount-1,n=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var h=0;h<2;h++)if(null==this.modules[o][s-h]){var l=!1;i<t.length&&(l=1==(t[i]>>>n&1)),a.getMask(e,o,s-h)&&(l=!l),this.modules[o][s-h]=l,-1==--n&&(i++,n=7)}if((o+=r)<0||this.moduleCount<=o){o-=r,r=-r;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,r,o){for(var n=u.getRSBlocks(t,r),i=new f,s=0;s<o.length;s++){var h=o[s];i.put(h.mode,4),i.put(h.getLength(),a.getLengthInBits(h.mode,t)),h.write(i)}var l=0;for(s=0;s<n.length;s++)l+=n[s].dataCount;if(i.getLengthInBits()>8*l)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*l+")");for(i.getLengthInBits()+4<=8*l&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*l||(i.put(e.PAD0,8),i.getLengthInBits()>=8*l));)i.put(e.PAD1,8);return e.createBytes(i,n)},e.createBytes=function(t,e){for(var r=0,o=0,n=0,i=new Array(e.length),s=new Array(e.length),h=0;h<e.length;h++){var u=e[h].dataCount,f=e[h].totalCount-u;o=Math.max(o,u),n=Math.max(n,f),i[h]=new Array(u);for(var g=0;g<i[h].length;g++)i[h][g]=255&t.buffer[g+r];r+=u;var c=a.getErrorCorrectPolynomial(f),d=new l(i[h],c.getLength()-1).mod(c);for(s[h]=new Array(c.getLength()-1),g=0;g<s[h].length;g++){var p=g+d.getLength()-s[h].length;s[h][g]=p>=0?d.get(p):0}}var m=0;for(g=0;g<e.length;g++)m+=e[g].totalCount;var _=new Array(m),v=0;for(g=0;g<o;g++)for(h=0;h<e.length;h++)g<i[h].length&&(_[v++]=i[h][g]);for(g=0;g<n;g++)for(h=0;h<e.length;h++)g<s[h].length&&(_[v++]=s[h][g]);return _};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},n={L:1,M:0,Q:3,H:2},i={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;a.getBCHDigit(e)-a.getBCHDigit(a.G15)>=0;)e^=a.G15<<a.getBCHDigit(e)-a.getBCHDigit(a.G15);return(t<<10|e)^a.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;a.getBCHDigit(e)-a.getBCHDigit(a.G18)>=0;)e^=a.G18<<a.getBCHDigit(e)-a.getBCHDigit(a.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return a.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case i.PATTERN000:return(e+r)%2==0;case i.PATTERN001:return e%2==0;case i.PATTERN010:return r%3==0;case i.PATTERN011:return(e+r)%3==0;case i.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case i.PATTERN101:return e*r%2+e*r%3==0;case i.PATTERN110:return(e*r%2+e*r%3)%2==0;case i.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new l([1],0),r=0;r<t;r++)e=e.multiply(new l([1,s.gexp(r)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),r=0,o=0;o<e;o++)for(var n=0;n<e;n++){for(var i=0,a=t.isDark(o,n),s=-1;s<=1;s++)if(!(o+s<0||e<=o+s))for(var h=-1;h<=1;h++)n+h<0||e<=n+h||0==s&&0==h||a==t.isDark(o+s,n+h)&&i++;i>5&&(r+=3+i-5)}for(o=0;o<e-1;o++)for(n=0;n<e-1;n++){var l=0;t.isDark(o,n)&&l++,t.isDark(o+1,n)&&l++,t.isDark(o,n+1)&&l++,t.isDark(o+1,n+1)&&l++,0!=l&&4!=l||(r+=3)}for(o=0;o<e;o++)for(n=0;n<e-6;n++)t.isDark(o,n)&&!t.isDark(o,n+1)&&t.isDark(o,n+2)&&t.isDark(o,n+3)&&t.isDark(o,n+4)&&!t.isDark(o,n+5)&&t.isDark(o,n+6)&&(r+=40);for(n=0;n<e;n++)for(o=0;o<e-6;o++)t.isDark(o,n)&&!t.isDark(o+1,n)&&t.isDark(o+2,n)&&t.isDark(o+3,n)&&t.isDark(o+4,n)&&!t.isDark(o+5,n)&&t.isDark(o+6,n)&&(r+=40);var u=0;for(n=0;n<e;n++)for(o=0;o<e;o++)t.isDark(o,n)&&u++;return r+=Math.abs(100*u/e/e-50)/5*10}},s={glog:function(t){if(t<1)throw new Error("glog("+t+")");return s.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return s.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;h<8;h++)s.EXP_TABLE[h]=1<<h;for(h=8;h<256;h++)s.EXP_TABLE[h]=s.EXP_TABLE[h-4]^s.EXP_TABLE[h-5]^s.EXP_TABLE[h-6]^s.EXP_TABLE[h-8];for(h=0;h<255;h++)s.LOG_TABLE[s.EXP_TABLE[h]]=h;function l(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var r=0;r<t.length&&0==t[r];)r++;this.num=new Array(t.length-r+e);for(var o=0;o<t.length-r;o++)this.num[o]=t[o+r]}function u(t,e){this.totalCount=t,this.dataCount=e}function f(){this.buffer=[],this.length=0}l.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),r=0;r<this.getLength();r++)for(var o=0;o<t.getLength();o++)e[r+o]^=s.gexp(s.glog(this.get(r))+s.glog(t.get(o)));return new l(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=s.glog(this.get(0))-s.glog(t.get(0)),r=new Array(this.getLength()),o=0;o<this.getLength();o++)r[o]=this.get(o);for(o=0;o<t.getLength();o++)r[o]^=s.gexp(s.glog(t.get(o))+e);return new l(r,0).mod(t)}},u.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],u.getRSBlocks=function(t,e){var r=u.getRsBlockTable(t,e);if(null==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var o=r.length/3,n=[],i=0;i<o;i++)for(var a=r[3*i+0],s=r[3*i+1],h=r[3*i+2],l=0;l<a;l++)n.push(new u(s,h));return n},u.getRsBlockTable=function(t,e){switch(e){case n.L:return u.RS_BLOCK_TABLE[4*(t-1)+0];case n.M:return u.RS_BLOCK_TABLE[4*(t-1)+1];case n.Q:return u.RS_BLOCK_TABLE[4*(t-1)+2];case n.H:return u.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},f.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var g=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function c(){return"undefined"!=typeof CanvasRenderingContext2D}function d(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var r=e.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(t=parseFloat(r[1]))}return t}var p,m=((p=function(t,e){this._el=t,this._htOption=e}).prototype.draw=function(t){var e=this._htOption,r=this._el,o=t.getModuleCount();function n(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var o in e)e.hasOwnProperty(o)&&r.setAttribute(o,e[o]);return r}Math.floor(e.width/o),Math.floor(e.height/o),this.clear();var i=n("svg",{viewBox:"0 0 "+String(o)+" "+String(o),width:"100%",height:"100%",fill:e.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(i),i.appendChild(n("rect",{fill:e.colorLight,width:"100%",height:"100%"})),i.appendChild(n("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<o;a++)for(var s=0;s<o;s++)if(t.isDark(a,s)){var h=n("use",{x:String(s),y:String(a)});h.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(h)}},p.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},p),_="svg"===document.documentElement.tagName.toLowerCase()?m:c()?function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this&&this._android&&this._android<=2.1){var e=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,o,n,i,a,s,h,l,u){if("nodeName"in t&&/img/i.test(t.nodeName))for(var f=arguments.length-1;f>=1;f--)arguments[f]=arguments[f]*e;else void 0===l&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);r.apply(this,arguments)}}function o(t,e){var r=this;if(r._fFail=e,r._fSuccess=t,null===r._bSupportDataURI){var o=document.createElement("img"),n=function(){r._bSupportDataURI=!1,r._fFail&&r._fFail.call(r)},i=function(){r._bSupportDataURI=!0,r._fSuccess&&r._fSuccess.call(r)};return o.onabort=n,o.onerror=n,o.onload=i,void(o.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===r._bSupportDataURI&&r._fSuccess?r._fSuccess.call(r):!1===r._bSupportDataURI&&r._fFail&&r._fFail.call(r)}var n=function(t,e){this._bIsPainted=!1,this._android=d(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return n.prototype.draw=function(t){var e=this._elImage,r=this._oContext,o=this._htOption,n=t.getModuleCount(),i=o.width/n,a=o.height/n,s=Math.round(i),h=Math.round(a);e.style.display="none",this.clear();for(var l=0;l<n;l++)for(var u=0;u<n;u++){var f=t.isDark(l,u),g=u*i,c=l*a;r.strokeStyle=f?o.colorDark:o.colorLight,r.lineWidth=1,r.fillStyle=f?o.colorDark:o.colorLight,r.fillRect(g,c,i,a),r.strokeRect(Math.floor(g)+.5,Math.floor(c)+.5,s,h),r.strokeRect(Math.ceil(g)-.5,Math.ceil(c)-.5,s,h)}this._bIsPainted=!0},n.prototype.makeImage=function(){this._bIsPainted&&o.call(this,t)},n.prototype.isPainted=function(){return this._bIsPainted},n.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},n.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},n}():function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,r=this._el,o=t.getModuleCount(),n=Math.floor(e.width/o),i=Math.floor(e.height/o),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<o;s++){a.push("<tr>");for(var h=0;h<o;h++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+n+"px;height:"+i+"px;background-color:"+(t.isDark(s,h)?e.colorDark:e.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),r.innerHTML=a.join("");var l=r.childNodes[0],u=(e.width-l.offsetWidth)/2,f=(e.height-l.offsetHeight)/2;u>0&&f>0&&(l.style.margin=f+"px "+u+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}();function v(t,e){for(var r=1,o=C(t),i=0,a=g.length;i<a;i++){var s=0;switch(e){case n.L:s=g[i][0];break;case n.M:s=g[i][1];break;case n.Q:s=g[i][2];break;case n.H:s=g[i][3]}if(o<=s)break;r++}if(r>g.length)throw new Error("Too long data");return r}function C(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}return(o=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:n.H},"string"==typeof e&&(e={text:e}),e)for(var r in e)this._htOption[r]=e[r];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(_=m),this._android=d(),this._el=t,this._oQRCode=null,this._oDrawing=new _(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(t){this._oQRCode=new e(v(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},o.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},o.prototype.clear=function(){this._oDrawing.clear()},o.CorrectLevel=n,o}();var i=n.exports;const a=e.getDefaultExportFromCjs(i),s={class:"login-scan-container"},h=t.defineComponent({name:"loginScan"}),l=t.defineComponent({...h,setup(e){const r=t.ref(null);return t.onMounted((()=>{t.nextTick((()=>{r.value.innerHTML="",new a(r.value,{text:"https://qm.qq.com/cgi-bin/qm/qr?k=RdUY97Vx0T0vZ_1OOu-X1yFNkWgDwbjC&jump_from=webapi",width:260,height:260,colorDark:"#000000",colorLight:"#ffffff"})}))})),(e,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createElementVNode("div",{ref_key:"qrcodeRef",ref:r},null,512),o[0]||(o[0]=t.createElementVNode("div",{class:"font12 mt20 login-msg"},[t.createElementVNode("i",{class:"iconfont icon-saoyisao mr5"}),t.createElementVNode("span",null,"打开手机扫一扫,快速登录/注册")],-1))]))}}),u=e._export_sfc(l,[["__scopeId","data-v-38581de4"]]);exports.default=u;
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),e=require("./index-UaTdn4ei.js");var r,o,n={exports:{}};r=n,e.commonjsGlobal,r.exports=function(){function t(t){this.mode=r.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,o=this.data.length;e<o;e++){var n=[],i=this.data.charCodeAt(e);i>65536?(n[0]=240|(1835008&i)>>>18,n[1]=128|(258048&i)>>>12,n[2]=128|(4032&i)>>>6,n[3]=128|63&i):i>2048?(n[0]=224|(61440&i)>>>12,n[1]=128|(4032&i)>>>6,n[2]=128|63&i):i>128?(n[0]=192|(1984&i)>>>6,n[1]=128|63&i):n[0]=i,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,r=this.parsedData.length;e<r;e++)t.put(this.parsedData[e],8)}},e.prototype={addData:function(e){var r=new t(e);this.dataList.push(r),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var o=0;o<this.moduleCount;o++){this.modules[o]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[o][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,r),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)},setupPositionProbePattern:function(t,e){for(var r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(var o=-1;o<=7;o++)e+o<=-1||this.moduleCount<=e+o||(this.modules[t+r][e+o]=0<=r&&r<=6&&(0==o||6==o)||0<=o&&o<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=o&&o<=4)},getBestMaskPattern:function(){for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var o=a.getLostPoint(this);(0==r||t>o)&&(t=o,e=r)}return e},createMovieClip:function(t,e,r){var o=t.createEmptyMovieClip(e,r),n=1;this.make();for(var i=0;i<this.modules.length;i++)for(var a=i*n,s=0;s<this.modules[i].length;s++){var h=s*n;this.modules[i][s]&&(o.beginFill(0,100),o.moveTo(h,a),o.lineTo(h+n,a),o.lineTo(h+n,a+n),o.lineTo(h,a+n),o.endFill())}return o},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=a.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var r=0;r<t.length;r++){var o=t[e],n=t[r];if(null==this.modules[o][n])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[o+i][n+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},setupTypeNumber:function(t){for(var e=a.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var o=!t&&1==(e>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=o}for(r=0;r<18;r++)o=!t&&1==(e>>r&1),this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=o},setupTypeInfo:function(t,e){for(var r=this.errorCorrectLevel<<3|e,o=a.getBCHTypeInfo(r),n=0;n<15;n++){var i=!t&&1==(o>>n&1);n<6?this.modules[n][8]=i:n<8?this.modules[n+1][8]=i:this.modules[this.moduleCount-15+n][8]=i}for(n=0;n<15;n++)i=!t&&1==(o>>n&1),n<8?this.modules[8][this.moduleCount-n-1]=i:n<9?this.modules[8][15-n-1+1]=i:this.modules[8][15-n-1]=i;this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var r=-1,o=this.moduleCount-1,n=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var h=0;h<2;h++)if(null==this.modules[o][s-h]){var l=!1;i<t.length&&(l=1==(t[i]>>>n&1)),a.getMask(e,o,s-h)&&(l=!l),this.modules[o][s-h]=l,-1==--n&&(i++,n=7)}if((o+=r)<0||this.moduleCount<=o){o-=r,r=-r;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,r,o){for(var n=u.getRSBlocks(t,r),i=new f,s=0;s<o.length;s++){var h=o[s];i.put(h.mode,4),i.put(h.getLength(),a.getLengthInBits(h.mode,t)),h.write(i)}var l=0;for(s=0;s<n.length;s++)l+=n[s].dataCount;if(i.getLengthInBits()>8*l)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*l+")");for(i.getLengthInBits()+4<=8*l&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*l||(i.put(e.PAD0,8),i.getLengthInBits()>=8*l));)i.put(e.PAD1,8);return e.createBytes(i,n)},e.createBytes=function(t,e){for(var r=0,o=0,n=0,i=new Array(e.length),s=new Array(e.length),h=0;h<e.length;h++){var u=e[h].dataCount,f=e[h].totalCount-u;o=Math.max(o,u),n=Math.max(n,f),i[h]=new Array(u);for(var g=0;g<i[h].length;g++)i[h][g]=255&t.buffer[g+r];r+=u;var c=a.getErrorCorrectPolynomial(f),d=new l(i[h],c.getLength()-1).mod(c);for(s[h]=new Array(c.getLength()-1),g=0;g<s[h].length;g++){var p=g+d.getLength()-s[h].length;s[h][g]=p>=0?d.get(p):0}}var m=0;for(g=0;g<e.length;g++)m+=e[g].totalCount;var _=new Array(m),v=0;for(g=0;g<o;g++)for(h=0;h<e.length;h++)g<i[h].length&&(_[v++]=i[h][g]);for(g=0;g<n;g++)for(h=0;h<e.length;h++)g<s[h].length&&(_[v++]=s[h][g]);return _};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},n={L:1,M:0,Q:3,H:2},i={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;a.getBCHDigit(e)-a.getBCHDigit(a.G15)>=0;)e^=a.G15<<a.getBCHDigit(e)-a.getBCHDigit(a.G15);return(t<<10|e)^a.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;a.getBCHDigit(e)-a.getBCHDigit(a.G18)>=0;)e^=a.G18<<a.getBCHDigit(e)-a.getBCHDigit(a.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return a.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case i.PATTERN000:return(e+r)%2==0;case i.PATTERN001:return e%2==0;case i.PATTERN010:return r%3==0;case i.PATTERN011:return(e+r)%3==0;case i.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case i.PATTERN101:return e*r%2+e*r%3==0;case i.PATTERN110:return(e*r%2+e*r%3)%2==0;case i.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new l([1],0),r=0;r<t;r++)e=e.multiply(new l([1,s.gexp(r)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),r=0,o=0;o<e;o++)for(var n=0;n<e;n++){for(var i=0,a=t.isDark(o,n),s=-1;s<=1;s++)if(!(o+s<0||e<=o+s))for(var h=-1;h<=1;h++)n+h<0||e<=n+h||0==s&&0==h||a==t.isDark(o+s,n+h)&&i++;i>5&&(r+=3+i-5)}for(o=0;o<e-1;o++)for(n=0;n<e-1;n++){var l=0;t.isDark(o,n)&&l++,t.isDark(o+1,n)&&l++,t.isDark(o,n+1)&&l++,t.isDark(o+1,n+1)&&l++,0!=l&&4!=l||(r+=3)}for(o=0;o<e;o++)for(n=0;n<e-6;n++)t.isDark(o,n)&&!t.isDark(o,n+1)&&t.isDark(o,n+2)&&t.isDark(o,n+3)&&t.isDark(o,n+4)&&!t.isDark(o,n+5)&&t.isDark(o,n+6)&&(r+=40);for(n=0;n<e;n++)for(o=0;o<e-6;o++)t.isDark(o,n)&&!t.isDark(o+1,n)&&t.isDark(o+2,n)&&t.isDark(o+3,n)&&t.isDark(o+4,n)&&!t.isDark(o+5,n)&&t.isDark(o+6,n)&&(r+=40);var u=0;for(n=0;n<e;n++)for(o=0;o<e;o++)t.isDark(o,n)&&u++;return r+=Math.abs(100*u/e/e-50)/5*10}},s={glog:function(t){if(t<1)throw new Error("glog("+t+")");return s.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return s.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},h=0;h<8;h++)s.EXP_TABLE[h]=1<<h;for(h=8;h<256;h++)s.EXP_TABLE[h]=s.EXP_TABLE[h-4]^s.EXP_TABLE[h-5]^s.EXP_TABLE[h-6]^s.EXP_TABLE[h-8];for(h=0;h<255;h++)s.LOG_TABLE[s.EXP_TABLE[h]]=h;function l(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var r=0;r<t.length&&0==t[r];)r++;this.num=new Array(t.length-r+e);for(var o=0;o<t.length-r;o++)this.num[o]=t[o+r]}function u(t,e){this.totalCount=t,this.dataCount=e}function f(){this.buffer=[],this.length=0}l.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),r=0;r<this.getLength();r++)for(var o=0;o<t.getLength();o++)e[r+o]^=s.gexp(s.glog(this.get(r))+s.glog(t.get(o)));return new l(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=s.glog(this.get(0))-s.glog(t.get(0)),r=new Array(this.getLength()),o=0;o<this.getLength();o++)r[o]=this.get(o);for(o=0;o<t.getLength();o++)r[o]^=s.gexp(s.glog(t.get(o))+e);return new l(r,0).mod(t)}},u.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],u.getRSBlocks=function(t,e){var r=u.getRsBlockTable(t,e);if(null==r)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var o=r.length/3,n=[],i=0;i<o;i++)for(var a=r[3*i+0],s=r[3*i+1],h=r[3*i+2],l=0;l<a;l++)n.push(new u(s,h));return n},u.getRsBlockTable=function(t,e){switch(e){case n.L:return u.RS_BLOCK_TABLE[4*(t-1)+0];case n.M:return u.RS_BLOCK_TABLE[4*(t-1)+1];case n.Q:return u.RS_BLOCK_TABLE[4*(t-1)+2];case n.H:return u.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},f.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var r=0;r<e;r++)this.putBit(1==(t>>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var g=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function c(){return"undefined"!=typeof CanvasRenderingContext2D}function d(){var t=!1,e=navigator.userAgent;if(/android/i.test(e)){t=!0;var r=e.toString().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(t=parseFloat(r[1]))}return t}var p,m=((p=function(t,e){this._el=t,this._htOption=e}).prototype.draw=function(t){var e=this._htOption,r=this._el,o=t.getModuleCount();function n(t,e){var r=document.createElementNS("http://www.w3.org/2000/svg",t);for(var o in e)e.hasOwnProperty(o)&&r.setAttribute(o,e[o]);return r}Math.floor(e.width/o),Math.floor(e.height/o),this.clear();var i=n("svg",{viewBox:"0 0 "+String(o)+" "+String(o),width:"100%",height:"100%",fill:e.colorLight});i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(i),i.appendChild(n("rect",{fill:e.colorLight,width:"100%",height:"100%"})),i.appendChild(n("rect",{fill:e.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<o;a++)for(var s=0;s<o;s++)if(t.isDark(a,s)){var h=n("use",{x:String(s),y:String(a)});h.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),i.appendChild(h)}},p.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},p),_="svg"===document.documentElement.tagName.toLowerCase()?m:c()?function(){function t(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}if(this&&this._android&&this._android<=2.1){var e=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(t,o,n,i,a,s,h,l,u){if("nodeName"in t&&/img/i.test(t.nodeName))for(var f=arguments.length-1;f>=1;f--)arguments[f]=arguments[f]*e;else void 0===l&&(arguments[1]*=e,arguments[2]*=e,arguments[3]*=e,arguments[4]*=e);r.apply(this,arguments)}}function o(t,e){var r=this;if(r._fFail=e,r._fSuccess=t,null===r._bSupportDataURI){var o=document.createElement("img"),n=function(){r._bSupportDataURI=!1,r._fFail&&r._fFail.call(r)},i=function(){r._bSupportDataURI=!0,r._fSuccess&&r._fSuccess.call(r)};return o.onabort=n,o.onerror=n,o.onload=i,void(o.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}!0===r._bSupportDataURI&&r._fSuccess?r._fSuccess.call(r):!1===r._bSupportDataURI&&r._fFail&&r._fFail.call(r)}var n=function(t,e){this._bIsPainted=!1,this._android=d(),this._htOption=e,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=e.width,this._elCanvas.height=e.height,t.appendChild(this._elCanvas),this._el=t,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return n.prototype.draw=function(t){var e=this._elImage,r=this._oContext,o=this._htOption,n=t.getModuleCount(),i=o.width/n,a=o.height/n,s=Math.round(i),h=Math.round(a);e.style.display="none",this.clear();for(var l=0;l<n;l++)for(var u=0;u<n;u++){var f=t.isDark(l,u),g=u*i,c=l*a;r.strokeStyle=f?o.colorDark:o.colorLight,r.lineWidth=1,r.fillStyle=f?o.colorDark:o.colorLight,r.fillRect(g,c,i,a),r.strokeRect(Math.floor(g)+.5,Math.floor(c)+.5,s,h),r.strokeRect(Math.ceil(g)-.5,Math.ceil(c)-.5,s,h)}this._bIsPainted=!0},n.prototype.makeImage=function(){this._bIsPainted&&o.call(this,t)},n.prototype.isPainted=function(){return this._bIsPainted},n.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},n.prototype.round=function(t){return t?Math.floor(1e3*t)/1e3:t},n}():function(){var t=function(t,e){this._el=t,this._htOption=e};return t.prototype.draw=function(t){for(var e=this._htOption,r=this._el,o=t.getModuleCount(),n=Math.floor(e.width/o),i=Math.floor(e.height/o),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<o;s++){a.push("<tr>");for(var h=0;h<o;h++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+n+"px;height:"+i+"px;background-color:"+(t.isDark(s,h)?e.colorDark:e.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),r.innerHTML=a.join("");var l=r.childNodes[0],u=(e.width-l.offsetWidth)/2,f=(e.height-l.offsetHeight)/2;u>0&&f>0&&(l.style.margin=f+"px "+u+"px")},t.prototype.clear=function(){this._el.innerHTML=""},t}();function v(t,e){for(var r=1,o=C(t),i=0,a=g.length;i<a;i++){var s=0;switch(e){case n.L:s=g[i][0];break;case n.M:s=g[i][1];break;case n.Q:s=g[i][2];break;case n.H:s=g[i][3]}if(o<=s)break;r++}if(r>g.length)throw new Error("Too long data");return r}function C(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}return(o=function(t,e){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:n.H},"string"==typeof e&&(e={text:e}),e)for(var r in e)this._htOption[r]=e[r];"string"==typeof t&&(t=document.getElementById(t)),this._htOption.useSVG&&(_=m),this._android=d(),this._el=t,this._oQRCode=null,this._oDrawing=new _(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)}).prototype.makeCode=function(t){this._oQRCode=new e(v(t,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(t),this._oQRCode.make(),this._el.title=t,this._oDrawing.draw(this._oQRCode),this.makeImage()},o.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},o.prototype.clear=function(){this._oDrawing.clear()},o.CorrectLevel=n,o}();var i=n.exports;const a=e.getDefaultExportFromCjs(i),s={class:"login-scan-container"},h=t.defineComponent({name:"loginScan"}),l=t.defineComponent({...h,setup(e){const r=t.ref(null);return t.onMounted((()=>{t.nextTick((()=>{r.value.innerHTML="",new a(r.value,{text:"https://qm.qq.com/cgi-bin/qm/qr?k=RdUY97Vx0T0vZ_1OOu-X1yFNkWgDwbjC&jump_from=webapi",width:260,height:260,colorDark:"#000000",colorLight:"#ffffff"})}))})),(e,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createElementVNode("div",{ref_key:"qrcodeRef",ref:r},null,512),o[0]||(o[0]=t.createElementVNode("div",{class:"font12 mt20 login-msg"},[t.createElementVNode("i",{class:"iconfont icon-saoyisao mr5"}),t.createElementVNode("span",null,"打开手机扫一扫,快速登录/注册")],-1))]))}}),u=e._export_sfc(l,[["__scopeId","data-v-38581de4"]]);exports.default=u;
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, ref, onMounted, openBlock, createElementBlock, createElementVNode, nextTick } from "vue";
|
2
|
-
import { Y as commonjsGlobal, Z as getDefaultExportFromCjs, _ as _export_sfc } from "./index-
|
2
|
+
import { Y as commonjsGlobal, Z as getDefaultExportFromCjs, _ as _export_sfc } from "./index-BxvL2Xo6.mjs";
|
3
3
|
var qrcode = { exports: {} };
|
4
4
|
(function(module, exports) {
|
5
5
|
var QRCode2;
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-UaTdn4ei.js"),o={class:"layout-search-dialog"},a=e.defineComponent({name:"layoutBreadcrumbSearch"}),i=e.defineComponent({...a,setup(a,{expose:i}){const s=t.useTagsViewRoutes(),{tagsViewRoutes:l}=t.storeToRefs(s),r=e.ref(),n=t.useRouter(),u=e.reactive({isShowSearch:!1,menuQuery:"",tagsViewList:[]}),c=(e,t)=>{t(e?u.tagsViewList.filter(d(e)):u.tagsViewList)},d=e=>t=>t.path.toLowerCase().indexOf(e.toLowerCase())>-1||t.meta.title.toLowerCase().indexOf(e.toLowerCase())>-1||t.meta.title.indexOf(e.toLowerCase())>-1,m=()=>{if(u.tagsViewList.length>0)return!1;l.value.map((e=>{var t;(null==(t=e.meta)?void 0:t.isHide)||u.tagsViewList.push({...e})}))},p=e=>{var t,o,a;let{path:i,redirect:s}=e;(null==(t=e.meta)?void 0:t.isLink)&&!(null==(o=e.meta)?void 0:o.isIframe)?window.open(null==(a=e.meta)?void 0:a.isLink):s?n.push(s):n.push(i),u.isShowSearch=!1};return i({openSearch:()=>{u.menuQuery="",u.isShowSearch=!0,m(),e.nextTick((()=>{setTimeout((()=>{r.value.focus()}))}))}}),(t,a)=>{const i=e.resolveComponent("ele-Search"),s=e.resolveComponent("el-icon"),l=e.resolveComponent("SvgIcon"),n=e.resolveComponent("el-autocomplete"),d=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("div",o,[e.createVNode(d,{modelValue:u.isShowSearch,"onUpdate:modelValue":a[1]||(a[1]=e=>u.isShowSearch=e),"destroy-on-close":"","show-close":!1},{footer:e.withCtx((()=>[e.createVNode(n,{modelValue:u.menuQuery,"onUpdate:modelValue":a[0]||(a[0]=e=>u.menuQuery=e),"fetch-suggestions":c,placeholder:"菜单搜索:支持中文、路由路径",ref_key:"layoutMenuAutocompleteRef",ref:r,onSelect:p,"fit-input-width":!0},{prefix:e.withCtx((()=>[e.createVNode(s,{class:"el-input__icon"},{default:e.withCtx((()=>[e.createVNode(i)])),_:1})])),default:e.withCtx((({item:t})=>[e.createElementVNode("div",null,[e.createVNode(l,{name:t.meta.icon,class:"mr5"},null,8,["name"]),e.createTextVNode(" "+e.toDisplayString(t.meta.title),1)])])),_:1},8,["modelValue"])])),_:1},8,["modelValue"])])}}}),s=t._export_sfc(i,[["__scopeId","data-v-052db9e3"]]);exports.default=s;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, ref, reactive, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createTextVNode, toDisplayString, nextTick } from "vue";
|
2
|
-
import { ac as useTagsViewRoutes, s as storeToRefs, a as useRouter, _ as _export_sfc } from "./index-
|
2
|
+
import { ac as useTagsViewRoutes, s as storeToRefs, a as useRouter, _ as _export_sfc } from "./index-BxvL2Xo6.mjs";
|
3
3
|
const _hoisted_1 = { class: "layout-search-dialog" };
|
4
4
|
const __default__ = defineComponent({
|
5
5
|
name: "layoutBreadcrumbSearch"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, ref, openBlock, createElementBlock, createVNode, unref } from "vue";
|
2
|
-
import { e as _, O as baseForm, _ as _export_sfc } from "./index-
|
2
|
+
import { e as _, O as baseForm, _ as _export_sfc } from "./index-BxvL2Xo6.mjs";
|
3
3
|
const selectAttrConfig = [
|
4
4
|
{
|
5
5
|
prop: "attrs",
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-UaTdn4ei.js"),l=[{prop:"attrs",label:"selectAttrs",tooltip:"selectAttrs",type:"object",el:"title",children:[{prop:"defaultValue",label:"默认值",tooltip:"默认值",type:"string / number / boolean / object / array",el:"hs-input"},{prop:"options",label:"option配置数据",tooltip:'options 示例:string=[{label: "示例代码", value: 0}]',type:"string",el:"hs-input",attrs:{type:"textarea"}},{prop:"url",label:"url获取options",tooltip:"通过url请求获取options配置项数据",type:"string",el:"hs-input"},{prop:"paramKey",label:"请求参数key",tooltip:"请求参数key",type:"string",el:"hs-input"},{prop:"paramValue",label:"请求参数Value",tooltip:"请求参数Value",type:"string",el:"hs-input"},{prop:"multiple",label:"是否多选",tooltip:"是否多选",type:"boolean",el:"hs-switch"},{prop:"disabled",label:"是否禁用",tooltip:"是否禁用",type:"boolean",el:"hs-switch"},{prop:"value-key",label:"value 唯一标识",tooltip:"作为 value 唯一标识的键名,绑定值为对象类型时必填",type:"string",el:"hs-input"},{prop:"placeholder",label:"占位符",tooltip:"占位符,默认为“Select”",type:"string",el:"hs-input"},{prop:"size",label:"输入框尺寸",tooltip:"输入框尺寸",type:"enum",el:"hs-select",op:[{label:"large",value:"large"},{label:"default",value:"default"},{label:"small",value:"small"}],cel:"hs-option"},{prop:"clearable",label:"是否可以清空",tooltip:"是否可以清空选项",type:"boolean",el:"hs-switch"},{prop:"collapse-tags",label:"值按文字展示",tooltip:"多选时是否将选中值按文字的形式展示",type:"boolean",el:"hs-switch"},{prop:"collapse-tags-tooltip",label:"是否显示所选",tooltip:"当鼠标悬停于折叠标签的文本时,是否显示所有选中的标签。 要使用此属性,collapse-tags属性必须设定为 true",type:"boolean",el:"hs-switch"},{prop:"multiple-limit",label:"最多可选数",tooltip:"multiple 属性设置为 true 时,代表多选场景下用户最多可以选择的项目数, 为 0 则不限制",type:"number",el:"hs-input-number"},{prop:"name",label:"原生name属性",tooltip:"Select 输入框的原生 name 属性",type:"string",el:"hs-input"},{prop:"effect",label:"tooltip 主题",tooltip:"tooltip 主题,内置了 dark / light 两种",type:"enum / string",el:"hs-select",op:[{label:"dark",value:"dark"},{label:"light",value:"light"}],cel:"hs-option"},{prop:"autocomplete",label:"autocomplete",tooltip:"Select 输入框的原生 autocomplete 属性",type:"string",el:"hs-input"},{prop:"filterable",label:"是否可筛选",tooltip:"Select 组件是否可筛选",type:"boolean",el:"hs-switch"},{prop:"allow-create",label:"允许创建条目",tooltip:"是否允许用户创建新条目, 只有当 filterable 设置为 true 时才会生效。",type:"boolean",el:"hs-switch"},{prop:"filter-method",label:"筛选方法",tooltip:"自定义筛选方法",type:"Function",el:"hs-input"},{prop:"remote",label:"是否远程加载",tooltip:"其中的选项是否从服务器远程加载",type:"boolean",el:"hs-switch"},{prop:"remote-method",label:"远程搜索方法",tooltip:"自定义远程搜索方法",type:"Function",el:"hs-input"},{prop:"remote-show-suffix",label:"远程搜索图标",tooltip:"远程搜索方法显示后缀图标",type:"boolean",el:"hs-switch"},{prop:"loading",label:"是否正在获取",tooltip:"是否正在从远程获取数据",type:"boolean",el:"hs-switch"},{prop:"loading-text",label:"加载时文本",tooltip:"从服务器加载数据时显示的文本,默认为“Loading”",type:"string",el:"hs-input"},{prop:"no-match-text",label:"无匹配时显示",tooltip:"搜索条件无匹配时显示的文字,也可以使用 empty 插槽设置,默认是 “No matching data'”",type:"string",el:"hs-input"},{prop:"no-data-text",label:"无选项时显示",tooltip:"无选项时显示的文字,也可以使用 empty 插槽设置自定义内容,默认是 “No data”",type:"string",el:"hs-input"},{prop:"popper-class",label:"下拉菜单类名",tooltip:"选择器下拉菜单的自定义类名",type:"string",el:"hs-input"},{prop:"reserve-keyword",label:"保留关键词",tooltip:"当 multiple 和 filterable被设置为 true 时,是否在选中一个选项后保留当前的搜索关键词",type:"boolean",el:"hs-switch"},{prop:"default-first-option",label:"回车选择",tooltip:"是否在输入框按下回车时,选择第一个匹配项。 需配合 filterable 或 remote 使用",type:"boolean",el:"hs-switch"},{prop:"teleported",label:"是否插入至body",tooltip:"是否将下拉列表插入至 body 元素",type:"boolean",el:"hs-switch"},{prop:"persistent",label:"选择器未被激活",tooltip:"当下拉选择器未被激活并且persistent设置为false,选择器会被删除。",type:"boolean",el:"hs-switch"},{prop:"automatic-dropdown",label:"自动弹出选项",tooltip:"对于不可搜索的 Select,是否在输入框获得焦点后自动弹出选项菜单",type:"boolean",el:"hs-switch"},{prop:"clear-icon",label:"清除图标",tooltip:"自定义清除图标",type:"string / object",el:"hs-input"},{prop:"fit-input-width",label:"下拉框宽度",tooltip:"下拉框的宽度是否与输入框相同",type:"boolean",el:"hs-switch"},{prop:"suffix-icon",label:"后缀图标",tooltip:"自定义后缀图标组件",type:"string / object",el:"hs-input"},{prop:"suffix-transition deprecated",label:"下拉图标动画",tooltip:"下拉菜单显示/消失时后缀图标的动画",type:"boolean",el:"hs-switch"},{prop:"tag-type",label:"标签类型",tooltip:"标签类型",type:"enum",el:"hs-select",op:[{label:"success",value:"success"},{label:"info",value:"info"},{label:"warning",value:"warning"},{label:"danger",value:"danger"}],cel:"hs-option"},{prop:"validate-event",label:"表单验证",tooltip:"是否触发表单验证",type:"boolean",el:"hs-switch"},{prop:"placement",label:"下拉框出现位置",tooltip:"下拉框出现的位置",type:"enum",el:"hs-select",op:[{label:"top",value:"top"},{label:"top-start",value:"top-start"},{label:"top-end",value:"top-end"},{label:"bottom",value:"bottom"},{label:"bottom-start",value:"bottom-start"},{label:"bottom-end",value:"bottom-end"},{label:"left",value:"left"},{label:"left-start",value:"left-start"},{label:"left-end",value:"left-end"},{label:"right",value:"right"},{label:"right-start",value:"right-start"},{label:"right-end",value:"right-end"}],cel:"hs-option"},{prop:"max-collapse-tags",label:"Tag最大数量",tooltip:"需要显示的 Tag 的最大数量 只有当 collapse-tags 设置为 true 时才会生效。",type:"number",el:"hs-input-number"},{prop:"popper-options",label:"popper参数",tooltip:"popper.js 参数",type:"objectrefer to popper.js doc",el:"hs-input"},{prop:"aria-label",label:"aria-label",tooltip:"等价于原生 input aria-label 属性",type:"string",el:"hs-input"}]},{prop:"groupAttrs",label:"optionGroupAttrs",tooltip:"optionGroupAttrs",type:"object",el:"title",children:[{prop:"isGroupEnabled",label:"是否启用分组",tooltip:"是否启用分组",type:"boolean",el:"hs-switch"},{prop:"label",label:"分组的名称",tooltip:"分组的名称",type:"string",el:"hs-input"},{prop:"disabled",label:"是否禁用分组",tooltip:"是否将该分组下所有选项置为禁用",type:"string",el:"hs-switch"}]},{prop:"optionAttrs",label:"optionAttrs",tooltip:"optionAttrs",type:"object",el:"title",children:[{prop:"value",label:"选项的值",tooltip:"选项的值",type:"string",el:"hs-input"},{prop:"label",label:"选项的标签",tooltip:"选项的标签,若不设置则默认与value相同",type:"string",el:"hs-input"},{prop:"disabled",label:"是否禁用选项",tooltip:"是否禁用该选项",type:"string",el:"hs-switch"}]},{prop:"rules",label:"rules",tooltip:"rules",type:"object",el:"title",children:[{prop:"required",label:"是否必填",tooltip:"是否必填",type:"boolean",el:"hs-switch"},{prop:"rules",label:"必填项规则",tooltip:"必填项规则",type:"array",el:"hs-input",attrs:{type:"textarea"}}]}],o={attrs:{multiple:!1,disabled:!1,"value-key":"value",clearable:!0,"collapse-tags":!1,"collapse-tags-tooltip":!1,"multiple-limit":0,effect:"light",autocomplete:"off",filterable:!0,"allow-create":!1,remote:!1,"remote-show-suffix":!1,loading:!1,"reserve-keyword":!0,"default-first-option":!1,teleported:!0,persistent:!0,"automatic-dropdown":!1,"clear-icon":"CircleClose","fit-input-width":!1,"suffix-icon":"ArrowDown","tag-type":"info","validate-event":!0,placement:"bottom-start","max-collapse-tags":1},groupAttrs:{disabled:!1,isGroupEnabled:!1},optionAttrs:{value:"value",label:"label",disabled:!1},rules:{}},p={class:"select-wrap"},a=e.defineComponent({name:"selectConfig"}),i=e.defineComponent({...a,props:{data:{type:Object,default:()=>{}},isVModel:{type:Boolean,default:!1}},setup(a){const i=a,r=e.ref(t._.isEmpty(i.data)?Object.assign(i.data,o):i.data);return(o,i)=>(e.openBlock(),e.createElementBlock("div",p,[e.createVNode(t.baseForm,{data:r.value,"onUpdate:data":i[0]||(i[0]=e=>r.value=e),config:e.unref(l),isVModel:a.isVModel,lg:12},null,8,["data","config","isVModel"])]))}}),r=t._export_sfc(i,[["__scopeId","data-v-6281a8a9"]]);exports.default=r;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, computed, resolveComponent, openBlock, createElementBlock, Fragment, renderList, createBlock, withCtx, createVNode, createElementVNode, toDisplayString, withModifiers, createTextVNode } from "vue";
|
2
|
-
import { ad as other } from "./index-
|
2
|
+
import { ad as other } from "./index-BxvL2Xo6.mjs";
|
3
3
|
const _hoisted_1 = ["onClick"];
|
4
4
|
const __default__ = defineComponent({
|
5
5
|
name: "navMenuSubItem"
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-UaTdn4ei.js"),n=["onClick"],l=e.defineComponent({name:"navMenuSubItem"}),o=e.defineComponent({...l,props:{chil:{type:Array,default:()=>[]}},setup(l){const o=l,a=e.computed((()=>o.chil));return(l,o)=>{const r=e.resolveComponent("SvgIcon"),i=e.resolveComponent("sub-item",!0),c=e.resolveComponent("el-sub-menu"),m=e.resolveComponent("el-menu-item");return e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(l=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[l.children&&l.children.length>0?(e.openBlock(),e.createBlock(c,{index:`${l.path}?project=mdss`,key:l.path},{title:e.withCtx((()=>[e.createVNode(r,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(l.meta.title),1)])),default:e.withCtx((()=>[e.createVNode(i,{chil:l.children},null,8,["chil"])])),_:2},1032,["index"])):(e.openBlock(),e.createBlock(m,{index:`${l.path}?project=mdss`,key:l.path},{default:e.withCtx((()=>[!l.meta.isLink||l.meta.isLink&&l.meta.isIframe?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(r,{name:l.meta.icon},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(l.meta.title),1)],64)):(e.openBlock(),e.createElementBlock("a",{key:1,class:"w100",onClick:e.withModifiers((e=>(e=>{t.other.handleOpenLink(e)})(l)),["prevent"])},[e.createVNode(r,{name:l.meta.icon},null,8,["name"]),e.createTextVNode(" "+e.toDisplayString(l.meta.title),1)],8,n))])),_:2},1032,["index"]))],64)))),256)}}});exports.default=o;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, reactive, computed, onBeforeMount, onUnmounted, onBeforeUpdate, onMounted, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withModifiers, withCtx, createElementVNode, Fragment, renderList, createCommentVNode, createBlock, toDisplayString, unref, nextTick } from "vue";
|
2
|
-
import { ac as useTagsViewRoutes, c as useThemeConfig, T as useRoutesList, s as storeToRefs, b as useKeepALiveNames, u as useRoute, a as useRouter, ad as other, m as mittBus, ae as onBeforeRouteUpdate, d as ElMessage, S as Session, af as dynamicRoutes, ag as isObjectValueEqual, _ as _export_sfc } from "./index-
|
2
|
+
import { ac as useTagsViewRoutes, c as useThemeConfig, T as useRoutesList, s as storeToRefs, b as useKeepALiveNames, u as useRoute, a as useRouter, ad as other, m as mittBus, ae as onBeforeRouteUpdate, d as ElMessage, S as Session, af as dynamicRoutes, ag as isObjectValueEqual, _ as _export_sfc } from "./index-BxvL2Xo6.mjs";
|
3
3
|
/**!
|
4
4
|
* Sortable 1.15.2
|
5
5
|
* @author RubaXa <trash@rubaxa.org>
|
@@ -2196,7 +2196,7 @@ const __default__ = defineComponent({
|
|
2196
2196
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
2197
2197
|
...__default__,
|
2198
2198
|
setup(__props) {
|
2199
|
-
const Contextmenu = defineAsyncComponent(() => import("./contextmenu-
|
2199
|
+
const Contextmenu = defineAsyncComponent(() => import("./contextmenu-BTOBg_Hm.mjs"));
|
2200
2200
|
const tagsRefs = ref([]);
|
2201
2201
|
const scrollbarRef = ref();
|
2202
2202
|
const contextmenuRef = ref();
|
Binary file
|
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./index-UaTdn4ei.js");
|
2
2
|
/**!
|
3
3
|
* Sortable 1.15.2
|
4
4
|
* @author RubaXa <trash@rubaxa.org>
|
5
5
|
* @author owenm <owen23355@gmail.com>
|
6
6
|
* @license MIT
|
7
7
|
*/
|
8
|
-
function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){a(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=s(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),c=s(/Edge/i),d=s(/firefox/i),h=s(/safari/i)&&!s(/chrome/i)&&!s(/android/i),f=s(/iP(ad|od|hone)/i),p=s(/chrome/i)&&s(/android/i),m={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!u&&m)}function g(e,t,n){e.removeEventListener(t,n,!u&&m)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function w(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function y(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||o&&e===n)return e;if(e===n)break}while(e=w(e))}return null}var S,E=/\s+/g;function D(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(E," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(E," ")}}function C(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function T(e,t){var n="";if("string"==typeof e)n=e;else do{var o=C(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function _(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,a=o.length;if(n)for(;i<a;i++)n(o[i],i);return o}return[]}function x(){var e=document.scrollingElement;return e||document.documentElement}function k(e,t,n,o,i){if(e.getBoundingClientRect||e===window){var a,r,l,s,c,d,h;if(e!==window&&e.parentNode&&e!==x()?(r=(a=e.getBoundingClientRect()).top,l=a.left,s=a.bottom,c=a.right,d=a.height,h=a.width):(r=0,l=0,s=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!u))do{if(i&&i.getBoundingClientRect&&("none"!==C(i,"transform")||n&&"static"!==C(i,"position"))){var f=i.getBoundingClientRect();r-=f.top+parseInt(C(i,"border-top-width")),l-=f.left+parseInt(C(i,"border-left-width")),s=r+a.height,c=l+a.width;break}}while(i=i.parentNode);if(o&&e!==window){var p=T(i||e),m=p&&p.a,v=p&&p.d;p&&(s=(r/=v)+(d/=v),c=(l/=m)+(h/=m))}return{top:r,left:l,bottom:s,right:c,width:h,height:d}}}function V(e,t,n){for(var o=M(e,!0),i=k(e)[t];o;){var a=k(o)[n];if(!("top"===n||"left"===n?i>=a:i<=a))return o;if(o===x())break;o=M(o,!1)}return!1}function O(e,t,n,o){for(var i=0,a=0,r=e.children;a<r.length;){if("none"!==r[a].style.display&&r[a]!==Be.ghost&&(o||r[a]!==Be.dragged)&&y(r[a],n.draggable,e,!1)){if(i===t)return r[a];i++}a++}return null}function L(e,t){for(var n=e.lastElementChild;n&&(n===Be.ghost||"none"===C(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function A(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Be.clone||t&&!b(e,t)||n++;return n}function I(e){var t=0,n=0,o=x();if(e)do{var i=T(e),a=i.a,r=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*r}while(e!==o&&(e=e.parentNode));return[t,n]}function M(e,t){if(!e||!e.getBoundingClientRect)return x();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=C(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return x();if(o||t)return n;o=!0}}}while(n=n.parentNode);return x()}function P(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function N(e,t){return function(){if(!S){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),S=setTimeout((function(){S=void 0}),t)}}}function R(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function B(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function q(e,t,n){var o={};return Array.from(e.children).forEach((function(i){var a,r,l,s;if(y(i,t.draggable,e,!1)&&!i.animated&&i!==n){var u=k(i);o.left=Math.min(null!==(a=o.left)&&void 0!==a?a:1/0,u.left),o.top=Math.min(null!==(r=o.top)&&void 0!==r?r:1/0,u.top),o.right=Math.max(null!==(l=o.right)&&void 0!==l?l:-1/0,u.right),o.bottom=Math.max(null!==(s=o.bottom)&&void 0!==s?s:-1/0,u.bottom)}})),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var X="Sortable"+(new Date).getTime();function Y(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==C(e,"display")&&e!==Be.ghost){t.push({target:e,rect:k(e)});var n=o({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=T(e,!0);i&&(n.top-=i.f,n.left-=i.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var o=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,a=0;t.forEach((function(e){var t=0,n=e.target,r=n.fromRect,l=k(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,d=T(n,!0);d&&(l.top-=d.f,l.left-=d.e),n.toRect=l,n.thisAnimationDuration&&P(s,l)&&!P(r,l)&&(c.top-l.top)/(c.left-l.left)==(r.top-l.top)/(r.left-l.left)&&(t=function(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}(c,s,u,o.options)),P(l,r)||(n.prevFromRect=r,n.prevToRect=l,t||(t=o.options.animation),o.animate(n,c,l,t)),t&&(i=!0,a=Math.max(a,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof n&&n()}),a):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,o){if(o){C(e,"transition",""),C(e,"transform","");var i=T(this.el),a=i&&i.a,r=i&&i.d,l=(t.left-n.left)/(a||1),s=(t.top-n.top)/(r||1);e.animatingX=!!l,e.animatingY=!!s,C(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),C(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),C(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){C(e,"transition",""),C(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var j=[],F={initializeByDefault:!0},H={mount:function(e){for(var t in F)F.hasOwnProperty(t)&&!(t in e)&&(e[t]=F[t]);j.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),j.push(e)},pluginEvent:function(e,t,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var a=e+"Global";j.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][a]&&t[i.pluginName][a](o({sortable:t},n)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var i in j.forEach((function(o){var i=o.pluginName;if(e.options[i]||o.initializeByDefault){var a=new o(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,r(n,a.defaults)}})),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);void 0!==a&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return j.forEach((function(o){"function"==typeof o.eventProperties&&r(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return j.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(o=i.optionListeners[t].call(e[i.pluginName],n))})),o}};var W=["evt"],U=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,a=l(n,W);H.pluginEvent.bind(Be)(e,t,o({dragEl:$,parentEl:G,ghostEl:K,rootEl:Z,nextEl:Q,lastDownEl:J,cloneEl:ee,cloneHidden:te,dragStarted:pe,putSortable:le,activeSortable:Be.active,originalEvent:i,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:ae,hideGhostForTarget:Me,unhideGhostForTarget:Pe,cloneNowHidden:function(){te=!0},cloneNowShown:function(){te=!1},dispatchSortableEvent:function(e){z({sortable:t,name:e,originalEvent:i})}},a))};function z(e){!function(e){var t=e.sortable,n=e.rootEl,i=e.name,a=e.targetEl,r=e.cloneEl,l=e.toEl,s=e.fromEl,d=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,v=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[X]){var b,w=t.options,y="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||u||c?(b=document.createEvent("Event")).initEvent(i,!0,!0):b=new CustomEvent(i,{bubbles:!0,cancelable:!0}),b.to=l||n,b.from=s||n,b.item=a||n,b.clone=r,b.oldIndex=d,b.newIndex=h,b.oldDraggableIndex=f,b.newDraggableIndex=p,b.originalEvent=m,b.pullMode=v?v.lastPutMode:void 0;var S=o(o({},g),H.getEventProperties(i,t));for(var E in S)b[E]=S[E];n&&n.dispatchEvent(b),w[y]&&w[y].call(t,b)}}(o({putSortable:le,cloneEl:ee,targetEl:$,rootEl:Z,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:ae},e))}var $,G,K,Z,Q,J,ee,te,ne,oe,ie,ae,re,le,se,ue,ce,de,he,fe,pe,me,ve,ge,be,we=!1,ye=!1,Se=[],Ee=!1,De=!1,Ce=[],Te=!1,_e=[],xe="undefined"!=typeof document,ke=f,Ve=c||u?"cssFloat":"float",Oe=xe&&!p&&!f&&"draggable"in document.createElement("div"),Le=function(){if(xe){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ae=function(e,t){var n=C(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=O(e,0,t),a=O(e,1,t),r=i&&C(i),l=a&&C(a),s=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+k(i).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+k(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&r.float&&"none"!==r.float){var c="left"===r.float?"left":"right";return!a||"both"!==l.clear&&l.clear!==c?"horizontal":"vertical"}return i&&("block"===r.display||"flex"===r.display||"table"===r.display||"grid"===r.display||s>=o&&"none"===n[Ve]||a&&"none"===n[Ve]&&s+u>o)?"vertical":"horizontal"},Ie=function(e){function t(e,n){return function(o,i,a,r){var l=o.options.group.name&&i.options.group.name&&o.options.group.name===i.options.group.name;if(null==e&&(n||l))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,i,a,r),n)(o,i,a,r);var s=(n?o:i).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},o=e.group;o&&"object"==i(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Me=function(){!Le&&K&&C(K,"display","none")},Pe=function(){!Le&&K&&C(K,"display","")};xe&&!p&&document.addEventListener("click",(function(e){if(ye)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ye=!1,!1}),!0);var Ne=function(e){if($){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,a=e.clientY,Se.some((function(e){var t=e[X].options.emptyInsertThreshold;if(t&&!L(e)){var n=k(e),o=i>=n.left-t&&i<=n.right+t,l=a>=n.top-t&&a<=n.bottom+t;return o&&l?r=e:void 0}})),r);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[X]._onDragOver(n)}}var i,a,r},Re=function(e){$&&$.parentNode[X]._isOutsideThisEl(e.target)};function Be(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=r({},t),e[X]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ae(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Be.supportPointer&&"PointerEvent"in window&&!h,emptyInsertThreshold:5};for(var o in H.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var i in Ie(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Oe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Se.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),r(this,Y())}function qe(e,t,n,o,i,a,r,l){var s,d,h=e[X],f=h.options.onMove;return!window.CustomEvent||u||c?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=a||k(t),s.willInsertAfter=l,s.originalEvent=r,e.dispatchEvent(s),f&&(d=f.call(h,s,r)),d}function Xe(e){e.draggable=!1}function Ye(){Te=!1}function je(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function Fe(e){return setTimeout(e,0)}function He(e){return clearTimeout(e)}Be.prototype={constructor:Be,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(me=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,$):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,i=o.preventOnFilter,a=e.type,r=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(r||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,u=o.filter;if(function(e){_e.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&_e.push(o)}}(n),!$&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!h||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=y(l,o.draggable,n,!1))&&l.animated||J===l)){if(ne=A(l),ie=A(l,o.draggable),"function"==typeof u){if(u.call(this,e,l,this))return z({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),U("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(o){if(o=y(s,o.trim(),n,!1))return z({sortable:t,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n}),U("filter",t,{evt:e}),!0}))))return void(i&&e.cancelable&&e.preventDefault());o.handle&&!y(s,o.handle,n,!1)||this._prepareDragStart(e,r,l)}}},_prepareDragStart:function(e,t,n){var o,i=this,a=i.el,r=i.options,l=a.ownerDocument;if(n&&!$&&n.parentNode===a){var s=k(n);if(Z=a,G=($=n).parentNode,Q=$.nextSibling,J=n,re=r.group,Be.dragged=$,se={target:$,clientX:(t||e).clientX,clientY:(t||e).clientY},he=se.clientX-s.left,fe=se.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,$.style["will-change"]="all",o=function(){U("delayEnded",i,{evt:e}),Be.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!d&&i.nativeDraggable&&($.draggable=!0),i._triggerDragStart(e,t),z({sortable:i,name:"choose",originalEvent:e}),D($,r.chosenClass,!0))},r.ignore.split(",").forEach((function(e){_($,e.trim(),Xe)})),v(l,"dragover",Ne),v(l,"mousemove",Ne),v(l,"touchmove",Ne),v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),U("delayStart",this,{evt:e}),!r.delay||r.delayOnTouchOnly&&!t||this.nativeDraggable&&(c||u))o();else{if(Be.eventCanceled)return void this._onDrop();v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),r.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(o,r.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&Xe($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._disableDelayedDrag),g(e,"touchend",this._disableDelayedDrag),g(e,"touchcancel",this._disableDelayedDrag),g(e,"mousemove",this._delayedDragTouchMoveHandler),g(e,"touchmove",this._delayedDragTouchMoveHandler),g(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v($,"dragend",this),v(Z,"dragstart",this._onDragStart));try{document.selection?Fe((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(we=!1,Z&&$){U("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",Re);var n=this.options;!e&&D($,n.dragClass,!1),D($,n.ghostClass,!0),Be.active=this,e&&this._appendGhost(),z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ue){this._lastX=ue.clientX,this._lastY=ue.clientY,Me();for(var e=document.elementFromPoint(ue.clientX,ue.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ue.clientX,ue.clientY))!==t;)t=e;if($.parentNode[X]._isOutsideThisEl(e),t)do{if(t[X]){if(t[X]._onDragOver({clientX:ue.clientX,clientY:ue.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Pe()}},_onTouchMove:function(e){if(se){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=K&&T(K,!0),r=K&&a&&a.a,l=K&&a&&a.d,s=ke&&be&&I(be),u=(i.clientX-se.clientX+o.x)/(r||1)+(s?s[0]-Ce[0]:0)/(r||1),c=(i.clientY-se.clientY+o.y)/(l||1)+(s?s[1]-Ce[1]:0)/(l||1);if(!Be.active&&!we){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(K){a?(a.e+=u-(ce||0),a.f+=c-(de||0)):a={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");C(K,"webkitTransform",d),C(K,"mozTransform",d),C(K,"msTransform",d),C(K,"transform",d),ce=u,de=c,ue=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!K){var e=this.options.fallbackOnBody?document.body:Z,t=k($,!0,ke,!0,e),n=this.options;if(ke){for(be=e;"static"===C(be,"position")&&"none"===C(be,"transform")&&be!==document;)be=be.parentNode;be!==document.body&&be!==document.documentElement?(be===document&&(be=x()),t.top+=be.scrollTop,t.left+=be.scrollLeft):be=x(),Ce=I(be)}D(K=$.cloneNode(!0),n.ghostClass,!1),D(K,n.fallbackClass,!0),D(K,n.dragClass,!0),C(K,"transition",""),C(K,"transform",""),C(K,"box-sizing","border-box"),C(K,"margin",0),C(K,"top",t.top),C(K,"left",t.left),C(K,"width",t.width),C(K,"height",t.height),C(K,"opacity","0.8"),C(K,"position",ke?"absolute":"fixed"),C(K,"zIndex","100000"),C(K,"pointerEvents","none"),Be.ghost=K,e.appendChild(K),C(K,"transform-origin",he/parseInt(K.style.width)*100+"% "+fe/parseInt(K.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,i=n.options;U("dragStart",this,{evt:e}),Be.eventCanceled?this._onDrop():(U("setupClone",this),Be.eventCanceled||((ee=B($)).removeAttribute("id"),ee.draggable=!1,ee.style["will-change"]="",this._hideClone(),D(ee,this.options.chosenClass,!1),Be.clone=ee),n.cloneId=Fe((function(){U("clone",n),Be.eventCanceled||(n.options.removeCloneOnHide||Z.insertBefore(ee,$),n._hideClone(),z({sortable:n,name:"clone"}))})),!t&&D($,i.dragClass,!0),t?(ye=!0,n._loopId=setInterval(n._emulateDragOver,50)):(g(document,"mouseup",n._onDrop),g(document,"touchend",n._onDrop),g(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(n,o,$)),v(document,"drop",n),C($,"transform","translateZ(0)")),we=!0,n._dragStartId=Fe(n._dragStarted.bind(n,t,e)),v(document,"selectstart",n),pe=!0,h&&C(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,i,a,r=this.el,l=e.target,s=this.options,u=s.group,c=Be.active,d=re===u,h=s.sort,f=le||c,p=this,m=!1;if(!Te){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=y(l,s.draggable,r,!0),Y("dragOver"),Be.eventCanceled)return m;if($.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||p._ignoreWhileAnimating===l)return F(!1);if(ye=!1,c&&!s.disabled&&(d?h||(i=G!==Z):le===this||(this.lastPutMode=re.checkPull(this,c,$,e))&&u.checkPut(this,c,$,e))){if(a="vertical"===this._getDirection(e,l),t=k($),Y("dragOverValid"),Be.eventCanceled)return m;if(i)return G=Z,j(),this._hideClone(),Y("revert"),Be.eventCanceled||(Q?Z.insertBefore($,Q):Z.appendChild($)),F(!0);var v=L(r,s.draggable);if(!v||function(e,t,n){var o=k(L(n.el,n.options.draggable)),i=q(n.el,n.options,K),a=10;return t?e.clientX>i.right+a||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+a||e.clientX>o.right&&e.clientY>o.top}(e,a,this)&&!v.animated){if(v===$)return F(!1);if(v&&r===e.target&&(l=v),l&&(n=k(l)),!1!==qe(Z,r,$,t,l,n,e,!!l))return j(),v&&v.nextSibling?r.insertBefore($,v.nextSibling):r.appendChild($),G=r,H(),F(!0)}else if(v&&function(e,t,n){var o=k(O(n.el,0,n.options,!0)),i=q(n.el,n.options,K),a=10;return t?e.clientX<i.left-a||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-a||e.clientY<o.bottom&&e.clientX<o.left}(e,a,this)){var g=O(r,0,s,!0);if(g===$)return F(!1);if(n=k(l=g),!1!==qe(Z,r,$,t,l,n,e,!1))return j(),r.insertBefore($,g),G=r,H(),F(!0)}else if(l.parentNode===r){n=k(l);var b,w,S,E=$.parentNode!==r,T=!function(e,t,n){var o=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,r=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return o===r||i===l||o+a/2===r+s/2}($.animated&&$.toRect||t,l.animated&&l.toRect||n,a),_=a?"top":"left",x=V(l,"top","top")||V($,"top","top"),I=x?x.scrollTop:void 0;if(me!==l&&(w=n[_],Ee=!1,De=!T&&s.invertSwap||E),b=function(e,t,n,o,i,a,r,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,h=!1;if(!r)if(l&&ge<u*i){if(!Ee&&(1===ve?s>c+u*a/2:s<d-u*a/2)&&(Ee=!0),Ee)h=!0;else if(1===ve?s<c+ge:s>d-ge)return-ve}else if(s>c+u*(1-i)/2&&s<d-u*(1-i)/2)return function(e){return A($)<A(e)?1:-1}(t);if((h=h||r)&&(s<c+u*a/2||s>d-u*a/2))return s>c+u/2?1:-1;return 0}(e,l,n,a,T?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,De,me===l),0!==b){var M=A($);do{M-=b,S=G.children[M]}while(S&&("none"===C(S,"display")||S===K))}if(0===b||S===l)return F(!1);me=l,ve=b;var P=l.nextElementSibling,N=!1,B=qe(Z,r,$,t,l,n,e,N=1===b);if(!1!==B)return 1!==B&&-1!==B||(N=1===B),Te=!0,setTimeout(Ye,30),j(),N&&!P?r.appendChild($):l.parentNode.insertBefore($,N?P:l),x&&R(x,0,I-x.scrollTop),G=$.parentNode,void 0===w||De||(ge=Math.abs(w-k(l)[_])),H(),F(!0)}if(r.contains($))return F(!1)}return!1}function Y(s,u){U(s,p,o({evt:e,isOwner:d,axis:a?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:l,completed:F,onMove:function(n,o){return qe(Z,r,$,t,n,k(n),e,o)},changed:H},u))}function j(){Y("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function F(t){return Y("dragOverCompleted",{insertion:t}),t&&(d?c._hideClone():c._showClone(p),p!==f&&(D($,le?le.options.ghostClass:c.options.ghostClass,!1),D($,s.ghostClass,!0)),le!==p&&p!==Be.active?le=p:p===Be.active&&le&&(le=null),f===p&&(p._ignoreWhileAnimating=l),p.animateAll((function(){Y("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(l===$&&!$.animated||l===r&&!l.animated)&&(me=null),s.dragoverBubble||e.rootEl||l===document||($.parentNode[X]._isOutsideThisEl(e.target),!t&&Ne(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function H(){oe=A($),ae=A($,s.draggable),z({sortable:p,name:"change",toEl:r,newIndex:oe,newDraggableIndex:ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){g(document,"mousemove",this._onTouchMove),g(document,"touchmove",this._onTouchMove),g(document,"pointermove",this._onTouchMove),g(document,"dragover",Ne),g(document,"mousemove",Ne),g(document,"touchmove",Ne)},_offUpEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._onDrop),g(e,"touchend",this._onDrop),g(e,"pointerup",this._onDrop),g(e,"touchcancel",this._onDrop),g(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=A($),ae=A($,n.draggable),U("drop",this,{evt:e}),G=$&&$.parentNode,oe=A($),ae=A($,n.draggable),Be.eventCanceled||(we=!1,De=!1,Ee=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),He(this.cloneId),He(this._dragStartId),this.nativeDraggable&&(g(document,"drop",this),g(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),h&&C(document.body,"user-select",""),C($,"transform",""),e&&(pe&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),K&&K.parentNode&&K.parentNode.removeChild(K),(Z===G||le&&"clone"!==le.lastPutMode)&&ee&&ee.parentNode&&ee.parentNode.removeChild(ee),$&&(this.nativeDraggable&&g($,"dragend",this),Xe($),$.style["will-change"]="",pe&&!we&&D($,le?le.options.ghostClass:this.options.ghostClass,!1),D($,this.options.chosenClass,!1),z({sortable:this,name:"unchoose",toEl:G,newIndex:null,newDraggableIndex:null,originalEvent:e}),Z!==G?(oe>=0&&(z({rootEl:G,name:"add",toEl:G,fromEl:Z,originalEvent:e}),z({sortable:this,name:"remove",toEl:G,originalEvent:e}),z({rootEl:G,name:"sort",toEl:G,fromEl:Z,originalEvent:e}),z({sortable:this,name:"sort",toEl:G,originalEvent:e})),le&&le.save()):oe!==ne&&oe>=0&&(z({sortable:this,name:"update",toEl:G,originalEvent:e}),z({sortable:this,name:"sort",toEl:G,originalEvent:e})),Be.active&&(null!=oe&&-1!==oe||(oe=ne,ae=ie),z({sortable:this,name:"end",toEl:G,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){U("nulling",this),Z=$=G=K=Q=ee=J=te=se=ue=pe=oe=ae=ne=ie=me=ve=le=re=Be.dragged=Be.ghost=Be.clone=Be.active=null,_e.forEach((function(e){e.checked=!0})),_e.length=ce=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,i=n.length,a=this.options;o<i;o++)y(e=n[o],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||je(e));return t},sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var i=o.children[t];y(i,this.options.draggable,o,!1)&&(n[e]=i)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(o.removeChild(n[e]),o.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var o=H.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Ie(n)},destroy:function(){U("destroy",this);var e=this.el;e[X]=null,g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart),g(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Se.splice(Se.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!te){if(U("hideClone",this),Be.eventCanceled)return;C(ee,"display","none"),this.options.removeCloneOnHide&&ee.parentNode&&ee.parentNode.removeChild(ee),te=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(te){if(U("showClone",this),Be.eventCanceled)return;$.parentNode!=Z||this.options.group.revertClone?Q?Z.insertBefore(ee,Q):Z.appendChild(ee):Z.insertBefore(ee,$),this.options.group.revertClone&&this.animate($,ee),C(ee,"display",""),te=!1}}else this._hideClone()}},xe&&v(document,"touchmove",(function(e){(Be.active||we)&&e.cancelable&&e.preventDefault()})),Be.utils={on:v,off:g,css:C,find:_,is:function(e,t){return!!y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:N,closest:y,toggleClass:D,clone:B,index:A,nextTick:Fe,cancelNextTick:He,detectDirection:Ae,getChild:O},Be.get=function(e){return e[X]},Be.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Be.utils=o(o({},Be.utils),e.utils)),H.mount(e)}))},Be.create=function(e,t){return new Be(e,t)},Be.version="1.15.2";var We,Ue,ze,$e,Ge,Ke,Ze=[],Qe=!1;function Je(){Ze.forEach((function(e){clearInterval(e.pid)})),Ze=[]}function et(){clearInterval(Ke)}var tt=N((function(e,t,n,o){if(t.scroll){var i,a=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,u=x(),c=!1;Ue!==n&&(Ue=n,Je(),We=t.scroll,i=t.scrollFn,!0===We&&(We=M(n,!0)));var d=0,h=We;do{var f=h,p=k(f),m=p.top,v=p.bottom,g=p.left,b=p.right,w=p.width,y=p.height,S=void 0,E=void 0,D=f.scrollWidth,T=f.scrollHeight,_=C(f),V=f.scrollLeft,O=f.scrollTop;f===u?(S=w<D&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),E=y<T&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(S=w<D&&("auto"===_.overflowX||"scroll"===_.overflowX),E=y<T&&("auto"===_.overflowY||"scroll"===_.overflowY));var L=S&&(Math.abs(b-a)<=l&&V+w<D)-(Math.abs(g-a)<=l&&!!V),A=E&&(Math.abs(v-r)<=l&&O+y<T)-(Math.abs(m-r)<=l&&!!O);if(!Ze[d])for(var I=0;I<=d;I++)Ze[I]||(Ze[I]={});Ze[d].vx==L&&Ze[d].vy==A&&Ze[d].el===f||(Ze[d].el=f,Ze[d].vx=L,Ze[d].vy=A,clearInterval(Ze[d].pid),0==L&&0==A||(c=!0,Ze[d].pid=setInterval(function(){o&&0===this.layer&&Be.active._onTouchMove(Ge);var t=Ze[this.layer].vy?Ze[this.layer].vy*s:0,n=Ze[this.layer].vx?Ze[this.layer].vx*s:0;"function"==typeof i&&"continue"!==i.call(Be.dragged.parentNode[X],n,t,e,Ge,Ze[this.layer].el)||R(Ze[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==u&&(h=M(h,!1)));Qe=c}}),30),nt=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,r=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||i;r();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);l(),s&&!s.el.contains(c)&&(a("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function ot(){}function it(){}ot.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=O(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:nt},r(ot,{pluginName:"revertOnSpill"}),it.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:nt},r(it,{pluginName:"removeOnSpill"}),Be.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):(g(document,"pointermove",this._handleFallbackAutoScroll),g(document,"touchmove",this._handleFallbackAutoScroll),g(document,"mousemove",this._handleFallbackAutoScroll)),et(),Je(),clearTimeout(S),S=void 0},nulling:function(){Ge=Ue=We=Qe=Ke=ze=$e=null,Ze.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(o,i);if(Ge=e,t||this.options.forceAutoScrollFallback||c||u||h){tt(e,this.options,a,t);var r=M(a,!0);!Qe||Ke&&o===ze&&i===$e||(Ke&&et(),Ke=setInterval((function(){var a=M(document.elementFromPoint(o,i),!0);a!==r&&(r=a,Je()),tt(e,n.options,a,t)}),10),ze=o,$e=i)}else{if(!this.options.bubbleScroll||M(a,!0)===x())return void Je();tt(e,this.options,M(a,!1),!1)}}},r(e,{pluginName:"scroll",initializeByDefault:!0})}),Be.mount(it,ot);const at=["data-url","onContextmenu","onMousedown","onClick"],rt={key:0,class:"iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"},lt=e.defineComponent({name:"layoutTagsView"}),st=e.defineComponent({...lt,setup(n){const o=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./contextmenu--h_5AUJo.js"))))),i=e.ref([]),a=e.ref(),r=e.ref(),l=e.ref(),s=t.useTagsViewRoutes(),u=t.useThemeConfig(),c=t.useTagsViewRoutes(),d=t.useRoutesList(),{themeConfig:h}=t.storeToRefs(u),{tagsViewRoutes:f}=t.storeToRefs(c),{routesList:p}=t.storeToRefs(d),m=t.useKeepALiveNames(),v=t.useRoute(),g=t.useRouter(),b=e.reactive({routeActive:"",routePath:v.path,dropdown:{x:"",y:""},sortable:"",tagsRefsIndex:0,tagsViewList:[],tagsViewRoutesList:[]}),w=e.computed((()=>h.value.tagsStyle)),y=e.computed((()=>h.value)),S=e.computed((()=>e=>t.other.setTagsViewNameI18n(e))),E=e=>y.value.isShareTagsView?e.path===b.routePath:e.query&&Object.keys(e.query).length||e.params&&Object.keys(e.params).length?e.url?e.url===b.routeActive:e.path===b.routeActive:e.path===b.routePath,D=e=>{t.Session.set("tagsViewList",e)},C=e=>{var t;let n=e.query&&Object.keys(e.query).length>0?e.query:e.params;if(!n||Object.keys(n).length<=0)return e.path;let o="";for(let i in n)o+=n[i];return`${(null==(t=e.meta)?void 0:t.isDynamic)?e.meta.isDynamicPath:e.path}-${o}`},T=async(e,n)=>{var o,i;let a=(null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?n.meta.isDynamicPath:e;if(b.tagsViewList.filter((e=>{var o,i;return e.path===a&&t.isObjectValueEqual((null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?(null==n?void 0:n.params)?null==n?void 0:n.params:null:(null==n?void 0:n.query)?null==n?void 0:n.query:null)})).length<=0){let e=b.tagsViewRoutesList.find((e=>e.path===a));if(!e)return!1;if(e.meta.isAffix)return!1;if(e.meta.isLink&&!e.meta.isIframe)return!1;(null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?e.params=n.params:e.query=null==n?void 0:n.query,e.url=C(e),b.tagsViewList.push({...e}),D(b.tagsViewList)}},_=(e,n)=>{var o;let i=(null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?n.meta.isDynamicPath:e;b.tagsViewList.forEach((e=>{var o,a,r;e.path!==i||t.isObjectValueEqual((null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(a=null==n?void 0:n.meta)?void 0:a.isDynamic)?(null==n?void 0:n.params)?null==n?void 0:n.params:null:(null==n?void 0:n.query)?null==n?void 0:n.query:null)||((null==(r=null==n?void 0:n.meta)?void 0:r.isDynamic)?e.params=n.params:e.query=null==n?void 0:n.query,e.url=C(e),D(b.tagsViewList))}))},x=(t,n)=>e.nextTick().then((async()=>{var e,o,i;let a;if(null==(e=null==n?void 0:n.meta)?void 0:e.isDynamic){if(y.value.isShareTagsView?await _(t,n):await T(t,n),b.tagsViewList.some((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)})))return D(b.tagsViewList),!1;a=b.tagsViewRoutesList.find((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)}))}else{if(y.value.isShareTagsView?await _(t,n):await T(t,n),b.tagsViewList.some((e=>e.path===t)))return D(b.tagsViewList),!1;a=b.tagsViewRoutesList.find((e=>e.path===t))}return!!a&&(!((null==(o=null==a?void 0:a.meta)?void 0:o.isLink)&&!a.meta.isIframe)&&((null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?a.params=(null==n?void 0:n.params)?null==n?void 0:n.params:v.params:a.query=(null==n?void 0:n.query)?null==n?void 0:n.query:v.query,a.url=C(a),await b.tagsViewList.push({...a}),void(await D(b.tagsViewList))))})),k=t=>e.nextTick().then((async()=>{let n=await b.tagsViewList;b.tagsRefsIndex=n.findIndex((e=>y.value.isShareTagsView?e.path===t:e.url===t)),await e.nextTick().then((async()=>{var e,t;if(i.value.length<=0)return!1;let n=i.value[b.tagsRefsIndex],o=b.tagsRefsIndex,r=i.value.length,l=i.value[0],s=i.value[i.value.length-1],u=null==(t=null==(e=a.value)?void 0:e.$refs)?void 0:t.wrapRef,c=u.scrollWidth,d=u.offsetWidth,h=u.scrollLeft,f=i.value[b.tagsRefsIndex-1],p=i.value[b.tagsRefsIndex+1],m=0,v=0;n===l?u.scrollLeft=0:n===s?u.scrollLeft=c-d:(m=0===o?l.offsetLeft-5:(null==f?void 0:f.offsetLeft)-5,v=o===r?s.offsetLeft+s.offsetWidth+5:p.offsetLeft+p.offsetWidth+5,v>h+d?u.scrollLeft=v-d:m<h&&(u.scrollLeft=m)),a.value.update()}))})),V=async()=>{b.routeActive=await C(v),b.routePath=await v.meta.isDynamic?v.meta.isDynamicPath:v.path,b.tagsViewList=[],b.tagsViewRoutesList=f.value,await(async()=>{t.Session.get("tagsViewList")&&y.value.isCacheTagsView?b.tagsViewList=t.Session.get("tagsViewList"):(await b.tagsViewRoutesList.map((e=>{var t;"/home"===e.path&&(e.meta.isAffix=!0),(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),await x(v.path,v)),await k(y.value.isShareTagsView?b.routePath:b.routeActive)})()},O=e=>{var t,n;let o=e.query&&Object.keys(e.query).length>0?e.query:e.params;if(!o)return"";let i="";for(let[a,r]of Object.entries(o))(null==(t=e.meta)?void 0:t.isDynamic)?i+=`/${r}`:i+=`&${a}=${r}`;return(null==(n=e.meta)?void 0:n.isDynamic)?e.isFnClick?decodeURI(e.path):`${e.path.split(":")[0]}${i.replace(/^\//,"")}`:`${e.path}${i.replace(/^&/,"?")}`},L=async e=>{const n=decodeURI(e);let o={};if(b.tagsViewList.forEach((e=>{e.transUrl=O(e),e.transUrl?e.transUrl===O(e)&&(o=e):e.path===n&&(o=e)})),!o)return!1;await m.delCachedView(o),t.mittBus.emit("onTagsViewRefreshRouterView",e)},A=e=>{b.tagsViewList.map(((t,n,o)=>{var i;(null==(i=t.meta)?void 0:i.isAffix)||(y.value.isShareTagsView?t.path===e:t.url===e)&&(m.delCachedView(t),b.tagsViewList.splice(n,1),setTimeout((()=>{(b.tagsViewList.length===n&&y.value.isShareTagsView?b.routePath===e:b.routeActive===e)?o[o.length-1].meta.isDynamic?n!==o.length?g.push({name:o[n].name,params:o[n].params}):g.push({name:o[o.length-1].name,params:o[o.length-1].params}):n!==o.length?g.push({path:o[n].path,query:o[n].query}):g.push({path:o[o.length-1].path,query:o[o.length-1].query}):(b.tagsViewList.length!==n&&y.value.isShareTagsView?b.routePath===e:b.routeActive===e)&&(o[n].meta.isDynamic?g.push({name:o[n].name,params:o[n].params}):g.push({path:o[n].path,query:o[n].query}))}),0))})),D(b.tagsViewList)},I=e=>{let t={};return b.tagsViewList.forEach((n=>{n.transUrl=O(n),n.transUrl?n.transUrl===O(n)&&n.transUrl===e.commonUrl&&(t=n):n.path===decodeURI(e.path)&&(t=n)})),t||null},M=async e=>{if(e.commonUrl=O(e),!I(e))return t.ElMessage({type:"warning",message:"请正确输入路径及完整参数(query、params)"});const{path:n,name:o,params:i,query:a,meta:r,url:l}=I(e);switch(e.contextMenuClickId){case 0:r.isDynamic?await g.push({name:o,params:i}):await g.push({path:n,query:a}),L(v.fullPath);break;case 1:A(y.value.isShareTagsView?n:l);break;case 2:r.isDynamic?await g.push({name:o,params:i}):await g.push({path:n,query:a}),await(async e=>{const n=b.tagsViewList.find((t=>t.path===e));m.delOthersCachedViews(n),t.Session.get("tagsViewList")&&(b.tagsViewList=[],t.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),await x(e,v),D(b.tagsViewList))})(n);break;case 3:(()=>{if(t.Session.get("tagsViewList")){m.delAllCachedViews(),b.tagsViewList=[],t.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),D(b.tagsViewList);const e=t.dynamicRoutes.find((e=>"/"===e.path));e&&g.push(e.redirect)}})();break;case 4:(async e=>{const t=b.tagsViewList.find((t=>y.value.isShareTagsView?t.path===e:t.url===e));t.meta.isDynamic?await g.push({name:t.name,params:t.params}):await g.push({name:t.name,query:t.query}),s.setCurrenFullscreen(!0)})(y.value.isShareTagsView?n:l)}},P=e=>{a.value.$refs.wrapRef.scrollLeft+=e.wheelDelta/4},N=async()=>{const e=document.querySelector(".layout-navbars-tagsview-ul");if(!e)return!1;b.sortable.el&&b.sortable.destroy(),b.sortable=Be.create(e,{animation:300,dataIdAttr:"data-url",disabled:!y.value.isSortableTagsView,onEnd:()=>{const e=[];b.sortable.toArray().map((t=>{b.tagsViewList.map((n=>{n.url===t&&e.push({...n})}))})),D(e)}})},R=async()=>{await N(),t.other.isMobile()&&b.sortable.el&&b.sortable.destroy()};return e.onBeforeMount((()=>{R(),window.addEventListener("resize",R),t.mittBus.on("onCurrentContextmenuClick",(e=>{e.isFnClick=!0,M(e)})),t.mittBus.on("openOrCloseSortable",(async()=>{await N()})),t.mittBus.on("openShareTagsView",(()=>{y.value.isShareTagsView&&(g.push("/"),b.tagsViewList=[],b.tagsViewRoutesList.map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})))}))})),e.onUnmounted((()=>{t.mittBus.off("onCurrentContextmenuClick",(()=>{})),t.mittBus.off("openOrCloseSortable",(()=>{})),t.mittBus.off("openShareTagsView",(()=>{})),window.removeEventListener("resize",R)})),e.onBeforeUpdate((()=>{i.value=[]})),e.onMounted((async()=>{await V(),await N()})),t.onBeforeRouteUpdate((async e=>{b.routeActive=C(e),b.routePath=e.meta.isDynamic?e.meta.isDynamicPath:e.path,await x(e.path,e),k(y.value.isShareTagsView?b.routePath:b.routeActive)})),e.watch((()=>f.value),(async e=>{if(e.length===b.tagsViewRoutesList.length)return!1;await V()}),{deep:!0}),(t,n)=>{const s=e.resolveComponent("SvgIcon"),u=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layout-navbars-tagsview",{"layout-navbars-tagsview-shadow":"classic"===y.value.layout}])},[e.createVNode(u,{ref_key:"scrollbarRef",ref:a,onWheel:e.withModifiers(P,["prevent"])},{default:e.withCtx((()=>[e.createElementVNode("ul",{class:e.normalizeClass(["layout-navbars-tagsview-ul",w.value]),ref_key:"tagsUlRef",ref:l},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.tagsViewList,((o,a)=>(e.openBlock(),e.createElementBlock("li",{key:a,class:e.normalizeClass(["layout-navbars-tagsview-ul-li",{"is-active":E(o)}]),"data-url":o.url,onContextmenu:e.withModifiers((e=>((e,t)=>{const{clientX:n,clientY:o}=t;b.dropdown.x=n,b.dropdown.y=o,r.value.openContextmenu(e)})(o,e)),["prevent"]),onMousedown:e=>((e,t)=>{var n;if(!(null==(n=e.meta)?void 0:n.isAffix)&&1===t.button){const t=Object.assign({},{contextMenuClickId:1,...e});M(t)}})(o,e),onClick:e=>((e,t)=>{b.tagsRefsIndex=t,g.push(e),"columns"===y.value.layout&&(p.value.find((t=>t.path.indexOf(`/${e.path.split("/")[1]}`)>-1)).children?y.value.isCollapse=!1:y.value.isCollapse=!0)})(o,a),ref_for:!0,ref:e=>{e&&(i.value[a]=e)}},[E(o)?(e.openBlock(),e.createElementBlock("i",rt)):e.createCommentVNode("",!0),!E(o)&&y.value.isTagsviewIcon?(e.openBlock(),e.createBlock(s,{key:1,name:o.meta.icon,class:"pr5"},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(S.value(o)),1),E(o)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(s,{name:"ele-RefreshRight",class:"ml5 layout-navbars-tagsview-ul-li-refresh",onClick:n[0]||(n[0]=e.withModifiers((e=>L(t.$route.fullPath)),["stop"]))}),o.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:0,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-active",onClick:e.withModifiers((e=>A(y.value.isShareTagsView?o.path:o.url)),["stop"])},null,8,["onClick"]))],64)):e.createCommentVNode("",!0),o.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:3,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-three",onClick:e.withModifiers((e=>A(y.value.isShareTagsView?o.path:o.url)),["stop"])},null,8,["onClick"]))],42,at)))),128))],2)])),_:1},512),e.createVNode(e.unref(o),{dropdown:b.dropdown,ref_key:"contextmenuRef",ref:r,onCurrentContextmenuClick:M},null,8,["dropdown"])],2)}}}),ut=t._export_sfc(st,[["__scopeId","data-v-97b76a44"]]);exports.default=ut;
|
8
|
+
function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function o(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?n(Object(o),!0).forEach((function(t){a(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var u=s(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),c=s(/Edge/i),d=s(/firefox/i),h=s(/safari/i)&&!s(/chrome/i)&&!s(/android/i),f=s(/iP(ad|od|hone)/i),p=s(/chrome/i)&&s(/android/i),m={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!u&&m)}function g(e,t,n){e.removeEventListener(t,n,!u&&m)}function b(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(n){return!1}return!1}}function w(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function y(e,t,n,o){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&b(e,t):b(e,t))||o&&e===n)return e;if(e===n)break}while(e=w(e))}return null}var S,E=/\s+/g;function D(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(E," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(E," ")}}function C(e,t,n){var o=e&&e.style;if(o){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in o||-1!==t.indexOf("webkit")||(t="-webkit-"+t),o[t]=n+("string"==typeof n?"":"px")}}function T(e,t){var n="";if("string"==typeof e)n=e;else do{var o=C(e,"transform");o&&"none"!==o&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function _(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,a=o.length;if(n)for(;i<a;i++)n(o[i],i);return o}return[]}function x(){var e=document.scrollingElement;return e||document.documentElement}function k(e,t,n,o,i){if(e.getBoundingClientRect||e===window){var a,r,l,s,c,d,h;if(e!==window&&e.parentNode&&e!==x()?(r=(a=e.getBoundingClientRect()).top,l=a.left,s=a.bottom,c=a.right,d=a.height,h=a.width):(r=0,l=0,s=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!u))do{if(i&&i.getBoundingClientRect&&("none"!==C(i,"transform")||n&&"static"!==C(i,"position"))){var f=i.getBoundingClientRect();r-=f.top+parseInt(C(i,"border-top-width")),l-=f.left+parseInt(C(i,"border-left-width")),s=r+a.height,c=l+a.width;break}}while(i=i.parentNode);if(o&&e!==window){var p=T(i||e),m=p&&p.a,v=p&&p.d;p&&(s=(r/=v)+(d/=v),c=(l/=m)+(h/=m))}return{top:r,left:l,bottom:s,right:c,width:h,height:d}}}function V(e,t,n){for(var o=M(e,!0),i=k(e)[t];o;){var a=k(o)[n];if(!("top"===n||"left"===n?i>=a:i<=a))return o;if(o===x())break;o=M(o,!1)}return!1}function O(e,t,n,o){for(var i=0,a=0,r=e.children;a<r.length;){if("none"!==r[a].style.display&&r[a]!==Be.ghost&&(o||r[a]!==Be.dragged)&&y(r[a],n.draggable,e,!1)){if(i===t)return r[a];i++}a++}return null}function L(e,t){for(var n=e.lastElementChild;n&&(n===Be.ghost||"none"===C(n,"display")||t&&!b(n,t));)n=n.previousElementSibling;return n||null}function A(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Be.clone||t&&!b(e,t)||n++;return n}function I(e){var t=0,n=0,o=x();if(e)do{var i=T(e),a=i.a,r=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*r}while(e!==o&&(e=e.parentNode));return[t,n]}function M(e,t){if(!e||!e.getBoundingClientRect)return x();var n=e,o=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=C(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return x();if(o||t)return n;o=!0}}}while(n=n.parentNode);return x()}function P(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function N(e,t){return function(){if(!S){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),S=setTimeout((function(){S=void 0}),t)}}}function R(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function B(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function q(e,t,n){var o={};return Array.from(e.children).forEach((function(i){var a,r,l,s;if(y(i,t.draggable,e,!1)&&!i.animated&&i!==n){var u=k(i);o.left=Math.min(null!==(a=o.left)&&void 0!==a?a:1/0,u.left),o.top=Math.min(null!==(r=o.top)&&void 0!==r?r:1/0,u.top),o.right=Math.max(null!==(l=o.right)&&void 0!==l?l:-1/0,u.right),o.bottom=Math.max(null!==(s=o.bottom)&&void 0!==s?s:-1/0,u.bottom)}})),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var X="Sortable"+(new Date).getTime();function Y(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==C(e,"display")&&e!==Be.ghost){t.push({target:e,rect:k(e)});var n=o({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=T(e,!0);i&&(n.top-=i.f,n.left-=i.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var o=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var i=!1,a=0;t.forEach((function(e){var t=0,n=e.target,r=n.fromRect,l=k(n),s=n.prevFromRect,u=n.prevToRect,c=e.rect,d=T(n,!0);d&&(l.top-=d.f,l.left-=d.e),n.toRect=l,n.thisAnimationDuration&&P(s,l)&&!P(r,l)&&(c.top-l.top)/(c.left-l.left)==(r.top-l.top)/(r.left-l.left)&&(t=function(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}(c,s,u,o.options)),P(l,r)||(n.prevFromRect=r,n.prevToRect=l,t||(t=o.options.animation),o.animate(n,c,l,t)),t&&(i=!0,a=Math.max(a,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),i?e=setTimeout((function(){"function"==typeof n&&n()}),a):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,o){if(o){C(e,"transition",""),C(e,"transform","");var i=T(this.el),a=i&&i.a,r=i&&i.d,l=(t.left-n.left)/(a||1),s=(t.top-n.top)/(r||1);e.animatingX=!!l,e.animatingY=!!s,C(e,"transform","translate3d("+l+"px,"+s+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),C(e,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),C(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){C(e,"transition",""),C(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),o)}}}}var j=[],F={initializeByDefault:!0},H={mount:function(e){for(var t in F)F.hasOwnProperty(t)&&!(t in e)&&(e[t]=F[t]);j.forEach((function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")})),j.push(e)},pluginEvent:function(e,t,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var a=e+"Global";j.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][a]&&t[i.pluginName][a](o({sortable:t},n)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](o({sortable:t},n)))}))},initializePlugins:function(e,t,n,o){for(var i in j.forEach((function(o){var i=o.pluginName;if(e.options[i]||o.initializeByDefault){var a=new o(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,r(n,a.defaults)}})),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);void 0!==a&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return j.forEach((function(o){"function"==typeof o.eventProperties&&r(n,o.eventProperties.call(t[o.pluginName],e))})),n},modifyOption:function(e,t,n){var o;return j.forEach((function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(o=i.optionListeners[t].call(e[i.pluginName],n))})),o}};var W=["evt"],U=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,a=l(n,W);H.pluginEvent.bind(Be)(e,t,o({dragEl:$,parentEl:G,ghostEl:K,rootEl:Z,nextEl:Q,lastDownEl:J,cloneEl:ee,cloneHidden:te,dragStarted:pe,putSortable:le,activeSortable:Be.active,originalEvent:i,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:ae,hideGhostForTarget:Me,unhideGhostForTarget:Pe,cloneNowHidden:function(){te=!0},cloneNowShown:function(){te=!1},dispatchSortableEvent:function(e){z({sortable:t,name:e,originalEvent:i})}},a))};function z(e){!function(e){var t=e.sortable,n=e.rootEl,i=e.name,a=e.targetEl,r=e.cloneEl,l=e.toEl,s=e.fromEl,d=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,v=e.putSortable,g=e.extraEventProperties;if(t=t||n&&n[X]){var b,w=t.options,y="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||u||c?(b=document.createEvent("Event")).initEvent(i,!0,!0):b=new CustomEvent(i,{bubbles:!0,cancelable:!0}),b.to=l||n,b.from=s||n,b.item=a||n,b.clone=r,b.oldIndex=d,b.newIndex=h,b.oldDraggableIndex=f,b.newDraggableIndex=p,b.originalEvent=m,b.pullMode=v?v.lastPutMode:void 0;var S=o(o({},g),H.getEventProperties(i,t));for(var E in S)b[E]=S[E];n&&n.dispatchEvent(b),w[y]&&w[y].call(t,b)}}(o({putSortable:le,cloneEl:ee,targetEl:$,rootEl:Z,oldIndex:ne,oldDraggableIndex:ie,newIndex:oe,newDraggableIndex:ae},e))}var $,G,K,Z,Q,J,ee,te,ne,oe,ie,ae,re,le,se,ue,ce,de,he,fe,pe,me,ve,ge,be,we=!1,ye=!1,Se=[],Ee=!1,De=!1,Ce=[],Te=!1,_e=[],xe="undefined"!=typeof document,ke=f,Ve=c||u?"cssFloat":"float",Oe=xe&&!p&&!f&&"draggable"in document.createElement("div"),Le=function(){if(xe){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ae=function(e,t){var n=C(e),o=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=O(e,0,t),a=O(e,1,t),r=i&&C(i),l=a&&C(a),s=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+k(i).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+k(a).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&r.float&&"none"!==r.float){var c="left"===r.float?"left":"right";return!a||"both"!==l.clear&&l.clear!==c?"horizontal":"vertical"}return i&&("block"===r.display||"flex"===r.display||"table"===r.display||"grid"===r.display||s>=o&&"none"===n[Ve]||a&&"none"===n[Ve]&&s+u>o)?"vertical":"horizontal"},Ie=function(e){function t(e,n){return function(o,i,a,r){var l=o.options.group.name&&i.options.group.name&&o.options.group.name===i.options.group.name;if(null==e&&(n||l))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(o,i,a,r),n)(o,i,a,r);var s=(n?o:i).options.group.name;return!0===e||"string"==typeof e&&e===s||e.join&&e.indexOf(s)>-1}}var n={},o=e.group;o&&"object"==i(o)||(o={name:o}),n.name=o.name,n.checkPull=t(o.pull,!0),n.checkPut=t(o.put),n.revertClone=o.revertClone,e.group=n},Me=function(){!Le&&K&&C(K,"display","none")},Pe=function(){!Le&&K&&C(K,"display","")};xe&&!p&&document.addEventListener("click",(function(e){if(ye)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ye=!1,!1}),!0);var Ne=function(e){if($){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,a=e.clientY,Se.some((function(e){var t=e[X].options.emptyInsertThreshold;if(t&&!L(e)){var n=k(e),o=i>=n.left-t&&i<=n.right+t,l=a>=n.top-t&&a<=n.bottom+t;return o&&l?r=e:void 0}})),r);if(t){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]=e[o]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[X]._onDragOver(n)}}var i,a,r},Re=function(e){$&&$.parentNode[X]._isOutsideThisEl(e.target)};function Be(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=r({},t),e[X]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ae(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Be.supportPointer&&"PointerEvent"in window&&!h,emptyInsertThreshold:5};for(var o in H.initializePlugins(this,e,n),n)!(o in t)&&(t[o]=n[o]);for(var i in Ie(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Oe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Se.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),r(this,Y())}function qe(e,t,n,o,i,a,r,l){var s,d,h=e[X],f=h.options.onMove;return!window.CustomEvent||u||c?(s=document.createEvent("Event")).initEvent("move",!0,!0):s=new CustomEvent("move",{bubbles:!0,cancelable:!0}),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=a||k(t),s.willInsertAfter=l,s.originalEvent=r,e.dispatchEvent(s),f&&(d=f.call(h,s,r)),d}function Xe(e){e.draggable=!1}function Ye(){Te=!1}function je(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function Fe(e){return setTimeout(e,0)}function He(e){return clearTimeout(e)}Be.prototype={constructor:Be,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(me=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,$):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,o=this.options,i=o.preventOnFilter,a=e.type,r=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,l=(r||e).target,s=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,u=o.filter;if(function(e){_e.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var o=t[n];o.checked&&_e.push(o)}}(n),!$&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||o.disabled)&&!s.isContentEditable&&(this.nativeDraggable||!h||!l||"SELECT"!==l.tagName.toUpperCase())&&!((l=y(l,o.draggable,n,!1))&&l.animated||J===l)){if(ne=A(l),ie=A(l,o.draggable),"function"==typeof u){if(u.call(this,e,l,this))return z({sortable:t,rootEl:s,name:"filter",targetEl:l,toEl:n,fromEl:n}),U("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(u&&(u=u.split(",").some((function(o){if(o=y(s,o.trim(),n,!1))return z({sortable:t,rootEl:o,name:"filter",targetEl:l,fromEl:n,toEl:n}),U("filter",t,{evt:e}),!0}))))return void(i&&e.cancelable&&e.preventDefault());o.handle&&!y(s,o.handle,n,!1)||this._prepareDragStart(e,r,l)}}},_prepareDragStart:function(e,t,n){var o,i=this,a=i.el,r=i.options,l=a.ownerDocument;if(n&&!$&&n.parentNode===a){var s=k(n);if(Z=a,G=($=n).parentNode,Q=$.nextSibling,J=n,re=r.group,Be.dragged=$,se={target:$,clientX:(t||e).clientX,clientY:(t||e).clientY},he=se.clientX-s.left,fe=se.clientY-s.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,$.style["will-change"]="all",o=function(){U("delayEnded",i,{evt:e}),Be.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!d&&i.nativeDraggable&&($.draggable=!0),i._triggerDragStart(e,t),z({sortable:i,name:"choose",originalEvent:e}),D($,r.chosenClass,!0))},r.ignore.split(",").forEach((function(e){_($,e.trim(),Xe)})),v(l,"dragover",Ne),v(l,"mousemove",Ne),v(l,"touchmove",Ne),v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop),d&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),U("delayStart",this,{evt:e}),!r.delay||r.delayOnTouchOnly&&!t||this.nativeDraggable&&(c||u))o();else{if(Be.eventCanceled)return void this._onDrop();v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),r.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(o,r.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&Xe($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._disableDelayedDrag),g(e,"touchend",this._disableDelayedDrag),g(e,"touchcancel",this._disableDelayedDrag),g(e,"mousemove",this._delayedDragTouchMoveHandler),g(e,"touchmove",this._delayedDragTouchMoveHandler),g(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v($,"dragend",this),v(Z,"dragstart",this._onDragStart));try{document.selection?Fe((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(n){}},_dragStarted:function(e,t){if(we=!1,Z&&$){U("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",Re);var n=this.options;!e&&D($,n.dragClass,!1),D($,n.ghostClass,!0),Be.active=this,e&&this._appendGhost(),z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ue){this._lastX=ue.clientX,this._lastY=ue.clientY,Me();for(var e=document.elementFromPoint(ue.clientX,ue.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ue.clientX,ue.clientY))!==t;)t=e;if($.parentNode[X]._isOutsideThisEl(e),t)do{if(t[X]){if(t[X]._onDragOver({clientX:ue.clientX,clientY:ue.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Pe()}},_onTouchMove:function(e){if(se){var t=this.options,n=t.fallbackTolerance,o=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=K&&T(K,!0),r=K&&a&&a.a,l=K&&a&&a.d,s=ke&&be&&I(be),u=(i.clientX-se.clientX+o.x)/(r||1)+(s?s[0]-Ce[0]:0)/(r||1),c=(i.clientY-se.clientY+o.y)/(l||1)+(s?s[1]-Ce[1]:0)/(l||1);if(!Be.active&&!we){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(K){a?(a.e+=u-(ce||0),a.f+=c-(de||0)):a={a:1,b:0,c:0,d:1,e:u,f:c};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");C(K,"webkitTransform",d),C(K,"mozTransform",d),C(K,"msTransform",d),C(K,"transform",d),ce=u,de=c,ue=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!K){var e=this.options.fallbackOnBody?document.body:Z,t=k($,!0,ke,!0,e),n=this.options;if(ke){for(be=e;"static"===C(be,"position")&&"none"===C(be,"transform")&&be!==document;)be=be.parentNode;be!==document.body&&be!==document.documentElement?(be===document&&(be=x()),t.top+=be.scrollTop,t.left+=be.scrollLeft):be=x(),Ce=I(be)}D(K=$.cloneNode(!0),n.ghostClass,!1),D(K,n.fallbackClass,!0),D(K,n.dragClass,!0),C(K,"transition",""),C(K,"transform",""),C(K,"box-sizing","border-box"),C(K,"margin",0),C(K,"top",t.top),C(K,"left",t.left),C(K,"width",t.width),C(K,"height",t.height),C(K,"opacity","0.8"),C(K,"position",ke?"absolute":"fixed"),C(K,"zIndex","100000"),C(K,"pointerEvents","none"),Be.ghost=K,e.appendChild(K),C(K,"transform-origin",he/parseInt(K.style.width)*100+"% "+fe/parseInt(K.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,o=e.dataTransfer,i=n.options;U("dragStart",this,{evt:e}),Be.eventCanceled?this._onDrop():(U("setupClone",this),Be.eventCanceled||((ee=B($)).removeAttribute("id"),ee.draggable=!1,ee.style["will-change"]="",this._hideClone(),D(ee,this.options.chosenClass,!1),Be.clone=ee),n.cloneId=Fe((function(){U("clone",n),Be.eventCanceled||(n.options.removeCloneOnHide||Z.insertBefore(ee,$),n._hideClone(),z({sortable:n,name:"clone"}))})),!t&&D($,i.dragClass,!0),t?(ye=!0,n._loopId=setInterval(n._emulateDragOver,50)):(g(document,"mouseup",n._onDrop),g(document,"touchend",n._onDrop),g(document,"touchcancel",n._onDrop),o&&(o.effectAllowed="move",i.setData&&i.setData.call(n,o,$)),v(document,"drop",n),C($,"transform","translateZ(0)")),we=!0,n._dragStartId=Fe(n._dragStarted.bind(n,t,e)),v(document,"selectstart",n),pe=!0,h&&C(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,i,a,r=this.el,l=e.target,s=this.options,u=s.group,c=Be.active,d=re===u,h=s.sort,f=le||c,p=this,m=!1;if(!Te){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),l=y(l,s.draggable,r,!0),Y("dragOver"),Be.eventCanceled)return m;if($.contains(e.target)||l.animated&&l.animatingX&&l.animatingY||p._ignoreWhileAnimating===l)return F(!1);if(ye=!1,c&&!s.disabled&&(d?h||(i=G!==Z):le===this||(this.lastPutMode=re.checkPull(this,c,$,e))&&u.checkPut(this,c,$,e))){if(a="vertical"===this._getDirection(e,l),t=k($),Y("dragOverValid"),Be.eventCanceled)return m;if(i)return G=Z,j(),this._hideClone(),Y("revert"),Be.eventCanceled||(Q?Z.insertBefore($,Q):Z.appendChild($)),F(!0);var v=L(r,s.draggable);if(!v||function(e,t,n){var o=k(L(n.el,n.options.draggable)),i=q(n.el,n.options,K),a=10;return t?e.clientX>i.right+a||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+a||e.clientX>o.right&&e.clientY>o.top}(e,a,this)&&!v.animated){if(v===$)return F(!1);if(v&&r===e.target&&(l=v),l&&(n=k(l)),!1!==qe(Z,r,$,t,l,n,e,!!l))return j(),v&&v.nextSibling?r.insertBefore($,v.nextSibling):r.appendChild($),G=r,H(),F(!0)}else if(v&&function(e,t,n){var o=k(O(n.el,0,n.options,!0)),i=q(n.el,n.options,K),a=10;return t?e.clientX<i.left-a||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-a||e.clientY<o.bottom&&e.clientX<o.left}(e,a,this)){var g=O(r,0,s,!0);if(g===$)return F(!1);if(n=k(l=g),!1!==qe(Z,r,$,t,l,n,e,!1))return j(),r.insertBefore($,g),G=r,H(),F(!0)}else if(l.parentNode===r){n=k(l);var b,w,S,E=$.parentNode!==r,T=!function(e,t,n){var o=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,r=n?t.left:t.top,l=n?t.right:t.bottom,s=n?t.width:t.height;return o===r||i===l||o+a/2===r+s/2}($.animated&&$.toRect||t,l.animated&&l.toRect||n,a),_=a?"top":"left",x=V(l,"top","top")||V($,"top","top"),I=x?x.scrollTop:void 0;if(me!==l&&(w=n[_],Ee=!1,De=!T&&s.invertSwap||E),b=function(e,t,n,o,i,a,r,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,c=o?n.top:n.left,d=o?n.bottom:n.right,h=!1;if(!r)if(l&&ge<u*i){if(!Ee&&(1===ve?s>c+u*a/2:s<d-u*a/2)&&(Ee=!0),Ee)h=!0;else if(1===ve?s<c+ge:s>d-ge)return-ve}else if(s>c+u*(1-i)/2&&s<d-u*(1-i)/2)return function(e){return A($)<A(e)?1:-1}(t);if((h=h||r)&&(s<c+u*a/2||s>d-u*a/2))return s>c+u/2?1:-1;return 0}(e,l,n,a,T?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,De,me===l),0!==b){var M=A($);do{M-=b,S=G.children[M]}while(S&&("none"===C(S,"display")||S===K))}if(0===b||S===l)return F(!1);me=l,ve=b;var P=l.nextElementSibling,N=!1,B=qe(Z,r,$,t,l,n,e,N=1===b);if(!1!==B)return 1!==B&&-1!==B||(N=1===B),Te=!0,setTimeout(Ye,30),j(),N&&!P?r.appendChild($):l.parentNode.insertBefore($,N?P:l),x&&R(x,0,I-x.scrollTop),G=$.parentNode,void 0===w||De||(ge=Math.abs(w-k(l)[_])),H(),F(!0)}if(r.contains($))return F(!1)}return!1}function Y(s,u){U(s,p,o({evt:e,isOwner:d,axis:a?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:l,completed:F,onMove:function(n,o){return qe(Z,r,$,t,n,k(n),e,o)},changed:H},u))}function j(){Y("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function F(t){return Y("dragOverCompleted",{insertion:t}),t&&(d?c._hideClone():c._showClone(p),p!==f&&(D($,le?le.options.ghostClass:c.options.ghostClass,!1),D($,s.ghostClass,!0)),le!==p&&p!==Be.active?le=p:p===Be.active&&le&&(le=null),f===p&&(p._ignoreWhileAnimating=l),p.animateAll((function(){Y("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(l===$&&!$.animated||l===r&&!l.animated)&&(me=null),s.dragoverBubble||e.rootEl||l===document||($.parentNode[X]._isOutsideThisEl(e.target),!t&&Ne(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function H(){oe=A($),ae=A($,s.draggable),z({sortable:p,name:"change",toEl:r,newIndex:oe,newDraggableIndex:ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){g(document,"mousemove",this._onTouchMove),g(document,"touchmove",this._onTouchMove),g(document,"pointermove",this._onTouchMove),g(document,"dragover",Ne),g(document,"mousemove",Ne),g(document,"touchmove",Ne)},_offUpEvents:function(){var e=this.el.ownerDocument;g(e,"mouseup",this._onDrop),g(e,"touchend",this._onDrop),g(e,"pointerup",this._onDrop),g(e,"touchcancel",this._onDrop),g(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=A($),ae=A($,n.draggable),U("drop",this,{evt:e}),G=$&&$.parentNode,oe=A($),ae=A($,n.draggable),Be.eventCanceled||(we=!1,De=!1,Ee=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),He(this.cloneId),He(this._dragStartId),this.nativeDraggable&&(g(document,"drop",this),g(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),h&&C(document.body,"user-select",""),C($,"transform",""),e&&(pe&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),K&&K.parentNode&&K.parentNode.removeChild(K),(Z===G||le&&"clone"!==le.lastPutMode)&&ee&&ee.parentNode&&ee.parentNode.removeChild(ee),$&&(this.nativeDraggable&&g($,"dragend",this),Xe($),$.style["will-change"]="",pe&&!we&&D($,le?le.options.ghostClass:this.options.ghostClass,!1),D($,this.options.chosenClass,!1),z({sortable:this,name:"unchoose",toEl:G,newIndex:null,newDraggableIndex:null,originalEvent:e}),Z!==G?(oe>=0&&(z({rootEl:G,name:"add",toEl:G,fromEl:Z,originalEvent:e}),z({sortable:this,name:"remove",toEl:G,originalEvent:e}),z({rootEl:G,name:"sort",toEl:G,fromEl:Z,originalEvent:e}),z({sortable:this,name:"sort",toEl:G,originalEvent:e})),le&&le.save()):oe!==ne&&oe>=0&&(z({sortable:this,name:"update",toEl:G,originalEvent:e}),z({sortable:this,name:"sort",toEl:G,originalEvent:e})),Be.active&&(null!=oe&&-1!==oe||(oe=ne,ae=ie),z({sortable:this,name:"end",toEl:G,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){U("nulling",this),Z=$=G=K=Q=ee=J=te=se=ue=pe=oe=ae=ne=ie=me=ve=le=re=Be.dragged=Be.ghost=Be.clone=Be.active=null,_e.forEach((function(e){e.checked=!0})),_e.length=ce=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":$&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,o=0,i=n.length,a=this.options;o<i;o++)y(e=n[o],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||je(e));return t},sort:function(e,t){var n={},o=this.el;this.toArray().forEach((function(e,t){var i=o.children[t];y(i,this.options.draggable,o,!1)&&(n[e]=i)}),this),t&&this.captureAnimationState(),e.forEach((function(e){n[e]&&(o.removeChild(n[e]),o.appendChild(n[e]))})),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var o=H.modifyOption(this,e,t);n[e]=void 0!==o?o:t,"group"===e&&Ie(n)},destroy:function(){U("destroy",this);var e=this.el;e[X]=null,g(e,"mousedown",this._onTapStart),g(e,"touchstart",this._onTapStart),g(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(g(e,"dragover",this),g(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),Se.splice(Se.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!te){if(U("hideClone",this),Be.eventCanceled)return;C(ee,"display","none"),this.options.removeCloneOnHide&&ee.parentNode&&ee.parentNode.removeChild(ee),te=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(te){if(U("showClone",this),Be.eventCanceled)return;$.parentNode!=Z||this.options.group.revertClone?Q?Z.insertBefore(ee,Q):Z.appendChild(ee):Z.insertBefore(ee,$),this.options.group.revertClone&&this.animate($,ee),C(ee,"display",""),te=!1}}else this._hideClone()}},xe&&v(document,"touchmove",(function(e){(Be.active||we)&&e.cancelable&&e.preventDefault()})),Be.utils={on:v,off:g,css:C,find:_,is:function(e,t){return!!y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:N,closest:y,toggleClass:D,clone:B,index:A,nextTick:Fe,cancelNextTick:He,detectDirection:Ae,getChild:O},Be.get=function(e){return e[X]},Be.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Be.utils=o(o({},Be.utils),e.utils)),H.mount(e)}))},Be.create=function(e,t){return new Be(e,t)},Be.version="1.15.2";var We,Ue,ze,$e,Ge,Ke,Ze=[],Qe=!1;function Je(){Ze.forEach((function(e){clearInterval(e.pid)})),Ze=[]}function et(){clearInterval(Ke)}var tt=N((function(e,t,n,o){if(t.scroll){var i,a=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,l=t.scrollSensitivity,s=t.scrollSpeed,u=x(),c=!1;Ue!==n&&(Ue=n,Je(),We=t.scroll,i=t.scrollFn,!0===We&&(We=M(n,!0)));var d=0,h=We;do{var f=h,p=k(f),m=p.top,v=p.bottom,g=p.left,b=p.right,w=p.width,y=p.height,S=void 0,E=void 0,D=f.scrollWidth,T=f.scrollHeight,_=C(f),V=f.scrollLeft,O=f.scrollTop;f===u?(S=w<D&&("auto"===_.overflowX||"scroll"===_.overflowX||"visible"===_.overflowX),E=y<T&&("auto"===_.overflowY||"scroll"===_.overflowY||"visible"===_.overflowY)):(S=w<D&&("auto"===_.overflowX||"scroll"===_.overflowX),E=y<T&&("auto"===_.overflowY||"scroll"===_.overflowY));var L=S&&(Math.abs(b-a)<=l&&V+w<D)-(Math.abs(g-a)<=l&&!!V),A=E&&(Math.abs(v-r)<=l&&O+y<T)-(Math.abs(m-r)<=l&&!!O);if(!Ze[d])for(var I=0;I<=d;I++)Ze[I]||(Ze[I]={});Ze[d].vx==L&&Ze[d].vy==A&&Ze[d].el===f||(Ze[d].el=f,Ze[d].vx=L,Ze[d].vy=A,clearInterval(Ze[d].pid),0==L&&0==A||(c=!0,Ze[d].pid=setInterval(function(){o&&0===this.layer&&Be.active._onTouchMove(Ge);var t=Ze[this.layer].vy?Ze[this.layer].vy*s:0,n=Ze[this.layer].vx?Ze[this.layer].vx*s:0;"function"==typeof i&&"continue"!==i.call(Be.dragged.parentNode[X],n,t,e,Ge,Ze[this.layer].el)||R(Ze[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==u&&(h=M(h,!1)));Qe=c}}),30),nt=function(e){var t=e.originalEvent,n=e.putSortable,o=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,r=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var s=n||i;r();var u=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(u.clientX,u.clientY);l(),s&&!s.el.contains(c)&&(a("spill"),this.onSpill({dragEl:o,putSortable:n}))}};function ot(){}function it(){}ot.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var o=O(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:nt},r(ot,{pluginName:"revertOnSpill"}),it.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:nt},r(it,{pluginName:"removeOnSpill"}),Be.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?g(document,"dragover",this._handleAutoScroll):(g(document,"pointermove",this._handleFallbackAutoScroll),g(document,"touchmove",this._handleFallbackAutoScroll),g(document,"mousemove",this._handleFallbackAutoScroll)),et(),Je(),clearTimeout(S),S=void 0},nulling:function(){Ge=Ue=We=Qe=Ke=ze=$e=null,Ze.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,o=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(o,i);if(Ge=e,t||this.options.forceAutoScrollFallback||c||u||h){tt(e,this.options,a,t);var r=M(a,!0);!Qe||Ke&&o===ze&&i===$e||(Ke&&et(),Ke=setInterval((function(){var a=M(document.elementFromPoint(o,i),!0);a!==r&&(r=a,Je()),tt(e,n.options,a,t)}),10),ze=o,$e=i)}else{if(!this.options.bubbleScroll||M(a,!0)===x())return void Je();tt(e,this.options,M(a,!1),!1)}}},r(e,{pluginName:"scroll",initializeByDefault:!0})}),Be.mount(it,ot);const at=["data-url","onContextmenu","onMousedown","onClick"],rt={key:0,class:"iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont"},lt=e.defineComponent({name:"layoutTagsView"}),st=e.defineComponent({...lt,setup(n){const o=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./contextmenu-Cvck6WPN.js"))))),i=e.ref([]),a=e.ref(),r=e.ref(),l=e.ref(),s=t.useTagsViewRoutes(),u=t.useThemeConfig(),c=t.useTagsViewRoutes(),d=t.useRoutesList(),{themeConfig:h}=t.storeToRefs(u),{tagsViewRoutes:f}=t.storeToRefs(c),{routesList:p}=t.storeToRefs(d),m=t.useKeepALiveNames(),v=t.useRoute(),g=t.useRouter(),b=e.reactive({routeActive:"",routePath:v.path,dropdown:{x:"",y:""},sortable:"",tagsRefsIndex:0,tagsViewList:[],tagsViewRoutesList:[]}),w=e.computed((()=>h.value.tagsStyle)),y=e.computed((()=>h.value)),S=e.computed((()=>e=>t.other.setTagsViewNameI18n(e))),E=e=>y.value.isShareTagsView?e.path===b.routePath:e.query&&Object.keys(e.query).length||e.params&&Object.keys(e.params).length?e.url?e.url===b.routeActive:e.path===b.routeActive:e.path===b.routePath,D=e=>{t.Session.set("tagsViewList",e)},C=e=>{var t;let n=e.query&&Object.keys(e.query).length>0?e.query:e.params;if(!n||Object.keys(n).length<=0)return e.path;let o="";for(let i in n)o+=n[i];return`${(null==(t=e.meta)?void 0:t.isDynamic)?e.meta.isDynamicPath:e.path}-${o}`},T=async(e,n)=>{var o,i;let a=(null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?n.meta.isDynamicPath:e;if(b.tagsViewList.filter((e=>{var o,i;return e.path===a&&t.isObjectValueEqual((null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?(null==n?void 0:n.params)?null==n?void 0:n.params:null:(null==n?void 0:n.query)?null==n?void 0:n.query:null)})).length<=0){let e=b.tagsViewRoutesList.find((e=>e.path===a));if(!e)return!1;if(e.meta.isAffix)return!1;if(e.meta.isLink&&!e.meta.isIframe)return!1;(null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?e.params=n.params:e.query=null==n?void 0:n.query,e.url=C(e),b.tagsViewList.push({...e}),D(b.tagsViewList)}},_=(e,n)=>{var o;let i=(null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?n.meta.isDynamicPath:e;b.tagsViewList.forEach((e=>{var o,a,r;e.path!==i||t.isObjectValueEqual((null==(o=null==n?void 0:n.meta)?void 0:o.isDynamic)?e.params?e.params:null:e.query?e.query:null,(null==(a=null==n?void 0:n.meta)?void 0:a.isDynamic)?(null==n?void 0:n.params)?null==n?void 0:n.params:null:(null==n?void 0:n.query)?null==n?void 0:n.query:null)||((null==(r=null==n?void 0:n.meta)?void 0:r.isDynamic)?e.params=n.params:e.query=null==n?void 0:n.query,e.url=C(e),D(b.tagsViewList))}))},x=(t,n)=>e.nextTick().then((async()=>{var e,o,i;let a;if(null==(e=null==n?void 0:n.meta)?void 0:e.isDynamic){if(y.value.isShareTagsView?await _(t,n):await T(t,n),b.tagsViewList.some((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)})))return D(b.tagsViewList),!1;a=b.tagsViewRoutesList.find((e=>{var t;return e.path===(null==(t=null==n?void 0:n.meta)?void 0:t.isDynamicPath)}))}else{if(y.value.isShareTagsView?await _(t,n):await T(t,n),b.tagsViewList.some((e=>e.path===t)))return D(b.tagsViewList),!1;a=b.tagsViewRoutesList.find((e=>e.path===t))}return!!a&&(!((null==(o=null==a?void 0:a.meta)?void 0:o.isLink)&&!a.meta.isIframe)&&((null==(i=null==n?void 0:n.meta)?void 0:i.isDynamic)?a.params=(null==n?void 0:n.params)?null==n?void 0:n.params:v.params:a.query=(null==n?void 0:n.query)?null==n?void 0:n.query:v.query,a.url=C(a),await b.tagsViewList.push({...a}),void(await D(b.tagsViewList))))})),k=t=>e.nextTick().then((async()=>{let n=await b.tagsViewList;b.tagsRefsIndex=n.findIndex((e=>y.value.isShareTagsView?e.path===t:e.url===t)),await e.nextTick().then((async()=>{var e,t;if(i.value.length<=0)return!1;let n=i.value[b.tagsRefsIndex],o=b.tagsRefsIndex,r=i.value.length,l=i.value[0],s=i.value[i.value.length-1],u=null==(t=null==(e=a.value)?void 0:e.$refs)?void 0:t.wrapRef,c=u.scrollWidth,d=u.offsetWidth,h=u.scrollLeft,f=i.value[b.tagsRefsIndex-1],p=i.value[b.tagsRefsIndex+1],m=0,v=0;n===l?u.scrollLeft=0:n===s?u.scrollLeft=c-d:(m=0===o?l.offsetLeft-5:(null==f?void 0:f.offsetLeft)-5,v=o===r?s.offsetLeft+s.offsetWidth+5:p.offsetLeft+p.offsetWidth+5,v>h+d?u.scrollLeft=v-d:m<h&&(u.scrollLeft=m)),a.value.update()}))})),V=async()=>{b.routeActive=await C(v),b.routePath=await v.meta.isDynamic?v.meta.isDynamicPath:v.path,b.tagsViewList=[],b.tagsViewRoutesList=f.value,await(async()=>{t.Session.get("tagsViewList")&&y.value.isCacheTagsView?b.tagsViewList=t.Session.get("tagsViewList"):(await b.tagsViewRoutesList.map((e=>{var t;"/home"===e.path&&(e.meta.isAffix=!0),(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),await x(v.path,v)),await k(y.value.isShareTagsView?b.routePath:b.routeActive)})()},O=e=>{var t,n;let o=e.query&&Object.keys(e.query).length>0?e.query:e.params;if(!o)return"";let i="";for(let[a,r]of Object.entries(o))(null==(t=e.meta)?void 0:t.isDynamic)?i+=`/${r}`:i+=`&${a}=${r}`;return(null==(n=e.meta)?void 0:n.isDynamic)?e.isFnClick?decodeURI(e.path):`${e.path.split(":")[0]}${i.replace(/^\//,"")}`:`${e.path}${i.replace(/^&/,"?")}`},L=async e=>{const n=decodeURI(e);let o={};if(b.tagsViewList.forEach((e=>{e.transUrl=O(e),e.transUrl?e.transUrl===O(e)&&(o=e):e.path===n&&(o=e)})),!o)return!1;await m.delCachedView(o),t.mittBus.emit("onTagsViewRefreshRouterView",e)},A=e=>{b.tagsViewList.map(((t,n,o)=>{var i;(null==(i=t.meta)?void 0:i.isAffix)||(y.value.isShareTagsView?t.path===e:t.url===e)&&(m.delCachedView(t),b.tagsViewList.splice(n,1),setTimeout((()=>{(b.tagsViewList.length===n&&y.value.isShareTagsView?b.routePath===e:b.routeActive===e)?o[o.length-1].meta.isDynamic?n!==o.length?g.push({name:o[n].name,params:o[n].params}):g.push({name:o[o.length-1].name,params:o[o.length-1].params}):n!==o.length?g.push({path:o[n].path,query:o[n].query}):g.push({path:o[o.length-1].path,query:o[o.length-1].query}):(b.tagsViewList.length!==n&&y.value.isShareTagsView?b.routePath===e:b.routeActive===e)&&(o[n].meta.isDynamic?g.push({name:o[n].name,params:o[n].params}):g.push({path:o[n].path,query:o[n].query}))}),0))})),D(b.tagsViewList)},I=e=>{let t={};return b.tagsViewList.forEach((n=>{n.transUrl=O(n),n.transUrl?n.transUrl===O(n)&&n.transUrl===e.commonUrl&&(t=n):n.path===decodeURI(e.path)&&(t=n)})),t||null},M=async e=>{if(e.commonUrl=O(e),!I(e))return t.ElMessage({type:"warning",message:"请正确输入路径及完整参数(query、params)"});const{path:n,name:o,params:i,query:a,meta:r,url:l}=I(e);switch(e.contextMenuClickId){case 0:r.isDynamic?await g.push({name:o,params:i}):await g.push({path:n,query:a}),L(v.fullPath);break;case 1:A(y.value.isShareTagsView?n:l);break;case 2:r.isDynamic?await g.push({name:o,params:i}):await g.push({path:n,query:a}),await(async e=>{const n=b.tagsViewList.find((t=>t.path===e));m.delOthersCachedViews(n),t.Session.get("tagsViewList")&&(b.tagsViewList=[],t.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),await x(e,v),D(b.tagsViewList))})(n);break;case 3:(()=>{if(t.Session.get("tagsViewList")){m.delAllCachedViews(),b.tagsViewList=[],t.Session.get("tagsViewList").map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})),D(b.tagsViewList);const e=t.dynamicRoutes.find((e=>"/"===e.path));e&&g.push(e.redirect)}})();break;case 4:(async e=>{const t=b.tagsViewList.find((t=>y.value.isShareTagsView?t.path===e:t.url===e));t.meta.isDynamic?await g.push({name:t.name,params:t.params}):await g.push({name:t.name,query:t.query}),s.setCurrenFullscreen(!0)})(y.value.isShareTagsView?n:l)}},P=e=>{a.value.$refs.wrapRef.scrollLeft+=e.wheelDelta/4},N=async()=>{const e=document.querySelector(".layout-navbars-tagsview-ul");if(!e)return!1;b.sortable.el&&b.sortable.destroy(),b.sortable=Be.create(e,{animation:300,dataIdAttr:"data-url",disabled:!y.value.isSortableTagsView,onEnd:()=>{const e=[];b.sortable.toArray().map((t=>{b.tagsViewList.map((n=>{n.url===t&&e.push({...n})}))})),D(e)}})},R=async()=>{await N(),t.other.isMobile()&&b.sortable.el&&b.sortable.destroy()};return e.onBeforeMount((()=>{R(),window.addEventListener("resize",R),t.mittBus.on("onCurrentContextmenuClick",(e=>{e.isFnClick=!0,M(e)})),t.mittBus.on("openOrCloseSortable",(async()=>{await N()})),t.mittBus.on("openShareTagsView",(()=>{y.value.isShareTagsView&&(g.push("/"),b.tagsViewList=[],b.tagsViewRoutesList.map((e=>{var t;(null==(t=e.meta)?void 0:t.isAffix)&&!e.meta.isHide&&(e.url=C(e),b.tagsViewList.push({...e}))})))}))})),e.onUnmounted((()=>{t.mittBus.off("onCurrentContextmenuClick",(()=>{})),t.mittBus.off("openOrCloseSortable",(()=>{})),t.mittBus.off("openShareTagsView",(()=>{})),window.removeEventListener("resize",R)})),e.onBeforeUpdate((()=>{i.value=[]})),e.onMounted((async()=>{await V(),await N()})),t.onBeforeRouteUpdate((async e=>{b.routeActive=C(e),b.routePath=e.meta.isDynamic?e.meta.isDynamicPath:e.path,await x(e.path,e),k(y.value.isShareTagsView?b.routePath:b.routeActive)})),e.watch((()=>f.value),(async e=>{if(e.length===b.tagsViewRoutesList.length)return!1;await V()}),{deep:!0}),(t,n)=>{const s=e.resolveComponent("SvgIcon"),u=e.resolveComponent("el-scrollbar");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layout-navbars-tagsview",{"layout-navbars-tagsview-shadow":"classic"===y.value.layout}])},[e.createVNode(u,{ref_key:"scrollbarRef",ref:a,onWheel:e.withModifiers(P,["prevent"])},{default:e.withCtx((()=>[e.createElementVNode("ul",{class:e.normalizeClass(["layout-navbars-tagsview-ul",w.value]),ref_key:"tagsUlRef",ref:l},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.tagsViewList,((o,a)=>(e.openBlock(),e.createElementBlock("li",{key:a,class:e.normalizeClass(["layout-navbars-tagsview-ul-li",{"is-active":E(o)}]),"data-url":o.url,onContextmenu:e.withModifiers((e=>((e,t)=>{const{clientX:n,clientY:o}=t;b.dropdown.x=n,b.dropdown.y=o,r.value.openContextmenu(e)})(o,e)),["prevent"]),onMousedown:e=>((e,t)=>{var n;if(!(null==(n=e.meta)?void 0:n.isAffix)&&1===t.button){const t=Object.assign({},{contextMenuClickId:1,...e});M(t)}})(o,e),onClick:e=>((e,t)=>{b.tagsRefsIndex=t,g.push(e),"columns"===y.value.layout&&(p.value.find((t=>t.path.indexOf(`/${e.path.split("/")[1]}`)>-1)).children?y.value.isCollapse=!1:y.value.isCollapse=!0)})(o,a),ref_for:!0,ref:e=>{e&&(i.value[a]=e)}},[E(o)?(e.openBlock(),e.createElementBlock("i",rt)):e.createCommentVNode("",!0),!E(o)&&y.value.isTagsviewIcon?(e.openBlock(),e.createBlock(s,{key:1,name:o.meta.icon,class:"pr5"},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(S.value(o)),1),E(o)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(s,{name:"ele-RefreshRight",class:"ml5 layout-navbars-tagsview-ul-li-refresh",onClick:n[0]||(n[0]=e.withModifiers((e=>L(t.$route.fullPath)),["stop"]))}),o.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:0,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-active",onClick:e.withModifiers((e=>A(y.value.isShareTagsView?o.path:o.url)),["stop"])},null,8,["onClick"]))],64)):e.createCommentVNode("",!0),o.meta.isAffix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s,{key:3,name:"ele-Close",class:"layout-navbars-tagsview-ul-li-icon layout-icon-three",onClick:e.withModifiers((e=>A(y.value.isShareTagsView?o.path:o.url)),["stop"])},null,8,["onClick"]))],42,at)))),128))],2)])),_:1},512),e.createVNode(e.unref(o),{dropdown:b.dropdown,ref_key:"contextmenuRef",ref:r,onCurrentContextmenuClick:M},null,8,["dropdown"])],2)}}}),ut=t._export_sfc(st,[["__scopeId","data-v-97b76a44"]]);exports.default=ut;
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./index-UaTdn4ei.js"),t=e.defineComponent({name:"layoutTransverse"}),n=e.defineComponent({...t,setup(t){const n=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./header-Cur05bgb.js"))))),r=e.defineAsyncComponent((()=>Promise.resolve().then((()=>require("./main-CCNXkJxw.js"))))),a=e.ref(),u=o.useThemeConfig(),{themeConfig:l}=o.storeToRefs(u),s=o.useRoute(),i=()=>{a.value.layoutMainScrollbarRef.update()},c=()=>{e.nextTick((()=>{setTimeout((()=>{i(),a.value.layoutMainScrollbarRef.wrapRef.scrollTop=0}),500)}))};return e.onMounted((()=>{c()})),e.watch((()=>s.path),(()=>{c()})),e.watch((()=>l.value.isTagsview),(()=>{e.nextTick((()=>{i()}))}),{deep:!0}),(o,t)=>{const u=e.resolveComponent("el-container");return e.openBlock(),e.createBlock(u,{class:"layout-container flex-center layout-backtop"},{default:e.withCtx((()=>[e.createVNode(e.unref(n)),e.createVNode(e.unref(r),{ref_key:"layoutMainRef",ref:a},null,512)])),_:1})}}});exports.default=n;
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, onMounted, watch, nextTick, resolveComponent, openBlock, createBlock, withCtx, createVNode, unref } from "vue";
|
2
|
-
import { c as useThemeConfig, s as storeToRefs, u as useRoute } from "./index-
|
2
|
+
import { c as useThemeConfig, s as storeToRefs, u as useRoute } from "./index-BxvL2Xo6.mjs";
|
3
3
|
const __default__ = defineComponent({
|
4
4
|
name: "layoutTransverse"
|
5
5
|
});
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
7
7
|
...__default__,
|
8
8
|
setup(__props) {
|
9
|
-
const LayoutHeader = defineAsyncComponent(() => import("./header-
|
10
|
-
const LayoutMain = defineAsyncComponent(() => import("./main-
|
9
|
+
const LayoutHeader = defineAsyncComponent(() => import("./header-h8iVLGD4.mjs"));
|
10
|
+
const LayoutMain = defineAsyncComponent(() => import("./main-BA0l2U_S.mjs"));
|
11
11
|
const layoutMainRef = ref();
|
12
12
|
const storesThemeConfig = useThemeConfig();
|
13
13
|
const { themeConfig } = storeToRefs(storesThemeConfig);
|