comp-hub 0.42.8 → 0.42.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -6
- package/dist/website/container/assets/index-6TGp-7st.css +1 -0
- package/dist/website/container/assets/index-BKC7DzZV.js +33 -0
- package/dist/website/container/index.html +2 -2
- package/dist/website/container/js/less-compiler.js +22 -22
- package/dist/website/container/js/sass-compiler.js +94 -94
- package/dist/website/item/assets/index-Pkb33-i2.css +1 -0
- package/dist/website/item/assets/{index-CwtVkGPL.js → index-kBvGmplc.js} +2 -2
- package/dist/website/item/index.html +2 -2
- package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CH79cQAu.js +1 -0
- package/dist/website/main/assets/{BaseBadge-BReHrAqs.js → BaseBadge-D53B9edx.js} +1 -1
- package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-Bcc7UYpp.js +1 -0
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-RYuIoPF7.js +1 -0
- package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-BNlJ1yyx.js +1 -0
- package/dist/website/main/assets/{CodeMirrorEditor-Cqow8ROO-DYjlZgX9.js → CodeMirrorEditor-Cqow8ROO-AryRubtp.js} +3 -3
- package/dist/website/main/assets/{EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js → EmptyStatusContainer.vue_vue_type_script_setup_true_lang-kK4W-ekr.js} +1 -1
- package/dist/website/main/assets/GithubCallback-BjmPqH_L.js +1 -0
- package/dist/website/main/assets/{LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js → LoadingWrapper.vue_vue_type_script_setup_true_lang-BPfuSpto.js} +1 -1
- package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-BiETILOo.js +1 -0
- package/dist/website/main/assets/{SiteLogo-Bpm2Ah9F.js → SiteLogo-DEIcFHUB.js} +1 -1
- package/dist/website/main/assets/SiteLogo-DbJD21Ac.css +1 -0
- package/dist/website/main/assets/{cloud-upload-BqJFdj_J.js → cloud-upload-DVf0ki5J.js} +1 -1
- package/dist/website/main/assets/el-table-column-BqpEDPpl.js +1 -0
- package/dist/website/main/assets/{home-rounded-CN0qCDnE.js → home-rounded-DcB333c-.js} +1 -1
- package/dist/website/main/assets/{index-DS44gjNL.js → index-0jhSi0Id.js} +1 -1
- package/dist/website/main/assets/{index-DdIWt0oE.js → index-6e_pcD2g.js} +1 -1
- package/dist/website/main/assets/{index-72rReQ2I-C_aIAupr.js → index-72rReQ2I-Dls_4Kw0.js} +1 -1
- package/dist/website/main/assets/index-B-o-geOz.js +1 -0
- package/dist/website/main/assets/{index-DvFQxOj2.js → index-B6DlcvMU.js} +1 -1
- package/dist/website/main/assets/index-BNYhon33.js +1 -0
- package/dist/website/main/assets/index-BOUkLBc8.js +1 -0
- package/dist/website/main/assets/index-BPiRmvZl.js +1 -0
- package/dist/website/main/assets/{index-DgQa2ZqK.js → index-BWSpWNwa.js} +1 -1
- package/dist/website/main/assets/index-BhaaT_GF.js +1 -0
- package/dist/website/main/assets/index-BqUqA7W4.js +1 -0
- package/dist/website/main/assets/{index-CMiBqyhH.js → index-Bqhbsn_n.js} +1 -1
- package/dist/website/main/assets/{index-Zt46lwNk.js → index-BrpXOHl6.js} +1 -1
- package/dist/website/main/assets/index-BxmgEr3S.js +1 -0
- package/dist/website/main/assets/index-C1Hw6vXQ.js +1 -0
- package/dist/website/main/assets/index-C42i82mF.js +2 -0
- package/dist/website/main/assets/{index-CeiBBtdW.js → index-C81i40Gx.js} +1 -1
- package/dist/website/main/assets/index-C9BP4kWZ.js +6 -0
- package/dist/website/main/assets/{index-DlkXaOkE.css → index-CFTT7hu0.css} +1 -1
- package/dist/website/main/assets/{index-B1K6cAvN.js → index-CIVzXolG.js} +1 -1
- package/dist/website/main/assets/index-CPc1AP3H.js +1 -0
- package/dist/website/main/assets/index-CWMIyyC3.js +1 -0
- package/dist/website/main/assets/{index-VyPJ3PyN.js → index-CglP2y1M.js} +1 -1
- package/dist/website/main/assets/index-CiPfzZM4.js +1 -0
- package/dist/website/main/assets/{index-BPdEkCOx.js → index-Cs-jTkU_.js} +1 -1
- package/dist/website/main/assets/{index-CtNrOkJr.js → index-CuvsliuR.js} +1 -1
- package/dist/website/main/assets/index-Cv6z_Edq.js +1 -0
- package/dist/website/main/assets/index-CxHPM7Fg.js +1 -0
- package/dist/website/main/assets/index-CytdBEyB.js +1 -0
- package/dist/website/main/assets/{index-S0EB9acK.js → index-D1_g-khQ.js} +1 -1
- package/dist/website/main/assets/index-D2eSTfJw.js +1 -0
- package/dist/website/main/assets/{index-KhSB9wFh.js → index-D3HuxiUJ.js} +1 -1
- package/dist/website/main/assets/{index-D76eWsZ1-a1NwqrGS.js → index-D76eWsZ1-Z0x-dydi.js} +1 -1
- package/dist/website/main/assets/index-DH0rbH_2.js +1 -0
- package/dist/website/main/assets/index-DPBASOD1.js +1 -0
- package/dist/website/main/assets/index-DQfTUb4g.js +1 -0
- package/dist/website/main/assets/{index-CuCbuNEj.js → index-DS0KGu0h.js} +1 -1
- package/dist/website/main/assets/index-DVxz8FkV.js +2 -0
- package/dist/website/main/assets/{index-DgrizPPB.js → index-DgXgHraR.js} +4 -4
- package/dist/website/main/assets/{index-B2qulmRp.js → index-DjWcnHPR.js} +1 -1
- package/dist/website/main/assets/{index-Dms7ZQ2h-DZe32-4Q.js → index-Dms7ZQ2h-B_6qoSW-.js} +1 -1
- package/dist/website/main/assets/index-Dnz1UQnr.js +1 -0
- package/dist/website/main/assets/index-DpYJK6hB.js +1 -0
- package/dist/website/main/assets/{index-DqiFCfGx-Be_VzFT8.js → index-DqiFCfGx-uaEe5kQB.js} +1 -1
- package/dist/website/main/assets/index-Dr-xg5xd.js +1 -0
- package/dist/website/main/assets/index-DtBE21vT.js +1 -0
- package/dist/website/main/assets/{index-DdqWCLvd.js → index-DxdtqQU6.js} +1 -1
- package/dist/website/main/assets/{index-DxypSQ0K-DZ74HfZS.js → index-DxypSQ0K-zR2L90gm.js} +1 -1
- package/dist/website/main/assets/{index-BA02DjBI.js → index-DzxzRGrk.js} +1 -1
- package/dist/website/main/assets/index-NYRLx08d.js +1 -0
- package/dist/website/main/assets/{index-B5rd6Qgm.js → index-PMqboCW5.js} +1 -1
- package/dist/website/main/assets/index-R79ZeMZV.js +1 -0
- package/dist/website/main/assets/{index-T76vWLBU-iHnxnk3E.js → index-T76vWLBU-B_wdWDQF.js} +1 -1
- package/dist/website/main/assets/{index-DyFpWAJM.js → index-XhJP7gYm.js} +1 -1
- package/dist/website/main/assets/{index-fZBcgzqR-CqMOhDrG.js → index-fZBcgzqR-CZSkQJVN.js} +1 -1
- package/dist/website/main/assets/index-kE41pQo6.js +1 -0
- package/dist/website/main/assets/{index-mqeGrL6B-C5oP0065.js → index-mqeGrL6B-Dup8h8xb.js} +1 -1
- package/dist/website/main/assets/{index-CLT68CCM.css → index-rRr1TSL-.css} +1 -1
- package/dist/website/main/assets/{index-BX3Tl9jb.js → index-tMz4-DEB.js} +1 -1
- package/dist/website/main/assets/{index-Dblv7zZt.js → index-ywM9Y30i.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-B8gjIiIt.js +2 -0
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Bs4fbZK8.js → index.vue_vue_type_script_setup_true_lang-BdH7Nx9p.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Dsu1eY0B.js → index.vue_vue_type_script_setup_true_lang-Bphion84.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C8D789jG.js +1 -0
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-B05SHLQS.js → index.vue_vue_type_script_setup_true_lang-CfvoANZj.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BOkD4Vs3.js → index.vue_vue_type_script_setup_true_lang-uwxiML83.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DDVUKgQ8.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DiN6WUUw.js +6 -0
- package/dist/website/main/assets/index3-BB6QcGH6.js +1 -0
- package/dist/website/main/assets/{kid-star-CiMfD7Sa.js → kid-star-0b7jegzF.js} +1 -1
- package/dist/website/main/assets/{md5-Dkj6ZNQB.js → md5-BqUl3L9Y.js} +1 -1
- package/dist/website/main/assets/{settings-CSr4nQM1.js → settings-DpNeh4hy.js} +1 -1
- package/dist/website/main/assets/{supervised-user-circle-BwUSx6w_.js → supervised-user-circle-B5yCz5Oo.js} +1 -1
- package/dist/website/main/assets/{sync-saved-locally-rounded-DyESI323.js → sync-saved-locally-rounded-BX8GcRCO.js} +1 -1
- package/dist/website/main/assets/{terminal-DAZ0JqKA.js → terminal-DXqN9Hoj.js} +1 -1
- package/dist/website/main/assets/{useCacheOssStore-C6-kY3lP.js → useCacheOssStore-DRfQruRw.js} +1 -1
- package/dist/website/main/assets/{useCompEditStore-B7__tBPJ.js → useCompEditStore-DpFLk9bE.js} +3 -3
- package/dist/website/main/assets/{useCompMetaLocalStore-DUMtt_yz.js → useCompMetaLocalStore-Dko7Z-qO.js} +1 -1
- package/dist/website/main/assets/{useKeyword-O-wdQuD_.js → useKeyword-Dh8n_REW.js} +1 -1
- package/dist/website/main/assets/useMessage-DeFP0yQy.js +1 -0
- package/dist/website/main/assets/{useTeamHeaders-BMHQzwDq.css → useTeamHeaders-BSofrH8c.css} +1 -1
- package/dist/website/main/assets/{useTeamHeaders-BbJQSrjN.js → useTeamHeaders-Bl2nRtJe.js} +1 -1
- package/dist/website/main/assets/{useUnreadStore-COt1XJEP.js → useUnreadStore-C1fMXHK-.js} +1 -1
- package/dist/website/main/assets/{useVscodeOpen-CCvngYEV.js → useVscodeOpen-CcI7l8e8.js} +1 -1
- package/dist/website/main/assets/{vendor-core-CNXB6kVe.js → vendor-core-CfnvwQzw.js} +3 -3
- package/dist/website/main/assets/{vendor-ui-Cvgmewma.js → vendor-ui-g5RNTRAc.js} +15 -15
- package/dist/website/main/index.html +4 -4
- package/package.json +3 -10
- package/dist/website/container/assets/index-BmW7jge6.css +0 -1
- package/dist/website/container/assets/index-E15UfKFM.js +0 -33
- package/dist/website/item/assets/index-CfkvQ31V.css +0 -1
- package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-D-jhE3yA.js +0 -1
- package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js +0 -1
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js +0 -1
- package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-T5vn0JFD.js +0 -1
- package/dist/website/main/assets/GithubCallback-UUNSnoh7.js +0 -1
- package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-CEqkWYsv.js +0 -1
- package/dist/website/main/assets/SiteLogo-CszHjM2d.css +0 -1
- package/dist/website/main/assets/el-table-column-C2GQUl4R.js +0 -1
- package/dist/website/main/assets/index-4S2NYemE.js +0 -1
- package/dist/website/main/assets/index-6zg8j_nT.js +0 -1
- package/dist/website/main/assets/index-B6JeEo9g.js +0 -1
- package/dist/website/main/assets/index-B6Oo99Ej.js +0 -1
- package/dist/website/main/assets/index-BD8DwKlG.js +0 -1
- package/dist/website/main/assets/index-BF2ETnQh.js +0 -1
- package/dist/website/main/assets/index-BNwWVTCF.js +0 -1
- package/dist/website/main/assets/index-BTmh_pkn.js +0 -1
- package/dist/website/main/assets/index-BWh3R1jI.js +0 -6
- package/dist/website/main/assets/index-By_sRNiP.js +0 -1
- package/dist/website/main/assets/index-C1zFaUVE.js +0 -1
- package/dist/website/main/assets/index-CCJiyDal.js +0 -1
- package/dist/website/main/assets/index-CaoAcCMA.js +0 -2
- package/dist/website/main/assets/index-CbOKlsZn.js +0 -2
- package/dist/website/main/assets/index-D-25wqLa.js +0 -1
- package/dist/website/main/assets/index-D-HOLV6Z.js +0 -1
- package/dist/website/main/assets/index-D6zFRika.js +0 -1
- package/dist/website/main/assets/index-DR4j8Ql1.js +0 -1
- package/dist/website/main/assets/index-DRsSRfwD.js +0 -1
- package/dist/website/main/assets/index-D_NvG8ob.js +0 -1
- package/dist/website/main/assets/index-Dcp6qLr1.js +0 -1
- package/dist/website/main/assets/index-DpUmZw4S.js +0 -1
- package/dist/website/main/assets/index-Dy0c-ddP.js +0 -1
- package/dist/website/main/assets/index-RrkKKQjp.js +0 -1
- package/dist/website/main/assets/index-VpAGAhRh.js +0 -1
- package/dist/website/main/assets/index-ex5YI_gC.js +0 -1
- package/dist/website/main/assets/index-wd7ZswFD.js +0 -1
- package/dist/website/main/assets/index-z8BnmFXm.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Ap8wTvsB.js +0 -2
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-ByHasmxS.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-66fUtqSq.js +0 -6
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-CUQ5yd-1.js +0 -1
- package/dist/website/main/assets/index3-BiHnTK1Z.js +0 -1
- package/dist/website/main/assets/useMessage-yR4W8KDP.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@charset "UTF-8";.app-container[data-v-6efeee9c]{width:100%;height:100%}.segmented[data-v-1ee57095]{--segmented-bg: #f0f0f0;--segmented-selected-bg: #409eff;--segmented-selected-shadow: none;--segmented-color: #a6a6a6;--segmented-selected-color: #ffffff;--segmented-padding: 1px;--segmented-font-size: 14px;--segmented-border-radius: 6px;--segmented-item-border-radius: 4px;--segmented-item-height: 32px;--segmented-item-min-width: 40px;--segmented-item-padding-x: 12px;display:inline-flex;position:relative;background:var(--segmented-bg);border-radius:var(--segmented-border-radius);padding:var(--segmented-padding);user-select:none;-webkit-user-select:none}html.dark .segmented[data-v-1ee57095]{--segmented-bg: #1e1e1e}.segmented--block[data-v-1ee57095]{display:flex;width:100%}.segmented--block .segmented__item[data-v-1ee57095]{flex:1;justify-content:center}.segmented--vertical[data-v-1ee57095]{flex-direction:column}.segmented.is-disabled[data-v-1ee57095]{opacity:.6;cursor:not-allowed}.segmented__indicator[data-v-1ee57095]{position:absolute;top:var(--segmented-padding);left:var(--segmented-padding);border-radius:var(--segmented-item-border-radius);background:var(--segmented-selected-bg);box-shadow:var(--segmented-selected-shadow);transition:transform .25s cubic-bezier(.4,0,.2,1),width .25s cubic-bezier(.4,0,.2,1),height .25s cubic-bezier(.4,0,.2,1);pointer-events:none;z-index:1}.segmented__item[data-v-1ee57095]{position:relative;display:inline-flex;align-items:center;height:var(--segmented-item-height);min-width:var(--segmented-item-min-width);padding:0 var(--segmented-item-padding-x);font-size:var(--segmented-font-size);color:var(--segmented-color);border-radius:var(--segmented-item-border-radius);cursor:pointer;transition:color .25s cubic-bezier(.4,0,.2,1);white-space:nowrap;z-index:2}.segmented__item[data-v-1ee57095]:hover:not(.is-disabled):not(.is-selected){color:var(--segmented-selected-color)}.segmented__item.is-selected[data-v-1ee57095]{color:var(--segmented-selected-color)}.segmented__item.is-disabled[data-v-1ee57095]{opacity:.4;cursor:not-allowed}.segmented__input[data-v-1ee57095]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.segmented__label[data-v-1ee57095]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:100%}.segmented--large[data-v-1ee57095]{--segmented-font-size: 16px;--segmented-item-height: 40px;--segmented-item-min-width: 48px;--segmented-item-padding-x: 16px;--segmented-border-radius: 8px;--segmented-item-border-radius: 6px;--segmented-padding: 4px}.segmented--small[data-v-1ee57095]{--segmented-font-size: 12px;--segmented-item-height: 24px;--segmented-item-min-width: 32px;--segmented-item-padding-x: 8px;--segmented-border-radius: 4px;--segmented-item-border-radius: 3px;--segmented-padding: 2px}.ec-outer[data-v-5cf301e4]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ec-outer--dark[data-v-5cf301e4]{background-color:#0d1117}.ec-outer--light[data-v-5cf301e4]{background-color:#f5f7fa}.ec-inner[data-v-5cf301e4]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.ec-inner--dark[data-v-5cf301e4]{background-color:#21262d}.ec-inner--light[data-v-5cf301e4]{background-color:#fff}.ec-icon[data-v-5cf301e4]{font-size:3rem;line-height:1;margin-bottom:1rem}.ec-title[data-v-5cf301e4]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.ec-title--dark[data-v-5cf301e4]{color:#ff6b6b}.ec-title--light[data-v-5cf301e4]{color:#ff4d4f}.ec-list[data-v-5cf301e4]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.ec-item[data-v-5cf301e4]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.ec-item--dark[data-v-5cf301e4]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.ec-item--light[data-v-5cf301e4]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.ec-actions[data-v-5cf301e4]{display:flex;justify-content:center;gap:.75rem}.wc-outer[data-v-cce09743]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.wc-outer--dark[data-v-cce09743]{background-color:#0d1117}.wc-outer--light[data-v-cce09743]{background-color:#f5f7fa}.wc-inner[data-v-cce09743]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.wc-inner--dark[data-v-cce09743]{background-color:#21262d}.wc-inner--light[data-v-cce09743]{background-color:#fff}.wc-icon[data-v-cce09743]{font-size:3rem;line-height:1;margin-bottom:1rem}.wc-title[data-v-cce09743]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.wc-title--dark[data-v-cce09743]{color:#d29922}.wc-title--light[data-v-cce09743]{color:#b8860b}.wc-list[data-v-cce09743]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.wc-item[data-v-cce09743]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.wc-item--dark[data-v-cce09743]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.wc-item--light[data-v-cce09743]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.wc-actions[data-v-cce09743]{display:flex;justify-content:center;gap:.75rem}.card[data-v-36db9d87]{--card-bg: #fff;--card-border-color: #e4e7ed;--card-color: #303133;--card-shadow-color: rgba(0, 0, 0, .1);border-radius:4px;border:1px solid var(--card-border-color);background-color:var(--card-bg);color:var(--card-color);overflow:hidden;transition:box-shadow .3s ease}html.dark .card[data-v-36db9d87]{--card-bg: #1d1e1f;--card-border-color: #30363d;--card-color: #c9d1d9;--card-shadow-color: rgba(0, 0, 0, .4)}.card.is-never-shadow[data-v-36db9d87],.card.is-hover-shadow[data-v-36db9d87]{box-shadow:none}.card.is-hover-shadow[data-v-36db9d87]:hover,.card.is-always-shadow[data-v-36db9d87]{box-shadow:0 2px 12px 0 var(--card-shadow-color)}.card__header[data-v-36db9d87]{padding:12px 20px;border-bottom:1px solid var(--card-border-color);font-size:16px;font-weight:500;box-sizing:border-box}.card__body[data-v-36db9d87]{padding:20px;box-sizing:border-box}.card__footer[data-v-36db9d87]{padding:12px 20px;border-top:1px solid var(--card-border-color);box-sizing:border-box}.carousel[data-v-44ca82d0]{position:relative;overflow:hidden}.carousel--horizontal[data-v-44ca82d0]{width:100%}.carousel--vertical[data-v-44ca82d0]{height:100%}.carousel__viewport[data-v-44ca82d0]{width:100%;height:100%;overflow:hidden;position:relative}.carousel__viewport--card[data-v-44ca82d0]{display:flex;align-items:center;justify-content:center}.carousel__track[data-v-44ca82d0]{display:flex;width:100%;height:100%;transition:transform .4s ease}.carousel__track--card[data-v-44ca82d0]{position:relative;width:100%;height:100%;display:block;transition:none}.carousel__track--animating[data-v-44ca82d0]{transition:transform .4s ease}.carousel__track--motion-blur[data-v-44ca82d0]{filter:blur(2px);transition:transform .4s ease,filter .4s ease}.carousel__arrow[data-v-44ca82d0]{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background-color:#fffc;color:#333;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000001a;opacity:0;transition:opacity .3s ease,background-color .3s ease;z-index:10}.carousel__arrow[data-v-44ca82d0]:hover{background-color:#fff}.carousel__arrow--always[data-v-44ca82d0]{opacity:1}.carousel__arrow--left[data-v-44ca82d0]{left:16px}.carousel__arrow--right[data-v-44ca82d0]{right:16px}.carousel:hover .carousel__arrow[data-v-44ca82d0]{opacity:1}.carousel__arrow-icon[data-v-44ca82d0]{display:inline-block;width:8px;height:8px;border-style:solid;border-color:#333;border-width:0 2px 2px 0}.carousel__arrow-icon--left[data-v-44ca82d0]{transform:rotate(135deg);margin-left:2px}.carousel__arrow-icon--right[data-v-44ca82d0]{transform:rotate(-45deg);margin-right:2px}.carousel__indicators[data-v-44ca82d0]{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;list-style:none;margin:0;padding:6px 12px;z-index:10;background-color:#0006;border-radius:20px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.carousel__indicators--vertical[data-v-44ca82d0]{inset:50% 12px auto auto;transform:translateY(-50%);flex-direction:column}.carousel__indicator[data-v-44ca82d0]{width:8px;height:8px;border-radius:50%;background-color:#fff6;cursor:pointer;transition:background-color .3s ease,transform .3s ease;position:relative}.carousel__indicator span[data-v-44ca82d0]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.carousel__indicator--active[data-v-44ca82d0]{background-color:#fff;transform:scale(1.25)}.carousel-item[data-v-27534ba2]{flex-shrink:0;width:100%;height:100%;overflow:hidden;transition:transform .4s ease,opacity .4s ease}.carousel-item--card[data-v-27534ba2]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.carousel-item--card.carousel-item--active[data-v-27534ba2]{cursor:default}.async-comp-wrapper[data-v-9f945523],.async-comp-container[data-v-9f945523]{width:100%;height:100%;position:relative}.async-comp-container.async-comp-overflow-auto[data-v-9f945523]{overflow:auto}.async-comp-container.async-comp-overflow-hidden[data-v-9f945523]{overflow:hidden}.async-comp-error[data-v-9f945523]{position:absolute;inset:0}.screenshot-fallback[data-v-9f945523]{overflow:hidden}.screenshot-toggle[data-v-9f945523]{position:absolute;top:8px;right:8px;display:flex;gap:4px;z-index:2}.toggle-btn[data-v-9f945523]{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;cursor:pointer;transition:background .2s,color .2s;font-size:18px}.toggle-btn[data-v-9f945523]:hover{background:#000000a6;color:#ffffffe6}html.dark .toggle-btn[data-v-9f945523]:hover{background:#ffffff1f;color:#ffffffe6}.toggle-btn.active[data-v-9f945523]{background:#000000b3;color:#ffffffe6}html.dark .toggle-btn.active[data-v-9f945523]{background:#ffffff26}.toggle-btn.error[data-v-9f945523]{color:#e74c3c}html.dark .toggle-btn.error[data-v-9f945523]{color:#f87171}.toggle-btn.warn[data-v-9f945523]{color:#f59e0b}html.dark .toggle-btn.warn[data-v-9f945523]{color:#fbbf24}.screenshot-img[data-v-9f945523]{width:100%;height:100%;object-fit:contain;display:block}[data-v-8b59dfdc] .carousel__viewport{height:100%}.comp-mini-carousel[data-v-8b59dfdc],.comp-mini-carousel-item[data-v-8b59dfdc]{width:100%;height:100%}.comp-mini-carousel-slide[data-v-8b59dfdc]{width:100%;height:100%;border-bottom-left-radius:.125rem;border-bottom-right-radius:.125rem}.panel-mini-wrapper[data-v-be9162a6]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.panel-mini-card[data-v-be9162a6]{height:100%;max-height:250px;width:340px}[data-v-be9162a6] .panel-mini-card-body{padding:0!important;overflow:hidden!important;width:100%!important;height:100%!important}.panel-full-card[data-v-df175804]{flex:1;overflow:hidden;width:100%;height:100%}[data-v-df175804] .panel-full-card-body{padding:0!important;overflow:hidden!important;width:100%!important;height:100%!important}.edit-panel[data-v-34f0abeb]{width:100%;height:100%;background-color:#fff}html.dark .edit-panel[data-v-34f0abeb]{background-color:#141414}.edit-panel__carousel[data-v-34f0abeb]{width:100%;height:100%}.edit-panel__content[data-v-34f0abeb]{width:100%;height:100%;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:4px}.edit-panel__tools[data-v-34f0abeb]{display:flex;width:100%;justify-content:center;gap:10px;align-items:center;margin-bottom:2px}.edit-panel__refresh-btn[data-v-34f0abeb]{cursor:pointer}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;overflow:hidden}#app{height:100%;overflow:hidden}.avatar[data-v-d80295f9]{--avatar-bg: #c0c4cc;--avatar-color: #fff;--avatar-border-color: #dcdfe6;display:inline-flex;align-items:center;justify-content:center;background-color:var(--avatar-bg);color:var(--avatar-color);overflow:hidden;vertical-align:middle;flex-shrink:0;box-sizing:border-box}html.dark .avatar[data-v-d80295f9]{--avatar-bg: #4a4a4a;--avatar-color: #e0e0e0;--avatar-border-color: #505050}.avatar--circle[data-v-d80295f9]{border-radius:50%}.avatar--square[data-v-d80295f9]{border-radius:4px}.avatar__img[data-v-d80295f9]{width:100%;height:100%;display:block}.avatar__icon[data-v-d80295f9]{width:50%;height:50%}.avatar__text[data-v-d80295f9]{line-height:1;white-space:nowrap;-webkit-user-select:none;user-select:none}.loading-wrapper[data-v-7dea0b3a]{display:flex;align-items:center;justify-content:center;min-height:120px}.loading-inline[data-v-7dea0b3a]{min-height:unset;padding:40px 0}.loading-text[data-v-7dea0b3a]{font-size:13px;color:#909399}.loading-dots[data-v-7dea0b3a]{display:inline}.loading-dot[data-v-7dea0b3a]{display:inline-block;opacity:0;animation:dot-blink-7dea0b3a 1.2s infinite}@keyframes dot-blink-7dea0b3a{0%,40%{opacity:0}50%,90%{opacity:1}to{opacity:0}}[data-v-cae15d7a] .hl{background:#ffe600;padding:0 2px;border-radius:2px}[data-v-2e76db44] .el-avatar--circle{border:1px solid #857e7e;padding:0!important}.dot[data-v-2fc884b4]:after{content:"";position:absolute;top:0%;right:0%;transform:translate(var(--offsetX),var(--offsetY));width:7px;height:7px;border-radius:50%;background-color:#f5222d;border:1px solid #fff}.grid-container[data-v-b3cdeaeb]{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--v4923d4d0),1fr));gap:var(--cec7ae86)}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute;width:var(--v4923d4d0)}.list-leave-none{display:none}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .3s ease}.transition-fade-enter-from{opacity:0;transform:translate(-30px)}.transition-fade-leave-to{opacity:0;transform:translate(30px)}.is-collected[data-v-3b3bc11e]{color:#facc15}.segmented[data-v-ce5b54d1]{--segmented-bg: #f0f0f0;--segmented-selected-bg: #409eff;--segmented-selected-shadow: none;--segmented-color: #a6a6a6;--segmented-selected-color: #ffffff;--segmented-padding: 1px;--segmented-font-size: 14px;--segmented-border-radius: 6px;--segmented-item-border-radius: 4px;--segmented-item-height: 32px;--segmented-item-min-width: 40px;--segmented-item-padding-x: 12px;display:inline-flex;position:relative;background:var(--segmented-bg);border-radius:var(--segmented-border-radius);padding:var(--segmented-padding);user-select:none;-webkit-user-select:none}html.dark .segmented[data-v-ce5b54d1]{--segmented-bg: #1e1e1e}.segmented--block[data-v-ce5b54d1]{display:flex;width:100%}.segmented--block .segmented__item[data-v-ce5b54d1]{flex:1;justify-content:center}.segmented--vertical[data-v-ce5b54d1]{flex-direction:column}.segmented.is-disabled[data-v-ce5b54d1]{opacity:.6;cursor:not-allowed}.segmented__indicator[data-v-ce5b54d1]{position:absolute;top:var(--segmented-padding);left:var(--segmented-padding);border-radius:var(--segmented-item-border-radius);background:var(--segmented-selected-bg);box-shadow:var(--segmented-selected-shadow);transition:transform .25s cubic-bezier(.4,0,.2,1),width .25s cubic-bezier(.4,0,.2,1),height .25s cubic-bezier(.4,0,.2,1);pointer-events:none;z-index:1}.segmented__item[data-v-ce5b54d1]{position:relative;display:inline-flex;align-items:center;height:var(--segmented-item-height);min-width:var(--segmented-item-min-width);padding:0 var(--segmented-item-padding-x);font-size:var(--segmented-font-size);color:var(--segmented-color);border-radius:var(--segmented-item-border-radius);cursor:pointer;transition:color .25s cubic-bezier(.4,0,.2,1);white-space:nowrap;z-index:2}.segmented__item[data-v-ce5b54d1]:hover:not(.is-disabled):not(.is-selected){color:var(--segmented-selected-color)}.segmented__item.is-selected[data-v-ce5b54d1]{color:var(--segmented-selected-color)}.segmented__item.is-disabled[data-v-ce5b54d1]{opacity:.4;cursor:not-allowed}.segmented__input[data-v-ce5b54d1]{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.segmented__label[data-v-ce5b54d1]{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:100%}.segmented--large[data-v-ce5b54d1]{--segmented-font-size: 16px;--segmented-item-height: 40px;--segmented-item-min-width: 48px;--segmented-item-padding-x: 16px;--segmented-border-radius: 8px;--segmented-item-border-radius: 6px;--segmented-padding: 4px}.segmented--small[data-v-ce5b54d1]{--segmented-font-size: 12px;--segmented-item-height: 24px;--segmented-item-min-width: 32px;--segmented-item-padding-x: 8px;--segmented-border-radius: 4px;--segmented-item-border-radius: 3px;--segmented-padding: 2px}.ec-outer[data-v-d9cb03ff]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.ec-outer--dark[data-v-d9cb03ff]{background-color:#0d1117}.ec-outer--light[data-v-d9cb03ff]{background-color:#f5f7fa}.ec-inner[data-v-d9cb03ff]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.ec-inner--dark[data-v-d9cb03ff]{background-color:#21262d}.ec-inner--light[data-v-d9cb03ff]{background-color:#fff}.ec-icon[data-v-d9cb03ff]{font-size:3rem;line-height:1;margin-bottom:1rem}.ec-title[data-v-d9cb03ff]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.ec-title--dark[data-v-d9cb03ff]{color:#ff6b6b}.ec-title--light[data-v-d9cb03ff]{color:#ff4d4f}.ec-list[data-v-d9cb03ff]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.ec-item[data-v-d9cb03ff]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.ec-item--dark[data-v-d9cb03ff]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.ec-item--light[data-v-d9cb03ff]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.ec-actions[data-v-d9cb03ff]{display:flex;justify-content:center;gap:.75rem}.wc-outer[data-v-67ce764e]{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.wc-outer--dark[data-v-67ce764e]{background-color:#0d1117}.wc-outer--light[data-v-67ce764e]{background-color:#f5f7fa}.wc-inner[data-v-67ce764e]{width:100%;height:100%;padding:.625rem;text-align:center;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;overflow:auto}.wc-inner--dark[data-v-67ce764e]{background-color:#21262d}.wc-inner--light[data-v-67ce764e]{background-color:#fff}.wc-icon[data-v-67ce764e]{font-size:3rem;line-height:1;margin-bottom:1rem}.wc-title[data-v-67ce764e]{margin:0;margin-bottom:1.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.wc-title--dark[data-v-67ce764e]{color:#d29922}.wc-title--light[data-v-67ce764e]{color:#b8860b}.wc-list[data-v-67ce764e]{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.wc-item[data-v-67ce764e]{border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.25rem;word-break:break-all;border:1px solid}.wc-item--dark[data-v-67ce764e]{background-color:#161b22;border-color:#30363d;color:#c9d1d9}.wc-item--light[data-v-67ce764e]{background-color:#f5f7fa;border-color:#e4e7ed;color:#606266}.wc-actions[data-v-67ce764e]{display:flex;justify-content:center;gap:.75rem}.enk28pe8k{fill:currentColor;d:path("M11.288 4.713Q11 4.425 11 4V2q0-.425.288-.712T12 1t.713.288T13 2v2q0 .425-.288.713T12 5t-.712-.288M16.95 7.05q-.275-.275-.275-.687t.275-.713l1.4-1.425q.3-.3.712-.3t.713.3q.275.275.275.7t-.275.7L18.35 7.05q-.275.275-.7.275t-.7-.275M20 13q-.425 0-.713-.288T19 12t.288-.712T20 11h2q.425 0 .713.288T23 12t-.288.713T22 13zm-8.712 9.713Q11 22.425 11 22v-2q0-.425.288-.712T12 19t.713.288T13 20v2q0 .425-.288.713T12 23t-.712-.288M5.65 7.05l-1.425-1.4q-.3-.3-.3-.725t.3-.7q.275-.275.7-.275t.7.275L7.05 5.65q.275.275.275.7t-.275.7q-.3.275-.7.275t-.7-.275m12.7 12.725l-1.4-1.425q-.275-.3-.275-.712t.275-.688t.688-.275t.712.275l1.425 1.4q.3.275.288.7t-.288.725q-.3.3-.725.3t-.7-.3M2 13q-.425 0-.712-.288T1 12t.288-.712T2 11h2q.425 0 .713.288T5 12t-.288.713T4 13zm2.225 6.775q-.275-.275-.275-.7t.275-.7L5.65 16.95q.275-.275.687-.275t.713.275q.3.3.3.713t-.3.712l-1.4 1.4q-.3.3-.725.3t-.7-.3M7.75 16.25Q6 14.5 6 12t1.75-4.25T12 6t4.25 1.75T18 12t-1.75 4.25T12 18t-4.25-1.75")}.o17qx8_el{fill:currentColor;d:path("M12.075 22q-2.1 0-3.937-.8t-3.2-2.162t-2.163-3.2t-.8-3.938q0-3.1 1.713-5.625t4.587-3.7q.35-.125.725-.088t.625.238q.2.175.313.488t.112.812q.05 1.975.8 3.763T13 10.975t3.2 2.15t3.775.8q.525 0 .8.088t.45.287q.2.25.263.65t-.063.725q-1.15 2.875-3.7 4.6T12.075 22M14.3 7.3l-1.6-1.6q-.3-.3-.3-.7t.3-.7l1.6-1.6q.3-.3.7-.3t.7.3l1.6 1.6q.3.3.3.7t-.3.7l-1.6 1.6q-.3.3-.7.3t-.7-.3m5 3l-.6-.6q-.3-.3-.3-.7t.3-.7l.6-.6q.3-.3.7-.3t.7.3l.6.6q.3.3.3.7t-.3.7l-.6.6q-.3.3-.7.3t-.7-.3")}.card[data-v-851bc55e]{--card-bg: #fff;--card-border-color: #e4e7ed;--card-color: #303133;--card-shadow-color: rgba(0, 0, 0, .1);border-radius:4px;border:1px solid var(--card-border-color);background-color:var(--card-bg);color:var(--card-color);overflow:hidden;transition:box-shadow .3s ease}html.dark .card[data-v-851bc55e]{--card-bg: #1d1e1f;--card-border-color: #30363d;--card-color: #c9d1d9;--card-shadow-color: rgba(0, 0, 0, .4)}.card.is-never-shadow[data-v-851bc55e],.card.is-hover-shadow[data-v-851bc55e]{box-shadow:none}.card.is-hover-shadow[data-v-851bc55e]:hover,.card.is-always-shadow[data-v-851bc55e]{box-shadow:0 2px 12px 0 var(--card-shadow-color)}.card__header[data-v-851bc55e]{padding:12px 20px;border-bottom:1px solid var(--card-border-color);font-size:16px;font-weight:500;box-sizing:border-box}.card__body[data-v-851bc55e]{padding:20px;box-sizing:border-box}.card__footer[data-v-851bc55e]{padding:12px 20px;border-top:1px solid var(--card-border-color);box-sizing:border-box}.ch-button[data-v-20164a41]{border-width:1px;border-style:solid;color:var(--ch-btn-color);background-color:var(--ch-btn-bg);border-color:var(--ch-btn-border)}.ch-button[data-v-20164a41]:hover:not(.opacity-50){color:var(--ch-btn-hover-color, var(--ch-btn-color));background-color:var(--ch-btn-hover-bg, var(--ch-btn-bg));border-color:var(--ch-btn-hover-border, var(--ch-btn-border))}.pane-card[data-v-07f23bc7] .pane-body{padding:0!important;display:flex;flex-direction:column;overflow:hidden;flex:1}.pane-card[data-v-07f23bc7] .pane-header{padding:0!important}.pane-maximized[data-v-07f23bc7]{position:fixed;inset:0;z-index:50}[data-v-533323fa] .el-pagination{justify-content:var(--pagination-location)}[data-v-bf03d76c] .not-matched{opacity:.6}[data-v-bf03d76c] .not-matched .el-tag__content{text-decoration:line-through}.diff-code-loading[data-v-36c3a563]{position:absolute;top:80px;left:50%;transform:translate(-50%)}[data-v-36c3a563] .highlight-file{animation:highlight-pulse-36c3a563 .5s ease;animation-iteration-count:3}@keyframes highlight-pulse-36c3a563{0%,to{box-shadow:none}50%{box-shadow:0 0 0 3px var(--el-color-primary-light-5)}}.d2h-file-wrapper{scroll-margin-top:20px}.no-diff{text-align:center;padding:20px;color:#999}.card-no-padding[data-v-9af49f91] .el-card__body{padding:0;overflow:hidden}.diff-container{display:flex;flex-direction:column;overflow:hidden}.diff-container .el-dialog__body{flex:1;overflow:hidden}.carousel[data-v-8bba41e4]{position:relative;overflow:hidden}.carousel--horizontal[data-v-8bba41e4]{width:100%}.carousel--vertical[data-v-8bba41e4]{height:100%}.carousel__viewport[data-v-8bba41e4]{width:100%;height:100%;overflow:hidden;position:relative}.carousel__viewport--card[data-v-8bba41e4]{display:flex;align-items:center;justify-content:center}.carousel__track[data-v-8bba41e4]{display:flex;width:100%;height:100%;transition:transform .4s ease}.carousel__track--card[data-v-8bba41e4]{position:relative;width:100%;height:100%;display:block;transition:none}.carousel__track--animating[data-v-8bba41e4]{transition:transform .4s ease}.carousel__track--motion-blur[data-v-8bba41e4]{filter:blur(2px);transition:transform .4s ease,filter .4s ease}.carousel__arrow[data-v-8bba41e4]{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border:none;border-radius:50%;background-color:#fffc;color:#333;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #0000001a;opacity:0;transition:opacity .3s ease,background-color .3s ease;z-index:10}.carousel__arrow[data-v-8bba41e4]:hover{background-color:#fff}.carousel__arrow--always[data-v-8bba41e4]{opacity:1}.carousel__arrow--left[data-v-8bba41e4]{left:16px}.carousel__arrow--right[data-v-8bba41e4]{right:16px}.carousel:hover .carousel__arrow[data-v-8bba41e4]{opacity:1}.carousel__arrow-icon[data-v-8bba41e4]{display:inline-block;width:8px;height:8px;border-style:solid;border-color:#333;border-width:0 2px 2px 0}.carousel__arrow-icon--left[data-v-8bba41e4]{transform:rotate(135deg);margin-left:2px}.carousel__arrow-icon--right[data-v-8bba41e4]{transform:rotate(-45deg);margin-right:2px}.carousel__indicators[data-v-8bba41e4]{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;gap:8px;align-items:center;list-style:none;margin:0;padding:6px 12px;z-index:10;background-color:#0006;border-radius:20px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.carousel__indicators--vertical[data-v-8bba41e4]{inset:50% 12px auto auto;transform:translateY(-50%);flex-direction:column}.carousel__indicator[data-v-8bba41e4]{width:8px;height:8px;border-radius:50%;background-color:#fff6;cursor:pointer;transition:background-color .3s ease,transform .3s ease;position:relative}.carousel__indicator span[data-v-8bba41e4]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.carousel__indicator--active[data-v-8bba41e4]{background-color:#fff;transform:scale(1.25)}.carousel-item[data-v-30edcda0]{flex-shrink:0;width:100%;height:100%;overflow:hidden;transition:transform .4s ease,opacity .4s ease}.carousel-item--card[data-v-30edcda0]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;cursor:pointer}.carousel-item--card.carousel-item--active[data-v-30edcda0]{cursor:default}.text-container[data-v-3179173f]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--v26a8013a);overflow:hidden}.text-single[data-v-3179173f]{visibility:hidden;position:absolute;white-space:nowrap;width:1px}.vue-recycle-scroller__resize-observer[data-v-08cc04ab]{position:absolute;inset:0;opacity:0;pointer-events:none;z-index:-1}.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.grid-mode:not(.page-mode){overflow:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}[data-v-d5db7ad9] .el-radio__input.is-checked+.el-radio__label span:first-child{box-shadow:0 0 8px currentColor}.cdj_y1r7t{fill:currentColor;d:path("M5 11q-.825 0-1.412-.587T3 9V5q0-.825.588-1.412T5 3h4q.825 0 1.413.588T11 5v4q0 .825-.587 1.413T9 11zm0 10q-.825 0-1.412-.587T3 19v-4q0-.825.588-1.412T5 13h4q.825 0 1.413.588T11 15v4q0 .825-.587 1.413T9 21zm10-10q-.825 0-1.412-.587T13 9V5q0-.825.588-1.412T15 3h4q.825 0 1.413.588T21 5v4q0 .825-.587 1.413T19 11zm0 10q-.825 0-1.412-.587T13 19v-4q0-.825.588-1.412T15 13h4q.825 0 1.413.588T21 15v4q0 .825-.587 1.413T19 21z")}.u2_fvl-wz{fill:currentColor;d:path("M9 20h11q.825 0 1.413-.587T22 18v-2H9zM2 8h5V4H4q-.825 0-1.412.588T2 6zm0 6h5v-4H2zm2 6h3v-4H2v2q0 .825.588 1.413T4 20m5-6h13v-4H9zm0-6h13V6q0-.825-.587-1.412T20 4H9z")}div.default-theme a[target=_blank]:after{content:"";display:inline-block;width:16px;height:16px;margin-inline-start:2px;background-color:currentColor;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}div.mk-cute-theme h1:before,div.mk-cute-theme h2:before,div.mk-cute-theme h3:before,div.mk-cute-theme h4:before,div.mk-cute-theme h5:before,div.mk-cute-theme h6:before{content:"";display:block;position:absolute;inset-inline-start:0;inset-block-start:0;inset-block-end:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}.md-editor-checkbox{cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor-checkbox:after{content:"";font-weight:700}.md-editor-checkbox-checked:after{content:"✓"}.md-editor-divider{position:relative;display:inline-block;width:1px;inset-block-start:.1em;height:.9em;margin-block:0;margin-inline:8px;background-color:var(--md-border-color)}.md-editor-dropdown{overflow:hidden;box-sizing:border-box;position:absolute;transition:all .3s;opacity:1;z-index:20000;background-color:var(--md-bk-color)}.md-editor-dropdown-hidden{opacity:0;visibility:hidden}.md-editor-dropdown-overlay{margin-block-start:6px}.md-editor-modal-mask{position:fixed;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;z-index:20000;height:100%;background-color:var(--md-modal-mask)}.md-editor-modal{display:block;background-color:var(--md-bk-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;border-radius:3px;border:1px solid var(--md-border-color);position:fixed;z-index:20001;box-shadow:var(--md-modal-shadow)}.md-editor-modal-header{cursor:grab;display:flex;justify-content:space-between;padding-block:10px;padding-inline:24px;color:var(--md-color);font-weight:600;font-size:16px;line-height:22px;word-wrap:break-word;-webkit-user-select:none;user-select:none;border-block-end:1px solid var(--md-border-color);position:relative}.md-editor-modal-body{padding-block:20px;padding-inline:20px;font-size:14px;word-wrap:break-word;height:calc(100% - 43px);box-sizing:border-box}.md-editor-modal .md-editor-modal-func{position:absolute;inset-block-start:10px;inset-inline-end:10px}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust,.md-editor-modal .md-editor-modal-func .md-editor-modal-close{cursor:pointer;width:24px;height:24px;line-height:24px;text-align:center;display:inline-block}.md-editor-modal .md-editor-modal-func .md-editor-modal-adjust{padding-inline-end:10px}.animation{animation-duration:.15s;animation-fill-mode:forwards}@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoom-in{animation-name:zoomIn;animation-duration:.15s;animation-fill-mode:forwards}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.zoom-out{animation-name:zoomOut;animation-duration:.15s;animation-fill-mode:forwards}.md-editor-custom-scrollbar{position:relative;overflow:hidden;height:100%}.md-editor-custom-scrollbar__track{position:absolute;inset-block-start:0;inset-inline-end:0;width:6px;height:100%;background:var(--md-scrollbar-bg-color)}.md-editor-custom-scrollbar__thumb{position:absolute;width:6px;background:var(--md-scrollbar-thumb-color);border-radius:4px;cursor:pointer;transition:background .2s}.md-editor-custom-scrollbar__thumb:hover{background:var(--md-scrollbar-thumb-hover-color)}.md-editor-content{direction:ltr;position:relative;display:flex;flex:1;height:0;flex-shrink:0}.md-editor-content-wrapper{display:flex;flex:1;width:0;position:relative}.md-editor-resize-operate{position:absolute;width:2px;height:100%;background-color:var(--md-bk-color);z-index:1;cursor:col-resize}.md-editor-input-wrapper{height:100%;box-sizing:border-box}.md-editor-preview-wrapper{position:relative;height:100%;box-sizing:border-box;overflow:auto;scrollbar-width:none}[dir=rtl] .md-editor-preview-wrapper{direction:rtl}.md-editor-preview-wrapper::-webkit-scrollbar{display:none}.md-editor-html{font-size:16px;word-break:break-all}.md-editor-catalog-editor{position:relative;overflow-x:hidden;overflow-y:auto;height:100%;background-color:var(--md-bk-color);border-inline-start:1px solid var(--md-border-color);width:200px;box-sizing:border-box;margin-block:0;margin-inline:0;padding-block:5px;padding-inline:10px;font-size:14px;font-variant:tabular-nums;line-height:1.5;list-style:none;font-feature-settings:"tnum";scrollbar-width:none}.md-editor-catalog-editor::-webkit-scrollbar{display:none}.md-editor-catalog-fixed{position:absolute;inset-block-start:0;inset-inline-end:0;z-index:10002}.md-editor-catalog-flat{position:initial;flex-shrink:0}.md-editor-footer{height:24px;flex-shrink:0;font-size:12px;color:var(--md-color);border-block-start:1px solid var(--md-border-color);display:flex;justify-content:space-between}.md-editor-footer-item{display:inline-flex;align-items:center;height:100%;padding-block:0;padding-inline:10px}.md-editor-footer-item+.md-editor-footer-item{padding-inline-start:0}.md-editor-footer-label{padding-inline-end:5px;line-height:1}.md-editor-clip{position:relative;display:flex;height:calc(100% - 52px)}.md-editor-clip-main,.md-editor-clip-preview{width:50%;height:100%;border:1px solid var(--md-border-color)}.md-editor-clip-main{margin-inline-end:1em}.md-editor-clip-main .md-editor-clip-cropper{position:relative;width:100%;height:100%}.md-editor-clip-main .md-editor-clip-cropper .md-editor-clip-delete{position:absolute;inset-block-start:0;inset-inline-end:0;font-size:0;background-color:var(--md-bk-color-outstand);border-end-start-radius:4px;color:var(--md-color);cursor:pointer}.md-editor-clip-main .md-editor-clip-upload{display:flex;align-items:center;justify-content:center;width:100%;height:100%;cursor:pointer}.md-editor-clip-main .md-editor-clip-upload .md-editor-icon,.md-editor-clip-main .md-editor-clip-upload .md-editor-iconfont{width:auto;height:40px;font-size:40px}.md-editor-clip-preview-target{width:100%;height:100%;overflow:hidden}.md-editor-form-item{margin-block-end:20px;text-align:center}.md-editor-form-item:last-of-type{margin-block-end:0}.md-editor-label{font-size:14px;color:var(--md-color);width:80px;text-align:center;display:inline-block}.md-editor-input{border-radius:4px;padding-block:4px;padding-inline:11px;color:var(--md-color);font-size:14px;line-height:1.5715;background-color:var(--md-bk-color);background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor-input:focus,.md-editor-input:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor-input:focus{border-color:var(--md-border-active-color)}.md-editor-btn{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;-webkit-user-select:none;user-select:none;height:32px;padding-block:0;padding-inline:15px;font-size:14px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:var(--md-bk-color);border-color:var(--md-border-color);margin-inline-start:10px}.md-editor-btn:first-of-type{margin-inline-start:0}.md-editor-btn:hover{color:var(--md-hover-color);background-color:var(--md-bk-color);border-color:var(--md-border-hover-color)}.md-editor-btn-row{width:100%}@media(max-width:688px){.md-editor-modal-clip .md-editor-modal{max-width:calc(100% - 20px);max-height:calc(100% - 20px);margin-block:10px;margin-inline:10px;inset-inline-start:0!important}.md-editor-modal-clip .md-editor-clip{flex-direction:column}.md-editor-modal-clip .md-editor-clip-main,.md-editor-modal-clip .md-editor-clip-preview{width:100%;height:0;flex:1}.md-editor-modal-clip .md-editor-clip-main{margin-block-end:1em}}.md-editor-menu{margin-block:0;margin-inline:0;padding-block:0;padding-inline:0;border-radius:3px;border:1px solid var(--md-border-color);background-color:inherit}.md-editor-menu-item{list-style:none;font-size:12px;color:var(--md-color);padding-block:4px;padding-inline:10px;cursor:pointer;line-height:16px}.md-editor-menu-item:first-of-type{padding-block-start:8px}.md-editor-menu-item:last-of-type{padding-block-end:8px}.md-editor-menu-item:hover{background-color:var(--md-bk-hover-color)}.md-editor-table-shape{padding-block:4px;padding-inline:4px;border-radius:3px;border:1px solid var(--md-border-color);display:flex;flex-direction:column}.md-editor-table-shape-row{display:flex}.md-editor-table-shape-col{padding-block:2px;padding-inline:2px;cursor:pointer}.md-editor-table-shape-col-default{width:16px;height:16px;background-color:#e0e0e0;border-radius:3px;transition:all .2s}.md-editor-table-shape-col-include{background-color:#aaa}.md-editor-toolbar-wrapper{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;flex-shrink:0;padding-block:4px;padding-inline:4px;border-block-end:1px solid var(--md-border-color)}.md-editor-toolbar-wrapper::-webkit-scrollbar{height:0!important}.md-editor-toolbar{display:flex;justify-content:space-between;align-items:center;box-sizing:content-box}.md-editor-toolbar-item{color:var(--md-color);display:flex;flex-direction:column;align-items:center;margin-block:0;margin-inline:2px;padding-block:0;padding-inline:2px;transition:all .3s;border-radius:3px;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;text-align:center;border:none;background-color:transparent}.md-editor-toolbar-item-name{font-size:12px;word-break:keep-all;white-space:nowrap}.md-editor-toolbar-item:not([disabled]):hover{background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-active{background-color:var(--md-bk-color-outstand)}.md-editor-toolbar-left,.md-editor-toolbar-right{padding-block:1px;padding-inline:0;display:flex;align-items:center}.md-editor .md-editor-stn .md-editor-toolbar-item{padding-block:0;padding-inline:6px}.md-editor-dark .md-editor-table-shape-col-default{background-color:#222}.md-editor-dark .md-editor-table-shape-col-include{background-color:#555}.md-editor-floating-toolbar{padding-block:4px;padding-inline:4px;display:flex;align-items:center}.md-editor-floating-toolbar-container{opacity:0;transition:opacity .12s ease-out;transition-delay:20ms;will-change:opacity}.md-editor-floating-toolbar-container[data-state=visible]{opacity:1}.md-editor-floating-toolbar-container .cm-tooltip-arrow{transition:opacity .12s ease-out;opacity:0}.md-editor-floating-toolbar-container[data-state=visible] .cm-tooltip-arrow{opacity:1}.md-editor .cm-editor{direction:ltr;font-size:14px;height:100%}.md-editor .cm-editor.cm-focused{outline:none}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete{border-radius:3px}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul{border-radius:3px;min-width:fit-content;max-width:fit-content}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li{background-color:var(--md-bk-color);color:var(--md-color);padding-block:4px;padding-inline:10px;line-height:16px}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li .cm-completionIcon{width:auto}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete>ul li[aria-selected]{background-color:var(--md-bk-hover-color)}.md-editor .cm-editor .cm-tooltip.cm-tooltip-autocomplete .cm-completionInfo{margin-block-start:-2px;margin-inline-start:3px;padding-block:4px;padding-inline:9px;border-radius:3px;overflow:hidden;background-color:var(--md-bk-hover-color);color:var(--md-color)}.md-editor .cm-scroller{scrollbar-width:none}.md-editor .cm-scroller::-webkit-scrollbar{display:none}.md-editor .cm-scroller .cm-content[contenteditable=true]{margin-block:10px;margin-inline:10px;min-height:calc(100% - 20px)}.md-editor .cm-scroller .cm-gutters+.cm-content[contenteditable=true]{margin-block:0;margin-inline:0;min-height:100%}.md-editor .cm-scroller .cm-line{line-height:inherit}.md-editor .ͼ1 .cm-scroller{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;line-height:20px}.md-editor .cm-search .cm-textfield{border-radius:4px;padding-block:4px;padding-inline:11px;color:var(--md-color);font-size:10px;background-image:none;border:1px solid var(--md-border-color);transition:all .2s}.md-editor .cm-search .cm-textfield:focus,.md-editor .cm-search .cm-textfield:hover{border-color:var(--md-border-hover-color);outline:0}.md-editor .cm-search .cm-textfield:focus{border-color:var(--md-border-active-color)}.md-editor .cm-search .cm-button{font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;border:1px solid var(--md-border-color);white-space:nowrap;-webkit-user-select:none;user-select:none;height:20px;padding-block:0;padding-inline:15px;font-size:10px;border-radius:4px;transition:all .2s linear;color:var(--md-color);background-color:inherit;background-image:none;border-color:var(--md-border-color)}.md-editor .cm-search .cm-button:first-of-type{margin-inline-start:0}.md-editor .cm-search .cm-button:hover{color:var(--md-hover-color);background-color:inherit;border-color:var(--md-border-hover-color)}.md-editor .cm-search input[type=checkbox]{vertical-align:sub}.md-editor .cm-search input[type=checkbox]:after{display:block;content:"";font-weight:700;cursor:pointer;width:12px;height:12px;border:1px solid var(--md-border-color);background-color:var(--md-bk-color-outstand);border-radius:2px;line-height:1;text-align:center}.md-editor .cm-search input[type=checkbox]:checked:after{content:"✓";color:var(--md-color)}.md-editor .cm-search button[name=close]{color:inherit;cursor:pointer;inset-inline-end:6px}.md-editor-fullscreen{position:fixed!important;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;width:auto!important;height:auto!important;z-index:10000}.md-editor-disabled{cursor:not-allowed!important;opacity:.6}.md-editor .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #eee;--md-theme-color-hover: #eee;--md-theme-color-hover-inset: #ddd;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #e6e6e6;--md-theme-border-color-reverse: #bebebe;--md-theme-border-color-inset: #d6d6d6;--md-theme-bg-color: #fff;--md-theme-bg-color-inset: #ececec;--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #fff;--md-theme-code-active-color: #61aeee;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor-dark .md-editor-preview{--md-theme-color: var(--md-color);--md-theme-color-reverse: #222;--md-theme-color-hover: #191919;--md-theme-color-hover-inset: #444;--md-theme-link-color: #2d8cf0;--md-theme-link-hover-color: #73d13d;--md-theme-border-color: #2d2d2d;--md-theme-border-color-reverse: #e6e6e6;--md-theme-border-color-inset: #5a5a5a;--md-theme-bg-color: #000;--md-theme-bg-color-inset: #111;--md-theme-code-copy-tips-color: inherit;--md-theme-code-copy-tips-bg-color: #3a3a3a;--md-theme-code-active-color: #e6c07b;--md-theme-radius-s: 2px;--md-theme-radius-m: 5px}.md-editor .md-editor-admonition-note{--md-admonition-color: #212121;--md-admonition-bg-color: #FFFFFF;--md-admonition-border-color: rgb(166.2, 166.2, 166.2)}.md-editor .md-editor-admonition-tip{--md-admonition-color: #616161;--md-admonition-bg-color: #F5F5F5;--md-admonition-border-color: rgb(185.8, 185.8, 185.8)}.md-editor .md-editor-admonition-info{--md-admonition-color: #424242;--md-admonition-bg-color: #F0F0F0;--md-admonition-border-color: rgb(170.4, 170.4, 170.4)}.md-editor .md-editor-admonition-quote{--md-admonition-color: #455a64;--md-admonition-bg-color: #eceff1;--md-admonition-border-color: rgb(169.2, 179.4, 184.6)}.md-editor .md-editor-admonition-abstract{--md-admonition-color: #0288d1;--md-admonition-bg-color: #e1f5fe;--md-admonition-border-color: rgb(135.8, 201.4, 236)}.md-editor .md-editor-admonition-attention{--md-admonition-color: #1e88e5;--md-admonition-bg-color: #e3f2fd;--md-admonition-border-color: rgb(148.2, 199.6, 243.4)}.md-editor .md-editor-admonition-example{--md-admonition-color: #5e35b1;--md-admonition-bg-color: #ede7f6;--md-admonition-border-color: rgb(179.8, 159.8, 218.4)}.md-editor .md-editor-admonition-hint{--md-admonition-color: #00897B;--md-admonition-bg-color: #E0F2F1;--md-admonition-border-color: rgb(134.4, 200, 193.8)}.md-editor .md-editor-admonition-success{--md-admonition-color: #388e3c;--md-admonition-bg-color: #e8f5e9;--md-admonition-border-color: rgb(161.6, 203.8, 163.8)}.md-editor .md-editor-admonition-question{--md-admonition-color: #f9a825;--md-admonition-bg-color: #fffde7;--md-admonition-border-color: rgb(252.6, 219, 153.4)}.md-editor .md-editor-admonition-caution{--md-admonition-color: #fb8c00;--md-admonition-bg-color: #fff8e1;--md-admonition-border-color: rgb(253.4, 204.8, 135)}.md-editor .md-editor-admonition-warning{--md-admonition-color: #f57c00;--md-admonition-bg-color: #fff3e0;--md-admonition-border-color: rgb(251, 195.4, 134.4)}.md-editor .md-editor-admonition-danger{--md-admonition-color: #d84315;--md-admonition-bg-color: #ffebee;--md-admonition-border-color: rgb(239.4, 167.8, 151.2)}.md-editor .md-editor-admonition-failure{--md-admonition-color: #d32f2f;--md-admonition-bg-color: #fee2e6;--md-admonition-border-color: rgb(236.8, 154.4, 156.8)}.md-editor .md-editor-admonition-bug{--md-admonition-color: #c31a1a;--md-admonition-bg-color: #fddadd;--md-admonition-border-color: rgb(229.8, 141.2, 143)}.md-editor .md-editor-admonition-error{--md-admonition-color: #b71c1c;--md-admonition-bg-color: #fdd2d6;--md-admonition-border-color: rgb(225, 137.2, 139.6)}.md-editor-dark .md-editor-admonition-note{--md-admonition-color: #E0E0E0;--md-admonition-bg-color: #1E1E1E;--md-admonition-border-color: rgb(107.6, 107.6, 107.6)}.md-editor-dark .md-editor-admonition-tip{--md-admonition-color: #B0B0B0;--md-admonition-bg-color: #262626;--md-admonition-border-color: rgb(93.2, 93.2, 93.2)}.md-editor-dark .md-editor-admonition-info{--md-admonition-color: #B3B3B3;--md-admonition-bg-color: #2B2B2B;--md-admonition-border-color: rgb(97.4, 97.4, 97.4)}.md-editor-dark .md-editor-admonition-quote{--md-admonition-color: #b0bec5;--md-admonition-bg-color: #263238;--md-admonition-border-color: rgb(93.2, 106, 112.4)}.md-editor-dark .md-editor-admonition-abstract{--md-admonition-color: #81d4fa;--md-admonition-bg-color: #012f45;--md-admonition-border-color: rgb(52.2, 113, 141.4)}.md-editor-dark .md-editor-admonition-attention{--md-admonition-color: #64b5f6;--md-admonition-bg-color: #102a4c;--md-admonition-border-color: rgb(49.6, 97.6, 144)}.md-editor-dark .md-editor-admonition-example{--md-admonition-color: #9575cd;--md-admonition-bg-color: #271b52;--md-admonition-border-color: rgb(83, 63, 131.2)}.md-editor-dark .md-editor-admonition-hint{--md-admonition-color: #4DB6AC;--md-admonition-bg-color: #003D3A;--md-admonition-border-color: rgb(30.8, 109.4, 103.6)}.md-editor-dark .md-editor-admonition-success{--md-admonition-color: #81c784;--md-admonition-bg-color: #1b5e20;--md-admonition-border-color: rgb(67.8, 136, 72)}.md-editor-dark .md-editor-admonition-question{--md-admonition-color: #ffd54f;--md-admonition-bg-color: #3e2f00;--md-admonition-border-color: rgb(139.2, 113.4, 31.6)}.md-editor-dark .md-editor-admonition-caution{--md-admonition-color: #ffcc80;--md-admonition-bg-color: #3e2600;--md-admonition-border-color: rgb(139.2, 104.4, 51.2)}.md-editor-dark .md-editor-admonition-warning{--md-admonition-color: #ffb74d;--md-admonition-bg-color: #3d2600;--md-admonition-border-color: rgb(138.6, 96, 30.8)}.md-editor-dark .md-editor-admonition-danger{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0000;--md-admonition-border-color: rgb(131.6, 61.6, 61.6)}.md-editor-dark .md-editor-admonition-failure{--md-admonition-color: #ef9a9a;--md-admonition-bg-color: #3c0900;--md-admonition-border-color: rgb(131.6, 67, 61.6)}.md-editor-dark .md-editor-admonition-bug{--md-admonition-color: #e68381;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(120.8, 52.4, 51.6)}.md-editor-dark .md-editor-admonition-error{--md-admonition-color: #ef5350;--md-admonition-bg-color: #300000;--md-admonition-border-color: rgb(124.4, 33.2, 32)}.md-editor-preview .md-editor-admonition{background-color:var(--md-admonition-bg-color);border:1px solid var(--md-admonition-border-color);border-radius:var(--md-theme-radius-m);color:var(--md-admonition-color);display:flow-root;font-size:14px;font-weight:400;margin:1rem 0;padding:1em 1em .5em;page-break-inside:avoid}.md-editor-preview .md-editor-admonition-title{margin:0;padding:0;position:relative;font-weight:700}.md-editor-preview .md-editor-admonition p{margin:.5em 0;padding:0}.md-editor-preview .md-editor-admonition p:first-of-type{margin-block-start:0}.md-editor-preview .md-editor-admonition+p:empty,.md-editor-preview .md-editor-admonition+p:empty+p:empty{display:none}.md-editor-preview .md-editor-mermaid{overflow:hidden;line-height:normal}.md-editor-preview .md-editor-mermaid p{line-height:normal}.md-editor-preview .md-editor-mermaid:not([data-processed]){white-space:pre}.md-editor-preview [class=md-editor-mermaid][data-grab]{cursor:grab}.md-editor-preview [class=md-editor-mermaid][data-grab]:active{cursor:grabbing}.md-editor-preview [class=md-editor-mermaid][data-processed]{position:relative;display:flex;justify-content:center;align-items:center}.md-editor-preview [class=md-editor-mermaid][data-processed] svg{transform-origin:top left}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action{position:absolute;inset-block-start:10px;inset-inline-end:10px;z-index:1;opacity:0;transition:opacity .3s;cursor:pointer;display:flex;gap:8px}.md-editor-preview [class=md-editor-mermaid][data-processed] .md-editor-mermaid-action svg{padding:6px;border-radius:4px;background-color:var(--md-bk-color-outstand)}.md-editor-preview [class=md-editor-mermaid][data-processed]:hover .md-editor-mermaid-action{opacity:1}.md-editor-katex-block{text-align:center;margin:20px}.md-editor-katex-inline,.md-editor-katex-block{display:none;direction:ltr}.md-editor-katex-inline[data-processed]{display:initial}.md-editor-katex-block[data-processed]{display:block}.md-editor .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-dark .md-editor-preview{--md-theme-code-inline-color: #3594f7;--md-theme-code-inline-bg-color: rgba(59, 170, 250, .1);--md-theme-code-inline-radius: var(--md-theme-radius-s);--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: var(--md-theme-radius-m)}.md-editor-preview code{direction:ltr;color:var(--md-theme-code-inline-color);background-color:var(--md-theme-code-inline-bg-color);border-radius:var(--md-theme-code-inline-radius);padding:2px 4px;line-height:22px}.md-editor-preview .md-editor-code{color:var(--md-theme-code-block-color);font-size:12px;line-height:1;margin:20px 0;position:relative}.md-editor-preview .md-editor-code input[type=radio],.md-editor-preview .md-editor-code input[type=radio]+pre,.md-editor-preview .md-editor-code input[type=radio]+span.md-editor-code-lang{display:none}.md-editor-preview .md-editor-code input:checked+pre,.md-editor-preview .md-editor-code input:checked+span.md-editor-code-lang{display:block}.md-editor-preview .md-editor-code input:checked+label{border-block-end:1px solid;color:var(--md-theme-code-active-color)}.md-editor-preview .md-editor-code .md-editor-code-head{display:grid;grid-template:"1fr 1fr";justify-content:space-between;height:32px;width:100%;font-size:12px;background-color:var(--md-theme-code-before-bg-color);margin-block-end:0;border-start-start-radius:var(--md-theme-code-block-radius);border-start-end-radius:var(--md-theme-code-block-radius);-webkit-tap-highlight-color:rgba(0,0,0,0);list-style:none;position:sticky;top:0;z-index:10000}.md-editor-preview .md-editor-code .md-editor-code-head::-webkit-details-marker{display:none}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag{margin-inline-start:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span{display:inline-block;width:10px;height:10px;border-radius:50%;margin-block-start:11px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(1){background-color:#ec6a5e}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(2){background-color:#f4bf4f}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span:nth-of-type(3){background-color:#61c554}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag span+span{margin-inline-start:4px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label{box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none;background-color:var(--md-theme-code-block-bg-color);margin-block-start:8px;padding:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li{line-height:1;list-style:none;display:inline-block;position:relative;vertical-align:super;margin:0}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li label{cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-block;font-size:14px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-flag ul.md-editor-codetab-label li+li{margin-inline-start:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action{display:flex;align-items:center}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-action>*{margin-inline-end:10px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-code-lang{line-height:32px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon){cursor:pointer;line-height:32px;position:initial}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button:not(data-is-icon) .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]{cursor:pointer;line-height:1;position:relative}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon] .md-editor-icon{width:15px;height:15px;display:inline-block;vertical-align:sub}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before{content:attr(data-tips);color:var(--md-theme-code-copy-tips-color);background-color:var(--md-theme-code-copy-tips-bg-color);position:absolute;font-size:12px;font-family:sans-serif;width:max-content;text-align:center;padding:4px;border-radius:var(--md-theme-radius-s);box-shadow:0 0 2px #0003;inset-inline-start:-10px;inset-block-start:50%;transform:translate(-100%,-50%)}[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before{transform:translate(100%,-50%)}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:after{content:"";color:var(--md-theme-code-copy-tips-bg-color);position:absolute;width:0;height:0;border:5px solid rgba(0,0,0,0);border-inline-end-width:0;border-inline-start-color:currentColor;inset-inline-start:-10px;inset-block-start:50%;transform:translateY(-50%);filter:drop-shadow(4px 0 2px rgba(0,0,0,.2))}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:after{visibility:hidden;transition:.3s}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover:before,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-copy-button[data-is-icon]:hover:after{visibility:visible}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips{margin-inline-end:12px}.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{width:16px;height:16px;font-size:16px;display:inline-block;vertical-align:sub;transition:transform .1s;transform:rotate(0)}[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,[dir=rtl] .md-editor-preview .md-editor-code .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(180deg)}.md-editor-preview .md-editor-code pre{position:relative;margin:0}.md-editor-preview .md-editor-code pre code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:14px;color:var(--md-theme-code-block-color);background-color:var(--md-theme-code-before-bg-color);display:block;line-height:1.6;overflow:auto;padding:1em;position:relative;border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:var(--md-theme-code-block-radius);border-end-end-radius:var(--md-theme-code-block-radius)}.md-editor-preview .md-editor-code pre code .md-editor-code-block{display:inline-block;width:100%;overflow:auto;vertical-align:bottom;color:var(--md-theme-code-block-color)}.md-editor-preview details.md-editor-code .md-editor-code-head{cursor:pointer}.md-editor-preview details.md-editor-code:not(open) .md-editor-code-head{border-end-start-radius:var(--md-theme-code-block-radius);border-end-end-radius:var(--md-theme-code-block-radius)}.md-editor-preview details.md-editor-code[open] .md-editor-code-head{border-end-start-radius:0;border-end-end-radius:0}.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,.md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(-90deg)}[dir=rtl] .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-icon,[dir=rtl] .md-editor-preview details.md-editor-code[open] .md-editor-code-head .md-editor-collapse-tips .md-editor-iconfont{transform:rotate(270deg)}.md-editor-scrn span[rn-wrapper]{position:absolute;pointer-events:none;font-size:100%;inset-block-start:1em;inset-inline-start:0;width:3em;letter-spacing:-1px;-webkit-user-select:none;user-select:none;counter-reset:linenumber}.md-editor-scrn span[rn-wrapper]>span{display:block;pointer-events:none;counter-increment:linenumber}.md-editor-scrn span[rn-wrapper]>span:before{color:#999;display:block;padding-inline-end:.5em;text-align:right;content:counter(linenumber)}.md-editor-scrn pre code{padding-inline-start:3.5em!important}.md-editor-preview figure{margin:0 0 1em;display:inline-flex;flex-direction:column;text-align:center}.md-editor-preview figure figcaption{color:var(--md-theme-color);font-size:.875em;margin-block-start:5px}.md-editor .md-editor-preview{--md-theme-heading-color: var(--md-theme-color);--md-theme-heading-border: none;--md-theme-heading-1-color: var(--md-theme-heading-color);--md-theme-heading-1-border: var(--md-theme-heading-border);--md-theme-heading-2-color: var(--md-theme-heading-color);--md-theme-heading-2-border: var(--md-theme-heading-border);--md-theme-heading-3-color: var(--md-theme-heading-color);--md-theme-heading-3-border: var(--md-theme-heading-border);--md-theme-heading-4-color: var(--md-theme-heading-color);--md-theme-heading-4-border: var(--md-theme-heading-border);--md-theme-heading-5-color: var(--md-theme-heading-color);--md-theme-heading-5-border: var(--md-theme-heading-border);--md-theme-heading-6-color: var(--md-theme-heading-color);--md-theme-heading-6-border: var(--md-theme-heading-border)}.md-editor-preview h1,.md-editor-preview h2,.md-editor-preview h3,.md-editor-preview h4,.md-editor-preview h5,.md-editor-preview h6{position:relative;word-break:break-all;margin:1.4em 0 .8em;font-weight:700}.md-editor-preview h1 a,.md-editor-preview h2 a,.md-editor-preview h3 a,.md-editor-preview h4 a,.md-editor-preview h5 a,.md-editor-preview h6 a,.md-editor-preview h1 a:hover,.md-editor-preview h2 a:hover,.md-editor-preview h3 a:hover,.md-editor-preview h4 a:hover,.md-editor-preview h5 a:hover,.md-editor-preview h6 a:hover{color:inherit}.md-editor-preview h1{color:var(--md-theme-heading-1-color);border-block-end:var(--md-theme-heading-1-border)}.md-editor-preview h2{color:var(--md-theme-heading-2-color);border-block-end:var(--md-theme-heading-2-border)}.md-editor-preview h3{color:var(--md-theme-heading-3-color);border-block-end:var(--md-theme-heading-3-border)}.md-editor-preview h4{color:var(--md-theme-heading-4-color);border-block-end:var(--md-theme-heading-4-border)}.md-editor-preview h5{color:var(--md-theme-heading-5-color);border-block-end:var(--md-theme-heading-5-border)}.md-editor-preview h6{color:var(--md-theme-heading-6-color);border-block-end:var(--md-theme-heading-6-border)}.md-editor-preview h1{font-size:2em}.md-editor-preview h2{font-size:1.5em}.md-editor-preview h3{font-size:1.25em}.md-editor-preview h4{font-size:1em}.md-editor-preview h5{font-size:.875em}.md-editor-preview h6{font-size:.85em}.md-editor-preview hr{height:1px;margin:10px 0;border:none;border-block-start:1px solid var(--md-theme-border-color)}.md-editor-preview a{color:var(--md-theme-link-color);text-decoration:none;transition:color .1s}.md-editor-preview a:hover{color:var(--md-theme-link-hover-color)}.md-editor-preview a:empty:before{content:attr(href)}.md-editor-preview ol,.md-editor-preview ul{padding-inline-start:2em}.md-editor-preview ol .task-list-item,.md-editor-preview ul .task-list-item{list-style-type:none}.md-editor-preview ol .task-list-item input,.md-editor-preview ul .task-list-item input{margin-inline-start:-1.5em;margin-inline-end:.1em}.md-editor-preview img{max-width:100%}.md-editor-preview p:empty{display:none}.md-editor .md-editor-preview{--md-theme-quote-color: var(--md-theme-color);--md-theme-quote-border: none;--md-theme-quote-bg-color: inherit}.md-editor-preview blockquote{padding:0 1em;color:var(--md-theme-quote-color);border-inline-start:var(--md-theme-quote-border);background-color:var(--md-theme-quote-bg-color)}.md-editor .md-editor-preview{--md-theme-table-stripe-color: #fafafa;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-dark .md-editor-preview{--md-theme-table-stripe-color: #0c0c0c;--md-theme-table-tr-bg-color: inherit;--md-theme-table-td-border-color: var(--md-theme-border-color)}.md-editor-preview table tr{background-color:var(--md-theme-table-tr-bg-color)}.md-editor-preview table tr th,.md-editor-preview table tr td{border:1px solid var(--md-theme-table-td-border-color)}.md-editor-preview table tr:nth-child(2n){background-color:var(--md-theme-table-stripe-color)}.md-editor-preview{color:var(--md-theme-color)}.md-editor-preview ::-webkit-scrollbar{width:6px;height:6px}.md-editor-preview ::-webkit-scrollbar-button:vertical{display:none}.md-editor-preview ::-webkit-scrollbar-corner,.md-editor-preview ::-webkit-scrollbar-track,.md-editor-preview ::-webkit-scrollbar-thumb{border-radius:2px}.md-editor .md-editor-preview ::-webkit-scrollbar-corner,.md-editor .md-editor-preview ::-webkit-scrollbar-track{background-color:#e2e2e2}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#0000004d}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#00000059}.md-editor .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#00000061}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-corner,.md-editor-dark .md-editor-preview ::-webkit-scrollbar-track{background-color:#0f0f0f}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb{background-color:#2d2d2d}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:hover{background-color:#3a3a3a}.md-editor-dark .md-editor-preview ::-webkit-scrollbar-thumb:vertical:active{background-color:#3a3a3a}.md-editor div.default-theme{--md-theme-code-copy-tips-color: #141414}.md-editor-dark div.default-theme{--md-theme-code-copy-tips-color: inherit}div.default-theme img{margin:0 auto;box-sizing:border-box}div.default-theme a{display:inline-flex;line-height:1;border-block-end:none}div.default-theme a:hover{border-block-end:1px solid}div.default-theme a[target=_blank]{align-items:center}div.default-theme a[target=_blank]:after{content:"";display:inline-block;width:16px;height:16px;margin-inline-start:2px;background-color:currentColor;-webkit-mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');mask-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-square-arrow-out-up-right"><path d="M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6"/><path d="m21 3-9 9"/><path d="M15 3h6v6"/></svg>');-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}div.default-theme ol,div.default-theme ul{margin:.6em 0}div.default-theme ol li,div.default-theme ul li{line-height:1.6;margin:.5em 0}div.default-theme p{line-height:1.6;margin:.5rem 0}.md-editor div.default-theme{--md-theme-quote-border: 5px solid #35b378;--md-theme-quote-bg-color: var(--md-theme-bg-color-inset)}div.default-theme blockquote{margin:20px 0;padding:0 1.2em;line-height:2em;display:flow-root}.md-editor default-theme{--md-theme-table-stripe-color: #fafafa}.md-editor-dark default-theme{--md-theme-table-stripe-color: #0c0c0c}div.default-theme table{overflow:auto;border-spacing:0;border-collapse:collapse;margin-block-end:1em;margin-block-start:1em}div.default-theme table tr th,div.default-theme table tr td{word-wrap:break-word;padding:8px 14px}div.default-theme table tbody tr:hover{background-color:var(--md-theme-color-hover)}div.default-theme blockquote table{line-height:initial}div.default-theme blockquote table tr th,div.default-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.default-theme blockquote table tbody tr:nth-child(n){background-color:inherit}div.default-theme blockquote table tbody tr:hover{background-color:var(--md-theme-color-hover-inset)}.md-editor div.vuepress-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #f8f8f8;--md-theme-code-block-color: #747384;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}.md-editor-dark div.vuepress-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 2px}div.vuepress-theme code{padding:3px 5px;margin:0 2px}div.vuepress-theme .md-editor-code pre{font-size:.875em;margin:0 0 1em}div.vuepress-theme .md-editor-code pre code{white-space:pre;padding:22px 1em;margin:0}div.vuepress-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.vuepress-theme{--md-theme-heading-color: #273849;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}.md-editor-dark div.vuepress-theme{--md-theme-heading-color: #999;--md-theme-heading-2-border: 1px solid var(--md-theme-border-color)}div.vuepress-theme h1,div.vuepress-theme h2,div.vuepress-theme h3,div.vuepress-theme h4,div.vuepress-theme h5,div.vuepress-theme h6{font-weight:600;line-height:1.45;position:relative;margin-block-start:1em}div.vuepress-theme h1{font-size:2.2em;margin:1em 0}div.vuepress-theme h2{font-size:1.65em;padding-block-end:.3em}div.vuepress-theme h3{line-height:1.35em}.md-editor div.vuepress-theme{--md-theme-link-color: #42b983}div.vuepress-theme a{font-weight:600}div.vuepress-theme ul,div.vuepress-theme ol{position:relative;line-height:1.4em;margin:1.2em 0;z-index:1}div.vuepress-theme ul li,div.vuepress-theme ol li{margin:1.2em 0}div.vuepress-theme p{word-spacing:.05em;line-height:1.6em;margin:1.2em 0;position:relative}.md-editor div.vuepress-theme{--md-theme-quote-border: 4px solid #42b983}div.vuepress-theme blockquote{margin:2em 0;padding-inline-start:20px}div.vuepress-theme blockquote p{margin-inline-start:0;margin-block-start:1.2em;margin-block-end:0;padding:0}.md-editor div.vuepress-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.vuepress-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.vuepress-theme table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}div.vuepress-theme table tr th,div.vuepress-theme table tr td{padding:.6em 1em}.md-editor div.vuepress-theme{--md-theme-color: #304455}.md-editor-dark div.vuepress-theme{--md-theme-color: #999}div.vuepress-theme{font-size:16px;color:var(--md-theme-color)}div.vuepress-theme em{color:#4f5959;padding:0 6px 0 4px}.md-editor div.github-theme{--md-theme-code-inline-color: inherit;--md-theme-code-inline-bg-color: #eff1f2;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: inherit;--md-theme-code-block-bg-color: #f6f8fa;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}.md-editor-dark div.github-theme{--md-theme-code-inline-color: #c9d1d9;--md-theme-code-inline-bg-color: #2d3339;--md-theme-code-inline-radius: 6px;--md-theme-code-block-color: #a9b7c6;--md-theme-code-block-bg-color: #161b22;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 6px}div.github-theme code{padding:.2em .4em;margin:0}div.github-theme pre code{padding:22px 1em;margin-block-end:0;word-break:normal;letter-spacing:1px}.md-editor div.github-theme{--md-theme-heading-color: inherit;--md-theme-heading-6-color: #2d3339;--md-theme-heading-1-border: 1px solid #d9dee4;--md-theme-heading-2-border: 1px solid #d9dee4}.md-editor-dark div.github-theme{--md-theme-heading-color: #c9d1d9;--md-theme-heading-6-color: #768390;--md-theme-heading-1-border: 1px solid #373e47;--md-theme-heading-2-border: 1px solid #373e47}div.github-theme h1,div.github-theme h2,div.github-theme h3,div.github-theme h4,div.github-theme h5,div.github-theme h6{margin-block-start:24px;margin-block-end:16px;font-weight:600;line-height:1.25}div.github-theme h1{padding-block-end:.3em;font-size:2em}div.github-theme h2{padding-block-end:.3em;font-size:1.5em}div.github-theme h3{font-size:1.25em}div.github-theme h4{font-size:1em}div.github-theme h5{font-size:.875em}div.github-theme h6{font-size:.85em}.md-editor div.github-theme{--md-theme-heading-bg-color: #fff}.md-editor-dark div.github-theme{--md-theme-heading-bg-color: #22272e}div.github-theme img{background-color:var(--md-theme-heading-bg-color)}.md-editor div.github-theme{--md-theme-link-color: #539bf5;--md-theme-link-hover-color: #539bf5}div.github-theme a:hover{text-decoration:underline}div.github-theme ol li+li,div.github-theme ul li+li{margin-block-start:.25em}.md-editor div.github-theme{--md-theme-quote-color: #57606a;--md-theme-quote-border: .25em solid #d0d7de}.md-editor-dark div.github-theme{--md-theme-quote-color: #8b949e;--md-theme-quote-border: .25em solid #444c56}div.github-theme blockquote{margin:0;padding:0 1em}.md-editor div.github-theme{--md-theme-table-stripe-color: #f7f8fa;--md-theme-table-tr-bg-color: #fff;--md-theme-table-td-border-color: #d0d7de}.md-editor-dark div.github-theme{--md-theme-table-stripe-color: #161b22;--md-theme-table-tr-bg-color: transparent;--md-theme-table-td-border-color: #30363d}div.github-theme table{display:block;max-width:100%;overflow:auto;border-spacing:0;border-collapse:collapse}div.github-theme table tr th,div.github-theme table tr td{padding:6px 13px}.md-editor div.github-theme{--md-theme-color: #222}.md-editor-dark div.github-theme{--md-theme-color: #c9d1d9}div.github-theme{line-height:1.5;color:var(--md-theme-color)}div.github-theme p,div.github-theme blockquote,div.github-theme ul,div.github-theme ol,div.github-theme dl,div.github-theme table,div.github-theme pre,div.github-theme details{margin-block-start:0;margin-block-end:16px}.md-editor div.cyanosis-theme,.md-editor-dark div.cyanosis-theme{--md-theme-code-inline-color: var(--md-theme-code-color);--md-theme-code-inline-bg-color: var(--md-theme-code-bg-color);--md-theme-code-block-color: var(--md-theme-base-color);--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.cyanosis-theme code{padding:.065em .4em;font-family:Menlo,Monaco,Consolas,Courier New,monospace;overflow-x:auto}div.cyanosis-theme code::selection{background-color:var(--md-theme-slct-codebg-color)}div.cyanosis-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.cyanosis-theme .md-editor-code pre code{padding:11px 12px 22px;margin:0;word-break:normal;line-height:1.75}div.cyanosis-theme .md-editor-code pre code span[rn-wrapper]{top:11px}.md-editor div.cyanosis-theme{--md-theme-heading-color: var(--md-theme-title-color)}div.cyanosis-theme h1{padding-block-end:4px;margin-block-start:36px;margin-block-end:10px;font-size:30px;line-height:1.5;transition:color .35s}div.cyanosis-theme h2{position:relative;padding-inline-start:10px;padding-inline-end:10px;padding-block-end:10px;margin-block-start:36px;margin-block-end:10px;font-size:24px;line-height:1.5;border-block-end:1px solid var(--md-theme-border-color-2);transition:color .35s}div.cyanosis-theme h2:before{content:"「";position:absolute;inset-block-start:-6px;inset-inline-start:-14px}div.cyanosis-theme h2:after{content:"」";position:relative;inset-block-start:6px;inset-inline-end:auto}div.cyanosis-theme h3{position:relative;padding-block-end:0;margin-block-start:30px;margin-block-end:10px;font-size:20px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h3:before{content:"»";padding-inline-end:6px;color:var(--md-theme-strong-color)}div.cyanosis-theme h4{padding-block-end:0;margin-block-start:24px;margin-block-end:10px;font-size:16px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h5{padding-block-end:0;margin-block-start:18px;margin-block-end:10px;font-size:14px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h6{padding-block-end:0;margin-block-start:12px;margin-block-end:10px;font-size:12px;line-height:1.5;padding-inline-start:6px;transition:color .35s}div.cyanosis-theme h1::selection,div.cyanosis-theme h2::selection,div.cyanosis-theme h3::selection,div.cyanosis-theme h4::selection,div.cyanosis-theme h5::selection,div.cyanosis-theme h6::selection{color:var(--md-theme-slct-title-color);background-color:var(--md-theme-slct-titlebg-color)}@media(max-width:720px){div.cyanosis-theme h1{font-size:24px}div.cyanosis-theme h2{font-size:20px}div.cyanosis-theme h3{font-size:18px}}.md-editor div.cyanosis-theme{--md-theme-link-color: var(--md-theme-link-color);--md-theme-link-hover-color: var(--md-theme-linkh-color)}div.cyanosis-theme a{position:relative;display:inline-block;text-decoration:none;border-block-end:1px solid var(--md-theme-border-color)}div.cyanosis-theme a:hover{border-block-end-color:var(--md-theme-linkh-color)}div.cyanosis-theme a:active{color:var(--md-theme-linkh-color)}div.cyanosis-theme a:after{position:absolute;content:"";inset-block-start:100%;inset-inline-start:0;width:100%;opacity:0;border-block-end:1px solid var(--md-theme-border-color);transition:top .3s,opacity .3s;transform:translateZ(0)}div.cyanosis-theme a:hover:after{top:0;opacity:1;border-block-end-color:var(--md-theme-linkh-color)}div.cyanosis-theme ol,div.cyanosis-theme ul{margin:0}div.cyanosis-theme ol li,div.cyanosis-theme ul li{margin-block-end:0;list-style:inherit}div.cyanosis-theme ol li .task-list-item,div.cyanosis-theme ul li .task-list-item{list-style:none}div.cyanosis-theme ol li .task-list-item ul,div.cyanosis-theme ol li .task-list-item ol,div.cyanosis-theme ul li .task-list-item ul,div.cyanosis-theme ul li .task-list-item ol{margin-block-start:0}div.cyanosis-theme ol ul,div.cyanosis-theme ol ol,div.cyanosis-theme ul ul,div.cyanosis-theme ul ol{margin-block-start:4px}div.cyanosis-theme ol li{padding-inline-start:6px}div.cyanosis-theme ol li::selection,div.cyanosis-theme ul li::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}div.cyanosis-theme .task-list-item-checkbox{position:relative}div.cyanosis-theme .contains-task-list input[type=checkbox]:before{content:"";position:absolute;inset-block-start:0;inset-inline-start:0;inset-inline-end:0;inset-block-end:0;width:inherit;height:inherit;background:#f0f8ff;border:1px solid #add6ff;border-radius:var(--md-theme-radius-s);box-sizing:border-box;z-index:1}div.cyanosis-theme .contains-task-list input[type=checkbox][checked]:after{content:"✓";position:absolute;inset-block-start:-12px;inset-inline-start:0;inset-inline-end:0;inset-block-end:0;width:0;height:0;color:#f55;font-size:20px;font-weight:700;z-index:2}div.cyanosis-theme p{line-height:inherit;margin-block-start:16px;margin-block-end:16px}div.cyanosis-theme p::selection{color:var(--md-theme-slct-text-color);background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-quote-color: var(--md-theme-blockquote-color);--md-theme-quote-border: 4px solid var(--md-theme-strong-color);--md-theme-quote-bg-color: var(--md-theme-blockquote-bg-color)}div.cyanosis-theme blockquote{padding:1px 20px;margin:22px 0;transition:color .35s}div.cyanosis-theme blockquote:after{display:block;content:""}div.cyanosis-theme blockquote>p{margin:10px 0}div.cyanosis-theme blockquote>b,div.cyanosis-theme blockquote>strong{color:var(--md-theme-strong-color)}div.cyanosis-theme table{display:inline-block!important;width:auto;max-width:100%;overflow:auto;border:1px solid var(--md-theme-table-border-color);border-spacing:0;border-collapse:collapse}div.cyanosis-theme table thead{color:#000;text-align:left;background:#f6f6f6}div.cyanosis-theme table tr:nth-child(2n){background-color:var(--md-theme-table-tr-nc-color)}div.cyanosis-theme table tr:hover{background-color:var(--md-theme-table-trh-color)}div.cyanosis-theme table th,div.cyanosis-theme table td{padding:12px 8px;line-height:24px;border:1px solid var(--md-theme-table-border-color)}div.cyanosis-theme table th{color:var(--md-theme-table-tht-color);background-color:var(--md-theme-table-th-color)}div.cyanosis-theme table td{min-width:120px}div.cyanosis-theme table thead th::selection{background-color:#0000}div.cyanosis-theme table tbody td::selection{background-color:var(--md-theme-slct-bg-color)}.md-editor div.cyanosis-theme{--md-theme-base-color:#353535;--md-theme-title-color:#005bb7;--md-theme-strong-color:#2196f3;--md-theme-em-color:#4fc3f7;--md-theme-del-color:#ccc;--md-theme-link-color:#3da8f5;--md-theme-linkh-color:#007fff;--md-theme-border-color:#bedcff;--md-theme-border-color-2:#ececec;--md-theme-bg-color:#fff;--md-theme-blockquote-color:#8c8c8c;--md-theme-blockquote-bg-color:#f0fdff;--md-theme-code-color:#c2185b;--md-theme-code-bg-color:#fff4f4;--md-theme-code-block-bg-color:#f8f8f8;--md-theme-table-border-color:#c3e0fd;--md-theme-table-th-color:#dff0ff;--md-theme-table-tht-color:#005bb7;--md-theme-table-tr-nc-color:#f7fbff;--md-theme-table-trh-color:#e0edf7;--md-theme-slct-title-color:#005bb7;--md-theme-slct-titlebg-color:rgba(175,207,247,.25);--md-theme-slct-text-color:#c80000;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#e8ebec;--md-theme-slct-codebg-color:#ffeaeb;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}.md-editor-dark div.cyanosis-theme{--md-theme-base-color:#cacaca;--md-theme-title-color:#ddd;--md-theme-strong-color:#fe9900;--md-theme-em-color:#ffd28e;--md-theme-del-color:#ccc;--md-theme-link-color:#ffb648;--md-theme-linkh-color:#fe9900;--md-theme-border-color:#ffe3ba;--md-theme-border-color-2:#ffcb7b;--md-theme-bg-color:#2f2f2f;--md-theme-blockquote-color:#c7c7c7;--md-theme-blockquote-bg-color:rgba(255,199,116,.1);--md-theme-code-color:#000;--md-theme-code-bg-color:#ffcb7b;--md-theme-code-block-bg-color:rgba(30,25,18,.5);--md-theme-table-border-color:#fe9900;--md-theme-table-th-color:#ffb648;--md-theme-table-tht-color:#000;--md-theme-table-tr-nc-color:#6d5736;--md-theme-table-trh-color:#947443;--md-theme-slct-title-color:#000;--md-theme-slct-titlebg-color:#fe9900;--md-theme-slct-text-color:#00c888;--md-theme-slct-bg-color:rgba(175,207,247,.25);--md-theme-slct-del-color:#999;--md-theme-slct-elbg-color:#000;--md-theme-slct-codebg-color:#ffcb7b;--md-theme-slct-prebg-color:rgba(160,200,255,.25)}div.cyanosis-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;color:var(--md-theme-base-color);transition:color .35s}div.cyanosis-theme hr{position:relative;width:98%;height:1px;margin-block-start:32px;margin-block-end:32px;background-image:linear-gradient(90deg,var(--md-theme-link-color),rgba(255,0,0,.3),rgba(37,163,65,.3),rgba(255,0,0,.3),var(--md-theme-link-color));border-width:0;overflow:visible}div.cyanosis-theme b,div.cyanosis-theme strong{color:var(--md-theme-strong-color)}div.cyanosis-theme i,div.cyanosis-theme em{color:var(--md-theme-em-color)}div.cyanosis-theme del{color:var(--md-theme-del-color)}div.cyanosis-theme details>summary{outline:none;color:var(--md-theme-title-color);font-size:20px;font-weight:bolder;border-block-end:1px solid var(--md-theme-border-color);cursor:pointer}div.cyanosis-theme details>p{padding:10px 20px;margin:10px 0 0;color:#666;background-color:var(--md-theme-blockquote-bg-color);border:2px dashed var(--md-theme-strong-color)}div.cyanosis-theme a::selection,div.cyanosis-theme b::selection,div.cyanosis-theme strong::selection,div.cyanosis-theme i::selection,div.cyanosis-theme em::selection{background-color:var(--md-theme-slct-elbg-color)}div.cyanosis-theme del::selection{color:var(--md-theme-slct-del-color);background-color:var(--md-theme-slct-elbg-color)}.md-editor div.mk-cute-theme,.md-editor-dark div.mk-cute-theme{--md-theme-code-inline-color: #4ec9b0;--md-theme-code-inline-bg-color: #282c34;--md-theme-code-block-color: #4ec9b0;--md-theme-code-block-bg-color: #282c34;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color);--md-theme-code-block-radius: 10px}div.mk-cute-theme code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;overflow-x:auto;padding:.14em .46em;margin:0 4px}div.mk-cute-theme .md-editor-code pre code{font-family:Menlo,Monaco,Consolas,Courier New,monospace;padding:22px;margin:0;word-break:normal;line-height:1.75}div.mk-cute-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.mk-cute-theme{--md-theme-heading-color: #36ace1}div.mk-cute-theme h1:before,div.mk-cute-theme h2:before,div.mk-cute-theme h3:before,div.mk-cute-theme h4:before,div.mk-cute-theme h5:before,div.mk-cute-theme h6:before{content:"";display:block;position:absolute;inset-inline-start:0;inset-block-start:0;inset-block-end:0;margin:auto;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAF8UlEQVRIS71Wa2wUVRT+7r0zu9t2t/RBaSioPCpYbIUfaEIQUogSAwZDAlUSGwgg/CBATExMCJH1D2hIfOEjFEUEhViCgBgIUCH44OkjPAMGBVqhpUCfW3Zn5z7MuQOE0hYxMdxJdmd25s53vnO+851leMCLPWA8/CfA2TsvL8n7q+nTFfNLG+4VqInHOeJLDQMzdz/3r4DGGDb9lxu+aPcE7U61JHDMDePcuv0O21ShugOefqDdtBie3Dk6K/O+Ab+qOjJiz7Ahv6c8hbDDwRiQlgYGDOcaWyEcjg8On+j71IpJndjGt9XO+jM7+pkywNvbazIfercieSdoJ4bE5sWjyZqMpDdeaQNXMNC34ME3LV8B56+1w3AOgk+EXe/Ub6uiLB6XdH/G/mYjeBCcFwnt3zQqWt4t4NjjnhzQ1CGkBhwOCMFAB71U0qsYgRlwBtQ1tiEJAy44OBdQUmFK3aWS06NLT+ukZAQoKCCjsfbDmk6p78RwX3ncWffmIj8U4kh6GpEwh+9rGy23LDU4GBrrm9DsuDYIGMAYIC/EUNQ7Cq1hn+WM2TI8f+jEyCmvjfn1FssuojHx6tDkyZOaCzr8TNpASzDAk8amlRIrEylcSGsYrcGIstIYWhgDDIM2BiGH3ywFkGAC1U9n38bpVqWGdk6r4HMWrZZaG1D5KLn0qYyBEAKnG1otAxLR8L7Z9nfP13CJHQ/ST4vK8sVHe8JsU0U6uO5hlexo8PI7vNDQomwoBRAwpSmtgJAAztS3QLsOsmBQlBtFJMQhlbbPUBBUR7o2hqHVddLbRsfCPQJ+u3TPw8uGl1yklAlHIJZKo3//XEhlLCtifPFyM7xwCI/lZ8IKTTBbS7pPLIggZZsSQ+zXbT4UYSsnet3UMM5HPT5LGbrDGYQroClyT2Jwnyj9aN949e8mDCwuRFoqKxRHUJ21BSDRELuQYGhvbMVV32Dp2RuxcfHSRBfAYTsbU9nJdFj5EiLkglHkRInC1xoxKbH9hQJIaTDvxxTCUddWl4wg0dCCtqSPDmoVx4Eitpxh64ZtsT6b5ie6pPRkfF90TllxOzEwmipMKRRgHODGgCuJkqIcvDdC2BZ5Y+tlHHMzkAKghbAxcQqQDiKrFBxhqg5MHTivS1tQ+sdsvaQl5Yd6yfdRXNQLsQwXnq/AQFLXEIIjzBSuNaaR0SuEtkQKl9IKjAsbJaWfzo1USDsM6zceDJfeVGgnhhN2N7YOyo5kJz1pa2AbgfrO1gRwXW6vSRQNtddR+EhvKGmseskgTtY2Q7kucYWWgToPHzyUyXry0iXfnBtfl5f/PaWPvPNW/zkOAQegJHltFE5dSaCskHqPVEnqpMAMEgkPtR1pKxyh/N0/vTToubtH1G3RmLjhM8ubKXfWB2mRa9ySOaWS2uT8lTZ0cI6I52Ngv7zAbW9mQVm1cpytu441P38XeXTlQu+e46nyh+bjLkMZRU0MCYTCJWZSG1y7cBWNURpxBlxqFBfEwGnGGhaYPSNwhpSv4DK+/vPynBk9MqRIiOWs8a2WJTm9a+cgh6SaMIMz9W1WjYHHMtv0wSmZdWB9gdsya/rcYVg7JoffCdqlD6ceTpiY59tM0PhJp5WNvra+BQkejCMyBarr8KKYDcZi8sDaCDKYFIGRk+FnSVXzyTO9JxBwF8DLc1dlLn65ooNEYN0fBsu21fTvL6PXnhxXlnLIqqhYYBian4lQ2Lk9ogiALsimiLC1QYfhlV1Hnxh7JfcMqxrpd7U2GFa5t9nOd7Kr+kg4uWvnCpromlJeXlq3Os3ZLOlrZBmNQf1ybVqpxhbA7mRIOCy1+esDOWhIyDv/+3Q7LRbsqH+rKRJ+nba+/+WW7II1s9vvVBuNr7KNF1WUM1bSt5f1Vq01jUVkKfnx8uoti3Or5rbd9782M61azJz/rFywYU/OyKqK1p5G2MS1Z18tGFDwTkvIxcK9RwaMP3a9/tbc62lPj/Nw5B9ey9Ehy/MY4oEqelgNleuyCgdXJlmc3fO5Ll56r5f+n/f+AWFf9jvBgaHpAAAAAElFTkSuQmCC);animation:spin 2s linear 0s infinite}div.mk-cute-theme h1{position:relative;font-size:30px;padding:12px 38px;margin:30px 0}div.mk-cute-theme h1:before{width:30px;height:30px;background-size:30px 30px}div.mk-cute-theme h2{position:relative;font-size:24px;padding:12px 36px;margin:28px 0}div.mk-cute-theme h2:before{width:28px;height:28px;background-size:28px 28px}div.mk-cute-theme h3{position:relative;font-size:18px;padding:4px 32px;margin:26px 0}div.mk-cute-theme h3:before{width:24px;height:24px;background-size:24px 24px}div.mk-cute-theme h4{position:relative;padding:4px 28px;font-size:16px;margin:22px 0}div.mk-cute-theme h4:before{width:20px;height:20px;background-size:20px 20px}div.mk-cute-theme h5{position:relative;padding:4px 26px;font-size:15px;margin:20px 0}div.mk-cute-theme h5:before{width:18px;height:18px;background-size:18px 18px}div.mk-cute-theme h6{position:relative;padding:4px 22px;font-size:14px;margin:16px 0}div.mk-cute-theme h6:before{width:16px;height:16px;background-size:16px 16px}@media(max-width:720px){div.mk-cute-theme h1{font-size:24px}div.mk-cute-theme h2{font-size:20px}div.mk-cute-theme h3{font-size:18px}}.md-editor div.mk-cute-theme{--md-theme-link-color: #409eff;--md-theme-link-hover-color: #007bff}div.mk-cute-theme a{display:inline-block;border-block-end:1px solid #409eff}div.mk-cute-theme a:hover,div.mk-cute-theme a:active{border-block-end:1px solid #007bff}div.mk-cute-theme ol li,div.mk-cute-theme ul li{margin-block-end:0;list-style:inherit}div.mk-cute-theme ol li .task-list-item,div.mk-cute-theme ul li .task-list-item{list-style:none}div.mk-cute-theme ol li .task-list-item ul,div.mk-cute-theme ol li .task-list-item ol,div.mk-cute-theme ul li .task-list-item ul,div.mk-cute-theme ul li .task-list-item ol{margin-block-start:0}div.mk-cute-theme ol ul,div.mk-cute-theme ol ol,div.mk-cute-theme ul ul,div.mk-cute-theme ul ol{margin-block-start:3px}div.mk-cute-theme ol li{padding-inline-start:6px}div.mk-cute-theme p{line-height:inherit;margin-block-start:22px;margin-block-end:22px}.md-editor div.mk-cute-theme{--md-theme-quote-color: #fff;--md-theme-quote-border: 4px solid #409eff;--md-theme-quote-bg-color: rgba(54, 172, 225, .75)}.md-editor-dark div.mk-cute-theme{--md-theme-quote-color: inherit;--md-theme-quote-border: 4px solid #265d97;--md-theme-quote-bg-color: rgba(18, 80, 108, .75)}div.mk-cute-theme blockquote{position:relative;padding:8px 26px;margin:16px 0;border-radius:var(--md-theme-radius-m)}div.mk-cute-theme blockquote:before{content:"❝";inset-block-start:10px;inset-inline-start:8px;color:#409eff;font-size:20px;line-height:1;font-weight:700;position:absolute;opacity:.7}div.mk-cute-theme blockquote:after{content:"❞";font-size:20px;position:absolute;inset-inline-end:8px;inset-block-end:0;color:#409eff;opacity:.7}div.mk-cute-theme blockquote>p,div.mk-cute-theme blockquote ul li,div.mk-cute-theme blockquote ol li{color:var(--md-theme-quote-color)}.md-editor div.mk-cute-theme{--md-theme-table-color: #000;--md-theme-table-border-color: #f6f6f6;--md-theme-table-thead-bg-color: #f6f6f6;--md-theme-table-stripe-color: #fcfcfc}.md-editor-dark div.mk-cute-theme{--md-theme-table-color: inherit;--md-theme-table-border-color: #1c1c1c;--md-theme-table-thead-bg-color: rgba(28, 28, 28, .631372549);--md-theme-table-stripe-color: rgba(28, 28, 28, .631372549)}div.mk-cute-theme table{display:inline-block;width:auto;max-width:100%;overflow:auto;border:solid 1px var(--md-theme-table-border-color)}div.mk-cute-theme table thead{background-color:var(--md-theme-table-thead-bg-color);color:var(--md-theme-table-color);text-align:left}div.mk-cute-theme table tr th,div.mk-cute-theme table tr td{padding:12px 7px;line-height:24px;border:none}div.mk-cute-theme table tr td{min-width:120px}div.mk-cute-theme blockquote table tbody{color:var(--md-theme-color)}div.mk-cute-theme blockquote table tr{background-color:var(--md-theme-table-stripe-color)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.md-editor div.mk-cute-theme{--md-theme-color: #36ace1;background-image:linear-gradient(90deg,#323a4240 3%,#0000 3%),linear-gradient(360deg,#323a4240 3%,#0000 3%)}.md-editor-dark div.mk-cute-theme{background-image:linear-gradient(90deg,#d9eafb40 3%,#0000 3%),linear-gradient(360deg,#d9eafb40 3%,#0000 3%);--md-theme-bg-color-scrollbar-thumb: #4d4d4d}div.mk-cute-theme{word-break:break-word;line-height:1.75;font-weight:400;overflow-x:hidden;background-size:20px 20px;background-position:center center}div.mk-cute-theme hr{position:relative;width:98%;height:1px;border:none;margin-block-start:32px;margin-block-end:32px;background-image:linear-gradient(to right,#36ace1,#dff0fe,#36ace1);overflow:visible}div.mk-cute-theme del{color:#36ace1}.md-editor div.smart-blue-theme{--md-theme-code-inline-color: #d63200;--md-theme-code-inline-bg-color: #fff5f5;--md-theme-code-block-color: #333;--md-theme-code-block-bg-color: #f8f8f8;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}.md-editor-dark div.smart-blue-theme{--md-theme-code-inline-color: #e06c75;--md-theme-code-inline-bg-color: #1a1a1a;--md-theme-code-block-color: #999;--md-theme-code-block-bg-color: #1a1a1a;--md-theme-code-before-bg-color: var(--md-theme-code-block-bg-color)}div.smart-blue-theme code{overflow-x:auto;padding:.065em .4em}div.smart-blue-theme .md-editor-code pre{font-family:Menlo,Monaco,Consolas,Courier New,monospace}div.smart-blue-theme .md-editor-code pre code{padding:22px 12px;margin:0;word-break:normal}div.smart-blue-theme .md-editor-code pre code span[rn-wrapper]{top:22px}.md-editor div.smart-blue-theme{--md-theme-heading-color: #135ce0}div.smart-blue-theme h1,div.smart-blue-theme h2,div.smart-blue-theme h3,div.smart-blue-theme h4,div.smart-blue-theme h5,div.smart-blue-theme h6{padding:30px 0;margin:0}div.smart-blue-theme h1 a,div.smart-blue-theme h2 a,div.smart-blue-theme h3 a,div.smart-blue-theme h4 a,div.smart-blue-theme h5 a,div.smart-blue-theme h6 a{border:none}div.smart-blue-theme h1{position:relative;text-align:center;font-size:22px;margin:50px 0}div.smart-blue-theme h2{position:relative;font-size:20px;border-inline-start:4px solid;padding:0 0 0 10px;margin:30px 0}div.smart-blue-theme h3{font-size:16px}div.smart-blue-theme img{margin:0 auto}.md-editor div.smart-blue-theme{--md-theme-link-color: #036aca}.md-editor-dark div.smart-blue-theme{--md-theme-link-color: #2d7dc7}div.smart-blue-theme a{font-weight:400}div.smart-blue-theme ul,div.smart-blue-theme ol{margin-block-start:1em}div.smart-blue-theme li{line-height:2;margin-block-end:0;list-style:inherit}div.smart-blue-theme p{line-height:2;font-weight:400}div.smart-blue-theme *+p{margin-block-start:16px}.md-editor div.smart-blue-theme{--md-theme-quote-color: #666;--md-theme-quote-bg-color: #fff9f9;--md-theme-quote-border-color: #b2aec5}.md-editor-dark div.smart-blue-theme{--md-theme-quote-color: #999;--md-theme-quote-bg-color: #2a2a2a;--md-theme-quote-border-color: #0063bb}div.smart-blue-theme blockquote{background-color:var(--md-theme-quote-bg-color);margin:2em 0;padding:2px 20px;border-inline-start:4px solid var(--md-theme-quote-border-color)}div.smart-blue-theme blockquote p{color:var(--md-theme-quote-color);line-height:2}.md-editor div.smart-blue-theme{--md-theme-table-td-border-color: #dfe2e5;--md-theme-table-stripe-color: #f6f8fa}.md-editor-dark div.smart-blue-theme{--md-theme-table-td-border-color: #2d2d2d;--md-theme-table-stripe-color: #0c0c0c}div.smart-blue-theme table{border-collapse:collapse;margin:1rem 0;overflow-x:auto}div.smart-blue-theme table tr th,div.smart-blue-theme table tr td{padding:.6em 1em}div.smart-blue-theme blockquote table{line-height:initial}div.smart-blue-theme blockquote table tr th,div.smart-blue-theme blockquote table tr td{border-color:var(--md-theme-border-color-inset)}div.smart-blue-theme blockquote table tbody tr:nth-child(n){background-color:inherit}.md-editor div.smart-blue-theme{--md-theme-color: #595959}.md-editor div.smart-blue-theme{background-image:linear-gradient(90deg,#3c0a1e0a 3%,#0000 3%),linear-gradient(360deg,#3c0a1e0a 3%,#0000 3%)}.md-editor-dark div.smart-blue-theme{--md-theme-color: #999}.md-editor-dark div.smart-blue-theme{background-image:linear-gradient(90deg,#cfcfcf0a 3%,#fff0 3%),linear-gradient(360deg,#cfcfcf0a 3%,#fff0 3%)}div.smart-blue-theme{color:var(--md-theme-color);font-family:-apple-system,system-ui,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;background-size:20px 20px;background-position:center center}div.smart-blue-theme strong,div.smart-blue-theme em strong{color:#036aca}div.smart-blue-theme hr{border-block-start:1px solid #135ce0}[dir=rtl] .md-editor-catalog{direction:rtl}.md-editor-catalog-indicator{height:18px;width:4px;background-color:#73d13d;position:absolute;border-radius:4px;transition:top .3s}.md-editor-catalog>.md-editor-catalog-link{padding-block:5px;padding-inline:8px}.md-editor-catalog-link{padding-block:5px;padding-inline-start:1em;display:flex;flex-direction:column}.md-editor-catalog-link span{display:inline-block;width:100%;position:relative;overflow:hidden;color:var(--md-color);white-space:nowrap;text-overflow:ellipsis;transition:color .3s;cursor:pointer;line-height:18px}.md-editor-catalog-link span:hover{color:#73d13d}.md-editor-catalog-wrapper>.md-editor-catalog-link{padding-block-start:5px;padding-block-end:5px}.md-editor-catalog-wrapper>.md-editor-catalog-link:first-of-type{padding-block-start:10px}.md-editor-catalog-wrapper>.md-editor-catalog-link:last-of-type{padding-block-end:0}.md-editor-catalog-active>span{color:#73d13d}.md-editor-catalog-dark{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #333;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px rgba(0, 0, 0, .4);--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.md-editor{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f2f2f2;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px rgba(0, 0, 0, .0980392157);--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: rgba(0, 0, 0, .3019607843);--md-scrollbar-thumb-hover-color: rgba(0, 0, 0, .3490196078);--md-scrollbar-thumb-active-color: rgba(0, 0, 0, .3803921569);color:var(--md-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";width:100%;height:500px;position:relative;box-sizing:border-box;border:1px solid var(--md-border-color);display:flex;flex-direction:column;overflow:hidden;background-color:var(--md-bk-color)}.md-editor .md-editor-fullscreen{position:fixed!important;inset-block-start:0;inset-inline-end:0;inset-block-end:0;inset-inline-start:0;width:auto!important;height:auto!important;z-index:10000}.md-editor svg.md-editor-icon{width:16px;height:16px;padding-block:4px;padding-inline:4px;fill:none;overflow:hidden;display:block;box-sizing:content-box}.md-editor .lucide-list,.md-editor .lucide-list-ordered,.md-editor .lucide-list-todo{width:18px;height:18px;padding-block:3px;padding-inline:3px}.md-editor-preview{font-size:16px;word-break:break-all;display:flow-root;padding-block:10px;padding-inline:20px}.md-editor-modal-container{--md-color: #3f4a54;--md-hover-color: #000;--md-bk-color: #fff;--md-bk-color-outstand: #f2f2f2;--md-bk-hover-color: #f5f7fa;--md-border-color: #e6e6e6;--md-border-hover-color: #b9b9b9;--md-border-active-color: #999;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px rgba(0, 0, 0, .0980392157);--md-scrollbar-bg-color: #e2e2e2;--md-scrollbar-thumb-color: rgba(0, 0, 0, .3019607843);--md-scrollbar-thumb-hover-color: rgba(0, 0, 0, .3490196078);--md-scrollbar-thumb-active-color: rgba(0, 0, 0, .3803921569);color:var(--md-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable,Segoe UI,system-ui,ui-sans-serif,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}.md-editor-modal-container .lucide-x{width:20px;height:20px;padding-block:2px;padding-inline:2px}.md-editor-modal-container .lucide-minimize-2,.md-editor-modal-container .lucide-maximize-2{width:18px;height:18px;padding-block:2px;padding-inline:2px}.md-editor-previewOnly{border:none;height:auto;overflow:visible}.md-editor-previewOnly .md-editor-content{height:100%}.md-editor-previewOnly .md-editor-preview{padding-block:0;padding-inline:0}.md-editor-previewOnly .md-editor-preview-wrapper{overflow:visible}.md-editor-dark,.md-editor-modal-container[data-theme=dark]{--md-color: #999;--md-hover-color: #bbb;--md-bk-color: #000;--md-bk-color-outstand: #333;--md-bk-hover-color: #1b1a1a;--md-border-color: #2d2d2d;--md-border-hover-color: #636262;--md-border-active-color: #777;--md-modal-mask: #00000073;--md-modal-shadow: 0px 6px 24px 2px rgba(0, 0, 0, .4);--md-scrollbar-bg-color: #0f0f0f;--md-scrollbar-thumb-color: #2d2d2d;--md-scrollbar-thumb-hover-color: #3a3a3a;--md-scrollbar-thumb-active-color: #3a3a3a}.medium-zoom-overlay,.medium-zoom-image--opened{z-index:100001}.comp-doc-preview .md-editor-preview .md-editor-code .md-editor-code-head{position:static;top:auto;z-index:auto}.site-logo[data-v-c550b9c8]{display:flex;align-items:flex-end;gap:1px}.site-logo-img[data-v-c550b9c8]{height:40px}.site-logo-text[data-v-c550b9c8]{color:#1f2937;font-size:1.25rem;line-height:1.75rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html.dark .site-logo-text[data-v-c550b9c8]{color:#fff}
|
|
@@ -57,6 +57,6 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
57
57
|
${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}function Mw(e,t,n=5e3){const r=Reflect.get(e,t);return r?Promise.resolve(r):new Promise(o=>{const s=Date.now(),a=setInterval(()=>{const c=Reflect.get(e,t);c?(clearInterval(a),o(c)):Date.now()-s>=n&&(clearInterval(a),o(null))},50)})}const fT=KS("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null,reactLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},setReactLoader(e){this.$patch(t=>{t.reactLoader=e})},async loadSfcLoader(e,t){const{isDev:n=!1,isSfc:r=!1,scriptPath:o}=t,s=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(s)return s;const a=e==="vue3"?we.VUE3_SFC_LOADER_KEY:we.VUE2_SFC_LOADER_KEY,c=r||n,u=c?window:window.parent;let f=Reflect.get(u,a);if(f||(c?(await yc(o),f=Reflect.get(window,a)):(f=await Mw(u,a,5e3),f||(await yc(o),f=Reflect.get(window,a)))),!f)throw new Error(`[loadSfcLoader] 脚本已加载但全局变量 "${a}" 未找到`);return e==="vue3"?this.setVue3SfcLoader(f):this.setVue2SfcLoader(f),f},async loadReactLoader(e){const{isDev:t=!1,isSfc:n=!1,scriptPath:r}=e;if(this.reactLoader)return this.reactLoader;const o=we.REACT_JSX_LOADER_KEY,s=n||t,a=s?window:window.parent;let c=Reflect.get(a,o);if(c||(s?(await yc(r),c=Reflect.get(window,o)):(c=await Mw(a,o,5e3),c||(await yc(r),c=Reflect.get(window,o)))),!c)throw new Error(`[loadSfcLoader] 脚本已加载但全局变量 "${o}" 未找到`);return this.setReactLoader(c),c}}}),dT=[".png",".jpg",".jpeg",".gif",".webp",".avif",".apng",".svg",".tif",".tiff",".bmp",".raw",".cr2",".nef",".psd",".ai",".cdr",".heic",".heif",".ico",".pcx",".tga",".jp2",".j2k",".djvu"],pT=[".mp3",".wav",".ogg",".oga",".flac",".aac",".m4a",".wma",".mp4",".webm",".ogv",".avi",".mov",".flv",".mkv"],g6=e=>dT.includes(e)||pT.includes(e),hT=(e={})=>{const{errorCallBack:t,label:n="loader"}=e;return{async set(r,o){try{await Iw().put(we.INDEX_DB_TABLE_NAME,{hash:r,code:o})}catch(s){console.error(`[${n}] IndexedDB 写入失败:`,s)}},async get(r){try{return(await Iw().get(we.INDEX_DB_TABLE_NAME,r))?.code??void 0}catch(o){console.error(`[${n}] IndexedDB 读取失败:`,o),t?.(o);return}}}},mT=(e,t)=>(n,...r)=>{n==="error"?e?.(new Error(r.join(`
|
|
58
58
|
`))):n==="warn"&&t?.(r.join(`
|
|
59
59
|
`))},gT=(e,t,n)=>{const{moduleCache:r,pathResolve:o,getResource:s}=n,a=function(p){const{id:h}=s({refPath:e,relPath:p},n);if(h in r)return r[h];throw new Error(`require(${JSON.stringify(h)}) failed. module not found in moduleCache`)},c=async function(p){const{id:h}=s({refPath:e,relPath:p},n);if(h in r)return r[h];throw new Error(`Dynamic import(${JSON.stringify(h)}) failed. module not found in moduleCache`)},u={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",t).call(u.exports,u.exports,a,u,e,o({refPath:e,relPath:"."},n),c),u},yT=async e=>{const t=e.toString(),n=new URL(e).pathname;if(dT.some(o=>n.endsWith(o))||pT.some(o=>n.endsWith(o))){const o=await fetch(t);if(!o.ok)throw Object.assign(new Error(`${o.statusText} ${e}`),{res:o});const s=await o.blob();return URL.createObjectURL(s)}const r=await fetch(t);if(!r.ok)throw Object.assign(new Error(`${r.statusText} ${e}`),{res:r});return{type:QY(r.url),getContentData:o=>o?r.arrayBuffer():r.text()}},bT=(e={})=>{const{signedUrls:t}=e;return async function(r,o,s){let a=r;s&&r&&(a=JY(r,s,t||[])),o&&document.head.querySelector(`style#${o}`)?.remove();const c=Object.assign(document.createElement("style"),{textContent:a,...o?{id:o}:{}});document.head.appendChild(c)}},_T=({depToFile:e,signedUrls:t,sourceExtensions:n,resolveDepUrl:r})=>function({refPath:s,relPath:a},c){if(a===".")return s;if(c.moduleCache[a])return a;const u=e[a];if(u){const f=r(u);if(f)return f}if(t?.length&&s){const{origin:f,pathname:p}=new URL(s),h=`${f}${p}`,g=new URL(a,h);for(const w of n){const _=t.find(A=>A.signedUrl.startsWith(g.href+w));if(_)return _.signedUrl}const y=t.find(w=>w.signedUrl.startsWith(g.href));if(y)return y.signedUrl}return String(new URL(a,s??window.location.href))},y6={".scss":"scss",".sass":"sass",".less":"less"},vT=(e,t)=>async function(r,o,s){if(g6(r))return await o(!1);switch(r){case".css":{const a=await o(!1);return typeof a=="string"&&await e(a,void 0,s),null}case".less":case".scss":case".sass":{const a=await o(!1),c=y6[r];if(typeof a=="string"){const u=a.trim();if(u){const f=t?await t(u,c):u;await e(f,void 0,s)}}return null}}},hp={},b6=e=>`/${we.WEBSITE_PATH_CONTAINER}/js/${e}.js`;async function _6(e){let t;try{t=await fetch(e)}catch(s){throw new Error(`[loadScript] 网络请求失败: ${e}
|
|
60
|
-
${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}function v6(e){return e==="less"?we.LESS_COMPILER_KEY:we.SASS_COMPILER_KEY}async function Nw(e,t=b6){const n=v6(e);if(hp[n])return hp[n];let r=window[n];if(!r)try{const o=window.parent;o&&o!==window&&(r=o[n])}catch{r=null}if(!r){const o=t(n);await _6(o),r=window[n]}if(!r)throw new Error(`[getCssCompiler] CSS 预编译器 ${e} 加载失败`);return hp[n]=r,r}async function w6(e,t,n){return t==="less"?(await(await Nw("less",n)).render(e)).css:(await Nw(t,n)).compileString(e).css}const wT=e=>{const{warnCallBack:t,scriptPathResolver:n}=e;return async(r,o)=>{if(r.trim()&&o)try{return await w6(r,o,n)}catch(a){throw t?.(`[processStyles] 浏览器端 CSS 预编译失败: ${a?.message||a}`),a}return r}},E6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,templateCompiler:s,cssCompilerScriptPathResolver:a,resolveDepUrl:c})=>{const u=wT({warnCallBack:o,scriptPathResolver:a}),f=bT({signedUrls:n}),p=vT(f,u),g=_T({depToFile:t,signedUrls:n,sourceExtensions:[".vue",".js",".ts"],resolveDepUrl:c??(w=>new URL(`${we.MODULE_LOAD_PREFIX}/${w}`,window.location.origin).href)});return{moduleCache:e,...s?{templateCompiler:s}:{},pathResolve:g,getFile:yT,addStyle:f,processStyles:u,handleModule:p,compiledCache:hT({errorCallBack:r,label:"vue3-sfc-loader"}),log:mT(r,o),createCJSModule:gT}},S6=e=>e instanceof Error?e.message:typeof e=="string"?e:"未知错误",C6=e=>{const{loadSfcLoader:t,entryUrl:n,loadMainJs:r,useAsyncComponent:o=!1,installExtensions:s,callbacks:a={}}=e,{setLoading:c,onRenderError:u,onLoaderError:f,onCompCodeError:p,onCompCodeWarn:h,getErrorMessage:g=S6}=a,y=()=>(typeof n=="function"?n():n)||"",w=v=>{v.config.errorHandler=x=>{const E=g(x);console.error(`[vue3] errorHandler: ${E}`),p?.(E),c?.(!1)},v.config.warnHandler=x=>{console.warn(`[vue3] warnHandler: ${x}`),h?.(x),c?.(!1)}},_=v=>{v.config.errorHandler=function(x){const E=g(x);console.error(`[vue2] errorHandler: ${E}`),p?.(E),c?.(!1)},v.config.warnHandler=function(x){console.warn(`[vue2] warnHandler: ${x}`),h?.(x),c?.(!1)}};return{loadVue3Comp:async v=>{let x;try{x=await t("vue3")}catch(E){const R=g(E);return console.error("[loadVue3Comp] sfcLoader 加载失败:",R),u?.(R),null}try{if(!x){const P="sfcLoader 加载成功但实例为空";return console.error(`[loadVue3Comp] ${P}`),u?.(P),null}const{loadModule:E}=x,R=v?.moduleCache?.vue??await E("vue",v);if(!R?.createApp)return u?.("Vue 3 runtime not found in deps"),null;let O;if(o){const{defineAsyncComponent:P}=R;if(!P)return u?.("defineAsyncComponent is not defined"),null;const T=P({loader:async()=>await E(y(),v),delay:100,timeout:2e4,onError:(N,K,G)=>{if(console.error(`onError:${N.message}`),u?.(N.message),N)return G()}});O=R.createApp({template:"<AsyncComp />"}),O.component("AsyncComp",T)}else{const P=await E(y(),v);O=R.createApp(P)}return R.app=O,s?.vue3?.(O.config.globalProperties),w(O),await r(async P=>await E(P,v)),O}catch(E){const R=g(E);return console.error(`[loadVue3Comp] error: ${R}`),f?.(R),null}},loadVue2Comp:async v=>{let x;try{x=await t("vue2")}catch(E){const R=g(E);return console.error("[loadVue2Comp] sfcLoader 加载失败:",R),u?.(R),null}try{if(!x){const P="sfcLoader 加载成功但实例为空";return console.error(`[loadVue2Comp] ${P}`),u?.(P),null}const{loadModule:E}=x,R=await E("vue",v);if(!R?.default)return u?.("Vue 2 runtime not found in deps"),null;s?.vue2?.(R.default.prototype),_(R.default),await r(async P=>await E(P,v));const O=await E(y(),v);return new R.default(O)}catch(E){const R=g(E);return console.error(`[loadVue2Comp] error: ${R}`),f?.(R),null}}}},k6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,cssCompilerScriptPathResolver:s,resolveDepUrl:a})=>{const c=bT({signedUrls:n}),u=wT({warnCallBack:o,scriptPathResolver:s}),f=vT(c,u),h=_T({depToFile:t,signedUrls:n,sourceExtensions:[".jsx",".js",".tsx",".ts"],resolveDepUrl:a??(y=>new URL(`${we.MODULE_LOAD_PREFIX}/${y}`,window.location.origin).href)});return{moduleCache:e,pathResolve:h,getFile:yT,addStyle:c,handleModule:f,compiledCache:hT({errorCallBack:r,label:"react-jsx-loader"}),log:mT(r,o),createCJSModule:gT}},Em=e=>e.some(t=>t.name==="react"),T6=e=>e instanceof Error?e.message:typeof e=="string"?e:"未知错误",x6=e=>{const{loadReactLoader:t,entryUrl:n,depToFile:r,signedUrls:o,cssCompilerScriptPathResolver:s,resolveDepUrl:a,enableWarnPatch:c=!1,extraProps:u,runtimeNotFoundMsg:f="React runtime not found",reactDomNotFoundMsg:p="ReactDOM runtime not found",callbacks:h={}}=e,{onLoaderError:g,onCompileError:y,onCompileWarn:w,onCompCodeError:_,onConsoleWarn:A,onCompRenderError:S,getErrorMessage:v=T6}=h,x=()=>(typeof n=="function"?n():n)||"";return{loadReactComp:async O=>{try{const P=await t(),{loadModule:T}=P,N=k6({moduleCache:O,depToFile:r,signedUrls:o,errorCallBack:ne=>y?.(ne.message),warnCallBack:ne=>w?.(ne),...s?{cssCompilerScriptPathResolver:s}:{},...a?{resolveDepUrl:a}:{}}),K=await T("react",N);if(!K)return g?.(f),null;const G=await T(x(),N);return G?.default?{React:K,Component:G.default,loadModule:T,options:N}:(S?.("Component has no default export"),null)}catch(P){const T=v(P);return console.error(`loadReactComp error: ${T}`),g?.(T),null}},mountReactApp:async({React:O,Component:P,loadModule:T,options:N},K)=>{let G;try{G=await T("react-dom/client",N)}catch{try{G=await T("react-dom",N)}catch{return g?.(p),null}}if(!G)return g?.(p),null;const ne=typeof G?.default?.createRoot=="function",de=class extends O.Component{state={hasError:!1,errorMessage:""};static getDerivedStateFromError(ue){return{hasError:!0,errorMessage:ue.message}}componentDidCatch(ue){console.error(`React render error: ${ue?.message||ue}`),_?.(ue?.message||String(ue))}render(){return this.state.hasError?O.createElement("div",{style:{color:"red",padding:"16px"}},`Component render error: ${this.state.errorMessage}`):this.props.children}};let z=null;if(c){z=console.error;const ue=/^Warning:/;console.error=(...Ee)=>{const We=Ee.join(" ");ue.test(We)&&A?.(We),z.apply(console,Ee)}}const re=()=>{z&&(console.error=z)},ae=()=>{const ue=u?.()??{};return O.createElement(de,null,O.createElement(P,ue))};if(ne){const ue=G.default.createRoot(K);return ue.render(O.createElement(ae)),{root:ue,unmount:()=>{console.log("React组件卸载"),re(),ue.unmount(),K.remove()}}}else return G.default.render(O.createElement(ae),K),{root:null,unmount:()=>{console.log("React组件卸载"),re(),G.default.unmountComponentAtNode(K),K.remove()}}}}};async function ET(e,t,n,r){const o=[...e];return o.sort((a,c)=>{for(const u of n){if(a.name===u)return-1;if(c.name===u)return 1}return 0}),await o.reduce(async(a,c)=>{const{name:u}=c,f=await a,p=t[u];if(!p||n$.PREBUILD_MODULE_SKIP_EXT.find(g=>p.endsWith(g)))return f;try{const y=await import(r?r(u,p):`${we.MODULE_LOAD_PREFIX}/${p}`);f[u]={...y.default,...y,__esModule:!0}}catch(g){const y=g instanceof Error?g.message:String(g);console.warn(`[cacheModule] dep "${u}" preload failed, will be handled by loader:`,y)}return f},Promise.resolve({}))}const O6=["id","aria-label","aria-disabled"],A6=["onClick"],R6=["name","value","checked","disabled","onChange"],P6={class:"segmented__label"},L6=It({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=Re(),s=Re({opacity:"0"}),a=ce(()=>n.segProps?.value||"value"),c=ce(()=>n.segProps?.label||"label"),u=ce(()=>n.segProps?.disabled||"disabled");function f(A){return typeof A=="object"&&A!==null?A[a.value]:A}function p(A){return typeof A=="object"&&A!==null?A[c.value]:A}function h(A){return n.disabled?!0:typeof A=="object"&&A!==null?!!A[u.value]:!1}const g=ce(()=>n.options.map(A=>typeof A=="object"&&A!==null?{...A,[a.value]:A[a.value],[c.value]:A[c.value],[u.value]:A[u.value]}:A));function y(A){return f(A)===n.modelValue}function w(A){if(h(A))return;const S=f(A);S!==n.modelValue&&(r("update:modelValue",S),r("change",S))}function _(){Ur(()=>{const A=o.value?.parentElement;if(!A)return;const S=A.querySelectorAll(".segmented__item");let v=null;for(let R=0;R<S.length;R++){const O=S.item(R);if(O&&O.classList.contains("is-selected")){v=O;break}}if(!v){s.value={opacity:"0"};return}const x=A.getBoundingClientRect(),E=v.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateY(${E.top-x.top}px)`}:s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateX(${E.left-x.left}px)`}})}return gt(()=>n.modelValue,_),gt(()=>n.options,_),gt(()=>n.direction,_),Er(_),(A,S)=>(Ce(),pt("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Tt(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[mt("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Bn(s.value)},null,4),(Ce(!0),pt(Vt,null,Fs(g.value,(v,x)=>(Ce(),pt("label",{key:f(v),class:Tt(["segmented__item",{"is-selected":y(v),"is-disabled":h(v)}]),onClick:E=>w(v)},[mt("input",{type:"radio",class:"segmented__input",name:e.name,value:f(v),checked:y(v),disabled:h(v),onChange:E=>w(v)},null,40,R6),mt("span",P6,[ti(A.$slots,"default",{item:v,index:x},()=>[Bc(Oo(p(v)),1)],!0)])],10,A6))),128))],10,O6))}}),I6=Sr(L6,[["__scopeId","data-v-1ee57095"]]),M6={class:"ec-list"},N6={class:"ec-actions"},D6=It({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Di(),n=kC();return(r,o)=>(Ce(),pt("div",{class:Tt(["ec-outer",je(n)?"ec-outer--dark":"ec-outer--light"])},[mt("div",{class:Tt(["ec-inner",je(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=mt("div",{class:"ec-icon"},"🔧",-1)),mt("h4",{class:Tt(["ec-title",je(n)?"ec-title--dark":"ec-title--light"])},Oo(je(t)("comp.compileError")),3),mt("div",M6,[(Ce(!0),pt(Vt,null,Fs(e.error,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["ec-item",je(n)?"ec-item--dark":"ec-item--light"])},Oo(s),3))),128))]),mt("div",N6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),Dw=Sr(D6,[["__scopeId","data-v-5cf301e4"]]),F6={class:"wc-list"},$6={class:"wc-actions"},j6=It({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Di(),n=kC();return(r,o)=>(Ce(),pt("div",{class:Tt(["wc-outer",je(n)?"wc-outer--dark":"wc-outer--light"])},[mt("div",{class:Tt(["wc-inner",je(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=mt("div",{class:"wc-icon"},"⚠️",-1)),mt("h4",{class:Tt(["wc-title",je(n)?"wc-title--dark":"wc-title--light"])},Oo(je(t)("comp.compileWarn")),3),mt("div",F6,[(Ce(!0),pt(Vt,null,Fs(e.warn,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["wc-item",je(n)?"wc-item--dark":"wc-item--light"])},Oo(s),3))),128))]),mt("div",$6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),U6=Sr(j6,[["__scopeId","data-v-cce09743"]]),z6=It({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e,{expose:t}){const n=Ns("bodyRef");return t({bodyRef:n}),(r,o)=>(Ce(),pt("div",{class:Tt(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[r.$slots.header||e.header?(Ce(),pt("div",{key:0,class:Tt(["card__header",e.headerClass])},[ti(r.$slots,"header",{},()=>[Bc(Oo(e.header),1)],!0)],2)):Mr("",!0),mt("div",{ref_key:"bodyRef",ref:n,class:Tt(["card__body",e.bodyClass]),style:Bn(e.bodyStyle)},[ti(r.$slots,"default",{},void 0,!0)],6),r.$slots.footer||e.footer?(Ce(),pt("div",{key:1,class:Tt(["card__footer",e.footerClass])},[ti(r.$slots,"footer",{},()=>[Bc(Oo(e.footer),1)],!0)],2)):Mr("",!0)],2))}}),ST=Sr(z6,[["__scopeId","data-v-36db9d87"]]),B6=It({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=Re(r.initialIndex),a=Re(!1),c=Re(!1),u=Re(),f=Re([]);function p(z){f.value.push(z)}function h(z){const re=f.value.findIndex(ae=>ae.uid===z);re!==-1&&(f.value.splice(re,1),s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)))}const g=ce(()=>r.direction==="vertical"),y=ce(()=>r.type==="card"),w=ce(()=>r.cardScale);Ti("carousel",{items:f,addItem:p,removeItem:h,activeIndex:s,isVertical:g,isCard:y,cardScale:w,translating:ce(()=>a.value),animating:ce(()=>a.value),slideTo:R});const _=ce(()=>{const z={};return r.height&&r.height!=="auto"&&(z.height=r.height),z}),A=ce(()=>{if(y.value)return{};if(f.value.length===0)return{};const re=-s.value*100;return g.value?{transform:`translateY(${re}%)`}:{transform:`translateX(${re}%)`}}),S=ce(()=>r.trigger==="click"?"click":"mouseenter"),v=ce(()=>g.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),x=ce(()=>g.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function E(z){const re=f.value.length;return re===0?0:r.loop?(z%re+re)%re:Math.max(0,Math.min(z,re-1))}function R(z){if(f.value.length===0)return;const ae=E(z);if(ae===s.value)return;const ue=s.value;s.value=ae,a.value=!0,o("change",ae,ue),setTimeout(()=>{a.value=!1},400)}function O(){R(s.value+1)}function P(){R(s.value-1)}function T(z){if(typeof z=="number"){R(z);return}const re=f.value.findIndex(ae=>ae.name===z);re!==-1&&R(re)}let N=null;function K(){G(),!(!r.autoplay||f.value.length<=1)&&(N=setInterval(()=>{c.value&&r.pauseOnHover||O()},r.interval))}function G(){N!==null&&(clearInterval(N),N=null)}function ne(){c.value=!0}function de(){c.value=!1}return gt(()=>f.value.length,()=>{s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)),r.autoplay&&K()}),gt(()=>r.autoplay,z=>{z?K():G()}),gt(()=>r.interval,()=>{r.autoplay&&K()}),Er(()=>{r.autoplay&&K()}),Eu(()=>{G()}),t({activeIndex:s,setActiveItem:T,prev:P,next:O}),(z,re)=>(Ce(),pt("div",{ref_key:"carouselRef",ref:u,class:Tt(["carousel",[`carousel--${e.direction}`]]),style:Bn(_.value),onMouseenter:ne,onMouseleave:de},[mt("div",{class:Tt(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[mt("div",{class:Tt(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":a.value,"carousel__track--motion-blur":e.motionBlur&&a.value}]),style:Bn(A.value)},[ti(z.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:0,class:Tt(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(v.value),onClick:Pb(P,["stop"])},[...re[0]||(re[0]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Mr("",!0),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:1,class:Tt(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(x.value),onClick:Pb(O,["stop"])},[...re[1]||(re[1]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Mr("",!0),f.value.length>1?(Ce(),pt("ul",{key:2,class:Tt(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(Ce(!0),pt(Vt,null,Fs(f.value,(ae,ue)=>(Ce(),pt("li",Nr({key:ae.uid,class:["carousel__indicator",{"carousel__indicator--active":ue===s.value}]},{[bc(S.value)]:Ee=>T(ue)}),[mt("span",null,Oo(ae.label||""),1)],16))),128))],2)):Mr("",!0)],38))}}),CT=Sr(B6,[["__scopeId","data-v-44ca82d0"]]),W6=It({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=Re(!1),r=En("carousel"),o=Re(0);Er(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Eu(()=>{r?.removeItem(o.value)});const s=ce(()=>r?.items.value??[]),a=ce(()=>r?.activeIndex.value??0),c=ce(()=>r?.isCard.value??!1),u=ce(()=>r?.cardScale.value??.83),f=ce(()=>s.value.findIndex(_=>_.uid===o.value)),p=ce(()=>f.value===a.value),h=ce(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value-1+_)%_}),g=ce(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value+1)%_}),y=ce(()=>{if(c.value&&s.value.length>1){const _=u.value;return p.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:h.value?{transform:`translateX(-30%) scale(${_})`,zIndex:2,opacity:.6}:g.value?{transform:`translateX(30%) scale(${_})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${_})`,zIndex:1,opacity:0}}return{}});function w(){c.value&&(p.value||(h.value||g.value)&&r?.slideTo(f.value))}return(_,A)=>vp((Ce(),pt("div",{class:Tt(["carousel-item",{"carousel-item--card":c.value,"carousel-item--active":p.value,"carousel-item--prev":h.value,"carousel-item--next":g.value}]),style:Bn(y.value),onClick:w},[ti(_.$slots,"default",{},void 0,!0)],6)),[[a0,n.value]])}}),kT=Sr(W6,[["__scopeId","data-v-6046a978"]]),V6={class:"async-comp-wrapper"},H6={key:0,class:"async-comp-error screenshot-fallback"},G6={class:"toggle-btn active error"},K6=["src"],q6={key:1,class:"async-comp-error"},Y6={key:2,class:"async-comp-error"},X6={class:"toggle-btn active warn"},J6=It({__name:"index",props:{loading:{type:Boolean},classObj:{},currentRenderError:{},currentRenderWarn:{},screenshotUrl:{}},setup(e,{expose:t}){const n=e,r=Ns("compContainer"),o=Re(!0),s=Re(!1),a=ce(()=>n.currentRenderError.length>0?!1:n.currentRenderWarn.length>0?!s.value:!0);return t({compContainer:r}),(c,u)=>{const f=Ih("Icon"),p=TM("loading");return vp((Ce(),pt("div",V6,[vp(mt("div",{ref_key:"compContainer",ref:r,class:Tt(["async-comp-container",e.classObj])},null,2),[[a0,a.value]]),e.currentRenderError.length&&e.screenshotUrl?(Ce(),pt("div",H6,[mt("div",{class:"screenshot-toggle",onClick:u[0]||(u[0]=h=>o.value=!o.value)},[mt("div",G6,[o.value?(Ce(),_t(f,{key:0,icon:"material-symbols:error-outline-rounded"})):(Ce(),_t(f,{key:1,icon:"material-symbols:broken-image-outline-rounded"}))])]),o.value?(Ce(),pt("img",{key:0,src:e.screenshotUrl,class:"screenshot-img",alt:"组件预览截图"},null,8,K6)):(Ce(),_t(je(Dw),{key:1,error:e.currentRenderError},null,8,["error"]))])):e.currentRenderError.length?(Ce(),pt("div",q6,[Ht(je(Dw),{error:e.currentRenderError},null,8,["error"])])):e.currentRenderWarn.length?(Ce(),pt("div",Y6,[mt("div",{class:"screenshot-toggle",onClick:u[1]||(u[1]=h=>s.value=!s.value)},[mt("div",X6,[s.value?(Ce(),_t(f,{key:1,icon:"material-symbols:visibility-outline-rounded"})):(Ce(),_t(f,{key:0,icon:"material-symbols:warning-outline-rounded"}))])]),s.value?(Ce(),_t(je(U6),{key:0,warn:e.currentRenderWarn},null,8,["warn"])):Mr("",!0)])):Mr("",!0)])),[[p,e.loading]])}}}),TT=Sr(J6,[["__scopeId","data-v-d88466a0"]]),xT=Symbol("compRenderEvent");function Q6(){const e=Re(0);return Ti(xT,()=>{e.value++}),{renderEvent:e}}function Z6(){const e=En(xT,null);return{notifyRendered:()=>e?.()}}function OT(e,t){const{loaderError:n,loaderWarn:r}=t,{sendMessageToTop:o}=js(),s=$s(),{params:{instanceUid:a}}=Mo(),{notifyRendered:c}=Z6(),u=Re(!1),f=Re(""),p=Re(""),h=Re(""),g=Re(""),y=Re([]),w=ce(()=>({"async-comp-overflow-auto":e.panelType===we.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":e.panelType===we.COMP_EDIT_TAB_TYPE_MINI})),_=ce(()=>{const ne=[...y.value,f.value,p.value,n.value,g.value].filter(Boolean);return[...new Set(ne)]}),A=ce(()=>{const ne=[h.value,...r.value].filter(Boolean);return[...new Set(ne)]}),S=ce(()=>e.signedUrls?.length&&e.signedUrls.find(de=>de.path===`/${we.COMP_SCREENSHOT_MINI_FILENAME}`)?.signedUrl||null),v=ne=>ne instanceof Error?ne.message:typeof ne=="string"?ne:"未知错误",x=()=>{f.value="",p.value="",h.value="",n.value="",r.value=[],g.value="",y.value=[]},E=new Set;let R=null;const O=ne=>{E.forEach(({params:de,callback:z})=>{z(bv(ne,de.mode,de.width,de.height))})},P=ne=>{if(e.panelType!==we.COMP_EDIT_TAB_TYPE_MINI||R)return;const de=ne();de&&(R=new ResizeObserver(()=>{const z=ne();z&&O(z)}),R.observe(de))},T=(ne,de,z)=>{const re={params:ne,callback:de};return E.add(re),z&&de(bv(z,ne.mode,ne.width,ne.height)),()=>{E.delete(re)}},N=()=>{R?.disconnect(),R=null,E.clear()},K=()=>{const z=(e.dep||[]).filter(ae=>!e.depToFile[ae.name]).map(ae=>`${ae.parent?.name||ae.name}${ae.version||""} uninstalled`),re=[...new Set(z)];re.length&&(g.value=re.join(", "))};function G(ne){gt(()=>e.finalEntryUrl,async de=>{ne.unmount(),de&&(await Ur(),await ne.handleCompRender())},{immediate:!0}),gt(()=>[_.value,A.value],([de,z])=>{!de.length&&!z.length||de.length>0&&ne.unmount()}),gt(()=>({hasError:_.value.length>0,hasWarn:A.value.length>0}),({hasError:de,hasWarn:z})=>{o(Qe.COMP_RENDER_ERROR_SET,{hasError:de,hasWarn:z},s,a)},{immediate:!0}),Ds(()=>{ne.unmount(),N()})}return{sendMessageToTop:o,topOrigin:s,instanceUid:a,notifyRendered:c,loading:u,compRenderError:f,compCodeError:p,compCodeWarn:h,moduleNotInstalledError:g,modulesLoadError:y,loaderError:n,loaderWarn:r,classObj:w,currentRenderError:_,currentRenderWarn:A,screenshotUrl:S,getErrorMessage:v,resetAllError:x,notifyScaleListeners:O,setupScaleObserver:P,addScaleListener:T,checkDepModuleExist:K,setupLifecycle:G}}var mp,Fw;function e5(){if(Fw)return mp;Fw=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var a="",c=0,u=-1,f=0,p,h=0;h<=o.length;++h){if(h<o.length)p=o.charCodeAt(h);else{if(p===47)break;p=47}if(p===47){if(!(u===h-1||f===1))if(u!==h-1&&f===2){if(a.length<2||c!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",c=0):(a=a.slice(0,g),c=a.length-1-a.lastIndexOf("/")),u=h,f=0;continue}}else if(a.length===2||a.length===1){a="",c=0,u=h,f=0;continue}}s&&(a.length>0?a+="/..":a="..",c=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),c=h-u-1;u=h,f=0}else p===46&&f!==-1?++f:f=-1}return a}function n(o,s){var a=s.dir||s.root,c=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+c:a+o+c:c}var r={resolve:function(){for(var s="",a=!1,c,u=arguments.length-1;u>=-1&&!a;u--){var f;u>=0?f=arguments[u]:(c===void 0&&(c=process.cwd()),f=c),e(f),f.length!==0&&(s=f+"/"+s,a=f.charCodeAt(0)===47)}return s=t(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,c=s.charCodeAt(s.length-1)===47;return s=t(s,!a),s.length===0&&!a&&(s="."),s.length>0&&c&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a<arguments.length;++a){var c=arguments[a];e(c),c.length>0&&(s===void 0?s=c:s+="/"+c)}return s===void 0?".":r.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=r.resolve(s),a=r.resolve(a),s===a))return"";for(var c=1;c<s.length&&s.charCodeAt(c)===47;++c);for(var u=s.length,f=u-c,p=1;p<a.length&&a.charCodeAt(p)===47;++p);for(var h=a.length,g=h-p,y=f<g?f:g,w=-1,_=0;_<=y;++_){if(_===y){if(g>y){if(a.charCodeAt(p+_)===47)return a.slice(p+_+1);if(_===0)return a.slice(p+_)}else f>y&&(s.charCodeAt(c+_)===47?w=_:_===0&&(w=0));break}var A=s.charCodeAt(c+_),S=a.charCodeAt(p+_);if(A!==S)break;A===47&&(w=_)}var v="";for(_=c+w+1;_<=u;++_)(_===u||s.charCodeAt(_)===47)&&(v.length===0?v+="..":v+="/..");return v.length>0?v+a.slice(p+w):(p+=w,a.charCodeAt(p)===47&&++p,a.slice(p))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),c=a===47,u=-1,f=!0,p=s.length-1;p>=1;--p)if(a=s.charCodeAt(p),a===47){if(!f){u=p;break}}else f=!1;return u===-1?c?"/":".":c&&u===1?"//":s.slice(0,u)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var c=0,u=-1,f=!0,p;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var h=a.length-1,g=-1;for(p=s.length-1;p>=0;--p){var y=s.charCodeAt(p);if(y===47){if(!f){c=p+1;break}}else g===-1&&(f=!1,g=p+1),h>=0&&(y===a.charCodeAt(h)?--h===-1&&(u=p):(h=-1,u=g))}return c===u?u=g:u===-1&&(u=s.length),s.slice(c,u)}else{for(p=s.length-1;p>=0;--p)if(s.charCodeAt(p)===47){if(!f){c=p+1;break}}else u===-1&&(f=!1,u=p+1);return u===-1?"":s.slice(c,u)}},extname:function(s){e(s);for(var a=-1,c=0,u=-1,f=!0,p=0,h=s.length-1;h>=0;--h){var g=s.charCodeAt(h);if(g===47){if(!f){c=h+1;break}continue}u===-1&&(f=!1,u=h+1),g===46?a===-1?a=h:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===1&&a===u-1&&a===c+1?"":s.slice(a,u)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var c=s.charCodeAt(0),u=c===47,f;u?(a.root="/",f=1):f=0;for(var p=-1,h=0,g=-1,y=!0,w=s.length-1,_=0;w>=f;--w){if(c=s.charCodeAt(w),c===47){if(!y){h=w+1;break}continue}g===-1&&(y=!1,g=w+1),c===46?p===-1?p=w:_!==1&&(_=1):p!==-1&&(_=-1)}return p===-1||g===-1||_===0||_===1&&p===g-1&&p===h+1?g!==-1&&(h===0&&u?a.base=a.name=s.slice(1,g):a.base=a.name=s.slice(h,g)):(h===0&&u?(a.name=s.slice(1,p),a.base=s.slice(1,g)):(a.name=s.slice(h,p),a.base=s.slice(h,g)),a.ext=s.slice(p,g)),h>0?a.dir=s.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,mp=r,mp}var $w=e5();async function t5(e,t){return xt("__local__/api/comp/check",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function n5(e,t){return xt("__local__/api/comp/checkCompRepeat",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function r5(e,t){return xt("__local__/api/comp/compFileHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function o5(e,t){return xt("__local__/api/comp/compFilesOssSignedUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function i5(e,t){return xt("__local__/api/comp/dep",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function s5(e,t){return xt("__local__/api/comp/dir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function a5(e,t){return xt("__local__/api/comp/download",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function l5(e,t){return xt("__local__/api/comp/file",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function c5(e,t){return xt("__local__/api/comp/generateCompJson",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function u5(e,t){return xt("__local__/api/comp/localCompDetailByPathHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function f5(e,t){return xt("__local__/api/comp/localComps",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function d5(e,t){return xt("__local__/api/comp/localCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function p5(e,t){return xt("__local__/api/comp/openCompPathInExplorer",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function h5(e,t){return xt("__local__/api/comp/openCompPathInVscode",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function m5(e){return xt("__local__/api/comp/packageJson",{method:"POST",...e||{}})}async function g5(e,t){return xt("__local__/api/comp/renameDir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function y5(e,t){return xt("__local__/api/comp/submit",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function b5(e,t){return xt("__local__/api/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function _5(e,t){return xt("__local__/api/comp/updateVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function v5(e,t){return xt("__local__/api/comp/writeFile",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const w5=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheck:t5,compcontrollerCheckcomprepeat:n5,compcontrollerCompfilehash:r5,compcontrollerCompfilesosssignedurl:o5,compcontrollerDep:i5,compcontrollerDir:s5,compcontrollerDownload:a5,compcontrollerFile:l5,compcontrollerGeneratecompjson:c5,compcontrollerLocalcompdetailbypathhash:u5,compcontrollerLocalcomps:f5,compcontrollerLocalcompsbyids:d5,compcontrollerOpencomppathinexplorer:p5,compcontrollerOpencomppathinvscode:h5,compcontrollerPackagejson:m5,compcontrollerRenamedir:g5,compcontrollerSubmit:y5,compcontrollerUpdate:b5,compcontrollerUpdateversion:_5,compcontrollerWritefile:v5},Symbol.toStringTag,{value:"Module"}));async function E5(e,t){return xt("__local__/api/module/buildTemplateCompiler",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function S5(e){return xt("__local__/api/module/clearPreBuild",{method:"POST",...e||{}})}async function C5(e,t){return xt("__local__/api/module/preBuild",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function k5(e){return xt("__local__/api/module/preBuildSize",{method:"POST",...e||{}})}const T5=Object.freeze(Object.defineProperty({__proto__:null,modulecontrollerBuildtemplatecompiler:E5,modulecontrollerClearprebuild:S5,modulecontrollerPrebuild:C5,modulecontrollerPrebuildsize:k5},Symbol.toStringTag,{value:"Module"}));async function x5(e,t){return xt("__local__/api/oss/fileSignUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const O5=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerFilesignurl:x5},Symbol.toStringTag,{value:"Module"}));async function A5(e,t){return xt("__local__/api/vuefinder/list",{method:"GET",params:{...e},...t||{}})}const R5=Object.freeze(Object.defineProperty({__proto__:null,vuefindercontrollerList:A5},Symbol.toStringTag,{value:"Module"})),P5={comp:w5,module:T5,oss:O5,vuefinder:R5},Sm=It({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=En(_S),s=OT(t,{loaderError:Re(""),loaderWarn:Re([])}),a=Ns("layoutRef"),c=ce(()=>a.value?.compContainer??null),u=fT();let f=()=>{},p=0;const h=ce(()=>n?.value?.find(R=>R.name==="vue")?.version||""),g=R=>{t.panelType===we.COMP_EDIT_TAB_TYPE_MINI&&(R.$onScaleChange=(O,P)=>s.addScaleListener(O,P,c.value))},y=async R=>{if(t.localCompRootPath){const O=$w.join(t.localCompRootPath,we.COMP_ENTRY_FILE);await ZY(O)&&await R(O)}else if(t.signedUrls?.length){const O=t.signedUrls.find(P=>P.path===`/${we.COMP_ENTRY_FILE}`);O&&await R(O.signedUrl)}},{loadVue3Comp:w,loadVue2Comp:_}=C6({loadSfcLoader:async R=>{const{params:{isSfc:O}}=Mo(),P=!1,T=R==="vue3"?we.VUE3_SFC_LOADER_KEY:we.VUE2_SFC_LOADER_KEY,N=$w.join(`/${we.WEBSITE_PATH_CONTAINER}/js/`,`${T}.js`);return u.loadSfcLoader(R,{isDev:P,isSfc:O,scriptPath:N})},entryUrl:()=>t.finalEntryUrl,loadMainJs:y,useAsyncComponent:!0,installExtensions:{vue3:R=>g(R),vue2:R=>g(R)},callbacks:{setLoading:R=>s.loading.value=R,onRenderError:R=>s.compRenderError.value=R,onLoaderError:R=>s.loaderError.value=R,onCompCodeError:R=>s.compCodeError.value=R,onCompCodeWarn:R=>s.compCodeWarn.value=R,getErrorMessage:s.getErrorMessage}}),A=(R,O)=>R.mount?(R.mount(O),P=>{console.log("vue3组件卸载"),R?.unmount(),O.remove(),P?.()}):(R.$mount(O),P=>{console.log("vue2组件卸载"),R?.$destroy(),O.remove(),P?.()}),S=async R=>{if(yv.getMajorVersion(R)!=="2")return null;const P="__vue2TemplateCompiler__",T=window;if(T[P])return T[P];try{const N=await P5.module.modulecontrollerBuildtemplatecompiler({vueVersion:R}),{fileName:K}=N.data;console.log(`[loadTemplateCompiler] 服务端构建完成: ${K}`);const G=new URL(`${we.MODULE_LOAD_PREFIX}/${K}`,window.location.origin).href;await new Promise((de,z)=>{const re=document.createElement("script");re.src=G,re.onload=()=>de(),re.onerror=()=>z(new Error(`加载 ${G} 失败`)),document.head.appendChild(re)});const ne=T.VueTemplateCompiler;return ne?(T[P]=ne,console.log(`[loadTemplateCompiler] 已加载 compiler (version: ${ne.version})`),ne):(console.warn("[loadTemplateCompiler] window.VueTemplateCompiler 未找到,回退到默认 compiler"),null)}catch(N){return console.warn(`[loadTemplateCompiler] ${s.getErrorMessage(N)},回退到默认 compiler`),null}},v=async()=>{s.loading.value=!0,s.resetAllError();try{if(s.checkDepModuleExist(),s.moduleNotInstalledError.value)return null;const R=yv.getMajorVersion(h.value),O=await ET(t.dep,t.depToFile,["vue"]),P=await S(h.value),T=E6({moduleCache:O,depToFile:t.depToFile,signedUrls:t.signedUrls,templateCompiler:P,errorCallBack:N=>{console.error(N);const K=s.getErrorMessage(N);console.error(`sfcLoaderError:${K}`),s.loaderError.value=K},warnCallBack:N=>{console.warn(N),s.loaderWarn.value=[...s.loaderWarn.value,N]}});return R==="3"?await w(T):R==="2"?await _(T):null}catch(R){console.error(R);const O=s.getErrorMessage(R);return console.error(`loadAsyncComp error:${O}`),s.loaderError.value=O,null}finally{s.loading.value=!1}};async function x(){const R=c.value;if(!R){console.error("组件挂载点不存在");return}p++;const O=p,P=document.createElement("div");P.style.height="100%",P.style.width="100%",R.appendChild(P);const T=()=>{P.parentNode&&P.remove()};try{const N=await v();if(O!==p){N?A(N,P)(()=>{}):T();return}if(!N){console.error("组件实例创建失败"),T();return}f=A(N,P),s.setupScaleObserver(()=>c.value),setTimeout(()=>{s.notifyRendered()},200)}catch(N){console.error(N),console.error(`handleCompRender error:${s.getErrorMessage(N)}`),T()}}const E=()=>{f(()=>{c.value&&(c.value.innerHTML="")})};return s.setupLifecycle({unmount:E,handleCompRender:x}),(R,O)=>(Ce(),_t(TT,{ref_key:"layoutRef",ref:a,loading:je(s).loading.value,"class-obj":je(s).classObj.value,"current-render-error":je(s).currentRenderError.value,"current-render-warn":je(s).currentRenderWarn.value,"screenshot-url":je(s).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),Cm=It({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,o=OT(t,{loaderError:Re(""),loaderWarn:Re([])}),s=Ns("layoutRef"),a=ce(()=>s.value?.compContainer??null),c=fT(),u=`/${we.WEBSITE_PATH_CONTAINER}/js/${we.REACT_JSX_LOADER_KEY}.js`;let f=null,p=null,h=0,g=null;const{loadReactComp:y,mountReactApp:w}=x6({loadReactLoader:async()=>{const{params:{isSfc:v}}=Mo();return c.loadReactLoader({isDev:!1,isSfc:v,scriptPath:u})},entryUrl:()=>t.finalEntryUrl,depToFile:t.depToFile,signedUrls:t.signedUrls,enableWarnPatch:!0,extraProps:()=>{const v={};return g&&(v.onScaleChange=g.onScaleChange),v},callbacks:{onLoaderError:v=>o.loaderError.value=v,onCompileError:v=>o.loaderError.value=v,onCompileWarn:v=>o.loaderWarn.value=[...o.loaderWarn.value,v],onCompCodeError:v=>o.compCodeError.value=v,onConsoleWarn:v=>o.compCodeWarn.value=v,onCompRenderError:v=>o.compRenderError.value=v,getErrorMessage:o.getErrorMessage}}),_=async()=>{o.loading.value=!0,o.resetAllError();try{if(o.checkDepModuleExist(),o.moduleNotInstalledError.value)return null;const v=await ET(t.dep,t.depToFile,["react","react-dom"]);return await y(v)}catch(v){console.error(v);const x=o.getErrorMessage(v);return console.error(`loadAsyncComp error:${x}`),o.loaderError.value=x,null}finally{o.loading.value=!1}},A=async()=>{const v=a.value;if(!v){console.error("组件挂载点不存在");return}h++;const x=h;t.panelType===we.COMP_EDIT_TAB_TYPE_MINI&&(g={onScaleChange:(R,O)=>o.addScaleListener(R,O,a.value)}),p=document.createElement("div"),p.style.height="100%",p.style.width="100%",v.appendChild(p);const E=()=>{p?.parentNode&&p.remove(),p=null};try{const R=await _();if(x!==h){E();return}if(!R){console.error("React组件加载失败"),E();return}const O=await w(R,p);if(!O){E();return}const{root:P,unmount:T}=O;f=P,p.__unmount=T,o.setupScaleObserver(()=>a.value),setTimeout(()=>{o.notifyRendered()},200)}catch(R){console.error(R),console.error(`handleCompRender error:${o.getErrorMessage(R)}`),E()}},S=()=>{p&&p.__unmount&&(p.__unmount(),p=null,f=null),a.value&&(a.value.innerHTML="")};return o.setupLifecycle({unmount:S,handleCompRender:A}),(v,x)=>(Ce(),_t(TT,{ref_key:"layoutRef",ref:s,loading:je(o).loading.value,"class-obj":je(o).classObj.value,"current-render-error":je(o).currentRenderError.value,"current-render-warn":je(o).currentRenderWarn.value,"screenshot-url":je(o).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),L5=It({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:we.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""},framework:{default:void 0}},setup(e){const t=OM(),n=e,r=ce(()=>{const{previews:s,...a}=n;return a}),o=ce(()=>n.framework===we.COMP_FRAMEWORK_REACT||Em(n.dep));return(s,a)=>(Ce(),_t(je(CT),Nr({class:"comp-mini-carousel",trigger:"click",arrow:"never"},je(t)),{default:Pi(()=>[(Ce(!0),pt(Vt,null,Fs(e.previews,(c,u)=>(Ce(),_t(je(kT),{key:u,class:"comp-mini-carousel-item"},{default:Pi(()=>[mt("div",{class:"comp-mini-carousel-slide",style:Bn({backgroundColor:n.bgColor})},[c.finalEntryUrl&&!o.value?(Ce(),_t(Sm,Nr({key:0,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):c.finalEntryUrl&&o.value?(Ce(),_t(Cm,Nr({key:1,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):Mr("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),qu=Sr(L5,[["__scopeId","data-v-dbb4f146"]]);function AT(e=3,t=we.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=ce(()=>u.value?.item),p=ce(()=>u.value?.dep??[]),h=ce(()=>u.value?.depToFile??{}),g=ce(()=>{if(!f.value)return[];const w=t===we.COMP_EDIT_TAB_TYPE_MINI;return f.value?.previewConfigs.filter(_=>w?_.miniPath?.length:_.fullPath?.length||_.miniPath?.length).slice(0,e).map(_=>{const A=w?_.miniPath:_.fullPath?.length?_.fullPath:_.miniPath,S=KV.getPreviewUrl(f.value.path,A);return{finalEntryUrl:`${we.COMP_PREVIEW_PREFIX_LOCAL}/${S}`}})}),y=ce(()=>({previews:g.value,dep:p.value,depToFile:h.value,localCompRootPath:f.value?.path.replace(we.FILE_MANAGER_DIRNAME,we.COMP_PREVIEW_PREFIX_LOCAL+"/"),framework:u.value?.framework}));return c(Qe.ITEM_INIT_SET_LOCAL,w=>{u.value=w}),s(Qe.ITEM_INIT_GET_LOCAL,n,a,r),{compAttrs:f,carouselBind:y,localDep:p,depToFile:h}}const I5=It({__name:"index",setup(e){const{carouselBind:t}=AT(3,we.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(Ce(),_t(qu,Ri(Cu(je(t))),null,16))}});function RT(e=3,t=we.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=Re(),p=ce(()=>u.value?.item),h=ce(()=>u.value?.depEntryNameToFile),g=ce(()=>u.value?.versionToFileAccessPath),y=ce(()=>u.value?.item?.version??""),w=ce(()=>{if(!Object.keys(p.value??{}).length)return[];const v=g.value??[],x=new Map(v.map(({path:R,signedUrl:O})=>[R,O])),E=t===we.COMP_EDIT_TAB_TYPE_MINI;return p.value?.previewConfigs.filter(R=>E?R.miniPath?.length:R.fullPath?.length||R.miniPath?.length).slice(0,e).map(R=>{const O=E?R.miniPath:R.fullPath?.length?R.fullPath:R.miniPath,P=VV.replaceBackslashWithSlash(O?.at(-1)??"");return{finalEntryUrl:x.get(P)??""}})}),_=ce(()=>({previews:w.value??[],dep:p.value?.dep??[],signedUrls:g.value??[],depToFile:h.value??{},bgColor:f.value??p.value?.bgColor??"",framework:u.value?.framework}));let A=()=>{};function S(v){A=v}return c(Qe.ITEM_INIT_SET,v=>{u.value=v}),c(Qe.BG_COLOR_SET,v=>{f.value=v}),s(Qe.ITEM_INIT_GET,n,a,r),s(Qe.BG_COLOR_GET,"",a,r),gt(()=>y.value,v=>{v&&A(v)},{once:!0}),{compAttrs:p,carouselBind:_,setInitVersion:S}}const M5=It({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=RT(3),r=Re(""),o=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,a)=>(Ce(),_t(qu,Ri(Cu(o.value)),null,16))}});function N5(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const D5=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ni(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let ls=null;function PT(e={}){return ls||(e.includeStyleProperties?(ls=e.includeStyleProperties,ls):(ls=ni(window.getComputedStyle(document.documentElement)),ls))}function su(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function F5(e){const t=su(e,"border-left-width"),n=su(e,"border-right-width");return e.clientWidth+t+n}function $5(e){const t=su(e,"border-top-width"),n=su(e,"border-bottom-width");return e.clientHeight+t+n}function LT(e,t={}){const n=t.width||F5(e),r=t.height||$5(e);return{width:n,height:r}}function j5(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const tr=16384;function U5(e){(e.width>tr||e.height>tr)&&(e.width>tr&&e.height>tr?e.width>e.height?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr):e.width>tr?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr))}function au(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function z5(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function B5(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),o.appendChild(s),s.appendChild(e),z5(o)}const Gn=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Gn(n,t)};function W5(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function V5(e,t){return PT(t).map(n=>{const r=e.getPropertyValue(n),o=e.getPropertyPriority(n);return`${n}: ${r}${o?" !important":""};`}).join(" ")}function H5(e,t,n,r){const o=`.${e}:${t}`,s=n.cssText?W5(n):V5(n,r);return document.createTextNode(`${o}{${s}}`)}function jw(e,t,n,r){const o=window.getComputedStyle(e,n),s=o.getPropertyValue("content");if(s===""||s==="none")return;const a=D5();try{t.className=`${t.className} ${a}`}catch{return}const c=document.createElement("style");c.appendChild(H5(a,n,o,r)),t.appendChild(c)}function G5(e,t,n){jw(e,t,":before",n),jw(e,t,":after",n)}const Uw="application/font-woff",zw="image/jpeg",K5={woff:Uw,woff2:Uw,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:zw,jpeg:zw,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function q5(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function km(e){const t=q5(e).toLowerCase();return K5[t]||""}function Y5(e){return e.split(/,/)[1]}function vh(e){return e.search(/^(data:)/)!==-1}function X5(e,t){return`data:${t};base64,${e}`}async function IT(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((s,a)=>{const c=new FileReader;c.onerror=a,c.onloadend=()=>{try{s(n({res:r,result:c.result}))}catch(u){a(u)}},c.readAsDataURL(o)})}const gp={};function J5(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function Tm(e,t,n){const r=J5(e,t,n.includeQueryParams);if(gp[r]!=null)return gp[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const s=await IT(e,n.fetchRequestInit,({res:a,result:c})=>(t||(t=a.headers.get("Content-Type")||""),Y5(c)));o=X5(s,t)}catch(s){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return gp[r]=o,o}async function Q5(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):au(t)}async function Z5(e,t){if(e.currentSrc){const s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);const c=s.toDataURL();return au(c)}const n=e.poster,r=km(n),o=await Tm(n,r,t);return au(o)}async function eX(e,t){var n;try{if(!((n=e?.contentDocument)===null||n===void 0)&&n.body)return await Yu(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function tX(e,t){return Gn(e,HTMLCanvasElement)?Q5(e):Gn(e,HTMLVideoElement)?Z5(e,t):Gn(e,HTMLIFrameElement)?eX(e,t):e.cloneNode(MT(e))}const nX=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",MT=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function rX(e,t,n){var r,o;if(MT(t))return t;let s=[];return nX(e)&&e.assignedNodes?s=ni(e.assignedNodes()):Gn(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ni(e.contentDocument.body.childNodes):s=ni(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),s.length===0||Gn(e,HTMLVideoElement)||await s.reduce((a,c)=>a.then(()=>Yu(c,n)).then(u=>{u&&t.appendChild(u)}),Promise.resolve()),t}function oX(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):PT(n).forEach(s=>{let a=o.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),Gn(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),r.setProperty(s,a,o.getPropertyPriority(s))})}function iX(e,t){Gn(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Gn(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function sX(e,t){if(Gn(e,HTMLSelectElement)){const r=Array.from(t.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function aX(e,t,n){return Gn(t,Element)&&(oX(e,t,n),G5(e,t,n),iX(e,t),sX(e,t)),t}async function lX(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const c=n[s].getAttribute("xlink:href");if(c){const u=e.querySelector(c),f=document.querySelector(c);!u&&f&&!r[c]&&(r[c]=await Yu(f,t,!0))}}const o=Object.values(r);if(o.length){const s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const c=document.createElementNS(s,"defs");a.appendChild(c);for(let u=0;u<o.length;u++)c.appendChild(o[u]);e.appendChild(a)}return e}async function Yu(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>tX(r,t)).then(r=>rX(e,r,t)).then(r=>aX(e,r,t)).then(r=>lX(r,t))}const NT=/url\((['"]?)([^'"]+?)\1\)/g,cX=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,uX=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function fX(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function dX(e){const t=[];return e.replace(NT,(n,r,o)=>(t.push(o),n)),t.filter(n=>!vh(n))}async function pX(e,t,n,r,o){try{const s=n?N5(t,n):t,a=km(t);let c;return o||(c=await Tm(s,a,r)),e.replace(fX(t),`$1${c}$3`)}catch{}return e}function hX(e,{preferredFontFormat:t}){return t?e.replace(uX,n=>{for(;;){const[r,,o]=cX.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function DT(e){return e.search(NT)!==-1}async function FT(e,t,n){if(!DT(e))return e;const r=hX(e,n);return dX(r).reduce((s,a)=>s.then(c=>pX(c,a,t,n)),Promise.resolve(r))}async function cs(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const s=await FT(o,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function mX(e,t){await cs("background",e,t)||await cs("background-image",e,t),await cs("mask",e,t)||await cs("-webkit-mask",e,t)||await cs("mask-image",e,t)||await cs("-webkit-mask-image",e,t)}async function gX(e,t){const n=Gn(e,HTMLImageElement);if(!(n&&!vh(e.src))&&!(Gn(e,SVGImageElement)&&!vh(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await Tm(r,km(r),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...u)=>{try{s(t.onImageErrorHandler(...u))}catch(f){a(f)}}:a;const c=e;c.decode&&(c.decode=s),c.loading==="lazy"&&(c.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function yX(e,t){const r=ni(e.childNodes).map(o=>$T(o,t));await Promise.all(r).then(()=>e)}async function $T(e,t){Gn(e,Element)&&(await mX(e,t),await gX(e,t),await yX(e,t))}function bX(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const Bw={};async function Ww(e){let t=Bw[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},Bw[e]=t,t}async function Vw(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let c=a.replace(r,"$1");return c.startsWith("https://")||(c=new URL(c,e.url).href),IT(c,t.fetchRequestInit,({result:u})=>(n=n.replace(a,`url(${u})`),[a,u]))});return Promise.all(s).then(()=>n)}function Hw(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const u=o.exec(r);if(u===null)break;t.push(u[0])}r=r.replace(o,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",c=new RegExp(a,"gi");for(;;){let u=s.exec(r);if(u===null){if(u=c.exec(r),u===null)break;s.lastIndex=c.lastIndex}else c.lastIndex=s.lastIndex;t.push(u[0])}return t}async function _X(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let c=a+1;const u=s.href,f=Ww(u).then(p=>Vw(p,t)).then(p=>Hw(p).forEach(h=>{try{o.insertRule(h,h.startsWith("@import")?c+=1:o.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(f)}})}catch(s){const a=e.find(c=>c.href==null)||document.styleSheets[0];o.href!=null&&r.push(Ww(o.href).then(c=>Vw(c,t)).then(c=>Hw(c).forEach(u=>{a.insertRule(u,a.cssRules.length)})).catch(c=>{console.error("Error loading remote stylesheet",c)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${o.href}`,s)}}),n))}function vX(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>DT(t.style.getPropertyValue("src")))}async function wX(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ni(e.ownerDocument.styleSheets),r=await _X(n,t);return vX(r)}function jT(e){return e.trim().replace(/["']/g,"")}function EX(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(jT(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function SX(e,t){const n=await wX(e,t),r=EX(e);return(await Promise.all(n.filter(s=>r.has(jT(s.style.fontFamily))).map(s=>{const a=s.parentStyleSheet?s.parentStyleSheet.href:null;return FT(s.cssText,a,t)}))).join(`
|
|
60
|
+
${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}function v6(e){return e==="less"?we.LESS_COMPILER_KEY:we.SASS_COMPILER_KEY}async function Nw(e,t=b6){const n=v6(e);if(hp[n])return hp[n];let r=window[n];if(!r)try{const o=window.parent;o&&o!==window&&(r=o[n])}catch{r=null}if(!r){const o=t(n);await _6(o),r=window[n]}if(!r)throw new Error(`[getCssCompiler] CSS 预编译器 ${e} 加载失败`);return hp[n]=r,r}async function w6(e,t,n){return t==="less"?(await(await Nw("less",n)).render(e)).css:(await Nw(t,n)).compileString(e).css}const wT=e=>{const{warnCallBack:t,scriptPathResolver:n}=e;return async(r,o)=>{if(r.trim()&&o)try{return await w6(r,o,n)}catch(a){throw t?.(`[processStyles] 浏览器端 CSS 预编译失败: ${a?.message||a}`),a}return r}},E6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,templateCompiler:s,cssCompilerScriptPathResolver:a,resolveDepUrl:c})=>{const u=wT({warnCallBack:o,scriptPathResolver:a}),f=bT({signedUrls:n}),p=vT(f,u),g=_T({depToFile:t,signedUrls:n,sourceExtensions:[".vue",".js",".ts"],resolveDepUrl:c??(w=>new URL(`${we.MODULE_LOAD_PREFIX}/${w}`,window.location.origin).href)});return{moduleCache:e,...s?{templateCompiler:s}:{},pathResolve:g,getFile:yT,addStyle:f,processStyles:u,handleModule:p,compiledCache:hT({errorCallBack:r,label:"vue3-sfc-loader"}),log:mT(r,o),createCJSModule:gT}},S6=e=>e instanceof Error?e.message:typeof e=="string"?e:"未知错误",C6=e=>{const{loadSfcLoader:t,entryUrl:n,loadMainJs:r,useAsyncComponent:o=!1,installExtensions:s,callbacks:a={}}=e,{setLoading:c,onRenderError:u,onLoaderError:f,onCompCodeError:p,onCompCodeWarn:h,getErrorMessage:g=S6}=a,y=()=>(typeof n=="function"?n():n)||"",w=v=>{v.config.errorHandler=x=>{const E=g(x);console.error(`[vue3] errorHandler: ${E}`),p?.(E),c?.(!1)},v.config.warnHandler=x=>{console.warn(`[vue3] warnHandler: ${x}`),h?.(x),c?.(!1)}},_=v=>{v.config.errorHandler=function(x){const E=g(x);console.error(`[vue2] errorHandler: ${E}`),p?.(E),c?.(!1)},v.config.warnHandler=function(x){console.warn(`[vue2] warnHandler: ${x}`),h?.(x),c?.(!1)}};return{loadVue3Comp:async v=>{let x;try{x=await t("vue3")}catch(E){const R=g(E);return console.error("[loadVue3Comp] sfcLoader 加载失败:",R),u?.(R),null}try{if(!x){const P="sfcLoader 加载成功但实例为空";return console.error(`[loadVue3Comp] ${P}`),u?.(P),null}const{loadModule:E}=x,R=v?.moduleCache?.vue??await E("vue",v);if(!R?.createApp)return u?.("Vue 3 runtime not found in deps"),null;let O;if(o){const{defineAsyncComponent:P}=R;if(!P)return u?.("defineAsyncComponent is not defined"),null;const T=P({loader:async()=>await E(y(),v),delay:100,timeout:2e4,onError:(N,K,G)=>{if(console.error(`onError:${N.message}`),u?.(N.message),N)return G()}});O=R.createApp({template:"<AsyncComp />"}),O.component("AsyncComp",T)}else{const P=await E(y(),v);O=R.createApp(P)}return R.app=O,s?.vue3?.(O.config.globalProperties),w(O),await r(async P=>await E(P,v)),O}catch(E){const R=g(E);return console.error(`[loadVue3Comp] error: ${R}`),f?.(R),null}},loadVue2Comp:async v=>{let x;try{x=await t("vue2")}catch(E){const R=g(E);return console.error("[loadVue2Comp] sfcLoader 加载失败:",R),u?.(R),null}try{if(!x){const P="sfcLoader 加载成功但实例为空";return console.error(`[loadVue2Comp] ${P}`),u?.(P),null}const{loadModule:E}=x,R=await E("vue",v);if(!R?.default)return u?.("Vue 2 runtime not found in deps"),null;s?.vue2?.(R.default.prototype),_(R.default),await r(async P=>await E(P,v));const O=await E(y(),v);return new R.default(O)}catch(E){const R=g(E);return console.error(`[loadVue2Comp] error: ${R}`),f?.(R),null}}}},k6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,cssCompilerScriptPathResolver:s,resolveDepUrl:a})=>{const c=bT({signedUrls:n}),u=wT({warnCallBack:o,scriptPathResolver:s}),f=vT(c,u),h=_T({depToFile:t,signedUrls:n,sourceExtensions:[".jsx",".js",".tsx",".ts"],resolveDepUrl:a??(y=>new URL(`${we.MODULE_LOAD_PREFIX}/${y}`,window.location.origin).href)});return{moduleCache:e,pathResolve:h,getFile:yT,addStyle:c,handleModule:f,compiledCache:hT({errorCallBack:r,label:"react-jsx-loader"}),log:mT(r,o),createCJSModule:gT}},Em=e=>e.some(t=>t.name==="react"),T6=e=>e instanceof Error?e.message:typeof e=="string"?e:"未知错误",x6=e=>{const{loadReactLoader:t,entryUrl:n,depToFile:r,signedUrls:o,cssCompilerScriptPathResolver:s,resolveDepUrl:a,enableWarnPatch:c=!1,extraProps:u,runtimeNotFoundMsg:f="React runtime not found",reactDomNotFoundMsg:p="ReactDOM runtime not found",callbacks:h={}}=e,{onLoaderError:g,onCompileError:y,onCompileWarn:w,onCompCodeError:_,onConsoleWarn:A,onCompRenderError:S,getErrorMessage:v=T6}=h,x=()=>(typeof n=="function"?n():n)||"";return{loadReactComp:async O=>{try{const P=await t(),{loadModule:T}=P,N=k6({moduleCache:O,depToFile:r,signedUrls:o,errorCallBack:ne=>y?.(ne.message),warnCallBack:ne=>w?.(ne),...s?{cssCompilerScriptPathResolver:s}:{},...a?{resolveDepUrl:a}:{}}),K=await T("react",N);if(!K)return g?.(f),null;const G=await T(x(),N);return G?.default?{React:K,Component:G.default,loadModule:T,options:N}:(S?.("Component has no default export"),null)}catch(P){const T=v(P);return console.error(`loadReactComp error: ${T}`),g?.(T),null}},mountReactApp:async({React:O,Component:P,loadModule:T,options:N},K)=>{let G;try{G=await T("react-dom/client",N)}catch{try{G=await T("react-dom",N)}catch{return g?.(p),null}}if(!G)return g?.(p),null;const ne=typeof G?.default?.createRoot=="function",de=class extends O.Component{state={hasError:!1,errorMessage:""};static getDerivedStateFromError(ue){return{hasError:!0,errorMessage:ue.message}}componentDidCatch(ue){console.error(`React render error: ${ue?.message||ue}`),_?.(ue?.message||String(ue))}render(){return this.state.hasError?O.createElement("div",{style:{color:"red",padding:"16px"}},`Component render error: ${this.state.errorMessage}`):this.props.children}};let z=null;if(c){z=console.error;const ue=/^Warning:/;console.error=(...Ee)=>{const We=Ee.join(" ");ue.test(We)&&A?.(We),z.apply(console,Ee)}}const re=()=>{z&&(console.error=z)},ae=()=>{const ue=u?.()??{};return O.createElement(de,null,O.createElement(P,ue))};if(ne){const ue=G.default.createRoot(K);return ue.render(O.createElement(ae)),{root:ue,unmount:()=>{console.log("React组件卸载"),re(),ue.unmount(),K.remove()}}}else return G.default.render(O.createElement(ae),K),{root:null,unmount:()=>{console.log("React组件卸载"),re(),G.default.unmountComponentAtNode(K),K.remove()}}}}};async function ET(e,t,n,r){const o=[...e];return o.sort((a,c)=>{for(const u of n){if(a.name===u)return-1;if(c.name===u)return 1}return 0}),await o.reduce(async(a,c)=>{const{name:u}=c,f=await a,p=t[u];if(!p||n$.PREBUILD_MODULE_SKIP_EXT.find(g=>p.endsWith(g)))return f;try{const y=await import(r?r(u,p):`${we.MODULE_LOAD_PREFIX}/${p}`);f[u]={...y.default,...y,__esModule:!0}}catch(g){const y=g instanceof Error?g.message:String(g);console.warn(`[cacheModule] dep "${u}" preload failed, will be handled by loader:`,y)}return f},Promise.resolve({}))}const O6=["id","aria-label","aria-disabled"],A6=["onClick"],R6=["name","value","checked","disabled","onChange"],P6={class:"segmented__label"},L6=It({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=Re(),s=Re({opacity:"0"}),a=ce(()=>n.segProps?.value||"value"),c=ce(()=>n.segProps?.label||"label"),u=ce(()=>n.segProps?.disabled||"disabled");function f(A){return typeof A=="object"&&A!==null?A[a.value]:A}function p(A){return typeof A=="object"&&A!==null?A[c.value]:A}function h(A){return n.disabled?!0:typeof A=="object"&&A!==null?!!A[u.value]:!1}const g=ce(()=>n.options.map(A=>typeof A=="object"&&A!==null?{...A,[a.value]:A[a.value],[c.value]:A[c.value],[u.value]:A[u.value]}:A));function y(A){return f(A)===n.modelValue}function w(A){if(h(A))return;const S=f(A);S!==n.modelValue&&(r("update:modelValue",S),r("change",S))}function _(){Ur(()=>{const A=o.value?.parentElement;if(!A)return;const S=A.querySelectorAll(".segmented__item");let v=null;for(let R=0;R<S.length;R++){const O=S.item(R);if(O&&O.classList.contains("is-selected")){v=O;break}}if(!v){s.value={opacity:"0"};return}const x=A.getBoundingClientRect(),E=v.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateY(${E.top-x.top}px)`}:s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateX(${E.left-x.left}px)`}})}return gt(()=>n.modelValue,_),gt(()=>n.options,_),gt(()=>n.direction,_),Er(_),(A,S)=>(Ce(),pt("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Tt(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[mt("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Bn(s.value)},null,4),(Ce(!0),pt(Vt,null,Fs(g.value,(v,x)=>(Ce(),pt("label",{key:f(v),class:Tt(["segmented__item",{"is-selected":y(v),"is-disabled":h(v)}]),onClick:E=>w(v)},[mt("input",{type:"radio",class:"segmented__input",name:e.name,value:f(v),checked:y(v),disabled:h(v),onChange:E=>w(v)},null,40,R6),mt("span",P6,[ti(A.$slots,"default",{item:v,index:x},()=>[Bc(Oo(p(v)),1)],!0)])],10,A6))),128))],10,O6))}}),I6=Sr(L6,[["__scopeId","data-v-1ee57095"]]),M6={class:"ec-list"},N6={class:"ec-actions"},D6=It({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Di(),n=kC();return(r,o)=>(Ce(),pt("div",{class:Tt(["ec-outer",je(n)?"ec-outer--dark":"ec-outer--light"])},[mt("div",{class:Tt(["ec-inner",je(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=mt("div",{class:"ec-icon"},"🔧",-1)),mt("h4",{class:Tt(["ec-title",je(n)?"ec-title--dark":"ec-title--light"])},Oo(je(t)("comp.compileError")),3),mt("div",M6,[(Ce(!0),pt(Vt,null,Fs(e.error,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["ec-item",je(n)?"ec-item--dark":"ec-item--light"])},Oo(s),3))),128))]),mt("div",N6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),Dw=Sr(D6,[["__scopeId","data-v-5cf301e4"]]),F6={class:"wc-list"},$6={class:"wc-actions"},j6=It({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Di(),n=kC();return(r,o)=>(Ce(),pt("div",{class:Tt(["wc-outer",je(n)?"wc-outer--dark":"wc-outer--light"])},[mt("div",{class:Tt(["wc-inner",je(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=mt("div",{class:"wc-icon"},"⚠️",-1)),mt("h4",{class:Tt(["wc-title",je(n)?"wc-title--dark":"wc-title--light"])},Oo(je(t)("comp.compileWarn")),3),mt("div",F6,[(Ce(!0),pt(Vt,null,Fs(e.warn,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["wc-item",je(n)?"wc-item--dark":"wc-item--light"])},Oo(s),3))),128))]),mt("div",$6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),U6=Sr(j6,[["__scopeId","data-v-cce09743"]]),z6=It({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e,{expose:t}){const n=Ns("bodyRef");return t({bodyRef:n}),(r,o)=>(Ce(),pt("div",{class:Tt(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[r.$slots.header||e.header?(Ce(),pt("div",{key:0,class:Tt(["card__header",e.headerClass])},[ti(r.$slots,"header",{},()=>[Bc(Oo(e.header),1)],!0)],2)):Mr("",!0),mt("div",{ref_key:"bodyRef",ref:n,class:Tt(["card__body",e.bodyClass]),style:Bn(e.bodyStyle)},[ti(r.$slots,"default",{},void 0,!0)],6),r.$slots.footer||e.footer?(Ce(),pt("div",{key:1,class:Tt(["card__footer",e.footerClass])},[ti(r.$slots,"footer",{},()=>[Bc(Oo(e.footer),1)],!0)],2)):Mr("",!0)],2))}}),ST=Sr(z6,[["__scopeId","data-v-36db9d87"]]),B6=It({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=Re(r.initialIndex),a=Re(!1),c=Re(!1),u=Re(),f=Re([]);function p(z){f.value.push(z)}function h(z){const re=f.value.findIndex(ae=>ae.uid===z);re!==-1&&(f.value.splice(re,1),s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)))}const g=ce(()=>r.direction==="vertical"),y=ce(()=>r.type==="card"),w=ce(()=>r.cardScale);Ti("carousel",{items:f,addItem:p,removeItem:h,activeIndex:s,isVertical:g,isCard:y,cardScale:w,translating:ce(()=>a.value),animating:ce(()=>a.value),slideTo:R});const _=ce(()=>{const z={};return r.height&&r.height!=="auto"&&(z.height=r.height),z}),A=ce(()=>{if(y.value)return{};if(f.value.length===0)return{};const re=-s.value*100;return g.value?{transform:`translateY(${re}%)`}:{transform:`translateX(${re}%)`}}),S=ce(()=>r.trigger==="click"?"click":"mouseenter"),v=ce(()=>g.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),x=ce(()=>g.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function E(z){const re=f.value.length;return re===0?0:r.loop?(z%re+re)%re:Math.max(0,Math.min(z,re-1))}function R(z){if(f.value.length===0)return;const ae=E(z);if(ae===s.value)return;const ue=s.value;s.value=ae,a.value=!0,o("change",ae,ue),setTimeout(()=>{a.value=!1},400)}function O(){R(s.value+1)}function P(){R(s.value-1)}function T(z){if(typeof z=="number"){R(z);return}const re=f.value.findIndex(ae=>ae.name===z);re!==-1&&R(re)}let N=null;function K(){G(),!(!r.autoplay||f.value.length<=1)&&(N=setInterval(()=>{c.value&&r.pauseOnHover||O()},r.interval))}function G(){N!==null&&(clearInterval(N),N=null)}function ne(){c.value=!0}function de(){c.value=!1}return gt(()=>f.value.length,()=>{s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)),r.autoplay&&K()}),gt(()=>r.autoplay,z=>{z?K():G()}),gt(()=>r.interval,()=>{r.autoplay&&K()}),Er(()=>{r.autoplay&&K()}),Eu(()=>{G()}),t({activeIndex:s,setActiveItem:T,prev:P,next:O}),(z,re)=>(Ce(),pt("div",{ref_key:"carouselRef",ref:u,class:Tt(["carousel",[`carousel--${e.direction}`]]),style:Bn(_.value),onMouseenter:ne,onMouseleave:de},[mt("div",{class:Tt(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[mt("div",{class:Tt(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":a.value,"carousel__track--motion-blur":e.motionBlur&&a.value}]),style:Bn(A.value)},[ti(z.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:0,class:Tt(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(v.value),onClick:Pb(P,["stop"])},[...re[0]||(re[0]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Mr("",!0),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:1,class:Tt(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(x.value),onClick:Pb(O,["stop"])},[...re[1]||(re[1]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Mr("",!0),f.value.length>1?(Ce(),pt("ul",{key:2,class:Tt(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(Ce(!0),pt(Vt,null,Fs(f.value,(ae,ue)=>(Ce(),pt("li",Nr({key:ae.uid,class:["carousel__indicator",{"carousel__indicator--active":ue===s.value}]},{[bc(S.value)]:Ee=>T(ue)}),[mt("span",null,Oo(ae.label||""),1)],16))),128))],2)):Mr("",!0)],38))}}),CT=Sr(B6,[["__scopeId","data-v-44ca82d0"]]),W6=It({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=Re(!1),r=En("carousel"),o=Re(0);Er(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),Eu(()=>{r?.removeItem(o.value)});const s=ce(()=>r?.items.value??[]),a=ce(()=>r?.activeIndex.value??0),c=ce(()=>r?.isCard.value??!1),u=ce(()=>r?.cardScale.value??.83),f=ce(()=>s.value.findIndex(_=>_.uid===o.value)),p=ce(()=>f.value===a.value),h=ce(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value-1+_)%_}),g=ce(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value+1)%_}),y=ce(()=>{if(c.value&&s.value.length>1){const _=u.value;return p.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:h.value?{transform:`translateX(-30%) scale(${_})`,zIndex:2,opacity:.6}:g.value?{transform:`translateX(30%) scale(${_})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${_})`,zIndex:1,opacity:0}}return{}});function w(){c.value&&(p.value||(h.value||g.value)&&r?.slideTo(f.value))}return(_,A)=>vp((Ce(),pt("div",{class:Tt(["carousel-item",{"carousel-item--card":c.value,"carousel-item--active":p.value,"carousel-item--prev":h.value,"carousel-item--next":g.value}]),style:Bn(y.value),onClick:w},[ti(_.$slots,"default",{},void 0,!0)],6)),[[a0,n.value]])}}),kT=Sr(W6,[["__scopeId","data-v-27534ba2"]]),V6={class:"async-comp-wrapper"},H6={key:0,class:"async-comp-error screenshot-fallback"},G6={class:"toggle-btn active error"},K6=["src"],q6={key:1,class:"async-comp-error"},Y6={key:2,class:"async-comp-error"},X6={class:"toggle-btn active warn"},J6=It({__name:"index",props:{loading:{type:Boolean},classObj:{},currentRenderError:{},currentRenderWarn:{},screenshotUrl:{}},setup(e,{expose:t}){const n=e,r=Ns("compContainer"),o=Re(!0),s=Re(!1),a=ce(()=>n.currentRenderError.length>0?!1:n.currentRenderWarn.length>0?!s.value:!0);return t({compContainer:r}),(c,u)=>{const f=Ih("Icon"),p=TM("loading");return vp((Ce(),pt("div",V6,[vp(mt("div",{ref_key:"compContainer",ref:r,class:Tt(["async-comp-container",e.classObj])},null,2),[[a0,a.value]]),e.currentRenderError.length&&e.screenshotUrl?(Ce(),pt("div",H6,[mt("div",{class:"screenshot-toggle",onClick:u[0]||(u[0]=h=>o.value=!o.value)},[mt("div",G6,[o.value?(Ce(),_t(f,{key:0,icon:"material-symbols:error-outline-rounded"})):(Ce(),_t(f,{key:1,icon:"material-symbols:broken-image-outline-rounded"}))])]),o.value?(Ce(),pt("img",{key:0,src:e.screenshotUrl,class:"screenshot-img",alt:"组件预览截图"},null,8,K6)):(Ce(),_t(je(Dw),{key:1,error:e.currentRenderError},null,8,["error"]))])):e.currentRenderError.length?(Ce(),pt("div",q6,[Ht(je(Dw),{error:e.currentRenderError},null,8,["error"])])):e.currentRenderWarn.length?(Ce(),pt("div",Y6,[mt("div",{class:"screenshot-toggle",onClick:u[1]||(u[1]=h=>s.value=!s.value)},[mt("div",X6,[s.value?(Ce(),_t(f,{key:1,icon:"material-symbols:visibility-outline-rounded"})):(Ce(),_t(f,{key:0,icon:"material-symbols:warning-outline-rounded"}))])]),s.value?(Ce(),_t(je(U6),{key:0,warn:e.currentRenderWarn},null,8,["warn"])):Mr("",!0)])):Mr("",!0)])),[[p,e.loading]])}}}),TT=Sr(J6,[["__scopeId","data-v-9f945523"]]),xT=Symbol("compRenderEvent");function Q6(){const e=Re(0);return Ti(xT,()=>{e.value++}),{renderEvent:e}}function Z6(){const e=En(xT,null);return{notifyRendered:()=>e?.()}}function OT(e,t){const{loaderError:n,loaderWarn:r}=t,{sendMessageToTop:o}=js(),s=$s(),{params:{instanceUid:a}}=Mo(),{notifyRendered:c}=Z6(),u=Re(!1),f=Re(""),p=Re(""),h=Re(""),g=Re(""),y=Re([]),w=ce(()=>({"async-comp-overflow-auto":e.panelType===we.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":e.panelType===we.COMP_EDIT_TAB_TYPE_MINI})),_=ce(()=>{const ne=[...y.value,f.value,p.value,n.value,g.value].filter(Boolean);return[...new Set(ne)]}),A=ce(()=>{const ne=[h.value,...r.value].filter(Boolean);return[...new Set(ne)]}),S=ce(()=>e.signedUrls?.length&&e.signedUrls.find(de=>de.path===`/${we.COMP_SCREENSHOT_MINI_FILENAME}`)?.signedUrl||null),v=ne=>ne instanceof Error?ne.message:typeof ne=="string"?ne:"未知错误",x=()=>{f.value="",p.value="",h.value="",n.value="",r.value=[],g.value="",y.value=[]},E=new Set;let R=null;const O=ne=>{E.forEach(({params:de,callback:z})=>{z(bv(ne,de.mode,de.width,de.height))})},P=ne=>{if(e.panelType!==we.COMP_EDIT_TAB_TYPE_MINI||R)return;const de=ne();de&&(R=new ResizeObserver(()=>{const z=ne();z&&O(z)}),R.observe(de))},T=(ne,de,z)=>{const re={params:ne,callback:de};return E.add(re),z&&de(bv(z,ne.mode,ne.width,ne.height)),()=>{E.delete(re)}},N=()=>{R?.disconnect(),R=null,E.clear()},K=()=>{const z=(e.dep||[]).filter(ae=>!e.depToFile[ae.name]).map(ae=>`${ae.parent?.name||ae.name}${ae.version||""} uninstalled`),re=[...new Set(z)];re.length&&(g.value=re.join(", "))};function G(ne){gt(()=>e.finalEntryUrl,async de=>{ne.unmount(),de&&(await Ur(),await ne.handleCompRender())},{immediate:!0}),gt(()=>[_.value,A.value],([de,z])=>{!de.length&&!z.length||de.length>0&&ne.unmount()}),gt(()=>({hasError:_.value.length>0,hasWarn:A.value.length>0}),({hasError:de,hasWarn:z})=>{o(Qe.COMP_RENDER_ERROR_SET,{hasError:de,hasWarn:z},s,a)},{immediate:!0}),Ds(()=>{ne.unmount(),N()})}return{sendMessageToTop:o,topOrigin:s,instanceUid:a,notifyRendered:c,loading:u,compRenderError:f,compCodeError:p,compCodeWarn:h,moduleNotInstalledError:g,modulesLoadError:y,loaderError:n,loaderWarn:r,classObj:w,currentRenderError:_,currentRenderWarn:A,screenshotUrl:S,getErrorMessage:v,resetAllError:x,notifyScaleListeners:O,setupScaleObserver:P,addScaleListener:T,checkDepModuleExist:K,setupLifecycle:G}}var mp,Fw;function e5(){if(Fw)return mp;Fw=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var a="",c=0,u=-1,f=0,p,h=0;h<=o.length;++h){if(h<o.length)p=o.charCodeAt(h);else{if(p===47)break;p=47}if(p===47){if(!(u===h-1||f===1))if(u!==h-1&&f===2){if(a.length<2||c!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",c=0):(a=a.slice(0,g),c=a.length-1-a.lastIndexOf("/")),u=h,f=0;continue}}else if(a.length===2||a.length===1){a="",c=0,u=h,f=0;continue}}s&&(a.length>0?a+="/..":a="..",c=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),c=h-u-1;u=h,f=0}else p===46&&f!==-1?++f:f=-1}return a}function n(o,s){var a=s.dir||s.root,c=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+c:a+o+c:c}var r={resolve:function(){for(var s="",a=!1,c,u=arguments.length-1;u>=-1&&!a;u--){var f;u>=0?f=arguments[u]:(c===void 0&&(c=process.cwd()),f=c),e(f),f.length!==0&&(s=f+"/"+s,a=f.charCodeAt(0)===47)}return s=t(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,c=s.charCodeAt(s.length-1)===47;return s=t(s,!a),s.length===0&&!a&&(s="."),s.length>0&&c&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a<arguments.length;++a){var c=arguments[a];e(c),c.length>0&&(s===void 0?s=c:s+="/"+c)}return s===void 0?".":r.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=r.resolve(s),a=r.resolve(a),s===a))return"";for(var c=1;c<s.length&&s.charCodeAt(c)===47;++c);for(var u=s.length,f=u-c,p=1;p<a.length&&a.charCodeAt(p)===47;++p);for(var h=a.length,g=h-p,y=f<g?f:g,w=-1,_=0;_<=y;++_){if(_===y){if(g>y){if(a.charCodeAt(p+_)===47)return a.slice(p+_+1);if(_===0)return a.slice(p+_)}else f>y&&(s.charCodeAt(c+_)===47?w=_:_===0&&(w=0));break}var A=s.charCodeAt(c+_),S=a.charCodeAt(p+_);if(A!==S)break;A===47&&(w=_)}var v="";for(_=c+w+1;_<=u;++_)(_===u||s.charCodeAt(_)===47)&&(v.length===0?v+="..":v+="/..");return v.length>0?v+a.slice(p+w):(p+=w,a.charCodeAt(p)===47&&++p,a.slice(p))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),c=a===47,u=-1,f=!0,p=s.length-1;p>=1;--p)if(a=s.charCodeAt(p),a===47){if(!f){u=p;break}}else f=!1;return u===-1?c?"/":".":c&&u===1?"//":s.slice(0,u)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var c=0,u=-1,f=!0,p;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var h=a.length-1,g=-1;for(p=s.length-1;p>=0;--p){var y=s.charCodeAt(p);if(y===47){if(!f){c=p+1;break}}else g===-1&&(f=!1,g=p+1),h>=0&&(y===a.charCodeAt(h)?--h===-1&&(u=p):(h=-1,u=g))}return c===u?u=g:u===-1&&(u=s.length),s.slice(c,u)}else{for(p=s.length-1;p>=0;--p)if(s.charCodeAt(p)===47){if(!f){c=p+1;break}}else u===-1&&(f=!1,u=p+1);return u===-1?"":s.slice(c,u)}},extname:function(s){e(s);for(var a=-1,c=0,u=-1,f=!0,p=0,h=s.length-1;h>=0;--h){var g=s.charCodeAt(h);if(g===47){if(!f){c=h+1;break}continue}u===-1&&(f=!1,u=h+1),g===46?a===-1?a=h:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===1&&a===u-1&&a===c+1?"":s.slice(a,u)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var c=s.charCodeAt(0),u=c===47,f;u?(a.root="/",f=1):f=0;for(var p=-1,h=0,g=-1,y=!0,w=s.length-1,_=0;w>=f;--w){if(c=s.charCodeAt(w),c===47){if(!y){h=w+1;break}continue}g===-1&&(y=!1,g=w+1),c===46?p===-1?p=w:_!==1&&(_=1):p!==-1&&(_=-1)}return p===-1||g===-1||_===0||_===1&&p===g-1&&p===h+1?g!==-1&&(h===0&&u?a.base=a.name=s.slice(1,g):a.base=a.name=s.slice(h,g)):(h===0&&u?(a.name=s.slice(1,p),a.base=s.slice(1,g)):(a.name=s.slice(h,p),a.base=s.slice(h,g)),a.ext=s.slice(p,g)),h>0?a.dir=s.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,mp=r,mp}var $w=e5();async function t5(e,t){return xt("__local__/api/comp/check",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function n5(e,t){return xt("__local__/api/comp/checkCompRepeat",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function r5(e,t){return xt("__local__/api/comp/compFileHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function o5(e,t){return xt("__local__/api/comp/compFilesOssSignedUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function i5(e,t){return xt("__local__/api/comp/dep",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function s5(e,t){return xt("__local__/api/comp/dir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function a5(e,t){return xt("__local__/api/comp/download",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function l5(e,t){return xt("__local__/api/comp/file",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function c5(e,t){return xt("__local__/api/comp/generateCompJson",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function u5(e,t){return xt("__local__/api/comp/localCompDetailByPathHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function f5(e,t){return xt("__local__/api/comp/localComps",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function d5(e,t){return xt("__local__/api/comp/localCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function p5(e,t){return xt("__local__/api/comp/openCompPathInExplorer",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function h5(e,t){return xt("__local__/api/comp/openCompPathInVscode",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function m5(e){return xt("__local__/api/comp/packageJson",{method:"POST",...e||{}})}async function g5(e,t){return xt("__local__/api/comp/renameDir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function y5(e,t){return xt("__local__/api/comp/submit",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function b5(e,t){return xt("__local__/api/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function _5(e,t){return xt("__local__/api/comp/updateVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function v5(e,t){return xt("__local__/api/comp/writeFile",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const w5=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheck:t5,compcontrollerCheckcomprepeat:n5,compcontrollerCompfilehash:r5,compcontrollerCompfilesosssignedurl:o5,compcontrollerDep:i5,compcontrollerDir:s5,compcontrollerDownload:a5,compcontrollerFile:l5,compcontrollerGeneratecompjson:c5,compcontrollerLocalcompdetailbypathhash:u5,compcontrollerLocalcomps:f5,compcontrollerLocalcompsbyids:d5,compcontrollerOpencomppathinexplorer:p5,compcontrollerOpencomppathinvscode:h5,compcontrollerPackagejson:m5,compcontrollerRenamedir:g5,compcontrollerSubmit:y5,compcontrollerUpdate:b5,compcontrollerUpdateversion:_5,compcontrollerWritefile:v5},Symbol.toStringTag,{value:"Module"}));async function E5(e,t){return xt("__local__/api/module/buildTemplateCompiler",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function S5(e){return xt("__local__/api/module/clearPreBuild",{method:"POST",...e||{}})}async function C5(e,t){return xt("__local__/api/module/preBuild",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function k5(e){return xt("__local__/api/module/preBuildSize",{method:"POST",...e||{}})}const T5=Object.freeze(Object.defineProperty({__proto__:null,modulecontrollerBuildtemplatecompiler:E5,modulecontrollerClearprebuild:S5,modulecontrollerPrebuild:C5,modulecontrollerPrebuildsize:k5},Symbol.toStringTag,{value:"Module"}));async function x5(e,t){return xt("__local__/api/oss/fileSignUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const O5=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerFilesignurl:x5},Symbol.toStringTag,{value:"Module"}));async function A5(e,t){return xt("__local__/api/vuefinder/list",{method:"GET",params:{...e},...t||{}})}const R5=Object.freeze(Object.defineProperty({__proto__:null,vuefindercontrollerList:A5},Symbol.toStringTag,{value:"Module"})),P5={comp:w5,module:T5,oss:O5,vuefinder:R5},Sm=It({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=En(_S),s=OT(t,{loaderError:Re(""),loaderWarn:Re([])}),a=Ns("layoutRef"),c=ce(()=>a.value?.compContainer??null),u=fT();let f=()=>{},p=0;const h=ce(()=>n?.value?.find(R=>R.name==="vue")?.version||""),g=R=>{t.panelType===we.COMP_EDIT_TAB_TYPE_MINI&&(R.$onScaleChange=(O,P)=>s.addScaleListener(O,P,c.value))},y=async R=>{if(t.localCompRootPath){const O=$w.join(t.localCompRootPath,we.COMP_ENTRY_FILE);await ZY(O)&&await R(O)}else if(t.signedUrls?.length){const O=t.signedUrls.find(P=>P.path===`/${we.COMP_ENTRY_FILE}`);O&&await R(O.signedUrl)}},{loadVue3Comp:w,loadVue2Comp:_}=C6({loadSfcLoader:async R=>{const{params:{isSfc:O}}=Mo(),P=!1,T=R==="vue3"?we.VUE3_SFC_LOADER_KEY:we.VUE2_SFC_LOADER_KEY,N=$w.join(`/${we.WEBSITE_PATH_CONTAINER}/js/`,`${T}.js`);return u.loadSfcLoader(R,{isDev:P,isSfc:O,scriptPath:N})},entryUrl:()=>t.finalEntryUrl,loadMainJs:y,useAsyncComponent:!0,installExtensions:{vue3:R=>g(R),vue2:R=>g(R)},callbacks:{setLoading:R=>s.loading.value=R,onRenderError:R=>s.compRenderError.value=R,onLoaderError:R=>s.loaderError.value=R,onCompCodeError:R=>s.compCodeError.value=R,onCompCodeWarn:R=>s.compCodeWarn.value=R,getErrorMessage:s.getErrorMessage}}),A=(R,O)=>R.mount?(R.mount(O),P=>{console.log("vue3组件卸载"),R?.unmount(),O.remove(),P?.()}):(R.$mount(O),P=>{console.log("vue2组件卸载"),R?.$destroy(),O.remove(),P?.()}),S=async R=>{if(yv.getMajorVersion(R)!=="2")return null;const P="__vue2TemplateCompiler__",T=window;if(T[P])return T[P];try{const N=await P5.module.modulecontrollerBuildtemplatecompiler({vueVersion:R}),{fileName:K}=N.data;console.log(`[loadTemplateCompiler] 服务端构建完成: ${K}`);const G=new URL(`${we.MODULE_LOAD_PREFIX}/${K}`,window.location.origin).href;await new Promise((de,z)=>{const re=document.createElement("script");re.src=G,re.onload=()=>de(),re.onerror=()=>z(new Error(`加载 ${G} 失败`)),document.head.appendChild(re)});const ne=T.VueTemplateCompiler;return ne?(T[P]=ne,console.log(`[loadTemplateCompiler] 已加载 compiler (version: ${ne.version})`),ne):(console.warn("[loadTemplateCompiler] window.VueTemplateCompiler 未找到,回退到默认 compiler"),null)}catch(N){return console.warn(`[loadTemplateCompiler] ${s.getErrorMessage(N)},回退到默认 compiler`),null}},v=async()=>{s.loading.value=!0,s.resetAllError();try{if(s.checkDepModuleExist(),s.moduleNotInstalledError.value)return null;const R=yv.getMajorVersion(h.value),O=await ET(t.dep,t.depToFile,["vue"]),P=await S(h.value),T=E6({moduleCache:O,depToFile:t.depToFile,signedUrls:t.signedUrls,templateCompiler:P,errorCallBack:N=>{console.error(N);const K=s.getErrorMessage(N);console.error(`sfcLoaderError:${K}`),s.loaderError.value=K},warnCallBack:N=>{console.warn(N),s.loaderWarn.value=[...s.loaderWarn.value,N]}});return R==="3"?await w(T):R==="2"?await _(T):null}catch(R){console.error(R);const O=s.getErrorMessage(R);return console.error(`loadAsyncComp error:${O}`),s.loaderError.value=O,null}finally{s.loading.value=!1}};async function x(){const R=c.value;if(!R){console.error("组件挂载点不存在");return}p++;const O=p,P=document.createElement("div");P.style.height="100%",P.style.width="100%",R.appendChild(P);const T=()=>{P.parentNode&&P.remove()};try{const N=await v();if(O!==p){N?A(N,P)(()=>{}):T();return}if(!N){console.error("组件实例创建失败"),T();return}f=A(N,P),s.setupScaleObserver(()=>c.value),setTimeout(()=>{s.notifyRendered()},200)}catch(N){console.error(N),console.error(`handleCompRender error:${s.getErrorMessage(N)}`),T()}}const E=()=>{f(()=>{c.value&&(c.value.innerHTML="")})};return s.setupLifecycle({unmount:E,handleCompRender:x}),(R,O)=>(Ce(),_t(TT,{ref_key:"layoutRef",ref:a,loading:je(s).loading.value,"class-obj":je(s).classObj.value,"current-render-error":je(s).currentRenderError.value,"current-render-warn":je(s).currentRenderWarn.value,"screenshot-url":je(s).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),Cm=It({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,o=OT(t,{loaderError:Re(""),loaderWarn:Re([])}),s=Ns("layoutRef"),a=ce(()=>s.value?.compContainer??null),c=fT(),u=`/${we.WEBSITE_PATH_CONTAINER}/js/${we.REACT_JSX_LOADER_KEY}.js`;let f=null,p=null,h=0,g=null;const{loadReactComp:y,mountReactApp:w}=x6({loadReactLoader:async()=>{const{params:{isSfc:v}}=Mo();return c.loadReactLoader({isDev:!1,isSfc:v,scriptPath:u})},entryUrl:()=>t.finalEntryUrl,depToFile:t.depToFile,signedUrls:t.signedUrls,enableWarnPatch:!0,extraProps:()=>{const v={};return g&&(v.onScaleChange=g.onScaleChange),v},callbacks:{onLoaderError:v=>o.loaderError.value=v,onCompileError:v=>o.loaderError.value=v,onCompileWarn:v=>o.loaderWarn.value=[...o.loaderWarn.value,v],onCompCodeError:v=>o.compCodeError.value=v,onConsoleWarn:v=>o.compCodeWarn.value=v,onCompRenderError:v=>o.compRenderError.value=v,getErrorMessage:o.getErrorMessage}}),_=async()=>{o.loading.value=!0,o.resetAllError();try{if(o.checkDepModuleExist(),o.moduleNotInstalledError.value)return null;const v=await ET(t.dep,t.depToFile,["react","react-dom"]);return await y(v)}catch(v){console.error(v);const x=o.getErrorMessage(v);return console.error(`loadAsyncComp error:${x}`),o.loaderError.value=x,null}finally{o.loading.value=!1}},A=async()=>{const v=a.value;if(!v){console.error("组件挂载点不存在");return}h++;const x=h;t.panelType===we.COMP_EDIT_TAB_TYPE_MINI&&(g={onScaleChange:(R,O)=>o.addScaleListener(R,O,a.value)}),p=document.createElement("div"),p.style.height="100%",p.style.width="100%",v.appendChild(p);const E=()=>{p?.parentNode&&p.remove(),p=null};try{const R=await _();if(x!==h){E();return}if(!R){console.error("React组件加载失败"),E();return}const O=await w(R,p);if(!O){E();return}const{root:P,unmount:T}=O;f=P,p.__unmount=T,o.setupScaleObserver(()=>a.value),setTimeout(()=>{o.notifyRendered()},200)}catch(R){console.error(R),console.error(`handleCompRender error:${o.getErrorMessage(R)}`),E()}},S=()=>{p&&p.__unmount&&(p.__unmount(),p=null,f=null),a.value&&(a.value.innerHTML="")};return o.setupLifecycle({unmount:S,handleCompRender:A}),(v,x)=>(Ce(),_t(TT,{ref_key:"layoutRef",ref:s,loading:je(o).loading.value,"class-obj":je(o).classObj.value,"current-render-error":je(o).currentRenderError.value,"current-render-warn":je(o).currentRenderWarn.value,"screenshot-url":je(o).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),L5=It({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:we.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""},framework:{default:void 0}},setup(e){const t=OM(),n=e,r=ce(()=>{const{previews:s,...a}=n;return a}),o=ce(()=>n.framework===we.COMP_FRAMEWORK_REACT||Em(n.dep));return(s,a)=>(Ce(),_t(je(CT),Nr({class:"comp-mini-carousel",trigger:"click",arrow:"never"},je(t)),{default:Pi(()=>[(Ce(!0),pt(Vt,null,Fs(e.previews,(c,u)=>(Ce(),_t(je(kT),{key:u,class:"comp-mini-carousel-item"},{default:Pi(()=>[mt("div",{class:"comp-mini-carousel-slide",style:Bn({backgroundColor:n.bgColor})},[c.finalEntryUrl&&!o.value?(Ce(),_t(Sm,Nr({key:0,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):c.finalEntryUrl&&o.value?(Ce(),_t(Cm,Nr({key:1,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):Mr("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),qu=Sr(L5,[["__scopeId","data-v-8b59dfdc"]]);function AT(e=3,t=we.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=ce(()=>u.value?.item),p=ce(()=>u.value?.dep??[]),h=ce(()=>u.value?.depToFile??{}),g=ce(()=>{if(!f.value)return[];const w=t===we.COMP_EDIT_TAB_TYPE_MINI;return f.value?.previewConfigs.filter(_=>w?_.miniPath?.length:_.fullPath?.length||_.miniPath?.length).slice(0,e).map(_=>{const A=w?_.miniPath:_.fullPath?.length?_.fullPath:_.miniPath,S=KV.getPreviewUrl(f.value.path,A);return{finalEntryUrl:`${we.COMP_PREVIEW_PREFIX_LOCAL}/${S}`}})}),y=ce(()=>({previews:g.value,dep:p.value,depToFile:h.value,localCompRootPath:f.value?.path.replace(we.FILE_MANAGER_DIRNAME,we.COMP_PREVIEW_PREFIX_LOCAL+"/"),framework:u.value?.framework}));return c(Qe.ITEM_INIT_SET_LOCAL,w=>{u.value=w}),s(Qe.ITEM_INIT_GET_LOCAL,n,a,r),{compAttrs:f,carouselBind:y,localDep:p,depToFile:h}}const I5=It({__name:"index",setup(e){const{carouselBind:t}=AT(3,we.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(Ce(),_t(qu,Ri(Cu(je(t))),null,16))}});function RT(e=3,t=we.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=Re(),p=ce(()=>u.value?.item),h=ce(()=>u.value?.depEntryNameToFile),g=ce(()=>u.value?.versionToFileAccessPath),y=ce(()=>u.value?.item?.version??""),w=ce(()=>{if(!Object.keys(p.value??{}).length)return[];const v=g.value??[],x=new Map(v.map(({path:R,signedUrl:O})=>[R,O])),E=t===we.COMP_EDIT_TAB_TYPE_MINI;return p.value?.previewConfigs.filter(R=>E?R.miniPath?.length:R.fullPath?.length||R.miniPath?.length).slice(0,e).map(R=>{const O=E?R.miniPath:R.fullPath?.length?R.fullPath:R.miniPath,P=VV.replaceBackslashWithSlash(O?.at(-1)??"");return{finalEntryUrl:x.get(P)??""}})}),_=ce(()=>({previews:w.value??[],dep:p.value?.dep??[],signedUrls:g.value??[],depToFile:h.value??{},bgColor:f.value??p.value?.bgColor??"",framework:u.value?.framework}));let A=()=>{};function S(v){A=v}return c(Qe.ITEM_INIT_SET,v=>{u.value=v}),c(Qe.BG_COLOR_SET,v=>{f.value=v}),s(Qe.ITEM_INIT_GET,n,a,r),s(Qe.BG_COLOR_GET,"",a,r),gt(()=>y.value,v=>{v&&A(v)},{once:!0}),{compAttrs:p,carouselBind:_,setInitVersion:S}}const M5=It({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=RT(3),r=Re(""),o=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,a)=>(Ce(),_t(qu,Ri(Cu(o.value)),null,16))}});function N5(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const D5=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ni(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let ls=null;function PT(e={}){return ls||(e.includeStyleProperties?(ls=e.includeStyleProperties,ls):(ls=ni(window.getComputedStyle(document.documentElement)),ls))}function su(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function F5(e){const t=su(e,"border-left-width"),n=su(e,"border-right-width");return e.clientWidth+t+n}function $5(e){const t=su(e,"border-top-width"),n=su(e,"border-bottom-width");return e.clientHeight+t+n}function LT(e,t={}){const n=t.width||F5(e),r=t.height||$5(e);return{width:n,height:r}}function j5(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const tr=16384;function U5(e){(e.width>tr||e.height>tr)&&(e.width>tr&&e.height>tr?e.width>e.height?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr):e.width>tr?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr))}function au(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function z5(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function B5(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),o.appendChild(s),s.appendChild(e),z5(o)}const Gn=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Gn(n,t)};function W5(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function V5(e,t){return PT(t).map(n=>{const r=e.getPropertyValue(n),o=e.getPropertyPriority(n);return`${n}: ${r}${o?" !important":""};`}).join(" ")}function H5(e,t,n,r){const o=`.${e}:${t}`,s=n.cssText?W5(n):V5(n,r);return document.createTextNode(`${o}{${s}}`)}function jw(e,t,n,r){const o=window.getComputedStyle(e,n),s=o.getPropertyValue("content");if(s===""||s==="none")return;const a=D5();try{t.className=`${t.className} ${a}`}catch{return}const c=document.createElement("style");c.appendChild(H5(a,n,o,r)),t.appendChild(c)}function G5(e,t,n){jw(e,t,":before",n),jw(e,t,":after",n)}const Uw="application/font-woff",zw="image/jpeg",K5={woff:Uw,woff2:Uw,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:zw,jpeg:zw,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function q5(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function km(e){const t=q5(e).toLowerCase();return K5[t]||""}function Y5(e){return e.split(/,/)[1]}function vh(e){return e.search(/^(data:)/)!==-1}function X5(e,t){return`data:${t};base64,${e}`}async function IT(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((s,a)=>{const c=new FileReader;c.onerror=a,c.onloadend=()=>{try{s(n({res:r,result:c.result}))}catch(u){a(u)}},c.readAsDataURL(o)})}const gp={};function J5(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function Tm(e,t,n){const r=J5(e,t,n.includeQueryParams);if(gp[r]!=null)return gp[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const s=await IT(e,n.fetchRequestInit,({res:a,result:c})=>(t||(t=a.headers.get("Content-Type")||""),Y5(c)));o=X5(s,t)}catch(s){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return gp[r]=o,o}async function Q5(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):au(t)}async function Z5(e,t){if(e.currentSrc){const s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);const c=s.toDataURL();return au(c)}const n=e.poster,r=km(n),o=await Tm(n,r,t);return au(o)}async function eX(e,t){var n;try{if(!((n=e?.contentDocument)===null||n===void 0)&&n.body)return await Yu(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function tX(e,t){return Gn(e,HTMLCanvasElement)?Q5(e):Gn(e,HTMLVideoElement)?Z5(e,t):Gn(e,HTMLIFrameElement)?eX(e,t):e.cloneNode(MT(e))}const nX=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",MT=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function rX(e,t,n){var r,o;if(MT(t))return t;let s=[];return nX(e)&&e.assignedNodes?s=ni(e.assignedNodes()):Gn(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ni(e.contentDocument.body.childNodes):s=ni(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),s.length===0||Gn(e,HTMLVideoElement)||await s.reduce((a,c)=>a.then(()=>Yu(c,n)).then(u=>{u&&t.appendChild(u)}),Promise.resolve()),t}function oX(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):PT(n).forEach(s=>{let a=o.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),Gn(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),r.setProperty(s,a,o.getPropertyPriority(s))})}function iX(e,t){Gn(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Gn(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function sX(e,t){if(Gn(e,HTMLSelectElement)){const r=Array.from(t.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function aX(e,t,n){return Gn(t,Element)&&(oX(e,t,n),G5(e,t,n),iX(e,t),sX(e,t)),t}async function lX(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const c=n[s].getAttribute("xlink:href");if(c){const u=e.querySelector(c),f=document.querySelector(c);!u&&f&&!r[c]&&(r[c]=await Yu(f,t,!0))}}const o=Object.values(r);if(o.length){const s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const c=document.createElementNS(s,"defs");a.appendChild(c);for(let u=0;u<o.length;u++)c.appendChild(o[u]);e.appendChild(a)}return e}async function Yu(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>tX(r,t)).then(r=>rX(e,r,t)).then(r=>aX(e,r,t)).then(r=>lX(r,t))}const NT=/url\((['"]?)([^'"]+?)\1\)/g,cX=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,uX=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function fX(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function dX(e){const t=[];return e.replace(NT,(n,r,o)=>(t.push(o),n)),t.filter(n=>!vh(n))}async function pX(e,t,n,r,o){try{const s=n?N5(t,n):t,a=km(t);let c;return o||(c=await Tm(s,a,r)),e.replace(fX(t),`$1${c}$3`)}catch{}return e}function hX(e,{preferredFontFormat:t}){return t?e.replace(uX,n=>{for(;;){const[r,,o]=cX.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function DT(e){return e.search(NT)!==-1}async function FT(e,t,n){if(!DT(e))return e;const r=hX(e,n);return dX(r).reduce((s,a)=>s.then(c=>pX(c,a,t,n)),Promise.resolve(r))}async function cs(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const s=await FT(o,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function mX(e,t){await cs("background",e,t)||await cs("background-image",e,t),await cs("mask",e,t)||await cs("-webkit-mask",e,t)||await cs("mask-image",e,t)||await cs("-webkit-mask-image",e,t)}async function gX(e,t){const n=Gn(e,HTMLImageElement);if(!(n&&!vh(e.src))&&!(Gn(e,SVGImageElement)&&!vh(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await Tm(r,km(r),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...u)=>{try{s(t.onImageErrorHandler(...u))}catch(f){a(f)}}:a;const c=e;c.decode&&(c.decode=s),c.loading==="lazy"&&(c.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function yX(e,t){const r=ni(e.childNodes).map(o=>$T(o,t));await Promise.all(r).then(()=>e)}async function $T(e,t){Gn(e,Element)&&(await mX(e,t),await gX(e,t),await yX(e,t))}function bX(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const Bw={};async function Ww(e){let t=Bw[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},Bw[e]=t,t}async function Vw(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let c=a.replace(r,"$1");return c.startsWith("https://")||(c=new URL(c,e.url).href),IT(c,t.fetchRequestInit,({result:u})=>(n=n.replace(a,`url(${u})`),[a,u]))});return Promise.all(s).then(()=>n)}function Hw(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const u=o.exec(r);if(u===null)break;t.push(u[0])}r=r.replace(o,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",c=new RegExp(a,"gi");for(;;){let u=s.exec(r);if(u===null){if(u=c.exec(r),u===null)break;s.lastIndex=c.lastIndex}else c.lastIndex=s.lastIndex;t.push(u[0])}return t}async function _X(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let c=a+1;const u=s.href,f=Ww(u).then(p=>Vw(p,t)).then(p=>Hw(p).forEach(h=>{try{o.insertRule(h,h.startsWith("@import")?c+=1:o.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(f)}})}catch(s){const a=e.find(c=>c.href==null)||document.styleSheets[0];o.href!=null&&r.push(Ww(o.href).then(c=>Vw(c,t)).then(c=>Hw(c).forEach(u=>{a.insertRule(u,a.cssRules.length)})).catch(c=>{console.error("Error loading remote stylesheet",c)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${o.href}`,s)}}),n))}function vX(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>DT(t.style.getPropertyValue("src")))}async function wX(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ni(e.ownerDocument.styleSheets),r=await _X(n,t);return vX(r)}function jT(e){return e.trim().replace(/["']/g,"")}function EX(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add(jT(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function SX(e,t){const n=await wX(e,t),r=EX(e);return(await Promise.all(n.filter(s=>r.has(jT(s.style.fontFamily))).map(s=>{const a=s.parentStyleSheet?s.parentStyleSheet.href:null;return FT(s.cssText,a,t)}))).join(`
|
|
61
61
|
`)}async function CX(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await SX(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function kX(e,t={}){const{width:n,height:r}=LT(e,t),o=await Yu(e,t,!0);return await CX(o,t),await $T(o,t),bX(o,t),await B5(o,n,r)}async function TX(e,t={}){const{width:n,height:r}=LT(e,t),o=await kX(e,t),s=await au(o),a=document.createElement("canvas"),c=a.getContext("2d"),u=t.pixelRatio||j5(),f=t.canvasWidth||n,p=t.canvasHeight||r;return a.width=f*u,a.height=p*u,t.skipAutoScale||U5(a),a.style.width=`${f}`,a.style.height=`${p}`,t.backgroundColor&&(c.fillStyle=t.backgroundColor,c.fillRect(0,0,a.width,a.height)),c.drawImage(s,0,0,a.width,a.height),a}async function Gw(e,t={}){return(await TX(e,t)).toDataURL()}const xX={class:"panel-mini-wrapper"},OX=It({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{},framework:{}},setup(e,{expose:t}){const n=Ns("cardRef");t({getBodyEl:()=>n.value?.bodyRef});const r=e,o=ce(()=>r.framework===we.COMP_FRAMEWORK_REACT||Em(r.dep)),s=ce(()=>({finalEntryUrl:r.miniEntryUrl,dep:r.dep,depToFile:r.depToFile,signedUrls:r.signedUrls,panelType:we.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:r.localCompRootPath}));return(a,c)=>(Ce(),pt("div",xX,[Ht(je(ST),{ref_key:"cardRef",ref:n,"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Bn({backgroundColor:e.bg})},{default:Pi(()=>[o.value?(Ce(),_t(Cm,Ri(Nr({key:1},s.value)),null,16)):(Ce(),_t(Sm,Ri(Nr({key:0},s.value)),null,16))]),_:1},8,["style"])]))}}),AX=Sr(OX,[["__scopeId","data-v-be9162a6"]]),RX=It({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{},framework:{}},setup(e){const t=e,n=ce(()=>t.framework===we.COMP_FRAMEWORK_REACT||Em(t.dep)),r=ce(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return(o,s)=>(Ce(),_t(je(ST),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Bn({backgroundColor:e.bg})},{default:Pi(()=>[n.value?(Ce(),_t(Cm,Ri(Nr({key:1},r.value)),null,16)):(Ce(),_t(Sm,Ri(Nr({key:0},r.value)),null,16))]),_:1},8,["style"]))}}),PX=Sr(RX,[["__scopeId","data-v-df175804"]]),LX={key:0,class:"edit-panel"},IX={class:"edit-panel__content"},MX={class:"edit-panel__tools"},NX=["onClick"],DX=It({__name:"index",setup(e){const{t}=Di(),{messageListener:n,sendMessageToTop:r}=js(),{addListener:o}=n(),s=$s(),{params:{instanceUid:a}}=Mo(),{renderEvent:c}=Q6(),u=Ns("carousel"),f=Re([]),p=Re({entryNameToFile:{},compDep:[]}),h=Re(),g=Re(!1),y=Re(!1),w=Re(!1),_=Re(""),A=Re({});function S(z,re){z&&(A.value[re]=z)}const v=Re(!1),x=Re(!1),E=ce(()=>[{label:t("comp.miniPanel"),value:we.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:we.COMP_EDIT_TAB_TYPE_FULL}]),R=ce(()=>p.value.compDep.length>0);async function O(z){if(!f.value[z]?.miniEntryUrl)return;const ae=A.value[z]?.getBodyEl?.();if(!ae)return;let ue="";const Ee=await e6(ae);try{ue=await de(ae)}finally{Ee()}ue&&r(Qe.COMP_SCREENSHOT_AUTO,{screenshot:ue},s,a)}gt(c,async()=>{if(!(!f.value[0]?.miniEntryUrl||v.value)){v.value=!0,console.log("自动截图");try{await O(0)}catch(z){console.error("自动截图失败:",z)}}});const P=ce(()=>Object.keys(h.value??{}).length>0?h.value?.path.replace(we.FILE_MANAGER_DIRNAME,we.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),T=ce(()=>({dep:p.value.compDep,depToFile:p.value.entryNameToFile,signedUrls:p.value.signedUrls,localCompRootPath:P.value,bg:_.value,framework:p.value.framework}));function N(z){return z===we.COMP_EDIT_TAB_TYPE_MINI?AX:PX}function K(z,re){G(z,re)}function G(z,re){if(!z._id)return;const ae={...z,activeTab:re};r(Qe.COMP_EDIT_TAB_TYPE_SET,ae,s,a)}function ne(z){r(Qe.ACTION_REFRESH,z,s,a)}async function de(z){try{return await Gw(z,{cacheBust:!0})}catch(re){if(re instanceof DOMException&&re.name==="SecurityError"){const ae=`截图中部分内容被浏览器安全策略限制
|
|
62
|
-
${re.message}`,ue=n6(z,ae);try{return await Gw(z,{cacheBust:!0})}finally{r6(ue)}}throw re}}return o(Qe.COMP_PREVIEW_LIST_SET,z=>{f.value=z,v.value=!1}),o(Qe.COMP_RENDER_INFO_SET,z=>{p.value=z}),o(Qe.SELECTED_FOLDER_SET,z=>{h.value=z}),o(Qe.SHOW_REFRESH_BTN_SET,z=>{g.value=z}),o(Qe.IS_ONLINE_UPDATE_SET,z=>{y.value=z}),o(Qe.IS_ADD_SET,z=>{w.value=z}),o(Qe.CAROUSEL_INDEX_SET,z=>{u.value?.setActiveItem(z)}),o(Qe.COMP_SCREENSHOT_MANUAL_SET,async()=>{if(!x.value){x.value=!0;try{u.value?.setActiveItem(0),f.value[0]&&f.value[0].activeTab!==we.COMP_EDIT_TAB_TYPE_MINI&&(f.value[0].activeTab=we.COMP_EDIT_TAB_TYPE_MINI,await Ur()),await new Promise(z=>setTimeout(z,500)),await O(0)}catch(z){console.error("手动截图失败:",z)}finally{x.value=!1}}}),o(Qe.BG_COLOR_SET,z=>{_.value=z}),r(Qe.COMP_PREVIEW_LIST_GET,"",s,a),r(Qe.COMP_RENDER_INFO_GET,"",s,a),r(Qe.SELECTED_FOLDER_GET,"",s,a),r(Qe.SHOW_REFRESH_BTN_GET,"",s,a),r(Qe.IS_ONLINE_UPDATE_GET,"",s,a),r(Qe.IS_ADD_GET,"",s,a),r(Qe.CAROUSEL_INDEX_GET,"",s,a),r(Qe.BG_COLOR_GET,"",s,a),(z,re)=>{const ae=Ih("Icon");return R.value?(Ce(),pt("div",LX,[Ht(je(CT),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Pi(()=>[(Ce(!0),pt(Vt,null,Fs(f.value,(ue,Ee)=>(Ce(),_t(je(kT),{key:Ee},{default:Pi(()=>[mt("div",IX,[mt("div",MX,[Ht(je(I6),{options:E.value,"model-value":ue.activeTab,onChange:We=>K(ue,We)},null,8,["options","model-value","onChange"]),g.value?(Ce(),pt("span",{key:0,class:"edit-panel__refresh-btn",onClick:We=>ne(ue)},[Ht(ae,{icon:"material-symbols:refresh-rounded"})],8,NX)):Mr("",!0)]),(Ce(),_t(hM,null,[(Ce(),_t(kM(N(ue.activeTab)),Nr({ref_for:!0,ref:We=>S(We,Ee)},{ref_for:!0},{miniEntryUrl:ue.miniEntryUrl,fullEntryUrl:ue.fullEntryUrl,...T.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):Mr("",!0)}}}),FX=Sr(DX,[["__scopeId","data-v-
|
|
62
|
+
${re.message}`,ue=n6(z,ae);try{return await Gw(z,{cacheBust:!0})}finally{r6(ue)}}throw re}}return o(Qe.COMP_PREVIEW_LIST_SET,z=>{f.value=z,v.value=!1}),o(Qe.COMP_RENDER_INFO_SET,z=>{p.value=z}),o(Qe.SELECTED_FOLDER_SET,z=>{h.value=z}),o(Qe.SHOW_REFRESH_BTN_SET,z=>{g.value=z}),o(Qe.IS_ONLINE_UPDATE_SET,z=>{y.value=z}),o(Qe.IS_ADD_SET,z=>{w.value=z}),o(Qe.CAROUSEL_INDEX_SET,z=>{u.value?.setActiveItem(z)}),o(Qe.COMP_SCREENSHOT_MANUAL_SET,async()=>{if(!x.value){x.value=!0;try{u.value?.setActiveItem(0),f.value[0]&&f.value[0].activeTab!==we.COMP_EDIT_TAB_TYPE_MINI&&(f.value[0].activeTab=we.COMP_EDIT_TAB_TYPE_MINI,await Ur()),await new Promise(z=>setTimeout(z,500)),await O(0)}catch(z){console.error("手动截图失败:",z)}finally{x.value=!1}}}),o(Qe.BG_COLOR_SET,z=>{_.value=z}),r(Qe.COMP_PREVIEW_LIST_GET,"",s,a),r(Qe.COMP_RENDER_INFO_GET,"",s,a),r(Qe.SELECTED_FOLDER_GET,"",s,a),r(Qe.SHOW_REFRESH_BTN_GET,"",s,a),r(Qe.IS_ONLINE_UPDATE_GET,"",s,a),r(Qe.IS_ADD_GET,"",s,a),r(Qe.CAROUSEL_INDEX_GET,"",s,a),r(Qe.BG_COLOR_GET,"",s,a),(z,re)=>{const ae=Ih("Icon");return R.value?(Ce(),pt("div",LX,[Ht(je(CT),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Pi(()=>[(Ce(!0),pt(Vt,null,Fs(f.value,(ue,Ee)=>(Ce(),_t(je(kT),{key:Ee},{default:Pi(()=>[mt("div",IX,[mt("div",MX,[Ht(je(I6),{options:E.value,"model-value":ue.activeTab,onChange:We=>K(ue,We)},null,8,["options","model-value","onChange"]),g.value?(Ce(),pt("span",{key:0,class:"edit-panel__refresh-btn",onClick:We=>ne(ue)},[Ht(ae,{icon:"material-symbols:refresh-rounded"})],8,NX)):Mr("",!0)]),(Ce(),_t(hM,null,[(Ce(),_t(kM(N(ue.activeTab)),Nr({ref_for:!0,ref:We=>S(We,Ee)},{ref_for:!0},{miniEntryUrl:ue.miniEntryUrl,fullEntryUrl:ue.fullEntryUrl,...T.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):Mr("",!0)}}}),FX=Sr(DX,[["__scopeId","data-v-34f0abeb"]]),$X=It({__name:"index",setup(e){const{carouselBind:t}=AT(5,we.COMP_EDIT_TAB_TYPE_FULL),n=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(Ce(),_t(qu,Ri(Cu(n.value)),null,16))}}),jX=It({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=RT(5,we.COMP_EDIT_TAB_TYPE_FULL),r=Re(""),o=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,a)=>(Ce(),_t(qu,Nr(o.value,{"show-indicator":!0}),null,16))}}),UX={carouselLocal:I5,carouselRemote:M5,editPanel:FX,previewLocal:$X,previewRemote:jX};function zX(){const e=[],t=we.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=UX[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const BX=oV({history:FW(`/${we.WEBSITE_PATH_ITEM}/`),routes:zX()}),xm=DN(hU);tW(xm);xm.use(BX);xm.mount("#app");
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
console.error("解析 URL 参数失败", error);
|
|
21
21
|
}
|
|
22
22
|
</script>
|
|
23
|
-
<script type="module" crossorigin src="/item/assets/index-
|
|
24
|
-
<link rel="stylesheet" crossorigin href="/item/assets/index-
|
|
23
|
+
<script type="module" crossorigin src="/item/assets/index-kBvGmplc.js"></script>
|
|
24
|
+
<link rel="stylesheet" crossorigin href="/item/assets/index-Pkb33-i2.css">
|
|
25
25
|
</head>
|
|
26
26
|
|
|
27
27
|
<body>
|
package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CH79cQAu.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as w}from"./vendor-ui-g5RNTRAc.js";import{I as x,aA as h,B as y,O as C,Q as B,Y as r,a2 as _,u,W as b,a0 as g,a1 as I,a as k,m as S}from"./vendor-core-CfnvwQzw.js";import{_ as T}from"./LoadingWrapper.vue_vue_type_script_setup_true_lang-BPfuSpto.js";const E=x({inheritAttrs:!1,__name:"AuthCodeSendBtn",props:{type:{default:"primary"},disabled:{type:Boolean,default:!1},text:{default:""},countdownText:{default:""},duration:{default:60}},emits:["send","finish"],setup(o,{expose:d,emit:i}){const{t:c}=h(),a=o,s=i,e=k(0);let t=null;const f=S(()=>e.value>0?c(a.countdownText,{n:e.value.toString()}):a.text),l=()=>{e.value=a.duration,t=window.setInterval(()=>{e.value--,e.value<=0&&(clearInterval(t),t=null,s("finish"))},1e3)},m=async n=>{a.disabled||e.value>0||(n.start(),s("send",{end:n.end,startCountdown:l}))};return y(()=>{t&&(clearInterval(t),t=null)}),d({startCountdown:l,getCountdown:()=>e.value}),(n,A)=>(C(),B(u(T),null,{default:r(({instance:p,loading:v})=>[_(u(w),b(n.$attrs,{type:o.type??"default",loading:v,disabled:o.disabled||e.value>0,class:"whitespace-nowrap",onClick:$=>m(p)}),{default:r(()=>[g(I(f.value),1)]),_:1},16,["type","loading","disabled","onClick"])]),_:1}))}});export{E as _};
|