diff --git a/README.md b/README.md index 68f8538..bc5753e 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,54 @@ -# Tag Planet - Install a Dashboard for Your Browser +# Tag Planet - Add a Dashboard to Your Browser [English](README.md) | [中文](README.zh.md) -Tag Planet is a browser-based tab management tool that allows you to easily manage your tabs and tag them, turning your browser into a dashboard. +Tag Planet is a browser-based tab management tool that allows you to easily manage your tabs and turn your browser into a dashboard. -![](./assets/img1.png) +![](./src/assets/img1.png) # Product Features -- **Tab Management**: You can easily manage your browser bookmarks, automatically convert bookmark data into navigation, and turn your browser into a dashboard. -- **Recent Visits**: Displays the last 10 websites visited at the top, so you can easily recover any tabs you accidentally closed. -- **Tab Bar Management**: If you have too many websites open in your browser, the default tab bar can get too crowded. Tag Planet uses a vertical layout, allowing you to click directly to jump to a tab. +- **Bookmark Management**: Easily manage your browser bookmarks and automatically convert them into navigation, transforming your browser into a dashboard. +- **Bookmark Fuzzy Search**: Quickly search your bookmarks by entering keywords to find the website you want. +- **Recent Visits**: Displays the 10 most recently visited websites at the top, making it easy to recover if accidentally closed. +- **Tab Bar Management**: When too many websites are open, the default tab bar can get crowded. Tag Planet uses a vertical layout, allowing direct access to tabs with a click. +- **Export Bookmarks**: Export your bookmark data to share with others. +- **Subscribe to Bookmark Sources**: Exported JSON files can be uploaded to any server as a subscription source. Users can enter the subscription source link within Tag Planet to share bookmarks. # Support and Installation ## Support -Currently, only Chrome and Edge browsers have been tested for perfect compatibility. Other browsers can be tested at your own discretion. +Currently tested and fully supported only on Chrome and Edge browsers. Other browsers can be tested by yourself. +Tech Stack: `vite` `vue3` `crxjs` ## Installation You can install Tag Planet through the following methods: -- **Chrome Web Store**:https://chromewebstore.google.com/detail/jeaebbdndojkbnnfcaihgokhnakocbnf -- **Edge Add-ons Store**:https://microsoftedge.microsoft.com/addons/detail/podfjomopoejmlkfnhanlmlagcnlappd -- **Download the installer package**: https://wwo.lanzouo.com/i0lD224yl0yb -- Manual installation: Download the code, unzip it, and open the Developer mode in the browser's extension settings, then load the unzipped extension. +- **Chrome Store**: https://chromewebstore.google.com/detail/jeaebbdndojkbnnfcaihgokhnakocbnf +- **Edge Store**: https://microsoftedge.microsoft.com/addons/detail/podfjomopoejmlkfnhanlmlagcnlappd +- **Offline Installation**: https://wwo.lanzouo.com/irgle26hmucf +- **Manual Installation**: Download the code, unzip it, then enable Developer Mode in your browser’s extension settings and load the unpacked extension. +- **Note**: The latest version is v1.1. There might be a delay in the browser extension stores' review process. If the version number is not 1.1, it means it’s under review. You can use the source code to compile and install the latest version or use offline installation. + +## Example Subscription Sources +You can subscribe to Tag Planet's example sources through the following links: +- **Developer Navigation**: https://file.zhuayuya.com/source/dev.json +- **Designer Navigation**: https://file.zhuayuya.com/source/design.json +- **Anime Websites**: https://file.zhuayuya.com/source/2d.json +- **Standalone Game Downloads**: https://file.zhuayuya.com/source/game.json + +### Note: Subscription source requests have cross-origin issues. The source code uses the official backend proxy server by default. If you need to modify it for your own server, you can do so. # Feedback -If you have any questions, feel free to reach out to me, and I will handle them promptly. -- You can contact me via WeChat: 1090879115 -- Email: pony618@foxmail.com -- WeChat Group & Official Account +If you have any questions, feel free to provide feedback, and I will address them promptly. +- **Contact me via WeChat**: 1090879115 +- **Email**: pony618@foxmail.com +- WeChat Official Account + +![](./assets/dingyue.jpeg) + +# Screenshot Display +![](./src/assets/img2.png) + +![](./src/assets/img3.png) -![](./assets/wx.jpg) +![](./src/assets/img4.png) -![](./assets/dingyue.jpeg) \ No newline at end of file +![](./src/assets/img5.png) diff --git a/README.zh.md b/README.zh.md index 3720b7a..5cdc681 100644 --- a/README.zh.md +++ b/README.zh.md @@ -3,34 +3,55 @@ [English](README.md) | [中文](README.zh.md) -标签星球是一个基于浏览器的标签管理工具,你可以轻松的管理你的标签,并给它们打上标签,让你的浏览器成为一个仪表盘。 +标签星球是一个基于浏览器的标签管理工具,你可以轻松的管理你的标签页,让你的浏览器成为一个仪表盘。 -![](./assets/img1.png) +![](./src/assets/img1.png) # 产品功能 -- **标签管理**:你可以轻松的管理你的浏览器收藏夹,将收藏数据自动转为导航,让你的浏览器成为一个仪表盘。 -- **最近访问**:最上方显示最近访问的10个网站,不小心误关,轻松找回 -- **Tab栏管理**:浏览器打开太多网站,默认Tab栏太拥挤,标签星球竖向布局,点击直接跳到Tab +- **收藏夹管理**:你可以轻松的管理你的浏览器收藏夹,将收藏数据自动转为导航,让你的浏览器成为一个仪表盘。 +- **收藏夹模糊搜索**:输入关键字快速搜索你的收藏夹,快速找到你想要的网站。 +- **最近访问**:最上方显示最近访问的10个网站,不小心误关,轻松找回。 +- **Tab栏管理**:浏览器打开太多网站,默认Tab栏太拥挤,标签星球竖向布局,点击直接跳到Tab。 +- **导出收藏夹**:导出你的收藏夹数据,分享给他人。 +- **订阅收藏源**:导出的json文件可以上传至任意服务器作为订阅源,用户可在标签星球内输入订阅源链接,实现收藏夹分享。 # 支持和安装 ## 支持 目前仅测试了chrome、edge两款浏览器可以完美支持,其他浏览器可以自行测试。 +技术栈:`vite` `vue3` `crxjs` ## 安装 你可以通过以下方式安装标签星球: -- **Chrome商城**:https://chromewebstore.google.com/detail/jeaebbdndojkbnnfcaihgokhnakocbnf -- **Edge商城**:https://microsoftedge.microsoft.com/addons/detail/podfjomopoejmlkfnhanlmlagcnlappd -- **下载安装包**:https://wwo.lanzouo.com/i0lD224yl0yb +- **Chrome商店**:https://chromewebstore.google.com/detail/jeaebbdndojkbnnfcaihgokhnakocbnf +- **Edge商店**:https://microsoftedge.microsoft.com/addons/detail/podfjomopoejmlkfnhanlmlagcnlappd +- **离线安装**:https://wwo.lanzouo.com/irgle26hmucf - **手动安装**:下载代码,解压后,在浏览器扩展程序中打开开发者模式,加载已解压的扩展程序。 -- chrome商城和edge商城还在审核中,稍后会发布到商城。 +- **注意**:目前最新版本v1.1,浏览器扩展商店有审核延迟,如果版本号不是1.1就是审核中体验最新版本可用源码编译安装或离线安装 +## 示例订阅源 +你可以通过以下链接订阅标签星球的示例订阅源: +- **开发者导航**:https://file.zhuayuya.com/source/dev.json +- **设计师导航**:https://file.zhuayuya.com/source/design.json +- **二次元网站**:https://file.zhuayuya.com/source/2d.json +- **单机游戏下载**:https://file.zhuayuya.com/source/game.json + +### 注意:订阅源请求有跨域问题,源代码默认使用了官方后端中转服务器,需要二开可以自行修改成自己的 # 反馈 如果你有任何问题,欢迎反馈给我,我会及时处理。 - **可以通过微信联系我**:1090879115 - **Email**:pony618@foxmail.com -- 微信群 & 公众号 - -![](./assets/wx.jpg) +- 公众号 ![](./assets/dingyue.jpeg) + + +# 截图展示 +![](./src/assets/img2.png) + +![](./src/assets/img3.png) + +![](./src/assets/img4.png) + +![](./src/assets/img5.png) + diff --git a/dist/assets/index-BSVXOARM.css b/dist/assets/index-BSVXOARM.css new file mode 100644 index 0000000..9024d49 --- /dev/null +++ b/dist/assets/index-BSVXOARM.css @@ -0,0 +1 @@ +.node-title[data-v-174cd975]{font-size:15px;font-weight:600;color:#374151;word-wrap:normal;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}li[data-v-174cd975]{list-style-type:none;margin-top:8px}div[data-v-174cd975]{cursor:pointer;padding:8px;border-radius:5px;display:flex;align-items:center;position:relative}.icon[data-v-174cd975]{margin-right:5px;margin-top:-5px}.toggle-icon[data-v-174cd975]{margin-left:auto;cursor:pointer;font-size:14px}.selected[data-v-174cd975]{background-color:#e9e9e9}ul[data-v-174cd975]{padding-left:20px}.subscribe-item span[data-v-a9ffa1e7]{font-size:13px;margin-left:5px;color:#333;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.subscribe-item[data-v-a9ffa1e7]{width:128px;height:38px;border:1px solid #ececec;display:flex;align-items:center;padding:10px;border-radius:5px;cursor:pointer;transition:all .2s;margin-right:10px}.subscribe-item[data-v-a9ffa1e7]:hover{background:#f1f1f1}.subscribe[data-v-a9ffa1e7]{margin-bottom:18px;display:flex}.crumbs span[data-v-a9ffa1e7]{font-size:13px;color:#919191;cursor:pointer}.crumbs span[data-v-a9ffa1e7]:hover{font-size:13px;color:#333;text-decoration:underline}.crumbs[data-v-a9ffa1e7]{margin-bottom:18px}.group ul li span[data-v-a9ffa1e7]{display:block;font-size:13px;color:#333;margin-top:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.group ul li i[data-v-a9ffa1e7]{font-size:50px}.group ul li[data-v-a9ffa1e7]{width:88px;height:88px;margin-right:6px;border-radius:10px;display:flex;flex-direction:column;align-items:center;cursor:pointer;transition:all .2s}.group ul li[data-v-a9ffa1e7]:hover{background:#f1f1f1}.group ul[data-v-a9ffa1e7]{display:flex;width:100%;overflow:auto}.popup-content h1[data-v-a9ffa1e7]{margin:0 0 20px}.links img[data-v-a9ffa1e7]{width:38px;height:38px;margin-left:16px;border-radius:50px;object-fit:cover}.links ul li p[data-v-a9ffa1e7]{width:120px;font-size:14px;color:#999;line-height:20px;font-weight:300;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-left:10px}.links ul li h3[data-v-a9ffa1e7]{width:120px;font-size:15px;line-height:20px;margin-bottom:6px;margin-left:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.links ul li[data-v-a9ffa1e7]{width:100%;height:80px;border-radius:12px;background:#fff9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 0 2px #0003;list-style:none;display:flex;align-items:center;cursor:pointer;transition:all .3s}.links ul li[data-v-a9ffa1e7]:hover{box-shadow:1px 1px 5px #0003}.links ul[data-v-a9ffa1e7]{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-gap:22px;padding-inline-start:0;padding:3px;overflow:auto;margin-top:20px}.group img[data-v-a9ffa1e7]{width:58px;height:58px;object-fit:cover}.popup-content[data-v-a9ffa1e7]{width:50%;height:600px;border-radius:10px;background:#fff;overflow:auto;padding:20px;box-shadow:1px 1px 5px #0003}.popup-content[data-v-a9ffa1e7]::-webkit-scrollbar{display:none}.popup[data-v-a9ffa1e7]{position:fixed;width:100%;height:100%;background:#0003;z-index:1;display:flex;align-items:center;justify-content:center}.wallpper img[data-v-a9ffa1e7]{width:100%;height:100%;object-fit:cover}.wallpper[data-v-a9ffa1e7]{width:100%;height:100%;position:absolute;z-index:-1;overflow:hidden}.current-folder-header h1[data-v-a9ffa1e7]{margin:0}.current-folder-header span[data-v-a9ffa1e7]{color:#333;font-size:15px;padding:3px 6px;border-radius:5px;cursor:pointer;transition:all .3s}.current-folder-header span[data-v-a9ffa1e7]:hover{background:#00a6ed;color:#fff}.current-folder-header[data-v-a9ffa1e7]{display:flex;justify-content:space-between;align-items:center}.search-popup li img[data-v-a9ffa1e7]{width:18px;height:18px;border-radius:3px}.search-popup li span[data-v-a9ffa1e7]{font-size:14px;color:#333;margin-left:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.search-popup li[data-v-a9ffa1e7]{display:flex;align-items:center;margin-bottom:20px;margin-top:20px;cursor:pointer}.search-popup li[data-v-a9ffa1e7]:hover{text-decoration:underline}.search-popup[data-v-a9ffa1e7]{position:absolute;z-index:1;margin-top:10px;width:300px;max-height:380px;overflow:auto;background:#fff;border-radius:5px;padding:0 16px;box-shadow:0 2px 5px #0003}.tree[data-v-a9ffa1e7]{margin-top:10px;padding:15px}.right ul li span[data-v-a9ffa1e7]{width:188px;display:block;font-size:14px;color:#333;font-weight:300;margin-left:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-shadow:0px 0px 5px rgba(255,255,255,1)}.right ul li img[data-v-a9ffa1e7]{width:18px;height:18px;object-fit:cover;border-radius:5px}.right ul li[data-v-a9ffa1e7]{height:32px;margin-top:8px;display:flex;align-items:center;padding:1px 6px;border-radius:6px;cursor:pointer;transition:all .3s}.right ul li[data-v-a9ffa1e7]:hover{background:#f1f1f1}.right ul[data-v-a9ffa1e7]{margin-left:16px;margin-top:20px}.right h1[data-v-a9ffa1e7]{margin-left:16px}.right[data-v-a9ffa1e7]{height:calc(100vh - 60px);overflow:auto}.current-folder-link ul li p[data-v-a9ffa1e7]{width:120px;font-size:14px;color:#999;line-height:20px;font-weight:300;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.current-folder-link ul li h3[data-v-a9ffa1e7]{width:120px;font-size:15px;line-height:20px;margin-bottom:6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.current-folder-link ul li div[data-v-a9ffa1e7]{margin-left:16px}.current-folder-link ul li img[data-v-a9ffa1e7]{width:38px;height:38px;margin-left:16px;border-radius:50px}.current-folder-link ul li[data-v-a9ffa1e7]{width:100%;height:80px;border-radius:12px;background:#fff9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 0 2px #0003;list-style:none;display:flex;align-items:center;cursor:pointer;transition:all .3s}.current-folder-link ul li[data-v-a9ffa1e7]:hover{box-shadow:1px 1px 5px #0003}.current-folder-link ul[data-v-a9ffa1e7]{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-gap:22px;padding-inline-start:0;padding:3px;overflow:auto;margin-top:20px}.current-folder-link[data-v-a9ffa1e7]{margin:20px}.recently-opened ul li img[data-v-a9ffa1e7]{width:50px;height:50px;border-radius:12px;object-fit:cover;border:1px solid #f1f1f1}.recently-opened ul li span[data-v-a9ffa1e7]{width:100%;display:block;font-size:13px;color:#333;margin-top:5px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.recently-opened ul li[data-v-a9ffa1e7]{width:58px;display:flex;flex-direction:column;align-items:center;margin-right:10px;cursor:pointer;transition:transform .2s ease-in-out}.recently-opened ul li[data-v-a9ffa1e7]:hover{transform:translateY(-5px)}.recently-opened ul[data-v-a9ffa1e7]{width:100%;overflow-y:auto;height:88px;margin-top:8px;display:flex;align-items:center}.recently-opened[data-v-a9ffa1e7]{margin-left:20px;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #f1f1f1}h1[data-v-a9ffa1e7]{font-size:16px;font-weight:600;color:#333;margin-top:28px}.left[data-v-a9ffa1e7]{width:calc(100% - 260px);border-right:1px solid #f1f1f1;height:calc(100vh - 60px);overflow:auto}.content[data-v-a9ffa1e7]{display:flex}.menu a[data-v-a9ffa1e7]{margin-right:22px;color:#333;font-size:14px;text-decoration:none}.menu a[data-v-a9ffa1e7]:hover{text-decoration:underline}.search input[data-v-a9ffa1e7]{width:300px;padding:12px;font-size:14px;border:none;outline:none;border-radius:5px;background:#fff3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.search[data-v-a9ffa1e7]{margin-left:20px}.header[data-v-a9ffa1e7]{height:60px;width:100%;box-shadow:1px 1px 5px #0000001a;display:flex;justify-content:space-between;align-items:center}.app-right[data-v-a9ffa1e7]{width:calc(100% - 220px)}.logo img[data-v-a9ffa1e7]{width:180px}.logo[data-v-a9ffa1e7]{width:100%;height:60px;display:flex;justify-content:center;align-items:center}.app-left[data-v-a9ffa1e7]{width:220px;height:100vh;border-right:1px solid #f1f1f1;overflow:auto}.container[data-v-a9ffa1e7]{display:flex}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}table{border-collapse:collapse;border-spacing:0}.ant-tree-treenode{padding-bottom:9px!important;padding-top:6px!important}.ant-tree-title{font-size:15px!important;font-weight:600}.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover:before,:where(.css-dev-only-do-not-override-19iuou).ant-tree.ant-tree-directory .ant-tree-treenode-selected:before{background:#09c0a7;color:#f0f8ff!important} diff --git a/dist/assets/index.html-7cVHFAF4.js b/dist/assets/index.html-7cVHFAF4.js new file mode 100644 index 0000000..958de22 --- /dev/null +++ b/dist/assets/index.html-7cVHFAF4.js @@ -0,0 +1,247 @@ +var Yb=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var t6=Yb((Dn,Bn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/** +* @vue/shared v3.4.35 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Qc(e,t){const n=new Set(e.split(","));return o=>n.has(o)}const tt={},yr=[],Gt=()=>{},Qb=()=>!1,hl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jc=e=>e.startsWith("onUpdate:"),pt=Object.assign,Zc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jb=Object.prototype.hasOwnProperty,Ke=(e,t)=>Jb.call(e,t),$e=Array.isArray,br=e=>gl(e)==="[object Map]",Sg=e=>gl(e)==="[object Set]",Ee=e=>typeof e=="function",lt=e=>typeof e=="string",go=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",wg=e=>(Je(e)||Ee(e))&&Ee(e.then)&&Ee(e.catch),$g=Object.prototype.toString,gl=e=>$g.call(e),Zb=e=>gl(e).slice(8,-1),Og=e=>gl(e)==="[object Object]",eu=e=>lt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ni=Qc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ml=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},eC=/-(\w)/g,ln=ml(e=>e.replace(eC,(t,n)=>n?n.toUpperCase():"")),tC=/\B([A-Z])/g,Qo=ml(e=>e.replace(tC,"-$1").toLowerCase()),vl=ml(e=>e.charAt(0).toUpperCase()+e.slice(1)),es=ml(e=>e?`on${vl(e)}`:""),fo=(e,t)=>!Object.is(e,t),ba=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Xs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nC=e=>{const t=lt(e)?Number(e):NaN;return isNaN(t)?e:t};let Sd;const Eg=()=>Sd||(Sd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function tu(e){if($e(e)){const t={};for(let n=0;n{if(n){const o=n.split(rC);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function yl(e){let t="";if(lt(e))t=e;else if($e(e))for(let n=0;n!!(e&&e.__v_isRef===!0),It=e=>lt(e)?e:e==null?"":$e(e)||Je(e)&&(e.toString===$g||!Ee(e.toString))?Pg(e)?It(e.value):JSON.stringify(e,Ag,2):String(e),Ag=(e,t)=>Pg(t)?Ag(e,t.value):br(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[ts(o,i)+" =>"]=r,n),{})}:Sg(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ts(n))}:go(t)?ts(t):Je(t)&&!$e(t)&&!Og(t)?String(t):t,ts=(e,t="")=>{var n;return go(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.35 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let on;class cC{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=on,!t&&on&&(this.index=(on.scopes||(on.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=on;try{return on=this,t()}finally{on=n}}}on(){on=this}off(){on=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),vo()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=io,n=No;try{return io=!0,No=this,this._runnings++,wd(this),this.fn()}finally{$d(this),this._runnings--,No=n,io=t}}stop(){this.active&&(wd(this),$d(this),this.onStop&&this.onStop(),this.active=!1)}}function fC(e){return e.value}function wd(e){e._trackId++,e._depsLength=0}function $d(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Ha=new WeakMap,Do=Symbol(""),Qs=Symbol("");function Bt(e,t,n){if(io&&No){let o=Ha.get(e);o||Ha.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Dg(()=>o.delete(n))),Rg(No,r)}}function Ln(e,t,n,o,r,i){const a=Ha.get(e);if(!a)return;let l=[];if(t==="clear")l=[...a.values()];else if(n==="length"&&$e(e)){const s=Number(o);a.forEach((c,d)=>{(d==="length"||!go(d)&&d>=s)&&l.push(c)})}else switch(n!==void 0&&l.push(a.get(n)),t){case"add":$e(e)?eu(n)&&l.push(a.get("length")):(l.push(a.get(Do)),br(e)&&l.push(a.get(Qs)));break;case"delete":$e(e)||(l.push(a.get(Do)),br(e)&&l.push(a.get(Qs)));break;case"set":br(e)&&l.push(a.get(Do));break}ou();for(const s of l)s&&Ng(s,4);ru()}function pC(e,t){const n=Ha.get(e);return n&&n.get(t)}const hC=Qc("__proto__,__v_isRef,__isVue"),Bg=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(go)),Od=gC();function gC(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Le(this);for(let i=0,a=this.length;i{e[t]=function(...n){mo(),ou();const o=Le(this)[t].apply(this,n);return ru(),vo(),o}}),e}function mC(e){go(e)||(e=String(e));const t=Le(this);return Bt(t,"has",e),t.hasOwnProperty(e)}class Lg{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?PC:kg:i?jg:Hg).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=$e(t);if(!r){if(a&&Ke(Od,n))return Reflect.get(Od,n,o);if(n==="hasOwnProperty")return mC}const l=Reflect.get(t,n,o);return(go(n)?Bg.has(n):hC(n))||(r||Bt(t,"get",n),i)?l:xt(l)?a&&eu(n)?l:l.value:Je(l)?r?zg(l):vt(l):l}}class Fg extends Lg{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const s=ko(i);if(!Or(o)&&!ko(o)&&(i=Le(i),o=Le(o)),!$e(t)&&xt(i)&&!xt(o))return s?!1:(i.value=o,!0)}const a=$e(t)&&eu(n)?Number(n)e,bl=e=>Reflect.getPrototypeOf(e);function Yi(e,t,n=!1,o=!1){e=e.__v_raw;const r=Le(e),i=Le(t);n||(fo(t,i)&&Bt(r,"get",t),Bt(r,"get",i));const{has:a}=bl(r),l=o?iu:n?su:gi;if(a.call(r,t))return l(e.get(t));if(a.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Qi(e,t=!1){const n=this.__v_raw,o=Le(n),r=Le(e);return t||(fo(e,r)&&Bt(o,"has",e),Bt(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ji(e,t=!1){return e=e.__v_raw,!t&&Bt(Le(e),"iterate",Do),Reflect.get(e,"size",e)}function _d(e,t=!1){!t&&!Or(e)&&!ko(e)&&(e=Le(e));const n=Le(this);return bl(n).has.call(n,e)||(n.add(e),Ln(n,"add",e,e)),this}function Ed(e,t,n=!1){!n&&!Or(t)&&!ko(t)&&(t=Le(t));const o=Le(this),{has:r,get:i}=bl(o);let a=r.call(o,e);a||(e=Le(e),a=r.call(o,e));const l=i.call(o,e);return o.set(e,t),a?fo(t,l)&&Ln(o,"set",e,t):Ln(o,"add",e,t),this}function Td(e){const t=Le(this),{has:n,get:o}=bl(t);let r=n.call(t,e);r||(e=Le(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Ln(t,"delete",e,void 0),i}function Pd(){const e=Le(this),t=e.size!==0,n=e.clear();return t&&Ln(e,"clear",void 0,void 0),n}function Zi(e,t){return function(o,r){const i=this,a=i.__v_raw,l=Le(a),s=t?iu:e?su:gi;return!e&&Bt(l,"iterate",Do),a.forEach((c,d)=>o.call(r,s(c),s(d),i))}}function ea(e,t,n){return function(...o){const r=this.__v_raw,i=Le(r),a=br(i),l=e==="entries"||e===Symbol.iterator&&a,s=e==="keys"&&a,c=r[e](...o),d=n?iu:t?su:gi;return!t&&Bt(i,"iterate",s?Qs:Do),{next(){const{value:u,done:f}=c.next();return f?{value:u,done:f}:{value:l?[d(u[0]),d(u[1])]:d(u),done:f}},[Symbol.iterator](){return this}}}}function Vn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function xC(){const e={get(i){return Yi(this,i)},get size(){return Ji(this)},has:Qi,add:_d,set:Ed,delete:Td,clear:Pd,forEach:Zi(!1,!1)},t={get(i){return Yi(this,i,!1,!0)},get size(){return Ji(this)},has:Qi,add(i){return _d.call(this,i,!0)},set(i,a){return Ed.call(this,i,a,!0)},delete:Td,clear:Pd,forEach:Zi(!1,!0)},n={get(i){return Yi(this,i,!0)},get size(){return Ji(this,!0)},has(i){return Qi.call(this,i,!0)},add:Vn("add"),set:Vn("set"),delete:Vn("delete"),clear:Vn("clear"),forEach:Zi(!0,!1)},o={get(i){return Yi(this,i,!0,!0)},get size(){return Ji(this,!0)},has(i){return Qi.call(this,i,!0)},add:Vn("add"),set:Vn("set"),delete:Vn("delete"),clear:Vn("clear"),forEach:Zi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=ea(i,!1,!1),n[i]=ea(i,!0,!1),t[i]=ea(i,!1,!0),o[i]=ea(i,!0,!0)}),[e,n,t,o]}const[SC,wC,$C,OC]=xC();function au(e,t){const n=t?e?OC:$C:e?wC:SC;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Ke(n,r)&&r in o?n:o,r,i)}const _C={get:au(!1,!1)},EC={get:au(!1,!0)},TC={get:au(!0,!1)},Hg=new WeakMap,jg=new WeakMap,kg=new WeakMap,PC=new WeakMap;function AC(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function IC(e){return e.__v_skip||!Object.isExtensible(e)?0:AC(Zb(e))}function vt(e){return ko(e)?e:lu(e,!1,yC,_C,Hg)}function MC(e){return lu(e,!1,CC,EC,jg)}function zg(e){return lu(e,!0,bC,TC,kg)}function lu(e,t,n,o,r){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=IC(e);if(a===0)return e;const l=new Proxy(e,a===2?o:n);return r.set(e,l),l}function oi(e){return ko(e)?oi(e.__v_raw):!!(e&&e.__v_isReactive)}function ko(e){return!!(e&&e.__v_isReadonly)}function Or(e){return!!(e&&e.__v_isShallow)}function Kg(e){return e?!!e.__v_raw:!1}function Le(e){const t=e&&e.__v_raw;return t?Le(t):e}function RC(e){return Object.isExtensible(e)&&_g(e,"__v_skip",!0),e}const gi=e=>Je(e)?vt(e):e,su=e=>Je(e)?zg(e):e;class Wg{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new nu(()=>t(this._value),()=>ri(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=Le(this);return(!t._cacheable||t.effect.dirty)&&fo(t._value,t._value=t.effect.run())&&ri(t,4),Vg(t),t.effect._dirtyLevel>=2&&ri(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function NC(e,t,n=!1){let o,r;const i=Ee(e);return i?(o=e,r=Gt):(o=e.get,r=e.set),new Wg(o,r,i||!r,n)}function Vg(e){var t;io&&No&&(e=Le(e),Rg(No,(t=e.dep)!=null?t:e.dep=Dg(()=>e.dep=void 0,e instanceof Wg?e:void 0)))}function ri(e,t=4,n,o){e=Le(e);const r=e.dep;r&&Ng(r,t)}function xt(e){return!!(e&&e.__v_isRef===!0)}function pe(e){return Ug(e,!1)}function K(e){return Ug(e,!0)}function Ug(e,t){return xt(e)?e:new DC(e,t)}class DC{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Le(t),this._value=n?t:gi(t)}get value(){return Vg(this),this._value}set value(t){const n=this.__v_isShallow||Or(t)||ko(t);t=n?t:Le(t),fo(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:gi(t),ri(this,4))}}function BC(e){ri(e,4)}function it(e){return xt(e)?e.value:e}const LC={get:(e,t,n)=>it(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return xt(r)&&!xt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Gg(e){return oi(e)?e:new Proxy(e,LC)}class FC{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return pC(Le(this._object),this._key)}}class HC{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Js(e,t,n){return xt(e)?e:Ee(e)?new HC(e):Je(e)&&arguments.length>1?jC(e,t,n):pe(e)}function jC(e,t,n){const o=e[t];return xt(o)?o:new FC(e,t,n)}/** +* @vue/runtime-core v3.4.35 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ao(e,t,n,o){try{return o?e(...o):e()}catch(r){Cl(r,t,n)}}function Xt(e,t,n,o){if(Ee(e)){const r=ao(e,t,n,o);return r&&wg(r)&&r.catch(i=>{Cl(i,t,n)}),r}if($e(e)){const r=[];for(let i=0;i>>1,r=St[o],i=vi(r);iCn&&St.splice(t,1)}function WC(e){$e(e)?Cr.push(...e):(!Yn||!Yn.includes(e,e.allowRecurse?Eo+1:Eo))&&Cr.push(e),qg()}function Ad(e,t,n=mi?Cn+1:0){for(;nvi(n)-vi(o));if(Cr.length=0,Yn){Yn.push(...t);return}for(Yn=t,Eo=0;Eoe.id==null?1/0:e.id,VC=(e,t)=>{const n=vi(e)-vi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Qg(e){Zs=!1,mi=!0,St.sort(VC);try{for(Cn=0;Cn{o._d&&zd(-1);const i=ja(t);let a;try{a=e(...r)}finally{ja(i),o._d&&zd(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function Jo(e,t){if(Rt===null)return e;const n=_l(Rt),o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),ot(()=>{e.isUnmounting=!0}),e}const Kt=[Function,Array],tm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Kt,onEnter:Kt,onAfterEnter:Kt,onEnterCancelled:Kt,onBeforeLeave:Kt,onLeave:Kt,onAfterLeave:Kt,onLeaveCancelled:Kt,onBeforeAppear:Kt,onAppear:Kt,onAfterAppear:Kt,onAppearCancelled:Kt},nm=e=>{const t=e.subTree;return t.component?nm(t.component):t},UC={name:"BaseTransition",props:tm,setup(e,{slots:t}){const n=Zt(),o=em();return()=>{const r=t.default&&du(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const f of r)if(f.type!==Mt){i=f;break}}const a=Le(e),{mode:l}=a;if(o.isLeaving)return ns(i);const s=Id(i);if(!s)return ns(i);let c=yi(s,a,o,n,f=>c=f);_r(s,c);const d=n.subTree,u=d&&Id(d);if(u&&u.type!==Mt&&!To(s,u)&&nm(n).type!==Mt){const f=yi(u,a,o,n);if(_r(u,f),l==="out-in"&&s.type!==Mt)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ns(i);l==="in-out"&&s.type!==Mt&&(f.delayLeave=(p,h,v)=>{const g=om(o,u);g[String(u.key)]=u,p[Qn]=()=>{h(),p[Qn]=void 0,delete c.delayedLeave},c.delayedLeave=v})}return i}}},GC=UC;function om(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function yi(e,t,n,o,r){const{appear:i,mode:a,persisted:l=!1,onBeforeEnter:s,onEnter:c,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:v,onBeforeAppear:g,onAppear:y,onAfterAppear:x,onAppearCancelled:S}=t,E=String(e.key),w=om(n,e),$=(_,P)=>{_&&Xt(_,o,9,P)},b=(_,P)=>{const N=P[1];$(_,P),$e(_)?_.every(B=>B.length<=1)&&N():_.length<=1&&N()},O={mode:a,persisted:l,beforeEnter(_){let P=s;if(!n.isMounted)if(i)P=g||s;else return;_[Qn]&&_[Qn](!0);const N=w[E];N&&To(e,N)&&N.el[Qn]&&N.el[Qn](),$(P,[_])},enter(_){let P=c,N=d,B=u;if(!n.isMounted)if(i)P=y||c,N=x||d,B=S||u;else return;let F=!1;const G=_[ta]=A=>{F||(F=!0,A?$(B,[_]):$(N,[_]),O.delayedLeave&&O.delayedLeave(),_[ta]=void 0)};P?b(P,[_,G]):G()},leave(_,P){const N=String(e.key);if(_[ta]&&_[ta](!0),n.isUnmounting)return P();$(f,[_]);let B=!1;const F=_[Qn]=G=>{B||(B=!0,P(),G?$(v,[_]):$(h,[_]),_[Qn]=void 0,w[N]===e&&delete w[N])};w[N]=e,p?b(p,[_,F]):F()},clone(_){const P=yi(_,t,n,o,r);return r&&r(P),P}};return O}function ns(e){if(Sl(e))return e=Qt(e),e.children=null,e}function Id(e){if(!Sl(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ee(n.default))return n.default()}}function _r(e,t){e.shapeFlag&6&&e.component?_r(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function du(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,Sl=e=>e.type.__isKeepAlive;function XC(e,t){rm(e,"a",t)}function qC(e,t){rm(e,"da",t)}function rm(e,t,n=bt){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(wl(t,o,n),n){let r=n.parent;for(;r&&r.parent;)Sl(r.parent.vnode)&&YC(o,t,n,r),r=r.parent}}function YC(e,t,n,o){const r=wl(t,e,o,!0);yo(()=>{Zc(o[t],r)},n)}function wl(e,t,n=bt,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{mo();const l=ji(n),s=Xt(t,n,e,a);return l(),vo(),s});return o?r.unshift(i):r.push(i),i}}const jn=e=>(t,n=bt)=>{(!Ol||e==="sp")&&wl(e,(...o)=>t(...o),n)},im=jn("bm"),ut=jn("m"),am=jn("bu"),wn=jn("u"),ot=jn("bum"),yo=jn("um"),QC=jn("sp"),JC=jn("rtg"),ZC=jn("rtc");function e1(e,t=bt){wl("ec",e,t)}const lm="components",t1="directives";function fr(e,t){return sm(lm,e,!0,t)||e}const n1=Symbol.for("v-ndc");function o1(e){return sm(t1,e)}function sm(e,t,n=!0,o=!1){const r=Rt||bt;if(r){const i=r.type;if(e===lm){const l=G1(i,!1);if(l&&(l===t||l===ln(t)||l===vl(ln(t))))return i}const a=Md(r[e]||i[e],t)||Md(r.appContext[e],t);return!a&&o?i:a}}function Md(e,t){return e&&(e[t]||e[ln(t)]||e[vl(ln(t))])}function mn(e,t,n,o){let r;const i=n;if($e(e)||lt(e)){r=new Array(e.length);for(let a=0,l=e.length;at(a,l,void 0,i));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,s=a.length;le?Pm(e)?_l(e):ec(e.parent):null,ii=pt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ec(e.parent),$root:e=>ec(e.root),$emit:e=>e.emit,$options:e=>fu(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,uu(e.update)}),$nextTick:e=>e.n||(e.n=at.bind(e.proxy)),$watch:e=>E1.bind(e)}),os=(e,t)=>e!==tt&&!e.__isScriptSetup&&Ke(e,t),r1={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:l,appContext:s}=e;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(os(o,t))return a[t]=1,o[t];if(r!==tt&&Ke(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Ke(c,t))return a[t]=3,i[t];if(n!==tt&&Ke(n,t))return a[t]=4,n[t];tc&&(a[t]=0)}}const d=ii[t];let u,f;if(d)return t==="$attrs"&&Bt(e.attrs,"get",""),d(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==tt&&Ke(n,t))return a[t]=4,n[t];if(f=s.config.globalProperties,Ke(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return os(r,t)?(r[t]=n,!0):o!==tt&&Ke(o,t)?(o[t]=n,!0):Ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let l;return!!n[a]||e!==tt&&Ke(e,a)||os(t,a)||(l=i[0])&&Ke(l,a)||Ke(o,a)||Ke(ii,a)||Ke(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Rd(e){return $e(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let tc=!0;function i1(e){const t=fu(e),n=e.proxy,o=e.ctx;tc=!1,t.beforeCreate&&Nd(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:l,provide:s,inject:c,created:d,beforeMount:u,mounted:f,beforeUpdate:p,updated:h,activated:v,deactivated:g,beforeDestroy:y,beforeUnmount:x,destroyed:S,unmounted:E,render:w,renderTracked:$,renderTriggered:b,errorCaptured:O,serverPrefetch:_,expose:P,inheritAttrs:N,components:B,directives:F,filters:G}=t;if(c&&a1(c,o,null),a)for(const V in a){const k=a[V];Ee(k)&&(o[V]=k.bind(n))}if(r){const V=r.call(n,n);Je(V)&&(e.data=vt(V))}if(tc=!0,i)for(const V in i){const k=i[V],R=Ee(k)?k.bind(n,n):Ee(k.get)?k.get.bind(n,n):Gt,W=!Ee(k)&&Ee(k.set)?k.set.bind(n):Gt,X=T({get:R,set:W});Object.defineProperty(o,V,{enumerable:!0,configurable:!0,get:()=>X.value,set:ae=>X.value=ae})}if(l)for(const V in l)cm(l[V],o,n,V);if(s){const V=Ee(s)?s.call(n):s;Reflect.ownKeys(V).forEach(k=>{rt(k,V[k])})}d&&Nd(d,e,"c");function D(V,k){$e(k)?k.forEach(R=>V(R.bind(n))):k&&V(k.bind(n))}if(D(im,u),D(ut,f),D(am,p),D(wn,h),D(XC,v),D(qC,g),D(e1,O),D(ZC,$),D(JC,b),D(ot,x),D(yo,E),D(QC,_),$e(P))if(P.length){const V=e.exposed||(e.exposed={});P.forEach(k=>{Object.defineProperty(V,k,{get:()=>n[k],set:R=>n[k]=R})})}else e.exposed||(e.exposed={});w&&e.render===Gt&&(e.render=w),N!=null&&(e.inheritAttrs=N),B&&(e.components=B),F&&(e.directives=F)}function a1(e,t,n=Gt){$e(e)&&(e=nc(e));for(const o in e){const r=e[o];let i;Je(r)?"default"in r?i=qe(r.from||o,r.default,!0):i=qe(r.from||o):i=qe(r),xt(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Nd(e,t,n){Xt($e(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function cm(e,t,n,o){const r=o.includes(".")?$m(n,o):()=>n[o];if(lt(e)){const i=t[e];Ee(i)&&he(r,i)}else if(Ee(e))he(r,e.bind(n));else if(Je(e))if($e(e))e.forEach(i=>cm(i,t,n,o));else{const i=Ee(e.handler)?e.handler.bind(n):t[e.handler];Ee(i)&&he(r,i,e)}}function fu(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let s;return l?s=l:!r.length&&!n&&!o?s=t:(s={},r.length&&r.forEach(c=>ka(s,c,a,!0)),ka(s,t,a)),Je(t)&&i.set(t,s),s}function ka(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&ka(e,i,n,!0),r&&r.forEach(a=>ka(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const l=l1[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const l1={data:Dd,props:Bd,emits:Bd,methods:Zr,computed:Zr,beforeCreate:Ot,created:Ot,beforeMount:Ot,mounted:Ot,beforeUpdate:Ot,updated:Ot,beforeDestroy:Ot,beforeUnmount:Ot,destroyed:Ot,unmounted:Ot,activated:Ot,deactivated:Ot,errorCaptured:Ot,serverPrefetch:Ot,components:Zr,directives:Zr,watch:c1,provide:Dd,inject:s1};function Dd(e,t){return t?e?function(){return pt(Ee(e)?e.call(this,this):e,Ee(t)?t.call(this,this):t)}:t:e}function s1(e,t){return Zr(nc(e),nc(t))}function nc(e){if($e(e)){const t={};for(let n=0;n1)return n&&Ee(t)?t.call(o&&o.proxy):t}}const dm={},fm=()=>Object.create(dm),pm=e=>Object.getPrototypeOf(e)===dm;function f1(e,t,n,o=!1){const r={},i=fm();e.propsDefaults=Object.create(null),hm(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:MC(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function p1(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,l=Le(r),[s]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let u=0;u{s=!0;const[f,p]=gm(u,t,!0);pt(a,f),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!s)return Je(e)&&o.set(e,yr),yr;if($e(i))for(let d=0;de[0]==="_"||e==="$stable",pu=e=>$e(e)?e.map(bn):[bn(e)],g1=(e,t,n)=>{if(t._n)return t;const o=dr((...r)=>pu(t(...r)),n);return o._c=!1,o},vm=(e,t,n)=>{const o=e._ctx;for(const r in e){if(mm(r))continue;const i=e[r];if(Ee(i))t[r]=g1(r,i,o);else if(i!=null){const a=pu(i);t[r]=()=>a}}},ym=(e,t)=>{const n=pu(t);e.slots.default=()=>n},bm=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},m1=(e,t,n)=>{const o=e.slots=fm();if(e.vnode.shapeFlag&32){const r=t._;r?(bm(o,t,n),n&&_g(o,"_",r,!0)):vm(t,o)}else t&&ym(e,t)},v1=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=tt;if(o.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:bm(r,t,n):(i=!t.$stable,vm(t,r)),a=t}else t&&(ym(e,t),a={default:1});if(i)for(const l in r)!mm(l)&&a[l]==null&&delete r[l]};function rc(e,t,n,o,r=!1){if($e(e)){e.forEach((f,p)=>rc(f,t&&($e(t)?t[p]:t),n,o,r));return}if(Ca(o)&&!r)return;const i=o.shapeFlag&4?_l(o.component):o.el,a=r?null:i,{i:l,r:s}=e,c=t&&t.r,d=l.refs===tt?l.refs={}:l.refs,u=l.setupState;if(c!=null&&c!==s&&(lt(c)?(d[c]=null,Ke(u,c)&&(u[c]=null)):xt(c)&&(c.value=null)),Ee(s))ao(s,l,12,[a,d]);else{const f=lt(s),p=xt(s);if(f||p){const h=()=>{if(e.f){const v=f?Ke(u,s)?u[s]:d[s]:s.value;r?$e(v)&&Zc(v,i):$e(v)?v.includes(i)||v.push(i):f?(d[s]=[i],Ke(u,s)&&(u[s]=d[s])):(s.value=[i],e.k&&(d[e.k]=s.value))}else f?(d[s]=a,Ke(u,s)&&(u[s]=a)):p&&(s.value=a,e.k&&(d[e.k]=a))};a?(h.id=-1,At(h,n)):h()}}}const Cm=Symbol("_vte"),y1=e=>e.__isTeleport,li=e=>e&&(e.disabled||e.disabled===""),Fd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Hd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ic=(e,t)=>{const n=e&&e.to;return lt(n)?t?t(n):null:n},b1={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,l,s,c){const{mc:d,pc:u,pbc:f,o:{insert:p,querySelector:h,createText:v,createComment:g}}=c,y=li(t.props);let{shapeFlag:x,children:S,dynamicChildren:E}=t;if(e==null){const w=t.el=v(""),$=t.anchor=v("");p(w,n,o),p($,n,o);const b=t.target=ic(t.props,h),O=Sm(b,t,v,p);b&&(a==="svg"||Fd(b)?a="svg":(a==="mathml"||Hd(b))&&(a="mathml"));const _=(P,N)=>{x&16&&d(S,P,N,r,i,a,l,s)};y?_(n,$):b&&_(b,O)}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,$=t.target=e.target,b=t.targetAnchor=e.targetAnchor,O=li(e.props),_=O?n:$,P=O?w:b;if(a==="svg"||Fd($)?a="svg":(a==="mathml"||Hd($))&&(a="mathml"),E?(f(e.dynamicChildren,E,_,r,i,a,l),gu(e,t,!0)):s||u(e,t,_,P,r,i,a,l,!1),y)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):na(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=ic(t.props,h);N&&na(t,N,null,c,0)}else O&&na(t,$,b,c,1)}xm(t)},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:a,children:l,anchor:s,targetStart:c,targetAnchor:d,target:u,props:f}=e;if(u&&(r(c),r(d)),i&&r(s),a&16){const p=i||!li(f);for(let h=0;h{if(I===M)return;I&&!To(I,M)&&(Q=re(I),ae(I,J,ne,!0),I=null),M.patchFlag===-2&&(ie=!1,M.dynamicChildren=null);const{type:ee,ref:ce,shapeFlag:ge}=M;switch(ee){case Lr:g(I,M,H,Q);break;case Mt:y(I,M,H,Q);break;case as:I==null&&x(M,H,Q,Y);break;case Me:B(I,M,H,Q,J,ne,Y,te,ie);break;default:ge&1?w(I,M,H,Q,J,ne,Y,te,ie):ge&6?F(I,M,H,Q,J,ne,Y,te,ie):(ge&64||ge&128)&&ee.process(I,M,H,Q,J,ne,Y,te,ie,we)}ce!=null&&J&&rc(ce,I&&I.ref,ne,M||I,!M)},g=(I,M,H,Q)=>{if(I==null)o(M.el=l(M.children),H,Q);else{const J=M.el=I.el;M.children!==I.children&&c(J,M.children)}},y=(I,M,H,Q)=>{I==null?o(M.el=s(M.children||""),H,Q):M.el=I.el},x=(I,M,H,Q)=>{[I.el,I.anchor]=h(I.children,M,H,Q,I.el,I.anchor)},S=({el:I,anchor:M},H,Q)=>{let J;for(;I&&I!==M;)J=f(I),o(I,H,Q),I=J;o(M,H,Q)},E=({el:I,anchor:M})=>{let H;for(;I&&I!==M;)H=f(I),r(I),I=H;r(M)},w=(I,M,H,Q,J,ne,Y,te,ie)=>{M.type==="svg"?Y="svg":M.type==="math"&&(Y="mathml"),I==null?$(M,H,Q,J,ne,Y,te,ie):_(I,M,J,ne,Y,te,ie)},$=(I,M,H,Q,J,ne,Y,te)=>{let ie,ee;const{props:ce,shapeFlag:ge,transition:L,dirs:U}=I;if(ie=I.el=a(I.type,ne,ce&&ce.is,ce),ge&8?d(ie,I.children):ge&16&&O(I.children,ie,null,Q,J,rs(I,ne),Y,te),U&&xo(I,null,Q,"created"),b(ie,I,I.scopeId,Y,Q),ce){for(const _e in ce)_e!=="value"&&!ni(_e)&&i(ie,_e,null,ce[_e],ne,Q);"value"in ce&&i(ie,"value",null,ce.value,ne),(ee=ce.onVnodeBeforeMount)&&pn(ee,Q,I)}U&&xo(I,null,Q,"beforeMount");const ue=w1(J,L);ue&&L.beforeEnter(ie),o(ie,M,H),((ee=ce&&ce.onVnodeMounted)||ue||U)&&At(()=>{ee&&pn(ee,Q,I),ue&&L.enter(ie),U&&xo(I,null,Q,"mounted")},J)},b=(I,M,H,Q,J)=>{if(H&&p(I,H),Q)for(let ne=0;ne{for(let ee=ie;ee{const te=M.el=I.el;let{patchFlag:ie,dynamicChildren:ee,dirs:ce}=M;ie|=I.patchFlag&16;const ge=I.props||tt,L=M.props||tt;let U;if(H&&So(H,!1),(U=L.onVnodeBeforeUpdate)&&pn(U,H,M,I),ce&&xo(M,I,H,"beforeUpdate"),H&&So(H,!0),(ge.innerHTML&&L.innerHTML==null||ge.textContent&&L.textContent==null)&&d(te,""),ee?P(I.dynamicChildren,ee,te,H,Q,rs(M,J),ne):Y||k(I,M,te,null,H,Q,rs(M,J),ne,!1),ie>0){if(ie&16)N(te,ge,L,H,J);else if(ie&2&&ge.class!==L.class&&i(te,"class",null,L.class,J),ie&4&&i(te,"style",ge.style,L.style,J),ie&8){const ue=M.dynamicProps;for(let _e=0;_e{U&&pn(U,H,M,I),ce&&xo(M,I,H,"updated")},Q)},P=(I,M,H,Q,J,ne,Y)=>{for(let te=0;te{if(M!==H){if(M!==tt)for(const ne in M)!ni(ne)&&!(ne in H)&&i(I,ne,M[ne],null,J,Q);for(const ne in H){if(ni(ne))continue;const Y=H[ne],te=M[ne];Y!==te&&ne!=="value"&&i(I,ne,te,Y,J,Q)}"value"in H&&i(I,"value",M.value,H.value,J)}},B=(I,M,H,Q,J,ne,Y,te,ie)=>{const ee=M.el=I?I.el:l(""),ce=M.anchor=I?I.anchor:l("");let{patchFlag:ge,dynamicChildren:L,slotScopeIds:U}=M;U&&(te=te?te.concat(U):U),I==null?(o(ee,H,Q),o(ce,H,Q),O(M.children||[],H,ce,J,ne,Y,te,ie)):ge>0&&ge&64&&L&&I.dynamicChildren?(P(I.dynamicChildren,L,H,J,ne,Y,te),(M.key!=null||J&&M===J.subTree)&&gu(I,M,!0)):k(I,M,H,ce,J,ne,Y,te,ie)},F=(I,M,H,Q,J,ne,Y,te,ie)=>{M.slotScopeIds=te,I==null?M.shapeFlag&512?J.ctx.activate(M,H,Q,Y,ie):G(M,H,Q,J,ne,Y,ie):A(I,M,ie)},G=(I,M,H,Q,J,ne,Y)=>{const te=I.component=z1(I,Q,J);if(Sl(I)&&(te.ctx.renderer=we),K1(te,!1,Y),te.asyncDep){if(J&&J.registerDep(te,D,Y),!I.el){const ie=te.subTree=C(Mt);y(null,ie,M,H)}}else D(te,I,M,H,J,ne,Y)},A=(I,M,H)=>{const Q=M.component=I.component;if(M1(I,M,H))if(Q.asyncDep&&!Q.asyncResolved){V(Q,M,H);return}else Q.next=M,KC(Q.update),Q.effect.dirty=!0,Q.update();else M.el=I.el,Q.vnode=M},D=(I,M,H,Q,J,ne,Y)=>{const te=()=>{if(I.isMounted){let{next:ce,bu:ge,u:L,parent:U,vnode:ue}=I;{const oe=wm(I);if(oe){ce&&(ce.el=ue.el,V(I,ce,Y)),oe.asyncDep.then(()=>{I.isUnmounted||te()});return}}let _e=ce,Oe;So(I,!1),ce?(ce.el=ue.el,V(I,ce,Y)):ce=ue,ge&&ba(ge),(Oe=ce.props&&ce.props.onVnodeBeforeUpdate)&&pn(Oe,U,ce,ue),So(I,!0);const He=is(I),Z=I.subTree;I.subTree=He,v(Z,He,u(Z.el),re(Z),I,J,ne),ce.el=He.el,_e===null&&R1(I,He.el),L&&At(L,J),(Oe=ce.props&&ce.props.onVnodeUpdated)&&At(()=>pn(Oe,U,ce,ue),J)}else{let ce;const{el:ge,props:L}=M,{bm:U,m:ue,parent:_e}=I,Oe=Ca(M);if(So(I,!1),U&&ba(U),!Oe&&(ce=L&&L.onVnodeBeforeMount)&&pn(ce,_e,M),So(I,!0),ge&&Pe){const He=()=>{I.subTree=is(I),Pe(ge,I.subTree,I,J,null)};Oe?M.type.__asyncLoader().then(()=>!I.isUnmounted&&He()):He()}else{const He=I.subTree=is(I);v(null,He,H,Q,I,J,ne),M.el=He.el}if(ue&&At(ue,J),!Oe&&(ce=L&&L.onVnodeMounted)){const He=M;At(()=>pn(ce,_e,He),J)}(M.shapeFlag&256||_e&&Ca(_e.vnode)&&_e.vnode.shapeFlag&256)&&I.a&&At(I.a,J),I.isMounted=!0,M=H=Q=null}},ie=I.effect=new nu(te,Gt,()=>uu(ee),I.scope),ee=I.update=()=>{ie.dirty&&ie.run()};ee.i=I,ee.id=I.uid,So(I,!0),ee()},V=(I,M,H)=>{M.component=I;const Q=I.vnode.props;I.vnode=M,I.next=null,p1(I,M.props,Q,H),v1(I,M.children,H),mo(),Ad(I),vo()},k=(I,M,H,Q,J,ne,Y,te,ie=!1)=>{const ee=I&&I.children,ce=I?I.shapeFlag:0,ge=M.children,{patchFlag:L,shapeFlag:U}=M;if(L>0){if(L&128){W(ee,ge,H,Q,J,ne,Y,te,ie);return}else if(L&256){R(ee,ge,H,Q,J,ne,Y,te,ie);return}}U&8?(ce&16&&Ne(ee,J,ne),ge!==ee&&d(H,ge)):ce&16?U&16?W(ee,ge,H,Q,J,ne,Y,te,ie):Ne(ee,J,ne,!0):(ce&8&&d(H,""),U&16&&O(ge,H,Q,J,ne,Y,te,ie))},R=(I,M,H,Q,J,ne,Y,te,ie)=>{I=I||yr,M=M||yr;const ee=I.length,ce=M.length,ge=Math.min(ee,ce);let L;for(L=0;Lce?Ne(I,J,ne,!0,!1,ge):O(M,H,Q,J,ne,Y,te,ie,ge)},W=(I,M,H,Q,J,ne,Y,te,ie)=>{let ee=0;const ce=M.length;let ge=I.length-1,L=ce-1;for(;ee<=ge&&ee<=L;){const U=I[ee],ue=M[ee]=ie?Jn(M[ee]):bn(M[ee]);if(To(U,ue))v(U,ue,H,null,J,ne,Y,te,ie);else break;ee++}for(;ee<=ge&&ee<=L;){const U=I[ge],ue=M[L]=ie?Jn(M[L]):bn(M[L]);if(To(U,ue))v(U,ue,H,null,J,ne,Y,te,ie);else break;ge--,L--}if(ee>ge){if(ee<=L){const U=L+1,ue=UL)for(;ee<=ge;)ae(I[ee],J,ne,!0),ee++;else{const U=ee,ue=ee,_e=new Map;for(ee=ue;ee<=L;ee++){const be=M[ee]=ie?Jn(M[ee]):bn(M[ee]);be.key!=null&&_e.set(be.key,ee)}let Oe,He=0;const Z=L-ue+1;let oe=!1,le=0;const ye=new Array(Z);for(ee=0;ee=Z){ae(be,J,ne,!0);continue}let fe;if(be.key!=null)fe=_e.get(be.key);else for(Oe=ue;Oe<=L;Oe++)if(ye[Oe-ue]===0&&To(be,M[Oe])){fe=Oe;break}fe===void 0?ae(be,J,ne,!0):(ye[fe-ue]=ee+1,fe>=le?le=fe:oe=!0,v(be,M[fe],H,null,J,ne,Y,te,ie),He++)}const Ae=oe?$1(ye):yr;for(Oe=Ae.length-1,ee=Z-1;ee>=0;ee--){const be=ue+ee,fe=M[be],Be=be+1{const{el:ne,type:Y,transition:te,children:ie,shapeFlag:ee}=I;if(ee&6){X(I.component.subTree,M,H,Q);return}if(ee&128){I.suspense.move(M,H,Q);return}if(ee&64){Y.move(I,M,H,we);return}if(Y===Me){o(ne,M,H);for(let ge=0;gete.enter(ne),J);else{const{leave:ge,delayLeave:L,afterLeave:U}=te,ue=()=>o(ne,M,H),_e=()=>{ge(ne,()=>{ue(),U&&U()})};L?L(ne,ue,_e):_e()}else o(ne,M,H)},ae=(I,M,H,Q=!1,J=!1)=>{const{type:ne,props:Y,ref:te,children:ie,dynamicChildren:ee,shapeFlag:ce,patchFlag:ge,dirs:L,cacheIndex:U}=I;if(ge===-2&&(J=!1),te!=null&&rc(te,null,H,I,!0),U!=null&&(M.renderCache[U]=void 0),ce&256){M.ctx.deactivate(I);return}const ue=ce&1&&L,_e=!Ca(I);let Oe;if(_e&&(Oe=Y&&Y.onVnodeBeforeUnmount)&&pn(Oe,M,I),ce&6)Re(I.component,H,Q);else{if(ce&128){I.suspense.unmount(H,Q);return}ue&&xo(I,null,M,"beforeUnmount"),ce&64?I.type.remove(I,M,H,we,Q):ee&&!ee.hasOnce&&(ne!==Me||ge>0&&ge&64)?Ne(ee,M,H,!1,!0):(ne===Me&&ge&384||!J&&ce&16)&&Ne(ie,M,H),Q&&me(I)}(_e&&(Oe=Y&&Y.onVnodeUnmounted)||ue)&&At(()=>{Oe&&pn(Oe,M,I),ue&&xo(I,null,M,"unmounted")},H)},me=I=>{const{type:M,el:H,anchor:Q,transition:J}=I;if(M===Me){Fe(H,Q);return}if(M===as){E(I);return}const ne=()=>{r(H),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(I.shapeFlag&1&&J&&!J.persisted){const{leave:Y,delayLeave:te}=J,ie=()=>Y(H,ne);te?te(I.el,ne,ie):ie()}else ne()},Fe=(I,M)=>{let H;for(;I!==M;)H=f(I),r(I),I=H;r(M)},Re=(I,M,H)=>{const{bum:Q,scope:J,update:ne,subTree:Y,um:te,m:ie,a:ee}=I;jd(ie),jd(ee),Q&&ba(Q),J.stop(),ne&&(ne.active=!1,ae(Y,I,M,H)),te&&At(te,M),At(()=>{I.isUnmounted=!0},M),M&&M.pendingBranch&&!M.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===M.pendingId&&(M.deps--,M.deps===0&&M.resolve())},Ne=(I,M,H,Q=!1,J=!1,ne=0)=>{for(let Y=ne;Y{if(I.shapeFlag&6)return re(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const M=f(I.anchor||I.el),H=M&&M[Cm];return H?f(H):M};let ve=!1;const Se=(I,M,H)=>{I==null?M._vnode&&ae(M._vnode,null,null,!0):v(M._vnode||null,I,M,null,null,null,H),ve||(ve=!0,Ad(),Yg(),ve=!1),M._vnode=I},we={p:v,um:ae,m:X,r:me,mt:G,mc:O,pc:k,pbc:P,n:re,o:e};let ze,Pe;return{render:Se,hydrate:ze,createApp:d1(Se,ze)}}function rs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function So({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function w1(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function gu(e,t,n=!1){const o=e.children,r=t.children;if($e(o)&&$e(r))for(let i=0;i>1,e[n[l]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function wm(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wm(t)}function jd(e){if(e)for(let t=0;tqe(O1);function nt(e,t){return mu(e,null,t)}const oa={};function he(e,t,n){return mu(e,t,n)}function mu(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:l}=tt){if(t&&i){const $=t;t=(...b)=>{$(...b),w()}}const s=bt,c=$=>o===!0?$:eo($,o===!1?1:void 0);let d,u=!1,f=!1;if(xt(e)?(d=()=>e.value,u=Or(e)):oi(e)?(d=()=>c(e),u=!0):$e(e)?(f=!0,u=e.some($=>oi($)||Or($)),d=()=>e.map($=>{if(xt($))return $.value;if(oi($))return c($);if(Ee($))return ao($,s,2)})):Ee(e)?t?d=()=>ao(e,s,2):d=()=>(p&&p(),Xt(e,s,3,[h])):d=Gt,t&&o){const $=d;d=()=>eo($())}let p,h=$=>{p=S.onStop=()=>{ao($,s,4),p=S.onStop=void 0}},v;if(Ol)if(h=Gt,t?n&&Xt(t,s,3,[d(),f?[]:void 0,h]):d(),r==="sync"){const $=_1();v=$.__watcherHandles||($.__watcherHandles=[])}else return Gt;let g=f?new Array(e.length).fill(oa):oa;const y=()=>{if(!(!S.active||!S.dirty))if(t){const $=S.run();(o||u||(f?$.some((b,O)=>fo(b,g[O])):fo($,g)))&&(p&&p(),Xt(t,s,3,[$,g===oa?void 0:f&&g[0]===oa?[]:g,h]),g=$)}else S.run()};y.allowRecurse=!!t;let x;r==="sync"?x=y:r==="post"?x=()=>At(y,s&&s.suspense):(y.pre=!0,s&&(y.id=s.uid),x=()=>uu(y));const S=new nu(d,Gt,x),E=dC(),w=()=>{S.stop(),E&&Zc(E.effects,S)};return t?n?y():g=S.run():r==="post"?At(S.run.bind(S),s&&s.suspense):S.run(),v&&v.push(w),w}function E1(e,t,n){const o=this.proxy,r=lt(e)?e.includes(".")?$m(o,e):()=>o[e]:e.bind(o,o);let i;Ee(t)?i=t:(i=t.handler,n=t);const a=ji(this),l=mu(r,i.bind(o),n);return a(),l}function $m(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r{eo(o,t,n)});else if(Og(e)){for(const o in e)eo(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&eo(e[o],t,n)}return e}const T1=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ln(t)}Modifiers`]||e[`${Qo(t)}Modifiers`];function P1(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||tt;let r=n;const i=t.startsWith("update:"),a=i&&T1(o,t.slice(7));a&&(a.trim&&(r=n.map(d=>lt(d)?d.trim():d)),a.number&&(r=n.map(Xs)));let l,s=o[l=es(t)]||o[l=es(ln(t))];!s&&i&&(s=o[l=es(Qo(t))]),s&&Xt(s,e,6,r);const c=o[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Xt(c,e,6,r)}}function Om(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},l=!1;if(!Ee(e)){const s=c=>{const d=Om(c,t,!0);d&&(l=!0,pt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!l?(Je(e)&&o.set(e,null),null):($e(i)?i.forEach(s=>a[s]=null):pt(a,i),Je(e)&&o.set(e,a),a)}function $l(e,t){return!e||!hl(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,Qo(t))||Ke(e,t))}function is(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:a,attrs:l,emit:s,render:c,renderCache:d,props:u,data:f,setupState:p,ctx:h,inheritAttrs:v}=e,g=ja(e);let y,x;try{if(n.shapeFlag&4){const E=r||o,w=E;y=bn(c.call(w,E,d,u,p,f,h)),x=l}else{const E=t;y=bn(E.length>1?E(u,{attrs:l,slots:a,emit:s}):E(u,null)),x=t.props?l:A1(l)}}catch(E){si.length=0,Cl(E,e,1),y=C(Mt)}let S=y;if(x&&v!==!1){const E=Object.keys(x),{shapeFlag:w}=S;E.length&&w&7&&(i&&E.some(Jc)&&(x=I1(x,i)),S=Qt(S,x,!1,!0))}return n.dirs&&(S=Qt(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),y=S,ja(g),y}const A1=e=>{let t;for(const n in e)(n==="class"||n==="style"||hl(n))&&((t||(t={}))[n]=e[n]);return t},I1=(e,t)=>{const n={};for(const o in e)(!Jc(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function M1(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:l,patchFlag:s}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return o?kd(o,a,c):!!a;if(s&8){const d=t.dynamicProps;for(let u=0;ue.__isSuspense;function D1(e,t){t&&t.pendingBranch?$e(e)?t.effects.push(...e):t.effects.push(e):WC(e)}const Me=Symbol.for("v-fgt"),Lr=Symbol.for("v-txt"),Mt=Symbol.for("v-cmt"),as=Symbol.for("v-stc"),si=[];let Ht=null;function Ve(e=!1){si.push(Ht=e?null:[])}function B1(){si.pop(),Ht=si[si.length-1]||null}let bi=1;function zd(e){bi+=e,e<0&&Ht&&(Ht.hasOnce=!0)}function _m(e){return e.dynamicChildren=bi>0?Ht||yr:null,B1(),bi>0&&Ht&&Ht.push(e),e}function Ye(e,t,n,o,r,i){return _m(Ce(e,t,n,o,r,i,!0))}function Ci(e,t,n,o,r){return _m(C(e,t,n,o,r,!0))}function po(e){return e?e.__v_isVNode===!0:!1}function To(e,t){return e.type===t.type&&e.key===t.key}const Em=({key:e})=>e??null,xa=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?lt(e)||xt(e)||Ee(e)?{i:Rt,r:e,k:t,f:!!n}:e:null);function Ce(e,t=null,n=null,o=0,r=null,i=e===Me?0:1,a=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Em(t),ref:t&&xa(t),scopeId:xl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Rt};return l?(vu(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=lt(n)?8:16),bi>0&&!a&&Ht&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&Ht.push(s),s}const C=L1;function L1(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===n1)&&(e=Mt),po(e)){const l=Qt(e,t,!0);return n&&vu(l,n),bi>0&&!i&&Ht&&(l.shapeFlag&6?Ht[Ht.indexOf(e)]=l:Ht.push(l)),l.patchFlag=-2,l}if(X1(e)&&(e=e.__vccOpts),t){t=F1(t);let{class:l,style:s}=t;l&&!lt(l)&&(t.class=yl(l)),Je(s)&&(Kg(s)&&!$e(s)&&(s=pt({},s)),t.style=tu(s))}const a=lt(e)?1:N1(e)?128:y1(e)?64:Je(e)?4:Ee(e)?2:0;return Ce(e,t,n,o,r,a,i,!0)}function F1(e){return e?Kg(e)||pm(e)?pt({},e):e:null}function Qt(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:a,children:l,transition:s}=e,c=t?H1(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Em(c),ref:t&&t.ref?n&&i?$e(i)?i.concat(xa(t)):[i,xa(t)]:xa(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&o&&_r(d,s.clone(d)),d}function Tm(e=" ",t=0){return C(Lr,null,e,t)}function to(e="",t=!1){return t?(Ve(),Ci(Mt,null,e)):C(Mt,null,e)}function bn(e){return e==null||typeof e=="boolean"?C(Mt):$e(e)?C(Me,null,e.slice()):typeof e=="object"?Jn(e):C(Lr,null,String(e))}function Jn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qt(e)}function vu(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if($e(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),vu(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!pm(t)?t._ctx=Rt:r===3&&Rt&&(Rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ee(t)?(t={default:t,_ctx:Rt},n=32):(t=String(t),o&64?(n=16,t=[Tm(t)]):n=8);e.children=t,e.shapeFlag|=n}function H1(...e){const t={};for(let n=0;nbt||Rt;let za,ac;{const e=Eg(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};za=t("__VUE_INSTANCE_SETTERS__",n=>bt=n),ac=t("__VUE_SSR_SETTERS__",n=>Ol=n)}const ji=e=>{const t=bt;return za(e),e.scope.on(),()=>{e.scope.off(),za(t)}},Kd=()=>{bt&&bt.scope.off(),za(null)};function Pm(e){return e.vnode.shapeFlag&4}let Ol=!1;function K1(e,t=!1,n=!1){t&&ac(t);const{props:o,children:r}=e.vnode,i=Pm(e);f1(e,o,i,t),m1(e,r,n);const a=i?W1(e,t):void 0;return t&&ac(!1),a}function W1(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,r1);const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?U1(e):null,i=ji(e);mo();const a=ao(o,e,0,[e.props,r]);if(vo(),i(),wg(a)){if(a.then(Kd,Kd),t)return a.then(l=>{Wd(e,l,t)}).catch(l=>{Cl(l,e,0)});e.asyncDep=a}else Wd(e,a,t)}else Am(e,t)}function Wd(e,t,n){Ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Gg(t)),Am(e,n)}let Vd;function Am(e,t,n){const o=e.type;if(!e.render){if(!t&&Vd&&!o.render){const r=o.template||fu(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:s}=o,c=pt(pt({isCustomElement:i,delimiters:l},a),s);o.render=Vd(r,c)}}e.render=o.render||Gt}{const r=ji(e);mo();try{i1(e)}finally{vo(),r()}}}const V1={get(e,t){return Bt(e,"get",""),e[t]}};function U1(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,V1),slots:e.slots,emit:e.emit,expose:t}}function _l(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gg(RC(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ii)return ii[n](e)},has(t,n){return n in t||n in ii}})):e.proxy}function G1(e,t=!0){return Ee(e)?e.displayName||e.name:e.name||t&&e.__name}function X1(e){return Ee(e)&&"__vccOpts"in e}const T=(e,t)=>NC(e,t,Ol);function Ka(e,t,n){const o=arguments.length;return o===2?Je(t)&&!$e(t)?po(t)?C(e,null,[t]):C(e,t):C(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&po(n)&&(n=[n]),C(e,t,n))}const q1="3.4.35";/** +* @vue/runtime-dom v3.4.35 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Y1="http://www.w3.org/2000/svg",Q1="http://www.w3.org/1998/Math/MathML",An=typeof document<"u"?document:null,Ud=An&&An.createElement("template"),J1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?An.createElementNS(Y1,e):t==="mathml"?An.createElementNS(Q1,e):n?An.createElement(e,{is:n}):An.createElement(e);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>An.createTextNode(e),createComment:e=>An.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>An.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Ud.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const l=Ud.content;if(o==="svg"||o==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Un="transition",Vr="animation",Er=Symbol("_vtc"),un=(e,{slots:t})=>Ka(GC,Mm(e),t);un.displayName="Transition";const Im={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Z1=un.props=pt({},tm,Im),wo=(e,t=[])=>{$e(e)?e.forEach(n=>n(...t)):e&&e(...t)},Gd=e=>e?$e(e)?e.some(t=>t.length>1):e.length>1:!1;function Mm(e){const t={};for(const B in e)B in Im||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:c=a,appearToClass:d=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=ex(r),v=h&&h[0],g=h&&h[1],{onBeforeEnter:y,onEnter:x,onEnterCancelled:S,onLeave:E,onLeaveCancelled:w,onBeforeAppear:$=y,onAppear:b=x,onAppearCancelled:O=S}=t,_=(B,F,G)=>{qn(B,F?d:l),qn(B,F?c:a),G&&G()},P=(B,F)=>{B._isLeaving=!1,qn(B,u),qn(B,p),qn(B,f),F&&F()},N=B=>(F,G)=>{const A=B?b:x,D=()=>_(F,B,G);wo(A,[F,D]),Xd(()=>{qn(F,B?s:i),Pn(F,B?d:l),Gd(A)||qd(F,o,v,D)})};return pt(t,{onBeforeEnter(B){wo(y,[B]),Pn(B,i),Pn(B,a)},onBeforeAppear(B){wo($,[B]),Pn(B,s),Pn(B,c)},onEnter:N(!1),onAppear:N(!0),onLeave(B,F){B._isLeaving=!0;const G=()=>P(B,F);Pn(B,u),Pn(B,f),Nm(),Xd(()=>{B._isLeaving&&(qn(B,u),Pn(B,p),Gd(E)||qd(B,o,g,G))}),wo(E,[B,G])},onEnterCancelled(B){_(B,!1),wo(S,[B])},onAppearCancelled(B){_(B,!0),wo(O,[B])},onLeaveCancelled(B){P(B),wo(w,[B])}})}function ex(e){if(e==null)return null;if(Je(e))return[ls(e.enter),ls(e.leave)];{const t=ls(e);return[t,t]}}function ls(e){return nC(e)}function Pn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Er]||(e[Er]=new Set)).add(t)}function qn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Er];n&&(n.delete(t),n.size||(e[Er]=void 0))}function Xd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tx=0;function qd(e,t,n,o){const r=e._endId=++tx,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:l,propCount:s}=Rm(e,t);if(!a)return o();const c=a+"end";let d=0;const u=()=>{e.removeEventListener(c,f),i()},f=p=>{p.target===e&&++d>=s&&u()};setTimeout(()=>{d(n[h]||"").split(", "),r=o(`${Un}Delay`),i=o(`${Un}Duration`),a=Yd(r,i),l=o(`${Vr}Delay`),s=o(`${Vr}Duration`),c=Yd(l,s);let d=null,u=0,f=0;t===Un?a>0&&(d=Un,u=a,f=i.length):t===Vr?c>0&&(d=Vr,u=c,f=s.length):(u=Math.max(a,c),d=u>0?a>c?Un:Vr:null,f=d?d===Un?i.length:s.length:0);const p=d===Un&&/\b(transform|all)(,|$)/.test(o(`${Un}Property`).toString());return{type:d,timeout:u,propCount:f,hasTransform:p}}function Yd(e,t){for(;e.lengthQd(n)+Qd(e[o])))}function Qd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Nm(){return document.body.offsetHeight}function nx(e,t,n){const o=e[Er];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Wa=Symbol("_vod"),Dm=Symbol("_vsh"),ki={beforeMount(e,{value:t},{transition:n}){e[Wa]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ur(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ur(e,!0),o.enter(e)):o.leave(e,()=>{Ur(e,!1)}):Ur(e,t))},beforeUnmount(e,{value:t}){Ur(e,t)}};function Ur(e,t){e.style.display=t?e[Wa]:"none",e[Dm]=!t}const ox=Symbol(""),rx=/(^|;)\s*display\s*:/;function ix(e,t,n){const o=e.style,r=lt(n);let i=!1;if(n&&!r){if(t)if(lt(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Sa(o,l,"")}else for(const a in t)n[a]==null&&Sa(o,a,"");for(const a in n)a==="display"&&(i=!0),Sa(o,a,n[a])}else if(r){if(t!==n){const a=o[ox];a&&(n+=";"+a),o.cssText=n,i=rx.test(n)}}else t&&e.removeAttribute("style");Wa in e&&(e[Wa]=i?o.display:"",e[Dm]&&(o.display="none"))}const Jd=/\s*!important$/;function Sa(e,t,n){if($e(n))n.forEach(o=>Sa(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=ax(e,t);Jd.test(n)?e.setProperty(Qo(o),n.replace(Jd,""),"important"):e[o]=n}}const Zd=["Webkit","Moz","ms"],ss={};function ax(e,t){const n=ss[t];if(n)return n;let o=ln(t);if(o!=="filter"&&o in e)return ss[t]=o;o=vl(o);for(let r=0;rcs||(dx.then(()=>cs=0),cs=Date.now());function px(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Xt(hx(o,n.value),t,5,[o])};return n.value=e,n.attached=fx(),n}function hx(e,t){if($e(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const rf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gx=(e,t,n,o,r,i)=>{const a=r==="svg";t==="class"?nx(e,o,a):t==="style"?ix(e,n,o):hl(t)?Jc(t)||cx(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mx(e,t,o,a))?(lx(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&tf(e,t,o,a,i,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),tf(e,t,o,a))};function mx(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&rf(t)&&Ee(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return rf(t)&<(n)?!1:t in e}const Bm=new WeakMap,Lm=new WeakMap,Va=Symbol("_moveCb"),af=Symbol("_enterCb"),Fm={name:"TransitionGroup",props:pt({},Z1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zt(),o=em();let r,i;return wn(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!xx(r[0].el,n.vnode.el,a))return;r.forEach(yx),r.forEach(bx);const l=r.filter(Cx);Nm(),l.forEach(s=>{const c=s.el,d=c.style;Pn(c,a),d.transform=d.webkitTransform=d.transitionDuration="";const u=c[Va]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",u),c[Va]=null,qn(c,a))};c.addEventListener("transitionend",u)})}),()=>{const a=Le(e),l=Mm(a);let s=a.tag||Me;if(r=[],i)for(let c=0;cdelete e.mode;Fm.props;const Hm=Fm;function yx(e){const t=e.el;t[Va]&&t[Va](),t[af]&&t[af]()}function bx(e){Lm.set(e,e.el.getBoundingClientRect())}function Cx(e){const t=Bm.get(e),n=Lm.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function xx(e,t,n){const o=e.cloneNode(),r=e[Er];r&&r.forEach(l=>{l.split(/\s+/).forEach(s=>s&&o.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&o.classList.add(l)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=Rm(o);return i.removeChild(o),a}const lf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $e(t)?n=>ba(t,n):t};function Sx(e){e.target.composing=!0}function sf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const us=Symbol("_assign"),wx={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[us]=lf(r);const i=o||r.props&&r.props.type==="number";pr(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Xs(l)),e[us](l)}),n&&pr(e,"change",()=>{e.value=e.value.trim()}),t||(pr(e,"compositionstart",Sx),pr(e,"compositionend",sf),pr(e,"change",sf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:i}},a){if(e[us]=lf(a),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Xs(e.value):e.value,s=t??"";l!==s&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===s)||(e.value=s))}},$x=["ctrl","shift","alt","meta"],Ox={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>$x.some(n=>e[`${n}Key`]&&!t.includes(n))},Ua=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a{jm().render(...e)},Ex=(...e)=>{const t=jm().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=Px(o);if(!r)return;const i=t._component;!Ee(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,Tx(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function Tx(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Px(e){return lt(e)?document.querySelector(e):e}const Ax="/assets/logo-ioO_fY06.svg",km=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},Ix=e=>(Jg("data-v-174cd975"),e=e(),Zg(),e),Mx={key:0},Rx=Ix(()=>Ce("span",{class:"icon"},"📂",-1)),Nx={class:"node-title"},Dx={key:0},Bx={__name:"TreeNode",props:{node:Object,isSelected:Boolean,selectedNode:null},emits:["node-clicked"],setup(e,{emit:t}){const n=e,o=t,r=pe(!0),i=T(()=>Array.isArray(n.node.children)&&n.node.children.length>0);function a(){o("node-clicked",n.node)}function l(c){o("node-clicked",c)}function s(c){r.value=!r.value,c.stopPropagation()}return(c,d)=>{const u=fr("TreeNode",!0);return e.node.type==="file"?(Ve(),Ye("li",Mx,[Ce("div",{onClick:d[0]||(d[0]=f=>a(e.node)),class:yl({selected:e.isSelected,"has-children":i.value})},[Rx,Ce("span",Nx,It(e.node.title)+" ("+It(e.node.children.length)+")",1),i.value?(Ve(),Ye("span",{key:0,class:"toggle-icon",onClick:Ua(s,["stop"])},It(r.value?"⬇️":"➡️"),1)):to("",!0)],2),r.value&&i.value?(Ve(),Ye("ul",Dx,[(Ve(!0),Ye(Me,null,mn(e.node.children,f=>(Ve(),Ci(u,{key:f.key,node:f,"is-selected":e.selectedNode===f.key,"selected-node":e.selectedNode,onNodeClicked:l},null,8,["node","is-selected","selected-node"]))),128))])):to("",!0)])):to("",!0)}}},Lx=km(Bx,[["__scopeId","data-v-174cd975"]]),hn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAllSURBVHic7Z1rd6ugEoYHELzENG332f//B5592qTxFhU8HwxZtmkEjaIJPF+yVqvROK/DMAyA/v1v34DDWvDSN+BYFicAy3ECsBwnAMtxArAcJwDLcQKwHCcAy3ECsBwnAMtxArAcJwDLcQKwHCcAy3ECsBwnAMtxArAcJwDLcQKwHCcAy3ECsBwnAMtxArAcJwDLcQKwHCcAy3ECsBwnAMtxArAcJwDLcQKwHG/pGzAF5xx4XUFd11DXFQjBQYgGmkZA07RLJGBMzp8IiEfB8zzwzp8IPee78tQCqMoSilN+MbwKIfj5E6Cuazh1/kcpA0oZhFH0VGJAz7ZCCOccqqqELE0uBp0aShn4QQhBEH77e11XIDgHLjg0Z+8ipHdBCBDCgAkBz/OAELIKIT2NADjncCpyKIp8NsP/BOPWmEJwLQ/TBSEEnkeB+T4EQbiYGJ5CAEWRz/rGzw1CCKJNDGG4MX7th44BOOdw2H88rOElTdNAmhyhPJ0g3u6AEGLs2ss3QiMpihz2n/8e3vhdqqqEw/4DODf3mx5SAFmaQHI8XLpvz4QQrVczxcM1AcfjAU5FPupcjAlQxtr+PaGACQGM0SUAk28eryvggkNVllBVpXGhCcEhz1MjMcFDCeDr8AlleVIf2EEaPQwj8Dzae6xse+WnNEBVlVAUOZSnwpgY8ixzAuhyPB4GGR9jAtEmvuqrj0EmgZp4C3mWQZ6ng4TgeR4wFgAXHATnUNeV8nwhOBRFPsn9997brN8+EVmaDHL7URRDtIknvw+EcNtdiyJIkqP2PdV1DUFILvfUNALyLIMsS3rPq6pydgGsPggsilz5oCQYE3h7/zuL8bsghGG73cHu9R0QQlrnpMnXJcaQQtrE295zeF3dfa8qVi0AzjmkyZfWsWEYwfufv0b70JQyeH37D3ie2pE2TXMV3avaeCHmjzdWLQDdrl4UxbCJXwzc0TWEENi9vgOlTHmsENeCliOQt46fm9UKIM9TqKpSedxc7f0QEMLaIsjz7NIUNI3oNbJu83IPqxRA0wjIUnW7H4bRrMbnnA/Kyr3sXnvfaMnx6xMAQDmAZKI5W2UvIM8ypeunlM3m9rM0+dbV0x2skZ5ANT5R1zUURa4M8ogibzEFq/MATSMgz9PeYxBCEG93g75Tl/3nP8iy5JsA5WCNTkBKCNHySlmaQKHoRuo0KfeyOg+g8/ZHm1jLPZanApLkCEJwwJjA9mXX+1CzNOl1y3meAfGosm8eBCFUVdmbJ9AJ8HzfVx5zL6vzAKq3n1KmlSLlnMPxeOiUeXE4fh1623TVtQFaUekQRfFdQRylzEiRyKoEoDPwohv0leV13l4IfrNn0S0O7UO38ocQAswPtI79DVM9m1UJQKdNNNEuTkUUjTMixsTY71yVAFTulQ1oExkLrrpkGJOb7SpCWCujR5m+YQgh4I/I5ZvMa6xGAKoRMoTQoIGRboYOYwKM+efc/e2fHGjEFkMHZ3w2LJCjlM0+ANRlNb0AVdbP8+jgoEiKQJcgCEFwfnPwaRNvB7tm5geAENIePjad1VyNAFTB1RD3fw/RJgbK2LlL2CZqKGUQbWJlQcktPI9qpbXDMDIe46xGAKqsmMkHQykb5Dn6qOtKy/iygMU0q4kBVDl3k8O8U1HXlXaB5/Zlt8jkkFUIQNUHx3gd06iGII2v0/ab7PZdXXuRq/5AVfiA8fzDolMyxPhLs4oYQFVb90hvf1HkkBwPS9+GNos/2SxNtGv+1s5Y4y85u2lRD1BV5dMY/x4h6xSRzMViAuC8HZ17dGT1Up5nS9/KKBYTQNIZqlVRGyiPHsNUs5OXDHIXEYBuwaekadrVNtYUDHaLTe7FqiaAc65V8PnbeZ63DgFMHbgumeQyLoA0+RrVP66qcnQufirGuHz5dvedY6L48xZGX6mqKgfP7pWUp3HnTUWWJvD58d9BxmfMh7f3P8qiVJ06hLkweuUxrl9SVSVwzo27y7GBnpywoipzk4tFLYUxAVRVOSjwu/UdhJgrlhjT1iOEYBO/XIo61lD63YcxAageBEDrMvuaiCxNjFTLVGX5raJYF4zbAhTppZpGKMvchpSYzYERAeg8CD8IIfDDXgHMvWgCP1cDjVmCxg9CiOPtt66qao7D0DK3OTAigLqu1eXeUTvZA2PS++bN4QXuMTzA7xNUOefKeQZjytymxogAlG6QsovbDIKwt92d2gvIKVpjEjo/XX4Xne7u0rOaAQwJQFXt0y2d9hUCAGiN1hXNmPspywLyLBudyeubll6eCmV3dy1zHIwIQBX9d2v1ZS29al7dYf8B73/+DrqPe109QP9bL69x1BgSXsPbD2AsCOwPhH62g1EUQ1WWvW+nEG1KWedBymXj7zG8vK++6zWNgOPXp9bU9jW8/QCGBNBXF//b3+UUa1VxhWwqfjPKFG5e4gfhJUjt4+uw15o7qFocyiRGBEAI6X0w5am4mkgZBKHWCuBdEci9Aoo8Hbx8+29gTOBl96rM1DWNgK/DXrv2f+kxjS5GBNAOiNw2SJIcYYvxlVvcvb7D/vOf0qVm2fhI/jeGLDLZFrZ8agnO87zVtP0SIwJgfqBM8Bz2H0ApA+b7QM5l4JgQCMONVjp2qnH5IauLDtmnACEE25e3xfv9PzEiAN2AZ4rxgjEMNfyY3sQmflnl5BZjMYCqa7cEYww/ZluaKJpmzeI5MDYYpNO1MwVjPoThRnsg5p5u5BrWMezDmAAIaSPqpWfMUMqAMgZNIy4ZSumaOeft4o3nnb/u3S9g7cYHWGDTqLqu4OuwX4UnmJNNvF1kE6ihGA9JPY/C2/uf1WTCpkauWP4IxgdYqCxcrqhZVSWUpwKKIh/tZlXDxyb5rSZg7axm30C5kEJd19AIcTUXACEECGMg580aEcLg0fYzz1PI0mSx2EJnEcq1shoB3IvchWPodi73MOW2NEvxNAKQSCHMuYXsrb2DH5GnE0AXGWOcTqe7xSDT1IwFq8zojWUVC0TMhRx338StZzidTpc+Pq8rEOcdvmWTIWfxtDt7t/X6lLJLrPGMPLUAuiCEn8JlT81zytqhjROA5TgBWI4TgOU4AViOE4DlOAFYjhOA5TgBWI4TgOU4AViOE4DlOAFYjhOA5TgBWI4TgOU4AViOE4DlOAFYjhOA5TgBWI4TgOU4AViOE4DlOAFYjhOA5TgBWI4TgOU4AViOE4Dl/B+GzxY7+26BJwAAAABJRU5ErkJggg==";function xi(e){"@babel/helpers - typeof";return xi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xi(e)}function Fx(e,t){if(xi(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(xi(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Hx(e){var t=Fx(e,"string");return xi(t)=="symbol"?t:t+""}function jx(e,t,n){return(t=Hx(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function j(e){for(var t=1;ttypeof e=="function",zx=Array.isArray,Kx=e=>typeof e=="string",Wx=e=>e!==null&&typeof e=="object",Vx=/^on[^a-z]/,Ux=e=>Vx.test(e),zm=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Gx=/-(\w)/g,yu=zm(e=>e.replace(Gx,(t,n)=>n?n.toUpperCase():"")),Xx=/\B([A-Z])/g,qx=zm(e=>e.replace(Xx,"-$1").toLowerCase()),Yx=Object.prototype.hasOwnProperty,df=(e,t)=>Yx.call(e,t);function Qx(e,t,n,o){const r=e[n];if(r!=null){const i=df(r,"default");if(i&&o===void 0){const a=r.default;o=r.type!==Function&&kx(a)?a():a}r.type===Boolean&&(!df(t,n)&&!i?o=!1:o===""&&(o=!0))}return o}function gr(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??n}function Jx(e){let t;const n=new Promise(r=>{t=e(()=>{r(!0)})}),o=()=>{t==null||t()};return o.then=(r,i)=>n.then(r,i),o.promise=n,o}function de(){const e=[];for(let t=0;t0},e.prototype.connect_=function(){!lc||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),rS?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!lc||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,o=n===void 0?"":n,r=oS.some(function(i){return!!~o.indexOf(i)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Wm=function(e,t){for(var n=0,o=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Tr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new pS(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Tr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(o){return new hS(o.target,o.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Um=typeof WeakMap<"u"?new WeakMap:new Km,Gm=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=iS.getInstance(),o=new gS(t,n,this);Um.set(this,o)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Gm.prototype[e]=function(){var t;return(t=Um.get(this))[e].apply(t,arguments)}});var Xm=function(){return typeof Ga.ResizeObserver<"u"?Ga.ResizeObserver:Gm}();const sc=e=>e!=null&&e!=="",dn=(e,t)=>{const n=m({},e);return Object.keys(t).forEach(o=>{const r=n[o];if(r)r.type||r.default?r.default=t[o]:r.def?r.def(t[o]):n[o]={type:r,default:t[o]};else throw new Error(`not have ${o} prop`)}),n},mS=e=>{const t=Object.keys(e),n={},o={},r={};for(let i=0,a=t.length;i0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n={},o=/;(?![^(]*\))/g,r=/:(.+)/;return typeof e=="object"?e:(e.split(o).forEach(function(i){if(i){const a=i.split(r);if(a.length>1){const l=t?yu(a[0].trim()):a[0].trim();n[l]=a[1].trim()}}}),n)},yS=(e,t)=>e[t]!==void 0,qm=Symbol("skipFlatten"),Nt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const n=Array.isArray(e)?e:[e],o=[];return n.forEach(r=>{Array.isArray(r)?o.push(...Nt(r,t)):r&&r.type===Me?r.key===qm?o.push(r):o.push(...Nt(r.children,t)):r&&po(r)?t&&!Ym(r)?o.push(r):t||o.push(r):sc(r)&&o.push(r)}),o},bS=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(po(e))return e.type===Me?t==="default"?Nt(e.children):[]:e.children&&e.children[t]?Nt(e.children[t](n)):[];{const o=e.$slots[t]&&e.$slots[t](n);return Nt(o)}},Nn=e=>{var t;let n=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;n&&!n.tagName;)n=n.nextSibling;return n},CS=e=>{const t={};if(e.$&&e.$.vnode){const n=e.$.vnode.props||{};Object.keys(e.$props).forEach(o=>{const r=e.$props[o],i=qx(o);(r!==void 0||i in n)&&(t[o]=r)})}else if(po(e)&&typeof e.type=="object"){const n=e.props||{},o={};Object.keys(n).forEach(i=>{o[yu(i)]=n[i]});const r=e.type.props||{};Object.keys(r).forEach(i=>{const a=Qx(r,o,i,o[i]);(a!==void 0||i in o)&&(t[i]=a)})}return t},xS=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"default",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,r;if(e.$){const i=e[t];if(i!==void 0)return typeof i=="function"&&o?i(n):i;r=e.$slots[t],r=o&&r?r(n):r}else if(po(e)){const i=e.props&&e.props[t];if(i!==void 0&&e.props!==null)return typeof i=="function"&&o?i(n):i;e.type===Me?r=e.children:e.children&&e.children[t]&&(r=e.children[t],r=o&&r?r(n):r)}return Array.isArray(r)&&(r=Nt(r),r=r.length===1?r[0]:r,r=r.length===0?void 0:r),r};function pf(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n={};return e.$?n=m(m({},n),e.$attrs):n=m(m({},n),e.props),mS(n)[t?"onEvents":"events"]}function SS(e,t){let o=((po(e)?e.props:e.$attrs)||{}).style||{};return typeof o=="string"&&(o=vS(o,t)),o}function wS(e){return e.length===1&&e[0].type===Me}function Ym(e){return e&&(e.type===Mt||e.type===Me&&e.children.length===0||e.type===Lr&&e.children.trim()==="")}function sn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(n=>{Array.isArray(n)?t.push(...n):(n==null?void 0:n.type)===Me?t.push(...sn(n.children)):t.push(n)}),t.filter(n=>!Ym(n))}function Ko(e){return Array.isArray(e)&&e.length===1&&(e=e[0]),e&&e.__v_isVNode&&typeof e.type!="symbol"}function bu(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"default";var o,r;return(o=t[n])!==null&&o!==void 0?o:(r=e[n])===null||r===void 0?void 0:r.call(e)}const Tl=se({compatConfig:{MODE:3},name:"ResizeObserver",props:{disabled:Boolean,onResize:Function},emits:["resize"],setup(e,t){let{slots:n}=t;const o=vt({width:0,height:0,offsetHeight:0,offsetWidth:0});let r=null,i=null;const a=()=>{i&&(i.disconnect(),i=null)},l=d=>{const{onResize:u}=e,f=d[0].target,{width:p,height:h}=f.getBoundingClientRect(),{offsetWidth:v,offsetHeight:g}=f,y=Math.floor(p),x=Math.floor(h);if(o.width!==y||o.height!==x||o.offsetWidth!==v||o.offsetHeight!==g){const S={width:y,height:x,offsetWidth:v,offsetHeight:g};m(o,S),u&&Promise.resolve().then(()=>{u(m(m({},S),{offsetWidth:v,offsetHeight:g}),f)})}},s=Zt(),c=()=>{const{disabled:d}=e;if(d){a();return}const u=Nn(s);u!==r&&(a(),r=u),!i&&u&&(i=new Xm(l),i.observe(u))};return ut(()=>{c()}),wn(()=>{c()}),yo(()=>{a()}),he(()=>e.disabled,()=>{c()},{flush:"post"}),()=>{var d;return(d=n.default)===null||d===void 0?void 0:d.call(n)[0]}}});let Qm=e=>setTimeout(e,16),Jm=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(Qm=e=>window.requestAnimationFrame(e),Jm=e=>window.cancelAnimationFrame(e));let hf=0;const Cu=new Map;function Zm(e){Cu.delete(e)}function Xe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;hf+=1;const n=hf;function o(r){if(r===0)Zm(n),e();else{const i=Qm(()=>{o(r-1)});Cu.set(n,i)}}return o(t),n}Xe.cancel=e=>{const t=Cu.get(e);return Zm(t),Jm(t)};const Si=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=e;return t.install=function(n){n.component(t.displayName||t.name,e)},e};function wi(){return{type:[Function,Array]}}function Ue(e){return{type:Object,default:e}}function Qe(e){return{type:Boolean,default:e}}function ra(e){return{type:Function,default:e}}function yn(e,t){const n={validator:()=>!0,default:e};return n}function Zn(e){return{type:Array,default:e}}function cc(e){return{type:String,default:e}}function $i(e,t){return e?{type:e,default:t}:yn(t)}let _t=!1;try{const e=Object.defineProperty({},"passive",{get(){_t=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch{}function mr(e,t,n,o){if(e&&e.addEventListener){let r=o;r===void 0&&_t&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(r={passive:!1}),e.addEventListener(t,n,r)}return{remove:()=>{e&&e.removeEventListener&&e.removeEventListener(t,n)}}}const xu="anticon",$S=Symbol("GlobalFormContextKey"),OS=e=>{rt($S,e)},_S=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:Ue(),input:Ue(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:Ue(),pageHeader:Ue(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:Ue(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:Ue(),pagination:Ue(),theme:Ue(),select:Ue(),wave:Ue()}),Su=Symbol("configProvider"),ev={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:T(()=>xu),getPopupContainer:T(()=>()=>document.body),direction:T(()=>"ltr")},wu=()=>qe(Su,ev),ES=e=>rt(Su,e),tv=Symbol("DisabledContextKey"),zi=()=>qe(tv,pe(void 0)),TS=e=>{const t=zi();return rt(tv,T(()=>{var n;return(n=e.value)!==null&&n!==void 0?n:t.value})),e},PS={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},AS={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},nv={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},gf={lang:m({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},AS),timePickerLocale:m({},nv)},Lt="${label} is not a valid ${type}",Wo={locale:"en",Pagination:PS,DatePicker:gf,TimePicker:nv,Calendar:gf,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Lt,method:Lt,array:Lt,object:Lt,number:Lt,date:Lt,boolean:Lt,integer:Lt,float:Lt,regexp:Lt,email:Lt,url:Lt,hex:Lt},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},ov=se({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:n}=t;const o=qe("localeData",{}),r=T(()=>{const{componentName:a="global",defaultLocale:l}=e,s=l||Wo[a||"global"],{antLocale:c}=o,d=a&&c?c[a]:{};return m(m({},typeof s=="function"?s():s),d||{})}),i=T(()=>{const{antLocale:a}=o,l=a&&a.locale;return a&&a.exist&&!l?Wo.locale:l});return()=>{const a=e.children||n.default,{antLocale:l}=o;return a==null?void 0:a(r.value,i.value,l)}}});function $u(e,t,n){const o=qe("localeData",{});return[T(()=>{const{antLocale:i}=o,a=it(t)||Wo[e],l=i?i[e]:{};return m(m(m({},typeof a=="function"?a():a),l||{}),it(n)||{})})]}function Ou(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const mf="%";class IS{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(mf):t)||null}update(t,n){const o=Array.isArray(t)?t.join(mf):t,r=this.cache.get(o),i=n(r);i===null?this.cache.delete(o):this.cache.set(o,i)}}const rv="data-token-hash",Bo="data-css-hash",vr="__cssinjs_instance__";function Oi(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Bo}]`)||[],{firstChild:n}=document.head;Array.from(t).forEach(r=>{r[vr]=r[vr]||e,r[vr]===e&&document.head.insertBefore(r,n)});const o={};Array.from(document.querySelectorAll(`style[${Bo}]`)).forEach(r=>{var i;const a=r.getAttribute(Bo);o[a]?r[vr]===e&&((i=r.parentNode)===null||i===void 0||i.removeChild(r)):o[a]=!0})}return new IS(e)}const iv=Symbol("StyleContextKey"),MS=()=>{var e,t,n;const o=Zt();let r;if(o&&o.appContext){const i=(n=(t=(e=o.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||n===void 0?void 0:n.__ANTDV_CSSINJS_CACHE__;i?r=i:(r=Oi(),o.appContext.config.globalProperties&&(o.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=r))}else r=Oi();return r},av={cache:Oi(),defaultCache:!0,hashPriority:"low"},Al=()=>{const e=MS();return qe(iv,K(m(m({},av),{cache:e})))},RS=e=>{const t=Al(),n=K(m(m({},av),{cache:Oi()}));return he([()=>it(e),t],()=>{const o=m({},t.value),r=it(e);Object.keys(r).forEach(a=>{const l=r[a];r[a]!==void 0&&(o[a]=l)});const{cache:i}=r;o.cache=o.cache||Oi(),o.defaultCache=!i&&t.value.defaultCache,n.value=o},{immediate:!0}),rt(iv,n),n},NS=()=>({autoClear:Qe(),mock:cc(),cache:Ue(),defaultCache:Qe(),hashPriority:cc(),container:$i(),ssrInline:Qe(),transformers:Zn(),linters:Zn()});Pl(se({name:"AStyleProvider",inheritAttrs:!1,props:NS(),setup(e,t){let{slots:n}=t;return RS(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}));function lv(e,t,n,o){const r=Al(),i=K(""),a=K();nt(()=>{i.value=[e,...t.value].join("%")});const l=s=>{r.value.cache.update(s,c=>{const[d=0,u]=c||[];return d-1===0?(o==null||o(u,!1),null):[d-1,u]})};return he(i,(s,c)=>{c&&l(c),r.value.cache.update(s,d=>{const[u=0,f]=d||[],h=f||n();return[u+1,h]}),a.value=r.value.cache.get(i.value)[1]},{immediate:!0}),ot(()=>{l(i.value)}),a}function cn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function no(e,t){return e&&e.contains?e.contains(t):!1}const vf="data-vc-order",DS="vc-util-key",uc=new Map;function sv(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:DS}function Il(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function BS(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function cv(e){return Array.from((uc.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function uv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!cn())return null;const{csp:n,prepend:o}=t,r=document.createElement("style");r.setAttribute(vf,BS(o)),n!=null&&n.nonce&&(r.nonce=n==null?void 0:n.nonce),r.innerHTML=e;const i=Il(t),{firstChild:a}=i;if(o){if(o==="queue"){const l=cv(i).filter(s=>["prepend","prependQueue"].includes(s.getAttribute(vf)));if(l.length)return i.insertBefore(r,l[l.length-1].nextSibling),r}i.insertBefore(r,a)}else i.appendChild(r);return r}function dv(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Il(t);return cv(n).find(o=>o.getAttribute(sv(t))===e)}function qa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=dv(e,t);n&&Il(t).removeChild(n)}function LS(e,t){const n=uc.get(e);if(!n||!no(document,n)){const o=uv("",t),{parentNode:r}=o;uc.set(e,r),e.removeChild(o)}}function _i(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var o,r,i;const a=Il(n);LS(a,n);const l=dv(t,n);if(l)return!((o=n.csp)===null||o===void 0)&&o.nonce&&l.nonce!==((r=n.csp)===null||r===void 0?void 0:r.nonce)&&(l.nonce=(i=n.csp)===null||i===void 0?void 0:i.nonce),l.innerHTML!==e&&(l.innerHTML=e),l;const s=uv(e,n);return s.setAttribute(sv(n),t),s}function FS(e,t){if(e.length!==t.length)return!1;for(let n=0;n1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return t.forEach(r=>{var i;o?o=(i=o==null?void 0:o.map)===null||i===void 0?void 0:i.get(r):o=void 0}),o!=null&&o.value&&n&&(o.value[1]=this.cacheCallTimes++),o==null?void 0:o.value}get(t){var n;return(n=this.internalGet(t,!0))===null||n===void 0?void 0:n[0]}has(t){return!!this.internalGet(t)}set(t,n){if(!this.has(t)){if(this.size()+1>Pr.MAX_CACHE_SIZE+Pr.MAX_CACHE_OFFSET){const[r]=this.keys.reduce((i,a)=>{const[,l]=i;return this.internalGet(a)[1]{if(i===t.length-1)o.set(r,{value:[n,this.cacheCallTimes++]});else{const a=o.get(r);a?a.map||(a.map=new Map):o.set(r,{map:new Map}),o=o.get(r).map}})}deleteByPath(t,n){var o;const r=t.get(n[0]);if(n.length===1)return r.map?t.set(n[0],{map:r.map}):t.delete(n[0]),(o=r.value)===null||o===void 0?void 0:o[0];const i=this.deleteByPath(r.map,n.slice(1));return(!r.map||r.map.size===0)&&!r.value&&t.delete(n[0]),i}delete(t){if(this.has(t))return this.keys=this.keys.filter(n=>!FS(n,t)),this.deleteByPath(this.cache,t)}}Pr.MAX_CACHE_SIZE=20;Pr.MAX_CACHE_OFFSET=5;let yf={};function HS(e,t){}function jS(e,t,n){!t&&!yf[n]&&(yf[n]=!0)}function kS(e,t){jS(HS,e,t)}function zS(){}let Ki=zS,bf=0;class fv{constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=bf,t.length===0&&Ki(t.length>0),bf+=1}getDerivativeToken(t){return this.derivatives.reduce((n,o)=>o(t,n),void 0)}}const ds=new Pr;function pv(e){const t=Array.isArray(e)?e:[e];return ds.has(t)||ds.set(t,new fv(t)),ds.get(t)}const Cf=new WeakMap;function Ya(e){let t=Cf.get(e)||"";return t||(Object.keys(e).forEach(n=>{const o=e[n];t+=n,o instanceof fv?t+=o.id:o&&typeof o=="object"?t+=Ya(o):t+=o}),Cf.set(e,t)),t}function KS(e,t){return Ou(`${t}_${Ya(e)}`)}const ci=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),hv="_bAmBoO_";function WS(e,t,n){var o,r;if(cn()){_i(e,ci);const i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",t==null||t(i),document.body.appendChild(i);const a=n?n(i):(o=getComputedStyle(i).content)===null||o===void 0?void 0:o.includes(hv);return(r=i.parentNode)===null||r===void 0||r.removeChild(i),qa(ci),a}return!1}let fs;function VS(){return fs===void 0&&(fs=WS(`@layer ${ci} { .${ci} { content: "${hv}"!important; } }`,e=>{e.className=ci})),fs}const xf={},US=!0,GS=!1,XS=!US&&!GS?"css-dev-only-do-not-override":"css",Po=new Map;function qS(e){Po.set(e,(Po.get(e)||0)+1)}function YS(e,t){typeof document<"u"&&document.querySelectorAll(`style[${rv}="${e}"]`).forEach(o=>{var r;o[vr]===t&&((r=o.parentNode)===null||r===void 0||r.removeChild(o))})}const QS=0;function JS(e,t){Po.set(e,(Po.get(e)||0)-1);const n=Array.from(Po.keys()),o=n.filter(r=>(Po.get(r)||0)<=0);n.length-o.length>QS&&o.forEach(r=>{YS(r,t),Po.delete(r)})}const ZS=(e,t,n,o)=>{const r=n.getDerivativeToken(e);let i=m(m({},r),t);return o&&(i=o(i)),i};function ew(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:pe({});const o=Al(),r=T(()=>m({},...t.value)),i=T(()=>Ya(r.value)),a=T(()=>Ya(n.value.override||xf));return lv("token",T(()=>[n.value.salt||"",e.value.id,i.value,a.value]),()=>{const{salt:s="",override:c=xf,formatToken:d,getComputedToken:u}=n.value,f=u?u(r.value,c,e.value):ZS(r.value,c,e.value,d),p=KS(f,s);f._tokenKey=p,qS(p);const h=`${XS}-${Ou(p)}`;return f._hashId=h,[f,h]},s=>{var c;JS(s[0]._tokenKey,(c=o.value)===null||c===void 0?void 0:c.cache.instanceId)})}var tw={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gv="comm",mv="rule",vv="decl",nw="@import",ow="@keyframes",rw="@layer",yv=Math.abs,_u=String.fromCharCode;function bv(e){return e.trim()}function wa(e,t,n){return e.replace(t,n)}function iw(e,t,n){return e.indexOf(t,n)}function Ei(e,t){return e.charCodeAt(t)|0}function Ti(e,t,n){return e.slice(t,n)}function Mn(e){return e.length}function aw(e){return e.length}function ia(e,t){return t.push(e),e}var Ml=1,Ar=1,Cv=0,Jt=0,ct=0,Fr="";function Eu(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Ml,column:Ar,length:a,return:"",siblings:l}}function lw(){return ct}function sw(){return ct=Jt>0?Ei(Fr,--Jt):0,Ar--,ct===10&&(Ar=1,Ml--),ct}function rn(){return ct=Jt2||dc(ct)>3?"":" "}function fw(e,t){for(;--t&&rn()&&!(ct<48||ct>102||ct>57&&ct<65||ct>70&&ct<97););return Rl(e,$a()+(t<6&&Lo()==32&&rn()==32))}function fc(e){for(;rn();)switch(ct){case e:return Jt;case 34:case 39:e!==34&&e!==39&&fc(ct);break;case 40:e===41&&fc(e);break;case 92:rn();break}return Jt}function pw(e,t){for(;rn()&&e+ct!==57;)if(e+ct===84&&Lo()===47)break;return"/*"+Rl(t,Jt-1)+"*"+_u(e===47?e:rn())}function hw(e){for(;!dc(Lo());)rn();return Rl(e,Jt)}function gw(e){return uw(Oa("",null,null,null,[""],e=cw(e),0,[0],e))}function Oa(e,t,n,o,r,i,a,l,s){for(var c=0,d=0,u=a,f=0,p=0,h=0,v=1,g=1,y=1,x=0,S="",E=r,w=i,$=o,b=S;g;)switch(h=x,x=rn()){case 40:if(h!=108&&Ei(b,u-1)==58){iw(b+=wa(ps(x),"&","&\f"),"&\f",yv(c?l[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:b+=ps(x);break;case 9:case 10:case 13:case 32:b+=dw(h);break;case 92:b+=fw($a()-1,7);continue;case 47:switch(Lo()){case 42:case 47:ia(mw(pw(rn(),$a()),t,n,s),s);break;default:b+="/"}break;case 123*v:l[c++]=Mn(b)*y;case 125*v:case 59:case 0:switch(x){case 0:case 125:g=0;case 59+d:y==-1&&(b=wa(b,/\f/g,"")),p>0&&Mn(b)-u&&ia(p>32?wf(b+";",o,n,u-1,s):wf(wa(b," ","")+";",o,n,u-2,s),s);break;case 59:b+=";";default:if(ia($=Sf(b,t,n,c,d,r,l,S,E=[],w=[],u,i),i),x===123)if(d===0)Oa(b,t,$,$,E,i,u,l,w);else switch(f===99&&Ei(b,3)===110?100:f){case 100:case 108:case 109:case 115:Oa(e,$,$,o&&ia(Sf(e,$,$,0,0,r,l,S,r,E=[],u,w),w),r,w,u,l,o?E:w);break;default:Oa(b,$,$,$,[""],w,0,l,w)}}c=d=p=0,v=y=1,S=b="",u=a;break;case 58:u=1+Mn(b),p=h;default:if(v<1){if(x==123)--v;else if(x==125&&v++==0&&sw()==125)continue}switch(b+=_u(x),x*v){case 38:y=d>0?1:(b+="\f",-1);break;case 44:l[c++]=(Mn(b)-1)*y,y=1;break;case 64:Lo()===45&&(b+=ps(rn())),f=Lo(),d=u=Mn(S=b+=hw($a())),x++;break;case 45:h===45&&Mn(b)==2&&(v=0)}}return i}function Sf(e,t,n,o,r,i,a,l,s,c,d,u){for(var f=r-1,p=r===0?i:[""],h=aw(p),v=0,g=0,y=0;v0?p[x]+" "+S:wa(S,/&\f/g,p[x])))&&(s[y++]=E);return Eu(e,t,n,r===0?mv:l,s,c,d,u)}function mw(e,t,n,o){return Eu(e,t,n,gv,_u(lw()),Ti(e,2,-2),0,o)}function wf(e,t,n,o,r){return Eu(e,t,n,vv,Ti(e,0,o),Ti(e,o+1,-1),o,r)}function pc(e,t){for(var n="",o=0;o{const[i,a]=r.split(":");Fo[i]=a});const o=document.querySelector(`style[${$f}]`);o&&(xv=!1,(e=o.parentNode)===null||e===void 0||e.removeChild(o)),document.body.removeChild(t)}}function Cw(e){return bw(),!!Fo[e]}function xw(e){const t=Fo[e];let n=null;if(t&&cn())if(xv)n=yw;else{const o=document.querySelector(`style[${Bo}="${Fo[e]}"]`);o?n=o.innerHTML:delete Fo[e]}return[n,t]}const Of=cn(),Sw="_skip_check_",Sv="_multi_value_";function _f(e){return pc(gw(e),vw).replace(/\{%%%\:[^;];}/g,";")}function ww(e){return typeof e=="object"&&e&&(Sw in e||Sv in e)}function $w(e,t,n){if(!t)return e;const o=`.${t}`,r=n==="low"?`:where(${o})`:o;return e.split(",").map(a=>{var l;const s=a.trim().split(/\s+/);let c=s[0]||"";const d=((l=c.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return c=`${d}${r}${c.slice(d.length)}`,[c,...s.slice(1)].join(" ")}).join(",")}const Ef=new Set,hc=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:n,injectHash:o,parentSelectors:r}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:i,layer:a,path:l,hashPriority:s,transformers:c=[],linters:d=[]}=t;let u="",f={};function p(g){const y=g.getName(i);if(!f[y]){const[x]=hc(g.style,t,{root:!1,parentSelectors:r});f[y]=`@keyframes ${g.getName(i)}${x}`}}function h(g){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return g.forEach(x=>{Array.isArray(x)?h(x,y):x&&y.push(x)}),y}if(h(Array.isArray(e)?e:[e]).forEach(g=>{const y=typeof g=="string"&&!n?{}:g;if(typeof y=="string")u+=`${y} +`;else if(y._keyframe)p(y);else{const x=c.reduce((S,E)=>{var w;return((w=E==null?void 0:E.visit)===null||w===void 0?void 0:w.call(E,S))||S},y);Object.keys(x).forEach(S=>{var E;const w=x[S];if(typeof w=="object"&&w&&(S!=="animationName"||!w._keyframe)&&!ww(w)){let $=!1,b=S.trim(),O=!1;(n||o)&&i?b.startsWith("@")?$=!0:b=$w(S,i,s):n&&!i&&(b==="&"||b==="")&&(b="",O=!0);const[_,P]=hc(w,t,{root:O,injectHash:$,parentSelectors:[...r,b]});f=m(m({},f),P),u+=`${b}${_}`}else{let $=function(O,_){const P=O.replace(/[A-Z]/g,B=>`-${B.toLowerCase()}`);let N=_;!tw[O]&&typeof N=="number"&&N!==0&&(N=`${N}px`),O==="animationName"&&(_!=null&&_._keyframe)&&(p(_),N=_.getName(i)),u+=`${P}:${N};`};const b=(E=w==null?void 0:w.value)!==null&&E!==void 0?E:w;typeof w=="object"&&(w!=null&&w[Sv])&&Array.isArray(b)?b.forEach(O=>{$(S,O)}):$(S,b)}})}}),!n)u=`{${u}}`;else if(a&&VS()){const g=a.split(",");u=`@layer ${g[g.length-1].trim()} {${u}}`,g.length>1&&(u=`@layer ${a}{%%%:%}${u}`)}return[u,f]};function Ow(e,t){return Ou(`${e.join("%")}${t}`)}function gc(e,t){const n=Al(),o=T(()=>e.value.token._tokenKey),r=T(()=>[o.value,...e.value.path]);let i=Of;return lv("style",r,()=>{const{path:a,hashId:l,layer:s,nonce:c,clientOnly:d,order:u=0}=e.value,f=r.value.join("|");if(Cw(f)){const[b,O]=xw(f);if(b)return[b,o.value,O,{},d,u]}const p=t(),{hashPriority:h,container:v,transformers:g,linters:y,cache:x}=n.value,[S,E]=hc(p,{hashId:l,hashPriority:h,layer:s,path:a.join("-"),transformers:g,linters:y}),w=_f(S),$=Ow(r.value,w);if(i){const b={mark:Bo,prepend:"queue",attachTo:v,priority:u},O=typeof c=="function"?c():c;O&&(b.csp={nonce:O});const _=_i(w,$,b);_[vr]=x.instanceId,_.setAttribute(rv,o.value),Object.keys(E).forEach(P=>{Ef.has(P)||(Ef.add(P),_i(_f(E[P]),`_effect-${P}`,{mark:Bo,prepend:"queue",attachTo:v}))})}return[w,o.value,$,E,d,u]},(a,l)=>{let[,,s]=a;(l||n.value.autoClear)&&Of&&qa(s,{mark:Bo})}),a=>a}class De{constructor(t,n){this._keyframe=!0,this.name=t,this.style=n}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}const _w="4.2.3",Qa=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];function Ct(e,t){Ew(e)&&(e="100%");var n=Tw(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function aa(e){return Math.min(1,Math.max(0,e))}function Ew(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Tw(e){return typeof e=="string"&&e.indexOf("%")!==-1}function wv(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function la(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Io(e){return e.length===1?"0"+e:String(e)}function Pw(e,t,n){return{r:Ct(e,255)*255,g:Ct(t,255)*255,b:Ct(n,255)*255}}function Tf(e,t,n){e=Ct(e,255),t=Ct(t,255),n=Ct(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=0,l=(o+r)/2;if(o===r)a=0,i=0;else{var s=o-r;switch(a=l>.5?s/(2-o-r):s/(o+r),o){case e:i=(t-n)/s+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Aw(e,t,n){var o,r,i;if(e=Ct(e,360),t=Ct(t,100),n=Ct(n,100),t===0)r=n,i=n,o=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=hs(l,a,e+1/3),r=hs(l,a,e),i=hs(l,a,e-1/3)}return{r:o*255,g:r*255,b:i*255}}function mc(e,t,n){e=Ct(e,255),t=Ct(t,255),n=Ct(n,255);var o=Math.max(e,t,n),r=Math.min(e,t,n),i=0,a=o,l=o-r,s=o===0?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(t-n)/l+(t>16,g:(e&65280)>>8,b:e&255}}var yc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function hr(e){var t={r:0,g:0,b:0},n=1,o=null,r=null,i=null,a=!1,l=!1;return typeof e=="string"&&(e=Lw(e)),typeof e=="object"&&(_n(e.r)&&_n(e.g)&&_n(e.b)?(t=Pw(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):_n(e.h)&&_n(e.s)&&_n(e.v)?(o=la(e.s),r=la(e.v),t=Iw(e.h,o,r),a=!0,l="hsv"):_n(e.h)&&_n(e.s)&&_n(e.l)&&(o=la(e.s),i=la(e.l),t=Aw(e.h,o,i),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=wv(n),{ok:a,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Dw="[-\\+]?\\d+%?",Bw="[-\\+]?\\d*\\.\\d+%?",oo="(?:".concat(Bw,")|(?:").concat(Dw,")"),gs="[\\s|\\(]+(".concat(oo,")[,|\\s]+(").concat(oo,")[,|\\s]+(").concat(oo,")\\s*\\)?"),ms="[\\s|\\(]+(".concat(oo,")[,|\\s]+(").concat(oo,")[,|\\s]+(").concat(oo,")[,|\\s]+(").concat(oo,")\\s*\\)?"),nn={CSS_UNIT:new RegExp(oo),rgb:new RegExp("rgb"+gs),rgba:new RegExp("rgba"+ms),hsl:new RegExp("hsl"+gs),hsla:new RegExp("hsla"+ms),hsv:new RegExp("hsv"+gs),hsva:new RegExp("hsva"+ms),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Lw(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(yc[e])e=yc[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=nn.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=nn.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=nn.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=nn.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=nn.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=nn.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=nn.hex8.exec(e),n?{r:Ft(n[1]),g:Ft(n[2]),b:Ft(n[3]),a:Pf(n[4]),format:t?"name":"hex8"}:(n=nn.hex6.exec(e),n?{r:Ft(n[1]),g:Ft(n[2]),b:Ft(n[3]),format:t?"name":"hex"}:(n=nn.hex4.exec(e),n?{r:Ft(n[1]+n[1]),g:Ft(n[2]+n[2]),b:Ft(n[3]+n[3]),a:Pf(n[4]+n[4]),format:t?"name":"hex8"}:(n=nn.hex3.exec(e),n?{r:Ft(n[1]+n[1]),g:Ft(n[2]+n[2]),b:Ft(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function _n(e){return!!nn.CSS_UNIT.exec(String(e))}var ft=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=Nw(t)),this.originalInput=t;var r=hr(t);this.originalInput=t,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=n.format)!==null&&o!==void 0?o:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,o,r,i=t.r/255,a=t.g/255,l=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?o=a/12.92:o=Math.pow((a+.055)/1.055,2.4),l<=.03928?r=l/12.92:r=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*o+.0722*r},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=wv(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=mc(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=mc(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Tf(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Tf(this.r,this.g,this.b),n=Math.round(t.h*360),o=Math.round(t.s*100),r=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(n,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),vc(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Mw(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(o,")"):"rgba(".concat(t,", ").concat(n,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Ct(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Ct(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+vc(this.r,this.g,this.b,!1),n=0,o=Object.entries(yc);n=0,i=!n&&r&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=aa(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=aa(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=aa(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=aa(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),o=(n.h+t)%360;return n.h=o<0?360+o:o,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var o=this.toRgb(),r=new e(t).toRgb(),i=n/100,a={r:(r.r-o.r)*i+o.r,g:(r.g-o.g)*i+o.g,b:(r.b-o.b)*i+o.b,a:(r.a-o.a)*i+o.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var o=this.toHsl(),r=360/n,i=[this];for(o.h=(o.h-(r*t>>1)+720)%360;--t;)o.h=(o.h+r)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),o=n.h,r=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:o,s:r,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),o=new e(t).toRgb(),r=n.a+o.a*(1-n.a);return new e({r:(n.r*n.a+o.r*o.a*(1-n.a))/r,g:(n.g*n.a+o.g*o.a*(1-n.a))/r,b:(n.b*n.a+o.b*o.a*(1-n.a))/r,a:r})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),o=n.h,r=[this],i=360/t,a=1;a=60&&Math.round(e.h)<=240?o=n?Math.round(e.h)-sa*t:Math.round(e.h)+sa*t:o=n?Math.round(e.h)+sa*t:Math.round(e.h)-sa*t,o<0?o+=360:o>=360&&(o-=360),o}function Rf(e,t,n){if(e.h===0&&e.s===0)return e.s;var o;return n?o=e.s-Af*t:t===Ov?o=e.s+Af:o=e.s+Fw*t,o>1&&(o=1),n&&t===$v&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function Nf(e,t,n){var o;return n?o=e.v+Hw*t:o=e.v-jw*t,o>1&&(o=1),Number(o.toFixed(2))}function Vo(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],o=hr(e),r=$v;r>0;r-=1){var i=If(o),a=ca(hr({h:Mf(i,r,!0),s:Rf(i,r,!0),v:Nf(i,r,!0)}));n.push(a)}n.push(ca(o));for(var l=1;l<=Ov;l+=1){var s=If(o),c=ca(hr({h:Mf(s,l),s:Rf(s,l),v:Nf(s,l)}));n.push(c)}return t.theme==="dark"?kw.map(function(d){var u=d.index,f=d.opacity,p=ca(zw(hr(t.backgroundColor||"#141414"),hr(n[u]),f*100));return p}):n}var vs={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},_a={},ys={};Object.keys(vs).forEach(function(e){_a[e]=Vo(vs[e]),_a[e].primary=_a[e][5],ys[e]=Vo(vs[e],{theme:"dark",backgroundColor:"#141414"}),ys[e].primary=ys[e][5]});var Kw=_a.blue;const Ww=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Vw(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const _v={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Nl=m(m({},_v),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});function Uw(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:r,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:c,colorTextBase:d}=e,u=n(s),f=n(r),p=n(i),h=n(a),v=n(l),g=o(c,d);return m(m({},g),{colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:v[1],colorInfoBgHover:v[2],colorInfoBorder:v[3],colorInfoBorderHover:v[4],colorInfoHover:v[4],colorInfo:v[6],colorInfoActive:v[7],colorInfoTextHover:v[8],colorInfoText:v[9],colorInfoTextActive:v[10],colorBgMask:new ft("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Gw=e=>{let t=e,n=e,o=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e>16?16:e,borderRadiusXS:o,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:r}};function Xw(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return m({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:r+1},Gw(o))}const En=(e,t)=>new ft(e).setAlpha(t).toRgbString(),Gr=(e,t)=>new ft(e).darken(t).toHexString(),qw=e=>{const t=Vo(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},Yw=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:En(o,.88),colorTextSecondary:En(o,.65),colorTextTertiary:En(o,.45),colorTextQuaternary:En(o,.25),colorFill:En(o,.15),colorFillSecondary:En(o,.06),colorFillTertiary:En(o,.04),colorFillQuaternary:En(o,.02),colorBgLayout:Gr(n,4),colorBgContainer:Gr(n,0),colorBgElevated:Gr(n,0),colorBgSpotlight:En(o,.85),colorBorder:Gr(n,15),colorBorderSecondary:Gr(n,6)}};function Qw(e){const t=new Array(10).fill(null).map((n,o)=>{const r=o-1,i=e*Math.pow(2.71828,r/5),a=o>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>{const o=n+8;return{size:n,lineHeight:o/n}})}const Jw=e=>{const t=Qw(e),n=t.map(r=>r.size),o=t.map(r=>r.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:o[1],lineHeightLG:o[2],lineHeightSM:o[0],lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};function Zw(e){const t=Object.keys(_v).map(n=>{const o=Vo(e[n]);return new Array(10).fill(1).reduce((r,i,a)=>(r[`${n}-${a+1}`]=o[a],r),{})}).reduce((n,o)=>(n=m(m({},n),o),n),{});return m(m(m(m(m(m(m({},e),t),Uw(e,{generateColorPalettes:qw,generateNeutralColorPalettes:Yw})),Jw(e.fontSize)),Vw(e)),Ww(e)),Xw(e))}function bs(e){return e>=0&&e<=255}function ua(e,t){const{r:n,g:o,b:r,a:i}=new ft(e).toRgb();if(i<1)return e;const{r:a,g:l,b:s}=new ft(t).toRgb();for(let c=.01;c<=1;c+=.01){const d=Math.round((n-a*(1-c))/c),u=Math.round((o-l*(1-c))/c),f=Math.round((r-s*(1-c))/c);if(bs(d)&&bs(u)&&bs(f))return new ft({r:d,g:u,b:f,a:Math.round(c*100)/100}).toRgbString()}return new ft({r:n,g:o,b:r,a:1}).toRgbString()}var e$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{delete o[p]});const r=m(m({},n),o),i=480,a=576,l=768,s=992,c=1200,d=1600,u=2e3;return m(m(m({},r),{colorLink:r.colorInfoText,colorLinkHover:r.colorInfoHover,colorLinkActive:r.colorInfoActive,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:ua(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:ua(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:ua(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:ua(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,screenXXLMax:u-1,screenXXXL:u,screenXXXLMin:u,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:` + 0 1px 2px -2px ${new ft("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new ft("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new ft("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),o)}const Ev=(e,t,n,o,r)=>{const i=e/2,a=0,l=i,s=n*1/Math.sqrt(2),c=i-n*(1-1/Math.sqrt(2)),d=i-t*(1/Math.sqrt(2)),u=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),f=2*i-d,p=u,h=2*i-s,v=c,g=2*i-a,y=l,x=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),S=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::after":{content:'""',position:"absolute",width:x,height:x,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"},"&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:o,clipPath:{_multi_value_:!0,value:[`polygon(${S}px 100%, 50% ${S}px, ${2*i-S}px 100%, ${S}px 100%)`,`path('M ${a} ${l} A ${n} ${n} 0 0 0 ${s} ${c} L ${d} ${u} A ${t} ${t} 0 0 1 ${f} ${p} L ${h} ${v} A ${n} ${n} 0 0 0 ${g} ${y} Z')`]},content:'""'}}};function n$(e,t){return Qa.reduce((n,o)=>{const r=e[`${o}-1`],i=e[`${o}-3`],a=e[`${o}-6`],l=e[`${o}-7`];return m(m({},n),t(o,{lightColor:r,lightBorderColor:i,darkColor:a,textColor:l}))},{})}const o$={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},qt=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),Tv=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Ja=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),r$=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),i$=(e,t)=>{const{fontFamily:n,fontSize:o}=e,r=`[class^="${t}"], [class*=" ${t}"]`;return{[r]:{fontFamily:n,fontSize:o,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[r]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},Pi=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Za=e=>({"&:focus-visible":m({},Pi(e))});function en(e,t,n){return o=>{const r=T(()=>o==null?void 0:o.value),[i,a,l]=Wi(),{getPrefixCls:s,iconPrefixCls:c}=wu(),d=T(()=>s()),u=T(()=>({theme:i.value,token:a.value,hashId:l.value,path:["Shared",d.value]}));gc(u,()=>[{"&":r$(a.value)}]);const f=T(()=>({theme:i.value,token:a.value,hashId:l.value,path:[e,r.value,c.value]}));return[gc(f,()=>{const{token:p,flush:h}=l$(a.value),v=typeof n=="function"?n(p):n,g=m(m({},v),a.value[e]),y=`.${r.value}`,x=ht(p,{componentCls:y,prefixCls:r.value,iconCls:`.${c.value}`,antCls:`.${d.value}`},g),S=t(x,{hashId:l.value,prefixCls:r.value,rootPrefixCls:d.value,iconPrefixCls:c.value,overrideComponentToken:a.value[e]});return h(e,g),[i$(a.value,r.value),S]}),l]}}const Pv=typeof CSSINJS_STATISTIC<"u";let bc=!0;function ht(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(r).forEach(a=>{Object.defineProperty(o,a,{configurable:!0,enumerable:!0,get:()=>r[a]})})}),bc=!0,o}function a$(){}function l$(e){let t,n=e,o=a$;return Pv&&(t=new Set,n=new Proxy(e,{get(r,i){return bc&&t.add(i),r[i]}}),o=(r,i)=>{Array.from(t)}),{token:n,keys:t,flush:o}}const s$=pv(Zw),Av={token:Nl,hashed:!0},Iv=Symbol("DesignTokenContext"),Cc=K(),c$=e=>{rt(Iv,e),he(e,()=>{Cc.value=it(e),BC(Cc)},{immediate:!0,deep:!0})},u$=se({props:{value:Ue()},setup(e,t){let{slots:n}=t;return c$(T(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function Wi(){const e=qe(Iv,T(()=>Cc.value||Av)),t=T(()=>`${_w}-${e.value.hashed||""}`),n=T(()=>e.value.theme||s$),o=ew(n,T(()=>[Nl,e.value.token]),T(()=>({salt:t.value,override:m({override:e.value.token},e.value.components),formatToken:t$})));return[n,T(()=>o.value[0]),T(()=>e.value.hashed?o.value[1]:"")]}const Mv=se({compatConfig:{MODE:3},setup(){const[,e]=Wi(),t=T(()=>new ft(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>C("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[C("g",{fill:"none","fill-rule":"evenodd"},[C("g",{transform:"translate(24 31.67)"},[C("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),C("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),C("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),C("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),C("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),C("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),C("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[C("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),C("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});Mv.PRESENTED_IMAGE_DEFAULT=!0;const Rv=se({compatConfig:{MODE:3},setup(){const[,e]=Wi(),t=T(()=>{const{colorFill:n,colorFillTertiary:o,colorFillQuaternary:r,colorBgContainer:i}=e.value;return{borderColor:new ft(n).onBackground(i).toHexString(),shadowColor:new ft(o).onBackground(i).toHexString(),contentColor:new ft(r).onBackground(i).toHexString()}});return()=>C("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[C("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[C("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),C("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[C("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),C("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});Rv.PRESENTED_IMAGE_SIMPLE=!0;const d$=e=>{const{componentCls:t,margin:n,marginXS:o,marginXL:r,fontSize:i,lineHeight:a}=e;return{[t]:{marginInline:o,fontSize:i,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:o,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:r,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:o,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},f$=en("Empty",e=>{const{componentCls:t,controlHeightLG:n}=e,o=ht(e,{emptyImgCls:`${t}-img`,emptyImgHeight:n*2.5,emptyImgHeightMD:n,emptyImgHeightSM:n*.875});return[d$(o)]});var p$=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({prefixCls:String,imageStyle:Ue(),image:yn(),description:yn()}),Tu=se({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:h$(),setup(e,t){let{slots:n={},attrs:o}=t;const{direction:r,prefixCls:i}=dt("empty",e),[a,l]=f$(i);return()=>{var s,c;const d=i.value,u=m(m({},e),o),{image:f=((s=n.image)===null||s===void 0?void 0:s.call(n))||Nv,description:p=((c=n.description)===null||c===void 0?void 0:c.call(n))||void 0,imageStyle:h,class:v=""}=u,g=p$(u,["image","description","imageStyle","class"]);return a(C(ov,{componentName:"Empty",children:y=>{const x=typeof p<"u"?p:y.description,S=typeof x=="string"?x:"empty";let E=null;return typeof f=="string"?E=C("img",{alt:S,src:f},null):E=f,C("div",j({class:de(d,v,l.value,{[`${d}-normal`]:f===Dv,[`${d}-rtl`]:r.value==="rtl"})},g),[C("div",{class:`${d}-image`,style:h},[E]),x&&C("p",{class:`${d}-description`},[x]),n.default&&C("div",{class:`${d}-footer`},[sn(n.default())])])}},null))}}});Tu.PRESENTED_IMAGE_DEFAULT=Nv;Tu.PRESENTED_IMAGE_SIMPLE=Dv;const Xr=Pl(Tu),Bv=e=>{const{prefixCls:t}=dt("empty",e);return(o=>{switch(o){case"Table":case"List":return C(Xr,{image:Xr.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return C(Xr,{image:Xr.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return C(Xr,null,null)}})(e.componentName)};function g$(e){return C(Bv,{componentName:e},null)}const Lv=Symbol("SizeContextKey"),Fv=()=>qe(Lv,pe(void 0)),m$=e=>{const t=Fv();return rt(Lv,T(()=>e.value||t.value)),e},dt=(e,t)=>{const n=Fv(),o=zi(),r=qe(Su,m(m({},ev),{renderEmpty:b=>Ka(Bv,{componentName:b})})),i=T(()=>r.getPrefixCls(e,t.prefixCls)),a=T(()=>{var b,O;return(b=t.direction)!==null&&b!==void 0?b:(O=r.direction)===null||O===void 0?void 0:O.value}),l=T(()=>{var b;return(b=t.iconPrefixCls)!==null&&b!==void 0?b:r.iconPrefixCls.value}),s=T(()=>r.getPrefixCls()),c=T(()=>{var b;return(b=r.autoInsertSpaceInButton)===null||b===void 0?void 0:b.value}),d=r.renderEmpty,u=r.space,f=r.pageHeader,p=r.form,h=T(()=>{var b,O;return(b=t.getTargetContainer)!==null&&b!==void 0?b:(O=r.getTargetContainer)===null||O===void 0?void 0:O.value}),v=T(()=>{var b,O,_;return(O=(b=t.getContainer)!==null&&b!==void 0?b:t.getPopupContainer)!==null&&O!==void 0?O:(_=r.getPopupContainer)===null||_===void 0?void 0:_.value}),g=T(()=>{var b,O;return(b=t.dropdownMatchSelectWidth)!==null&&b!==void 0?b:(O=r.dropdownMatchSelectWidth)===null||O===void 0?void 0:O.value}),y=T(()=>{var b;return(t.virtual===void 0?((b=r.virtual)===null||b===void 0?void 0:b.value)!==!1:t.virtual!==!1)&&g.value!==!1}),x=T(()=>t.size||n.value),S=T(()=>{var b,O,_;return(b=t.autocomplete)!==null&&b!==void 0?b:(_=(O=r.input)===null||O===void 0?void 0:O.value)===null||_===void 0?void 0:_.autocomplete}),E=T(()=>{var b;return(b=t.disabled)!==null&&b!==void 0?b:o.value}),w=T(()=>{var b;return(b=t.csp)!==null&&b!==void 0?b:r.csp}),$=T(()=>{var b,O;return(b=t.wave)!==null&&b!==void 0?b:(O=r.wave)===null||O===void 0?void 0:O.value});return{configProvider:r,prefixCls:i,direction:a,size:x,getTargetContainer:h,getPopupContainer:v,space:u,pageHeader:f,form:p,autoInsertSpaceInButton:c,renderEmpty:d,virtual:y,dropdownMatchSelectWidth:g,rootPrefixCls:s,getPrefixCls:r.getPrefixCls,autocomplete:S,csp:w,iconPrefixCls:l,disabled:E,select:r.select,wave:$}};function Pt(e,t){const n=m({},e);for(let o=0;o=0||(r[n]=e[n]);return r}function Df(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var zv=Object.prototype,Kv=zv.toString,y$=zv.hasOwnProperty,Wv=/^\s*function (\w+)/;function Bf(e){var t,n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){var o=n.toString().match(Wv);return o?o[1]:""}return""}var Uo=function(e){var t,n;return Df(e)!==!1&&typeof(t=e.constructor)=="function"&&Df(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},b$=function(e){return e},Et=b$,Ai=function(e,t){return y$.call(e,t)},C$=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},Ir=Array.isArray||function(e){return Kv.call(e)==="[object Array]"},Mr=function(e){return Kv.call(e)==="[object Function]"},el=function(e){return Uo(e)&&Ai(e,"_vueTypes_name")},Vv=function(e){return Uo(e)&&(Ai(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return Ai(e,t)}))};function Pu(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function Zo(e,t,n){var o;n===void 0&&(n=!1);var r=!0,i="";o=Uo(e)?e:{type:e};var a=el(o)?o._vueTypes_name+" - ":"";if(Vv(o)&&o.type!==null){if(o.type===void 0||o.type===!0||!o.required&&t===void 0)return r;Ir(o.type)?(r=o.type.some(function(u){return Zo(u,t,!0)===!0}),i=o.type.map(function(u){return Bf(u)}).join(" or ")):r=(i=Bf(o))==="Array"?Ir(t):i==="Object"?Uo(t):i==="String"||i==="Number"||i==="Boolean"||i==="Function"?function(u){if(u==null)return"";var f=u.constructor.toString().match(Wv);return f?f[1]:""}(t)===i:t instanceof o.type}if(!r){var l=a+'value "'+t+'" should be of type "'+i+'"';return n===!1?(Et(l),!1):l}if(Ai(o,"validator")&&Mr(o.validator)){var s=Et,c=[];if(Et=function(u){c.push(u)},r=o.validator(t),Et=s,!r){var d=(c.length>1?"* ":"")+c.join(` +* `);return c.length=0,n===!1?(Et(d),r):d}}return r}function zt(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(r){return r!==void 0||this.default?Mr(r)||Zo(this,r,!0)===!0?(this.default=Ir(r)?function(){return[].concat(r)}:Uo(r)?function(){return Object.assign({},r)}:r,this):(Et(this._vueTypes_name+' - invalid default value: "'+r+'"'),this):this}}}),o=n.validator;return Mr(o)&&(n.validator=Pu(o,n)),n}function Sn(e,t){var n=zt(e,t);return Object.defineProperty(n,"validate",{value:function(o){return Mr(this.validator)&&Et(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info: +`+JSON.stringify(this)),this.validator=Pu(o,this),this}})}function Lf(e,t,n){var o,r,i=(o=t,r={},Object.getOwnPropertyNames(o).forEach(function(u){r[u]=Object.getOwnPropertyDescriptor(o,u)}),Object.defineProperties({},r));if(i._vueTypes_name=e,!Uo(n))return i;var a,l,s=n.validator,c=kv(n,["validator"]);if(Mr(s)){var d=i.validator;d&&(d=(l=(a=d).__original)!==null&&l!==void 0?l:a),i.validator=Pu(d?function(u){return d.call(this,u)&&s.call(this,u)}:s,i)}return Object.assign(i,c)}function Dl(e){return e.replace(/^(?!\s*$)/gm," ")}var x$=function(){return Sn("any",{})},S$=function(){return Sn("function",{type:Function})},w$=function(){return Sn("boolean",{type:Boolean})},$$=function(){return Sn("string",{type:String})},O$=function(){return Sn("number",{type:Number})},_$=function(){return Sn("array",{type:Array})},E$=function(){return Sn("object",{type:Object})},T$=function(){return zt("integer",{type:Number,validator:function(e){return C$(e)}})},P$=function(){return zt("symbol",{validator:function(e){return typeof e=="symbol"}})};function A$(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return zt(e.name||"<>",{validator:function(n){var o=e(n);return o||Et(this._vueTypes_name+" - "+t),o}})}function I$(e){if(!Ir(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(o,r){if(r!=null){var i=r.constructor;o.indexOf(i)===-1&&o.push(i)}return o},[]);return zt("oneOf",{type:n.length>0?n:void 0,validator:function(o){var r=e.indexOf(o)!==-1;return r||Et(t),r}})}function M$(e){if(!Ir(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],o=0;o0&&n.some(function(s){return a.indexOf(s)===-1})){var l=n.filter(function(s){return a.indexOf(s)===-1});return Et(l.length===1?'shape - required property "'+l[0]+'" is not defined.':'shape - required properties "'+l.join('", "')+'" are not defined.'),!1}return a.every(function(s){if(t.indexOf(s)===-1)return i._vueTypes_isLoose===!0||(Et('shape - shape definition does not include a "'+s+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var c=Zo(e[s],r[s],!0);return typeof c=="string"&&Et('shape - "'+s+`" property validation error: + `+Dl(c)),c===!0})}});return Object.defineProperty(o,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(o,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),o}var vn=function(){function e(){}return e.extend=function(t){var n=this;if(Ir(t))return t.forEach(function(u){return n.extend(u)}),this;var o=t.name,r=t.validate,i=r!==void 0&&r,a=t.getter,l=a!==void 0&&a,s=kv(t,["name","validate","getter"]);if(Ai(this,o))throw new TypeError('[VueTypes error]: Type "'+o+'" already defined');var c,d=s.type;return el(d)?(delete s.type,Object.defineProperty(this,o,l?{get:function(){return Lf(o,d,s)}}:{value:function(){var u,f=Lf(o,d,s);return f.validator&&(f.validator=(u=f.validator).bind.apply(u,[f].concat([].slice.call(arguments)))),f}})):(c=l?{get:function(){var u=Object.assign({},s);return i?Sn(o,u):zt(o,u)},enumerable:!0}:{value:function(){var u,f,p=Object.assign({},s);return u=i?Sn(o,p):zt(o,p),p.validator&&(u.validator=(f=p.validator).bind.apply(f,[u].concat([].slice.call(arguments)))),u},enumerable:!0},Object.defineProperty(this,o,c))},Hv(e,null,[{key:"any",get:function(){return x$()}},{key:"func",get:function(){return S$().def(this.defaults.func)}},{key:"bool",get:function(){return w$().def(this.defaults.bool)}},{key:"string",get:function(){return $$().def(this.defaults.string)}},{key:"number",get:function(){return O$().def(this.defaults.number)}},{key:"array",get:function(){return _$().def(this.defaults.array)}},{key:"object",get:function(){return E$().def(this.defaults.object)}},{key:"integer",get:function(){return T$().def(this.defaults.integer)}},{key:"symbol",get:function(){return P$()}}]),e}();function Uv(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(n){function o(){return n.apply(this,arguments)||this}return jv(o,n),Hv(o,null,[{key:"sensibleDefaults",get:function(){return Ea({},this.defaults)},set:function(r){this.defaults=r!==!1?Ea({},r!==!0?r:e):{}}}]),o}(vn)).defaults=Ea({},e),t}vn.defaults={},vn.custom=A$,vn.oneOf=I$,vn.instanceOf=N$,vn.oneOfType=M$,vn.arrayOf=R$,vn.objectOf=D$,vn.shape=B$,vn.utils={validate:function(e,t){return Zo(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?Sn(e,t):zt(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return jv(t,e),t})(Uv());const q=Uv({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});q.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);const Fn=(e,t,n)=>{kS(e,`[ant-design-vue: ${t}] ${n}`)};function L$(){return""}function F$(e){return e?e.ownerDocument:window.document}function Gv(){}const H$=()=>({action:q.oneOfType([q.string,q.arrayOf(q.string)]).def([]),showAction:q.any.def([]),hideAction:q.any.def([]),getPopupClassNameFromAlign:q.any.def(L$),onPopupVisibleChange:Function,afterPopupVisibleChange:q.func.def(Gv),popup:q.any,arrow:q.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:q.string.def("rc-trigger-popup"),popupClassName:q.string.def(""),popupPlacement:String,builtinPlacements:q.object,popupTransitionName:String,popupAnimation:q.any,mouseEnterDelay:q.number.def(0),mouseLeaveDelay:q.number.def(.1),zIndex:Number,focusDelay:q.number.def(0),blurDelay:q.number.def(.15),getPopupContainer:Function,getDocument:q.func.def(F$),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:q.object.def(()=>({})),popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},maskTransitionName:String,maskAnimation:String,stretch:String,alignPoint:{type:Boolean,default:void 0},autoDestroy:{type:Boolean,default:!1},mobile:Object,getTriggerDOMNode:Function}),Au={visible:Boolean,prefixCls:String,zIndex:Number,destroyPopupOnHide:Boolean,forceRender:Boolean,arrow:{type:Boolean,default:!0},animation:[String,Object],transitionName:String,stretch:{type:String},align:{type:Object},point:{type:Object},getRootDomNode:{type:Function},getClassNameFromAlign:{type:Function},onAlign:{type:Function},onMouseenter:{type:Function},onMouseleave:{type:Function},onMousedown:{type:Function},onTouchstart:{type:Function}},j$=m(m({},Au),{mobile:{type:Object}}),k$=m(m({},Au),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function Iu(e){let{prefixCls:t,animation:n,transitionName:o}=e;return n?{name:`${t}-${n}`}:o?{name:o}:{}}function Xv(e){const{prefixCls:t,visible:n,zIndex:o,mask:r,maskAnimation:i,maskTransitionName:a}=e;if(!r)return null;let l={};return(a||i)&&(l=Iu({prefixCls:t,transitionName:a,animation:i})),C(un,j({appear:!0},l),{default:()=>[Jo(C("div",{style:{zIndex:o},class:`${t}-mask`},null),[[o1("if"),n]])]})}Xv.displayName="Mask";const z$=se({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:j$,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:o}=t;const r=pe();return n({forceAlign:()=>{},getElement:()=>r.value}),()=>{var i;const{zIndex:a,visible:l,prefixCls:s,mobile:{popupClassName:c,popupStyle:d,popupMotion:u={},popupRender:f}={}}=e,p=m({zIndex:a},d);let h=Nt((i=o.default)===null||i===void 0?void 0:i.call(o));h.length>1&&(h=C("div",{class:`${s}-content`},[h])),f&&(h=f(h));const v=de(s,c);return C(un,j({ref:r},u),{default:()=>[l?C("div",{class:v,style:p},[h]):null]})}}});var K$=function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function l(d){try{c(o.next(d))}catch(u){a(u)}}function s(d){try{c(o.throw(d))}catch(u){a(u)}}function c(d){d.done?i(d.value):r(d.value).then(l,s)}c((o=o.apply(e,t||[])).next())})};const Ff=["measure","align",null,"motion"],W$=(e,t)=>{const n=K(null),o=K(),r=K(!1);function i(s){r.value||(n.value=s)}function a(){Xe.cancel(o.value)}function l(s){a(),o.value=Xe(()=>{let c=n.value;switch(n.value){case"align":c="motion";break;case"motion":c="stable";break}i(c),s==null||s()})}return he(e,()=>{i("measure")},{immediate:!0,flush:"post"}),ut(()=>{he(n,()=>{switch(n.value){case"measure":t();break}n.value&&(o.value=Xe(()=>K$(void 0,void 0,void 0,function*(){const s=Ff.indexOf(n.value),c=Ff[s+1];c&&s!==-1&&i(c)})))},{immediate:!0,flush:"post"})}),ot(()=>{r.value=!0,a()}),[n,l]},V$=e=>{const t=K({width:0,height:0});function n(r){t.value={width:r.offsetWidth,height:r.offsetHeight}}return[T(()=>{const r={};if(e.value){const{width:i,height:a}=t.value;e.value.indexOf("height")!==-1&&a?r.height=`${a}px`:e.value.indexOf("minHeight")!==-1&&a&&(r.minHeight=`${a}px`),e.value.indexOf("width")!==-1&&i?r.width=`${i}px`:e.value.indexOf("minWidth")!==-1&&i&&(r.minWidth=`${i}px`)}return r}),n]};function Hf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function jf(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function hO(e,t,n,o){var r=Te.clone(e),i={width:t.width,height:t.height};return o.adjustX&&r.left=n.left&&r.left+i.width>n.right&&(i.width-=r.left+i.width-n.right),o.adjustX&&r.left+i.width>n.right&&(r.left=Math.max(n.right-i.width,n.left)),o.adjustY&&r.top=n.top&&r.top+i.height>n.bottom&&(i.height-=r.top+i.height-n.bottom),o.adjustY&&r.top+i.height>n.bottom&&(r.top=Math.max(n.bottom-i.height,n.top)),Te.mix(r,i)}function Du(e){var t,n,o;if(!Te.isWindow(e)&&e.nodeType!==9)t=Te.offset(e),n=Te.outerWidth(e),o=Te.outerHeight(e);else{var r=Te.getWindow(e);t={left:Te.getWindowScrollLeft(r),top:Te.getWindowScrollTop(r)},n=Te.viewportWidth(r),o=Te.viewportHeight(r)}return t.width=n,t.height=o,t}function Xf(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,i=e.height,a=e.left,l=e.top;return n==="c"?l+=i/2:n==="b"&&(l+=i),o==="c"?a+=r/2:o==="r"&&(a+=r),{left:a,top:l}}function fa(e,t,n,o,r){var i=Xf(t,n[1]),a=Xf(e,n[0]),l=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-l[0]+o[0]-r[0]),top:Math.round(e.top-l[1]+o[1]-r[1])}}function qf(e,t,n){return e.leftn.right}function Yf(e,t,n){return e.topn.bottom}function gO(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||o.top>=n.bottom}function Bu(e,t,n){var o=n.target||t,r=Du(o),i=!vO(o,n.overflow&&n.overflow.alwaysByViewport);return ny(e,r,n,i)}Bu.__getOffsetParent=$c;Bu.__getVisibleRectForElement=Nu;function yO(e,t,n){var o,r,i=Te.getDocument(e),a=i.defaultView||i.parentWindow,l=Te.getWindowScrollLeft(a),s=Te.getWindowScrollTop(a),c=Te.viewportWidth(a),d=Te.viewportHeight(a);"pageX"in t?o=t.pageX:o=l+t.clientX,"pageY"in t?r=t.pageY:r=s+t.clientY;var u={left:o,top:r,width:0,height:0},f=o>=0&&o<=l+c&&r>=0&&r<=s+d,p=[n.points[0],"cc"];return ny(e,u,jf(jf({},n),{},{points:p}),f)}function mt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,r=e;if(Array.isArray(e)&&(r=sn(e)[0]),!r)return null;const i=Qt(r,t,o);return i.props=n?m(m({},i.props),t):i.props,Ki(typeof i.props.class!="object"),i}function bO(e,t,n){zo(Qt(e,m({},t)),n)}const oy=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};function CO(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function xO(e,t){e!==document.activeElement&&no(t,e)&&typeof e.focus=="function"&&e.focus()}function Zf(e,t){let n=null,o=null;function r(a){let[{target:l}]=a;if(!document.documentElement.contains(l))return;const{width:s,height:c}=l.getBoundingClientRect(),d=Math.floor(s),u=Math.floor(c);(n!==d||o!==u)&&Promise.resolve().then(()=>{t({width:d,height:u})}),n=d,o=u}const i=new Xm(r);return e&&i.observe(e),()=>{i.disconnect()}}const SO=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o)}function i(a){if(!n||a===!0){if(e()===!1)return;n=!0,r(),o=setTimeout(()=>{n=!1},t.value)}else r(),o=setTimeout(()=>{n=!1,i()},t.value)}return[i,()=>{n=!1,r()}]};function wO(){this.__data__=[],this.size=0}function ry(e,t){return e===t||e!==e&&t!==t}function Ll(e,t){for(var n=e.length;n--;)if(ry(e[n][0],t))return n;return-1}var $O=Array.prototype,OO=$O.splice;function _O(e){var t=this.__data__,n=Ll(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():OO.call(t,n,1),--this.size,!0}function EO(e){var t=this.__data__,n=Ll(t,e);return n<0?void 0:t[n][1]}function TO(e){return Ll(this.__data__,e)>-1}function PO(e,t){var n=this.__data__,o=Ll(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function kn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tl))return!1;var c=i.get(e),d=i.get(t);if(c&&d)return c==t&&d==e;var u=-1,f=!0,p=n&P_?new Di:void 0;for(i.set(e,t),i.set(t,e);++u-1&&e%1==0&&e-1&&e%1==0&&e<=sE}var cE="[object Arguments]",uE="[object Array]",dE="[object Boolean]",fE="[object Date]",pE="[object Error]",hE="[object Function]",gE="[object Map]",mE="[object Number]",vE="[object Object]",yE="[object RegExp]",bE="[object Set]",CE="[object String]",xE="[object WeakMap]",SE="[object ArrayBuffer]",wE="[object DataView]",$E="[object Float32Array]",OE="[object Float64Array]",_E="[object Int8Array]",EE="[object Int16Array]",TE="[object Int32Array]",PE="[object Uint8Array]",AE="[object Uint8ClampedArray]",IE="[object Uint16Array]",ME="[object Uint32Array]",et={};et[$E]=et[OE]=et[_E]=et[EE]=et[TE]=et[PE]=et[AE]=et[IE]=et[ME]=!0;et[cE]=et[uE]=et[SE]=et[dE]=et[wE]=et[fE]=et[pE]=et[hE]=et[gE]=et[mE]=et[vE]=et[yE]=et[bE]=et[CE]=et[xE]=!1;function RE(e){return Xo(e)&&py(e.length)&&!!et[er(e)]}function NE(e){return function(t){return e(t)}}var hy=typeof Dn=="object"&&Dn&&!Dn.nodeType&&Dn,ui=hy&&typeof Bn=="object"&&Bn&&!Bn.nodeType&&Bn,DE=ui&&ui.exports===hy,_s=DE&&iy.process,sp=function(){try{var e=ui&&ui.require&&ui.require("util").types;return e||_s&&_s.binding&&_s.binding("util")}catch{}}(),cp=sp&&sp.isTypedArray,Fu=cp?NE(cp):RE,BE=Object.prototype,LE=BE.hasOwnProperty;function FE(e,t){var n=Bi(e),o=!n&&dy(e),r=!n&&!o&&nl(e),i=!n&&!o&&!r&&Fu(e),a=n||o||r||i,l=a?J_(e.length,String):[],s=l.length;for(var c in e)LE.call(e,c)&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||lE(c,s)))&&l.push(c);return l}var HE=Object.prototype;function gy(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||HE;return e===n}function my(e,t){return function(n){return e(t(n))}}var jE=my(Object.keys,Object),kE=Object.prototype,zE=kE.hasOwnProperty;function vy(e){if(!gy(e))return jE(e);var t=[];for(var n in Object(e))zE.call(e,n)&&n!="constructor"&&t.push(n);return t}function yy(e){return e!=null&&py(e.length)&&!ly(e)}function KE(e){return yy(e)?FE(e):vy(e)}function up(e){return U_(e,KE,Q_)}var WE=1,VE=Object.prototype,UE=VE.hasOwnProperty;function GE(e,t,n,o,r,i){var a=n&WE,l=up(e),s=l.length,c=up(t),d=c.length;if(s!=d&&!a)return!1;for(var u=s;u--;){var f=l[u];if(!(a?f in t:UE.call(t,f)))return!1}var p=i.get(e),h=i.get(t);if(p&&h)return p==t&&h==e;var v=!0;i.set(e,t),i.set(t,e);for(var g=a;++u{const{disabled:f,target:p,align:h,onAlign:v}=e;if(!f&&p&&i.value){const g=i.value;let y;const x=bp(p),S=Cp(p);r.value.element=x,r.value.point=S,r.value.align=h;const{activeElement:E}=document;return x&&oy(x)?y=Bu(g,x,h):S&&(y=yO(g,S,h)),xO(E,g),v&&y&&v(g,y),!0}return!1},T(()=>e.monitorBufferTime)),s=pe({cancel:()=>{}}),c=pe({cancel:()=>{}}),d=()=>{const f=e.target,p=bp(f),h=Cp(f);i.value!==c.value.element&&(c.value.cancel(),c.value.element=i.value,c.value.cancel=Zf(i.value,a)),(r.value.element!==p||!CO(r.value.point,h)||!oT(r.value.align,e.align))&&(a(),s.value.element!==p&&(s.value.cancel(),s.value.element=p,s.value.cancel=Zf(p,a)))};ut(()=>{at(()=>{d()})}),wn(()=>{at(()=>{d()})}),he(()=>e.disabled,f=>{f?l():a()},{immediate:!0,flush:"post"});const u=pe(null);return he(()=>e.monitorWindowResize,f=>{f?u.value||(u.value=mr(window,"resize",a)):u.value&&(u.value.remove(),u.value=null)},{flush:"post"}),yo(()=>{s.value.cancel(),c.value.cancel(),u.value&&u.value.remove(),l()}),n({forceAlign:()=>a(!0)}),()=>{const f=o==null?void 0:o.default();return f?mt(f[0],{ref:i},!0,!0):null}}});Si("bottomLeft","bottomRight","topLeft","topRight");const Hl=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return m(e?{name:e,appear:!0,enterFromClass:`${e}-enter ${e}-enter-prepare ${e}-enter-start`,enterActiveClass:`${e}-enter ${e}-enter-prepare`,enterToClass:`${e}-enter ${e}-enter-active`,leaveFromClass:` ${e}-leave`,leaveActiveClass:`${e}-leave ${e}-leave-active`,leaveToClass:`${e}-leave ${e}-leave-active`}:{css:!1},t)},Cy=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return m(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},Li=(e,t,n)=>n!==void 0?n:`${e}-${t}`,aT=se({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:Au,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:o,slots:r}=t;const i=K(),a=K(),l=K(),[s,c]=V$(Js(e,"stretch")),d=()=>{e.stretch&&c(e.getRootDomNode())},u=K(!1);let f;he(()=>e.visible,$=>{clearTimeout(f),$?f=setTimeout(()=>{u.value=e.visible}):u.value=!1},{immediate:!0});const[p,h]=W$(u,d),v=K(),g=()=>e.point?e.point:e.getRootDomNode,y=()=>{var $;($=i.value)===null||$===void 0||$.forceAlign()},x=($,b)=>{var O;const _=e.getClassNameFromAlign(b),P=l.value;l.value!==_&&(l.value=_),p.value==="align"&&(P!==_?Promise.resolve().then(()=>{y()}):h(()=>{var N;(N=v.value)===null||N===void 0||N.call(v)}),(O=e.onAlign)===null||O===void 0||O.call(e,$,b))},S=T(()=>{const $=typeof e.animation=="object"?e.animation:Iu(e);return["onAfterEnter","onAfterLeave"].forEach(b=>{const O=$[b];$[b]=_=>{h(),p.value="stable",O==null||O(_)}}),$}),E=()=>new Promise($=>{v.value=$});he([S,p],()=>{!S.value&&p.value==="motion"&&h()},{immediate:!0}),n({forceAlign:y,getElement:()=>a.value.$el||a.value});const w=T(()=>{var $;return!(!(($=e.align)===null||$===void 0)&&$.points&&(p.value==="align"||p.value==="stable"))});return()=>{var $;const{zIndex:b,align:O,prefixCls:_,destroyPopupOnHide:P,onMouseenter:N,onMouseleave:B,onTouchstart:F=()=>{},onMousedown:G}=e,A=p.value,D=[m(m({},s.value),{zIndex:b,opacity:A==="motion"||A==="stable"||!u.value?null:0,pointerEvents:!u.value&&A!=="stable"?"none":null}),o.style];let V=Nt(($=r.default)===null||$===void 0?void 0:$.call(r,{visible:e.visible}));V.length>1&&(V=C("div",{class:`${_}-content`},[V]));const k=de(_,o.class,l.value,!e.arrow&&`${_}-arrow-hidden`),W=u.value||!e.visible?Hl(S.value.name,S.value):{};return C(un,j(j({ref:a},W),{},{onBeforeEnter:E}),{default:()=>!P||e.visible?Jo(C(iT,{target:g(),key:"popup",ref:i,monitorWindowResize:!0,disabled:w.value,align:O,onAlign:x},{default:()=>C("div",{class:k,onMouseenter:N,onMouseleave:B,onMousedown:Ua(G,["capture"]),[_t?"onTouchstartPassive":"onTouchstart"]:Ua(F,["capture"]),style:D},[V])}),[[ki,u.value]]):null})}}}),lT=se({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:k$,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const i=K(!1),a=K(!1),l=K(),s=K();return he([()=>e.visible,()=>e.mobile],()=>{i.value=e.visible,e.visible&&e.mobile&&(a.value=!0)},{immediate:!0,flush:"post"}),r({forceAlign:()=>{var c;(c=l.value)===null||c===void 0||c.forceAlign()},getElement:()=>{var c;return(c=l.value)===null||c===void 0?void 0:c.getElement()}}),()=>{const c=m(m(m({},e),n),{visible:i.value}),d=a.value?C(z$,j(j({},c),{},{mobile:e.mobile,ref:l}),{default:o.default}):C(aT,j(j({},c),{},{ref:l}),{default:o.default});return C("div",{ref:s},[C(Xv,c,null),d])}}});function sT(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function xp(e,t,n){const o=e[t]||{};return m(m({},o),n)}function cT(e,t,n,o){const{points:r}=n,i=Object.keys(e);for(let a=0;a0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=typeof e=="function"?e(this.$data,this.$props):e;if(this.getDerivedStateFromProps){const o=this.getDerivedStateFromProps(CS(this),m(m({},this.$data),n));if(o===null)return;n=m(m({},n),o||{})}m(this.$data,n),this._.isMounted&&this.$forceUpdate(),at(()=>{t&&t()})},__emit(){const e=[].slice.call(arguments,0);let t=e[0];t=`on${t[0].toUpperCase()}${t.substring(1)}`;const n=this.$props[t]||this.$attrs[t];if(e.length&&n)if(Array.isArray(n))for(let o=0,r=n.length;o1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};rt(xy,{inTriggerContext:t.inTriggerContext,shouldRender:T(()=>{const{sPopupVisible:n,popupRef:o,forceRender:r,autoDestroy:i}=e||{};let a=!1;return(n||o||r)&&(a=!0),!n&&i&&(a=!1),a})})},dT=()=>{Hu({},{inTriggerContext:!1});const e=qe(xy,{shouldRender:T(()=>!1),inTriggerContext:!1});return{shouldRender:T(()=>e.shouldRender.value||e.inTriggerContext===!1)}},Sy=se({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:q.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,o=!0,r;const{shouldRender:i}=dT();function a(){i.value&&(r=e.getContainer())}im(()=>{o=!1,a()}),ut(()=>{r||a()});const l=he(i,()=>{i.value&&!r&&(r=e.getContainer()),r&&l()});return wn(()=>{at(()=>{var s;i.value&&((s=e.didUpdate)===null||s===void 0||s.call(e,e))})}),()=>{var s;return i.value?o?(s=n.default)===null||s===void 0?void 0:s.call(n):r?C(hu,{to:r},n):null:null}}});let Es;function fT(e){if(typeof document>"u")return 0;if(Es===void 0){const t=document.createElement("div");t.style.width="100%",t.style.height="200px";const n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);const r=t.offsetWidth;n.style.overflow="scroll";let i=t.offsetWidth;r===i&&(i=n.clientWidth),document.body.removeChild(n),Es=r-i}return Es}const pT=`vc-util-locker-${Date.now()}`;let Sp=0;function hT(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function gT(e){const t=T(()=>!!e&&!!e.value);Sp+=1;const n=`${pT}_${Sp}`;nt(o=>{if(cn()){if(t.value){const r=fT(),i=hT();_i(` +html body { + overflow-y: hidden; + ${i?`width: calc(100% - ${r}px);`:""} +}`,n)}else qa(n);o(()=>{qa(n)})}},{flush:"post"})}let Oo=0;const Ta=cn(),wp=e=>{if(!Ta)return null;if(e){if(typeof e=="string")return document.querySelectorAll(e)[0];if(typeof e=="function")return e();if(typeof e=="object"&&e instanceof window.HTMLElement)return e}return document.body},wy=se({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:q.any,visible:{type:Boolean,default:void 0},autoLock:Qe(),didUpdate:Function},setup(e,t){let{slots:n}=t;const o=K(),r=K(),i=K(),a=K(1),l=cn()&&document.createElement("div"),s=()=>{var p,h;o.value===l&&((h=(p=o.value)===null||p===void 0?void 0:p.parentNode)===null||h===void 0||h.removeChild(o.value)),o.value=null};let c=null;const d=function(){return(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)||o.value&&!o.value.parentNode?(c=wp(e.getContainer),c?(c.appendChild(o.value),!0):!1):!0},u=()=>Ta?(o.value||(o.value=l,d(!0)),f(),o.value):null,f=()=>{const{wrapperClassName:p}=e;o.value&&p&&p!==o.value.className&&(o.value.className=p)};return wn(()=>{f(),d()}),gT(T(()=>e.autoLock&&e.visible&&cn()&&(o.value===document.body||o.value===l))),ut(()=>{let p=!1;he([()=>e.visible,()=>e.getContainer],(h,v)=>{let[g,y]=h,[x,S]=v;Ta&&(c=wp(e.getContainer),c===document.body&&(g&&!x?Oo+=1:p&&(Oo-=1))),p&&(typeof y=="function"&&typeof S=="function"?y.toString()!==S.toString():y!==S)&&s(),p=!0},{immediate:!0,flush:"post"}),at(()=>{d()||(i.value=Xe(()=>{a.value+=1}))})}),ot(()=>{const{visible:p}=e;Ta&&c===document.body&&(Oo=p&&Oo?Oo-1:Oo),s(),Xe.cancel(i.value)}),()=>{const{forceRender:p,visible:h}=e;let v=null;const g={getOpenCount:()=>Oo,getContainer:u};return a.value&&(p||h||r.value)&&(v=C(Sy,{getContainer:u,ref:r,didUpdate:e.didUpdate},{default:()=>{var y;return(y=n.default)===null||y===void 0?void 0:y.call(n,g)}})),v}}}),mT=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],ju=se({compatConfig:{MODE:3},name:"Trigger",mixins:[uT],inheritAttrs:!1,props:H$(),setup(e){const t=T(()=>{const{popupPlacement:r,popupAlign:i,builtinPlacements:a}=e;return r&&a?xp(a,r,i):i}),n=K(null),o=r=>{n.value=r};return{vcTriggerContext:qe("vcTriggerContext",{}),popupRef:n,setPopupRef:o,triggerRef:K(null),align:t,focusTime:null,clickOutsideHandler:null,contextmenuOutsideHandler1:null,contextmenuOutsideHandler2:null,touchOutsideHandler:null,attachId:null,delayTimer:null,hasPopupMouseDown:!1,preClickTime:null,preTouchTime:null,mouseDownTimeout:null,childOriginEvents:{}}},data(){const e=this.$props;let t;return this.popupVisible!==void 0?t=!!e.popupVisible:t=!!e.defaultPopupVisible,mT.forEach(n=>{this[`fire${n}`]=o=>{this.fireEvents(n,o)}}),{prevPopupVisible:t,sPopupVisible:t,point:null}},watch:{popupVisible(e){e!==void 0&&(this.prevPopupVisible=this.sPopupVisible,this.sPopupVisible=e)}},created(){rt("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),Hu(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Xe.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let n;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(n=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=mr(n,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(n=n||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=mr(n,"touchstart",this.onDocumentClick,_t?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(n=n||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=mr(n,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=mr(window,"blur",this.onContextmenuClose))}else this.clearOutsideHandler()},onMouseenter(e){const{mouseEnterDelay:t}=this.$props;this.fireEvents("onMouseenter",e),this.delaySetPopupVisible(!0,t,t?null:e)},onMouseMove(e){this.fireEvents("onMousemove",e),this.setPoint(e)},onMouseleave(e){this.fireEvents("onMouseleave",e),this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay)},onPopupMouseenter(){const{vcTriggerContext:e={}}=this;e.onPopupMouseenter&&e.onPopupMouseenter(),this.clearDelayTimer()},onPopupMouseleave(e){var t;if(e&&e.relatedTarget&&!e.relatedTarget.setTimeout&&no((t=this.popupRef)===null||t===void 0?void 0:t.getElement(),e.relatedTarget))return;this.isMouseLeaveToHide()&&this.delaySetPopupVisible(!1,this.$props.mouseLeaveDelay);const{vcTriggerContext:n={}}=this;n.onPopupMouseleave&&n.onPopupMouseleave(e)},onFocus(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.$props.focusDelay))},onMousedown(e){this.fireEvents("onMousedown",e),this.preClickTime=Date.now()},onTouchstart(e){this.fireEvents("onTouchstart",e),this.preTouchTime=Date.now()},onBlur(e){no(e.target,e.relatedTarget||document.activeElement)||(this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.$props.blurDelay))},onContextmenu(e){e.preventDefault(),this.fireEvents("onContextmenu",e),this.setPopupVisible(!0,e)},onContextmenuClose(){this.isContextmenuToShow()&&this.close()},onClick(e){if(this.fireEvents("onClick",e),this.focusTime){let n;if(this.preClickTime&&this.preTouchTime?n=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?n=this.preClickTime:this.preTouchTime&&(n=this.preTouchTime),Math.abs(n-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,this.isClickToShow()&&(this.isClickToHide()||this.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault(),e&&e.domEvent&&e.domEvent.preventDefault();const t=!this.$data.sPopupVisible;(this.isClickToHide()&&!t||t&&this.isClickToShow())&&this.setPopupVisible(!this.$data.sPopupVisible,e)},onPopupMouseDown(){const{vcTriggerContext:e={}}=this;this.hasPopupMouseDown=!0,clearTimeout(this.mouseDownTimeout),this.mouseDownTimeout=setTimeout(()=>{this.hasPopupMouseDown=!1},0),e.onPopupMouseDown&&e.onPopupMouseDown(...arguments)},onDocumentClick(e){if(this.$props.mask&&!this.$props.maskClosable)return;const t=e.target,n=this.getRootDomNode(),o=this.getPopupDomNode();(!no(n,t)||this.isContextMenuOnly())&&!no(o,t)&&!this.hasPopupMouseDown&&this.delaySetPopupVisible(!1,.1)},getPopupDomNode(){var e;return((e=this.popupRef)===null||e===void 0?void 0:e.getElement())||null},getRootDomNode(){var e,t,n,o;const{getTriggerDOMNode:r}=this.$props;if(r){const i=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:Nn(this.triggerRef);return Nn(r(i))}try{const i=((o=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||o===void 0?void 0:o.nodeName)==="#comment"?null:Nn(this.triggerRef);if(i)return i}catch{}return Nn(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:o,builtinPlacements:r,prefixCls:i,alignPoint:a,getPopupClassNameFromAlign:l}=n;return o&&r&&t.push(cT(r,i,e,a)),l&&t.push(l(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:o}=e;return t&&o?xp(o,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[_t?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:o}=this,{prefixCls:r,destroyPopupOnHide:i,popupClassName:a,popupAnimation:l,popupTransitionName:s,popupStyle:c,mask:d,maskAnimation:u,maskTransitionName:f,zIndex:p,stretch:h,alignPoint:v,mobile:g,arrow:y,forceRender:x}=this.$props,{sPopupVisible:S,point:E}=this.$data,w=m(m({prefixCls:r,arrow:y,destroyPopupOnHide:i,visible:S,point:v?E:null,align:this.align,animation:l,getClassNameFromAlign:t,stretch:h,getRootDomNode:n,mask:d,zIndex:p,transitionName:s,maskAnimation:u,maskTransitionName:f,class:a,style:c,onAlign:o.onPopupAlign||Gv},e),{ref:this.setPopupRef,mobile:g,forceRender:x});return C(lT,w,{default:this.$slots.popup||(()=>xS(this,"popup"))})},attachParent(e){Xe.cancel(this.attachId);const{getPopupContainer:t,getDocument:n}=this.$props,o=this.getRootDomNode();let r;t?(o||t.length===0)&&(r=t(o)):r=n(this.getRootDomNode()).body,r?r.appendChild(e):this.attachId=Xe(()=>{this.attachParent(e)})},getContainer(){const{$props:e}=this,{getDocument:t}=e,n=t(this.getRootDomNode()).createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",this.attachParent(n),n},setPopupVisible(e,t){const{alignPoint:n,sPopupVisible:o,onPopupVisibleChange:r}=this;this.clearDelayTimer(),o!==e&&(yS(this,"popupVisible")||this.setState({sPopupVisible:e,prevPopupVisible:o}),r&&r(e)),n&&t&&e&&this.setPoint(t)},setPoint(e){const{alignPoint:t}=this.$props;!t||!e||this.setState({point:{pageX:e.pageX,pageY:e.pageY}})},handlePortalUpdate(){this.prevPopupVisible!==this.sPopupVisible&&this.afterPopupVisibleChange(this.sPopupVisible)},delaySetPopupVisible(e,t,n){const o=t*1e3;if(this.clearDelayTimer(),o){const r=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(()=>{this.setPopupVisible(e,r),this.clearDelayTimer()},o)}else this.setPopupVisible(e,n)},clearDelayTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextmenuOutsideHandler1&&(this.contextmenuOutsideHandler1.remove(),this.contextmenuOutsideHandler1=null),this.contextmenuOutsideHandler2&&(this.contextmenuOutsideHandler2.remove(),this.contextmenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains(e){let t=()=>{};const n=pf(this);return this.childOriginEvents[e]&&n[e]?this[`fire${e}`]:(t=this.childOriginEvents[e]||n[e]||t,t)},isClickToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isContextMenuOnly(){const{action:e}=this.$props;return e==="contextmenu"||e.length===1&&e[0]==="contextmenu"},isContextmenuToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("contextmenu")!==-1||t.indexOf("contextmenu")!==-1},isClickToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("click")!==-1||t.indexOf("click")!==-1},isMouseEnterToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseenter")!==-1},isMouseLeaveToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("hover")!==-1||t.indexOf("mouseleave")!==-1},isFocusToShow(){const{action:e,showAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("focus")!==-1},isBlurToHide(){const{action:e,hideAction:t}=this.$props;return e.indexOf("focus")!==-1||t.indexOf("blur")!==-1},forcePopupAlign(){var e;this.$data.sPopupVisible&&((e=this.popupRef)===null||e===void 0||e.forceAlign())},fireEvents(e,t){this.childOriginEvents[e]&&this.childOriginEvents[e](t);const n=this.$props[e]||this.$attrs[e];n&&n(t)},close(){this.setPopupVisible(!1)}},render(){const{$attrs:e}=this,t=sn(bS(this)),{alignPoint:n,getPopupContainer:o}=this.$props,r=t[0];this.childOriginEvents=pf(r);const i={key:"trigger"};this.isContextmenuToShow()?i.onContextmenu=this.onContextmenu:i.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(i.onClick=this.onClick,i.onMousedown=this.onMousedown,i[_t?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(i.onClick=this.createTwoChains("onClick"),i.onMousedown=this.createTwoChains("onMousedown"),i[_t?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(i.onMouseenter=this.onMouseenter,n&&(i.onMousemove=this.onMouseMove)):i.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?i.onMouseleave=this.onMouseleave:i.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(i.onFocus=this.onFocus,i.onBlur=this.onBlur):(i.onFocus=this.createTwoChains("onFocus"),i.onBlur=c=>{c&&(!c.relatedTarget||!no(c.target,c.relatedTarget))&&this.createTwoChains("onBlur")(c)});const a=de(r&&r.props&&r.props.class,e.class);a&&(i.class=a);const l=mt(r,m(m({},i),{ref:"triggerRef"}),!0,!0),s=C(wy,{key:"portal",getContainer:o&&(()=>o(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return C(Me,null,[l,s])}}),xe={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){const{keyCode:n}=t;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=xe.F1&&n<=xe.F12)return!1;switch(n){case xe.ALT:case xe.CAPS_LOCK:case xe.CONTEXT_MENU:case xe.CTRL:case xe.DOWN:case xe.END:case xe.ESC:case xe.HOME:case xe.INSERT:case xe.LEFT:case xe.MAC_FF_META:case xe.META:case xe.NUMLOCK:case xe.NUM_CENTER:case xe.PAGE_DOWN:case xe.PAGE_UP:case xe.PAUSE:case xe.PRINT_SCREEN:case xe.RIGHT:case xe.SHIFT:case xe.UP:case xe.WIN_KEY:case xe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=xe.ZERO&&t<=xe.NINE||t>=xe.NUM_ZERO&&t<=xe.NUM_MULTIPLY||t>=xe.A&&t<=xe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case xe.SPACE:case xe.QUESTION_MARK:case xe.NUM_PLUS:case xe.NUM_MINUS:case xe.NUM_PERIOD:case xe.NUM_DIVISION:case xe.SEMICOLON:case xe.DASH:case xe.EQUALS:case xe.COMMA:case xe.PERIOD:case xe.SLASH:case xe.APOSTROPHE:case xe.SINGLE_QUOTE:case xe.OPEN_SQUARE_BRACKET:case xe.BACKSLASH:case xe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};var vT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{o.value&&o.value.focus()},blur:()=>{o.value&&o.value.blur()},input:o,setSelectionRange:(s,c,d)=>{var u;(u=o.value)===null||u===void 0||u.setSelectionRange(s,c,d)},select:()=>{var s;(s=o.value)===null||s===void 0||s.select()},getSelectionStart:()=>{var s;return(s=o.value)===null||s===void 0?void 0:s.selectionStart},getSelectionEnd:()=>{var s;return(s=o.value)===null||s===void 0?void 0:s.selectionEnd},getScrollTop:()=>{var s;return(s=o.value)===null||s===void 0?void 0:s.scrollTop}}),()=>{const{tag:s,value:c}=e,d=vT(e,["tag","value"]);return C(s,j(j({},d),{},{ref:o,value:c}),null)}}});function bT(e){return Object.keys(e).reduce((t,n)=>{const o=e[n];return typeof o>"u"||o===null||(t+=`${n}: ${e[n]};`),t},"")}var CT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.value,l],()=>{l.value||(a.value=e.value)},{immediate:!0});const s=b=>{n("change",b)},c=b=>{l.value=!0,b.target.composing=!0,n("compositionstart",b)},d=b=>{l.value=!1,b.target.composing=!1,n("compositionend",b);const O=document.createEvent("HTMLEvents");O.initEvent("input",!0,!0),b.target.dispatchEvent(O),s(b)},u=b=>{if(l.value&&e.lazy){a.value=b.target.value;return}n("input",b)},f=b=>{n("blur",b)},p=b=>{n("focus",b)},h=()=>{i.value&&i.value.focus()},v=()=>{i.value&&i.value.blur()},g=b=>{n("keydown",b)},y=b=>{n("keyup",b)},x=(b,O,_)=>{var P;(P=i.value)===null||P===void 0||P.setSelectionRange(b,O,_)},S=()=>{var b;(b=i.value)===null||b===void 0||b.select()};r({focus:h,blur:v,input:T(()=>{var b;return(b=i.value)===null||b===void 0?void 0:b.input}),setSelectionRange:x,select:S,getSelectionStart:()=>{var b;return(b=i.value)===null||b===void 0?void 0:b.getSelectionStart()},getSelectionEnd:()=>{var b;return(b=i.value)===null||b===void 0?void 0:b.getSelectionEnd()},getScrollTop:()=>{var b;return(b=i.value)===null||b===void 0?void 0:b.getScrollTop()}});const E=b=>{n("mousedown",b)},w=b=>{n("paste",b)},$=T(()=>e.style&&typeof e.style!="string"?bT(e.style):e.style);return()=>{const b=CT(e,["style","lazy"]);return C(yT,j(j(j({},b),o),{},{style:$.value,onInput:u,onChange:s,onBlur:f,onFocus:p,ref:i,value:a.value,onCompositionstart:c,onCompositionend:d,onKeyup:y,onKeydown:g,onPaste:w,onMousedown:E}),null)}}}),xT=`accept acceptcharset accesskey action allowfullscreen allowtransparency +alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge +charset checked classid classname colspan cols content contenteditable contextmenu +controls coords crossorigin data datetime default defer dir disabled download draggable +enctype form formaction formenctype formmethod formnovalidate formtarget frameborder +headers height hidden high href hreflang htmlfor for httpequiv icon id inputmode integrity +is keyparams keytype kind label lang list loop low manifest marginheight marginwidth max maxlength media +mediagroup method min minlength multiple muted name novalidate nonce open +optimum pattern placeholder poster preload radiogroup readonly rel required +reversed role rowspan rows sandbox scope scoped scrolling seamless selected +shape size sizes span spellcheck src srcdoc srclang srcset start step style +summary tabindex target title type usemap value width wmode wrap`,ST=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown + onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick + onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown + onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel + onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough + onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata + onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,$p=`${xT} ${ST}`.split(/[\s\n]+/),wT="aria-",$T="data-";function Op(e,t){return e.indexOf(t)===0}function ku(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=m({},t);const o={};return Object.keys(e).forEach(r=>{(n.aria&&(r==="role"||Op(r,wT))||n.data&&Op(r,$T)||n.attr&&($p.includes(r)||$p.includes(r.toLowerCase())))&&(o[r]=e[r])}),o}const Oy=Symbol("OverflowContextProviderKey"),Tc=se({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return rt(Oy,T(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),OT=()=>qe(Oy,T(()=>null));var _T=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.responsive&&!e.display),i=pe();o({itemNodeRef:i});function a(l){e.registerSize(e.itemKey,l)}return yo(()=>{a(null)}),()=>{var l;const{prefixCls:s,invalidate:c,item:d,renderItem:u,responsive:f,registerSize:p,itemKey:h,display:v,order:g,component:y="div"}=e,x=_T(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),S=(l=n.default)===null||l===void 0?void 0:l.call(n),E=u&&d!==lr?u(d):S;let w;c||(w={opacity:r.value?0:1,height:r.value?0:lr,overflowY:r.value?"hidden":lr,order:f?g:lr,pointerEvents:r.value?"none":lr,position:r.value?"absolute":lr});const $={};return r.value&&($["aria-hidden"]=!0),C(Tl,{disabled:!f,onResize:b=>{let{offsetWidth:O}=b;a(O)}},{default:()=>C(y,j(j(j({class:de(!c&&s),style:w},$),x),{},{ref:i}),{default:()=>[E]})})}}});var Ts=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{var i;if(!r.value){const{component:u="div"}=e,f=Ts(e,["component"]);return C(u,j(j({},f),o),{default:()=>[(i=n.default)===null||i===void 0?void 0:i.call(n)]})}const a=r.value,{className:l}=a,s=Ts(a,["className"]),{class:c}=o,d=Ts(o,["class"]);return C(Tc,{value:null},{default:()=>[C(Pa,j(j(j({class:de(l,c)},s),d),e),n)]})}}});var TT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r({id:String,prefixCls:String,data:Array,itemKey:[String,Number,Function],itemWidth:{type:Number,default:10},renderItem:Function,renderRawItem:Function,maxCount:[Number,String],renderRest:Function,renderRawRest:Function,suffix:q.any,component:String,itemComponent:q.any,onVisibleChange:Function,ssr:String,onMousedown:Function}),so=se({name:"Overflow",inheritAttrs:!1,props:AT(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const i=T(()=>e.ssr==="full"),a=K(null),l=T(()=>a.value||0),s=K(new Map),c=K(0),d=K(0),u=K(0),f=K(null),p=K(null),h=T(()=>p.value===null&&i.value?Number.MAX_SAFE_INTEGER:p.value||0),v=K(!1),g=T(()=>`${e.prefixCls}-item`),y=T(()=>Math.max(c.value,d.value)),x=T(()=>!!(e.data.length&&e.maxCount===_y)),S=T(()=>e.maxCount===Ey),E=T(()=>x.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),w=T(()=>{let A=e.data;return x.value?a.value===null&&i.value?A=e.data:A=e.data.slice(0,Math.min(e.data.length,l.value/e.itemWidth)):typeof e.maxCount=="number"&&(A=e.data.slice(0,e.maxCount)),A}),$=T(()=>x.value?e.data.slice(h.value+1):e.data.slice(w.value.length)),b=(A,D)=>{var V;return typeof e.itemKey=="function"?e.itemKey(A):(V=e.itemKey&&(A==null?void 0:A[e.itemKey]))!==null&&V!==void 0?V:D},O=T(()=>e.renderItem||(A=>A)),_=(A,D)=>{p.value=A,D||(v.value=A{a.value=D.clientWidth},N=(A,D)=>{const V=new Map(s.value);D===null?V.delete(A):V.set(A,D),s.value=V},B=(A,D)=>{c.value=d.value,d.value=D},F=(A,D)=>{u.value=D},G=A=>s.value.get(b(w.value[A],A));return he([l,s,d,u,()=>e.itemKey,w],()=>{if(l.value&&y.value&&w.value){let A=u.value;const D=w.value.length,V=D-1;if(!D){_(0),f.value=null;return}for(let k=0;kl.value){_(k-1),f.value=A-R-u.value+d.value;break}}e.suffix&&G(0)+u.value>l.value&&(f.value=null)}}),()=>{const A=v.value&&!!$.value.length,{itemComponent:D,renderRawItem:V,renderRawRest:k,renderRest:R,prefixCls:W="rc-overflow",suffix:X,component:ae="div",id:me,onMousedown:Fe}=e,{class:Re,style:Ne}=n,re=TT(n,["class","style"]);let ve={};f.value!==null&&x.value&&(ve={position:"absolute",left:`${f.value}px`,top:0});const Se={prefixCls:g.value,responsive:x.value,component:D,invalidate:S.value},we=V?(M,H)=>{const Q=b(M,H);return C(Tc,{key:Q,value:m(m({},Se),{order:H,item:M,itemKey:Q,registerSize:N,display:H<=h.value})},{default:()=>[V(M,H)]})}:(M,H)=>{const Q=b(M,H);return C(Pa,j(j({},Se),{},{order:H,key:Q,item:M,renderItem:O.value,itemKey:Q,registerSize:N,display:H<=h.value}),null)};let ze=()=>null;const Pe={order:A?h.value:Number.MAX_SAFE_INTEGER,className:`${g.value} ${g.value}-rest`,registerSize:B,display:A};if(k)k&&(ze=()=>C(Tc,{value:m(m({},Se),Pe)},{default:()=>[k($.value)]}));else{const M=R||PT;ze=()=>C(Pa,j(j({},Se),Pe),{default:()=>typeof M=="function"?M($.value):M})}const I=()=>{var M;return C(ae,j({id:me,class:de(!S.value&&W,Re),style:Ne,onMousedown:Fe},re),{default:()=>[w.value.map(we),E.value?ze():null,X&&C(Pa,j(j({},Se),{},{order:h.value,class:`${g.value}-suffix`,registerSize:F,display:!0,style:ve}),{default:()=>X}),(M=r.default)===null||M===void 0?void 0:M.call(r)]})};return C(Tl,{disabled:!x.value,onResize:P},{default:I})}}});so.Item=ET;so.RESPONSIVE=_y;so.INVALIDATE=Ey;function _p(){const e=t=>{e.current=t};return e}const jl=(e,t)=>{let{height:n,offset:o,prefixCls:r,onInnerResize:i}=e,{slots:a}=t;var l;let s={},c={display:"flex",flexDirection:"column"};return o!==void 0&&(s={height:`${n}px`,position:"relative",overflow:"hidden"},c=m(m({},c),{transform:`translateY(${o}px)`,position:"absolute",left:0,right:0,top:0})),C("div",{style:s},[C(Tl,{onResize:d=>{let{offsetHeight:u}=d;u&&i&&i()}},{default:()=>[C("div",{style:c,class:de({[`${r}-holder-inner`]:r})},[(l=a.default)===null||l===void 0?void 0:l.call(a)])]})])};jl.displayName="Filter";jl.inheritAttrs=!1;jl.props={prefixCls:String,height:Number,offset:Number,onInnerResize:Function};const Ty=(e,t)=>{let{setRef:n}=e,{slots:o}=t;var r;const i=Nt((r=o.default)===null||r===void 0?void 0:r.call(o));return i&&i.length?Qt(i[0],{ref:n}):i};Ty.props={setRef:{type:Function,default:()=>{}}};const IT=20;function Ep(e){return"touches"in e?e.touches[0].pageY:e.pageY}const MT=se({compatConfig:{MODE:3},name:"ScrollBar",inheritAttrs:!1,props:{prefixCls:String,scrollTop:Number,scrollHeight:Number,height:Number,count:Number,onScroll:{type:Function},onStartMove:{type:Function},onStopMove:{type:Function}},setup(){return{moveRaf:null,scrollbarRef:_p(),thumbRef:_p(),visibleTimeout:null,state:vt({dragging:!1,pageY:null,startTop:null,visible:!1})}},watch:{scrollTop:{handler(){this.delayHidden()},flush:"post"}},mounted(){var e,t;(e=this.scrollbarRef.current)===null||e===void 0||e.addEventListener("touchstart",this.onScrollbarTouchStart,_t?{passive:!1}:!1),(t=this.thumbRef.current)===null||t===void 0||t.addEventListener("touchstart",this.onMouseDown,_t?{passive:!1}:!1)},beforeUnmount(){this.removeEvents(),clearTimeout(this.visibleTimeout)},methods:{delayHidden(){clearTimeout(this.visibleTimeout),this.state.visible=!0,this.visibleTimeout=setTimeout(()=>{this.state.visible=!1},2e3)},onScrollbarTouchStart(e){e.preventDefault()},onContainerMouseDown(e){e.stopPropagation(),e.preventDefault()},patchEvents(){window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("mouseup",this.onMouseUp),this.thumbRef.current.addEventListener("touchmove",this.onMouseMove,_t?{passive:!1}:!1),this.thumbRef.current.addEventListener("touchend",this.onMouseUp)},removeEvents(){window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("mouseup",this.onMouseUp),this.scrollbarRef.current.removeEventListener("touchstart",this.onScrollbarTouchStart,_t?{passive:!1}:!1),this.thumbRef.current&&(this.thumbRef.current.removeEventListener("touchstart",this.onMouseDown,_t?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchmove",this.onMouseMove,_t?{passive:!1}:!1),this.thumbRef.current.removeEventListener("touchend",this.onMouseUp)),Xe.cancel(this.moveRaf)},onMouseDown(e){const{onStartMove:t}=this.$props;m(this.state,{dragging:!0,pageY:Ep(e),startTop:this.getTop()}),t(),this.patchEvents(),e.stopPropagation(),e.preventDefault()},onMouseMove(e){const{dragging:t,pageY:n,startTop:o}=this.state,{onScroll:r}=this.$props;if(Xe.cancel(this.moveRaf),t){const i=Ep(e)-n,a=o+i,l=this.getEnableScrollRange(),s=this.getEnableHeightRange(),c=s?a/s:0,d=Math.ceil(c*l);this.moveRaf=Xe(()=>{r(d)})}},onMouseUp(){const{onStopMove:e}=this.$props;this.state.dragging=!1,e(),this.removeEvents()},getSpinHeight(){const{height:e,scrollHeight:t}=this.$props;let n=e/t*100;return n=Math.max(n,IT),n=Math.min(n,e/2),Math.floor(n)},getEnableScrollRange(){const{scrollHeight:e,height:t}=this.$props;return e-t||0},getEnableHeightRange(){const{height:e}=this.$props,t=this.getSpinHeight();return e-t||0},getTop(){const{scrollTop:e}=this.$props,t=this.getEnableScrollRange(),n=this.getEnableHeightRange();return e===0||t===0?0:e/t*n},showScroll(){const{height:e,scrollHeight:t}=this.$props;return t>e}},render(){const{dragging:e,visible:t}=this.state,{prefixCls:n}=this.$props,o=this.getSpinHeight()+"px",r=this.getTop()+"px",i=this.showScroll(),a=i&&t;return C("div",{ref:this.scrollbarRef,class:de(`${n}-scrollbar`,{[`${n}-scrollbar-show`]:i}),style:{width:"8px",top:0,bottom:0,right:0,position:"absolute",display:a?void 0:"none"},onMousedown:this.onContainerMouseDown,onMousemove:this.delayHidden},[C("div",{ref:this.thumbRef,class:de(`${n}-scrollbar-thumb`,{[`${n}-scrollbar-thumb-moving`]:e}),style:{width:"100%",height:o,top:r,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:"99px",cursor:"pointer",userSelect:"none"},onMousedown:this.onMouseDown},null)])}});function RT(e,t,n,o){const r=new Map,i=new Map,a=pe(Symbol("update"));he(e,()=>{a.value=Symbol("update")});let l;function s(){Xe.cancel(l)}function c(){s(),l=Xe(()=>{r.forEach((u,f)=>{if(u&&u.offsetParent){const{offsetHeight:p}=u;i.get(f)!==p&&(a.value=Symbol("update"),i.set(f,u.offsetHeight))}})})}function d(u,f){const p=t(u);r.get(p),f?(r.set(p,f.$el||f),c()):r.delete(p)}return yo(()=>{s()}),[d,c,i,a]}function NT(e,t,n,o,r,i,a,l){let s;return c=>{if(c==null){l();return}Xe.cancel(s);const d=t.value,u=o.itemHeight;if(typeof c=="number")a(c);else if(c&&typeof c=="object"){let f;const{align:p}=c;"index"in c?{index:f}=c:f=d.findIndex(g=>r(g)===c.key);const{offset:h=0}=c,v=(g,y)=>{if(g<0||!e.value)return;const x=e.value.clientHeight;let S=!1,E=y;if(x){const w=y||p;let $=0,b=0,O=0;const _=Math.min(d.length,f);for(let B=0;B<=_;B+=1){const F=r(d[B]);b=$;const G=n.get(F);O=b+(G===void 0?u:G),$=O,B===f&&G===void 0&&(S=!0)}const P=e.value.scrollTop;let N=null;switch(w){case"top":N=b-h;break;case"bottom":N=O-x+h;break;default:{const B=P+x;bB&&(E="bottom")}}N!==null&&N!==P&&a(N)}s=Xe(()=>{S&&i(),v(g-1,E)},2)};v(5)}}}const DT=typeof navigator=="object"&&/Firefox/i.test(navigator.userAgent),Py=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o),n=!0,o=setTimeout(()=>{n=!1},50)}return function(i){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const l=i<0&&e.value||i>0&&t.value;return a&&l?(clearTimeout(o),n=!1):(!l||n)&&r(),!n&&l}};function BT(e,t,n,o){let r=0,i=null,a=null,l=!1;const s=Py(t,n);function c(u){if(!e.value)return;Xe.cancel(i);const{deltaY:f}=u;r+=f,a=f,!s(f)&&(DT||u.preventDefault(),i=Xe(()=>{o(r*(l?10:1)),r=0}))}function d(u){e.value&&(l=u.detail===a)}return[c,d]}const LT=14/15;function FT(e,t,n){let o=!1,r=0,i=null,a=null;const l=()=>{i&&(i.removeEventListener("touchmove",s),i.removeEventListener("touchend",c))},s=f=>{if(o){const p=Math.ceil(f.touches[0].pageY);let h=r-p;r=p,n(h)&&f.preventDefault(),clearInterval(a),a=setInterval(()=>{h*=LT,(!n(h,!0)||Math.abs(h)<=.1)&&clearInterval(a)},16)}},c=()=>{o=!1,l()},d=f=>{l(),f.touches.length===1&&!o&&(o=!0,r=Math.ceil(f.touches[0].pageY),i=f.target,i.addEventListener("touchmove",s,{passive:!1}),i.addEventListener("touchend",c))},u=()=>{};ut(()=>{document.addEventListener("touchmove",u,{passive:!1}),he(e,f=>{t.value.removeEventListener("touchstart",d),l(),clearInterval(a),f&&t.value.addEventListener("touchstart",d,{passive:!1})},{immediate:!0})}),ot(()=>{document.removeEventListener("touchmove",u)})}var HT=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const c=t+s,d=r(l,c,{}),u=a(l);return C(Ty,{key:u,setRef:f=>o(l,f)},{default:()=>[d]})})}const KT=se({compatConfig:{MODE:3},name:"List",inheritAttrs:!1,props:{prefixCls:String,data:q.array,height:Number,itemHeight:Number,fullHeight:{type:Boolean,default:void 0},itemKey:{type:[String,Number,Function],required:!0},component:{type:[String,Object]},virtual:{type:Boolean,default:void 0},children:Function,onScroll:Function,onMousedown:Function,onMouseenter:Function,onVisibleChange:Function},setup(e,t){let{expose:n}=t;const o=T(()=>{const{height:R,itemHeight:W,virtual:X}=e;return!!(X!==!1&&R&&W)}),r=T(()=>{const{height:R,itemHeight:W,data:X}=e;return o.value&&X&&W*X.length>R}),i=vt({scrollTop:0,scrollMoving:!1}),a=T(()=>e.data||jT),l=K([]);he(a,()=>{l.value=Le(a.value).slice()},{immediate:!0});const s=K(R=>{});he(()=>e.itemKey,R=>{typeof R=="function"?s.value=R:s.value=W=>W==null?void 0:W[R]},{immediate:!0});const c=K(),d=K(),u=K(),f=R=>s.value(R),p={getKey:f};function h(R){let W;typeof R=="function"?W=R(i.scrollTop):W=R;const X=$(W);c.value&&(c.value.scrollTop=X),i.scrollTop=X}const[v,g,y,x]=RT(l,f),S=vt({scrollHeight:void 0,start:0,end:0,offset:void 0}),E=K(0);ut(()=>{at(()=>{var R;E.value=((R=d.value)===null||R===void 0?void 0:R.offsetHeight)||0})}),wn(()=>{at(()=>{var R;E.value=((R=d.value)===null||R===void 0?void 0:R.offsetHeight)||0})}),he([o,l],()=>{o.value||m(S,{scrollHeight:void 0,start:0,end:l.value.length-1,offset:void 0})},{immediate:!0}),he([o,l,E,r],()=>{o.value&&!r.value&&m(S,{scrollHeight:E.value,start:0,end:l.value.length-1,offset:void 0}),c.value&&(i.scrollTop=c.value.scrollTop)},{immediate:!0}),he([r,o,()=>i.scrollTop,l,x,()=>e.height,E],()=>{if(!o.value||!r.value)return;let R=0,W,X,ae;const me=l.value.length,Fe=l.value,Re=i.scrollTop,{itemHeight:Ne,height:re}=e,ve=Re+re;for(let Se=0;Se=Re&&(W=Se,X=R),ae===void 0&&I>ve&&(ae=Se),R=I}W===void 0&&(W=0,X=0,ae=Math.ceil(re/Ne)),ae===void 0&&(ae=me-1),ae=Math.min(ae+1,me),m(S,{scrollHeight:R,start:W,end:ae,offset:X})},{immediate:!0});const w=T(()=>S.scrollHeight-e.height);function $(R){let W=R;return Number.isNaN(w.value)||(W=Math.min(W,w.value)),W=Math.max(W,0),W}const b=T(()=>i.scrollTop<=0),O=T(()=>i.scrollTop>=w.value),_=Py(b,O);function P(R){h(R)}function N(R){var W;const{scrollTop:X}=R.currentTarget;X!==i.scrollTop&&h(X),(W=e.onScroll)===null||W===void 0||W.call(e,R)}const[B,F]=BT(o,b,O,R=>{h(W=>W+R)});FT(o,c,(R,W)=>_(R,W)?!1:(B({preventDefault(){},deltaY:R}),!0));function G(R){o.value&&R.preventDefault()}const A=()=>{c.value&&(c.value.removeEventListener("wheel",B,_t?{passive:!1}:!1),c.value.removeEventListener("DOMMouseScroll",F),c.value.removeEventListener("MozMousePixelScroll",G))};nt(()=>{at(()=>{c.value&&(A(),c.value.addEventListener("wheel",B,_t?{passive:!1}:!1),c.value.addEventListener("DOMMouseScroll",F),c.value.addEventListener("MozMousePixelScroll",G))})}),ot(()=>{A()});const D=NT(c,l,y,e,f,g,h,()=>{var R;(R=u.value)===null||R===void 0||R.delayHidden()});n({scrollTo:D});const V=T(()=>{let R=null;return e.height&&(R=m({[e.fullHeight?"height":"maxHeight"]:e.height+"px"},kT),o.value&&(R.overflowY="hidden",i.scrollMoving&&(R.pointerEvents="none"))),R});return he([()=>S.start,()=>S.end,l],()=>{if(e.onVisibleChange){const R=l.value.slice(S.start,S.end+1);e.onVisibleChange(R,l.value)}},{flush:"post"}),{state:i,mergedData:l,componentStyle:V,onFallbackScroll:N,onScrollBar:P,componentRef:c,useVirtual:o,calRes:S,collectHeight:g,setInstance:v,sharedConfig:p,scrollBarRef:u,fillerInnerRef:d,delayHideScrollBar:()=>{var R;(R=u.value)===null||R===void 0||R.delayHidden()}}},render(){const e=m(m({},this.$props),this.$attrs),{prefixCls:t="rc-virtual-list",height:n,itemHeight:o,fullHeight:r,data:i,itemKey:a,virtual:l,component:s="div",onScroll:c,children:d=this.$slots.default,style:u,class:f}=e,p=HT(e,["prefixCls","height","itemHeight","fullHeight","data","itemKey","virtual","component","onScroll","children","style","class"]),h=de(t,f),{scrollTop:v}=this.state,{scrollHeight:g,offset:y,start:x,end:S}=this.calRes,{componentStyle:E,onFallbackScroll:w,onScrollBar:$,useVirtual:b,collectHeight:O,sharedConfig:_,setInstance:P,mergedData:N,delayHideScrollBar:B}=this;return C("div",j({style:m(m({},u),{position:"relative"}),class:h},p),[C(s,{class:`${t}-holder`,style:E,ref:"componentRef",onScroll:w,onMouseenter:B},{default:()=>[C(jl,{prefixCls:t,height:g,offset:y,onInnerResize:O,ref:"fillerInnerRef"},{default:()=>zT(N,x,S,P,d,_)})]}),b&&C(MT,{ref:"scrollBarRef",prefixCls:t,scrollTop:v,height:n,scrollHeight:g,count:N.length,onScroll:$,onStartMove:()=>{this.state.scrollMoving=!0},onStopMove:()=>{this.state.scrollMoving=!1}},null)])}});function _o(e){const t=typeof e=="function"?e():e,n=pe(t);function o(r){n.value=r}return[n,o]}var WT=Symbol("iconContext"),Ay=function(){return qe(WT,{prefixCls:pe("anticon"),rootClassName:pe(""),csp:pe()})};function zu(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function VT(e,t){return e&&e.contains?e.contains(t):!1}var Tp="data-vc-order",UT="vc-icon-key",Pc=new Map;function Iy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):UT}function Ku(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function GT(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function My(e){return Array.from((Pc.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Ry(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!zu())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(Tp,GT(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var i=Ku(t),a=i.firstChild;if(o){if(o==="queue"){var l=My(i).filter(function(s){return["prepend","prependQueue"].includes(s.getAttribute(Tp))});if(l.length)return i.insertBefore(r,l[l.length-1].nextSibling),r}i.insertBefore(r,a)}else i.appendChild(r);return r}function XT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Ku(t);return My(n).find(function(o){return o.getAttribute(Iy(t))===e})}function qT(e,t){var n=Pc.get(e);if(!n||!VT(document,n)){var o=Ry("",t),r=o.parentNode;Pc.set(e,r),e.removeChild(o)}}function YT(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=Ku(n);qT(o,n);var r=XT(t,n);if(r)return n.csp&&n.csp.nonce&&r.nonce!==n.csp.nonce&&(r.nonce=n.csp.nonce),r.innerHTML!==e&&(r.innerHTML=e),r;var i=Ry(e,n);return i.setAttribute(Iy(n),t),i}function Pp(e){for(var t=1;t * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`;function By(e){return e&&e.getRootNode&&e.getRootNode()}function ZT(e){return zu()?By(e)instanceof ShadowRoot:!1}function eP(e){return ZT(e)?By(e):null}var tP=function(){var t=Ay(),n=t.prefixCls,o=t.csp,r=Zt(),i=JT;n&&(i=i.replace(/anticon/g,n.value)),at(function(){if(zu()){var a=r.vnode.el,l=eP(a);YT(i,"@ant-design-vue-icons",{prepend:!0,csp:o.value,attachTo:l})}})},nP=["icon","primaryColor","secondaryColor"];function oP(e,t){if(e==null)return{};var n=rP(e,t),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function rP(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,i;for(i=0;i=0)&&(n[r]=e[r]);return n}function Aa(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function SP(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,i;for(i=0;i=0)&&(n[r]=e[r]);return n}Ly(Kw.primary);var Ze=function(t,n){var o,r=Rp({},t,n.attrs),i=r.class,a=r.icon,l=r.spin,s=r.rotate,c=r.tabindex,d=r.twoToneColor,u=r.onClick,f=xP(r,gP),p=Ay(),h=p.prefixCls,v=p.rootClassName,g=(o={},ti(o,v.value,!!v.value),ti(o,h.value,!0),ti(o,"".concat(h.value,"-").concat(a.name),!!a.name),ti(o,"".concat(h.value,"-spin"),!!l||a.name==="loading"),o),y=c;y===void 0&&u&&(y=-1);var x=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,S=Dy(d),E=mP(S,2),w=E[0],$=E[1];return C("span",Rp({role:"img","aria-label":a.name},f,{onClick:u,class:[g,i],tabindex:y}),[C(bo,{icon:a,primaryColor:w,secondaryColor:$,style:x},null),C(hP,null,null)])};Ze.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};Ze.displayName="AntdIcon";Ze.inheritAttrs=!1;Ze.getTwoToneColor=pP;Ze.setTwoToneColor=Ly;var wP={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};function Np(e){for(var t=1;t{const a=vt({});return rt(t,a),nt(()=>{m(a,r,i||{})}),a},useInject:()=>qe(t,e)||{}}}const Fp=Symbol("ContextProps"),Hp=Symbol("InternalContextProps"),jp={id:T(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},kp={addFormItemField:()=>{},removeFormItemField:()=>{}},Fy=()=>{const e=qe(Hp,kp),t=Symbol("FormItemFieldKey"),n=Zt();return e.addFormItemField(t,n.type),ot(()=>{e.removeFormItemField(t)}),rt(Hp,kp),rt(Fp,jp),qe(Fp,jp)},Nr=Vu({}),zp=se({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return Nr.useProvide({}),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function fi(e,t,n){return de({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Uu=(e,t)=>t||e,IP=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},MP=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item`]:{"&:empty":{display:"none"}}}}},RP=en("Space",e=>[MP(e),IP(e)]);var NP="[object Symbol]";function DP(e){return typeof e=="symbol"||Xo(e)&&er(e)==NP}var BP=/\s/;function LP(e){for(var t=e.length;t--&&BP.test(e.charAt(t)););return t}var FP=/^\s+/;function HP(e){return e&&e.slice(0,LP(e)+1).replace(FP,"")}var Kp=NaN,jP=/^[-+]0x[0-9a-f]+$/i,kP=/^0b[01]+$/i,zP=/^0o[0-7]+$/i,KP=parseInt;function Wp(e){if(typeof e=="number")return e;if(DP(e))return Kp;if(Mi(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Mi(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=HP(e);var n=kP.test(e);return n||zP.test(e)?KP(e.slice(2),n?2:8):jP.test(e)?Kp:+e}function WP(){}function VP(e,t,n,o){for(var r=e.length,i=n+-1;++i-1}var YP=my(Object.getPrototypeOf,Object),QP="[object Object]",JP=Function.prototype,ZP=Object.prototype,Hy=JP.toString,eA=ZP.hasOwnProperty,tA=Hy.call(Object);function nA(e){if(!Xo(e)||er(e)!=QP)return!1;var t=YP(e);if(t===null)return!0;var n=eA.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Hy.call(n)==tA}var Ps=function(){return $n.Date.now()},oA="Expected a function",rA=Math.max,iA=Math.min;function aA(e,t,n){var o,r,i,a,l,s,c=0,d=!1,u=!1,f=!0;if(typeof e!="function")throw new TypeError(oA);t=Wp(t)||0,Mi(n)&&(d=!!n.leading,u="maxWait"in n,i=u?rA(Wp(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f);function p($){var b=o,O=r;return o=r=void 0,c=$,a=e.apply(O,b),a}function h($){return c=$,l=setTimeout(y,t),d?p($):a}function v($){var b=$-s,O=$-c,_=t-b;return u?iA(_,i-O):_}function g($){var b=$-s,O=$-c;return s===void 0||b>=t||b<0||u&&O>=i}function y(){var $=Ps();if(g($))return x($);l=setTimeout(y,v($))}function x($){return l=void 0,f&&o?p($):(o=r=void 0,a)}function S(){l!==void 0&&clearTimeout(l),c=0,o=s=r=l=void 0}function E(){return l===void 0?a:x(Ps())}function w(){var $=Ps(),b=g($);if(o=arguments,r=this,s=$,b){if(l===void 0)return h(s);if(u)return clearTimeout(l),l=setTimeout(y,t),p(s)}return l===void 0&&(l=setTimeout(y,t)),a}return w.cancel=S,w.flush=E,w}var lA="[object Map]",sA="[object Set]",cA=Object.prototype,uA=cA.hasOwnProperty;function jy(e){if(e==null)return!0;if(yy(e)&&(Bi(e)||typeof e=="string"||typeof e.splice=="function"||nl(e)||Fu(e)||dy(e)))return!e.length;var t=Rn(e);if(t==lA||t==sA)return!e.size;if(gy(e))return!vy(e).length;for(var n in e)if(uA.call(e,n))return!1;return!0}var dA=1/0,fA=Sr&&1/Lu(new Sr([,-0]))[1]==dA?function(e){return new Sr(e)}:WP,pA=200;function hA(e,t,n){var o=-1,r=qP,i=e.length,a=!0,l=[],s=l;if(i>=pA){var c=fA(e);if(c)return Lu(c);a=!1,r=sy,s=new Di}else s=l;e:for(;++o({compactSize:String,compactDirection:q.oneOf(Si("horizontal","vertical")).def("horizontal"),isFirstItem:Qe(),isLastItem:Qe()}),kl=Vu(null),ky=(e,t)=>{const n=kl.useInject(),o=T(()=>{if(!n||jy(n))return"";const{compactDirection:r,isFirstItem:i,isLastItem:a}=n,l=r==="vertical"?"-vertical-":"-";return de({[`${e.value}-compact${l}item`]:!0,[`${e.value}-compact${l}first-item`]:i,[`${e.value}-compact${l}last-item`]:a,[`${e.value}-compact${l}item-rtl`]:t.value==="rtl"})});return{compactSize:T(()=>n==null?void 0:n.compactSize),compactDirection:T(()=>n==null?void 0:n.compactDirection),compactItemClassnames:o}},Vp=se({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return kl.useProvide(null),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),mA=()=>({prefixCls:String,size:{type:String},direction:q.oneOf(Si("horizontal","vertical")).def("horizontal"),align:q.oneOf(Si("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),vA=se({name:"CompactItem",props:gA(),setup(e,t){let{slots:n}=t;return kl.useProvide(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});mA();const yA=e=>({animationDuration:e,animationFillMode:"both"}),bA=e=>({animationDuration:e,animationFillMode:"both"}),zl=function(e,t,n,o){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${i}${e}-enter, + ${i}${e}-appear + `]:m(m({},yA(o)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:m(m({},bA(o)),{animationPlayState:"paused"}),[` + ${i}${e}-enter${e}-enter-active, + ${i}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},CA=new De("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),xA=new De("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),SA=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,o=`${n}-fade`,r=t?"&":"";return[zl(o,CA,xA,e.motionDurationMid,t),{[` + ${r}${o}-enter, + ${r}${o}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${r}${o}-leave`]:{animationTimingFunction:"linear"}}]},wA=new De("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$A=new De("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),OA=new De("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),_A=new De("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),EA=new De("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),TA=new De("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),PA=new De("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),AA=new De("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),IA={"move-up":{inKeyframes:PA,outKeyframes:AA},"move-down":{inKeyframes:wA,outKeyframes:$A},"move-left":{inKeyframes:OA,outKeyframes:_A},"move-right":{inKeyframes:EA,outKeyframes:TA}},Up=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=IA[t];return[zl(o,r,i,e.motionDurationMid),{[` + ${o}-enter, + ${o}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},zy=new De("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Ky=new De("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Wy=new De("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Vy=new De("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),MA=new De("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),RA=new De("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),NA=new De("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),DA=new De("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),BA={"slide-up":{inKeyframes:zy,outKeyframes:Ky},"slide-down":{inKeyframes:Wy,outKeyframes:Vy},"slide-left":{inKeyframes:MA,outKeyframes:RA},"slide-right":{inKeyframes:NA,outKeyframes:DA}},ol=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=BA[t];return[zl(o,r,i,e.motionDurationMid),{[` + ${o}-enter, + ${o}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},LA=new De("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),FA=new De("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Gp=new De("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Xp=new De("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),HA=new De("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),jA=new De("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),kA=new De("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),zA=new De("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),KA=new De("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),WA=new De("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),VA=new De("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),UA=new De("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),GA={zoom:{inKeyframes:LA,outKeyframes:FA},"zoom-big":{inKeyframes:Gp,outKeyframes:Xp},"zoom-big-fast":{inKeyframes:Gp,outKeyframes:Xp},"zoom-left":{inKeyframes:kA,outKeyframes:zA},"zoom-right":{inKeyframes:KA,outKeyframes:WA},"zoom-up":{inKeyframes:HA,outKeyframes:jA},"zoom-down":{inKeyframes:VA,outKeyframes:UA}},Kl=(e,t)=>{const{antCls:n}=e,o=`${n}-${t}`,{inKeyframes:r,outKeyframes:i}=GA[t];return[zl(o,r,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + ${o}-enter, + ${o}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Uy=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}});function XA(e,t,n){const{focusElCls:o,focus:r,borderElCls:i}=n,a=i?"> *":"",l=["hover",r?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":m(m({[l]:{zIndex:2}},o?{[`&${o}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function qA(e,t,n){const{borderElCls:o}=n,r=o?`> ${o}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Gy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,o=`${n}-compact`;return{[o]:m(m({},XA(e,o,t)),qA(n,o,t))}}var YA={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};function qp(e){for(var t=1;t{t.value=e()},{flush:"sync"}),t}const Wt={adjustX:1,adjustY:1},Vt=[0,0],Xy={left:{points:["cr","cl"],overflow:Wt,offset:[-4,0],targetOffset:Vt},right:{points:["cl","cr"],overflow:Wt,offset:[4,0],targetOffset:Vt},top:{points:["bc","tc"],overflow:Wt,offset:[0,-4],targetOffset:Vt},bottom:{points:["tc","bc"],overflow:Wt,offset:[0,4],targetOffset:Vt},topLeft:{points:["bl","tl"],overflow:Wt,offset:[0,-4],targetOffset:Vt},leftTop:{points:["tr","tl"],overflow:Wt,offset:[-4,0],targetOffset:Vt},topRight:{points:["br","tr"],overflow:Wt,offset:[0,-4],targetOffset:Vt},rightTop:{points:["tl","tr"],overflow:Wt,offset:[4,0],targetOffset:Vt},bottomRight:{points:["tr","br"],overflow:Wt,offset:[0,4],targetOffset:Vt},rightBottom:{points:["bl","br"],overflow:Wt,offset:[4,0],targetOffset:Vt},bottomLeft:{points:["tl","bl"],overflow:Wt,offset:[0,4],targetOffset:Vt},leftBottom:{points:["br","bl"],overflow:Wt,offset:[-4,0],targetOffset:Vt}},uI={prefixCls:String,id:String,overlayInnerStyle:q.any},dI=se({compatConfig:{MODE:3},name:"TooltipContent",props:uI,setup(e,t){let{slots:n}=t;return()=>{var o;return C("div",{class:`${e.prefixCls}-inner`,id:e.id,role:"tooltip",style:e.overlayInnerStyle},[(o=n.overlay)===null||o===void 0?void 0:o.call(n)])}}});var fI=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{}),overlayStyle:{type:Object,default:void 0},overlayClassName:String,prefixCls:q.string.def("rc-tooltip"),mouseEnterDelay:q.number.def(.1),mouseLeaveDelay:q.number.def(.1),getPopupContainer:Function,destroyTooltipOnHide:{type:Boolean,default:!1},align:q.object.def(()=>({})),arrowContent:q.any.def(null),tipId:String,builtinPlacements:q.object,overlayInnerStyle:{type:Object,default:void 0},popupVisible:{type:Boolean,default:void 0},onVisibleChange:Function,onPopupAlign:Function,arrow:{type:Boolean,default:!0}},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const i=K(),a=()=>{const{prefixCls:d,tipId:u,overlayInnerStyle:f}=e;return[e.arrow?C("div",{class:`${d}-arrow`,key:"arrow"},[bu(n,e,"arrowContent")]):null,C(dI,{key:"content",prefixCls:d,id:u,overlayInnerStyle:f},{overlay:n.overlay})]};r({getPopupDomNode:()=>i.value.getPopupDomNode(),triggerDOM:i,forcePopupAlign:()=>{var d;return(d=i.value)===null||d===void 0?void 0:d.forcePopupAlign()}});const s=K(!1),c=K(!1);return nt(()=>{const{destroyTooltipOnHide:d}=e;if(typeof d=="boolean")s.value=d;else if(d&&typeof d=="object"){const{keepParent:u}=d;s.value=u===!0,c.value=u===!1}}),()=>{const{overlayClassName:d,trigger:u,mouseEnterDelay:f,mouseLeaveDelay:p,overlayStyle:h,prefixCls:v,afterVisibleChange:g,transitionName:y,animation:x,placement:S,align:E,destroyTooltipOnHide:w,defaultVisible:$}=e,b=fI(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible"]),O=m({},b);e.visible!==void 0&&(O.popupVisible=e.visible);const _=m(m(m({popupClassName:d,prefixCls:v,action:u,builtinPlacements:Xy,popupPlacement:S,popupAlign:E,afterPopupVisibleChange:g,popupTransitionName:y,popupAnimation:x,defaultPopupVisible:$,destroyPopupOnHide:s.value,autoDestroy:c.value,mouseLeaveDelay:p,popupStyle:h,mouseEnterDelay:f},O),o),{onPopupVisibleChange:e.onVisibleChange||nh,onPopupAlign:e.onPopupAlign||nh,ref:i,arrow:!!e.arrow,popup:a()});return C(ju,_,{default:n.default})}}}),hI=()=>({trigger:[String,Array],open:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},placement:String,color:String,transitionName:String,overlayStyle:Ue(),overlayInnerStyle:Ue(),overlayClassName:String,openClassName:String,prefixCls:String,mouseEnterDelay:Number,mouseLeaveDelay:Number,getPopupContainer:Function,arrowPointAtCenter:{type:Boolean,default:void 0},arrow:{type:[Boolean,Object],default:!0},autoAdjustOverflow:{type:[Boolean,Object],default:void 0},destroyTooltipOnHide:{type:Boolean,default:void 0},align:Ue(),builtinPlacements:Ue(),children:Array,onVisibleChange:Function,"onUpdate:visible":Function,onOpenChange:Function,"onUpdate:open":Function}),gI={adjustX:1,adjustY:1},oh={adjustX:0,adjustY:0},mI=[0,0];function rh(e){return typeof e=="boolean"?e?gI:oh:m(m({},oh),e)}function qy(e){const{arrowWidth:t=4,horizontalArrowShift:n=16,verticalArrowShift:o=8,autoAdjustOverflow:r,arrowPointAtCenter:i}=e,a={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(n+t),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(o+t)]},topRight:{points:["br","tc"],offset:[n+t,-4]},rightTop:{points:["tl","cr"],offset:[4,-(o+t)]},bottomRight:{points:["tr","bc"],offset:[n+t,4]},rightBottom:{points:["bl","cr"],offset:[4,o+t]},bottomLeft:{points:["tl","bc"],offset:[-(n+t),4]},leftBottom:{points:["br","cl"],offset:[-4,o+t]}};return Object.keys(a).forEach(l=>{a[l]=i?m(m({},a[l]),{overflow:rh(r),targetOffset:mI}):m(m({},Xy[l]),{overflow:rh(r)}),a[l].ignoreShake=!0}),a}function vI(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];for(let t=0,n=e.length;t`${e}-inverse`);function bI(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[...yI,...Qa].includes(e):Qa.includes(e)}function CI(e,t){const n=bI(t),o=de({[`${e}-${t}`]:t&&n}),r={},i={};return t&&!n&&(r.background=t,i["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:i}}function ma(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return e.map(n=>`${t}${n}`).join(",")}const Yy=8;function Qy(e){const t=Yy,{sizePopupArrow:n,contentRadius:o,borderRadiusOuter:r,limitVerticalRadius:i}=e,a=n/2-Math.ceil(r*(Math.sqrt(2)-1)),l=(o>12?o+2:12)-a,s=i?t-a:l;return{dropdownArrowOffset:l,dropdownArrowOffsetVertical:s}}function xI(e,t){const{componentCls:n,sizePopupArrow:o,marginXXS:r,borderRadiusXS:i,borderRadiusOuter:a,boxShadowPopoverArrow:l}=e,{colorBg:s,showArrowCls:c,contentRadius:d=e.borderRadiusLG,limitVerticalRadius:u}=t,{dropdownArrowOffsetVertical:f,dropdownArrowOffset:p}=Qy({sizePopupArrow:o,contentRadius:d,borderRadiusOuter:a,limitVerticalRadius:u}),h=o/2+r;return{[n]:{[`${n}-arrow`]:[m(m({position:"absolute",zIndex:1,display:"block"},Ev(o,i,a,s,l)),{"&:before":{background:s}})],[[`&-placement-top ${n}-arrow`,`&-placement-topLeft ${n}-arrow`,`&-placement-topRight ${n}-arrow`].join(",")]:{bottom:0,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:p}},[`&-placement-topRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}},[[`&-placement-bottom ${n}-arrow`,`&-placement-bottomLeft ${n}-arrow`,`&-placement-bottomRight ${n}-arrow`].join(",")]:{top:0,transform:"translateY(-100%)"},[`&-placement-bottom ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${n}-arrow`]:{left:{_skip_check_:!0,value:p}},[`&-placement-bottomRight ${n}-arrow`]:{right:{_skip_check_:!0,value:p}},[[`&-placement-left ${n}-arrow`,`&-placement-leftTop ${n}-arrow`,`&-placement-leftBottom ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:0},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${n}-arrow`]:{top:f},[`&-placement-leftBottom ${n}-arrow`]:{bottom:f},[[`&-placement-right ${n}-arrow`,`&-placement-rightTop ${n}-arrow`,`&-placement-rightBottom ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:0},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${n}-arrow`]:{top:f},[`&-placement-rightBottom ${n}-arrow`]:{bottom:f},[ma(["&-placement-topLeft","&-placement-top","&-placement-topRight"].map(v=>v+=":not(&-arrow-hidden)"),c)]:{paddingBottom:h},[ma(["&-placement-bottomLeft","&-placement-bottom","&-placement-bottomRight"].map(v=>v+=":not(&-arrow-hidden)"),c)]:{paddingTop:h},[ma(["&-placement-leftTop","&-placement-left","&-placement-leftBottom"].map(v=>v+=":not(&-arrow-hidden)"),c)]:{paddingRight:{_skip_check_:!0,value:h}},[ma(["&-placement-rightTop","&-placement-right","&-placement-rightBottom"].map(v=>v+=":not(&-arrow-hidden)"),c)]:{paddingLeft:{_skip_check_:!0,value:h}}}}}const SI=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:c,paddingXS:d,tooltipRadiusOuter:u}=e;return[{[t]:m(m(m(m({},qt(e)),{position:"absolute",zIndex:a,display:"block","&":[{width:"max-content"},{width:"intrinsic"}],maxWidth:n,visibility:"visible","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${c/2}px ${d}px`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:i,boxShadow:s},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:Math.min(i,Yy)}},[`${t}-content`]:{position:"relative"}}),n$(e,(f,p)=>{let{darkColor:h}=p;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:h},[`${t}-arrow`]:{"--antd-arrow-background-color":h}}}})),{"&-rtl":{direction:"rtl"}})},xI(ht(e,{borderRadiusOuter:u}),{colorBg:"var(--antd-arrow-background-color)",showArrowCls:"",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none"}}]},wI=(e,t)=>en("Tooltip",o=>{if((t==null?void 0:t.value)===!1)return[];const{borderRadius:r,colorTextLightSolid:i,colorBgDefault:a,borderRadiusOuter:l}=o,s=ht(o,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:r,tooltipBg:a,tooltipRadiusOuter:l>4?4:l});return[SI(s),Kl(o,"zoom-big-fast")]},o=>{let{zIndexPopupBase:r,colorBgSpotlight:i}=o;return{zIndexPopup:r+70,colorBgDefault:i}})(e),$I=(e,t)=>{const n={},o=m({},e);return t.forEach(r=>{e&&r in e&&(n[r]=e[r],delete o[r])}),{picked:n,omitted:o}},OI=()=>m(m({},hI()),{title:q.any}),_I=se({compatConfig:{MODE:3},name:"ATooltip",inheritAttrs:!1,props:dn(OI(),{trigger:"hover",align:{},placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0}),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r,expose:i}=t;const{prefixCls:a,getPopupContainer:l,direction:s,rootPrefixCls:c}=dt("tooltip",e),d=T(()=>{var P;return(P=e.open)!==null&&P!==void 0?P:e.visible}),u=pe(vI([e.open,e.visible])),f=pe();let p;he(d,P=>{Xe.cancel(p),p=Xe(()=>{u.value=!!P})});const h=()=>{var P;const N=(P=e.title)!==null&&P!==void 0?P:n.title;return!N&&N!==0},v=P=>{const N=h();d.value===void 0&&(u.value=N?!1:P),N||(o("update:visible",P),o("visibleChange",P),o("update:open",P),o("openChange",P))};i({getPopupDomNode:()=>f.value.getPopupDomNode(),open:u,forcePopupAlign:()=>{var P;return(P=f.value)===null||P===void 0?void 0:P.forcePopupAlign()}});const y=T(()=>{var P;const{builtinPlacements:N,autoAdjustOverflow:B,arrow:F,arrowPointAtCenter:G}=e;let A=G;return typeof F=="object"&&(A=(P=F.pointAtCenter)!==null&&P!==void 0?P:G),N||qy({arrowPointAtCenter:A,autoAdjustOverflow:B})}),x=P=>P||P==="",S=P=>{const N=P.type;if(typeof N=="object"&&P.props&&((N.__ANT_BUTTON===!0||N==="button")&&x(P.props.disabled)||N.__ANT_SWITCH===!0&&(x(P.props.disabled)||x(P.props.loading))||N.__ANT_RADIO===!0&&x(P.props.disabled))){const{picked:B,omitted:F}=$I(SS(P),["position","left","right","top","bottom","float","display","zIndex"]),G=m(m({display:"inline-block"},B),{cursor:"not-allowed",lineHeight:1,width:P.props&&P.props.block?"100%":void 0}),A=m(m({},F),{pointerEvents:"none"}),D=mt(P,{style:A},!0);return C("span",{style:G,class:`${a.value}-disabled-compatible-wrapper`},[D])}return P},E=()=>{var P,N;return(P=e.title)!==null&&P!==void 0?P:(N=n.title)===null||N===void 0?void 0:N.call(n)},w=(P,N)=>{const B=y.value,F=Object.keys(B).find(G=>{var A,D;return B[G].points[0]===((A=N.points)===null||A===void 0?void 0:A[0])&&B[G].points[1]===((D=N.points)===null||D===void 0?void 0:D[1])});if(F){const G=P.getBoundingClientRect(),A={top:"50%",left:"50%"};F.indexOf("top")>=0||F.indexOf("Bottom")>=0?A.top=`${G.height-N.offset[1]}px`:(F.indexOf("Top")>=0||F.indexOf("bottom")>=0)&&(A.top=`${-N.offset[1]}px`),F.indexOf("left")>=0||F.indexOf("Right")>=0?A.left=`${G.width-N.offset[0]}px`:(F.indexOf("right")>=0||F.indexOf("Left")>=0)&&(A.left=`${-N.offset[0]}px`),P.style.transformOrigin=`${A.left} ${A.top}`}},$=T(()=>CI(a.value,e.color)),b=T(()=>r["data-popover-inject"]),[O,_]=wI(a,T(()=>!b.value));return()=>{var P,N;const{openClassName:B,overlayClassName:F,overlayStyle:G,overlayInnerStyle:A}=e;let D=(N=sn((P=n.default)===null||P===void 0?void 0:P.call(n)))!==null&&N!==void 0?N:null;D=D.length===1?D[0]:D;let V=u.value;if(d.value===void 0&&h()&&(V=!1),!D)return null;const k=S(Ko(D)&&!wS(D)?D:C("span",null,[D])),R=de({[B||`${a.value}-open`]:!0,[k.props&&k.props.class]:k.props&&k.props.class}),W=de(F,{[`${a.value}-rtl`]:s.value==="rtl"},$.value.className,_.value),X=m(m({},$.value.overlayStyle),A),ae=$.value.arrowStyle,me=m(m(m({},r),e),{prefixCls:a.value,arrow:!!e.arrow,getPopupContainer:l==null?void 0:l.value,builtinPlacements:y.value,visible:V,ref:f,overlayClassName:W,overlayStyle:m(m({},ae),G),overlayInnerStyle:X,onVisibleChange:v,onPopupAlign:w,transitionName:Li(c.value,"zoom-big-fast",e.transitionName)});return O(C(pI,me,{default:()=>[u.value?mt(k,{class:R}):k],arrowContent:()=>C("span",{class:`${a.value}-arrow-content`},null),overlay:E}))}}}),EI=Pl(_I),sr={adjustX:1,adjustY:1},cr=[0,0],TI={topLeft:{points:["bl","tl"],overflow:sr,offset:[0,-4],targetOffset:cr},topCenter:{points:["bc","tc"],overflow:sr,offset:[0,-4],targetOffset:cr},topRight:{points:["br","tr"],overflow:sr,offset:[0,-4],targetOffset:cr},bottomLeft:{points:["tl","bl"],overflow:sr,offset:[0,4],targetOffset:cr},bottomCenter:{points:["tc","bc"],overflow:sr,offset:[0,4],targetOffset:cr},bottomRight:{points:["tr","br"],overflow:sr,offset:[0,4],targetOffset:cr}};var PI=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.visible,p=>{p!==void 0&&(i.value=p)});const a=pe();r({triggerRef:a});const l=p=>{e.visible===void 0&&(i.value=!1),o("overlayClick",p)},s=p=>{e.visible===void 0&&(i.value=p),o("visibleChange",p)},c=()=>{var p;const h=(p=n.overlay)===null||p===void 0?void 0:p.call(n),v={prefixCls:`${e.prefixCls}-menu`,onClick:l};return C(Me,{key:qm},[e.arrow&&C("div",{class:`${e.prefixCls}-arrow`},null),mt(h,v,!1)])},d=T(()=>{const{minOverlayWidthMatchTrigger:p=!e.alignPoint}=e;return p}),u=()=>{var p;const h=(p=n.default)===null||p===void 0?void 0:p.call(n);return i.value&&h?mt(h[0],{class:e.openClassName||`${e.prefixCls}-open`},!1):h},f=T(()=>!e.hideAction&&e.trigger.indexOf("contextmenu")!==-1?["click"]:e.hideAction);return()=>{const{prefixCls:p,arrow:h,showAction:v,overlayStyle:g,trigger:y,placement:x,align:S,getPopupContainer:E,transitionName:w,animation:$,overlayClassName:b}=e,O=PI(e,["prefixCls","arrow","showAction","overlayStyle","trigger","placement","align","getPopupContainer","transitionName","animation","overlayClassName"]);return C(ju,j(j({},O),{},{prefixCls:p,ref:a,popupClassName:de(b,{[`${p}-show-arrow`]:h}),popupStyle:g,builtinPlacements:TI,action:y,showAction:v,hideAction:f.value||[],popupPlacement:x,popupAlign:S,popupTransitionName:w,popupAnimation:$,popupVisible:i.value,stretch:d.value?"minWidth":"",onPopupVisibleChange:s,getPopupContainer:E}),{popup:c,default:u})}}}),II=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},MI=en("Wave",e=>[II(e)]);function RI(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Is(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&RI(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function NI(e){const{borderTopColor:t,borderColor:n,backgroundColor:o}=getComputedStyle(e);return Is(t)?t:Is(n)?n:Is(o)?o:null}function Ms(e){return Number.isNaN(e)?0:e}const DI=se({props:{target:Ue(),className:String},setup(e){const t=K(null),[n,o]=_o(null),[r,i]=_o([]),[a,l]=_o(0),[s,c]=_o(0),[d,u]=_o(0),[f,p]=_o(0),[h,v]=_o(!1);function g(){const{target:b}=e,O=getComputedStyle(b);o(NI(b));const _=O.position==="static",{borderLeftWidth:P,borderTopWidth:N}=O;l(_?b.offsetLeft:Ms(-parseFloat(P))),c(_?b.offsetTop:Ms(-parseFloat(N))),u(b.offsetWidth),p(b.offsetHeight);const{borderTopLeftRadius:B,borderTopRightRadius:F,borderBottomLeftRadius:G,borderBottomRightRadius:A}=O;i([B,F,A,G].map(D=>Ms(parseFloat(D))))}let y,x,S;const E=()=>{clearTimeout(S),Xe.cancel(x),y==null||y.disconnect()},w=()=>{var b;const O=(b=t.value)===null||b===void 0?void 0:b.parentElement;O&&(zo(null,O),O.parentElement&&O.parentElement.removeChild(O))};ut(()=>{E(),S=setTimeout(()=>{w()},5e3);const{target:b}=e;b&&(x=Xe(()=>{g(),v(!0)}),typeof ResizeObserver<"u"&&(y=new ResizeObserver(g),y.observe(b)))}),ot(()=>{E()});const $=b=>{b.propertyName==="opacity"&&w()};return()=>{if(!h.value)return null;const b={left:`${a.value}px`,top:`${s.value}px`,width:`${d.value}px`,height:`${f.value}px`,borderRadius:r.value.map(O=>`${O}px`).join(" ")};return n&&(b["--wave-color"]=n.value),C(un,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[C("div",{ref:t,class:e.className,style:b,onTransitionend:$},null)]})}}});function BI(e,t){const n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e==null||e.insertBefore(n,e==null?void 0:e.firstChild),zo(C(DI,{target:e,className:t},null),n)}function LI(e,t,n){function o(){var r;const i=Nn(e);!((r=n==null?void 0:n.value)===null||r===void 0)&&r.disabled||!i||BI(i,t.value)}return o}const FI=se({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:n}=t;const o=Zt(),{prefixCls:r,wave:i}=dt("wave",e),[,a]=MI(r),l=LI(o,T(()=>de(r.value,a.value)),i);let s;const c=()=>{Nn(o).removeEventListener("click",s,!0)};return ut(()=>{he(()=>e.disabled,()=>{c(),at(()=>{const d=Nn(o);d==null||d.removeEventListener("click",s,!0),!(!d||d.nodeType!==1||e.disabled)&&(s=u=>{u.target.tagName==="INPUT"||!oy(u.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||l()},d.addEventListener("click",s,!0))})},{immediate:!0,flush:"post"})}),ot(()=>{c()}),()=>{var d;return(d=n.default)===null||d===void 0?void 0:d.call(n)[0]}}});function Jy(e){return e==="danger"?{danger:!0}:{type:e}}const Zy=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:q.any,href:String,target:String,title:String,onClick:wi(),onMousedown:wi()}),ih=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},ah=e=>{at(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},lh=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},HI=se({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:n,loading:o}=e;if(t)return C("span",{class:`${n}-loading-icon`},[C(ho,null,null)]);const r=!!o;return C(un,{name:`${n}-loading-icon-motion`,onBeforeEnter:ih,onEnter:ah,onAfterEnter:lh,onBeforeLeave:ah,onLeave:i=>{setTimeout(()=>{ih(i)})},onAfterLeave:lh},{default:()=>[r?C("span",{class:`${n}-loading-icon`},[C(ho,null,null)]):null]})}}}),sh=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),jI=e=>{const{componentCls:t,fontSize:n,lineWidth:o,colorPrimaryHover:r,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-o,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},sh(`${t}-primary`,r),sh(`${t}-danger`,i)]}};function kI(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function zI(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function KI(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:m(m({},kI(e,t)),zI(e.componentCls,t))}}const WI=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":m({},Za(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Hn=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),VI=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),UI=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),Ic=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),rl=(e,t,n,o,r,i,a)=>({[`&${e}-background-ghost`]:m(m({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},Hn(m({backgroundColor:"transparent"},i),m({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:r||void 0}})}),Qu=e=>({"&:disabled":m({},Ic(e))}),e0=e=>m({},Qu(e)),il=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),t0=e=>m(m(m(m(m({},e0(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),Hn({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),rl(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:m(m(m({color:e.colorError,borderColor:e.colorError},Hn({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),rl(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Qu(e))}),GI=e=>m(m(m(m(m({},e0(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),Hn({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),rl(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:m(m(m({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},Hn({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),rl(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Qu(e))}),XI=e=>m(m({},t0(e)),{borderStyle:"dashed"}),qI=e=>m(m(m({color:e.colorLink},Hn({color:e.colorLinkHover},{color:e.colorLinkActive})),il(e)),{[`&${e.componentCls}-dangerous`]:m(m({color:e.colorError},Hn({color:e.colorErrorHover},{color:e.colorErrorActive})),il(e))}),YI=e=>m(m(m({},Hn({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),il(e)),{[`&${e.componentCls}-dangerous`]:m(m({color:e.colorError},il(e)),Hn({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),QI=e=>m(m({},Ic(e)),{[`&${e.componentCls}:hover`]:m({},Ic(e))}),JI=e=>{const{componentCls:t}=e;return{[`${t}-default`]:t0(e),[`${t}-primary`]:GI(e),[`${t}-dashed`]:XI(e),[`${t}-link`]:qI(e),[`${t}-text`]:YI(e),[`${t}-disabled`]:QI(e)}},Ju=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,iconCls:o,controlHeight:r,fontSize:i,lineHeight:a,lineWidth:l,borderRadius:s,buttonPaddingHorizontal:c}=e,d=Math.max(0,(r-i*a)/2-l),u=c-l,f=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:i,height:r,padding:`${d}px ${u}px`,borderRadius:s,[`&${f}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${f}) ${n}-loading-icon > ${o}`]:{marginInlineEnd:e.marginXS}}},{[`${n}${n}-circle${t}`]:VI(e)},{[`${n}${n}-round${t}`]:UI(e)}]},ZI=e=>Ju(e),e2=e=>{const t=ht(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return Ju(t,`${e.componentCls}-sm`)},t2=e=>{const t=ht(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return Ju(t,`${e.componentCls}-lg`)},n2=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},o2=en("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:n}=e,o=ht(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n});return[WI(o),e2(o),ZI(o),t2(o),n2(o),JI(o),jI(o),Gy(e,{focus:!1}),KI(e)]}),r2=()=>({prefixCls:String,size:{type:String}}),n0=Vu(),Mc=se({compatConfig:{MODE:3},name:"AButtonGroup",props:r2(),setup(e,t){let{slots:n}=t;const{prefixCls:o,direction:r}=dt("btn-group",e),[,,i]=Wi();n0.useProvide(vt({size:T(()=>e.size)}));const a=T(()=>{const{size:l}=e;let s="";switch(l){case"large":s="lg";break;case"small":s="sm";break;case"middle":case void 0:break;default:Fn(!l,"Button.Group","Invalid prop `size`.")}return{[`${o.value}`]:!0,[`${o.value}-${s}`]:s,[`${o.value}-rtl`]:r.value==="rtl",[i.value]:!0}});return()=>{var l;return C("div",{class:a.value},[Nt((l=n.default)===null||l===void 0?void 0:l.call(n))])}}}),ch=/^[\u4e00-\u9fa5]{2}$/,uh=ch.test.bind(ch);function va(e){return e==="text"||e==="link"}const Yt=se({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:dn(Zy(),{type:"default"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r,expose:i}=t;const{prefixCls:a,autoInsertSpaceInButton:l,direction:s,size:c}=dt("btn",e),[d,u]=o2(a),f=n0.useInject(),p=zi(),h=T(()=>{var A;return(A=e.disabled)!==null&&A!==void 0?A:p.value}),v=K(null),g=K(void 0);let y=!1;const x=K(!1),S=K(!1),E=T(()=>l.value!==!1),{compactSize:w,compactItemClassnames:$}=ky(a,s),b=T(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);he(b,A=>{clearTimeout(g.value),typeof b.value=="number"?g.value=setTimeout(()=>{x.value=A},b.value):x.value=A},{immediate:!0});const O=T(()=>{const{type:A,shape:D="default",ghost:V,block:k,danger:R}=e,W=a.value,X={large:"lg",small:"sm",middle:void 0},ae=w.value||(f==null?void 0:f.size)||c.value,me=ae&&X[ae]||"";return[$.value,{[u.value]:!0,[`${W}`]:!0,[`${W}-${D}`]:D!=="default"&&D,[`${W}-${A}`]:A,[`${W}-${me}`]:me,[`${W}-loading`]:x.value,[`${W}-background-ghost`]:V&&!va(A),[`${W}-two-chinese-chars`]:S.value&&E.value,[`${W}-block`]:k,[`${W}-dangerous`]:!!R,[`${W}-rtl`]:s.value==="rtl"}]}),_=()=>{const A=v.value;if(!A||l.value===!1)return;const D=A.textContent;y&&uh(D)?S.value||(S.value=!0):S.value&&(S.value=!1)},P=A=>{if(x.value||h.value){A.preventDefault();return}r("click",A)},N=A=>{r("mousedown",A)},B=(A,D)=>{const V=D?" ":"";if(A.type===Lr){let k=A.children.trim();return uh(k)&&(k=k.split("").join(V)),C("span",null,[k])}return A};return nt(()=>{Fn(!(e.ghost&&va(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),ut(_),wn(_),ot(()=>{g.value&&clearTimeout(g.value)}),i({focus:()=>{var A;(A=v.value)===null||A===void 0||A.focus()},blur:()=>{var A;(A=v.value)===null||A===void 0||A.blur()}}),()=>{var A,D;const{icon:V=(A=n.icon)===null||A===void 0?void 0:A.call(n)}=e,k=Nt((D=n.default)===null||D===void 0?void 0:D.call(n));y=k.length===1&&!V&&!va(e.type);const{type:R,htmlType:W,href:X,title:ae,target:me}=e,Fe=x.value?"loading":V,Re=m(m({},o),{title:ae,disabled:h.value,class:[O.value,o.class,{[`${a.value}-icon-only`]:k.length===0&&!!Fe}],onClick:P,onMousedown:N});h.value||delete Re.disabled;const Ne=V&&!x.value?V:C(HI,{existIcon:!!V,prefixCls:a.value,loading:!!x.value},null),re=k.map(Se=>B(Se,y&&E.value));if(X!==void 0)return d(C("a",j(j({},Re),{},{href:X,target:me,ref:v}),[Ne,re]));let ve=C("button",j(j({},Re),{},{ref:v,type:W}),[Ne,re]);if(!va(R)){const Se=function(){return ve}();ve=C(FI,{ref:"wave",disabled:!!x.value},{default:()=>[Se]})}return d(ve)}}});Yt.Group=Mc;Yt.install=function(e){return e.component(Yt.name,Yt),e.component(Mc.name,Mc),e};const o0=()=>({arrow:$i([Boolean,Object]),trigger:{type:[Array,String]},menu:Ue(),overlay:q.any,visible:Qe(),open:Qe(),disabled:Qe(),danger:Qe(),autofocus:Qe(),align:Ue(),getPopupContainer:Function,prefixCls:String,transitionName:String,placement:String,overlayClassName:String,overlayStyle:Ue(),forceRender:Qe(),mouseEnterDelay:Number,mouseLeaveDelay:Number,openClassName:String,minOverlayWidthMatchTrigger:Qe(),destroyPopupOnHide:Qe(),onVisibleChange:{type:Function},"onUpdate:visible":{type:Function},onOpenChange:{type:Function},"onUpdate:open":{type:Function}}),Rs=Zy(),i2=()=>m(m({},o0()),{type:Rs.type,size:String,htmlType:Rs.htmlType,href:String,disabled:Qe(),prefixCls:String,icon:q.any,title:String,loading:Rs.loading,onClick:wi()});var a2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};function dh(e){for(var t=1;t{const{componentCls:t,antCls:n,paddingXS:o,opacityLoading:r}=e;return{[`${t}-button`]:{whiteSpace:"nowrap",[`&${n}-btn-group > ${n}-btn`]:{[`&-loading, &-loading + ${n}-btn`]:{cursor:"default",pointerEvents:"none",opacity:r},[`&:last-child:not(:first-child):not(${n}-btn-icon-only)`]:{paddingInline:o}}}}},c2=e=>{const{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:r}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:o,"&:hover":{color:r,backgroundColor:o}}}}}},u2=e=>{const{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:r,dropdownArrowOffset:i,sizePopupArrow:a,antCls:l,iconCls:s,motionDurationMid:c,dropdownPaddingVertical:d,fontSize:u,dropdownEdgeChildPadding:f,colorTextDisabled:p,fontSizeIcon:h,controlPaddingHorizontal:v,colorBgElevated:g,boxShadowPopoverArrow:y}=e;return[{[t]:m(m({},qt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:-r+a/2,zIndex:-9999,opacity:1e-4,content:'""'},[`${t}-wrap`]:{position:"relative",[`${l}-btn > ${s}-down`]:{fontSize:h},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[` + &-show-arrow${t}-placement-topLeft, + &-show-arrow${t}-placement-top, + &-show-arrow${t}-placement-topRight + `]:{paddingBottom:r},[` + &-show-arrow${t}-placement-bottomLeft, + &-show-arrow${t}-placement-bottom, + &-show-arrow${t}-placement-bottomRight + `]:{paddingTop:r},[`${t}-arrow`]:m({position:"absolute",zIndex:1,display:"block"},Ev(a,e.borderRadiusXS,e.borderRadiusOuter,g,y)),[` + &-placement-top > ${t}-arrow, + &-placement-topLeft > ${t}-arrow, + &-placement-topRight > ${t}-arrow + `]:{bottom:r,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:i}},[`&-placement-topRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:i}},[` + &-placement-bottom > ${t}-arrow, + &-placement-bottomLeft > ${t}-arrow, + &-placement-bottomRight > ${t}-arrow + `]:{top:r,transform:"translateY(-100%)"},[`&-placement-bottom > ${t}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateY(-100%) translateX(-50%)"},[`&-placement-bottomLeft > ${t}-arrow`]:{left:{_skip_check_:!0,value:i}},[`&-placement-bottomRight > ${t}-arrow`]:{right:{_skip_check_:!0,value:i}},[`&${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomLeft, + &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomLeft, + &${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottom, + &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottom, + &${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomRight, + &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:zy},[`&${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-topLeft, + &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-topLeft, + &${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-top, + &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-top, + &${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-topRight, + &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Wy},[`&${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomLeft, + &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottom, + &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Ky},[`&${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topLeft, + &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-top, + &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Vy}})},{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:o,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul,li":{listStyle:"none"},ul:{marginInline:"0.3em"}},[`${t}, ${t}-menu-submenu`]:{[n]:m(m({padding:f,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Za(e)),{[`${n}-item-group-title`]:{padding:`${d}px ${v}px`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",borderRadius:e.borderRadiusSM},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:m(m({clear:"both",margin:0,padding:`${d}px ${v}px`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Za(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:h,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:v+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:p,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[ol(e,"slide-up"),ol(e,"slide-down"),Up(e,"move-up"),Up(e,"move-down"),Kl(e,"zoom-big")]]},r0=en("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t;const{marginXXS:o,sizePopupArrow:r,controlHeight:i,fontSize:a,lineHeight:l,paddingXXS:s,componentCls:c,borderRadiusOuter:d,borderRadiusLG:u}=e,f=(i-a*l)/2,{dropdownArrowOffset:p}=Qy({sizePopupArrow:r,contentRadius:u,borderRadiusOuter:d}),h=ht(e,{menuCls:`${c}-menu`,rootPrefixCls:n,dropdownArrowDistance:r/2+o,dropdownArrowOffset:p,dropdownPaddingVertical:f,dropdownEdgeChildPadding:s});return[u2(h),s2(h),c2(h)]},e=>({zIndexPopup:e.zIndexPopupBase+50}));var d2=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{r("update:visible",f),r("visibleChange",f),r("update:open",f),r("openChange",f)},{prefixCls:a,direction:l,getPopupContainer:s}=dt("dropdown",e),c=T(()=>`${a.value}-button`),[d,u]=r0(a);return()=>{var f,p;const h=m(m({},e),o),{type:v="default",disabled:g,danger:y,loading:x,htmlType:S,class:E="",overlay:w=(f=n.overlay)===null||f===void 0?void 0:f.call(n),trigger:$,align:b,open:O,visible:_,onVisibleChange:P,placement:N=l.value==="rtl"?"bottomLeft":"bottomRight",href:B,title:F,icon:G=((p=n.icon)===null||p===void 0?void 0:p.call(n))||C(Wl,null,null),mouseEnterDelay:A,mouseLeaveDelay:D,overlayClassName:V,overlayStyle:k,destroyPopupOnHide:R,onClick:W,"onUpdate:open":X}=h,ae=d2(h,["type","disabled","danger","loading","htmlType","class","overlay","trigger","align","open","visible","onVisibleChange","placement","href","title","icon","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","onClick","onUpdate:open"]),me={align:b,disabled:g,trigger:g?[]:$,placement:N,getPopupContainer:s==null?void 0:s.value,onOpenChange:i,mouseEnterDelay:A,mouseLeaveDelay:D,open:O??_,overlayClassName:V,overlayStyle:k,destroyPopupOnHide:R},Fe=C(Yt,{danger:y,type:v,disabled:g,loading:x,onClick:W,htmlType:S,href:B,title:F},{default:n.default}),Re=C(Yt,{danger:y,type:v,icon:G},null);return d(C(f2,j(j({},ae),{},{class:de(c.value,E,u.value)}),{default:()=>[n.leftButton?n.leftButton({button:Fe}):Fe,C(Ho,me,{default:()=>[n.rightButton?n.rightButton({button:Re}):Re],overlay:()=>w})]}))}}});var p2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};function fh(e){for(var t=1;tqe(i0,void 0),g2=e=>{var t,n,o;const{prefixCls:r,mode:i,selectable:a,validator:l,onClick:s,expandIcon:c}=a0()||{};rt(i0,{prefixCls:T(()=>{var d,u;return(u=(d=e.prefixCls)===null||d===void 0?void 0:d.value)!==null&&u!==void 0?u:r==null?void 0:r.value}),mode:T(()=>{var d,u;return(u=(d=e.mode)===null||d===void 0?void 0:d.value)!==null&&u!==void 0?u:i==null?void 0:i.value}),selectable:T(()=>{var d,u;return(u=(d=e.selectable)===null||d===void 0?void 0:d.value)!==null&&u!==void 0?u:a==null?void 0:a.value}),validator:(t=e.validator)!==null&&t!==void 0?t:l,onClick:(n=e.onClick)!==null&&n!==void 0?n:s,expandIcon:(o=e.expandIcon)!==null&&o!==void 0?o:c==null?void 0:c.value})},Ho=se({compatConfig:{MODE:3},name:"ADropdown",inheritAttrs:!1,props:dn(o0(),{mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft",trigger:"hover"}),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:i,rootPrefixCls:a,direction:l,getPopupContainer:s}=dt("dropdown",e),[c,d]=r0(i),u=T(()=>{const{placement:g="",transitionName:y}=e;return y!==void 0?y:g.includes("top")?`${a.value}-slide-down`:`${a.value}-slide-up`});g2({prefixCls:T(()=>`${i.value}-menu`),expandIcon:T(()=>C("span",{class:`${i.value}-menu-submenu-arrow`},[C(ll,{class:`${i.value}-menu-submenu-arrow-icon`},null)])),mode:T(()=>"vertical"),selectable:T(()=>!1),onClick:()=>{},validator:g=>{}});const f=()=>{var g,y,x;const S=e.overlay||((g=n.overlay)===null||g===void 0?void 0:g.call(n)),E=Array.isArray(S)?S[0]:S;if(!E)return null;const w=E.props||{};Fn(!w.mode||w.mode==="vertical","Dropdown",`mode="${w.mode}" is not supported for Dropdown's Menu.`);const{selectable:$=!1,expandIcon:b=(x=(y=E.children)===null||y===void 0?void 0:y.expandIcon)===null||x===void 0?void 0:x.call(y)}=w,O=typeof b<"u"&&Ko(b)?b:C("span",{class:`${i.value}-menu-submenu-arrow`},[C(ll,{class:`${i.value}-menu-submenu-arrow-icon`},null)]);return Ko(E)?mt(E,{mode:"vertical",selectable:$,expandIcon:()=>O}):E},p=T(()=>{const g=e.placement;if(!g)return l.value==="rtl"?"bottomRight":"bottomLeft";if(g.includes("Center")){const y=g.slice(0,g.indexOf("Center"));return Fn(!g.includes("Center"),"Dropdown",`You are using '${g}' placement in Dropdown, which is deprecated. Try to use '${y}' instead.`),y}return g}),h=T(()=>typeof e.visible=="boolean"?e.visible:e.open),v=g=>{r("update:visible",g),r("visibleChange",g),r("update:open",g),r("openChange",g)};return()=>{var g,y;const{arrow:x,trigger:S,disabled:E,overlayClassName:w}=e,$=(g=n.default)===null||g===void 0?void 0:g.call(n)[0],b=mt($,m({class:de((y=$==null?void 0:$.props)===null||y===void 0?void 0:y.class,{[`${i.value}-rtl`]:l.value==="rtl"},`${i.value}-trigger`)},E?{disabled:E}:{})),O=de(w,d.value,{[`${i.value}-rtl`]:l.value==="rtl"}),_=E?[]:S;let P;_&&_.includes("contextmenu")&&(P=!0);const N=qy({arrowPointAtCenter:typeof x=="object"&&x.pointAtCenter,autoAdjustOverflow:!0}),B=Pt(m(m(m({},e),o),{visible:h.value,builtinPlacements:N,overlayClassName:O,arrow:!!x,alignPoint:P,prefixCls:i.value,getPopupContainer:s==null?void 0:s.value,transitionName:u.value,trigger:_,onVisibleChange:v,placement:p.value}),["overlay","onUpdate:visible"]);return c(C(AI,B,{default:()=>[b],overlay:f}))}}});Ho.Button=al;function m2(e,t,n,o){let r;if(r!==void 0)return!!r;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;const l=Object.prototype.hasOwnProperty.bind(t);for(let s=0;s{rt(l0,e)},Kn=()=>qe(l0),c0=Symbol("ForceRenderKey"),v2=e=>{rt(c0,e)},u0=()=>qe(c0,!1),d0=Symbol("menuFirstLevelContextKey"),f0=e=>{rt(d0,e)},y2=()=>qe(d0,!0),sl=se({compatConfig:{MODE:3},name:"MenuContextProvider",inheritAttrs:!1,props:{mode:{type:String,default:void 0},overflowDisabled:{type:Boolean,default:void 0}},setup(e,t){let{slots:n}=t;const o=Kn(),r=m({},o);return e.mode!==void 0&&(r.mode=Js(e,"mode")),e.overflowDisabled!==void 0&&(r.overflowDisabled=Js(e,"overflowDisabled")),s0(r),()=>{var i;return(i=n.default)===null||i===void 0?void 0:i.call(n)}}}),b2=Symbol("siderCollapsed"),ya="$$__vc-menu-more__key",p0=Symbol("KeyPathContext"),Zu=()=>qe(p0,{parentEventKeys:T(()=>[]),parentKeys:T(()=>[]),parentInfo:{}}),C2=(e,t,n)=>{const{parentEventKeys:o,parentKeys:r}=Zu(),i=T(()=>[...o.value,e]),a=T(()=>[...r.value,t]);return rt(p0,{parentEventKeys:i,parentKeys:a,parentInfo:n}),a},h0=Symbol("measure"),ph=se({compatConfig:{MODE:3},setup(e,t){let{slots:n}=t;return rt(h0,!0),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),ed=()=>qe(h0,!1),x2=C2;function g0(e){const{mode:t,rtl:n,inlineIndent:o}=Kn();return T(()=>t.value!=="inline"?null:n.value?{paddingRight:`${e.value*o.value}px`}:{paddingLeft:`${e.value*o.value}px`})}let S2=0;const w2=()=>({id:String,role:String,disabled:Boolean,danger:Boolean,title:{type:[String,Boolean],default:void 0},icon:q.any,onMouseenter:Function,onMouseleave:Function,onClick:Function,onKeydown:Function,onFocus:Function,originItemValue:Ue()}),Fi=se({compatConfig:{MODE:3},name:"AMenuItem",inheritAttrs:!1,props:w2(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const i=Zt(),a=ed(),l=typeof i.vnode.key=="symbol"?String(i.vnode.key):i.vnode.key;Fn(typeof i.vnode.key!="symbol","MenuItem",`MenuItem \`:key="${String(l)}"\` not support Symbol type`);const s=`menu_item_${++S2}_$$_${l}`,{parentEventKeys:c,parentKeys:d}=Zu(),{prefixCls:u,activeKeys:f,disabled:p,changeActiveKeys:h,rtl:v,inlineCollapsed:g,siderCollapsed:y,onItemClick:x,selectedKeys:S,registerMenuInfo:E,unRegisterMenuInfo:w}=Kn(),$=y2(),b=K(!1),O=T(()=>[...d.value,l]);E(s,{eventKey:s,key:l,parentEventKeys:c,parentKeys:d,isLeaf:!0}),ot(()=>{w(s)}),he(f,()=>{b.value=!!f.value.find(X=>X===l)},{immediate:!0});const P=T(()=>p.value||e.disabled),N=T(()=>S.value.includes(l)),B=T(()=>{const X=`${u.value}-item`;return{[`${X}`]:!0,[`${X}-danger`]:e.danger,[`${X}-active`]:b.value,[`${X}-selected`]:N.value,[`${X}-disabled`]:P.value}}),F=X=>({key:l,eventKey:s,keyPath:O.value,eventKeyPath:[...c.value,s],domEvent:X,item:m(m({},e),r)}),G=X=>{if(P.value)return;const ae=F(X);o("click",X),x(ae)},A=X=>{P.value||(h(O.value),o("mouseenter",X))},D=X=>{P.value||(h([]),o("mouseleave",X))},V=X=>{if(o("keydown",X),X.which===xe.ENTER){const ae=F(X);o("click",X),x(ae)}},k=X=>{h(O.value),o("focus",X)},R=(X,ae)=>{const me=C("span",{class:`${u.value}-title-content`},[ae]);return(!X||Ko(ae)&&ae.type==="span")&&ae&&g.value&&$&&typeof ae=="string"?C("div",{class:`${u.value}-inline-collapsed-noicon`},[ae.charAt(0)]):me},W=g0(T(()=>O.value.length));return()=>{var X,ae,me,Fe,Re;if(a)return null;const Ne=(X=e.title)!==null&&X!==void 0?X:(ae=n.title)===null||ae===void 0?void 0:ae.call(n),re=Nt((me=n.default)===null||me===void 0?void 0:me.call(n)),ve=re.length;let Se=Ne;typeof Ne>"u"?Se=$&&ve?re:"":Ne===!1&&(Se="");const we={title:Se};!y.value&&!g.value&&(we.title=null,we.open=!1);const ze={};e.role==="option"&&(ze["aria-selected"]=N.value);const Pe=(Fe=e.icon)!==null&&Fe!==void 0?Fe:(Re=n.icon)===null||Re===void 0?void 0:Re.call(n,e);return C(EI,j(j({},we),{},{placement:v.value?"left":"right",overlayClassName:`${u.value}-inline-collapsed-tooltip`}),{default:()=>[C(so.Item,j(j(j({component:"li"},r),{},{id:e.id,style:m(m({},r.style||{}),W.value),class:[B.value,{[`${r.class}`]:!!r.class,[`${u.value}-item-only-child`]:(Pe?ve+1:ve)===1}],role:e.role||"menuitem",tabindex:e.disabled?null:-1,"data-menu-id":l,"aria-disabled":e.disabled},ze),{},{onMouseenter:A,onMouseleave:D,onClick:G,onKeydown:V,onFocus:k,title:typeof Ne=="string"?Ne:void 0}),{default:()=>[mt(typeof Pe=="function"?Pe(e.originItemValue):Pe,{class:`${u.value}-item-icon`},!1),R(Pe,re)]})]})}}}),ro={adjustX:1,adjustY:1},$2={topLeft:{points:["bl","tl"],overflow:ro,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ro,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:ro,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:ro,offset:[4,0]}},O2={topLeft:{points:["bl","tl"],overflow:ro,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:ro,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:ro,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:ro,offset:[4,0]}},_2={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},hh=se({compatConfig:{MODE:3},name:"PopupTrigger",inheritAttrs:!1,props:{prefixCls:String,mode:String,visible:Boolean,popupClassName:String,popupOffset:Array,disabled:Boolean,onVisibleChange:Function},slots:Object,emits:["visibleChange"],setup(e,t){let{slots:n,emit:o}=t;const r=K(!1),{getPopupContainer:i,rtl:a,subMenuOpenDelay:l,subMenuCloseDelay:s,builtinPlacements:c,triggerSubMenuAction:d,forceSubMenuRender:u,motion:f,defaultMotions:p,rootClassName:h}=Kn(),v=u0(),g=T(()=>a.value?m(m({},O2),c.value):m(m({},$2),c.value)),y=T(()=>_2[e.mode]),x=K();he(()=>e.visible,w=>{Xe.cancel(x.value),x.value=Xe(()=>{r.value=w})},{immediate:!0}),ot(()=>{Xe.cancel(x.value)});const S=w=>{o("visibleChange",w)},E=T(()=>{var w,$;const b=f.value||((w=p.value)===null||w===void 0?void 0:w[e.mode])||(($=p.value)===null||$===void 0?void 0:$.other),O=typeof b=="function"?b():b;return O?Hl(O.name,{css:!0}):void 0});return()=>{const{prefixCls:w,popupClassName:$,mode:b,popupOffset:O,disabled:_}=e;return C(ju,{prefixCls:w,popupClassName:de(`${w}-popup`,{[`${w}-rtl`]:a.value},$,h.value),stretch:b==="horizontal"?"minWidth":null,getPopupContainer:i.value,builtinPlacements:g.value,popupPlacement:y.value,popupVisible:r.value,popupAlign:O&&{offset:O},action:_?[]:[d.value],mouseEnterDelay:l.value,mouseLeaveDelay:s.value,onPopupVisibleChange:S,forceRender:v||u.value,popupAnimation:E.value},{popup:n.popup,default:n.default})}}}),td=(e,t)=>{let{slots:n,attrs:o}=t;var r;const{prefixCls:i,mode:a}=Kn();return C("ul",j(j({},o),{},{class:de(i.value,`${i.value}-sub`,`${i.value}-${a.value==="inline"?"inline":"vertical"}`),"data-menu-list":!0}),[(r=n.default)===null||r===void 0?void 0:r.call(n)])};td.displayName="SubMenuList";const E2=se({compatConfig:{MODE:3},name:"InlineSubMenuList",inheritAttrs:!1,props:{id:String,open:Boolean,keyPath:Array},setup(e,t){let{slots:n}=t;const o=T(()=>"inline"),{motion:r,mode:i,defaultMotions:a}=Kn(),l=T(()=>i.value===o.value),s=pe(!l.value),c=T(()=>l.value?e.open:!1);he(i,()=>{l.value&&(s.value=!1)},{flush:"post"});const d=T(()=>{var u,f;const p=r.value||((u=a.value)===null||u===void 0?void 0:u[o.value])||((f=a.value)===null||f===void 0?void 0:f.other),h=typeof p=="function"?p():p;return m(m({},h),{appear:e.keyPath.length<=1})});return()=>{var u;return s.value?null:C(sl,{mode:o.value},{default:()=>[C(un,d.value,{default:()=>[Jo(C(td,{id:e.id},{default:()=>[(u=n.default)===null||u===void 0?void 0:u.call(n)]}),[[ki,c.value]])]})]})}}});let gh=0;const T2=()=>({icon:q.any,title:q.any,disabled:Boolean,level:Number,popupClassName:String,popupOffset:Array,internalPopupClose:Boolean,eventKey:String,expandIcon:Function,theme:String,onMouseenter:Function,onMouseleave:Function,onTitleClick:Function,originItemValue:Ue()}),Dr=se({compatConfig:{MODE:3},name:"ASubMenu",inheritAttrs:!1,props:T2(),slots:Object,setup(e,t){let{slots:n,attrs:o,emit:r}=t;var i,a;f0(!1);const l=ed(),s=Zt(),c=typeof s.vnode.key=="symbol"?String(s.vnode.key):s.vnode.key;Fn(typeof s.vnode.key!="symbol","SubMenu",`SubMenu \`:key="${String(c)}"\` not support Symbol type`);const d=sc(c)?c:`sub_menu_${++gh}_$$_not_set_key`,u=(i=e.eventKey)!==null&&i!==void 0?i:sc(c)?`sub_menu_${++gh}_$$_${c}`:d,{parentEventKeys:f,parentInfo:p,parentKeys:h}=Zu(),v=T(()=>[...h.value,d]),g=K([]),y={eventKey:u,key:d,parentEventKeys:f,childrenEventKeys:g,parentKeys:h};(a=p.childrenEventKeys)===null||a===void 0||a.value.push(u),ot(()=>{var Y;p.childrenEventKeys&&(p.childrenEventKeys.value=(Y=p.childrenEventKeys)===null||Y===void 0?void 0:Y.value.filter(te=>te!=u))}),x2(u,d,y);const{prefixCls:x,activeKeys:S,disabled:E,changeActiveKeys:w,mode:$,inlineCollapsed:b,openKeys:O,overflowDisabled:_,onOpenChange:P,registerMenuInfo:N,unRegisterMenuInfo:B,selectedSubMenuKeys:F,expandIcon:G,theme:A}=Kn(),D=c!=null,V=!l&&(u0()||!D);v2(V),(l&&D||!l&&!D||V)&&(N(u,y),ot(()=>{B(u)}));const k=T(()=>`${x.value}-submenu`),R=T(()=>E.value||e.disabled),W=K(),X=K(),ae=T(()=>O.value.includes(d)),me=T(()=>!_.value&&ae.value),Fe=T(()=>F.value.includes(d)),Re=K(!1);he(S,()=>{Re.value=!!S.value.find(Y=>Y===d)},{immediate:!0});const Ne=Y=>{R.value||(r("titleClick",Y,d),$.value==="inline"&&P(d,!ae.value))},re=Y=>{R.value||(w(v.value),r("mouseenter",Y))},ve=Y=>{R.value||(w([]),r("mouseleave",Y))},Se=g0(T(()=>v.value.length)),we=Y=>{$.value!=="inline"&&P(d,Y)},ze=()=>{w(v.value)},Pe=u&&`${u}-popup`,I=T(()=>de(x.value,`${x.value}-${e.theme||A.value}`,e.popupClassName)),M=(Y,te)=>{if(!te)return b.value&&!h.value.length&&Y&&typeof Y=="string"?C("div",{class:`${x.value}-inline-collapsed-noicon`},[Y.charAt(0)]):C("span",{class:`${x.value}-title-content`},[Y]);const ie=Ko(Y)&&Y.type==="span";return C(Me,null,[mt(typeof te=="function"?te(e.originItemValue):te,{class:`${x.value}-item-icon`},!1),ie?Y:C("span",{class:`${x.value}-title-content`},[Y])])},H=T(()=>$.value!=="inline"&&v.value.length>1?"vertical":$.value),Q=T(()=>$.value==="horizontal"?"vertical":$.value),J=T(()=>H.value==="horizontal"?"vertical":H.value),ne=()=>{var Y,te;const ie=k.value,ee=(Y=e.icon)!==null&&Y!==void 0?Y:(te=n.icon)===null||te===void 0?void 0:te.call(n,e),ce=e.expandIcon||n.expandIcon||G.value,ge=M(bu(n,e,"title"),ee);return C("div",{style:Se.value,class:`${ie}-title`,tabindex:R.value?null:-1,ref:W,title:typeof ge=="string"?ge:null,"data-menu-id":d,"aria-expanded":me.value,"aria-haspopup":!0,"aria-controls":Pe,"aria-disabled":R.value,onClick:Ne,onFocus:ze},[ge,$.value!=="horizontal"&&ce?ce(m(m({},e),{isOpen:me.value})):C("i",{class:`${ie}-arrow`},null)])};return()=>{var Y;if(l)return D?(Y=n.default)===null||Y===void 0?void 0:Y.call(n):null;const te=k.value;let ie=()=>null;if(!_.value&&$.value!=="inline"){const ee=$.value==="horizontal"?[0,8]:[10,0];ie=()=>C(hh,{mode:H.value,prefixCls:te,visible:!e.internalPopupClose&&me.value,popupClassName:I.value,popupOffset:e.popupOffset||ee,disabled:R.value,onVisibleChange:we},{default:()=>[ne()],popup:()=>C(sl,{mode:J.value},{default:()=>[C(td,{id:Pe,ref:X},{default:n.default})]})})}else ie=()=>C(hh,null,{default:ne});return C(sl,{mode:Q.value},{default:()=>[C(so.Item,j(j({component:"li"},o),{},{role:"none",class:de(te,`${te}-${$.value}`,o.class,{[`${te}-open`]:me.value,[`${te}-active`]:Re.value,[`${te}-selected`]:Fe.value,[`${te}-disabled`]:R.value}),onMouseenter:re,onMouseleave:ve,"data-submenu-id":d}),{default:()=>C(Me,null,[ie(),!_.value&&C(E2,{id:Pe,open:me.value,keyPath:v.value},{default:n.default})])})]})}}});function m0(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function mh(e,t){e.classList?e.classList.add(t):m0(e,t)||(e.className=`${e.className} ${t}`)}function vh(e,t){if(e.classList)e.classList.remove(t);else if(m0(e,t)){const n=e.className;e.className=` ${n} `.replace(` ${t} `," ")}}const v0=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant-motion-collapse",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return{name:e,appear:t,css:!0,onBeforeEnter:n=>{n.style.height="0px",n.style.opacity="0",mh(n,e)},onEnter:n=>{at(()=>{n.style.height=`${n.scrollHeight}px`,n.style.opacity="1"})},onAfterEnter:n=>{n&&(vh(n,e),n.style.height=null,n.style.opacity=null)},onBeforeLeave:n=>{mh(n,e),n.style.height=`${n.offsetHeight}px`,n.style.opacity=null},onLeave:n=>{setTimeout(()=>{n.style.height="0px",n.style.opacity="0"})},onAfterLeave:n=>{n&&(vh(n,e),n.style&&(n.style.height=null,n.style.opacity=null))}}},P2=()=>({title:q.any,originItemValue:Ue()}),cl=se({compatConfig:{MODE:3},name:"AMenuItemGroup",inheritAttrs:!1,props:P2(),slots:Object,setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r}=Kn(),i=T(()=>`${r.value}-item-group`),a=ed();return()=>{var l,s;return a?(l=n.default)===null||l===void 0?void 0:l.call(n):C("li",j(j({},o),{},{onClick:c=>c.stopPropagation(),class:i.value}),[C("div",{title:typeof e.title=="string"?e.title:void 0,class:`${i.value}-title`},[bu(n,e,"title")]),C("ul",{class:`${i.value}-list`},[(s=n.default)===null||s===void 0?void 0:s.call(n)])])}}}),A2=()=>({prefixCls:String,dashed:Boolean}),ul=se({compatConfig:{MODE:3},name:"AMenuDivider",props:A2(),setup(e){const{prefixCls:t}=Kn(),n=T(()=>({[`${t.value}-item-divider`]:!0,[`${t.value}-item-divider-dashed`]:!!e.dashed}));return()=>C("li",{class:n.value},null)}});var I2=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{if(o&&typeof o=="object"){const i=o,{label:a,children:l,key:s,type:c}=i,d=I2(i,["label","children","key","type"]),u=s??`tmp-${r}`,f=n?n.parentKeys.slice():[],p=[],h={eventKey:u,key:u,parentEventKeys:pe(f),parentKeys:pe(f),childrenEventKeys:pe(p),isLeaf:!1};if(l||c==="group"){if(c==="group"){const g=Rc(l,t,n);return C(cl,j(j({key:u},d),{},{title:a,originItemValue:o}),{default:()=>[g]})}t.set(u,h),n&&n.childrenEventKeys.push(u);const v=Rc(l,t,{childrenEventKeys:p,parentKeys:[].concat(f,u)});return C(Dr,j(j({key:u},d),{},{title:a,originItemValue:o}),{default:()=>[v]})}return c==="divider"?C(ul,j({key:u},d),null):(h.isLeaf=!0,t.set(u,h),C(Fi,j(j({key:u},d),{},{originItemValue:o}),{default:()=>[a]}))}return null}).filter(o=>o)}function M2(e){const t=K([]),n=K(!1),o=K(new Map);return he(()=>e.items,()=>{const r=new Map;n.value=!1,e.items?(n.value=!0,t.value=Rc(e.items,r)):t.value=void 0,o.value=r},{immediate:!0,deep:!0}),{itemsNodes:t,store:o,hasItmes:n}}const R2=e=>{const{componentCls:t,motionDurationSlow:n,menuHorizontalHeight:o,colorSplit:r,lineWidth:i,lineType:a,menuItemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:`${o}px`,border:0,borderBottom:`${i}px ${a} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, + > ${t}-item-active, + > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},N2=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}},yh=e=>m({},Pi(e)),bh=(e,t)=>{const{componentCls:n,colorItemText:o,colorItemTextSelected:r,colorGroupTitle:i,colorItemBg:a,colorSubItemBg:l,colorItemBgSelected:s,colorActiveBarHeight:c,colorActiveBarWidth:d,colorActiveBarBorderSize:u,motionDurationSlow:f,motionEaseInOut:p,motionEaseOut:h,menuItemPaddingInline:v,motionDurationMid:g,colorItemTextHover:y,lineType:x,colorSplit:S,colorItemTextDisabled:E,colorDangerItemText:w,colorDangerItemTextHover:$,colorDangerItemTextSelected:b,colorDangerItemBgActive:O,colorDangerItemBgSelected:_,colorItemBgHover:P,menuSubMenuBg:N,colorItemTextSelectedHorizontal:B,colorItemBgSelectedHorizontal:F}=e;return{[`${n}-${t}`]:{color:o,background:a,[`&${n}-root:focus-visible`]:m({},yh(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:r}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${E} !important`},[`${n}-item:hover, ${n}-submenu-title:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:y}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:P},"&:active":{backgroundColor:s}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:P},"&:active":{backgroundColor:s}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:$}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:b},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:_}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:m({},yh(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:N},[`&${n}-popup > ${n}`]:{backgroundColor:a},[`&${n}-horizontal`]:m(m({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:u,marginTop:-u,marginBottom:0,borderRadius:0,"&::after":{position:"absolute",insetInline:v,bottom:0,borderBottom:`${c}px solid transparent`,transition:`border-color ${f} ${p}`,content:'""'},"&:hover, &-active, &-open":{"&::after":{borderBottomWidth:c,borderBottomColor:B}},"&-selected":{color:B,backgroundColor:F,"&::after":{borderBottomWidth:c,borderBottomColor:B}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${u}px ${x} ${S}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item, ${n}-submenu-title`]:u&&d?{width:`calc(100% + ${u}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${d}px solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${g} ${h}`,`opacity ${g} ${h}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:b}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${g} ${p}`,`opacity ${g} ${p}`].join(",")}}}}}},Ch=e=>{const{componentCls:t,menuItemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:i,marginXS:a,marginXXS:l}=e,s=r+i+a;return{[`${t}-item`]:{position:"relative"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:l,width:`calc(100% - ${o*2}px)`},[`${t}-submenu`]:{paddingBottom:.02},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:s}}},D2=e=>{const{componentCls:t,iconCls:n,menuItemHeight:o,colorTextLightSolid:r,dropdownWidth:i,controlHeightLG:a,motionDurationMid:l,motionEaseOut:s,paddingXL:c,fontSizeSM:d,fontSizeLG:u,motionDurationSlow:f,paddingXS:p,boxShadowSecondary:h}=e,v={height:o,lineHeight:`${o}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":m({[`&${t}-root`]:{boxShadow:"none"}},Ch(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:m(m({},Ch(e)),{boxShadow:h})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${a*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${f}`,`background ${f}`,`padding ${l} ${s}`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:o*2,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-item, + > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, + > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${d}px)`,textOverflow:"clip",[` + ${t}-submenu-arrow, + ${t}-submenu-expand-icon + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:u,lineHeight:`${o}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:m(m({},o$),{paddingInline:p})}}]},xh=e=>{const{componentCls:t,fontSize:n,motionDurationSlow:o,motionDurationMid:r,motionEaseInOut:i,motionEaseOut:a,iconCls:l,controlHeightSM:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${o}`,`background ${o}`,`padding ${o} ${i}`].join(","),[`${t}-item-icon, ${l}`]:{minWidth:n,fontSize:n,transition:[`font-size ${r} ${a}`,`margin ${o} ${i}`,`color ${o}`].join(","),"+ span":{marginInlineStart:s-n,opacity:1,transition:[`opacity ${o} ${i}`,`margin ${o}`,`color ${o}`].join(",")}},[`${t}-item-icon`]:m({},Tv()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Sh=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:i*.6,height:i*.15,backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${o}`,`transform ${n} ${o}`,`top ${n} ${o}`,`color ${n} ${o}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},B2=e=>{const{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:a,lineHeight:l,paddingXS:s,padding:c,colorSplit:d,lineWidth:u,zIndexPopup:f,borderRadiusLG:p,radiusSubMenuItem:h,menuArrowSize:v,menuArrowOffset:g,lineType:y,menuPanelMaskInset:x}=e;return[{"":{[`${n}`]:m(m({},Ja()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:m(m(m(m(m(m(m({},qt(e)),Ja()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.radiusItem},[`${n}-item-group-title`]:{padding:`${s}px ${c}px`,fontSize:o,lineHeight:l,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${a}`,`background ${r} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${a}`,`background ${r} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${a}`,`padding ${r} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:y,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),xh(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${o*2}px ${c}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,background:"transparent",borderRadius:p,boxShadow:"none",transformOrigin:"0 0","&::before":{position:"absolute",inset:`${x}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:x},[`> ${n}`]:m(m(m({borderRadius:p},xh(e)),Sh(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:h},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${a}`}})}}),Sh(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${g})`},"&::after":{transform:`rotate(45deg) translateX(-${g})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${v*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${g})`},"&::before":{transform:`rotate(45deg) translateX(${g})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},L2=(e,t)=>en("Menu",(o,r)=>{let{overrideComponentToken:i}=r;if((t==null?void 0:t.value)===!1)return[];const{colorBgElevated:a,colorPrimary:l,colorError:s,colorErrorHover:c,colorTextLightSolid:d}=o,{controlHeightLG:u,fontSize:f}=o,p=f/7*5,h=ht(o,{menuItemHeight:u,menuItemPaddingInline:o.margin,menuArrowSize:p,menuHorizontalHeight:u*1.15,menuArrowOffset:`${p*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:a}),v=new ft(d).setAlpha(.65).toRgbString(),g=ht(h,{colorItemText:v,colorItemTextHover:d,colorGroupTitle:v,colorItemTextSelected:d,colorItemBg:"#001529",colorSubItemBg:"#000c17",colorItemBgActive:"transparent",colorItemBgSelected:l,colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemTextDisabled:new ft(d).setAlpha(.25).toRgbString(),colorDangerItemText:s,colorDangerItemTextHover:c,colorDangerItemTextSelected:d,colorDangerItemBgActive:s,colorDangerItemBgSelected:s,menuSubMenuBg:"#001529",colorItemTextSelectedHorizontal:d,colorItemBgSelectedHorizontal:l},m({},i));return[B2(h),R2(h),D2(h),bh(h,"light"),bh(g,"dark"),N2(h),Uy(h),ol(h,"slide-up"),ol(h,"slide-down"),Kl(h,"zoom-big")]},o=>{const{colorPrimary:r,colorError:i,colorTextDisabled:a,colorErrorBg:l,colorText:s,colorTextDescription:c,colorBgContainer:d,colorFillAlter:u,colorFillContent:f,lineWidth:p,lineWidthBold:h,controlItemBgActive:v,colorBgTextHover:g}=o;return{dropdownWidth:160,zIndexPopup:o.zIndexPopupBase+50,radiusItem:o.borderRadiusLG,radiusSubMenuItem:o.borderRadiusSM,colorItemText:s,colorItemTextHover:s,colorItemTextHoverHorizontal:r,colorGroupTitle:c,colorItemTextSelected:r,colorItemTextSelectedHorizontal:r,colorItemBg:d,colorItemBgHover:g,colorItemBgActive:f,colorSubItemBg:u,colorItemBgSelected:v,colorItemBgSelectedHorizontal:"transparent",colorActiveBarWidth:0,colorActiveBarHeight:h,colorActiveBarBorderSize:p,colorItemTextDisabled:a,colorDangerItemText:i,colorDangerItemTextHover:i,colorDangerItemTextSelected:i,colorDangerItemBgActive:l,colorDangerItemBgSelected:l,itemMarginInline:o.marginXXS}})(e),F2=()=>({id:String,prefixCls:String,items:Array,disabled:Boolean,inlineCollapsed:Boolean,disabledOverflow:Boolean,forceSubMenuRender:Boolean,openKeys:Array,selectedKeys:Array,activeKey:String,selectable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},tabindex:{type:[Number,String]},motion:Object,role:String,theme:{type:String,default:"light"},mode:{type:String,default:"vertical"},inlineIndent:{type:Number,default:24},subMenuOpenDelay:{type:Number,default:0},subMenuCloseDelay:{type:Number,default:.1},builtinPlacements:{type:Object},triggerSubMenuAction:{type:String,default:"hover"},getPopupContainer:Function,expandIcon:Function,onOpenChange:Function,onSelect:Function,onDeselect:Function,onClick:[Function,Array],onFocus:Function,onBlur:Function,onMousedown:Function,"onUpdate:openKeys":Function,"onUpdate:selectedKeys":Function,"onUpdate:activeKey":Function}),wh=[],co=se({compatConfig:{MODE:3},name:"AMenu",inheritAttrs:!1,props:F2(),slots:Object,setup(e,t){let{slots:n,emit:o,attrs:r}=t;const{direction:i,getPrefixCls:a}=dt("menu",e),l=a0(),s=T(()=>{var re;return a("menu",e.prefixCls||((re=l==null?void 0:l.prefixCls)===null||re===void 0?void 0:re.value))}),[c,d]=L2(s,T(()=>!l)),u=K(new Map),f=qe(b2,pe(void 0)),p=T(()=>f.value!==void 0?f.value:e.inlineCollapsed),{itemsNodes:h}=M2(e),v=K(!1);ut(()=>{v.value=!0}),nt(()=>{Fn(!(e.inlineCollapsed===!0&&e.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Fn(!(f.value!==void 0&&e.inlineCollapsed===!0),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.")});const g=pe([]),y=pe([]),x=pe({});he(u,()=>{const re={};for(const ve of u.value.values())re[ve.key]=ve;x.value=re},{flush:"post"}),nt(()=>{if(e.activeKey!==void 0){let re=[];const ve=e.activeKey?x.value[e.activeKey]:void 0;ve&&e.activeKey!==void 0?re=As([].concat(it(ve.parentKeys),e.activeKey)):re=[],Qr(g.value,re)||(g.value=re)}}),he(()=>e.selectedKeys,re=>{re&&(y.value=re.slice())},{immediate:!0,deep:!0});const S=pe([]);he([x,y],()=>{let re=[];y.value.forEach(ve=>{const Se=x.value[ve];Se&&(re=re.concat(it(Se.parentKeys)))}),re=As(re),Qr(S.value,re)||(S.value=re)},{immediate:!0});const E=re=>{if(e.selectable){const{key:ve}=re,Se=y.value.includes(ve);let we;e.multiple?Se?we=y.value.filter(Pe=>Pe!==ve):we=[...y.value,ve]:we=[ve];const ze=m(m({},re),{selectedKeys:we});Qr(we,y.value)||(e.selectedKeys===void 0&&(y.value=we),o("update:selectedKeys",we),Se&&e.multiple?o("deselect",ze):o("select",ze))}P.value!=="inline"&&!e.multiple&&w.value.length&&F(wh)},w=pe([]);he(()=>e.openKeys,function(){let re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w.value;Qr(w.value,re)||(w.value=re.slice())},{immediate:!0,deep:!0});let $;const b=re=>{clearTimeout($),$=setTimeout(()=>{e.activeKey===void 0&&(g.value=re),o("update:activeKey",re[re.length-1])})},O=T(()=>!!e.disabled),_=T(()=>i.value==="rtl"),P=pe("vertical"),N=K(!1);nt(()=>{var re;(e.mode==="inline"||e.mode==="vertical")&&p.value?(P.value="vertical",N.value=p.value):(P.value=e.mode,N.value=!1),!((re=l==null?void 0:l.mode)===null||re===void 0)&&re.value&&(P.value=l.mode.value)});const B=T(()=>P.value==="inline"),F=re=>{w.value=re,o("update:openKeys",re),o("openChange",re)},G=pe(w.value),A=K(!1);he(w,()=>{B.value&&(G.value=w.value)},{immediate:!0}),he(B,()=>{if(!A.value){A.value=!0;return}B.value?w.value=G.value:F(wh)},{immediate:!0});const D=T(()=>({[`${s.value}`]:!0,[`${s.value}-root`]:!0,[`${s.value}-${P.value}`]:!0,[`${s.value}-inline-collapsed`]:N.value,[`${s.value}-rtl`]:_.value,[`${s.value}-${e.theme}`]:!0})),V=T(()=>a()),k=T(()=>({horizontal:{name:`${V.value}-slide-up`},inline:v0(`${V.value}-motion-collapse`),other:{name:`${V.value}-zoom-big`}}));f0(!0);const R=function(){let re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const ve=[],Se=u.value;return re.forEach(we=>{const{key:ze,childrenEventKeys:Pe}=Se.get(we);ve.push(ze,...R(it(Pe)))}),ve},W=re=>{var ve;o("click",re),E(re),(ve=l==null?void 0:l.onClick)===null||ve===void 0||ve.call(l)},X=(re,ve)=>{var Se;const we=((Se=x.value[re])===null||Se===void 0?void 0:Se.childrenEventKeys)||[];let ze=w.value.filter(Pe=>Pe!==re);if(ve)ze.push(re);else if(P.value!=="inline"){const Pe=R(it(we));ze=As(ze.filter(I=>!Pe.includes(I)))}Qr(w,ze)||F(ze)},ae=(re,ve)=>{u.value.set(re,ve),u.value=new Map(u.value)},me=re=>{u.value.delete(re),u.value=new Map(u.value)},Fe=pe(0),Re=T(()=>{var re;return e.expandIcon||n.expandIcon||!((re=l==null?void 0:l.expandIcon)===null||re===void 0)&&re.value?ve=>{let Se=e.expandIcon||n.expandIcon;return Se=typeof Se=="function"?Se(ve):Se,mt(Se,{class:`${s.value}-submenu-expand-icon`},!1)}:null});s0({prefixCls:s,activeKeys:g,openKeys:w,selectedKeys:y,changeActiveKeys:b,disabled:O,rtl:_,mode:P,inlineIndent:T(()=>e.inlineIndent),subMenuCloseDelay:T(()=>e.subMenuCloseDelay),subMenuOpenDelay:T(()=>e.subMenuOpenDelay),builtinPlacements:T(()=>e.builtinPlacements),triggerSubMenuAction:T(()=>e.triggerSubMenuAction),getPopupContainer:T(()=>e.getPopupContainer),inlineCollapsed:N,theme:T(()=>e.theme),siderCollapsed:f,defaultMotions:T(()=>v.value?k.value:null),motion:T(()=>v.value?e.motion:null),overflowDisabled:K(void 0),onOpenChange:X,onItemClick:W,registerMenuInfo:ae,unRegisterMenuInfo:me,selectedSubMenuKeys:S,expandIcon:Re,forceSubMenuRender:T(()=>e.forceSubMenuRender),rootClassName:d});const Ne=()=>{var re;return h.value||Nt((re=n.default)===null||re===void 0?void 0:re.call(n))};return()=>{var re;const ve=Ne(),Se=Fe.value>=ve.length-1||P.value!=="horizontal"||e.disabledOverflow,we=Pe=>P.value!=="horizontal"||e.disabledOverflow?Pe:Pe.map((I,M)=>C(sl,{key:I.key,overflowDisabled:M>Fe.value},{default:()=>I})),ze=((re=n.overflowedIndicator)===null||re===void 0?void 0:re.call(n))||C(Wl,null,null);return c(C(so,j(j({},r),{},{onMousedown:e.onMousedown,prefixCls:`${s.value}-overflow`,component:"ul",itemComponent:Fi,class:[D.value,r.class,d.value],role:"menu",id:e.id,data:we(ve),renderRawItem:Pe=>Pe,renderRawRest:Pe=>{const I=Pe.length,M=I?ve.slice(-I):null;return C(Me,null,[C(Dr,{eventKey:ya,key:ya,title:ze,disabled:Se,internalPopupClose:I===0},{default:()=>M}),C(ph,null,{default:()=>[C(Dr,{eventKey:ya,key:ya,title:ze,disabled:Se,internalPopupClose:I===0},{default:()=>M})]})])},maxCount:P.value!=="horizontal"||e.disabledOverflow?so.INVALIDATE:so.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:Pe=>{Fe.value=Pe}}),{default:()=>[C(hu,{to:"body"},{default:()=>[C("div",{style:{display:"none"},"aria-hidden":!0},[C(ph,null,{default:()=>[we(Ne())]})])]})]}))}}});co.install=function(e){return e.component(co.name,co),e.component(Fi.name,Fi),e.component(Dr.name,Dr),e.component(ul.name,ul),e.component(cl.name,cl),e};co.Item=Fi;co.Divider=ul;co.SubMenu=Dr;co.ItemGroup=cl;const H2=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),nd=e=>({borderColor:e.inputBorderHoverColor,borderInlineEndWidth:e.lineWidth}),Nc=e=>({borderColor:e.inputBorderHoverColor,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`,borderInlineEndWidth:e.lineWidth,outline:0}),j2=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":m({},nd(ht(e,{inputBorderHoverColor:e.colorBorder})))}),y0=e=>{const{inputPaddingVerticalLG:t,fontSizeLG:n,lineHeightLG:o,borderRadiusLG:r,inputPaddingHorizontalLG:i}=e;return{padding:`${t}px ${i}px`,fontSize:n,lineHeight:o,borderRadius:r}},b0=e=>({padding:`${e.inputPaddingVerticalSM}px ${e.controlPaddingHorizontalSM-1}px`,borderRadius:e.borderRadiusSM}),C0=(e,t)=>{const{componentCls:n,colorError:o,colorWarning:r,colorErrorOutline:i,colorWarningOutline:a,colorErrorBorderHover:l,colorWarningBorderHover:s}=e;return{[`&-status-error:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:o,"&:hover":{borderColor:l},"&:focus, &-focused":m({},Nc(ht(e,{inputBorderActiveColor:o,inputBorderHoverColor:o,controlOutline:i}))),[`${n}-prefix`]:{color:o}},[`&-status-warning:not(${t}-disabled):not(${t}-borderless)${t}`]:{borderColor:r,"&:hover":{borderColor:s},"&:focus, &-focused":m({},Nc(ht(e,{inputBorderActiveColor:r,inputBorderHoverColor:r,controlOutline:a}))),[`${n}-prefix`]:{color:r}}}},x0=e=>m(m({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${e.inputPaddingVertical}px ${e.inputPaddingHorizontal}px`,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,backgroundColor:e.colorBgContainer,backgroundImage:"none",borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:e.colorBorder,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},H2(e.colorTextPlaceholder)),{"&:hover":m({},nd(e)),"&:focus, &-focused":m({},Nc(e)),"&-disabled, &[disabled]":m({},j2(e)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":m({},y0(e)),"&-sm":m({},b0(e)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),k2=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:m({},y0(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:m({},b0(e)),[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${e.inputPaddingHorizontal}px`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,textAlign:"center",backgroundColor:e.colorFillAlter,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`-${e.inputPaddingVertical+1}px -${e.inputPaddingHorizontal}px`,[`&${n}-select-single:not(${n}-select-customize-input)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${e.lineWidth}px ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px -${e.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${t}`]:{float:"inline-start",width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:m(m({display:"block"},Ja()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`& > ${t}-affix-wrapper`]:{display:"inline-flex"},[`& > ${n}-picker-range`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth},[`${t}`]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:-e.lineWidth,[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}),[`&&-sm ${n}-btn`]:{fontSize:e.fontSizeSM,height:e.controlHeightSM,lineHeight:"normal"},[`&&-lg ${n}-btn`]:{fontSize:e.fontSizeLG,height:e.controlHeightLG,lineHeight:"normal"},[`&&-lg ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightLG}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightLG-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightLG}px`}},[`&&-sm ${n}-select-single ${n}-select-selector`]:{height:`${e.controlHeightSM}px`,[`${n}-select-selection-item, ${n}-select-selection-placeholder`]:{lineHeight:`${e.controlHeightSM-2}px`},[`${n}-select-selection-search-input`]:{height:`${e.controlHeightSM}px`}}}},z2=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:o}=e,i=(n-o*2-16)/2;return{[t]:m(m(m(m({},qt(e)),x0(e)),C0(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}}})}},K2=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${e.inputAffixPadding}px`}},"&-textarea-with-clear-btn":{padding:"0 !important",border:"0 !important",[`${t}-clear-icon`]:{position:"absolute",insetBlockStart:e.paddingXS,insetInlineEnd:e.paddingXS,zIndex:1}}}},W2=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:o,motionDurationSlow:r,colorIcon:i,colorIconHover:a,iconCls:l}=e;return{[`${t}-affix-wrapper`]:m(m(m(m(m({},x0(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:m(m({},nd(e)),{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:"transparent"}},[`> input${t}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&:focus":{boxShadow:"none !important"}},"&::before":{width:0,visibility:"hidden",content:'"\\a0"'},[`${t}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:o},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),K2(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:a}}}),C0(e,`${t}-affix-wrapper`))}},V2=e=>{const{componentCls:t,colorError:n,colorSuccess:o,borderRadiusLG:r,borderRadiusSM:i}=e;return{[`${t}-group`]:m(m(m({},qt(e)),k2(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r}},"&-sm":{[`${t}-group-addon`]:{borderRadius:i}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon:last-child`]:{color:o,borderColor:o}}}})}},U2=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-search`;return{[o]:{[`${t}`]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${o}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.lineHeightLG-2e-4},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${o}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius,borderEndStartRadius:0},[`${o}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${o}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${o}-button`]:{height:e.controlHeightLG},[`&-small ${o}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:-e.lineWidth,borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function G2(e){return ht(e,{inputAffixPadding:e.paddingXXS,inputPaddingVertical:Math.max(Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,3),inputPaddingVerticalLG:Math.ceil((e.controlHeightLG-e.fontSizeLG*e.lineHeightLG)/2*10)/10-e.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((e.controlHeightSM-e.fontSize*e.lineHeight)/2*10)/10-e.lineWidth,0),inputPaddingHorizontal:e.paddingSM-e.lineWidth,inputPaddingHorizontalSM:e.paddingXS-e.lineWidth,inputPaddingHorizontalLG:e.controlPaddingHorizontal-e.lineWidth,inputBorderHoverColor:e.colorPrimaryHover,inputBorderActiveColor:e.colorPrimaryHover})}const X2=e=>{const{componentCls:t,inputPaddingHorizontal:n,paddingLG:o}=e,r=`${t}-textarea`;return{[r]:{position:"relative",[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:n,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto"},"&-status-error,\n &-status-warning,\n &-status-success,\n &-status-validating":{[`&${r}-has-feedback`]:{[`${t}`]:{paddingInlineEnd:o}}},"&-show-count":{[`> ${t}`]:{height:"100%"},"&::after":{color:e.colorTextDescription,whiteSpace:"nowrap",content:"attr(data-count)",pointerEvents:"none",float:"right"}},"&-rtl":{"&::after":{float:"left"}}}}},od=en("Input",e=>{const t=G2(e);return[z2(t),X2(t),W2(t),V2(t),U2(t),Gy(t)]}),S0=Symbol("TreeContextKey"),q2=se({compatConfig:{MODE:3},name:"TreeContext",props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return rt(S0,T(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),rd=()=>qe(S0,T(()=>({}))),w0=Symbol("KeysStateKey"),Y2=e=>{rt(w0,e)},$0=()=>qe(w0,{expandedKeys:K([]),selectedKeys:K([]),loadedKeys:K([]),loadingKeys:K([]),checkedKeys:K([]),halfCheckedKeys:K([]),expandedKeysSet:T(()=>new Set),selectedKeysSet:T(()=>new Set),loadedKeysSet:T(()=>new Set),loadingKeysSet:T(()=>new Set),checkedKeysSet:T(()=>new Set),halfCheckedKeysSet:T(()=>new Set),flattenNodes:K([])}),Q2=e=>{let{prefixCls:t,level:n,isStart:o,isEnd:r}=e;const i=`${t}-indent-unit`,a=[];for(let l=0;l({prefixCls:String,focusable:{type:Boolean,default:void 0},activeKey:[Number,String],tabindex:Number,children:q.any,treeData:{type:Array},fieldNames:{type:Object},showLine:{type:[Boolean,Object],default:void 0},showIcon:{type:Boolean,default:void 0},icon:q.any,selectable:{type:Boolean,default:void 0},expandAction:[String,Boolean],disabled:{type:Boolean,default:void 0},multiple:{type:Boolean,default:void 0},checkable:{type:Boolean,default:void 0},checkStrictly:{type:Boolean,default:void 0},draggable:{type:[Function,Boolean]},defaultExpandParent:{type:Boolean,default:void 0},autoExpandParent:{type:Boolean,default:void 0},defaultExpandAll:{type:Boolean,default:void 0},defaultExpandedKeys:{type:Array},expandedKeys:{type:Array},defaultCheckedKeys:{type:Array},checkedKeys:{type:[Object,Array]},defaultSelectedKeys:{type:Array},selectedKeys:{type:Array},allowDrop:{type:Function},dropIndicatorRender:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onKeydown:{type:Function},onContextmenu:{type:Function},onClick:{type:Function},onDblclick:{type:Function},onScroll:{type:Function},onExpand:{type:Function},onCheck:{type:Function},onSelect:{type:Function},onLoad:{type:Function},loadData:{type:Function},loadedKeys:{type:Array},onMouseenter:{type:Function},onMouseleave:{type:Function},onRightClick:{type:Function},onDragstart:{type:Function},onDragenter:{type:Function},onDragover:{type:Function},onDragleave:{type:Function},onDragend:{type:Function},onDrop:{type:Function},onActiveChange:{type:Function},filterTreeNode:{type:Function},motion:q.any,switcherIcon:q.any,height:Number,itemHeight:Number,virtual:{type:Boolean,default:void 0},direction:{type:String},rootClassName:String,rootStyle:Object});var Z2=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r"`v-slot:"+L+"` ")}`;const i=K(!1),a=rd(),{expandedKeysSet:l,selectedKeysSet:s,loadedKeysSet:c,loadingKeysSet:d,checkedKeysSet:u,halfCheckedKeysSet:f}=$0(),{dragOverNodeKey:p,dropPosition:h,keyEntities:v}=a.value,g=T(()=>Ia(e.eventKey,{expandedKeysSet:l.value,selectedKeysSet:s.value,loadedKeysSet:c.value,loadingKeysSet:d.value,checkedKeysSet:u.value,halfCheckedKeysSet:f.value,dragOverNodeKey:p,dropPosition:h,keyEntities:v})),y=gn(()=>g.value.expanded),x=gn(()=>g.value.selected),S=gn(()=>g.value.checked),E=gn(()=>g.value.loaded),w=gn(()=>g.value.loading),$=gn(()=>g.value.halfChecked),b=gn(()=>g.value.dragOver),O=gn(()=>g.value.dragOverGapTop),_=gn(()=>g.value.dragOverGapBottom),P=gn(()=>g.value.pos),N=K(),B=T(()=>{const{eventKey:L}=e,{keyEntities:U}=a.value,{children:ue}=U[L]||{};return!!(ue||[]).length}),F=T(()=>{const{isLeaf:L}=e,{loadData:U}=a.value,ue=B.value;return L===!1?!1:L||!U&&!ue||U&&E.value&&!ue}),G=T(()=>F.value?null:y.value?$h:Oh),A=T(()=>{const{disabled:L}=e,{disabled:U}=a.value;return!!(U||L)}),D=T(()=>{const{checkable:L}=e,{checkable:U}=a.value;return!U||L===!1?!1:U}),V=T(()=>{const{selectable:L}=e,{selectable:U}=a.value;return typeof L=="boolean"?L:U}),k=T(()=>{const{data:L,active:U,checkable:ue,disableCheckbox:_e,disabled:Oe,selectable:He}=e;return m(m({active:U,checkable:ue,disableCheckbox:_e,disabled:Oe,selectable:He},L),{dataRef:L,data:L,isLeaf:F.value,checked:S.value,expanded:y.value,loading:w.value,selected:x.value,halfChecked:$.value})}),R=Zt(),W=T(()=>{const{eventKey:L}=e,{keyEntities:U}=a.value,{parent:ue}=U[L]||{};return m(m({},Ma(m({},e,g.value))),{parent:ue})}),X=vt({eventData:W,eventKey:T(()=>e.eventKey),selectHandle:N,pos:P,key:R.vnode.key});r(X);const ae=L=>{const{onNodeDoubleClick:U}=a.value;U(L,W.value)},me=L=>{if(A.value)return;const{onNodeSelect:U}=a.value;L.preventDefault(),U(L,W.value)},Fe=L=>{if(A.value)return;const{disableCheckbox:U}=e,{onNodeCheck:ue}=a.value;if(!D.value||U)return;L.preventDefault();const _e=!S.value;ue(L,W.value,_e)},Re=L=>{const{onNodeClick:U}=a.value;U(L,W.value),V.value?me(L):Fe(L)},Ne=L=>{const{onNodeMouseEnter:U}=a.value;U(L,W.value)},re=L=>{const{onNodeMouseLeave:U}=a.value;U(L,W.value)},ve=L=>{const{onNodeContextMenu:U}=a.value;U(L,W.value)},Se=L=>{const{onNodeDragStart:U}=a.value;L.stopPropagation(),i.value=!0,U(L,X);try{L.dataTransfer.setData("text/plain","")}catch{}},we=L=>{const{onNodeDragEnter:U}=a.value;L.preventDefault(),L.stopPropagation(),U(L,X)},ze=L=>{const{onNodeDragOver:U}=a.value;L.preventDefault(),L.stopPropagation(),U(L,X)},Pe=L=>{const{onNodeDragLeave:U}=a.value;L.stopPropagation(),U(L,X)},I=L=>{const{onNodeDragEnd:U}=a.value;L.stopPropagation(),i.value=!1,U(L,X)},M=L=>{const{onNodeDrop:U}=a.value;L.preventDefault(),L.stopPropagation(),i.value=!1,U(L,X)},H=L=>{const{onNodeExpand:U}=a.value;w.value||U(L,W.value)},Q=()=>{const{data:L}=e,{draggable:U}=a.value;return!!(U&&(!U.nodeDraggable||U.nodeDraggable(L)))},J=()=>{const{draggable:L,prefixCls:U}=a.value;return L&&(L!=null&&L.icon)?C("span",{class:`${U}-draggable-icon`},[L.icon]):null},ne=()=>{var L,U,ue;const{switcherIcon:_e=o.switcherIcon||((L=a.value.slots)===null||L===void 0?void 0:L[(ue=(U=e.data)===null||U===void 0?void 0:U.slots)===null||ue===void 0?void 0:ue.switcherIcon])}=e,{switcherIcon:Oe}=a.value,He=_e||Oe;return typeof He=="function"?He(k.value):He},Y=()=>{const{loadData:L,onNodeLoad:U}=a.value;w.value||L&&y.value&&!F.value&&!B.value&&!E.value&&U(W.value)};ut(()=>{Y()}),wn(()=>{Y()});const te=()=>{const{prefixCls:L}=a.value,U=ne();if(F.value)return U!==!1?C("span",{class:de(`${L}-switcher`,`${L}-switcher-noop`)},[U]):null;const ue=de(`${L}-switcher`,`${L}-switcher_${y.value?$h:Oh}`);return U!==!1?C("span",{onClick:H,class:ue},[U]):null},ie=()=>{var L,U;const{disableCheckbox:ue}=e,{prefixCls:_e}=a.value,Oe=A.value;return D.value?C("span",{class:de(`${_e}-checkbox`,S.value&&`${_e}-checkbox-checked`,!S.value&&$.value&&`${_e}-checkbox-indeterminate`,(Oe||ue)&&`${_e}-checkbox-disabled`),onClick:Fe},[(U=(L=a.value).customCheckable)===null||U===void 0?void 0:U.call(L)]):null},ee=()=>{const{prefixCls:L}=a.value;return C("span",{class:de(`${L}-iconEle`,`${L}-icon__${G.value||"docu"}`,w.value&&`${L}-icon_loading`)},null)},ce=()=>{const{disabled:L,eventKey:U}=e,{draggable:ue,dropLevelOffset:_e,dropPosition:Oe,prefixCls:He,indent:Z,dropIndicatorRender:oe,dragOverNodeKey:le,direction:ye}=a.value;return!L&&ue!==!1&&le===U?oe({dropPosition:Oe,dropLevelOffset:_e,indent:Z,prefixCls:He,direction:ye}):null},ge=()=>{var L,U,ue,_e,Oe,He;const{icon:Z=o.icon,data:oe}=e,le=o.title||((L=a.value.slots)===null||L===void 0?void 0:L[(ue=(U=e.data)===null||U===void 0?void 0:U.slots)===null||ue===void 0?void 0:ue.title])||((_e=a.value.slots)===null||_e===void 0?void 0:_e.title)||e.title,{prefixCls:ye,showIcon:Ae,icon:be,loadData:fe}=a.value,Be=A.value,Ge=`${ye}-node-content-wrapper`;let je;if(Ae){const wt=Z||((Oe=a.value.slots)===null||Oe===void 0?void 0:Oe[(He=oe==null?void 0:oe.slots)===null||He===void 0?void 0:He.icon])||be;je=wt?C("span",{class:de(`${ye}-iconEle`,`${ye}-icon__customize`)},[typeof wt=="function"?wt(k.value):wt]):ee()}else fe&&w.value&&(je=ee());let ke;typeof le=="function"?ke=le(k.value):ke=le,ke=ke===void 0?eM:ke;const We=C("span",{class:`${ye}-title`},[ke]);return C("span",{ref:N,title:typeof le=="string"?le:"",class:de(`${Ge}`,`${Ge}-${G.value||"normal"}`,!Be&&(x.value||i.value)&&`${ye}-node-selected`),onMouseenter:Ne,onMouseleave:re,onContextmenu:ve,onClick:Re,onDblclick:ae},[je,We,ce()])};return()=>{const L=m(m({},e),n),{eventKey:U,isLeaf:ue,isStart:_e,isEnd:Oe,domRef:He,active:Z,data:oe,onMousemove:le,selectable:ye}=L,Ae=Z2(L,["eventKey","isLeaf","isStart","isEnd","domRef","active","data","onMousemove","selectable"]),{prefixCls:be,filterTreeNode:fe,keyEntities:Be,dropContainerKey:Ge,dropTargetKey:je,draggingNodeKey:ke}=a.value,We=A.value,wt=ku(Ae,{aria:!0,data:!0}),{level:On}=Be[U]||{},tn=Oe[Oe.length-1],$t=Q(),Wn=!We&&$t,Kr=ke===U,Zl=ye!==void 0?{"aria-selected":!!ye}:void 0;return C("div",j(j({ref:He,class:de(n.class,`${be}-treenode`,{[`${be}-treenode-disabled`]:We,[`${be}-treenode-switcher-${y.value?"open":"close"}`]:!ue,[`${be}-treenode-checkbox-checked`]:S.value,[`${be}-treenode-checkbox-indeterminate`]:$.value,[`${be}-treenode-selected`]:x.value,[`${be}-treenode-loading`]:w.value,[`${be}-treenode-active`]:Z,[`${be}-treenode-leaf-last`]:tn,[`${be}-treenode-draggable`]:Wn,dragging:Kr,"drop-target":je===U,"drop-container":Ge===U,"drag-over":!We&&b.value,"drag-over-gap-top":!We&&O.value,"drag-over-gap-bottom":!We&&_.value,"filter-node":fe&&fe(W.value)}),style:n.style,draggable:Wn,"aria-grabbed":Kr,onDragstart:Wn?Se:void 0,onDragenter:$t?we:void 0,onDragover:$t?ze:void 0,onDragleave:$t?Pe:void 0,onDrop:$t?M:void 0,onDragend:$t?I:void 0,onMousemove:le},Zl),wt),[C(Q2,{prefixCls:be,level:On,isStart:_e,isEnd:Oe},null),J(),te(),ie(),ge()])}}});function Tn(e,t){if(!e)return[];const n=e.slice(),o=n.indexOf(t);return o>=0&&n.splice(o,1),n}function Gn(e,t){const n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function id(e){return e.split("-")}function E0(e,t){return`${e}-${t}`}function tM(e){return e&&e.type&&e.type.isTreeNode}function nM(e,t){const n=[],o=t[e];function r(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).forEach(a=>{let{key:l,children:s}=a;n.push(l),r(s)})}return r(o.children),n}function oM(e){if(e.parent){const t=id(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function rM(e){const t=id(e.pos);return Number(t[t.length-1])===0}function _h(e,t,n,o,r,i,a,l,s,c){var d;const{clientX:u,clientY:f}=e,{top:p,height:h}=e.target.getBoundingClientRect(),g=((c==="rtl"?-1:1)*(((r==null?void 0:r.x)||0)-u)-12)/o;let y=l[n.eventKey];if(fF.key===y.key),N=P<=0?0:P-1,B=a[N].key;y=l[B]}const x=y.key,S=y,E=y.key;let w=0,$=0;if(!s.has(x))for(let P=0;P-1.5?i({dragNode:b,dropNode:O,dropPosition:1})?w=1:_=!1:i({dragNode:b,dropNode:O,dropPosition:0})?w=0:i({dragNode:b,dropNode:O,dropPosition:1})?w=1:_=!1:i({dragNode:b,dropNode:O,dropPosition:1})?w=1:_=!1,{dropPosition:w,dropLevelOffset:$,dropTargetKey:y.key,dropTargetPos:y.pos,dragOverNodeKey:E,dropContainerKey:w===0?null:((d=y.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:_}}function Eh(e,t){if(!e)return;const{multiple:n}=t;return n?e.slice():e.length?[e[0]]:e}function Ns(e){if(!e)return null;let t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(typeof e=="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return null;return t}function Bc(e,t){const n=new Set;function o(r){if(n.has(r))return;const i=t[r];if(!i)return;n.add(r);const{parent:a,node:l}=i;l.disabled||a&&o(a.key)}return(e||[]).forEach(r=>{o(r)}),[...n]}var iM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r0&&arguments[0]!==void 0?arguments[0]:[];return sn(n).map(r=>{var i,a,l,s;if(!tM(r))return null;const c=r.children||{},d=r.key,u={};for(const[P,N]of Object.entries(r.props))u[yu(P)]=N;const{isLeaf:f,checkable:p,selectable:h,disabled:v,disableCheckbox:g}=u,y={isLeaf:f||f===""||void 0,checkable:p||p===""||void 0,selectable:h||h===""||void 0,disabled:v||v===""||void 0,disableCheckbox:g||g===""||void 0},x=m(m({},u),y),{title:S=(i=c.title)===null||i===void 0?void 0:i.call(c,x),icon:E=(a=c.icon)===null||a===void 0?void 0:a.call(c,x),switcherIcon:w=(l=c.switcherIcon)===null||l===void 0?void 0:l.call(c,x)}=u,$=iM(u,["title","icon","switcherIcon"]),b=(s=c.default)===null||s===void 0?void 0:s.call(c),O=m(m(m({},$),{title:S,icon:E,switcherIcon:w,key:d,isLeaf:f}),y),_=t(b);return _.length&&(O.children=_),O})}return t(e)}function aM(e,t,n){const{_title:o,key:r,children:i}=Vl(n),a=new Set(t===!0?[]:t),l=[];function s(c){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return c.map((u,f)=>{const p=E0(d?d.pos:"0",f),h=Ui(u[r],p);let v;for(let y=0;yf[i]:typeof i=="function"&&(d=f=>i(f)):d=(f,p)=>Ui(f[l],p);function u(f,p,h,v){const g=f?f[c]:e,y=f?E0(h.pos,p):"0",x=f?[...v,f]:[];if(f){const S=d(f,y),E={node:f,index:p,pos:y,key:S,parentPos:h.node?h.pos:null,level:h.level+1,nodes:x};t(E)}g&&g.forEach((S,E)=>{u(S,E,{node:f,pos:y,level:h?h.level+1:-1},x)})}u(null)}function T0(e){let{initWrapper:t,processEntity:n,onProcessFinished:o,externalGetKey:r,childrenPropName:i,fieldNames:a}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=arguments.length>2?arguments[2]:void 0;const s=r||l,c={},d={};let u={posEntities:c,keyEntities:d};return t&&(u=t(u)||u),lM(e,f=>{const{node:p,index:h,pos:v,key:g,parentPos:y,level:x,nodes:S}=f,E={node:p,nodes:S,index:h,key:g,pos:v,level:x},w=Ui(g,v);c[v]=E,d[w]=E,E.parent=c[y],E.parent&&(E.parent.children=E.parent.children||[],E.parent.children.push(E)),n&&n(E,u)},{externalGetKey:s,childrenPropName:i,fieldNames:a}),o&&o(u),u}function Ia(e,t){let{expandedKeysSet:n,selectedKeysSet:o,loadedKeysSet:r,loadingKeysSet:i,checkedKeysSet:a,halfCheckedKeysSet:l,dragOverNodeKey:s,dropPosition:c,keyEntities:d}=t;const u=d[e];return{eventKey:e,expanded:n.has(e),selected:o.has(e),loaded:r.has(e),loading:i.has(e),checked:a.has(e),halfChecked:l.has(e),pos:String(u?u.pos:""),parent:u.parent,dragOver:s===e&&c===0,dragOverGapTop:s===e&&c===-1,dragOverGapBottom:s===e&&c===1}}function Ma(e){const{data:t,expanded:n,selected:o,checked:r,loaded:i,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:c,dragOverGapBottom:d,pos:u,active:f,eventKey:p}=e,h=m(m({dataRef:t},t),{expanded:n,selected:o,checked:r,loaded:i,loading:a,halfChecked:l,dragOver:s,dragOverGapTop:c,dragOverGapBottom:d,pos:u,active:f,eventKey:p,key:p});return"props"in h||Object.defineProperty(h,"props",{get(){return e}}),h}function P0(e,t){const n=new Set;return e.forEach(o=>{t.has(o)||n.add(o)}),n}function sM(e){const{disabled:t,disableCheckbox:n,checkable:o}=e||{};return!!(t||n)||o===!1}function cM(e,t,n,o){const r=new Set(e),i=new Set;for(let l=0;l<=n;l+=1)(t.get(l)||new Set).forEach(c=>{const{key:d,node:u,children:f=[]}=c;r.has(d)&&!o(u)&&f.filter(p=>!o(p.node)).forEach(p=>{r.add(p.key)})});const a=new Set;for(let l=n;l>=0;l-=1)(t.get(l)||new Set).forEach(c=>{const{parent:d,node:u}=c;if(o(u)||!c.parent||a.has(c.parent.key))return;if(o(c.parent.node)){a.add(d.key);return}let f=!0,p=!1;(d.children||[]).filter(h=>!o(h.node)).forEach(h=>{let{key:v}=h;const g=r.has(v);f&&!g&&(f=!1),!p&&(g||i.has(v))&&(p=!0)}),f&&r.add(d.key),p&&i.add(d.key),a.add(d.key)});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(P0(i,r))}}function uM(e,t,n,o,r){const i=new Set(e);let a=new Set(t);for(let s=0;s<=o;s+=1)(n.get(s)||new Set).forEach(d=>{const{key:u,node:f,children:p=[]}=d;!i.has(u)&&!a.has(u)&&!r(f)&&p.filter(h=>!r(h.node)).forEach(h=>{i.delete(h.key)})});a=new Set;const l=new Set;for(let s=o;s>=0;s-=1)(n.get(s)||new Set).forEach(d=>{const{parent:u,node:f}=d;if(r(f)||!d.parent||l.has(d.parent.key))return;if(r(d.parent.node)){l.add(u.key);return}let p=!0,h=!1;(u.children||[]).filter(v=>!r(v.node)).forEach(v=>{let{key:g}=v;const y=i.has(g);p&&!y&&(p=!1),!h&&(y||a.has(g))&&(h=!0)}),p||i.delete(u.key),h&&a.add(u.key),l.add(u.key)});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(P0(a,i))}}function Ds(e,t,n,o,r,i){let a;a=sM;const l=new Set(e.filter(c=>!!n[c]));let s;return t===!0?s=cM(l,r,o,a):s=uM(l,t.halfCheckedKeys,r,o,a),s}function dM(e){const t=pe(0),n=K();return nt(()=>{const o=new Map;let r=0;const i=e.value||{};for(const a in i)if(Object.prototype.hasOwnProperty.call(i,a)){const l=i[a],{level:s}=l;let c=o.get(s);c||(c=new Set,o.set(s,c)),c.add(l),r=Math.max(r,s)}t.value=r,n.value=o}),{maxLevel:t,levelEntities:n}}const fM=()=>cn()&&window.document.documentElement,pM=new De("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),hM=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:m(m({},qt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:m(m({},qt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:m(m({},qt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:m({},Pi(e))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.checkboxSize/14*5,height:e.checkboxSize/14*8,border:`${e.lineWidthBold}px solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[t]:{"&-indeterminate":{[`${t}-inner`]:{"&:after":{top:"50%",insetInlineStart:"50%",width:e.fontSizeLG/2,height:e.fontSizeLG/2,backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${n}:hover ${t}:after`]:{visibility:"visible"},[` + ${n}:not(${n}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}},"&:after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderRadius:e.borderRadiusSM,visibility:"hidden",border:`${e.lineWidthBold}px solid ${e.colorPrimary}`,animationName:pM,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[` + ${n}-checked:not(${n}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}:after`]:{borderColor:e.colorPrimaryHover}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function gM(e,t){const n=ht(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[hM(n)]}let Ra=m({},Wo.Modal);function mM(e){e?Ra=m(m({},Ra),e):Ra=m({},Wo.Modal)}function vM(){return Ra}const Fc="internalMark",Na=se({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;Ki(e.ANT_MARK__===Fc);const o=vt({antLocale:m(m({},e.locale),{exist:!0}),ANT_MARK__:Fc});return rt("localeData",o),he(()=>e.locale,r=>{mM(r&&r.Modal),o.antLocale=m(m({},r),{exist:!0})},{immediate:!0}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});Na.install=function(e){return e.component(Na.name,Na),e};const yM=Pl(Na),A0=se({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:n,slots:o}=t,r,i=!1;const a=T(()=>e.duration===void 0?4.5:e.duration),l=()=>{a.value&&!i&&(r=setTimeout(()=>{c()},a.value*1e3))},s=()=>{r&&(clearTimeout(r),r=null)},c=u=>{u&&u.stopPropagation(),s();const{onClose:f,noticeKey:p}=e;f&&f(p)},d=()=>{s(),l()};return ut(()=>{l()}),yo(()=>{i=!0,s()}),he([a,()=>e.updateMark,()=>e.visible],(u,f)=>{let[p,h,v]=u,[g,y,x]=f;(p!==g||h!==y||v!==x&&x)&&d()},{flush:"post"}),()=>{var u,f;const{prefixCls:p,closable:h,closeIcon:v=(u=o.closeIcon)===null||u===void 0?void 0:u.call(o),onClick:g,holder:y}=e,{class:x,style:S}=n,E=`${p}-notice`,w=Object.keys(n).reduce((b,O)=>((O.startsWith("data-")||O.startsWith("aria-")||O==="role")&&(b[O]=n[O]),b),{}),$=C("div",j({class:de(E,x,{[`${E}-closable`]:h}),style:S,onMouseenter:s,onMouseleave:l,onClick:g},w),[C("div",{class:`${E}-content`},[(f=o.default)===null||f===void 0?void 0:f.call(o)]),h?C("a",{tabindex:0,onClick:c,class:`${E}-close`},[v||C("span",{class:`${E}-close-x`},null)]):null]);return y?C(hu,{to:y},{default:()=>$}):$}}});var bM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{const{prefixCls:d,animation:u="fade"}=e;let f=e.transitionName;return!f&&u&&(f=`${d}-${u}`),Cy(f)}),s=(d,u)=>{const f=d.key||Ph(),p=m(m({},d),{key:f}),{maxCount:h}=e,v=a.value.map(y=>y.notice.key).indexOf(f),g=a.value.concat();v!==-1?g.splice(v,1,{notice:p,holderCallback:u}):(h&&a.value.length>=h&&(p.key=g[0].notice.key,p.updateMark=Ph(),p.userPassKey=f,g.shift()),g.push({notice:p,holderCallback:u})),a.value=g},c=d=>{a.value=a.value.filter(u=>{let{notice:{key:f,userPassKey:p}}=u;return(p||f)!==d})};return o({add:s,remove:c,notices:a}),()=>{var d;const{prefixCls:u,closeIcon:f=(d=r.closeIcon)===null||d===void 0?void 0:d.call(r,{prefixCls:u})}=e,p=a.value.map((v,g)=>{let{notice:y,holderCallback:x}=v;const S=g===a.value.length-1?y.updateMark:void 0,{key:E,userPassKey:w}=y,{content:$}=y,b=m(m(m({prefixCls:u,closeIcon:typeof f=="function"?f({prefixCls:u}):f},y),y.props),{key:E,noticeKey:w||E,updateMark:S,onClose:O=>{var _;c(O),(_=y.onClose)===null||_===void 0||_.call(y)},onClick:y.onClick});return x?C("div",{key:E,class:`${u}-hook-holder`,ref:O=>{typeof E>"u"||(O?(i.set(E,O),x(O,b)):i.delete(E))}},null):C(A0,j(j({},b),{},{class:de(b.class,e.hashId)}),{default:()=>[typeof $=="function"?$({prefixCls:u}):$]})}),h={[u]:1,[n.class]:!!n.class,[e.hashId]:!0};return C("div",{class:h,style:n.style||{top:"65px",left:"50%"}},[C(Hm,j({tag:"div"},l.value),{default:()=>[p]})])}}});dl.newInstance=function(t,n){const o=t||{},{name:r="notification",getContainer:i,appContext:a,prefixCls:l,rootPrefixCls:s,transitionName:c,hasTransitionName:d,useStyle:u}=o,f=bM(o,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),p=document.createElement("div");i?i().appendChild(p):document.body.appendChild(p);const v=C(se({compatConfig:{MODE:3},name:"NotificationWrapper",setup(g,y){let{attrs:x}=y;const S=K(),E=T(()=>yt.getPrefixCls(r,l)),[,w]=u(E);return ut(()=>{n({notice($){var b;(b=S.value)===null||b===void 0||b.add($)},removeNotice($){var b;(b=S.value)===null||b===void 0||b.remove($)},destroy(){zo(null,p),p.parentNode&&p.parentNode.removeChild(p)},component:S})}),()=>{const $=yt,b=$.getRootPrefixCls(s,E.value),O=d?c:`${E.value}-${c}`;return C($r,j(j({},$),{},{prefixCls:b}),{default:()=>[C(dl,j(j({ref:S},x),{},{prefixCls:E.value,transitionName:O,hashId:w.value}),null)]})}}}),f);v.appContext=a||v.appContext,zo(v,p)};let Ah=0;const xM=Date.now();function Ih(){const e=Ah;return Ah+=1,`rcNotification_${xM}_${e}`}const SM=se({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:n,slots:o}=t;const r=new Map,i=T(()=>e.notices),a=T(()=>{let d=e.transitionName;if(!d&&e.animation)switch(typeof e.animation){case"string":d=e.animation;break;case"function":d=e.animation().name;break;case"object":d=e.animation.name;break;default:d=`${e.prefixCls}-fade`;break}return Cy(d)}),l=d=>e.remove(d),s=pe({});he(i,()=>{const d={};Object.keys(s.value).forEach(u=>{d[u]=[]}),e.notices.forEach(u=>{const{placement:f="topRight"}=u.notice;f&&(d[f]=d[f]||[],d[f].push(u))}),s.value=d});const c=T(()=>Object.keys(s.value));return()=>{var d;const{prefixCls:u,closeIcon:f=(d=o.closeIcon)===null||d===void 0?void 0:d.call(o,{prefixCls:u})}=e,p=c.value.map(h=>{var v,g;const y=s.value[h],x=(v=e.getClassName)===null||v===void 0?void 0:v.call(e,h),S=(g=e.getStyles)===null||g===void 0?void 0:g.call(e,h),E=y.map((b,O)=>{let{notice:_,holderCallback:P}=b;const N=O===i.value.length-1?_.updateMark:void 0,{key:B,userPassKey:F}=_,{content:G}=_,A=m(m(m({prefixCls:u,closeIcon:typeof f=="function"?f({prefixCls:u}):f},_),_.props),{key:B,noticeKey:F||B,updateMark:N,onClose:D=>{var V;l(D),(V=_.onClose)===null||V===void 0||V.call(_)},onClick:_.onClick});return P?C("div",{key:B,class:`${u}-hook-holder`,ref:D=>{typeof B>"u"||(D?(r.set(B,D),P(D,A)):r.delete(B))}},null):C(A0,j(j({},A),{},{class:de(A.class,e.hashId)}),{default:()=>[typeof G=="function"?G({prefixCls:u}):G]})}),w={[u]:1,[`${u}-${h}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[x]:!!x};function $(){var b;y.length>0||(Reflect.deleteProperty(s.value,h),(b=e.onAllRemoved)===null||b===void 0||b.call(e))}return C("div",{key:h,class:w,style:n.style||S||{top:"65px",left:"50%"}},[C(Hm,j(j({tag:"div"},a.value),{},{onAfterLeave:$}),{default:()=>[E]})])});return C(Sy,{getContainer:e.getContainer},{default:()=>[p]})}}}),wM=SM;var $M=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rdocument.body;let Mh=0;function _M(){const e={};for(var t=arguments.length,n=new Array(t),o=0;o{r&&Object.keys(r).forEach(i=>{const a=r[i];a!==void 0&&(e[i]=a)})}),e}function I0(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=OM,motion:n,prefixCls:o,maxCount:r,getClassName:i,getStyles:a,onAllRemoved:l}=e,s=$M(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),c=K([]),d=K(),u=(y,x)=>{const S=y.key||Ih(),E=m(m({},y),{key:S}),w=c.value.map(b=>b.notice.key).indexOf(S),$=c.value.concat();w!==-1?$.splice(w,1,{notice:E,holderCallback:x}):(r&&c.value.length>=r&&(E.key=$[0].notice.key,E.updateMark=Ih(),E.userPassKey=S,$.shift()),$.push({notice:E,holderCallback:x})),c.value=$},f=y=>{c.value=c.value.filter(x=>{let{notice:{key:S,userPassKey:E}}=x;return(E||S)!==y})},p=()=>{c.value=[]},h=()=>C(wM,{ref:d,prefixCls:o,maxCount:r,notices:c.value,remove:f,getClassName:i,getStyles:a,animation:n,hashId:e.hashId,onAllRemoved:l,getContainer:t},null),v=K([]),g={open:y=>{const x=_M(s,y);(x.key===null||x.key===void 0)&&(x.key=`vc-notification-${Mh}`,Mh+=1),v.value=[...v.value,{type:"open",config:x}]},close:y=>{v.value=[...v.value,{type:"close",key:y}]},destroy:()=>{v.value=[...v.value,{type:"destroy"}]}};return he(v,()=>{v.value.length&&(v.value.forEach(y=>{switch(y.type){case"open":u(y.config);break;case"close":f(y.key);break;case"destroy":p();break}}),v.value=[])}),[g,h]}const EM=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:o,colorBgElevated:r,colorSuccess:i,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:c,motionEaseInOutCirc:d,motionDurationSlow:u,marginXS:f,paddingXS:p,borderRadiusLG:h,zIndexPopup:v,messageNoticeContentPadding:g}=e,y=new De("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:p,transform:"translateY(0)",opacity:1}}),x=new De("MessageMoveOut",{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:m(m({},qt(e)),{position:"fixed",top:f,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:v,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + ${t}-move-up-appear, + ${t}-move-up-enter + `]:{animationName:y,animationDuration:u,animationPlayState:"paused",animationTimingFunction:d},[` + ${t}-move-up-appear${t}-move-up-appear-active, + ${t}-move-up-enter${t}-move-up-enter-active + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:x,animationDuration:u,animationPlayState:"paused",animationTimingFunction:d},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${t}-notice`]:{padding:p,textAlign:"center",[n]:{verticalAlign:"text-bottom",marginInlineEnd:f,fontSize:c},[`${t}-notice-content`]:{display:"inline-block",padding:g,background:r,borderRadius:h,boxShadow:o,pointerEvents:"all"},[`${t}-success ${n}`]:{color:i},[`${t}-error ${n}`]:{color:a},[`${t}-warning ${n}`]:{color:l},[` + ${t}-info ${n}, + ${t}-loading ${n}`]:{color:s}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},M0=en("Message",e=>{const t=ht(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[EM(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),TM={info:C(ir,null,null),success:C(or,null,null),error:C(zn,null,null),warning:C(rr,null,null),loading:C(ho,null,null)},PM=se({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:n}=t;return()=>{var o;return C("div",{class:de(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||TM[e.type],C("span",null,[(o=n.default)===null||o===void 0?void 0:o.call(n)])])}}});var AM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);ri("message",e.prefixCls)),[,s]=M0(l),c=()=>{var v;const g=(v=e.top)!==null&&v!==void 0?v:IM;return{left:"50%",transform:"translateX(-50%)",top:typeof g=="number"?`${g}px`:g}},d=()=>de(s.value,e.rtl?`${l.value}-rtl`:""),u=()=>{var v;return Iu({prefixCls:l.value,animation:(v=e.animation)!==null&&v!==void 0?v:"move-up",transitionName:e.transitionName})},f=C("span",{class:`${l.value}-close-x`},[C(jr,{class:`${l.value}-close-icon`},null)]),[p,h]=I0({getStyles:c,prefixCls:l.value,getClassName:d,motion:u,closable:!1,closeIcon:f,duration:(o=e.duration)!==null&&o!==void 0?o:MM,getContainer:(r=e.staticGetContainer)!==null&&r!==void 0?r:a.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return n(m(m({},p),{prefixCls:l,hashId:s})),h}});let Rh=0;function NM(e){const t=K(null),n=Symbol("messageHolderKey"),o=s=>{var c;(c=t.value)===null||c===void 0||c.close(s)},r=s=>{if(!t.value){const w=()=>{};return w.then=()=>{},w}const{open:c,prefixCls:d,hashId:u}=t.value,f=`${d}-notice`,{content:p,icon:h,type:v,key:g,class:y,onClose:x}=s,S=AM(s,["content","icon","type","key","class","onClose"]);let E=g;return E==null&&(Rh+=1,E=`antd-message-${Rh}`),Jx(w=>(c(m(m({},S),{key:E,content:()=>C(PM,{prefixCls:d,type:v,icon:typeof h=="function"?h():h},{default:()=>[typeof p=="function"?p():p]}),placement:"top",class:de(v&&`${f}-${v}`,u,y),onClose:()=>{x==null||x(),w()}})),()=>{o(E)}))},a={open:r,destroy:s=>{var c;s!==void 0?o(s):(c=t.value)===null||c===void 0||c.destroy()}};return["info","success","warning","error","loading"].forEach(s=>{const c=(d,u,f)=>{let p;d&&typeof d=="object"&&"content"in d?p=d:p={content:d};let h,v;typeof u=="function"?v=u:(h=u,v=f);const g=m(m({onClose:v,duration:h},p),{type:s});return r(g)};a[s]=c}),[a,()=>C(RM,j(j({key:n},e),{},{ref:t}),null)]}function DM(e){return NM(e)}let R0=3,N0,Tt,BM=1,D0="",B0="move-up",L0=!1,F0=()=>document.body,H0,j0=!1;function LM(){return BM++}function FM(e){e.top!==void 0&&(N0=e.top,Tt=null),e.duration!==void 0&&(R0=e.duration),e.prefixCls!==void 0&&(D0=e.prefixCls),e.getContainer!==void 0&&(F0=e.getContainer,Tt=null),e.transitionName!==void 0&&(B0=e.transitionName,Tt=null,L0=!0),e.maxCount!==void 0&&(H0=e.maxCount,Tt=null),e.rtl!==void 0&&(j0=e.rtl)}function HM(e,t){if(Tt){t(Tt);return}dl.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||D0,rootPrefixCls:e.rootPrefixCls,transitionName:B0,hasTransitionName:L0,style:{top:N0},getContainer:F0||e.getPopupContainer,maxCount:H0,name:"message",useStyle:M0},n=>{if(Tt){t(Tt);return}Tt=n,t(n)})}const k0={info:ir,success:or,error:zn,warning:rr,loading:ho},jM=Object.keys(k0);function kM(e){const t=e.duration!==void 0?e.duration:R0,n=e.key||LM(),o=new Promise(i=>{const a=()=>(typeof e.onClose=="function"&&e.onClose(),i(!0));HM(e,l=>{l.notice({key:n,duration:t,style:e.style||{},class:e.class,content:s=>{let{prefixCls:c}=s;const d=k0[e.type],u=d?C(d,null,null):"",f=de(`${c}-custom-content`,{[`${c}-${e.type}`]:e.type,[`${c}-rtl`]:j0===!0});return C("div",{class:f},[typeof e.icon=="function"?e.icon():e.icon||u,C("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:a,onClick:e.onClick})})}),r=()=>{Tt&&Tt.removeNotice(n)};return r.then=(i,a)=>o.then(i,a),r.promise=o,r}function zM(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const uo={open:kM,config:FM,destroy(e){if(Tt)if(e){const{removeNotice:t}=Tt;t(e)}else{const{destroy:t}=Tt;t(),Tt=null}}};function KM(e,t){e[t]=(n,o,r)=>zM(n)?e.open(m(m({},n),{type:t})):(typeof o=="function"&&(r=o,o=void 0),e.open({content:n,duration:o,type:t,onClose:r}))}jM.forEach(e=>KM(uo,e));uo.warn=uo.warning;uo.useMessage=DM;const WM=e=>{const{componentCls:t,width:n,notificationMarginEdge:o}=e,r=new De("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),i=new De("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),a=new De("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:r}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:o,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}}}},VM=e=>{const{iconCls:t,componentCls:n,boxShadowSecondary:o,fontSizeLG:r,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:c,colorError:d,colorTextHeading:u,notificationBg:f,notificationPadding:p,notificationMarginEdge:h,motionDurationMid:v,motionEaseInOut:g,fontSize:y,lineHeight:x,width:S,notificationIconSize:E}=e,w=`${n}-notice`,$=new De("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:S},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),b=new De("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[n]:m(m(m(m({},qt(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:h,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[`${n}-notice`]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[`${n}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:g,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:g,animationFillMode:"both",animationDuration:v,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:$,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:b,animationPlayState:"running"}}),WM(e)),{"&-rtl":{direction:"rtl",[`${n}-notice-btn`]:{float:"left"}}})},{[w]:{position:"relative",width:S,maxWidth:`calc(100vw - ${h*2}px)`,marginBottom:i,marginInlineStart:"auto",padding:p,overflow:"hidden",lineHeight:x,wordWrap:"break-word",background:f,borderRadius:a,boxShadow:o,[`${n}-close-icon`]:{fontSize:y,cursor:"pointer"},[`${w}-message`]:{marginBottom:e.marginXS,color:u,fontSize:r,lineHeight:e.lineHeightLG},[`${w}-description`]:{fontSize:y},[`&${w}-closable ${w}-message`]:{paddingInlineEnd:e.paddingLG},[`${w}-with-icon ${w}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+E,fontSize:r},[`${w}-with-icon ${w}-description`]:{marginInlineStart:e.marginSM+E,fontSize:y},[`${w}-icon`]:{position:"absolute",fontSize:E,lineHeight:0,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:d}},[`${w}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${w}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${w}-pure-panel`]:{margin:0}}]},z0=en("Notification",e=>{const t=e.paddingMD,n=e.paddingLG,o=ht(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[VM(o)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function UM(e,t){return C("span",{class:`${e}-close-x`},[C(jr,{class:`${e}-close-icon`},null)])}C(ir,null,null),C(or,null,null),C(zn,null,null),C(rr,null,null),C(ho,null,null);const GM={success:or,info:ir,error:zn,warning:rr};function XM(e){let{prefixCls:t,icon:n,type:o,message:r,description:i,btn:a}=e,l=null;if(n)l=C("span",{class:`${t}-icon`},[gr(n)]);else if(o){const s=GM[o];l=C(s,{class:`${t}-icon ${t}-icon-${o}`},null)}return C("div",{class:de({[`${t}-with-icon`]:l}),role:"alert"},[l,C("div",{class:`${t}-message`},[r]),C("div",{class:`${t}-description`},[i]),a&&C("div",{class:`${t}-btn`},[a])])}function K0(e,t,n){let o;switch(t=typeof t=="number"?`${t}px`:t,n=typeof n=="number"?`${n}px`:n,e){case"top":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":o={left:0,top:t,bottom:"auto"};break;case"topRight":o={right:0,top:t,bottom:"auto"};break;case"bottom":o={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":o={left:0,top:"auto",bottom:n};break;default:o={right:0,top:"auto",bottom:n};break}return o}function qM(e){return{name:`${e}-fade`}}var YM=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.prefixCls||o("notification")),a=f=>{var p,h;return K0(f,(p=e.top)!==null&&p!==void 0?p:Nh,(h=e.bottom)!==null&&h!==void 0?h:Nh)},[,l]=z0(i),s=()=>de(l.value,{[`${i.value}-rtl`]:e.rtl}),c=()=>qM(i.value),[d,u]=I0({prefixCls:i.value,getStyles:a,getClassName:s,motion:c,closable:!0,closeIcon:UM(i.value),duration:QM,getContainer:()=>{var f,p;return((f=e.getPopupContainer)===null||f===void 0?void 0:f.call(e))||((p=r.value)===null||p===void 0?void 0:p.call(r))||document.body},maxCount:e.maxCount,hashId:l.value,onAllRemoved:e.onAllRemoved});return n(m(m({},d),{prefixCls:i.value,hashId:l})),u}});function ZM(e){const t=K(null),n=Symbol("notificationHolderKey"),o=l=>{if(!t.value)return;const{open:s,prefixCls:c,hashId:d}=t.value,u=`${c}-notice`,{message:f,description:p,icon:h,type:v,btn:g,class:y}=l,x=YM(l,["message","description","icon","type","btn","class"]);return s(m(m({placement:"topRight"},x),{content:()=>C(XM,{prefixCls:u,icon:typeof h=="function"?h():h,type:v,message:typeof f=="function"?f():f,description:typeof p=="function"?p():p,btn:typeof g=="function"?g():g},null),class:de(v&&`${u}-${v}`,d,y)}))},i={open:o,destroy:l=>{var s,c;l!==void 0?(s=t.value)===null||s===void 0||s.close(l):(c=t.value)===null||c===void 0||c.destroy()}};return["success","info","warning","error"].forEach(l=>{i[l]=s=>o(m(m({},s),{type:l}))}),[i,()=>C(JM,j(j({key:n},e),{},{ref:t}),null)]}function eR(e){return ZM(e)}const Ao={};let W0=4.5,V0="24px",U0="24px",Hc="",G0="topRight",X0=()=>document.body,q0=null,jc=!1,Y0;function tR(e){const{duration:t,placement:n,bottom:o,top:r,getContainer:i,closeIcon:a,prefixCls:l}=e;l!==void 0&&(Hc=l),t!==void 0&&(W0=t),n!==void 0&&(G0=n),o!==void 0&&(U0=typeof o=="number"?`${o}px`:o),r!==void 0&&(V0=typeof r=="number"?`${r}px`:r),i!==void 0&&(X0=i),a!==void 0&&(q0=a),e.rtl!==void 0&&(jc=e.rtl),e.maxCount!==void 0&&(Y0=e.maxCount)}function nR(e,t){let{prefixCls:n,placement:o=G0,getContainer:r=X0,top:i,bottom:a,closeIcon:l=q0,appContext:s}=e;const{getPrefixCls:c}=hR(),d=c("notification",n||Hc),u=`${d}-${o}-${jc}`,f=Ao[u];if(f){Promise.resolve(f).then(h=>{t(h)});return}const p=de(`${d}-${o}`,{[`${d}-rtl`]:jc===!0});dl.newInstance({name:"notification",prefixCls:n||Hc,useStyle:z0,class:p,style:K0(o,i??V0,a??U0),appContext:s,getContainer:r,closeIcon:h=>{let{prefixCls:v}=h;return C("span",{class:`${v}-close-x`},[gr(l,{},C(jr,{class:`${v}-close-icon`},null))])},maxCount:Y0,hasTransitionName:!0},h=>{Ao[u]=h,t(h)})}const oR={success:Gu,info:qu,error:Yu,warning:Xu};function rR(e){const{icon:t,type:n,description:o,message:r,btn:i}=e,a=e.duration===void 0?W0:e.duration;nR(e,l=>{l.notice({content:s=>{let{prefixCls:c}=s;const d=`${c}-notice`;let u=null;if(t)u=()=>C("span",{class:`${d}-icon`},[gr(t)]);else if(n){const f=oR[n];u=()=>C(f,{class:`${d}-icon ${d}-icon-${n}`},null)}return C("div",{class:u?`${d}-with-icon`:""},[u&&u(),C("div",{class:`${d}-message`},[!o&&u?C("span",{class:`${d}-message-single-line-auto-margin`},null):null,gr(r)]),C("div",{class:`${d}-description`},[gr(o)]),i?C("span",{class:`${d}-btn`},[gr(i)]):null])},duration:a,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const Br={open:rR,close(e){Object.keys(Ao).forEach(t=>Promise.resolve(Ao[t]).then(n=>{n.removeNotice(e)}))},config:tR,destroy(){Object.keys(Ao).forEach(e=>{Promise.resolve(Ao[e]).then(t=>{t.destroy()}),delete Ao[e]})}},iR=["success","info","warning","error"];iR.forEach(e=>{Br[e]=t=>Br.open(m(m({},t),{type:e}))});Br.warn=Br.warning;Br.useNotification=eR;const aR=`-ant-${Date.now()}-${Math.random()}`;function lR(e,t){const n={},o=(a,l)=>{let s=a.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},r=(a,l)=>{const s=new ft(a),c=Vo(s.toRgbString());n[`${l}-color`]=o(s),n[`${l}-color-disabled`]=c[1],n[`${l}-color-hover`]=c[4],n[`${l}-color-active`]=c[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=c[0],n[`${l}-color-deprecated-border`]=c[2]};if(t.primaryColor){r(t.primaryColor,"primary");const a=new ft(t.primaryColor),l=Vo(a.toRgbString());l.forEach((c,d)=>{n[`primary-${d+1}`]=c}),n["primary-color-deprecated-l-35"]=o(a,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=o(a,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=o(a,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=o(a,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=o(a,c=>c.setAlpha(c.getAlpha()*.12));const s=new ft(l[0]);n["primary-color-active-deprecated-f-30"]=o(s,c=>c.setAlpha(c.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=o(s,c=>c.darken(2))}return t.successColor&&r(t.successColor,"success"),t.warningColor&&r(t.warningColor,"warning"),t.errorColor&&r(t.errorColor,"error"),t.infoColor&&r(t.infoColor,"info"),` + :root { + ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(` +`)} + } + `.trim()}function sR(e,t){const n=lR(e,t);cn()&&_i(n,`${aR}-dynamic-theme`)}const cR=e=>{const[t,n]=Wi();return gc(T(()=>({theme:t.value,token:n.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:m(m({},Tv()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])};function uR(e,t){const n=T(()=>(e==null?void 0:e.value)||{}),o=T(()=>n.value.inherit===!1||!(t!=null&&t.value)?Av:t.value);return T(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const i=m({},o.value.components);return Object.keys(e.value.components||{}).forEach(a=>{i[a]=m(m({},i[a]),e.value.components[a])}),m(m(m({},o.value),n.value),{token:m(m({},o.value.token),n.value.token),components:i})})}var dR=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{m(yt,ad),yt.prefixCls=wr(),yt.iconPrefixCls=Q0(),yt.getPrefixCls=(e,t)=>t||(e?`${yt.prefixCls}-${e}`:yt.prefixCls),yt.getRootPrefixCls=()=>yt.prefixCls?yt.prefixCls:wr()});let Bs;const pR=e=>{Bs&&Bs(),Bs=nt(()=>{m(ad,vt(e)),m(yt,vt(e))}),e.theme&&sR(wr(),e.theme)},hR=()=>({getPrefixCls:(e,t)=>t||(e?`${wr()}-${e}`:wr()),getIconPrefixCls:Q0,getRootPrefixCls:()=>yt.prefixCls?yt.prefixCls:wr()}),$r=se({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:_S(),setup(e,t){let{slots:n}=t;const o=wu(),r=(A,D)=>{const{prefixCls:V="ant"}=e;if(D)return D;const k=V||o.getPrefixCls("");return A?`${k}-${A}`:k},i=T(()=>e.iconPrefixCls||o.iconPrefixCls.value||xu),a=T(()=>i.value!==o.iconPrefixCls.value),l=T(()=>{var A;return e.csp||((A=o.csp)===null||A===void 0?void 0:A.value)}),s=cR(i),c=uR(T(()=>e.theme),T(()=>{var A;return(A=o.theme)===null||A===void 0?void 0:A.value})),d=A=>(e.renderEmpty||n.renderEmpty||o.renderEmpty||g$)(A),u=T(()=>{var A,D;return(A=e.autoInsertSpaceInButton)!==null&&A!==void 0?A:(D=o.autoInsertSpaceInButton)===null||D===void 0?void 0:D.value}),f=T(()=>{var A;return e.locale||((A=o.locale)===null||A===void 0?void 0:A.value)});he(f,()=>{ad.locale=f.value},{immediate:!0});const p=T(()=>{var A;return e.direction||((A=o.direction)===null||A===void 0?void 0:A.value)}),h=T(()=>{var A,D;return(A=e.space)!==null&&A!==void 0?A:(D=o.space)===null||D===void 0?void 0:D.value}),v=T(()=>{var A,D;return(A=e.virtual)!==null&&A!==void 0?A:(D=o.virtual)===null||D===void 0?void 0:D.value}),g=T(()=>{var A,D;return(A=e.dropdownMatchSelectWidth)!==null&&A!==void 0?A:(D=o.dropdownMatchSelectWidth)===null||D===void 0?void 0:D.value}),y=T(()=>{var A;return e.getTargetContainer!==void 0?e.getTargetContainer:(A=o.getTargetContainer)===null||A===void 0?void 0:A.value}),x=T(()=>{var A;return e.getPopupContainer!==void 0?e.getPopupContainer:(A=o.getPopupContainer)===null||A===void 0?void 0:A.value}),S=T(()=>{var A;return e.pageHeader!==void 0?e.pageHeader:(A=o.pageHeader)===null||A===void 0?void 0:A.value}),E=T(()=>{var A;return e.input!==void 0?e.input:(A=o.input)===null||A===void 0?void 0:A.value}),w=T(()=>{var A;return e.pagination!==void 0?e.pagination:(A=o.pagination)===null||A===void 0?void 0:A.value}),$=T(()=>{var A;return e.form!==void 0?e.form:(A=o.form)===null||A===void 0?void 0:A.value}),b=T(()=>{var A;return e.select!==void 0?e.select:(A=o.select)===null||A===void 0?void 0:A.value}),O=T(()=>e.componentSize),_=T(()=>e.componentDisabled),P=T(()=>{var A,D;return(A=e.wave)!==null&&A!==void 0?A:(D=o.wave)===null||D===void 0?void 0:D.value}),N={csp:l,autoInsertSpaceInButton:u,locale:f,direction:p,space:h,virtual:v,dropdownMatchSelectWidth:g,getPrefixCls:r,iconPrefixCls:i,theme:T(()=>{var A,D;return(A=c.value)!==null&&A!==void 0?A:(D=o.theme)===null||D===void 0?void 0:D.value}),renderEmpty:d,getTargetContainer:y,getPopupContainer:x,pageHeader:S,input:E,pagination:w,form:$,select:b,componentSize:O,componentDisabled:_,transformCellText:T(()=>e.transformCellText),wave:P},B=T(()=>{const A=c.value||{},{algorithm:D,token:V}=A,k=dR(A,["algorithm","token"]),R=D&&(!Array.isArray(D)||D.length>0)?pv(D):void 0;return m(m({},k),{theme:R,token:m(m({},Nl),V)})}),F=T(()=>{var A,D;let V={};return f.value&&(V=((A=f.value.Form)===null||A===void 0?void 0:A.defaultValidateMessages)||((D=Wo.Form)===null||D===void 0?void 0:D.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(V=m(m({},V),e.form.validateMessages)),V});ES(N),OS({validateMessages:F}),m$(O),TS(_);const G=A=>{var D,V;let k=a.value?s((D=n.default)===null||D===void 0?void 0:D.call(n)):(V=n.default)===null||V===void 0?void 0:V.call(n);if(e.theme){const R=function(){return k}();k=C(u$,{value:B.value},{default:()=>[R]})}return C(yM,{locale:f.value||A,ANT_MARK__:Fc},{default:()=>[k]})};return nt(()=>{p.value&&(uo.config({rtl:p.value==="rtl"}),Br.config({rtl:p.value==="rtl"}))}),()=>C(ov,{children:(A,D,V)=>G(V)},null)}});$r.config=pR;$r.install=function(e){e.component($r.name,$r)};Ho.Button=al;Ho.install=function(e){return e.component(Ho.name,Ho),e.component(al.name,al),e};const pi=e=>e!=null&&(Array.isArray(e)?sn(e).length:!0);function ld(e){return pi(e.prefix)||pi(e.suffix)||pi(e.allowClear)}function Da(e){return pi(e.addonBefore)||pi(e.addonAfter)}function kc(e){return typeof e>"u"||e===null?"":String(e)}function hi(e,t,n,o){if(!n)return;const r=t;if(t.type==="click"){Object.defineProperty(r,"target",{writable:!0}),Object.defineProperty(r,"currentTarget",{writable:!0});const i=e.cloneNode(!0);r.target=i,r.currentTarget=i,i.value="",n(r);return}if(o!==void 0){Object.defineProperty(r,"target",{writable:!0}),Object.defineProperty(r,"currentTarget",{writable:!0}),r.target=e,r.currentTarget=e,e.value=o,n(r);return}n(r)}function J0(e,t){if(!e)return;e.focus(t);const{cursor:n}=t||{};if(n){const o=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}const gR=()=>({addonBefore:q.any,addonAfter:q.any,prefix:q.any,suffix:q.any,clearIcon:q.any,affixWrapperClassName:String,groupClassName:String,wrapperClassName:String,inputClassName:String,allowClear:{type:Boolean,default:void 0}}),Z0=()=>m(m({},gR()),{value:{type:[String,Number,Symbol],default:void 0},defaultValue:{type:[String,Number,Symbol],default:void 0},inputElement:q.any,prefixCls:String,disabled:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},triggerFocus:Function,readonly:{type:Boolean,default:void 0},handleReset:Function,hidden:{type:Boolean,default:void 0}}),eb=()=>m(m({},Z0()),{id:String,placeholder:{type:[String,Number]},autocomplete:String,type:cc("text"),name:String,size:{type:String},autofocus:{type:Boolean,default:void 0},lazy:{type:Boolean,default:!0},maxlength:Number,loading:{type:Boolean,default:void 0},bordered:{type:Boolean,default:void 0},showCount:{type:[Boolean,Object]},htmlSize:Number,onPressEnter:Function,onKeydown:Function,onKeyup:Function,onFocus:Function,onBlur:Function,onChange:Function,onInput:Function,"onUpdate:value":Function,onCompositionstart:Function,onCompositionend:Function,valueModifiers:Object,hidden:{type:Boolean,default:void 0},status:String}),mR=se({name:"BaseInput",inheritAttrs:!1,props:Z0(),setup(e,t){let{slots:n,attrs:o}=t;const r=pe(),i=l=>{var s;if(!((s=r.value)===null||s===void 0)&&s.contains(l.target)){const{triggerFocus:c}=e;c==null||c()}},a=()=>{var l;const{allowClear:s,value:c,disabled:d,readonly:u,handleReset:f,suffix:p=n.suffix,prefixCls:h}=e;if(!s)return null;const v=!d&&!u&&c,g=`${h}-clear-icon`,y=((l=n.clearIcon)===null||l===void 0?void 0:l.call(n))||"*";return C("span",{onClick:f,onMousedown:x=>x.preventDefault(),class:de({[`${g}-hidden`]:!v,[`${g}-has-suffix`]:!!p},g),role:"button",tabindex:-1},[y])};return()=>{var l,s;const{focused:c,value:d,disabled:u,allowClear:f,readonly:p,hidden:h,prefixCls:v,prefix:g=(l=n.prefix)===null||l===void 0?void 0:l.call(n),suffix:y=(s=n.suffix)===null||s===void 0?void 0:s.call(n),addonAfter:x=n.addonAfter,addonBefore:S=n.addonBefore,inputElement:E,affixWrapperClassName:w,wrapperClassName:$,groupClassName:b}=e;let O=mt(E,{value:d,hidden:h});if(ld({prefix:g,suffix:y,allowClear:f})){const _=`${v}-affix-wrapper`,P=de(_,{[`${_}-disabled`]:u,[`${_}-focused`]:c,[`${_}-readonly`]:p,[`${_}-input-with-clear-btn`]:y&&f&&d},!Da({addonAfter:x,addonBefore:S})&&o.class,w),N=(y||f)&&C("span",{class:`${v}-suffix`},[a(),y]);O=C("span",{class:P,style:o.style,hidden:!Da({addonAfter:x,addonBefore:S})&&h,onMousedown:i,ref:r},[g&&C("span",{class:`${v}-prefix`},[g]),mt(E,{style:null,value:d,hidden:null}),N])}if(Da({addonAfter:x,addonBefore:S})){const _=`${v}-group`,P=`${_}-addon`,N=de(`${v}-wrapper`,_,$),B=de(`${v}-group-wrapper`,o.class,b);return C("span",{class:B,style:o.style,hidden:h},[C("span",{class:N},[S&&C("span",{class:P},[S]),mt(O,{style:null,hidden:null}),x&&C("span",{class:P},[x])])])}return O}}});var vR=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.value,()=>{a.value=e.value}),he(()=>e.disabled,()=>{e.disabled&&(l.value=!1)});const d=b=>{s.value&&J0(s.value.input,b)},u=()=>{var b;(b=s.value.input)===null||b===void 0||b.blur()},f=(b,O,_)=>{var P;(P=s.value.input)===null||P===void 0||P.setSelectionRange(b,O,_)},p=()=>{var b;(b=s.value.input)===null||b===void 0||b.select()};r({focus:d,blur:u,input:T(()=>{var b;return(b=s.value.input)===null||b===void 0?void 0:b.input}),stateValue:a,setSelectionRange:f,select:p});const h=b=>{i("change",b)},v=(b,O)=>{a.value!==b&&(e.value===void 0?a.value=b:at(()=>{var _;s.value.input.value!==a.value&&((_=c.value)===null||_===void 0||_.$forceUpdate())}),at(()=>{O&&O()}))},g=b=>{const{value:O}=b.target;if(a.value===O)return;const _=b.target.value;hi(s.value.input,b,h),v(_)},y=b=>{b.keyCode===13&&i("pressEnter",b),i("keydown",b)},x=b=>{l.value=!0,i("focus",b)},S=b=>{l.value=!1,i("blur",b)},E=b=>{hi(s.value.input,b,h),v("",()=>{d()})},w=()=>{var b,O;const{addonBefore:_=n.addonBefore,addonAfter:P=n.addonAfter,disabled:N,valueModifiers:B={},htmlSize:F,autocomplete:G,prefixCls:A,inputClassName:D,prefix:V=(b=n.prefix)===null||b===void 0?void 0:b.call(n),suffix:k=(O=n.suffix)===null||O===void 0?void 0:O.call(n),allowClear:R,type:W="text"}=e,X=Pt(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","bordered","htmlSize","lazy","showCount","valueModifiers","showCount","affixWrapperClassName","groupClassName","inputClassName","wrapperClassName"]),ae=m(m(m({},X),o),{autocomplete:G,onChange:g,onInput:g,onFocus:x,onBlur:S,onKeydown:y,class:de(A,{[`${A}-disabled`]:N},D,!Da({addonAfter:P,addonBefore:_})&&!ld({prefix:V,suffix:k,allowClear:R})&&o.class),ref:s,key:"ant-input",size:F,type:W,lazy:e.lazy});return B.lazy&&delete ae.onInput,ae.autofocus||delete ae.autofocus,C($y,Pt(ae,["size"]),null)},$=()=>{var b;const{maxlength:O,suffix:_=(b=n.suffix)===null||b===void 0?void 0:b.call(n),showCount:P,prefixCls:N}=e,B=Number(O)>0;if(_||P){const F=[...kc(a.value)].length,G=typeof P=="object"?P.formatter({count:F,maxlength:O}):`${F}${B?` / ${O}`:""}`;return C(Me,null,[!!P&&C("span",{class:de(`${N}-show-count-suffix`,{[`${N}-show-count-has-suffix`]:!!_})},[G]),_])}return null};return ut(()=>{}),()=>{const{prefixCls:b,disabled:O}=e,_=vR(e,["prefixCls","disabled"]);return C(mR,j(j(j({},_),o),{},{ref:c,prefixCls:b,inputElement:w(),handleReset:E,value:kc(a.value),focused:l.value,triggerFocus:d,suffix:$(),disabled:O}),n)}}}),Ul=()=>Pt(eb(),["wrapperClassName","groupClassName","inputClassName","affixWrapperClassName"]),tb=()=>m(m({},Pt(Ul(),["prefix","addonBefore","addonAfter","suffix"])),{rows:Number,autosize:{type:[Boolean,Object],default:void 0},autoSize:{type:[Boolean,Object],default:void 0},onResize:{type:Function},onCompositionstart:wi(),onCompositionend:wi(),valueModifiers:Object});var bR=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rUu(s.status,e.status)),{direction:d,prefixCls:u,size:f,autocomplete:p}=dt("input",e),{compactSize:h,compactItemClassnames:v}=ky(u,d),g=T(()=>h.value||f.value),[y,x]=od(u),S=zi();r({focus:F=>{var G;(G=a.value)===null||G===void 0||G.focus(F)},blur:()=>{var F;(F=a.value)===null||F===void 0||F.blur()},input:a,setSelectionRange:(F,G,A)=>{var D;(D=a.value)===null||D===void 0||D.setSelectionRange(F,G,A)},select:()=>{var F;(F=a.value)===null||F===void 0||F.select()}});const O=pe([]),_=()=>{O.value.push(setTimeout(()=>{var F,G,A,D;!((F=a.value)===null||F===void 0)&&F.input&&((G=a.value)===null||G===void 0?void 0:G.input.getAttribute("type"))==="password"&&(!((A=a.value)===null||A===void 0)&&A.input.hasAttribute("value"))&&((D=a.value)===null||D===void 0||D.input.removeAttribute("value"))}))};ut(()=>{_()}),am(()=>{O.value.forEach(F=>clearTimeout(F))}),ot(()=>{O.value.forEach(F=>clearTimeout(F))});const P=F=>{_(),i("blur",F),l.onFieldBlur()},N=F=>{_(),i("focus",F)},B=F=>{i("update:value",F.target.value),i("change",F),i("input",F),l.onFieldChange()};return()=>{var F,G,A,D,V,k;const{hasFeedback:R,feedbackIcon:W}=s,{allowClear:X,bordered:ae=!0,prefix:me=(F=n.prefix)===null||F===void 0?void 0:F.call(n),suffix:Fe=(G=n.suffix)===null||G===void 0?void 0:G.call(n),addonAfter:Re=(A=n.addonAfter)===null||A===void 0?void 0:A.call(n),addonBefore:Ne=(D=n.addonBefore)===null||D===void 0?void 0:D.call(n),id:re=(V=l.id)===null||V===void 0?void 0:V.value}=e,ve=bR(e,["allowClear","bordered","prefix","suffix","addonAfter","addonBefore","id"]),Se=(R||Fe)&&C(Me,null,[Fe,R&&W]),we=u.value,ze=ld({prefix:me,suffix:Fe})||!!R,Pe=n.clearIcon||(()=>C(zn,null,null));return y(C(yR,j(j(j({},o),Pt(ve,["onUpdate:value","onChange","onInput"])),{},{onChange:B,id:re,disabled:(k=e.disabled)!==null&&k!==void 0?k:S.value,ref:a,prefixCls:we,autocomplete:p.value,onBlur:P,onFocus:N,prefix:me,suffix:Se,allowClear:X,addonAfter:Re&&C(Vp,null,{default:()=>[C(zp,null,{default:()=>[Re]})]}),addonBefore:Ne&&C(Vp,null,{default:()=>[C(zp,null,{default:()=>[Ne]})]}),class:[o.class,v.value],inputClassName:de({[`${we}-sm`]:g.value==="small",[`${we}-lg`]:g.value==="large",[`${we}-rtl`]:d.value==="rtl",[`${we}-borderless`]:!ae},!ze&&fi(we,c.value),x.value),affixWrapperClassName:de({[`${we}-affix-wrapper-sm`]:g.value==="small",[`${we}-affix-wrapper-lg`]:g.value==="large",[`${we}-affix-wrapper-rtl`]:d.value==="rtl",[`${we}-affix-wrapper-borderless`]:!ae},fi(`${we}-affix-wrapper`,c.value,R),x.value),wrapperClassName:de({[`${we}-group-rtl`]:d.value==="rtl"},x.value),groupClassName:de({[`${we}-group-wrapper-sm`]:g.value==="small",[`${we}-group-wrapper-lg`]:g.value==="large",[`${we}-group-wrapper-rtl`]:d.value==="rtl"},fi(`${we}-group-wrapper`,c.value,R),x.value)}),m(m({},n),{clearIcon:Pe})))}}}),CR=se({compatConfig:{MODE:3},name:"AInputGroup",inheritAttrs:!1,props:{prefixCls:String,size:{type:String},compact:{type:Boolean,default:void 0}},setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:i,getPrefixCls:a}=dt("input-group",e),l=Nr.useInject();Nr.useProvide(l,{isFormItemInput:!1});const s=T(()=>a("input")),[c,d]=od(s),u=T(()=>{const f=r.value;return{[`${f}`]:!0,[d.value]:!0,[`${f}-lg`]:e.size==="large",[`${f}-sm`]:e.size==="small",[`${f}-compact`]:e.compact,[`${f}-rtl`]:i.value==="rtl"}});return()=>{var f;return c(C("span",j(j({},o),{},{class:de(u.value,o.class)}),[(f=n.default)===null||f===void 0?void 0:f.call(n)]))}}});var xR=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{var w;(w=a.value)===null||w===void 0||w.focus()},blur:()=>{var w;(w=a.value)===null||w===void 0||w.blur()}});const d=w=>{i("update:value",w.target.value),w&&w.target&&w.type==="click"&&i("search",w.target.value,w),i("change",w)},u=w=>{var $;document.activeElement===(($=a.value)===null||$===void 0?void 0:$.input)&&w.preventDefault()},f=w=>{var $,b;i("search",(b=($=a.value)===null||$===void 0?void 0:$.input)===null||b===void 0?void 0:b.stateValue,w)},p=w=>{l.value||e.loading||f(w)},h=w=>{l.value=!0,i("compositionstart",w)},v=w=>{l.value=!1,i("compositionend",w)},{prefixCls:g,getPrefixCls:y,direction:x,size:S}=dt("input-search",e),E=T(()=>y("input",e.inputPrefixCls));return()=>{var w,$,b,O;const{disabled:_,loading:P,addonAfter:N=(w=n.addonAfter)===null||w===void 0?void 0:w.call(n),suffix:B=($=n.suffix)===null||$===void 0?void 0:$.call(n)}=e,F=xR(e,["disabled","loading","addonAfter","suffix"]);let{enterButton:G=(O=(b=n.enterButton)===null||b===void 0?void 0:b.call(n))!==null&&O!==void 0?O:!1}=e;G=G||G==="";const A=typeof G=="boolean"?C(Wu,null,null):null,D=`${g.value}-button`,V=Array.isArray(G)?G[0]:G;let k;const R=V.type&&nA(V.type)&&V.type.__ANT_BUTTON;if(R||V.tagName==="button")k=mt(V,m({onMousedown:u,onClick:f,key:"enterButton"},R?{class:D,size:S.value}:{}),!1);else{const X=A&&!G;k=C(Yt,{class:D,type:G?"primary":void 0,size:S.value,disabled:_,key:"enterButton",onMousedown:u,onClick:f,loading:P,icon:X?A:null},{default:()=>[X?null:A||G]})}N&&(k=[k,N]);const W=de(g.value,{[`${g.value}-rtl`]:x.value==="rtl",[`${g.value}-${S.value}`]:!!S.value,[`${g.value}-with-button`]:!!G},o.class);return C(gt,j(j(j({ref:a},Pt(F,["onUpdate:value","onSearch","enterButton"])),o),{},{onPressEnter:p,onCompositionstart:h,onCompositionend:v,size:S.value,prefixCls:E.value,addonAfter:k,suffix:B,onChange:d,class:W,disabled:_}),n)}}}),Dh=e=>e!=null&&(Array.isArray(e)?sn(e).length:!0);function wR(e){return Dh(e.addonBefore)||Dh(e.addonAfter)}const $R=["text","input"],OR=se({compatConfig:{MODE:3},name:"ClearableLabeledInput",inheritAttrs:!1,props:{prefixCls:String,inputType:q.oneOf(Si("text","input")),value:yn(),defaultValue:yn(),allowClear:{type:Boolean,default:void 0},element:yn(),handleReset:Function,disabled:{type:Boolean,default:void 0},direction:{type:String},size:{type:String},suffix:yn(),prefix:yn(),addonBefore:yn(),addonAfter:yn(),readonly:{type:Boolean,default:void 0},focused:{type:Boolean,default:void 0},bordered:{type:Boolean,default:!0},triggerFocus:{type:Function},hidden:Boolean,status:String,hashId:String},setup(e,t){let{slots:n,attrs:o}=t;const r=Nr.useInject(),i=l=>{const{value:s,disabled:c,readonly:d,handleReset:u,suffix:f=n.suffix}=e,p=!c&&!d&&s,h=`${l}-clear-icon`;return C(zn,{onClick:u,onMousedown:v=>v.preventDefault(),class:de({[`${h}-hidden`]:!p,[`${h}-has-suffix`]:!!f},h),role:"button"},null)},a=(l,s)=>{const{value:c,allowClear:d,direction:u,bordered:f,hidden:p,status:h,addonAfter:v=n.addonAfter,addonBefore:g=n.addonBefore,hashId:y}=e,{status:x,hasFeedback:S}=r;if(!d)return mt(s,{value:c,disabled:e.disabled});const E=de(`${l}-affix-wrapper`,`${l}-affix-wrapper-textarea-with-clear-btn`,fi(`${l}-affix-wrapper`,Uu(x,h),S),{[`${l}-affix-wrapper-rtl`]:u==="rtl",[`${l}-affix-wrapper-borderless`]:!f,[`${o.class}`]:!wR({addonAfter:v,addonBefore:g})&&o.class},y);return C("span",{class:E,style:o.style,hidden:p},[mt(s,{style:null,value:c,disabled:e.disabled}),i(l)])};return()=>{var l;const{prefixCls:s,inputType:c,element:d=(l=n.element)===null||l===void 0?void 0:l.call(n)}=e;return c===$R[0]?a(s,d):null}}}),_R=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,ER=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Ls={};let Ut;function TR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&Ls[n])return Ls[n];const o=window.getComputedStyle(e),r=o.getPropertyValue("box-sizing")||o.getPropertyValue("-moz-box-sizing")||o.getPropertyValue("-webkit-box-sizing"),i=parseFloat(o.getPropertyValue("padding-bottom"))+parseFloat(o.getPropertyValue("padding-top")),a=parseFloat(o.getPropertyValue("border-bottom-width"))+parseFloat(o.getPropertyValue("border-top-width")),s={sizingStyle:ER.map(c=>`${c}:${o.getPropertyValue(c)}`).join(";"),paddingSize:i,borderSize:a,boxSizing:r};return t&&n&&(Ls[n]=s),s}function PR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Ut||(Ut=document.createElement("textarea"),Ut.setAttribute("tab-index","-1"),Ut.setAttribute("aria-hidden","true"),document.body.appendChild(Ut)),e.getAttribute("wrap")?Ut.setAttribute("wrap",e.getAttribute("wrap")):Ut.removeAttribute("wrap");const{paddingSize:r,borderSize:i,boxSizing:a,sizingStyle:l}=TR(e,t);Ut.setAttribute("style",`${l};${_R}`),Ut.value=e.value||e.placeholder||"";let s,c,d,u=Ut.scrollHeight;if(a==="border-box"?u+=i:a==="content-box"&&(u-=r),n!==null||o!==null){Ut.value=" ";const p=Ut.scrollHeight-r;n!==null&&(s=p*n,a==="border-box"&&(s=s+r+i),u=Math.max(s,u)),o!==null&&(c=p*o,a==="border-box"&&(c=c+r+i),d=u>c?"":"hidden",u=Math.min(c,u))}const f={height:`${u}px`,overflowY:d,resize:"none"};return s&&(f.minHeight=`${s}px`),c&&(f.maxHeight=`${c}px`),f}const Fs=0,Hs=1,js=2,AR=se({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:tb(),setup(e,t){let{attrs:n,emit:o,expose:r}=t,i,a;const l=pe(),s=pe({}),c=pe(js);ot(()=>{Xe.cancel(i),Xe.cancel(a)});const d=()=>{try{if(l.value&&document.activeElement===l.value.input){const $=l.value.getSelectionStart(),b=l.value.getSelectionEnd(),O=l.value.getScrollTop();l.value.setSelectionRange($,b),l.value.setScrollTop(O)}}catch{}},u=pe(),f=pe();nt(()=>{const $=e.autoSize||e.autosize;$?(u.value=$.minRows,f.value=$.maxRows):(u.value=void 0,f.value=void 0)});const p=T(()=>!!(e.autoSize||e.autosize)),h=()=>{c.value=Fs};he([()=>e.value,u,f,p],()=>{p.value&&h()},{immediate:!0});const v=pe();he([c,l],()=>{if(l.value)if(c.value===Fs)c.value=Hs;else if(c.value===Hs){const $=PR(l.value.input,!1,u.value,f.value);c.value=js,v.value=$}else d()},{immediate:!0,flush:"post"});const g=Zt(),y=pe(),x=()=>{Xe.cancel(y.value)},S=$=>{c.value===js&&(o("resize",$),p.value&&(x(),y.value=Xe(()=>{h()})))};ot(()=>{x()}),r({resizeTextarea:()=>{h()},textArea:T(()=>{var $;return($=l.value)===null||$===void 0?void 0:$.input}),instance:g}),Ki(e.autosize===void 0);const w=()=>{const{prefixCls:$,disabled:b}=e,O=Pt(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","maxlength","valueModifiers"]),_=de($,n.class,{[`${$}-disabled`]:b}),P=p.value?v.value:null,N=[n.style,s.value,P],B=m(m(m({},O),n),{style:N,class:_});return(c.value===Fs||c.value===Hs)&&N.push({overflowX:"hidden",overflowY:"hidden"}),B.autofocus||delete B.autofocus,B.rows===0&&delete B.rows,C(Tl,{onResize:S,disabled:!p.value},{default:()=>[C($y,j(j({},B),{},{ref:l,tag:"textarea"}),null)]})};return()=>w()}});function nb(e,t){return[...e||""].slice(0,t).join("")}function Bh(e,t,n,o){let r=n;return e?r=nb(n,o):[...t||""].lengtho&&(r=t),r}const IR=se({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:tb(),setup(e,t){let{attrs:n,expose:o,emit:r}=t;var i;const a=Fy(),l=Nr.useInject(),s=T(()=>Uu(l.status,e.status)),c=K((i=e.value)!==null&&i!==void 0?i:e.defaultValue),d=K(),u=K(""),{prefixCls:f,size:p,direction:h}=dt("input",e),[v,g]=od(f),y=zi(),x=T(()=>e.showCount===""||e.showCount||!1),S=T(()=>Number(e.maxlength)>0),E=K(!1),w=K(),$=K(0),b=R=>{E.value=!0,w.value=u.value,$.value=R.currentTarget.selectionStart,r("compositionstart",R)},O=R=>{var W;E.value=!1;let X=R.currentTarget.value;if(S.value){const ae=$.value>=e.maxlength+1||$.value===((W=w.value)===null||W===void 0?void 0:W.length);X=Bh(ae,w.value,X,e.maxlength)}X!==u.value&&(B(X),hi(R.currentTarget,R,A,X)),r("compositionend",R)},_=Zt();he(()=>e.value,()=>{var R;"value"in _.vnode.props,c.value=(R=e.value)!==null&&R!==void 0?R:""});const P=R=>{var W;J0((W=d.value)===null||W===void 0?void 0:W.textArea,R)},N=()=>{var R,W;(W=(R=d.value)===null||R===void 0?void 0:R.textArea)===null||W===void 0||W.blur()},B=(R,W)=>{c.value!==R&&(e.value===void 0?c.value=R:at(()=>{var X,ae,me;d.value.textArea.value!==u.value&&((me=(X=d.value)===null||X===void 0?void 0:(ae=X.instance).update)===null||me===void 0||me.call(ae))}),at(()=>{W&&W()}))},F=R=>{R.keyCode===13&&r("pressEnter",R),r("keydown",R)},G=R=>{const{onBlur:W}=e;W==null||W(R),a.onFieldBlur()},A=R=>{r("update:value",R.target.value),r("change",R),r("input",R),a.onFieldChange()},D=R=>{hi(d.value.textArea,R,A),B("",()=>{P()})},V=R=>{let W=R.target.value;if(c.value!==W){if(S.value){const X=R.target,ae=X.selectionStart>=e.maxlength+1||X.selectionStart===W.length||!X.selectionStart;W=Bh(ae,u.value,W,e.maxlength)}hi(R.currentTarget,R,A,W),B(W)}},k=()=>{var R,W;const{class:X}=n,{bordered:ae=!0}=e,me=m(m(m({},Pt(e,["allowClear"])),n),{class:[{[`${f.value}-borderless`]:!ae,[`${X}`]:X&&!x.value,[`${f.value}-sm`]:p.value==="small",[`${f.value}-lg`]:p.value==="large"},fi(f.value,s.value),g.value],disabled:y.value,showCount:null,prefixCls:f.value,onInput:V,onChange:V,onBlur:G,onKeydown:F,onCompositionstart:b,onCompositionend:O});return!((R=e.valueModifiers)===null||R===void 0)&&R.lazy&&delete me.onInput,C(AR,j(j({},me),{},{id:(W=me==null?void 0:me.id)!==null&&W!==void 0?W:a.id.value,ref:d,maxlength:e.maxlength,lazy:e.lazy}),null)};return o({focus:P,blur:N,resizableTextArea:d}),nt(()=>{let R=kc(c.value);!E.value&&S.value&&(e.value===null||e.value===void 0)&&(R=nb(R,e.maxlength)),u.value=R}),()=>{var R;const{maxlength:W,bordered:X=!0,hidden:ae}=e,{style:me,class:Fe}=n,Re=m(m(m({},e),n),{prefixCls:f.value,inputType:"text",handleReset:D,direction:h.value,bordered:X,style:x.value?void 0:me,hashId:g.value,disabled:(R=e.disabled)!==null&&R!==void 0?R:y.value});let Ne=C(OR,j(j({},Re),{},{value:u.value,status:e.status}),{element:k});if(x.value||l.hasFeedback){const re=[...u.value].length;let ve="";typeof x.value=="object"?ve=x.value.formatter({value:u.value,count:re,maxlength:W}):ve=`${re}${S.value?` / ${W}`:""}`,Ne=C("div",{hidden:ae,class:de(`${f.value}-textarea`,{[`${f.value}-textarea-rtl`]:h.value==="rtl",[`${f.value}-textarea-show-count`]:x.value,[`${f.value}-textarea-in-form-item`]:l.isFormItemInput},`${f.value}-textarea-show-count`,Fe,g.value),style:me,"data-count":typeof ve!="object"?ve:void 0},[Ne,l.hasFeedback&&C("span",{class:`${f.value}-textarea-suffix`},[l.feedbackIcon])])}return v(Ne)}}});var MR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};function Lh(e){for(var t=1;tC(e?sd:cd,null,null),HR=se({compatConfig:{MODE:3},name:"AInputPassword",inheritAttrs:!1,props:m(m({},Ul()),{prefixCls:String,inputPrefixCls:String,action:{type:String,default:"click"},visibilityToggle:{type:Boolean,default:!0},visible:{type:Boolean,default:void 0},"onUpdate:visible":Function,iconRender:Function}),setup(e,t){let{slots:n,attrs:o,expose:r,emit:i}=t;const a=K(!1),l=()=>{const{disabled:g}=e;g||(a.value=!a.value,i("update:visible",a.value))};nt(()=>{e.visible!==void 0&&(a.value=!!e.visible)});const s=K();r({focus:()=>{var g;(g=s.value)===null||g===void 0||g.focus()},blur:()=>{var g;(g=s.value)===null||g===void 0||g.blur()}});const u=g=>{const{action:y,iconRender:x=n.iconRender||FR}=e,S=LR[y]||"",E=x(a.value),w={[S]:l,class:`${g}-icon`,key:"passwordIcon",onMousedown:$=>{$.preventDefault()},onMouseup:$=>{$.preventDefault()}};return mt(Ko(E)?E:C("span",null,[E]),w)},{prefixCls:f,getPrefixCls:p}=dt("input-password",e),h=T(()=>p("input",e.inputPrefixCls)),v=()=>{const{size:g,visibilityToggle:y}=e,x=BR(e,["size","visibilityToggle"]),S=y&&u(f.value),E=de(f.value,o.class,{[`${f.value}-${g}`]:!!g}),w=m(m(m({},Pt(x,["suffix","iconRender","action"])),o),{type:a.value?"text":"password",class:E,prefixCls:h.value,suffix:S});return g&&(w.size=g),C(gt,j({ref:s},w),n)};return()=>v()}});gt.Group=CR;gt.Search=SR;gt.TextArea=IR;gt.Password=HR;gt.install=function(e){return e.component(gt.name,gt),e.component(gt.Group.name,gt.Group),e.component(gt.Search.name,gt.Search),e.component(gt.TextArea.name,gt.TextArea),e.component(gt.Password.name,gt.Password),e};function ud(){return{keyboard:{type:Boolean,default:void 0},mask:{type:Boolean,default:void 0},afterClose:Function,closable:{type:Boolean,default:void 0},maskClosable:{type:Boolean,default:void 0},visible:{type:Boolean,default:void 0},destroyOnClose:{type:Boolean,default:void 0},mousePosition:q.shape({x:Number,y:Number}).loose,title:q.any,footer:q.any,transitionName:String,maskTransitionName:String,animation:q.any,maskAnimation:q.any,wrapStyle:{type:Object,default:void 0},bodyStyle:{type:Object,default:void 0},maskStyle:{type:Object,default:void 0},prefixCls:String,wrapClassName:String,rootClassName:String,width:[String,Number],height:[String,Number],zIndex:Number,bodyProps:q.any,maskProps:q.any,wrapProps:q.any,getContainer:q.any,dialogStyle:{type:Object,default:void 0},dialogClass:String,closeIcon:q.any,forceRender:{type:Boolean,default:void 0},getOpenCount:Function,focusTriggerAfterClose:{type:Boolean,default:void 0},onClose:Function,modalRender:Function}}function Hh(e,t,n){let o=t;return!o&&n&&(o=`${e}-${n}`),o}let jh=-1;function jR(){return jh+=1,jh}function kh(e,t){let n=e[`page${t?"Y":"X"}Offset`];const o=`scroll${t?"Top":"Left"}`;if(typeof n!="number"){const r=e.document;n=r.documentElement[o],typeof n!="number"&&(n=r.body[o])}return n}function kR(e){const t=e.getBoundingClientRect(),n={left:t.left,top:t.top},o=e.ownerDocument,r=o.defaultView||o.parentWindow;return n.left+=kh(r),n.top+=kh(r,!0),n}const zh={width:0,height:0,overflow:"hidden",outline:"none"},zR=se({compatConfig:{MODE:3},name:"DialogContent",inheritAttrs:!1,props:m(m({},ud()),{motionName:String,ariaId:String,onVisibleChanged:Function,onMousedown:Function,onMouseup:Function}),setup(e,t){let{expose:n,slots:o,attrs:r}=t;const i=pe(),a=pe(),l=pe();n({focus:()=>{var f;(f=i.value)===null||f===void 0||f.focus()},changeActive:f=>{const{activeElement:p}=document;f&&p===a.value?i.value.focus():!f&&p===i.value&&a.value.focus()}});const s=pe(),c=T(()=>{const{width:f,height:p}=e,h={};return f!==void 0&&(h.width=typeof f=="number"?`${f}px`:f),p!==void 0&&(h.height=typeof p=="number"?`${p}px`:p),s.value&&(h.transformOrigin=s.value),h}),d=()=>{at(()=>{if(l.value){const f=kR(l.value);s.value=e.mousePosition?`${e.mousePosition.x-f.left}px ${e.mousePosition.y-f.top}px`:""}})},u=f=>{e.onVisibleChanged(f)};return()=>{var f,p,h,v;const{prefixCls:g,footer:y=(f=o.footer)===null||f===void 0?void 0:f.call(o),title:x=(p=o.title)===null||p===void 0?void 0:p.call(o),ariaId:S,closable:E,closeIcon:w=(h=o.closeIcon)===null||h===void 0?void 0:h.call(o),onClose:$,bodyStyle:b,bodyProps:O,onMousedown:_,onMouseup:P,visible:N,modalRender:B=o.modalRender,destroyOnClose:F,motionName:G}=e;let A;y&&(A=C("div",{class:`${g}-footer`},[y]));let D;x&&(D=C("div",{class:`${g}-header`},[C("div",{class:`${g}-title`,id:S},[x])]));let V;E&&(V=C("button",{type:"button",onClick:$,"aria-label":"Close",class:`${g}-close`},[w||C("span",{class:`${g}-close-x`},null)]));const k=C("div",{class:`${g}-content`},[V,D,C("div",j({class:`${g}-body`,style:b},O),[(v=o.default)===null||v===void 0?void 0:v.call(o)]),A]),R=Hl(G);return C(un,j(j({},R),{},{onBeforeEnter:d,onAfterEnter:()=>u(!0),onAfterLeave:()=>u(!1)}),{default:()=>[N||!F?Jo(C("div",j(j({},r),{},{ref:l,key:"dialog-element",role:"document",style:[c.value,r.style],class:[g,r.class],onMousedown:_,onMouseup:P}),[C("div",{tabindex:0,ref:i,style:zh,"aria-hidden":"true"},null),B?B({originVNode:k}):k,C("div",{tabindex:0,ref:a,style:zh,"aria-hidden":"true"},null)]),[[ki,N]]):null]})}}}),KR=se({compatConfig:{MODE:3},name:"DialogMask",props:{prefixCls:String,visible:Boolean,motionName:String,maskProps:Object},setup(e,t){return()=>{const{prefixCls:n,visible:o,maskProps:r,motionName:i}=e,a=Hl(i);return C(un,a,{default:()=>[Jo(C("div",j({class:`${n}-mask`},r),null),[[ki,o]])]})}}}),Kh=se({compatConfig:{MODE:3},name:"VcDialog",inheritAttrs:!1,props:dn(m(m({},ud()),{getOpenCount:Function,scrollLocker:Object}),{mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",getOpenCount:()=>null,focusTriggerAfterClose:!0}),setup(e,t){let{attrs:n,slots:o}=t;const r=K(),i=K(),a=K(),l=K(e.visible),s=K(`vcDialogTitle${jR()}`),c=y=>{var x,S;if(y)no(i.value,document.activeElement)||(r.value=document.activeElement,(x=a.value)===null||x===void 0||x.focus());else{const E=l.value;if(l.value=!1,e.mask&&r.value&&e.focusTriggerAfterClose){try{r.value.focus({preventScroll:!0})}catch{}r.value=null}E&&((S=e.afterClose)===null||S===void 0||S.call(e))}},d=y=>{var x;(x=e.onClose)===null||x===void 0||x.call(e,y)},u=K(!1),f=K(),p=()=>{clearTimeout(f.value),u.value=!0},h=()=>{f.value=setTimeout(()=>{u.value=!1})},v=y=>{if(!e.maskClosable)return null;u.value?u.value=!1:i.value===y.target&&d(y)},g=y=>{if(e.keyboard&&y.keyCode===xe.ESC){y.stopPropagation(),d(y);return}e.visible&&y.keyCode===xe.TAB&&a.value.changeActive(!y.shiftKey)};return he(()=>e.visible,()=>{e.visible&&(l.value=!0)},{flush:"post"}),ot(()=>{var y;clearTimeout(f.value),(y=e.scrollLocker)===null||y===void 0||y.unLock()}),nt(()=>{var y,x;(y=e.scrollLocker)===null||y===void 0||y.unLock(),l.value&&((x=e.scrollLocker)===null||x===void 0||x.lock())}),()=>{const{prefixCls:y,mask:x,visible:S,maskTransitionName:E,maskAnimation:w,zIndex:$,wrapClassName:b,rootClassName:O,wrapStyle:_,closable:P,maskProps:N,maskStyle:B,transitionName:F,animation:G,wrapProps:A,title:D=o.title}=e,{style:V,class:k}=n;return C("div",j({class:[`${y}-root`,O]},ku(e,{data:!0})),[C(KR,{prefixCls:y,visible:x&&S,motionName:Hh(y,E,w),style:m({zIndex:$},B),maskProps:N},null),C("div",j({tabIndex:-1,onKeydown:g,class:de(`${y}-wrap`,b),ref:i,onClick:v,role:"dialog","aria-labelledby":D?s.value:null,style:m(m({zIndex:$},_),{display:l.value?null:"none"})},A),[C(zR,j(j({},Pt(e,["scrollLocker"])),{},{style:V,class:k,onMousedown:p,onMouseup:h,ref:a,closable:P,ariaId:s.value,prefixCls:y,visible:S,onClose:d,onVisibleChanged:c,motionName:Hh(y,F,G)}),o)])])}}}),WR=ud(),VR=se({compatConfig:{MODE:3},name:"DialogWrap",inheritAttrs:!1,props:dn(WR,{visible:!1}),setup(e,t){let{attrs:n,slots:o}=t;const r=pe(e.visible);return Hu({},{inTriggerContext:!1}),he(()=>e.visible,()=>{e.visible&&(r.value=!0)},{flush:"post"}),()=>{const{visible:i,getContainer:a,forceRender:l,destroyOnClose:s=!1,afterClose:c}=e;let d=m(m(m({},e),n),{ref:"_component",key:"dialog"});return a===!1?C(Kh,j(j({},d),{},{getOpenCount:()=>2}),o):!l&&s&&!r.value?null:C(wy,{autoLock:!0,visible:i,forceRender:l,getContainer:a},{default:u=>(d=m(m(m({},d),u),{afterClose:()=>{c==null||c(),r.value=!1}}),C(Kh,d,o))})}}});function Wh(e){return{position:e,top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0}}const UR=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}${e.antCls}-zoom-enter, ${t}${e.antCls}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${e.antCls}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:m(m({},Wh("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:m(m({},Wh("fixed")),{overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:SA(e)}]},GR=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap`]:{zIndex:e.zIndexPopupBase,position:"fixed",inset:0,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"},[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:m(m({},qt(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${e.margin*2}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.modalHeadingColor,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.modalContentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadowSecondary,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:m({position:"absolute",top:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderCloseSize-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalConfirmIconSize,height:e.modalConfirmIconSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"block",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,textAlign:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},Za(e)),[`${t}-header`]:{color:e.colorText,background:e.modalHeaderBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.modalFooterBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + ${t}-body, + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},XR=e=>{const{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:m({},Ja()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.modalHeaderTitleFontSize,lineHeight:e.modalHeaderTitleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls}, + ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess},[`${t}-zoom-leave ${t}-btns`]:{pointerEvents:"none"}}},qR=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},YR=e=>{const{componentCls:t,antCls:n}=e,o=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[o]:{[`${n}-modal-body`]:{padding:`${e.padding*2}px ${e.padding*2}px ${e.paddingLG}px`},[`${o}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${o}-title + ${o}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${o}-btns`]:{marginTop:e.marginLG}}}},QR=en("Modal",e=>{const t=e.padding,n=e.fontSizeHeading5,o=e.lineHeightHeading5,r=ht(e,{modalBodyPadding:e.paddingLG,modalHeaderBg:e.colorBgElevated,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderTitleLineHeight:o,modalHeaderTitleFontSize:n,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderCloseSize:o*n+t*2,modalContentBg:e.colorBgElevated,modalHeadingColor:e.colorTextHeading,modalCloseColor:e.colorTextDescription,modalFooterBg:"transparent",modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalConfirmTitleFontSize:e.fontSizeLG,modalIconHoverColor:e.colorIconHover,modalConfirmIconSize:e.fontSize*e.lineHeight,modalCloseBtnSize:e.controlHeightLG*.55});return[GR(r),XR(r),qR(r),UR(r),e.wireframe&&YR(r),Kl(r,"zoom")]});var JR=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{zc={x:e.pageX,y:e.pageY},setTimeout(()=>zc=null,100)};fM()&&mr(document.documentElement,"click",ZR,!0);const e4=()=>({prefixCls:String,visible:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},confirmLoading:{type:Boolean,default:void 0},title:q.any,closable:{type:Boolean,default:void 0},closeIcon:q.any,onOk:Function,onCancel:Function,"onUpdate:visible":Function,"onUpdate:open":Function,onChange:Function,afterClose:Function,centered:{type:Boolean,default:void 0},width:[String,Number],footer:q.any,okText:q.any,okType:String,cancelText:q.any,icon:q.any,maskClosable:{type:Boolean,default:void 0},forceRender:{type:Boolean,default:void 0},okButtonProps:Ue(),cancelButtonProps:Ue(),destroyOnClose:{type:Boolean,default:void 0},wrapClassName:String,maskTransitionName:String,transitionName:String,getContainer:{type:[String,Function,Boolean,Object],default:void 0},zIndex:Number,bodyStyle:Ue(),maskStyle:Ue(),mask:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},wrapProps:Object,focusTriggerAfterClose:{type:Boolean,default:void 0},modalRender:Function,mousePosition:Ue()}),jt=se({compatConfig:{MODE:3},name:"AModal",inheritAttrs:!1,props:dn(e4(),{width:520,confirmLoading:!1,okType:"primary"}),setup(e,t){let{emit:n,slots:o,attrs:r}=t;const[i]=$u("Modal"),{prefixCls:a,rootPrefixCls:l,direction:s,getPopupContainer:c}=dt("modal",e),[d,u]=QR(a);Ki(e.visible===void 0);const f=v=>{n("update:visible",!1),n("update:open",!1),n("cancel",v),n("change",!1)},p=v=>{n("ok",v)},h=()=>{var v,g;const{okText:y=(v=o.okText)===null||v===void 0?void 0:v.call(o),okType:x,cancelText:S=(g=o.cancelText)===null||g===void 0?void 0:g.call(o),confirmLoading:E}=e;return C(Me,null,[C(Yt,j({onClick:f},e.cancelButtonProps),{default:()=>[S||i.value.cancelText]}),C(Yt,j(j({},Jy(x)),{},{loading:E,onClick:p},e.okButtonProps),{default:()=>[y||i.value.okText]})])};return()=>{var v,g;const{prefixCls:y,visible:x,open:S,wrapClassName:E,centered:w,getContainer:$,closeIcon:b=(v=o.closeIcon)===null||v===void 0?void 0:v.call(o),focusTriggerAfterClose:O=!0}=e,_=JR(e,["prefixCls","visible","open","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),P=de(E,{[`${a.value}-centered`]:!!w,[`${a.value}-wrap-rtl`]:s.value==="rtl"});return d(C(VR,j(j(j({},_),r),{},{rootClassName:u.value,class:de(u.value,r.class),getContainer:$||(c==null?void 0:c.value),prefixCls:a.value,wrapClassName:P,visible:S??x,onClose:f,focusTriggerAfterClose:O,transitionName:Li(l.value,"zoom",e.transitionName),maskTransitionName:Li(l.value,"fade",e.maskTransitionName),mousePosition:(g=_.mousePosition)!==null&&g!==void 0?g:zc}),m(m({},o),{footer:o.footer||h,closeIcon:()=>C("span",{class:`${a.value}-close-x`},[b||C(jr,{class:`${a.value}-close-icon`},null)])})))}}}),t4=()=>{const e=K(!1);return ot(()=>{e.value=!0}),e},n4={type:{type:String},actionFn:Function,close:Function,autofocus:Boolean,prefixCls:String,buttonProps:Ue(),emitEvent:Boolean,quitOnNullishReturnValue:Boolean};function Vh(e){return!!(e&&e.then)}const Uh=se({compatConfig:{MODE:3},name:"ActionButton",props:n4,setup(e,t){let{slots:n}=t;const o=K(!1),r=K(),i=K(!1);let a;const l=t4();ut(()=>{e.autofocus&&(a=setTimeout(()=>{var u,f;return(f=(u=Nn(r.value))===null||u===void 0?void 0:u.focus)===null||f===void 0?void 0:f.call(u)}))}),ot(()=>{clearTimeout(a)});const s=function(){for(var u,f=arguments.length,p=new Array(f),h=0;h{Vh(u)&&(i.value=!0,u.then(function(){l.value||(i.value=!1),s(...arguments),o.value=!1},f=>(l.value||(i.value=!1),o.value=!1,Promise.reject(f))))},d=u=>{const{actionFn:f}=e;if(o.value)return;if(o.value=!0,!f){s();return}let p;if(e.emitEvent){if(p=f(u),e.quitOnNullishReturnValue&&!Vh(p)){o.value=!1,s(u);return}}else if(f.length)p=f(e.close),o.value=!1;else if(p=f(),!p){s();return}c(p)};return()=>{const{type:u,prefixCls:f,buttonProps:p}=e;return C(Yt,j(j(j({},Jy(u)),{},{onClick:d,loading:i.value,prefixCls:f},p),{},{ref:r}),n)}}});function ur(e){return typeof e=="function"?e():e}const ob=se({name:"ConfirmDialog",inheritAttrs:!1,props:["icon","onCancel","onOk","close","closable","zIndex","afterClose","visible","open","keyboard","centered","getContainer","maskStyle","okButtonProps","cancelButtonProps","okType","prefixCls","okCancel","width","mask","maskClosable","okText","cancelText","autoFocusButton","transitionName","maskTransitionName","type","title","content","direction","rootPrefixCls","bodyStyle","closeIcon","modalRender","focusTriggerAfterClose","wrapClassName","confirmPrefixCls","footer"],setup(e,t){let{attrs:n}=t;const[o]=$u("Modal");return()=>{const{icon:r,onCancel:i,onOk:a,close:l,okText:s,closable:c=!1,zIndex:d,afterClose:u,keyboard:f,centered:p,getContainer:h,maskStyle:v,okButtonProps:g,cancelButtonProps:y,okCancel:x,width:S=416,mask:E=!0,maskClosable:w=!1,type:$,open:b,title:O,content:_,direction:P,closeIcon:N,modalRender:B,focusTriggerAfterClose:F,rootPrefixCls:G,bodyStyle:A,wrapClassName:D,footer:V}=e;let k=r;if(!r&&r!==null)switch($){case"info":k=C(ir,null,null);break;case"success":k=C(or,null,null);break;case"error":k=C(zn,null,null);break;default:k=C(rr,null,null)}const R=e.okType||"primary",W=e.prefixCls||"ant-modal",X=`${W}-confirm`,ae=n.style||{},me=x??$==="confirm",Fe=e.autoFocusButton===null?!1:e.autoFocusButton||"ok",Re=`${W}-confirm`,Ne=de(Re,`${Re}-${e.type}`,{[`${Re}-rtl`]:P==="rtl"},n.class),re=o.value,ve=me&&C(Uh,{actionFn:i,close:l,autofocus:Fe==="cancel",buttonProps:y,prefixCls:`${G}-btn`},{default:()=>[ur(e.cancelText)||re.cancelText]});return C(jt,{prefixCls:W,class:Ne,wrapClassName:de({[`${Re}-centered`]:!!p},D),onCancel:Se=>l==null?void 0:l({triggerCancel:!0},Se),open:b,title:"",footer:"",transitionName:Li(G,"zoom",e.transitionName),maskTransitionName:Li(G,"fade",e.maskTransitionName),mask:E,maskClosable:w,maskStyle:v,style:ae,bodyStyle:A,width:S,zIndex:d,afterClose:u,keyboard:f,centered:p,getContainer:h,closable:c,closeIcon:N,modalRender:B,focusTriggerAfterClose:F},{default:()=>[C("div",{class:`${X}-body-wrapper`},[C("div",{class:`${X}-body`},[ur(k),O===void 0?null:C("span",{class:`${X}-title`},[ur(O)]),C("div",{class:`${X}-content`},[ur(_)])]),V!==void 0?ur(V):C("div",{class:`${X}-btns`},[ve,C(Uh,{type:R,actionFn:a,close:l,autofocus:Fe==="ok",buttonProps:g,prefixCls:`${G}-btn`},{default:()=>[ur(s)||(me?re.okText:re.justOkText)]})])])]})}}}),Mo=[],Gi=e=>{const t=document.createDocumentFragment();let n=m(m({},Pt(e,["parentContext","appContext"])),{close:i,open:!0}),o=null;function r(){o&&(zo(null,t),o=null);for(var c=arguments.length,d=new Array(c),u=0;up&&p.triggerCancel);e.onCancel&&f&&e.onCancel(()=>{},...d.slice(1));for(let p=0;p{typeof e.afterClose=="function"&&e.afterClose(),r.apply(this,d)}}),n.visible&&delete n.visible,a(n)}function a(c){typeof c=="function"?n=c(n):n=m(m({},n),c),o&&bO(o,n,t)}const l=c=>{const d=yt,u=d.prefixCls,f=c.prefixCls||`${u}-modal`,p=d.iconPrefixCls,h=vM();return C($r,j(j({},d),{},{prefixCls:u}),{default:()=>[C(ob,j(j({},c),{},{rootPrefixCls:u,prefixCls:f,iconPrefixCls:p,locale:h,cancelText:c.cancelText||h.cancelText}),null)]})};function s(c){const d=C(l,m({},c));return d.appContext=e.parentContext||e.appContext||d.appContext,zo(d,t),d}return o=s(n),Mo.push(i),{destroy:i,update:a}};function rb(e){return m(m({},e),{type:"warning"})}function ib(e){return m(m({},e),{type:"info"})}function ab(e){return m(m({},e),{type:"success"})}function lb(e){return m(m({},e),{type:"error"})}function sb(e){return m(m({},e),{type:"confirm"})}const o4=()=>({config:Object,afterClose:Function,destroyAction:Function,open:Boolean}),r4=se({name:"HookModal",inheritAttrs:!1,props:dn(o4(),{config:{width:520,okType:"primary"}}),setup(e,t){let{expose:n}=t;var o;const r=T(()=>e.open),i=T(()=>e.config),{direction:a,getPrefixCls:l}=wu(),s=l("modal"),c=l(),d=()=>{var h,v;e==null||e.afterClose(),(v=(h=i.value).afterClose)===null||v===void 0||v.call(h)},u=function(){e.destroyAction(...arguments)};n({destroy:u});const f=(o=i.value.okCancel)!==null&&o!==void 0?o:i.value.type==="confirm",[p]=$u("Modal",Wo.Modal);return()=>C(ob,j(j({prefixCls:s,rootPrefixCls:c},i.value),{},{close:u,open:r.value,afterClose:d,okText:i.value.okText||(f?p==null?void 0:p.value.okText:p==null?void 0:p.value.justOkText),direction:i.value.direction||a.value,cancelText:i.value.cancelText||(p==null?void 0:p.value.cancelText)}),null)}});let Gh=0;const i4=se({name:"ElementsHolder",inheritAttrs:!1,setup(e,t){let{expose:n}=t;const o=K([]);return n({addModal:i=>(o.value.push(i),o.value=o.value.slice(),()=>{o.value=o.value.filter(a=>a!==i)})}),()=>o.value.map(i=>i())}});function a4(){const e=K(null),t=K([]);he(t,()=>{t.value.length&&([...t.value].forEach(a=>{a()}),t.value=[])},{immediate:!0});const n=i=>function(l){var s;Gh+=1;const c=K(!0),d=K(null),u=K(it(l)),f=K({});he(()=>l,S=>{g(m(m({},xt(S)?S.value:S),f.value))});const p=function(){c.value=!1;for(var S=arguments.length,E=new Array(S),w=0;wb&&b.triggerCancel);u.value.onCancel&&$&&u.value.onCancel(()=>{},...E.slice(1))};let h;const v=()=>C(r4,{key:`modal-${Gh}`,config:i(u.value),ref:d,open:c.value,destroyAction:p,afterClose:()=>{h==null||h()}},null);h=(s=e.value)===null||s===void 0?void 0:s.addModal(v),h&&Mo.push(h);const g=S=>{u.value=m(m({},u.value),S)};return{destroy:()=>{d.value?p():t.value=[...t.value,p]},update:S=>{f.value=S,d.value?g(S):t.value=[...t.value,()=>g(S)]}}},o=T(()=>({info:n(ib),success:n(ab),error:n(lb),warning:n(rb),confirm:n(sb)})),r=Symbol("modalHolderKey");return[o.value,()=>C(i4,{key:r,ref:e},null)]}function cb(e){return Gi(rb(e))}jt.useModal=a4;jt.info=function(t){return Gi(ib(t))};jt.success=function(t){return Gi(ab(t))};jt.error=function(t){return Gi(lb(t))};jt.warning=cb;jt.warn=cb;jt.confirm=function(t){return Gi(sb(t))};jt.destroyAll=function(){for(;Mo.length;){const t=Mo.pop();t&&t()}};jt.install=function(e){return e.component(jt.name,jt),e};var Xh=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);re.motion?e.motion:v0()),s=(c,d)=>{var u,f,p,h;d==="appear"?(f=(u=l.value)===null||u===void 0?void 0:u.onAfterEnter)===null||f===void 0||f.call(u,c):d==="leave"&&((h=(p=l.value)===null||p===void 0?void 0:p.onAfterLeave)===null||h===void 0||h.call(p,c)),a.value||e.onMotionEnd(),a.value=!0};return he(()=>e.motionNodes,()=>{e.motionNodes&&e.motionType==="hide"&&r.value&&at(()=>{r.value=!1})},{immediate:!0,flush:"post"}),ut(()=>{e.motionNodes&&e.onMotionStart()}),ot(()=>{e.motionNodes&&s()}),()=>{const{motion:c,motionNodes:d,motionType:u,active:f,eventKey:p}=e,h=Xh(e,["motion","motionNodes","motionType","active","eventKey"]);return d?C(un,j(j({},l.value),{},{appear:u==="show",onAfterAppear:v=>s(v,"appear"),onAfterLeave:v=>s(v,"leave")}),{default:()=>[Jo(C("div",{class:`${i.value.prefixCls}-treenode-motion`},[d.map(v=>{const g=Xh(v.data,[]),{title:y,key:x,isStart:S,isEnd:E}=v;return delete g.children,C(Dc,j(j({},g),{},{title:y,active:f,data:v.data,key:x,eventKey:x,isStart:S,isEnd:E}),o)})]),[[ki,r.value]])]}):C(Dc,j(j({class:n.class,style:n.style},h),{},{active:f,eventKey:p}),o)}}});function s4(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=e.length,o=t.length;if(Math.abs(n-o)!==1)return{add:!1,key:null};function r(i,a){const l=new Map;i.forEach(c=>{l.set(c,!0)});const s=a.filter(c=>!l.has(c));return s.length===1?s[0]:null}return na.key===n),r=e[o+1],i=t.findIndex(a=>a.key===n);if(r){const a=t.findIndex(l=>l.key===r.key);return t.slice(i+1,a)}return t.slice(i+1)}var Yh=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r{},qo=`RC_TREE_MOTION_${Math.random()}`,Kc={key:qo},ub={key:qo,level:0,index:0,pos:"0",node:Kc,nodes:[Kc]},Jh={parent:null,children:[],pos:ub.pos,data:Kc,title:null,key:qo,isStart:[],isEnd:[]};function Zh(e,t,n,o){return t===!1||!n?e:e.slice(0,Math.ceil(n/o)+1)}function eg(e){const{key:t,pos:n}=e;return Ui(t,n)}function u4(e){let t=String(e.key),n=e;for(;n.parent;)n=n.parent,t=`${n.key} > ${t}`;return t}const d4=se({compatConfig:{MODE:3},name:"NodeList",inheritAttrs:!1,props:J2,setup(e,t){let{expose:n,attrs:o}=t;const r=pe(),i=pe(),{expandedKeys:a,flattenNodes:l}=$0();n({scrollTo:v=>{r.value.scrollTo(v)},getIndentWidth:()=>i.value.offsetWidth});const s=K(l.value),c=K([]),d=pe(null);function u(){s.value=l.value,c.value=[],d.value=null,e.onListChangeEnd()}const f=rd();he([()=>a.value.slice(),l],(v,g)=>{let[y,x]=v,[S,E]=g;const w=s4(S,y);if(w.key!==null){const{virtual:$,height:b,itemHeight:O}=e;if(w.add){const _=E.findIndex(B=>{let{key:F}=B;return F===w.key}),P=Zh(qh(E,x,w.key),$,b,O),N=E.slice();N.splice(_+1,0,Jh),s.value=N,c.value=P,d.value="show"}else{const _=x.findIndex(B=>{let{key:F}=B;return F===w.key}),P=Zh(qh(x,E,w.key),$,b,O),N=x.slice();N.splice(_+1,0,Jh),s.value=N,c.value=P,d.value="hide"}}else E!==x&&(s.value=x)}),he(()=>f.value.dragging,v=>{v||u()});const p=T(()=>e.motion===void 0?s.value:l.value),h=()=>{e.onActiveChange(null)};return()=>{const v=m(m({},e),o),{prefixCls:g,selectable:y,checkable:x,disabled:S,motion:E,height:w,itemHeight:$,virtual:b,focusable:O,activeItem:_,focused:P,tabindex:N,onKeydown:B,onFocus:F,onBlur:G,onListChangeStart:A,onListChangeEnd:D}=v,V=Yh(v,["prefixCls","selectable","checkable","disabled","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabindex","onKeydown","onFocus","onBlur","onListChangeStart","onListChangeEnd"]);return C(Me,null,[P&&_&&C("span",{style:Qh,"aria-live":"assertive"},[u4(_)]),C("div",null,[C("input",{style:Qh,disabled:O===!1||S,tabindex:O!==!1?N:null,onKeydown:B,onFocus:F,onBlur:G,value:"",onChange:c4,"aria-label":"for screen reader"},null)]),C("div",{class:`${g}-treenode`,"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden"}},[C("div",{class:`${g}-indent`},[C("div",{ref:i,class:`${g}-indent-unit`},null)])]),C(KT,j(j({},Pt(V,["onActiveChange"])),{},{data:p.value,itemKey:eg,height:w,fullHeight:!1,virtual:b,itemHeight:$,prefixCls:`${g}-list`,ref:r,onVisibleChange:(k,R)=>{const W=new Set(k);R.filter(ae=>!W.has(ae)).some(ae=>eg(ae)===qo)&&u()}}),{default:k=>{const{pos:R}=k,W=Yh(k.data,[]),{title:X,key:ae,isStart:me,isEnd:Fe}=k,Re=Ui(ae,R);return delete W.key,delete W.children,C(l4,j(j({},W),{},{eventKey:Re,title:X,active:!!_&&ae===_.key,data:k.data,isStart:me,isEnd:Fe,motion:E,motionNodes:ae===qo?c.value:null,motionType:d.value,onMotionStart:A,onMotionEnd:u,onMousemove:h}),null)}})])}}});function f4(e){let{dropPosition:t,dropLevelOffset:n,indent:o}=e;const r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:"2px"};switch(t){case-1:r.top=0,r.left=`${-n*o}px`;break;case 1:r.bottom=0,r.left=`${-n*o}px`;break;case 0:r.bottom=0,r.left=`${o}`;break}return C("div",{style:r},null)}const p4=10,h4=se({compatConfig:{MODE:3},name:"Tree",inheritAttrs:!1,props:dn(_0(),{prefixCls:"vc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,expandAction:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:f4,allowDrop:()=>!0}),setup(e,t){let{attrs:n,slots:o,expose:r}=t;const i=K(!1);let a={};const l=K(),s=K([]),c=K([]),d=K([]),u=K([]),f=K([]),p=K([]),h={},v=vt({draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null}),g=K([]);he([()=>e.treeData,()=>e.children],()=>{g.value=e.treeData!==void 0?e.treeData.slice():Lc(Le(e.children))},{immediate:!0,deep:!0});const y=K({}),x=K(!1),S=K(null),E=K(!1),w=T(()=>Vl(e.fieldNames)),$=K();let b=null,O=null,_=null;const P=T(()=>({expandedKeysSet:N.value,selectedKeysSet:B.value,loadedKeysSet:F.value,loadingKeysSet:G.value,checkedKeysSet:A.value,halfCheckedKeysSet:D.value,dragOverNodeKey:v.dragOverNodeKey,dropPosition:v.dropPosition,keyEntities:y.value})),N=T(()=>new Set(p.value)),B=T(()=>new Set(s.value)),F=T(()=>new Set(u.value)),G=T(()=>new Set(f.value)),A=T(()=>new Set(c.value)),D=T(()=>new Set(d.value));nt(()=>{if(g.value){const Z=T0(g.value,{fieldNames:w.value});y.value=m({[qo]:ub},Z.keyEntities)}});let V=!1;he([()=>e.expandedKeys,()=>e.autoExpandParent,y],(Z,oe)=>{let[le,ye]=Z,[Ae,be]=oe,fe=p.value;if(e.expandedKeys!==void 0||V&&ye!==be)fe=e.autoExpandParent||!V&&e.defaultExpandParent?Bc(e.expandedKeys,y.value):e.expandedKeys;else if(!V&&e.defaultExpandAll){const Be=m({},y.value);delete Be[qo],fe=Object.keys(Be).map(Ge=>Be[Ge].key)}else!V&&e.defaultExpandedKeys&&(fe=e.autoExpandParent||e.defaultExpandParent?Bc(e.defaultExpandedKeys,y.value):e.defaultExpandedKeys);fe&&(p.value=fe),V=!0},{immediate:!0});const k=K([]);nt(()=>{k.value=aM(g.value,p.value,w.value)}),nt(()=>{e.selectable&&(e.selectedKeys!==void 0?s.value=Eh(e.selectedKeys,e):!V&&e.defaultSelectedKeys&&(s.value=Eh(e.defaultSelectedKeys,e)))});const{maxLevel:R,levelEntities:W}=dM(y);nt(()=>{if(e.checkable){let Z;if(e.checkedKeys!==void 0?Z=Ns(e.checkedKeys)||{}:!V&&e.defaultCheckedKeys?Z=Ns(e.defaultCheckedKeys)||{}:g.value&&(Z=Ns(e.checkedKeys)||{checkedKeys:c.value,halfCheckedKeys:d.value}),Z){let{checkedKeys:oe=[],halfCheckedKeys:le=[]}=Z;e.checkStrictly||({checkedKeys:oe,halfCheckedKeys:le}=Ds(oe,!0,y.value,R.value,W.value)),c.value=oe,d.value=le}}}),nt(()=>{e.loadedKeys&&(u.value=e.loadedKeys)});const X=()=>{m(v,{dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})},ae=Z=>{$.value.scrollTo(Z)};he(()=>e.activeKey,()=>{e.activeKey!==void 0&&(S.value=e.activeKey)},{immediate:!0}),he(S,Z=>{at(()=>{Z!==null&&ae({key:Z})})},{immediate:!0,flush:"post"});const me=Z=>{e.expandedKeys===void 0&&(p.value=Z)},Fe=()=>{v.draggingNodeKey!==null&&m(v,{draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),b=null,_=null},Re=(Z,oe)=>{const{onDragend:le}=e;v.dragOverNodeKey=null,Fe(),le==null||le({event:Z,node:oe.eventData}),O=null},Ne=Z=>{Re(Z,null),window.removeEventListener("dragend",Ne)},re=(Z,oe)=>{const{onDragstart:le}=e,{eventKey:ye,eventData:Ae}=oe;O=oe,b={x:Z.clientX,y:Z.clientY};const be=Tn(p.value,ye);v.draggingNodeKey=ye,v.dragChildrenKeys=nM(ye,y.value),l.value=$.value.getIndentWidth(),me(be),window.addEventListener("dragend",Ne),le&&le({event:Z,node:Ae})},ve=(Z,oe)=>{const{onDragenter:le,onExpand:ye,allowDrop:Ae,direction:be}=e,{pos:fe,eventKey:Be}=oe;if(_!==Be&&(_=Be),!O){X();return}const{dropPosition:Ge,dropLevelOffset:je,dropTargetKey:ke,dropContainerKey:We,dropTargetPos:wt,dropAllowed:On,dragOverNodeKey:tn}=_h(Z,O,oe,l.value,b,Ae,k.value,y.value,N.value,be);if(v.dragChildrenKeys.indexOf(ke)!==-1||!On){X();return}if(a||(a={}),Object.keys(a).forEach($t=>{clearTimeout(a[$t])}),O.eventKey!==oe.eventKey&&(a[fe]=window.setTimeout(()=>{if(v.draggingNodeKey===null)return;let $t=p.value.slice();const Wn=y.value[oe.eventKey];Wn&&(Wn.children||[]).length&&($t=Gn(p.value,oe.eventKey)),me($t),ye&&ye($t,{node:oe.eventData,expanded:!0,nativeEvent:Z})},800)),O.eventKey===ke&&je===0){X();return}m(v,{dragOverNodeKey:tn,dropPosition:Ge,dropLevelOffset:je,dropTargetKey:ke,dropContainerKey:We,dropTargetPos:wt,dropAllowed:On}),le&&le({event:Z,node:oe.eventData,expandedKeys:p.value})},Se=(Z,oe)=>{const{onDragover:le,allowDrop:ye,direction:Ae}=e;if(!O)return;const{dropPosition:be,dropLevelOffset:fe,dropTargetKey:Be,dropContainerKey:Ge,dropAllowed:je,dropTargetPos:ke,dragOverNodeKey:We}=_h(Z,O,oe,l.value,b,ye,k.value,y.value,N.value,Ae);v.dragChildrenKeys.indexOf(Be)!==-1||!je||(O.eventKey===Be&&fe===0?v.dropPosition===null&&v.dropLevelOffset===null&&v.dropTargetKey===null&&v.dropContainerKey===null&&v.dropTargetPos===null&&v.dropAllowed===!1&&v.dragOverNodeKey===null||X():be===v.dropPosition&&fe===v.dropLevelOffset&&Be===v.dropTargetKey&&Ge===v.dropContainerKey&&ke===v.dropTargetPos&&je===v.dropAllowed&&We===v.dragOverNodeKey||m(v,{dropPosition:be,dropLevelOffset:fe,dropTargetKey:Be,dropContainerKey:Ge,dropTargetPos:ke,dropAllowed:je,dragOverNodeKey:We}),le&&le({event:Z,node:oe.eventData}))},we=(Z,oe)=>{_===oe.eventKey&&!Z.currentTarget.contains(Z.relatedTarget)&&(X(),_=null);const{onDragleave:le}=e;le&&le({event:Z,node:oe.eventData})},ze=function(Z,oe){let le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var ye;const{dragChildrenKeys:Ae,dropPosition:be,dropTargetKey:fe,dropTargetPos:Be,dropAllowed:Ge}=v;if(!Ge)return;const{onDrop:je}=e;if(v.dragOverNodeKey=null,Fe(),fe===null)return;const ke=m(m({},Ia(fe,Le(P.value))),{active:((ye=ue.value)===null||ye===void 0?void 0:ye.key)===fe,data:y.value[fe].node});Ae.indexOf(fe);const We=id(Be),wt={event:Z,node:Ma(ke),dragNode:O?O.eventData:null,dragNodesKeys:[O.eventKey].concat(Ae),dropToGap:be!==0,dropPosition:be+Number(We[We.length-1])};le||je==null||je(wt),O=null},Pe=(Z,oe)=>{const{expanded:le,key:ye}=oe,Ae=k.value.filter(fe=>fe.key===ye)[0],be=Ma(m(m({},Ia(ye,P.value)),{data:Ae.data}));me(le?Tn(p.value,ye):Gn(p.value,ye)),ce(Z,be)},I=(Z,oe)=>{const{onClick:le,expandAction:ye}=e;ye==="click"&&Pe(Z,oe),le&&le(Z,oe)},M=(Z,oe)=>{const{onDblclick:le,expandAction:ye}=e;(ye==="doubleclick"||ye==="dblclick")&&Pe(Z,oe),le&&le(Z,oe)},H=(Z,oe)=>{let le=s.value;const{onSelect:ye,multiple:Ae}=e,{selected:be}=oe,fe=oe[w.value.key],Be=!be;Be?Ae?le=Gn(le,fe):le=[fe]:le=Tn(le,fe);const Ge=y.value,je=le.map(ke=>{const We=Ge[ke];return We?We.node:null}).filter(ke=>ke);e.selectedKeys===void 0&&(s.value=le),ye&&ye(le,{event:"select",selected:Be,node:oe,selectedNodes:je,nativeEvent:Z})},Q=(Z,oe,le)=>{const{checkStrictly:ye,onCheck:Ae}=e,be=oe[w.value.key];let fe;const Be={event:"check",node:oe,checked:le,nativeEvent:Z},Ge=y.value;if(ye){const je=le?Gn(c.value,be):Tn(c.value,be),ke=Tn(d.value,be);fe={checked:je,halfChecked:ke},Be.checkedNodes=je.map(We=>Ge[We]).filter(We=>We).map(We=>We.node),e.checkedKeys===void 0&&(c.value=je)}else{let{checkedKeys:je,halfCheckedKeys:ke}=Ds([...c.value,be],!0,Ge,R.value,W.value);if(!le){const We=new Set(je);We.delete(be),{checkedKeys:je,halfCheckedKeys:ke}=Ds(Array.from(We),{checked:!1,halfCheckedKeys:ke},Ge,R.value,W.value)}fe=je,Be.checkedNodes=[],Be.checkedNodesPositions=[],Be.halfCheckedKeys=ke,je.forEach(We=>{const wt=Ge[We];if(!wt)return;const{node:On,pos:tn}=wt;Be.checkedNodes.push(On),Be.checkedNodesPositions.push({node:On,pos:tn})}),e.checkedKeys===void 0&&(c.value=je,d.value=ke)}Ae&&Ae(fe,Be)},J=Z=>{const oe=Z[w.value.key],le=new Promise((ye,Ae)=>{const{loadData:be,onLoad:fe}=e;if(!be||F.value.has(oe)||G.value.has(oe))return null;be(Z).then(()=>{const Ge=Gn(u.value,oe),je=Tn(f.value,oe);fe&&fe(Ge,{event:"load",node:Z}),e.loadedKeys===void 0&&(u.value=Ge),f.value=je,ye()}).catch(Ge=>{const je=Tn(f.value,oe);if(f.value=je,h[oe]=(h[oe]||0)+1,h[oe]>=p4){const ke=Gn(u.value,oe);e.loadedKeys===void 0&&(u.value=ke),ye()}Ae(Ge)}),f.value=Gn(f.value,oe)});return le.catch(()=>{}),le},ne=(Z,oe)=>{const{onMouseenter:le}=e;le&&le({event:Z,node:oe})},Y=(Z,oe)=>{const{onMouseleave:le}=e;le&&le({event:Z,node:oe})},te=(Z,oe)=>{const{onRightClick:le}=e;le&&(Z.preventDefault(),le({event:Z,node:oe}))},ie=Z=>{const{onFocus:oe}=e;x.value=!0,oe&&oe(Z)},ee=Z=>{const{onBlur:oe}=e;x.value=!1,U(null),oe&&oe(Z)},ce=(Z,oe)=>{let le=p.value;const{onExpand:ye,loadData:Ae}=e,{expanded:be}=oe,fe=oe[w.value.key];if(E.value)return;le.indexOf(fe);const Be=!be;if(Be?le=Gn(le,fe):le=Tn(le,fe),me(le),ye&&ye(le,{node:oe,expanded:Be,nativeEvent:Z}),Be&&Ae){const Ge=J(oe);Ge&&Ge.then(()=>{}).catch(je=>{const ke=Tn(p.value,fe);me(ke),Promise.reject(je)})}},ge=()=>{E.value=!0},L=()=>{setTimeout(()=>{E.value=!1})},U=Z=>{const{onActiveChange:oe}=e;S.value!==Z&&(e.activeKey!==void 0&&(S.value=Z),Z!==null&&ae({key:Z}),oe&&oe(Z))},ue=T(()=>S.value===null?null:k.value.find(Z=>{let{key:oe}=Z;return oe===S.value})||null),_e=Z=>{let oe=k.value.findIndex(ye=>{let{key:Ae}=ye;return Ae===S.value});oe===-1&&Z<0&&(oe=k.value.length),oe=(oe+Z+k.value.length)%k.value.length;const le=k.value[oe];if(le){const{key:ye}=le;U(ye)}else U(null)},Oe=T(()=>Ma(m(m({},Ia(S.value,P.value)),{data:ue.value.data,active:!0}))),He=Z=>{const{onKeydown:oe,checkable:le,selectable:ye}=e;switch(Z.which){case xe.UP:{_e(-1),Z.preventDefault();break}case xe.DOWN:{_e(1),Z.preventDefault();break}}const Ae=ue.value;if(Ae&&Ae.data){const be=Ae.data.isLeaf===!1||!!(Ae.data.children||[]).length,fe=Oe.value;switch(Z.which){case xe.LEFT:{be&&N.value.has(S.value)?ce({},fe):Ae.parent&&U(Ae.parent.key),Z.preventDefault();break}case xe.RIGHT:{be&&!N.value.has(S.value)?ce({},fe):Ae.children&&Ae.children.length&&U(Ae.children[0].key),Z.preventDefault();break}case xe.ENTER:case xe.SPACE:{le&&!fe.disabled&&fe.checkable!==!1&&!fe.disableCheckbox?Q({},fe,!A.value.has(S.value)):!le&&ye&&!fe.disabled&&fe.selectable!==!1&&H({},fe);break}}}oe&&oe(Z)};return r({onNodeExpand:ce,scrollTo:ae,onKeydown:He,selectedKeys:T(()=>s.value),checkedKeys:T(()=>c.value),halfCheckedKeys:T(()=>d.value),loadedKeys:T(()=>u.value),loadingKeys:T(()=>f.value),expandedKeys:T(()=>p.value)}),yo(()=>{window.removeEventListener("dragend",Ne),i.value=!0}),Y2({expandedKeys:p,selectedKeys:s,loadedKeys:u,loadingKeys:f,checkedKeys:c,halfCheckedKeys:d,expandedKeysSet:N,selectedKeysSet:B,loadedKeysSet:F,loadingKeysSet:G,checkedKeysSet:A,halfCheckedKeysSet:D,flattenNodes:k}),()=>{const{draggingNodeKey:Z,dropLevelOffset:oe,dropContainerKey:le,dropTargetKey:ye,dropPosition:Ae,dragOverNodeKey:be}=v,{prefixCls:fe,showLine:Be,focusable:Ge,tabindex:je=0,selectable:ke,showIcon:We,icon:wt=o.icon,switcherIcon:On,draggable:tn,checkable:$t,checkStrictly:Wn,disabled:Kr,motion:Zl,loadData:Bb,filterTreeNode:Lb,height:Fb,itemHeight:Hb,virtual:jb,dropIndicatorRender:kb,onContextmenu:zb,onScroll:Kb,direction:Wb,rootClassName:Vb,rootStyle:Ub}=e,{class:Gb,style:Xb}=n,qb=ku(m(m({},e),n),{aria:!0,data:!0});let Wr;return tn?typeof tn=="object"?Wr=tn:typeof tn=="function"?Wr={nodeDraggable:tn}:Wr={}:Wr=!1,C(q2,{value:{prefixCls:fe,selectable:ke,showIcon:We,icon:wt,switcherIcon:On,draggable:Wr,draggingNodeKey:Z,checkable:$t,customCheckable:o.checkable,checkStrictly:Wn,disabled:Kr,keyEntities:y.value,dropLevelOffset:oe,dropContainerKey:le,dropTargetKey:ye,dropPosition:Ae,dragOverNodeKey:be,dragging:Z!==null,indent:l.value,direction:Wb,dropIndicatorRender:kb,loadData:Bb,filterTreeNode:Lb,onNodeClick:I,onNodeDoubleClick:M,onNodeExpand:ce,onNodeSelect:H,onNodeCheck:Q,onNodeLoad:J,onNodeMouseEnter:ne,onNodeMouseLeave:Y,onNodeContextMenu:te,onNodeDragStart:re,onNodeDragEnter:ve,onNodeDragOver:Se,onNodeDragLeave:we,onNodeDragEnd:Re,onNodeDrop:ze,slots:o}},{default:()=>[C("div",{role:"tree",class:de(fe,Gb,Vb,{[`${fe}-show-line`]:Be,[`${fe}-focused`]:x.value,[`${fe}-active-focused`]:S.value!==null}),style:Ub},[C(d4,j({ref:$,prefixCls:fe,style:Xb,disabled:Kr,selectable:ke,checkable:!!$t,motion:Zl,height:Fb,itemHeight:Hb,virtual:jb,focusable:Ge,focused:x.value,tabindex:je,activeItem:ue.value,onFocus:ie,onBlur:ee,onKeydown:He,onActiveChange:U,onListChangeStart:ge,onListChangeEnd:L,onContextmenu:zb,onScroll:Kb},qb),null)])]})}}});var g4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};function tg(e){for(var t=1;t({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),E4=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),T4=(e,t)=>{const{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:i}=t,a=(i-t.fontSizeLG)/2,l=t.paddingXS;return{[n]:m(m({},qt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:m({},Pi(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${o}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:O4,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${o}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${r}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:m({},Pi(t)),[`&:not(${o}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{width:i,lineHeight:`${i}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${o}:hover &`]:{opacity:.45}},[`&${o}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:m(m({},_4(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:`${i}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-r,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:i/2*.8,height:i/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:l,marginBlockStart:a},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${i}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:`${i}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:m({lineHeight:`${i}px`,userSelect:"none"},E4(e,t)),[`${o}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:i/2,bottom:-r,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${o}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${i/2}px !important`}}}}})}},P4=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},A4=(e,t)=>{const n=`.${e}`,o=`${n}-treenode`,r=t.paddingXS/2,i=t.controlHeightSM,a=ht(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:i});return[T4(e,a),P4(a)]},I4=en("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:gM(`${n}-checkbox`,e)},A4(n,e),Uy(e)]}),db=()=>{const e=_0();return m(m({},e),{showLine:$i([Boolean,Object]),multiple:Qe(),autoExpandParent:Qe(),checkStrictly:Qe(),checkable:Qe(),disabled:Qe(),defaultExpandAll:Qe(),defaultExpandParent:Qe(),defaultExpandedKeys:Zn(),expandedKeys:Zn(),checkedKeys:$i([Array,Object]),defaultCheckedKeys:Zn(),selectedKeys:Zn(),defaultSelectedKeys:Zn(),selectable:Qe(),loadedKeys:Zn(),draggable:Qe(),showIcon:Qe(),icon:ra(),switcherIcon:q.any,prefixCls:String,replaceFields:Ue(),blockNode:Qe(),openAnimation:q.any,onDoubleclick:e.onDblclick,"onUpdate:selectedKeys":ra(),"onUpdate:checkedKeys":ra(),"onUpdate:expandedKeys":ra()})},Ba=se({compatConfig:{MODE:3},name:"ATree",inheritAttrs:!1,props:dn(db(),{checkable:!1,selectable:!0,showIcon:!1,blockNode:!1}),slots:Object,setup(e,t){let{attrs:n,expose:o,emit:r,slots:i}=t;e.treeData===void 0&&i.default;const{prefixCls:a,direction:l,virtual:s}=dt("tree",e),[c,d]=I4(a),u=pe();o({treeRef:u,onNodeExpand:function(){var g;(g=u.value)===null||g===void 0||g.onNodeExpand(...arguments)},scrollTo:g=>{var y;(y=u.value)===null||y===void 0||y.scrollTo(g)},selectedKeys:T(()=>{var g;return(g=u.value)===null||g===void 0?void 0:g.selectedKeys}),checkedKeys:T(()=>{var g;return(g=u.value)===null||g===void 0?void 0:g.checkedKeys}),halfCheckedKeys:T(()=>{var g;return(g=u.value)===null||g===void 0?void 0:g.halfCheckedKeys}),loadedKeys:T(()=>{var g;return(g=u.value)===null||g===void 0?void 0:g.loadedKeys}),loadingKeys:T(()=>{var g;return(g=u.value)===null||g===void 0?void 0:g.loadingKeys}),expandedKeys:T(()=>{var g;return(g=u.value)===null||g===void 0?void 0:g.expandedKeys})}),nt(()=>{Fn(e.replaceFields===void 0,"Tree","`replaceFields` is deprecated, please use fieldNames instead")});const p=(g,y)=>{r("update:checkedKeys",g),r("check",g,y)},h=(g,y)=>{r("update:expandedKeys",g),r("expand",g,y)},v=(g,y)=>{r("update:selectedKeys",g),r("select",g,y)};return()=>{const{showIcon:g,showLine:y,switcherIcon:x=i.switcherIcon,icon:S=i.icon,blockNode:E,checkable:w,selectable:$,fieldNames:b=e.replaceFields,motion:O=e.openAnimation,itemHeight:_=28,onDoubleclick:P,onDblclick:N}=e,B=m(m(m({},n),Pt(e,["onUpdate:checkedKeys","onUpdate:expandedKeys","onUpdate:selectedKeys","onDoubleclick"])),{showLine:!!y,dropIndicatorRender:$4,fieldNames:b,icon:S,itemHeight:_}),F=i.default?sn(i.default()):void 0;return c(C(h4,j(j({},B),{},{virtual:s.value,motion:O,ref:u,prefixCls:a.value,class:de({[`${a.value}-icon-hide`]:!g,[`${a.value}-block-node`]:E,[`${a.value}-unselectable`]:!$,[`${a.value}-rtl`]:l.value==="rtl"},n.class,d.value),direction:l.value,checkable:w,selectable:$,switcherIcon:G=>w4(a.value,x,G,i.leafIcon,y),onCheck:p,onExpand:h,onSelect:v,onDblclick:N||P,children:F}),m(m({},i),{checkable:()=>C("span",{class:`${a.value}-checkbox-inner`},null)})))}}});var M4={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"};function ag(e){for(var t=1;t{if(l===In.End)return!1;if(s(c)){if(a.push(c),l===In.None)l=In.Start;else if(l===In.Start)return l=In.End,!1}else l===In.Start&&a.push(c);return n.includes(c)}),a}function ks(e,t,n){const o=[...t],r=[];return md(e,n,(i,a)=>{const l=o.indexOf(i);return l!==-1&&(r.push(a),o.splice(l,1)),!!o.length}),r}var L4=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);rm(m({},db()),{expandAction:$i([Boolean,String])});function H4(e){const{isLeaf:t,expanded:n}=e;return C(t?Gl:n?hd:gd,null,null)}const zs=se({compatConfig:{MODE:3},name:"ADirectoryTree",inheritAttrs:!1,props:dn(F4(),{showIcon:!0,expandAction:"click"}),slots:Object,setup(e,t){let{attrs:n,slots:o,emit:r,expose:i}=t;var a;const l=pe(e.treeData||Lc(sn((a=o.default)===null||a===void 0?void 0:a.call(o))));he(()=>e.treeData,()=>{l.value=e.treeData}),wn(()=>{at(()=>{var _;e.treeData===void 0&&o.default&&(l.value=Lc(sn((_=o.default)===null||_===void 0?void 0:_.call(o))))})});const s=pe(),c=pe(),d=T(()=>Vl(e.fieldNames)),u=pe();i({scrollTo:_=>{var P;(P=u.value)===null||P===void 0||P.scrollTo(_)},selectedKeys:T(()=>{var _;return(_=u.value)===null||_===void 0?void 0:_.selectedKeys}),checkedKeys:T(()=>{var _;return(_=u.value)===null||_===void 0?void 0:_.checkedKeys}),halfCheckedKeys:T(()=>{var _;return(_=u.value)===null||_===void 0?void 0:_.halfCheckedKeys}),loadedKeys:T(()=>{var _;return(_=u.value)===null||_===void 0?void 0:_.loadedKeys}),loadingKeys:T(()=>{var _;return(_=u.value)===null||_===void 0?void 0:_.loadingKeys}),expandedKeys:T(()=>{var _;return(_=u.value)===null||_===void 0?void 0:_.expandedKeys})});const p=()=>{const{keyEntities:_}=T0(l.value,{fieldNames:d.value});let P;return e.defaultExpandAll?P=Object.keys(_):e.defaultExpandParent?P=Bc(e.expandedKeys||e.defaultExpandedKeys||[],_):P=e.expandedKeys||e.defaultExpandedKeys,P},h=pe(e.selectedKeys||e.defaultSelectedKeys||[]),v=pe(p());he(()=>e.selectedKeys,()=>{e.selectedKeys!==void 0&&(h.value=e.selectedKeys)},{immediate:!0}),he(()=>e.expandedKeys,()=>{e.expandedKeys!==void 0&&(v.value=e.expandedKeys)},{immediate:!0});const y=aA((_,P)=>{const{isLeaf:N}=P;N||_.shiftKey||_.metaKey||_.ctrlKey||u.value.onNodeExpand(_,P)},200,{leading:!0}),x=(_,P)=>{e.expandedKeys===void 0&&(v.value=_),r("update:expandedKeys",_),r("expand",_,P)},S=(_,P)=>{const{expandAction:N}=e;N==="click"&&y(_,P),r("click",_,P)},E=(_,P)=>{const{expandAction:N}=e;(N==="dblclick"||N==="doubleclick")&&y(_,P),r("doubleclick",_,P),r("dblclick",_,P)},w=(_,P)=>{const{multiple:N}=e,{node:B,nativeEvent:F}=P,G=B[d.value.key],A=m(m({},P),{selected:!0}),D=(F==null?void 0:F.ctrlKey)||(F==null?void 0:F.metaKey),V=F==null?void 0:F.shiftKey;let k;N&&D?(k=_,s.value=G,c.value=k,A.selectedNodes=ks(l.value,k,d.value)):N&&V?(k=Array.from(new Set([...c.value||[],...B4({treeData:l.value,expandedKeys:v.value,startKey:G,endKey:s.value,fieldNames:d.value})])),A.selectedNodes=ks(l.value,k,d.value)):(k=[G],s.value=G,c.value=k,A.selectedNodes=ks(l.value,k,d.value)),r("update:selectedKeys",k),r("select",k,A),e.selectedKeys===void 0&&(h.value=k)},$=(_,P)=>{r("update:checkedKeys",_),r("check",_,P)},{prefixCls:b,direction:O}=dt("tree",e);return()=>{const _=de(`${b.value}-directory`,{[`${b.value}-directory-rtl`]:O.value==="rtl"},n.class),{icon:P=o.icon,blockNode:N=!0}=e,B=L4(e,["icon","blockNode"]);return C(Ba,j(j(j({},n),{},{icon:P||H4,ref:u,blockNode:N},B),{},{prefixCls:b.value,class:_,expandedKeys:v.value,selectedKeys:h.value,onSelect:w,onClick:S,onDblclick:E,onExpand:x,onCheck:$}),o)}}}),Ks=Dc,j4=m(Ba,{DirectoryTree:zs,TreeNode:Ks,install:e=>(e.component(Ba.name,Ba),e.component(Ks.name,Ks),e.component(zs.name,zs),e)});function fb(e,t){return function(){return e.apply(t,arguments)}}const{toString:k4}=Object.prototype,{getPrototypeOf:vd}=Object,Xl=(e=>t=>{const n=k4.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fn=e=>(e=e.toLowerCase(),t=>Xl(t)===e),ql=e=>t=>typeof t===e,{isArray:kr}=Array,Hi=ql("undefined");function z4(e){return e!==null&&!Hi(e)&&e.constructor!==null&&!Hi(e.constructor)&&kt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pb=fn("ArrayBuffer");function K4(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pb(e.buffer),t}const W4=ql("string"),kt=ql("function"),hb=ql("number"),Yl=e=>e!==null&&typeof e=="object",V4=e=>e===!0||e===!1,La=e=>{if(Xl(e)!=="object")return!1;const t=vd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},U4=fn("Date"),G4=fn("File"),X4=fn("Blob"),q4=fn("FileList"),Y4=e=>Yl(e)&&kt(e.pipe),Q4=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||kt(e.append)&&((t=Xl(e))==="formdata"||t==="object"&&kt(e.toString)&&e.toString()==="[object FormData]"))},J4=fn("URLSearchParams"),[Z4,eN,tN,nN]=["ReadableStream","Request","Response","Headers"].map(fn),oN=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Xi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),kr(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Ro=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,mb=e=>!Hi(e)&&e!==Ro;function Wc(){const{caseless:e}=mb(this)&&this||{},t={},n=(o,r)=>{const i=e&&gb(t,r)||r;La(t[i])&&La(o)?t[i]=Wc(t[i],o):La(o)?t[i]=Wc({},o):kr(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(Xi(t,(r,i)=>{n&&kt(r)?e[i]=fb(r,n):e[i]=r},{allOwnKeys:o}),e),iN=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),aN=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},lN=(e,t,n,o)=>{let r,i,a;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],(!o||o(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&vd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sN=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},cN=e=>{if(!e)return null;if(kr(e))return e;let t=e.length;if(!hb(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},uN=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&vd(Uint8Array)),dN=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},fN=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},pN=fn("HTMLFormElement"),hN=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),sg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gN=fn("RegExp"),vb=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Xi(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},mN=e=>{vb(e,(t,n)=>{if(kt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(kt(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},vN=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return kr(e)?o(e):o(String(e).split(t)),n},yN=()=>{},bN=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ws="abcdefghijklmnopqrstuvwxyz",cg="0123456789",yb={DIGIT:cg,ALPHA:Ws,ALPHA_DIGIT:Ws+Ws.toUpperCase()+cg},CN=(e=16,t=yb.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function xN(e){return!!(e&&kt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const SN=e=>{const t=new Array(10),n=(o,r)=>{if(Yl(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=kr(o)?[]:{};return Xi(o,(a,l)=>{const s=n(a,r+1);!Hi(s)&&(i[l]=s)}),t[r]=void 0,i}}return o};return n(e,0)},wN=fn("AsyncFunction"),$N=e=>e&&(Yl(e)||kt(e))&&kt(e.then)&&kt(e.catch),bb=((e,t)=>e?setImmediate:t?((n,o)=>(Ro.addEventListener("message",({source:r,data:i})=>{r===Ro&&i===n&&o.length&&o.shift()()},!1),r=>{o.push(r),Ro.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",kt(Ro.postMessage)),ON=typeof queueMicrotask<"u"?queueMicrotask.bind(Ro):typeof process<"u"&&process.nextTick||bb,z={isArray:kr,isArrayBuffer:pb,isBuffer:z4,isFormData:Q4,isArrayBufferView:K4,isString:W4,isNumber:hb,isBoolean:V4,isObject:Yl,isPlainObject:La,isReadableStream:Z4,isRequest:eN,isResponse:tN,isHeaders:nN,isUndefined:Hi,isDate:U4,isFile:G4,isBlob:X4,isRegExp:gN,isFunction:kt,isStream:Y4,isURLSearchParams:J4,isTypedArray:uN,isFileList:q4,forEach:Xi,merge:Wc,extend:rN,trim:oN,stripBOM:iN,inherits:aN,toFlatObject:lN,kindOf:Xl,kindOfTest:fn,endsWith:sN,toArray:cN,forEachEntry:dN,matchAll:fN,isHTMLForm:pN,hasOwnProperty:sg,hasOwnProp:sg,reduceDescriptors:vb,freezeMethods:mN,toObjectSet:vN,toCamelCase:hN,noop:yN,toFiniteNumber:bN,findKey:gb,global:Ro,isContextDefined:mb,ALPHABET:yb,generateString:CN,isSpecCompliantForm:xN,toJSONObject:SN,isAsyncFn:wN,isThenable:$N,setImmediate:bb,asap:ON};function Ie(e,t,n,o,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r)}z.inherits(Ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Cb=Ie.prototype,xb={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{xb[e]={value:e}});Object.defineProperties(Ie,xb);Object.defineProperty(Cb,"isAxiosError",{value:!0});Ie.from=(e,t,n,o,r,i)=>{const a=Object.create(Cb);return z.toFlatObject(e,a,function(s){return s!==Error.prototype},l=>l!=="isAxiosError"),Ie.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const _N=null;function Vc(e){return z.isPlainObject(e)||z.isArray(e)}function Sb(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function ug(e,t,n){return e?e.concat(t).map(function(r,i){return r=Sb(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function EN(e){return z.isArray(e)&&!e.some(Vc)}const TN=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function Ql(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,g){return!z.isUndefined(g[v])});const o=n.metaTokens,r=n.visitor||d,i=n.dots,a=n.indexes,s=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(z.isDate(h))return h.toISOString();if(!s&&z.isBlob(h))throw new Ie("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(h)||z.isTypedArray(h)?s&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,v,g){let y=h;if(h&&!g&&typeof h=="object"){if(z.endsWith(v,"{}"))v=o?v:v.slice(0,-2),h=JSON.stringify(h);else if(z.isArray(h)&&EN(h)||(z.isFileList(h)||z.endsWith(v,"[]"))&&(y=z.toArray(h)))return v=Sb(v),y.forEach(function(S,E){!(z.isUndefined(S)||S===null)&&t.append(a===!0?ug([v],E,i):a===null?v:v+"[]",c(S))}),!1}return Vc(h)?!0:(t.append(ug(g,v,i),c(h)),!1)}const u=[],f=Object.assign(TN,{defaultVisitor:d,convertValue:c,isVisitable:Vc});function p(h,v){if(!z.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+v.join("."));u.push(h),z.forEach(h,function(y,x){(!(z.isUndefined(y)||y===null)&&r.call(t,y,z.isString(x)?x.trim():x,v,f))===!0&&p(y,v?v.concat(x):[x])}),u.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return p(e),t}function dg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function yd(e,t){this._pairs=[],e&&Ql(e,this,t)}const wb=yd.prototype;wb.append=function(t,n){this._pairs.push([t,n])};wb.toString=function(t){const n=t?function(o){return t.call(this,o,dg)}:dg;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function PN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $b(e,t,n){if(!t)return e;const o=n&&n.encode||PN,r=n&&n.serialize;let i;if(r?i=r(t,n):i=z.isURLSearchParams(t)?t.toString():new yd(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class fg{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Ob={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},AN=typeof URLSearchParams<"u"?URLSearchParams:yd,IN=typeof FormData<"u"?FormData:null,MN=typeof Blob<"u"?Blob:null,RN={isBrowser:!0,classes:{URLSearchParams:AN,FormData:IN,Blob:MN},protocols:["http","https","file","blob","url","data"]},bd=typeof window<"u"&&typeof document<"u",NN=(e=>bd&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),DN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",BN=bd&&window.location.href||"http://localhost",LN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bd,hasStandardBrowserEnv:NN,hasStandardBrowserWebWorkerEnv:DN,origin:BN},Symbol.toStringTag,{value:"Module"})),an={...LN,...RN};function FN(e,t){return Ql(e,new an.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return an.isNode&&z.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function HN(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function jN(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&z.isArray(r)?r.length:a,s?(z.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!l):((!r[a]||!z.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&z.isArray(r[a])&&(r[a]=jN(r[a])),!l)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(o,r)=>{t(HN(o),r,n,0)}),n}return null}function kN(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const qi={transitional:Ob,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=z.isObject(t);if(i&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return r?JSON.stringify(_b(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t)||z.isReadableStream(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return FN(t,this.formSerializer).toString();if((l=z.isFileList(t))||o.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return Ql(l?{"files[]":t}:t,s&&new s,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),kN(t)):t}],transformResponse:[function(t){const n=this.transitional||qi.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(z.isResponse(t)||z.isReadableStream(t))return t;if(t&&z.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?Ie.from(l,Ie.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:an.classes.FormData,Blob:an.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{qi.headers[e]={}});const zN=z.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"]),KN=e=>{const t={};let n,o,r;return e&&e.split(` +`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&zN[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},pg=Symbol("internals");function Jr(e){return e&&String(e).trim().toLowerCase()}function Fa(e){return e===!1||e==null?e:z.isArray(e)?e.map(Fa):String(e)}function WN(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const VN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vs(e,t,n,o,r){if(z.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!z.isString(t)){if(z.isString(o))return t.indexOf(o)!==-1;if(z.isRegExp(o))return o.test(t)}}function UN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function GN(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,a){return this[o].call(this,t,r,i,a)},configurable:!0})})}class Dt{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(l,s,c){const d=Jr(s);if(!d)throw new Error("header name must be a non-empty string");const u=z.findKey(r,d);(!u||r[u]===void 0||c===!0||c===void 0&&r[u]!==!1)&&(r[u||s]=Fa(l))}const a=(l,s)=>z.forEach(l,(c,d)=>i(c,d,s));if(z.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(z.isString(t)&&(t=t.trim())&&!VN(t))a(KN(t),n);else if(z.isHeaders(t))for(const[l,s]of t.entries())i(s,l,o);else t!=null&&i(n,t,o);return this}get(t,n){if(t=Jr(t),t){const o=z.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return WN(r);if(z.isFunction(n))return n.call(this,r,o);if(z.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Jr(t),t){const o=z.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Vs(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=Jr(a),a){const l=z.findKey(o,a);l&&(!n||Vs(o,o[l],l,n))&&(delete o[l],r=!0)}}return z.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||Vs(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return z.forEach(this,(r,i)=>{const a=z.findKey(o,i);if(a){n[a]=Fa(r),delete n[i];return}const l=t?UN(i):String(i).trim();l!==i&&delete n[i],n[l]=Fa(r),o[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&z.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[pg]=this[pg]={accessors:{}}).accessors,r=this.prototype;function i(a){const l=Jr(a);o[l]||(GN(r,a),o[l]=!0)}return z.isArray(t)?t.forEach(i):i(t),this}}Dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(Dt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});z.freezeMethods(Dt);function Us(e,t){const n=this||qi,o=t||n,r=Dt.from(o.headers);let i=o.data;return z.forEach(e,function(l){i=l.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Eb(e){return!!(e&&e.__CANCEL__)}function zr(e,t,n){Ie.call(this,e??"canceled",Ie.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(zr,Ie,{__CANCEL__:!0});function Tb(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new Ie("Request failed with status code "+n.status,[Ie.ERR_BAD_REQUEST,Ie.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function XN(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qN(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(s){const c=Date.now(),d=o[i];a||(a=c),n[r]=s,o[r]=c;let u=i,f=0;for(;u!==r;)f+=n[u++],u=u%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-a{n=d,r=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),u=d-n;u>=o?a(c,d):(r=c,i||(i=setTimeout(()=>{i=null,a(r)},o-u)))},()=>r&&a(r)]}const fl=(e,t,n=3)=>{let o=0;const r=qN(50,250);return YN(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,s=a-o,c=r(s),d=a<=l;o=a;const u={loaded:a,total:l,progress:l?a/l:void 0,bytes:s,rate:c||void 0,estimated:c&&l&&d?(l-a)/c:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(u)},n)},hg=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},gg=e=>(...t)=>z.asap(()=>e(...t)),QN=an.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(a){const l=z.isString(a)?r(a):a;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}(),JN=an.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];z.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),z.isString(o)&&a.push("path="+o),z.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ZN(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function eD(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Pb(e,t){return e&&!ZN(t)?eD(e,t):t}const mg=e=>e instanceof Dt?{...e}:e;function Yo(e,t){t=t||{};const n={};function o(c,d,u){return z.isPlainObject(c)&&z.isPlainObject(d)?z.merge.call({caseless:u},c,d):z.isPlainObject(d)?z.merge({},d):z.isArray(d)?d.slice():d}function r(c,d,u){if(z.isUndefined(d)){if(!z.isUndefined(c))return o(void 0,c,u)}else return o(c,d,u)}function i(c,d){if(!z.isUndefined(d))return o(void 0,d)}function a(c,d){if(z.isUndefined(d)){if(!z.isUndefined(c))return o(void 0,c)}else return o(void 0,d)}function l(c,d,u){if(u in t)return o(c,d);if(u in e)return o(void 0,c)}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(c,d)=>r(mg(c),mg(d),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(d){const u=s[d]||r,f=u(e[d],t[d],d);z.isUndefined(f)&&u!==l||(n[d]=f)}),n}const Ab=e=>{const t=Yo({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:a,auth:l}=t;t.headers=a=Dt.from(a),t.url=$b(Pb(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let s;if(z.isFormData(n)){if(an.hasStandardBrowserEnv||an.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((s=a.getContentType())!==!1){const[c,...d]=s?s.split(";").map(u=>u.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...d].join("; "))}}if(an.hasStandardBrowserEnv&&(o&&z.isFunction(o)&&(o=o(t)),o||o!==!1&&QN(t.url))){const c=r&&i&&JN.read(i);c&&a.set(r,c)}return t},tD=typeof XMLHttpRequest<"u",nD=tD&&function(e){return new Promise(function(n,o){const r=Ab(e);let i=r.data;const a=Dt.from(r.headers).normalize();let{responseType:l,onUploadProgress:s,onDownloadProgress:c}=r,d,u,f,p,h;function v(){p&&p(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(d),r.signal&&r.signal.removeEventListener("abort",d)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout;function y(){if(!g)return;const S=Dt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:S,config:e,request:g};Tb(function(b){n(b),v()},function(b){o(b),v()},w),g=null}"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(y)},g.onabort=function(){g&&(o(new Ie("Request aborted",Ie.ECONNABORTED,e,g)),g=null)},g.onerror=function(){o(new Ie("Network Error",Ie.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let E=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const w=r.transitional||Ob;r.timeoutErrorMessage&&(E=r.timeoutErrorMessage),o(new Ie(E,w.clarifyTimeoutError?Ie.ETIMEDOUT:Ie.ECONNABORTED,e,g)),g=null},i===void 0&&a.setContentType(null),"setRequestHeader"in g&&z.forEach(a.toJSON(),function(E,w){g.setRequestHeader(w,E)}),z.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),l&&l!=="json"&&(g.responseType=r.responseType),c&&([f,h]=fl(c,!0),g.addEventListener("progress",f)),s&&g.upload&&([u,p]=fl(s),g.upload.addEventListener("progress",u),g.upload.addEventListener("loadend",p)),(r.cancelToken||r.signal)&&(d=S=>{g&&(o(!S||S.type?new zr(null,e,g):S),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(d),r.signal&&(r.signal.aborted?d():r.signal.addEventListener("abort",d)));const x=XN(r.url);if(x&&an.protocols.indexOf(x)===-1){o(new Ie("Unsupported protocol "+x+":",Ie.ERR_BAD_REQUEST,e));return}g.send(i||null)})},oD=(e,t)=>{let n=new AbortController,o;const r=function(s){if(!o){o=!0,a();const c=s instanceof Error?s:this.reason;n.abort(c instanceof Ie?c:new zr(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{r(new Ie(`timeout ${t} of ms exceeded`,Ie.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(s=>{s&&(s.removeEventListener?s.removeEventListener("abort",r):s.unsubscribe(r))}),e=null)};e.forEach(s=>s&&s.addEventListener&&s.addEventListener("abort",r));const{signal:l}=n;return l.unsubscribe=a,[l,()=>{i&&clearTimeout(i),i=null}]},rD=function*(e,t){let n=e.byteLength;if(!t||n{const i=iD(e,t,r);let a=0,l,s=c=>{l||(l=!0,o&&o(c))};return new ReadableStream({async pull(c){try{const{done:d,value:u}=await i.next();if(d){s(),c.close();return}let f=u.byteLength;if(n){let p=a+=f;n(p)}c.enqueue(new Uint8Array(u))}catch(d){throw s(d),d}},cancel(c){return s(c),i.return()}},{highWaterMark:2})},Jl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ib=Jl&&typeof ReadableStream=="function",Uc=Jl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Mb=(e,...t)=>{try{return!!e(...t)}catch{return!1}},aD=Ib&&Mb(()=>{let e=!1;const t=new Request(an.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),yg=64*1024,Gc=Ib&&Mb(()=>z.isReadableStream(new Response("").body)),pl={stream:Gc&&(e=>e.body)};Jl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!pl[t]&&(pl[t]=z.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new Ie(`Response type '${t}' is not supported`,Ie.ERR_NOT_SUPPORT,o)})})})(new Response);const lD=async e=>{if(e==null)return 0;if(z.isBlob(e))return e.size;if(z.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(z.isArrayBufferView(e)||z.isArrayBuffer(e))return e.byteLength;if(z.isURLSearchParams(e)&&(e=e+""),z.isString(e))return(await Uc(e)).byteLength},sD=async(e,t)=>{const n=z.toFiniteNumber(e.getContentLength());return n??lD(t)},cD=Jl&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:i,timeout:a,onDownloadProgress:l,onUploadProgress:s,responseType:c,headers:d,withCredentials:u="same-origin",fetchOptions:f}=Ab(e);c=c?(c+"").toLowerCase():"text";let[p,h]=r||i||a?oD([r,i],a):[],v,g;const y=()=>{!v&&setTimeout(()=>{p&&p.unsubscribe()}),v=!0};let x;try{if(s&&aD&&n!=="get"&&n!=="head"&&(x=await sD(d,o))!==0){let $=new Request(t,{method:"POST",body:o,duplex:"half"}),b;if(z.isFormData(o)&&(b=$.headers.get("content-type"))&&d.setContentType(b),$.body){const[O,_]=hg(x,fl(gg(s)));o=vg($.body,yg,O,_,Uc)}}z.isString(u)||(u=u?"include":"omit"),g=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:o,duplex:"half",credentials:u});let S=await fetch(g);const E=Gc&&(c==="stream"||c==="response");if(Gc&&(l||E)){const $={};["status","statusText","headers"].forEach(P=>{$[P]=S[P]});const b=z.toFiniteNumber(S.headers.get("content-length")),[O,_]=l&&hg(b,fl(gg(l),!0))||[];S=new Response(vg(S.body,yg,O,()=>{_&&_(),E&&y()},Uc),$)}c=c||"text";let w=await pl[z.findKey(pl,c)||"text"](S,e);return!E&&y(),h&&h(),await new Promise(($,b)=>{Tb($,b,{data:w,headers:Dt.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:g})})}catch(S){throw y(),S&&S.name==="TypeError"&&/fetch/i.test(S.message)?Object.assign(new Ie("Network Error",Ie.ERR_NETWORK,e,g),{cause:S.cause||S}):Ie.from(S,S&&S.code,e,g)}}),Xc={http:_N,xhr:nD,fetch:cD};z.forEach(Xc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bg=e=>`- ${e}`,uD=e=>z.isFunction(e)||e===null||e===!1,Rb={getAdapter:e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i`adapter ${l} `+(s===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : +`+i.map(bg).join(` +`):" "+bg(i[0]):"as no adapter specified";throw new Ie("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Xc};function Gs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zr(null,e)}function Cg(e){return Gs(e),e.headers=Dt.from(e.headers),e.data=Us.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Rb.getAdapter(e.adapter||qi.adapter)(e).then(function(o){return Gs(e),o.data=Us.call(e,e.transformResponse,o),o.headers=Dt.from(o.headers),o},function(o){return Eb(o)||(Gs(e),o&&o.response&&(o.response.data=Us.call(e,e.transformResponse,o.response),o.response.headers=Dt.from(o.response.headers))),Promise.reject(o)})}const Nb="1.7.3",Cd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Cd[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const xg={};Cd.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Nb+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,l)=>{if(t===!1)throw new Ie(r(a," has been removed"+(n?" in "+n:"")),Ie.ERR_DEPRECATED);return n&&!xg[a]&&(xg[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,l):!0}};function dD(e,t,n){if(typeof e!="object")throw new Ie("options must be an object",Ie.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const l=e[i],s=l===void 0||a(l,i,e);if(s!==!0)throw new Ie("option "+i+" must be "+s,Ie.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ie("Unknown option "+i,Ie.ERR_BAD_OPTION)}}const qc={assertOptions:dD,validators:Cd},Xn=qc.validators;class jo{constructor(t){this.defaults=t,this.interceptors={request:new fg,response:new fg}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=` +`+i):o.stack=i}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Yo(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&qc.assertOptions(o,{silentJSONParsing:Xn.transitional(Xn.boolean),forcedJSONParsing:Xn.transitional(Xn.boolean),clarifyTimeoutError:Xn.transitional(Xn.boolean)},!1),r!=null&&(z.isFunction(r)?n.paramsSerializer={serialize:r}:qc.assertOptions(r,{encode:Xn.function,serialize:Xn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&z.merge(i.common,i[n.method]);i&&z.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=Dt.concat(a,i);const l=[];let s=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(s=s&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let d,u=0,f;if(!s){const h=[Cg.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),f=h.length,d=Promise.resolve(n);u{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(l=>{o.subscribe(l),i=l}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,l){o.reason||(o.reason=new zr(i,a,l),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new xd(function(r){t=r}),cancel:t}}}function fD(e){return function(n){return e.apply(null,n)}}function pD(e){return z.isObject(e)&&e.isAxiosError===!0}const Yc={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};Object.entries(Yc).forEach(([e,t])=>{Yc[t]=e});function Db(e){const t=new jo(e),n=fb(jo.prototype.request,t);return z.extend(n,jo.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Db(Yo(e,r))},n}const st=Db(qi);st.Axios=jo;st.CanceledError=zr;st.CancelToken=xd;st.isCancel=Eb;st.VERSION=Nb;st.toFormData=Ql;st.AxiosError=Ie;st.Cancel=st.CanceledError;st.all=function(t){return Promise.all(t)};st.spread=fD;st.isAxiosError=pD;st.mergeConfig=Yo;st.AxiosHeaders=Dt;st.formToJSON=e=>_b(z.isHTMLForm(e)?new FormData(e):e);st.getAdapter=Rb.getAdapter;st.HttpStatusCode=Yc;st.default=st;const Co=e=>(Jg("data-v-a9ffa1e7"),e=e(),Zg(),e),hD=Co(()=>Ce("h1",null,"我的订阅",-1)),gD={class:"crumbs"},mD=["onClick"],vD={class:"group"},yD=["onClick"],bD=Co(()=>Ce("i",null,"📂",-1)),CD={class:"links"},xD=["onClick"],SD=["src"],wD={class:"container"},$D={class:"app-left"},OD=Co(()=>Ce("div",{class:"logo"},[Ce("img",{src:Ax,alt:""})],-1)),_D={class:"tree"},ED={class:"app-right"},TD={class:"header"},PD={class:"search"},AD={key:0,class:"search-popup"},ID=["onClick"],MD=["src"],RD=Co(()=>Ce("div",{class:"menu"},[Ce("a",{target:"_blank",href:"https://home.zhuayuya.com/docs/%E6%A0%87%E7%AD%BE%E6%98%9F%E7%90%83.html"},"官网"),Ce("a",{target:"_blank",href:"https://home.zhuayuya.com/docs/%E6%A0%87%E7%AD%BE%E6%98%9F%E7%90%83%E5%8F%8D%E9%A6%88.html"},"反馈")],-1)),ND={class:"content"},DD={class:"left"},BD={class:"recently-opened"},LD=Co(()=>Ce("h1",null,"最近打开过",-1)),FD=["onClick"],HD=["src"],jD={class:"current-folder-link"},kD={class:"subscribe"},zD=["onClick"],KD=Co(()=>Ce("i",null,"🏜️",-1)),WD={class:"current-folder-header"},VD=Co(()=>Ce("h1",null,"收藏栏链接",-1)),UD=["onClick"],GD=["src"],XD={class:"right"},qD=Co(()=>Ce("h1",null,"当前浏览器Tabs",-1)),YD=["onClick"],QD=["src"],JD={__name:"index",setup(e){const t=vt({bookmarks:[],select_bookmarks:[],tabs:[],recent:[],search_input:"",search_data:[],search_show:!1,subscribe:[],subscribe_data:[],subscribe_show:!1,subscribe_crumbs:[],subscribe_add_show:!1,subscribe_src:""});chrome.bookmarks.getTree(function(y){t.bookmarks=n(y)[0].children,o.value=n(y)[0].children[0].key,t.select_bookmarks=n(y)[0].children[0]}),chrome.tabs.query({},function(y){t.tabs=y}),chrome.history.search({text:"",maxResults:10},function(y){t.recent=y.map(x=>({title:x.title,url:x.url,windowId:x.windowId,id:x.id,icon:"https://logo.clearbit.com/"+new URL(x.url).hostname}))});function n(y){function x(S){const E=S.children&&Array.isArray(S.children)?"file":"link",w={title:S.title||"",url:S.url||"",icon:S.url?"https://logo.clearbit.com/"+new URL(S.url).hostname:"",key:S.id,type:E,children:[]};return E==="file"&&(w.children=S.children.map($=>x($))),w}return y.map(S=>x(S))}const o=pe(null);function r(y){console.log(y),t.select_bookmarks=y,o.value=y.key}function i(y){chrome.windows.update(y.windowId,{focused:!0},function(){chrome.tabs.update(y.id,{active:!0})})}function a(y){chrome.tabs.create({url:y})}function l(){t.search_input!=""?t.search_show=!0:t.search_show=!1,t.search_data=s(t.bookmarks,t.search_input)}function s(y,x){let S=[];function E(w){w.url&&w.title.toLowerCase().includes(x)&&S.push({title:w.title,url:w.url,icon:w.icon}),w.children&&w.children.forEach(E)}return y.forEach(E),S}function c(){const y=document.createElement("a"),x=JSON.stringify(t.select_bookmarks),S=new Blob([x],{type:"text/plain"});y.href=URL.createObjectURL(S),y.download=t.select_bookmarks.title+".json",y.click()}function d(y){t.subscribe_show=!0,st.get("https://tagplanet.zhuayuya.com/proxy?endpoint="+y.src).then(function(x){t.subscribe_crumbs=[],t.subscribe_data=x.data,t.subscribe_crumbs.push(x.data)})}function u(y){t.subscribe_crumbs.push(y),t.subscribe_data=y}function f(y,x){t.subscribe_data=y,t.subscribe_crumbs.splice(x+1)}function p(){if(!t.subscribe_src.endsWith(".json")){uo.info("请输入正确的订阅源链接");return}if(!/^https?:\/\//.test(t.subscribe_src)){uo.info("请输入正确的订阅源链接");return}st.get("https://tagplanet.zhuayuya.com/proxy?endpoint="+t.subscribe_src).then(function(y){console.log(y.data),y.data.title&&(t.subscribe.push({title:y.data.title,time:new Date().toLocaleString(),src:t.subscribe_src}),t.subscribe_add_show=!1,t.subscribe_src="",v())}).catch(function(y){uo.error("请输入正确的订阅链接")})}function h(y){t.subscribe.splice(y,1),v()}function v(){localStorage.setItem("subscribe",JSON.stringify(t.subscribe))}g();function g(){let y=JSON.parse(localStorage.getItem("subscribe"));y&&(t.subscribe=y)}return(y,x)=>{const S=fr("a-input"),E=fr("a-modal"),w=fr("a-menu-item"),$=fr("a-menu"),b=fr("a-dropdown");return Ve(),Ye(Me,null,[t.subscribe_show?(Ve(),Ye("div",{key:0,onClick:x[2]||(x[2]=O=>t.subscribe_show=!1),class:"popup"},[Ce("div",{onClick:x[1]||(x[1]=Ua(()=>{},["stop"])),class:"popup-content"},[hD,Ce("div",gD,[(Ve(!0),Ye(Me,null,mn(t.subscribe_crumbs,(O,_)=>(Ve(),Ye("span",{onClick:P=>f(O,_),key:_},It(O.title)+" / ",9,mD))),128))]),Ce("div",vD,[Ce("ul",null,[(Ve(!0),Ye(Me,null,mn(t.subscribe_data.children,(O,_)=>(Ve(),Ye(Me,{key:_},[O.type==="file"?(Ve(),Ye("li",{key:0,onClick:P=>u(O)},[bD,Ce("span",null,It(O.title),1)],8,yD)):to("",!0)],64))),128))])]),Ce("div",CD,[Ce("ul",null,[(Ve(!0),Ye(Me,null,mn(t.subscribe_data.children,(O,_)=>(Ve(),Ye(Me,{key:_},[O.type==="link"?(Ve(),Ye("li",{key:0,onClick:P=>a(O.url)},[Ce("img",{src:O.icon||it(hn),onErrorOnce:x[0]||(x[0]=P=>{P.target.src=it(hn)}),alt:""},null,40,SD),Ce("div",null,[Ce("h3",null,It(O.title),1),Ce("p",null,It(O.url),1)])],8,xD)):to("",!0)],64))),128))])])])])):to("",!0),C(E,{open:t.subscribe_add_show,"onUpdate:open":x[4]||(x[4]=O=>t.subscribe_add_show=O),title:"添加订阅源",cancelText:"取消",okText:"确定",onOk:p},{default:dr(()=>[C(S,{placeholder:"请输入订阅源地址,包含http部分",value:t.subscribe_src,"onUpdate:value":x[3]||(x[3]=O=>t.subscribe_src=O)},null,8,["value"])]),_:1},8,["open"]),Ce("div",wD,[Ce("div",$D,[OD,Ce("div",_D,[(Ve(!0),Ye(Me,null,mn(t.bookmarks,O=>(Ve(),Ci(Lx,{key:O.key,node:O,"is-selected":o.value===O.key,"selected-node":o.value,onNodeClicked:r},null,8,["node","is-selected","selected-node"]))),128))])]),Ce("div",ED,[Ce("div",TD,[Ce("div",PD,[Jo(Ce("input",{onInput:l,"onUpdate:modelValue":x[5]||(x[5]=O=>t.search_input=O),type:"text",placeholder:"Search..."},null,544),[[wx,t.search_input]]),t.search_show?(Ve(),Ye("div",AD,[Ce("ul",null,[(Ve(!0),Ye(Me,null,mn(t.search_data,(O,_)=>(Ve(),Ye("li",{onClick:P=>a(O.url)},[Ce("img",{src:O.icon||it(hn),onError:x[6]||(x[6]=P=>{P.target.src=it(hn)}),alt:""},null,40,MD),Ce("span",null,It(O.title),1)],8,ID))),256))])])):to("",!0)]),RD]),Ce("div",ND,[Ce("div",DD,[Ce("div",BD,[LD,Ce("ul",null,[(Ve(!0),Ye(Me,null,mn(t.recent,(O,_)=>(Ve(),Ye("li",{onClick:P=>a(O.url),key:_},[Ce("img",{src:O.icon||it(hn),onError:x[7]||(x[7]=P=>{P.target.src=it(hn)}),alt:""},null,40,HD),Ce("span",null,It(O.title),1)],8,FD))),128))])]),Ce("div",jD,[Ce("div",kD,[(Ve(!0),Ye(Me,null,mn(t.subscribe,(O,_)=>(Ve(),Ci(b,{key:_,trigger:["contextmenu"]},{overlay:dr(()=>[C($,null,{default:dr(()=>[C(w,{key:"1",onClick:P=>h(_)},{default:dr(()=>[Tm("🗑️ 删除")]),_:2},1032,["onClick"])]),_:2},1024)]),default:dr(()=>[Ce("div",{class:"subscribe-item",onClick:P=>d(O)},[KD,Ce("span",null,It(O.title),1)],8,zD)]),_:2},1024))),128))]),Ce("div",WD,[VD,Ce("div",null,[Ce("span",{onClick:x[8]||(x[8]=O=>t.subscribe_add_show=!0)},"🏜️ 订阅"),Ce("span",{onClick:c,style:{"margin-left":"8px"}},"📥导出")])]),Ce("ul",null,[(Ve(!0),Ye(Me,null,mn(t.select_bookmarks.children,(O,_)=>(Ve(),Ye(Me,null,[O.type==="link"?(Ve(),Ye("li",{onClick:P=>a(O.url),key:_},[Ce("img",{onErrorOnce:x[9]||(x[9]=P=>{P.target.src=it(hn)}),src:O.icon||it(hn),alt:""},null,40,GD),Ce("div",null,[Ce("h3",null,It(O.title),1),Ce("p",null,It(O.url),1)])],8,UD)):to("",!0)],64))),256))])])]),Ce("div",XD,[qD,Ce("ul",null,[(Ve(!0),Ye(Me,null,mn(t.tabs,(O,_)=>(Ve(),Ye("li",{onClick:P=>i(O),key:_},[Ce("img",{src:O.favIconUrl||it(hn),onErrorOnce:x[10]||(x[10]=P=>{P.target.src=it(hn)}),alt:""},null,40,QD),Ce("span",null,It(O.title),1)],8,YD))),128))])])])])])],64)}}},ZD=km(JD,[["__scopeId","data-v-a9ffa1e7"]]),e6={__name:"App",setup(e){return(t,n)=>(Ve(),Ci(ZD))}},ar=Ex(e6);ar.use(j4);ar.use(jt);ar.use(gt);ar.use(Yt);ar.use(Ho);ar.use(co);ar.use().mount("#app")});export default t6(); diff --git a/dist/assets/logo-ioO_fY06.svg b/dist/assets/logo-ioO_fY06.svg new file mode 100644 index 0000000..f3b2957 --- /dev/null +++ b/dist/assets/logo-ioO_fY06.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/file.svg b/dist/file.svg new file mode 100644 index 0000000..2bdee60 --- /dev/null +++ b/dist/file.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/icon128.png b/dist/icons/icon128.png similarity index 100% rename from icons/icon128.png rename to dist/icons/icon128.png diff --git a/icons/icon16.png b/dist/icons/icon16.png similarity index 100% rename from icons/icon16.png rename to dist/icons/icon16.png diff --git a/icons/icon48.png b/dist/icons/icon48.png similarity index 100% rename from icons/icon48.png rename to dist/icons/icon48.png diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..ab3cf0b --- /dev/null +++ b/dist/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite + Vue + + + + +
+ + diff --git a/dist/link.png b/dist/link.png new file mode 100644 index 0000000..40ce1a3 Binary files /dev/null and b/dist/link.png differ diff --git a/dist/logo.svg b/dist/logo.svg new file mode 100644 index 0000000..f3b2957 --- /dev/null +++ b/dist/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dist/manifest.json b/dist/manifest.json new file mode 100644 index 0000000..fee4fe3 --- /dev/null +++ b/dist/manifest.json @@ -0,0 +1,19 @@ +{ + "manifest_version": 3, + "name": "标签星球-给你的浏览器装个仪表盘", + "version": "1.1.0", + "permissions": [ + "bookmarks", + "history", + "tabs" + ], + "description": "一个浏览器仪表盘,可以显示你常用的标签、历史记录、书签等信息。", + "chrome_url_overrides": { + "newtab": "index.html" + }, + "icons": { + "16": "public/icons/icon16.png", + "48": "public/icons/icon48.png", + "128": "public/icons/icon128.png" + } +} diff --git a/dist/public/icons/icon128.png b/dist/public/icons/icon128.png new file mode 100644 index 0000000..634258a Binary files /dev/null and b/dist/public/icons/icon128.png differ diff --git a/dist/public/icons/icon16.png b/dist/public/icons/icon16.png new file mode 100644 index 0000000..16234eb Binary files /dev/null and b/dist/public/icons/icon16.png differ diff --git a/dist/public/icons/icon48.png b/dist/public/icons/icon48.png new file mode 100644 index 0000000..3b51bdd Binary files /dev/null and b/dist/public/icons/icon48.png differ diff --git a/dist/vite.svg b/dist/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/dist/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.html b/index.html index 56b9424..8388c4b 100644 --- a/index.html +++ b/index.html @@ -1,433 +1,13 @@ - - - - - - Browser Panel - - - -
-
- -
-

Logo

-
- - - - -
- -
-
- - - - - -
- -
-
- -
-

最近打开

-
    -
  • - -

    Tab 1aaaaaa

    -
  • -
  • - -

    Tab 1哈哈哈1111

    -
  • -
  • - -

    Tab 111111111

    -
  • -
-
- - -
-

我的收藏

-
    -
  • - -
    -

    哈哈哈哈哈哈

    -

    www.baidu.com

    -
    -
  • -
  • - -
    -

    哈哈哈哈哈哈

    -

    www.baidu.com

    -
    -
  • -
  • - -
    -

    哈哈哈哈哈哈

    -

    www.baidu.com

    -
    -
  • - -
  • - -
    -

    哈哈哈哈哈哈

    -

    www.baidu.com

    -
    -
  • - -
  • - -
    -

    哈哈哈哈哈哈

    -

    www.baidu.com

    -
    -
  • - -
  • - -
    -

    哈哈哈哈哈哈

    -

    www.baidu.com

    -
    -
  • - -
  • - -
    -

    哈哈哈哈哈哈

    -

    www.baidu.com

    -
    -
  • -
-
-
- - -
-

当前浏览器Tabs

-
    -
  • - -

    Current Tab 1

    -
  • -
  • - -

    Current Tab 1

    -
  • -
  • - -

    Current Tab 1

    -
  • -
  • - -

    Current Tab 11111

    -
  • -
  • - -

    Current Tab 1

    -
  • -
  • - -

    Current Tab 1

    -
  • -
  • - -

    Current Tab 1

    -
  • -
-
-
-
-
- - - - - - + + + + + + + Vite + Vue + + +
+ + + diff --git a/manifest.json b/manifest.json index 5b2acd5..c279793 100644 --- a/manifest.json +++ b/manifest.json @@ -1,20 +1,19 @@ { "manifest_version": 3, "name": "标签星球-给你的浏览器装个仪表盘", - "version": "1.0", - "description": "一个浏览器仪表盘,可以显示你常用的标签、历史记录、书签等信息。", + "version": "1.1.0", "permissions": [ - "bookmarks", - "history", - "tabs" + "bookmarks", + "history", + "tabs" ], + "description": "一个浏览器仪表盘,可以显示你常用的标签、历史记录、书签等信息。", "chrome_url_overrides": { - "newtab": "newtab.html" + "newtab": "index.html" }, "icons": { - "16": "icons/icon16.png", - "48": "icons/icon48.png", - "128": "icons/icon128.png" + "16": "public/icons/icon16.png", + "48": "public/icons/icon48.png", + "128": "public/icons/icon128.png" } - } - \ No newline at end of file +} \ No newline at end of file diff --git a/newtab.html b/newtab.html deleted file mode 100644 index def46b3..0000000 --- a/newtab.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - Browser Panel - - - - - - - -
-
- -
- -
- - - - -
- -
-
- - - -
-
    -
-
- - - -
- -
-
- -
-

最近打开

-
    -
  • - -

    Tab 1aaaaaa

    -
  • -
  • - -

    Tab 1哈哈哈1111

    -
  • -
  • - -

    Tab 111111111

    -
  • -
-
- - -
-

收藏栏链接

-
    - -
-
-
- - -
-

当前浏览器Tabs

-
    -
  • - -

    Current Tab 1

    -
  • -
-
-
-
-
- - - - diff --git a/newtab.js b/newtab.js deleted file mode 100644 index e615449..0000000 --- a/newtab.js +++ /dev/null @@ -1,376 +0,0 @@ - -// 输出树形结构 -// document.addEventListener('DOMContentLoaded', function() { -// chrome.bookmarks.getTree(function(bookmarkTreeNodes) { -// const bookmarksTree = buildBookmarksTree(bookmarkTreeNodes); -// console.log(bookmarksTree); -// }); - -// chrome.history.search({ text: '', maxResults: 10 }, function(historyItems) { -// const recentItems = historyItems.map(item => ({ -// title: item.title || item.url, -// url: item.url -// })); -// console.log(recentItems); -// }); - -// chrome.tabs.query({}, function(tabs) { -// const tabsList = tabs.map(tab => ({ -// title: tab.title || tab.url, -// url: tab.url, -// windowId: tab.windowId, -// tabId: tab.id -// })); -// console.log(tabsList); -// }); -// }); - -// function buildBookmarksTree(bookmarkNodes) { -// return bookmarkNodes[0].children.map(node => buildNode(node)); -// } - -// function buildNode(node) { -// if (node.children) { -// return { -// title: node.title, -// children: node.children.map(child => buildNode(child)) -// }; -// } else { -// return { -// title: node.title, -// url: node.url -// }; -// } -// } - - -document.addEventListener('DOMContentLoaded', function() { - // 当页面加载完成时执行,获取书签树和最近浏览历史 - - chrome.bookmarks.getTree(function(bookmarkTreeNodes) { - const bookmarksContainer = document.getElementById('navs-container'); - const sortedFolders = sortBookmarksByLinkCount(bookmarkTreeNodes[0].children); - displayBookmarks(sortedFolders, bookmarksContainer); - - // 默认显示链接数量最多的目录的链接 - if (sortedFolders.length > 0) { - const firstFolder = sortedFolders[0]; - renderLinks(firstFolder.children); - - // 给第一个目录添加选中状态 - const firstFolderElement = bookmarksContainer.querySelector('.parent div'); - if (firstFolderElement) { - firstFolderElement.classList.add('selected'); - } - } - - - chrome.history.search({ text: '', maxResults: 10 }, function(historyItems) { - const recentContainer = document.getElementById('recent'); - displayRecent(historyItems, recentContainer); - }); -}); - - // chrome.history.search({text: '', maxResults: 10}, function(historyItems) { - // // 搜索最近浏览历史,获取最多10条记录 - // const recentContainer = document.getElementById('recent'); - // displayRecent(historyItems, recentContainer); - // }); - - chrome.tabs.query({}, function(tabs) { - // 获取当前所有标签页 - const tabsContainer = document.getElementById('tabs'); - displayTabs(tabs, tabsContainer); - }); - - - - // 函数获取所有书签 - function getBookmarks() { - return new Promise((resolve, reject) => { - chrome.bookmarks.getTree((bookmarkTreeNodes) => { - if (chrome.runtime.lastError) { - reject(chrome.runtime.lastError); - } else { - resolve(bookmarkTreeNodes); - } - }); - }); - } - - - // 对书签执行模糊搜索 - function searchBookmarks(bookmarks, query) { - let results = []; - - function searchNode(node) { - if (node.url && node.title.toLowerCase().includes(query)) { - results.push({ title: node.title, url: node.url }); - } - if (node.children) { - node.children.forEach(searchNode); - } - } - - bookmarks.forEach(searchNode); - return results; - } - - // 输入框输入内容 - const input = document.getElementById('search-input'); - input.addEventListener('input', async() => { - // 遍历收藏夹正则搜索 - try { - const bookmarks = await getBookmarks(); - const results = searchBookmarks(bookmarks, input.value); - // 显示组件 - let html = '' - results.map((item,index) => { - html += ` -
  • - - ${item.title} -
  • - ` - }) - document.getElementById('search-results').innerHTML = html - document.getElementById('search-view').style.display = 'block'; - } catch (error) { - console.error('Error fetching bookmarks:', error); - } - }); - - // 点空白处关闭搜索窗口 - document.addEventListener('click', function(event) { - if (event.target.id !=='search-view' || event.target.id !=='search-input') { - document.getElementById('search-view').style.display = 'none'; - } - }) - -}); - -// 计算文件夹下链接数量 -function countLinks(node) { - let count = 0; - if (node.children) { - node.children.forEach(function(child) { - if (child.url) { - count++; - } else if (child.children) { - count += countLinks(child); - } - }); - } - return count; -} - - -// 按链接数量排序 -function sortBookmarksByLinkCount(bookmarkNodes) { - return bookmarkNodes.filter(node => node.children).sort((a, b) => countLinks(b) - countLinks(a)); -} - - -// 导航渲染 -function displayBookmarks(bookmarkNodes, container) { - bookmarkNodes.forEach(function(node) { - if(node.children && node.children.length > 0){ - - const li = document.createElement('li'); - li.classList.add('parent'); - - const div = document.createElement('div'); - const i = document.createElement('i'); - const img = document.createElement('img'); - img.src = './public/file.svg'; - img.alt = ''; - i.className = 'icon'; - i.appendChild(img); - - const span = document.createElement('span'); - span.textContent = node.title+' ('+countLinks(node)+')'; - - div.appendChild(i); - div.appendChild(span); - - div.addEventListener('click', function(event) { - event.stopPropagation(); - removeSelectedClass(container); // 移除其他选中状态 - div.classList.add('selected'); // 设置当前项为选中状态 - - if (countLinks(node) > 0) { - if (typeof renderLinks === 'function') { - renderLinks(node.children); - } else { - console.error('renderLinks is not defined'); - } - } else { - Qmsg.info('没有链接') - } - }); - - li.appendChild(div); - - - if (node.children && node.children.length > 0) { - const nestedUl = document.createElement('li'); - nestedUl.classList.add('nested'); - displayBookmarks(node.children, nestedUl); - li.appendChild(nestedUl); - } - - - container.appendChild(li); - } - }); -} - -// 移除导航选中状态 -function removeSelectedClass(container) { - const selectedElements = document.querySelectorAll('.selected'); - selectedElements.forEach(function(el) { - el.classList.remove('selected'); - }); -} - - - -// 显示文件夹下的链接 -function renderLinks(bookmarkNodes) { - const bookmarksContainer = document.getElementById('bookmarks-container'); - const ul = bookmarksContainer.querySelector('ul'); - ul.innerHTML = ''; // 清空容器内容 - - let hasLinks = false; - - bookmarkNodes.forEach(function(node) { - if (!node.children && node.url) { - hasLinks = true; - const li = document.createElement('li'); - - const i = document.createElement('i'); - const img = document.createElement('img'); - img.src = 'https://logo.clearbit.com/' + new URL(node.url).hostname; // 使用链接的favicon或默认图标 - // 加载出错默认图标 - img.onerror = function() { - img.src = './public/link.png'; - }; - img.alt = ''; - i.appendChild(img); - - const div = document.createElement('div'); - const h3 = document.createElement('h3'); - h3.textContent = node.title || 'Untitled'; - const p = document.createElement('p'); - p.textContent = node.url; - - div.appendChild(h3); - div.appendChild(p); - - li.appendChild(i); - li.appendChild(div); - - li.addEventListener('click', function() { - // 移除之前的选中状态 - const selectedElement = ul.querySelector('.nested .selected'); - if (selectedElement) { - selectedElement.classList.remove('selected'); - } - - // 添加当前的选中状态 - li.classList.add('selected'); - - window.open(node.url) - }); - - ul.appendChild(li); - } - }); -} - - -// 显示当前标签页 -function displayTabs(tabs, container) { - tabs.forEach(function(tab) { - const li = document.createElement('li'); - li.className = 'tab-item'; - - const img = document.createElement('img'); - img.src = tab.favIconUrl || './public/link.png'; // 使用标签页的favicon或默认图标 - img.alt = ''; - - const p = document.createElement('p'); - p.textContent = tab.title || 'Untitled Tab'; // 使用标签页的标题或默认标题 - - li.appendChild(img); - li.appendChild(p); - - li.addEventListener('click', function() { - chrome.windows.update(tab.windowId, { focused: true }, function() { - chrome.tabs.update(tab.id, { active: true }); - }); - }); - - container.appendChild(li); - }); -} - -// 显示最近浏览历史 -function displayRecent(historyItems, container) { - const ul = container.querySelector('ul'); - ul.innerHTML = ''; // 清空容器内容 - - historyItems.forEach(function(item) { - const li = document.createElement('li'); - - const i = document.createElement('i'); - const img = document.createElement('img'); - img.src = 'https://logo.clearbit.com/'+new URL(item.url).hostname - // 加载出错默认图标 - - img.onerror = function() { - img.src = './public/link.png'; - } - img.alt = ''; - i.appendChild(img); - - const p = document.createElement('p'); - p.textContent = item.title || item.url; - - li.appendChild(i); - li.appendChild(p); - - li.addEventListener('click', function() { - window.open(item.url) - }); - - ul.appendChild(li); - }); -} - - -// 显示书签 -function displayTabs(tabs, container) { - tabs.forEach(function(tab) { - const li = document.createElement('li'); - li.className = 'tab-item'; - - const img = document.createElement('img'); - img.src = tab.favIconUrl || './public/link.png'; // 使用标签页的favicon或默认图标 - img.alt = ''; - - const p = document.createElement('p'); - p.textContent = tab.title || 'Untitled Tab'; // 使用标签页的标题或默认标题 - - li.appendChild(img); - li.appendChild(p); - - li.addEventListener('click', function() { - chrome.windows.update(tab.windowId, { focused: true }, function() { - chrome.tabs.update(tab.id, { active: true }); - }); - }); - - container.appendChild(li); - }); -} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..198171b --- /dev/null +++ b/package.json @@ -0,0 +1,21 @@ +{ + "name": "tagplanet1-1", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "dependencies": { + "ant-design-vue": "4.x", + "axios": "^1.7.3", + "vue": "^3.4.31" + }, + "devDependencies": { + "@crxjs/vite-plugin": "2.0.0-beta.25", + "@vitejs/plugin-vue": "^5.0.5", + "vite": "^5.3.4" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..4da7a6f --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,1256 @@ +lockfileVersion: '6.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +dependencies: + ant-design-vue: + specifier: 4.x + version: 4.2.3(vue@3.4.35) + axios: + specifier: ^1.7.3 + version: 1.7.3 + vue: + specifier: ^3.4.31 + version: 3.4.35 + +devDependencies: + '@crxjs/vite-plugin': + specifier: 2.0.0-beta.25 + version: 2.0.0-beta.25 + '@vitejs/plugin-vue': + specifier: ^5.0.5 + version: 5.1.1(vite@5.3.5)(vue@3.4.35) + vite: + specifier: ^5.3.4 + version: 5.3.5 + +packages: + + /@ant-design/colors@6.0.0: + resolution: {integrity: sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==} + dependencies: + '@ctrl/tinycolor': 3.6.1 + dev: false + + /@ant-design/icons-svg@4.4.2: + resolution: {integrity: sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==} + dev: false + + /@ant-design/icons-vue@7.0.1(vue@3.4.35): + resolution: {integrity: sha512-eCqY2unfZK6Fe02AwFlDHLfoyEFreP6rBwAZMIJ1LugmfMiVgwWDYlp1YsRugaPtICYOabV1iWxXdP12u9U43Q==} + peerDependencies: + vue: '>=3.0.3' + dependencies: + '@ant-design/colors': 6.0.0 + '@ant-design/icons-svg': 4.4.2 + vue: 3.4.35 + dev: false + + /@babel/helper-string-parser@7.24.8: + resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==} + engines: {node: '>=6.9.0'} + + /@babel/helper-validator-identifier@7.24.7: + resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} + engines: {node: '>=6.9.0'} + + /@babel/parser@7.25.3: + resolution: {integrity: sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.25.2 + + /@babel/runtime@7.25.0: + resolution: {integrity: sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.14.1 + dev: false + + /@babel/types@7.25.2: + resolution: {integrity: sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.24.8 + '@babel/helper-validator-identifier': 7.24.7 + to-fast-properties: 2.0.0 + + /@crxjs/vite-plugin@2.0.0-beta.25: + resolution: {integrity: sha512-g5ytTNiFpFCi+T0trSDJLohVz5PufLBLh6OGljyGTHkQCKiApuEgZ1bAjgPXluMDhMUvbPfZT10LYl5ROefXog==} + dependencies: + '@rollup/pluginutils': 4.2.1 + '@webcomponents/custom-elements': 1.6.0 + acorn-walk: 8.3.3 + cheerio: 1.0.0-rc.12 + connect-injector: 0.4.4 + convert-source-map: 1.9.0 + debug: 4.3.6 + es-module-lexer: 0.10.5 + fast-glob: 3.3.2 + fs-extra: 10.1.0 + jsesc: 3.0.2 + magic-string: 0.26.7 + picocolors: 1.0.1 + react-refresh: 0.13.0 + rollup: 2.78.1 + rxjs: 7.5.7 + transitivePeerDependencies: + - supports-color + dev: true + + /@ctrl/tinycolor@3.6.1: + resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} + engines: {node: '>=10'} + dev: false + + /@emotion/hash@0.9.2: + resolution: {integrity: sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==} + dev: false + + /@emotion/unitless@0.8.1: + resolution: {integrity: sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==} + dev: false + + /@esbuild/aix-ppc64@0.21.5: + resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm64@0.21.5: + resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm@0.21.5: + resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64@0.21.5: + resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64@0.21.5: + resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64@0.21.5: + resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64@0.21.5: + resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64@0.21.5: + resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64@0.21.5: + resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm@0.21.5: + resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32@0.21.5: + resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64@0.21.5: + resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el@0.21.5: + resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64@0.21.5: + resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64@0.21.5: + resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x@0.21.5: + resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64@0.21.5: + resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64@0.21.5: + resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64@0.21.5: + resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64@0.21.5: + resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64@0.21.5: + resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32@0.21.5: + resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64@0.21.5: + resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@jridgewell/sourcemap-codec@1.5.0: + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + /@nodelib/fs.scandir@2.1.5: + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + dev: true + + /@nodelib/fs.stat@2.0.5: + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + dev: true + + /@nodelib/fs.walk@1.2.8: + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.17.1 + dev: true + + /@rollup/pluginutils@4.2.1: + resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} + engines: {node: '>= 8.0.0'} + dependencies: + estree-walker: 2.0.2 + picomatch: 2.3.1 + dev: true + + /@rollup/rollup-android-arm-eabi@4.19.1: + resolution: {integrity: sha512-XzqSg714++M+FXhHfXpS1tDnNZNpgxxuGZWlRG/jSj+VEPmZ0yg6jV4E0AL3uyBKxO8mO3xtOsP5mQ+XLfrlww==} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-android-arm64@4.19.1: + resolution: {integrity: sha512-thFUbkHteM20BGShD6P08aungq4irbIZKUNbG70LN8RkO7YztcGPiKTTGZS7Kw+x5h8hOXs0i4OaHwFxlpQN6A==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-darwin-arm64@4.19.1: + resolution: {integrity: sha512-8o6eqeFZzVLia2hKPUZk4jdE3zW7LCcZr+MD18tXkgBBid3lssGVAYuox8x6YHoEPDdDa9ixTaStcmx88lio5Q==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-darwin-x64@4.19.1: + resolution: {integrity: sha512-4T42heKsnbjkn7ovYiAdDVRRWZLU9Kmhdt6HafZxFcUdpjlBlxj4wDrt1yFWLk7G4+E+8p2C9tcmSu0KA6auGA==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-arm-gnueabihf@4.19.1: + resolution: {integrity: sha512-MXg1xp+e5GhZ3Vit1gGEyoC+dyQUBy2JgVQ+3hUrD9wZMkUw/ywgkpK7oZgnB6kPpGrxJ41clkPPnsknuD6M2Q==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-arm-musleabihf@4.19.1: + resolution: {integrity: sha512-DZNLwIY4ftPSRVkJEaxYkq7u2zel7aah57HESuNkUnz+3bZHxwkCUkrfS2IWC1sxK6F2QNIR0Qr/YXw7nkF3Pw==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-arm64-gnu@4.19.1: + resolution: {integrity: sha512-C7evongnjyxdngSDRRSQv5GvyfISizgtk9RM+z2biV5kY6S/NF/wta7K+DanmktC5DkuaJQgoKGf7KUDmA7RUw==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-arm64-musl@4.19.1: + resolution: {integrity: sha512-89tFWqxfxLLHkAthAcrTs9etAoBFRduNfWdl2xUs/yLV+7XDrJ5yuXMHptNqf1Zw0UCA3cAutkAiAokYCkaPtw==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-powerpc64le-gnu@4.19.1: + resolution: {integrity: sha512-PromGeV50sq+YfaisG8W3fd+Cl6mnOOiNv2qKKqKCpiiEke2KiKVyDqG/Mb9GWKbYMHj5a01fq/qlUR28PFhCQ==} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-riscv64-gnu@4.19.1: + resolution: {integrity: sha512-/1BmHYh+iz0cNCP0oHCuF8CSiNj0JOGf0jRlSo3L/FAyZyG2rGBuKpkZVH9YF+x58r1jgWxvm1aRg3DHrLDt6A==} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-s390x-gnu@4.19.1: + resolution: {integrity: sha512-0cYP5rGkQWRZKy9/HtsWVStLXzCF3cCBTRI+qRL8Z+wkYlqN7zrSYm6FuY5Kd5ysS5aH0q5lVgb/WbG4jqXN1Q==} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-x64-gnu@4.19.1: + resolution: {integrity: sha512-XUXeI9eM8rMP8aGvii/aOOiMvTs7xlCosq9xCjcqI9+5hBxtjDpD+7Abm1ZhVIFE1J2h2VIg0t2DX/gjespC2Q==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-x64-musl@4.19.1: + resolution: {integrity: sha512-V7cBw/cKXMfEVhpSvVZhC+iGifD6U1zJ4tbibjjN+Xi3blSXaj/rJynAkCFFQfoG6VZrAiP7uGVzL440Q6Me2Q==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-win32-arm64-msvc@4.19.1: + resolution: {integrity: sha512-88brja2vldW/76jWATlBqHEoGjJLRnP0WOEKAUbMcXaAZnemNhlAHSyj4jIwMoP2T750LE9lblvD4e2jXleZsA==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-win32-ia32-msvc@4.19.1: + resolution: {integrity: sha512-LdxxcqRVSXi6k6JUrTah1rHuaupoeuiv38du8Mt4r4IPer3kwlTo+RuvfE8KzZ/tL6BhaPlzJ3835i6CxrFIRQ==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-win32-x64-msvc@4.19.1: + resolution: {integrity: sha512-2bIrL28PcK3YCqD9anGxDxamxdiJAxA+l7fWIwM5o8UqNy1t3d1NdAweO2XhA0KTDJ5aH1FsuiT5+7VhtHliXg==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@simonwep/pickr@1.8.2: + resolution: {integrity: sha512-/l5w8BIkrpP6n1xsetx9MWPWlU6OblN5YgZZphxan0Tq4BByTCETL6lyIeY8lagalS2Nbt4F2W034KHLIiunKA==} + dependencies: + core-js: 3.37.1 + nanopop: 2.4.2 + dev: false + + /@types/estree@1.0.5: + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + dev: true + + /@vitejs/plugin-vue@5.1.1(vite@5.3.5)(vue@3.4.35): + resolution: {integrity: sha512-sDckXxlHpMsjRQbAH9WanangrfrblsOd3pNifePs+FOHjJg1jfWq5L/P0PsBRndEt3nmdUnmvieP8ULDeX5AvA==} + engines: {node: ^18.0.0 || >=20.0.0} + peerDependencies: + vite: ^5.0.0 + vue: ^3.2.25 + dependencies: + vite: 5.3.5 + vue: 3.4.35 + dev: true + + /@vue/compiler-core@3.4.35: + resolution: {integrity: sha512-gKp0zGoLnMYtw4uS/SJRRO7rsVggLjvot3mcctlMXunYNsX+aRJDqqw/lV5/gHK91nvaAAlWFgdVl020AW1Prg==} + dependencies: + '@babel/parser': 7.25.3 + '@vue/shared': 3.4.35 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.0 + + /@vue/compiler-dom@3.4.35: + resolution: {integrity: sha512-pWIZRL76/oE/VMhdv/ovZfmuooEni6JPG1BFe7oLk5DZRo/ImydXijoZl/4kh2406boRQ7lxTYzbZEEXEhj9NQ==} + dependencies: + '@vue/compiler-core': 3.4.35 + '@vue/shared': 3.4.35 + + /@vue/compiler-sfc@3.4.35: + resolution: {integrity: sha512-xacnRS/h/FCsjsMfxBkzjoNxyxEyKyZfBch/P4vkLRvYJwe5ChXmZZrj8Dsed/752H2Q3JE8kYu9Uyha9J6PgA==} + dependencies: + '@babel/parser': 7.25.3 + '@vue/compiler-core': 3.4.35 + '@vue/compiler-dom': 3.4.35 + '@vue/compiler-ssr': 3.4.35 + '@vue/shared': 3.4.35 + estree-walker: 2.0.2 + magic-string: 0.30.11 + postcss: 8.4.40 + source-map-js: 1.2.0 + + /@vue/compiler-ssr@3.4.35: + resolution: {integrity: sha512-7iynB+0KB1AAJKk/biENTV5cRGHRdbdaD7Mx3nWcm1W8bVD6QmnH3B4AHhQQ1qZHhqFwzEzMwiytXm3PX1e60A==} + dependencies: + '@vue/compiler-dom': 3.4.35 + '@vue/shared': 3.4.35 + + /@vue/reactivity@3.4.35: + resolution: {integrity: sha512-Ggtz7ZZHakriKioveJtPlStYardwQH6VCs9V13/4qjHSQb/teE30LVJNrbBVs4+aoYGtTQKJbTe4CWGxVZrvEw==} + dependencies: + '@vue/shared': 3.4.35 + + /@vue/runtime-core@3.4.35: + resolution: {integrity: sha512-D+BAjFoWwT5wtITpSxwqfWZiBClhBbR+bm0VQlWYFOadUUXFo+5wbe9ErXhLvwguPiLZdEF13QAWi2vP3ZD5tA==} + dependencies: + '@vue/reactivity': 3.4.35 + '@vue/shared': 3.4.35 + + /@vue/runtime-dom@3.4.35: + resolution: {integrity: sha512-yGOlbos+MVhlS5NWBF2HDNgblG8e2MY3+GigHEyR/dREAluvI5tuUUgie3/9XeqhPE4LF0i2wjlduh5thnfOqw==} + dependencies: + '@vue/reactivity': 3.4.35 + '@vue/runtime-core': 3.4.35 + '@vue/shared': 3.4.35 + csstype: 3.1.3 + + /@vue/server-renderer@3.4.35(vue@3.4.35): + resolution: {integrity: sha512-iZ0e/u9mRE4T8tNhlo0tbA+gzVkgv8r5BX6s1kRbOZqfpq14qoIvCZ5gIgraOmYkMYrSEZgkkojFPr+Nyq/Mnw==} + peerDependencies: + vue: 3.4.35 + dependencies: + '@vue/compiler-ssr': 3.4.35 + '@vue/shared': 3.4.35 + vue: 3.4.35 + + /@vue/shared@3.4.35: + resolution: {integrity: sha512-hvuhBYYDe+b1G8KHxsQ0diDqDMA8D9laxWZhNAjE83VZb5UDaXl9Xnz7cGdDSyiHM90qqI/CyGMcpBpiDy6VVQ==} + + /@webcomponents/custom-elements@1.6.0: + resolution: {integrity: sha512-CqTpxOlUCPWRNUPZDxT5v2NnHXA4oox612iUGnmTUGQFhZ1Gkj8kirtl/2wcF6MqX7+PqqicZzOCBKKfIn0dww==} + dev: true + + /acorn-walk@8.3.3: + resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} + engines: {node: '>=0.4.0'} + dependencies: + acorn: 8.12.1 + dev: true + + /acorn@8.12.1: + resolution: {integrity: sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /ant-design-vue@4.2.3(vue@3.4.35): + resolution: {integrity: sha512-kqGyWvZtFlSInFP93Ow6wS8LzEsxxUgpI+ZY5jQQkuX8WAcqdwXCA7IcHMpECW6JB89DZMo2Bw85jUg2SjlgQA==} + engines: {node: '>=12.22.0'} + peerDependencies: + vue: '>=3.2.0' + dependencies: + '@ant-design/colors': 6.0.0 + '@ant-design/icons-vue': 7.0.1(vue@3.4.35) + '@babel/runtime': 7.25.0 + '@ctrl/tinycolor': 3.6.1 + '@emotion/hash': 0.9.2 + '@emotion/unitless': 0.8.1 + '@simonwep/pickr': 1.8.2 + array-tree-filter: 2.1.0 + async-validator: 4.2.5 + csstype: 3.1.3 + dayjs: 1.11.12 + dom-align: 1.12.4 + dom-scroll-into-view: 2.0.1 + lodash: 4.17.21 + lodash-es: 4.17.21 + resize-observer-polyfill: 1.5.1 + scroll-into-view-if-needed: 2.2.31 + shallow-equal: 1.2.1 + stylis: 4.3.2 + throttle-debounce: 5.0.2 + vue: 3.4.35 + vue-types: 3.0.2(vue@3.4.35) + warning: 4.0.3 + dev: false + + /array-tree-filter@2.1.0: + resolution: {integrity: sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==} + dev: false + + /async-validator@4.2.5: + resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} + dev: false + + /asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + dev: false + + /axios@1.7.3: + resolution: {integrity: sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw==} + dependencies: + follow-redirects: 1.15.6 + form-data: 4.0.0 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + dev: false + + /boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + dev: true + + /braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + dependencies: + fill-range: 7.1.1 + dev: true + + /cheerio-select@2.1.0: + resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==} + dependencies: + boolbase: 1.0.0 + css-select: 5.1.0 + css-what: 6.1.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.1.0 + dev: true + + /cheerio@1.0.0-rc.12: + resolution: {integrity: sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==} + engines: {node: '>= 6'} + dependencies: + cheerio-select: 2.1.0 + dom-serializer: 2.0.0 + domhandler: 5.0.3 + domutils: 3.1.0 + htmlparser2: 8.0.2 + parse5: 7.1.2 + parse5-htmlparser2-tree-adapter: 7.0.0 + dev: true + + /combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + dependencies: + delayed-stream: 1.0.0 + dev: false + + /compute-scroll-into-view@1.0.20: + resolution: {integrity: sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==} + dev: false + + /connect-injector@0.4.4: + resolution: {integrity: sha512-hdBG8nXop42y2gWCqOV8y1O3uVk4cIU+SoxLCPyCUKRImyPiScoNiSulpHjoktRU1BdI0UzoUdxUa87thrcmHw==} + engines: {node: '>= 0.8.0'} + dependencies: + debug: 2.6.9 + q: 1.5.1 + stream-buffers: 0.2.6 + uberproto: 1.2.0 + transitivePeerDependencies: + - supports-color + dev: true + + /convert-source-map@1.9.0: + resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} + dev: true + + /core-js@3.37.1: + resolution: {integrity: sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw==} + requiresBuild: true + dev: false + + /css-select@5.1.0: + resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} + dependencies: + boolbase: 1.0.0 + css-what: 6.1.0 + domhandler: 5.0.3 + domutils: 3.1.0 + nth-check: 2.1.1 + dev: true + + /css-what@6.1.0: + resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} + engines: {node: '>= 6'} + dev: true + + /csstype@3.1.3: + resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} + + /dayjs@1.11.12: + resolution: {integrity: sha512-Rt2g+nTbLlDWZTwwrIXjy9MeiZmSDI375FvZs72ngxx8PDC6YXOeR3q5LAuPzjZQxhiWdRKac7RKV+YyQYfYIg==} + dev: false + + /debug@2.6.9: + resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.0.0 + dev: true + + /debug@4.3.6: + resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + dev: true + + /delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + dev: false + + /dom-align@1.12.4: + resolution: {integrity: sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==} + dev: false + + /dom-scroll-into-view@2.0.1: + resolution: {integrity: sha512-bvVTQe1lfaUr1oFzZX80ce9KLDlZ3iU+XGNE/bz9HnGdklTieqsbmsLHe+rT2XWqopvL0PckkYqN7ksmm5pe3w==} + dev: false + + /dom-serializer@2.0.0: + resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + entities: 4.5.0 + dev: true + + /domelementtype@2.3.0: + resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + dev: true + + /domhandler@5.0.3: + resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} + engines: {node: '>= 4'} + dependencies: + domelementtype: 2.3.0 + dev: true + + /domutils@3.1.0: + resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==} + dependencies: + dom-serializer: 2.0.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + dev: true + + /entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + /es-module-lexer@0.10.5: + resolution: {integrity: sha512-+7IwY/kiGAacQfY+YBhKMvEmyAJnw5grTUgjG85Pe7vcUI/6b7pZjZG8nQ7+48YhzEAEqrEgD2dCz/JIK+AYvw==} + dev: true + + /esbuild@0.21.5: + resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/aix-ppc64': 0.21.5 + '@esbuild/android-arm': 0.21.5 + '@esbuild/android-arm64': 0.21.5 + '@esbuild/android-x64': 0.21.5 + '@esbuild/darwin-arm64': 0.21.5 + '@esbuild/darwin-x64': 0.21.5 + '@esbuild/freebsd-arm64': 0.21.5 + '@esbuild/freebsd-x64': 0.21.5 + '@esbuild/linux-arm': 0.21.5 + '@esbuild/linux-arm64': 0.21.5 + '@esbuild/linux-ia32': 0.21.5 + '@esbuild/linux-loong64': 0.21.5 + '@esbuild/linux-mips64el': 0.21.5 + '@esbuild/linux-ppc64': 0.21.5 + '@esbuild/linux-riscv64': 0.21.5 + '@esbuild/linux-s390x': 0.21.5 + '@esbuild/linux-x64': 0.21.5 + '@esbuild/netbsd-x64': 0.21.5 + '@esbuild/openbsd-x64': 0.21.5 + '@esbuild/sunos-x64': 0.21.5 + '@esbuild/win32-arm64': 0.21.5 + '@esbuild/win32-ia32': 0.21.5 + '@esbuild/win32-x64': 0.21.5 + dev: true + + /estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + /fast-glob@3.3.2: + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.7 + dev: true + + /fastq@1.17.1: + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + dependencies: + reusify: 1.0.4 + dev: true + + /fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + dependencies: + to-regex-range: 5.0.1 + dev: true + + /follow-redirects@1.15.6: + resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==} + engines: {node: '>=4.0'} + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + dev: false + + /form-data@4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + dev: false + + /fs-extra@10.1.0: + resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} + engines: {node: '>=12'} + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.1 + dev: true + + /fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + dependencies: + is-glob: 4.0.3 + dev: true + + /graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + dev: true + + /htmlparser2@8.0.2: + resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==} + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.1.0 + entities: 4.5.0 + dev: true + + /is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + dev: true + + /is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + dev: true + + /is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + dev: true + + /is-plain-object@3.0.1: + resolution: {integrity: sha512-Xnpx182SBMrr/aBik8y+GuR4U1L9FqMSojwDQwPMmxyC6bvEqly9UBCxhauBF5vNh2gwWJNX6oDV7O+OM4z34g==} + engines: {node: '>=0.10.0'} + dev: false + + /js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: false + + /jsesc@3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + dev: true + + /jsonfile@6.1.0: + resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} + dependencies: + universalify: 2.0.1 + optionalDependencies: + graceful-fs: 4.2.11 + dev: true + + /lodash-es@4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + dev: false + + /lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + dev: false + + /loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + dependencies: + js-tokens: 4.0.0 + dev: false + + /magic-string@0.26.7: + resolution: {integrity: sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==} + engines: {node: '>=12'} + dependencies: + sourcemap-codec: 1.4.8 + dev: true + + /magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + /merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + dev: true + + /micromatch@4.0.7: + resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} + engines: {node: '>=8.6'} + dependencies: + braces: 3.0.3 + picomatch: 2.3.1 + dev: true + + /mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + dev: false + + /mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + dependencies: + mime-db: 1.52.0 + dev: false + + /ms@2.0.0: + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + dev: true + + /ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + dev: true + + /nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + /nanopop@2.4.2: + resolution: {integrity: sha512-NzOgmMQ+elxxHeIha+OG/Pv3Oc3p4RU2aBhwWwAqDpXrdTbtRylbRLQztLy8dMMwfl6pclznBdfUhccEn9ZIzw==} + dev: false + + /nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + dependencies: + boolbase: 1.0.0 + dev: true + + /parse5-htmlparser2-tree-adapter@7.0.0: + resolution: {integrity: sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==} + dependencies: + domhandler: 5.0.3 + parse5: 7.1.2 + dev: true + + /parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + dependencies: + entities: 4.5.0 + dev: true + + /picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + + /picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + dev: true + + /postcss@8.4.40: + resolution: {integrity: sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.1 + source-map-js: 1.2.0 + + /proxy-from-env@1.1.0: + resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + dev: false + + /q@1.5.1: + resolution: {integrity: sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==} + engines: {node: '>=0.6.0', teleport: '>=0.2.0'} + dev: true + + /queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + dev: true + + /react-refresh@0.13.0: + resolution: {integrity: sha512-XP8A9BT0CpRBD+NYLLeIhld/RqG9+gktUjW1FkE+Vm7OCinbG1SshcK5tb9ls4kzvjZr9mOQc7HYgBngEyPAXg==} + engines: {node: '>=0.10.0'} + dev: true + + /regenerator-runtime@0.14.1: + resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} + dev: false + + /resize-observer-polyfill@1.5.1: + resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==} + dev: false + + /reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + dev: true + + /rollup@2.78.1: + resolution: {integrity: sha512-VeeCgtGi4P+o9hIg+xz4qQpRl6R401LWEXBmxYKOV4zlF82lyhgh2hTZnheFUbANE8l2A41F458iwj2vEYaXJg==} + engines: {node: '>=10.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.3 + dev: true + + /rollup@4.19.1: + resolution: {integrity: sha512-K5vziVlg7hTpYfFBI+91zHBEMo6jafYXpkMlqZjg7/zhIG9iHqazBf4xz9AVdjS9BruRn280ROqLI7G3OFRIlw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.19.1 + '@rollup/rollup-android-arm64': 4.19.1 + '@rollup/rollup-darwin-arm64': 4.19.1 + '@rollup/rollup-darwin-x64': 4.19.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.19.1 + '@rollup/rollup-linux-arm-musleabihf': 4.19.1 + '@rollup/rollup-linux-arm64-gnu': 4.19.1 + '@rollup/rollup-linux-arm64-musl': 4.19.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.19.1 + '@rollup/rollup-linux-riscv64-gnu': 4.19.1 + '@rollup/rollup-linux-s390x-gnu': 4.19.1 + '@rollup/rollup-linux-x64-gnu': 4.19.1 + '@rollup/rollup-linux-x64-musl': 4.19.1 + '@rollup/rollup-win32-arm64-msvc': 4.19.1 + '@rollup/rollup-win32-ia32-msvc': 4.19.1 + '@rollup/rollup-win32-x64-msvc': 4.19.1 + fsevents: 2.3.3 + dev: true + + /run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + dependencies: + queue-microtask: 1.2.3 + dev: true + + /rxjs@7.5.7: + resolution: {integrity: sha512-z9MzKh/UcOqB3i20H6rtrlaE/CgjLOvheWK/9ILrbhROGTweAi1BaFsTT9FbwZi5Trr1qNRs+MXkhmR06awzQA==} + dependencies: + tslib: 2.6.3 + dev: true + + /scroll-into-view-if-needed@2.2.31: + resolution: {integrity: sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==} + dependencies: + compute-scroll-into-view: 1.0.20 + dev: false + + /shallow-equal@1.2.1: + resolution: {integrity: sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA==} + dev: false + + /source-map-js@1.2.0: + resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} + engines: {node: '>=0.10.0'} + + /sourcemap-codec@1.4.8: + resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead + dev: true + + /stream-buffers@0.2.6: + resolution: {integrity: sha512-ZRpmWyuCdg0TtNKk8bEqvm13oQvXMmzXDsfD4cBgcx5LouborvU5pm3JMkdTP3HcszyUI08AM1dHMXA5r2g6Sg==} + engines: {node: '>= 0.3.0'} + dev: true + + /stylis@4.3.2: + resolution: {integrity: sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==} + dev: false + + /throttle-debounce@5.0.2: + resolution: {integrity: sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==} + engines: {node: '>=12.22'} + dev: false + + /to-fast-properties@2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + + /to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + dependencies: + is-number: 7.0.0 + dev: true + + /tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} + dev: true + + /uberproto@1.2.0: + resolution: {integrity: sha512-pGtPAQmLwh+R9w81WVHzui1FfedpQWQpiaIIfPCwhtsBez4q6DYbJFfyXPVHPUTNFnedAvNEnkoFiLuhXIR94w==} + dev: true + + /universalify@2.0.1: + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} + engines: {node: '>= 10.0.0'} + dev: true + + /vite@5.3.5: + resolution: {integrity: sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + esbuild: 0.21.5 + postcss: 8.4.40 + rollup: 4.19.1 + optionalDependencies: + fsevents: 2.3.3 + dev: true + + /vue-types@3.0.2(vue@3.4.35): + resolution: {integrity: sha512-IwUC0Aq2zwaXqy74h4WCvFCUtoV0iSWr0snWnE9TnU18S66GAQyqQbRf2qfJtUuiFsBf6qp0MEwdonlwznlcrw==} + engines: {node: '>=10.15.0'} + peerDependencies: + vue: ^3.0.0 + dependencies: + is-plain-object: 3.0.1 + vue: 3.4.35 + dev: false + + /vue@3.4.35: + resolution: {integrity: sha512-+fl/GLmI4GPileHftVlCdB7fUL4aziPcqTudpTGXCT8s+iZWuOCeNEB5haX6Uz2IpRrbEXOgIFbe+XciCuGbNQ==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@vue/compiler-dom': 3.4.35 + '@vue/compiler-sfc': 3.4.35 + '@vue/runtime-dom': 3.4.35 + '@vue/server-renderer': 3.4.35(vue@3.4.35) + '@vue/shared': 3.4.35 + + /warning@4.0.3: + resolution: {integrity: sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==} + dependencies: + loose-envify: 1.4.0 + dev: false diff --git a/public/icons/icon128.png b/public/icons/icon128.png new file mode 100644 index 0000000..634258a Binary files /dev/null and b/public/icons/icon128.png differ diff --git a/public/icons/icon16.png b/public/icons/icon16.png new file mode 100644 index 0000000..16234eb Binary files /dev/null and b/public/icons/icon16.png differ diff --git a/public/icons/icon48.png b/public/icons/icon48.png new file mode 100644 index 0000000..3b51bdd Binary files /dev/null and b/public/icons/icon48.png differ diff --git a/public/vite.svg b/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..3d71c17 --- /dev/null +++ b/src/App.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/src/assets/img1.png b/src/assets/img1.png new file mode 100644 index 0000000..be25946 Binary files /dev/null and b/src/assets/img1.png differ diff --git a/src/assets/img2.png b/src/assets/img2.png new file mode 100644 index 0000000..1522805 Binary files /dev/null and b/src/assets/img2.png differ diff --git a/src/assets/img3.png b/src/assets/img3.png new file mode 100644 index 0000000..7db0fcb Binary files /dev/null and b/src/assets/img3.png differ diff --git a/src/assets/img4.png b/src/assets/img4.png new file mode 100644 index 0000000..d685762 Binary files /dev/null and b/src/assets/img4.png differ diff --git a/src/assets/img5.png b/src/assets/img5.png new file mode 100644 index 0000000..4eddbb8 Binary files /dev/null and b/src/assets/img5.png differ diff --git a/src/assets/vue.svg b/src/assets/vue.svg new file mode 100644 index 0000000..770e9d3 --- /dev/null +++ b/src/assets/vue.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/index.vue b/src/components/index.vue new file mode 100644 index 0000000..d1ea32b --- /dev/null +++ b/src/components/index.vue @@ -0,0 +1,917 @@ + + + + + \ No newline at end of file diff --git a/src/components/tree/TreeNode.vue b/src/components/tree/TreeNode.vue new file mode 100644 index 0000000..a95eb5e --- /dev/null +++ b/src/components/tree/TreeNode.vue @@ -0,0 +1,96 @@ + + + + + + diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..b5886be --- /dev/null +++ b/src/main.js @@ -0,0 +1,16 @@ +import { createApp } from 'vue' +import App from './App.vue' +import { Tree, Modal, Input, Button, Dropdown, Menu } from 'ant-design-vue'; +import 'ant-design-vue/dist/reset.css'; +import './style.css' + +const app = createApp(App); +app.use(Tree) +app.use(Modal) +app.use(Input) +app.use(Button) +app.use(Dropdown) +app.use(Menu) + + +app.use().mount('#app') diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..026ac17 --- /dev/null +++ b/src/style.css @@ -0,0 +1,61 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +.ant-tree-treenode{ + padding-bottom: 9px !important; + padding-top: 6px !important; +} +.ant-tree-title{ + font-size: 15px !important; + font-weight: 600; +} + +.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover::before, :where(.css-dev-only-do-not-override-19iuou).ant-tree.ant-tree-directory .ant-tree-treenode-selected::before{ + background: #09c0a7; + color: aliceblue !important; +} \ No newline at end of file diff --git a/styles.css b/styles.css deleted file mode 100644 index 2f281ac..0000000 --- a/styles.css +++ /dev/null @@ -1,372 +0,0 @@ - -body{ - overflow: hidden; -} -.container { - display: flex; - width: 100%; - height: 100vh; - background-color: #fff; -} - -.left { - width: 220px; - padding: 20px; - border-right: 1px solid #ddd; -} - -.top { - text-align: center; - margin-bottom: 12px; -} -.top img{ - width: 188px; -} - -.menu { - padding: 10px 0; -} - -.tree { - list-style-type: none; - padding: 0; -} -.tree span{ - font-size: 14.5px; - color: #374151; - font-weight: 600; - margin-left: 6px; - /* 强制不换行 */ - - white-space: nowrap; -} -.menu{ - width: 220px; - height: calc(100% - 30px); - overflow-x: auto; -} -.parent div{ - display: flex; - align-items: center; - padding: 10px 10px; - border-radius: 6px; - margin-top: 5px; - cursor: pointer; -} - -.parent div:hover{ - background: #f1f1f1; -} - -.tree ul { - padding-left: 20px; - display: none; -} - -.tree .active > .nested { - display: block; -} - -.content { - width: calc(100% - 220px); -} - -.header { - width: 100%; - height: 68px; - background: #ffffff; - display: flex; - justify-content: space-between; - align-items: center; - box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); -} - -.search { - display: flex; - margin-left: 16px; -} - -.search input[type="text"] { - padding: 12px; - font-size: 14px; - border: none; - outline: none; - border-radius: 4px 0 0 4px; -} - -.search button { - padding: 8px 15px; - font-size: 14px; - /* background-color: #007bff; */ - color: #fff; - /* border: 1px solid #007bff; */ - border-radius: 0 4px 4px 0; - cursor: pointer; -} - -.nav { - margin-right: 20px; -} - -.nav a { - padding: 5px 10px; - cursor: pointer; - font-size: 14px; - color: #333333; - text-decoration: none; -} - -.main { - display: flex; - padding: 10px 28px; -} - -.content-left { - width: 75%; - padding-right: 20px; - border-right: 1px solid #e5e7eb; -} - -.recent, .collection, .tabs { - margin-bottom: 20px; -} - -.recent h2, .collection h2, .tabs h2 { - margin-bottom: 10px; - font-size: 16px; - letter-spacing: .6px; - font-size: 18px; - font-weight: 600; - margin-top: 20px; - margin-bottom: 20px; - color: #333333; -} -.recent ul{ - display: flex; - padding-inline-start: 0; - border-bottom: 1px solid #e5e7eb; - padding-bottom: 28px; - width: 100% - 20px; - overflow: auto; -} -.recent ul::-webkit-scrollbar { - height: 8px; - background: #f3f3f3; - border-radius: 10px; -} -.recent ul::-webkit-scrollbar-thumb { - background: #dddddd; - border-radius: 10px; -} - -.recent li { - width: 58px; - background: #999999; - list-style: none; - border-radius: 16px; - background: #fff; - cursor: pointer; - margin-right: 26px; -} -.recent li i{ - display: flex; - width: 58px; - height: 58px; - background: #fff; - border-radius: 16px; - box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); - transition: transform 0.2s ease-in-out; -} -.recent li i:hover{ - /* 向上 */ - transform: translateY(-5px); - box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1); -} -.recent li i img{ - border-radius: 16px; -} -.recent li p{ - width: 100%; - text-align: center; - line-height: 13px; - font-size: 13px; - color: #333333; - margin-top: 10px; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} - -.recent li:last-child, .collection li:last-child, .tabs li:last-child { - border-bottom: none; -} -.collection ul{ - display: grid; - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* 自适应数量 */ - grid-gap: 22px; - padding-inline-start: 0; - padding: 3px; - height: calc(100vh - 350px); - overflow: auto; -} -/* 滚动条隐藏 */ -.collection ul::-webkit-scrollbar { - display: none; -} -.collection ul li{ - width: 100%; - height: 80px; - border-radius: 12px; - background: #ffffff; - box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); - list-style: none; - display: flex; - align-items: center; - cursor: pointer; - transition: 0.2s ease-in-out; -} -.collection ul li:hover{ - background: #f1f1f1; -} -.collection ul li div{ - margin-left: 16px; -} -.collection ul li i{ - width: 38px; - height: 38px; - background: #ebebeb; - border-radius: 50px; - display: flex; - align-items: center; - justify-content: center; - margin-left: 16px; -} -.collection ul li i img{ - width: 100%; - height: 100%; - border-radius: 50px; -} -.collection ul li h3{ - width: 120px; - font-size: 15px; - line-height: 20px; - margin-bottom: 6px; - /* 省略 */ - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -.collection ul li p{ - width: 120px; - font-size: 14px; - color: #999999; - line-height: 20px; - font-weight: 300; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -.tabs{ - margin-left: 16px; -} -.tabs ul{ - height: calc(100vh - 168px); - padding-inline-start: 0px; - overflow-y: auto; - overflow-x: hidden; -} -.tabs ul::-webkit-scrollbar { - display: none; -} -.tabs ul li{ - height: 38px; - width: 100%; - /* background: #f2f2f2; */ - border-radius: 10px; - padding: 0 6px; - list-style: none; - cursor: pointer; - display: flex; - align-items: center; - margin-bottom: 6px; - transition: 0.2s ease-in-out; -} -.tabs ul li:hover{ - background: #f1f1f1; -} -.tabs ul li img{ - width: 18px; - height: 18px; - border-radius: 10%; -} -.tabs ul li p{ - margin-left: 10px; - font-size: 14px; - color: #333333; - line-height: 18px; - width: 280px; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -.icon{ - width: 18px; - height: 18px; -} -.icon img{ - width: 18px; - height: 18px; -} -.selected{ - background: #f1f1f1; -} -.expand-icon{ - font-size: 10px; - color: #dadada; - margin-left: 10px; -} -.parent{ - margin-left: 16px; -} -#navs-container{ - margin-left: -16px; -} -.search-view{ - width: 500px; - max-height: 80%; - overflow: auto; - border-radius: 6px; - background: #ffffff; - position: absolute; - top: 80px; - box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); - display: none; -} -.search-view ul{ - padding: 10px 20px; -} -.search-view ul li{ - display: flex; - align-items: center; - margin-top: 18px; - margin-bottom: 18px; -} -.search-view ul li a{ - width: 380px; - font-size: 14px; - color: #333333; - margin-left: 10px; - text-decoration: none; - line-height: 24px; - white-space: nowrap; - text-overflow: ellipsis; - overflow: hidden; -} -.search-view ul li a:hover{ - text-decoration: underline; -} -.search-view ul li img{ - width: 18px; - height: 18px; - border-radius: 10px; -} diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..95d40b8 --- /dev/null +++ b/vite.config.js @@ -0,0 +1,12 @@ +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' +import { crx } from '@crxjs/vite-plugin' +import manifest from './manifest.json' assert { type: 'json' } // Node >=17 + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [ + vue(), + crx({ manifest }), + ], +}) diff --git a/wx.jpg b/wx.jpg deleted file mode 100644 index 2060ffc..0000000 Binary files a/wx.jpg and /dev/null differ