comp-hub 0.28.6 → 0.28.7
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 +2 -2
- package/dist/website/container/assets/index-B6KfxMpe.css +1 -0
- package/dist/website/container/assets/{index-C4rP9NOf.js → index-DlqRVovH.js} +7 -7
- package/dist/website/container/index.html +2 -2
- package/dist/website/item/assets/{index-xGYf6R_n.css → index-BIgTOfbh.css} +1 -1
- package/dist/website/item/assets/{index-YY_elpPJ.js → index-DOKUHdnc.js} +15 -15
- package/dist/website/item/index.html +2 -2
- package/dist/website/main/assets/{CanvasAnimation.vue_vue_type_script_setup_true_lang-CllQrgJy.js → CanvasAnimation.vue_vue_type_script_setup_true_lang-CDdsQZ0-.js} +1 -1
- package/dist/website/main/assets/{index-Du5qihI4.js → index-0jUB6F-4.js} +1 -1
- package/dist/website/main/assets/{index-B9ln289Q.js → index-5EYT6f8p.js} +1 -1
- package/dist/website/main/assets/{index-CJBbqPIC.js → index-B-JCIDk_.js} +1 -1
- package/dist/website/main/assets/index-B329MLgw.js +2 -0
- package/dist/website/main/assets/index-B6QLWqnu.js +1 -0
- package/dist/website/main/assets/{index-Dgyjv57X.js → index-B8k-Kh_A.js} +1 -1
- package/dist/website/main/assets/{index-5NbrFL1v.js → index-B9hCLAJk.js} +1 -1
- package/dist/website/main/assets/{index-OQIUhz5k.js → index-BFKzKjpl.js} +1 -1
- package/dist/website/main/assets/{index-B5P6DgaP.js → index-BRZurz58.js} +1 -1
- package/dist/website/main/assets/{index-DNzk9GC4.js → index-BrArZ42r.js} +1 -1
- package/dist/website/main/assets/{index-5AGG9ot8.js → index-BwgMUal7.js} +1 -1
- package/dist/website/main/assets/index-CAsY0Xb9.js +1 -0
- package/dist/website/main/assets/index-CWJKxZCd.js +1 -0
- package/dist/website/main/assets/{index-C5FOjHtG.js → index-CY6_9tAe.js} +1 -1
- package/dist/website/main/assets/{index-CBkRhssK.js → index-CadXipX3.js} +2 -2
- package/dist/website/main/assets/index-CbfSiY9U.js +1 -0
- package/dist/website/main/assets/{index-ClGXZTwx.js → index-CdzjeO0x.js} +1 -1
- package/dist/website/main/assets/index-CiSJMy_Y.js +1 -0
- package/dist/website/main/assets/{index-CRPDDq-V.js → index-D88CvPWT.js} +3 -3
- package/dist/website/main/assets/index-DEGdQmAx.js +1 -0
- package/dist/website/main/assets/index-DOd1x8nw.js +1 -0
- package/dist/website/main/assets/index-DPdwbYvx.js +1 -0
- package/dist/website/main/assets/{index-DdlcdFg6.js → index-DquKS0_n.js} +1 -1
- package/dist/website/main/assets/{index-DnoK5_sf.js → index-DrbX7elo.js} +1 -1
- package/dist/website/main/assets/{index-C9Y3CNRO.js → index-EDA2t2OE.js} +1 -1
- package/dist/website/main/assets/{index-CeYUbWQf.js → index-HkZs-IVV.js} +1 -1
- package/dist/website/main/assets/{index-pnMxQIk7.js → index-IVEhJl2W.js} +1 -1
- package/dist/website/main/assets/{index-Bix1nJzT.js → index-U6TRHk8E.js} +1 -1
- package/dist/website/main/assets/{index-D8JLLNls.js → index-ZoaJ6v2i.js} +1 -1
- package/dist/website/main/assets/{index-D206deyl.js → index-pjvH5dVi.js} +1 -1
- package/dist/website/main/assets/{index-BboFkG3x.css → index-qOVjc392.css} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-CsP7DU8L.js → index.vue_vue_type_script_setup_true_lang-BAM6bQ14.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-Cl-Fl4oU.js → index.vue_vue_type_script_setup_true_lang-BWF3Tgxf.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-piiSvWkd.js → index.vue_vue_type_script_setup_true_lang-BXNbK11E.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BcUGs_WV.js → index.vue_vue_type_script_setup_true_lang-CmmAEEXC.js} +2 -2
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-C2f6_gwm.js → index.vue_vue_type_script_setup_true_lang-D9A1RF52.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BOye9Q0l.js → index.vue_vue_type_script_setup_true_lang-DTC1Qz-g.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-HhqETZCz.js → index.vue_vue_type_style_index_0_lang-8e70e_fM.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-_EGM5AW2.js → index.vue_vue_type_style_index_0_lang-BZ1LzI3x.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_style_index_0_lang-lii4Mw4k.js → index.vue_vue_type_style_index_0_lang-BipgSalp.js} +1 -1
- package/dist/website/main/assets/useCompEditStore-D7YXYpD3.css +1 -0
- package/dist/website/main/assets/{useCompEditStore-De0RvlRq.js → useCompEditStore-DhXxYAqN.js} +1 -1
- package/dist/website/main/assets/{useKeyword-DPx3R5YX.js → useKeyword-CjhhChz4.js} +1 -1
- package/dist/website/main/assets/{useMessage-8Gi-vx-A.js → useMessage-Cbhfk7Nk.js} +1 -1
- package/dist/website/main/assets/{useVscodeOpen--nBM6CZ-.js → useVscodeOpen-BBdyQ3W2.js} +1 -1
- package/dist/website/main/index.html +2 -2
- package/package.json +1 -1
- package/dist/website/container/assets/index-DyP-WX-l.css +0 -1
- package/dist/website/main/assets/index-30_1ggVR.js +0 -1
- package/dist/website/main/assets/index-B94DbVvF.js +0 -1
- package/dist/website/main/assets/index-Bt7T-LaE.js +0 -1
- package/dist/website/main/assets/index-CS5py2lv.js +0 -1
- package/dist/website/main/assets/index-CYEfOQSg.js +0 -2
- package/dist/website/main/assets/index-DMKeTfl9.js +0 -1
- package/dist/website/main/assets/index-DkvChnew.js +0 -1
- package/dist/website/main/assets/index-OKDkiqud.js +0 -1
- package/dist/website/main/assets/index-zrOq4KJF.js +0 -1
- package/dist/website/main/assets/useCompEditStore-CTeLLTZM.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
2
|
-
import{aA as Ko,g as te,v as Se,aj as ze,ab as y,j as ne,aO as we,r as j,ax as m,w as vi,au as Xa,ad as It,av as Tu,B as $o,ao as Yo,aF as Mn,aM as Oe,l as T,ai as Ve,i as g,F as Me,ah as He,q as Ke,ap as L,af as H,a7 as et,a9 as St,Y as Ge,b as Up,k as ue,aB as Zl,ay as ec,aN as Nt,al as Ot,X as We,ar as bn,aQ as ho,aR as Ye,W as zp,aE as h_,aP as it,$ as At,p as p_,_ as wn,A as Jn,K as f_,aD as _s,m as m_,n as v_,aC as tc,c as g_,Z as Ae,Q as ys,S as __,u as qn,o as y_,s as b_,h as nc,at as $t,U as zi,V as Gn,y as Ja,a1 as w_,a4 as bs,aa as Vp,H as ko,ak as E_,ac as Bp,z as S_,a8 as C_,aK as En,T as ws,aJ as Go,aG as Es,aI as Za,aH as ea,t as x_}from"./vendor-core-BKehvho7.js";import{ai as T_,aD as O_,m as $_,aH as Ji,aE as ic,ag as k_,ah as Ou,ao as A_,ar as P_,aA as R_,aw as M_,au as I_,aq as D_,ap as F_,as as L_,ax as j_,at as N_,ay as U_,av as z_,y as $u,e as Gi,x as el,aJ as Hp,a2 as V_,a1 as B_,M as H_,aK as q_,an as W_,am as Fi,I as K_,z as Ao,K as Y_,$ as G_,H as Q_,N as tl,B as nl,a3 as X_,_ as J_,Z as Z_,r as ey,T as ku,k as Au,A as Pu,g as Ru,a5 as Mu,b as Iu,j as Du,i as Fu,R as Lu,Q as ju,P as Nu,q as Uu,h as zu,W as Vu,a7 as Bu,a9 as Hu,Y as qu,S as Wu,l as Ku,a0 as Yu,n as Gu,a4 as Qu,O as Xu,C as Ju,a6 as Zu,a8 as ed,G as td,ae as mr,af as Zi,ab as oc,az as Po,aj as Ro,aB as Mo,J as vr,ac as ty}from"./vendor-ui-CGT0cG1n.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const ny="local://",iy="main",oy="container",ry="item",sy="/__global_config__",ay="/node_modules/.prebuild_module",ly="_metadata.json",cy="/_module_load_prefix_",uy="/_node_modules_load_prefix_",dy="/_comp_preview_prefix_local_",hy="/__proxy__",py="/__master__",fy="__remote__",my="__local__",vy="https://api.comphub.cn:5696",gy="http://localhost:7002",_y="http://localhost:5000",yy="http://localhost:5001",by="Comp Hub",wy="csrfToken",Ey="authorization",Sy="x-refresh-token",Cy="x-csrf-token",xy="accept-language",Ty="comp-hub-db",Oy="file-compiled",$y="https://oss.comphub.cn",ky="oss:sts:token",Ay="oss:sts:expire",Py="comp.json",Ry="README.md",My="/.comp_hub_temp",Iy="main.js",Dy="index.vue",qp="list_local",Wp="list_remote",Fy={COMP_LIST_TYPE_LOCAL:qp,COMP_LIST_TYPE_REMOTE:Wp},Kp="config",Yp="error",Gp="dir",Qp="preview",Xp="extra",Jp="deps",Zp="upgradeLog",ef="readme",Ly={TAB_TYPE_CONFIG:Kp,TAB_TYPE_ERROR:Yp,TAB_TYPE_DIR:Gp,TAB_TYPE_PREVIEW:Qp,TAB_TYPE_EXTRA:Xp,TAB_TYPE_DEPS:Jp,TAB_TYPE_UPGRADE_LOG:Zp,TAB_TYPE_README:ef},tf="mini",nf="full",jy={COMP_EDIT_TAB_TYPE_MINI:tf,COMP_EDIT_TAB_TYPE_FULL:nf},of="EDIT",rf="ADD",Ny={DIALOG_TYPE_EDIT:of,DIALOG_TYPE_ADD:rf},sf="ONLY_INSTALL",af="AUTO",lf="MAJOR_VERSION",cf="MINOR_VERSION",uf="EXACT_VERSION",Uy={COMP_MATCH_TYPE_ONLY_INSTALL:sf,COMP_MATCH_TYPE_AUTO:af,COMP_MATCH_TYPE_MAJOR_VERSION:lf,COMP_MATCH_TYPE_MINOR_VERSION:cf,COMP_MATCH_TYPE_EXACT_VERSION:uf},df="online",hf="offline",zy={COMP_UPDATE_TYPE_ONLINE:df,COMP_UPDATE_TYPE_OFFLINE:hf},Vy=0,By=1,Hy=-1,pf="checkPreviewListForm",ff="checkExtraInfoForm",mf="checkCompConfig",vf="afterCompDel",gf="openCompTerminal",_f="afterCompCancelCollect",yf="afterCompRenderRetry",bf="getCompError",wf="checkUpgradeLogForm",qy={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:pf,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:ff,COMP_METHOD_KEY_CHECK_COMP_CONFIG:mf,COMP_METHOD_KEY_AFTER_COMP_DEL:vf,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:gf,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:_f,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:yf,COMP_METHOD_KEY_GET_COMP_ERROR:bf,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:wf},Wy={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},Ky="http://127.0.0.1",Yy="http://localhost:8095",Gy="http://localhost:8096",Qy="http://localhost:5198",Xy="/item",Jy="/container",Zy="CREATE",eb="JOIN",tb="EXIT",nb="teamAddMyComp",ib="teamCompList",ob="teamCompGroupList",rb="teamMyCompList",sb="teamMyCompUpdate",ab="vue/dist/vue.esm-bundler.js",lb="__v__",cb="compListStore",ub="compEditStore",db="callbacks",hb="comphubConfig",pb="local",fb="prod",mb="local",vb="prod",gb="http://localhost:5173/en/",_b="https://docs.comphub.cn",yb=20,bb=20,bt=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:xy,AUTHORIZATION_HEADER_NAME:Ey,CACHE_KEY_STS_EXPIRE_TIME:Ay,CACHE_KEY_STS_TOKEN:ky,COMPHUB_CONFIG_KEY:hb,COMP_ACTION_ICON_HEIGHT:bb,COMP_ACTION_ICON_WIDTH:yb,COMP_CONFIG_FILENAME:Py,COMP_EDIT_TAB_TYPES:jy,COMP_EDIT_TAB_TYPE_FULL:nf,COMP_EDIT_TAB_TYPE_MINI:tf,COMP_ENTRY_FILE:Iy,COMP_HUB_DEV_DOCS_URL:gb,COMP_HUB_PROD_DOCS_URL:_b,COMP_LIST_TYPES:Fy,COMP_LIST_TYPE_LOCAL:qp,COMP_LIST_TYPE_REMOTE:Wp,COMP_MATCH_TYPES:Uy,COMP_MATCH_TYPE_AUTO:af,COMP_MATCH_TYPE_EXACT_VERSION:uf,COMP_MATCH_TYPE_MAJOR_VERSION:lf,COMP_MATCH_TYPE_MINOR_VERSION:cf,COMP_MATCH_TYPE_ONLY_INSTALL:sf,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:_f,COMP_METHOD_KEY_AFTER_COMP_DEL:vf,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:yf,COMP_METHOD_KEY_CHECK_COMP_CONFIG:mf,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:ff,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:pf,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:wf,COMP_METHOD_KEY_GET_COMP_ERROR:bf,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:gf,COMP_PREVIEW_PREFIX_LOCAL:dy,COMP_README_FILENAME:Ry,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:My,COMP_UPDATE_TYPES:zy,COMP_UPDATE_TYPE_OFFLINE:hf,COMP_UPDATE_TYPE_ONLINE:df,COMP_USE_ENTRY_FILE:Dy,CSRF_KEY:wy,CSRF_TOKEN_HEADER_NAME:Cy,DIALOG_TYPES:Ny,DIALOG_TYPE_ADD:rf,DIALOG_TYPE_EDIT:of,FILE_MANAGER_DIRNAME:ny,GLOBAL_CONFIG_PATH:sy,IFRAME_CONTAINER_WEBSITE_PATH:Jy,IFRAME_HOST:Ky,IFRAME_ITEM_WEBSITE_PATH:Xy,IFRAME_ROUTES:Wy,INDEX_DB_NAME:Ty,INDEX_DB_TABLE_NAME:Oy,LOCAL_CHILD_IFRAME_URL:Yy,LOCAL_LEAF_IFRAME_URL:Gy,LOCAL_MIDWAY_ENV_LOCAL:pb,LOCAL_MIDWAY_ENV_PROD:fb,LOCAL_SERVICE_PREFIX:my,LOCAL_SERVICE_URL_DEV:_y,LOCAL_SERVICE_URL_DEV_SUB:yy,LOCAL_TOP_IFRAME_URL:Qy,MASTER_API_PREFIX:py,META_FILE_NAME:ly,MODULE_LOAD_PREFIX:cy,NODE_MODULES_LOAD_PREFIX:uy,OSS_CUSTOM_DOMAIN:$y,PREBUILD_MODULE_DIR:ay,PROVIDE_KEYS:qy,PROVIDE_KEY_CALLBACKS:db,PROVIDE_KEY_COMP_EDIT_STORE:ub,PROVIDE_KEY_COMP_LIST_STORE:cb,PROXY_PATH_PREFIX:hy,REFRESH_TOKEN_HEADER_NAME:Sy,REMOTE_MIDWAY_ENV_LOCAL:mb,REMOTE_MIDWAY_ENV_PROD:vb,REMOTE_SERVICE_PREFIX:fy,REMOTE_SERVICE_URL_DEV:gy,REMOTE_SERVICE_URL_PROD:vy,ROUTE_STATE_KEY_VERSION:lb,SCOPE_ID_TEAM_ADD_MY_COMP:nb,SCOPE_ID_TEAM_COMP_GROUP_LIST:ob,SCOPE_ID_TEAM_COMP_LIST:ib,SCOPE_ID_TEAM_MY_COMP_LIST:rb,SCOPE_ID_TEAM_MY_COMP_UPDATE:sb,SITE_TITLE:by,TAB_TYPES:Ly,TAB_TYPE_CONFIG:Kp,TAB_TYPE_DEPS:Jp,TAB_TYPE_DIR:Gp,TAB_TYPE_ERROR:Yp,TAB_TYPE_EXTRA:Xp,TAB_TYPE_PREVIEW:Qp,TAB_TYPE_README:ef,TAB_TYPE_UPGRADE_LOG:Zp,TEAM_OPERATE_TYPE_CREATE:Zy,TEAM_OPERATE_TYPE_EXIT:tb,TEAM_OPERATE_TYPE_JOIN:eb,VERSION_COMPARE_GREATER:By,VERSION_COMPARE_LESS:Hy,VERSION_COMPARE_SAME:Vy,VUE_ESM_BUNDLER:ab,WEBSITE_PATH_CONTAINER:oy,WEBSITE_PATH_ITEM:ry,WEBSITE_PATH_MAIN:iy},Symbol.toStringTag,{value:"Module"})),wb=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],Eb=[".css"],Sb=[{name:"__id__",label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],LU=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:Sb,DEFAULT_TAG_GROUP:wb,PREBUILD_MODULE_SKIP_EXT:Eb},Symbol.toStringTag,{value:"Module"})),Cb="comp-hub-locale",xb=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:Cb},Symbol.toStringTag,{value:"Module"})),Tb="send-auth-code",Ob="send-auth-code-success",$b="send-auth-code-failed",kb="login-button",Ab="login-button-success",Pb="login-button-failed",Rb="skip-login",Mb="upload-select-folder",Ib="upload-confirm",Db="upload-success",Fb="upload-failed",Lb="upload-repeat-confirm",jb="edit-panel-submit",Nb="edit-panel-submit-success",Ub="edit-panel-submit-failed",zb="edit-generate-comp-json",Vb="edit-view-diff",Bb="edit-bg-color-change",Hb="edit-dep-version-change",qb="search-component",Wb="filter-tag",Kb="page-size-change",Yb="comp-preview",Gb="comp-download",Qb="comp-download-success",Xb="comp-download-failed",Jb="comp-collect-toggle",Zb="comp-delete",e0="comp-update",t0="comp-update-success",n0="comp-update-failed",i0="comp-version-change",o0="preview-open-newtab",r0="preview-tab-change",s0="user-update-avatar",a0="user-update-avatar-success",l0="user-update-avatar-failed",c0="user-update-nickname",u0="user-update-nickname-success",d0="user-update-nickname-failed",h0="user-update-email",p0="user-update-email-success",f0="user-update-email-failed",m0="user-update-password",v0="user-update-password-success",g0="user-update-password-failed",_0="user-email-login-toggle",y0="team-tab-change",b0="team-filter-group",w0="team-kick-member",E0="team-apply-accept",S0="team-apply-reject",C0="team-comp-remove",x0="team-comp-permission-change",T0="sidebar-toggle",O0="setting-apply-rule",$0="clear-cache",nd=Object.freeze(Object.defineProperty({__proto__:null,CLEAR_CACHE:$0,COMP_COLLECT_TOGGLE:Jb,COMP_DELETE:Zb,COMP_DOWNLOAD:Gb,COMP_DOWNLOAD_FAILED:Xb,COMP_DOWNLOAD_SUCCESS:Qb,COMP_PREVIEW:Yb,COMP_UPDATE:e0,COMP_UPDATE_FAILED:n0,COMP_UPDATE_SUCCESS:t0,COMP_VERSION_CHANGE:i0,EDIT_BG_COLOR_CHANGE:Bb,EDIT_DEP_VERSION_CHANGE:Hb,EDIT_GENERATE_COMP_JSON:zb,EDIT_PANEL_SUBMIT:jb,EDIT_PANEL_SUBMIT_FAILED:Ub,EDIT_PANEL_SUBMIT_SUCCESS:Nb,EDIT_VIEW_DIFF:Vb,FILTER_TAG:Wb,LOGIN_BUTTON:kb,LOGIN_BUTTON_FAILED:Pb,LOGIN_BUTTON_SUCCESS:Ab,PAGE_SIZE_CHANGE:Kb,PREVIEW_OPEN_NEWTAB:o0,PREVIEW_TAB_CHANGE:r0,SEARCH_COMPONENT:qb,SEND_AUTH_CODE:Tb,SEND_AUTH_CODE_FAILED:$b,SEND_AUTH_CODE_SUCCESS:Ob,SETTING_APPLY_RULE:O0,SIDEBAR_TOGGLE:T0,SKIP_LOGIN:Rb,TEAM_APPLY_ACCEPT:E0,TEAM_APPLY_REJECT:S0,TEAM_COMP_PERMISSION_CHANGE:x0,TEAM_COMP_REMOVE:C0,TEAM_FILTER_GROUP:b0,TEAM_KICK_MEMBER:w0,TEAM_TAB_CHANGE:y0,UPLOAD_CONFIRM:Ib,UPLOAD_FAILED:Fb,UPLOAD_REPEAT_CONFIRM:Lb,UPLOAD_SELECT_FOLDER:Mb,UPLOAD_SUCCESS:Db,USER_EMAIL_LOGIN_TOGGLE:_0,USER_UPDATE_AVATAR:s0,USER_UPDATE_AVATAR_FAILED:l0,USER_UPDATE_AVATAR_SUCCESS:a0,USER_UPDATE_EMAIL:h0,USER_UPDATE_EMAIL_FAILED:f0,USER_UPDATE_EMAIL_SUCCESS:p0,USER_UPDATE_NICKNAME:c0,USER_UPDATE_NICKNAME_FAILED:d0,USER_UPDATE_NICKNAME_SUCCESS:u0,USER_UPDATE_PASSWORD:m0,USER_UPDATE_PASSWORD_FAILED:g0,USER_UPDATE_PASSWORD_SUCCESS:v0},Symbol.toStringTag,{value:"Module"})),jU=t=>bt.COMP_HUB_PROD_DOCS_URL,k0=t=>"";var A0={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}};const P0=()=>{const{locale:t}=Ko(),e={zh:A0,en:T_};return{locale:te(()=>e[t.value])}},R0=Se({__name:"App",setup(t){const{locale:e}=P0();return O_(),(n,i)=>{const o=ze("router-view");return y(),ne(m($_),{locale:m(e)},{default:we(()=>[j(o)]),_:1},8,["locale"])}}}),M0="modulepreload",I0=function(t,e){return new URL(t,e).href},id={},nt=function(e,n,i){let o=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=c(n.map(u=>{if(u=I0(u,i),u in id)return;id[u]=!0;const d=u.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(i)for(let f=s.length-1;f>=0;f--){const p=s[f];if(p.href===u&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${h}`))return;const v=document.createElement("link");if(v.rel=d?"stylesheet":M0,d||(v.as="script"),v.crossOrigin="",v.href=u,l&&v.setAttribute("nonce",l),document.head.appendChild(v),d)return new Promise((f,p)=>{v.addEventListener("load",f),v.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}function r(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})},si="authorization",is=()=>localStorage.getItem(si),D0=t=>localStorage.setItem(si,t),F0=()=>localStorage.removeItem(si),Ti="x-refresh-token",L0=()=>localStorage.getItem(Ti),j0=t=>localStorage.setItem(Ti,t),N0=()=>localStorage.removeItem(Ti),U0="aside_is_collapse",NU="loginType",UU="compUploadFullscreen",zU="terminalCommandHistory",VU="compUploadSidePanelSize",BU="tagSelected",z0="asideSize",V0="headerSize",Ef="tagsViewMaxCache",HU="readUploadAgreement",B0="dependencyMatchRule",qU="teamTabActiveName",WU="settingTabActiveName",KU="compPreviewTabActiveName",Sf="paginationPageSize",H0=()=>localStorage.getItem(Sf),q0=t=>localStorage.setItem(Sf,t),YU="selectedFolderPath",Qo=vi("tagsView",{state:()=>({visitedViews:[],maxCache:Ji(Ef,10),payloadMap:new Map}),actions:{setMaxCache(t){this.$patch(e=>{e.maxCache=t})},addView(t){this.$patch(e=>{const n={...t},i=e.visitedViews.findIndex(r=>r.path===t.path);if(i!==-1){e.visitedViews[i]=n;return}e.visitedViews.unshift(n);const o=e.visitedViews.length-e.maxCache;o>0&&this.spliceVisitedViews(-o,o)})},spliceVisitedViews(t,e){this.$patch(n=>{n.visitedViews.splice(t,e)})},delViewByPath(t){this.$patch(e=>{for(const[n,i]of e.visitedViews.entries())if(i.path===t){e.visitedViews.splice(n,1);break}})},delViewAndJumpToPrev(t,e=!1,n){if(e){const i=this.visitedViews.filter(o=>o.path!==t)?.[0];i?n.push(i.path).then(o=>{o||setTimeout(()=>{this.delViewByPath(t)},250)}):n.push("/").then(o=>{o||this.delViewByPath(t)})}else this.delViewByPath(t)},addPayLoad(t,e){this.$patch(n=>{n.payloadMap.set(t,e)})},getPayLoad(t){return this.payloadMap.get(t)}}}),W0=Se((t,{slots:e})=>{var n,i;const o=Yo(),{width:r,height:s}=Xa(t),a=It(ic(o,{width:(n=Tu(r))!==null&&n!==void 0?n:0,height:(i=Tu(s))!==null&&i!==void 0?i:0},{box:t.box,window:t.window}));return()=>{if(e.default)return $o(t.as||"div",{ref:o},e.default(a))}},{name:"UseElementSize",props:["as","box","height","width","window"]}),K0={ref:"el",class:"relative"},Y0={class:"absolute opacity-0 pointer-events-none flex"},G0=["itemKey"],Q0=Se({__name:"AutoWrapRow",props:{list:{},moreWidth:{default:70},gap:{default:5},getKey:{}},setup(t){const e=t,n=H(new Map),i=Mn("el"),o=Mn("items"),{width:r}=ic(i),s=H([]),a=H(!1),l=te(()=>r.value-e.moreWidth),c=te(()=>{const p=s.value.map(_=>_.key);return e.list.filter(_=>p.includes(e.getKey(_)))}),u=te(()=>a.value?e.list.length-s.value.length:0),d=te(()=>{let p=0;for(const _ of n.value.values())p+=_;return p});function h(p,_){n.value.set(p,_)}function v(){const p=new Map;for(const _ of e.list){const S=e.getKey(_);p.set(S,n.value.get(S)??0)}n.value=p}const f=k_(()=>{let p=0;const _=[];if(!(!o.value||e.list.length===0)){for(const S of e.list){const w=e.getKey(S),E=o.value.find(b=>b.getAttribute("itemKey")===w);if(E){if(p+=E.offsetWidth+e.gap,p>l.value)break;_.push({key:w,value:E.offsetWidth})}}s.value=_,a.value=!0}},100);return Oe([()=>r.value,()=>e.list,()=>d.value],([,,p],[,,_])=>{p!==_&&(a.value=!1),f()},{flush:"post",deep:!0}),Oe(()=>e.list.length,()=>{v()}),(p,_)=>(y(),T("div",K0,[Ve(p.$slots,"display",{visibleList:c.value,overflow:u.value}),g("div",Y0,[(y(!0),T(Me,null,He(t.list,(S,w)=>(y(),ne(m(W0),{key:t.getKey(S)},{default:we(({width:E})=>[Ke(L(h(t.getKey(S),Number(E)))+" ",1),g("div",{ref_for:!0,ref:"items",itemKey:t.getKey(S),class:"invisible whitespace-nowrap"},[Ve(p.$slots,"measure",{item:S,index:w})],8,G0)]),_:2},1024))),128))])],512))}}),rc=(t,e)=>{const n=t.__vccOpts||t;for(const[i,o]of e)n[i]=o;return n},Cf=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ss=(t,e,n,i="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;i=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:i,prefix:l,name:a};return e&&!Ur(c)?null:c}const r=o[0],s=r.split("-");if(s.length>1){const a={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!Ur(a)?null:a}if(n&&i===""){const a={provider:i,prefix:"",name:r};return e&&!Ur(a,n)?null:a}return null},Ur=(t,e)=>t?!!((e&&t.prefix===""||t.prefix)&&t.name):!1;function X0(t,e){const n=t.icons,i=t.aliases||Object.create(null),o=Object.create(null);function r(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=i[s]&&i[s].parent,l=a&&r(a);l&&(o[s]=[a].concat(l))}return o[s]}return Object.keys(n).concat(Object.keys(i)).forEach(r),o}const xf=Object.freeze({left:0,top:0,width:16,height:16}),os=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Cs=Object.freeze({...xf,...os}),il=Object.freeze({...Cs,body:"",hidden:!1});function J0(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const i=((t.rotate||0)+(e.rotate||0))%4;return i&&(n.rotate=i),n}function od(t,e){const n=J0(t,e);for(const i in il)i in os?i in t&&!(i in n)&&(n[i]=os[i]):i in e?n[i]=e[i]:i in t&&(n[i]=t[i]);return n}function Z0(t,e,n){const i=t.icons,o=t.aliases||Object.create(null);let r={};function s(a){r=od(i[a]||o[a],r)}return s(e),n.forEach(s),od(t,r)}function Tf(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(o=>{e(o,null),n.push(o)});const i=X0(t);for(const o in i){const r=i[o];r&&(e(o,Z0(t,o,r)),n.push(o))}return n}const ew={provider:"",aliases:{},not_found:{},...xf};function ta(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function Of(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!ta(t,ew))return null;const n=e.icons;for(const o in n){const r=n[o];if(!o||typeof r.body!="string"||!ta(r,il))return null}const i=e.aliases||Object.create(null);for(const o in i){const r=i[o],s=r.parent;if(!o||typeof s!="string"||!n[s]&&!i[s]||!ta(r,il))return null}return e}const rd=Object.create(null);function tw(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function eo(t,e){const n=rd[t]||(rd[t]=Object.create(null));return n[e]||(n[e]=tw(t,e))}function $f(t,e){return Of(e)?Tf(e,(n,i)=>{i?t.icons[n]=i:t.missing.add(n)}):[]}function nw(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let Io=!1;function kf(t){return typeof t=="boolean"&&(Io=t),Io}function iw(t){const e=typeof t=="string"?Ss(t,!0,Io):t;if(e){const n=eo(e.provider,e.prefix),i=e.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function ow(t,e){const n=Ss(t,!0,Io);if(!n)return!1;const i=eo(n.provider,n.prefix);return e?nw(i,n.name,e):(i.missing.add(n.name),!0)}function rw(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),Io&&!e&&!t.prefix){let i=!1;return Of(t)&&(t.prefix="",Tf(t,(o,r)=>{ow(o,r)&&(i=!0)})),i}const n=t.prefix;return Ur({prefix:n,name:"a"})?!!$f(eo(e,n),t):!1}const Af=Object.freeze({width:null,height:null}),Pf=Object.freeze({...Af,...os}),sw=/(-?[0-9.]*[0-9]+[0-9.]*)/g,aw=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function sd(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const i=t.split(sw);if(i===null||!i.length)return t;const o=[];let r=i.shift(),s=aw.test(r);for(;;){if(s){const a=parseFloat(r);isNaN(a)?o.push(r):o.push(Math.ceil(a*e*n)/n)}else o.push(r);if(r=i.shift(),r===void 0)return o.join("");s=!s}}function lw(t,e="defs"){let n="";const i=t.indexOf("<"+e);for(;i>=0;){const o=t.indexOf(">",i),r=t.indexOf("</"+e);if(o===-1||r===-1)break;const s=t.indexOf(">",r);if(s===-1)break;n+=t.slice(o+1,r).trim(),t=t.slice(0,i).trim()+t.slice(s+1)}return{defs:n,content:t}}function cw(t,e){return t?"<defs>"+t+"</defs>"+e:e}function uw(t,e,n){const i=lw(t);return cw(i.defs,e+i.content+n)}const dw=t=>t==="unset"||t==="undefined"||t==="none";function hw(t,e){const n={...Cs,...t},i={...Pf,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,i].forEach(p=>{const _=[],S=p.hFlip,w=p.vFlip;let E=p.rotate;S?w?E+=2:(_.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),_.push("scale(-1 1)"),o.top=o.left=0):w&&(_.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),_.push("scale(1 -1)"),o.top=o.left=0);let b;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:b=o.height/2+o.top,_.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:_.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,_.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}E%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),_.length&&(r=uw(r,'<g transform="'+_.join(" ")+'">',"</g>"))});const s=i.width,a=i.height,l=o.width,c=o.height;let u,d;s===null?(d=a===null?"1em":a==="auto"?c:a,u=sd(d,l/c)):(u=s==="auto"?l:s,d=a===null?sd(u,c/l):a==="auto"?c:a);const h={},v=(p,_)=>{dw(_)||(h[p]=_.toString())};v("width",u),v("height",d);const f=[o.left,o.top,l,c];return h.viewBox=f.join(" "),{attributes:h,viewBox:f,body:r}}const pw=/\sid="(\S+)"/g,ad=new Map;function fw(t){t=t.replace(/[0-9]+$/,"")||"a";const e=ad.get(t)||0;return ad.set(t,e+1),e?`${t}${e}`:t}function mw(t){const e=[];let n;for(;n=pw.exec(t);)e.push(n[1]);if(!e.length)return t;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(o=>{const r=fw(o),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+r+i+"$3")}),t=t.replace(new RegExp(i,"g"),""),t}const ol=Object.create(null);function vw(t,e){ol[t]=e}function rl(t){return ol[t]||ol[""]}function sc(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const ac=Object.create(null),_o=["https://api.simplesvg.com","https://api.unisvg.com"],zr=[];for(;_o.length>0;)_o.length===1||Math.random()>.5?zr.push(_o.shift()):zr.push(_o.pop());ac[""]=sc({resources:["https://api.iconify.design"].concat(zr)});function gw(t,e){const n=sc(e);return n===null?!1:(ac[t]=n,!0)}function lc(t){return ac[t]}const _w=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let ld=_w();function yw(t,e){const n=lc(t);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const r=e+".json?icons=";i=n.maxURL-o-n.path.length-r.length}return i}function bw(t){return t===404}const ww=(t,e,n)=>{const i=[],o=yw(t,e),r="icons";let s={type:r,provider:t,prefix:e,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(i.push(s),s={type:r,provider:t,prefix:e,icons:[]},a=l.length),s.icons.push(l)}),i.push(s),i};function Ew(t){if(typeof t=="string"){const e=lc(t);if(e)return e.path}return"/"}const Sw=(t,e,n)=>{if(!ld){n("abort",424);return}let i=Ew(e.provider);switch(e.type){case"icons":{const r=e.prefix,s=e.icons.join(","),a=new URLSearchParams({icons:s});i+=r+".json?"+a.toString();break}case"custom":{const r=e.uri;i+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let o=503;ld(t+i).then(r=>{const s=r.status;if(s!==200){setTimeout(()=>{n(bw(s)?"abort":"next",s)});return}return o=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",o)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",o)})},Cw={prepare:ww,send:Sw};function Rf(t,e){t.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(o=>o.id!==e))})}function xw(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const i=t.provider,o=t.prefix;e.forEach(r=>{const s=r.icons,a=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(t.icons[c])s.loaded.push({provider:i,prefix:o,name:c});else if(t.missing.has(c))s.missing.push({provider:i,prefix:o,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Rf([t],r.id),r.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),r.abort))})}))}let Tw=0;function Ow(t,e,n){const i=Tw++,o=Rf.bind(null,n,i);if(!e.pending.length)return o;const r={id:i,icons:e,callback:t,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(r)}),o}function $w(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((o,r)=>o.provider!==r.provider?o.provider.localeCompare(r.provider):o.prefix!==r.prefix?o.prefix.localeCompare(r.prefix):o.name.localeCompare(r.name));let i={provider:"",prefix:"",name:""};return t.forEach(o=>{if(i.name===o.name&&i.prefix===o.prefix&&i.provider===o.provider)return;i=o;const r=o.provider,s=o.prefix,a=o.name,l=n[r]||(n[r]=Object.create(null)),c=l[s]||(l[s]=eo(r,s));let u;a in c.icons?u=e.loaded:s===""||c.missing.has(a)?u=e.missing:u=e.pending;const d={provider:r,prefix:s,name:a};u.push(d)}),e}function kw(t,e=!0,n=!1){const i=[];return t.forEach(o=>{const r=typeof o=="string"?Ss(o,e,n):o;r&&i.push(r)}),i}const Aw={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pw(t,e,n,i){const o=t.resources.length,r=t.random?Math.floor(Math.random()*o):t.index;let s;if(t.random){let x=t.resources.slice(0);for(s=[];x.length>1;){const k=Math.floor(Math.random()*x.length);s.push(x[k]),x=x.slice(0,k).concat(x.slice(k+1))}s=s.concat(x)}else s=t.resources.slice(r).concat(t.resources.slice(0,r));const a=Date.now();let l="pending",c=0,u,d=null,h=[],v=[];typeof i=="function"&&v.push(i);function f(){d&&(clearTimeout(d),d=null)}function p(){l==="pending"&&(l="aborted"),f(),h.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),h=[]}function _(x,k){k&&(v=[]),typeof x=="function"&&v.push(x)}function S(){return{startTime:a,payload:e,status:l,queriesSent:c,queriesPending:h.length,subscribe:_,abort:p}}function w(){l="failed",v.forEach(x=>{x(void 0,u)})}function E(){h.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),h=[]}function b(x,k,O){const K=k!=="success";switch(h=h.filter(D=>D!==x),l){case"pending":break;case"failed":if(K||!t.dataAfterTimeout)return;break;default:return}if(k==="abort"){u=O,w();return}if(K){u=O,h.length||(s.length?C():w());return}if(f(),E(),!t.random){const D=t.resources.indexOf(x.resource);D!==-1&&D!==t.index&&(t.index=D)}l="completed",v.forEach(D=>{D(O)})}function C(){if(l!=="pending")return;f();const x=s.shift();if(x===void 0){if(h.length){d=setTimeout(()=>{f(),l==="pending"&&(E(),w())},t.timeout);return}w();return}const k={status:"pending",resource:x,callback:(O,K)=>{b(k,O,K)}};h.push(k),c++,d=setTimeout(C,t.rotate),n(x,e,k.callback)}return setTimeout(C),S}function Mf(t){const e={...Aw,...t};let n=[];function i(){n=n.filter(s=>s().status==="pending")}function o(s,a,l){const c=Pw(e,s,a,(u,d)=>{i(),l&&l(u,d)});return n.push(c),c}function r(s){return n.find(a=>s(a))||null}return{query:o,find:r,setIndex:s=>{e.index=s},getIndex:()=>e.index,cleanup:i}}function cd(){}const na=Object.create(null);function Rw(t){if(!na[t]){const e=lc(t);if(!e)return;na[t]={config:e,redundancy:Mf(e)}}return na[t]}function Mw(t,e,n){let i,o;if(typeof t=="string"){const r=rl(t);if(!r)return n(void 0,424),cd;o=r.send;const s=Rw(t);s&&(i=s.redundancy)}else{const r=sc(t);if(r){i=Mf(r);const s=rl(t.resources?t.resources[0]:"");s&&(o=s.send)}}return!i||!o?(n(void 0,424),cd):i.query(e,o,n)().abort}function ud(){}function Iw(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,xw(t)}))}function Dw(t){const e=[],n=[];return t.forEach(i=>{(i.match(Cf)?e:n).push(i)}),{valid:e,invalid:n}}function yo(t,e,n){function i(){const o=t.pendingIcons;e.forEach(r=>{o&&o.delete(r),t.icons[r]||t.missing.add(r)})}if(n&&typeof n=="object")try{if(!$f(t,n).length){i();return}}catch(o){console.error(o)}i(),Iw(t)}function dd(t,e){t instanceof Promise?t.then(n=>{e(n)}).catch(()=>{e(null)}):e(t)}function Fw(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:i}=t,o=t.iconsToLoad;if(delete t.iconsToLoad,!o||!o.length)return;const r=t.loadIcon;if(t.loadIcons&&(o.length>1||!r)){dd(t.loadIcons(o,i,n),c=>{yo(t,o,c)});return}if(r){o.forEach(c=>{dd(r(c,i,n),u=>{yo(t,[c],u?{prefix:i,icons:{[c]:u}}:null)})});return}const{valid:s,invalid:a}=Dw(o);if(a.length&&yo(t,a,null),!s.length)return;const l=i.match(Cf)?rl(n):null;if(!l){yo(t,s,null);return}l.prepare(n,i,s).forEach(c=>{Mw(n,c,u=>{yo(t,c.icons,u)})})}))}const Lw=(t,e)=>{const n=$w(kw(t,!0,kf()));if(!n.pending.length){let a=!0;return e&&setTimeout(()=>{a&&e(n.loaded,n.missing,n.pending,ud)}),()=>{a=!1}}const i=Object.create(null),o=[];let r,s;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===s&&l===r)return;r=l,s=c,o.push(eo(l,c));const u=i[l]||(i[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,d=eo(l,c),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(u)||(h.add(u),i[l][c].push(u))}),o.forEach(a=>{const l=i[a.provider][a.prefix];l.length&&Fw(a,l)}),e?Ow(e,n,o):ud};function jw(t,e){const n={...t};for(const i in e){const o=e[i],r=typeof o;i in Af?(o===null||o&&(r==="string"||r==="number"))&&(n[i]=o):r===typeof n[i]&&(n[i]=i==="rotate"?o%4:o)}return n}const Nw=/[\s,]+/;function Uw(t,e){e.split(Nw).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function zw(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function i(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(t);return isNaN(o)?0:i(o)}else if(n!==t){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let r=parseFloat(t.slice(0,t.length-n.length));return isNaN(r)?0:(r=r/o,r%1===0?i(r):0)}}return e}function Vw(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in e)n+=" "+i+'="'+e[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function Bw(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Hw(t){return"data:image/svg+xml,"+Bw(t)}function qw(t){return'url("'+Hw(t)+'")'}const hd={...Pf,inline:!1},Ww={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Kw={display:"inline-block"},sl={backgroundColor:"currentColor"},If={backgroundColor:"transparent"},pd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},fd={webkitMask:sl,mask:sl,background:If};for(const t in fd){const e=fd[t];for(const n in pd)e[t+n]=pd[n]}const Vr={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Vr[t+"-flip"]=e,Vr[t.slice(0,1)+"-flip"]=e,Vr[t+"Flip"]=e});function md(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const vd=(t,e)=>{const n=jw(hd,e),i={...Ww},o=e.mode||"svg",r={},s=e.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let p in e){const _=e[p];if(_!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[p]=_===!0||_==="true"||_===1;break;case"flip":typeof _=="string"&&Uw(n,_);break;case"color":r.color=_;break;case"rotate":typeof _=="string"?n[p]=zw(_):typeof _=="number"&&(n[p]=_);break;case"ariaHidden":case"aria-hidden":_!==!0&&_!=="true"&&delete i["aria-hidden"];break;default:{const S=Vr[p];S?(_===!0||_==="true"||_===1)&&(n[S]=!0):hd[p]===void 0&&(i[p]=_)}}}const l=hw(t,n),c=l.attributes;if(n.inline&&(r.verticalAlign="-0.125em"),o==="svg")return i.style={...r,...a},Object.assign(i,c),i.innerHTML=mw(l.body),$o("svg",i);const{body:u,width:d,height:h}=t,v=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),f=Vw(u,{...c,width:d+"",height:h+""});return i.style={...r,"--svg":qw(f),width:md(c.width),height:md(c.height),...Kw,...v?sl:If,...a},$o("span",i)};kf(!0);vw("",Cw);if(typeof document<"u"&&typeof window<"u"){const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!rw(i))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let n in e){const i="IconifyProviders["+n+"] is invalid.";try{const o=e[n];if(typeof o!="object"||!o||o.resources===void 0)continue;gw(n,o)||console.error(i)}catch{console.error(i)}}}}const Yw={...Cs,body:""},Gw=Se((t,{emit:e})=>{const n=H(null);function i(){n.value&&(n.value.abort?.(),n.value=null)}const o=H(!!t.ssr),r=H(""),s=Yo(null);function a(){const c=t.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return r.value="",{data:c};let u;if(typeof c!="string"||(u=Ss(c,!1,!0))===null)return null;let d=iw(u);if(!d){const f=n.value;return(!f||f.name!==c)&&(d===null?n.value={name:c}:n.value={name:c,abort:Lw([u],l)}),null}i(),r.value!==c&&(r.value=c,Ge(()=>{e("load",c)}));const h=t.customise;if(h){d=Object.assign({},d);const f=h(d.body,u.name,u.prefix,u.provider);typeof f=="string"&&(d.body=f)}const v=["iconify"];return u.prefix!==""&&v.push("iconify--"+u.prefix),u.provider!==""&&v.push("iconify--"+u.provider),{data:d,classes:v}}function l(){const c=a();c?c.data!==s.value?.data&&(s.value=c):s.value=null}return o.value?l():et(()=>{o.value=!0,l()}),Oe(()=>t.icon,l),St(i),()=>{const c=s.value;if(!c)return vd(Yw,t);let u=t;return c.classes&&(u={...t,class:c.classes.join(" ")}),vd({...Cs,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function Qw(t,e,n="_id"){const i=Ou(t,e,n).filter(Boolean),o=Ou(e,t,n).filter(Boolean),r=A_(t,e,(s,a)=>s[n]===a[n]&&!P_(s,a));return{addedItems:i,deletedItems:o,modifiedItems:r}}const GU=Object.freeze(Object.defineProperty({__proto__:null,findChangedArrayItems:Qw},Symbol.toStringTag,{value:"Module"}));function cc(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Xw(t,e){if(!e?.trim())return[{text:t,isMatch:!1}];const n=new RegExp(`(${cc(e)})`,"gi");return t.split(n).map(i=>({text:i,isMatch:n.test(i)&&i.toLowerCase()===e.toLowerCase()}))}function Jw(t,e,n="hl"){if(!e?.trim())return t;const i=cc(e.trim());return t.replace(new RegExp(`(${i})`,"gi"),`<mark class="${n}">$1</mark>`)}function Zw(t,e){const n=e?.trim().toLowerCase();return n?t.findIndex(i=>i.toLowerCase().includes(n)):-1}const Df=t=>t.replace(/[/\\]/g,"/"),e1=(t,e="/")=>t.replace(/[\\/]+/g,e);function t1(){return"#"+R_(0,16777215).toString(16).padStart(6,"0")}const n1=t=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t),Ff=t=>t.replace(/[-_]([a-z])/g,(e,n)=>n.toUpperCase()).replace(/^[A-Z]/,e=>e.toLowerCase()),al=t=>{if(Array.isArray(t))return t.map(n=>al(n));if(t===null||typeof t!="object")return t;const e={};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const i=Ff(n);e[i]=al(t[n])}return e};function i1(t){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(t.trim())}function o1(t){if(t<=0)throw new Error("长度必须大于0");let e="";for(;e.length<t;){const n=Math.floor(Math.random()*10);e.length===0&&n===0||(e+=n)}return e}function Lf(t){if(t==null)return{valid:!1,reason:"validateHash.empty"};if(typeof t!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof t}};const e=t.startsWith("#")?t.slice(1):t;if(e.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(e))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:e[0]}};const n=e.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const i=n[0],o=i.charCodeAt(0);return i==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:i===`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-EDA2t2OE.js","./vendor-ui-CGT0cG1n.js","./vendor-core-BKehvho7.js","./LoadingWrapper.vue_vue_type_script_setup_true_lang-kJcgjuK5.js","./EmptyStatusContainer.vue_vue_type_script_setup_true_lang-pswB5SUz.js","./BaseDialog.vue_vue_type_script_setup_true_lang-BROcUfEh.js","./el-dropdown-item-BeIfAqTO.css","./el-card-BAyktVMS.css","./index-DrbX7elo.js","./index.vue_vue_type_script_setup_true_lang-BAM6bQ14.js","./useCacheOssStore-OAoLDVbw.js","./index-DOlF0Z_P.css","./index.vue_vue_type_script_setup_true_lang-CgaIiyg6.js","./index-BFKzKjpl.js","./index-B78Rw6nE.css","./useVscodeOpen-BBdyQ3W2.js","./index-BoIy-5_p.js","./index-8dCw6Y2Z.css","./el-link-CPQZ-olG.css","./index-CdzjeO0x.js","./md5-ohq5q_Pj.js","./AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-CP9hjm3T.js","./CanvasAnimation.vue_vue_type_script_setup_true_lang-CDdsQZ0-.js","./index-CNqahi2L.css","./index-ZoaJ6v2i.js","./core-CcVTMiBP.js","./index-Dt73qBZB.css","./el-empty-S7fQQ3B8.css","./index-BwgMUal7.js","./index.vue_vue_type_style_index_0_lang-BZ1LzI3x.js","./index-Dj51p5I8.css","./index-B8k-Kh_A.js","./index-B9hCLAJk.js","./index.vue_vue_type_script_setup_true_lang-BXNbK11E.js","./useMessage-Cbhfk7Nk.js","./index-CY6_9tAe.js","./useCompMetaLocalStore-BKTMp_k8.js","./index.vue_vue_type_script_setup_true_lang-DTC1Qz-g.js","./index-DOd1x8nw.js","./el-table-column-CGzXlVpD.js","./el-table-column-B3ZEEuPD.css","./index.vue_vue_type_style_index_0_lang-8e70e_fM.js","./vendor-xterm-DbWxaMay.js","./index-Bn5vi5XZ.css","./index.vue_vue_type_script_setup_true_lang-BWF3Tgxf.js","./index.vue_vue_type_script_setup_true_lang-CmmAEEXC.js","./useTeamHeaders-DxHN7-t0.js","./index.vue_vue_type_script_setup_true_lang-D9A1RF52.js","./index-DJ4AvgpT.css","./PanelBackground.vue_vue_type_script_setup_true_lang-BELCrrRh.js","./BaseSegmented.vue_vue_type_script_setup_true_lang-DU79Plk1.js","./index-qAIxUXsY.css","./home-rounded-BhKYWFxg.js","./home-rounded-B4KVwSYb.css","./index-CAsY0Xb9.js","./useKeyword-CjhhChz4.js","./supervised-user-circle-C6l0wkza.js","./supervised-user-circle-CZYpyCV4.css","./index-DEGdQmAx.js","./index.vue_vue_type_style_index_0_lang-BipgSalp.js","./useCompEditStore-DhXxYAqN.js","./v4-EwEgHOG0.js","./useCompEditStore-D7YXYpD3.css","./index-CdWXO9ks.css","./kid-star-DD-9HSxX.js","./kid-star-D1M-aC1C.css","./index-DPdwbYvx.js","./sync-saved-locally-rounded-Cgz-NvDy.js","./sync-saved-locally-rounded-wbwASI26.css","./index-CiSJMy_Y.js","./cloud-upload-Cdco6849.js","./cloud-upload-j3Y0taC9.css","./index-CadXipX3.js","./index-BRZurz58.js","./moment-B-YVwB4U.js","./index-VFwGpUE-.css","./index-BrArZ42r.js","./terminal-DIdElzFh.js","./terminal-DFt3N_TH.css","./index-B6QLWqnu.js","./settings-f8ZwrSyv.js","./settings-BhagQj3w.css","./index-0jUB6F-4.js","./index-CyPExloz.css","./index-B329MLgw.js","./index-Cl0SK7oa.css","./index-IVEhJl2W.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{aA as Ko,g as te,v as Se,aj as ze,ab as y,j as ne,aO as we,r as j,ax as m,w as vi,au as Xa,ad as It,av as Tu,B as $o,ao as Yo,aF as Mn,aM as Oe,l as T,ai as Ve,i as g,F as Me,ah as He,q as Ke,ap as L,af as H,a7 as et,a9 as St,Y as Ge,b as Up,k as ue,aB as Zl,ay as ec,aN as Nt,al as Ot,X as We,ar as bn,aQ as ho,aR as Ye,W as zp,aE as h_,aP as it,$ as At,p as p_,_ as wn,A as Jn,K as f_,aD as _s,m as m_,n as v_,aC as tc,c as g_,Z as Ae,Q as ys,S as __,u as qn,o as y_,s as b_,h as nc,at as $t,U as zi,V as Gn,y as Ja,a1 as w_,a4 as bs,aa as Vp,H as ko,ak as E_,ac as Bp,z as S_,a8 as C_,aK as En,T as ws,aJ as Go,aG as Es,aI as Za,aH as ea,t as x_}from"./vendor-core-BKehvho7.js";import{ai as T_,aD as O_,m as $_,aH as Ji,aE as ic,ag as k_,ah as Ou,ao as A_,ar as P_,aA as R_,aw as M_,au as I_,aq as D_,ap as F_,as as L_,ax as j_,at as N_,ay as U_,av as z_,y as $u,e as Gi,x as el,aJ as Hp,a2 as V_,a1 as B_,M as H_,aK as q_,an as W_,am as Fi,I as K_,z as Ao,K as Y_,$ as G_,H as Q_,N as tl,B as nl,a3 as X_,_ as J_,Z as Z_,r as ey,T as ku,k as Au,A as Pu,g as Ru,a5 as Mu,b as Iu,j as Du,i as Fu,R as Lu,Q as ju,P as Nu,q as Uu,h as zu,W as Vu,a7 as Bu,a9 as Hu,Y as qu,S as Wu,l as Ku,a0 as Yu,n as Gu,a4 as Qu,O as Xu,C as Ju,a6 as Zu,a8 as ed,G as td,ae as mr,af as Zi,ab as oc,az as Po,aj as Ro,aB as Mo,J as vr,ac as ty}from"./vendor-ui-CGT0cG1n.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();const ny="local://",iy="main",oy="container",ry="item",sy="/__global_config__",ay="/node_modules/.prebuild_module",ly="_metadata.json",cy="/_module_load_prefix_",uy="/_node_modules_load_prefix_",dy="/_comp_preview_prefix_local_",hy="/__proxy__",py="/__master__",fy="__remote__",my="__local__",vy="https://api.comphub.cn:5696",gy="http://localhost:7002",_y="http://localhost:5000",yy="http://localhost:5001",by="Comp Hub",wy="csrfToken",Ey="authorization",Sy="x-refresh-token",Cy="x-csrf-token",xy="accept-language",Ty="comp-hub-db",Oy="file-compiled",$y="https://oss.comphub.cn",ky="oss:sts:token",Ay="oss:sts:expire",Py="comp.json",Ry="README.md",My="/.comp_hub_temp",Iy="main.js",Dy="index.vue",qp="list_local",Wp="list_remote",Fy={COMP_LIST_TYPE_LOCAL:qp,COMP_LIST_TYPE_REMOTE:Wp},Kp="config",Yp="error",Gp="dir",Qp="preview",Xp="extra",Jp="deps",Zp="upgradeLog",ef="readme",Ly={TAB_TYPE_CONFIG:Kp,TAB_TYPE_ERROR:Yp,TAB_TYPE_DIR:Gp,TAB_TYPE_PREVIEW:Qp,TAB_TYPE_EXTRA:Xp,TAB_TYPE_DEPS:Jp,TAB_TYPE_UPGRADE_LOG:Zp,TAB_TYPE_README:ef},tf="mini",nf="full",jy={COMP_EDIT_TAB_TYPE_MINI:tf,COMP_EDIT_TAB_TYPE_FULL:nf},of="EDIT",rf="ADD",Ny={DIALOG_TYPE_EDIT:of,DIALOG_TYPE_ADD:rf},sf="ONLY_INSTALL",af="AUTO",lf="MAJOR_VERSION",cf="MINOR_VERSION",uf="EXACT_VERSION",Uy={COMP_MATCH_TYPE_ONLY_INSTALL:sf,COMP_MATCH_TYPE_AUTO:af,COMP_MATCH_TYPE_MAJOR_VERSION:lf,COMP_MATCH_TYPE_MINOR_VERSION:cf,COMP_MATCH_TYPE_EXACT_VERSION:uf},df="online",hf="offline",zy={COMP_UPDATE_TYPE_ONLINE:df,COMP_UPDATE_TYPE_OFFLINE:hf},Vy=0,By=1,Hy=-1,pf="checkPreviewListForm",ff="checkExtraInfoForm",mf="checkCompConfig",vf="afterCompDel",gf="openCompTerminal",_f="afterCompCancelCollect",yf="afterCompRenderRetry",bf="getCompError",wf="checkUpgradeLogForm",qy={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:pf,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:ff,COMP_METHOD_KEY_CHECK_COMP_CONFIG:mf,COMP_METHOD_KEY_AFTER_COMP_DEL:vf,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:gf,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:_f,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:yf,COMP_METHOD_KEY_GET_COMP_ERROR:bf,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:wf},Wy={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},Ky="http://127.0.0.1",Yy="http://localhost:8095",Gy="http://localhost:8096",Qy="http://localhost:5198",Xy="/item",Jy="/container",Zy="CREATE",eb="JOIN",tb="EXIT",nb="teamAddMyComp",ib="teamCompList",ob="teamCompGroupList",rb="teamMyCompList",sb="teamMyCompUpdate",ab="vue/dist/vue.esm-bundler.js",lb="__v__",cb="compListStore",ub="compEditStore",db="callbacks",hb="comphubConfig",pb="local",fb="prod",mb="local",vb="prod",gb="http://localhost:5173/en/",_b="https://docs.comphub.cn",yb=20,bb=20,bt=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:xy,AUTHORIZATION_HEADER_NAME:Ey,CACHE_KEY_STS_EXPIRE_TIME:Ay,CACHE_KEY_STS_TOKEN:ky,COMPHUB_CONFIG_KEY:hb,COMP_ACTION_ICON_HEIGHT:bb,COMP_ACTION_ICON_WIDTH:yb,COMP_CONFIG_FILENAME:Py,COMP_EDIT_TAB_TYPES:jy,COMP_EDIT_TAB_TYPE_FULL:nf,COMP_EDIT_TAB_TYPE_MINI:tf,COMP_ENTRY_FILE:Iy,COMP_HUB_DEV_DOCS_URL:gb,COMP_HUB_PROD_DOCS_URL:_b,COMP_LIST_TYPES:Fy,COMP_LIST_TYPE_LOCAL:qp,COMP_LIST_TYPE_REMOTE:Wp,COMP_MATCH_TYPES:Uy,COMP_MATCH_TYPE_AUTO:af,COMP_MATCH_TYPE_EXACT_VERSION:uf,COMP_MATCH_TYPE_MAJOR_VERSION:lf,COMP_MATCH_TYPE_MINOR_VERSION:cf,COMP_MATCH_TYPE_ONLY_INSTALL:sf,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:_f,COMP_METHOD_KEY_AFTER_COMP_DEL:vf,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:yf,COMP_METHOD_KEY_CHECK_COMP_CONFIG:mf,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:ff,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:pf,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:wf,COMP_METHOD_KEY_GET_COMP_ERROR:bf,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:gf,COMP_PREVIEW_PREFIX_LOCAL:dy,COMP_README_FILENAME:Ry,COMP_SUBMIT_MAX_FILE_COUNT:30,COMP_SUBMIT_MAX_SINGLE_FILE_SIZE:3145728,COMP_SUBMIT_MAX_TOTAL_SIZE:10485760,COMP_TEMP_DIR:My,COMP_UPDATE_TYPES:zy,COMP_UPDATE_TYPE_OFFLINE:hf,COMP_UPDATE_TYPE_ONLINE:df,COMP_USE_ENTRY_FILE:Dy,CSRF_KEY:wy,CSRF_TOKEN_HEADER_NAME:Cy,DIALOG_TYPES:Ny,DIALOG_TYPE_ADD:rf,DIALOG_TYPE_EDIT:of,FILE_MANAGER_DIRNAME:ny,GLOBAL_CONFIG_PATH:sy,IFRAME_CONTAINER_WEBSITE_PATH:Jy,IFRAME_HOST:Ky,IFRAME_ITEM_WEBSITE_PATH:Xy,IFRAME_ROUTES:Wy,INDEX_DB_NAME:Ty,INDEX_DB_TABLE_NAME:Oy,LOCAL_CHILD_IFRAME_URL:Yy,LOCAL_LEAF_IFRAME_URL:Gy,LOCAL_MIDWAY_ENV_LOCAL:pb,LOCAL_MIDWAY_ENV_PROD:fb,LOCAL_SERVICE_PREFIX:my,LOCAL_SERVICE_URL_DEV:_y,LOCAL_SERVICE_URL_DEV_SUB:yy,LOCAL_TOP_IFRAME_URL:Qy,MASTER_API_PREFIX:py,META_FILE_NAME:ly,MODULE_LOAD_PREFIX:cy,NODE_MODULES_LOAD_PREFIX:uy,OSS_CUSTOM_DOMAIN:$y,PREBUILD_MODULE_DIR:ay,PROVIDE_KEYS:qy,PROVIDE_KEY_CALLBACKS:db,PROVIDE_KEY_COMP_EDIT_STORE:ub,PROVIDE_KEY_COMP_LIST_STORE:cb,PROXY_PATH_PREFIX:hy,REFRESH_TOKEN_HEADER_NAME:Sy,REMOTE_MIDWAY_ENV_LOCAL:mb,REMOTE_MIDWAY_ENV_PROD:vb,REMOTE_SERVICE_PREFIX:fy,REMOTE_SERVICE_URL_DEV:gy,REMOTE_SERVICE_URL_PROD:vy,ROUTE_STATE_KEY_VERSION:lb,SCOPE_ID_TEAM_ADD_MY_COMP:nb,SCOPE_ID_TEAM_COMP_GROUP_LIST:ob,SCOPE_ID_TEAM_COMP_LIST:ib,SCOPE_ID_TEAM_MY_COMP_LIST:rb,SCOPE_ID_TEAM_MY_COMP_UPDATE:sb,SITE_TITLE:by,TAB_TYPES:Ly,TAB_TYPE_CONFIG:Kp,TAB_TYPE_DEPS:Jp,TAB_TYPE_DIR:Gp,TAB_TYPE_ERROR:Yp,TAB_TYPE_EXTRA:Xp,TAB_TYPE_PREVIEW:Qp,TAB_TYPE_README:ef,TAB_TYPE_UPGRADE_LOG:Zp,TEAM_OPERATE_TYPE_CREATE:Zy,TEAM_OPERATE_TYPE_EXIT:tb,TEAM_OPERATE_TYPE_JOIN:eb,VERSION_COMPARE_GREATER:By,VERSION_COMPARE_LESS:Hy,VERSION_COMPARE_SAME:Vy,VUE_ESM_BUNDLER:ab,WEBSITE_PATH_CONTAINER:oy,WEBSITE_PATH_ITEM:ry,WEBSITE_PATH_MAIN:iy},Symbol.toStringTag,{value:"Module"})),wb=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],Eb=[".css"],Sb=[{name:"__id__",label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],LU=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:Sb,DEFAULT_TAG_GROUP:wb,PREBUILD_MODULE_SKIP_EXT:Eb},Symbol.toStringTag,{value:"Module"})),Cb="comp-hub-locale",xb=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:Cb},Symbol.toStringTag,{value:"Module"})),Tb="send-auth-code",Ob="send-auth-code-success",$b="send-auth-code-failed",kb="login-button",Ab="login-button-success",Pb="login-button-failed",Rb="skip-login",Mb="upload-select-folder",Ib="upload-confirm",Db="upload-success",Fb="upload-failed",Lb="upload-repeat-confirm",jb="edit-panel-submit",Nb="edit-panel-submit-success",Ub="edit-panel-submit-failed",zb="edit-generate-comp-json",Vb="edit-view-diff",Bb="edit-bg-color-change",Hb="edit-dep-version-change",qb="search-component",Wb="filter-tag",Kb="page-size-change",Yb="comp-preview",Gb="comp-download",Qb="comp-download-success",Xb="comp-download-failed",Jb="comp-collect-toggle",Zb="comp-delete",e0="comp-update",t0="comp-update-success",n0="comp-update-failed",i0="comp-version-change",o0="preview-open-newtab",r0="preview-tab-change",s0="user-update-avatar",a0="user-update-avatar-success",l0="user-update-avatar-failed",c0="user-update-nickname",u0="user-update-nickname-success",d0="user-update-nickname-failed",h0="user-update-email",p0="user-update-email-success",f0="user-update-email-failed",m0="user-update-password",v0="user-update-password-success",g0="user-update-password-failed",_0="user-email-login-toggle",y0="team-tab-change",b0="team-filter-group",w0="team-kick-member",E0="team-apply-accept",S0="team-apply-reject",C0="team-comp-remove",x0="team-comp-permission-change",T0="sidebar-toggle",O0="setting-apply-rule",$0="clear-cache",nd=Object.freeze(Object.defineProperty({__proto__:null,CLEAR_CACHE:$0,COMP_COLLECT_TOGGLE:Jb,COMP_DELETE:Zb,COMP_DOWNLOAD:Gb,COMP_DOWNLOAD_FAILED:Xb,COMP_DOWNLOAD_SUCCESS:Qb,COMP_PREVIEW:Yb,COMP_UPDATE:e0,COMP_UPDATE_FAILED:n0,COMP_UPDATE_SUCCESS:t0,COMP_VERSION_CHANGE:i0,EDIT_BG_COLOR_CHANGE:Bb,EDIT_DEP_VERSION_CHANGE:Hb,EDIT_GENERATE_COMP_JSON:zb,EDIT_PANEL_SUBMIT:jb,EDIT_PANEL_SUBMIT_FAILED:Ub,EDIT_PANEL_SUBMIT_SUCCESS:Nb,EDIT_VIEW_DIFF:Vb,FILTER_TAG:Wb,LOGIN_BUTTON:kb,LOGIN_BUTTON_FAILED:Pb,LOGIN_BUTTON_SUCCESS:Ab,PAGE_SIZE_CHANGE:Kb,PREVIEW_OPEN_NEWTAB:o0,PREVIEW_TAB_CHANGE:r0,SEARCH_COMPONENT:qb,SEND_AUTH_CODE:Tb,SEND_AUTH_CODE_FAILED:$b,SEND_AUTH_CODE_SUCCESS:Ob,SETTING_APPLY_RULE:O0,SIDEBAR_TOGGLE:T0,SKIP_LOGIN:Rb,TEAM_APPLY_ACCEPT:E0,TEAM_APPLY_REJECT:S0,TEAM_COMP_PERMISSION_CHANGE:x0,TEAM_COMP_REMOVE:C0,TEAM_FILTER_GROUP:b0,TEAM_KICK_MEMBER:w0,TEAM_TAB_CHANGE:y0,UPLOAD_CONFIRM:Ib,UPLOAD_FAILED:Fb,UPLOAD_REPEAT_CONFIRM:Lb,UPLOAD_SELECT_FOLDER:Mb,UPLOAD_SUCCESS:Db,USER_EMAIL_LOGIN_TOGGLE:_0,USER_UPDATE_AVATAR:s0,USER_UPDATE_AVATAR_FAILED:l0,USER_UPDATE_AVATAR_SUCCESS:a0,USER_UPDATE_EMAIL:h0,USER_UPDATE_EMAIL_FAILED:f0,USER_UPDATE_EMAIL_SUCCESS:p0,USER_UPDATE_NICKNAME:c0,USER_UPDATE_NICKNAME_FAILED:d0,USER_UPDATE_NICKNAME_SUCCESS:u0,USER_UPDATE_PASSWORD:m0,USER_UPDATE_PASSWORD_FAILED:g0,USER_UPDATE_PASSWORD_SUCCESS:v0},Symbol.toStringTag,{value:"Module"})),jU=t=>bt.COMP_HUB_PROD_DOCS_URL,k0=t=>"";var A0={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"},inputOTP:{groupLabel:"一次性密码输入框",defaultLabel:"请输入第 {index} 位 OTP 字符"}}};const P0=()=>{const{locale:t}=Ko(),e={zh:A0,en:T_};return{locale:te(()=>e[t.value])}},R0=Se({__name:"App",setup(t){const{locale:e}=P0();return O_(),(n,i)=>{const o=ze("router-view");return y(),ne(m($_),{locale:m(e)},{default:we(()=>[j(o)]),_:1},8,["locale"])}}}),M0="modulepreload",I0=function(t,e){return new URL(t,e).href},id={},nt=function(e,n,i){let o=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");o=c(n.map(u=>{if(u=I0(u,i),u in id)return;id[u]=!0;const d=u.endsWith(".css"),h=d?'[rel="stylesheet"]':"";if(i)for(let f=s.length-1;f>=0;f--){const p=s[f];if(p.href===u&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${h}`))return;const v=document.createElement("link");if(v.rel=d?"stylesheet":M0,d||(v.as="script"),v.crossOrigin="",v.href=u,l&&v.setAttribute("nonce",l),document.head.appendChild(v),d)return new Promise((f,p)=>{v.addEventListener("load",f),v.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${u}`)))})}))}function r(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&r(a.reason);return e().catch(r)})},si="authorization",is=()=>localStorage.getItem(si),D0=t=>localStorage.setItem(si,t),F0=()=>localStorage.removeItem(si),Ti="x-refresh-token",L0=()=>localStorage.getItem(Ti),j0=t=>localStorage.setItem(Ti,t),N0=()=>localStorage.removeItem(Ti),U0="aside_is_collapse",NU="loginType",UU="compUploadFullscreen",zU="terminalCommandHistory",VU="compUploadSidePanelSize",BU="tagSelected",z0="asideSize",V0="headerSize",Ef="tagsViewMaxCache",HU="readUploadAgreement",B0="dependencyMatchRule",qU="teamTabActiveName",WU="settingTabActiveName",KU="compPreviewTabActiveName",Sf="paginationPageSize",H0=()=>localStorage.getItem(Sf),q0=t=>localStorage.setItem(Sf,t),YU="selectedFolderPath",Qo=vi("tagsView",{state:()=>({visitedViews:[],maxCache:Ji(Ef,10),payloadMap:new Map}),actions:{setMaxCache(t){this.$patch(e=>{e.maxCache=t})},addView(t){this.$patch(e=>{const n={...t},i=e.visitedViews.findIndex(r=>r.path===t.path);if(i!==-1){e.visitedViews[i]=n;return}e.visitedViews.unshift(n);const o=e.visitedViews.length-e.maxCache;o>0&&this.spliceVisitedViews(-o,o)})},spliceVisitedViews(t,e){this.$patch(n=>{n.visitedViews.splice(t,e)})},delViewByPath(t){this.$patch(e=>{for(const[n,i]of e.visitedViews.entries())if(i.path===t){e.visitedViews.splice(n,1);break}})},delViewAndJumpToPrev(t,e=!1,n){if(e){const i=this.visitedViews.filter(o=>o.path!==t)?.[0];i?n.push(i.path).then(o=>{o||setTimeout(()=>{this.delViewByPath(t)},250)}):n.push("/").then(o=>{o||this.delViewByPath(t)})}else this.delViewByPath(t)},addPayLoad(t,e){this.$patch(n=>{n.payloadMap.set(t,e)})},getPayLoad(t){return this.payloadMap.get(t)}}}),W0=Se((t,{slots:e})=>{var n,i;const o=Yo(),{width:r,height:s}=Xa(t),a=It(ic(o,{width:(n=Tu(r))!==null&&n!==void 0?n:0,height:(i=Tu(s))!==null&&i!==void 0?i:0},{box:t.box,window:t.window}));return()=>{if(e.default)return $o(t.as||"div",{ref:o},e.default(a))}},{name:"UseElementSize",props:["as","box","height","width","window"]}),K0={ref:"el",class:"relative"},Y0={class:"absolute opacity-0 pointer-events-none flex"},G0=["itemKey"],Q0=Se({__name:"AutoWrapRow",props:{list:{},moreWidth:{default:70},gap:{default:5},getKey:{}},setup(t){const e=t,n=H(new Map),i=Mn("el"),o=Mn("items"),{width:r}=ic(i),s=H([]),a=H(!1),l=te(()=>r.value-e.moreWidth),c=te(()=>{const p=s.value.map(_=>_.key);return e.list.filter(_=>p.includes(e.getKey(_)))}),u=te(()=>a.value?e.list.length-s.value.length:0),d=te(()=>{let p=0;for(const _ of n.value.values())p+=_;return p});function h(p,_){n.value.set(p,_)}function v(){const p=new Map;for(const _ of e.list){const S=e.getKey(_);p.set(S,n.value.get(S)??0)}n.value=p}const f=k_(()=>{let p=0;const _=[];if(!(!o.value||e.list.length===0)){for(const S of e.list){const w=e.getKey(S),E=o.value.find(b=>b.getAttribute("itemKey")===w);if(E){if(p+=E.offsetWidth+e.gap,p>l.value)break;_.push({key:w,value:E.offsetWidth})}}s.value=_,a.value=!0}},100);return Oe([()=>r.value,()=>e.list,()=>d.value],([,,p],[,,_])=>{p!==_&&(a.value=!1),f()},{flush:"post",deep:!0}),Oe(()=>e.list.length,()=>{v()}),(p,_)=>(y(),T("div",K0,[Ve(p.$slots,"display",{visibleList:c.value,overflow:u.value}),g("div",Y0,[(y(!0),T(Me,null,He(t.list,(S,w)=>(y(),ne(m(W0),{key:t.getKey(S)},{default:we(({width:E})=>[Ke(L(h(t.getKey(S),Number(E)))+" ",1),g("div",{ref_for:!0,ref:"items",itemKey:t.getKey(S),class:"invisible whitespace-nowrap"},[Ve(p.$slots,"measure",{item:S,index:w})],8,G0)]),_:2},1024))),128))])],512))}}),rc=(t,e)=>{const n=t.__vccOpts||t;for(const[i,o]of e)n[i]=o;return n},Cf=/^[a-z0-9]+(-[a-z0-9]+)*$/,Ss=(t,e,n,i="")=>{const o=t.split(":");if(t.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;i=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:i,prefix:l,name:a};return e&&!Ur(c)?null:c}const r=o[0],s=r.split("-");if(s.length>1){const a={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!Ur(a)?null:a}if(n&&i===""){const a={provider:i,prefix:"",name:r};return e&&!Ur(a,n)?null:a}return null},Ur=(t,e)=>t?!!((e&&t.prefix===""||t.prefix)&&t.name):!1;function X0(t,e){const n=t.icons,i=t.aliases||Object.create(null),o=Object.create(null);function r(s){if(n[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=i[s]&&i[s].parent,l=a&&r(a);l&&(o[s]=[a].concat(l))}return o[s]}return Object.keys(n).concat(Object.keys(i)).forEach(r),o}const xf=Object.freeze({left:0,top:0,width:16,height:16}),os=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Cs=Object.freeze({...xf,...os}),il=Object.freeze({...Cs,body:"",hidden:!1});function J0(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const i=((t.rotate||0)+(e.rotate||0))%4;return i&&(n.rotate=i),n}function od(t,e){const n=J0(t,e);for(const i in il)i in os?i in t&&!(i in n)&&(n[i]=os[i]):i in e?n[i]=e[i]:i in t&&(n[i]=t[i]);return n}function Z0(t,e,n){const i=t.icons,o=t.aliases||Object.create(null);let r={};function s(a){r=od(i[a]||o[a],r)}return s(e),n.forEach(s),od(t,r)}function Tf(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(o=>{e(o,null),n.push(o)});const i=X0(t);for(const o in i){const r=i[o];r&&(e(o,Z0(t,o,r)),n.push(o))}return n}const ew={provider:"",aliases:{},not_found:{},...xf};function ta(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function Of(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!ta(t,ew))return null;const n=e.icons;for(const o in n){const r=n[o];if(!o||typeof r.body!="string"||!ta(r,il))return null}const i=e.aliases||Object.create(null);for(const o in i){const r=i[o],s=r.parent;if(!o||typeof s!="string"||!n[s]&&!i[s]||!ta(r,il))return null}return e}const rd=Object.create(null);function tw(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function eo(t,e){const n=rd[t]||(rd[t]=Object.create(null));return n[e]||(n[e]=tw(t,e))}function $f(t,e){return Of(e)?Tf(e,(n,i)=>{i?t.icons[n]=i:t.missing.add(n)}):[]}function nw(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let Io=!1;function kf(t){return typeof t=="boolean"&&(Io=t),Io}function iw(t){const e=typeof t=="string"?Ss(t,!0,Io):t;if(e){const n=eo(e.provider,e.prefix),i=e.name;return n.icons[i]||(n.missing.has(i)?null:void 0)}}function ow(t,e){const n=Ss(t,!0,Io);if(!n)return!1;const i=eo(n.provider,n.prefix);return e?nw(i,n.name,e):(i.missing.add(n.name),!0)}function rw(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),Io&&!e&&!t.prefix){let i=!1;return Of(t)&&(t.prefix="",Tf(t,(o,r)=>{ow(o,r)&&(i=!0)})),i}const n=t.prefix;return Ur({prefix:n,name:"a"})?!!$f(eo(e,n),t):!1}const Af=Object.freeze({width:null,height:null}),Pf=Object.freeze({...Af,...os}),sw=/(-?[0-9.]*[0-9]+[0-9.]*)/g,aw=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function sd(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const i=t.split(sw);if(i===null||!i.length)return t;const o=[];let r=i.shift(),s=aw.test(r);for(;;){if(s){const a=parseFloat(r);isNaN(a)?o.push(r):o.push(Math.ceil(a*e*n)/n)}else o.push(r);if(r=i.shift(),r===void 0)return o.join("");s=!s}}function lw(t,e="defs"){let n="";const i=t.indexOf("<"+e);for(;i>=0;){const o=t.indexOf(">",i),r=t.indexOf("</"+e);if(o===-1||r===-1)break;const s=t.indexOf(">",r);if(s===-1)break;n+=t.slice(o+1,r).trim(),t=t.slice(0,i).trim()+t.slice(s+1)}return{defs:n,content:t}}function cw(t,e){return t?"<defs>"+t+"</defs>"+e:e}function uw(t,e,n){const i=lw(t);return cw(i.defs,e+i.content+n)}const dw=t=>t==="unset"||t==="undefined"||t==="none";function hw(t,e){const n={...Cs,...t},i={...Pf,...e},o={left:n.left,top:n.top,width:n.width,height:n.height};let r=n.body;[n,i].forEach(p=>{const _=[],S=p.hFlip,w=p.vFlip;let E=p.rotate;S?w?E+=2:(_.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),_.push("scale(-1 1)"),o.top=o.left=0):w&&(_.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),_.push("scale(1 -1)"),o.top=o.left=0);let b;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:b=o.height/2+o.top,_.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:_.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,_.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}E%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),_.length&&(r=uw(r,'<g transform="'+_.join(" ")+'">',"</g>"))});const s=i.width,a=i.height,l=o.width,c=o.height;let u,d;s===null?(d=a===null?"1em":a==="auto"?c:a,u=sd(d,l/c)):(u=s==="auto"?l:s,d=a===null?sd(u,c/l):a==="auto"?c:a);const h={},v=(p,_)=>{dw(_)||(h[p]=_.toString())};v("width",u),v("height",d);const f=[o.left,o.top,l,c];return h.viewBox=f.join(" "),{attributes:h,viewBox:f,body:r}}const pw=/\sid="(\S+)"/g,ad=new Map;function fw(t){t=t.replace(/[0-9]+$/,"")||"a";const e=ad.get(t)||0;return ad.set(t,e+1),e?`${t}${e}`:t}function mw(t){const e=[];let n;for(;n=pw.exec(t);)e.push(n[1]);if(!e.length)return t;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(o=>{const r=fw(o),s=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+r+i+"$3")}),t=t.replace(new RegExp(i,"g"),""),t}const ol=Object.create(null);function vw(t,e){ol[t]=e}function rl(t){return ol[t]||ol[""]}function sc(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const ac=Object.create(null),_o=["https://api.simplesvg.com","https://api.unisvg.com"],zr=[];for(;_o.length>0;)_o.length===1||Math.random()>.5?zr.push(_o.shift()):zr.push(_o.pop());ac[""]=sc({resources:["https://api.iconify.design"].concat(zr)});function gw(t,e){const n=sc(e);return n===null?!1:(ac[t]=n,!0)}function lc(t){return ac[t]}const _w=()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}};let ld=_w();function yw(t,e){const n=lc(t);if(!n)return 0;let i;if(!n.maxURL)i=0;else{let o=0;n.resources.forEach(s=>{o=Math.max(o,s.length)});const r=e+".json?icons=";i=n.maxURL-o-n.path.length-r.length}return i}function bw(t){return t===404}const ww=(t,e,n)=>{const i=[],o=yw(t,e),r="icons";let s={type:r,provider:t,prefix:e,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(i.push(s),s={type:r,provider:t,prefix:e,icons:[]},a=l.length),s.icons.push(l)}),i.push(s),i};function Ew(t){if(typeof t=="string"){const e=lc(t);if(e)return e.path}return"/"}const Sw=(t,e,n)=>{if(!ld){n("abort",424);return}let i=Ew(e.provider);switch(e.type){case"icons":{const r=e.prefix,s=e.icons.join(","),a=new URLSearchParams({icons:s});i+=r+".json?"+a.toString();break}case"custom":{const r=e.uri;i+=r.slice(0,1)==="/"?r.slice(1):r;break}default:n("abort",400);return}let o=503;ld(t+i).then(r=>{const s=r.status;if(s!==200){setTimeout(()=>{n(bw(s)?"abort":"next",s)});return}return o=501,r.json()}).then(r=>{if(typeof r!="object"||r===null){setTimeout(()=>{r===404?n("abort",r):n("next",o)});return}setTimeout(()=>{n("success",r)})}).catch(()=>{n("next",o)})},Cw={prepare:ww,send:Sw};function Rf(t,e){t.forEach(n=>{const i=n.loaderCallbacks;i&&(n.loaderCallbacks=i.filter(o=>o.id!==e))})}function xw(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const i=t.provider,o=t.prefix;e.forEach(r=>{const s=r.icons,a=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(t.icons[c])s.loaded.push({provider:i,prefix:o,name:c});else if(t.missing.has(c))s.missing.push({provider:i,prefix:o,name:c});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||Rf([t],r.id),r.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),r.abort))})}))}let Tw=0;function Ow(t,e,n){const i=Tw++,o=Rf.bind(null,n,i);if(!e.pending.length)return o;const r={id:i,icons:e,callback:t,abort:o};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(r)}),o}function $w(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((o,r)=>o.provider!==r.provider?o.provider.localeCompare(r.provider):o.prefix!==r.prefix?o.prefix.localeCompare(r.prefix):o.name.localeCompare(r.name));let i={provider:"",prefix:"",name:""};return t.forEach(o=>{if(i.name===o.name&&i.prefix===o.prefix&&i.provider===o.provider)return;i=o;const r=o.provider,s=o.prefix,a=o.name,l=n[r]||(n[r]=Object.create(null)),c=l[s]||(l[s]=eo(r,s));let u;a in c.icons?u=e.loaded:s===""||c.missing.has(a)?u=e.missing:u=e.pending;const d={provider:r,prefix:s,name:a};u.push(d)}),e}function kw(t,e=!0,n=!1){const i=[];return t.forEach(o=>{const r=typeof o=="string"?Ss(o,e,n):o;r&&i.push(r)}),i}const Aw={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Pw(t,e,n,i){const o=t.resources.length,r=t.random?Math.floor(Math.random()*o):t.index;let s;if(t.random){let x=t.resources.slice(0);for(s=[];x.length>1;){const k=Math.floor(Math.random()*x.length);s.push(x[k]),x=x.slice(0,k).concat(x.slice(k+1))}s=s.concat(x)}else s=t.resources.slice(r).concat(t.resources.slice(0,r));const a=Date.now();let l="pending",c=0,u,d=null,h=[],v=[];typeof i=="function"&&v.push(i);function f(){d&&(clearTimeout(d),d=null)}function p(){l==="pending"&&(l="aborted"),f(),h.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),h=[]}function _(x,k){k&&(v=[]),typeof x=="function"&&v.push(x)}function S(){return{startTime:a,payload:e,status:l,queriesSent:c,queriesPending:h.length,subscribe:_,abort:p}}function w(){l="failed",v.forEach(x=>{x(void 0,u)})}function E(){h.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),h=[]}function b(x,k,O){const K=k!=="success";switch(h=h.filter(D=>D!==x),l){case"pending":break;case"failed":if(K||!t.dataAfterTimeout)return;break;default:return}if(k==="abort"){u=O,w();return}if(K){u=O,h.length||(s.length?C():w());return}if(f(),E(),!t.random){const D=t.resources.indexOf(x.resource);D!==-1&&D!==t.index&&(t.index=D)}l="completed",v.forEach(D=>{D(O)})}function C(){if(l!=="pending")return;f();const x=s.shift();if(x===void 0){if(h.length){d=setTimeout(()=>{f(),l==="pending"&&(E(),w())},t.timeout);return}w();return}const k={status:"pending",resource:x,callback:(O,K)=>{b(k,O,K)}};h.push(k),c++,d=setTimeout(C,t.rotate),n(x,e,k.callback)}return setTimeout(C),S}function Mf(t){const e={...Aw,...t};let n=[];function i(){n=n.filter(s=>s().status==="pending")}function o(s,a,l){const c=Pw(e,s,a,(u,d)=>{i(),l&&l(u,d)});return n.push(c),c}function r(s){return n.find(a=>s(a))||null}return{query:o,find:r,setIndex:s=>{e.index=s},getIndex:()=>e.index,cleanup:i}}function cd(){}const na=Object.create(null);function Rw(t){if(!na[t]){const e=lc(t);if(!e)return;na[t]={config:e,redundancy:Mf(e)}}return na[t]}function Mw(t,e,n){let i,o;if(typeof t=="string"){const r=rl(t);if(!r)return n(void 0,424),cd;o=r.send;const s=Rw(t);s&&(i=s.redundancy)}else{const r=sc(t);if(r){i=Mf(r);const s=rl(t.resources?t.resources[0]:"");s&&(o=s.send)}}return!i||!o?(n(void 0,424),cd):i.query(e,o,n)().abort}function ud(){}function Iw(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,xw(t)}))}function Dw(t){const e=[],n=[];return t.forEach(i=>{(i.match(Cf)?e:n).push(i)}),{valid:e,invalid:n}}function yo(t,e,n){function i(){const o=t.pendingIcons;e.forEach(r=>{o&&o.delete(r),t.icons[r]||t.missing.add(r)})}if(n&&typeof n=="object")try{if(!$f(t,n).length){i();return}}catch(o){console.error(o)}i(),Iw(t)}function dd(t,e){t instanceof Promise?t.then(n=>{e(n)}).catch(()=>{e(null)}):e(t)}function Fw(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:i}=t,o=t.iconsToLoad;if(delete t.iconsToLoad,!o||!o.length)return;const r=t.loadIcon;if(t.loadIcons&&(o.length>1||!r)){dd(t.loadIcons(o,i,n),c=>{yo(t,o,c)});return}if(r){o.forEach(c=>{dd(r(c,i,n),u=>{yo(t,[c],u?{prefix:i,icons:{[c]:u}}:null)})});return}const{valid:s,invalid:a}=Dw(o);if(a.length&&yo(t,a,null),!s.length)return;const l=i.match(Cf)?rl(n):null;if(!l){yo(t,s,null);return}l.prepare(n,i,s).forEach(c=>{Mw(n,c,u=>{yo(t,c.icons,u)})})}))}const Lw=(t,e)=>{const n=$w(kw(t,!0,kf()));if(!n.pending.length){let a=!0;return e&&setTimeout(()=>{a&&e(n.loaded,n.missing,n.pending,ud)}),()=>{a=!1}}const i=Object.create(null),o=[];let r,s;return n.pending.forEach(a=>{const{provider:l,prefix:c}=a;if(c===s&&l===r)return;r=l,s=c,o.push(eo(l,c));const u=i[l]||(i[l]=Object.create(null));u[c]||(u[c]=[])}),n.pending.forEach(a=>{const{provider:l,prefix:c,name:u}=a,d=eo(l,c),h=d.pendingIcons||(d.pendingIcons=new Set);h.has(u)||(h.add(u),i[l][c].push(u))}),o.forEach(a=>{const l=i[a.provider][a.prefix];l.length&&Fw(a,l)}),e?Ow(e,n,o):ud};function jw(t,e){const n={...t};for(const i in e){const o=e[i],r=typeof o;i in Af?(o===null||o&&(r==="string"||r==="number"))&&(n[i]=o):r===typeof n[i]&&(n[i]=i==="rotate"?o%4:o)}return n}const Nw=/[\s,]+/;function Uw(t,e){e.split(Nw).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function zw(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function i(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(t);return isNaN(o)?0:i(o)}else if(n!==t){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let r=parseFloat(t.slice(0,t.length-n.length));return isNaN(r)?0:(r=r/o,r%1===0?i(r):0)}}return e}function Vw(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in e)n+=" "+i+'="'+e[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function Bw(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Hw(t){return"data:image/svg+xml,"+Bw(t)}function qw(t){return'url("'+Hw(t)+'")'}const hd={...Pf,inline:!1},Ww={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Kw={display:"inline-block"},sl={backgroundColor:"currentColor"},If={backgroundColor:"transparent"},pd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},fd={webkitMask:sl,mask:sl,background:If};for(const t in fd){const e=fd[t];for(const n in pd)e[t+n]=pd[n]}const Vr={};["horizontal","vertical"].forEach(t=>{const e=t.slice(0,1)+"Flip";Vr[t+"-flip"]=e,Vr[t.slice(0,1)+"-flip"]=e,Vr[t+"Flip"]=e});function md(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const vd=(t,e)=>{const n=jw(hd,e),i={...Ww},o=e.mode||"svg",r={},s=e.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let p in e){const _=e[p];if(_!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[p]=_===!0||_==="true"||_===1;break;case"flip":typeof _=="string"&&Uw(n,_);break;case"color":r.color=_;break;case"rotate":typeof _=="string"?n[p]=zw(_):typeof _=="number"&&(n[p]=_);break;case"ariaHidden":case"aria-hidden":_!==!0&&_!=="true"&&delete i["aria-hidden"];break;default:{const S=Vr[p];S?(_===!0||_==="true"||_===1)&&(n[S]=!0):hd[p]===void 0&&(i[p]=_)}}}const l=hw(t,n),c=l.attributes;if(n.inline&&(r.verticalAlign="-0.125em"),o==="svg")return i.style={...r,...a},Object.assign(i,c),i.innerHTML=mw(l.body),$o("svg",i);const{body:u,width:d,height:h}=t,v=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),f=Vw(u,{...c,width:d+"",height:h+""});return i.style={...r,"--svg":qw(f),width:md(c.width),height:md(c.height),...Kw,...v?sl:If,...a},$o("span",i)};kf(!0);vw("",Cw);if(typeof document<"u"&&typeof window<"u"){const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!rw(i))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let n in e){const i="IconifyProviders["+n+"] is invalid.";try{const o=e[n];if(typeof o!="object"||!o||o.resources===void 0)continue;gw(n,o)||console.error(i)}catch{console.error(i)}}}}const Yw={...Cs,body:""},Gw=Se((t,{emit:e})=>{const n=H(null);function i(){n.value&&(n.value.abort?.(),n.value=null)}const o=H(!!t.ssr),r=H(""),s=Yo(null);function a(){const c=t.icon;if(typeof c=="object"&&c!==null&&typeof c.body=="string")return r.value="",{data:c};let u;if(typeof c!="string"||(u=Ss(c,!1,!0))===null)return null;let d=iw(u);if(!d){const f=n.value;return(!f||f.name!==c)&&(d===null?n.value={name:c}:n.value={name:c,abort:Lw([u],l)}),null}i(),r.value!==c&&(r.value=c,Ge(()=>{e("load",c)}));const h=t.customise;if(h){d=Object.assign({},d);const f=h(d.body,u.name,u.prefix,u.provider);typeof f=="string"&&(d.body=f)}const v=["iconify"];return u.prefix!==""&&v.push("iconify--"+u.prefix),u.provider!==""&&v.push("iconify--"+u.provider),{data:d,classes:v}}function l(){const c=a();c?c.data!==s.value?.data&&(s.value=c):s.value=null}return o.value?l():et(()=>{o.value=!0,l()}),Oe(()=>t.icon,l),St(i),()=>{const c=s.value;if(!c)return vd(Yw,t);let u=t;return c.classes&&(u={...t,class:c.classes.join(" ")}),vd({...Cs,...c.data},u)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function Qw(t,e,n="_id"){const i=Ou(t,e,n).filter(Boolean),o=Ou(e,t,n).filter(Boolean),r=A_(t,e,(s,a)=>s[n]===a[n]&&!P_(s,a));return{addedItems:i,deletedItems:o,modifiedItems:r}}const GU=Object.freeze(Object.defineProperty({__proto__:null,findChangedArrayItems:Qw},Symbol.toStringTag,{value:"Module"}));function cc(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Xw(t,e){if(!e?.trim())return[{text:t,isMatch:!1}];const n=new RegExp(`(${cc(e)})`,"gi");return t.split(n).map(i=>({text:i,isMatch:n.test(i)&&i.toLowerCase()===e.toLowerCase()}))}function Jw(t,e,n="hl"){if(!e?.trim())return t;const i=cc(e.trim());return t.replace(new RegExp(`(${i})`,"gi"),`<mark class="${n}">$1</mark>`)}function Zw(t,e){const n=e?.trim().toLowerCase();return n?t.findIndex(i=>i.toLowerCase().includes(n)):-1}const Df=t=>t.replace(/[/\\]/g,"/"),e1=(t,e="/")=>t.replace(/[\\/]+/g,e);function t1(){return"#"+R_(0,16777215).toString(16).padStart(6,"0")}const n1=t=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t),Ff=t=>t.replace(/[-_]([a-z])/g,(e,n)=>n.toUpperCase()).replace(/^[A-Z]/,e=>e.toLowerCase()),al=t=>{if(Array.isArray(t))return t.map(n=>al(n));if(t===null||typeof t!="object")return t;const e={};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const i=Ff(n);e[i]=al(t[n])}return e};function i1(t){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(t.trim())}function o1(t){if(t<=0)throw new Error("长度必须大于0");let e="";for(;e.length<t;){const n=Math.floor(Math.random()*10);e.length===0&&n===0||(e+=n)}return e}function Lf(t){if(t==null)return{valid:!1,reason:"validateHash.empty"};if(typeof t!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof t}};const e=t.startsWith("#")?t.slice(1):t;if(e.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(e))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:e[0]}};const n=e.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const i=n[0],o=i.charCodeAt(0);return i==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:i===`
|
|
3
3
|
`?{valid:!1,reason:"validateHash.invalidCharNewline"}:i==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:i===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:i==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:i==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:i==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(i)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:i}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:i,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:e}}function r1(t){return Lf(t).valid}const QU=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:al,escapeRegExp:cc,findKeywordLineIndex:Zw,generateNumberString:o1,highlightText:Jw,isEmail:n1,isValidHash:r1,randomColor:t1,replaceBackslashWithSlash:Df,replaceSlashWithSpecifiedSeparator:e1,splitTextByKeyword:Xw,toCamelCase:Ff,validateCompName:i1,validateHash:Lf},Symbol.toStringTag,{value:"Module"}));function s1(t,e){if(!t||!e.length)throw new Error("组件路径或入口路径为空");const[n]=e.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const i=Df(n);return`${t.replace(bt.FILE_MANAGER_DIRNAME,"")}${i}`}function a1(t){const e={};return t.forEach(n=>{n?.parent?e[n?.parent?.name]=n?.parent?.version:e[n.name]=n.version}),Object.entries(e).map(([n,i])=>({name:n,version:i}))}const XU=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:s1,handleDepData:a1},Symbol.toStringTag,{value:"Module"}));function l1(t){const e={children:[]},n=[e];return t.forEach(({depth:i,tokens:o})=>{if(o[0]){const r=o[0].text,s=o.map(u=>u.text),a=s.join(""),l={title:r,titles:s,href:`#${a}`,children:[]};for(;n.length>i;)n.pop();const c=n[n.length-1];c&&c.children.push(l),n.push(l)}}),e.children}const JU=Object.freeze(Object.defineProperty({__proto__:null,flatHeadingsToTree:l1},Symbol.toStringTag,{value:"Module"})),c1=t=>`Bearer ${t}`,u1=t=>t.replace("Bearer ",""),wi=Object.freeze(Object.defineProperty({__proto__:null,extractBearerToken:u1,generateBearerToken:c1},Symbol.toStringTag,{value:"Module"}));function d1(t,e,n={}){const{idKey:i="id",childrenKey:o="children"}=n,r=Array.isArray(t)?t:[t],s=[];let a=!1;const l=u=>{const d=u[o];Array.isArray(d)&&(s.push(...d),d.forEach(h=>l(h)))},c=u=>{if(a)return!0;for(const d of u){if(d?.[i]===e)return a=!0,l(d),!0;const h=d?.[o];if(Array.isArray(h)&&h.length>0&&c(h))return!0}return!1};return c(r),s}function jf(t,e){const n=JSON.parse(JSON.stringify(t));return n.children?.length&&(n.children=n.children.map(i=>jf(i,e))),e(n)}function h1(t,e,n={}){const{idKey:i="id",childrenKey:o="children"}=n,r=Array.isArray(t)?t:[t],s=l=>{const{[o]:c,...u}=l;return u},a=(l,c)=>{for(const u of l){if(u[i]===e)return[s(u),...c];const d=u[o];if(Array.isArray(d)&&d.length>0){const h=a(d,[s(u),...c]);if(h)return h}}return null};return a(r,[])??[]}function p1(t,e){const{createNode:n,pathSeparator:i="/",skipInvalid:o=!0}=e,r=new Map,s=i,a=n("directory","",s);a.children=[],r.set(s,a);const l=u=>{let d=u.replace(/\\/g,"/");return d=d.replace(/^\.\//,""),d=d.replace(/^\/+|\/+$/g,""),d.replace(/\//g,i)};for(const u of t){const d=l(u.path);if(!d)continue;const h=d.split(i).filter(Boolean);if(h.length===0)continue;let v=s,f="";for(let w=0;w<h.length-1;w++){const E=h[w];if(f=f?`${f}${i}${E}`:E,!r.has(f)){const b=n("directory",E,f);b.children=[],r.set(f,b),r.get(v)?.children?.push(b)}v=f}const p=h[h.length-1];if(!p){if(!o)throw new Error(`无效路径: ${u.path}`);continue}const _=f?`${f}${i}${p}`:p,S=n("file",p,_);r.get(v)?.children?.push(S)}const c=u=>{u.sort((d,h)=>d.type!==h.type?d.type==="directory"?-1:1:d.name.localeCompare(h.name)),u.forEach(d=>d.children?.length&&c(d.children))};return a.children?.length&&c(a.children),a}const ZU=Object.freeze(Object.defineProperty({__proto__:null,convertFlatToTree:p1,findTreeNodePathToRoot:h1,getTreeAllChildren:d1,mapTree:jf},Symbol.toStringTag,{value:"Module"}));var Nf=(t=>(t.Added="added",t.Deleted="deleted",t.Unchanged="unchanged",t.Changed="modified",t))(Nf||{}),Uf=(t=>(t.Directory="directory",t.File="file",t))(Uf||{});function zf(t){return typeof structuredClone=="function"?structuredClone(t):JSON.parse(JSON.stringify(t))}function rs(t,e){for(const n of t)e.set(n.path,n),n.type==="directory"&&n.children?.length&&rs(n.children,e)}function gd(t){const e=new Map;return rs(t,e),e}function uc(t,e){const n=[];for(const i of t)if(!e.has(i.path)){const o=zf(i);o.status="deleted",i.type==="directory"&&i.children?.length&&(o.children=uc(i.children,e)),n.push(o)}return n}function f1(t,e,n){return n?n(t,e):t.hash&&e.hash?t.hash===e.hash:!0}function Br(t,e,n,i){return t.map(o=>{const r=zf(o),s=e.get(o.path);if(s){if(o.type==="file"){const a=f1(s,o,i?.contentCompare);r.status=a?"unchanged":"modified"}else r.status="unchanged";if(o.type==="directory"&&o.children&&s.children){const a=gd(s.children),l=Br(o.children,a,n,i),c=gd(l),u=uc(s.children,c);r.children=[...l,...u]}else o.type==="directory"&&o.children&&(r.children=Br(o.children,new Map,"added",i))}else r.status=n,o.type==="directory"&&o.children?.length&&(r.children=Br(o.children,new Map,n,i));return r.type==="directory"&&dc(r),r})}function dc(t){if(t.type!=="directory"||!t.children?.length)return;for(const n of t.children)n.type==="directory"&&dc(n);if(t.status==="added"||t.status==="deleted")return;const e=t.children.some(n=>n.status==="added"||n.status==="deleted"||n.status==="modified");t.status=e?"modified":"unchanged"}function Vf(t){const e=[...t].sort((n,i)=>n.type!==i.type?n.type==="directory"?-1:1:n.name.localeCompare(i.name));for(const n of e)n.type==="directory"&&n.children?.length&&(n.children=Vf(n.children));return e}function m1(t,e,n){const i=new Map,o=new Map;rs(e,i),rs(t,o);const r=Br(t,i,"added",n),s=uc(e,o),a=[...r,...s],l=n?.skipSort?a:Vf(a);for(const c of l)c.type==="directory"&&dc(c);return l}const ez=Object.freeze(Object.defineProperty({__proto__:null,NodeStatus:Nf,NodeType:Uf,mergeAndMarkTree:m1},Symbol.toStringTag,{value:"Module"})),v1=(t,e)=>{const n=Array.isArray(e)?e:[e];let i;return M_(t)?i="string":I_(t)?i="number":D_(t)?i="boolean":F_(t)?i="array":L_(t)?i="function":j_(t)?i="symbol":N_(t)?i="null":U_(t)?i="undefined":z_(t)?i="object":i="undefined",n.includes(i)},tz=Object.freeze(Object.defineProperty({__proto__:null,isType:v1},Symbol.toStringTag,{value:"Module"})),_d=/^[\^~>=<]+/,Bf=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function g1(t){return Bf.test(t)}function Dn(t){if(!t||typeof t!="string")throw new Error(`Invalid version string: ${t}`);const e=t.match(_d),n=e?e[0]:"",i=t.replace(_d,"").match(Bf);if(!i)throw new Error(`Invalid semver format: ${t}`);const[,o="0",r="0",s="0",a]=i,l=parseInt(o,10),c=parseInt(r,10),u=parseInt(s,10);return{raw:t,prefix:n,major:l,minor:c,patch:u,prerelease:a||null,majorVersion:o,version:`${l}.${c}.${u}`}}function _1(t,e){const n=Dn(t),i=Dn(e);return n.major===i.major&&n.minor===i.minor&&n.patch===i.patch}function y1(t){return Dn(t).majorVersion}function b1(t){const e={};for(const[n,i]of Object.entries(t))try{e[n]=Dn(i)}catch(o){console.warn(`Failed to parse version for ${n}: ${i}`,o)}return e}function Vi(t,e){const n=Dn(t),i=Dn(e),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:r,VERSION_COMPARE_GREATER:s}=bt;return n.major!==i.major?n.major>i.major?s:r:n.minor!==i.minor?n.minor>i.minor?s:r:n.patch!==i.patch?n.patch>i.patch?s:r:o}function w1(t,e){const n=Dn(t),i=Dn(e);switch(i.prefix){case"^":return n.major===i.major;case"~":return n.major===i.major&&n.minor===i.minor;case">=":return Vi(t,e.replace(">=",""))>=0;case">":return Vi(t,e.replace(">",""))>0;case"<=":return Vi(t,e.replace("<=",""))<=0;case"<":return Vi(t,e.replace("<",""))<0;case"=":case"":return Vi(t,e.replace("=",""))===0;default:return!1}}function E1(t){if(!t||typeof t!="string")throw new Error("版本号必须是非空字符串");const e=Dn(t),n=(a,l)=>{if(a<0||a>999)throw new Error(`版本号${l}位必须在 0-999 之间,当前值:${a}(原始输入:${t})`);return a},i=n(e.major,"主版本"),o=n(e.minor,"次版本"),r=n(e.patch,"补丁版本"),s=i*1e6+o*1e3+r;if(!Number.isSafeInteger(s))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${s}(原始输入:${t})`);return s}const nz=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:Vi,getMajorVersion:y1,isVersionEqual:_1,parseDependencies:b1,parseVersion:Dn,satisfiesRange:w1,validateVersion:g1,versionToNumber:E1},Symbol.toStringTag,{value:"Module"})),S1={};function C1(t,e){return y(),ne(Up,{name:"transition-fade",mode:"out-in",appear:""},{default:we(()=>[Ve(t.$slots,"default")]),_:3})}const x1=rc(S1,[["render",C1]]),T1={key:0,class:"fixed top-0 left-0 w-screen bg-[rgb(94,9,11)] text-white font-sans z-[99999] break-all overflow-auto max-h-[50vh] p-[10px] box-border"},O1={class:"clear-both"},$1={class:"whitespace-pre-wrap m-0"},k1={key:0},A1={class:"whitespace-pre-wrap m-0"},P1=Se({__name:"ErrorOverlay",props:{errors:{}},setup(t){const e=H(!1),n=t,i=()=>{e.value=!1};return Oe(()=>n.errors,o=>{e.value=o.length>0},{immediate:!0,deep:!0}),(o,r)=>e.value?(y(),T("div",T1,[g("button",{class:"sticky top-[10px] right-[10px] float-right bg-white/20 border-none text-white text-lg cursor-pointer w-[30px] h-[30px] rounded-full flex items-center justify-center p-0 ml-[10px] transition-colors duration-200 hover:bg-white/30",onClick:i}," × "),g("div",O1,[(y(!0),T(Me,null,He(t.errors,(s,a)=>(y(),T("div",{key:a,class:"mb-5"},[g("pre",$1,L(s?.message||s),1),s?.stack?(y(),T("div",k1,[g("pre",A1,L(s.stack),1)])):ue("",!0)]))),128))])])):ue("",!0)}}),R1=Se({__name:"index",props:zp({config:{}},{modelValue:{type:Object,default:()=>({})},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const{t:e}=Ko(),n=t,i=te(()=>{const u={};return n.config?.column?.forEach(d=>{u[d.prop]=d.value}),u}),o=Zl(t,"modelValue"),r=ec();async function s(){r?.onRefresh?.()}async function a(){n.config?.column?.forEach(u=>{u.value=""}),await Ge(),r?.onReset?.()}function l(u){return u??!0}function c(){r?.onSearch?.()}return Nt(()=>{o.value=i.value}),(u,d)=>{const h=ze("Icon");return y(),ne(m(el),{inline:!0,onSubmit:d[3]||(d[3]=Ye(()=>{},["prevent"])),onKeyup:d[4]||(d[4]=ho(v=>c(),["enter"]))},{default:we(()=>[(y(!0),T(Me,null,He(t.config?.column||[],(v,f)=>(y(),ne(m($u),{key:f,label:m(v.label)??""},{default:we(()=>[l(v.useVModel)?(y(),ne(Ot(v.component),We({key:1,modelValue:v.value,"onUpdate:modelValue":p=>v.value=p},{ref_for:!0},v?.attributes||{},bn(v?.events||{})),null,16,["modelValue","onUpdate:modelValue"])):(y(),ne(Ot(v.component),We({key:0,"model-value":v.value},{ref_for:!0},v?.attributes||{},bn(v?.events||{})),null,16,["model-value"]))]),_:2},1032,["label"]))),128)),t.config?.column?.length?(y(),ne(m($u),{key:0},{default:we(()=>[j(m(Gi),{type:"success",onClick:d[0]||(d[0]=v=>c())},{default:we(()=>[Ke(L(m(e)("common.search")),1)]),_:1}),j(m(Gi),{type:"primary",onClick:d[1]||(d[1]=v=>a())},{default:we(()=>[Ke(L(m(e)("common.reset")),1)]),_:1}),j(m(Gi),{onClick:d[2]||(d[2]=v=>s())},{default:we(()=>[j(h,{icon:"material-symbols:refresh-rounded"})]),_:1})]),_:1})):ue("",!0)]),_:1})}}}),M1={key:0},I1={ref:"tableContainer",class:"flex-1 overflow-hidden"},D1={key:1,class:"mt-2"},F1=Se({__name:"index",props:{tableConfig:{}},setup(t,{expose:e}){const n=ec(),i=t,o=Mn("tableContainer"),r=Mn("table"),{height:s}=ic(o),a=h_(),l=te(()=>{if(i.tableConfig?.pagination?.getPageSize||i.tableConfig?.pagination?.setPageSize)return{get:i.tableConfig.pagination.getPageSize,set:i.tableConfig.pagination.setPageSize};const M=L1().paginationStorage;return M?{get:()=>{const A=M.get();return A?Number(A):10},set:A=>M.set(String(A))}:null}),c=H(l.value?.get?.()??10),u=H(!1),d=H(1),h=H(D()),v=H("UNKNOWN"),f=te(()=>Object.keys(a)),p=te(()=>i.tableConfig.size??"default"),_=te(()=>i.tableConfig?.fixedHeight??!0),S=te(()=>_.value?Math.max(s.value,100):"auto"),w=te(()=>i.tableConfig?.autoLoading??!0),E=te(()=>({"--pagination-location":i.tableConfig?.pagination?.location||"center"})),b=te(()=>i.tableConfig?.isPagination??!0),C=te(()=>i.tableConfig?.paginationMap?i.tableConfig.paginationMap:{page:"page",pageSize:"pageSize"}),x=te(()=>({[C.value.page]:d.value,[C.value.pageSize]:c.value})),k=te(()=>({background:!0,pageSizes:[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",...i.tableConfig?.pagination?.attributes,total:i.tableConfig?.pagination?.total||0,pageSize:c.value,currentPage:d.value})),O=te(()=>({...x.value,...h.value})),K=te(()=>i.tableConfig?.search?.column.filter(M=>M.autoQuery??!0).map(M=>M.prop));function D(){const M={};return i.tableConfig?.search?.column?.forEach(A=>{M[A.prop]=A.value}),M}async function P(){v.value!=="NOT_CHANGE"&&(w.value&&(u.value=!0),i.tableConfig?.fetchData?.(O.value)?.finally(()=>{v.value="NOT_CHANGE",u.value=!1}))}async function U(){await P()}async function I(){v.value="UNKNOWN",await P()}async function q(){d.value=1,v.value!=="AUTO_QUERY"&&await P()}async function le(M){d.value=1,c.value=M}async function de(M){d.value=M}function Y(){v.value="UNKNOWN",P()}return Oe(()=>JSON.stringify(h.value),(M,A)=>{v.value="UNKNOWN";const Q=JSON.parse(M??"{}"),z=JSON.parse(A??"{}"),ie=Object.keys(Q),ve=Object.keys(z);let re=[];ie.length===ve.length?re=Object.keys(Q).filter(ge=>Q[ge]!==z[ge]):re=q_(ie,ve),K.value?.length&&W_(re,[...K.value]).length&&(v.value="AUTO_QUERY",P())}),Oe(()=>JSON.stringify(x.value),()=>{v.value="UNKNOWN",P()}),Nt(()=>{l.value?.set?.(c.value)}),et(()=>{P()}),e({getTableRef:()=>r.value,forceRefreshData:Y}),(M,A)=>{const Q=Hp;return it((y(),T("div",{class:"w-full h-full flex flex-col overflow-hidden",style:At(E.value)},[t.tableConfig.search?(y(),T("div",M1,[Ve(M.$slots,"search",{},()=>[j(R1,{modelValue:h.value,"onUpdate:modelValue":A[0]||(A[0]=z=>h.value=z),config:t.tableConfig.search,size:p.value,onSearch:U,onRefresh:I,onReset:q},null,8,["modelValue","config","size"])],!0)])):ue("",!0),Ve(M.$slots,"tableBefore",{},void 0,!0),g("div",I1,[Ve(M.$slots,"table",{},()=>[j(m(B_),We({ref:"table",size:p.value,data:t.tableConfig.data,height:S.value},m(n)),p_({default:we(()=>[(y(!0),T(Me,null,He(t.tableConfig.column,(z,ie)=>(y(),T(Me,null,[z.slot?Ve(M.$slots,z.slot,{key:0,col:z,index:ie},void 0,!0):(y(),ne(m(V_),We({key:`default-${ie}`},{ref_for:!0},z),null,16))],64))),256))]),_:2},[He(f.value,z=>({name:z,fn:we(ie=>[Ve(M.$slots,z,wn(Jn(ie)),void 0,!0)])}))]),1040,["size","data","height"])],!0)],512),b.value?(y(),T("div",D1,[Ve(M.$slots,"pagination",{},()=>[j(m(H_),We({size:p.value},k.value,{onSizeChange:le,onCurrentChange:de},bn(t.tableConfig?.pagination?.events||{})),null,16,["size"])],!0)])):ue("",!0)],4)),[[Q,u.value]])}}}),yd=rc(F1,[["__scopeId","data-v-f1bc3c2f"]]);let ll={};const L1=()=>ll,j1={...yd,install(t,e){e&&(ll={...ll,...e}),t.component("BaseTable",yd)}},N1={class:"overflow-hidden size-full"},U1=Se({__name:"Main",setup(t){const e=Qo(),n=new Map,i=te(()=>e.visitedViews.map(s=>o(s)));function o(s){const{path:a}=s,{[bt.ROUTE_STATE_KEY_VERSION]:l}=s.query;return l?`${a}?${bt.ROUTE_STATE_KEY_VERSION}=${l}`:a}function r(s,a){const l=o(a);if(!n.has(l)){const c=Se({name:l,setup(){return()=>$o(s)}});n.set(l,c)}return n.get(l)}return Oe(()=>i.value,(s,a)=>{const l=a.filter(c=>!s.includes(c));l.length&&n.delete(l[0])},{deep:!0}),(s,a)=>{const l=ze("router-view");return y(),T("div",N1,[j(l,null,{default:we(({Component:c,route:u})=>[j(m(x1),null,{default:we(()=>[(y(),ne(f_,{include:i.value},[(y(),ne(Ot(r(c,u))))],1032,["include"]))]),_:2},1024)]),_:1})])}}});var ia,bd;function z1(){if(bd)return ia;bd=1;function t(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function e(o,r){for(var s="",a=0,l=-1,c=0,u,d=0;d<=o.length;++d){if(d<o.length)u=o.charCodeAt(d);else{if(u===47)break;u=47}if(u===47){if(!(l===d-1||c===1))if(l!==d-1&&c===2){if(s.length<2||a!==2||s.charCodeAt(s.length-1)!==46||s.charCodeAt(s.length-2)!==46){if(s.length>2){var h=s.lastIndexOf("/");if(h!==s.length-1){h===-1?(s="",a=0):(s=s.slice(0,h),a=s.length-1-s.lastIndexOf("/")),l=d,c=0;continue}}else if(s.length===2||s.length===1){s="",a=0,l=d,c=0;continue}}r&&(s.length>0?s+="/..":s="..",a=2)}else s.length>0?s+="/"+o.slice(l+1,d):s=o.slice(l+1,d),a=d-l-1;l=d,c=0}else u===46&&c!==-1?++c:c=-1}return s}function n(o,r){var s=r.dir||r.root,a=r.base||(r.name||"")+(r.ext||"");return s?s===r.root?s+a:s+o+a:a}var i={resolve:function(){for(var r="",s=!1,a,l=arguments.length-1;l>=-1&&!s;l--){var c;l>=0?c=arguments[l]:(a===void 0&&(a=process.cwd()),c=a),t(c),c.length!==0&&(r=c+"/"+r,s=c.charCodeAt(0)===47)}return r=e(r,!s),s?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(r){if(t(r),r.length===0)return".";var s=r.charCodeAt(0)===47,a=r.charCodeAt(r.length-1)===47;return r=e(r,!s),r.length===0&&!s&&(r="."),r.length>0&&a&&(r+="/"),s?"/"+r:r},isAbsolute:function(r){return t(r),r.length>0&&r.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var r,s=0;s<arguments.length;++s){var a=arguments[s];t(a),a.length>0&&(r===void 0?r=a:r+="/"+a)}return r===void 0?".":i.normalize(r)},relative:function(r,s){if(t(r),t(s),r===s||(r=i.resolve(r),s=i.resolve(s),r===s))return"";for(var a=1;a<r.length&&r.charCodeAt(a)===47;++a);for(var l=r.length,c=l-a,u=1;u<s.length&&s.charCodeAt(u)===47;++u);for(var d=s.length,h=d-u,v=c<h?c:h,f=-1,p=0;p<=v;++p){if(p===v){if(h>v){if(s.charCodeAt(u+p)===47)return s.slice(u+p+1);if(p===0)return s.slice(u+p)}else c>v&&(r.charCodeAt(a+p)===47?f=p:p===0&&(f=0));break}var _=r.charCodeAt(a+p),S=s.charCodeAt(u+p);if(_!==S)break;_===47&&(f=p)}var w="";for(p=a+f+1;p<=l;++p)(p===l||r.charCodeAt(p)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+s.slice(u+f):(u+=f,s.charCodeAt(u)===47&&++u,s.slice(u))},_makeLong:function(r){return r},dirname:function(r){if(t(r),r.length===0)return".";for(var s=r.charCodeAt(0),a=s===47,l=-1,c=!0,u=r.length-1;u>=1;--u)if(s=r.charCodeAt(u),s===47){if(!c){l=u;break}}else c=!1;return l===-1?a?"/":".":a&&l===1?"//":r.slice(0,l)},basename:function(r,s){if(s!==void 0&&typeof s!="string")throw new TypeError('"ext" argument must be a string');t(r);var a=0,l=-1,c=!0,u;if(s!==void 0&&s.length>0&&s.length<=r.length){if(s.length===r.length&&s===r)return"";var d=s.length-1,h=-1;for(u=r.length-1;u>=0;--u){var v=r.charCodeAt(u);if(v===47){if(!c){a=u+1;break}}else h===-1&&(c=!1,h=u+1),d>=0&&(v===s.charCodeAt(d)?--d===-1&&(l=u):(d=-1,l=h))}return a===l?l=h:l===-1&&(l=r.length),r.slice(a,l)}else{for(u=r.length-1;u>=0;--u)if(r.charCodeAt(u)===47){if(!c){a=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":r.slice(a,l)}},extname:function(r){t(r);for(var s=-1,a=0,l=-1,c=!0,u=0,d=r.length-1;d>=0;--d){var h=r.charCodeAt(d);if(h===47){if(!c){a=d+1;break}continue}l===-1&&(c=!1,l=d+1),h===46?s===-1?s=d:u!==1&&(u=1):s!==-1&&(u=-1)}return s===-1||l===-1||u===0||u===1&&s===l-1&&s===a+1?"":r.slice(s,l)},format:function(r){if(r===null||typeof r!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof r);return n("/",r)},parse:function(r){t(r);var s={root:"",dir:"",base:"",ext:"",name:""};if(r.length===0)return s;var a=r.charCodeAt(0),l=a===47,c;l?(s.root="/",c=1):c=0;for(var u=-1,d=0,h=-1,v=!0,f=r.length-1,p=0;f>=c;--f){if(a=r.charCodeAt(f),a===47){if(!v){d=f+1;break}continue}h===-1&&(v=!1,h=f+1),a===46?u===-1?u=f:p!==1&&(p=1):u!==-1&&(p=-1)}return u===-1||h===-1||p===0||p===1&&u===h-1&&u===d+1?h!==-1&&(d===0&&l?s.base=s.name=r.slice(1,h):s.base=s.name=r.slice(d,h)):(d===0&&l?(s.name=r.slice(1,u),s.base=r.slice(1,h)):(s.name=r.slice(d,u),s.base=r.slice(d,h)),s.ext=r.slice(u,h)),d>0?s.dir=r.slice(0,d-1):l&&(s.dir="/"),s},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,ia=i,ia}var V1=z1();const B1=Fi(V1);function hc(){const{t}=Ko();return{getTitle:n=>n?n.includes(".")&&!n.startsWith("http")?t(n):n:""}}const H1={class:"truncate"},q1=Se({__name:"MenuItem",props:{route:{},fullPath:{}},setup(t){const{getTitle:e}=hc(),n=_s(),i=t;function o(){n.push({path:i.fullPath})}return(r,s)=>{const a=Ao,l=K_;return y(),T("span",{onClick:o},[j(l,{index:t.fullPath},{title:we(()=>[g("span",H1,L(m(e)(t.route.meta?.title)),1)]),default:we(()=>[j(a,null,{default:we(()=>[(y(),ne(Ot(t.route.meta?.icon)))]),_:1})]),_:1},8,["index"])])}}});function Hf(t,e){return function(){return t.apply(e,arguments)}}const{toString:W1}=Object.prototype,{getPrototypeOf:xs}=Object,{iterator:Ts,toStringTag:qf}=Symbol,Os=(t=>e=>{const n=W1.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Sn=t=>(t=t.toLowerCase(),e=>Os(e)===t),$s=t=>e=>typeof e===t,{isArray:po}=Array,to=$s("undefined");function Xo(t){return t!==null&&!to(t)&&t.constructor!==null&&!to(t.constructor)&&Ht(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Wf=Sn("ArrayBuffer");function K1(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Wf(t.buffer),e}const Y1=$s("string"),Ht=$s("function"),Kf=$s("number"),Jo=t=>t!==null&&typeof t=="object",G1=t=>t===!0||t===!1,Hr=t=>{if(Os(t)!=="object")return!1;const e=xs(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(qf in t)&&!(Ts in t)},Q1=t=>{if(!Jo(t)||Xo(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},X1=Sn("Date"),J1=Sn("File"),Z1=t=>!!(t&&typeof t.uri<"u"),eE=t=>t&&typeof t.getParts<"u",tE=Sn("Blob"),nE=Sn("FileList"),iE=t=>Jo(t)&&Ht(t.pipe);function oE(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const wd=oE(),Ed=typeof wd.FormData<"u"?wd.FormData:void 0,rE=t=>{if(!t)return!1;if(Ed&&t instanceof Ed)return!0;const e=xs(t);if(!e||e===Object.prototype||!Ht(t.append))return!1;const n=Os(t);return n==="formdata"||n==="object"&&Ht(t.toString)&&t.toString()==="[object FormData]"},sE=Sn("URLSearchParams"),[aE,lE,cE,uE]=["ReadableStream","Request","Response","Headers"].map(Sn),dE=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,o;if(typeof t!="object"&&(t=[t]),po(t))for(i=0,o=t.length;i<o;i++)e.call(null,t[i],i,t);else{if(Xo(t))return;const r=n?Object.getOwnPropertyNames(t):Object.keys(t),s=r.length;let a;for(i=0;i<s;i++)a=r[i],e.call(null,t[a],a,t)}}function Yf(t,e){if(Xo(t))return null;e=e.toLowerCase();const n=Object.keys(t);let i=n.length,o;for(;i-- >0;)if(o=n[i],e===o.toLowerCase())return o;return null}const Oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Gf=t=>!to(t)&&t!==Oi;function cl(){const{caseless:t,skipUndefined:e}=Gf(this)&&this||{},n={},i=(o,r)=>{if(r==="__proto__"||r==="constructor"||r==="prototype")return;const s=t&&Yf(n,r)||r;Hr(n[s])&&Hr(o)?n[s]=cl(n[s],o):Hr(o)?n[s]=cl({},o):po(o)?n[s]=o.slice():(!e||!to(o))&&(n[s]=o)};for(let o=0,r=arguments.length;o<r;o++)arguments[o]&&Zo(arguments[o],i);return n}const hE=(t,e,n,{allOwnKeys:i}={})=>(Zo(e,(o,r)=>{n&&Ht(o)?Object.defineProperty(t,r,{value:Hf(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,r,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),t),pE=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),fE=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},mE=(t,e,n,i)=>{let o,r,s;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),r=o.length;r-- >0;)s=o[r],(!i||i(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&xs(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},vE=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return i!==-1&&i===n},gE=t=>{if(!t)return null;if(po(t))return t;let e=t.length;if(!Kf(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},_E=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&xs(Uint8Array)),yE=(t,e)=>{const i=(t&&t[Ts]).call(t);let o;for(;(o=i.next())&&!o.done;){const r=o.value;e.call(t,r[0],r[1])}},bE=(t,e)=>{let n;const i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},wE=Sn("HTMLFormElement"),EE=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),Sd=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),SE=Sn("RegExp"),Qf=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};Zo(n,(o,r)=>{let s;(s=e(o,r,t))!==!1&&(i[r]=s||o)}),Object.defineProperties(t,i)},CE=t=>{Qf(t,(e,n)=>{if(Ht(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=t[n];if(Ht(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xE=(t,e)=>{const n={},i=o=>{o.forEach(r=>{n[r]=!0})};return po(t)?i(t):i(String(t).split(e)),n},TE=()=>{},OE=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function $E(t){return!!(t&&Ht(t.append)&&t[qf]==="FormData"&&t[Ts])}const kE=t=>{const e=new Array(10),n=(i,o)=>{if(Jo(i)){if(e.indexOf(i)>=0)return;if(Xo(i))return i;if(!("toJSON"in i)){e[o]=i;const r=po(i)?[]:{};return Zo(i,(s,a)=>{const l=n(s,o+1);!to(l)&&(r[a]=l)}),e[o]=void 0,r}}return i};return n(t,0)},AE=Sn("AsyncFunction"),PE=t=>t&&(Jo(t)||Ht(t))&&Ht(t.then)&&Ht(t.catch),Xf=((t,e)=>t?setImmediate:e?((n,i)=>(Oi.addEventListener("message",({source:o,data:r})=>{o===Oi&&r===n&&i.length&&i.shift()()},!1),o=>{i.push(o),Oi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ht(Oi.postMessage)),RE=typeof queueMicrotask<"u"?queueMicrotask.bind(Oi):typeof process<"u"&&process.nextTick||Xf,ME=t=>t!=null&&Ht(t[Ts]),W={isArray:po,isArrayBuffer:Wf,isBuffer:Xo,isFormData:rE,isArrayBufferView:K1,isString:Y1,isNumber:Kf,isBoolean:G1,isObject:Jo,isPlainObject:Hr,isEmptyObject:Q1,isReadableStream:aE,isRequest:lE,isResponse:cE,isHeaders:uE,isUndefined:to,isDate:X1,isFile:J1,isReactNativeBlob:Z1,isReactNative:eE,isBlob:tE,isRegExp:SE,isFunction:Ht,isStream:iE,isURLSearchParams:sE,isTypedArray:_E,isFileList:nE,forEach:Zo,merge:cl,extend:hE,trim:dE,stripBOM:pE,inherits:fE,toFlatObject:mE,kindOf:Os,kindOfTest:Sn,endsWith:vE,toArray:gE,forEachEntry:yE,matchAll:bE,isHTMLForm:wE,hasOwnProperty:Sd,hasOwnProp:Sd,reduceDescriptors:Qf,freezeMethods:CE,toObjectSet:xE,toCamelCase:EE,noop:TE,toFiniteNumber:OE,findKey:Yf,global:Oi,isContextDefined:Gf,isSpecCompliantForm:$E,toJSONObject:kE,isAsyncFn:AE,isThenable:PE,setImmediate:Xf,asap:RE,isIterable:ME};let Fe=class Jf extends Error{static from(e,n,i,o,r,s){const a=new Jf(e.message,n||e.code,i,o,r);return a.cause=e,a.name=e.name,e.status!=null&&a.status==null&&(a.status=e.status),s&&Object.assign(a,s),a}constructor(e,n,i,o,r){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),i&&(this.config=i),o&&(this.request=o),r&&(this.response=r,this.status=r.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}};Fe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Fe.ERR_BAD_OPTION="ERR_BAD_OPTION";Fe.ECONNABORTED="ECONNABORTED";Fe.ETIMEDOUT="ETIMEDOUT";Fe.ERR_NETWORK="ERR_NETWORK";Fe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Fe.ERR_DEPRECATED="ERR_DEPRECATED";Fe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Fe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Fe.ERR_CANCELED="ERR_CANCELED";Fe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Fe.ERR_INVALID_URL="ERR_INVALID_URL";Fe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const IE=null;function ul(t){return W.isPlainObject(t)||W.isArray(t)}function Zf(t){return W.endsWith(t,"[]")?t.slice(0,-2):t}function oa(t,e,n){return t?t.concat(e).map(function(o,r){return o=Zf(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function DE(t){return W.isArray(t)&&!t.some(ul)}const FE=W.toFlatObject(W,{},null,function(e){return/^is[A-Z]/.test(e)});function ks(t,e,n){if(!W.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=W.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,S){return!W.isUndefined(S[_])});const i=n.metaTokens,o=n.visitor||d,r=n.dots,s=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,c=a&&W.isSpecCompliantForm(e);if(!W.isFunction(o))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(W.isDate(p))return p.toISOString();if(W.isBoolean(p))return p.toString();if(!c&&W.isBlob(p))throw new Fe("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(p)||W.isTypedArray(p)?c&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function d(p,_,S){let w=p;if(W.isReactNative(e)&&W.isReactNativeBlob(p))return e.append(oa(S,_,r),u(p)),!1;if(p&&!S&&typeof p=="object"){if(W.endsWith(_,"{}"))_=i?_:_.slice(0,-2),p=JSON.stringify(p);else if(W.isArray(p)&&DE(p)||(W.isFileList(p)||W.endsWith(_,"[]"))&&(w=W.toArray(p)))return _=Zf(_),w.forEach(function(b,C){!(W.isUndefined(b)||b===null)&&e.append(s===!0?oa([_],C,r):s===null?_:_+"[]",u(b))}),!1}return ul(p)?!0:(e.append(oa(S,_,r),u(p)),!1)}const h=[],v=Object.assign(FE,{defaultVisitor:d,convertValue:u,isVisitable:ul});function f(p,_,S=0){if(!W.isUndefined(p)){if(S>l)throw new Fe("Object is too deeply nested ("+S+" levels). Max depth: "+l,Fe.ERR_FORM_DATA_DEPTH_EXCEEDED);if(h.indexOf(p)!==-1)throw Error("Circular reference detected in "+_.join("."));h.push(p),W.forEach(p,function(E,b){(!(W.isUndefined(E)||E===null)&&o.call(e,E,W.isString(b)?b.trim():b,_,v))===!0&&f(E,_?_.concat(b):[b],S+1)}),h.pop()}}if(!W.isObject(t))throw new TypeError("data must be an object");return f(t),e}function Cd(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(t).replace(/[!'()~]|%20/g,function(i){return e[i]})}function pc(t,e){this._pairs=[],t&&ks(t,this,e)}const em=pc.prototype;em.append=function(e,n){this._pairs.push([e,n])};em.toString=function(e){const n=e?function(i){return e.call(this,i,Cd)}:Cd;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function LE(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function tm(t,e,n){if(!e)return t;const i=n&&n.encode||LE,o=W.isFunction(n)?{serialize:n}:n,r=o&&o.serialize;let s;if(r?s=r(e,o):s=W.isURLSearchParams(e)?e.toString():new pc(e,o).toString(i),s){const a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class xd{constructor(){this.handlers=[]}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){W.forEach(this.handlers,function(i){i!==null&&e(i)})}}const fc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},jE=typeof URLSearchParams<"u"?URLSearchParams:pc,NE=typeof FormData<"u"?FormData:null,UE=typeof Blob<"u"?Blob:null,zE={isBrowser:!0,classes:{URLSearchParams:jE,FormData:NE,Blob:UE},protocols:["http","https","file","blob","url","data"]},mc=typeof window<"u"&&typeof document<"u",dl=typeof navigator=="object"&&navigator||void 0,VE=mc&&(!dl||["ReactNative","NativeScript","NS"].indexOf(dl.product)<0),BE=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",HE=mc&&window.location.href||"http://localhost",qE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:mc,hasStandardBrowserEnv:VE,hasStandardBrowserWebWorkerEnv:BE,navigator:dl,origin:HE},Symbol.toStringTag,{value:"Module"})),kt={...qE,...zE};function WE(t,e){return ks(t,new kt.classes.URLSearchParams,{visitor:function(n,i,o,r){return kt.isNode&&W.isBuffer(n)?(this.append(i,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...e})}function KE(t){return W.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function YE(t){const e={},n=Object.keys(t);let i;const o=n.length;let r;for(i=0;i<o;i++)r=n[i],e[r]=t[r];return e}function nm(t){function e(n,i,o,r){let s=n[r++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=r>=n.length;return s=!s&&W.isArray(o)?o.length:s,l?(W.hasOwnProp(o,s)?o[s]=W.isArray(o[s])?o[s].concat(i):[o[s],i]:o[s]=i,!a):((!o[s]||!W.isObject(o[s]))&&(o[s]=[]),e(n,i,o[s],r)&&W.isArray(o[s])&&(o[s]=YE(o[s])),!a)}if(W.isFormData(t)&&W.isFunction(t.entries)){const n={};return W.forEachEntry(t,(i,o)=>{e(KE(i),o,n,0)}),n}return null}const ji=(t,e)=>t!=null&&W.hasOwnProp(t,e)?t[e]:void 0;function GE(t,e,n){if(W.isString(t))try{return(e||JSON.parse)(t),W.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(t)}const er={transitional:fc,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,r=W.isObject(e);if(r&&W.isHTMLForm(e)&&(e=new FormData(e)),W.isFormData(e))return o?JSON.stringify(nm(e)):e;if(W.isArrayBuffer(e)||W.isBuffer(e)||W.isStream(e)||W.isFile(e)||W.isBlob(e)||W.isReadableStream(e))return e;if(W.isArrayBufferView(e))return e.buffer;if(W.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){const l=ji(this,"formSerializer");if(i.indexOf("application/x-www-form-urlencoded")>-1)return WE(e,l).toString();if((a=W.isFileList(e))||i.indexOf("multipart/form-data")>-1){const c=ji(this,"env"),u=c&&c.FormData;return ks(a?{"files[]":e}:e,u&&new u,l)}}return r||o?(n.setContentType("application/json",!1),GE(e)):e}],transformResponse:[function(e){const n=ji(this,"transitional")||er.transitional,i=n&&n.forcedJSONParsing,o=ji(this,"responseType"),r=o==="json";if(W.isResponse(e)||W.isReadableStream(e))return e;if(e&&W.isString(e)&&(i&&!o||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e,ji(this,"parseReviver"))}catch(l){if(a)throw l.name==="SyntaxError"?Fe.from(l,Fe.ERR_BAD_RESPONSE,this,null,ji(this,"response")):l}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:kt.classes.FormData,Blob:kt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],t=>{er.headers[t]={}});const QE=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),XE=t=>{const e={};let n,i,o;return t&&t.split(`
|
|
4
4
|
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),i=s.substring(o+1).trim(),!(!n||e[n]&&QE[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)}),e},Td=Symbol("internals"),JE=/[^\x09\x20-\x7E\x80-\xFF]/g;function ZE(t){let e=0,n=t.length;for(;e<n;){const i=t.charCodeAt(e);if(i!==9&&i!==32)break;e+=1}for(;n>e;){const i=t.charCodeAt(n-1);if(i!==9&&i!==32)break;n-=1}return e===0&&n===t.length?t:t.slice(e,n)}function bo(t){return t&&String(t).trim().toLowerCase()}function eS(t){return ZE(t.replace(JE,""))}function qr(t){return t===!1||t==null?t:W.isArray(t)?t.map(qr):eS(String(t))}function tS(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}const nS=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ra(t,e,n,i,o){if(W.isFunction(i))return i.call(this,e,n);if(o&&(e=n),!!W.isString(e)){if(W.isString(i))return e.indexOf(i)!==-1;if(W.isRegExp(i))return i.test(e)}}function iS(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function oS(t,e){const n=W.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(o,r,s){return this[i].call(this,e,o,r,s)},configurable:!0})})}let qt=class{constructor(e){e&&this.set(e)}set(e,n,i){const o=this;function r(a,l,c){const u=bo(l);if(!u)throw new Error("header name must be a non-empty string");const d=W.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||l]=qr(a))}const s=(a,l)=>W.forEach(a,(c,u)=>r(c,u,l));if(W.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(W.isString(e)&&(e=e.trim())&&!nS(e))s(XE(e),n);else if(W.isObject(e)&&W.isIterable(e)){let a={},l,c;for(const u of e){if(!W.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?W.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}s(a,n)}else e!=null&&r(n,e,i);return this}get(e,n){if(e=bo(e),e){const i=W.findKey(this,e);if(i){const o=this[i];if(!n)return o;if(n===!0)return tS(o);if(W.isFunction(n))return n.call(this,o,i);if(W.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=bo(e),e){const i=W.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||ra(this,this[i],i,n)))}return!1}delete(e,n){const i=this;let o=!1;function r(s){if(s=bo(s),s){const a=W.findKey(i,s);a&&(!n||ra(i,i[a],a,n))&&(delete i[a],o=!0)}}return W.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let i=n.length,o=!1;for(;i--;){const r=n[i];(!e||ra(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,i={};return W.forEach(this,(o,r)=>{const s=W.findKey(i,r);if(s){n[s]=qr(o),delete n[r];return}const a=e?iS(r):String(r).trim();a!==r&&delete n[r],n[a]=qr(o),i[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return W.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=e&&W.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
|
|
5
5
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const i=new this(e);return n.forEach(o=>i.set(o)),i}static accessor(e){const i=(this[Td]=this[Td]={accessors:{}}).accessors,o=this.prototype;function r(s){const a=bo(s);i[a]||(oS(o,s),i[a]=!0)}return W.isArray(e)?e.forEach(r):r(e),this}};qt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);W.reduceDescriptors(qt.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(i){this[n]=i}}});W.freezeMethods(qt);function sa(t,e){const n=this||er,i=e||n,o=qt.from(i.headers);let r=i.data;return W.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function im(t){return!!(t&&t.__CANCEL__)}let tr=class extends Fe{constructor(e,n,i){super(e??"canceled",Fe.ERR_CANCELED,n,i),this.name="CanceledError",this.__CANCEL__=!0}};function om(t,e,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new Fe("Request failed with status code "+n.status,[Fe.ERR_BAD_REQUEST,Fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function rS(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function sS(t,e){t=t||10;const n=new Array(t),i=new Array(t);let o=0,r=0,s;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=i[r];s||(s=c),n[o]=l,i[o]=c;let d=r,h=0;for(;d!==o;)h+=n[d++],d=d%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-s<e)return;const v=u&&c-u;return v?Math.round(h*1e3/v):void 0}}function aS(t,e){let n=0,i=1e3/e,o,r;const s=(c,u=Date.now())=>{n=u,o=null,r&&(clearTimeout(r),r=null),t(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=i?s(c,u):(o=c,r||(r=setTimeout(()=>{r=null,s(o)},i-d)))},()=>o&&s(o)]}const ss=(t,e,n=3)=>{let i=0;const o=sS(50,250);return aS(r=>{const s=r.loaded,a=r.lengthComputable?r.total:void 0,l=a!=null?Math.min(s,a):s,c=Math.max(0,l-i),u=o(c);i=Math.max(i,l);const d={loaded:l,total:a,progress:a?l/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a?(a-l)/u:void 0,event:r,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(d)},n)},Od=(t,e)=>{const n=t!=null;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},$d=t=>(...e)=>W.asap(()=>t(...e)),lS=kt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,kt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(kt.origin),kt.navigator&&/(msie|trident)/i.test(kt.navigator.userAgent)):()=>!0,cS=kt.hasStandardBrowserEnv?{write(t,e,n,i,o,r,s){if(typeof document>"u")return;const a=[`${t}=${encodeURIComponent(e)}`];W.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),W.isString(i)&&a.push(`path=${i}`),W.isString(o)&&a.push(`domain=${o}`),r===!0&&a.push("secure"),W.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function uS(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function dS(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function rm(t,e,n){let i=!uS(e);return t&&(i||n===!1)?dS(t,e):e}const kd=t=>t instanceof qt?{...t}:t;function Mi(t,e){e=e||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function i(c,u,d,h){return W.isPlainObject(c)&&W.isPlainObject(u)?W.merge.call({caseless:h},c,u):W.isPlainObject(u)?W.merge({},u):W.isArray(u)?u.slice():u}function o(c,u,d,h){if(W.isUndefined(u)){if(!W.isUndefined(c))return i(void 0,c,d,h)}else return i(c,u,d,h)}function r(c,u){if(!W.isUndefined(u))return i(void 0,u)}function s(c,u){if(W.isUndefined(u)){if(!W.isUndefined(c))return i(void 0,c)}else return i(void 0,u)}function a(c,u,d){if(W.hasOwnProp(e,d))return i(c,u);if(W.hasOwnProp(t,d))return i(void 0,c)}const l={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:a,headers:(c,u,d)=>o(kd(c),kd(u),d,!0)};return W.forEach(Object.keys({...t,...e}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const d=W.hasOwnProp(l,u)?l[u]:o,h=W.hasOwnProp(t,u)?t[u]:void 0,v=W.hasOwnProp(e,u)?e[u]:void 0,f=d(h,v,u);W.isUndefined(f)&&d!==a||(n[u]=f)}),n}const sm=t=>{const e=Mi({},t),n=h=>W.hasOwnProp(e,h)?e[h]:void 0,i=n("data");let o=n("withXSRFToken");const r=n("xsrfHeaderName"),s=n("xsrfCookieName");let a=n("headers");const l=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),d=n("url");if(e.headers=a=qt.from(a),e.url=tm(rm(c,d,u),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),W.isFormData(i)){if(kt.hasStandardBrowserEnv||kt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(W.isFunction(i.getHeaders)){const h=i.getHeaders(),v=["content-type","content-length"];Object.entries(h).forEach(([f,p])=>{v.includes(f.toLowerCase())&&a.set(f,p)})}}if(kt.hasStandardBrowserEnv&&(W.isFunction(o)&&(o=o(e)),o===!0||o==null&&lS(e.url))){const v=r&&s&&cS.read(s);v&&a.set(r,v)}return e},hS=typeof XMLHttpRequest<"u",pS=hS&&function(t){return new Promise(function(n,i){const o=sm(t);let r=o.data;const s=qt.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=o,u,d,h,v,f;function p(){v&&v(),f&&f(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let _=new XMLHttpRequest;_.open(o.method.toUpperCase(),o.url,!0),_.timeout=o.timeout;function S(){if(!_)return;const E=qt.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),C={data:!a||a==="text"||a==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:E,config:t,request:_};om(function(k){n(k),p()},function(k){i(k),p()},C),_=null}"onloadend"in _?_.onloadend=S:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(S)},_.onabort=function(){_&&(i(new Fe("Request aborted",Fe.ECONNABORTED,t,_)),_=null)},_.onerror=function(b){const C=b&&b.message?b.message:"Network Error",x=new Fe(C,Fe.ERR_NETWORK,t,_);x.event=b||null,i(x),_=null},_.ontimeout=function(){let b=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const C=o.transitional||fc;o.timeoutErrorMessage&&(b=o.timeoutErrorMessage),i(new Fe(b,C.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,t,_)),_=null},r===void 0&&s.setContentType(null),"setRequestHeader"in _&&W.forEach(s.toJSON(),function(b,C){_.setRequestHeader(C,b)}),W.isUndefined(o.withCredentials)||(_.withCredentials=!!o.withCredentials),a&&a!=="json"&&(_.responseType=o.responseType),c&&([h,f]=ss(c,!0),_.addEventListener("progress",h)),l&&_.upload&&([d,v]=ss(l),_.upload.addEventListener("progress",d),_.upload.addEventListener("loadend",v)),(o.cancelToken||o.signal)&&(u=E=>{_&&(i(!E||E.type?new tr(null,t,_):E),_.abort(),_=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const w=rS(o.url);if(w&&kt.protocols.indexOf(w)===-1){i(new Fe("Unsupported protocol "+w+":",Fe.ERR_BAD_REQUEST,t));return}_.send(r||null)})},fS=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let i=new AbortController,o;const r=function(c){if(!o){o=!0,a();const u=c instanceof Error?c:this.reason;i.abort(u instanceof Fe?u:new tr(u instanceof Error?u.message:u))}};let s=e&&setTimeout(()=>{s=null,r(new Fe(`timeout of ${e}ms exceeded`,Fe.ETIMEDOUT))},e);const a=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),t=null)};t.forEach(c=>c.addEventListener("abort",r));const{signal:l}=i;return l.unsubscribe=()=>W.asap(a),l}},mS=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let i=0,o;for(;i<n;)o=i+e,yield t.slice(i,o),i=o},vS=async function*(t,e){for await(const n of gS(t))yield*mS(n,e)},gS=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:i}=await e.read();if(n)break;yield i}}finally{await e.cancel()}},Ad=(t,e,n,i)=>{const o=vS(t,e);let r=0,s,a=l=>{s||(s=!0,i&&i(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await o.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let h=r+=d;n(h)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},Pd=64*1024,{isFunction:gr}=W,_S=(({Request:t,Response:e})=>({Request:t,Response:e}))(W.global),{ReadableStream:Rd,TextEncoder:Md}=W.global,Id=(t,...e)=>{try{return!!t(...e)}catch{return!1}},yS=t=>{t=W.merge.call({skipUndefined:!0},_S,t);const{fetch:e,Request:n,Response:i}=t,o=e?gr(e):typeof fetch=="function",r=gr(n),s=gr(i);if(!o)return!1;const a=o&&gr(Rd),l=o&&(typeof Md=="function"?(f=>p=>f.encode(p))(new Md):async f=>new Uint8Array(await new n(f).arrayBuffer())),c=r&&a&&Id(()=>{let f=!1;const p=new n(kt.origin,{body:new Rd,method:"POST",get duplex(){return f=!0,"half"}}),_=p.headers.has("Content-Type");return p.body!=null&&p.body.cancel(),f&&!_}),u=s&&a&&Id(()=>W.isReadableStream(new i("").body)),d={stream:u&&(f=>f.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!d[f]&&(d[f]=(p,_)=>{let S=p&&p[f];if(S)return S.call(p);throw new Fe(`Response type '${f}' is not supported`,Fe.ERR_NOT_SUPPORT,_)})});const h=async f=>{if(f==null)return 0;if(W.isBlob(f))return f.size;if(W.isSpecCompliantForm(f))return(await new n(kt.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(W.isArrayBufferView(f)||W.isArrayBuffer(f))return f.byteLength;if(W.isURLSearchParams(f)&&(f=f+""),W.isString(f))return(await l(f)).byteLength},v=async(f,p)=>{const _=W.toFiniteNumber(f.getContentLength());return _??h(p)};return async f=>{let{url:p,method:_,data:S,signal:w,cancelToken:E,timeout:b,onDownloadProgress:C,onUploadProgress:x,responseType:k,headers:O,withCredentials:K="same-origin",fetchOptions:D}=sm(f),P=e||fetch;k=k?(k+"").toLowerCase():"text";let U=fS([w,E&&E.toAbortSignal()],b),I=null;const q=U&&U.unsubscribe&&(()=>{U.unsubscribe()});let le;try{if(x&&c&&_!=="get"&&_!=="head"&&(le=await v(O,S))!==0){let z=new n(p,{method:"POST",body:S,duplex:"half"}),ie;if(W.isFormData(S)&&(ie=z.headers.get("content-type"))&&O.setContentType(ie),z.body){const[ve,re]=Od(le,ss($d(x)));S=Ad(z.body,Pd,ve,re)}}W.isString(K)||(K=K?"include":"omit");const de=r&&"credentials"in n.prototype;if(W.isFormData(S)){const z=O.getContentType();z&&/^multipart\/form-data/i.test(z)&&!/boundary=/i.test(z)&&O.delete("content-type")}const Y={...D,signal:U,method:_.toUpperCase(),headers:O.normalize().toJSON(),body:S,duplex:"half",credentials:de?K:void 0};I=r&&new n(p,Y);let M=await(r?P(I,D):P(p,Y));const A=u&&(k==="stream"||k==="response");if(u&&(C||A&&q)){const z={};["status","statusText","headers"].forEach(ge=>{z[ge]=M[ge]});const ie=W.toFiniteNumber(M.headers.get("content-length")),[ve,re]=C&&Od(ie,ss($d(C),!0))||[];M=new i(Ad(M.body,Pd,ve,()=>{re&&re(),q&&q()}),z)}k=k||"text";let Q=await d[W.findKey(d,k)||"text"](M,f);return!A&&q&&q(),await new Promise((z,ie)=>{om(z,ie,{data:Q,headers:qt.from(M.headers),status:M.status,statusText:M.statusText,config:f,request:I})})}catch(de){throw q&&q(),de&&de.name==="TypeError"&&/Load failed|fetch/i.test(de.message)?Object.assign(new Fe("Network Error",Fe.ERR_NETWORK,f,I,de&&de.response),{cause:de.cause||de}):Fe.from(de,de&&de.code,f,I,de&&de.response)}}},bS=new Map,am=t=>{let e=t&&t.env||{};const{fetch:n,Request:i,Response:o}=e,r=[i,o,n];let s=r.length,a=s,l,c,u=bS;for(;a--;)l=r[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:yS(e)),u=c;return c};am();const vc={http:IE,xhr:pS,fetch:{get:am}};W.forEach(vc,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Dd=t=>`- ${t}`,wS=t=>W.isFunction(t)||t===null||t===!1;function ES(t,e){t=W.isArray(t)?t:[t];const{length:n}=t;let i,o;const r={};for(let s=0;s<n;s++){i=t[s];let a;if(o=i,!wS(i)&&(o=vc[(a=String(i)).toLowerCase()],o===void 0))throw new Fe(`Unknown adapter '${a}'`);if(o&&(W.isFunction(o)||(o=o.get(e))))break;r[a||"#"+s]=o}if(!o){const s=Object.entries(r).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?s.length>1?`since :
|
|
@@ -8,7 +8,7 @@ import{aA as Ko,g as te,v as Se,aj as ze,ab as y,j as ne,aO as we,r as j,ax as m
|
|
|
8
8
|
`);return s===-1?"":o.stack.slice(s+1)})();try{if(!i.stack)i.stack=r;else if(r){const s=r.indexOf(`
|
|
9
9
|
`),a=s===-1?-1:r.indexOf(`
|
|
10
10
|
`,s+1),l=a===-1?"":r.slice(a+1);String(i.stack).endsWith(l)||(i.stack+=`
|
|
11
|
-
`+r)}}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Mi(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:r}=n;i!==void 0&&Wr.assertOptions(i,{silentJSONParsing:rn.transitional(rn.boolean),forcedJSONParsing:rn.transitional(rn.boolean),clarifyTimeoutError:rn.transitional(rn.boolean),legacyInterceptorReqResOrdering:rn.transitional(rn.boolean)},!1),o!=null&&(W.isFunction(o)?n.paramsSerializer={serialize:o}:Wr.assertOptions(o,{encode:rn.function,serialize:rn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Wr.assertOptions(n,{baseUrl:rn.spelling("baseURL"),withXsrfToken:rn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=r&&W.merge(r.common,r[n.method]);r&&W.forEach(["delete","get","head","post","put","patch","common"],f=>{delete r[f]}),n.headers=qt.concat(s,r);const a=[];let l=!0;this.interceptors.request.forEach(function(p){if(typeof p.runWhen=="function"&&p.runWhen(n)===!1)return;l=l&&p.synchronous;const _=n.transitional||fc;_&&_.legacyInterceptorReqResOrdering?a.unshift(p.fulfilled,p.rejected):a.push(p.fulfilled,p.rejected)});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const f=[Fd.bind(this),void 0];for(f.unshift(...a),f.push(...c),h=f.length,u=Promise.resolve(n);d<h;)u=u.then(f[d++],f[d++]);return u}h=a.length;let v=n;for(;d<h;){const f=a[d++],p=a[d++];try{v=f(v)}catch(_){p.call(this,_);break}}try{u=Fd.call(this,v)}catch(f){return Promise.reject(f)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Mi(this.defaults,e);const n=rm(e.baseURL,e.url,e.allowAbsoluteUrls);return tm(n,e.params,e.paramsSerializer)}};W.forEach(["delete","get","head","options"],function(e){$i.prototype[e]=function(n,i){return this.request(Mi(i||{},{method:e,url:n,data:(i||{}).data}))}});W.forEach(["post","put","patch"],function(e){function n(i){return function(r,s,a){return this.request(Mi(a||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:r,data:s}))}}$i.prototype[e]=n(),$i.prototype[e+"Form"]=n(!0)});let CS=class um{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const i=this;this.promise.then(o=>{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](o);i._listeners=null}),this.promise.then=o=>{let r;const s=new Promise(a=>{i.subscribe(a),r=a}).then(o);return s.cancel=function(){i.unsubscribe(r)},s},e(function(r,s,a){i.reason||(i.reason=new tr(r,s,a),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=i=>{e.abort(i)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new um(function(o){e=o}),cancel:e}}};function xS(t){return function(n){return t.apply(null,n)}}function TS(t){return W.isObject(t)&&t.isAxiosError===!0}const hl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hl).forEach(([t,e])=>{hl[e]=t});function dm(t){const e=new $i(t),n=Hf($i.prototype.request,e);return W.extend(n,$i.prototype,e,{allOwnKeys:!0}),W.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return dm(Mi(t,o))},n}const ht=dm(er);ht.Axios=$i;ht.CanceledError=tr;ht.CancelToken=CS;ht.isCancel=im;ht.VERSION=cm;ht.toFormData=ks;ht.AxiosError=Fe;ht.Cancel=ht.CanceledError;ht.all=function(e){return Promise.all(e)};ht.spread=xS;ht.isAxiosError=TS;ht.mergeConfig=Mi;ht.AxiosHeaders=qt;ht.formToJSON=t=>nm(W.isHTMLForm(t)?new FormData(t):t);ht.getAdapter=lm.getAdapter;ht.HttpStatusCode=hl;ht.default=ht;const{Axios:sz,AxiosError:az,CanceledError:lz,isCancel:cz,CancelToken:uz,VERSION:dz,all:hz,Cancel:pz,isAxiosError:fz,spread:mz,toFormData:vz,AxiosHeaders:gz,HttpStatusCode:jd,formToJSON:_z,getAdapter:yz,mergeConfig:bz}=ht,hm=new Map,OS={baseURL:"",timeout:1e4};function Nd(t,e){const n=ht.create({...OS,...e});return hm.set(t,n),n}function $S(t="default"){const e=hm.get(t);if(!e)throw new Error(`Instance "${t}" not initialized. Call initInstance() first.`);return e}async function Ee(t,e){const n=t.split("/")[0],i=$S(n);return t=t.replace(n,""),i.request({url:t,...e})}async function kS(t,e){return Ee("__local__/api/v1/comp/check",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function AS(t,e){return Ee("__local__/api/v1/comp/checkCompRepeat",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function PS(t,e){return Ee("__local__/api/v1/comp/compFileHash",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function RS(t,e){return Ee("__local__/api/v1/comp/compFilesOssSignedUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function MS(t,e){return Ee("__local__/api/v1/comp/dep",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function IS(t,e){return Ee("__local__/api/v1/comp/dir",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function DS(t,e){return Ee("__local__/api/v1/comp/download",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function FS(t,e){return Ee("__local__/api/v1/comp/file",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function LS(t,e){return Ee("__local__/api/v1/comp/generateCompJson",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function jS(t,e){return Ee("__local__/api/v1/comp/localCompDetailByPathHash",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function NS(t,e){return Ee("__local__/api/v1/comp/localComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function US(t,e){return Ee("__local__/api/v1/comp/localCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function zS(t,e){return Ee("__local__/api/v1/comp/openCompPathInVscode",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function VS(t){return Ee("__local__/api/v1/comp/packageJson",{method:"POST",...t||{}})}async function BS(t,e){return Ee("__local__/api/v1/comp/submit",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function HS(t,e){return Ee("__local__/api/v1/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function qS(t,e){return Ee("__local__/api/v1/comp/updateVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const WS=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheck:kS,compcontrollerCheckcomprepeat:AS,compcontrollerCompfilehash:PS,compcontrollerCompfilesosssignedurl:RS,compcontrollerDep:MS,compcontrollerDir:IS,compcontrollerDownload:DS,compcontrollerFile:FS,compcontrollerGeneratecompjson:LS,compcontrollerLocalcompdetailbypathhash:jS,compcontrollerLocalcomps:NS,compcontrollerLocalcompsbyids:US,compcontrollerOpencomppathinvscode:zS,compcontrollerPackagejson:VS,compcontrollerSubmit:BS,compcontrollerUpdate:HS,compcontrollerUpdateversion:qS},Symbol.toStringTag,{value:"Module"}));async function KS(t){return Ee("__local__/api/v1/module/clearPreBuild",{method:"POST",...t||{}})}async function YS(t,e){return Ee("__local__/api/v1/module/preBuild",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function GS(t){return Ee("__local__/api/v1/module/preBuildSize",{method:"POST",...t||{}})}const QS=Object.freeze(Object.defineProperty({__proto__:null,modulecontrollerClearprebuild:KS,modulecontrollerPrebuild:YS,modulecontrollerPrebuildsize:GS},Symbol.toStringTag,{value:"Module"}));async function XS(t,e){return Ee("__local__/api/v1/oss/fileSignUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const JS=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerFilesignurl:XS},Symbol.toStringTag,{value:"Module"}));async function ZS(t,e){return Ee("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const eC=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:ZS},Symbol.toStringTag,{value:"Module"}));async function tC(t,e){return Ee("__local__/api/v1/vuefinder/list",{method:"GET",params:{...t},...e||{}})}const nC=Object.freeze(Object.defineProperty({__proto__:null,vuefindercontrollerList:tC},Symbol.toStringTag,{value:"Module"})),iC={v1Comp:WS,v1Module:QS,v1Oss:JS,v1Preprocessing:eC,v1Vuefinder:nC};async function oC(t,e){return Ee("__remote__/api/v1/comp/checkCompExistByHash",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function rC(t,e){return Ee("__remote__/api/v1/comp/checkCompExistById",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function sC(t,e){return Ee("__remote__/api/v1/comp/checkVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function aC(t,e){return Ee("__remote__/api/v1/comp/collect",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function lC(t,e){return Ee("__remote__/api/v1/comp/collectedComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function cC(t,e){return Ee("__remote__/api/v1/comp/compDetail",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function uC(t,e){return Ee("__remote__/api/v1/comp/compHash",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function dC(t,e){return Ee("__remote__/api/v1/comp/comps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function hC(t,e){return Ee("__remote__/api/v1/comp/compsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function pC(t,e){return Ee("__remote__/api/v1/comp/deleteFailedComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function fC(t,e){return Ee("__remote__/api/v1/comp/deleteMyComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function mC(t,e){return Ee("__remote__/api/v1/comp/existCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function vC(t,e){return Ee("__remote__/api/v1/comp/myComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function gC(t,e){return Ee("__remote__/api/v1/comp/similarComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function _C(t,e){return Ee("__remote__/api/v1/comp/softDelete",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function yC(t,e){return Ee("__remote__/api/v1/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function bC(t,e){return Ee("__remote__/api/v1/comp/updateBasicInfo",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function wC(t,e){return Ee("__remote__/api/v1/comp/updateCompDownloadCount",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function EC(t,e){return Ee("__remote__/api/v1/comp/updateObjectId",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function SC(t,e){return Ee("__remote__/api/v1/comp/upgradeRecords",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function CC(t,e){return Ee("__remote__/api/v1/comp/upload",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function xC(t,e){return Ee("__remote__/api/v1/comp/versions",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const TC=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheckcompexistbyhash:oC,compcontrollerCheckcompexistbyid:rC,compcontrollerCheckversion:sC,compcontrollerCollect:aC,compcontrollerCollectedcomps:lC,compcontrollerCompdetail:cC,compcontrollerComphash:uC,compcontrollerComps:dC,compcontrollerCompsbyids:hC,compcontrollerDeletefailedcomp:pC,compcontrollerDeletemycomp:fC,compcontrollerExistcompsbyids:mC,compcontrollerMycomps:vC,compcontrollerSimilarcomps:gC,compcontrollerSoftdelete:_C,compcontrollerUpdate:yC,compcontrollerUpdatebasicinfo:bC,compcontrollerUpdatecompdownloadcount:wC,compcontrollerUpdateobjectid:EC,compcontrollerUpgraderecords:SC,compcontrollerUpload:CC,compcontrollerVersions:xC},Symbol.toStringTag,{value:"Module"}));async function OC(t){return Ee("__remote__/api/v1/csrf/csrf",{method:"GET",...t||{}})}const $C=Object.freeze(Object.defineProperty({__proto__:null,csrfcontrollerGetcsrftoken:OC},Symbol.toStringTag,{value:"Module"}));async function kC(t,e){return Ee("__remote__/api/v1/email/sendCode",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const AC=Object.freeze(Object.defineProperty({__proto__:null,emailcontrollerSendcode:kC},Symbol.toStringTag,{value:"Module"}));async function PC(t,e){return Ee("__remote__/api/v1/keyword/queryKeywordsComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const RC=Object.freeze(Object.defineProperty({__proto__:null,keywordcontrollerQuerykeywordscomp:PC},Symbol.toStringTag,{value:"Module"}));async function MC(t){return Ee("__remote__/api/v1/oss/compOssDir",{method:"POST",...t||{}})}async function IC(t){return Ee("__remote__/api/v1/oss/getSts",{method:"POST",...t||{}})}async function DC(t,e){return Ee("__remote__/api/v1/oss/putPolicy",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const FC=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerCompossdir:MC,osscontrollerGetsts:IC,osscontrollerPutpolicy:DC},Symbol.toStringTag,{value:"Module"}));async function LC(t,e){return Ee("__remote__/api/v1/team/addToTeamMyComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function jC(t){return Ee("__remote__/api/v1/team/allMember",{method:"POST",...t||{}})}async function NC(t,e){return Ee("__remote__/api/v1/team/applyList",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function UC(t,e){return Ee("__remote__/api/v1/team/checkCompUpdatePermission",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function zC(t,e){return Ee("__remote__/api/v1/team/copyComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function VC(t,e){return Ee("__remote__/api/v1/team/create",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function BC(t){return Ee("__remote__/api/v1/team/created",{method:"POST",...t||{}})}async function HC(t,e){return Ee("__remote__/api/v1/team/delete",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function qC(t){return Ee("__remote__/api/v1/team/detail",{method:"POST",...t||{}})}async function WC(t){return Ee("__remote__/api/v1/team/exit",{method:"POST",...t||{}})}async function KC(t,e){return Ee("__remote__/api/v1/team/findByCode",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function YC(t,e){return Ee("__remote__/api/v1/team/handleApply",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function GC(t,e){return Ee("__remote__/api/v1/team/join",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function QC(t){return Ee("__remote__/api/v1/team/joined",{method:"POST",...t||{}})}async function XC(t,e){return Ee("__remote__/api/v1/team/kickOut",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function JC(t,e){return Ee("__remote__/api/v1/team/member",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function ZC(t,e){return Ee("__remote__/api/v1/team/myTeamComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function e2(t,e){return Ee("__remote__/api/v1/team/removeComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function t2(t,e){return Ee("__remote__/api/v1/team/removeMyTeamComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function n2(t,e){return Ee("__remote__/api/v1/team/teamComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function i2(t,e){return Ee("__remote__/api/v1/team/update",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function o2(t,e){return Ee("__remote__/api/v1/team/updateCompCanUpdateUsers",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function r2(t,e){return Ee("__remote__/api/v1/team/updateMenu",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function s2(t,e){return Ee("__remote__/api/v1/team/updateTeamUserNickname",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const a2=Object.freeze(Object.defineProperty({__proto__:null,teamcontrollerAddtoteammycomps:LC,teamcontrollerAllmember:jC,teamcontrollerApplylist:NC,teamcontrollerCheckcompupdatepermission:UC,teamcontrollerCopycomp:zC,teamcontrollerCreate:VC,teamcontrollerCreated:BC,teamcontrollerDelete:HC,teamcontrollerDetail:qC,teamcontrollerExit:WC,teamcontrollerFindbycode:KC,teamcontrollerHandleapply:YC,teamcontrollerJoin:GC,teamcontrollerJoined:QC,teamcontrollerKickout:XC,teamcontrollerMember:JC,teamcontrollerMyteamcomps:ZC,teamcontrollerRemovecompfromteam:e2,teamcontrollerRemovemyteamcomp:t2,teamcontrollerTeamcomps:n2,teamcontrollerUpdate:i2,teamcontrollerUpdatecompcanupdateusers:o2,teamcontrollerUpdatemenu:r2,teamcontrollerUpdateteamusernickname:s2},Symbol.toStringTag,{value:"Module"}));async function l2(t){return Ee("__remote__/api/v1/token/approachExpire",{method:"POST",...t||{}})}async function c2(t){return Ee("__remote__/api/v1/token/refresh",{method:"POST",...t||{}})}const u2=Object.freeze(Object.defineProperty({__proto__:null,tokencontrollerApproachexpire:l2,tokencontrollerRefresh:c2},Symbol.toStringTag,{value:"Module"}));async function d2(t,e){return Ee("__remote__/api/v1/upgrade/check",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function h2(t){return Ee("__remote__/api/v1/upgrade/logs",{method:"POST",...t||{}})}async function p2(t,e){return Ee("__remote__/api/v1/upgrade/publish",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const f2=Object.freeze(Object.defineProperty({__proto__:null,upgradecontrollerCheck:d2,upgradecontrollerLogs:h2,upgradecontrollerPublish:p2},Symbol.toStringTag,{value:"Module"}));async function m2(t,e){return Ee("__remote__/api/v1/user/changeAvatar",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function v2(t,e){return Ee("__remote__/api/v1/user/changeNickname",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function g2(t,e){return Ee("__remote__/api/v1/user/changePassword",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function _2(t){return Ee("__remote__/api/v1/user/checkPassword",{method:"POST",...t||{}})}async function y2(t,e){return Ee("__remote__/api/v1/user/login",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function b2(t,e){return Ee("__remote__/api/v1/user/setAllowEmailLogin",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function w2(t,e){return Ee("__remote__/api/v1/user/updateEmail",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function E2(t){return Ee("__remote__/api/v1/user/userInfo",{method:"POST",...t||{}})}async function S2(t){return Ee("__remote__/api/v1/user/whoAmI",{method:"POST",...t||{}})}const C2=Object.freeze(Object.defineProperty({__proto__:null,usercontrollerChangeavatar:m2,usercontrollerChangenickname:v2,usercontrollerChangepassword:g2,usercontrollerCheckpassword:_2,usercontrollerLogin:y2,usercontrollerSetallowemaillogin:b2,usercontrollerUpdateemail:w2,usercontrollerUserinfo:E2,usercontrollerWhoami:S2},Symbol.toStringTag,{value:"Module"}));async function x2(t,e){return Ee("__remote__/api/v2/upgrade/check",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const T2=Object.freeze(Object.defineProperty({__proto__:null,upgradecontrollerv2Check:x2},Symbol.toStringTag,{value:"Module"})),ki={v1Comp:TC,v1Csrf:$C,v1Email:AC,v1Keyword:RC,v1Oss:FC,v1Team:a2,v1Token:u2,v1Upgrade:f2,v1User:C2,v2Upgrade:T2},O2=vi("personalStore",{state:()=>({userInfo:{},isPasswordSet:!1}),getters:{isAllowEmailLogin(t){return t.userInfo?.isAllowEmailLogin??!1}},actions:{setUserInfo(t){this.$patch(e=>{e.userInfo=t})},setIsPasswordSet(t){this.$patch(e=>{e.isPasswordSet=t})},async initUserInfo(){const t=await ki.v1User.usercontrollerUserinfo();t.code===0&&this.setUserInfo(t.data)},async setEmail(t){this.$patch(e=>{e.userInfo.email=t})},async setNickname(t){this.$patch(e=>{e.userInfo.nickname=t})},async setAllowEmailLogin(t){await ki.v1User.usercontrollerSetallowemaillogin({allow:t}).then(()=>{this.$patch(e=>{e.userInfo.isAllowEmailLogin=t})})}}}),$2=vi("moduleStore",{state:()=>({modules:{}}),actions:{setModules(t,e){this.$patch(n=>{n.modules[t]=e})},async loadModule(t){if(this.modules[t])return this.modules[t];const e=await import(t);return this.setModules(t,e),e}}}),_r=Ji(U0,!0),gc=vi("appStore",{state:()=>({}),getters:{collapse(){return _r.value}},actions:{toggleSideBar(){_r.value=!_r.value},setSideBarCollapse(t){t!==this.collapse&&(_r.value=t)}}}),k2=vi("team",{state:()=>({joinedTeams:[],createdTeams:[]}),actions:{setJoinedTeams(t){this.$patch(e=>{e.joinedTeams=t})},setCreatedTeams(t){this.$patch(e=>{e.createdTeams=t})},removeCreatedTeam(t){this.$patch(e=>{e.createdTeams=e.createdTeams.filter(n=>n._id!==t)})},addCreatedTeam(t){this.$patch(e=>{e.createdTeams.some(i=>i._id===t._id)||e.createdTeams.push(t)})},addJoinedTeam(t){this.$patch(e=>{e.joinedTeams.some(i=>i._id===t._id)||e.joinedTeams.push(t)})},removeJoinedTeam(t){this.$patch(e=>{e.joinedTeams=e.joinedTeams.filter(n=>n._id!==t)})},updateCreatedTeamItemById(t,e){this.$patch(n=>{const i=n.createdTeams.findIndex(o=>o._id===t);i!==-1&&(n.createdTeams[i]=e)})},getTeamDetail(t){return this.joinedTeams.find(n=>n._id===t)||this.createdTeams.find(n=>n._id===t)}}});function yr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)i!=="__proto__"&&(t[i]=n[i])}return t}var A2={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function pl(t,e){function n(o,r,s){if(!(typeof document>"u")){s=yr({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,s[l]!==!0&&(a+="="+s[l].split(";")[0]));return document.cookie=o+"="+t.write(r,o)+a}}function i(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var r=document.cookie?document.cookie.split("; "):[],s={},a=0;a<r.length;a++){var l=r[a].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(u in s||(s[u]=t.read(c,u)),o===u)break}catch{}}return o?s[o]:s}}return Object.create({set:n,get:i,remove:function(o,r){n(o,"",yr({},r,{expires:-1}))},withAttributes:function(o){return pl(this.converter,yr({},this.attributes,o))},withConverter:function(o){return pl(yr({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var pm=pl(A2,{path:"/"});const P2={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},R2={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},M2={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},I2={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录"},D2={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},F2={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},L2={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},j2={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},N2={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},U2={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},z2={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},V2={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},B2={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},H2={submit:"提交"},q2={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},W2={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},K2={common:P2,comp:R2,team:M2,user:I2,file:D2,message:F2,route:L2,markdown:j2,terminal:N2,deps:U2,setting:z2,upgrade:V2,tag:B2,formCreate:H2,validateHash:q2,project:W2},Y2={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},G2={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},Q2={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},X2={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login"},J2={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},Z2={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},ex={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},tx={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},nx={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},ix={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},ox={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},rx={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},sx={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},ax={submit:"Submit"},lx={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},cx={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},ux={common:Y2,comp:G2,team:Q2,user:X2,file:J2,message:Z2,route:ex,markdown:tx,terminal:nx,deps:ix,setting:ox,upgrade:rx,tag:sx,formCreate:ax,validateHash:lx,project:cx},dx={zh:K2,en:ux},hx=localStorage.getItem(xb.LOCALE_KEY)||"zh",fm=m_({locale:hx,messages:dx,legacy:!1});function mm(t){t.use(fm)}const _c=Object.freeze(Object.defineProperty({__proto__:null,i18n:fm,setup:mm},Symbol.toStringTag,{value:"Module"}));function px({store:t}){t.$subscribe((...e)=>{const[n]=e;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const fl=v_();function vm(t){fl.use(px),t.use(fl)}const fx=Object.freeze(Object.defineProperty({__proto__:null,pinia:fl,setup:vm},Symbol.toStringTag,{value:"Module"}));function mx(t){t.component("Icon",Gw)}const{i18n:br}=_c,{pinia:la}=fx,Qi=vi("userStore",{state:()=>({userInfo:{},logoutDialogOpen:!1}),getters:{userId:t=>t.userInfo._id,displayName(t){return t.userInfo.nickname||t.userInfo.account||br.global.t("user.notLoggedIn")},avatar:t=>t.userInfo.avatar,avatarStr(t){return t.userInfo.nickname?.[0]||t.userInfo.account?.[0]||""}},actions:{async fetchCsrfToken(){pm.get(bt.CSRF_KEY)||await ki.v1Csrf.csrfcontrollerGetcsrftoken()},updateAvatar(t){this.$patch(e=>{e.userInfo&&(e.userInfo.avatar=t)})},updateNickname(t){this.$patch(e=>{e.userInfo&&(e.userInfo.nickname=t)})},setLogoutDialogOpen(t){this.$patch(e=>{e.logoutDialogOpen=t})},setUserInfo(t){this.$patch(e=>{e.userInfo=t})},login(t){return ki.v1User.usercontrollerLogin({...t})},async fetchWhoAmI(){const t=await ki.v1User.usercontrollerWhoami();t.data&&this.setUserInfo(t.data)},logout(){no.push("/login?type=logout").then(t=>{t||(this.clearLocalStorage(),this.resetAll(),this.$reset())})},resetAll(){const t=Qo(),e=O2(),n=$2(),i=gc(),o=k2();t?.$reset(),e?.$reset(),n?.$reset(),i?.$reset(),o?.$reset(),this.clearTeamHomeStores(),this.clearCompListStores(),this.clearCompEditStore()},clearLocalStorage(){F0(),N0()},clearTeamHomeStores(){for(const[t,e]of la._s.entries())t.startsWith("teamHome")&&e.$reset()},clearCompListStores(){for(const[t,e]of la._s.entries())t.startsWith("compList")&&e.$reset()},clearCompEditStore(){for(const[t,e]of la._s.entries())t.startsWith("compEdit")&&e.$reset()},isRealUserLogin(){const t=Object.keys(this.userInfo),e=is();return t.length>0&&e!==null},isAccessTokenExist(){return is()!==null},logoutDialog(){if(this.logoutDialogOpen)return;this.setLogoutDialogOpen(!0);const t={confirmButtonText:br.global.t("user.goLogin"),showClose:!0,callback:e=>{this.setLogoutDialogOpen(!1),e==="confirm"&&this.logout()}};Y_.alert(br.global.t("message.loginRequired"),br.global.t("common.info"),t)}}}),vx=Se({__name:"SubMenu",props:{route:{},basePath:{}},setup(t){const{getTitle:e}=hc(),n=t,i=Qi(),o=(c,u="")=>B1.resolve(c,u),r=te(()=>o(n.basePath||"",n.route.path)),s=te(()=>(n.route.children||[]).some(c=>!c.meta?.hidden)),a=te(()=>{const{children:c=[]}=n.route;return c.length===0||c.length===1&&!c[0]?.children?.length}),l=te(()=>{const{children:c=[],meta:u={}}=n.route;return u?.hidden?!1:i.isRealUserLogin()||c.length>0?!0:!i.isAccessTokenExist()&&n.route.meta?.noAuth});return(c,u)=>{const d=ze("SubMenu",!0),h=Ao,v=G_;return l.value?(y(),T(Me,{key:0},[t.route.meta?.hideParent&&s.value?(y(!0),T(Me,{key:0},He(t.route.children,f=>(y(),ne(d,{key:o(r.value,f.path),route:f,"base-path":o(r.value,f.path)},null,8,["route","base-path"]))),128)):(y(),T(Me,{key:1},[a.value?(y(),ne(q1,{key:0,route:t.route,"full-path":r.value},null,8,["route","full-path"])):(y(),ne(v,{key:1,index:r.value},{title:we(()=>[j(h,null,{default:we(()=>[(y(),ne(Ot(t.route?.meta?.icon)))]),_:1}),g("span",null,L(m(e)(t.route?.meta?.title)),1)]),default:we(()=>[(y(!0),T(Me,null,He(t.route.children,f=>(y(),ne(d,{key:o(r.value,f.path),route:f,"base-path":o(r.value,f.path)},null,8,["route","base-path"]))),128))]),_:1},8,["index"]))],64))],64)):ue("",!0)}}}),gx=Se({__name:"index",setup(t){const e=gc(),n=_s(),i=tc(),o=te(()=>n.options.routes),r=te(()=>i.path);return(s,a)=>{const l=Q_;return y(),ne(l,{class:"dark:!bg-gray-800 border-t border-gray-200 dark:border-gray-700",collapse:m(e).collapse,"default-active":r.value},{default:we(()=>[(y(!0),T(Me,null,He(o.value,c=>(y(),T(Me,null,[c?.meta?.hidden?ue("",!0):(y(),ne(vx,{key:c.path,basePath:c.path,route:c},null,8,["basePath","route"]))],64))),256))]),_:1},8,["collapse","default-active"])}}}),_x={class:"flex gap-[20px] items-center pl-[10px] pr-[10px]"},yx=["title"],bx=["title"],wx=["title"],Ex={class:"flex items-center gap-[10px]"},Sx=Se({__name:"index",setup(t){const{t:e}=Ko(),n=Qo(),i=_s(),o=tc(),r=Ji(Ef,10),s=H(n.maxCache),a=()=>{i.back()},l=()=>{i.replace({path:o.path,query:{...o.query,[bt.ROUTE_STATE_KEY_VERSION]:Date.now()}})};function c(u){u&&n.setMaxCache(u)}return Nt(()=>{r.value=n.maxCache}),(u,d)=>{const h=ze("Icon"),v=nl,f=tl;return y(),T("div",_x,[g("span",{title:m(e)("common.back")},[j(h,{icon:"material-symbols:arrow-back-rounded",class:"cursor-pointer",onClick:a})],8,yx),g("span",{title:m(e)("common.refresh")},[j(h,{icon:"material-symbols:refresh-rounded",class:"cursor-pointer",onClick:l})],8,bx),j(f,{placement:"bottom",trigger:"hover",width:"auto"},{reference:we(()=>[g("span",{title:m(e)("common.moreOperations")},[j(h,{icon:"material-symbols:article-outline",class:"cursor-pointer"})],8,wx)]),default:we(()=>[g("div",Ex,[g("div",null,L(m(e)("common.maxTagCount"))+":",1),g("div",null,[j(v,{modelValue:s.value,"onUpdate:modelValue":d[0]||(d[0]=p=>s.value=p),min:1,style:{width:"90px"},"controls-position":"right",onChange:c},null,8,["modelValue"])])])]),_:1})])}}}),Cx={class:"flex dark:bg-gray-800 py-[2px] h-[40px] border border-gray-200 dark:border-gray-700"},xx=Se({__name:"index",setup(t){const{t:e}=Ko(),n=_s(),i=tc(),o=Qo(),{getTitle:r}=hc();Oe(()=>i,()=>{o.addView(i)},{immediate:!0,deep:!0});const s=te(()=>o.visitedViews),a=te(()=>s.value.length===1);function l(h){const v=c(h);o.delViewAndJumpToPrev(h.path,v,n)}function c(h){return h.path===i.path}function u(h){n.push(h)}function d(h){const v=h?.meta?.title||e("route.unknownTag"),f=o.getPayLoad(h.path);return r(f?.name||v)}return(h,v)=>{const f=ze("Icon"),p=Ao,_=Gi,S=X_;return y(),T("div",Cx,[j(Sx),j(m(Q0),{class:"flex-1 overflow-hidden",list:s.value,getKey:w=>w.path},{display:we(({visibleList:w,overflow:E})=>[j(g_,{tag:"ul",name:"fade",class:"flex gap-[5px] p-[2px] items-center"},{default:we(()=>[(y(!0),T(Me,null,He(w,b=>(y(),T("div",{key:b.path},[j(_,{type:c(b)?"primary":"default",onClick:C=>u(b)},{default:we(()=>[Ke(L(d(b))+" ",1),a.value?ue("",!0):(y(),ne(p,{key:0,style:{"font-size":"16px"},class:"ml-[5px]",onClick:Ye(C=>l(b),["stop"])},{default:we(()=>[j(f,{icon:"material-symbols:close"})]),_:1},8,["onClick"]))]),_:2},1032,["type","onClick"])]))),128)),E>0?(y(),ne(S,{key:0,type:"info"},{default:we(()=>[Ke("+"+L(E)+" "+L(m(e)("common.more")),1)]),_:2},1024)):ue("",!0)]),_:2},1024)]),measure:we(({item:w})=>[j(_,{type:"primary"},{default:we(()=>[Ke(L(d(w))+" ",1),a.value?ue("",!0):(y(),ne(p,{key:0,style:{"font-size":"16px"},class:"ml-[5px]"},{default:we(()=>[j(f,{icon:"material-symbols:close"})]),_:1}))]),_:2},1024)]),_:1},8,["list","getKey"])])}}}),Tx=rc(xx,[["__scopeId","data-v-8b93a5e3"]]),Ox={class:"size-full overflow-hidden"},$x={class:"h-[60px] dark:bg-gray-800"},kx={class:"size-full overflow-hidden flex flex-col dark:bg-gray-800"},Ax={class:"dark:bg-gray-800"},Px={class:"size-full flex flex-col"},Rx={class:""},Mx={class:"flex-1 overflow-auto"},Ix=Se({__name:"index",setup(t){const e=qn(()=>nt(()=>import("./index-C9Y3CNRO.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)),n=qn(()=>nt(()=>import("./index-DnoK5_sf.js"),__vite__mapDeps([8,1,2,9,10,11,12,13,14,15,16,17,18,6]),import.meta.url)),i=H(68),o=H(200),r=H(60),s=H(""),a=H(""),l=te(()=>s.value?"transition-width duration-400":""),c=te(()=>a.value?"transition-height duration-300":""),u=te(()=>({class:c.value,size:v.value,collapsible:!0,resizable:!1})),d=te(()=>({class:l.value,min:i.value,max:300,collapsible:!0})),h=Ji(z0,i.value),v=Ji(V0,r.value),f=gc(),p=Qi(),_=async(E,b)=>{s.value=b,b==="end"&&h.value===0?(h.value=o.value,window?.umami?.track(nd.SIDEBAR_TOGGLE,{state:"expanded"})):b==="start"&&window?.umami?.track(nd.SIDEBAR_TOGGLE,{state:"collapsed"})},S=(E,b)=>{a.value=b,b==="start"?v.value=0:b==="end"&&(v.value=r.value)},w=E=>{E==="header"?a.value="":E==="side"&&(s.value="")};return Nt(()=>{f.setSideBarCollapse(h.value===i.value)}),(E,b)=>{const C=J_,x=ey,k=Z_;return y(),T("div",Ox,[j(k,{layout:"vertical",onCollapse:S},{default:we(()=>[j(C,We({class:"!overflow-hidden transform-gpu isolate will-change-height"},u.value,{onTransitionend:b[0]||(b[0]=O=>w("header")),onWebkitTransitionEnd:b[1]||(b[1]=O=>w("header"))}),{default:we(()=>[g("div",$x,[j(m(n))])]),_:1},16),j(C,{class:Ae(["transform-gpu isolate",c.value])},{default:we(()=>[j(k,{onCollapse:_},{default:we(()=>[j(C,We(d.value,{size:m(h),"onUpdate:size":b[2]||(b[2]=O=>ys(h)?h.value=O:null),class:"transform-gpu isolate will-change-width",onTransitionend:b[3]||(b[3]=O=>w("side")),onWebkitTransitionEnd:b[4]||(b[4]=O=>w("side"))}),{default:we(()=>[g("div",kx,[j(gx),m(p).isRealUserLogin()?(y(),T(Me,{key:0},[g("div",Ax,[j(x)]),j(m(e))],64)):ue("",!0)])]),_:1},16,["size"]),j(C,{class:Ae(["transform-gpu isolate !overflow-hidden",l.value])},{default:we(()=>[g("div",Px,[g("div",Rx,[j(Tx)]),g("div",Mx,[(y(),ne(__,null,{default:we(()=>[j(U1)]),_:1}))])])]),_:1},8,["class"])]),_:1})]),_:1},8,["class"])]),_:1})])}}});let no;function Dx(){const t=window.__GLOBAL_CONFIG__?.projectHash,e=t?`/${t}/main/`:`/${bt.WEBSITE_PATH_MAIN}/`;return no=y_({history:b_(e),routes:[{path:"/login",name:"login",component:()=>nt(()=>import("./index-ClGXZTwx.js"),__vite__mapDeps([19,1,2,12,13,14,20,21,3,22,23,18]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.login"}},{path:"/upgrade",name:"upgrade",component:()=>nt(()=>import("./index-D8JLLNls.js"),__vite__mapDeps([24,1,2,12,22,25,26,7,27]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.upgrade"}},{path:"/mdPreview",name:"mdPreview",component:()=>nt(()=>import("./index-5AGG9ot8.js"),__vite__mapDeps([28,1,2,29,25,30]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.mdPreview"}},{path:"/previewBlank/:compId/:version?",name:"previewBlank",component:()=>nt(()=>import("./index-Dgyjv57X.js"),__vite__mapDeps([31,2,32,33,1,34,4]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.preview"}},{path:"/previewLocalBlank/:compId",name:"previewLocalBlank",component:()=>nt(()=>import("./index-C5FOjHtG.js"),__vite__mapDeps([35,2,36,37,1,15,34,4]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.previewLocal"}},{path:"/similarPreview/:compId",name:"similarPreview",component:()=>nt(()=>import("./index-DkvChnew.js"),__vite__mapDeps([38,1,2,39,40,41,42,43,44,45,32,36,10,15,46,5,4,34,18,47,29,25,30,48,7,33,49,50,51]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.similarPreview"}},{path:"/",component:Ix,redirect:"/share",meta:{hideParent:!0},children:[{path:"/share",name:"share",meta:{title:"route.share",icon:qn(()=>nt(()=>import("./home-rounded-BhKYWFxg.js"),__vite__mapDeps([52,16,2,53]),import.meta.url)),noAuth:!0},component:()=>nt(()=>import("./index-CS5py2lv.js"),__vite__mapDeps([54,1,2,45,32,36,10,15,46,5,4,34,18,55]),import.meta.url)},{path:"/mine",name:"mine",meta:{title:"route.mine",icon:qn(()=>nt(()=>import("./supervised-user-circle-C6l0wkza.js"),__vite__mapDeps([56,16,2,57]),import.meta.url))},component:()=>nt(()=>import("./index-OKDkiqud.js"),__vite__mapDeps([58,1,2,45,32,36,10,15,46,5,4,34,18,59,60,61,29,25,30,49,50,3,62,7,63,55]),import.meta.url)},{path:"/collect",name:"collect",meta:{title:"route.collect",icon:qn(()=>nt(()=>import("./kid-star-DD-9HSxX.js"),__vite__mapDeps([64,16,2,65]),import.meta.url))},component:()=>nt(()=>import("./index-30_1ggVR.js"),__vite__mapDeps([66,1,2,45,32,36,10,15,46,5,4,34,18,55]),import.meta.url)},{path:"/local",name:"local",meta:{title:"route.local",icon:qn(()=>nt(()=>import("./sync-saved-locally-rounded-Cgz-NvDy.js"),__vite__mapDeps([67,16,2,68]),import.meta.url)),noAuth:!0},component:()=>nt(()=>import("./index-DMKeTfl9.js"),__vite__mapDeps([69,1,2,45,32,36,10,15,46,5,4,34,18]),import.meta.url)},{path:"/upload",name:"upload",meta:{title:"route.upload",icon:qn(()=>nt(()=>import("./cloud-upload-Cdco6849.js"),__vite__mapDeps([70,16,2,71]),import.meta.url)),noAuth:!0,hidden:!0},component:()=>nt(()=>import("./index-CBkRhssK.js"),__vite__mapDeps([72,1,2,60,32,4,61,34,29,25,30,5,49,50,3,62,7,18,44,46,27]),import.meta.url)},{path:"/uploadTeam/:teamId",name:"uploadTeam",meta:{title:"route.uploadTeam",hidden:!0},component:()=>nt(()=>import("./index-CBkRhssK.js"),__vite__mapDeps([72,1,2,60,32,4,61,34,29,25,30,5,49,50,3,62,7,18,44,46,27]),import.meta.url)},{path:"/userInfo",name:"userInfo",meta:{title:"route.userInfo",hidden:!0},component:()=>nt(()=>import("./index-B5P6DgaP.js"),__vite__mapDeps([73,1,2,21,3,5,20,74,9,10,11,75,7]),import.meta.url)},{path:"/preview/:compId",meta:{title:"route.preview",noAuth:!0,hidden:!0},component:()=>nt(()=>import("./index-DkvChnew.js"),__vite__mapDeps([38,1,2,39,40,41,42,43,44,45,32,36,10,15,46,5,4,34,18,47,29,25,30,48,7,33,49,50,51]),import.meta.url)},{path:"/previewLocal/:compId",meta:{title:"route.previewLocal",hidden:!0,noAuth:!0},component:()=>nt(()=>import("./index-DNzk9GC4.js"),__vite__mapDeps([76,1,2,36,47,29,25,30,46,45,32,10,15,5,4,34,18,48,7,37,49]),import.meta.url)},{path:"/previewTeam/:teamId/:compId",meta:{title:"route.previewTeam",noAuth:!0,hidden:!0},props:{isTeamPreview:!0},component:()=>nt(()=>import("./index-DkvChnew.js"),__vite__mapDeps([38,1,2,39,40,41,42,43,44,45,32,36,10,15,46,5,4,34,18,47,29,25,30,48,7,33,49,50,51]),import.meta.url)},{path:"/terminal",name:"terminal",meta:{title:"route.terminal",icon:qn(()=>nt(()=>import("./terminal-DIdElzFh.js"),__vite__mapDeps([77,16,2,78]),import.meta.url)),noAuth:!0},component:()=>nt(()=>import("./index-B94DbVvF.js"),__vite__mapDeps([79,41,2,42,1,43]),import.meta.url)},{path:"/setting",name:"setting",meta:{title:"route.setting",icon:qn(()=>nt(()=>import("./settings-f8ZwrSyv.js"),__vite__mapDeps([80,16,2,81]),import.meta.url)),noAuth:!0},component:()=>nt(()=>import("./index-Du5qihI4.js"),__vite__mapDeps([82,1,2,50,83,7]),import.meta.url)},{path:"/team/:teamId",name:"team",meta:{title:"route.team",hidden:!0},component:()=>nt(()=>import("./index-CYEfOQSg.js"),__vite__mapDeps([84,1,2,39,40,9,10,11,45,32,36,15,46,5,4,34,18,3,55,16,50,85,7]),import.meta.url)}]},{path:"/:pathMatch(.*)*",name:"404",meta:{hidden:!0,noAuth:!0,title:"route.404"},component:()=>nt(()=>import("./index-pnMxQIk7.js"),__vite__mapDeps([86,2,1]),import.meta.url)}]}),no}function Fx(t){Dx(),t.use(no)}const Lx=H([]);function jx(t){const e=nc(P1,{errors:Lx.value}),n=document.createElement("div");n.id="error-container",e.mount(n),document.body.appendChild(n)}var Kr={exports:{}},Nx=Kr.exports,Ud;function Ux(){return Ud||(Ud=1,(function(t,e){(function(n,i){t.exports=i()})(Nx,function(){function n(X){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V})(X)}function i(X,V){if(!(X instanceof V))throw new TypeError("Cannot call a class as a function")}function o(X,V){for(var J=0;J<V.length;J++){var ye=V[J];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(X,ye.key,ye)}}function r(X,V,J){V&&o(X.prototype,V),J&&o(X,J),Object.defineProperty(X,"prototype",{writable:!1})}function s(X,V,J){V in X?Object.defineProperty(X,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):X[V]=J}function a(X,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");X.prototype=Object.create(V&&V.prototype,{constructor:{value:X,writable:!0,configurable:!0}}),Object.defineProperty(X,"prototype",{writable:!1}),V&&c(X,V)}function l(X){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(V){return V.__proto__||Object.getPrototypeOf(V)})(X)}function c(X,V){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(J,ye){return J.__proto__=ye,J})(X,V)}function u(X,V){if(V&&(typeof V=="object"||typeof V=="function"))return V;if(V!==void 0)throw new TypeError("Derived constructors may only return object or undefined");if(V=X,V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}function d(X){var V=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}})();return function(){var J,ye=l(X);return u(this,V?(J=l(this).constructor,Reflect.construct(ye,arguments,J)):ye.apply(this,arguments))}}function h(X,V){(V==null||V>X.length)&&(V=X.length);for(var J=0,ye=new Array(V);J<V;J++)ye[J]=X[J];return ye}function v(X,V){var J,ye=typeof Symbol<"u"&&X[Symbol.iterator]||X["@@iterator"];if(!ye){if(Array.isArray(X)||(ye=(function(Z,ae){if(Z){if(typeof Z=="string")return h(Z,ae);var fe=Object.prototype.toString.call(Z).slice(8,-1);return(fe=fe==="Object"&&Z.constructor?Z.constructor.name:fe)==="Map"||fe==="Set"?Array.from(Z):fe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(fe)?h(Z,ae):void 0}})(X))||V&&X&&typeof X.length=="number")return ye&&(X=ye),J=0,{s:V=function(){},n:function(){return J>=X.length?{done:!0}:{done:!1,value:X[J++]}},e:function(Z){throw Z},f:V};throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
11
|
+
`+r)}}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Mi(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:r}=n;i!==void 0&&Wr.assertOptions(i,{silentJSONParsing:rn.transitional(rn.boolean),forcedJSONParsing:rn.transitional(rn.boolean),clarifyTimeoutError:rn.transitional(rn.boolean),legacyInterceptorReqResOrdering:rn.transitional(rn.boolean)},!1),o!=null&&(W.isFunction(o)?n.paramsSerializer={serialize:o}:Wr.assertOptions(o,{encode:rn.function,serialize:rn.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Wr.assertOptions(n,{baseUrl:rn.spelling("baseURL"),withXsrfToken:rn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=r&&W.merge(r.common,r[n.method]);r&&W.forEach(["delete","get","head","post","put","patch","common"],f=>{delete r[f]}),n.headers=qt.concat(s,r);const a=[];let l=!0;this.interceptors.request.forEach(function(p){if(typeof p.runWhen=="function"&&p.runWhen(n)===!1)return;l=l&&p.synchronous;const _=n.transitional||fc;_&&_.legacyInterceptorReqResOrdering?a.unshift(p.fulfilled,p.rejected):a.push(p.fulfilled,p.rejected)});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const f=[Fd.bind(this),void 0];for(f.unshift(...a),f.push(...c),h=f.length,u=Promise.resolve(n);d<h;)u=u.then(f[d++],f[d++]);return u}h=a.length;let v=n;for(;d<h;){const f=a[d++],p=a[d++];try{v=f(v)}catch(_){p.call(this,_);break}}try{u=Fd.call(this,v)}catch(f){return Promise.reject(f)}for(d=0,h=c.length;d<h;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=Mi(this.defaults,e);const n=rm(e.baseURL,e.url,e.allowAbsoluteUrls);return tm(n,e.params,e.paramsSerializer)}};W.forEach(["delete","get","head","options"],function(e){$i.prototype[e]=function(n,i){return this.request(Mi(i||{},{method:e,url:n,data:(i||{}).data}))}});W.forEach(["post","put","patch"],function(e){function n(i){return function(r,s,a){return this.request(Mi(a||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:r,data:s}))}}$i.prototype[e]=n(),$i.prototype[e+"Form"]=n(!0)});let CS=class um{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const i=this;this.promise.then(o=>{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](o);i._listeners=null}),this.promise.then=o=>{let r;const s=new Promise(a=>{i.subscribe(a),r=a}).then(o);return s.cancel=function(){i.unsubscribe(r)},s},e(function(r,s,a){i.reason||(i.reason=new tr(r,s,a),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=i=>{e.abort(i)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new um(function(o){e=o}),cancel:e}}};function xS(t){return function(n){return t.apply(null,n)}}function TS(t){return W.isObject(t)&&t.isAxiosError===!0}const hl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hl).forEach(([t,e])=>{hl[e]=t});function dm(t){const e=new $i(t),n=Hf($i.prototype.request,e);return W.extend(n,$i.prototype,e,{allOwnKeys:!0}),W.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return dm(Mi(t,o))},n}const ht=dm(er);ht.Axios=$i;ht.CanceledError=tr;ht.CancelToken=CS;ht.isCancel=im;ht.VERSION=cm;ht.toFormData=ks;ht.AxiosError=Fe;ht.Cancel=ht.CanceledError;ht.all=function(e){return Promise.all(e)};ht.spread=xS;ht.isAxiosError=TS;ht.mergeConfig=Mi;ht.AxiosHeaders=qt;ht.formToJSON=t=>nm(W.isHTMLForm(t)?new FormData(t):t);ht.getAdapter=lm.getAdapter;ht.HttpStatusCode=hl;ht.default=ht;const{Axios:sz,AxiosError:az,CanceledError:lz,isCancel:cz,CancelToken:uz,VERSION:dz,all:hz,Cancel:pz,isAxiosError:fz,spread:mz,toFormData:vz,AxiosHeaders:gz,HttpStatusCode:jd,formToJSON:_z,getAdapter:yz,mergeConfig:bz}=ht,hm=new Map,OS={baseURL:"",timeout:1e4};function Nd(t,e){const n=ht.create({...OS,...e});return hm.set(t,n),n}function $S(t="default"){const e=hm.get(t);if(!e)throw new Error(`Instance "${t}" not initialized. Call initInstance() first.`);return e}async function Ee(t,e){const n=t.split("/")[0],i=$S(n);return t=t.replace(n,""),i.request({url:t,...e})}async function kS(t,e){return Ee("__local__/api/v1/comp/check",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function AS(t,e){return Ee("__local__/api/v1/comp/checkCompRepeat",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function PS(t,e){return Ee("__local__/api/v1/comp/compFileHash",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function RS(t,e){return Ee("__local__/api/v1/comp/compFilesOssSignedUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function MS(t,e){return Ee("__local__/api/v1/comp/dep",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function IS(t,e){return Ee("__local__/api/v1/comp/dir",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function DS(t,e){return Ee("__local__/api/v1/comp/download",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function FS(t,e){return Ee("__local__/api/v1/comp/file",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function LS(t,e){return Ee("__local__/api/v1/comp/generateCompJson",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function jS(t,e){return Ee("__local__/api/v1/comp/localCompDetailByPathHash",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function NS(t,e){return Ee("__local__/api/v1/comp/localComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function US(t,e){return Ee("__local__/api/v1/comp/localCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function zS(t,e){return Ee("__local__/api/v1/comp/openCompPathInVscode",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function VS(t){return Ee("__local__/api/v1/comp/packageJson",{method:"POST",...t||{}})}async function BS(t,e){return Ee("__local__/api/v1/comp/submit",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function HS(t,e){return Ee("__local__/api/v1/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function qS(t,e){return Ee("__local__/api/v1/comp/updateVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const WS=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheck:kS,compcontrollerCheckcomprepeat:AS,compcontrollerCompfilehash:PS,compcontrollerCompfilesosssignedurl:RS,compcontrollerDep:MS,compcontrollerDir:IS,compcontrollerDownload:DS,compcontrollerFile:FS,compcontrollerGeneratecompjson:LS,compcontrollerLocalcompdetailbypathhash:jS,compcontrollerLocalcomps:NS,compcontrollerLocalcompsbyids:US,compcontrollerOpencomppathinvscode:zS,compcontrollerPackagejson:VS,compcontrollerSubmit:BS,compcontrollerUpdate:HS,compcontrollerUpdateversion:qS},Symbol.toStringTag,{value:"Module"}));async function KS(t){return Ee("__local__/api/v1/module/clearPreBuild",{method:"POST",...t||{}})}async function YS(t,e){return Ee("__local__/api/v1/module/preBuild",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function GS(t){return Ee("__local__/api/v1/module/preBuildSize",{method:"POST",...t||{}})}const QS=Object.freeze(Object.defineProperty({__proto__:null,modulecontrollerClearprebuild:KS,modulecontrollerPrebuild:YS,modulecontrollerPrebuildsize:GS},Symbol.toStringTag,{value:"Module"}));async function XS(t,e){return Ee("__local__/api/v1/oss/fileSignUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const JS=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerFilesignurl:XS},Symbol.toStringTag,{value:"Module"}));async function ZS(t,e){return Ee("__local__/api/v1/preprocessing/preprocess",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const eC=Object.freeze(Object.defineProperty({__proto__:null,preprocessingcontrollerPreprocess:ZS},Symbol.toStringTag,{value:"Module"}));async function tC(t,e){return Ee("__local__/api/v1/vuefinder/list",{method:"GET",params:{...t},...e||{}})}const nC=Object.freeze(Object.defineProperty({__proto__:null,vuefindercontrollerList:tC},Symbol.toStringTag,{value:"Module"})),iC={v1Comp:WS,v1Module:QS,v1Oss:JS,v1Preprocessing:eC,v1Vuefinder:nC};async function oC(t,e){return Ee("__remote__/api/v1/comp/checkCompExistByHash",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function rC(t,e){return Ee("__remote__/api/v1/comp/checkCompExistById",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function sC(t,e){return Ee("__remote__/api/v1/comp/checkVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function aC(t,e){return Ee("__remote__/api/v1/comp/collect",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function lC(t,e){return Ee("__remote__/api/v1/comp/collectedComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function cC(t,e){return Ee("__remote__/api/v1/comp/compDetail",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function uC(t,e){return Ee("__remote__/api/v1/comp/compHash",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function dC(t,e){return Ee("__remote__/api/v1/comp/comps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function hC(t,e){return Ee("__remote__/api/v1/comp/compsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function pC(t,e){return Ee("__remote__/api/v1/comp/deleteFailedComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function fC(t,e){return Ee("__remote__/api/v1/comp/deleteMyComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function mC(t,e){return Ee("__remote__/api/v1/comp/existCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function vC(t,e){return Ee("__remote__/api/v1/comp/myComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function gC(t,e){return Ee("__remote__/api/v1/comp/similarComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function _C(t,e){return Ee("__remote__/api/v1/comp/softDelete",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function yC(t,e){return Ee("__remote__/api/v1/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function bC(t,e){return Ee("__remote__/api/v1/comp/updateBasicInfo",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function wC(t,e){return Ee("__remote__/api/v1/comp/updateCompDownloadCount",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function EC(t,e){return Ee("__remote__/api/v1/comp/updateObjectId",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function SC(t,e){return Ee("__remote__/api/v1/comp/upgradeRecords",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function CC(t,e){return Ee("__remote__/api/v1/comp/upload",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function xC(t,e){return Ee("__remote__/api/v1/comp/versions",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const TC=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheckcompexistbyhash:oC,compcontrollerCheckcompexistbyid:rC,compcontrollerCheckversion:sC,compcontrollerCollect:aC,compcontrollerCollectedcomps:lC,compcontrollerCompdetail:cC,compcontrollerComphash:uC,compcontrollerComps:dC,compcontrollerCompsbyids:hC,compcontrollerDeletefailedcomp:pC,compcontrollerDeletemycomp:fC,compcontrollerExistcompsbyids:mC,compcontrollerMycomps:vC,compcontrollerSimilarcomps:gC,compcontrollerSoftdelete:_C,compcontrollerUpdate:yC,compcontrollerUpdatebasicinfo:bC,compcontrollerUpdatecompdownloadcount:wC,compcontrollerUpdateobjectid:EC,compcontrollerUpgraderecords:SC,compcontrollerUpload:CC,compcontrollerVersions:xC},Symbol.toStringTag,{value:"Module"}));async function OC(t){return Ee("__remote__/api/v1/csrf/csrf",{method:"GET",...t||{}})}const $C=Object.freeze(Object.defineProperty({__proto__:null,csrfcontrollerGetcsrftoken:OC},Symbol.toStringTag,{value:"Module"}));async function kC(t,e){return Ee("__remote__/api/v1/email/sendCode",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const AC=Object.freeze(Object.defineProperty({__proto__:null,emailcontrollerSendcode:kC},Symbol.toStringTag,{value:"Module"}));async function PC(t,e){return Ee("__remote__/api/v1/keyword/queryKeywordsComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const RC=Object.freeze(Object.defineProperty({__proto__:null,keywordcontrollerQuerykeywordscomp:PC},Symbol.toStringTag,{value:"Module"}));async function MC(t){return Ee("__remote__/api/v1/oss/compOssDir",{method:"POST",...t||{}})}async function IC(t){return Ee("__remote__/api/v1/oss/getSts",{method:"POST",...t||{}})}async function DC(t,e){return Ee("__remote__/api/v1/oss/putPolicy",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const FC=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerCompossdir:MC,osscontrollerGetsts:IC,osscontrollerPutpolicy:DC},Symbol.toStringTag,{value:"Module"}));async function LC(t,e){return Ee("__remote__/api/v1/team/addToTeamMyComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function jC(t){return Ee("__remote__/api/v1/team/allMember",{method:"POST",...t||{}})}async function NC(t,e){return Ee("__remote__/api/v1/team/applyList",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function UC(t,e){return Ee("__remote__/api/v1/team/checkCompUpdatePermission",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function zC(t,e){return Ee("__remote__/api/v1/team/copyComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function VC(t,e){return Ee("__remote__/api/v1/team/create",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function BC(t){return Ee("__remote__/api/v1/team/created",{method:"POST",...t||{}})}async function HC(t,e){return Ee("__remote__/api/v1/team/delete",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function qC(t){return Ee("__remote__/api/v1/team/detail",{method:"POST",...t||{}})}async function WC(t){return Ee("__remote__/api/v1/team/exit",{method:"POST",...t||{}})}async function KC(t,e){return Ee("__remote__/api/v1/team/findByCode",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function YC(t,e){return Ee("__remote__/api/v1/team/handleApply",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function GC(t,e){return Ee("__remote__/api/v1/team/join",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function QC(t){return Ee("__remote__/api/v1/team/joined",{method:"POST",...t||{}})}async function XC(t,e){return Ee("__remote__/api/v1/team/kickOut",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function JC(t,e){return Ee("__remote__/api/v1/team/member",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function ZC(t,e){return Ee("__remote__/api/v1/team/myTeamComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function e2(t,e){return Ee("__remote__/api/v1/team/removeComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function t2(t,e){return Ee("__remote__/api/v1/team/removeMyTeamComp",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function n2(t,e){return Ee("__remote__/api/v1/team/teamComps",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function i2(t,e){return Ee("__remote__/api/v1/team/update",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function o2(t,e){return Ee("__remote__/api/v1/team/updateCompCanUpdateUsers",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function r2(t,e){return Ee("__remote__/api/v1/team/updateMenu",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function s2(t,e){return Ee("__remote__/api/v1/team/updateTeamUserNickname",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const a2=Object.freeze(Object.defineProperty({__proto__:null,teamcontrollerAddtoteammycomps:LC,teamcontrollerAllmember:jC,teamcontrollerApplylist:NC,teamcontrollerCheckcompupdatepermission:UC,teamcontrollerCopycomp:zC,teamcontrollerCreate:VC,teamcontrollerCreated:BC,teamcontrollerDelete:HC,teamcontrollerDetail:qC,teamcontrollerExit:WC,teamcontrollerFindbycode:KC,teamcontrollerHandleapply:YC,teamcontrollerJoin:GC,teamcontrollerJoined:QC,teamcontrollerKickout:XC,teamcontrollerMember:JC,teamcontrollerMyteamcomps:ZC,teamcontrollerRemovecompfromteam:e2,teamcontrollerRemovemyteamcomp:t2,teamcontrollerTeamcomps:n2,teamcontrollerUpdate:i2,teamcontrollerUpdatecompcanupdateusers:o2,teamcontrollerUpdatemenu:r2,teamcontrollerUpdateteamusernickname:s2},Symbol.toStringTag,{value:"Module"}));async function l2(t){return Ee("__remote__/api/v1/token/approachExpire",{method:"POST",...t||{}})}async function c2(t){return Ee("__remote__/api/v1/token/refresh",{method:"POST",...t||{}})}const u2=Object.freeze(Object.defineProperty({__proto__:null,tokencontrollerApproachexpire:l2,tokencontrollerRefresh:c2},Symbol.toStringTag,{value:"Module"}));async function d2(t,e){return Ee("__remote__/api/v1/upgrade/check",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function h2(t){return Ee("__remote__/api/v1/upgrade/logs",{method:"POST",...t||{}})}async function p2(t,e){return Ee("__remote__/api/v1/upgrade/publish",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const f2=Object.freeze(Object.defineProperty({__proto__:null,upgradecontrollerCheck:d2,upgradecontrollerLogs:h2,upgradecontrollerPublish:p2},Symbol.toStringTag,{value:"Module"}));async function m2(t,e){return Ee("__remote__/api/v1/user/changeAvatar",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function v2(t,e){return Ee("__remote__/api/v1/user/changeNickname",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function g2(t,e){return Ee("__remote__/api/v1/user/changePassword",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function _2(t){return Ee("__remote__/api/v1/user/checkPassword",{method:"POST",...t||{}})}async function y2(t,e){return Ee("__remote__/api/v1/user/login",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function b2(t,e){return Ee("__remote__/api/v1/user/setAllowEmailLogin",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function w2(t,e){return Ee("__remote__/api/v1/user/updateEmail",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}async function E2(t){return Ee("__remote__/api/v1/user/userInfo",{method:"POST",...t||{}})}async function S2(t){return Ee("__remote__/api/v1/user/whoAmI",{method:"POST",...t||{}})}const C2=Object.freeze(Object.defineProperty({__proto__:null,usercontrollerChangeavatar:m2,usercontrollerChangenickname:v2,usercontrollerChangepassword:g2,usercontrollerCheckpassword:_2,usercontrollerLogin:y2,usercontrollerSetallowemaillogin:b2,usercontrollerUpdateemail:w2,usercontrollerUserinfo:E2,usercontrollerWhoami:S2},Symbol.toStringTag,{value:"Module"}));async function x2(t,e){return Ee("__remote__/api/v2/upgrade/check",{method:"POST",headers:{"Content-Type":"application/json"},data:t,...e||{}})}const T2=Object.freeze(Object.defineProperty({__proto__:null,upgradecontrollerv2Check:x2},Symbol.toStringTag,{value:"Module"})),ki={v1Comp:TC,v1Csrf:$C,v1Email:AC,v1Keyword:RC,v1Oss:FC,v1Team:a2,v1Token:u2,v1Upgrade:f2,v1User:C2,v2Upgrade:T2},O2=vi("personalStore",{state:()=>({userInfo:{},isPasswordSet:!1}),getters:{isAllowEmailLogin(t){return t.userInfo?.isAllowEmailLogin??!1}},actions:{setUserInfo(t){this.$patch(e=>{e.userInfo=t})},setIsPasswordSet(t){this.$patch(e=>{e.isPasswordSet=t})},async initUserInfo(){const t=await ki.v1User.usercontrollerUserinfo();t.code===0&&this.setUserInfo(t.data)},async setEmail(t){this.$patch(e=>{e.userInfo.email=t})},async setNickname(t){this.$patch(e=>{e.userInfo.nickname=t})},async setAllowEmailLogin(t){await ki.v1User.usercontrollerSetallowemaillogin({allow:t}).then(()=>{this.$patch(e=>{e.userInfo.isAllowEmailLogin=t})})}}}),$2=vi("moduleStore",{state:()=>({modules:{}}),actions:{setModules(t,e){this.$patch(n=>{n.modules[t]=e})},async loadModule(t){if(this.modules[t])return this.modules[t];const e=await import(t);return this.setModules(t,e),e}}}),_r=Ji(U0,!0),gc=vi("appStore",{state:()=>({}),getters:{collapse(){return _r.value}},actions:{toggleSideBar(){_r.value=!_r.value},setSideBarCollapse(t){t!==this.collapse&&(_r.value=t)}}}),k2=vi("team",{state:()=>({joinedTeams:[],createdTeams:[]}),actions:{setJoinedTeams(t){this.$patch(e=>{e.joinedTeams=t})},setCreatedTeams(t){this.$patch(e=>{e.createdTeams=t})},removeCreatedTeam(t){this.$patch(e=>{e.createdTeams=e.createdTeams.filter(n=>n._id!==t)})},addCreatedTeam(t){this.$patch(e=>{e.createdTeams.some(i=>i._id===t._id)||e.createdTeams.push(t)})},addJoinedTeam(t){this.$patch(e=>{e.joinedTeams.some(i=>i._id===t._id)||e.joinedTeams.push(t)})},removeJoinedTeam(t){this.$patch(e=>{e.joinedTeams=e.joinedTeams.filter(n=>n._id!==t)})},updateCreatedTeamItemById(t,e){this.$patch(n=>{const i=n.createdTeams.findIndex(o=>o._id===t);i!==-1&&(n.createdTeams[i]=e)})},getTeamDetail(t){return this.joinedTeams.find(n=>n._id===t)||this.createdTeams.find(n=>n._id===t)}}});function yr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)i!=="__proto__"&&(t[i]=n[i])}return t}var A2={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function pl(t,e){function n(o,r,s){if(!(typeof document>"u")){s=yr({},e,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,s[l]!==!0&&(a+="="+s[l].split(";")[0]));return document.cookie=o+"="+t.write(r,o)+a}}function i(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var r=document.cookie?document.cookie.split("; "):[],s={},a=0;a<r.length;a++){var l=r[a].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(u in s||(s[u]=t.read(c,u)),o===u)break}catch{}}return o?s[o]:s}}return Object.create({set:n,get:i,remove:function(o,r){n(o,"",yr({},r,{expires:-1}))},withAttributes:function(o){return pl(this.converter,yr({},this.attributes,o))},withConverter:function(o){return pl(yr({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var pm=pl(A2,{path:"/"});const P2={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量"},R2={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在 VS Code 中打开",openingInEditor:"在编辑器中打开...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"}},M2={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},I2={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录"},D2={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},F2={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},L2={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",mdPreview:"文档预览",unknownTag:"未知标签"},j2={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},N2={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},U2={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},z2={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},V2={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},B2={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},H2={submit:"提交"},q2={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},W2={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},K2={common:P2,comp:R2,team:M2,user:I2,file:D2,message:F2,route:L2,markdown:j2,terminal:N2,deps:U2,setting:z2,upgrade:V2,tag:B2,formCreate:H2,validateHash:q2,project:W2},Y2={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count"},G2={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in VS Code",openingInEditor:"Opening in editor...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"}},Q2={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},X2={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login"},J2={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},Z2={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},ex={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",mdPreview:"Document Preview",unknownTag:"Unknown Tag"},tx={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},nx={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},ix={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},ox={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},rx={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},sx={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},ax={submit:"Submit"},lx={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},cx={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},ux={common:Y2,comp:G2,team:Q2,user:X2,file:J2,message:Z2,route:ex,markdown:tx,terminal:nx,deps:ix,setting:ox,upgrade:rx,tag:sx,formCreate:ax,validateHash:lx,project:cx},dx={zh:K2,en:ux},hx=localStorage.getItem(xb.LOCALE_KEY)||"zh",fm=m_({locale:hx,messages:dx,legacy:!1});function mm(t){t.use(fm)}const _c=Object.freeze(Object.defineProperty({__proto__:null,i18n:fm,setup:mm},Symbol.toStringTag,{value:"Module"}));function px({store:t}){t.$subscribe((...e)=>{const[n]=e;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const fl=v_();function vm(t){fl.use(px),t.use(fl)}const fx=Object.freeze(Object.defineProperty({__proto__:null,pinia:fl,setup:vm},Symbol.toStringTag,{value:"Module"}));function mx(t){t.component("Icon",Gw)}const{i18n:br}=_c,{pinia:la}=fx,Qi=vi("userStore",{state:()=>({userInfo:{},logoutDialogOpen:!1}),getters:{userId:t=>t.userInfo._id,displayName(t){return t.userInfo.nickname||t.userInfo.account||br.global.t("user.notLoggedIn")},avatar:t=>t.userInfo.avatar,avatarStr(t){return t.userInfo.nickname?.[0]||t.userInfo.account?.[0]||""}},actions:{async fetchCsrfToken(){pm.get(bt.CSRF_KEY)||await ki.v1Csrf.csrfcontrollerGetcsrftoken()},updateAvatar(t){this.$patch(e=>{e.userInfo&&(e.userInfo.avatar=t)})},updateNickname(t){this.$patch(e=>{e.userInfo&&(e.userInfo.nickname=t)})},setLogoutDialogOpen(t){this.$patch(e=>{e.logoutDialogOpen=t})},setUserInfo(t){this.$patch(e=>{e.userInfo=t})},login(t){return ki.v1User.usercontrollerLogin({...t})},async fetchWhoAmI(){const t=await ki.v1User.usercontrollerWhoami();t.data&&this.setUserInfo(t.data)},logout(){no.push("/login?type=logout").then(t=>{t||(this.clearLocalStorage(),this.resetAll(),this.$reset())})},resetAll(){const t=Qo(),e=O2(),n=$2(),i=gc(),o=k2();t?.$reset(),e?.$reset(),n?.$reset(),i?.$reset(),o?.$reset(),this.clearTeamHomeStores(),this.clearCompListStores(),this.clearCompEditStore()},clearLocalStorage(){F0(),N0()},clearTeamHomeStores(){for(const[t,e]of la._s.entries())t.startsWith("teamHome")&&e.$reset()},clearCompListStores(){for(const[t,e]of la._s.entries())t.startsWith("compList")&&e.$reset()},clearCompEditStore(){for(const[t,e]of la._s.entries())t.startsWith("compEdit")&&e.$reset()},isRealUserLogin(){const t=Object.keys(this.userInfo),e=is();return t.length>0&&e!==null},isAccessTokenExist(){return is()!==null},logoutDialog(){if(this.logoutDialogOpen)return;this.setLogoutDialogOpen(!0);const t={confirmButtonText:br.global.t("user.goLogin"),showClose:!0,callback:e=>{this.setLogoutDialogOpen(!1),e==="confirm"&&this.logout()}};Y_.alert(br.global.t("message.loginRequired"),br.global.t("common.info"),t)}}}),vx=Se({__name:"SubMenu",props:{route:{},basePath:{}},setup(t){const{getTitle:e}=hc(),n=t,i=Qi(),o=(c,u="")=>B1.resolve(c,u),r=te(()=>o(n.basePath||"",n.route.path)),s=te(()=>(n.route.children||[]).some(c=>!c.meta?.hidden)),a=te(()=>{const{children:c=[]}=n.route;return c.length===0||c.length===1&&!c[0]?.children?.length}),l=te(()=>{const{children:c=[],meta:u={}}=n.route;return u?.hidden?!1:i.isRealUserLogin()||c.length>0?!0:!i.isAccessTokenExist()&&n.route.meta?.noAuth});return(c,u)=>{const d=ze("SubMenu",!0),h=Ao,v=G_;return l.value?(y(),T(Me,{key:0},[t.route.meta?.hideParent&&s.value?(y(!0),T(Me,{key:0},He(t.route.children,f=>(y(),ne(d,{key:o(r.value,f.path),route:f,"base-path":o(r.value,f.path)},null,8,["route","base-path"]))),128)):(y(),T(Me,{key:1},[a.value?(y(),ne(q1,{key:0,route:t.route,"full-path":r.value},null,8,["route","full-path"])):(y(),ne(v,{key:1,index:r.value},{title:we(()=>[j(h,null,{default:we(()=>[(y(),ne(Ot(t.route?.meta?.icon)))]),_:1}),g("span",null,L(m(e)(t.route?.meta?.title)),1)]),default:we(()=>[(y(!0),T(Me,null,He(t.route.children,f=>(y(),ne(d,{key:o(r.value,f.path),route:f,"base-path":o(r.value,f.path)},null,8,["route","base-path"]))),128))]),_:1},8,["index"]))],64))],64)):ue("",!0)}}}),gx=Se({__name:"index",setup(t){const e=gc(),n=_s(),i=tc(),o=te(()=>n.options.routes),r=te(()=>i.path);return(s,a)=>{const l=Q_;return y(),ne(l,{class:"dark:!bg-gray-800 border-t border-gray-200 dark:border-gray-700",collapse:m(e).collapse,"default-active":r.value},{default:we(()=>[(y(!0),T(Me,null,He(o.value,c=>(y(),T(Me,null,[c?.meta?.hidden?ue("",!0):(y(),ne(vx,{key:c.path,basePath:c.path,route:c},null,8,["basePath","route"]))],64))),256))]),_:1},8,["collapse","default-active"])}}}),_x={class:"flex gap-[20px] items-center pl-[10px] pr-[10px]"},yx=["title"],bx=["title"],wx=["title"],Ex={class:"flex items-center gap-[10px]"},Sx=Se({__name:"index",setup(t){const{t:e}=Ko(),n=Qo(),i=_s(),o=tc(),r=Ji(Ef,10),s=H(n.maxCache),a=()=>{i.back()},l=()=>{i.replace({path:o.path,query:{...o.query,[bt.ROUTE_STATE_KEY_VERSION]:Date.now()}})};function c(u){u&&n.setMaxCache(u)}return Nt(()=>{r.value=n.maxCache}),(u,d)=>{const h=ze("Icon"),v=nl,f=tl;return y(),T("div",_x,[g("span",{title:m(e)("common.back")},[j(h,{icon:"material-symbols:arrow-back-rounded",class:"cursor-pointer",onClick:a})],8,yx),g("span",{title:m(e)("common.refresh")},[j(h,{icon:"material-symbols:refresh-rounded",class:"cursor-pointer",onClick:l})],8,bx),j(f,{placement:"bottom",trigger:"hover",width:"auto"},{reference:we(()=>[g("span",{title:m(e)("common.moreOperations")},[j(h,{icon:"material-symbols:article-outline",class:"cursor-pointer"})],8,wx)]),default:we(()=>[g("div",Ex,[g("div",null,L(m(e)("common.maxTagCount"))+":",1),g("div",null,[j(v,{modelValue:s.value,"onUpdate:modelValue":d[0]||(d[0]=p=>s.value=p),min:1,style:{width:"90px"},"controls-position":"right",onChange:c},null,8,["modelValue"])])])]),_:1})])}}}),Cx={class:"flex dark:bg-gray-800 py-[2px] h-[40px] border border-gray-200 dark:border-gray-700"},xx=Se({__name:"index",setup(t){const{t:e}=Ko(),n=_s(),i=tc(),o=Qo(),{getTitle:r}=hc();Oe(()=>i,()=>{o.addView(i)},{immediate:!0,deep:!0});const s=te(()=>o.visitedViews),a=te(()=>s.value.length===1);function l(h){const v=c(h);o.delViewAndJumpToPrev(h.path,v,n)}function c(h){return h.path===i.path}function u(h){n.push(h)}function d(h){const v=h?.meta?.title||e("route.unknownTag"),f=o.getPayLoad(h.path);return r(f?.name||v)}return(h,v)=>{const f=ze("Icon"),p=Ao,_=Gi,S=X_;return y(),T("div",Cx,[j(Sx),j(m(Q0),{class:"flex-1 overflow-hidden",list:s.value,getKey:w=>w.path},{display:we(({visibleList:w,overflow:E})=>[j(g_,{tag:"ul",name:"fade",class:"flex gap-[5px] p-[2px] items-center"},{default:we(()=>[(y(!0),T(Me,null,He(w,b=>(y(),T("div",{key:b.path},[j(_,{type:c(b)?"primary":"default",onClick:C=>u(b)},{default:we(()=>[Ke(L(d(b))+" ",1),a.value?ue("",!0):(y(),ne(p,{key:0,style:{"font-size":"16px"},class:"ml-[5px]",onClick:Ye(C=>l(b),["stop"])},{default:we(()=>[j(f,{icon:"material-symbols:close"})]),_:1},8,["onClick"]))]),_:2},1032,["type","onClick"])]))),128)),E>0?(y(),ne(S,{key:0,type:"info"},{default:we(()=>[Ke("+"+L(E)+" "+L(m(e)("common.more")),1)]),_:2},1024)):ue("",!0)]),_:2},1024)]),measure:we(({item:w})=>[j(_,{type:"primary"},{default:we(()=>[Ke(L(d(w))+" ",1),a.value?ue("",!0):(y(),ne(p,{key:0,style:{"font-size":"16px"},class:"ml-[5px]"},{default:we(()=>[j(f,{icon:"material-symbols:close"})]),_:1}))]),_:2},1024)]),_:1},8,["list","getKey"])])}}}),Tx=rc(xx,[["__scopeId","data-v-8b93a5e3"]]),Ox={class:"size-full overflow-hidden"},$x={class:"h-[60px] dark:bg-gray-800"},kx={class:"size-full overflow-hidden flex flex-col dark:bg-gray-800"},Ax={class:"dark:bg-gray-800"},Px={class:"size-full flex flex-col"},Rx={class:""},Mx={class:"flex-1 overflow-auto"},Ix=Se({__name:"index",setup(t){const e=qn(()=>nt(()=>import("./index-EDA2t2OE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)),n=qn(()=>nt(()=>import("./index-DrbX7elo.js"),__vite__mapDeps([8,1,2,9,10,11,12,13,14,15,16,17,18,6]),import.meta.url)),i=H(68),o=H(200),r=H(60),s=H(""),a=H(""),l=te(()=>s.value?"transition-width duration-400":""),c=te(()=>a.value?"transition-height duration-300":""),u=te(()=>({class:c.value,size:v.value,collapsible:!0,resizable:!1})),d=te(()=>({class:l.value,min:i.value,max:300,collapsible:!0})),h=Ji(z0,i.value),v=Ji(V0,r.value),f=gc(),p=Qi(),_=async(E,b)=>{s.value=b,b==="end"&&h.value===0?(h.value=o.value,window?.umami?.track(nd.SIDEBAR_TOGGLE,{state:"expanded"})):b==="start"&&window?.umami?.track(nd.SIDEBAR_TOGGLE,{state:"collapsed"})},S=(E,b)=>{a.value=b,b==="start"?v.value=0:b==="end"&&(v.value=r.value)},w=E=>{E==="header"?a.value="":E==="side"&&(s.value="")};return Nt(()=>{f.setSideBarCollapse(h.value===i.value)}),(E,b)=>{const C=J_,x=ey,k=Z_;return y(),T("div",Ox,[j(k,{layout:"vertical",onCollapse:S},{default:we(()=>[j(C,We({class:"!overflow-hidden transform-gpu isolate will-change-height"},u.value,{onTransitionend:b[0]||(b[0]=O=>w("header")),onWebkitTransitionEnd:b[1]||(b[1]=O=>w("header"))}),{default:we(()=>[g("div",$x,[j(m(n))])]),_:1},16),j(C,{class:Ae(["transform-gpu isolate",c.value])},{default:we(()=>[j(k,{onCollapse:_},{default:we(()=>[j(C,We(d.value,{size:m(h),"onUpdate:size":b[2]||(b[2]=O=>ys(h)?h.value=O:null),class:"transform-gpu isolate will-change-width",onTransitionend:b[3]||(b[3]=O=>w("side")),onWebkitTransitionEnd:b[4]||(b[4]=O=>w("side"))}),{default:we(()=>[g("div",kx,[j(gx),m(p).isRealUserLogin()?(y(),T(Me,{key:0},[g("div",Ax,[j(x)]),j(m(e))],64)):ue("",!0)])]),_:1},16,["size"]),j(C,{class:Ae(["transform-gpu isolate !overflow-hidden",l.value])},{default:we(()=>[g("div",Px,[g("div",Rx,[j(Tx)]),g("div",Mx,[(y(),ne(__,null,{default:we(()=>[j(U1)]),_:1}))])])]),_:1},8,["class"])]),_:1})]),_:1},8,["class"])]),_:1})])}}});let no;function Dx(){const t=window.__GLOBAL_CONFIG__?.projectHash,e=t?`/${t}/main/`:`/${bt.WEBSITE_PATH_MAIN}/`;return no=y_({history:b_(e),routes:[{path:"/login",name:"login",component:()=>nt(()=>import("./index-CdzjeO0x.js"),__vite__mapDeps([19,1,2,12,13,14,20,21,3,22,23,18]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.login"}},{path:"/upgrade",name:"upgrade",component:()=>nt(()=>import("./index-ZoaJ6v2i.js"),__vite__mapDeps([24,1,2,12,22,25,26,7,27]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.upgrade"}},{path:"/mdPreview",name:"mdPreview",component:()=>nt(()=>import("./index-BwgMUal7.js"),__vite__mapDeps([28,1,2,29,25,30]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.mdPreview"}},{path:"/previewBlank/:compId/:version?",name:"previewBlank",component:()=>nt(()=>import("./index-B8k-Kh_A.js"),__vite__mapDeps([31,2,32,33,1,34,4]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.preview"}},{path:"/previewLocalBlank/:compId",name:"previewLocalBlank",component:()=>nt(()=>import("./index-CY6_9tAe.js"),__vite__mapDeps([35,2,36,37,1,15,34,4]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.previewLocal"}},{path:"/similarPreview/:compId",name:"similarPreview",component:()=>nt(()=>import("./index-DOd1x8nw.js"),__vite__mapDeps([38,1,2,39,40,41,42,43,44,45,32,36,10,15,46,5,4,34,18,47,29,25,30,48,7,33,49,50,51]),import.meta.url),meta:{hidden:!0,noAuth:!0,title:"route.similarPreview"}},{path:"/",component:Ix,redirect:"/share",meta:{hideParent:!0},children:[{path:"/share",name:"share",meta:{title:"route.share",icon:qn(()=>nt(()=>import("./home-rounded-BhKYWFxg.js"),__vite__mapDeps([52,16,2,53]),import.meta.url)),noAuth:!0},component:()=>nt(()=>import("./index-CAsY0Xb9.js"),__vite__mapDeps([54,1,2,45,32,36,10,15,46,5,4,34,18,55]),import.meta.url)},{path:"/mine",name:"mine",meta:{title:"route.mine",icon:qn(()=>nt(()=>import("./supervised-user-circle-C6l0wkza.js"),__vite__mapDeps([56,16,2,57]),import.meta.url))},component:()=>nt(()=>import("./index-DEGdQmAx.js"),__vite__mapDeps([58,1,2,45,32,36,10,15,46,5,4,34,18,59,60,61,29,25,30,49,50,3,62,7,63,55]),import.meta.url)},{path:"/collect",name:"collect",meta:{title:"route.collect",icon:qn(()=>nt(()=>import("./kid-star-DD-9HSxX.js"),__vite__mapDeps([64,16,2,65]),import.meta.url))},component:()=>nt(()=>import("./index-DPdwbYvx.js"),__vite__mapDeps([66,1,2,45,32,36,10,15,46,5,4,34,18,55]),import.meta.url)},{path:"/local",name:"local",meta:{title:"route.local",icon:qn(()=>nt(()=>import("./sync-saved-locally-rounded-Cgz-NvDy.js"),__vite__mapDeps([67,16,2,68]),import.meta.url)),noAuth:!0},component:()=>nt(()=>import("./index-CiSJMy_Y.js"),__vite__mapDeps([69,1,2,45,32,36,10,15,46,5,4,34,18]),import.meta.url)},{path:"/upload",name:"upload",meta:{title:"route.upload",icon:qn(()=>nt(()=>import("./cloud-upload-Cdco6849.js"),__vite__mapDeps([70,16,2,71]),import.meta.url)),noAuth:!0,hidden:!0},component:()=>nt(()=>import("./index-CadXipX3.js"),__vite__mapDeps([72,1,2,60,32,4,61,34,29,25,30,5,49,50,3,62,7,18,44,46,27]),import.meta.url)},{path:"/uploadTeam/:teamId",name:"uploadTeam",meta:{title:"route.uploadTeam",hidden:!0},component:()=>nt(()=>import("./index-CadXipX3.js"),__vite__mapDeps([72,1,2,60,32,4,61,34,29,25,30,5,49,50,3,62,7,18,44,46,27]),import.meta.url)},{path:"/userInfo",name:"userInfo",meta:{title:"route.userInfo",hidden:!0},component:()=>nt(()=>import("./index-BRZurz58.js"),__vite__mapDeps([73,1,2,21,3,5,20,74,9,10,11,75,7]),import.meta.url)},{path:"/preview/:compId",meta:{title:"route.preview",noAuth:!0,hidden:!0},component:()=>nt(()=>import("./index-DOd1x8nw.js"),__vite__mapDeps([38,1,2,39,40,41,42,43,44,45,32,36,10,15,46,5,4,34,18,47,29,25,30,48,7,33,49,50,51]),import.meta.url)},{path:"/previewLocal/:compId",meta:{title:"route.previewLocal",hidden:!0,noAuth:!0},component:()=>nt(()=>import("./index-BrArZ42r.js"),__vite__mapDeps([76,1,2,36,47,29,25,30,46,45,32,10,15,5,4,34,18,48,7,37,49]),import.meta.url)},{path:"/previewTeam/:teamId/:compId",meta:{title:"route.previewTeam",noAuth:!0,hidden:!0},props:{isTeamPreview:!0},component:()=>nt(()=>import("./index-DOd1x8nw.js"),__vite__mapDeps([38,1,2,39,40,41,42,43,44,45,32,36,10,15,46,5,4,34,18,47,29,25,30,48,7,33,49,50,51]),import.meta.url)},{path:"/terminal",name:"terminal",meta:{title:"route.terminal",icon:qn(()=>nt(()=>import("./terminal-DIdElzFh.js"),__vite__mapDeps([77,16,2,78]),import.meta.url)),noAuth:!0},component:()=>nt(()=>import("./index-B6QLWqnu.js"),__vite__mapDeps([79,41,2,42,1,43]),import.meta.url)},{path:"/setting",name:"setting",meta:{title:"route.setting",icon:qn(()=>nt(()=>import("./settings-f8ZwrSyv.js"),__vite__mapDeps([80,16,2,81]),import.meta.url)),noAuth:!0},component:()=>nt(()=>import("./index-0jUB6F-4.js"),__vite__mapDeps([82,1,2,50,83,7]),import.meta.url)},{path:"/team/:teamId",name:"team",meta:{title:"route.team",hidden:!0},component:()=>nt(()=>import("./index-B329MLgw.js"),__vite__mapDeps([84,1,2,39,40,9,10,11,45,32,36,15,46,5,4,34,18,3,55,16,50,85,7]),import.meta.url)}]},{path:"/:pathMatch(.*)*",name:"404",meta:{hidden:!0,noAuth:!0,title:"route.404"},component:()=>nt(()=>import("./index-IVEhJl2W.js"),__vite__mapDeps([86,2,1]),import.meta.url)}]}),no}function Fx(t){Dx(),t.use(no)}const Lx=H([]);function jx(t){const e=nc(P1,{errors:Lx.value}),n=document.createElement("div");n.id="error-container",e.mount(n),document.body.appendChild(n)}var Kr={exports:{}},Nx=Kr.exports,Ud;function Ux(){return Ud||(Ud=1,(function(t,e){(function(n,i){t.exports=i()})(Nx,function(){function n(X){return(n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V})(X)}function i(X,V){if(!(X instanceof V))throw new TypeError("Cannot call a class as a function")}function o(X,V){for(var J=0;J<V.length;J++){var ye=V[J];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(X,ye.key,ye)}}function r(X,V,J){V&&o(X.prototype,V),J&&o(X,J),Object.defineProperty(X,"prototype",{writable:!1})}function s(X,V,J){V in X?Object.defineProperty(X,V,{value:J,enumerable:!0,configurable:!0,writable:!0}):X[V]=J}function a(X,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");X.prototype=Object.create(V&&V.prototype,{constructor:{value:X,writable:!0,configurable:!0}}),Object.defineProperty(X,"prototype",{writable:!1}),V&&c(X,V)}function l(X){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(V){return V.__proto__||Object.getPrototypeOf(V)})(X)}function c(X,V){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(J,ye){return J.__proto__=ye,J})(X,V)}function u(X,V){if(V&&(typeof V=="object"||typeof V=="function"))return V;if(V!==void 0)throw new TypeError("Derived constructors may only return object or undefined");if(V=X,V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}function d(X){var V=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}})();return function(){var J,ye=l(X);return u(this,V?(J=l(this).constructor,Reflect.construct(ye,arguments,J)):ye.apply(this,arguments))}}function h(X,V){(V==null||V>X.length)&&(V=X.length);for(var J=0,ye=new Array(V);J<V;J++)ye[J]=X[J];return ye}function v(X,V){var J,ye=typeof Symbol<"u"&&X[Symbol.iterator]||X["@@iterator"];if(!ye){if(Array.isArray(X)||(ye=(function(Z,ae){if(Z){if(typeof Z=="string")return h(Z,ae);var fe=Object.prototype.toString.call(Z).slice(8,-1);return(fe=fe==="Object"&&Z.constructor?Z.constructor.name:fe)==="Map"||fe==="Set"?Array.from(Z):fe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(fe)?h(Z,ae):void 0}})(X))||V&&X&&typeof X.length=="number")return ye&&(X=ye),J=0,{s:V=function(){},n:function(){return J>=X.length?{done:!0}:{done:!1,value:X[J++]}},e:function(Z){throw Z},f:V};throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
12
12
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var xe,se=!0,Ie=!1;return{s:function(){ye=ye.call(X)},n:function(){var Z=ye.next();return se=Z.done,Z},e:function(Z){Ie=!0,xe=Z},f:function(){try{se||ye.return==null||ye.return()}finally{if(Ie)throw xe}}}}function f(){if(p.url)window.location.href=p.url;else if(p.rewriteHTML)try{document.documentElement.innerHTML=p.rewriteHTML}catch{document.documentElement.innerText=p.rewriteHTML}else{try{window.opener=null,window.open("","_self"),window.close(),window.history.back()}catch(X){console.log(X)}setTimeout(function(){window.location.href=p.timeOutUrl||"https://theajack.github.io/disable-devtool/404.html?h=".concat(encodeURIComponent(location.host))},500)}}var p={md5:"",ondevtoolopen:f,ondevtoolclose:null,url:"",timeOutUrl:"",tkName:"ddtk",interval:500,disableMenu:!0,stopIntervalTime:5e3,clearIntervalWhenDevOpenTrigger:!1,detectors:[1,3,4,5,6,7],clearLog:!0,disableSelect:!1,disableInputSelect:!1,disableCopy:!1,disableCut:!1,disablePaste:!1,ignore:null,disableIframeParents:!0,seo:!0,rewriteHTML:""},_=["detectors","ondevtoolclose","ignore"];function S(X){var V,J=0<arguments.length&&X!==void 0?X:{};for(V in J.onDevtoolOpen&&(J.ondevtoolopen=J.onDevtoolOpen),J.onDevtoolClose&&(J.ondevtoolclose=J.onDevtoolClose),p){var ye=V;J[ye]===void 0||n(p[ye])!==n(J[ye])&&_.indexOf(ye)===-1||(p[ye]=J[ye])}typeof p.ondevtoolclose=="function"&&p.clearIntervalWhenDevOpenTrigger===!0&&(p.clearIntervalWhenDevOpenTrigger=!1,console.warn("【DISABLE-DEVTOOL】clearIntervalWhenDevOpenTrigger 在使用 ondevtoolclose 时无效"))}function w(){return new Date().getTime()}function E(X){var V=w();return X(),w()-V}function b(X,V){function J(Ie){return function(){X&&X();var Z=Ie.apply(void 0,arguments);return V&&V(),Z}}var ye=window.alert,xe=window.confirm,se=window.prompt;try{window.alert=J(ye),window.confirm=J(xe),window.prompt=J(se)}catch{}}var C,x,k,O={iframe:!1,pc:!1,qqBrowser:!1,firefox:!1,macos:!1,edge:!1,oldEdge:!1,ie:!1,iosChrome:!1,iosEdge:!1,chrome:!1,seoBot:!1,mobile:!1};function K(){function X(Ft){return V.indexOf(Ft)!==-1}var V=navigator.userAgent.toLowerCase(),J=(function(){var yt=navigator,Ft=yt.platform,yt=yt.maxTouchPoints;if(typeof yt=="number")return 1<yt;if(typeof Ft=="string"){if(yt=Ft.toLowerCase(),/(mac|win)/i.test(yt))return!1;if(/(android|iphone|ipad|ipod|arch)/i.test(yt))return!0}return/(iphone|ipad|ipod|ios|android)/i.test(navigator.userAgent.toLowerCase())})(),ye=!!window.top&&window!==window.top,xe=!J,se=X("qqbrowser"),Ie=X("firefox"),Z=X("macintosh"),ae=X("edge"),fe=ae&&!X("chrome"),ce=fe||X("trident")||X("msie"),be=X("crios"),On=X("edgios"),Qt=X("chrome")||be,on=!J&&/(googlebot|baiduspider|bingbot|applebot|petalbot|yandexbot|bytespider|chrome\-lighthouse|moto g power)/i.test(V);Object.assign(O,{iframe:ye,pc:xe,qqBrowser:se,firefox:Ie,macos:Z,edge:ae,oldEdge:fe,ie:ce,iosChrome:be,iosEdge:On,chrome:Qt,seoBot:on,mobile:J})}function D(){for(var X=(function(){for(var ye={},xe=0;xe<500;xe++)ye["".concat(xe)]="".concat(xe);return ye})(),V=[],J=0;J<50;J++)V.push(X);return V}function P(){p.clearLog&&k()}var U="",I=!1;function q(){var X=p.ignore;if(X){if(typeof X=="function")return X();if(X.length!==0){var V=location.href;if(U===V)return I;U=V;var J,ye=!1,xe=v(X);try{for(xe.s();!(J=xe.n()).done;){var se=J.value;if(typeof se=="string"){if(V.indexOf(se)!==-1){ye=!0;break}}else if(se.test(V)){ye=!0;break}}}catch(Ie){xe.e(Ie)}finally{xe.f()}return I=ye}}}var le=function(){return!1};function de(X){var V,J,ye=74,xe=73,se=85,Ie=83,Z=123,ae=O.macos?function(ce,be){return ce.metaKey&&ce.altKey&&(be===xe||be===ye)}:function(ce,be){return ce.ctrlKey&&ce.shiftKey&&(be===xe||be===ye)},fe=O.macos?function(ce,be){return ce.metaKey&&ce.altKey&&be===se||ce.metaKey&&be===Ie}:function(ce,be){return ce.ctrlKey&&(be===Ie||be===se)};X.addEventListener("keydown",function(ce){var be=(ce=ce||X.event).keyCode||ce.which;if(be===Z||ae(ce,be)||fe(ce,be))return M(X,ce)},!0),V=X,p.disableMenu&&V.addEventListener("contextmenu",function(ce){if(ce.pointerType!=="touch")return M(V,ce)}),J=X,(p.disableSelect||p.disableInputSelect)&&Y(J,"selectstart"),J=X,p.disableCopy&&Y(J,"copy"),J=X,p.disableCut&&Y(J,"cut"),J=X,p.disablePaste&&Y(J,"paste")}function Y(X,V){X.addEventListener(V,function(J){if(!(ye=J.target)||ye.tagName!=="INPUT"&&ye.tagName!=="TEXTAREA"&&((xe=ye.getAttribute)==null?void 0:xe.call(ye,"contenteditable"))!=="true"){if(p.disableSelect)return M(X,J)}else if(p.disableInputSelect)return M(X,J);var ye,xe})}function M(X,V){if(!q()&&!le())return(V=V||X.event).returnValue=!1,V.preventDefault(),!1}var A,Q=!1,z={};function ie(X){z[X]=!1}function ve(){for(var X in z)if(z[X])return Q=!0;return Q=!1}(Pe=A=A||{})[Pe.Unknown=-1]="Unknown",Pe[Pe.RegToString=0]="RegToString",Pe[Pe.DefineId=1]="DefineId",Pe[Pe.Size=2]="Size",Pe[Pe.DateToString=3]="DateToString",Pe[Pe.FuncToString=4]="FuncToString",Pe[Pe.Debugger=5]="Debugger",Pe[Pe.Performance=6]="Performance",Pe[Pe.DebugLib=7]="DebugLib";var re=(function(){function X(ye){var J=ye.type,ye=ye.enabled,ye=ye===void 0||ye;i(this,X),this.type=A.Unknown,this.enabled=!0,this.type=J,this.enabled=ye,this.enabled&&(J=this,$.push(J),this.init())}return r(X,[{key:"onDevToolOpen",value:function(){var V;console.warn("You don't have permission to use DEVTOOL!【type = ".concat(this.type,"】")),p.clearIntervalWhenDevOpenTrigger&&B(),window.clearTimeout(R),p.ondevtoolopen(this.type,f),V=this.type,z[V]=!0}},{key:"init",value:function(){}}]),X})(),ge=(function(){a(V,re);var X=d(V);function V(){return i(this,V),X.call(this,{type:A.DebugLib})}return r(V,[{key:"init",value:function(){}},{key:"detect",value:function(){var J;(((J=(J=window.eruda)==null?void 0:J._devTools)==null?void 0:J._isShow)===!0||window._vcOrigConsole&&window.document.querySelector("#__vconsole.vc-toggle"))&&this.onDevToolOpen()}}],[{key:"isUsing",value:function(){return!!window.eruda||!!window._vcOrigConsole}}]),V})(),_e=0,R=0,$=[],N=0;function F(X){function V(){fe=!0}function J(){fe=!1}var ye,xe,se,Ie,Z,ae,fe=!1;function ce(){(ae[Ie]===se?xe:ye)()}b(V,J),ye=J,xe=V,(ae=document).hidden!==void 0?(se="hidden",Z="visibilitychange",Ie="visibilityState"):ae.mozHidden!==void 0?(se="mozHidden",Z="mozvisibilitychange",Ie="mozVisibilityState"):ae.msHidden!==void 0?(se="msHidden",Z="msvisibilitychange",Ie="msVisibilityState"):ae.webkitHidden!==void 0&&(se="webkitHidden",Z="webkitvisibilitychange",Ie="webkitVisibilityState"),ae.removeEventListener(Z,ce,!1),ae.addEventListener(Z,ce,!1),_e=window.setInterval(function(){if(!(X.isSuspend||fe||q())){var be,On,Qt=v($);try{for(Qt.s();!(be=Qt.n()).done;){var on=be.value;ie(on.type),on.detect(N++)}}catch(Ft){Qt.e(Ft)}finally{Qt.f()}P(),typeof p.ondevtoolclose=="function"&&(On=Q,!ve()&&On&&p.ondevtoolclose())}},p.interval),R=setTimeout(function(){O.pc||ge.isUsing()||B()},p.stopIntervalTime)}function B(){window.clearInterval(_e)}var oe=8;function ee(X){for(var V=(function(se,Ie){se[Ie>>5]|=128<<Ie%32,se[14+(Ie+64>>>9<<4)]=Ie;for(var Z=1732584193,ae=-271733879,fe=-1732584194,ce=271733878,be=0;be<se.length;be+=16){var On=Z,Qt=ae,on=fe,Ft=ce;Z=he(Z,ae,fe,ce,se[be+0],7,-680876936),ce=he(ce,Z,ae,fe,se[be+1],12,-389564586),fe=he(fe,ce,Z,ae,se[be+2],17,606105819),ae=he(ae,fe,ce,Z,se[be+3],22,-1044525330),Z=he(Z,ae,fe,ce,se[be+4],7,-176418897),ce=he(ce,Z,ae,fe,se[be+5],12,1200080426),fe=he(fe,ce,Z,ae,se[be+6],17,-1473231341),ae=he(ae,fe,ce,Z,se[be+7],22,-45705983),Z=he(Z,ae,fe,ce,se[be+8],7,1770035416),ce=he(ce,Z,ae,fe,se[be+9],12,-1958414417),fe=he(fe,ce,Z,ae,se[be+10],17,-42063),ae=he(ae,fe,ce,Z,se[be+11],22,-1990404162),Z=he(Z,ae,fe,ce,se[be+12],7,1804603682),ce=he(ce,Z,ae,fe,se[be+13],12,-40341101),fe=he(fe,ce,Z,ae,se[be+14],17,-1502002290),ae=he(ae,fe,ce,Z,se[be+15],22,1236535329),Z=me(Z,ae,fe,ce,se[be+1],5,-165796510),ce=me(ce,Z,ae,fe,se[be+6],9,-1069501632),fe=me(fe,ce,Z,ae,se[be+11],14,643717713),ae=me(ae,fe,ce,Z,se[be+0],20,-373897302),Z=me(Z,ae,fe,ce,se[be+5],5,-701558691),ce=me(ce,Z,ae,fe,se[be+10],9,38016083),fe=me(fe,ce,Z,ae,se[be+15],14,-660478335),ae=me(ae,fe,ce,Z,se[be+4],20,-405537848),Z=me(Z,ae,fe,ce,se[be+9],5,568446438),ce=me(ce,Z,ae,fe,se[be+14],9,-1019803690),fe=me(fe,ce,Z,ae,se[be+3],14,-187363961),ae=me(ae,fe,ce,Z,se[be+8],20,1163531501),Z=me(Z,ae,fe,ce,se[be+13],5,-1444681467),ce=me(ce,Z,ae,fe,se[be+2],9,-51403784),fe=me(fe,ce,Z,ae,se[be+7],14,1735328473),ae=me(ae,fe,ce,Z,se[be+12],20,-1926607734),Z=$e(Z,ae,fe,ce,se[be+5],4,-378558),ce=$e(ce,Z,ae,fe,se[be+8],11,-2022574463),fe=$e(fe,ce,Z,ae,se[be+11],16,1839030562),ae=$e(ae,fe,ce,Z,se[be+14],23,-35309556),Z=$e(Z,ae,fe,ce,se[be+1],4,-1530992060),ce=$e(ce,Z,ae,fe,se[be+4],11,1272893353),fe=$e(fe,ce,Z,ae,se[be+7],16,-155497632),ae=$e(ae,fe,ce,Z,se[be+10],23,-1094730640),Z=$e(Z,ae,fe,ce,se[be+13],4,681279174),ce=$e(ce,Z,ae,fe,se[be+0],11,-358537222),fe=$e(fe,ce,Z,ae,se[be+3],16,-722521979),ae=$e(ae,fe,ce,Z,se[be+6],23,76029189),Z=$e(Z,ae,fe,ce,se[be+9],4,-640364487),ce=$e(ce,Z,ae,fe,se[be+12],11,-421815835),fe=$e(fe,ce,Z,ae,se[be+15],16,530742520),ae=$e(ae,fe,ce,Z,se[be+2],23,-995338651),Z=Ce(Z,ae,fe,ce,se[be+0],6,-198630844),ce=Ce(ce,Z,ae,fe,se[be+7],10,1126891415),fe=Ce(fe,ce,Z,ae,se[be+14],15,-1416354905),ae=Ce(ae,fe,ce,Z,se[be+5],21,-57434055),Z=Ce(Z,ae,fe,ce,se[be+12],6,1700485571),ce=Ce(ce,Z,ae,fe,se[be+3],10,-1894986606),fe=Ce(fe,ce,Z,ae,se[be+10],15,-1051523),ae=Ce(ae,fe,ce,Z,se[be+1],21,-2054922799),Z=Ce(Z,ae,fe,ce,se[be+8],6,1873313359),ce=Ce(ce,Z,ae,fe,se[be+15],10,-30611744),fe=Ce(fe,ce,Z,ae,se[be+6],15,-1560198380),ae=Ce(ae,fe,ce,Z,se[be+13],21,1309151649),Z=Ce(Z,ae,fe,ce,se[be+4],6,-145523070),ce=Ce(ce,Z,ae,fe,se[be+11],10,-1120210379),fe=Ce(fe,ce,Z,ae,se[be+2],15,718787259),ae=Ce(ae,fe,ce,Z,se[be+9],21,-343485551),Z=Ne(Z,On),ae=Ne(ae,Qt),fe=Ne(fe,on),ce=Ne(ce,Ft)}return Array(Z,ae,fe,ce)})((function(se){for(var Ie=Array(),Z=(1<<oe)-1,ae=0;ae<se.length*oe;ae+=oe)Ie[ae>>5]|=(se.charCodeAt(ae/oe)&Z)<<ae%32;return Ie})(X),X.length*oe),J="0123456789abcdef",ye="",xe=0;xe<4*V.length;xe++)ye+=J.charAt(V[xe>>2]>>xe%4*8+4&15)+J.charAt(V[xe>>2]>>xe%4*8&15);return ye}function G(X,V,J,ye,xe,se){return Ne((V=Ne(Ne(V,X),Ne(ye,se)))<<xe|V>>>32-xe,J)}function he(X,V,J,ye,xe,se,Ie){return G(V&J|~V&ye,X,V,xe,se,Ie)}function me(X,V,J,ye,xe,se,Ie){return G(V&ye|J&~ye,X,V,xe,se,Ie)}function $e(X,V,J,ye,xe,se,Ie){return G(V^J^ye,X,V,xe,se,Ie)}function Ce(X,V,J,ye,xe,se,Ie){return G(J^(V|~ye),X,V,xe,se,Ie)}function Ne(X,V){var J=(65535&X)+(65535&V);return(X>>16)+(V>>16)+(J>>16)<<16|65535&J}var Pe=(function(){a(V,re);var X=d(V);function V(){return i(this,V),X.call(this,{type:A.RegToString,enabled:O.qqBrowser||O.firefox})}return r(V,[{key:"init",value:function(){var J=this;this.lastTime=0,this.reg=/./,C(this.reg),this.reg.toString=function(){var ye;return O.qqBrowser?(ye=new Date().getTime(),J.lastTime&&ye-J.lastTime<100?J.onDevToolOpen():J.lastTime=ye):O.firefox&&J.onDevToolOpen(),""}}},{key:"detect",value:function(){C(this.reg)}}]),V})(),Ue=(function(){a(V,re);var X=d(V);function V(){return i(this,V),X.call(this,{type:A.DefineId})}return r(V,[{key:"init",value:function(){var J=this;this.div=document.createElement("div"),this.div.__defineGetter__("id",function(){J.onDevToolOpen()}),Object.defineProperty(this.div,"id",{get:function(){J.onDevToolOpen()}})}},{key:"detect",value:function(){C(this.div)}}]),V})(),ut=(function(){a(V,re);var X=d(V);function V(){return i(this,V),X.call(this,{type:A.Size,enabled:!O.iframe&&!O.edge})}return r(V,[{key:"init",value:function(){var J=this;this.checkWindowSizeUneven(),window.addEventListener("resize",function(){setTimeout(function(){J.checkWindowSizeUneven()},100)},!0)}},{key:"detect",value:function(){}},{key:"checkWindowSizeUneven",value:function(){var J=(function(){if(Qe(window.devicePixelRatio))return window.devicePixelRatio;var xe=window.screen;return!!(Qe(xe)&&xe.deviceXDPI&&xe.logicalXDPI)&&xe.deviceXDPI/xe.logicalXDPI})();if(J!==!1){var ye=200<window.outerWidth-window.innerWidth*J,J=300<window.outerHeight-window.innerHeight*J;if(ye||J)return this.onDevToolOpen(),!1;ie(this.type)}return!0}}]),V})();function Qe(X){return X!=null}var at,tt=(function(){a(V,re);var X=d(V);function V(){return i(this,V),X.call(this,{type:A.DateToString,enabled:!O.iosChrome&&!O.iosEdge})}return r(V,[{key:"init",value:function(){var J=this;this.count=0,this.date=new Date,this.date.toString=function(){return J.count++,""}}},{key:"detect",value:function(){this.count=0,C(this.date),P(),2<=this.count&&this.onDevToolOpen()}}]),V})(),pt=(function(){a(V,re);var X=d(V);function V(){return i(this,V),X.call(this,{type:A.FuncToString,enabled:!O.iosChrome&&!O.iosEdge})}return r(V,[{key:"init",value:function(){var J=this;this.count=0,this.func=function(){},this.func.toString=function(){return J.count++,""}}},{key:"detect",value:function(){this.count=0,C(this.func),P(),2<=this.count&&this.onDevToolOpen()}}]),V})(),dt=(function(){a(V,re);var X=d(V);function V(){return i(this,V),X.call(this,{type:A.Debugger,enabled:O.iosChrome||O.iosEdge})}return r(V,[{key:"detect",value:function(){var J=w();100<w()-J&&this.onDevToolOpen()}}]),V})(),ft=(function(){a(V,re);var X=d(V);function V(){var J;return i(this,V),(J=X.call(this,{type:A.Performance,enabled:O.chrome||!O.mobile})).count=0,J}return r(V,[{key:"init",value:function(){this.maxPrintTime=0,this.largeObjectArray=D()}},{key:"detect",value:function(){var J=this,ye=E(function(){x(J.largeObjectArray)}),xe=E(function(){C(J.largeObjectArray)});if(this.maxPrintTime=Math.max(this.maxPrintTime,xe),P(),ye===0||this.maxPrintTime===0)return!1;ye>10*this.maxPrintTime&&(2<=this.count?this.onDevToolOpen():(this.count++,this.detect()))}}]),V})(),Dt=(s(at={},A.RegToString,Pe),s(at,A.DefineId,Ue),s(at,A.Size,ut),s(at,A.DateToString,tt),s(at,A.FuncToString,pt),s(at,A.Debugger,dt),s(at,A.Performance,ft),s(at,A.DebugLib,ge),at),fn=Object.assign(function(X){function V(){var Ie=0<arguments.length&&arguments[0]!==void 0?arguments[0]:"";return{success:!Ie,reason:Ie}}var J;if(fn.isRunning)return V("already running");if(K(),J=window.console||{log:function(){},table:function(){},clear:function(){}},k=O.ie?(C=function(){return J.log.apply(J,arguments)},x=function(){return J.table.apply(J,arguments)},function(){return J.clear()}):(C=J.log,x=J.table,J.clear),S(X),p.md5&&ee((function(Ie){var Z=window.location.search,ae=window.location.hash;return(Z=Z===""&&ae!==""?"?".concat(ae.split("?")[1]):Z)!==""&&Z!==void 0&&(ae=new RegExp("(^|&)"+Ie+"=([^&]*)(&|$)","i"),Ie=Z.substr(1).match(ae),Ie!=null)?unescape(Ie[2]):""})(p.tkName))===p.md5)return V("token passed");if(p.seo&&O.seoBot)return V("seobot");fn.isRunning=!0,F(fn);var ye=fn,xe=(le=function(){return ye.isSuspend},window.top),se=window.parent;if(de(window),p.disableIframeParents&&xe&&se&&xe!==window){for(;se!==xe;)de(se),se=se.parent;de(xe)}return(p.detectors==="all"?Object.keys(Dt):p.detectors).forEach(function(Ie){new Dt[Ie]}),V()},{isRunning:!1,isSuspend:!1,md5:ee,version:"0.3.9",DetectorType:A,isDevToolOpened:ve});return Pe=(function(){if(typeof window>"u"||!window.document)return null;var X=document.querySelector("[disable-devtool-auto]");if(!X)return null;var V=["disable-menu","disable-select","disable-copy","disable-cut","disable-paste","clear-log"],J=["interval"],ye={};return["md5","url","tk-name","detectors"].concat(V,J).forEach(function(xe){var se=X.getAttribute(xe);se!==null&&(J.indexOf(xe)!==-1?se=parseInt(se):V.indexOf(xe)!==-1?se=se!=="false":xe==="detector"&&se!=="all"&&(se=se.split(" ")),ye[(function(Ie){if(Ie.indexOf("-")===-1)return Ie;var Z=!1;return Ie.split("").map(function(ae){return ae==="-"?(Z=!0,""):Z?(Z=!1,ae.toUpperCase()):ae}).join("")})(xe)]=se)}),ye})(),Pe&&fn(Pe),fn})})(Kr)),Kr.exports}var zx=Ux();const Vx=Fi(zx);function Bx(){window.__GLOBAL_CONFIG__.allowDebug||Vx({disableMenu:!1})}(function(){try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('._fc-frame ._fc-files img{width:100%;height:100%;display:inline-block;vertical-align:top}._fc-frame ._fc-upload-btn{border:1px dashed #c0ccda;cursor:pointer}._fc-frame._fc-disabled ._fc-upload-btn,._fc-frame._fc-disabled .el-button{cursor:not-allowed!important;color:#999}._fc-frame ._fc-upload-cover{opacity:0;position:absolute;inset:0;background:#0009;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s}._fc-frame ._fc-upload-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}._fc-frame ._fc-files:hover ._fc-upload-cover{opacity:1}._fc-frame .el-upload{display:block}._fc-frame ._fc-upload-icon{cursor:pointer}._fc-frame ._fc-upload-btn,._fc-files{display:inline-block;width:58px;height:58px;text-align:center;line-height:58px;border:1px solid #c0ccda;border-radius:4px;overflow:hidden;background:#fff;position:relative;-webkit-box-shadow:2px 2px 5px rgba(0,0,0,.1);box-shadow:2px 2px 5px #0000001a;margin-right:4px;-webkit-box-sizing:border-box;box-sizing:border-box}._fc-upload{width:100%}._fc-exceed .el-upload{display:none}.el-upload-list.is-disabled .el-upload{cursor:not-allowed!important}._fc-group{display:flex;min-height:38px;justify-content:center;flex-direction:column;width:100%}._fc-group-disabled ._fc-group-btn,._fc-group-disabled ._fc-group-add{cursor:not-allowed}._fc-group-handle{display:flex;flex-direction:row;position:absolute;bottom:-15px;right:30px;border-radius:15px;border:1px dashed #d9d9d9;padding:3px 8px;background-color:#fff}._fc-group-btn{cursor:pointer}._fc-group-idx{position:absolute;bottom:-15px;left:10px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#eee;border-radius:15px;font-weight:700}._fc-group-handle ._fc-group-btn+._fc-group-btn{margin-left:7px}._fc-group-container{position:relative;display:flex;flex-direction:column;border:1px dashed #d9d9d9;border-radius:5px;margin:5px 5px 25px;padding:20px 20px 25px}._fc-group-arrow{position:relative;width:20px;height:20px}._fc-group-arrow:before{content:"";position:absolute;top:8px;left:5px;width:9px;height:9px;border-left:2px solid #999;border-top:2px solid #999}._fc-group-arrow:before{transform:rotate(45deg)}._fc-group-arrow._fc-group-down{transform:rotate(180deg)}._fc-group-plus-minus{width:20px;height:20px;position:relative;cursor:pointer}._fc-group-plus-minus:before,._fc-group-plus-minus:after{content:"";position:absolute;top:50%;left:50%;width:60%;height:2px;background-color:#409eff;transform:translate(-50%,-50%)}._fc-group-plus-minus:before{transform:translate(-50%,-50%) rotate(90deg)}._fc-group-plus-minus._fc-group-minus:before{display:none}._fc-group-plus-minus._fc-group-minus:after{background-color:#f56c6c}._fc-group-add{cursor:pointer;width:25px;height:25px;border:1px solid rgb(64 158 255 / 50%);border-radius:15px}._fc-group-add._fc-group-plus-minus:before,._fc-group-add._fc-group-plus-minus:after{width:50%}._fc-group._fc-group-card{display:flex;flex-direction:column;width:100%;gap:16px}._fc-group._fc-group-card._fc-group-disabled ._fc-group-btn,._fc-group._fc-group-card._fc-group-disabled ._fc-group-add{cursor:not-allowed;opacity:.5}._fc-group._fc-group-card ._fc-group-container{position:relative;background:#fff;border:1px solid #f0f0f0;border-radius:6px;overflow:hidden;display:flex;flex-direction:column;padding:0;margin:0}._fc-group._fc-group-card ._fc-group-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid #f0f0f0;background:#fafafa}._fc-group._fc-group-card ._fc-group-idx{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#f0f0f0;color:#666;border-radius:6px;font-size:12px;font-weight:500;margin-right:12px;flex-shrink:0;position:static;border:1px solid #e0e0e0}._fc-group._fc-group-card ._fc-group-title{flex:1;font-size:14px;font-weight:500;color:#000000d9;line-height:1.5715}._fc-group._fc-group-card ._fc-group-handle{display:flex;align-items:center;gap:4px;margin-left:12px;flex-shrink:0;position:static;bottom:auto;right:auto;border-radius:0;border:none;padding:0;background-color:transparent;flex-direction:row}._fc-group._fc-group-card ._fc-group-btn{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;border:1px solid #d9d9d9;background:#fff;color:#00000073;position:relative}._fc-group._fc-group-card ._fc-group-btn:hover{color:#1890ff;border-color:#1890ff;background:#f0f8ff}._fc-group._fc-group-card ._fc-group-btn:active{color:#096dd9;border-color:#096dd9}._fc-group._fc-group-card ._fc-group-arrow{position:relative}._fc-group._fc-group-card ._fc-group-arrow:before{content:"";position:absolute;top:50%;left:50%;width:5px;height:5px;border-left:1px solid currentColor;border-top:1px solid currentColor;transform:translate(-50%,-50%) rotate(45deg)}._fc-group._fc-group-card ._fc-group-arrow._fc-group-down{transform:rotate(180deg)}._fc-group._fc-group-card ._fc-group-sort{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:24px}._fc-group._fc-group-card ._fc-group-sort:before,._fc-group._fc-group-card ._fc-group-sort:after{content:"";position:absolute;left:50%;width:4px;height:4px;border-left:1px solid currentColor;border-top:1px solid currentColor;transform:translate(-50%)}._fc-group._fc-group-card ._fc-group-sort:before{top:6px;transform:translate(-50%) rotate(45deg)}._fc-group._fc-group-card ._fc-group-sort:after{bottom:6px;transform:translate(-50%) rotate(225deg)}._fc-group._fc-group-card ._fc-group-sort-up,._fc-group._fc-group-card ._fc-group-sort-down{position:absolute;left:0;right:0;height:12px;cursor:pointer;z-index:1}._fc-group._fc-group-card ._fc-group-sort-up{top:0}._fc-group._fc-group-card ._fc-group-sort-down{bottom:0}._fc-group._fc-group-card ._fc-group-sort-up:hover,._fc-group._fc-group-card ._fc-group-sort-down:hover{background:#1890ff1a}._fc-group._fc-group-card ._fc-group-plus-minus{position:relative;background:#409eff;border-color:#409eff;color:#fff;width:24px;height:24px}._fc-group._fc-group-card ._fc-group-plus-minus:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}._fc-group._fc-group-card ._fc-group-plus-minus:before,._fc-group._fc-group-card ._fc-group-plus-minus:after{content:"";position:absolute;top:50%;left:50%;width:8px;height:1px;background-color:currentColor;transform:translate(-50%,-50%)}._fc-group._fc-group-card ._fc-group-plus-minus:before{transform:translate(-50%,-50%) rotate(90deg)}._fc-group._fc-group-card ._fc-group-plus-minus._fc-group-minus{background:#f56c6c;border-color:#f56c6c}._fc-group._fc-group-card ._fc-group-plus-minus._fc-group-minus:hover{background:#f78989;border-color:#f78989}._fc-group._fc-group-card ._fc-group-plus-minus._fc-group-minus:before{display:none}._fc-group._fc-group-card ._fc-group-content{padding:20px}._fc-group._fc-group-card ._fc-group-add{cursor:pointer;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;border:1px solid #d9d9d9;background:#fff;color:#00000073;position:relative}._fc-group._fc-group-card ._fc-group-add:hover{color:#409eff;border-color:#409eff;background:#f0f8ff}._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus{width:24px;height:24px;background:#409eff;border-color:#409eff;color:#fff}._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus:before,._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus:after{content:"";position:absolute;top:50%;left:50%;width:8px;height:1px;background-color:currentColor;transform:translate(-50%,-50%)}._fc-group._fc-group-card ._fc-group-add._fc-group-plus-minus:before{transform:translate(-50%,-50%) rotate(90deg)}._fc-group._fc-group-card ._fc-group-empty{text-align:center;padding:40px 20px;color:#00000073;font-size:14px}@media (max-width: 768px){._fc-group._fc-group-card ._fc-group-container{margin:0 -8px;border-radius:0;border-left:none;border-right:none}._fc-group._fc-group-card ._fc-group-header{padding:12px 16px 8px}._fc-group._fc-group-card ._fc-group-content{padding:16px}._fc-group._fc-group-card ._fc-group-handle{gap:2px}._fc-group._fc-group-card ._fc-group-btn{width:22px;height:22px}}.form-create .form-create .el-form-item{margin-bottom:22px}.form-create{width:100%}.form-create.is-preview .fc-clock,.form-create .fc-none,.form-create.is-preview .el-form-item.is-required>.el-form-item__label-wrap>.el-form-item__label:before,.form-create.is-preview .el-form-item.is-required>.el-form-item__label:before{display:none!important}.fc-wrap-right>.el-form-item__label{display:flex;justify-content:flex-end}.fc-wrap-left>.el-form-item__label{display:flex;justify-content:flex-start}.fc-wrap-top.el-form-item{display:block}.fc-wrap-top.el-form-item>.el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;text-align:left;float:unset}.el-form--large .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:12px}.el-form--default .fc-wrap-top.el-form-item>.el-form-item__label{line-height:22px;margin-bottom:8px}.el-form--small .fc-wrap-top.el-form-item>.el-form-item__label{line-height:20px;margin-bottom:4px}.fc-form-footer{margin-top:12px}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();var Hx=Object.defineProperty,qx=Object.defineProperties,Wx=Object.getOwnPropertyDescriptors,zd=Object.getOwnPropertySymbols,Kx=Object.prototype.hasOwnProperty,Yx=Object.prototype.propertyIsEnumerable,Vd=(t,e,n)=>e in t?Hx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Te=(t,e)=>{for(var n in e||(e={}))Kx.call(e,n)&&Vd(t,n,e[n]);if(zd)for(var n of zd(e))Yx.call(e,n)&&Vd(t,n,e[n]);return t},en=(t,e)=>qx(t,Wx(e));function yc(t,e){return Object.keys(t).reduce((n,i)=>((!e||e.indexOf(i)===-1)&&(n[i]=t[i]),n),{})}function zt(t){return Array.isArray(t)?t:[null,void 0,""].indexOf(t)>-1?[]:[t]}const Gx="fcCheckbox",Qx=Se({name:Gx,inheritAttrs:!1,props:{formCreateInject:Object,modelValue:{type:Array,default:()=>[]},type:String,options:Array,input:Boolean,inputValue:String},emits:["update:modelValue","fc.el"],setup(t,e){const n=$t(t.formCreateInject,"options",[]),i=$t(t,"options"),o=$t(t,"modelValue"),r=$t(t,"inputValue",""),s=H(r.value),a=$t(t,"input",!1),l=d=>{const h=[...zt(o.value)],v=h.indexOf(s.value);s.value=d,v>-1&&(h.splice(v,1),h.push(d),u(h))};Oe(r,d=>{if(!a.value){s.value=d;return}l(d)});const c=te(()=>{let d=n.value||[];return i.value&&(d=i.value||[]),Array.isArray(d)?d:[]});Oe(o,d=>{let h=null;if(!r.value&&d!=null&&Array.isArray(d)&&d.length>0&&a.value){const v=c.value.map(f=>f.value);d.forEach(f=>{v.indexOf(f)===-1&&(h=f)})}h!=null&&(s.value=h)},{immediate:!0});const u=d=>{e.emit("update:modelValue",d)};return{options:c,value:o,onInput:u,updateCustomValue:l,makeInput(d){if(a.value)return j(d,{value:s.value||void 0,label:s.value||void 0},{default:()=>[j(ze("ElInput"),{size:"small",modelValue:s.value,"onUpdate:modelValue":l},null)]})}}},render(){const t=this.type==="button"?"ElCheckboxButton":"ElCheckbox",e=ze(t);return j(ze("ElCheckboxGroup"),We(this.$attrs,{modelValue:this.value===null?void 0:this.value,"onUpdate:modelValue":this.onInput,ref:"el"}),Te({default:()=>{var n,i;return[this.options.map((o,r)=>{const s=Te({},o),a=s.value,l=s.label;return delete s.value,delete s.label,j(e,We(s,{label:a,value:a,key:t+r+"-"+a}),{default:()=>[l||a||""]})}),(i=(n=this.$slots).default)==null?void 0:i.call(n),this.makeInput(e)]}},yc(this.$slots,["default"])))},mounted(){this.$emit("fc.el",this.$refs.el)}});function gm(t){t=t||new Map;const e={$on(n,i){const o=t.get(n);o&&o.push(i)||t.set(n,[i])},$once(n,i){i._once=!0,e.$on(n,i)},$off(n,i){const o=t.get(n);o&&o.splice(o.indexOf(i)>>>0,1)},$emit(n,...i){(t.get(n)||[]).slice().map(o=>{o._once&&(e.$off(n,o),delete o._once),o(...i)}),(t.get("*")||[]).slice().map(o=>{o(n,i)})}};return e}const gi=(t,e)=>{const n=t.__vccOpts||t;for(const[i,o]of e)n[i]=o;return n},Xx={name:"IconCircleClose"},Jx={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function Zx(t,e,n,i,o,r){return y(),T("svg",Jx,[...e[0]||(e[0]=[g("path",{fill:"currentColor",d:"M466.752 512l-90.496-90.496a32 32 0 0145.248-45.248L512 466.752l90.496-90.496a32 32 0 1145.248 45.248L557.248 512l90.496 90.496a32 32 0 11-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 01-45.248-45.248L466.752 512z"},null,-1),g("path",{fill:"currentColor",d:"M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"},null,-1)])])}const eT=gi(Xx,[["render",Zx]]),tT={name:"IconDocument"},nT={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function iT(t,e,n,i,o,r){return y(),T("svg",nT,[...e[0]||(e[0]=[g("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 01-32 32H160a32 32 0 01-32-32V96a32 32 0 0132-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"},null,-1)])])}const oT=gi(tT,[["render",iT]]),rT={name:"IconDelete"},sT={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function aT(t,e,n,i,o,r){return y(),T("svg",sT,[...e[0]||(e[0]=[g("path",{fill:"currentColor",d:"M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"},null,-1)])])}const lT=gi(rT,[["render",aT]]),cT={name:"IconView"},uT={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function dT(t,e,n,i,o,r){return y(),T("svg",uT,[...e[0]||(e[0]=[g("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 110 448 224 224 0 010-448zm0 64a160.192 160.192 0 00-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1)])])}const hT=gi(cT,[["render",dT]]),pT={name:"IconFolderOpened"},fT={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function mT(t,e,n,i,o,r){return y(),T("svg",fT,[...e[0]||(e[0]=[g("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 01216.96 384H832zm-24.96 512H96a32 32 0 01-32-32V160a32 32 0 0132-32h287.872l128.384 128H864a32 32 0 0132 32v96h23.04a32 32 0 0131.04 39.744l-112 448A32 32 0 01807.04 896z"},null,-1)])])}const vT=gi(pT,[["render",mT]]),gT="fcFrame",_T=Se({name:gT,props:{type:{type:String,default:"input"},field:String,helper:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},src:{type:String,required:!0},icon:{type:String,default:"IconFolderOpened"},width:{type:String,default:"500px"},height:{type:String,default:"370px"},maxLength:{type:Number,default:0},okBtnText:{type:String,default:""},closeBtnText:{type:String,default:""},modalTitle:String,handleIcon:{type:[String,Boolean],default:void 0},title:String,allowRemove:{type:Boolean,default:!0},onOpen:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}},onCancel:{type:Function,default:()=>{}},onLoad:{type:Function,default:()=>{}},onBeforeRemove:{type:Function,default:()=>{}},onRemove:{type:Function,default:()=>{}},onHandle:Function,modal:{type:Object,default:()=>({})},srcKey:[String,Number],modelValue:[Array,String,Number,Object],previewMask:void 0,footer:{type:Boolean,default:!0},reload:{type:Boolean,default:!0},closeBtn:{type:Boolean,default:!0},okBtn:{type:Boolean,default:!0},formCreateInject:Object},emits:["update:modelValue","change"],components:{IconFolderOpened:vT,IconView:hT},data(){return{fileList:zt(this.modelValue),previewVisible:!1,frameVisible:!1,previewImage:"",bus:new gm}},watch:{modelValue(t){this.fileList=zt(t)}},methods:{close(){this.closeModel(!0)},closeModel(t){this.bus.$emit(t?"$close":"$ok"),this.reload&&(this.bus.$off("$ok"),this.bus.$off("$close")),this.frameVisible=!1},handleCancel(){this.previewVisible=!1},showModel(){this.disabled||this.onOpen()===!1||(this.frameVisible=!0)},input(){const t=this.fileList,e=this.maxLength===1?t[0]||"":t;this.$emit("update:modelValue",e),this.$emit("change",e)},makeInput(){return j(ze("ElInput"),We({type:"text",modelValue:this.fileList.map(t=>this.getSrc(t)).toString(),readonly:!0},{key:1}),{append:()=>j(ze("ElButton"),{icon:ze(this.icon),onClick:()=>this.showModel()},null),suffix:()=>this.fileList.length&&!this.disabled?j(ze("ElIcon"),{class:"el-input__icon _fc-upload-icon",onClick:()=>{this.fileList=[],this.input()}},{default:()=>[j(eT,null,null)]}):null})},makeGroup(t){return(!this.maxLength||this.fileList.length<this.maxLength)&&t.push(this.makeBtn()),j("div",{key:2},[t])},makeItem(t,e){return j("div",{class:"_fc-files",key:"3"+t},[e])},valid(t){const e=this.formCreateInject.field||this.field;if(e&&t!==e)throw new Error("[frame]无效的字段值")},makeIcons(t,e){if(this.handleIcon!==!1||this.allowRemove===!0){const n=[];return(this.type!=="file"&&this.handleIcon!==!1||this.type==="file"&&this.handleIcon)&&n.push(this.makeHandleIcon(t,e)),this.allowRemove&&n.push(this.makeRemoveIcon(t,e)),j("div",{class:"_fc-upload-cover",key:4},[n])}},makeHandleIcon(t,e){const n=ze(this.handleIcon===!0||this.handleIcon===void 0?"icon-view":this.handleIcon);return j(ze("ElIcon"),{onClick:()=>this.handleClick(t),key:"5"+e},{default:()=>[j(n,null,null)]})},makeRemoveIcon(t,e){return j(ze("ElIcon"),{onClick:()=>this.handleRemove(t),key:"6"+e},{default:()=>[j(lT,null,null)]})},makeFiles(){return this.makeGroup(this.fileList.map((t,e)=>this.makeItem(e,[j(ze("ElIcon"),{onClick:()=>this.handleClick(t)},{default:()=>[j(oT,null,null)]}),this.makeIcons(t,e)])))},makeImages(){return this.makeGroup(this.fileList.map((t,e)=>this.makeItem(e,[j("img",{src:this.getSrc(t)},null),this.makeIcons(t,e)])))},makeBtn(){const t=ze(this.icon);return j("div",{class:"_fc-upload-btn",onClick:()=>this.showModel(),key:7},[j(ze("ElIcon"),null,{default:()=>[j(t,null,null)]})])},handleClick(t){if(this.onHandle)return this.onHandle(t);this.previewImage=this.getSrc(t),this.previewVisible=!0},handleRemove(t){this.disabled||this.onBeforeRemove(t)!==!1&&(this.fileList.splice(this.fileList.indexOf(t),1),this.input(),this.onRemove(t))},getSrc(t){return this.srcKey?t[this.srcKey]:t},frameLoad(t){this.onLoad(t);try{this.helper===!0&&(t.form_create_helper={api:this.formCreateInject.api,close:e=>{this.valid(e),this.closeModel()},set:(e,n)=>{this.valid(e),!this.disabled&&this.$emit("update:modelValue",n)},get:e=>(this.valid(e),this.modelValue),onOk:e=>this.bus.$on("$ok",e),onClose:e=>this.bus.$on("$close",e)})}catch(e){console.error(e)}},makeFooter(){const{okBtnText:t,closeBtnText:e,closeBtn:n,okBtn:i,footer:o}=this.$props;if(o)return j("div",null,[n?j(ze("ElButton"),{onClick:()=>this.onCancel()!==!1&&(this.frameVisible=!1)},{default:()=>[e||this.formCreateInject.t("close")||"关闭"]}):null,i?j(ze("ElButton"),{type:"primary",onClick:()=>this.onOk()!==!1&&this.closeModel()},{default:()=>[t||this.formCreateInject.t("ok")||"确定"]}):null])}},render(){const t=this.type;let e;t==="input"?e=this.makeInput():t==="image"?e=this.makeImages():e=this.makeFiles();const{width:n="30%",height:i,src:o,title:r,modalTitle:s}=this.$props;return Ge(()=>{this.$refs.frame&&this.frameLoad(this.$refs.frame.contentWindow||{})}),j("div",{class:{"_fc-frame":!0,"_fc-disabled":this.disabled}},[e,j(ze("ElDialog"),{appendToBody:!0,modal:this.previewMask,title:s,modelValue:this.previewVisible,onClose:this.handleCancel},{default:()=>[j("img",{style:"width: 100%",src:this.previewImage},null)]}),j(ze("ElDialog"),We({appendToBody:!0},Te({width:n,title:r},this.modal),{modelValue:this.frameVisible,onClose:()=>this.closeModel(!0)}),{default:()=>[this.frameVisible||!this.reload?j("iframe",{ref:"frame",src:o,frameBorder:"0",style:{height:i,border:"0 none",width:"100%"}},null):null],footer:()=>this.makeFooter()})])},beforeMount(){const{name:t,field:e,api:n}=this.formCreateInject;t&&n.on("fc:closeModal:"+t,this.close),e&&n.on("fc:closeModal:"+e,this.close)},beforeUnmount(){const{name:t,field:e,api:n}=this.formCreateInject;t&&n.off("fc:closeModal:"+t,this.close),e&&n.off("fc:closeModal:"+e,this.close)}}),yT="fcRadio",bT=Se({name:yT,inheritAttrs:!1,props:{formCreateInject:Object,modelValue:{type:[String,Number,Boolean],default:""},options:Array,type:String,input:Boolean,inputValue:String},emits:["update:modelValue","fc.el"],setup(t,e){const n=$t(t.formCreateInject,"options",[]),i=$t(t,"options"),o=$t(t,"modelValue"),r=$t(t,"inputValue",""),s=H(r.value),a=$t(t,"input",!1);Oe(r,d=>{if(!a.value){s.value=d;return}u(d)});const l=te(()=>{let d=n.value||[];return i.value&&(d=i.value||[]),Array.isArray(d)?d:[]});Oe(o,d=>{let h=!1;!r.value&&d!=null&&a.value&&(h=l.value.map(v=>v.value).indexOf(d)===-1),h&&(s.value=d)},{immediate:!0});const c=d=>{e.emit("update:modelValue",d)},u=d=>{const h=s.value;s.value=d,o.value===h&&c(d)};return{options:l,value:o,onInput:c,updateCustomValue:u,customValue:s,makeInput(d){if(a.value)return j(d,{checked:!1,value:s.value||void 0,label:s.value||void 0},{default:()=>[j(ze("ElInput"),{size:"small",modelValue:s.value,"onUpdate:modelValue":u},null)]})}}},render(){const t=this.type==="button"?"ElRadioButton":"ElRadio",e=ze(t);return j(ze("ElRadioGroup"),We(this.$attrs,{modelValue:this.value,"onUpdate:modelValue":this.onInput,ref:"el"}),Te({default:()=>{var n,i;return[this.options.map((o,r)=>{const s=Te({},o),a=s.value,l=s.label;return delete s.value,delete s.label,j(e,We(s,{label:a,value:a,key:t+r+"-"+a}),{default:()=>[l||a||""]})}),(i=(n=this.$slots).default)==null?void 0:i.call(n),this.makeInput(e)]}},yc(this.$slots,["default"])))},mounted(){this.$emit("fc.el",this.$refs.el)}}),pe={type(t,e){return Object.prototype.toString.call(t)==="[object "+e+"]"},Undef(t){return t==null},Element(t){return typeof t=="object"&&t!==null&&t.nodeType===1&&!pe.Object(t)},trueArray(t){return Array.isArray(t)&&t.length>0},Function(t){const e=this.getType(t);return e==="Function"||e==="AsyncFunction"},getType(t){const e=Object.prototype.toString.call(t);return/^\[object (.*)\]$/.exec(e)[1]},empty(t){return t==null||Array.isArray(t)&&Array.isArray(t)&&!t.length?!0:typeof t=="string"&&!t}};["Date","Object","String","Boolean","Array","Number"].forEach(t=>{pe[t]=function(e){return pe.type(e,t)}});function lt(t,e){return{}.hasOwnProperty.call(t,e)}const wT="fcSelect",ET=Se({name:wT,inheritAttrs:!1,props:{formCreateInject:Object,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},type:String},emits:["update:modelValue","fc.el"],setup(t,{emit:e}){const n=$t(t.formCreateInject,"options",[]),i=$t(t,"modelValue");return{options:te(()=>Array.isArray(n.value)?n.value:[]),value:i,handleUpdate:o=>{e("update:modelValue",o)},hasProperty:lt,is:pe}},mounted(){this.$emit("fc.el",this.$refs.el)}});function ST(t,e,n,i,o,r){const s=ze("el-option"),a=ze("el-option-group"),l=ze("el-select");return y(),ne(l,We(t.$attrs,{"model-value":t.value,"onUpdate:modelValue":t.handleUpdate,ref:"el"}),{default:we(()=>[(y(!0),T(Me,null,He(t.options,(c,u)=>(y(),T(Me,null,[t.hasProperty(c,"options")?(y(),ne(a,{label:c.label,key:`${u}-${c.label}`},{default:we(()=>[(y(!0),T(Me,null,He(t.is.trueArray(c.options)?c.options:[],(d,h)=>(y(),ne(s,We({key:`${h}-${d.value}`},{ref_for:!0},d),null,16))),128))]),_:2},1032,["label"])):(y(),ne(s,We({key:`${u}-${c.value}`},{ref_for:!0},c),null,16))],64))),256)),Ve(t.$slots,"default")]),_:3},16,["model-value","onUpdate:modelValue"])}const CT=gi(ET,[["render",ST]]),xT="fcTree",TT=Se({name:xT,inheritAttrs:!1,formCreateParser:{mergeProp(t){const e=t.prop.props;e.nodeKey||(e.nodeKey="id"),e.props||(e.props={label:"title"})}},props:{type:String,modelValue:{type:[Array,String,Number],default:()=>[]}},emits:["update:modelValue","fc.el"],watch:{modelValue(){this.setValue()}},methods:{updateValue(){if(!this.$refs.tree)return;let t;this.type==="selected"?t=this.$refs.tree.getCurrentKey():t=this.$refs.tree.getCheckedKeys(),this.$emit("update:modelValue",t)},setValue(){this.$refs.tree&&(this.type==="selected"?this.$refs.tree.setCurrentKey(this.modelValue):this.$refs.tree.setCheckedKeys(zt(this.modelValue)))}},render(){return j(ze("ElTree"),We(this.$attrs,{ref:"tree",onCheck:this.updateValue,onNodeClick:this.updateValue}),this.$slots)},mounted(){this.setValue(),this.$emit("fc.el",this.$refs.tree)}}),OT={name:"IconUpload"},$T={class:"icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function kT(t,e,n,i,o,r){return y(),T("svg",$T,[...e[0]||(e[0]=[g("path",{fill:"currentColor",d:"M160 832h704a32 32 0 110 64H160a32 32 0 110-64zm384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248L544 253.696z"},null,-1)])])}const AT=gi(OT,[["render",kT]]);function Bd(t,e){return typeof t=="object"?t:{url:t,is_string:!0,name:PT(t),uid:e}}function Hd(t){return en(Te({},t),{file:t,value:t})}function PT(t){return(""+t).split("/").pop()}const RT="fcUpload",MT=Se({name:RT,inheritAttrs:!1,formCreateParser:{toFormValue(t){return zt(t)},toValue(t,e){return e.prop.props.limit===1?t[0]||"":t}},props:{previewMask:void 0,onPreview:Function,httpRequest:Function,modalTitle:String,listType:String,uploadText:String,formCreateInject:Object,modelValue:[Array,String,Object]},emits:["update:modelValue","change","remove","fc.el"],data(){return{previewVisible:!1,previewImage:"",fileList:[]}},created(){this.fileList=zt(this.modelValue).map(Bd).map(Hd)},watch:{modelValue(t){this.fileList=zt(t).map(Bd).map(Hd)}},methods:{handlePreview(t){this.onPreview?this.onPreview(...arguments):this.listType==="text"?window.open(t.url):(this.previewImage=t.url,this.previewVisible=!0)},update(t){let e=t.map(n=>n.is_string?n.url:n.value||n.url).filter(n=>n!==void 0);this.$emit("update:modelValue",e)},handleCancel(){this.previewVisible=!1},handleChange(t,e){this.$emit("change",...arguments),t.status==="success"&&this.update(e)},handleRemove(t,e){this.$emit("remove",...arguments),this.update(e)},doHttpRequest(t){if(this.httpRequest)return this.httpRequest(t);t.source="upload",this.formCreateInject.api.fetch(t)}},render(){const t=zt(this.modelValue).length;return j("div",{class:"_fc-upload"},[j(ze("ElUpload"),We({key:t},this.$attrs,{listType:this.listType||"picture-card",class:{"_fc-exceed":this.$attrs.limit?this.$attrs.limit<=t:!1},onPreview:this.handlePreview,onChange:this.handleChange,onRemove:this.handleRemove,httpRequest:this.doHttpRequest,fileList:this.fileList,ref:"upload"}),Te({default:()=>{var e,n;return[((n=(e=this.$slots).default)==null?void 0:n.call(e))||(["text","picture"].indexOf(this.listType)===-1?j(ze("ElIcon"),null,{default:()=>[j(AT,null,null)]}):j(ze("ElButton"),{type:"primary"},{default:()=>[this.formCreateInject.t("clickToUpload")||this.uploadText||"点击上传"]}))]}},yc(this.$slots,["default"]))),j(ze("ElDialog"),{appendToBody:!0,modal:this.previewMask,title:this.modalTitle,modelValue:this.previewVisible,onClose:this.handleCancel},{default:()=>[j("img",{style:"width: 100%",src:this.previewImage},null)]})])},mounted(){this.$emit("fc.el",this.$refs.upload)}});function an(t,e,n){t[e]=n}function Ei(t,e){delete t[e]}function nr(t,e={},n){let i=!1;for(let o in e)if(Object.prototype.hasOwnProperty.call(e,o)){let r=e[o];if((i=Array.isArray(r))||pe.Object(r)){let s=t[o]===void 0;if(i)i=!1,s&&an(t,o,[]);else if(r._clone&&n!==void 0)if(n)r=r.getRule(),s&&an(t,o,{});else{an(t,o,r._clone());continue}else s&&an(t,o,{});t[o]=nr(t[o],r,n)}else an(t,o,r),pe.Undef(r)||(pe.Undef(r.__json)||(t[o].__json=r.__json),pe.Undef(r.__origin)||(t[o].__origin=r.__origin))}return n!==void 0&&Array.isArray(t)?t.filter(o=>!o||!o.__ctrl):t}function In(t){return nr({},{value:t}).value}const IT=Object.assign||function(t){for(let e,n=1;n<arguments.length;n++)for(let i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&an(t,i,e[i]);return t};function De(){return IT.apply(this,arguments)}function ml(t){return typeof t!="object"||t===null?t:t instanceof Array?[...t]:Te({},t)}function ci(t,e){var n=null;return function(...i){n!==null&&clearTimeout(n),n=setTimeout(()=>t.call(this,...i),e)}}function _m(t){return t==null?"":typeof t=="object"?JSON.stringify(t,null,2):String(t)}function DT(t){return t&&typeof t=="object"&&typeof t.then=="function"}function as(t){return DT(t)?t:Promise.resolve(t)}function Do(t){let e=t.replace(/([A-Z])/g,"-$1").toLocaleLowerCase();return e.indexOf("-")===0&&(e=e.substr(1)),e}function ym(t){return t.replace(t[0],t[0].toLocaleUpperCase())}function bm(t,e,n){return`[form-create ${t}]: ${e}`}function bc(t,e){console.error(bm("err",t))}function FT(t){bc(t.toString()),console.error(t)}const vl="[[FORM-CREATE-PREFIX-",gl="-FORM-CREATE-SUFFIX]]";function Fo(t,e){return JSON.stringify(nr(Array.isArray(t)?[]:{},t,!0),function(n,i){if(!(i&&i._isVue===!0)){if(typeof i!="function")return i;if(i.__json)return i.__json;if(i.__origin&&(i=i.__origin),!i.__emit)return vl+i+gl}},e)}function ca(t){return new Function("return "+t)()}function Fn(t,e){if(t&&pe.String(t)&&t.length>4){let n=t.trim(),i=!1;try{if(n.indexOf(gl)>0&&n.indexOf(vl)===0)n=n.replace(gl,"").replace(vl,""),i=!0;else if(n.indexOf("$FN:")===0)n=n.substring(4),i=!0;else if(n.indexOf("$EXEC:")===0)n=n.substring(6),i=!0;else if(n.indexOf("$GLOBAL:")===0){const r=n.substring(8);return n=function(...s){const a=s[0].api.getGlobalEvent(r);if(a)return a.call(this,...s)},n.__json=t,n.__inject=!0,n}else{if(n.indexOf("$FNX:")===0)return n=ca(`function($inject){
|
|
13
13
|
`+n.substring(5)+`
|
|
14
14
|
}`),n.__json=t,n.__inject=!0,n;(!e&&n.indexOf("function ")===0&&n!=="function "||!e&&n.indexOf("function(")===0&&n!=="function(")&&(i=!0)}if(!i)return t;let o;try{o=ca(n)}catch{o=ca("function "+n)}return o.__json=t,o}catch(o){bc(`解析失败:${n}
|