g-ai-robot3 0.1.58 → 0.1.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(i,ln){typeof exports=="object"&&typeof module<"u"?module.exports=ln(require("vue")):typeof define=="function"&&define.amd?define(["vue"],ln):(i=typeof globalThis<"u"?globalThis:i||self,i["g-ai-robot3"]=ln(i.Vue))})(this,function(i){"use strict";var wme=Object.defineProperty;var Cme=(i,ln,Rr)=>ln in i?wme(i,ln,{enumerable:!0,configurable:!0,writable:!0,value:Rr}):i[ln]=Rr;var ro=(i,ln,Rr)=>(Cme(i,typeof ln!="symbol"?ln+"":ln,Rr),Rr);var ln=document.createElement("style");ln.textContent=`.digital-human[data-v-e4fc1f2c]{z-index:0}.digital-human #video[data-v-e4fc1f2c]{position:absolute;left:0;top:0}[data-v-4cd75e3b] .table-container{width:188px!important;overflow-x:auto}[data-v-4cd75e3b] .markdown-table .ant-table-tbody>tr>td{padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}[data-v-4cd75e3b] .markdown-table .ant-table-thead>tr>th{background-color:#f5f5f5;font-weight:700;padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.suspension-msg-bubble[data-v-4cd75e3b]{position:absolute;left:65%;bottom:85%;width:220px;pointer-events:none;z-index:1}.suspension-msg-bubble .bubble-item[data-v-4cd75e3b]{margin-bottom:5px}.suspension-msg-bubble p[data-v-4cd75e3b],.suspension-msg-bubble[data-v-4cd75e3b] .ant-bubble-content.ant-bubble-content-filled p{margin:0!important;padding:0}.bubble-move[data-v-4cd75e3b],.bubble-enter-active[data-v-4cd75e3b],.bubble-leave-active[data-v-4cd75e3b]{transition:all .5s ease}.bubble-enter-from[data-v-4cd75e3b],.bubble-leave-to[data-v-4cd75e3b]{opacity:0;transform:translate(30px)}.bubble-leave-active[data-v-4cd75e3b]{position:absolute}.ellipsisText{display:inline-block;width:20px;height:24px;position:relative}.ellipsisText:after{position:absolute;left:0;top:4px;content:"···";animation:loading-animation 1s infinite linear}@keyframes loading-animation{0%{content:"·"}50%{content:"··"}to{content:"···"}}#g-ai-robot[data-v-910af32e]{position:fixed}#g-ai-robot .robot[data-v-910af32e]{cursor:pointer;position:fixed;z-index:9999;touch-action:none}#g-ai-robot .robot .digital-human-wrap[data-v-910af32e]{position:relative}#g-ai-robot .robot .digital-human-wrap .dialogImg[data-v-910af32e]{z-index:10000;position:absolute;width:40px;height:40px;top:15%;left:65%;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important}#g-ai-robot .robot.disabled[data-v-910af32e]{cursor:not-allowed}#g-ai-robot .robot img[data-v-910af32e]{height:100px;width:100px}#g-ai-robot .talk_main[data-v-910af32e]{position:absolute;width:400px;height:600px;background:#f5f6f7}#g-ai-robot .talk_main.top[data-v-910af32e]{left:50%;bottom:100px;transform:translate(-50%)}#g-ai-robot .talk_main.bottom[data-v-910af32e]{left:50%;top:100px;transform:translate(-50%)}#g-ai-robot .talk_main.right[data-v-910af32e]{left:100px;bottom:50%;transform:translateY(50%)}#g-ai-robot .talk_main.left[data-v-910af32e]{right:100px;bottom:50%;transform:translateY(50%)}#g-ai-robot .talk_main.top-end[data-v-910af32e]{left:100px;bottom:100px}#g-ai-robot .talk_main.top-start[data-v-910af32e]{right:100px;bottom:100px}#g-ai-robot .talk_main.bottom-start[data-v-910af32e]{right:100px;top:100px}#g-ai-robot .talk_main.bottom-end[data-v-910af32e]{left:100px;top:100px}#g-ai-robot .talk_main header[data-v-910af32e]{height:44px;background:linear-gradient(to right,#ebf1ff,#e5faf8,#f2ebfe);display:flex;padding:0 16px;align-items:center;justify-content:space-between;cursor:move}#g-ai-robot .talk_main header span[data-v-910af32e]{font-size:16px;font-weight:700}#g-ai-robot .talk_main header span.close[data-v-910af32e]{color:#999}#g-ai-robot .talk_main header i[data-v-910af32e]{cursor:pointer}#g-ai-robot .talk_main header i.disabled[data-v-910af32e]{cursor:not-allowed}#g-ai-robot .talk_main .clickable-image[data-v-910af32e]{cursor:pointer;width:80px;height:auto;border-radius:5px;transition:transform .2s}#g-ai-robot .talk_main .clickable-image[data-v-910af32e]:hover{transform:scale(1.1)}#g-ai-robot .talk_main .image-viewer-overlay[data-v-910af32e]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999}#g-ai-robot .talk_main .image-viewer[data-v-910af32e]{position:relative}#g-ai-robot .talk_main .large-image[data-v-910af32e]{max-width:90%;max-height:90%;border-radius:8px}#g-ai-robot .talk_main .qa_body[data-v-910af32e]{list-style:none;padding:16px;box-sizing:border-box;margin:0;height:calc(100% - 116px);overflow-y:auto;overflow-x:hidden}#g-ai-robot .talk_main .qa_body[data-v-910af32e]::-webkit-scrollbar{width:8px;background-color:#f9f9f9}#g-ai-robot .talk_main .qa_body[data-v-910af32e]::-webkit-scrollbar-track{background:#e1e1e1;border-radius:10px}#g-ai-robot .talk_main .qa_body[data-v-910af32e]::-webkit-scrollbar-thumb{background-color:#c1c1c1;border-radius:10px}#g-ai-robot .talk_main .qa_body li[data-v-910af32e]{margin-bottom:24px;justify-content:flex-end;gap:10px;display:flex}#g-ai-robot .talk_main .qa_body li[data-v-910af32e] .ant-bubble-content.ant-bubble-content-filled{box-shadow:0 4px 20px #0476ed29;border:1px solid;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,.5) 104.31%);background:linear-gradient(92.03deg,#77f1ff39 -2.18%,#edfaff99 48.06%,#5ba8ff2c 107.05%)}#g-ai-robot .talk_main .qa_body li[data-v-910af32e] .ant-bubble-content.ant-bubble-content-filled p{margin:0!important;padding:0}#g-ai-robot .talk_main .qa_body li[data-v-910af32e] .table-container{width:294px!important;overflow-x:auto}#g-ai-robot .talk_main .qa_body li[data-v-910af32e] .markdown-table .ant-table-tbody>tr>td{padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#g-ai-robot .talk_main .qa_body li[data-v-910af32e] .markdown-table .ant-table-thead>tr>th{background-color:#f5f5f5;font-weight:700;padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#g-ai-robot .talk_main .qa_body li .copyBtn[data-v-910af32e]{font-size:18px;cursor:pointer;margin-right:10px}#g-ai-robot .talk_main .qa_body li .copyBtn[data-v-910af32e]:hover{color:#1890ff;transform:scale(1.1)}#g-ai-robot .talk_main .qa_body li .is_icon[data-v-910af32e]{width:30px;height:30px;border-radius:50%;color:#fff;display:flex}#g-ai-robot .talk_main .qa_body li.is_ai[data-v-910af32e]{justify-content:flex-start;overflow:hidden}#g-ai-robot .talk_main .qa_body li.is_ai .text_main[data-v-910af32e]{box-shadow:0 4px 20px #0476ed29;border:1px solid;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,.5) 104.31%);background:linear-gradient(92.03deg,#77f1ff39 -2.18%,#edfaff99 48.06%,#5ba8ff2c 107.05%)}#g-ai-robot .talk_main .qa_body li.is_ai .text_main>.value[data-v-910af32e]{white-space:pre-wrap}#g-ai-robot .talk_main .qa_body li .text_main[data-v-910af32e]{padding:10px;max-width:calc(100% - 100px);border:1px solid;margin:0 8px;border-image-source:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,.5) 100%);box-shadow:0 4px 20px #0476ed29;background:linear-gradient(90.81deg,#f4fcff99 1.75%,#fff9 32.33%,#eef6ff99 102.86%);border-radius:6px}#g-ai-robot .talk_main .qa_body li .text_main>.value[data-v-910af32e]{display:flex;align-items:center;overflow-wrap:break-word;word-wrap:break-word;font-size:14px;font-weight:400}#g-ai-robot .talk_main .qa_body li .text_main .btn i[data-v-910af32e]{font-size:14px;font-weight:400;color:#037aff;margin-right:10px;cursor:pointer;text-decoration:underline}#g-ai-robot .talk_main .qa_body li .text_main .btn i.open[data-v-910af32e]{filter:hue-rotate(180deg);animation:opacityCss 2s linear infinite}#g-ai-robot .talk_main #playChart[data-v-910af32e]{width:calc(100% - 32px);height:40px;left:16px;display:inline-block;bottom:100px;position:absolute;visibility:hidden;border:1px solid #ccc;vertical-align:bottom}#g-ai-robot .talk_main #playChart.show[data-v-910af32e]{visibility:visible}#g-ai-robot .talk_main #playChart.hiddle[data-v-910af32e]{visibility:hidden}#g-ai-robot .talk_main .qa_input[data-v-910af32e]{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;position:absolute;bottom:0;left:0;right:0;box-sizing:border-box}#g-ai-robot .talk_main .qa_input textarea[data-v-910af32e]{width:100%;height:68px;resize:none;background-color:#fff;border:1px solid #dcdfe6;color:#606266;padding:6px}#g-ai-robot .talk_main .qa_input textarea[data-v-910af32e]:focus{outline:none;border-color:#409eff}#g-ai-robot .talk_main .qa_input .is_icon[data-v-910af32e]{width:30px}#g-ai-robot .talk_main .qa_input .is_icon p[data-v-910af32e]{display:flex;align-items:center;justify-content:flex-end;margin:6px 0}#g-ai-robot .talk_main .qa_input .is_icon p[data-v-910af32e]:nth-of-type(1){position:relative}#g-ai-robot .talk_main .qa_input .is_icon p i[data-v-910af32e]{animation:rotateCss-910af32e 2s linear infinite;font-size:20px;color:#606266}#g-ai-robot .talk_main .qa_input .is_icon p img[data-v-910af32e]{width:20px;height:20px;cursor:pointer}#g-ai-robot .talk_main .qa_input .is_icon p img.close[data-v-910af32e]{filter:hue-rotate(180deg);animation:opacityCss 2s linear infinite}#g-ai-robot .talk_main .qa_input .is_icon p.send img.disabled[data-v-910af32e]{cursor:not-allowed}#g-ai-robot .talk_main .qa_input .is_icon p i[data-v-910af32e]{cursor:pointer}@keyframes rotateCss-910af32e{0%{transform:rotate(0)}25%{transform:rotate(90deg)}50%{transform:rotate(180deg)}70%{transform:rotate(270deg)}to{transform:rotate(360deg)}}@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/c/font_4633255_xm549qw7rxj.woff2?t=1721900327001) format("woff2"),url(//at.alicdn.com/t/c/font_4633255_xm549qw7rxj.woff?t=1721900327001) format("woff"),url(//at.alicdn.com/t/c/font_4633255_xm549qw7rxj.ttf?t=1721900327001) format("truetype")}.iconfont[data-v-910af32e]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-guanbi[data-v-910af32e]:before{content:""}.icon-nvsheng[data-v-910af32e]:before{content:""}.icon-nansheng[data-v-910af32e]:before{content:""}.icon-fuzhi[data-v-910af32e]:before{content:""}.icon-zhongxinhuida[data-v-910af32e]:before{content:""}
1
+ (function(i,ln){typeof exports=="object"&&typeof module<"u"?module.exports=ln(require("vue")):typeof define=="function"&&define.amd?define(["vue"],ln):(i=typeof globalThis<"u"?globalThis:i||self,i["g-ai-robot3"]=ln(i.Vue))})(this,function(i){"use strict";var wme=Object.defineProperty;var Cme=(i,ln,Rr)=>ln in i?wme(i,ln,{enumerable:!0,configurable:!0,writable:!0,value:Rr}):i[ln]=Rr;var ro=(i,ln,Rr)=>(Cme(i,typeof ln!="symbol"?ln+"":ln,Rr),Rr);var ln=document.createElement("style");ln.textContent=`.digital-human[data-v-e4fc1f2c]{z-index:0}.digital-human #video[data-v-e4fc1f2c]{position:absolute;left:0;top:0}[data-v-893fb45d] .table-container{width:188px!important;overflow-x:auto}[data-v-893fb45d] .markdown-table .ant-table-tbody>tr>td{padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}[data-v-893fb45d] .markdown-table .ant-table-thead>tr>th{background-color:#f5f5f5;font-weight:700;padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.suspension-msg-bubble[data-v-893fb45d]{position:absolute;left:65%;bottom:85%;width:220px;pointer-events:none;z-index:1}.suspension-msg-bubble .bubble-item[data-v-893fb45d]{margin-bottom:5px}.suspension-msg-bubble p[data-v-893fb45d],.suspension-msg-bubble[data-v-893fb45d] .ant-bubble-content.ant-bubble-content-filled p,.suspension-msg-bubble[data-v-893fb45d] .ant-bubble-content.ant-bubble-content-outlined p{margin:0!important;padding:0}.bubble-move[data-v-893fb45d],.bubble-enter-active[data-v-893fb45d],.bubble-leave-active[data-v-893fb45d]{transition:all .5s ease}.bubble-enter-from[data-v-893fb45d],.bubble-leave-to[data-v-893fb45d]{opacity:0;transform:translate(30px)}.bubble-leave-active[data-v-893fb45d]{position:absolute}.ellipsisText{display:inline-block;width:20px;height:24px;position:relative}.ellipsisText:after{position:absolute;left:0;top:4px;content:"···";animation:loading-animation 1s infinite linear}@keyframes loading-animation{0%{content:"·"}50%{content:"··"}to{content:"···"}}#g-ai-robot[data-v-7600cb6b]{position:fixed}#g-ai-robot .robot[data-v-7600cb6b]{cursor:pointer;position:fixed;z-index:9999;touch-action:none}#g-ai-robot .robot .digital-human-wrap[data-v-7600cb6b]{position:relative}#g-ai-robot .robot .digital-human-wrap .dialogImg[data-v-7600cb6b]{z-index:10000;position:absolute;width:40px;height:40px;top:15%;left:65%;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important}#g-ai-robot .robot .digital-human-wrap .statusImg[data-v-7600cb6b]{z-index:10000;position:absolute;width:100px;height:100px;top:0%;left:5%;-webkit-user-select:auto!important;user-select:auto!important;pointer-events:auto!important}#g-ai-robot .robot.disabled[data-v-7600cb6b]{cursor:not-allowed}#g-ai-robot .robot img[data-v-7600cb6b]{height:100px;width:100px}#g-ai-robot .talk_main[data-v-7600cb6b]{position:absolute;width:400px;height:600px;background:#f5f6f7}#g-ai-robot .talk_main.top[data-v-7600cb6b]{left:50%;bottom:100px;transform:translate(-50%)}#g-ai-robot .talk_main.bottom[data-v-7600cb6b]{left:50%;top:100px;transform:translate(-50%)}#g-ai-robot .talk_main.right[data-v-7600cb6b]{left:100px;bottom:50%;transform:translateY(50%)}#g-ai-robot .talk_main.left[data-v-7600cb6b]{right:100px;bottom:50%;transform:translateY(50%)}#g-ai-robot .talk_main.top-end[data-v-7600cb6b]{left:100px;bottom:100px}#g-ai-robot .talk_main.top-start[data-v-7600cb6b]{right:100px;bottom:100px}#g-ai-robot .talk_main.bottom-start[data-v-7600cb6b]{right:100px;top:100px}#g-ai-robot .talk_main.bottom-end[data-v-7600cb6b]{left:100px;top:100px}#g-ai-robot .talk_main header[data-v-7600cb6b]{height:44px;background:linear-gradient(to right,#ebf1ff,#e5faf8,#f2ebfe);display:flex;padding:0 16px;align-items:center;justify-content:space-between;cursor:move}#g-ai-robot .talk_main header span[data-v-7600cb6b]{font-size:16px;font-weight:700}#g-ai-robot .talk_main header span.close[data-v-7600cb6b]{color:#999}#g-ai-robot .talk_main header i[data-v-7600cb6b]{cursor:pointer}#g-ai-robot .talk_main header i.disabled[data-v-7600cb6b]{cursor:not-allowed}#g-ai-robot .talk_main .clickable-image[data-v-7600cb6b]{cursor:pointer;width:80px;height:auto;border-radius:5px;transition:transform .2s}#g-ai-robot .talk_main .clickable-image[data-v-7600cb6b]:hover{transform:scale(1.1)}#g-ai-robot .talk_main .image-viewer-overlay[data-v-7600cb6b]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:9999}#g-ai-robot .talk_main .image-viewer[data-v-7600cb6b]{position:relative}#g-ai-robot .talk_main .large-image[data-v-7600cb6b]{max-width:90%;max-height:90%;border-radius:8px}#g-ai-robot .talk_main .qa_body[data-v-7600cb6b]{list-style:none;padding:16px;box-sizing:border-box;margin:0;height:calc(100% - 116px);overflow-y:auto;overflow-x:hidden}#g-ai-robot .talk_main .qa_body[data-v-7600cb6b]::-webkit-scrollbar{width:8px;background-color:#f9f9f9}#g-ai-robot .talk_main .qa_body[data-v-7600cb6b]::-webkit-scrollbar-track{background:#e1e1e1;border-radius:10px}#g-ai-robot .talk_main .qa_body[data-v-7600cb6b]::-webkit-scrollbar-thumb{background-color:#c1c1c1;border-radius:10px}#g-ai-robot .talk_main .qa_body li[data-v-7600cb6b]{margin-bottom:24px;justify-content:flex-end;gap:10px;display:flex}#g-ai-robot .talk_main .qa_body li[data-v-7600cb6b] .ant-bubble-content.ant-bubble-content-filled{box-shadow:0 4px 20px #0476ed29;border:1px solid;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,.5) 104.31%);background:linear-gradient(92.03deg,#77f1ff39 -2.18%,#edfaff99 48.06%,#5ba8ff2c 107.05%)}#g-ai-robot .talk_main .qa_body li[data-v-7600cb6b] .ant-bubble-content.ant-bubble-content-filled p,#g-ai-robot .talk_main .qa_body li[data-v-7600cb6b] .ant-bubble-content.ant-bubble-content-outlined p{margin:0!important;padding:0}#g-ai-robot .talk_main .qa_body li[data-v-7600cb6b] .table-container{width:294px!important;overflow-x:auto}#g-ai-robot .talk_main .qa_body li[data-v-7600cb6b] .markdown-table .ant-table-tbody>tr>td{padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#g-ai-robot .talk_main .qa_body li[data-v-7600cb6b] .markdown-table .ant-table-thead>tr>th{background-color:#f5f5f5;font-weight:700;padding:8px 16px;height:40px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#g-ai-robot .talk_main .qa_body li .copyBtn[data-v-7600cb6b]{font-size:18px;cursor:pointer;margin-right:10px}#g-ai-robot .talk_main .qa_body li .copyBtn[data-v-7600cb6b]:hover{color:#1890ff;transform:scale(1.1)}#g-ai-robot .talk_main .qa_body li .is_icon[data-v-7600cb6b]{width:30px;height:30px;border-radius:50%;color:#fff;display:flex}#g-ai-robot .talk_main .qa_body li.is_ai[data-v-7600cb6b]{justify-content:flex-start;overflow:hidden}#g-ai-robot .talk_main .qa_body li.is_ai .text_main[data-v-7600cb6b]{box-shadow:0 4px 20px #0476ed29;border:1px solid;border-image-source:linear-gradient(180deg,#ffffff 0%,rgba(255,255,255,.5) 104.31%);background:linear-gradient(92.03deg,#77f1ff39 -2.18%,#edfaff99 48.06%,#5ba8ff2c 107.05%)}#g-ai-robot .talk_main .qa_body li.is_ai .text_main>.value[data-v-7600cb6b]{white-space:pre-wrap}#g-ai-robot .talk_main .qa_body li .text_main[data-v-7600cb6b]{padding:10px;max-width:calc(100% - 100px);border:1px solid;margin:0 8px;border-image-source:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,.5) 100%);box-shadow:0 4px 20px #0476ed29;background:linear-gradient(90.81deg,#f4fcff99 1.75%,#fff9 32.33%,#eef6ff99 102.86%);border-radius:6px}#g-ai-robot .talk_main .qa_body li .text_main>.value[data-v-7600cb6b]{display:flex;align-items:center;overflow-wrap:break-word;word-wrap:break-word;font-size:14px;font-weight:400}#g-ai-robot .talk_main .qa_body li .text_main .btn i[data-v-7600cb6b]{font-size:14px;font-weight:400;color:#037aff;margin-right:10px;cursor:pointer;text-decoration:underline}#g-ai-robot .talk_main .qa_body li .text_main .btn i.open[data-v-7600cb6b]{filter:hue-rotate(180deg);animation:opacityCss 2s linear infinite}#g-ai-robot .talk_main #playChart[data-v-7600cb6b]{width:calc(100% - 32px);height:40px;left:16px;display:inline-block;bottom:100px;position:absolute;visibility:hidden;border:1px solid #ccc;vertical-align:bottom}#g-ai-robot .talk_main #playChart.show[data-v-7600cb6b]{visibility:visible}#g-ai-robot .talk_main #playChart.hiddle[data-v-7600cb6b]{visibility:hidden}#g-ai-robot .talk_main .qa_input[data-v-7600cb6b]{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;position:absolute;bottom:0;left:0;right:0;box-sizing:border-box}#g-ai-robot .talk_main .qa_input textarea[data-v-7600cb6b]{width:100%;height:68px;resize:none;background-color:#fff;border:1px solid #dcdfe6;color:#606266;padding:6px}#g-ai-robot .talk_main .qa_input textarea[data-v-7600cb6b]:focus{outline:none;border-color:#409eff}#g-ai-robot .talk_main .qa_input .is_icon[data-v-7600cb6b]{width:30px}#g-ai-robot .talk_main .qa_input .is_icon p[data-v-7600cb6b]{display:flex;align-items:center;justify-content:flex-end;margin:6px 0}#g-ai-robot .talk_main .qa_input .is_icon p[data-v-7600cb6b]:nth-of-type(1){position:relative}#g-ai-robot .talk_main .qa_input .is_icon p i[data-v-7600cb6b]{animation:rotateCss-7600cb6b 2s linear infinite;font-size:20px;color:#606266}#g-ai-robot .talk_main .qa_input .is_icon p img[data-v-7600cb6b]{width:20px;height:20px;cursor:pointer}#g-ai-robot .talk_main .qa_input .is_icon p img.close[data-v-7600cb6b]{filter:hue-rotate(180deg);animation:opacityCss 2s linear infinite}#g-ai-robot .talk_main .qa_input .is_icon p.send img.disabled[data-v-7600cb6b]{cursor:not-allowed}#g-ai-robot .talk_main .qa_input .is_icon p i[data-v-7600cb6b]{cursor:pointer}@keyframes rotateCss-7600cb6b{0%{transform:rotate(0)}25%{transform:rotate(90deg)}50%{transform:rotate(180deg)}70%{transform:rotate(270deg)}to{transform:rotate(360deg)}}@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/c/font_4633255_xm549qw7rxj.woff2?t=1721900327001) format("woff2"),url(//at.alicdn.com/t/c/font_4633255_xm549qw7rxj.woff?t=1721900327001) format("woff"),url(//at.alicdn.com/t/c/font_4633255_xm549qw7rxj.ttf?t=1721900327001) format("truetype")}.iconfont[data-v-7600cb6b]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-guanbi[data-v-7600cb6b]:before{content:""}.icon-nvsheng[data-v-7600cb6b]:before{content:""}.icon-nansheng[data-v-7600cb6b]:before{content:""}.icon-fuzhi[data-v-7600cb6b]:before{content:""}.icon-zhongxinhuida[data-v-7600cb6b]:before{content:""}
2
2
  `,document.head.appendChild(ln);const Rr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA1pJREFUWEftll+I3FQUxr/vzkgtaJOxbDKLomKL/8qWKhUW6YMFqQp9XsG2oFBWqtjdJLSlKP570eomUdCHsipFq/gPH9pa6ZOCtIiwYlGKDz7YSnfnRmgyoCBt5x6ZkRmma3ZmdxosiHkKyb3f+Z3vnnvvIa7wwyscH0sGsGJ9C0VGAIwQGBFwGYRnRMkZGJ6+2MDXf+x2aotNbNEAdpw8BUEIyJ8AZwCZIdWMMea8gtwu5G0kbhXh3QLzbN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+ysooWIAgUfSsxTKGD0glgIEjA6/X+Vf7JMpS0g7302WACJmrUAIClgo+H4OeOEF5bmsatcfVtgoq6wpbd/xsAQycXcNZh51ZtXO7MDXTuO3fln2RWxpVMVgj0bSwdTraB2QV0ETD5yD4skF6Dbio0z86qAgc0nhFYI3krI26TTMJiA4fAq0KTS7zDQcHx/DSwJlwCOnBs/VIhLptExEQXj5HWNZALB12M5efLXPqw2dtwmQkIvofmJgABiltovmAOGf44NQ5EMYBioh5PK/iK+mUBYw7rAKWGU7tqPrnZ35PNCXRCoYdWBkZWVWFqjxJwGOEV3WDgkzRLg6tjTaRFxGQhVcBfwHJ1ugwiHKPWwAAAABJRU5ErkJggg==";function LP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ov={exports:{}};(function(e){(function(t){var n=typeof window=="object"&&!!window.document,o=n?window:Object;t(o,n),e.exports&&(e.exports=o.Recorder)})(function(t,n){var o=function(){},r=function(R){return typeof R=="number"},a=function(R){return JSON.stringify(R)},l=function(R){return new K(R)},s=l.LM="2024-10-20 22:15",u="https://github.com/xiangyuecn/Recorder",c="Recorder",d="getUserMedia",f="srcSampleRate",p="sampleRate",h="bitRate",g="catch",m=t[c];if(m&&m.LM==s){m.CLog(m.i18n.$T("K8zP::重复导入{1}",0,c),3);return}l.IsOpen=function(){var R=l.Stream;if(R){var D=A(R),I=D[0];if(I){var M=I.readyState;return M=="live"||M==I.LIVE}}return!1},l.BufferSize=4096,l.Destroy=function(){F(c+" Destroy"),T();for(var R in b)b[R]()};var b={};l.BindDestroy=function(R,D){b[R]=D},l.Support=function(){if(!n)return!1;var R=navigator.mediaDevices||{};return R[d]||(R=navigator,R[d]||(R[d]=R.webkitGetUserMedia||R.mozGetUserMedia||R.msGetUserMedia)),!(!R[d]||(l.Scope=R,!l.GetContext()))},l.GetContext=function(R){if(!n)return null;var D=window.AudioContext;if(D||(D=window.webkitAudioContext),!D)return null;var I=l.Ctx,M=0;return I||(I=l.Ctx=new D,M=1,l.NewCtxs=l.NewCtxs||[],l.BindDestroy("Ctx",function(){var V=l.Ctx;V&&V.close&&(y(V),l.Ctx=0);var q=l.NewCtxs;l.NewCtxs=[];for(var X=0;X<q.length;X++)y(q[X])})),R&&I.close&&(M||(I._useC||y(I),I=new D),I._useC=1,l.NewCtxs.push(I)),I},l.CloseNewCtx=function(R){if(R&&R.close){y(R);for(var D=l.NewCtxs||[],I=D.length,M=0;M<D.length;M++)if(D[M]==R){D.splice(M,1);break}F(U("mSxV::剩{1}个GetContext未close",0,I+"-1="+D.length),D.length?3:0)}};var y=function(R){if(R&&R.close&&!R._isC&&(R._isC=1,R.state!="closed"))try{R.close()}catch(D){F("ctx close err",1,D)}},x=l.ResumeCtx=function(R,D,I,M){var V=0,q=0,X=0,Q=0,J="EventListener",ce="ResumeCtx ",se=function(te,ae){q&&de(),V||(V=1,te&&M(te,Q),ae&&I(Q)),ae&&(!R._LsSC&&R["add"+J]&&R["add"+J]("statechange",re),R._LsSC=1,X=1)},de=function(te){if(!(te&&q)){q=te?1:0;for(var ae=["focus","mousedown","mouseup","touchstart","touchend"],$e=0;$e<ae.length;$e++)window[(te?"add":"remove")+J](ae[$e],re,!0)}},re=function(){var te=R.state,ae=w(te);if(!V&&!D(ae?++Q:Q))return se();ae?(X&&F(ce+"sc "+te,3),de(1),R.resume().then(function(){X&&F(ce+"sc "+R.state),se(0,1)})[g](function($e){F(ce+"error",1,$e),w(R.state)||se($e.message||"error")})):te=="closed"?(X&&!R._isC&&F(ce+"sc "+te,1),se("ctx closed")):se(0,1)};re()},w=l.CtxSpEnd=function(R){return R=="suspended"||R=="interrupted"},S=function(R){var D=R.state,I="ctx.state="+D;return w(D)&&(I+=U("nMIy::(注意:ctx不是running状态,rec.open和start至少要有一个在用户操作(触摸、点击等)时进行调用,否则将在rec.start时尝试进行ctx.resume,可能会产生兼容性问题(仅iOS),请参阅文档中runningContext配置)")),I},C="ConnectEnableWebM";l[C]=!0;var $="ConnectEnableWorklet";l[$]=!1;var v=function(R){var D=R.BufferSize||l.BufferSize,I=R.Stream,M=I._c,V=M[p],q={},X=A(I),Q=X[0],J=null,ce="";if(Q&&Q.getSettings){J=Q.getSettings();var se=J[p];se&&se!=V&&(ce=U("eS8i::Stream的采样率{1}不等于{2},将进行采样率转换(注意:音质不会变好甚至可能变差),主要在移动端未禁用回声消除时会产生此现象,浏览器有回声消除时可能只会返回16k采样率的音频数据,",0,se,V))}I._ts=J,F(ce+"Stream TrackSet: "+a(J),ce?3:0);var de=function(ze){var Ie=I._m=M.createMediaStreamSource(I),Pe=M.destination,De="createMediaStreamDestination";M[De]&&(Pe=I._d=M[De]()),Ie.connect(ze),ze.connect(Pe)},re,te,ae,$e="",xe=I._call,Oe=function(ze,Ie){for(var Pe in xe){if(Ie!=V){q.index=0,q=l.SampleData([ze],Ie,V,q,{_sum:1});var De=q.data,we=q._sum}else{q={};for(var ye=ze.length,De=new Int16Array(ye),we=0,be=0;be<ye;be++){var Ce=Math.max(-1,Math.min(1,ze[be]));Ce=Ce<0?Ce*32768:Ce*32767,De[be]=Ce,we+=Math.abs(Ce)}}for(var je in xe)xe[je](De,we);return}},Se="ScriptProcessor",ie="audioWorklet",Z=c+" "+ie,fe="RecProc",ve="MediaRecorder",Te=ve+".WebM.PCM",Ae=M.createScriptProcessor||M.createJavaScriptNode,pe=U("ZGlf::。由于{1}内部1秒375次回调,在移动端可能会有性能问题导致回调丢失录音变短,PC端无影响,暂不建议开启{1}。",0,ie),ue=function(){te=I.isWorklet=!1,O(I),F(U("7TU0::Connect采用老的{1},",0,Se)+Y.get(l[$]?U("JwCL::但已设置{1}尝试启用{2}",2):U("VGjB::可设置{1}尝试启用{2}",2),[c+"."+$+"=true",ie])+$e+pe,3);var ze=I._p=Ae.call(M,D,1,1);de(ze),ze.onaudioprocess=function(Ie){var Pe=Ie.inputBuffer.getChannelData(0);Oe(Pe,V)}},me=function(){re=I.isWebM=!1,P(I),te=I.isWorklet=!Ae||l[$];var ze=window.AudioWorkletNode;if(!(te&&M[ie]&&ze)){ue();return}var Ie=function(){var be=function(je){return je.toString().replace(/^function|DEL_/g,"").replace(/\$RA/g,Z)},Ce="class "+fe+" extends AudioWorkletProcessor{";return Ce+="constructor "+be(function(je){DEL_super(je);var He=this,Re=je.processorOptions.bufferSize;He.bufferSize=Re,He.buffer=new Float32Array(Re*2),He.pos=0,He.port.onmessage=function(Be){Be.data.kill&&(He.kill=!0,$C.log("$RA kill call"))},$C.log("$RA .ctor call",je)}),Ce+="process "+be(function(je,He,Re){var Be=this,et=Be.bufferSize,tt=Be.buffer,pt=Be.pos;if(je=(je[0]||[])[0]||[],je.length){tt.set(je,pt),pt+=je.length;var Ot=~~(pt/et)*et;if(Ot){this.port.postMessage({val:tt.slice(0,Ot)});var qt=tt.subarray(Ot,pt);tt=new Float32Array(et*2),tt.set(qt),pt=qt.length,Be.buffer=tt}Be.pos=pt}return!Be.kill}),Ce+='}try{registerProcessor("'+fe+'", '+fe+')}catch(e){$C.error("'+Z+' Reg Error",e)}',Ce=Ce.replace(/\$C\./g,"console."),"data:text/javascript;base64,"+btoa(unescape(encodeURIComponent(Ce)))},Pe=function(){return te&&I._na},De=I._na=function(){ae!==""&&(clearTimeout(ae),ae=setTimeout(function(){ae=0,Pe()&&(F(U("MxX1::{1}未返回任何音频,恢复使用{2}",0,ie,Se),3),Ae&&ue())},500))},we=function(){if(Pe()){var be=I._n=new ze(M,fe,{processorOptions:{bufferSize:D}});de(be),be.port.onmessage=function(Ce){ae&&(clearTimeout(ae),ae=""),Pe()?Oe(Ce.data.val,V):te||F(U("XUap::{1}多余回调",0,ie),3)},F(U("yOta::Connect采用{1},设置{2}可恢复老式{3}",0,ie,c+"."+$+"=false",Se)+$e+pe,3)}},ye=function(){if(Pe()){if(M[fe]){we();return}var be=Ie();M[ie].addModule(be).then(function(Ce){Pe()&&(M[fe]=1,we(),ae&&De())})[g](function(Ce){F(ie+".addModule Error",1,Ce),Pe()&&ue()})}};x(M,function(){return Pe()},ye,ye)},ke=function(){var ze=window[ve],Ie="ondataavailable",Pe="audio/webm; codecs=pcm";re=I.isWebM=l[C];var De=ze&&Ie in ze.prototype&&ze.isTypeSupported(Pe);if($e=De?"":U("VwPd::(此浏览器不支持{1})",0,Te),!re||!De){me();return}var we=function(){return re&&I._ra};I._ra=function(){ae!==""&&(clearTimeout(ae),ae=setTimeout(function(){we()&&(F(U("vHnb::{1}未返回任何音频,降级使用{2}",0,ve,ie),3),me())},500))};var ye=Object.assign({mimeType:Pe},l.ConnectWebMOptions),be=I._r=new ze(I,ye),Ce=I._rd={};be[Ie]=function(je){var He=new FileReader;He.onloadend=function(){if(we()){var Re=H(new Uint8Array(He.result),Ce);if(!Re)return;if(Re==-1){me();return}ae&&(clearTimeout(ae),ae=""),Oe(Re,Ce.webmSR)}else re||F(U("O9P7::{1}多余回调",0,ve),3)},He.readAsArrayBuffer(je.data)},be.start(~~(D/48)),F(U("LMEm::Connect采用{1},设置{2}可恢复使用{3}或老式{4}",0,Te,c+"."+C+"=false",ie,Se))};ke()},k=function(R){R._na&&R._na(),R._ra&&R._ra()},O=function(R){R._na=null,R._n&&(R._n.port.postMessage({kill:!0}),R._n.disconnect(),R._n=null)},P=function(R){if(R._ra=null,R._r){try{R._r.stop()}catch(D){F("mr stop err",1,D)}R._r=null}},T=function(R){R=R||l;var D=R==l,I=R.Stream;I&&(I._m&&(I._m.disconnect(),I._m=null),!I._RC&&I._c&&l.CloseNewCtx(I._c),I._RC=null,I._c=null,I._d&&(B(I._d.stream),I._d=null),I._p&&(I._p.disconnect(),I._p.onaudioprocess=I._p=null),O(I),P(I),D&&B(I)),R.Stream=0},B=l.StopS_=function(R){for(var D=A(R),I=0;I<D.length;I++){var M=D[I];M.stop&&M.stop()}R.stop&&R.stop()},A=function(R){var D=0,I=0,M=[];R.getAudioTracks&&(D=R.getAudioTracks(),I=R.getVideoTracks()),D||(D=R.audioTracks,I=R.videoTracks);for(var V=0,q=D?D.length:0;V<q;V++)M.push(D[V]);for(var V=0,q=I?I.length:0;V<q;V++)M.push(I[V]);return M};l.SampleData=function(R,D,I,M,V){var q="SampleData";M||(M={});var X=M.index||0,Q=M.offset||0,J=M.raisePrev||0,ce=M.filter;if(ce&&ce.fn&&(ce.sr&&ce.sr!=D||ce.srn&&ce.srn!=I)&&(ce=null,F(U("d48C::{1}的filter采样率变了,重设滤波",0,q),3)),!ce)if(I<=D){var se=I>D*3/4?0:I/2*3/4;ce={fn:se?l.IIRFilter(!0,D,se):0}}else{var se=D>I*3/4?0:D/2*3/4;ce={fn:se?l.IIRFilter(!0,I,se):0}}ce.sr=D,ce.srn=I;var de=ce.fn,re=M.frameNext||[];V||(V={});var te=V.frameSize||1;V.frameType&&(te=V.frameType=="mp3"?1152:1);var ae=V._sum,$e=0,xe=R.length;X>xe+1&&F(U("tlbC::{1}似乎传入了未重置chunk {2}",0,q,X+">"+xe),3);for(var Oe=0,Se=X;Se<xe;Se++)Oe+=R[Se].length;var ie=D/I;if(ie>1)Oe=Math.max(0,Oe-Math.floor(Q)),Oe=Math.floor(Oe/ie);else if(ie<1){var Z=1/ie;Oe=Math.floor(Oe*Z)}Oe+=re.length;for(var fe=new Int16Array(Oe),ve=0,Se=0;Se<re.length;Se++)fe[ve]=re[Se],ve++;for(;X<xe;X++){var Te=R[X],Ae=Te instanceof Float32Array,Se=Q,pe=Te.length,ue=de&&de.Embed,me=0,ke=0,ze=0,Ie=0;if(ie<1){for(var Pe=ve+Se,De=J,we=0;we<pe;we++){var ye=Te[we];Ae&&(ye=Math.max(-1,Math.min(1,ye)),ye=ye<0?ye*32768:ye*32767);var be=Math.floor(Pe);Pe+=Z;for(var Ce=Math.floor(Pe),je=(ye-De)/(Ce-be),He=1;be<Ce;be++,He++){var Re=Math.floor(De+He*je);ue?(ze=Re,Ie=ue.b0*ze+ue.b1*ue.x1+ue.b0*ue.x2-ue.a1*ue.y1-ue.a2*ue.y2,ue.x2=ue.x1,ue.x1=ze,ue.y2=ue.y1,ue.y1=Ie,Re=Ie):Re=de?de(Re):Re,Re>32767?Re=32767:Re<-32768&&(Re=-32768),ae&&($e+=Math.abs(Re)),fe[be]=Re,ve++}De=J=ye,Se+=Z}Q=Se%1;continue}for(var we=0,Be=0;we<pe;we++,Be++){if(Be<pe){var ye=Te[Be];Ae&&(ye=Math.max(-1,Math.min(1,ye)),ye=ye<0?ye*32768:ye*32767),ue?(ze=ye,Ie=ue.b0*ze+ue.b1*ue.x1+ue.b0*ue.x2-ue.a1*ue.y1-ue.a2*ue.y2,ue.x2=ue.x1,ue.x1=ze,ue.y2=ue.y1,ue.y1=Ie):Ie=de?de(ye):ye}if(me=ke,ke=Ie,Be==0){we--;continue}var et=Math.floor(Se);if(we==et){var tt=Math.ceil(Se),pt=Se-et,Ot=me,qt=tt<pe?ke:Ot,pn=Ot+(qt-Ot)*pt;pn>32767?pn=32767:pn<-32768&&(pn=-32768),ae&&($e+=Math.abs(pn)),fe[ve]=pn,ve++,Se+=ie}}Q=Math.max(0,Se-pe)}ie<1&&ve+1==Oe&&(Oe--,fe=new Int16Array(fe.buffer.slice(0,Oe*2))),ve-1!=Oe&&ve!=Oe&&F(q+" idx:"+ve+" != size:"+Oe,3),re=null;var oo=Oe%te;if(oo>0){var Mn=(Oe-oo)*2;re=new Int16Array(fe.buffer.slice(Mn)),fe=new Int16Array(fe.buffer.slice(0,Mn))}var Jo={index:X,offset:Q,raisePrev:J,filter:ce,frameNext:re,sampleRate:I,data:fe};return ae&&(Jo._sum=$e),Jo},l.IIRFilter=function(R,D,I){var M=2*Math.PI*I/D,V=Math.sin(M),q=Math.cos(M),X=V/2,Q=1+X,J=-2*q/Q,ce=(1-X)/Q;if(R)var se=(1-q)/2/Q,de=(1-q)/Q;else var se=(1+q)/2/Q,de=-(1+q)/Q;var re=0,te=0,ae=0,$e=0,xe=0,Oe=function(Se){return ae=se*Se+de*re+se*te-J*$e-ce*xe,te=re,re=Se,xe=$e,$e=ae,ae};return Oe.Embed={x1:0,x2:0,y1:0,y2:0,b0:se,b1:de,a1:J,a2:ce},Oe},l.PowerLevel=function(R,D){var I=R/D||0,M;return I<1251?M=Math.round(I/1250*10):M=Math.round(Math.min(100,Math.max(0,(1+Math.log(I/1e4)/Math.log(10))*100))),M},l.PowerDBFS=function(R){var D=Math.max(.1,R||0),I=32767;return D=Math.min(D,I),D=20*Math.log(D/I)/Math.log(10),Math.max(-100,Math.round(D))},l.CLog=function(R,D){if(typeof console=="object"){var I=new Date,M=("0"+I.getMinutes()).substr(-2)+":"+("0"+I.getSeconds()).substr(-2)+"."+("00"+I.getMilliseconds()).substr(-3),V=this&&this.envIn&&this.envCheck&&this.id,q=["["+M+" "+c+(V?":"+V:"")+"]"+R],X=arguments,Q=l.CLog,J=2,ce=Q.log||console.log;for(r(D)?ce=D==1?Q.error||console.error:D==3?Q.warn||console.warn:ce:J=1;J<X.length;J++)q.push(X[J]);z?ce&&ce("[IsLoser]"+q[0],q.length>1?q:""):ce.apply(console,q)}};var F=function(){l.CLog.apply(this,arguments)},z=!0;try{z=!console.log.apply}catch{}var _=0;function K(R){var D=this;D.id=++_,oe();var I={type:"mp3",onProcess:o};for(var M in R)I[M]=R[M];D.set=I;var V=I[h],q=I[p];(V&&!r(V)||q&&!r(q))&&D.CLog(U.G("IllegalArgs-1",[U("VtS4::{1}和{2}必须是数值",0,p,h)]),1,R),I[h]=+V||16,I[p]=+q||16e3,D.state=0,D._S=9,D.Sync={O:9,C:9}}l.Sync={O:9,C:9},l.prototype=K.prototype={CLog:F,_streamStore:function(){return this.set.sourceStream?this:l},_streamGet:function(){return this._streamStore().Stream},_streamCtx:function(){var R=this._streamGet();return R&&R._c},open:function(R,D){var I=this,M=I.set,V=I._streamStore(),q=0;R=R||o;var X=function(ve,Te){Te=!!Te,I.CLog(U("5tWi::录音open失败:")+ve+",isUserNotAllow:"+Te,1),q&&l.CloseNewCtx(q),D&&D(ve,Te)};I._streamTag=d;var Q=function(){I.CLog("open ok, id:"+I.id+" stream:"+I._streamTag),R(),I._SO=0},J=V.Sync,ce=++J.O,se=J.C;I._O=I._O_=ce,I._SO=I._S;var de=function(){if(se!=J.C||!I._O){var ve=U("dFm8::open被取消");return ce==J.O?I.close():ve=U("VtJO::open被中断"),X(ve),!0}};if(!n){X(U.G("NonBrowser-1",["open"])+U("EMJq::,可尝试使用RecordApp解决方案")+"("+u+"/tree/master/app-support-sample)");return}var re=I.envCheck({envName:"H5",canProcess:!0});if(re){X(U("A5bm::不能录音:")+re);return}var te,ae=function(){te=M.runningContext,te||(te=q=l.GetContext(!0))};if(M.sourceStream){if(I._streamTag="set.sourceStream",!l.GetContext()){X(U("1iU7::不支持此浏览器从流中获取录音"));return}ae(),T(V);var $e=I.Stream=M.sourceStream;$e._c=te,$e._RC=M.runningContext,$e._call={};try{v(V)}catch(ve){T(V),X(U("BTW2::从流中打开录音失败:")+ve.message);return}Q();return}var xe=function(ve,Te){try{window.top.a}catch{X(U("Nclz::无权录音(跨域,请尝试给iframe添加麦克风访问策略,如{1})",0,'allow="camera;microphone"'));return}Oe(1,ve)&&(/Found/i.test(ve)?X(Te+U("jBa9::,无可用麦克风")):X(Te))},Oe=function(ve,Te){if(/Permission|Allow/i.test(Te))ve&&X(U("gyO5::用户拒绝了录音权限"),!0);else if(window.isSecureContext===!1)ve&&X(U("oWNo::浏览器禁止不安全页面录音,可开启https解决"));else return 1};if(l.IsOpen()){Q();return}if(!l.Support()){xe("",U("COxc::此浏览器不支持录音"));return}ae();var Se=function(ve){setTimeout(function(){ve._call={};var Te=l.Stream;Te&&(T(),ve._call=Te._call),l.Stream=ve,ve._c=te,ve._RC=M.runningContext,!de()&&(l.IsOpen()?(Te&&I.CLog(U("upb8::发现同时多次调用open"),1),v(V),Q()):X(U("Q1GA::录音功能无效:无音频流")))},100)},ie=function(ve){var Te=ve.name||ve.message||ve.code+":"+ve,Ae="";Z==1&&Oe(0,Te)&&(Ae=U("KxE2::,将尝试禁用回声消除后重试")),I.CLog(U("xEQR::请求录音权限错误")+Ae+"|"+ve,Ae?3:1,ve),Ae?fe(1):xe(Te,U("bDOG::无法录音:")+ve)},Z=0,fe=function(ve){Z++;var Te="audioTrackSet",Ae="autoGainControl",pe="echoCancellation",ue="noiseSuppression",me=Te+":{"+pe+","+ue+","+Ae+"}",ke=JSON.parse(a(M[Te]||!0));I.CLog("open... "+Z+" "+Te+":"+a(ke)),ve&&(typeof ke!="object"&&(ke={}),ke[Ae]=!1,ke[pe]=!1,ke[ue]=!1),ke[p]&&I.CLog(U("IjL3::注意:已配置{1}参数,可能会出现浏览器不能正确选用麦克风、移动端无法启用回声消除等现象",0,Te+"."+p),3);var ze={audio:ke,video:M.videoTrackSet||!1};try{var Ie=l.Scope[d](ze,Se,ie)}catch(Pe){I.CLog(d,3,Pe),ze={audio:!0,video:!1},Ie=l.Scope[d](ze,Se,ie)}I.CLog(d+"("+a(ze)+") "+S(te)+U("RiWe::,未配置 {1} 时浏览器可能会自动启用回声消除,移动端未禁用回声消除时可能会降低系统播放音量(关闭录音后可恢复)和仅提供16k采样率的音频流(不需要回声消除时可明确配置成禁用来获得48k高音质的流),请参阅文档中{2}配置",0,me,Te)+"("+u+") LM:"+s+" UA:"+navigator.userAgent),Ie&&Ie.then&&Ie.then(Se)[g](ie)};fe()},close:function(R){R=R||o;var D=this,I=D._streamStore();D._stop();var M=" stream:"+D._streamTag,V=I.Sync;if(D._O=0,D._O_!=V.O){D.CLog(U("hWVz::close被忽略(因为同时open了多个rec,只有最后一个会真正close)")+M,3),R();return}V.C++,T(I),D.CLog("close,"+M),R()},mock:function(R,D){var I=this;return I._stop(),I.isMock=1,I.mockEnvInfo=null,I.buffers=[R],I.recSize=R.length,I._setSrcSR(D),I._streamTag="mock",I},_setSrcSR:function(R){var D=this,I=D.set,M=I[p];M>R?I[p]=R:M=0,D[f]=R,D.CLog(f+": "+R+" set."+p+": "+I[p]+(M?" "+U("UHvm::忽略")+": "+M:""),M?3:0)},envCheck:function(R){var D,I=this,M=I.set,V="CPU_BE";if(!D&&!l[V]&&typeof Int8Array=="function"&&!new Int8Array(new Int32Array([1]).buffer)[0]&&(oe(V),D=U("Essp::不支持{1}架构",0,V)),!D){var q=M.type,X=I[q+"_envCheck"];M.takeoffEncodeChunk&&(X?R.canProcess||(D=U("7uMV::{1}环境不支持实时处理",0,R.envName)):D=U("2XBl::{1}类型不支持设置takeoffEncodeChunk",0,q)+(I[q]?"":U("LG7e::(未加载编码器)"))),!D&&X&&(D=I[q+"_envCheck"](R,M))}return D||""},envStart:function(R,D){var I=this,M=I.set;if(I.isMock=R?1:0,I.mockEnvInfo=R,I.buffers=[],I.recSize=0,R&&(I._streamTag="env$"+R.envName),I.state=1,I.envInLast=0,I.envInFirst=0,I.envInFix=0,I.envInFixTs=[],I._setSrcSR(D),I.engineCtx=0,I[M.type+"_start"]){var V=I.engineCtx=I[M.type+"_start"](M);V&&(V.pcmDatas=[],V.pcmSize=0)}},envResume:function(){this.envInFixTs=[]},envIn:function(R,D){var I=this,M=I.set,V=I.engineCtx;if(I.state!=1){I.state||I.CLog("envIn at state=0",3);return}var q=I[f],X=R.length,Q=l.PowerLevel(D,X),J=I.buffers,ce=J.length;J.push(R);var se=J,de=ce,re=Date.now(),te=Math.round(X/q*1e3);I.envInLast=re,I.buffers.length==1&&(I.envInFirst=re-te);var ae=I.envInFixTs;ae.splice(0,0,{t:re,d:te});for(var $e=re,xe=0,Oe=0;Oe<ae.length;Oe++){var Se=ae[Oe];if(re-Se.t>3e3){ae.length=Oe;break}$e=Se.t,xe+=Se.d}var ie=ae[1],Z=re-$e,fe=Z-xe;if(fe>Z/3&&(ie&&Z>1e3||ae.length>=6)){var ve=re-ie.t-te;if(ve>te/5){var Te=!M.disableEnvInFix;if(I.CLog("["+re+"]"+Y.get(U(Te?"4Kfd::补偿{1}ms":"bM5i::未补偿{1}ms",1),[ve]),3),I.envInFix+=ve,Te){var Ae=new Int16Array(ve*q/1e3);X+=Ae.length,J.push(Ae)}}}var pe=I.recSize,ue=X,me=pe+ue;if(I.recSize=me,V){var ke=l.SampleData(J,q,M[p],V.chunkInfo);V.chunkInfo=ke,pe=V.pcmSize,ue=ke.data.length,me=pe+ue,V.pcmSize=me,J=V.pcmDatas,ce=J.length,J.push(ke.data),q=ke[p]}var ze=Math.round(me/q*1e3),Ie=J.length,Pe=se.length,De=function(){for(var je=we?0:-ue,He=J[0]==null,Re=ce;Re<Ie;Re++){var Be=J[Re];Be==null?He=1:(je+=Be.length,V&&Be.length&&I[M.type+"_encode"](V,Be))}if(He&&V){var Re=de;for(se[0]&&(Re=0);Re<Pe;Re++)se[Re]=null}He&&(je=we?ue:0,J[0]=null),V?V.pcmSize+=je:I.recSize+=je},we=0,ye="rec.set.onProcess";try{we=M.onProcess(J,Q,ze,q,ce,De)}catch(je){console.error(ye+U("gFUF::回调出错是不允许的,需保证不会抛异常"),je)}var be=Date.now()-re;if(be>10&&I.envInFirst-re>1e3&&I.CLog(ye+U("2ghS::低性能,耗时{1}ms",0,be),3),we===!0){for(var Ce=0,Oe=ce;Oe<Ie;Oe++)J[Oe]==null?Ce=1:J[Oe]=new Int16Array(0);Ce?I.CLog(U("ufqH::未进入异步前不能清除buffers"),3):V?V.pcmSize-=ue:I.recSize-=ue}else De()},start:function(){var R=this,D=1;if(R.set.sourceStream?R.Stream||(D=0):l.IsOpen()||(D=0),!D){R.CLog(U("6WmN::start失败:未open"),1);return}var I=R._streamCtx();if(R.CLog(U("kLDN::start 开始录音,")+S(I)+" stream:"+R._streamTag),R._stop(),R.envStart(null,I[p]),R.state=3,R._SO&&R._SO+1!=R._S){R.CLog(U("Bp2y::start被中断"),3);return}R._SO=0;var M=function(){R.state==3&&(R.state=1,R.resume())},V="AudioContext resume: ",q=R._streamGet();q._call[R.id]=function(){R.CLog(V+I.state+"|stream ok"),M()},x(I,function(X){return X&&R.CLog(V+"wait..."),R.state==3},function(X){X&&R.CLog(V+I.state),M()},function(X){R.CLog(V+I.state+U("upkE::,可能无法录音:")+X,1),M()})},pause:function(){var R=this,D=R._streamGet();R.state&&(R.state=2,R.CLog("pause"),D&&delete D._call[R.id])},resume:function(){var R=this,D=R._streamGet(),I="resume",M=I+"(wait ctx)";if(R.state==3)R.CLog(M);else if(R.state){R.state=1,R.CLog(I),R.envResume(),D&&(D._call[R.id]=function(q,X){R.state==1&&R.envIn(q,X)},k(D));var V=R._streamCtx();V&&x(V,function(q){return q&&R.CLog(M+"..."),R.state==1},function(q){q&&R.CLog(M+V.state),k(D)},function(q){R.CLog(M+V.state+"[err]"+q,1)})}},_stop:function(R){var D=this,I=D.set;D.isMock||D._S++,D.state&&(D.pause(),D.state=0),!R&&D[I.type+"_stop"]&&(D[I.type+"_stop"](D.engineCtx),D.engineCtx=0)},stop:function(R,D,I){var M=this,V=M.set,q,X=M.envInLast-M.envInFirst,Q=X&&M.buffers.length;M.CLog(U("Xq4s::stop 和start时差:")+(X?X+"ms "+U("3CQP::补偿:")+M.envInFix+"ms envIn:"+Q+" fps:"+(Q/X*1e3).toFixed(1):"-")+" stream:"+M._streamTag+" ("+u+") LM:"+s);var J=function(){M._stop(),I&&M.close()},ce=function(Se){M.CLog(U("u8JG::结束录音失败:")+Se,1),D&&D(Se),J()},se=function(Se,ie,Z){var fe="blob",ve="arraybuffer",Te="dataType",Ae="DefaultDataType",pe=M[Te]||l[Ae]||fe,ue=Te+"="+pe,me=Se instanceof ArrayBuffer,ke=0,ze=me?Se.byteLength:Se.size;if(pe==ve?me||(ke=1):pe==fe?typeof Blob!="function"?ke=U.G("NonBrowser-1",[ue])+U("1skY::,请设置{1}",0,c+"."+Ae+'="'+ve+'"'):(me&&(Se=new Blob([Se],{type:ie})),Se instanceof Blob||(ke=1),ie=Se.type||ie):ke=U.G("NotSupport-1",[ue]),M.CLog(U("Wv7l::结束录音 编码花{1}ms 音频时长{2}ms 文件大小{3}b",0,Date.now()-q,Z,ze)+" "+ue+","+ie),ke){ce(ke!=1?ke:U("Vkbd::{1}编码器返回的不是{2}",0,V.type,pe)+", "+ue);return}if(V.takeoffEncodeChunk)M.CLog(U("QWnr::启用takeoffEncodeChunk后stop返回的blob长度为0不提供音频数据"),3);else if(ze<Math.max(50,Z/5)){ce(U("Sz2H::生成的{1}无效",0,V.type));return}R&&R(Se,Z,ie),J()};if(!M.isMock){var de=M.state==3;if(!M.state||de){ce(U("wf9t::未开始录音")+(de?U("Dl2c::,开始录音前无用户交互导致AudioContext未运行"):""));return}}M._stop(!0);var re=M.recSize;if(!re){ce(U("Ltz3::未采集到录音"));return}if(!M[V.type]){ce(U("xGuI::未加载{1}编码器,请尝试到{2}的src/engine内找到{1}的编码器并加载",0,V.type,c));return}if(M.isMock){var te=M.envCheck(M.mockEnvInfo||{envName:"mock",canProcess:!1});if(te){ce(U("AxOH::录音错误:")+te);return}}var ae=M.engineCtx;if(M[V.type+"_complete"]&&ae){var Oe=Math.round(ae.pcmSize/V[p]*1e3);q=Date.now(),M[V.type+"_complete"](ae,function(ie,Z){se(ie,Z,Oe)},ce);return}if(q=Date.now(),!M.buffers[0]){ce(U("xkKd::音频buffers被释放"));return}var $e=l.SampleData(M.buffers,M[f],V[p]);V[p]=$e[p];var xe=$e.data,Oe=Math.round(xe.length/V[p]*1e3);M.CLog(U("CxeT::采样:{1} 花:{2}ms",0,re+"->"+xe.length,Date.now()-q)),setTimeout(function(){q=Date.now(),M[V.type](xe,function(Se,ie){se(Se,ie,Oe)},function(Se){ce(Se)})})}};var H=function(R,D){D.pos||(D.pos=[0],D.tracks={},D.bytes=[]);var I=D.tracks,M=[D.pos[0]],V=function(){D.pos[0]=M[0]},q=D.bytes.length,X=new Uint8Array(q+R.length);if(X.set(D.bytes),X.set(R,q),D.bytes=X,!D._ht){if(G(X,M),W(X,M),!j(G(X,M),[24,83,128,103]))return;for(G(X,M);M[0]<X.length;){var Q=G(X,M),J=W(X,M),ce=[0],se=0;if(!J)return;if(j(Q,[22,84,174,107])){for(;ce[0]<J.length;){var de=G(J,ce),re=W(J,ce),te=[0],ae={channels:0,sampleRate:0};if(j(de,[174]))for(;te[0]<re.length;){var $e=G(re,te),xe=W(re,te),Oe=[0];if(j($e,[215])){var Se=L(xe);ae.number=Se,I[Se]=ae}else if(j($e,[131])){var Se=L(xe);Se==1?ae.type="video":Se==2?(ae.type="audio",se||(D.track0=ae),ae.idx=se++):ae.type="Type-"+Se}else if(j($e,[134])){for(var ie="",Z=0;Z<xe.length;Z++)ie+=String.fromCharCode(xe[Z]);ae.codec=ie}else if(j($e,[225]))for(;Oe[0]<xe.length;){var fe=G(xe,Oe),ve=W(xe,Oe);if(j(fe,[181])){var Se=0,Te=new Uint8Array(ve.reverse()).buffer;ve.length==4?Se=new Float32Array(Te)[0]:ve.length==8?Se=new Float64Array(Te)[0]:F("WebM Track !Float",1,ve),ae[p]=Math.round(Se)}else j(fe,[98,100])?ae.bitDepth=L(ve):j(fe,[159])&&(ae.channels=L(ve))}}}D._ht=1,F("WebM Tracks",I),V();break}}}var Ae=D.track0;if(Ae){var pe=Ae[p];if(D.webmSR=pe,Ae.bitDepth==16&&/FLOAT/i.test(Ae.codec)&&(Ae.bitDepth=32,F("WebM 16->32 bit",3)),pe<8e3||Ae.bitDepth!=32||Ae.channels<1||!/(\b|_)PCM\b/i.test(Ae.codec))return D.bytes=[],D.bad||F("WebM Track Unexpected",3,D),D.bad=1,-1;for(var ue=[],me=0;M[0]<X.length;){var de=G(X,M),re=W(X,M);if(!re)break;if(j(de,[163])){var ke=re[0]&15,ae=I[ke];if(!ae)F("WebM !Track"+ke,1,I);else if(ae.idx===0){for(var ze=new Uint8Array(re.length-4),Z=4;Z<re.length;Z++)ze[Z-4]=re[Z];ue.push(ze),me+=ze.length}}V()}if(me){var Ie=new Uint8Array(X.length-D.pos[0]);Ie.set(X.subarray(D.pos[0])),D.bytes=Ie,D.pos[0]=0;for(var ze=new Uint8Array(me),Z=0,Pe=0;Z<ue.length;Z++)ze.set(ue[Z],Pe),Pe+=ue[Z].length;var Te=new Float32Array(ze.buffer);if(Ae.channels>1){for(var De=[],Z=0;Z<Te.length;)De.push(Te[Z]),Z+=Ae.channels;Te=new Float32Array(De)}return Te}}},j=function(R,D){if(!R||R.length!=D.length)return!1;if(R.length==1)return R[0]==D[0];for(var I=0;I<R.length;I++)if(R[I]!=D[I])return!1;return!0},L=function(R){for(var D="",I=0;I<R.length;I++){var M=R[I];D+=(M<16?"0":"")+M.toString(16)}return parseInt(D,16)||0},G=function(R,D,I){var M=D[0];if(!(M>=R.length)){var V=R[M],q=("0000000"+V.toString(2)).substr(-8),X=/^(0*1)(\d*)$/.exec(q);if(X){var Q=X[1].length,J=[];if(!(M+Q>R.length)){for(var ce=0;ce<Q;ce++)J[ce]=R[M],M++;return I&&(J[0]=parseInt(X[2]||"0",2)),D[0]=M,J}}}},W=function(R,D){var I=G(R,D,1);if(I){var M=L(I),V=D[0],q=[];if(M<2147483647){if(V+M>R.length)return;for(var X=0;X<M;X++)q[X]=R[V],V++}return D[0]=V,q}},Y=l.i18n={lang:"zh-CN",alias:{"zh-CN":"zh","en-US":"en"},locales:{},data:{},put:function(R,D){var I=c+".i18n.put: ",M=R.overwrite;M=M==null||M;var V=R.lang;if(V=Y.alias[V]||V,!V)throw new Error(I+"set.lang?");var q=Y.locales[V];q||(q={},Y.locales[V]=q);for(var X=/^([\w\-]+):/,Q,J=0;J<D.length;J++){var se=D[J];if(Q=X.exec(se),!Q){F(I+"'key:'? "+se,3,R);continue}var ce=Q[1],se=se.substr(ce.length+1);!M&&q[ce]||(q[ce]=se)}},get:function(){return Y.v_G.apply(null,arguments)},v_G:function(R,D,I){D=D||[],I=I||Y.lang,I=Y.alias[I]||I;var M=Y.locales[I],V=M&&M[R]||"";return!V&&I!="zh"?I=="en"?Y.v_G(R,D,"zh"):Y.v_G(R,D,"en"):(Y.lastLang=I,V=="=Empty"?"":V.replace(/\{(\d+)(\!?)\}/g,function(q,X,Q){return X=+X||0,q=D[X-1],(X<1||X>D.length)&&(q="{?}",F("i18n["+R+"] no {"+X+"}: "+V,3)),Q?"":q}))},$T:function(){return Y.v_T.apply(null,arguments)},v_T:function(){for(var R=arguments,D="",I=[],M=0,V=c+".i18n.$T:",q=/^([\w\-]*):/,X,Q=0;Q<R.length;Q++){var J=R[Q];if(Q==0){if(X=q.exec(J),D=X&&X[1],!D)throw new Error(V+"0 'key:'?");J=J.substr(D.length+1)}if(M===-1)I.push(J);else{if(M)throw new Error(V+" bad args");if(J===0)M=-1;else if(r(J)){if(J<1)throw new Error(V+" bad args");M=J}else{var ce=Q==1?"en":Q?"":"zh";if(X=q.exec(J),X&&(ce=X[1]||ce,J=J.substr(X[1].length+1)),!X||!ce)throw new Error(V+Q+" 'lang:'?");Y.put({lang:ce,overwrite:!1},[D+":"+J])}}}return D?M>0?D:Y.v_G(D,I):""}},U=Y.$T;U.G=Y.get,U("NonBrowser-1::非浏览器环境,不支持{1}",1),U("IllegalArgs-1::参数错误:{1}",1),U("NeedImport-2::调用{1}需要先导入{2}",2),U("NotSupport-1::不支持:{1}",1),l.TrafficImgUrl="//ia.51.la/go1?id=20469973&pvFlag=1";var oe=l.Traffic=function(R){if(n){R=R?"/"+c+"/Report/"+R:"";var D=l.TrafficImgUrl;if(D){var I=l.Traffic,M=/^(https?:..[^\/#]*\/?)[^#]*/i.exec(location.href)||[],V=M[1]||"http://file/",q=(M[0]||V)+R;if(D.indexOf("//")==0&&(/^https:/i.test(q)?D="https:"+D:D="http:"+D),R&&(D=D+"&cu="+encodeURIComponent(V+R)),!I[q]){I[q]=1;var X=new Image;X.src=D,F("Traffic Analysis Image: "+(R||c+".TrafficImgUrl="+l.TrafficImgUrl))}}}};m&&(F(U("8HO5::覆盖导入{1}",0,c),1),m.Destroy()),t[c]=l})})(Ov);var HP=Ov.exports;const _f=LP(HP);function Ev(e,t){return function(){return e.apply(t,arguments)}}const{toString:qP}=Object.prototype,{getPrototypeOf:Df}=Object,nu=(e=>t=>{const n=qP.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Bn=e=>(e=e.toLowerCase(),t=>nu(t)===e),ou=e=>t=>typeof t===e,{isArray:Vi}=Array,al=ou("undefined");function KP(e){return e!==null&&!al(e)&&e.constructor!==null&&!al(e.constructor)&&hn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const kv=Bn("ArrayBuffer");function WP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&kv(e.buffer),t}const UP=ou("string"),hn=ou("function"),zv=ou("number"),ru=e=>e!==null&&typeof e=="object",XP=e=>e===!0||e===!1,iu=e=>{if(nu(e)!=="object")return!1;const t=Df(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},GP=Bn("Date"),YP=Bn("File"),ZP=Bn("Blob"),QP=Bn("FileList"),JP=e=>ru(e)&&hn(e.pipe),eN=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||hn(e.append)&&((t=nu(e))==="formdata"||t==="object"&&hn(e.toString)&&e.toString()==="[object FormData]"))},tN=Bn("URLSearchParams"),[nN,oN,rN,iN]=["ReadableStream","Request","Response","Headers"].map(Bn),aN=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ll(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Vi(e))for(o=0,r=e.length;o<r;o++)t.call(null,e[o],o,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),l=a.length;let s;for(o=0;o<l;o++)s=a[o],t.call(null,e[s],s,e)}}function Pv(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,r;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const Mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Nv=e=>!al(e)&&e!==Mr;function Rf(){const{caseless:e}=Nv(this)&&this||{},t={},n=(o,r)=>{const a=e&&Pv(t,r)||r;iu(t[a])&&iu(o)?t[a]=Rf(t[a],o):iu(o)?t[a]=Rf({},o):Vi(o)?t[a]=o.slice():t[a]=o};for(let o=0,r=arguments.length;o<r;o++)arguments[o]&&ll(arguments[o],n);return t}const lN=(e,t,n,{allOwnKeys:o}={})=>(ll(t,(r,a)=>{n&&hn(r)?e[a]=Ev(r,n):e[a]=r},{allOwnKeys:o}),e),sN=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),uN=(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)},cN=(e,t,n,o)=>{let r,a,l;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),a=r.length;a-- >0;)l=r[a],(!o||o(l,e,t))&&!s[l]&&(t[l]=e[l],s[l]=!0);e=n!==!1&&Df(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},dN=(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},fN=e=>{if(!e)return null;if(Vi(e))return e;let t=e.length;if(!zv(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},pN=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Df(Uint8Array)),hN=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const a=r.value;t.call(e,a[0],a[1])}},gN=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},mN=Bn("HTMLFormElement"),bN=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),Tv=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),yN=Bn("RegExp"),Iv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};ll(n,(r,a)=>{let l;(l=t(r,a,e))!==!1&&(o[a]=l||r)}),Object.defineProperties(e,o)},vN=e=>{Iv(e,(t,n)=>{if(hn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(hn(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+"'")})}})},xN=(e,t)=>{const n={},o=r=>{r.forEach(a=>{n[a]=!0})};return Vi(e)?o(e):o(String(e).split(t)),n},wN=()=>{},CN=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Mf="abcdefghijklmnopqrstuvwxyz",jv="0123456789",Av={DIGIT:jv,ALPHA:Mf,ALPHA_DIGIT:Mf+Mf.toUpperCase()+jv},SN=(e=16,t=Av.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function $N(e){return!!(e&&hn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ON=e=>{const t=new Array(10),n=(o,r)=>{if(ru(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const a=Vi(o)?[]:{};return ll(o,(l,s)=>{const u=n(l,r+1);!al(u)&&(a[s]=u)}),t[r]=void 0,a}}return o};return n(e,0)},EN=Bn("AsyncFunction"),kN=e=>e&&(ru(e)||hn(e))&&hn(e.then)&&hn(e.catch),_v=((e,t)=>e?setImmediate:t?((n,o)=>(Mr.addEventListener("message",({source:r,data:a})=>{r===Mr&&a===n&&o.length&&o.shift()()},!1),r=>{o.push(r),Mr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",hn(Mr.postMessage)),zN=typeof queueMicrotask<"u"?queueMicrotask.bind(Mr):typeof process<"u"&&process.nextTick||_v,ge={isArray:Vi,isArrayBuffer:kv,isBuffer:KP,isFormData:eN,isArrayBufferView:WP,isString:UP,isNumber:zv,isBoolean:XP,isObject:ru,isPlainObject:iu,isReadableStream:nN,isRequest:oN,isResponse:rN,isHeaders:iN,isUndefined:al,isDate:GP,isFile:YP,isBlob:ZP,isRegExp:yN,isFunction:hn,isStream:JP,isURLSearchParams:tN,isTypedArray:pN,isFileList:QP,forEach:ll,merge:Rf,extend:lN,trim:aN,stripBOM:sN,inherits:uN,toFlatObject:cN,kindOf:nu,kindOfTest:Bn,endsWith:dN,toArray:fN,forEachEntry:hN,matchAll:gN,isHTMLForm:mN,hasOwnProperty:Tv,hasOwnProp:Tv,reduceDescriptors:Iv,freezeMethods:vN,toObjectSet:xN,toCamelCase:bN,noop:wN,toFiniteNumber:CN,findKey:Pv,global:Mr,isContextDefined:Nv,ALPHABET:Av,generateString:SN,isSpecCompliantForm:$N,toJSONObject:ON,isAsyncFn:EN,isThenable:kN,setImmediate:_v,asap:zN};function Ue(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,this.status=r.status?r.status:null)}ge.inherits(Ue,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:ge.toJSONObject(this.config),code:this.code,status:this.status}}});const Dv=Ue.prototype,Rv={};["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=>{Rv[e]={value:e}}),Object.defineProperties(Ue,Rv),Object.defineProperty(Dv,"isAxiosError",{value:!0}),Ue.from=(e,t,n,o,r,a)=>{const l=Object.create(Dv);return ge.toFlatObject(e,l,function(u){return u!==Error.prototype},s=>s!=="isAxiosError"),Ue.call(l,e.message,t,n,o,r),l.cause=e,l.name=e.name,a&&Object.assign(l,a),l};const PN=null;function Bf(e){return ge.isPlainObject(e)||ge.isArray(e)}function Mv(e){return ge.endsWith(e,"[]")?e.slice(0,-2):e}function Bv(e,t,n){return e?e.concat(t).map(function(r,a){return r=Mv(r),!n&&a?"["+r+"]":r}).join(n?".":""):t}function NN(e){return ge.isArray(e)&&!e.some(Bf)}const TN=ge.toFlatObject(ge,{},null,function(t){return/^is[A-Z]/.test(t)});function au(e,t,n){if(!ge.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=ge.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!ge.isUndefined(b[m])});const o=n.metaTokens,r=n.visitor||d,a=n.dots,l=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&ge.isSpecCompliantForm(t);if(!ge.isFunction(r))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(ge.isDate(g))return g.toISOString();if(!u&&ge.isBlob(g))throw new Ue("Blob is not supported. Use a Buffer instead.");return ge.isArrayBuffer(g)||ge.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,m,b){let y=g;if(g&&!b&&typeof g=="object"){if(ge.endsWith(m,"{}"))m=o?m:m.slice(0,-2),g=JSON.stringify(g);else if(ge.isArray(g)&&NN(g)||(ge.isFileList(g)||ge.endsWith(m,"[]"))&&(y=ge.toArray(g)))return m=Mv(m),y.forEach(function(w,S){!(ge.isUndefined(w)||w===null)&&t.append(l===!0?Bv([m],S,a):l===null?m:m+"[]",c(w))}),!1}return Bf(g)?!0:(t.append(Bv(b,m,a),c(g)),!1)}const f=[],p=Object.assign(TN,{defaultVisitor:d,convertValue:c,isVisitable:Bf});function h(g,m){if(!ge.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(g),ge.forEach(g,function(y,x){(!(ge.isUndefined(y)||y===null)&&r.call(t,y,ge.isString(x)?x.trim():x,m,p))===!0&&h(y,m?m.concat(x):[x])}),f.pop()}}if(!ge.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Vv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Vf(e,t){this._pairs=[],e&&au(e,this,t)}const Fv=Vf.prototype;Fv.append=function(t,n){this._pairs.push([t,n])},Fv.toString=function(t){const n=t?function(o){return t.call(this,o,Vv)}:Vv;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function IN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Lv(e,t,n){if(!t)return e;const o=n&&n.encode||IN,r=n&&n.serialize;let a;if(r?a=r(t,n):a=ge.isURLSearchParams(t)?t.toString():new Vf(t,n).toString(o),a){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Hv{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){ge.forEach(this.handlers,function(o){o!==null&&t(o)})}}const qv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},jN={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Vf,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ff=typeof window<"u"&&typeof document<"u",Lf=typeof navigator=="object"&&navigator||void 0,AN=Ff&&(!Lf||["ReactNative","NativeScript","NS"].indexOf(Lf.product)<0),_N=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",DN=Ff&&window.location.href||"http://localhost",sn={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ff,hasStandardBrowserEnv:AN,hasStandardBrowserWebWorkerEnv:_N,navigator:Lf,origin:DN},Symbol.toStringTag,{value:"Module"})),...jN};function RN(e,t){return au(e,new sn.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,a){return sn.isNode&&ge.isBuffer(n)?(this.append(o,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function MN(e){return ge.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function BN(e){const t={},n=Object.keys(e);let o;const r=n.length;let a;for(o=0;o<r;o++)a=n[o],t[a]=e[a];return t}function Kv(e){function t(n,o,r,a){let l=n[a++];if(l==="__proto__")return!0;const s=Number.isFinite(+l),u=a>=n.length;return l=!l&&ge.isArray(r)?r.length:l,u?(ge.hasOwnProp(r,l)?r[l]=[r[l],o]:r[l]=o,!s):((!r[l]||!ge.isObject(r[l]))&&(r[l]=[]),t(n,o,r[l],a)&&ge.isArray(r[l])&&(r[l]=BN(r[l])),!s)}if(ge.isFormData(e)&&ge.isFunction(e.entries)){const n={};return ge.forEachEntry(e,(o,r)=>{t(MN(o),r,n,0)}),n}return null}function VN(e,t,n){if(ge.isString(e))try{return(t||JSON.parse)(e),ge.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const Hf={transitional:qv,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,a=ge.isObject(t);if(a&&ge.isHTMLForm(t)&&(t=new FormData(t)),ge.isFormData(t))return r?JSON.stringify(Kv(t)):t;if(ge.isArrayBuffer(t)||ge.isBuffer(t)||ge.isStream(t)||ge.isFile(t)||ge.isBlob(t)||ge.isReadableStream(t))return t;if(ge.isArrayBufferView(t))return t.buffer;if(ge.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(o.indexOf("application/x-www-form-urlencoded")>-1)return RN(t,this.formSerializer).toString();if((s=ge.isFileList(t))||o.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return au(s?{"files[]":t}:t,u&&new u,this.formSerializer)}}return a||r?(n.setContentType("application/json",!1),VN(t)):t}],transformResponse:[function(t){const n=this.transitional||Hf.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(ge.isResponse(t)||ge.isReadableStream(t))return t;if(t&&ge.isString(t)&&(o&&!this.responseType||r)){const l=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(l)throw s.name==="SyntaxError"?Ue.from(s,Ue.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sn.classes.FormData,Blob:sn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ge.forEach(["delete","get","head","post","put","patch"],e=>{Hf.headers[e]={}});const qf=Hf,FN=ge.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"]),LN=e=>{const t={};let n,o,r;return e&&e.split(`
3
3
  `).forEach(function(l){r=l.indexOf(":"),n=l.substring(0,r).trim().toLowerCase(),o=l.substring(r+1).trim(),!(!n||t[n]&&FN[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Wv=Symbol("internals");function sl(e){return e&&String(e).trim().toLowerCase()}function lu(e){return e===!1||e==null?e:ge.isArray(e)?e.map(lu):String(e)}function HN(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 qN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Kf(e,t,n,o,r){if(ge.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!ge.isString(t)){if(ge.isString(o))return t.indexOf(o)!==-1;if(ge.isRegExp(o))return o.test(t)}}function KN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function WN(e,t){const n=ge.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,a,l){return this[o].call(this,t,r,a,l)},configurable:!0})})}class su{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function a(s,u,c){const d=sl(u);if(!d)throw new Error("header name must be a non-empty string");const f=ge.findKey(r,d);(!f||r[f]===void 0||c===!0||c===void 0&&r[f]!==!1)&&(r[f||u]=lu(s))}const l=(s,u)=>ge.forEach(s,(c,d)=>a(c,d,u));if(ge.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(ge.isString(t)&&(t=t.trim())&&!qN(t))l(LN(t),n);else if(ge.isHeaders(t))for(const[s,u]of t.entries())a(u,s,o);else t!=null&&a(n,t,o);return this}get(t,n){if(t=sl(t),t){const o=ge.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return HN(r);if(ge.isFunction(n))return n.call(this,r,o);if(ge.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=sl(t),t){const o=ge.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Kf(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function a(l){if(l=sl(l),l){const s=ge.findKey(o,l);s&&(!n||Kf(o,o[s],s,n))&&(delete o[s],r=!0)}}return ge.isArray(t)?t.forEach(a):a(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const a=n[o];(!t||Kf(this,this[a],a,t,!0))&&(delete this[a],r=!0)}return r}normalize(t){const n=this,o={};return ge.forEach(this,(r,a)=>{const l=ge.findKey(o,a);if(l){n[l]=lu(r),delete n[a];return}const s=t?KN(a):String(a).trim();s!==a&&delete n[a],n[s]=lu(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return ge.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&ge.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(`
4
4
  `)}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[Wv]=this[Wv]={accessors:{}}).accessors,r=this.prototype;function a(l){const s=sl(l);o[s]||(WN(r,l),o[s]=!0)}return ge.isArray(t)?t.forEach(a):a(t),this}}su.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ge.reduceDescriptors(su.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}}),ge.freezeMethods(su);const Vn=su;function Wf(e,t){const n=this||qf,o=t||n,r=Vn.from(o.headers);let a=o.data;return ge.forEach(e,function(s){a=s.call(n,a,r.normalize(),t?t.status:void 0)}),r.normalize(),a}function Uv(e){return!!(e&&e.__CANCEL__)}function Fi(e,t,n){Ue.call(this,e??"canceled",Ue.ERR_CANCELED,t,n),this.name="CanceledError"}ge.inherits(Fi,Ue,{__CANCEL__:!0});function Xv(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new Ue("Request failed with status code "+n.status,[Ue.ERR_BAD_REQUEST,Ue.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function UN(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function XN(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,a=0,l;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=o[a];l||(l=c),n[r]=u,o[r]=c;let f=a,p=0;for(;f!==r;)p+=n[f++],f=f%e;if(r=(r+1)%e,r===a&&(a=(a+1)%e),c-l<t)return;const h=d&&c-d;return h?Math.round(p*1e3/h):void 0}}function GN(e,t){let n=0,o=1e3/t,r,a;const l=(c,d=Date.now())=>{n=d,r=null,a&&(clearTimeout(a),a=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=o?l(c,d):(r=c,a||(a=setTimeout(()=>{a=null,l(r)},o-f)))},()=>r&&l(r)]}const uu=(e,t,n=3)=>{let o=0;const r=XN(50,250);return GN(a=>{const l=a.loaded,s=a.lengthComputable?a.total:void 0,u=l-o,c=r(u),d=l<=s;o=l;const f={loaded:l,total:s,progress:s?l/s:void 0,bytes:u,rate:c||void 0,estimated:c&&s&&d?(s-l)/c:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},Gv=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},Yv=e=>(...t)=>ge.asap(()=>e(...t)),YN=sn.hasStandardBrowserEnv?function(){const t=sn.navigator&&/(msie|trident)/i.test(sn.navigator.userAgent),n=document.createElement("a");let o;function r(a){let l=a;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{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(l){const s=ge.isString(l)?r(l):l;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}(),ZN=sn.hasStandardBrowserEnv?{write(e,t,n,o,r,a){const l=[e+"="+encodeURIComponent(t)];ge.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),ge.isString(o)&&l.push("path="+o),ge.isString(r)&&l.push("domain="+r),a===!0&&l.push("secure"),document.cookie=l.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 QN(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function JN(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Zv(e,t){return e&&!QN(t)?JN(e,t):t}const Qv=e=>e instanceof Vn?{...e}:e;function Br(e,t){t=t||{};const n={};function o(c,d,f){return ge.isPlainObject(c)&&ge.isPlainObject(d)?ge.merge.call({caseless:f},c,d):ge.isPlainObject(d)?ge.merge({},d):ge.isArray(d)?d.slice():d}function r(c,d,f){if(ge.isUndefined(d)){if(!ge.isUndefined(c))return o(void 0,c,f)}else return o(c,d,f)}function a(c,d){if(!ge.isUndefined(d))return o(void 0,d)}function l(c,d){if(ge.isUndefined(d)){if(!ge.isUndefined(c))return o(void 0,c)}else return o(void 0,d)}function s(c,d,f){if(f in t)return o(c,d);if(f in e)return o(void 0,c)}const u={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(c,d)=>r(Qv(c),Qv(d),!0)};return ge.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||r,p=f(e[d],t[d],d);ge.isUndefined(p)&&f!==s||(n[d]=p)}),n}const Jv=e=>{const t=Br({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:a,headers:l,auth:s}=t;t.headers=l=Vn.from(l),t.url=Lv(Zv(t.baseURL,t.url),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let u;if(ge.isFormData(n)){if(sn.hasStandardBrowserEnv||sn.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((u=l.getContentType())!==!1){const[c,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];l.setContentType([c||"multipart/form-data",...d].join("; "))}}if(sn.hasStandardBrowserEnv&&(o&&ge.isFunction(o)&&(o=o(t)),o||o!==!1&&YN(t.url))){const c=r&&a&&ZN.read(a);c&&l.set(r,c)}return t},eT=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,o){const r=Jv(e);let a=r.data;const l=Vn.from(r.headers).normalize();let{responseType:s,onUploadProgress:u,onDownloadProgress:c}=r,d,f,p,h,g;function m(){h&&h(),g&&g(),r.cancelToken&&r.cancelToken.unsubscribe(d),r.signal&&r.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,!0),b.timeout=r.timeout;function y(){if(!b)return;const w=Vn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),C={data:!s||s==="text"||s==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:w,config:e,request:b};Xv(function(v){n(v),m()},function(v){o(v),m()},C),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(o(new Ue("Request aborted",Ue.ECONNABORTED,e,b)),b=null)},b.onerror=function(){o(new Ue("Network Error",Ue.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let S=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const C=r.transitional||qv;r.timeoutErrorMessage&&(S=r.timeoutErrorMessage),o(new Ue(S,C.clarifyTimeoutError?Ue.ETIMEDOUT:Ue.ECONNABORTED,e,b)),b=null},a===void 0&&l.setContentType(null),"setRequestHeader"in b&&ge.forEach(l.toJSON(),function(S,C){b.setRequestHeader(C,S)}),ge.isUndefined(r.withCredentials)||(b.withCredentials=!!r.withCredentials),s&&s!=="json"&&(b.responseType=r.responseType),c&&([p,g]=uu(c,!0),b.addEventListener("progress",p)),u&&b.upload&&([f,h]=uu(u),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",h)),(r.cancelToken||r.signal)&&(d=w=>{b&&(o(!w||w.type?new Fi(null,e,b):w),b.abort(),b=null)},r.cancelToken&&r.cancelToken.subscribe(d),r.signal&&(r.signal.aborted?d():r.signal.addEventListener("abort",d)));const x=UN(r.url);if(x&&sn.protocols.indexOf(x)===-1){o(new Ue("Unsupported protocol "+x+":",Ue.ERR_BAD_REQUEST,e));return}b.send(a||null)})},tT=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,r;const a=function(c){if(!r){r=!0,s();const d=c instanceof Error?c:this.reason;o.abort(d instanceof Ue?d:new Fi(d instanceof Error?d.message:d))}};let l=t&&setTimeout(()=>{l=null,a(new Ue(`timeout ${t} of ms exceeded`,Ue.ETIMEDOUT))},t);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(a):c.removeEventListener("abort",a)}),e=null)};e.forEach(c=>c.addEventListener("abort",a));const{signal:u}=o;return u.unsubscribe=()=>ge.asap(s),u}},nT=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let o=0,r;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},oT=async function*(e,t){for await(const n of rT(e))yield*nT(n,t)},rT=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},e1=(e,t,n,o)=>{const r=oT(e,t);let a=0,l,s=u=>{l||(l=!0,o&&o(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await r.next();if(c){s(),u.close();return}let f=d.byteLength;if(n){let p=a+=f;n(p)}u.enqueue(new Uint8Array(d))}catch(c){throw s(c),c}},cancel(u){return s(u),r.return()}},{highWaterMark:2})},cu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",t1=cu&&typeof ReadableStream=="function",iT=cu&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),n1=(e,...t)=>{try{return!!e(...t)}catch{return!1}},aT=t1&&n1(()=>{let e=!1;const t=new Request(sn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),o1=64*1024,Uf=t1&&n1(()=>ge.isReadableStream(new Response("").body)),du={stream:Uf&&(e=>e.body)};cu&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!du[t]&&(du[t]=ge.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new Ue(`Response type '${t}' is not supported`,Ue.ERR_NOT_SUPPORT,o)})})})(new Response);const lT=async e=>{if(e==null)return 0;if(ge.isBlob(e))return e.size;if(ge.isSpecCompliantForm(e))return(await new Request(sn.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(ge.isArrayBufferView(e)||ge.isArrayBuffer(e))return e.byteLength;if(ge.isURLSearchParams(e)&&(e=e+""),ge.isString(e))return(await iT(e)).byteLength},sT=async(e,t)=>{const n=ge.toFiniteNumber(e.getContentLength());return n??lT(t)},Xf={http:PN,xhr:eT,fetch:cu&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:a,timeout:l,onDownloadProgress:s,onUploadProgress:u,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:p}=Jv(e);c=c?(c+"").toLowerCase():"text";let h=tT([r,a&&a.toAbortSignal()],l),g;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(u&&aT&&n!=="get"&&n!=="head"&&(b=await sT(d,o))!==0){let C=new Request(t,{method:"POST",body:o,duplex:"half"}),$;if(ge.isFormData(o)&&($=C.headers.get("content-type"))&&d.setContentType($),C.body){const[v,k]=Gv(b,uu(Yv(u)));o=e1(C.body,o1,v,k)}}ge.isString(f)||(f=f?"include":"omit");const y="credentials"in Request.prototype;g=new Request(t,{...p,signal:h,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:o,duplex:"half",credentials:y?f:void 0});let x=await fetch(g);const w=Uf&&(c==="stream"||c==="response");if(Uf&&(s||w&&m)){const C={};["status","statusText","headers"].forEach(O=>{C[O]=x[O]});const $=ge.toFiniteNumber(x.headers.get("content-length")),[v,k]=s&&Gv($,uu(Yv(s),!0))||[];x=new Response(e1(x.body,o1,v,()=>{k&&k(),m&&m()}),C)}c=c||"text";let S=await du[ge.findKey(du,c)||"text"](x,e);return!w&&m&&m(),await new Promise((C,$)=>{Xv(C,$,{data:S,headers:Vn.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:g})})}catch(y){throw m&&m(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new Ue("Network Error",Ue.ERR_NETWORK,e,g),{cause:y.cause||y}):Ue.from(y,y&&y.code,e,g)}})};ge.forEach(Xf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const r1=e=>`- ${e}`,uT=e=>ge.isFunction(e)||e===null||e===!1,i1={getAdapter:e=>{e=ge.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let a=0;a<t;a++){n=e[a];let l;if(o=n,!uT(n)&&(o=Xf[(l=String(n)).toLowerCase()],o===void 0))throw new Ue(`Unknown adapter '${l}'`);if(o)break;r[l||"#"+a]=o}if(!o){const a=Object.entries(r).map(([s,u])=>`adapter ${s} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=t?a.length>1?`since :
@@ -46,11 +46,11 @@
46
46
  `))),s}}:{type:n})}function yA(e){return vn("arrayOf",{type:Array,validator:function(t){var n,o=t.every(function(r){return(n=Zr(e,r,!0))===!0});return o||Wt(`arrayOf - value validation error:
47
47
  `+Bu(n)),o}})}function vA(e){return vn("instanceOf",{type:e})}function xA(e){return vn("objectOf",{type:Object,validator:function(t){var n,o=Object.keys(t).every(function(r){return(n=Zr(e,t[r],!0))===!0});return o||Wt(`objectOf - value validation error:
48
48
  `+Bu(n)),o}})}function wA(e){var t=Object.keys(e),n=t.filter(function(r){var a;return!!(!((a=e[r])===null||a===void 0)&&a.required)}),o=vn("shape",{type:Object,validator:function(r){var a=this;if(!Yr(r))return!1;var l=Object.keys(r);if(n.length>0&&n.some(function(u){return l.indexOf(u)===-1})){var s=n.filter(function(u){return l.indexOf(u)===-1});return Wt(s.length===1?'shape - required property "'+s[0]+'" is not defined.':'shape - required properties "'+s.join('", "')+'" are not defined.'),!1}return l.every(function(u){if(t.indexOf(u)===-1)return a._vueTypes_isLoose===!0||(Wt('shape - shape definition does not include a "'+u+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var c=Zr(e[u],r[u],!0);return typeof c=="string"&&Wt('shape - "'+u+`" property validation error:
49
- `+Bu(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 so=function(){function e(){}return e.extend=function(t){var n=this;if(Qi(t))return t.forEach(function(f){return n.extend(f)}),this;var o=t.name,r=t.validate,a=r!==void 0&&r,l=t.getter,s=l!==void 0&&l,u=Mx(t,["name","validate","getter"]);if(zl(this,o))throw new TypeError('[VueTypes error]: Type "'+o+'" already defined');var c,d=u.type;return Mu(d)?(delete u.type,Object.defineProperty(this,o,s?{get:function(){return Wx(o,d,u)}}:{value:function(){var f,p=Wx(o,d,u);return p.validator&&(p.validator=(f=p.validator).bind.apply(f,[p].concat([].slice.call(arguments)))),p}})):(c=s?{get:function(){var f=Object.assign({},u);return a?lo(o,f):vn(o,f)},enumerable:!0}:{value:function(){var f,p,h=Object.assign({},u);return f=a?lo(o,h):vn(o,h),h.validator&&(f.validator=(p=h.validator).bind.apply(p,[f].concat([].slice.call(arguments)))),f},enumerable:!0},Object.defineProperty(this,o,c))},Dx(e,null,[{key:"any",get:function(){return aA()}},{key:"func",get:function(){return lA().def(this.defaults.func)}},{key:"bool",get:function(){return sA().def(this.defaults.bool)}},{key:"string",get:function(){return uA().def(this.defaults.string)}},{key:"number",get:function(){return cA().def(this.defaults.number)}},{key:"array",get:function(){return dA().def(this.defaults.array)}},{key:"object",get:function(){return fA().def(this.defaults.object)}},{key:"integer",get:function(){return pA().def(this.defaults.integer)}},{key:"symbol",get:function(){return hA()}}]),e}();function Ux(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 Rx(o,n),Dx(o,null,[{key:"sensibleDefaults",get:function(){return Ru({},this.defaults)},set:function(r){this.defaults=r!==!1?Ru({},r!==!0?r:e):{}}}]),o}(so)).defaults=Ru({},e),t}so.defaults={},so.custom=gA,so.oneOf=mA,so.instanceOf=vA,so.oneOfType=bA,so.arrayOf=yA,so.objectOf=xA,so.shape=wA,so.utils={validate:function(e,t){return Zr(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?lo(e,t):vn(e,t)}},function(e){function t(){return e.apply(this,arguments)||this}return Rx(t,e),t}(Ux());const he=Ux({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});he.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 yt=(e,t,n)=>{pp(e,`[ant-design-vue: ${t}] ${n}`)};function CA(e,t){if(!t||!t.length)return null;let n=!1;function o(a,l){let[s,...u]=l;if(!s)return[a];const c=a.split(s);return n=n||c.length>1,c.reduce((d,f)=>[...d,...o(f,u)],[]).filter(d=>d)}const r=o(e,t);return n?r:null}function SA(){return""}function $A(e){return e?e.ownerDocument:window.document}function Xx(){}const OA=()=>({action:he.oneOfType([he.string,he.arrayOf(he.string)]).def([]),showAction:he.any.def([]),hideAction:he.any.def([]),getPopupClassNameFromAlign:he.any.def(SA),onPopupVisibleChange:Function,afterPopupVisibleChange:he.func.def(Xx),popup:he.any,arrow:he.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:he.string.def("rc-trigger-popup"),popupClassName:he.string.def(""),popupPlacement:String,builtinPlacements:he.object,popupTransitionName:String,popupAnimation:he.any,mouseEnterDelay:he.number.def(0),mouseLeaveDelay:he.number.def(.1),zIndex:Number,focusDelay:he.number.def(0),blurDelay:he.number.def(.15),getPopupContainer:Function,getDocument:he.func.def($A),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:he.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}),Mp={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}},EA=N(N({},Mp),{mobile:{type:Object}}),kA=N(N({},Mp),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function Bp(e){let{prefixCls:t,animation:n,transitionName:o}=e;return n?{name:`${t}-${n}`}:o?{name:o}:{}}function Gx(e){const{prefixCls:t,visible:n,zIndex:o,mask:r,maskAnimation:a,maskTransitionName:l}=e;if(!r)return null;let s={};return(l||a)&&(s=Bp({prefixCls:t,transitionName:l,animation:a})),i.createVNode(i.Transition,le({appear:!0},s),{default:()=>[i.withDirectives(i.createVNode("div",{style:{zIndex:o},class:`${t}-mask`},null),[[i.resolveDirective("if"),n]])]})}Gx.displayName="Mask";const zA=i.defineComponent({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:EA,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:o}=t;const r=i.ref();return n({forceAlign:()=>{},getElement:()=>r.value}),()=>{var a;const{zIndex:l,visible:s,prefixCls:u,mobile:{popupClassName:c,popupStyle:d,popupMotion:f={},popupRender:p}={}}=e,h=N({zIndex:l},d);let g=en((a=o.default)===null||a===void 0?void 0:a.call(o));g.length>1&&(g=i.createVNode("div",{class:`${u}-content`},[g])),p&&(g=p(g));const m=_e(u,c);return i.createVNode(i.Transition,le({ref:r},f),{default:()=>[s?i.createVNode("div",{class:m,style:h},[g]):null]})}}});var PA=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function s(d){try{c(o.next(d))}catch(f){l(f)}}function u(d){try{c(o.throw(d))}catch(f){l(f)}}function c(d){d.done?a(d.value):r(d.value).then(s,u)}c((o=o.apply(e,t||[])).next())})};const Yx=["measure","align",null,"motion"],NA=(e,t)=>{const n=i.shallowRef(null),o=i.shallowRef(),r=i.shallowRef(!1);function a(u){r.value||(n.value=u)}function l(){gt.cancel(o.value)}function s(u){l(),o.value=gt(()=>{let c=n.value;switch(n.value){case"align":c="motion";break;case"motion":c="stable";break}a(c),u==null||u()})}return i.watch(e,()=>{a("measure")},{immediate:!0,flush:"post"}),i.onMounted(()=>{i.watch(n,()=>{switch(n.value){case"measure":t();break}n.value&&(o.value=gt(()=>PA(void 0,void 0,void 0,function*(){const u=Yx.indexOf(n.value),c=Yx[u+1];c&&u!==-1&&a(c)})))},{immediate:!0,flush:"post"})}),i.onBeforeUnmount(()=>{r.value=!0,l()}),[n,s]},TA=e=>{const t=i.shallowRef({width:0,height:0});function n(o){t.value={width:o.offsetWidth,height:o.offsetHeight}}return[i.computed(()=>{const o={};if(e.value){const{width:r,height:a}=t.value;e.value.indexOf("height")!==-1&&a?o.height=`${a}px`:e.value.indexOf("minHeight")!==-1&&a&&(o.minHeight=`${a}px`),e.value.indexOf("width")!==-1&&r?o.width=`${r}px`:e.value.indexOf("minWidth")!==-1&&r&&(o.minWidth=`${r}px`)}return o}),n]};function Zx(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 Qx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zx(Object(n),!0).forEach(function(o){IA(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zx(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Vp(e){"@babel/helpers - typeof";return Vp=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},Vp(e)}function IA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pl,jA={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function Vu(){if(Pl!==void 0)return Pl;Pl="";var e=document.createElement("p").style,t="Transform";for(var n in jA)n+t in e&&(Pl=n);return Pl}function Jx(){return Vu()?"".concat(Vu(),"TransitionProperty"):"transitionProperty"}function Fu(){return Vu()?"".concat(Vu(),"Transform"):"transform"}function ew(e,t){var n=Jx();n&&(e.style[n]=t,n!=="transitionProperty"&&(e.style.transitionProperty=t))}function Fp(e,t){var n=Fu();n&&(e.style[n]=t,n!=="transform"&&(e.style.transform=t))}function AA(e){return e.style.transitionProperty||e.style[Jx()]}function _A(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(Fu());if(n&&n!=="none"){var o=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(o[12]||o[4],0),y:parseFloat(o[13]||o[5],0)}}return{x:0,y:0}}var DA=/matrix\((.*)\)/,RA=/matrix3d\((.*)\)/;function MA(e,t){var n=window.getComputedStyle(e,null),o=n.getPropertyValue("transform")||n.getPropertyValue(Fu());if(o&&o!=="none"){var r,a=o.match(DA);if(a)a=a[1],r=a.split(",").map(function(s){return parseFloat(s,10)}),r[4]=t.x,r[5]=t.y,Fp(e,"matrix(".concat(r.join(","),")"));else{var l=o.match(RA)[1];r=l.split(",").map(function(s){return parseFloat(s,10)}),r[12]=t.x,r[13]=t.y,Fp(e,"matrix3d(".concat(r.join(","),")"))}}else Fp(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}var BA=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,Nl;function tw(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function ea(e,t,n){var o=n;if(Vp(t)==="object"){for(var r in t)t.hasOwnProperty(r)&&ea(e,r,t[r]);return}if(typeof o<"u"){typeof o=="number"&&(o="".concat(o,"px")),e.style[t]=o;return}return Nl(e,t)}function VA(e){var t,n,o,r=e.ownerDocument,a=r.body,l=r&&r.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),o=Math.floor(t.top),n-=l.clientLeft||a.clientLeft||0,o-=l.clientTop||a.clientTop||0,{left:n,top:o}}function nw(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var r=e.document;n=r.documentElement[o],typeof n!="number"&&(n=r.body[o])}return n}function ow(e){return nw(e)}function rw(e){return nw(e,!0)}function Tl(e){var t=VA(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=ow(o),t.top+=rw(o),t}function Lp(e){return e!=null&&e==e.window}function iw(e){return Lp(e)?e.document:e.nodeType===9?e:e.ownerDocument}function FA(e,t,n){var o=n,r="",a=iw(e);return o=o||a.defaultView.getComputedStyle(e,null),o&&(r=o.getPropertyValue(t)||o[t]),r}var LA=new RegExp("^(".concat(BA,")(?!px)[a-z%]+$"),"i"),HA=/^(top|right|bottom|left)$/,Hp="currentStyle",qp="runtimeStyle",Qr="left",qA="px";function KA(e,t){var n=e[Hp]&&e[Hp][t];if(LA.test(n)&&!HA.test(t)){var o=e.style,r=o[Qr],a=e[qp][Qr];e[qp][Qr]=e[Hp][Qr],o[Qr]=t==="fontSize"?"1em":n||0,n=o.pixelLeft+qA,o[Qr]=r,e[qp][Qr]=a}return n===""?"auto":n}typeof window<"u"&&(Nl=window.getComputedStyle?FA:KA);function Lu(e,t){return e==="left"?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function aw(e){if(e==="left")return"right";if(e==="right")return"left";if(e==="top")return"bottom";if(e==="bottom")return"top"}function lw(e,t,n){ea(e,"position")==="static"&&(e.style.position="relative");var o=-999,r=-999,a=Lu("left",n),l=Lu("top",n),s=aw(a),u=aw(l);a!=="left"&&(o=999),l!=="top"&&(r=999);var c="",d=Tl(e);("left"in t||"top"in t)&&(c=AA(e)||"",ew(e,"none")),"left"in t&&(e.style[s]="",e.style[a]="".concat(o,"px")),"top"in t&&(e.style[u]="",e.style[l]="".concat(r,"px")),tw(e);var f=Tl(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var g=Lu(h,n),m=h==="left"?o:r,b=d[h]-f[h];g===h?p[g]=m+b:p[g]=m-b}ea(e,p),tw(e),("left"in t||"top"in t)&&ew(e,c);var y={};for(var x in t)if(t.hasOwnProperty(x)){var w=Lu(x,n),S=t[x]-d[x];x===w?y[w]=p[w]+S:y[w]=p[w]-S}ea(e,y)}function WA(e,t){var n=Tl(e),o=_A(e),r={x:o.x,y:o.y};"left"in t&&(r.x=o.x+t.left-n.left),"top"in t&&(r.y=o.y+t.top-n.top),MA(e,r)}function UA(e,t,n){if(n.ignoreShake){var o=Tl(e),r=o.left.toFixed(0),a=o.top.toFixed(0),l=t.left.toFixed(0),s=t.top.toFixed(0);if(r===l&&a===s)return}n.useCssRight||n.useCssBottom?lw(e,t,n):n.useCssTransform&&Fu()in document.body.style?WA(e,t):lw(e,t,n)}function Kp(e,t){for(var n=0;n<e.length;n++)t(e[n])}function sw(e){return Nl(e,"boxSizing")==="border-box"}var XA=["margin","border","padding"],Wp=-1,GA=2,Up=1,YA=0;function ZA(e,t,n){var o={},r=e.style,a;for(a in t)t.hasOwnProperty(a)&&(o[a]=r[a],r[a]=t[a]);n.call(e);for(a in t)t.hasOwnProperty(a)&&(r[a]=o[a])}function Il(e,t,n){var o=0,r,a,l;for(a=0;a<t.length;a++)if(r=t[a],r)for(l=0;l<n.length;l++){var s=void 0;r==="border"?s="".concat(r).concat(n[l],"Width"):s=r+n[l],o+=parseFloat(Nl(e,s))||0}return o}var uo={getParent:function(e){var t=e;do t.nodeType===11&&t.host?t=t.host:t=t.parentNode;while(t&&t.nodeType!==1&&t.nodeType!==9);return t}};Kp(["Width","Height"],function(e){uo["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],uo["viewport".concat(e)](n))},uo["viewport".concat(e)]=function(t){var n="client".concat(e),o=t.document,r=o.body,a=o.documentElement,l=a[n];return o.compatMode==="CSS1Compat"&&l||r&&r[n]||l}});function uw(e,t,n){var o=n;if(Lp(e))return t==="width"?uo.viewportWidth(e):uo.viewportHeight(e);if(e.nodeType===9)return t==="width"?uo.docWidth(e):uo.docHeight(e);var r=t==="width"?["Left","Right"]:["Top","Bottom"],a=Math.floor(t==="width"?e.getBoundingClientRect().width:e.getBoundingClientRect().height),l=sw(e),s=0;(a==null||a<=0)&&(a=void 0,s=Nl(e,t),(s==null||Number(s)<0)&&(s=e.style[t]||0),s=Math.floor(parseFloat(s))||0),o===void 0&&(o=l?Up:Wp);var u=a!==void 0||l,c=a||s;return o===Wp?u?c-Il(e,["border","padding"],r):s:u?o===Up?c:c+(o===GA?-Il(e,["border"],r):Il(e,["margin"],r)):s+Il(e,XA.slice(o),r)}var QA={position:"absolute",visibility:"hidden",display:"block"};function cw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t[0];return r.offsetWidth!==0?o=uw.apply(void 0,t):ZA(r,QA,function(){o=uw.apply(void 0,t)}),o}Kp(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);uo["outer".concat(t)]=function(o,r){return o&&cw(o,e,r?YA:Up)};var n=e==="width"?["Left","Right"]:["Top","Bottom"];uo[e]=function(o,r){var a=r;if(a!==void 0){if(o){var l=sw(o);return l&&(a+=Il(o,["padding","border"],n)),ea(o,e,a)}return}return o&&cw(o,e,Wp)}});function dw(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var qe={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:iw,offset:function(e,t,n){if(typeof t<"u")UA(e,t,n||{});else return Tl(e)},isWindow:Lp,each:Kp,css:ea,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);var o=e.overflow;if(o)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:dw,getWindowScrollLeft:function(e){return ow(e)},getWindowScrollTop:function(e){return rw(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)qe.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};dw(qe,uo);var Xp=qe.getParent;function Gp(e){if(qe.isWindow(e)||e.nodeType===9)return null;var t=qe.getDocument(e),n=t.body,o,r=qe.css(e,"position"),a=r==="fixed"||r==="absolute";if(!a)return e.nodeName.toLowerCase()==="html"?null:Xp(e);for(o=Xp(e);o&&o!==n&&o.nodeType!==9;o=Xp(o))if(r=qe.css(o,"position"),r!=="static")return o;return null}var fw=qe.getParent;function JA(e){if(qe.isWindow(e)||e.nodeType===9)return!1;var t=qe.getDocument(e),n=t.body,o=null;for(o=fw(e);o&&o!==n&&o!==t;o=fw(o)){var r=qe.css(o,"position");if(r==="fixed")return!0}return!1}function Yp(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},o=Gp(e),r=qe.getDocument(e),a=r.defaultView||r.parentWindow,l=r.body,s=r.documentElement;o;){if((navigator.userAgent.indexOf("MSIE")===-1||o.clientWidth!==0)&&o!==l&&o!==s&&qe.css(o,"overflow")!=="visible"){var u=qe.offset(o);u.left+=o.clientLeft,u.top+=o.clientTop,n.top=Math.max(n.top,u.top),n.right=Math.min(n.right,u.left+o.clientWidth),n.bottom=Math.min(n.bottom,u.top+o.clientHeight),n.left=Math.max(n.left,u.left)}else if(o===l||o===s)break;o=Gp(o)}var c=null;if(!qe.isWindow(e)&&e.nodeType!==9){c=e.style.position;var d=qe.css(e,"position");d==="absolute"&&(e.style.position="fixed")}var f=qe.getWindowScrollLeft(a),p=qe.getWindowScrollTop(a),h=qe.viewportWidth(a),g=qe.viewportHeight(a),m=s.scrollWidth,b=s.scrollHeight,y=window.getComputedStyle(l);if(y.overflowX==="hidden"&&(m=a.innerWidth),y.overflowY==="hidden"&&(b=a.innerHeight),e.style&&(e.style.position=c),t||JA(e))n.left=Math.max(n.left,f),n.top=Math.max(n.top,p),n.right=Math.min(n.right,f+h),n.bottom=Math.min(n.bottom,p+g);else{var x=Math.max(m,f+h);n.right=Math.min(n.right,x);var w=Math.max(b,p+g);n.bottom=Math.min(n.bottom,w)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function e9(e,t,n,o){var r=qe.clone(e),a={width:t.width,height:t.height};return o.adjustX&&r.left<n.left&&(r.left=n.left),o.resizeWidth&&r.left>=n.left&&r.left+a.width>n.right&&(a.width-=r.left+a.width-n.right),o.adjustX&&r.left+a.width>n.right&&(r.left=Math.max(n.right-a.width,n.left)),o.adjustY&&r.top<n.top&&(r.top=n.top),o.resizeHeight&&r.top>=n.top&&r.top+a.height>n.bottom&&(a.height-=r.top+a.height-n.bottom),o.adjustY&&r.top+a.height>n.bottom&&(r.top=Math.max(n.bottom-a.height,n.top)),qe.mix(r,a)}function Zp(e){var t,n,o;if(!qe.isWindow(e)&&e.nodeType!==9)t=qe.offset(e),n=qe.outerWidth(e),o=qe.outerHeight(e);else{var r=qe.getWindow(e);t={left:qe.getWindowScrollLeft(r),top:qe.getWindowScrollTop(r)},n=qe.viewportWidth(r),o=qe.viewportHeight(r)}return t.width=n,t.height=o,t}function pw(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,a=e.height,l=e.left,s=e.top;return n==="c"?s+=a/2:n==="b"&&(s+=a),o==="c"?l+=r/2:o==="r"&&(l+=r),{left:l,top:s}}function Hu(e,t,n,o,r){var a=pw(t,n[1]),l=pw(e,n[0]),s=[l.left-a.left,l.top-a.top];return{left:Math.round(e.left-s[0]+o[0]-r[0]),top:Math.round(e.top-s[1]+o[1]-r[1])}}function hw(e,t,n){return e.left<n.left||e.left+t.width>n.right}function gw(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function t9(e,t,n){return e.left>n.right||e.left+t.width<n.left}function n9(e,t,n){return e.top>n.bottom||e.top+t.height<n.top}function qu(e,t,n){var o=[];return qe.each(e,function(r){o.push(r.replace(t,function(a){return n[a]}))}),o}function Ku(e,t){return e[t]=-e[t],e}function mw(e,t){var n;return/%$/.test(e)?n=parseInt(e.substring(0,e.length-1),10)/100*t:n=parseInt(e,10),n||0}function bw(e,t){e[0]=mw(e[0],t.width),e[1]=mw(e[1],t.height)}function yw(e,t,n,o){var r=n.points,a=n.offset||[0,0],l=n.targetOffset||[0,0],s=n.overflow,u=n.source||e;a=[].concat(a),l=[].concat(l),s=s||{};var c={},d=0,f=!!(s&&s.alwaysByViewport),p=Yp(u,f),h=Zp(u);bw(a,h),bw(l,t);var g=Hu(h,t,r,a,l),m=qe.merge(h,g);if(p&&(s.adjustX||s.adjustY)&&o){if(s.adjustX&&hw(g,h,p)){var b=qu(r,/[lr]/gi,{l:"r",r:"l"}),y=Ku(a,0),x=Ku(l,0),w=Hu(h,t,b,y,x);t9(w,h,p)||(d=1,r=b,a=y,l=x)}if(s.adjustY&&gw(g,h,p)){var S=qu(r,/[tb]/gi,{t:"b",b:"t"}),C=Ku(a,1),$=Ku(l,1),v=Hu(h,t,S,C,$);n9(v,h,p)||(d=1,r=S,a=C,l=$)}d&&(g=Hu(h,t,r,a,l),qe.mix(m,g));var k=hw(g,h,p),O=gw(g,h,p);if(k||O){var P=r;k&&(P=qu(r,/[lr]/gi,{l:"r",r:"l"})),O&&(P=qu(r,/[tb]/gi,{t:"b",b:"t"})),r=P,a=n.offset||[0,0],l=n.targetOffset||[0,0]}c.adjustX=s.adjustX&&k,c.adjustY=s.adjustY&&O,(c.adjustX||c.adjustY)&&(m=e9(g,h,p,c))}return m.width!==h.width&&qe.css(u,"width",qe.width(u)+m.width-h.width),m.height!==h.height&&qe.css(u,"height",qe.height(u)+m.height-h.height),qe.offset(u,{left:m.left,top:m.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:a,targetOffset:l,overflow:c}}function o9(e,t){var n=Yp(e,t),o=Zp(e);return!n||o.left+o.width<=n.left||o.top+o.height<=n.top||o.left>=n.right||o.top>=n.bottom}function Qp(e,t,n){var o=n.target||t,r=Zp(o),a=!o9(o,n.overflow&&n.overflow.alwaysByViewport);return yw(e,r,n,a)}Qp.__getOffsetParent=Gp,Qp.__getVisibleRectForElement=Yp;function r9(e,t,n){var o,r,a=qe.getDocument(e),l=a.defaultView||a.parentWindow,s=qe.getWindowScrollLeft(l),u=qe.getWindowScrollTop(l),c=qe.viewportWidth(l),d=qe.viewportHeight(l);"pageX"in t?o=t.pageX:o=s+t.clientX,"pageY"in t?r=t.pageY:r=u+t.clientY;var f={left:o,top:r,width:0,height:0},p=o>=0&&o<=s+c&&r>=0&&r<=u+d,h=[n.points[0],"cc"];return yw(e,f,Qx(Qx({},n),{},{points:h}),p)}function ft(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=io(e)[0]),!r)return null;const a=i.cloneVNode(r,t,o);return a.props=n?N(N({},a.props),t):a.props,tn(typeof a.props.class!="object","class must be string"),a}const vw=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 i9(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 a9(e,t){e!==document.activeElement&&qr(t,e)&&typeof e.focus=="function"&&e.focus()}function xw(e,t){let n=null,o=null;function r(l){let[{target:s}]=l;if(!document.documentElement.contains(s))return;const{width:u,height:c}=s.getBoundingClientRect(),d=Math.floor(u),f=Math.floor(c);(n!==d||o!==f)&&Promise.resolve().then(()=>{t({width:d,height:f})}),n=d,o=f}const a=new $1(r);return e&&a.observe(e),()=>{a.disconnect()}}const l9=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o)}function a(l){if(!n||l===!0){if(e()===!1)return;n=!0,r(),o=setTimeout(()=>{n=!1},t.value)}else r(),o=setTimeout(()=>{n=!1,a()},t.value)}return[a,()=>{n=!1,r()}]};function s9(){this.__data__=[],this.size=0}function ww(e,t){return e===t||e!==e&&t!==t}function Wu(e,t){for(var n=e.length;n--;)if(ww(e[n][0],t))return n;return-1}var u9=Array.prototype,c9=u9.splice;function d9(e){var t=this.__data__,n=Wu(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():c9.call(t,n,1),--this.size,!0}function f9(e){var t=this.__data__,n=Wu(t,e);return n<0?void 0:t[n][1]}function p9(e){return Wu(this.__data__,e)>-1}function h9(e,t){var n=this.__data__,o=Wu(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function jo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}jo.prototype.clear=s9,jo.prototype.delete=d9,jo.prototype.get=f9,jo.prototype.has=p9,jo.prototype.set=h9;function g9(){this.__data__=new jo,this.size=0}function m9(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function b9(e){return this.__data__.get(e)}function y9(e){return this.__data__.has(e)}var Cw=typeof global=="object"&&global&&global.Object===Object&&global,v9=typeof self=="object"&&self&&self.Object===Object&&self,Ao=Cw||v9||Function("return this")(),lr=Ao.Symbol,Sw=Object.prototype,x9=Sw.hasOwnProperty,w9=Sw.toString,jl=lr?lr.toStringTag:void 0;function C9(e){var t=x9.call(e,jl),n=e[jl];try{e[jl]=void 0;var o=!0}catch{}var r=w9.call(e);return o&&(t?e[jl]=n:delete e[jl]),r}var S9=Object.prototype,$9=S9.toString;function O9(e){return $9.call(e)}var E9="[object Null]",k9="[object Undefined]",$w=lr?lr.toStringTag:void 0;function Jr(e){return e==null?e===void 0?k9:E9:$w&&$w in Object(e)?C9(e):O9(e)}function Jp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var z9="[object AsyncFunction]",P9="[object Function]",N9="[object GeneratorFunction]",T9="[object Proxy]";function Ow(e){if(!Jp(e))return!1;var t=Jr(e);return t==P9||t==N9||t==z9||t==T9}var eh=Ao["__core-js_shared__"],Ew=function(){var e=/[^.]+$/.exec(eh&&eh.keys&&eh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function I9(e){return!!Ew&&Ew in e}var j9=Function.prototype,A9=j9.toString;function ei(e){if(e!=null){try{return A9.call(e)}catch{}try{return e+""}catch{}}return""}var _9=/[\\^$.*+?()[\]{}|]/g,D9=/^\[object .+?Constructor\]$/,R9=Function.prototype,M9=Object.prototype,B9=R9.toString,V9=M9.hasOwnProperty,F9=RegExp("^"+B9.call(V9).replace(_9,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function L9(e){if(!Jp(e)||I9(e))return!1;var t=Ow(e)?F9:D9;return t.test(ei(e))}function H9(e,t){return e==null?void 0:e[t]}function ta(e,t){var n=H9(e,t);return L9(n)?n:void 0}var Al=ta(Ao,"Map"),_l=ta(Object,"create");function q9(){this.__data__=_l?_l(null):{},this.size=0}function K9(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var W9="__lodash_hash_undefined__",U9=Object.prototype,X9=U9.hasOwnProperty;function G9(e){var t=this.__data__;if(_l){var n=t[e];return n===W9?void 0:n}return X9.call(t,e)?t[e]:void 0}var Y9=Object.prototype,Z9=Y9.hasOwnProperty;function Q9(e){var t=this.__data__;return _l?t[e]!==void 0:Z9.call(t,e)}var J9="__lodash_hash_undefined__";function e_(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_l&&t===void 0?J9:t,this}function ti(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}ti.prototype.clear=q9,ti.prototype.delete=K9,ti.prototype.get=G9,ti.prototype.has=Q9,ti.prototype.set=e_;function t_(){this.size=0,this.__data__={hash:new ti,map:new(Al||jo),string:new ti}}function n_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Uu(e,t){var n=e.__data__;return n_(t)?n[typeof t=="string"?"string":"hash"]:n.map}function o_(e){var t=Uu(this,e).delete(e);return this.size-=t?1:0,t}function r_(e){return Uu(this,e).get(e)}function i_(e){return Uu(this,e).has(e)}function a_(e,t){var n=Uu(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function _o(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_o.prototype.clear=t_,_o.prototype.delete=o_,_o.prototype.get=r_,_o.prototype.has=i_,_o.prototype.set=a_;var l_=200;function s_(e,t){var n=this.__data__;if(n instanceof jo){var o=n.__data__;if(!Al||o.length<l_-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new _o(o)}return n.set(e,t),this.size=n.size,this}function Do(e){var t=this.__data__=new jo(e);this.size=t.size}Do.prototype.clear=g9,Do.prototype.delete=m9,Do.prototype.get=b9,Do.prototype.has=y9,Do.prototype.set=s_;var u_="__lodash_hash_undefined__";function c_(e){return this.__data__.set(e,u_),this}function d_(e){return this.__data__.has(e)}function Dl(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new _o;++t<n;)this.add(e[t])}Dl.prototype.add=Dl.prototype.push=c_,Dl.prototype.has=d_;function f_(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function kw(e,t){return e.has(t)}var p_=1,h_=2;function zw(e,t,n,o,r,a){var l=n&p_,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=n&h_?new Dl:void 0;for(a.set(e,t),a.set(t,e);++f<s;){var g=e[f],m=t[f];if(o)var b=l?o(m,g,f,t,e,a):o(g,m,f,e,t,a);if(b!==void 0){if(b)continue;p=!1;break}if(h){if(!f_(t,function(y,x){if(!kw(h,x)&&(g===y||r(g,y,n,o,a)))return h.push(x)})){p=!1;break}}else if(!(g===m||r(g,m,n,o,a))){p=!1;break}}return a.delete(e),a.delete(t),p}var Pw=Ao.Uint8Array;function g_(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}function th(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var m_=1,b_=2,y_="[object Boolean]",v_="[object Date]",x_="[object Error]",w_="[object Map]",C_="[object Number]",S_="[object RegExp]",$_="[object Set]",O_="[object String]",E_="[object Symbol]",k_="[object ArrayBuffer]",z_="[object DataView]",Nw=lr?lr.prototype:void 0,nh=Nw?Nw.valueOf:void 0;function P_(e,t,n,o,r,a,l){switch(n){case z_:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k_:return!(e.byteLength!=t.byteLength||!a(new Pw(e),new Pw(t)));case y_:case v_:case C_:return ww(+e,+t);case x_:return e.name==t.name&&e.message==t.message;case S_:case O_:return e==t+"";case w_:var s=g_;case $_:var u=o&m_;if(s||(s=th),e.size!=t.size&&!u)return!1;var c=l.get(e);if(c)return c==t;o|=b_,l.set(e,t);var d=zw(s(e),s(t),o,r,a,l);return l.delete(e),d;case E_:if(nh)return nh.call(e)==nh.call(t)}return!1}function N_(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var Kn=Array.isArray;function T_(e,t,n){var o=t(e);return Kn(e)?o:N_(o,n(e))}function I_(e,t){for(var n=-1,o=e==null?0:e.length,r=0,a=[];++n<o;){var l=e[n];t(l,n,e)&&(a[r++]=l)}return a}function j_(){return[]}var A_=Object.prototype,__=A_.propertyIsEnumerable,Tw=Object.getOwnPropertySymbols,D_=Tw?function(e){return e==null?[]:(e=Object(e),I_(Tw(e),function(t){return __.call(e,t)}))}:j_;function R_(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}function ni(e){return e!=null&&typeof e=="object"}var M_="[object Arguments]";function Iw(e){return ni(e)&&Jr(e)==M_}var jw=Object.prototype,B_=jw.hasOwnProperty,V_=jw.propertyIsEnumerable,oh=Iw(function(){return arguments}())?Iw:function(e){return ni(e)&&B_.call(e,"callee")&&!V_.call(e,"callee")};function F_(){return!1}var Aw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,_w=Aw&&typeof module=="object"&&module&&!module.nodeType&&module,L_=_w&&_w.exports===Aw,Dw=L_?Ao.Buffer:void 0,H_=Dw?Dw.isBuffer:void 0,Xu=H_||F_,q_=9007199254740991,K_=/^(?:0|[1-9]\d*)$/;function Rw(e,t){var n=typeof e;return t=t??q_,!!t&&(n=="number"||n!="symbol"&&K_.test(e))&&e>-1&&e%1==0&&e<t}var W_=9007199254740991;function rh(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=W_}var U_="[object Arguments]",X_="[object Array]",G_="[object Boolean]",Y_="[object Date]",Z_="[object Error]",Q_="[object Function]",J_="[object Map]",eD="[object Number]",tD="[object Object]",nD="[object RegExp]",oD="[object Set]",rD="[object String]",iD="[object WeakMap]",aD="[object ArrayBuffer]",lD="[object DataView]",sD="[object Float32Array]",uD="[object Float64Array]",cD="[object Int8Array]",dD="[object Int16Array]",fD="[object Int32Array]",pD="[object Uint8Array]",hD="[object Uint8ClampedArray]",gD="[object Uint16Array]",mD="[object Uint32Array]",ct={};ct[sD]=ct[uD]=ct[cD]=ct[dD]=ct[fD]=ct[pD]=ct[hD]=ct[gD]=ct[mD]=!0,ct[U_]=ct[X_]=ct[aD]=ct[G_]=ct[lD]=ct[Y_]=ct[Z_]=ct[Q_]=ct[J_]=ct[eD]=ct[tD]=ct[nD]=ct[oD]=ct[rD]=ct[iD]=!1;function bD(e){return ni(e)&&rh(e.length)&&!!ct[Jr(e)]}function yD(e){return function(t){return e(t)}}var Mw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Rl=Mw&&typeof module=="object"&&module&&!module.nodeType&&module,vD=Rl&&Rl.exports===Mw,ih=vD&&Cw.process,Bw=function(){try{var e=Rl&&Rl.require&&Rl.require("util").types;return e||ih&&ih.binding&&ih.binding("util")}catch{}}(),Vw=Bw&&Bw.isTypedArray,ah=Vw?yD(Vw):bD,xD=Object.prototype,wD=xD.hasOwnProperty;function CD(e,t){var n=Kn(e),o=!n&&oh(e),r=!n&&!o&&Xu(e),a=!n&&!o&&!r&&ah(e),l=n||o||r||a,s=l?R_(e.length,String):[],u=s.length;for(var c in e)wD.call(e,c)&&!(l&&(c=="length"||r&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Rw(c,u)))&&s.push(c);return s}var SD=Object.prototype;function Fw(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||SD;return e===n}function Lw(e,t){return function(n){return e(t(n))}}var $D=Lw(Object.keys,Object),OD=Object.prototype,ED=OD.hasOwnProperty;function Hw(e){if(!Fw(e))return $D(e);var t=[];for(var n in Object(e))ED.call(e,n)&&n!="constructor"&&t.push(n);return t}function lh(e){return e!=null&&rh(e.length)&&!Ow(e)}function sh(e){return lh(e)?CD(e):Hw(e)}function qw(e){return T_(e,sh,D_)}var kD=1,zD=Object.prototype,PD=zD.hasOwnProperty;function ND(e,t,n,o,r,a){var l=n&kD,s=qw(e),u=s.length,c=qw(t),d=c.length;if(u!=d&&!l)return!1;for(var f=u;f--;){var p=s[f];if(!(l?p in t:PD.call(t,p)))return!1}var h=a.get(e),g=a.get(t);if(h&&g)return h==t&&g==e;var m=!0;a.set(e,t),a.set(t,e);for(var b=l;++f<u;){p=s[f];var y=e[p],x=t[p];if(o)var w=l?o(x,y,p,t,e,a):o(y,x,p,e,t,a);if(!(w===void 0?y===x||r(y,x,n,o,a):w)){m=!1;break}b||(b=p=="constructor")}if(m&&!b){var S=e.constructor,C=t.constructor;S!=C&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof C=="function"&&C instanceof C)&&(m=!1)}return a.delete(e),a.delete(t),m}var uh=ta(Ao,"DataView"),ch=ta(Ao,"Promise"),na=ta(Ao,"Set"),dh=ta(Ao,"WeakMap"),Kw="[object Map]",TD="[object Object]",Ww="[object Promise]",Uw="[object Set]",Xw="[object WeakMap]",Gw="[object DataView]",ID=ei(uh),jD=ei(Al),AD=ei(ch),_D=ei(na),DD=ei(dh),Ro=Jr;(uh&&Ro(new uh(new ArrayBuffer(1)))!=Gw||Al&&Ro(new Al)!=Kw||ch&&Ro(ch.resolve())!=Ww||na&&Ro(new na)!=Uw||dh&&Ro(new dh)!=Xw)&&(Ro=function(e){var t=Jr(e),n=t==TD?e.constructor:void 0,o=n?ei(n):"";if(o)switch(o){case ID:return Gw;case jD:return Kw;case AD:return Ww;case _D:return Uw;case DD:return Xw}return t});var RD=1,Yw="[object Arguments]",Zw="[object Array]",Gu="[object Object]",MD=Object.prototype,Qw=MD.hasOwnProperty;function BD(e,t,n,o,r,a){var l=Kn(e),s=Kn(t),u=l?Zw:Ro(e),c=s?Zw:Ro(t);u=u==Yw?Gu:u,c=c==Yw?Gu:c;var d=u==Gu,f=c==Gu,p=u==c;if(p&&Xu(e)){if(!Xu(t))return!1;l=!0,d=!1}if(p&&!d)return a||(a=new Do),l||ah(e)?zw(e,t,n,o,r,a):P_(e,t,u,n,o,r,a);if(!(n&RD)){var h=d&&Qw.call(e,"__wrapped__"),g=f&&Qw.call(t,"__wrapped__");if(h||g){var m=h?e.value():e,b=g?t.value():t;return a||(a=new Do),r(m,b,n,o,a)}}return p?(a||(a=new Do),ND(e,t,n,o,r,a)):!1}function Yu(e,t,n,o,r){return e===t?!0:e==null||t==null||!ni(e)&&!ni(t)?e!==e&&t!==t:BD(e,t,n,o,Yu,r)}function VD(e,t){return Yu(e,t)}const FD={align:Object,target:[Object,Function],onAlign:Function,monitorBufferTime:Number,monitorWindowResize:Boolean,disabled:Boolean};function Jw(e){return typeof e!="function"?null:e()}function e2(e){return typeof e!="object"||!e?null:e}const LD=i.defineComponent({compatConfig:{MODE:3},name:"Align",props:FD,emits:["align"],setup(e,t){let{expose:n,slots:o}=t;const r=i.ref({}),a=i.ref(),[l,s]=l9(()=>{const{disabled:p,target:h,align:g,onAlign:m}=e;if(!p&&h&&a.value){const b=a.value;let y;const x=Jw(h),w=e2(h);r.value.element=x,r.value.point=w,r.value.align=g;const{activeElement:S}=document;return x&&vw(x)?y=Qp(b,x,g):w&&(y=r9(b,w,g)),a9(S,b),m&&y&&m(b,y),!0}return!1},i.computed(()=>e.monitorBufferTime)),u=i.ref({cancel:()=>{}}),c=i.ref({cancel:()=>{}}),d=()=>{const p=e.target,h=Jw(p),g=e2(p);a.value!==c.value.element&&(c.value.cancel(),c.value.element=a.value,c.value.cancel=xw(a.value,l)),(r.value.element!==h||!i9(r.value.point,g)||!VD(r.value.align,e.align))&&(l(),u.value.element!==h&&(u.value.cancel(),u.value.element=h,u.value.cancel=xw(h,l)))};i.onMounted(()=>{i.nextTick(()=>{d()})}),i.onUpdated(()=>{i.nextTick(()=>{d()})}),i.watch(()=>e.disabled,p=>{p?s():l()},{immediate:!0,flush:"post"});const f=i.ref(null);return i.watch(()=>e.monitorWindowResize,p=>{p?f.value||(f.value=ml(window,"resize",l)):f.value&&(f.value.remove(),f.value=null)},{flush:"post"}),i.onUnmounted(()=>{u.value.cancel(),c.value.cancel(),f.value&&f.value.remove(),s()}),n({forceAlign:()=>l(!0)}),()=>{const p=o==null?void 0:o.default();return p?ft(p[0],{ref:a},!0,!0):null}}});cl("bottomLeft","bottomRight","topLeft","topRight");const HD=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",fh=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return N(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)},ph=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return N(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)},Zu=(e,t,n)=>n!==void 0?n:`${e}-${t}`,qD=i.defineComponent({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:Mp,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:o,slots:r}=t;const a=i.shallowRef(),l=i.shallowRef(),s=i.shallowRef(),[u,c]=TA(i.toRef(e,"stretch")),d=()=>{e.stretch&&c(e.getRootDomNode())},f=i.shallowRef(!1);let p;i.watch(()=>e.visible,$=>{clearTimeout(p),$?p=setTimeout(()=>{f.value=e.visible}):f.value=!1},{immediate:!0});const[h,g]=NA(f,d),m=i.shallowRef(),b=()=>e.point?e.point:e.getRootDomNode,y=()=>{var $;($=a.value)===null||$===void 0||$.forceAlign()},x=($,v)=>{var k;const O=e.getClassNameFromAlign(v),P=s.value;s.value!==O&&(s.value=O),h.value==="align"&&(P!==O?Promise.resolve().then(()=>{y()}):g(()=>{var T;(T=m.value)===null||T===void 0||T.call(m)}),(k=e.onAlign)===null||k===void 0||k.call(e,$,v))},w=i.computed(()=>{const $=typeof e.animation=="object"?e.animation:Bp(e);return["onAfterEnter","onAfterLeave"].forEach(v=>{const k=$[v];$[v]=O=>{g(),h.value="stable",k==null||k(O)}}),$}),S=()=>new Promise($=>{m.value=$});i.watch([w,h],()=>{!w.value&&h.value==="motion"&&g()},{immediate:!0}),n({forceAlign:y,getElement:()=>l.value.$el||l.value});const C=i.computed(()=>{var $;return!(!(($=e.align)===null||$===void 0)&&$.points&&(h.value==="align"||h.value==="stable"))});return()=>{var $;const{zIndex:v,align:k,prefixCls:O,destroyPopupOnHide:P,onMouseenter:T,onMouseleave:B,onTouchstart:A=()=>{},onMousedown:F}=e,z=h.value,_=[N(N({},u.value),{zIndex:v,opacity:z==="motion"||z==="stable"||!f.value?null:0,pointerEvents:!f.value&&z!=="stable"?"none":null}),o.style];let K=en(($=r.default)===null||$===void 0?void 0:$.call(r,{visible:e.visible}));K.length>1&&(K=i.createVNode("div",{class:`${O}-content`},[K]));const H=_e(O,o.class,s.value,!e.arrow&&`${O}-arrow-hidden`),j=f.value||!e.visible?fh(w.value.name,w.value):{};return i.createVNode(i.Transition,le(le({ref:l},j),{},{onBeforeEnter:S}),{default:()=>!P||e.visible?i.withDirectives(i.createVNode(LD,{target:b(),key:"popup",ref:a,monitorWindowResize:!0,disabled:C.value,align:k,onAlign:x},{default:()=>i.createVNode("div",{class:H,onMouseenter:T,onMouseleave:B,onMousedown:i.withModifiers(F,["capture"]),[Vr?"onTouchstartPassive":"onTouchstart"]:i.withModifiers(A,["capture"]),style:_},[K])}),[[i.vShow,f.value]]):null})}}}),KD=i.defineComponent({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:kA,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const a=i.shallowRef(!1),l=i.shallowRef(!1),s=i.shallowRef(),u=i.shallowRef();return i.watch([()=>e.visible,()=>e.mobile],()=>{a.value=e.visible,e.visible&&e.mobile&&(l.value=!0)},{immediate:!0,flush:"post"}),r({forceAlign:()=>{var c;(c=s.value)===null||c===void 0||c.forceAlign()},getElement:()=>{var c;return(c=s.value)===null||c===void 0?void 0:c.getElement()}}),()=>{const c=N(N(N({},e),n),{visible:a.value}),d=l.value?i.createVNode(zA,le(le({},c),{},{mobile:e.mobile,ref:s}),{default:o.default}):i.createVNode(qD,le(le({},c),{},{ref:s}),{default:o.default});return i.createVNode("div",{ref:u},[i.createVNode(Gx,c,null),d])}}});function WD(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function t2(e,t,n){const o=e[t]||{};return N(N({},o),n)}function UD(e,t,n,o){const{points:r}=n,a=Object.keys(e);for(let l=0;l<a.length;l+=1){const s=a[l];if(WD(e[s].points,r,o))return`${t}-placement-${s}`}return""}const XD={methods:{setState(){let e=arguments.length>0&&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(uI(this),N(N({},this.$data),n));if(o===null)return;n=N(N({},n),o||{})}N(this.$data,n),this._.isMounted&&this.$forceUpdate(),i.nextTick(()=>{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;o<r;o++)n[o](...e.slice(1));else n(...e.slice(1))}}},n2=Symbol("PortalContextKey"),o2=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};i.provide(n2,{inTriggerContext:t.inTriggerContext,shouldRender:i.computed(()=>{const{sPopupVisible:n,popupRef:o,forceRender:r,autoDestroy:a}=e||{};let l=!1;return(n||o||r)&&(l=!0),!n&&a&&(l=!1),l})})},GD=()=>{o2({},{inTriggerContext:!1});const e=i.inject(n2,{shouldRender:i.computed(()=>!1),inTriggerContext:!1});return{shouldRender:i.computed(()=>e.shouldRender.value||e.inTriggerContext===!1)}},r2=i.defineComponent({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:he.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,o=!0,r;const{shouldRender:a}=GD();function l(){a.value&&(r=e.getContainer())}i.onBeforeMount(()=>{o=!1,l()}),i.onMounted(()=>{r||l()});const s=i.watch(a,()=>{a.value&&!r&&(r=e.getContainer()),r&&s()});return i.onUpdated(()=>{i.nextTick(()=>{var u;a.value&&((u=e.didUpdate)===null||u===void 0||u.call(e,e))})}),()=>{var u;return a.value?o?(u=n.default)===null||u===void 0?void 0:u.call(n):r?i.createVNode(i.Teleport,{to:r},n):null:null}}});let hh;function YD(e){if(typeof document>"u")return 0;if(hh===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 a=t.offsetWidth;r===a&&(a=n.clientWidth),document.body.removeChild(n),hh=r-a}return hh}const ZD=`vc-util-locker-${Date.now()}`;let i2=0;function QD(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function JD(e){const t=i.computed(()=>!!e&&!!e.value);i2+=1;const n=`${ZD}_${i2}`;i.watchEffect(o=>{if(kn()){if(t.value){const r=YD(),a=QD();yl(`
49
+ `+Bu(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 so=function(){function e(){}return e.extend=function(t){var n=this;if(Qi(t))return t.forEach(function(f){return n.extend(f)}),this;var o=t.name,r=t.validate,a=r!==void 0&&r,l=t.getter,s=l!==void 0&&l,u=Mx(t,["name","validate","getter"]);if(zl(this,o))throw new TypeError('[VueTypes error]: Type "'+o+'" already defined');var c,d=u.type;return Mu(d)?(delete u.type,Object.defineProperty(this,o,s?{get:function(){return Wx(o,d,u)}}:{value:function(){var f,p=Wx(o,d,u);return p.validator&&(p.validator=(f=p.validator).bind.apply(f,[p].concat([].slice.call(arguments)))),p}})):(c=s?{get:function(){var f=Object.assign({},u);return a?lo(o,f):vn(o,f)},enumerable:!0}:{value:function(){var f,p,h=Object.assign({},u);return f=a?lo(o,h):vn(o,h),h.validator&&(f.validator=(p=h.validator).bind.apply(p,[f].concat([].slice.call(arguments)))),f},enumerable:!0},Object.defineProperty(this,o,c))},Dx(e,null,[{key:"any",get:function(){return aA()}},{key:"func",get:function(){return lA().def(this.defaults.func)}},{key:"bool",get:function(){return sA().def(this.defaults.bool)}},{key:"string",get:function(){return uA().def(this.defaults.string)}},{key:"number",get:function(){return cA().def(this.defaults.number)}},{key:"array",get:function(){return dA().def(this.defaults.array)}},{key:"object",get:function(){return fA().def(this.defaults.object)}},{key:"integer",get:function(){return pA().def(this.defaults.integer)}},{key:"symbol",get:function(){return hA()}}]),e}();function Ux(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 Rx(o,n),Dx(o,null,[{key:"sensibleDefaults",get:function(){return Ru({},this.defaults)},set:function(r){this.defaults=r!==!1?Ru({},r!==!0?r:e):{}}}]),o}(so)).defaults=Ru({},e),t}so.defaults={},so.custom=gA,so.oneOf=mA,so.instanceOf=vA,so.oneOfType=bA,so.arrayOf=yA,so.objectOf=xA,so.shape=wA,so.utils={validate:function(e,t){return Zr(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?lo(e,t):vn(e,t)}},function(e){function t(){return e.apply(this,arguments)||this}return Rx(t,e),t}(Ux());const he=Ux({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});he.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 yt=(e,t,n)=>{pp(e,`[ant-design-vue: ${t}] ${n}`)};function CA(e,t){if(!t||!t.length)return null;let n=!1;function o(a,l){let[s,...u]=l;if(!s)return[a];const c=a.split(s);return n=n||c.length>1,c.reduce((d,f)=>[...d,...o(f,u)],[]).filter(d=>d)}const r=o(e,t);return n?r:null}function SA(){return""}function $A(e){return e?e.ownerDocument:window.document}function Xx(){}const OA=()=>({action:he.oneOfType([he.string,he.arrayOf(he.string)]).def([]),showAction:he.any.def([]),hideAction:he.any.def([]),getPopupClassNameFromAlign:he.any.def(SA),onPopupVisibleChange:Function,afterPopupVisibleChange:he.func.def(Xx),popup:he.any,arrow:he.bool.def(!0),popupStyle:{type:Object,default:void 0},prefixCls:he.string.def("rc-trigger-popup"),popupClassName:he.string.def(""),popupPlacement:String,builtinPlacements:he.object,popupTransitionName:String,popupAnimation:he.any,mouseEnterDelay:he.number.def(0),mouseLeaveDelay:he.number.def(.1),zIndex:Number,focusDelay:he.number.def(0),blurDelay:he.number.def(.15),getPopupContainer:Function,getDocument:he.func.def($A),forceRender:{type:Boolean,default:void 0},destroyPopupOnHide:{type:Boolean,default:!1},mask:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},popupAlign:he.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}),Mp={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}},EA=N(N({},Mp),{mobile:{type:Object}}),kA=N(N({},Mp),{mask:Boolean,mobile:{type:Object},maskAnimation:String,maskTransitionName:String});function Bp(e){let{prefixCls:t,animation:n,transitionName:o}=e;return n?{name:`${t}-${n}`}:o?{name:o}:{}}function Gx(e){const{prefixCls:t,visible:n,zIndex:o,mask:r,maskAnimation:a,maskTransitionName:l}=e;if(!r)return null;let s={};return(l||a)&&(s=Bp({prefixCls:t,transitionName:l,animation:a})),i.createVNode(i.Transition,le({appear:!0},s),{default:()=>[i.withDirectives(i.createVNode("div",{style:{zIndex:o},class:`${t}-mask`},null),[[i.resolveDirective("if"),n]])]})}Gx.displayName="Mask";const zA=i.defineComponent({compatConfig:{MODE:3},name:"MobilePopupInner",inheritAttrs:!1,props:EA,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,slots:o}=t;const r=i.ref();return n({forceAlign:()=>{},getElement:()=>r.value}),()=>{var a;const{zIndex:l,visible:s,prefixCls:u,mobile:{popupClassName:c,popupStyle:d,popupMotion:f={},popupRender:p}={}}=e,h=N({zIndex:l},d);let g=en((a=o.default)===null||a===void 0?void 0:a.call(o));g.length>1&&(g=i.createVNode("div",{class:`${u}-content`},[g])),p&&(g=p(g));const m=_e(u,c);return i.createVNode(i.Transition,le({ref:r},f),{default:()=>[s?i.createVNode("div",{class:m,style:h},[g]):null]})}}});var PA=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function s(d){try{c(o.next(d))}catch(f){l(f)}}function u(d){try{c(o.throw(d))}catch(f){l(f)}}function c(d){d.done?a(d.value):r(d.value).then(s,u)}c((o=o.apply(e,t||[])).next())})};const Yx=["measure","align",null,"motion"],NA=(e,t)=>{const n=i.shallowRef(null),o=i.shallowRef(),r=i.shallowRef(!1);function a(u){r.value||(n.value=u)}function l(){gt.cancel(o.value)}function s(u){l(),o.value=gt(()=>{let c=n.value;switch(n.value){case"align":c="motion";break;case"motion":c="stable";break}a(c),u==null||u()})}return i.watch(e,()=>{a("measure")},{immediate:!0,flush:"post"}),i.onMounted(()=>{i.watch(n,()=>{switch(n.value){case"measure":t();break}n.value&&(o.value=gt(()=>PA(void 0,void 0,void 0,function*(){const u=Yx.indexOf(n.value),c=Yx[u+1];c&&u!==-1&&a(c)})))},{immediate:!0,flush:"post"})}),i.onBeforeUnmount(()=>{r.value=!0,l()}),[n,s]},TA=e=>{const t=i.shallowRef({width:0,height:0});function n(o){t.value={width:o.offsetWidth,height:o.offsetHeight}}return[i.computed(()=>{const o={};if(e.value){const{width:r,height:a}=t.value;e.value.indexOf("height")!==-1&&a?o.height=`${a}px`:e.value.indexOf("minHeight")!==-1&&a&&(o.minHeight=`${a}px`),e.value.indexOf("width")!==-1&&r?o.width=`${r}px`:e.value.indexOf("minWidth")!==-1&&r&&(o.minWidth=`${r}px`)}return o}),n]};function Zx(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 Qx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Zx(Object(n),!0).forEach(function(o){IA(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zx(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Vp(e){"@babel/helpers - typeof";return Vp=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},Vp(e)}function IA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pl,jA={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function Vu(){if(Pl!==void 0)return Pl;Pl="";var e=document.createElement("p").style,t="Transform";for(var n in jA)n+t in e&&(Pl=n);return Pl}function Jx(){return Vu()?"".concat(Vu(),"TransitionProperty"):"transitionProperty"}function Fu(){return Vu()?"".concat(Vu(),"Transform"):"transform"}function ew(e,t){var n=Jx();n&&(e.style[n]=t,n!=="transitionProperty"&&(e.style.transitionProperty=t))}function Fp(e,t){var n=Fu();n&&(e.style[n]=t,n!=="transform"&&(e.style.transform=t))}function AA(e){return e.style.transitionProperty||e.style[Jx()]}function _A(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(Fu());if(n&&n!=="none"){var o=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(o[12]||o[4],0),y:parseFloat(o[13]||o[5],0)}}return{x:0,y:0}}var DA=/matrix\((.*)\)/,RA=/matrix3d\((.*)\)/;function MA(e,t){var n=window.getComputedStyle(e,null),o=n.getPropertyValue("transform")||n.getPropertyValue(Fu());if(o&&o!=="none"){var r,a=o.match(DA);if(a)a=a[1],r=a.split(",").map(function(s){return parseFloat(s,10)}),r[4]=t.x,r[5]=t.y,Fp(e,"matrix(".concat(r.join(","),")"));else{var l=o.match(RA)[1];r=l.split(",").map(function(s){return parseFloat(s,10)}),r[12]=t.x,r[13]=t.y,Fp(e,"matrix3d(".concat(r.join(","),")"))}}else Fp(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}var BA=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,Nl;function tw(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function ea(e,t,n){var o=n;if(Vp(t)==="object"){for(var r in t)t.hasOwnProperty(r)&&ea(e,r,t[r]);return}if(typeof o<"u"){typeof o=="number"&&(o="".concat(o,"px")),e.style[t]=o;return}return Nl(e,t)}function VA(e){var t,n,o,r=e.ownerDocument,a=r.body,l=r&&r.documentElement;return t=e.getBoundingClientRect(),n=Math.floor(t.left),o=Math.floor(t.top),n-=l.clientLeft||a.clientLeft||0,o-=l.clientTop||a.clientTop||0,{left:n,top:o}}function nw(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var r=e.document;n=r.documentElement[o],typeof n!="number"&&(n=r.body[o])}return n}function ow(e){return nw(e)}function rw(e){return nw(e,!0)}function Tl(e){var t=VA(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=ow(o),t.top+=rw(o),t}function Lp(e){return e!=null&&e==e.window}function iw(e){return Lp(e)?e.document:e.nodeType===9?e:e.ownerDocument}function FA(e,t,n){var o=n,r="",a=iw(e);return o=o||a.defaultView.getComputedStyle(e,null),o&&(r=o.getPropertyValue(t)||o[t]),r}var LA=new RegExp("^(".concat(BA,")(?!px)[a-z%]+$"),"i"),HA=/^(top|right|bottom|left)$/,Hp="currentStyle",qp="runtimeStyle",Qr="left",qA="px";function KA(e,t){var n=e[Hp]&&e[Hp][t];if(LA.test(n)&&!HA.test(t)){var o=e.style,r=o[Qr],a=e[qp][Qr];e[qp][Qr]=e[Hp][Qr],o[Qr]=t==="fontSize"?"1em":n||0,n=o.pixelLeft+qA,o[Qr]=r,e[qp][Qr]=a}return n===""?"auto":n}typeof window<"u"&&(Nl=window.getComputedStyle?FA:KA);function Lu(e,t){return e==="left"?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function aw(e){if(e==="left")return"right";if(e==="right")return"left";if(e==="top")return"bottom";if(e==="bottom")return"top"}function lw(e,t,n){ea(e,"position")==="static"&&(e.style.position="relative");var o=-999,r=-999,a=Lu("left",n),l=Lu("top",n),s=aw(a),u=aw(l);a!=="left"&&(o=999),l!=="top"&&(r=999);var c="",d=Tl(e);("left"in t||"top"in t)&&(c=AA(e)||"",ew(e,"none")),"left"in t&&(e.style[s]="",e.style[a]="".concat(o,"px")),"top"in t&&(e.style[u]="",e.style[l]="".concat(r,"px")),tw(e);var f=Tl(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var g=Lu(h,n),m=h==="left"?o:r,b=d[h]-f[h];g===h?p[g]=m+b:p[g]=m-b}ea(e,p),tw(e),("left"in t||"top"in t)&&ew(e,c);var y={};for(var x in t)if(t.hasOwnProperty(x)){var w=Lu(x,n),S=t[x]-d[x];x===w?y[w]=p[w]+S:y[w]=p[w]-S}ea(e,y)}function WA(e,t){var n=Tl(e),o=_A(e),r={x:o.x,y:o.y};"left"in t&&(r.x=o.x+t.left-n.left),"top"in t&&(r.y=o.y+t.top-n.top),MA(e,r)}function UA(e,t,n){if(n.ignoreShake){var o=Tl(e),r=o.left.toFixed(0),a=o.top.toFixed(0),l=t.left.toFixed(0),s=t.top.toFixed(0);if(r===l&&a===s)return}n.useCssRight||n.useCssBottom?lw(e,t,n):n.useCssTransform&&Fu()in document.body.style?WA(e,t):lw(e,t,n)}function Kp(e,t){for(var n=0;n<e.length;n++)t(e[n])}function sw(e){return Nl(e,"boxSizing")==="border-box"}var XA=["margin","border","padding"],Wp=-1,GA=2,Up=1,YA=0;function ZA(e,t,n){var o={},r=e.style,a;for(a in t)t.hasOwnProperty(a)&&(o[a]=r[a],r[a]=t[a]);n.call(e);for(a in t)t.hasOwnProperty(a)&&(r[a]=o[a])}function Il(e,t,n){var o=0,r,a,l;for(a=0;a<t.length;a++)if(r=t[a],r)for(l=0;l<n.length;l++){var s=void 0;r==="border"?s="".concat(r).concat(n[l],"Width"):s=r+n[l],o+=parseFloat(Nl(e,s))||0}return o}var uo={getParent:function(e){var t=e;do t.nodeType===11&&t.host?t=t.host:t=t.parentNode;while(t&&t.nodeType!==1&&t.nodeType!==9);return t}};Kp(["Width","Height"],function(e){uo["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],uo["viewport".concat(e)](n))},uo["viewport".concat(e)]=function(t){var n="client".concat(e),o=t.document,r=o.body,a=o.documentElement,l=a[n];return o.compatMode==="CSS1Compat"&&l||r&&r[n]||l}});function uw(e,t,n){var o=n;if(Lp(e))return t==="width"?uo.viewportWidth(e):uo.viewportHeight(e);if(e.nodeType===9)return t==="width"?uo.docWidth(e):uo.docHeight(e);var r=t==="width"?["Left","Right"]:["Top","Bottom"],a=Math.floor(t==="width"?e.getBoundingClientRect().width:e.getBoundingClientRect().height),l=sw(e),s=0;(a==null||a<=0)&&(a=void 0,s=Nl(e,t),(s==null||Number(s)<0)&&(s=e.style[t]||0),s=Math.floor(parseFloat(s))||0),o===void 0&&(o=l?Up:Wp);var u=a!==void 0||l,c=a||s;return o===Wp?u?c-Il(e,["border","padding"],r):s:u?o===Up?c:c+(o===GA?-Il(e,["border"],r):Il(e,["margin"],r)):s+Il(e,XA.slice(o),r)}var QA={position:"absolute",visibility:"hidden",display:"block"};function cw(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o,r=t[0];return r.offsetWidth!==0?o=uw.apply(void 0,t):ZA(r,QA,function(){o=uw.apply(void 0,t)}),o}Kp(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);uo["outer".concat(t)]=function(o,r){return o&&cw(o,e,r?YA:Up)};var n=e==="width"?["Left","Right"]:["Top","Bottom"];uo[e]=function(o,r){var a=r;if(a!==void 0){if(o){var l=sw(o);return l&&(a+=Il(o,["padding","border"],n)),ea(o,e,a)}return}return o&&cw(o,e,Wp)}});function dw(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var qe={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:iw,offset:function(e,t,n){if(typeof t<"u")UA(e,t,n||{});else return Tl(e)},isWindow:Lp,each:Kp,css:ea,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);var o=e.overflow;if(o)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:dw,getWindowScrollLeft:function(e){return ow(e)},getWindowScrollTop:function(e){return rw(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)qe.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};dw(qe,uo);var Xp=qe.getParent;function Gp(e){if(qe.isWindow(e)||e.nodeType===9)return null;var t=qe.getDocument(e),n=t.body,o,r=qe.css(e,"position"),a=r==="fixed"||r==="absolute";if(!a)return e.nodeName.toLowerCase()==="html"?null:Xp(e);for(o=Xp(e);o&&o!==n&&o.nodeType!==9;o=Xp(o))if(r=qe.css(o,"position"),r!=="static")return o;return null}var fw=qe.getParent;function JA(e){if(qe.isWindow(e)||e.nodeType===9)return!1;var t=qe.getDocument(e),n=t.body,o=null;for(o=fw(e);o&&o!==n&&o!==t;o=fw(o)){var r=qe.css(o,"position");if(r==="fixed")return!0}return!1}function Yp(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},o=Gp(e),r=qe.getDocument(e),a=r.defaultView||r.parentWindow,l=r.body,s=r.documentElement;o;){if((navigator.userAgent.indexOf("MSIE")===-1||o.clientWidth!==0)&&o!==l&&o!==s&&qe.css(o,"overflow")!=="visible"){var u=qe.offset(o);u.left+=o.clientLeft,u.top+=o.clientTop,n.top=Math.max(n.top,u.top),n.right=Math.min(n.right,u.left+o.clientWidth),n.bottom=Math.min(n.bottom,u.top+o.clientHeight),n.left=Math.max(n.left,u.left)}else if(o===l||o===s)break;o=Gp(o)}var c=null;if(!qe.isWindow(e)&&e.nodeType!==9){c=e.style.position;var d=qe.css(e,"position");d==="absolute"&&(e.style.position="fixed")}var f=qe.getWindowScrollLeft(a),p=qe.getWindowScrollTop(a),h=qe.viewportWidth(a),g=qe.viewportHeight(a),m=s.scrollWidth,b=s.scrollHeight,y=window.getComputedStyle(l);if(y.overflowX==="hidden"&&(m=a.innerWidth),y.overflowY==="hidden"&&(b=a.innerHeight),e.style&&(e.style.position=c),t||JA(e))n.left=Math.max(n.left,f),n.top=Math.max(n.top,p),n.right=Math.min(n.right,f+h),n.bottom=Math.min(n.bottom,p+g);else{var x=Math.max(m,f+h);n.right=Math.min(n.right,x);var w=Math.max(b,p+g);n.bottom=Math.min(n.bottom,w)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function e_(e,t,n,o){var r=qe.clone(e),a={width:t.width,height:t.height};return o.adjustX&&r.left<n.left&&(r.left=n.left),o.resizeWidth&&r.left>=n.left&&r.left+a.width>n.right&&(a.width-=r.left+a.width-n.right),o.adjustX&&r.left+a.width>n.right&&(r.left=Math.max(n.right-a.width,n.left)),o.adjustY&&r.top<n.top&&(r.top=n.top),o.resizeHeight&&r.top>=n.top&&r.top+a.height>n.bottom&&(a.height-=r.top+a.height-n.bottom),o.adjustY&&r.top+a.height>n.bottom&&(r.top=Math.max(n.bottom-a.height,n.top)),qe.mix(r,a)}function Zp(e){var t,n,o;if(!qe.isWindow(e)&&e.nodeType!==9)t=qe.offset(e),n=qe.outerWidth(e),o=qe.outerHeight(e);else{var r=qe.getWindow(e);t={left:qe.getWindowScrollLeft(r),top:qe.getWindowScrollTop(r)},n=qe.viewportWidth(r),o=qe.viewportHeight(r)}return t.width=n,t.height=o,t}function pw(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,a=e.height,l=e.left,s=e.top;return n==="c"?s+=a/2:n==="b"&&(s+=a),o==="c"?l+=r/2:o==="r"&&(l+=r),{left:l,top:s}}function Hu(e,t,n,o,r){var a=pw(t,n[1]),l=pw(e,n[0]),s=[l.left-a.left,l.top-a.top];return{left:Math.round(e.left-s[0]+o[0]-r[0]),top:Math.round(e.top-s[1]+o[1]-r[1])}}function hw(e,t,n){return e.left<n.left||e.left+t.width>n.right}function gw(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function t_(e,t,n){return e.left>n.right||e.left+t.width<n.left}function n_(e,t,n){return e.top>n.bottom||e.top+t.height<n.top}function qu(e,t,n){var o=[];return qe.each(e,function(r){o.push(r.replace(t,function(a){return n[a]}))}),o}function Ku(e,t){return e[t]=-e[t],e}function mw(e,t){var n;return/%$/.test(e)?n=parseInt(e.substring(0,e.length-1),10)/100*t:n=parseInt(e,10),n||0}function bw(e,t){e[0]=mw(e[0],t.width),e[1]=mw(e[1],t.height)}function yw(e,t,n,o){var r=n.points,a=n.offset||[0,0],l=n.targetOffset||[0,0],s=n.overflow,u=n.source||e;a=[].concat(a),l=[].concat(l),s=s||{};var c={},d=0,f=!!(s&&s.alwaysByViewport),p=Yp(u,f),h=Zp(u);bw(a,h),bw(l,t);var g=Hu(h,t,r,a,l),m=qe.merge(h,g);if(p&&(s.adjustX||s.adjustY)&&o){if(s.adjustX&&hw(g,h,p)){var b=qu(r,/[lr]/gi,{l:"r",r:"l"}),y=Ku(a,0),x=Ku(l,0),w=Hu(h,t,b,y,x);t_(w,h,p)||(d=1,r=b,a=y,l=x)}if(s.adjustY&&gw(g,h,p)){var S=qu(r,/[tb]/gi,{t:"b",b:"t"}),C=Ku(a,1),$=Ku(l,1),v=Hu(h,t,S,C,$);n_(v,h,p)||(d=1,r=S,a=C,l=$)}d&&(g=Hu(h,t,r,a,l),qe.mix(m,g));var k=hw(g,h,p),O=gw(g,h,p);if(k||O){var P=r;k&&(P=qu(r,/[lr]/gi,{l:"r",r:"l"})),O&&(P=qu(r,/[tb]/gi,{t:"b",b:"t"})),r=P,a=n.offset||[0,0],l=n.targetOffset||[0,0]}c.adjustX=s.adjustX&&k,c.adjustY=s.adjustY&&O,(c.adjustX||c.adjustY)&&(m=e_(g,h,p,c))}return m.width!==h.width&&qe.css(u,"width",qe.width(u)+m.width-h.width),m.height!==h.height&&qe.css(u,"height",qe.height(u)+m.height-h.height),qe.offset(u,{left:m.left,top:m.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:a,targetOffset:l,overflow:c}}function o_(e,t){var n=Yp(e,t),o=Zp(e);return!n||o.left+o.width<=n.left||o.top+o.height<=n.top||o.left>=n.right||o.top>=n.bottom}function Qp(e,t,n){var o=n.target||t,r=Zp(o),a=!o_(o,n.overflow&&n.overflow.alwaysByViewport);return yw(e,r,n,a)}Qp.__getOffsetParent=Gp,Qp.__getVisibleRectForElement=Yp;function r_(e,t,n){var o,r,a=qe.getDocument(e),l=a.defaultView||a.parentWindow,s=qe.getWindowScrollLeft(l),u=qe.getWindowScrollTop(l),c=qe.viewportWidth(l),d=qe.viewportHeight(l);"pageX"in t?o=t.pageX:o=s+t.clientX,"pageY"in t?r=t.pageY:r=u+t.clientY;var f={left:o,top:r,width:0,height:0},p=o>=0&&o<=s+c&&r>=0&&r<=u+d,h=[n.points[0],"cc"];return yw(e,f,Qx(Qx({},n),{},{points:h}),p)}function ft(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=io(e)[0]),!r)return null;const a=i.cloneVNode(r,t,o);return a.props=n?N(N({},a.props),t):a.props,tn(typeof a.props.class!="object","class must be string"),a}const vw=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 i_(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 a_(e,t){e!==document.activeElement&&qr(t,e)&&typeof e.focus=="function"&&e.focus()}function xw(e,t){let n=null,o=null;function r(l){let[{target:s}]=l;if(!document.documentElement.contains(s))return;const{width:u,height:c}=s.getBoundingClientRect(),d=Math.floor(u),f=Math.floor(c);(n!==d||o!==f)&&Promise.resolve().then(()=>{t({width:d,height:f})}),n=d,o=f}const a=new $1(r);return e&&a.observe(e),()=>{a.disconnect()}}const l_=(e,t)=>{let n=!1,o=null;function r(){clearTimeout(o)}function a(l){if(!n||l===!0){if(e()===!1)return;n=!0,r(),o=setTimeout(()=>{n=!1},t.value)}else r(),o=setTimeout(()=>{n=!1,a()},t.value)}return[a,()=>{n=!1,r()}]};function s_(){this.__data__=[],this.size=0}function ww(e,t){return e===t||e!==e&&t!==t}function Wu(e,t){for(var n=e.length;n--;)if(ww(e[n][0],t))return n;return-1}var u_=Array.prototype,c_=u_.splice;function d_(e){var t=this.__data__,n=Wu(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():c_.call(t,n,1),--this.size,!0}function f_(e){var t=this.__data__,n=Wu(t,e);return n<0?void 0:t[n][1]}function p_(e){return Wu(this.__data__,e)>-1}function h_(e,t){var n=this.__data__,o=Wu(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function jo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}jo.prototype.clear=s_,jo.prototype.delete=d_,jo.prototype.get=f_,jo.prototype.has=p_,jo.prototype.set=h_;function g_(){this.__data__=new jo,this.size=0}function m_(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function b_(e){return this.__data__.get(e)}function y_(e){return this.__data__.has(e)}var Cw=typeof global=="object"&&global&&global.Object===Object&&global,v_=typeof self=="object"&&self&&self.Object===Object&&self,Ao=Cw||v_||Function("return this")(),lr=Ao.Symbol,Sw=Object.prototype,x_=Sw.hasOwnProperty,w_=Sw.toString,jl=lr?lr.toStringTag:void 0;function C_(e){var t=x_.call(e,jl),n=e[jl];try{e[jl]=void 0;var o=!0}catch{}var r=w_.call(e);return o&&(t?e[jl]=n:delete e[jl]),r}var S_=Object.prototype,$_=S_.toString;function O_(e){return $_.call(e)}var E_="[object Null]",k_="[object Undefined]",$w=lr?lr.toStringTag:void 0;function Jr(e){return e==null?e===void 0?k_:E_:$w&&$w in Object(e)?C_(e):O_(e)}function Jp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var z_="[object AsyncFunction]",P_="[object Function]",N_="[object GeneratorFunction]",T_="[object Proxy]";function Ow(e){if(!Jp(e))return!1;var t=Jr(e);return t==P_||t==N_||t==z_||t==T_}var eh=Ao["__core-js_shared__"],Ew=function(){var e=/[^.]+$/.exec(eh&&eh.keys&&eh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function I_(e){return!!Ew&&Ew in e}var j_=Function.prototype,A_=j_.toString;function ei(e){if(e!=null){try{return A_.call(e)}catch{}try{return e+""}catch{}}return""}var __=/[\\^$.*+?()[\]{}|]/g,D_=/^\[object .+?Constructor\]$/,R_=Function.prototype,M_=Object.prototype,B_=R_.toString,V_=M_.hasOwnProperty,F_=RegExp("^"+B_.call(V_).replace(__,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function L_(e){if(!Jp(e)||I_(e))return!1;var t=Ow(e)?F_:D_;return t.test(ei(e))}function H_(e,t){return e==null?void 0:e[t]}function ta(e,t){var n=H_(e,t);return L_(n)?n:void 0}var Al=ta(Ao,"Map"),_l=ta(Object,"create");function q_(){this.__data__=_l?_l(null):{},this.size=0}function K_(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var W_="__lodash_hash_undefined__",U_=Object.prototype,X_=U_.hasOwnProperty;function G_(e){var t=this.__data__;if(_l){var n=t[e];return n===W_?void 0:n}return X_.call(t,e)?t[e]:void 0}var Y_=Object.prototype,Z_=Y_.hasOwnProperty;function Q_(e){var t=this.__data__;return _l?t[e]!==void 0:Z_.call(t,e)}var J_="__lodash_hash_undefined__";function e9(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_l&&t===void 0?J_:t,this}function ti(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}ti.prototype.clear=q_,ti.prototype.delete=K_,ti.prototype.get=G_,ti.prototype.has=Q_,ti.prototype.set=e9;function t9(){this.size=0,this.__data__={hash:new ti,map:new(Al||jo),string:new ti}}function n9(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Uu(e,t){var n=e.__data__;return n9(t)?n[typeof t=="string"?"string":"hash"]:n.map}function o9(e){var t=Uu(this,e).delete(e);return this.size-=t?1:0,t}function r9(e){return Uu(this,e).get(e)}function i9(e){return Uu(this,e).has(e)}function a9(e,t){var n=Uu(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function _o(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_o.prototype.clear=t9,_o.prototype.delete=o9,_o.prototype.get=r9,_o.prototype.has=i9,_o.prototype.set=a9;var l9=200;function s9(e,t){var n=this.__data__;if(n instanceof jo){var o=n.__data__;if(!Al||o.length<l9-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new _o(o)}return n.set(e,t),this.size=n.size,this}function Do(e){var t=this.__data__=new jo(e);this.size=t.size}Do.prototype.clear=g_,Do.prototype.delete=m_,Do.prototype.get=b_,Do.prototype.has=y_,Do.prototype.set=s9;var u9="__lodash_hash_undefined__";function c9(e){return this.__data__.set(e,u9),this}function d9(e){return this.__data__.has(e)}function Dl(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new _o;++t<n;)this.add(e[t])}Dl.prototype.add=Dl.prototype.push=c9,Dl.prototype.has=d9;function f9(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function kw(e,t){return e.has(t)}var p9=1,h9=2;function zw(e,t,n,o,r,a){var l=n&p9,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=n&h9?new Dl:void 0;for(a.set(e,t),a.set(t,e);++f<s;){var g=e[f],m=t[f];if(o)var b=l?o(m,g,f,t,e,a):o(g,m,f,e,t,a);if(b!==void 0){if(b)continue;p=!1;break}if(h){if(!f9(t,function(y,x){if(!kw(h,x)&&(g===y||r(g,y,n,o,a)))return h.push(x)})){p=!1;break}}else if(!(g===m||r(g,m,n,o,a))){p=!1;break}}return a.delete(e),a.delete(t),p}var Pw=Ao.Uint8Array;function g9(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}function th(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var m9=1,b9=2,y9="[object Boolean]",v9="[object Date]",x9="[object Error]",w9="[object Map]",C9="[object Number]",S9="[object RegExp]",$9="[object Set]",O9="[object String]",E9="[object Symbol]",k9="[object ArrayBuffer]",z9="[object DataView]",Nw=lr?lr.prototype:void 0,nh=Nw?Nw.valueOf:void 0;function P9(e,t,n,o,r,a,l){switch(n){case z9:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k9:return!(e.byteLength!=t.byteLength||!a(new Pw(e),new Pw(t)));case y9:case v9:case C9:return ww(+e,+t);case x9:return e.name==t.name&&e.message==t.message;case S9:case O9:return e==t+"";case w9:var s=g9;case $9:var u=o&m9;if(s||(s=th),e.size!=t.size&&!u)return!1;var c=l.get(e);if(c)return c==t;o|=b9,l.set(e,t);var d=zw(s(e),s(t),o,r,a,l);return l.delete(e),d;case E9:if(nh)return nh.call(e)==nh.call(t)}return!1}function N9(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var Kn=Array.isArray;function T9(e,t,n){var o=t(e);return Kn(e)?o:N9(o,n(e))}function I9(e,t){for(var n=-1,o=e==null?0:e.length,r=0,a=[];++n<o;){var l=e[n];t(l,n,e)&&(a[r++]=l)}return a}function j9(){return[]}var A9=Object.prototype,_9=A9.propertyIsEnumerable,Tw=Object.getOwnPropertySymbols,D9=Tw?function(e){return e==null?[]:(e=Object(e),I9(Tw(e),function(t){return _9.call(e,t)}))}:j9;function R9(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}function ni(e){return e!=null&&typeof e=="object"}var M9="[object Arguments]";function Iw(e){return ni(e)&&Jr(e)==M9}var jw=Object.prototype,B9=jw.hasOwnProperty,V9=jw.propertyIsEnumerable,oh=Iw(function(){return arguments}())?Iw:function(e){return ni(e)&&B9.call(e,"callee")&&!V9.call(e,"callee")};function F9(){return!1}var Aw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,_w=Aw&&typeof module=="object"&&module&&!module.nodeType&&module,L9=_w&&_w.exports===Aw,Dw=L9?Ao.Buffer:void 0,H9=Dw?Dw.isBuffer:void 0,Xu=H9||F9,q9=9007199254740991,K9=/^(?:0|[1-9]\d*)$/;function Rw(e,t){var n=typeof e;return t=t??q9,!!t&&(n=="number"||n!="symbol"&&K9.test(e))&&e>-1&&e%1==0&&e<t}var W9=9007199254740991;function rh(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=W9}var U9="[object Arguments]",X9="[object Array]",G9="[object Boolean]",Y9="[object Date]",Z9="[object Error]",Q9="[object Function]",J9="[object Map]",e7="[object Number]",t7="[object Object]",n7="[object RegExp]",o7="[object Set]",r7="[object String]",i7="[object WeakMap]",a7="[object ArrayBuffer]",l7="[object DataView]",s7="[object Float32Array]",u7="[object Float64Array]",c7="[object Int8Array]",d7="[object Int16Array]",f7="[object Int32Array]",p7="[object Uint8Array]",h7="[object Uint8ClampedArray]",g7="[object Uint16Array]",m7="[object Uint32Array]",ct={};ct[s7]=ct[u7]=ct[c7]=ct[d7]=ct[f7]=ct[p7]=ct[h7]=ct[g7]=ct[m7]=!0,ct[U9]=ct[X9]=ct[a7]=ct[G9]=ct[l7]=ct[Y9]=ct[Z9]=ct[Q9]=ct[J9]=ct[e7]=ct[t7]=ct[n7]=ct[o7]=ct[r7]=ct[i7]=!1;function b7(e){return ni(e)&&rh(e.length)&&!!ct[Jr(e)]}function y7(e){return function(t){return e(t)}}var Mw=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Rl=Mw&&typeof module=="object"&&module&&!module.nodeType&&module,v7=Rl&&Rl.exports===Mw,ih=v7&&Cw.process,Bw=function(){try{var e=Rl&&Rl.require&&Rl.require("util").types;return e||ih&&ih.binding&&ih.binding("util")}catch{}}(),Vw=Bw&&Bw.isTypedArray,ah=Vw?y7(Vw):b7,x7=Object.prototype,w7=x7.hasOwnProperty;function C7(e,t){var n=Kn(e),o=!n&&oh(e),r=!n&&!o&&Xu(e),a=!n&&!o&&!r&&ah(e),l=n||o||r||a,s=l?R9(e.length,String):[],u=s.length;for(var c in e)w7.call(e,c)&&!(l&&(c=="length"||r&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Rw(c,u)))&&s.push(c);return s}var S7=Object.prototype;function Fw(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||S7;return e===n}function Lw(e,t){return function(n){return e(t(n))}}var $7=Lw(Object.keys,Object),O7=Object.prototype,E7=O7.hasOwnProperty;function Hw(e){if(!Fw(e))return $7(e);var t=[];for(var n in Object(e))E7.call(e,n)&&n!="constructor"&&t.push(n);return t}function lh(e){return e!=null&&rh(e.length)&&!Ow(e)}function sh(e){return lh(e)?C7(e):Hw(e)}function qw(e){return T9(e,sh,D9)}var k7=1,z7=Object.prototype,P7=z7.hasOwnProperty;function N7(e,t,n,o,r,a){var l=n&k7,s=qw(e),u=s.length,c=qw(t),d=c.length;if(u!=d&&!l)return!1;for(var f=u;f--;){var p=s[f];if(!(l?p in t:P7.call(t,p)))return!1}var h=a.get(e),g=a.get(t);if(h&&g)return h==t&&g==e;var m=!0;a.set(e,t),a.set(t,e);for(var b=l;++f<u;){p=s[f];var y=e[p],x=t[p];if(o)var w=l?o(x,y,p,t,e,a):o(y,x,p,e,t,a);if(!(w===void 0?y===x||r(y,x,n,o,a):w)){m=!1;break}b||(b=p=="constructor")}if(m&&!b){var S=e.constructor,C=t.constructor;S!=C&&"constructor"in e&&"constructor"in t&&!(typeof S=="function"&&S instanceof S&&typeof C=="function"&&C instanceof C)&&(m=!1)}return a.delete(e),a.delete(t),m}var uh=ta(Ao,"DataView"),ch=ta(Ao,"Promise"),na=ta(Ao,"Set"),dh=ta(Ao,"WeakMap"),Kw="[object Map]",T7="[object Object]",Ww="[object Promise]",Uw="[object Set]",Xw="[object WeakMap]",Gw="[object DataView]",I7=ei(uh),j7=ei(Al),A7=ei(ch),_7=ei(na),D7=ei(dh),Ro=Jr;(uh&&Ro(new uh(new ArrayBuffer(1)))!=Gw||Al&&Ro(new Al)!=Kw||ch&&Ro(ch.resolve())!=Ww||na&&Ro(new na)!=Uw||dh&&Ro(new dh)!=Xw)&&(Ro=function(e){var t=Jr(e),n=t==T7?e.constructor:void 0,o=n?ei(n):"";if(o)switch(o){case I7:return Gw;case j7:return Kw;case A7:return Ww;case _7:return Uw;case D7:return Xw}return t});var R7=1,Yw="[object Arguments]",Zw="[object Array]",Gu="[object Object]",M7=Object.prototype,Qw=M7.hasOwnProperty;function B7(e,t,n,o,r,a){var l=Kn(e),s=Kn(t),u=l?Zw:Ro(e),c=s?Zw:Ro(t);u=u==Yw?Gu:u,c=c==Yw?Gu:c;var d=u==Gu,f=c==Gu,p=u==c;if(p&&Xu(e)){if(!Xu(t))return!1;l=!0,d=!1}if(p&&!d)return a||(a=new Do),l||ah(e)?zw(e,t,n,o,r,a):P9(e,t,u,n,o,r,a);if(!(n&R7)){var h=d&&Qw.call(e,"__wrapped__"),g=f&&Qw.call(t,"__wrapped__");if(h||g){var m=h?e.value():e,b=g?t.value():t;return a||(a=new Do),r(m,b,n,o,a)}}return p?(a||(a=new Do),N7(e,t,n,o,r,a)):!1}function Yu(e,t,n,o,r){return e===t?!0:e==null||t==null||!ni(e)&&!ni(t)?e!==e&&t!==t:B7(e,t,n,o,Yu,r)}function V7(e,t){return Yu(e,t)}const F7={align:Object,target:[Object,Function],onAlign:Function,monitorBufferTime:Number,monitorWindowResize:Boolean,disabled:Boolean};function Jw(e){return typeof e!="function"?null:e()}function e2(e){return typeof e!="object"||!e?null:e}const L7=i.defineComponent({compatConfig:{MODE:3},name:"Align",props:F7,emits:["align"],setup(e,t){let{expose:n,slots:o}=t;const r=i.ref({}),a=i.ref(),[l,s]=l_(()=>{const{disabled:p,target:h,align:g,onAlign:m}=e;if(!p&&h&&a.value){const b=a.value;let y;const x=Jw(h),w=e2(h);r.value.element=x,r.value.point=w,r.value.align=g;const{activeElement:S}=document;return x&&vw(x)?y=Qp(b,x,g):w&&(y=r_(b,w,g)),a_(S,b),m&&y&&m(b,y),!0}return!1},i.computed(()=>e.monitorBufferTime)),u=i.ref({cancel:()=>{}}),c=i.ref({cancel:()=>{}}),d=()=>{const p=e.target,h=Jw(p),g=e2(p);a.value!==c.value.element&&(c.value.cancel(),c.value.element=a.value,c.value.cancel=xw(a.value,l)),(r.value.element!==h||!i_(r.value.point,g)||!V7(r.value.align,e.align))&&(l(),u.value.element!==h&&(u.value.cancel(),u.value.element=h,u.value.cancel=xw(h,l)))};i.onMounted(()=>{i.nextTick(()=>{d()})}),i.onUpdated(()=>{i.nextTick(()=>{d()})}),i.watch(()=>e.disabled,p=>{p?s():l()},{immediate:!0,flush:"post"});const f=i.ref(null);return i.watch(()=>e.monitorWindowResize,p=>{p?f.value||(f.value=ml(window,"resize",l)):f.value&&(f.value.remove(),f.value=null)},{flush:"post"}),i.onUnmounted(()=>{u.value.cancel(),c.value.cancel(),f.value&&f.value.remove(),s()}),n({forceAlign:()=>l(!0)}),()=>{const p=o==null?void 0:o.default();return p?ft(p[0],{ref:a},!0,!0):null}}});cl("bottomLeft","bottomRight","topLeft","topRight");const H7=e=>e!==void 0&&(e==="topLeft"||e==="topRight")?"slide-down":"slide-up",fh=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return N(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)},ph=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return N(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)},Zu=(e,t,n)=>n!==void 0?n:`${e}-${t}`,q7=i.defineComponent({compatConfig:{MODE:3},name:"PopupInner",inheritAttrs:!1,props:Mp,emits:["mouseenter","mouseleave","mousedown","touchstart","align"],setup(e,t){let{expose:n,attrs:o,slots:r}=t;const a=i.shallowRef(),l=i.shallowRef(),s=i.shallowRef(),[u,c]=TA(i.toRef(e,"stretch")),d=()=>{e.stretch&&c(e.getRootDomNode())},f=i.shallowRef(!1);let p;i.watch(()=>e.visible,$=>{clearTimeout(p),$?p=setTimeout(()=>{f.value=e.visible}):f.value=!1},{immediate:!0});const[h,g]=NA(f,d),m=i.shallowRef(),b=()=>e.point?e.point:e.getRootDomNode,y=()=>{var $;($=a.value)===null||$===void 0||$.forceAlign()},x=($,v)=>{var k;const O=e.getClassNameFromAlign(v),P=s.value;s.value!==O&&(s.value=O),h.value==="align"&&(P!==O?Promise.resolve().then(()=>{y()}):g(()=>{var T;(T=m.value)===null||T===void 0||T.call(m)}),(k=e.onAlign)===null||k===void 0||k.call(e,$,v))},w=i.computed(()=>{const $=typeof e.animation=="object"?e.animation:Bp(e);return["onAfterEnter","onAfterLeave"].forEach(v=>{const k=$[v];$[v]=O=>{g(),h.value="stable",k==null||k(O)}}),$}),S=()=>new Promise($=>{m.value=$});i.watch([w,h],()=>{!w.value&&h.value==="motion"&&g()},{immediate:!0}),n({forceAlign:y,getElement:()=>l.value.$el||l.value});const C=i.computed(()=>{var $;return!(!(($=e.align)===null||$===void 0)&&$.points&&(h.value==="align"||h.value==="stable"))});return()=>{var $;const{zIndex:v,align:k,prefixCls:O,destroyPopupOnHide:P,onMouseenter:T,onMouseleave:B,onTouchstart:A=()=>{},onMousedown:F}=e,z=h.value,_=[N(N({},u.value),{zIndex:v,opacity:z==="motion"||z==="stable"||!f.value?null:0,pointerEvents:!f.value&&z!=="stable"?"none":null}),o.style];let K=en(($=r.default)===null||$===void 0?void 0:$.call(r,{visible:e.visible}));K.length>1&&(K=i.createVNode("div",{class:`${O}-content`},[K]));const H=_e(O,o.class,s.value,!e.arrow&&`${O}-arrow-hidden`),j=f.value||!e.visible?fh(w.value.name,w.value):{};return i.createVNode(i.Transition,le(le({ref:l},j),{},{onBeforeEnter:S}),{default:()=>!P||e.visible?i.withDirectives(i.createVNode(L7,{target:b(),key:"popup",ref:a,monitorWindowResize:!0,disabled:C.value,align:k,onAlign:x},{default:()=>i.createVNode("div",{class:H,onMouseenter:T,onMouseleave:B,onMousedown:i.withModifiers(F,["capture"]),[Vr?"onTouchstartPassive":"onTouchstart"]:i.withModifiers(A,["capture"]),style:_},[K])}),[[i.vShow,f.value]]):null})}}}),K7=i.defineComponent({compatConfig:{MODE:3},name:"Popup",inheritAttrs:!1,props:kA,setup(e,t){let{attrs:n,slots:o,expose:r}=t;const a=i.shallowRef(!1),l=i.shallowRef(!1),s=i.shallowRef(),u=i.shallowRef();return i.watch([()=>e.visible,()=>e.mobile],()=>{a.value=e.visible,e.visible&&e.mobile&&(l.value=!0)},{immediate:!0,flush:"post"}),r({forceAlign:()=>{var c;(c=s.value)===null||c===void 0||c.forceAlign()},getElement:()=>{var c;return(c=s.value)===null||c===void 0?void 0:c.getElement()}}),()=>{const c=N(N(N({},e),n),{visible:a.value}),d=l.value?i.createVNode(zA,le(le({},c),{},{mobile:e.mobile,ref:s}),{default:o.default}):i.createVNode(q7,le(le({},c),{},{ref:s}),{default:o.default});return i.createVNode("div",{ref:u},[i.createVNode(Gx,c,null),d])}}});function W7(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function t2(e,t,n){const o=e[t]||{};return N(N({},o),n)}function U7(e,t,n,o){const{points:r}=n,a=Object.keys(e);for(let l=0;l<a.length;l+=1){const s=a[l];if(W7(e[s].points,r,o))return`${t}-placement-${s}`}return""}const X7={methods:{setState(){let e=arguments.length>0&&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(uI(this),N(N({},this.$data),n));if(o===null)return;n=N(N({},n),o||{})}N(this.$data,n),this._.isMounted&&this.$forceUpdate(),i.nextTick(()=>{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;o<r;o++)n[o](...e.slice(1));else n(...e.slice(1))}}},n2=Symbol("PortalContextKey"),o2=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};i.provide(n2,{inTriggerContext:t.inTriggerContext,shouldRender:i.computed(()=>{const{sPopupVisible:n,popupRef:o,forceRender:r,autoDestroy:a}=e||{};let l=!1;return(n||o||r)&&(l=!0),!n&&a&&(l=!1),l})})},G7=()=>{o2({},{inTriggerContext:!1});const e=i.inject(n2,{shouldRender:i.computed(()=>!1),inTriggerContext:!1});return{shouldRender:i.computed(()=>e.shouldRender.value||e.inTriggerContext===!1)}},r2=i.defineComponent({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:he.func.isRequired,didUpdate:Function},setup(e,t){let{slots:n}=t,o=!0,r;const{shouldRender:a}=G7();function l(){a.value&&(r=e.getContainer())}i.onBeforeMount(()=>{o=!1,l()}),i.onMounted(()=>{r||l()});const s=i.watch(a,()=>{a.value&&!r&&(r=e.getContainer()),r&&s()});return i.onUpdated(()=>{i.nextTick(()=>{var u;a.value&&((u=e.didUpdate)===null||u===void 0||u.call(e,e))})}),()=>{var u;return a.value?o?(u=n.default)===null||u===void 0?void 0:u.call(n):r?i.createVNode(i.Teleport,{to:r},n):null:null}}});let hh;function Y7(e){if(typeof document>"u")return 0;if(hh===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 a=t.offsetWidth;r===a&&(a=n.clientWidth),document.body.removeChild(n),hh=r-a}return hh}const Z7=`vc-util-locker-${Date.now()}`;let i2=0;function Q7(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}function J7(e){const t=i.computed(()=>!!e&&!!e.value);i2+=1;const n=`${Z7}_${i2}`;i.watchEffect(o=>{if(kn()){if(t.value){const r=Y7(),a=Q7();yl(`
50
50
  html body {
51
51
  overflow-y: hidden;
52
52
  ${a?`width: calc(100% - ${r}px);`:""}
53
- }`,n)}else vu(n);o(()=>{vu(n)})}},{flush:"post"})}let oi=0;const Qu=kn(),a2=e=>{if(!Qu)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},e7=i.defineComponent({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:he.any,visible:{type:Boolean,default:void 0},autoLock:nt(),didUpdate:Function},setup(e,t){let{slots:n}=t;const o=i.shallowRef(),r=i.shallowRef(),a=i.shallowRef(),l=i.shallowRef(1),s=kn()&&document.createElement("div"),u=()=>{var h,g;o.value===s&&((g=(h=o.value)===null||h===void 0?void 0:h.parentNode)===null||g===void 0||g.removeChild(o.value)),o.value=null};let c=null;const d=function(){return arguments.length>0&&arguments[0]!==void 0&&arguments[0]||o.value&&!o.value.parentNode?(c=a2(e.getContainer),c?(c.appendChild(o.value),!0):!1):!0},f=()=>Qu?(o.value||(o.value=s,d(!0)),p(),o.value):null,p=()=>{const{wrapperClassName:h}=e;o.value&&h&&h!==o.value.className&&(o.value.className=h)};return i.onUpdated(()=>{p(),d()}),JD(i.computed(()=>e.autoLock&&e.visible&&kn()&&(o.value===document.body||o.value===s))),i.onMounted(()=>{let h=!1;i.watch([()=>e.visible,()=>e.getContainer],(g,m)=>{let[b,y]=g,[x,w]=m;Qu&&(c=a2(e.getContainer),c===document.body&&(b&&!x?oi+=1:h&&(oi-=1))),h&&(typeof y=="function"&&typeof w=="function"?y.toString()!==w.toString():y!==w)&&u(),h=!0},{immediate:!0,flush:"post"}),i.nextTick(()=>{d()||(a.value=gt(()=>{l.value+=1}))})}),i.onBeforeUnmount(()=>{const{visible:h}=e;Qu&&c===document.body&&(oi=h&&oi?oi-1:oi),u(),gt.cancel(a.value)}),()=>{const{forceRender:h,visible:g}=e;let m=null;const b={getOpenCount:()=>oi,getContainer:f};return l.value&&(h||g||r.value)&&(m=i.createVNode(r2,{getContainer:f,ref:r,didUpdate:e.didUpdate},{default:()=>{var y;return(y=n.default)===null||y===void 0?void 0:y.call(n,b)}})),m}}}),t7=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],Ju=i.defineComponent({compatConfig:{MODE:3},name:"Trigger",mixins:[XD],inheritAttrs:!1,props:OA(),setup(e){const t=i.computed(()=>{const{popupPlacement:r,popupAlign:a,builtinPlacements:l}=e;return r&&l?t2(l,r,a):a}),n=i.shallowRef(null),o=r=>{n.value=r};return{vcTriggerContext:i.inject("vcTriggerContext",{}),popupRef:n,setPopupRef:o,triggerRef:i.shallowRef(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,t7.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(){i.provide("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),o2(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),gt.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let t;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(t=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=ml(t,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(t=t||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=ml(t,"touchstart",this.onDocumentClick,Vr?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(t=t||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=ml(t,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=ml(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&&qr((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){qr(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();(!qr(n,t)||this.isContextMenuOnly())&&!qr(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 a=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:Ln(this.triggerRef);return Ln(r(a))}try{const a=((o=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||o===void 0?void 0:o.nodeName)==="#comment"?null:Ln(this.triggerRef);if(a)return a}catch{}return Ln(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:o,builtinPlacements:r,prefixCls:a,alignPoint:l,getPopupClassNameFromAlign:s}=n;return o&&r&&t.push(UD(r,a,e,l)),s&&t.push(s(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:o}=e;return t&&o?t2(o,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[Vr?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:o}=this,{prefixCls:r,destroyPopupOnHide:a,popupClassName:l,popupAnimation:s,popupTransitionName:u,popupStyle:c,mask:d,maskAnimation:f,maskTransitionName:p,zIndex:h,stretch:g,alignPoint:m,mobile:b,arrow:y,forceRender:x}=this.$props,{sPopupVisible:w,point:S}=this.$data,C=N(N({prefixCls:r,arrow:y,destroyPopupOnHide:a,visible:w,point:m?S:null,align:this.align,animation:s,getClassNameFromAlign:t,stretch:g,getRootDomNode:n,mask:d,zIndex:h,transitionName:u,maskAnimation:f,maskTransitionName:p,class:l,style:c,onAlign:o.onPopupAlign||Xx},e),{ref:this.setPopupRef,mobile:b,forceRender:x});return i.createVNode(KD,C,{default:this.$slots.popup||(()=>cI(this,"popup"))})},attachParent(e){gt.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=gt(()=>{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&&(lI(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=E1(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=io(sI(this)),{alignPoint:n,getPopupContainer:o}=this.$props,r=t[0];this.childOriginEvents=E1(r);const a={key:"trigger"};this.isContextmenuToShow()?a.onContextmenu=this.onContextmenu:a.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(a.onClick=this.onClick,a.onMousedown=this.onMousedown,a[Vr?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(a.onClick=this.createTwoChains("onClick"),a.onMousedown=this.createTwoChains("onMousedown"),a[Vr?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(a.onMouseenter=this.onMouseenter,n&&(a.onMousemove=this.onMouseMove)):a.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?a.onMouseleave=this.onMouseleave:a.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(a.onFocus=this.onFocus,a.onBlur=this.onBlur):(a.onFocus=this.createTwoChains("onFocus"),a.onBlur=c=>{c&&(!c.relatedTarget||!qr(c.target,c.relatedTarget))&&this.createTwoChains("onBlur")(c)});const l=_e(r&&r.props&&r.props.class,e.class);l&&(a.class=l);const s=ft(r,N(N({},a),{ref:"triggerRef"}),!0,!0),u=i.createVNode(e7,{key:"portal",getContainer:o&&(()=>o(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return i.createVNode(i.Fragment,null,[s,u])}});var n7=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const o7=e=>{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},r7=i.defineComponent({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:he.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:he.oneOfType([Number,Boolean]).def(!0),popupElement:he.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=i.computed(()=>{const{dropdownMatchSelectWidth:s}=e;return o7(s)}),l=i.ref();return r({getPopupElement:()=>l.value}),()=>{const s=N(N({},e),o),{empty:u=!1}=s,c=n7(s,["empty"]),{visible:d,dropdownAlign:f,prefixCls:p,popupElement:h,dropdownClassName:g,dropdownStyle:m,direction:b="ltr",placement:y,dropdownMatchSelectWidth:x,containerWidth:w,dropdownRender:S,animation:C,transitionName:$,getPopupContainer:v,getTriggerDOMNode:k,onPopupVisibleChange:O,onPopupMouseEnter:P,onPopupFocusin:T,onPopupFocusout:B}=c,A=`${p}-dropdown`;let F=h;S&&(F=S({menuNode:h,props:e}));const z=C?`${A}-${C}`:$,_=N({minWidth:`${w}px`},m);return typeof x=="number"?_.width=`${x}px`:x&&(_.width=`${w}px`),i.createVNode(Ju,le(le({},e),{},{showAction:O?["click"]:[],hideAction:O?["click"]:[],popupPlacement:y||(b==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:a.value,prefixCls:A,popupTransitionName:z,popupAlign:f,popupVisible:d,getPopupContainer:v,popupClassName:_e(g,{[`${A}-empty`]:u}),popupStyle:_,getTriggerDOMNode:k,onPopupVisibleChange:O}),{default:n.default,popup:()=>i.createVNode("div",{ref:l,onMouseenter:P,onFocusin:T,onFocusout:B},[F])})}}}),Ne={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(e){const{keyCode:t}=e;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Ne.F1&&t<=Ne.F12)return!1;switch(t){case Ne.ALT:case Ne.CAPS_LOCK:case Ne.CONTEXT_MENU:case Ne.CTRL:case Ne.DOWN:case Ne.END:case Ne.ESC:case Ne.HOME:case Ne.INSERT:case Ne.LEFT:case Ne.MAC_FF_META:case Ne.META:case Ne.NUMLOCK:case Ne.NUM_CENTER:case Ne.PAGE_DOWN:case Ne.PAGE_UP:case Ne.PAUSE:case Ne.PRINT_SCREEN:case Ne.RIGHT:case Ne.SHIFT:case Ne.UP:case Ne.WIN_KEY:case Ne.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Ne.ZERO&&e<=Ne.NINE||e>=Ne.NUM_ZERO&&e<=Ne.NUM_MULTIPLY||e>=Ne.A&&e<=Ne.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&e===0)return!0;switch(e){case Ne.SPACE:case Ne.QUESTION_MARK:case Ne.NUM_PLUS:case Ne.NUM_MINUS:case Ne.NUM_PERIOD:case Ne.NUM_DIVISION:case Ne.SEMICOLON:case Ne.DASH:case Ne.EQUALS:case Ne.COMMA:case Ne.PERIOD:case Ne.SLASH:case Ne.APOSTROPHE:case Ne.SINGLE_QUOTE:case Ne.OPEN_SQUARE_BRACKET:case Ne.BACKSLASH:case Ne.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},oa=(e,t)=>{let{slots:n}=t;var o;const{class:r,customizeIcon:a,customizeIconProps:l,onMousedown:s,onClick:u}=e;let c;return typeof a=="function"?c=a(l):c=i.isVNode(a)?i.cloneVNode(a):a,i.createVNode("span",{class:r,onMousedown:d=>{d.preventDefault(),s&&s(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:u,"aria-hidden":!0},[c!==void 0?c:i.createVNode("span",{class:r.split(/\s+/).map(d=>`${d}-icon`)},[(o=n.default)===null||o===void 0?void 0:o.call(n)])])};oa.inheritAttrs=!1,oa.displayName="TransBtn",oa.props={class:String,customizeIcon:he.any,customizeIconProps:he.any,onMousedown:Function,onClick:Function};var i7=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const a7=i.defineComponent({compatConfig:{MODE:3},props:{disabled:he.looseBool,type:he.string,value:he.any,tag:{type:String,default:"input"},size:he.string,onChange:Function,onInput:Function,onBlur:Function,onFocus:Function,onKeydown:Function,onCompositionstart:Function,onCompositionend:Function,onKeyup:Function,onPaste:Function,onMousedown:Function},emits:["change","input","blur","keydown","focus","compositionstart","compositionend","keyup","paste","mousedown"],setup(e,t){let{expose:n}=t;const o=i.shallowRef(null);return n({focus:()=>{o.value&&o.value.focus()},blur:()=>{o.value&&o.value.blur()},input:o,setSelectionRange:(r,a,l)=>{var s;(s=o.value)===null||s===void 0||s.setSelectionRange(r,a,l)},select:()=>{var r;(r=o.value)===null||r===void 0||r.select()},getSelectionStart:()=>{var r;return(r=o.value)===null||r===void 0?void 0:r.selectionStart},getSelectionEnd:()=>{var r;return(r=o.value)===null||r===void 0?void 0:r.selectionEnd},getScrollTop:()=>{var r;return(r=o.value)===null||r===void 0?void 0:r.scrollTop}}),()=>{const{tag:r,value:a}=e,l=i7(e,["tag","value"]);return i.createVNode(r,le(le({},l),{},{ref:o,value:a}),null)}}});function l7(e){return Array.prototype.slice.apply(e).map(t=>`${t}: ${e.getPropertyValue(t)};`).join("")}function s7(e){return Object.keys(e).reduce((t,n)=>{const o=e[n];return typeof o>"u"||o===null||(t+=`${n}: ${e[n]};`),t},"")}var u7=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const gh=i.defineComponent({compatConfig:{MODE:3},inheritAttrs:!1,props:{disabled:he.looseBool,type:he.string,value:he.any,lazy:he.bool.def(!0),tag:{type:String,default:"input"},size:he.string,style:he.oneOfType([String,Object]),class:he.string},emits:["change","input","blur","keydown","focus","compositionstart","compositionend","keyup","paste","mousedown"],setup(e,t){let{emit:n,attrs:o,expose:r}=t;const a=i.shallowRef(null),l=i.ref(),s=i.ref(!1);i.watch([()=>e.value,s],()=>{s.value||(l.value=e.value)},{immediate:!0});const u=v=>{n("change",v)},c=v=>{s.value=!0,v.target.composing=!0,n("compositionstart",v)},d=v=>{s.value=!1,v.target.composing=!1,n("compositionend",v);const k=document.createEvent("HTMLEvents");k.initEvent("input",!0,!0),v.target.dispatchEvent(k),u(v)},f=v=>{if(s.value&&e.lazy){l.value=v.target.value;return}n("input",v)},p=v=>{n("blur",v)},h=v=>{n("focus",v)},g=()=>{a.value&&a.value.focus()},m=()=>{a.value&&a.value.blur()},b=v=>{n("keydown",v)},y=v=>{n("keyup",v)},x=(v,k,O)=>{var P;(P=a.value)===null||P===void 0||P.setSelectionRange(v,k,O)},w=()=>{var v;(v=a.value)===null||v===void 0||v.select()};r({focus:g,blur:m,input:i.computed(()=>{var v;return(v=a.value)===null||v===void 0?void 0:v.input}),setSelectionRange:x,select:w,getSelectionStart:()=>{var v;return(v=a.value)===null||v===void 0?void 0:v.getSelectionStart()},getSelectionEnd:()=>{var v;return(v=a.value)===null||v===void 0?void 0:v.getSelectionEnd()},getScrollTop:()=>{var v;return(v=a.value)===null||v===void 0?void 0:v.getScrollTop()}});const S=v=>{n("mousedown",v)},C=v=>{n("paste",v)},$=i.computed(()=>e.style&&typeof e.style!="string"?s7(e.style):e.style);return()=>{const v=u7(e,["style","lazy"]);return i.createVNode(a7,le(le(le({},v),o),{},{style:$.value,onInput:f,onChange:u,onBlur:p,onFocus:h,ref:a,value:l.value,onCompositionstart:c,onCompositionend:d,onKeyup:y,onKeydown:b,onPaste:C,onMousedown:S}),null)}}}),c7={inputRef:he.any,prefixCls:String,id:String,inputElement:he.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:he.oneOfType([he.number,he.string]),attrs:he.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},l2=i.defineComponent({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:c7,setup(e){let t=null;const n=i.inject("VCSelectContainerEvent");return()=>{var o;const{prefixCls:r,id:a,inputElement:l,disabled:s,tabindex:u,autofocus:c,autocomplete:d,editable:f,activeDescendantId:p,value:h,onKeydown:g,onMousedown:m,onChange:b,onPaste:y,onCompositionstart:x,onCompositionend:w,onFocus:S,onBlur:C,open:$,inputRef:v,attrs:k}=e;let O=l||i.createVNode(gh,null,null);const P=O.props||{},{onKeydown:T,onInput:B,onFocus:A,onBlur:F,onMousedown:z,onCompositionstart:_,onCompositionend:K,style:H}=P;return O=ft(O,N(N(N(N(N({type:"search"},P),{id:a,ref:v,disabled:s,tabindex:u,lazy:!1,autocomplete:d||"off",autofocus:c,class:_e(`${r}-selection-search-input`,(o=O==null?void 0:O.props)===null||o===void 0?void 0:o.class),role:"combobox","aria-expanded":$,"aria-haspopup":"listbox","aria-owns":`${a}_list`,"aria-autocomplete":"list","aria-controls":`${a}_list`,"aria-activedescendant":p}),k),{value:f?h:"",readonly:!f,unselectable:f?null:"on",style:N(N({},H),{opacity:f?null:0}),onKeydown:j=>{g(j),T&&T(j)},onMousedown:j=>{m(j),z&&z(j)},onInput:j=>{b(j),B&&B(j)},onCompositionstart(j){x(j),_&&_(j)},onCompositionend(j){w(j),K&&K(j)},onPaste:y,onFocus:function(){clearTimeout(t),A&&A(arguments.length<=0?void 0:arguments[0]),S&&S(arguments.length<=0?void 0:arguments[0]),n==null||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var j=arguments.length,L=new Array(j),G=0;G<j;G++)L[G]=arguments[G];t=setTimeout(()=>{F&&F(L[0]),C&&C(L[0]),n==null||n.blur(L[0])},100)}}),O.type==="textarea"?{}:{type:"search"}),!0,!0),O}}}),d7=`accept acceptcharset accesskey action allowfullscreen allowtransparency
53
+ }`,n)}else vu(n);o(()=>{vu(n)})}},{flush:"post"})}let oi=0;const Qu=kn(),a2=e=>{if(!Qu)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},eD=i.defineComponent({compatConfig:{MODE:3},name:"PortalWrapper",inheritAttrs:!1,props:{wrapperClassName:String,forceRender:{type:Boolean,default:void 0},getContainer:he.any,visible:{type:Boolean,default:void 0},autoLock:nt(),didUpdate:Function},setup(e,t){let{slots:n}=t;const o=i.shallowRef(),r=i.shallowRef(),a=i.shallowRef(),l=i.shallowRef(1),s=kn()&&document.createElement("div"),u=()=>{var h,g;o.value===s&&((g=(h=o.value)===null||h===void 0?void 0:h.parentNode)===null||g===void 0||g.removeChild(o.value)),o.value=null};let c=null;const d=function(){return arguments.length>0&&arguments[0]!==void 0&&arguments[0]||o.value&&!o.value.parentNode?(c=a2(e.getContainer),c?(c.appendChild(o.value),!0):!1):!0},f=()=>Qu?(o.value||(o.value=s,d(!0)),p(),o.value):null,p=()=>{const{wrapperClassName:h}=e;o.value&&h&&h!==o.value.className&&(o.value.className=h)};return i.onUpdated(()=>{p(),d()}),J7(i.computed(()=>e.autoLock&&e.visible&&kn()&&(o.value===document.body||o.value===s))),i.onMounted(()=>{let h=!1;i.watch([()=>e.visible,()=>e.getContainer],(g,m)=>{let[b,y]=g,[x,w]=m;Qu&&(c=a2(e.getContainer),c===document.body&&(b&&!x?oi+=1:h&&(oi-=1))),h&&(typeof y=="function"&&typeof w=="function"?y.toString()!==w.toString():y!==w)&&u(),h=!0},{immediate:!0,flush:"post"}),i.nextTick(()=>{d()||(a.value=gt(()=>{l.value+=1}))})}),i.onBeforeUnmount(()=>{const{visible:h}=e;Qu&&c===document.body&&(oi=h&&oi?oi-1:oi),u(),gt.cancel(a.value)}),()=>{const{forceRender:h,visible:g}=e;let m=null;const b={getOpenCount:()=>oi,getContainer:f};return l.value&&(h||g||r.value)&&(m=i.createVNode(r2,{getContainer:f,ref:r,didUpdate:e.didUpdate},{default:()=>{var y;return(y=n.default)===null||y===void 0?void 0:y.call(n,b)}})),m}}}),tD=["onClick","onMousedown","onTouchstart","onMouseenter","onMouseleave","onFocus","onBlur","onContextmenu"],Ju=i.defineComponent({compatConfig:{MODE:3},name:"Trigger",mixins:[X7],inheritAttrs:!1,props:OA(),setup(e){const t=i.computed(()=>{const{popupPlacement:r,popupAlign:a,builtinPlacements:l}=e;return r&&l?t2(l,r,a):a}),n=i.shallowRef(null),o=r=>{n.value=r};return{vcTriggerContext:i.inject("vcTriggerContext",{}),popupRef:n,setPopupRef:o,triggerRef:i.shallowRef(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,tD.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(){i.provide("vcTriggerContext",{onPopupMouseDown:this.onPopupMouseDown,onPopupMouseenter:this.onPopupMouseenter,onPopupMouseleave:this.onPopupMouseleave}),o2(this)},deactivated(){this.setPopupVisible(!1)},mounted(){this.$nextTick(()=>{this.updatedCal()})},updated(){this.$nextTick(()=>{this.updatedCal()})},beforeUnmount(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),gt.cancel(this.attachId)},methods:{updatedCal(){const e=this.$props;if(this.$data.sPopupVisible){let t;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextmenuToShow())&&(t=e.getDocument(this.getRootDomNode()),this.clickOutsideHandler=ml(t,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(t=t||e.getDocument(this.getRootDomNode()),this.touchOutsideHandler=ml(t,"touchstart",this.onDocumentClick,Vr?{passive:!1}:!1)),!this.contextmenuOutsideHandler1&&this.isContextmenuToShow()&&(t=t||e.getDocument(this.getRootDomNode()),this.contextmenuOutsideHandler1=ml(t,"scroll",this.onContextmenuClose)),!this.contextmenuOutsideHandler2&&this.isContextmenuToShow()&&(this.contextmenuOutsideHandler2=ml(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&&qr((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){qr(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();(!qr(n,t)||this.isContextMenuOnly())&&!qr(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 a=((t=(e=this.triggerRef)===null||e===void 0?void 0:e.$el)===null||t===void 0?void 0:t.nodeName)==="#comment"?null:Ln(this.triggerRef);return Ln(r(a))}try{const a=((o=(n=this.triggerRef)===null||n===void 0?void 0:n.$el)===null||o===void 0?void 0:o.nodeName)==="#comment"?null:Ln(this.triggerRef);if(a)return a}catch{}return Ln(this)},handleGetPopupClassFromAlign(e){const t=[],n=this.$props,{popupPlacement:o,builtinPlacements:r,prefixCls:a,alignPoint:l,getPopupClassNameFromAlign:s}=n;return o&&r&&t.push(U7(r,a,e,l)),s&&t.push(s(e)),t.join(" ")},getPopupAlign(){const e=this.$props,{popupPlacement:t,popupAlign:n,builtinPlacements:o}=e;return t&&o?t2(o,t,n):n},getComponent(){const e={};this.isMouseEnterToShow()&&(e.onMouseenter=this.onPopupMouseenter),this.isMouseLeaveToHide()&&(e.onMouseleave=this.onPopupMouseleave),e.onMousedown=this.onPopupMouseDown,e[Vr?"onTouchstartPassive":"onTouchstart"]=this.onPopupMouseDown;const{handleGetPopupClassFromAlign:t,getRootDomNode:n,$attrs:o}=this,{prefixCls:r,destroyPopupOnHide:a,popupClassName:l,popupAnimation:s,popupTransitionName:u,popupStyle:c,mask:d,maskAnimation:f,maskTransitionName:p,zIndex:h,stretch:g,alignPoint:m,mobile:b,arrow:y,forceRender:x}=this.$props,{sPopupVisible:w,point:S}=this.$data,C=N(N({prefixCls:r,arrow:y,destroyPopupOnHide:a,visible:w,point:m?S:null,align:this.align,animation:s,getClassNameFromAlign:t,stretch:g,getRootDomNode:n,mask:d,zIndex:h,transitionName:u,maskAnimation:f,maskTransitionName:p,class:l,style:c,onAlign:o.onPopupAlign||Xx},e),{ref:this.setPopupRef,mobile:b,forceRender:x});return i.createVNode(K7,C,{default:this.$slots.popup||(()=>cI(this,"popup"))})},attachParent(e){gt.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=gt(()=>{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&&(lI(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=E1(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=io(sI(this)),{alignPoint:n,getPopupContainer:o}=this.$props,r=t[0];this.childOriginEvents=E1(r);const a={key:"trigger"};this.isContextmenuToShow()?a.onContextmenu=this.onContextmenu:a.onContextmenu=this.createTwoChains("onContextmenu"),this.isClickToHide()||this.isClickToShow()?(a.onClick=this.onClick,a.onMousedown=this.onMousedown,a[Vr?"onTouchstartPassive":"onTouchstart"]=this.onTouchstart):(a.onClick=this.createTwoChains("onClick"),a.onMousedown=this.createTwoChains("onMousedown"),a[Vr?"onTouchstartPassive":"onTouchstart"]=this.createTwoChains("onTouchstart")),this.isMouseEnterToShow()?(a.onMouseenter=this.onMouseenter,n&&(a.onMousemove=this.onMouseMove)):a.onMouseenter=this.createTwoChains("onMouseenter"),this.isMouseLeaveToHide()?a.onMouseleave=this.onMouseleave:a.onMouseleave=this.createTwoChains("onMouseleave"),this.isFocusToShow()||this.isBlurToHide()?(a.onFocus=this.onFocus,a.onBlur=this.onBlur):(a.onFocus=this.createTwoChains("onFocus"),a.onBlur=c=>{c&&(!c.relatedTarget||!qr(c.target,c.relatedTarget))&&this.createTwoChains("onBlur")(c)});const l=_e(r&&r.props&&r.props.class,e.class);l&&(a.class=l);const s=ft(r,N(N({},a),{ref:"triggerRef"}),!0,!0),u=i.createVNode(eD,{key:"portal",getContainer:o&&(()=>o(this.getRootDomNode())),didUpdate:this.handlePortalUpdate,visible:this.$data.sPopupVisible},{default:this.getComponent});return i.createVNode(i.Fragment,null,[s,u])}});var nD=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const oD=e=>{const t=e===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1}}}},rD=i.defineComponent({name:"SelectTrigger",inheritAttrs:!1,props:{dropdownAlign:Object,visible:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},dropdownClassName:String,dropdownStyle:he.object,placement:String,empty:{type:Boolean,default:void 0},prefixCls:String,popupClassName:String,animation:String,transitionName:String,getPopupContainer:Function,dropdownRender:Function,containerWidth:Number,dropdownMatchSelectWidth:he.oneOfType([Number,Boolean]).def(!0),popupElement:he.any,direction:String,getTriggerDOMNode:Function,onPopupVisibleChange:Function,onPopupMouseEnter:Function,onPopupFocusin:Function,onPopupFocusout:Function},setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=i.computed(()=>{const{dropdownMatchSelectWidth:s}=e;return oD(s)}),l=i.ref();return r({getPopupElement:()=>l.value}),()=>{const s=N(N({},e),o),{empty:u=!1}=s,c=nD(s,["empty"]),{visible:d,dropdownAlign:f,prefixCls:p,popupElement:h,dropdownClassName:g,dropdownStyle:m,direction:b="ltr",placement:y,dropdownMatchSelectWidth:x,containerWidth:w,dropdownRender:S,animation:C,transitionName:$,getPopupContainer:v,getTriggerDOMNode:k,onPopupVisibleChange:O,onPopupMouseEnter:P,onPopupFocusin:T,onPopupFocusout:B}=c,A=`${p}-dropdown`;let F=h;S&&(F=S({menuNode:h,props:e}));const z=C?`${A}-${C}`:$,_=N({minWidth:`${w}px`},m);return typeof x=="number"?_.width=`${x}px`:x&&(_.width=`${w}px`),i.createVNode(Ju,le(le({},e),{},{showAction:O?["click"]:[],hideAction:O?["click"]:[],popupPlacement:y||(b==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:a.value,prefixCls:A,popupTransitionName:z,popupAlign:f,popupVisible:d,getPopupContainer:v,popupClassName:_e(g,{[`${A}-empty`]:u}),popupStyle:_,getTriggerDOMNode:k,onPopupVisibleChange:O}),{default:n.default,popup:()=>i.createVNode("div",{ref:l,onMouseenter:P,onFocusin:T,onFocusout:B},[F])})}}}),Ne={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(e){const{keyCode:t}=e;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=Ne.F1&&t<=Ne.F12)return!1;switch(t){case Ne.ALT:case Ne.CAPS_LOCK:case Ne.CONTEXT_MENU:case Ne.CTRL:case Ne.DOWN:case Ne.END:case Ne.ESC:case Ne.HOME:case Ne.INSERT:case Ne.LEFT:case Ne.MAC_FF_META:case Ne.META:case Ne.NUMLOCK:case Ne.NUM_CENTER:case Ne.PAGE_DOWN:case Ne.PAGE_UP:case Ne.PAUSE:case Ne.PRINT_SCREEN:case Ne.RIGHT:case Ne.SHIFT:case Ne.UP:case Ne.WIN_KEY:case Ne.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=Ne.ZERO&&e<=Ne.NINE||e>=Ne.NUM_ZERO&&e<=Ne.NUM_MULTIPLY||e>=Ne.A&&e<=Ne.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&e===0)return!0;switch(e){case Ne.SPACE:case Ne.QUESTION_MARK:case Ne.NUM_PLUS:case Ne.NUM_MINUS:case Ne.NUM_PERIOD:case Ne.NUM_DIVISION:case Ne.SEMICOLON:case Ne.DASH:case Ne.EQUALS:case Ne.COMMA:case Ne.PERIOD:case Ne.SLASH:case Ne.APOSTROPHE:case Ne.SINGLE_QUOTE:case Ne.OPEN_SQUARE_BRACKET:case Ne.BACKSLASH:case Ne.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},oa=(e,t)=>{let{slots:n}=t;var o;const{class:r,customizeIcon:a,customizeIconProps:l,onMousedown:s,onClick:u}=e;let c;return typeof a=="function"?c=a(l):c=i.isVNode(a)?i.cloneVNode(a):a,i.createVNode("span",{class:r,onMousedown:d=>{d.preventDefault(),s&&s(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:u,"aria-hidden":!0},[c!==void 0?c:i.createVNode("span",{class:r.split(/\s+/).map(d=>`${d}-icon`)},[(o=n.default)===null||o===void 0?void 0:o.call(n)])])};oa.inheritAttrs=!1,oa.displayName="TransBtn",oa.props={class:String,customizeIcon:he.any,customizeIconProps:he.any,onMousedown:Function,onClick:Function};var iD=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const aD=i.defineComponent({compatConfig:{MODE:3},props:{disabled:he.looseBool,type:he.string,value:he.any,tag:{type:String,default:"input"},size:he.string,onChange:Function,onInput:Function,onBlur:Function,onFocus:Function,onKeydown:Function,onCompositionstart:Function,onCompositionend:Function,onKeyup:Function,onPaste:Function,onMousedown:Function},emits:["change","input","blur","keydown","focus","compositionstart","compositionend","keyup","paste","mousedown"],setup(e,t){let{expose:n}=t;const o=i.shallowRef(null);return n({focus:()=>{o.value&&o.value.focus()},blur:()=>{o.value&&o.value.blur()},input:o,setSelectionRange:(r,a,l)=>{var s;(s=o.value)===null||s===void 0||s.setSelectionRange(r,a,l)},select:()=>{var r;(r=o.value)===null||r===void 0||r.select()},getSelectionStart:()=>{var r;return(r=o.value)===null||r===void 0?void 0:r.selectionStart},getSelectionEnd:()=>{var r;return(r=o.value)===null||r===void 0?void 0:r.selectionEnd},getScrollTop:()=>{var r;return(r=o.value)===null||r===void 0?void 0:r.scrollTop}}),()=>{const{tag:r,value:a}=e,l=iD(e,["tag","value"]);return i.createVNode(r,le(le({},l),{},{ref:o,value:a}),null)}}});function lD(e){return Array.prototype.slice.apply(e).map(t=>`${t}: ${e.getPropertyValue(t)};`).join("")}function sD(e){return Object.keys(e).reduce((t,n)=>{const o=e[n];return typeof o>"u"||o===null||(t+=`${n}: ${e[n]};`),t},"")}var uD=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const gh=i.defineComponent({compatConfig:{MODE:3},inheritAttrs:!1,props:{disabled:he.looseBool,type:he.string,value:he.any,lazy:he.bool.def(!0),tag:{type:String,default:"input"},size:he.string,style:he.oneOfType([String,Object]),class:he.string},emits:["change","input","blur","keydown","focus","compositionstart","compositionend","keyup","paste","mousedown"],setup(e,t){let{emit:n,attrs:o,expose:r}=t;const a=i.shallowRef(null),l=i.ref(),s=i.ref(!1);i.watch([()=>e.value,s],()=>{s.value||(l.value=e.value)},{immediate:!0});const u=v=>{n("change",v)},c=v=>{s.value=!0,v.target.composing=!0,n("compositionstart",v)},d=v=>{s.value=!1,v.target.composing=!1,n("compositionend",v);const k=document.createEvent("HTMLEvents");k.initEvent("input",!0,!0),v.target.dispatchEvent(k),u(v)},f=v=>{if(s.value&&e.lazy){l.value=v.target.value;return}n("input",v)},p=v=>{n("blur",v)},h=v=>{n("focus",v)},g=()=>{a.value&&a.value.focus()},m=()=>{a.value&&a.value.blur()},b=v=>{n("keydown",v)},y=v=>{n("keyup",v)},x=(v,k,O)=>{var P;(P=a.value)===null||P===void 0||P.setSelectionRange(v,k,O)},w=()=>{var v;(v=a.value)===null||v===void 0||v.select()};r({focus:g,blur:m,input:i.computed(()=>{var v;return(v=a.value)===null||v===void 0?void 0:v.input}),setSelectionRange:x,select:w,getSelectionStart:()=>{var v;return(v=a.value)===null||v===void 0?void 0:v.getSelectionStart()},getSelectionEnd:()=>{var v;return(v=a.value)===null||v===void 0?void 0:v.getSelectionEnd()},getScrollTop:()=>{var v;return(v=a.value)===null||v===void 0?void 0:v.getScrollTop()}});const S=v=>{n("mousedown",v)},C=v=>{n("paste",v)},$=i.computed(()=>e.style&&typeof e.style!="string"?sD(e.style):e.style);return()=>{const v=uD(e,["style","lazy"]);return i.createVNode(aD,le(le(le({},v),o),{},{style:$.value,onInput:f,onChange:u,onBlur:p,onFocus:h,ref:a,value:l.value,onCompositionstart:c,onCompositionend:d,onKeyup:y,onKeydown:b,onPaste:C,onMousedown:S}),null)}}}),cD={inputRef:he.any,prefixCls:String,id:String,inputElement:he.VueNode,disabled:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,editable:{type:Boolean,default:void 0},activeDescendantId:String,value:String,open:{type:Boolean,default:void 0},tabindex:he.oneOfType([he.number,he.string]),attrs:he.object,onKeydown:{type:Function},onMousedown:{type:Function},onChange:{type:Function},onPaste:{type:Function},onCompositionstart:{type:Function},onCompositionend:{type:Function},onFocus:{type:Function},onBlur:{type:Function}},l2=i.defineComponent({compatConfig:{MODE:3},name:"SelectInput",inheritAttrs:!1,props:cD,setup(e){let t=null;const n=i.inject("VCSelectContainerEvent");return()=>{var o;const{prefixCls:r,id:a,inputElement:l,disabled:s,tabindex:u,autofocus:c,autocomplete:d,editable:f,activeDescendantId:p,value:h,onKeydown:g,onMousedown:m,onChange:b,onPaste:y,onCompositionstart:x,onCompositionend:w,onFocus:S,onBlur:C,open:$,inputRef:v,attrs:k}=e;let O=l||i.createVNode(gh,null,null);const P=O.props||{},{onKeydown:T,onInput:B,onFocus:A,onBlur:F,onMousedown:z,onCompositionstart:_,onCompositionend:K,style:H}=P;return O=ft(O,N(N(N(N(N({type:"search"},P),{id:a,ref:v,disabled:s,tabindex:u,lazy:!1,autocomplete:d||"off",autofocus:c,class:_e(`${r}-selection-search-input`,(o=O==null?void 0:O.props)===null||o===void 0?void 0:o.class),role:"combobox","aria-expanded":$,"aria-haspopup":"listbox","aria-owns":`${a}_list`,"aria-autocomplete":"list","aria-controls":`${a}_list`,"aria-activedescendant":p}),k),{value:f?h:"",readonly:!f,unselectable:f?null:"on",style:N(N({},H),{opacity:f?null:0}),onKeydown:j=>{g(j),T&&T(j)},onMousedown:j=>{m(j),z&&z(j)},onInput:j=>{b(j),B&&B(j)},onCompositionstart(j){x(j),_&&_(j)},onCompositionend(j){w(j),K&&K(j)},onPaste:y,onFocus:function(){clearTimeout(t),A&&A(arguments.length<=0?void 0:arguments[0]),S&&S(arguments.length<=0?void 0:arguments[0]),n==null||n.focus(arguments.length<=0?void 0:arguments[0])},onBlur:function(){for(var j=arguments.length,L=new Array(j),G=0;G<j;G++)L[G]=arguments[G];t=setTimeout(()=>{F&&F(L[0]),C&&C(L[0]),n==null||n.blur(L[0])},100)}}),O.type==="textarea"?{}:{type:"search"}),!0,!0),O}}}),dD=`accept acceptcharset accesskey action allowfullscreen allowtransparency
54
54
  alt async autocomplete autofocus autoplay capture cellpadding cellspacing challenge
55
55
  charset checked classid classname colspan cols content contenteditable contextmenu
56
56
  controls coords crossorigin data datetime default defer dir disabled download draggable
@@ -61,15 +61,15 @@ mediagroup method min minlength multiple muted name novalidate nonce open
61
61
  optimum pattern placeholder poster preload radiogroup readonly rel required
62
62
  reversed role rowspan rows sandbox scope scoped scrolling seamless selected
63
63
  shape size sizes span spellcheck src srcdoc srclang srcset start step style
64
- summary tabindex target title type usemap value width wmode wrap`,f7=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
64
+ summary tabindex target title type usemap value width wmode wrap`,fD=`onCopy onCut onPaste onCompositionend onCompositionstart onCompositionupdate onKeydown
65
65
  onKeypress onKeyup onFocus onBlur onChange onInput onSubmit onClick onContextmenu onDoubleclick onDblclick
66
66
  onDrag onDragend onDragenter onDragexit onDragleave onDragover onDragstart onDrop onMousedown
67
67
  onMouseenter onMouseleave onMousemove onMouseout onMouseover onMouseup onSelect onTouchcancel
68
68
  onTouchend onTouchmove onTouchstart onTouchstartPassive onTouchmovePassive onScroll onWheel onAbort onCanplay onCanplaythrough
69
69
  onDurationchange onEmptied onEncrypted onEnded onError onLoadeddata onLoadedmetadata
70
- onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,s2=`${d7} ${f7}`.split(/[\s\n]+/),p7="aria-",h7="data-";function u2(e,t){return e.indexOf(t)===0}function mh(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=N({},t);const o={};return Object.keys(e).forEach(r=>{(n.aria&&(r==="role"||u2(r,p7))||n.data&&u2(r,h7)||n.attr&&(s2.includes(r)||s2.includes(r.toLowerCase())))&&(o[r]=e[r])}),o}const c2=Symbol("OverflowContextProviderKey"),bh=i.defineComponent({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return i.provide(c2,i.computed(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),g7=()=>i.inject(c2,i.computed(()=>null));var m7=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const ra=void 0,ec=i.defineComponent({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:he.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:he.any,invalidate:Boolean},setup(e,t){let{slots:n,expose:o}=t;const r=i.computed(()=>e.responsive&&!e.display),a=i.ref();o({itemNodeRef:a});function l(s){e.registerSize(e.itemKey,s)}return i.onUnmounted(()=>{l(null)}),()=>{var s;const{prefixCls:u,invalidate:c,item:d,renderItem:f,responsive:p,registerSize:h,itemKey:g,display:m,order:b,component:y="div"}=e,x=m7(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),w=(s=n.default)===null||s===void 0?void 0:s.call(n),S=f&&d!==ra?f(d):w;let C;c||(C={opacity:r.value?0:1,height:r.value?0:ra,overflowY:r.value?"hidden":ra,order:p?b:ra,pointerEvents:r.value?"none":ra,position:r.value?"absolute":ra});const $={};return r.value&&($["aria-hidden"]=!0),i.createVNode(gl,{disabled:!p,onResize:v=>{let{offsetWidth:k}=v;l(k)}},{default:()=>i.createVNode(y,le(le(le({class:_e(!c&&u),style:C},$),x),{},{ref:a}),{default:()=>[S]})})}}});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<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const b7=i.defineComponent({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:he.any,title:he.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup(e,t){let{slots:n,attrs:o}=t;const r=g7();return()=>{var a;if(!r.value){const{component:f="div"}=e,p=yh(e,["component"]);return i.createVNode(f,le(le({},p),o),{default:()=>[(a=n.default)===null||a===void 0?void 0:a.call(n)]})}const l=r.value,{className:s}=l,u=yh(l,["className"]),{class:c}=o,d=yh(o,["class"]);return i.createVNode(bh,{value:null},{default:()=>[i.createVNode(ec,le(le(le({class:_e(s,c)},u),d),e),n)]})}}});var y7=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const d2="responsive",f2="invalidate";function v7(e){return`+ ${e.length} ...`}const x7=()=>({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:he.any,component:String,itemComponent:he.any,onVisibleChange:Function,ssr:String,onMousedown:Function,role:String}),Mo=i.defineComponent({name:"Overflow",inheritAttrs:!1,props:x7(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const a=i.computed(()=>e.ssr==="full"),l=i.shallowRef(null),s=i.computed(()=>l.value||0),u=i.shallowRef(new Map),c=i.shallowRef(0),d=i.shallowRef(0),f=i.shallowRef(0),p=i.shallowRef(null),h=i.shallowRef(null),g=i.computed(()=>h.value===null&&a.value?Number.MAX_SAFE_INTEGER:h.value||0),m=i.shallowRef(!1),b=i.computed(()=>`${e.prefixCls}-item`),y=i.computed(()=>Math.max(c.value,d.value)),x=i.computed(()=>!!(e.data.length&&e.maxCount===d2)),w=i.computed(()=>e.maxCount===f2),S=i.computed(()=>x.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),C=i.computed(()=>{let z=e.data;return x.value?l.value===null&&a.value?z=e.data:z=e.data.slice(0,Math.min(e.data.length,s.value/e.itemWidth)):typeof e.maxCount=="number"&&(z=e.data.slice(0,e.maxCount)),z}),$=i.computed(()=>x.value?e.data.slice(g.value+1):e.data.slice(C.value.length)),v=(z,_)=>{var K;return typeof e.itemKey=="function"?e.itemKey(z):(K=e.itemKey&&(z==null?void 0:z[e.itemKey]))!==null&&K!==void 0?K:_},k=i.computed(()=>e.renderItem||(z=>z)),O=(z,_)=>{h.value=z,_||(m.value=z<e.data.length-1,o("visibleChange",z))},P=(z,_)=>{l.value=_.clientWidth},T=(z,_)=>{const K=new Map(u.value);_===null?K.delete(z):K.set(z,_),u.value=K},B=(z,_)=>{c.value=d.value,d.value=_},A=(z,_)=>{f.value=_},F=z=>u.value.get(v(C.value[z],z));return i.watch([s,u,d,f,()=>e.itemKey,C],()=>{if(s.value&&y.value&&C.value){let z=f.value;const _=C.value.length,K=_-1;if(!_){O(0),p.value=null;return}for(let H=0;H<_;H+=1){const j=F(H);if(j===void 0){O(H-1,!0);break}if(z+=j,K===0&&z<=s.value||H===K-1&&z+F(K)<=s.value){O(K),p.value=null;break}else if(z+y.value>s.value){O(H-1),p.value=z-j-f.value+d.value;break}}e.suffix&&F(0)+f.value>s.value&&(p.value=null)}}),()=>{const z=m.value&&!!$.value.length,{itemComponent:_,renderRawItem:K,renderRawRest:H,renderRest:j,prefixCls:L="rc-overflow",suffix:G,component:W="div",id:Y,onMousedown:U}=e,{class:oe,style:R}=n,D=y7(n,["class","style"]);let I={};p.value!==null&&x.value&&(I={position:"absolute",left:`${p.value}px`,top:0});const M={prefixCls:b.value,responsive:x.value,component:_,invalidate:w.value},V=K?(J,ce)=>{const se=v(J,ce);return i.createVNode(bh,{key:se,value:N(N({},M),{order:ce,item:J,itemKey:se,registerSize:T,display:ce<=g.value})},{default:()=>[K(J,ce)]})}:(J,ce)=>{const se=v(J,ce);return i.createVNode(ec,le(le({},M),{},{order:ce,key:se,item:J,renderItem:k.value,itemKey:se,registerSize:T,display:ce<=g.value}),null)};let q=()=>null;const X={order:z?g.value:Number.MAX_SAFE_INTEGER,className:`${b.value} ${b.value}-rest`,registerSize:B,display:z};if(H)H&&(q=()=>i.createVNode(bh,{value:N(N({},M),X)},{default:()=>[H($.value)]}));else{const J=j||v7;q=()=>i.createVNode(ec,le(le({},M),X),{default:()=>typeof J=="function"?J($.value):J})}const Q=()=>{var J;return i.createVNode(W,le({id:Y,class:_e(!w.value&&L,oe),style:R,onMousedown:U,role:e.role},D),{default:()=>[C.value.map(V),S.value?q():null,G&&i.createVNode(ec,le(le({},M),{},{order:g.value,class:`${b.value}-suffix`,registerSize:A,display:!0,style:I}),{default:()=>G}),(J=r.default)===null||J===void 0?void 0:J.call(r)]})};return i.createVNode(gl,{disabled:!x.value,onResize:P},{default:Q})}}});Mo.Item=b7,Mo.RESPONSIVE=d2,Mo.INVALIDATE=f2;const w7=Symbol("TreeSelectLegacyContextPropsKey");function vh(){return i.inject(w7,{})}const C7={id:String,prefixCls:String,values:he.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:he.any,placeholder:he.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:he.oneOfType([he.number,he.string]),compositionStatus:Boolean,removeIcon:he.any,choiceTransitionName:String,maxTagCount:he.oneOfType([he.number,he.string]),maxTagTextLength:Number,maxTagPlaceholder:he.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},p2=e=>{e.preventDefault(),e.stopPropagation()},S7=i.defineComponent({name:"MultipleSelectSelector",inheritAttrs:!1,props:C7,setup(e){const t=i.shallowRef(),n=i.shallowRef(0),o=i.shallowRef(!1),r=vh(),a=i.computed(()=>`${e.prefixCls}-selection`),l=i.computed(()=>e.open||e.mode==="tags"?e.searchValue:""),s=i.computed(()=>e.mode==="tags"||e.showSearch&&(e.open||o.value)),u=i.ref("");i.watchEffect(()=>{u.value=l.value}),i.onMounted(()=>{i.watch(u,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function c(g,m,b,y,x){return i.createVNode("span",{class:_e(`${a.value}-item`,{[`${a.value}-item-disabled`]:b}),title:typeof g=="string"||typeof g=="number"?g.toString():void 0},[i.createVNode("span",{class:`${a.value}-item-content`},[m]),y&&i.createVNode(oa,{class:`${a.value}-item-remove`,onMousedown:p2,onClick:x,customizeIcon:e.removeIcon},{default:()=>[i.createTextVNode("×")]})])}function d(g,m,b,y,x,w){var S;const C=v=>{p2(v),e.onToggleOpen(!open)};let $=w;return r.keyEntities&&($=((S=r.keyEntities[g])===null||S===void 0?void 0:S.node)||{}),i.createVNode("span",{key:g,onMousedown:C},[e.tagRender({label:m,value:g,disabled:b,closable:y,onClose:x,option:$})])}function f(g){const{disabled:m,label:b,value:y,option:x}=g,w=!e.disabled&&!m;let S=b;if(typeof e.maxTagTextLength=="number"&&(typeof b=="string"||typeof b=="number")){const $=String(S);$.length>e.maxTagTextLength&&(S=`${$.slice(0,e.maxTagTextLength)}...`)}const C=$=>{var v;$&&$.stopPropagation(),(v=e.onRemove)===null||v===void 0||v.call(e,g)};return typeof e.tagRender=="function"?d(y,S,m,w,C,x):c(b,S,m,w,C)}function p(g){const{maxTagPlaceholder:m=y=>`+ ${y.length} ...`}=e,b=typeof m=="function"?m(g):m;return c(b,b,!1)}const h=g=>{const m=g.target.composing;u.value=g.target.value,m||e.onInputChange(g)};return()=>{const{id:g,prefixCls:m,values:b,open:y,inputRef:x,placeholder:w,disabled:S,autofocus:C,autocomplete:$,activeDescendantId:v,tabindex:k,compositionStatus:O,onInputPaste:P,onInputKeyDown:T,onInputMouseDown:B,onInputCompositionStart:A,onInputCompositionEnd:F}=e,z=i.createVNode("div",{class:`${a.value}-search`,style:{width:n.value+"px"},key:"input"},[i.createVNode(l2,{inputRef:x,open:y,prefixCls:m,id:g,inputElement:null,disabled:S,autofocus:C,autocomplete:$,editable:s.value,activeDescendantId:v,value:u.value,onKeydown:T,onMousedown:B,onChange:h,onPaste:P,onCompositionstart:A,onCompositionend:F,tabindex:k,attrs:mh(e,!0),onFocus:()=>o.value=!0,onBlur:()=>o.value=!1},null),i.createVNode("span",{ref:t,class:`${a.value}-search-mirror`,"aria-hidden":!0},[u.value,i.createTextVNode(" ")])]),_=i.createVNode(Mo,{prefixCls:`${a.value}-overflow`,data:b,renderItem:f,renderRest:p,suffix:z,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return i.createVNode(i.Fragment,null,[_,!b.length&&!l.value&&!O&&i.createVNode("span",{class:`${a.value}-placeholder`},[w])])}}}),$7={inputElement:he.any,id:String,prefixCls:String,values:he.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:he.any,placeholder:he.any,compositionStatus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:he.oneOfType([he.number,he.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},xh=i.defineComponent({name:"SingleSelector",setup(e){const t=i.shallowRef(!1),n=i.computed(()=>e.mode==="combobox"),o=i.computed(()=>n.value||e.showSearch),r=i.computed(()=>{let d=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(d=e.activeValue),d}),a=vh();i.watch([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const l=i.computed(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!r.value||e.compositionStatus),s=i.computed(()=>{const d=e.values[0];return d&&(typeof d.label=="string"||typeof d.label=="number")?d.label.toString():void 0}),u=()=>{if(e.values[0])return null;const d=l.value?{visibility:"hidden"}:void 0;return i.createVNode("span",{class:`${e.prefixCls}-selection-placeholder`,style:d},[e.placeholder])},c=d=>{d.target.composing||(t.value=!0,e.onInputChange(d))};return()=>{var d,f,p,h;const{inputElement:g,prefixCls:m,id:b,values:y,inputRef:x,disabled:w,autofocus:S,autocomplete:C,activeDescendantId:$,open:v,tabindex:k,optionLabelRender:O,onInputKeyDown:P,onInputMouseDown:T,onInputPaste:B,onInputCompositionStart:A,onInputCompositionEnd:F}=e,z=y[0];let _=null;if(z&&a.customSlots){const K=(d=z.key)!==null&&d!==void 0?d:z.value,H=((f=a.keyEntities[K])===null||f===void 0?void 0:f.node)||{};_=a.customSlots[(p=H.slots)===null||p===void 0?void 0:p.title]||a.customSlots.title||z.label,typeof _=="function"&&(_=_(H))}else _=O&&z?O(z.option):z==null?void 0:z.label;return i.createVNode(i.Fragment,null,[i.createVNode("span",{class:`${m}-selection-search`},[i.createVNode(l2,{inputRef:x,prefixCls:m,id:b,open:v,inputElement:g,disabled:w,autofocus:S,autocomplete:C,editable:o.value,activeDescendantId:$,value:r.value,onKeydown:P,onMousedown:T,onChange:c,onPaste:B,onCompositionstart:A,onCompositionend:F,tabindex:k,attrs:mh(e,!0)},null)]),!n.value&&z&&!l.value&&i.createVNode("span",{class:`${m}-selection-item`,title:s.value},[i.createVNode(i.Fragment,{key:(h=z.key)!==null&&h!==void 0?h:z.value},[_])]),u()])}}});xh.props=$7,xh.inheritAttrs=!1;function O7(e){return![Ne.ESC,Ne.SHIFT,Ne.BACKSPACE,Ne.TAB,Ne.WIN_KEY,Ne.ALT,Ne.META,Ne.WIN_KEY_RIGHT,Ne.CTRL,Ne.SEMICOLON,Ne.EQUALS,Ne.CAPS_LOCK,Ne.CONTEXT_MENU,Ne.F1,Ne.F2,Ne.F3,Ne.F4,Ne.F5,Ne.F6,Ne.F7,Ne.F8,Ne.F9,Ne.F10,Ne.F11,Ne.F12].includes(e)}function h2(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;i.onBeforeUnmount(()=>{clearTimeout(n)});function o(r){(r||t===null)&&(t=r),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,o]}function g2(){const e=t=>{e.current=t};return e}const E7=i.defineComponent({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:he.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:he.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:he.oneOfType([he.number,he.string]),disabled:{type:Boolean,default:void 0},placeholder:he.any,removeIcon:he.any,maxTagCount:he.oneOfType([he.number,he.string]),maxTagTextLength:Number,maxTagPlaceholder:he.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const o=g2(),r=i.ref(!1),[a,l]=h2(0),s=y=>{const{which:x}=y;(x===Ne.UP||x===Ne.DOWN)&&y.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(y),x===Ne.ENTER&&e.mode==="tags"&&!r.value&&!e.open&&e.onSearchSubmit(y.target.value),O7(x)&&e.onToggleOpen(!0)},u=()=>{l(!0)};let c=null;const d=y=>{e.onSearch(y,!0,r.value)!==!1&&e.onToggleOpen(!0)},f=()=>{r.value=!0},p=y=>{r.value=!1,e.mode!=="combobox"&&d(y.target.value)},h=y=>{let{target:{value:x}}=y;if(e.tokenWithEnter&&c&&/[\r\n]/.test(c)){const w=c.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");x=x.replace(w,c)}c=null,d(x)},g=y=>{const{clipboardData:x}=y;c=x.getData("text")},m=y=>{let{target:x}=y;x!==o.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{o.current.focus()}):o.current.focus())},b=y=>{const x=a();y.target!==o.current&&!x&&y.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!x)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{o.current.focus()},blur:()=>{o.current.blur()}}),()=>{const{prefixCls:y,domRef:x,mode:w}=e,S={inputRef:o,onInputKeyDown:s,onInputMouseDown:u,onInputChange:h,onInputPaste:g,compositionStatus:r.value,onInputCompositionStart:f,onInputCompositionEnd:p},C=w==="multiple"||w==="tags"?i.createVNode(S7,le(le({},e),S),null):i.createVNode(xh,le(le({},e),S),null);return i.createVNode("div",{ref:x,class:`${y}-selector`,onClick:m,onMousedown:b},[C])}}});function k7(e,t,n){function o(r){var a,l,s;let u=r.target;u.shadowRoot&&r.composed&&(u=r.composedPath()[0]||u);const c=[(a=e[0])===null||a===void 0?void 0:a.value,(s=(l=e[1])===null||l===void 0?void 0:l.value)===null||s===void 0?void 0:s.getPopupElement()];t.value&&c.every(d=>d&&!d.contains(u)&&d!==u)&&n(!1)}i.onMounted(()=>{window.addEventListener("mousedown",o)}),i.onBeforeUnmount(()=>{window.removeEventListener("mousedown",o)})}function z7(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=i.shallowRef(!1);let n;const o=()=>{clearTimeout(n)};return i.onMounted(()=>{o()}),[t,(r,a)=>{o(),n=setTimeout(()=>{t.value=r,a&&a()},e)},o]}const m2=Symbol("BaseSelectContextKey");function P7(e){return i.provide(m2,e)}function wh(){return i.inject(m2,{})}const N7=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substring(0,4))};function T7(e){if(!i.isRef(e))return i.reactive(e);const t=new Proxy({},{get(n,o,r){return Reflect.get(e.value,o,r)},set(n,o,r){return e.value[o]=r,!0},deleteProperty(n,o){return Reflect.deleteProperty(e.value,o)},has(n,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return i.reactive(t)}var I7=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const j7=["value","onChange","removeIcon","placeholder","autofocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabindex","OptionList","notFoundContent"],A7=()=>({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:he.any,emptyOptions:Boolean}),b2=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:he.any,placeholder:he.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:he.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:he.any,clearIcon:he.any,removeIcon:he.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),_7=()=>N(N({},A7()),b2());function D7(e){return e==="tags"||e==="multiple"}const R7=i.defineComponent({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:un(_7(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const a=i.computed(()=>D7(e.mode)),l=i.computed(()=>e.showSearch!==void 0?e.showSearch:a.value||e.mode==="combobox"),s=i.shallowRef(!1);i.onMounted(()=>{s.value=N7()});const u=vh(),c=i.shallowRef(null),d=g2(),f=i.shallowRef(null),p=i.shallowRef(null),h=i.shallowRef(null),g=i.ref(!1),[m,b,y]=z7();o({focus:()=>{var I;(I=p.value)===null||I===void 0||I.focus()},blur:()=>{var I;(I=p.value)===null||I===void 0||I.blur()},scrollTo:I=>{var M;return(M=h.value)===null||M===void 0?void 0:M.scrollTo(I)}});const x=i.computed(()=>{var I;if(e.mode!=="combobox")return e.searchValue;const M=(I=e.displayValues[0])===null||I===void 0?void 0:I.value;return typeof M=="string"||typeof M=="number"?String(M):""}),w=e.open!==void 0?e.open:e.defaultOpen,S=i.shallowRef(w),C=i.shallowRef(w),$=I=>{S.value=e.open!==void 0?e.open:I,C.value=S.value};i.watch(()=>e.open,()=>{$(e.open)});const v=i.computed(()=>!e.notFoundContent&&e.emptyOptions);i.watchEffect(()=>{C.value=S.value,(e.disabled||v.value&&C.value&&e.mode==="combobox")&&(C.value=!1)});const k=i.computed(()=>v.value?!1:C.value),O=I=>{const M=I!==void 0?I:!C.value;C.value!==M&&!e.disabled&&($(M),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(M),!M&&L.value&&(L.value=!1,b(!1,()=>{H.value=!1,g.value=!1})))},P=i.computed(()=>(e.tokenSeparators||[]).some(I=>[`
70
+ onLoadstart onPause onPlay onPlaying onProgress onRatechange onSeeked onSeeking onStalled onSuspend onTimeupdate onVolumechange onWaiting onLoad onError`,s2=`${dD} ${fD}`.split(/[\s\n]+/),pD="aria-",hD="data-";function u2(e,t){return e.indexOf(t)===0}function mh(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=N({},t);const o={};return Object.keys(e).forEach(r=>{(n.aria&&(r==="role"||u2(r,pD))||n.data&&u2(r,hD)||n.attr&&(s2.includes(r)||s2.includes(r.toLowerCase())))&&(o[r]=e[r])}),o}const c2=Symbol("OverflowContextProviderKey"),bh=i.defineComponent({compatConfig:{MODE:3},name:"OverflowContextProvider",inheritAttrs:!1,props:{value:{type:Object}},setup(e,t){let{slots:n}=t;return i.provide(c2,i.computed(()=>e.value)),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),gD=()=>i.inject(c2,i.computed(()=>null));var mD=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const ra=void 0,ec=i.defineComponent({compatConfig:{MODE:3},name:"Item",props:{prefixCls:String,item:he.any,renderItem:Function,responsive:Boolean,itemKey:{type:[String,Number]},registerSize:Function,display:Boolean,order:Number,component:he.any,invalidate:Boolean},setup(e,t){let{slots:n,expose:o}=t;const r=i.computed(()=>e.responsive&&!e.display),a=i.ref();o({itemNodeRef:a});function l(s){e.registerSize(e.itemKey,s)}return i.onUnmounted(()=>{l(null)}),()=>{var s;const{prefixCls:u,invalidate:c,item:d,renderItem:f,responsive:p,registerSize:h,itemKey:g,display:m,order:b,component:y="div"}=e,x=mD(e,["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","display","order","component"]),w=(s=n.default)===null||s===void 0?void 0:s.call(n),S=f&&d!==ra?f(d):w;let C;c||(C={opacity:r.value?0:1,height:r.value?0:ra,overflowY:r.value?"hidden":ra,order:p?b:ra,pointerEvents:r.value?"none":ra,position:r.value?"absolute":ra});const $={};return r.value&&($["aria-hidden"]=!0),i.createVNode(gl,{disabled:!p,onResize:v=>{let{offsetWidth:k}=v;l(k)}},{default:()=>i.createVNode(y,le(le(le({class:_e(!c&&u),style:C},$),x),{},{ref:a}),{default:()=>[S]})})}}});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<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const bD=i.defineComponent({compatConfig:{MODE:3},name:"RawItem",inheritAttrs:!1,props:{component:he.any,title:he.any,id:String,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},role:String,tabindex:Number},setup(e,t){let{slots:n,attrs:o}=t;const r=gD();return()=>{var a;if(!r.value){const{component:f="div"}=e,p=yh(e,["component"]);return i.createVNode(f,le(le({},p),o),{default:()=>[(a=n.default)===null||a===void 0?void 0:a.call(n)]})}const l=r.value,{className:s}=l,u=yh(l,["className"]),{class:c}=o,d=yh(o,["class"]);return i.createVNode(bh,{value:null},{default:()=>[i.createVNode(ec,le(le(le({class:_e(s,c)},u),d),e),n)]})}}});var yD=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const d2="responsive",f2="invalidate";function vD(e){return`+ ${e.length} ...`}const xD=()=>({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:he.any,component:String,itemComponent:he.any,onVisibleChange:Function,ssr:String,onMousedown:Function,role:String}),Mo=i.defineComponent({name:"Overflow",inheritAttrs:!1,props:xD(),emits:["visibleChange"],setup(e,t){let{attrs:n,emit:o,slots:r}=t;const a=i.computed(()=>e.ssr==="full"),l=i.shallowRef(null),s=i.computed(()=>l.value||0),u=i.shallowRef(new Map),c=i.shallowRef(0),d=i.shallowRef(0),f=i.shallowRef(0),p=i.shallowRef(null),h=i.shallowRef(null),g=i.computed(()=>h.value===null&&a.value?Number.MAX_SAFE_INTEGER:h.value||0),m=i.shallowRef(!1),b=i.computed(()=>`${e.prefixCls}-item`),y=i.computed(()=>Math.max(c.value,d.value)),x=i.computed(()=>!!(e.data.length&&e.maxCount===d2)),w=i.computed(()=>e.maxCount===f2),S=i.computed(()=>x.value||typeof e.maxCount=="number"&&e.data.length>e.maxCount),C=i.computed(()=>{let z=e.data;return x.value?l.value===null&&a.value?z=e.data:z=e.data.slice(0,Math.min(e.data.length,s.value/e.itemWidth)):typeof e.maxCount=="number"&&(z=e.data.slice(0,e.maxCount)),z}),$=i.computed(()=>x.value?e.data.slice(g.value+1):e.data.slice(C.value.length)),v=(z,_)=>{var K;return typeof e.itemKey=="function"?e.itemKey(z):(K=e.itemKey&&(z==null?void 0:z[e.itemKey]))!==null&&K!==void 0?K:_},k=i.computed(()=>e.renderItem||(z=>z)),O=(z,_)=>{h.value=z,_||(m.value=z<e.data.length-1,o("visibleChange",z))},P=(z,_)=>{l.value=_.clientWidth},T=(z,_)=>{const K=new Map(u.value);_===null?K.delete(z):K.set(z,_),u.value=K},B=(z,_)=>{c.value=d.value,d.value=_},A=(z,_)=>{f.value=_},F=z=>u.value.get(v(C.value[z],z));return i.watch([s,u,d,f,()=>e.itemKey,C],()=>{if(s.value&&y.value&&C.value){let z=f.value;const _=C.value.length,K=_-1;if(!_){O(0),p.value=null;return}for(let H=0;H<_;H+=1){const j=F(H);if(j===void 0){O(H-1,!0);break}if(z+=j,K===0&&z<=s.value||H===K-1&&z+F(K)<=s.value){O(K),p.value=null;break}else if(z+y.value>s.value){O(H-1),p.value=z-j-f.value+d.value;break}}e.suffix&&F(0)+f.value>s.value&&(p.value=null)}}),()=>{const z=m.value&&!!$.value.length,{itemComponent:_,renderRawItem:K,renderRawRest:H,renderRest:j,prefixCls:L="rc-overflow",suffix:G,component:W="div",id:Y,onMousedown:U}=e,{class:oe,style:R}=n,D=yD(n,["class","style"]);let I={};p.value!==null&&x.value&&(I={position:"absolute",left:`${p.value}px`,top:0});const M={prefixCls:b.value,responsive:x.value,component:_,invalidate:w.value},V=K?(J,ce)=>{const se=v(J,ce);return i.createVNode(bh,{key:se,value:N(N({},M),{order:ce,item:J,itemKey:se,registerSize:T,display:ce<=g.value})},{default:()=>[K(J,ce)]})}:(J,ce)=>{const se=v(J,ce);return i.createVNode(ec,le(le({},M),{},{order:ce,key:se,item:J,renderItem:k.value,itemKey:se,registerSize:T,display:ce<=g.value}),null)};let q=()=>null;const X={order:z?g.value:Number.MAX_SAFE_INTEGER,className:`${b.value} ${b.value}-rest`,registerSize:B,display:z};if(H)H&&(q=()=>i.createVNode(bh,{value:N(N({},M),X)},{default:()=>[H($.value)]}));else{const J=j||vD;q=()=>i.createVNode(ec,le(le({},M),X),{default:()=>typeof J=="function"?J($.value):J})}const Q=()=>{var J;return i.createVNode(W,le({id:Y,class:_e(!w.value&&L,oe),style:R,onMousedown:U,role:e.role},D),{default:()=>[C.value.map(V),S.value?q():null,G&&i.createVNode(ec,le(le({},M),{},{order:g.value,class:`${b.value}-suffix`,registerSize:A,display:!0,style:I}),{default:()=>G}),(J=r.default)===null||J===void 0?void 0:J.call(r)]})};return i.createVNode(gl,{disabled:!x.value,onResize:P},{default:Q})}}});Mo.Item=bD,Mo.RESPONSIVE=d2,Mo.INVALIDATE=f2;const wD=Symbol("TreeSelectLegacyContextPropsKey");function vh(){return i.inject(wD,{})}const CD={id:String,prefixCls:String,values:he.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:he.any,placeholder:he.any,disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:he.oneOfType([he.number,he.string]),compositionStatus:Boolean,removeIcon:he.any,choiceTransitionName:String,maxTagCount:he.oneOfType([he.number,he.string]),maxTagTextLength:Number,maxTagPlaceholder:he.any.def(()=>e=>`+ ${e.length} ...`),tagRender:Function,onToggleOpen:{type:Function},onRemove:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},p2=e=>{e.preventDefault(),e.stopPropagation()},SD=i.defineComponent({name:"MultipleSelectSelector",inheritAttrs:!1,props:CD,setup(e){const t=i.shallowRef(),n=i.shallowRef(0),o=i.shallowRef(!1),r=vh(),a=i.computed(()=>`${e.prefixCls}-selection`),l=i.computed(()=>e.open||e.mode==="tags"?e.searchValue:""),s=i.computed(()=>e.mode==="tags"||e.showSearch&&(e.open||o.value)),u=i.ref("");i.watchEffect(()=>{u.value=l.value}),i.onMounted(()=>{i.watch(u,()=>{n.value=t.value.scrollWidth},{flush:"post",immediate:!0})});function c(g,m,b,y,x){return i.createVNode("span",{class:_e(`${a.value}-item`,{[`${a.value}-item-disabled`]:b}),title:typeof g=="string"||typeof g=="number"?g.toString():void 0},[i.createVNode("span",{class:`${a.value}-item-content`},[m]),y&&i.createVNode(oa,{class:`${a.value}-item-remove`,onMousedown:p2,onClick:x,customizeIcon:e.removeIcon},{default:()=>[i.createTextVNode("×")]})])}function d(g,m,b,y,x,w){var S;const C=v=>{p2(v),e.onToggleOpen(!open)};let $=w;return r.keyEntities&&($=((S=r.keyEntities[g])===null||S===void 0?void 0:S.node)||{}),i.createVNode("span",{key:g,onMousedown:C},[e.tagRender({label:m,value:g,disabled:b,closable:y,onClose:x,option:$})])}function f(g){const{disabled:m,label:b,value:y,option:x}=g,w=!e.disabled&&!m;let S=b;if(typeof e.maxTagTextLength=="number"&&(typeof b=="string"||typeof b=="number")){const $=String(S);$.length>e.maxTagTextLength&&(S=`${$.slice(0,e.maxTagTextLength)}...`)}const C=$=>{var v;$&&$.stopPropagation(),(v=e.onRemove)===null||v===void 0||v.call(e,g)};return typeof e.tagRender=="function"?d(y,S,m,w,C,x):c(b,S,m,w,C)}function p(g){const{maxTagPlaceholder:m=y=>`+ ${y.length} ...`}=e,b=typeof m=="function"?m(g):m;return c(b,b,!1)}const h=g=>{const m=g.target.composing;u.value=g.target.value,m||e.onInputChange(g)};return()=>{const{id:g,prefixCls:m,values:b,open:y,inputRef:x,placeholder:w,disabled:S,autofocus:C,autocomplete:$,activeDescendantId:v,tabindex:k,compositionStatus:O,onInputPaste:P,onInputKeyDown:T,onInputMouseDown:B,onInputCompositionStart:A,onInputCompositionEnd:F}=e,z=i.createVNode("div",{class:`${a.value}-search`,style:{width:n.value+"px"},key:"input"},[i.createVNode(l2,{inputRef:x,open:y,prefixCls:m,id:g,inputElement:null,disabled:S,autofocus:C,autocomplete:$,editable:s.value,activeDescendantId:v,value:u.value,onKeydown:T,onMousedown:B,onChange:h,onPaste:P,onCompositionstart:A,onCompositionend:F,tabindex:k,attrs:mh(e,!0),onFocus:()=>o.value=!0,onBlur:()=>o.value=!1},null),i.createVNode("span",{ref:t,class:`${a.value}-search-mirror`,"aria-hidden":!0},[u.value,i.createTextVNode(" ")])]),_=i.createVNode(Mo,{prefixCls:`${a.value}-overflow`,data:b,renderItem:f,renderRest:p,suffix:z,itemKey:"key",maxCount:e.maxTagCount,key:"overflow"},null);return i.createVNode(i.Fragment,null,[_,!b.length&&!l.value&&!O&&i.createVNode("span",{class:`${a.value}-placeholder`},[w])])}}}),$D={inputElement:he.any,id:String,prefixCls:String,values:he.array,open:{type:Boolean,default:void 0},searchValue:String,inputRef:he.any,placeholder:he.any,compositionStatus:{type:Boolean,default:void 0},disabled:{type:Boolean,default:void 0},mode:String,showSearch:{type:Boolean,default:void 0},autofocus:{type:Boolean,default:void 0},autocomplete:String,activeDescendantId:String,tabindex:he.oneOfType([he.number,he.string]),activeValue:String,backfill:{type:Boolean,default:void 0},optionLabelRender:Function,onInputChange:Function,onInputPaste:Function,onInputKeyDown:Function,onInputMouseDown:Function,onInputCompositionStart:Function,onInputCompositionEnd:Function},xh=i.defineComponent({name:"SingleSelector",setup(e){const t=i.shallowRef(!1),n=i.computed(()=>e.mode==="combobox"),o=i.computed(()=>n.value||e.showSearch),r=i.computed(()=>{let d=e.searchValue||"";return n.value&&e.activeValue&&!t.value&&(d=e.activeValue),d}),a=vh();i.watch([n,()=>e.activeValue],()=>{n.value&&(t.value=!1)},{immediate:!0});const l=i.computed(()=>e.mode!=="combobox"&&!e.open&&!e.showSearch?!1:!!r.value||e.compositionStatus),s=i.computed(()=>{const d=e.values[0];return d&&(typeof d.label=="string"||typeof d.label=="number")?d.label.toString():void 0}),u=()=>{if(e.values[0])return null;const d=l.value?{visibility:"hidden"}:void 0;return i.createVNode("span",{class:`${e.prefixCls}-selection-placeholder`,style:d},[e.placeholder])},c=d=>{d.target.composing||(t.value=!0,e.onInputChange(d))};return()=>{var d,f,p,h;const{inputElement:g,prefixCls:m,id:b,values:y,inputRef:x,disabled:w,autofocus:S,autocomplete:C,activeDescendantId:$,open:v,tabindex:k,optionLabelRender:O,onInputKeyDown:P,onInputMouseDown:T,onInputPaste:B,onInputCompositionStart:A,onInputCompositionEnd:F}=e,z=y[0];let _=null;if(z&&a.customSlots){const K=(d=z.key)!==null&&d!==void 0?d:z.value,H=((f=a.keyEntities[K])===null||f===void 0?void 0:f.node)||{};_=a.customSlots[(p=H.slots)===null||p===void 0?void 0:p.title]||a.customSlots.title||z.label,typeof _=="function"&&(_=_(H))}else _=O&&z?O(z.option):z==null?void 0:z.label;return i.createVNode(i.Fragment,null,[i.createVNode("span",{class:`${m}-selection-search`},[i.createVNode(l2,{inputRef:x,prefixCls:m,id:b,open:v,inputElement:g,disabled:w,autofocus:S,autocomplete:C,editable:o.value,activeDescendantId:$,value:r.value,onKeydown:P,onMousedown:T,onChange:c,onPaste:B,onCompositionstart:A,onCompositionend:F,tabindex:k,attrs:mh(e,!0)},null)]),!n.value&&z&&!l.value&&i.createVNode("span",{class:`${m}-selection-item`,title:s.value},[i.createVNode(i.Fragment,{key:(h=z.key)!==null&&h!==void 0?h:z.value},[_])]),u()])}}});xh.props=$D,xh.inheritAttrs=!1;function OD(e){return![Ne.ESC,Ne.SHIFT,Ne.BACKSPACE,Ne.TAB,Ne.WIN_KEY,Ne.ALT,Ne.META,Ne.WIN_KEY_RIGHT,Ne.CTRL,Ne.SEMICOLON,Ne.EQUALS,Ne.CAPS_LOCK,Ne.CONTEXT_MENU,Ne.F1,Ne.F2,Ne.F3,Ne.F4,Ne.F5,Ne.F6,Ne.F7,Ne.F8,Ne.F9,Ne.F10,Ne.F11,Ne.F12].includes(e)}function h2(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=null,n;i.onBeforeUnmount(()=>{clearTimeout(n)});function o(r){(r||t===null)&&(t=r),clearTimeout(n),n=setTimeout(()=>{t=null},e)}return[()=>t,o]}function g2(){const e=t=>{e.current=t};return e}const ED=i.defineComponent({name:"Selector",inheritAttrs:!1,props:{id:String,prefixCls:String,showSearch:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},values:he.array,multiple:{type:Boolean,default:void 0},mode:String,searchValue:String,activeValue:String,inputElement:he.any,autofocus:{type:Boolean,default:void 0},activeDescendantId:String,tabindex:he.oneOfType([he.number,he.string]),disabled:{type:Boolean,default:void 0},placeholder:he.any,removeIcon:he.any,maxTagCount:he.oneOfType([he.number,he.string]),maxTagTextLength:Number,maxTagPlaceholder:he.any,tagRender:Function,optionLabelRender:Function,tokenWithEnter:{type:Boolean,default:void 0},choiceTransitionName:String,onToggleOpen:{type:Function},onSearch:Function,onSearchSubmit:Function,onRemove:Function,onInputKeyDown:{type:Function},domRef:Function},setup(e,t){let{expose:n}=t;const o=g2(),r=i.ref(!1),[a,l]=h2(0),s=y=>{const{which:x}=y;(x===Ne.UP||x===Ne.DOWN)&&y.preventDefault(),e.onInputKeyDown&&e.onInputKeyDown(y),x===Ne.ENTER&&e.mode==="tags"&&!r.value&&!e.open&&e.onSearchSubmit(y.target.value),OD(x)&&e.onToggleOpen(!0)},u=()=>{l(!0)};let c=null;const d=y=>{e.onSearch(y,!0,r.value)!==!1&&e.onToggleOpen(!0)},f=()=>{r.value=!0},p=y=>{r.value=!1,e.mode!=="combobox"&&d(y.target.value)},h=y=>{let{target:{value:x}}=y;if(e.tokenWithEnter&&c&&/[\r\n]/.test(c)){const w=c.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");x=x.replace(w,c)}c=null,d(x)},g=y=>{const{clipboardData:x}=y;c=x.getData("text")},m=y=>{let{target:x}=y;x!==o.current&&(document.body.style.msTouchAction!==void 0?setTimeout(()=>{o.current.focus()}):o.current.focus())},b=y=>{const x=a();y.target!==o.current&&!x&&y.preventDefault(),(e.mode!=="combobox"&&(!e.showSearch||!x)||!e.open)&&(e.open&&e.onSearch("",!0,!1),e.onToggleOpen())};return n({focus:()=>{o.current.focus()},blur:()=>{o.current.blur()}}),()=>{const{prefixCls:y,domRef:x,mode:w}=e,S={inputRef:o,onInputKeyDown:s,onInputMouseDown:u,onInputChange:h,onInputPaste:g,compositionStatus:r.value,onInputCompositionStart:f,onInputCompositionEnd:p},C=w==="multiple"||w==="tags"?i.createVNode(SD,le(le({},e),S),null):i.createVNode(xh,le(le({},e),S),null);return i.createVNode("div",{ref:x,class:`${y}-selector`,onClick:m,onMousedown:b},[C])}}});function kD(e,t,n){function o(r){var a,l,s;let u=r.target;u.shadowRoot&&r.composed&&(u=r.composedPath()[0]||u);const c=[(a=e[0])===null||a===void 0?void 0:a.value,(s=(l=e[1])===null||l===void 0?void 0:l.value)===null||s===void 0?void 0:s.getPopupElement()];t.value&&c.every(d=>d&&!d.contains(u)&&d!==u)&&n(!1)}i.onMounted(()=>{window.addEventListener("mousedown",o)}),i.onBeforeUnmount(()=>{window.removeEventListener("mousedown",o)})}function zD(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10;const t=i.shallowRef(!1);let n;const o=()=>{clearTimeout(n)};return i.onMounted(()=>{o()}),[t,(r,a)=>{o(),n=setTimeout(()=>{t.value=r,a&&a()},e)},o]}const m2=Symbol("BaseSelectContextKey");function PD(e){return i.provide(m2,e)}function wh(){return i.inject(m2,{})}const ND=()=>{if(typeof navigator>"u"||typeof window>"u")return!1;const e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substring(0,4))};function TD(e){if(!i.isRef(e))return i.reactive(e);const t=new Proxy({},{get(n,o,r){return Reflect.get(e.value,o,r)},set(n,o,r){return e.value[o]=r,!0},deleteProperty(n,o){return Reflect.deleteProperty(e.value,o)},has(n,o){return Reflect.has(e.value,o)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return i.reactive(t)}var ID=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const jD=["value","onChange","removeIcon","placeholder","autofocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabindex","OptionList","notFoundContent"],AD=()=>({prefixCls:String,id:String,omitDomProps:Array,displayValues:Array,onDisplayValuesChange:Function,activeValue:String,activeDescendantId:String,onActiveValueChange:Function,searchValue:String,onSearch:Function,onSearchSplit:Function,maxLength:Number,OptionList:he.any,emptyOptions:Boolean}),b2=()=>({showSearch:{type:Boolean,default:void 0},tagRender:{type:Function},optionLabelRender:{type:Function},direction:{type:String},tabindex:Number,autofocus:Boolean,notFoundContent:he.any,placeholder:he.any,onClear:Function,choiceTransitionName:String,mode:String,disabled:{type:Boolean,default:void 0},loading:{type:Boolean,default:void 0},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:void 0},onDropdownVisibleChange:{type:Function},getInputElement:{type:Function},getRawInputElement:{type:Function},maxTagTextLength:Number,maxTagCount:{type:[String,Number]},maxTagPlaceholder:he.any,tokenSeparators:{type:Array},allowClear:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:void 0},inputIcon:he.any,clearIcon:he.any,removeIcon:he.any,animation:String,transitionName:String,dropdownStyle:{type:Object},dropdownClassName:String,dropdownMatchSelectWidth:{type:[Boolean,Number],default:void 0},dropdownRender:{type:Function},dropdownAlign:Object,placement:{type:String},getPopupContainer:{type:Function},showAction:{type:Array},onBlur:{type:Function},onFocus:{type:Function},onKeyup:Function,onKeydown:Function,onMousedown:Function,onPopupScroll:Function,onInputKeyDown:Function,onMouseenter:Function,onMouseleave:Function,onClick:Function}),_D=()=>N(N({},AD()),b2());function DD(e){return e==="tags"||e==="multiple"}const RD=i.defineComponent({compatConfig:{MODE:3},name:"BaseSelect",inheritAttrs:!1,props:un(_D(),{showAction:[],notFoundContent:"Not Found"}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const a=i.computed(()=>DD(e.mode)),l=i.computed(()=>e.showSearch!==void 0?e.showSearch:a.value||e.mode==="combobox"),s=i.shallowRef(!1);i.onMounted(()=>{s.value=ND()});const u=vh(),c=i.shallowRef(null),d=g2(),f=i.shallowRef(null),p=i.shallowRef(null),h=i.shallowRef(null),g=i.ref(!1),[m,b,y]=zD();o({focus:()=>{var I;(I=p.value)===null||I===void 0||I.focus()},blur:()=>{var I;(I=p.value)===null||I===void 0||I.blur()},scrollTo:I=>{var M;return(M=h.value)===null||M===void 0?void 0:M.scrollTo(I)}});const x=i.computed(()=>{var I;if(e.mode!=="combobox")return e.searchValue;const M=(I=e.displayValues[0])===null||I===void 0?void 0:I.value;return typeof M=="string"||typeof M=="number"?String(M):""}),w=e.open!==void 0?e.open:e.defaultOpen,S=i.shallowRef(w),C=i.shallowRef(w),$=I=>{S.value=e.open!==void 0?e.open:I,C.value=S.value};i.watch(()=>e.open,()=>{$(e.open)});const v=i.computed(()=>!e.notFoundContent&&e.emptyOptions);i.watchEffect(()=>{C.value=S.value,(e.disabled||v.value&&C.value&&e.mode==="combobox")&&(C.value=!1)});const k=i.computed(()=>v.value?!1:C.value),O=I=>{const M=I!==void 0?I:!C.value;C.value!==M&&!e.disabled&&($(M),e.onDropdownVisibleChange&&e.onDropdownVisibleChange(M),!M&&L.value&&(L.value=!1,b(!1,()=>{H.value=!1,g.value=!1})))},P=i.computed(()=>(e.tokenSeparators||[]).some(I=>[`
71
71
  `,`\r
72
- `].includes(I))),T=(I,M,V)=>{var q,X;let Q=!0,J=I;(q=e.onActiveValueChange)===null||q===void 0||q.call(e,null);const ce=V?null:CA(I,e.tokenSeparators);return e.mode!=="combobox"&&ce&&(J="",(X=e.onSearchSplit)===null||X===void 0||X.call(e,ce),O(!1),Q=!1),e.onSearch&&x.value!==J&&e.onSearch(J,{source:M?"typing":"effect"}),Q},B=I=>{var M;!I||!I.trim()||(M=e.onSearch)===null||M===void 0||M.call(e,I,{source:"submit"})};i.watch(C,()=>{!C.value&&!a.value&&e.mode!=="combobox"&&T("",!1,!1)},{immediate:!0,flush:"post"}),i.watch(()=>e.disabled,()=>{S.value&&e.disabled&&$(!1),e.disabled&&!g.value&&b(!1)},{immediate:!0});const[A,F]=h2(),z=function(I){var M;const V=A(),{which:q}=I;if(q===Ne.ENTER&&(e.mode!=="combobox"&&I.preventDefault(),C.value||O(!0)),F(!!x.value),q===Ne.BACKSPACE&&!V&&a.value&&!x.value&&e.displayValues.length){const ce=[...e.displayValues];let se=null;for(let de=ce.length-1;de>=0;de-=1){const re=ce[de];if(!re.disabled){ce.splice(de,1),se=re;break}}se&&e.onDisplayValuesChange(ce,{type:"remove",values:[se]})}for(var X=arguments.length,Q=new Array(X>1?X-1:0),J=1;J<X;J++)Q[J-1]=arguments[J];C.value&&h.value&&h.value.onKeydown(I,...Q),(M=e.onKeydown)===null||M===void 0||M.call(e,I,...Q)},_=function(I){for(var M=arguments.length,V=new Array(M>1?M-1:0),q=1;q<M;q++)V[q-1]=arguments[q];C.value&&h.value&&h.value.onKeyup(I,...V),e.onKeyup&&e.onKeyup(I,...V)},K=I=>{const M=e.displayValues.filter(V=>V!==I);e.onDisplayValuesChange(M,{type:"remove",values:[I]})},H=i.shallowRef(!1),j=function(){b(!0),e.disabled||(e.onFocus&&!H.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&O(!0)),H.value=!0},L=i.ref(!1),G=function(){if(L.value||(g.value=!0,b(!1,()=>{H.value=!1,g.value=!1,O(!1)}),e.disabled))return;const I=x.value;I&&(e.mode==="tags"?e.onSearch(I,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},W=()=>{L.value=!0},Y=()=>{L.value=!1};i.provide("VCSelectContainerEvent",{focus:j,blur:G});const U=[];i.onMounted(()=>{U.forEach(I=>clearTimeout(I)),U.splice(0,U.length)}),i.onBeforeUnmount(()=>{U.forEach(I=>clearTimeout(I)),U.splice(0,U.length)});const oe=function(I){var M,V;const{target:q}=I,X=(M=f.value)===null||M===void 0?void 0:M.getPopupElement();if(X&&X.contains(q)){const se=setTimeout(()=>{var de;const re=U.indexOf(se);re!==-1&&U.splice(re,1),y(),!s.value&&!X.contains(document.activeElement)&&((de=p.value)===null||de===void 0||de.focus())});U.push(se)}for(var Q=arguments.length,J=new Array(Q>1?Q-1:0),ce=1;ce<Q;ce++)J[ce-1]=arguments[ce];(V=e.onMousedown)===null||V===void 0||V.call(e,I,...J)},R=i.shallowRef(null),D=()=>{};return i.onMounted(()=>{i.watch(k,()=>{var I;if(k.value){const M=Math.ceil((I=c.value)===null||I===void 0?void 0:I.offsetWidth);R.value!==M&&!Number.isNaN(M)&&(R.value=M)}},{immediate:!0,flush:"post"})}),k7([c,f],k,O),P7(T7(N(N({},i.toRefs(e)),{open:C,triggerOpen:k,showSearch:l,multiple:a,toggleOpen:O}))),()=>{const I=N(N({},e),n),{prefixCls:M,id:V,open:q,defaultOpen:X,mode:Q,showSearch:J,searchValue:ce,onSearch:se,allowClear:de,clearIcon:re,showArrow:te,inputIcon:ae,disabled:$e,loading:xe,getInputElement:Oe,getPopupContainer:Se,placement:ie,animation:Z,transitionName:fe,dropdownStyle:ve,dropdownClassName:Te,dropdownMatchSelectWidth:Ae,dropdownRender:pe,dropdownAlign:ue,showAction:me,direction:ke,tokenSeparators:ze,tagRender:Ie,optionLabelRender:Pe,onPopupScroll:De,onDropdownVisibleChange:we,onFocus:ye,onBlur:be,onKeyup:Ce,onKeydown:je,onMousedown:He,onClear:Re,omitDomProps:Be,getRawInputElement:et,displayValues:tt,onDisplayValuesChange:pt,emptyOptions:Ot,activeDescendantId:qt,activeValue:pn,OptionList:oo}=I,Mn=I7(I,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Jo=Q==="combobox"&&Oe&&Oe()||null,er=typeof et=="function"&&et(),_r=N({},Mn);let Eo;er&&(Eo=ko=>{O(ko)}),j7.forEach(ko=>{delete _r[ko]}),Be==null||Be.forEach(ko=>{delete _r[ko]});const Dr=te!==void 0?te:xe||!a.value&&Q!=="combobox";let Mi;Dr&&(Mi=i.createVNode(oa,{class:_e(`${M}-arrow`,{[`${M}-arrow-loading`]:xe}),customizeIcon:ae,customizeIconProps:{loading:xe,searchValue:x.value,open:C.value,focused:m.value,showSearch:l.value}},null));let Bi;const ol=()=>{Re==null||Re(),pt([],{type:"clear",values:tt}),T("",!1,!1)};!$e&&de&&(tt.length||x.value)&&(Bi=i.createVNode(oa,{class:`${M}-clear`,onMousedown:ol,customizeIcon:re},{default:()=>[i.createTextVNode("×")]}));const rl=i.createVNode(oo,{ref:h},N(N({},u.customSlots),{option:r.option})),tr=_e(M,n.class,{[`${M}-focused`]:m.value,[`${M}-multiple`]:a.value,[`${M}-single`]:!a.value,[`${M}-allow-clear`]:de,[`${M}-show-arrow`]:Dr,[`${M}-disabled`]:$e,[`${M}-loading`]:xe,[`${M}-open`]:C.value,[`${M}-customize-input`]:Jo,[`${M}-show-search`]:l.value}),Af=i.createVNode(r7,{ref:f,disabled:$e,prefixCls:M,visible:k.value,popupElement:rl,containerWidth:R.value,animation:Z,transitionName:fe,dropdownStyle:ve,dropdownClassName:Te,direction:ke,dropdownMatchSelectWidth:Ae,dropdownRender:pe,dropdownAlign:ue,placement:ie,getPopupContainer:Se,empty:Ot,getTriggerDOMNode:()=>d.current,onPopupVisibleChange:Eo,onPopupMouseEnter:D,onPopupFocusin:W,onPopupFocusout:Y},{default:()=>er?Po(er)&&ft(er,{ref:d},!1,!0):i.createVNode(E7,le(le({},e),{},{domRef:d,prefixCls:M,inputElement:Jo,ref:p,id:V,showSearch:l.value,mode:Q,activeDescendantId:qt,tagRender:Ie,optionLabelRender:Pe,values:tt,open:C.value,onToggleOpen:O,activeValue:pn,searchValue:x.value,onSearch:T,onSearchSubmit:B,onRemove:K,tokenWithEnter:P.value}),null)});let tu;return er?tu=Af:tu=i.createVNode("div",le(le({},_r),{},{class:tr,ref:c,onMousedown:oe,onKeydown:z,onKeyup:_}),[m.value&&!C.value&&i.createVNode("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${tt.map(ko=>{let{label:il,value:nr}=ko;return["number","string"].includes(typeof il)?il:nr}).join(", ")}`]),Af,Mi,Bi]),tu}}});let y2=0;const M7=process.env.NODE_ENV!=="test"&&kn();function B7(){let e;return M7?(e=y2,y2+=1):e="TEST_OR_SSR",e}function V7(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i.ref("");const t=`rc_select_${B7()}`;return e.value||t}function tc(e,t){const{defaultValue:n,value:o=i.ref()}=t||{};let r=typeof e=="function"?e():e;o.value!==void 0&&(r=i.unref(o)),n!==void 0&&(r=typeof n=="function"?n():n);const a=i.ref(r),l=i.ref(r);i.watchEffect(()=>{let u=o.value!==void 0?o.value:a.value;t.postState&&(u=t.postState(u)),l.value=u});function s(u){const c=l.value;a.value=u,i.toRaw(l.value)!==u&&t.onChange&&t.onChange(u,c)}return i.watch(o,()=>{a.value=o.value}),[l,s]}function sr(e){const t=typeof e=="function"?e():e,n=i.ref(t);function o(r){n.value=r}return[n,o]}var F7={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},L7=Symbol("iconContext"),v2=function(){return i.inject(L7,{prefixCls:i.ref("anticon"),rootClassName:i.ref(""),csp:i.ref()})};function Ch(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function H7(e,t){return e&&e.contains?e.contains(t):!1}var x2="data-vc-order",q7="vc-icon-key",Sh=new Map;function w2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):q7}function $h(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function K7(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function C2(e){return Array.from((Sh.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function S2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ch())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(x2,K7(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var a=$h(t),l=a.firstChild;if(o){if(o==="queue"){var s=C2(a).filter(function(u){return["prepend","prependQueue"].includes(u.getAttribute(x2))});if(s.length)return a.insertBefore(r,s[s.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function W7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=$h(t);return C2(n).find(function(o){return o.getAttribute(w2(t))===e})}function U7(e,t){var n=Sh.get(e);if(!n||!H7(document,n)){var o=S2("",t),r=o.parentNode;Sh.set(e,r),e.removeChild(o)}}function X7(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=$h(n);U7(o,n);var r=W7(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 a=S2(e,n);return a.setAttribute(w2(n),t),a}function $2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){G7(e,r,n[r])})}return e}function G7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y7(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error("Warning: ".concat(t))}function Z7(e,t){Y7(e,"[@ant-design/icons-vue] ".concat(t))}function O2(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function Oh(e,t,n){return n?i.h(e.tag,$2({key:t},n,e.attrs),(e.children||[]).map(function(o,r){return Oh(o,"".concat(t,"-").concat(e.tag,"-").concat(r))})):i.h(e.tag,$2({key:t},e.attrs),(e.children||[]).map(function(o,r){return Oh(o,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function E2(e){return To(e)[0]}function k2(e){return e?Array.isArray(e)?e:[e]:[]}var Q7=`
72
+ `].includes(I))),T=(I,M,V)=>{var q,X;let Q=!0,J=I;(q=e.onActiveValueChange)===null||q===void 0||q.call(e,null);const ce=V?null:CA(I,e.tokenSeparators);return e.mode!=="combobox"&&ce&&(J="",(X=e.onSearchSplit)===null||X===void 0||X.call(e,ce),O(!1),Q=!1),e.onSearch&&x.value!==J&&e.onSearch(J,{source:M?"typing":"effect"}),Q},B=I=>{var M;!I||!I.trim()||(M=e.onSearch)===null||M===void 0||M.call(e,I,{source:"submit"})};i.watch(C,()=>{!C.value&&!a.value&&e.mode!=="combobox"&&T("",!1,!1)},{immediate:!0,flush:"post"}),i.watch(()=>e.disabled,()=>{S.value&&e.disabled&&$(!1),e.disabled&&!g.value&&b(!1)},{immediate:!0});const[A,F]=h2(),z=function(I){var M;const V=A(),{which:q}=I;if(q===Ne.ENTER&&(e.mode!=="combobox"&&I.preventDefault(),C.value||O(!0)),F(!!x.value),q===Ne.BACKSPACE&&!V&&a.value&&!x.value&&e.displayValues.length){const ce=[...e.displayValues];let se=null;for(let de=ce.length-1;de>=0;de-=1){const re=ce[de];if(!re.disabled){ce.splice(de,1),se=re;break}}se&&e.onDisplayValuesChange(ce,{type:"remove",values:[se]})}for(var X=arguments.length,Q=new Array(X>1?X-1:0),J=1;J<X;J++)Q[J-1]=arguments[J];C.value&&h.value&&h.value.onKeydown(I,...Q),(M=e.onKeydown)===null||M===void 0||M.call(e,I,...Q)},_=function(I){for(var M=arguments.length,V=new Array(M>1?M-1:0),q=1;q<M;q++)V[q-1]=arguments[q];C.value&&h.value&&h.value.onKeyup(I,...V),e.onKeyup&&e.onKeyup(I,...V)},K=I=>{const M=e.displayValues.filter(V=>V!==I);e.onDisplayValuesChange(M,{type:"remove",values:[I]})},H=i.shallowRef(!1),j=function(){b(!0),e.disabled||(e.onFocus&&!H.value&&e.onFocus(...arguments),e.showAction&&e.showAction.includes("focus")&&O(!0)),H.value=!0},L=i.ref(!1),G=function(){if(L.value||(g.value=!0,b(!1,()=>{H.value=!1,g.value=!1,O(!1)}),e.disabled))return;const I=x.value;I&&(e.mode==="tags"?e.onSearch(I,{source:"submit"}):e.mode==="multiple"&&e.onSearch("",{source:"blur"})),e.onBlur&&e.onBlur(...arguments)},W=()=>{L.value=!0},Y=()=>{L.value=!1};i.provide("VCSelectContainerEvent",{focus:j,blur:G});const U=[];i.onMounted(()=>{U.forEach(I=>clearTimeout(I)),U.splice(0,U.length)}),i.onBeforeUnmount(()=>{U.forEach(I=>clearTimeout(I)),U.splice(0,U.length)});const oe=function(I){var M,V;const{target:q}=I,X=(M=f.value)===null||M===void 0?void 0:M.getPopupElement();if(X&&X.contains(q)){const se=setTimeout(()=>{var de;const re=U.indexOf(se);re!==-1&&U.splice(re,1),y(),!s.value&&!X.contains(document.activeElement)&&((de=p.value)===null||de===void 0||de.focus())});U.push(se)}for(var Q=arguments.length,J=new Array(Q>1?Q-1:0),ce=1;ce<Q;ce++)J[ce-1]=arguments[ce];(V=e.onMousedown)===null||V===void 0||V.call(e,I,...J)},R=i.shallowRef(null),D=()=>{};return i.onMounted(()=>{i.watch(k,()=>{var I;if(k.value){const M=Math.ceil((I=c.value)===null||I===void 0?void 0:I.offsetWidth);R.value!==M&&!Number.isNaN(M)&&(R.value=M)}},{immediate:!0,flush:"post"})}),kD([c,f],k,O),PD(TD(N(N({},i.toRefs(e)),{open:C,triggerOpen:k,showSearch:l,multiple:a,toggleOpen:O}))),()=>{const I=N(N({},e),n),{prefixCls:M,id:V,open:q,defaultOpen:X,mode:Q,showSearch:J,searchValue:ce,onSearch:se,allowClear:de,clearIcon:re,showArrow:te,inputIcon:ae,disabled:$e,loading:xe,getInputElement:Oe,getPopupContainer:Se,placement:ie,animation:Z,transitionName:fe,dropdownStyle:ve,dropdownClassName:Te,dropdownMatchSelectWidth:Ae,dropdownRender:pe,dropdownAlign:ue,showAction:me,direction:ke,tokenSeparators:ze,tagRender:Ie,optionLabelRender:Pe,onPopupScroll:De,onDropdownVisibleChange:we,onFocus:ye,onBlur:be,onKeyup:Ce,onKeydown:je,onMousedown:He,onClear:Re,omitDomProps:Be,getRawInputElement:et,displayValues:tt,onDisplayValuesChange:pt,emptyOptions:Ot,activeDescendantId:qt,activeValue:pn,OptionList:oo}=I,Mn=ID(I,["prefixCls","id","open","defaultOpen","mode","showSearch","searchValue","onSearch","allowClear","clearIcon","showArrow","inputIcon","disabled","loading","getInputElement","getPopupContainer","placement","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","showAction","direction","tokenSeparators","tagRender","optionLabelRender","onPopupScroll","onDropdownVisibleChange","onFocus","onBlur","onKeyup","onKeydown","onMousedown","onClear","omitDomProps","getRawInputElement","displayValues","onDisplayValuesChange","emptyOptions","activeDescendantId","activeValue","OptionList"]),Jo=Q==="combobox"&&Oe&&Oe()||null,er=typeof et=="function"&&et(),_r=N({},Mn);let Eo;er&&(Eo=ko=>{O(ko)}),jD.forEach(ko=>{delete _r[ko]}),Be==null||Be.forEach(ko=>{delete _r[ko]});const Dr=te!==void 0?te:xe||!a.value&&Q!=="combobox";let Mi;Dr&&(Mi=i.createVNode(oa,{class:_e(`${M}-arrow`,{[`${M}-arrow-loading`]:xe}),customizeIcon:ae,customizeIconProps:{loading:xe,searchValue:x.value,open:C.value,focused:m.value,showSearch:l.value}},null));let Bi;const ol=()=>{Re==null||Re(),pt([],{type:"clear",values:tt}),T("",!1,!1)};!$e&&de&&(tt.length||x.value)&&(Bi=i.createVNode(oa,{class:`${M}-clear`,onMousedown:ol,customizeIcon:re},{default:()=>[i.createTextVNode("×")]}));const rl=i.createVNode(oo,{ref:h},N(N({},u.customSlots),{option:r.option})),tr=_e(M,n.class,{[`${M}-focused`]:m.value,[`${M}-multiple`]:a.value,[`${M}-single`]:!a.value,[`${M}-allow-clear`]:de,[`${M}-show-arrow`]:Dr,[`${M}-disabled`]:$e,[`${M}-loading`]:xe,[`${M}-open`]:C.value,[`${M}-customize-input`]:Jo,[`${M}-show-search`]:l.value}),Af=i.createVNode(rD,{ref:f,disabled:$e,prefixCls:M,visible:k.value,popupElement:rl,containerWidth:R.value,animation:Z,transitionName:fe,dropdownStyle:ve,dropdownClassName:Te,direction:ke,dropdownMatchSelectWidth:Ae,dropdownRender:pe,dropdownAlign:ue,placement:ie,getPopupContainer:Se,empty:Ot,getTriggerDOMNode:()=>d.current,onPopupVisibleChange:Eo,onPopupMouseEnter:D,onPopupFocusin:W,onPopupFocusout:Y},{default:()=>er?Po(er)&&ft(er,{ref:d},!1,!0):i.createVNode(ED,le(le({},e),{},{domRef:d,prefixCls:M,inputElement:Jo,ref:p,id:V,showSearch:l.value,mode:Q,activeDescendantId:qt,tagRender:Ie,optionLabelRender:Pe,values:tt,open:C.value,onToggleOpen:O,activeValue:pn,searchValue:x.value,onSearch:T,onSearchSubmit:B,onRemove:K,tokenWithEnter:P.value}),null)});let tu;return er?tu=Af:tu=i.createVNode("div",le(le({},_r),{},{class:tr,ref:c,onMousedown:oe,onKeydown:z,onKeyup:_}),[m.value&&!C.value&&i.createVNode("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},[`${tt.map(ko=>{let{label:il,value:nr}=ko;return["number","string"].includes(typeof il)?il:nr}).join(", ")}`]),Af,Mi,Bi]),tu}}});let y2=0;const MD=process.env.NODE_ENV!=="test"&&kn();function BD(){let e;return MD?(e=y2,y2+=1):e="TEST_OR_SSR",e}function VD(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i.ref("");const t=`rc_select_${BD()}`;return e.value||t}function tc(e,t){const{defaultValue:n,value:o=i.ref()}=t||{};let r=typeof e=="function"?e():e;o.value!==void 0&&(r=i.unref(o)),n!==void 0&&(r=typeof n=="function"?n():n);const a=i.ref(r),l=i.ref(r);i.watchEffect(()=>{let u=o.value!==void 0?o.value:a.value;t.postState&&(u=t.postState(u)),l.value=u});function s(u){const c=l.value;a.value=u,i.toRaw(l.value)!==u&&t.onChange&&t.onChange(u,c)}return i.watch(o,()=>{a.value=o.value}),[l,s]}function sr(e){const t=typeof e=="function"?e():e,n=i.ref(t);function o(r){n.value=r}return[n,o]}var FD={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},LD=Symbol("iconContext"),v2=function(){return i.inject(LD,{prefixCls:i.ref("anticon"),rootClassName:i.ref(""),csp:i.ref()})};function Ch(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function HD(e,t){return e&&e.contains?e.contains(t):!1}var x2="data-vc-order",qD="vc-icon-key",Sh=new Map;function w2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):qD}function $h(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function KD(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function C2(e){return Array.from((Sh.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function S2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Ch())return null;var n=t.csp,o=t.prepend,r=document.createElement("style");r.setAttribute(x2,KD(o)),n&&n.nonce&&(r.nonce=n.nonce),r.innerHTML=e;var a=$h(t),l=a.firstChild;if(o){if(o==="queue"){var s=C2(a).filter(function(u){return["prepend","prependQueue"].includes(u.getAttribute(x2))});if(s.length)return a.insertBefore(r,s[s.length-1].nextSibling),r}a.insertBefore(r,l)}else a.appendChild(r);return r}function WD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=$h(t);return C2(n).find(function(o){return o.getAttribute(w2(t))===e})}function UD(e,t){var n=Sh.get(e);if(!n||!HD(document,n)){var o=S2("",t),r=o.parentNode;Sh.set(e,r),e.removeChild(o)}}function XD(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=$h(n);UD(o,n);var r=WD(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 a=S2(e,n);return a.setAttribute(w2(n),t),a}function $2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){GD(e,r,n[r])})}return e}function GD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YD(e,t){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error("Warning: ".concat(t))}function ZD(e,t){YD(e,"[@ant-design/icons-vue] ".concat(t))}function O2(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function Oh(e,t,n){return n?i.h(e.tag,$2({key:t},n,e.attrs),(e.children||[]).map(function(o,r){return Oh(o,"".concat(t,"-").concat(e.tag,"-").concat(r))})):i.h(e.tag,$2({key:t},e.attrs),(e.children||[]).map(function(o,r){return Oh(o,"".concat(t,"-").concat(e.tag,"-").concat(r))}))}function E2(e){return To(e)[0]}function k2(e){return e?Array.isArray(e)?e:[e]:[]}var QD=`
73
73
  .anticon {
74
74
  display: inline-block;
75
75
  color: inherit;
@@ -123,9 +123,9 @@ summary tabindex target title type usemap value width wmode wrap`,f7=`onCopy onC
123
123
  transform: rotate(360deg);
124
124
  }
125
125
  }
126
- `;function z2(e){return e&&e.getRootNode&&e.getRootNode()}function J7(e){return Ch()?z2(e)instanceof ShadowRoot:!1}function eR(e){return J7(e)?z2(e):null}var tR=function(){var e=v2(),t=e.prefixCls,n=e.csp,o=i.getCurrentInstance(),r=Q7;t&&(r=r.replace(/anticon/g,t.value)),i.nextTick(function(){if(Ch()){var a=o.vnode.el,l=eR(a);X7(r,"@ant-design-vue-icons",{prepend:!0,csp:n.value,attachTo:l})}})},nR=["icon","primaryColor","secondaryColor"];function oR(e,t){if(e==null)return{};var n=rR(e,t),o,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function rR(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function nc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){iR(e,r,n[r])})}return e}function iR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ml=i.reactive({primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1});function aR(e){var t=e.primaryColor,n=e.secondaryColor;Ml.primaryColor=t,Ml.secondaryColor=n||E2(t),Ml.calculated=!!n}function lR(){return nc({},Ml)}var ur=function(e,t){var n=nc({},e,t.attrs),o=n.icon,r=n.primaryColor,a=n.secondaryColor,l=oR(n,nR),s=Ml;if(r&&(s={primaryColor:r,secondaryColor:a||E2(r)}),Z7(O2(o),"icon should be icon definiton, but got ".concat(o)),!O2(o))return null;var u=o;return u&&typeof u.icon=="function"&&(u=nc({},u,{icon:u.icon(s.primaryColor,s.secondaryColor)})),Oh(u.icon,"svg-".concat(u.name),nc({},l,{"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};ur.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String},ur.inheritAttrs=!1,ur.displayName="IconBase",ur.getTwoToneColors=lR,ur.setTwoToneColors=aR;function sR(e,t){return fR(e)||dR(e,t)||cR(e,t)||uR()}function uR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
126
+ `;function z2(e){return e&&e.getRootNode&&e.getRootNode()}function JD(e){return Ch()?z2(e)instanceof ShadowRoot:!1}function eR(e){return JD(e)?z2(e):null}var tR=function(){var e=v2(),t=e.prefixCls,n=e.csp,o=i.getCurrentInstance(),r=QD;t&&(r=r.replace(/anticon/g,t.value)),i.nextTick(function(){if(Ch()){var a=o.vnode.el,l=eR(a);XD(r,"@ant-design-vue-icons",{prepend:!0,csp:n.value,attachTo:l})}})},nR=["icon","primaryColor","secondaryColor"];function oR(e,t){if(e==null)return{};var n=rR(e,t),o,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function rR(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}function nc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){iR(e,r,n[r])})}return e}function iR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ml=i.reactive({primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1});function aR(e){var t=e.primaryColor,n=e.secondaryColor;Ml.primaryColor=t,Ml.secondaryColor=n||E2(t),Ml.calculated=!!n}function lR(){return nc({},Ml)}var ur=function(e,t){var n=nc({},e,t.attrs),o=n.icon,r=n.primaryColor,a=n.secondaryColor,l=oR(n,nR),s=Ml;if(r&&(s={primaryColor:r,secondaryColor:a||E2(r)}),ZD(O2(o),"icon should be icon definiton, but got ".concat(o)),!O2(o))return null;var u=o;return u&&typeof u.icon=="function"&&(u=nc({},u,{icon:u.icon(s.primaryColor,s.secondaryColor)})),Oh(u.icon,"svg-".concat(u.name),nc({},l,{"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};ur.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String},ur.inheritAttrs=!1,ur.displayName="IconBase",ur.getTwoToneColors=lR,ur.setTwoToneColors=aR;function sR(e,t){return fR(e)||dR(e,t)||cR(e,t)||uR()}function uR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
127
127
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cR(e,t){if(e){if(typeof e=="string")return P2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P2(e,t)}}function P2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function dR(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o=[],r=!0,a=!1,l,s;try{for(n=n.call(e);!(r=(l=n.next()).done)&&(o.push(l.value),!(t&&o.length===t));r=!0);}catch(u){a=!0,s=u}finally{try{!r&&n.return!=null&&n.return()}finally{if(a)throw s}}return o}}function fR(e){if(Array.isArray(e))return e}function N2(e){var t=k2(e),n=sR(t,2),o=n[0],r=n[1];return ur.setTwoToneColors({primaryColor:o,secondaryColor:r})}function pR(){var e=ur.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var hR=i.defineComponent({name:"InsertStyles",setup:function(){return tR(),function(){return null}}}),gR=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function mR(e,t){return xR(e)||vR(e,t)||yR(e,t)||bR()}function bR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
128
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yR(e,t){if(e){if(typeof e=="string")return T2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T2(e,t)}}function T2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function vR(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o=[],r=!0,a=!1,l,s;try{for(n=n.call(e);!(r=(l=n.next()).done)&&(o.push(l.value),!(t&&o.length===t));r=!0);}catch(u){a=!0,s=u}finally{try{!r&&n.return!=null&&n.return()}finally{if(a)throw s}}return o}}function xR(e){if(Array.isArray(e))return e}function I2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Bl(e,r,n[r])})}return e}function Bl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wR(e,t){if(e==null)return{};var n=CR(e,t),o,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function CR(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}N2(jj.primary);var Ke=function(e,t){var n,o=I2({},e,t.attrs),r=o.class,a=o.icon,l=o.spin,s=o.rotate,u=o.tabindex,c=o.twoToneColor,d=o.onClick,f=wR(o,gR),p=v2(),h=p.prefixCls,g=p.rootClassName,m=(n={},Bl(n,g.value,!!g.value),Bl(n,h.value,!0),Bl(n,"".concat(h.value,"-").concat(a.name),!!a.name),Bl(n,"".concat(h.value,"-spin"),!!l||a.name==="loading"),n),b=u;b===void 0&&d&&(b=-1);var y=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,x=k2(c),w=mR(x,2),S=w[0],C=w[1];return i.createVNode("span",I2({role:"img","aria-label":a.name},f,{onClick:d,class:[m,r],tabindex:b}),[i.createVNode(ur,{icon:a,primaryColor:S,secondaryColor:C,style:y},null),i.createVNode(hR,null,null)])};Ke.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]},Ke.displayName="AntdIcon",Ke.inheritAttrs=!1,Ke.getTwoToneColor=pR,Ke.setTwoToneColor=N2;function j2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){SR(e,r,n[r])})}return e}function SR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Eh=function(e,t){var n=j2({},e,t.attrs);return i.createVNode(Ke,j2({},n,{icon:F7}),null)};Eh.displayName="DownOutlined",Eh.inheritAttrs=!1;var $R={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 A2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){OR(e,r,n[r])})}return e}function OR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wn=function(e,t){var n=A2({},e,t.attrs);return i.createVNode(Ke,A2({},n,{icon:$R}),null)};Wn.displayName="LoadingOutlined",Wn.inheritAttrs=!1;var ER={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};function _2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kR(e,r,n[r])})}return e}function kR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vl=function(e,t){var n=_2({},e,t.attrs);return i.createVNode(Ke,_2({},n,{icon:ER}),null)};Vl.displayName="CheckOutlined",Vl.inheritAttrs=!1;var zR={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};function D2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){PR(e,r,n[r])})}return e}function PR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cr=function(e,t){var n=D2({},e,t.attrs);return i.createVNode(Ke,D2({},n,{icon:zR}),null)};cr.displayName="CloseOutlined",cr.inheritAttrs=!1;var NR={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};function R2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){TR(e,r,n[r])})}return e}function TR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Un=function(e,t){var n=R2({},e,t.attrs);return i.createVNode(Ke,R2({},n,{icon:NR}),null)};Un.displayName="CloseCircleFilled",Un.inheritAttrs=!1;var IR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};function M2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){jR(e,r,n[r])})}return e}function jR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oc=function(e,t){var n=M2({},e,t.attrs);return i.createVNode(Ke,M2({},n,{icon:IR}),null)};oc.displayName="SearchOutlined",oc.inheritAttrs=!1;function AR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{loading:n,multiple:o,prefixCls:r,hasFeedback:a,feedbackIcon:l,showArrow:s}=e,u=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),c=e.clearIcon||t.clearIcon&&t.clearIcon(),d=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),f=e.removeIcon||t.removeIcon&&t.removeIcon(),p=c??i.createVNode(Un,null,null),h=y=>i.createVNode(i.Fragment,null,[s!==!1&&y,a&&l]);let g=null;if(u!==void 0)g=h(u);else if(n)g=h(i.createVNode(Wn,{spin:!0},null));else{const y=`${r}-suffix`;g=x=>{let{open:w,showSearch:S}=x;return h(w&&S?i.createVNode(oc,{class:y},null):i.createVNode(Eh,{class:y},null))}}let m=null;d!==void 0?m=d:o?m=i.createVNode(Vl,null,null):m=null;let b=null;return f!==void 0?b=f:b=i.createVNode(cr,null,null),{clearIcon:p,suffixIcon:g,itemIcon:m,removeIcon:b}}function kh(e){const t=Symbol("contextKey");return{useProvide:(n,o)=>{const r=i.reactive({});return i.provide(t,r),i.watchEffect(()=>{N(r,n,o||{})}),r},useInject:()=>i.inject(t,e)||{}}}const zh=Symbol("ContextProps"),Ph=Symbol("InternalContextProps"),Nh={id:i.computed(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},Th={addFormItemField:()=>{},removeFormItemField:()=>{}},rc=()=>{const e=i.inject(Ph,Th),t=Symbol("FormItemFieldKey"),n=i.getCurrentInstance();return e.addFormItemField(t,n.type),i.onBeforeUnmount(()=>{e.removeFormItemField(t)}),i.provide(Ph,Th),i.provide(zh,Nh),i.inject(zh,Nh)};i.defineComponent({compatConfig:{MODE:3},name:"AFormItemRest",setup(e,t){let{slots:n}=t;return i.provide(Ph,Th),i.provide(zh,Nh),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});const ri=kh({}),B2=i.defineComponent({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return ri.useProvide({}),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function ia(e,t,n){return _e({[`${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 ic=(e,t)=>t||e,_R=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},DR=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"}}}}},RR=It("Space",e=>[DR(e),_R(e)]);var MR="[object Symbol]";function Ih(e){return typeof e=="symbol"||ni(e)&&Jr(e)==MR}function BR(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}var VR=1/0,V2=lr?lr.prototype:void 0,F2=V2?V2.toString:void 0;function L2(e){if(typeof e=="string")return e;if(Kn(e))return BR(e,L2)+"";if(Ih(e))return F2?F2.call(e):"";var t=e+"";return t=="0"&&1/e==-VR?"-0":t}function FR(e){return e}function LR(){}function HR(e,t,n,o){for(var r=e.length,a=n+-1;++a<r;)if(t(e[a],a,e))return a;return-1}function qR(e){return e!==e}function KR(e,t,n){for(var o=n-1,r=e.length;++o<r;)if(e[o]===t)return o;return-1}function WR(e,t,n){return t===t?KR(e,t,n):HR(e,qR,n)}function UR(e,t){var n=e==null?0:e.length;return!!n&&WR(e,t,0)>-1}var XR=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,GR=/^\w*$/;function jh(e,t){if(Kn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Ih(e)?!0:GR.test(e)||!XR.test(e)||t!=null&&e in Object(t)}var YR="Expected a function";function Ah(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(YR);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],a=n.cache;if(a.has(r))return a.get(r);var l=e.apply(this,o);return n.cache=a.set(r,l)||a,l};return n.cache=new(Ah.Cache||_o),n}Ah.Cache=_o;var ZR=500;function QR(e){var t=Ah(e,function(o){return n.size===ZR&&n.clear(),o}),n=t.cache;return t}var JR=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,eM=/\\(\\)?/g,tM=QR(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(JR,function(n,o,r,a){t.push(r?a.replace(eM,"$1"):o||n)}),t});function nM(e){return e==null?"":L2(e)}function H2(e,t){return Kn(e)?e:jh(e,t)?[e]:tM(nM(e))}var oM=1/0;function ac(e){if(typeof e=="string"||Ih(e))return e;var t=e+"";return t=="0"&&1/e==-oM?"-0":t}function q2(e,t){t=H2(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[ac(t[n++])];return n&&n==o?e:void 0}function rM(e,t,n){var o=e==null?void 0:q2(e,t);return o===void 0?n:o}var iM=Lw(Object.getPrototypeOf,Object),aM="[object Object]",lM=Function.prototype,sM=Object.prototype,K2=lM.toString,uM=sM.hasOwnProperty,cM=K2.call(Object);function dM(e){if(!ni(e)||Jr(e)!=aM)return!1;var t=iM(e);if(t===null)return!0;var n=uM.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&K2.call(n)==cM}var fM=1,pM=2;function hM(e,t,n,o){var r=n.length,a=r;if(e==null)return!a;for(e=Object(e);r--;){var l=n[r];if(l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<a;){l=n[r];var s=l[0],u=e[s],c=l[1];if(l[2]){if(u===void 0&&!(s in e))return!1}else{var d=new Do,f;if(!(f===void 0?Yu(c,u,fM|pM,o,d):f))return!1}}return!0}function W2(e){return e===e&&!Jp(e)}function gM(e){for(var t=sh(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,W2(r)]}return t}function U2(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function mM(e){var t=gM(e);return t.length==1&&t[0][2]?U2(t[0][0],t[0][1]):function(n){return n===e||hM(n,e,t)}}function bM(e,t){return e!=null&&t in Object(e)}function yM(e,t,n){t=H2(t,e);for(var o=-1,r=t.length,a=!1;++o<r;){var l=ac(t[o]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++o!=r?a:(r=e==null?0:e.length,!!r&&rh(r)&&Rw(l,r)&&(Kn(e)||oh(e)))}function vM(e,t){return e!=null&&yM(e,t,bM)}var xM=1,wM=2;function CM(e,t){return jh(e)&&W2(t)?U2(ac(e),t):function(n){var o=rM(n,e);return o===void 0&&o===t?vM(n,e):Yu(t,o,xM|wM)}}function SM(e){return function(t){return t==null?void 0:t[e]}}function $M(e){return function(t){return q2(t,e)}}function OM(e){return jh(e)?SM(ac(e)):$M(e)}function EM(e){return typeof e=="function"?e:e==null?FR:typeof e=="object"?Kn(e)?CM(e[0],e[1]):mM(e):OM(e)}function kM(e,t,n,o){for(var r=-1,a=e==null?0:e.length;++r<a;){var l=e[r];t(o,l,n(l),e)}return o}function zM(e){return function(t,n,o){for(var r=-1,a=Object(t),l=o(t),s=l.length;s--;){var u=l[++r];if(n(a[u],u,a)===!1)break}return t}}var PM=zM();function NM(e,t){return e&&PM(e,t,sh)}function TM(e,t){return function(n,o){if(n==null)return n;if(!lh(n))return e(n,o);for(var r=n.length,a=-1,l=Object(n);++a<r&&o(l[a],a,l)!==!1;);return n}}var IM=TM(NM);function jM(e,t,n,o){return IM(e,function(r,a,l){t(o,r,n(r),l)}),o}function AM(e,t){return function(n,o){var r=Kn(n)?kM:jM,a=t();return r(n,e,EM(o),a)}}var _M="[object Map]",DM="[object Set]",RM=Object.prototype,MM=RM.hasOwnProperty;function X2(e){if(e==null)return!0;if(lh(e)&&(Kn(e)||typeof e=="string"||typeof e.splice=="function"||Xu(e)||ah(e)||oh(e)))return!e.length;var t=Ro(e);if(t==_M||t==DM)return!e.size;if(Fw(e))return!Hw(e).length;for(var n in e)if(MM.call(e,n))return!1;return!0}var BM=AM(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),VM=1/0,FM=na&&1/th(new na([,-0]))[1]==VM?function(e){return new na(e)}:LR,LM=200;function HM(e,t,n){var o=-1,r=UR,a=e.length,l=!0,s=[],u=s;if(a>=LM){var c=FM(e);if(c)return th(c);l=!1,r=kw,u=new Dl}else u=s;e:for(;++o<a;){var d=e[o],f=d;if(d=d!==0?d:0,l&&f===f){for(var p=u.length;p--;)if(u[p]===f)continue e;s.push(d)}else r(u,f,n)||(u!==s&&u.push(f),s.push(d))}return s}function _h(e){return e&&e.length?HM(e):[]}const qM=()=>({compactSize:String,compactDirection:he.oneOf(cl("horizontal","vertical")).def("horizontal"),isFirstItem:nt(),isLastItem:nt()}),lc=kh(null),Dh=(e,t)=>{const n=lc.useInject(),o=i.computed(()=>{if(!n||X2(n))return"";const{compactDirection:r,isFirstItem:a,isLastItem:l}=n,s=r==="vertical"?"-vertical-":"-";return _e({[`${e.value}-compact${s}item`]:!0,[`${e.value}-compact${s}first-item`]:a,[`${e.value}-compact${s}last-item`]:l,[`${e.value}-compact${s}item-rtl`]:t.value==="rtl"})});return{compactSize:i.computed(()=>n==null?void 0:n.compactSize),compactDirection:i.computed(()=>n==null?void 0:n.compactDirection),compactItemClassnames:o}},G2=i.defineComponent({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return lc.useProvide(null),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),KM=()=>({prefixCls:String,size:{type:String},direction:he.oneOf(cl("horizontal","vertical")).def("horizontal"),align:he.oneOf(cl("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),WM=i.defineComponent({name:"CompactItem",props:qM(),setup(e,t){let{slots:n}=t;return lc.useProvide(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});i.defineComponent({name:"ASpaceCompact",inheritAttrs:!1,props:KM(),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:a}=at("space-compact",e),l=lc.useInject(),[s,u]=RR(r),c=i.computed(()=>_e(r.value,u.value,{[`${r.value}-rtl`]:a.value==="rtl",[`${r.value}-block`]:e.block,[`${r.value}-vertical`]:e.direction==="vertical"}));return()=>{var d;const f=en(((d=o.default)===null||d===void 0?void 0:d.call(o))||[]);return f.length===0?null:s(i.createVNode("div",le(le({},n),{},{class:[c.value,n.class]}),[f.map((p,h)=>{var g;const m=p&&p.key||`${r.value}-item-${h}`,b=!l||X2(l);return i.createVNode(WM,{key:m,compactSize:(g=e.size)!==null&&g!==void 0?g:"middle",compactDirection:e.direction,isFirstItem:h===0&&(b||(l==null?void 0:l.isFirstItem)),isLastItem:h===f.length-1&&(b||(l==null?void 0:l.isLastItem))},{default:()=>[p]})})]))}}});const UM=e=>({animationDuration:e,animationFillMode:"both"}),XM=e=>({animationDuration:e,animationFillMode:"both"}),Rh=function(e,t,n,o){const r=arguments.length>4&&arguments[4]!==void 0&&arguments[4]?"&":"";return{[`
128
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yR(e,t){if(e){if(typeof e=="string")return T2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T2(e,t)}}function T2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function vR(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o=[],r=!0,a=!1,l,s;try{for(n=n.call(e);!(r=(l=n.next()).done)&&(o.push(l.value),!(t&&o.length===t));r=!0);}catch(u){a=!0,s=u}finally{try{!r&&n.return!=null&&n.return()}finally{if(a)throw s}}return o}}function xR(e){if(Array.isArray(e))return e}function I2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Bl(e,r,n[r])})}return e}function Bl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wR(e,t){if(e==null)return{};var n=CR(e,t),o,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function CR(e,t){if(e==null)return{};var n={},o=Object.keys(e),r,a;for(a=0;a<o.length;a++)r=o[a],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}N2(jj.primary);var Ke=function(e,t){var n,o=I2({},e,t.attrs),r=o.class,a=o.icon,l=o.spin,s=o.rotate,u=o.tabindex,c=o.twoToneColor,d=o.onClick,f=wR(o,gR),p=v2(),h=p.prefixCls,g=p.rootClassName,m=(n={},Bl(n,g.value,!!g.value),Bl(n,h.value,!0),Bl(n,"".concat(h.value,"-").concat(a.name),!!a.name),Bl(n,"".concat(h.value,"-spin"),!!l||a.name==="loading"),n),b=u;b===void 0&&d&&(b=-1);var y=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,x=k2(c),w=mR(x,2),S=w[0],C=w[1];return i.createVNode("span",I2({role:"img","aria-label":a.name},f,{onClick:d,class:[m,r],tabindex:b}),[i.createVNode(ur,{icon:a,primaryColor:S,secondaryColor:C,style:y},null),i.createVNode(hR,null,null)])};Ke.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]},Ke.displayName="AntdIcon",Ke.inheritAttrs=!1,Ke.getTwoToneColor=pR,Ke.setTwoToneColor=N2;function j2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){SR(e,r,n[r])})}return e}function SR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Eh=function(e,t){var n=j2({},e,t.attrs);return i.createVNode(Ke,j2({},n,{icon:FD}),null)};Eh.displayName="DownOutlined",Eh.inheritAttrs=!1;var $R={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 A2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){OR(e,r,n[r])})}return e}function OR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wn=function(e,t){var n=A2({},e,t.attrs);return i.createVNode(Ke,A2({},n,{icon:$R}),null)};Wn.displayName="LoadingOutlined",Wn.inheritAttrs=!1;var ER={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};function _2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){kR(e,r,n[r])})}return e}function kR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vl=function(e,t){var n=_2({},e,t.attrs);return i.createVNode(Ke,_2({},n,{icon:ER}),null)};Vl.displayName="CheckOutlined",Vl.inheritAttrs=!1;var zR={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};function D2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){PR(e,r,n[r])})}return e}function PR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cr=function(e,t){var n=D2({},e,t.attrs);return i.createVNode(Ke,D2({},n,{icon:zR}),null)};cr.displayName="CloseOutlined",cr.inheritAttrs=!1;var NR={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};function R2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){TR(e,r,n[r])})}return e}function TR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Un=function(e,t){var n=R2({},e,t.attrs);return i.createVNode(Ke,R2({},n,{icon:NR}),null)};Un.displayName="CloseCircleFilled",Un.inheritAttrs=!1;var IR={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};function M2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){jR(e,r,n[r])})}return e}function jR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oc=function(e,t){var n=M2({},e,t.attrs);return i.createVNode(Ke,M2({},n,{icon:IR}),null)};oc.displayName="SearchOutlined",oc.inheritAttrs=!1;function AR(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{loading:n,multiple:o,prefixCls:r,hasFeedback:a,feedbackIcon:l,showArrow:s}=e,u=e.suffixIcon||t.suffixIcon&&t.suffixIcon(),c=e.clearIcon||t.clearIcon&&t.clearIcon(),d=e.menuItemSelectedIcon||t.menuItemSelectedIcon&&t.menuItemSelectedIcon(),f=e.removeIcon||t.removeIcon&&t.removeIcon(),p=c??i.createVNode(Un,null,null),h=y=>i.createVNode(i.Fragment,null,[s!==!1&&y,a&&l]);let g=null;if(u!==void 0)g=h(u);else if(n)g=h(i.createVNode(Wn,{spin:!0},null));else{const y=`${r}-suffix`;g=x=>{let{open:w,showSearch:S}=x;return h(w&&S?i.createVNode(oc,{class:y},null):i.createVNode(Eh,{class:y},null))}}let m=null;d!==void 0?m=d:o?m=i.createVNode(Vl,null,null):m=null;let b=null;return f!==void 0?b=f:b=i.createVNode(cr,null,null),{clearIcon:p,suffixIcon:g,itemIcon:m,removeIcon:b}}function kh(e){const t=Symbol("contextKey");return{useProvide:(n,o)=>{const r=i.reactive({});return i.provide(t,r),i.watchEffect(()=>{N(r,n,o||{})}),r},useInject:()=>i.inject(t,e)||{}}}const zh=Symbol("ContextProps"),Ph=Symbol("InternalContextProps"),Nh={id:i.computed(()=>{}),onFieldBlur:()=>{},onFieldChange:()=>{},clearValidate:()=>{}},Th={addFormItemField:()=>{},removeFormItemField:()=>{}},rc=()=>{const e=i.inject(Ph,Th),t=Symbol("FormItemFieldKey"),n=i.getCurrentInstance();return e.addFormItemField(t,n.type),i.onBeforeUnmount(()=>{e.removeFormItemField(t)}),i.provide(Ph,Th),i.provide(zh,Nh),i.inject(zh,Nh)};i.defineComponent({compatConfig:{MODE:3},name:"AFormItemRest",setup(e,t){let{slots:n}=t;return i.provide(Ph,Th),i.provide(zh,Nh),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});const ri=kh({}),B2=i.defineComponent({name:"NoFormStatus",setup(e,t){let{slots:n}=t;return ri.useProvide({}),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});function ia(e,t,n){return _e({[`${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 ic=(e,t)=>t||e,_R=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},DR=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"}}}}},RR=It("Space",e=>[DR(e),_R(e)]);var MR="[object Symbol]";function Ih(e){return typeof e=="symbol"||ni(e)&&Jr(e)==MR}function BR(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}var VR=1/0,V2=lr?lr.prototype:void 0,F2=V2?V2.toString:void 0;function L2(e){if(typeof e=="string")return e;if(Kn(e))return BR(e,L2)+"";if(Ih(e))return F2?F2.call(e):"";var t=e+"";return t=="0"&&1/e==-VR?"-0":t}function FR(e){return e}function LR(){}function HR(e,t,n,o){for(var r=e.length,a=n+-1;++a<r;)if(t(e[a],a,e))return a;return-1}function qR(e){return e!==e}function KR(e,t,n){for(var o=n-1,r=e.length;++o<r;)if(e[o]===t)return o;return-1}function WR(e,t,n){return t===t?KR(e,t,n):HR(e,qR,n)}function UR(e,t){var n=e==null?0:e.length;return!!n&&WR(e,t,0)>-1}var XR=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,GR=/^\w*$/;function jh(e,t){if(Kn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Ih(e)?!0:GR.test(e)||!XR.test(e)||t!=null&&e in Object(t)}var YR="Expected a function";function Ah(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(YR);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],a=n.cache;if(a.has(r))return a.get(r);var l=e.apply(this,o);return n.cache=a.set(r,l)||a,l};return n.cache=new(Ah.Cache||_o),n}Ah.Cache=_o;var ZR=500;function QR(e){var t=Ah(e,function(o){return n.size===ZR&&n.clear(),o}),n=t.cache;return t}var JR=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,eM=/\\(\\)?/g,tM=QR(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(JR,function(n,o,r,a){t.push(r?a.replace(eM,"$1"):o||n)}),t});function nM(e){return e==null?"":L2(e)}function H2(e,t){return Kn(e)?e:jh(e,t)?[e]:tM(nM(e))}var oM=1/0;function ac(e){if(typeof e=="string"||Ih(e))return e;var t=e+"";return t=="0"&&1/e==-oM?"-0":t}function q2(e,t){t=H2(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[ac(t[n++])];return n&&n==o?e:void 0}function rM(e,t,n){var o=e==null?void 0:q2(e,t);return o===void 0?n:o}var iM=Lw(Object.getPrototypeOf,Object),aM="[object Object]",lM=Function.prototype,sM=Object.prototype,K2=lM.toString,uM=sM.hasOwnProperty,cM=K2.call(Object);function dM(e){if(!ni(e)||Jr(e)!=aM)return!1;var t=iM(e);if(t===null)return!0;var n=uM.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&K2.call(n)==cM}var fM=1,pM=2;function hM(e,t,n,o){var r=n.length,a=r;if(e==null)return!a;for(e=Object(e);r--;){var l=n[r];if(l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<a;){l=n[r];var s=l[0],u=e[s],c=l[1];if(l[2]){if(u===void 0&&!(s in e))return!1}else{var d=new Do,f;if(!(f===void 0?Yu(c,u,fM|pM,o,d):f))return!1}}return!0}function W2(e){return e===e&&!Jp(e)}function gM(e){for(var t=sh(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,W2(r)]}return t}function U2(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function mM(e){var t=gM(e);return t.length==1&&t[0][2]?U2(t[0][0],t[0][1]):function(n){return n===e||hM(n,e,t)}}function bM(e,t){return e!=null&&t in Object(e)}function yM(e,t,n){t=H2(t,e);for(var o=-1,r=t.length,a=!1;++o<r;){var l=ac(t[o]);if(!(a=e!=null&&n(e,l)))break;e=e[l]}return a||++o!=r?a:(r=e==null?0:e.length,!!r&&rh(r)&&Rw(l,r)&&(Kn(e)||oh(e)))}function vM(e,t){return e!=null&&yM(e,t,bM)}var xM=1,wM=2;function CM(e,t){return jh(e)&&W2(t)?U2(ac(e),t):function(n){var o=rM(n,e);return o===void 0&&o===t?vM(n,e):Yu(t,o,xM|wM)}}function SM(e){return function(t){return t==null?void 0:t[e]}}function $M(e){return function(t){return q2(t,e)}}function OM(e){return jh(e)?SM(ac(e)):$M(e)}function EM(e){return typeof e=="function"?e:e==null?FR:typeof e=="object"?Kn(e)?CM(e[0],e[1]):mM(e):OM(e)}function kM(e,t,n,o){for(var r=-1,a=e==null?0:e.length;++r<a;){var l=e[r];t(o,l,n(l),e)}return o}function zM(e){return function(t,n,o){for(var r=-1,a=Object(t),l=o(t),s=l.length;s--;){var u=l[++r];if(n(a[u],u,a)===!1)break}return t}}var PM=zM();function NM(e,t){return e&&PM(e,t,sh)}function TM(e,t){return function(n,o){if(n==null)return n;if(!lh(n))return e(n,o);for(var r=n.length,a=-1,l=Object(n);++a<r&&o(l[a],a,l)!==!1;);return n}}var IM=TM(NM);function jM(e,t,n,o){return IM(e,function(r,a,l){t(o,r,n(r),l)}),o}function AM(e,t){return function(n,o){var r=Kn(n)?kM:jM,a=t();return r(n,e,EM(o),a)}}var _M="[object Map]",DM="[object Set]",RM=Object.prototype,MM=RM.hasOwnProperty;function X2(e){if(e==null)return!0;if(lh(e)&&(Kn(e)||typeof e=="string"||typeof e.splice=="function"||Xu(e)||ah(e)||oh(e)))return!e.length;var t=Ro(e);if(t==_M||t==DM)return!e.size;if(Fw(e))return!Hw(e).length;for(var n in e)if(MM.call(e,n))return!1;return!0}var BM=AM(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),VM=1/0,FM=na&&1/th(new na([,-0]))[1]==VM?function(e){return new na(e)}:LR,LM=200;function HM(e,t,n){var o=-1,r=UR,a=e.length,l=!0,s=[],u=s;if(a>=LM){var c=FM(e);if(c)return th(c);l=!1,r=kw,u=new Dl}else u=s;e:for(;++o<a;){var d=e[o],f=d;if(d=d!==0?d:0,l&&f===f){for(var p=u.length;p--;)if(u[p]===f)continue e;s.push(d)}else r(u,f,n)||(u!==s&&u.push(f),s.push(d))}return s}function _h(e){return e&&e.length?HM(e):[]}const qM=()=>({compactSize:String,compactDirection:he.oneOf(cl("horizontal","vertical")).def("horizontal"),isFirstItem:nt(),isLastItem:nt()}),lc=kh(null),Dh=(e,t)=>{const n=lc.useInject(),o=i.computed(()=>{if(!n||X2(n))return"";const{compactDirection:r,isFirstItem:a,isLastItem:l}=n,s=r==="vertical"?"-vertical-":"-";return _e({[`${e.value}-compact${s}item`]:!0,[`${e.value}-compact${s}first-item`]:a,[`${e.value}-compact${s}last-item`]:l,[`${e.value}-compact${s}item-rtl`]:t.value==="rtl"})});return{compactSize:i.computed(()=>n==null?void 0:n.compactSize),compactDirection:i.computed(()=>n==null?void 0:n.compactDirection),compactItemClassnames:o}},G2=i.defineComponent({name:"NoCompactStyle",setup(e,t){let{slots:n}=t;return lc.useProvide(null),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}}),KM=()=>({prefixCls:String,size:{type:String},direction:he.oneOf(cl("horizontal","vertical")).def("horizontal"),align:he.oneOf(cl("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),WM=i.defineComponent({name:"CompactItem",props:qM(),setup(e,t){let{slots:n}=t;return lc.useProvide(e),()=>{var o;return(o=n.default)===null||o===void 0?void 0:o.call(n)}}});i.defineComponent({name:"ASpaceCompact",inheritAttrs:!1,props:KM(),setup(e,t){let{attrs:n,slots:o}=t;const{prefixCls:r,direction:a}=at("space-compact",e),l=lc.useInject(),[s,u]=RR(r),c=i.computed(()=>_e(r.value,u.value,{[`${r.value}-rtl`]:a.value==="rtl",[`${r.value}-block`]:e.block,[`${r.value}-vertical`]:e.direction==="vertical"}));return()=>{var d;const f=en(((d=o.default)===null||d===void 0?void 0:d.call(o))||[]);return f.length===0?null:s(i.createVNode("div",le(le({},n),{},{class:[c.value,n.class]}),[f.map((p,h)=>{var g;const m=p&&p.key||`${r.value}-item-${h}`,b=!l||X2(l);return i.createVNode(WM,{key:m,compactSize:(g=e.size)!==null&&g!==void 0?g:"middle",compactDirection:e.direction,isFirstItem:h===0&&(b||(l==null?void 0:l.isFirstItem)),isLastItem:h===f.length-1&&(b||(l==null?void 0:l.isLastItem))},{default:()=>[p]})})]))}}});const UM=e=>({animationDuration:e,animationFillMode:"both"}),XM=e=>({animationDuration:e,animationFillMode:"both"}),Rh=function(e,t,n,o){const r=arguments.length>4&&arguments[4]!==void 0&&arguments[4]?"&":"";return{[`
129
129
  ${r}${e}-enter,
130
130
  ${r}${e}-appear
131
131
  `]:N(N({},UM(o)),{animationPlayState:"paused"}),[`${r}${e}-leave`]:N(N({},XM(o)),{animationPlayState:"paused"}),[`
@@ -213,7 +213,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
213
213
  & > ${n}-cascader-picker:last-child ${t},
214
214
  & > ${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`}}}},MF=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:o}=e,r=(n-o*2-16)/2;return{[t]:N(N(N(N({},Lt(e)),lS(e)),aS(e,t)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:r,paddingBottom:r}}})}},BF=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}}}},VF=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:o,motionDurationSlow:r,colorIcon:a,colorIconHover:l,iconCls:s}=e;return{[`${t}-affix-wrapper`]:N(N(N(N(N({},lS(e)),{display:"inline-flex",[`&:not(${t}-affix-wrapper-disabled):hover`]:N(N({},lg(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}}}),BF(e)),{[`${s}${t}-password-icon`]:{color:a,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:l}}}),aS(e,`${t}-affix-wrapper`))}},FF=e=>{const{componentCls:t,colorError:n,colorSuccess:o,borderRadiusLG:r,borderRadiusSM:a}=e;return{[`${t}-group`]:N(N(N({},Lt(e)),RF(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:a}},"&-status-error":{[`${t}-group-addon`]:{color:n,borderColor:n}},"&-status-warning":{[`${t}-group-addon:last-child`]:{color:o,borderColor:o}}}})}},LF=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,
215
215
  > ${t},
216
- ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function sS(e){return ot(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 HF=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"}}}}},ug=It("Input",e=>{const t=sS(e);return[MF(t),HF(t),VF(t),FF(t),LF(t),cc(t)]}),qF=()=>{const e=i.ref(new Map),t=n=>o=>{e.value.set(n,o)};return i.onBeforeUpdate(()=>{e.value=new Map}),[t,e]};var KF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};function uS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){WF(e,r,n[r])})}return e}function WF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cg=function(e,t){var n=uS({},e,t.attrs);return i.createVNode(Ke,uS({},n,{icon:KF}),null)};cg.displayName="PlusOutlined",cg.inheritAttrs=!1;const dg="__RC_CASCADER_SPLIT__",cS="SHOW_PARENT",dS="SHOW_CHILD";function hr(e){return e.join(dg)}function pa(e){return e.map(hr)}function UF(e){return e.split(dg)}function XF(e){const{label:t,value:n,children:o}=e||{},r=n||"value";return{label:t||"label",value:r,key:r,children:o||"children"}}function ql(e,t){var n,o;return(n=e.isLeaf)!==null&&n!==void 0?n:!(!((o=e[t.children])===null||o===void 0)&&o.length)}function GF(e){const t=e.parentElement;if(!t)return;const n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}function YF(e,t){return`${e}-${t}`}function fS(e,t){return e??t}function ZF(e){const{title:t,_title:n,key:o,children:r}=e||{},a=t||"title";return{title:a,_title:n||[a],key:o||"key",children:r||"children"}}function QF(e,t,n){let o={};typeof n=="object"?o=n:o={externalGetKey:n},o=o||{};const{childrenPropName:r,externalGetKey:a,fieldNames:l}=o,{key:s,children:u}=ZF(l),c=r||u;let d;a?typeof a=="string"?d=p=>p[a]:typeof a=="function"&&(d=p=>a(p)):d=(p,h)=>fS(p[s],h);function f(p,h,g,m){const b=p?p[c]:e,y=p?YF(g.pos,h):"0",x=p?[...m,p]:[];if(p){const w=d(p,y),S={node:p,index:h,pos:y,key:w,parentPos:g.node?g.pos:null,level:g.level+1,nodes:x};t(S)}b&&b.forEach((w,S)=>{f(w,S,{node:p,pos:y,level:g?g.level+1:-1},x)})}f(null)}function JF(e){let{initWrapper:t,processEntity:n,onProcessFinished:o,externalGetKey:r,childrenPropName:a,fieldNames:l}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const u=r||s,c={},d={};let f={posEntities:c,keyEntities:d};return t&&(f=t(f)||f),QF(e,p=>{const{node:h,index:g,pos:m,key:b,parentPos:y,level:x,nodes:w}=p,S={node:h,nodes:w,index:g,key:b,pos:m,level:x},C=fS(b,m);c[m]=S,d[C]=S,S.parent=c[y],S.parent&&(S.parent.children=S.parent.children||[],S.parent.children.push(S)),n&&n(S,f)},{externalGetKey:u,childrenPropName:a,fieldNames:l}),o&&o(f),f}const eL=(e,t)=>i.computed(()=>JF(e.value,{fieldNames:t.value,initWrapper:n=>N(N({},n),{pathKeyEntities:{}}),processEntity:(n,o)=>{const r=n.nodes.map(a=>a[t.value.value]).join(dg);o.pathKeyEntities[r]=n,n.key=r}}).pathKeyEntities);function tL(e){const t=i.shallowRef(!1),n=i.ref({});return i.watchEffect(()=>{if(!e.value){t.value=!1,n.value={};return}let o={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(o=N(N({},o),e.value)),o.limit<=0&&(delete o.limit,process.env.NODE_ENV!=="production"&&fp(!1,"'limit' of showSearch should be positive number or false.")),t.value=!0,n.value=o}),{showSearch:t,searchConfig:n}}const Kl="__rc_cascader_search_mark__",nL=(e,t,n)=>{let{label:o}=n;return t.some(r=>String(r[o]).toLowerCase().includes(e.toLowerCase()))},oL=e=>{let{path:t,fieldNames:n}=e;return t.map(o=>o[n.label]).join(" / ")},rL=(e,t,n,o,r,a)=>i.computed(()=>{const{filter:l=nL,render:s=oL,limit:u=50,sort:c}=r.value,d=[];if(!e.value)return[];function f(p,h){p.forEach(g=>{if(!c&&u>0&&d.length>=u)return;const m=[...h,g],b=g[n.value.children];(!b||b.length===0||a.value)&&l(e.value,m,{label:n.value.label})&&d.push(N(N({},g),{[n.value.label]:s({inputValue:e.value,path:m,prefixCls:o.value,fieldNames:n.value}),[Kl]:m})),b&&f(g[n.value.children],m)})}return f(t.value,[]),c&&d.sort((p,h)=>c(p[Kl],h[Kl],e.value,n.value)),u>0?d.slice(0,u):d});function pS(e,t,n){const o=new Set(e);return e.filter(r=>{const a=t[r],l=a?a.parent:null,s=a?a.children:null;return n===dS?!(s&&s.some(u=>u.key&&o.has(u.key))):!(l&&!l.node.disabled&&o.has(l.key))})}function Wl(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var r;let a=t;const l=[];for(let s=0;s<e.length;s+=1){const u=e[s],c=a==null?void 0:a.findIndex(f=>{const p=f[n.value];return o?String(p)===String(u):p===u}),d=c!==-1?a==null?void 0:a[c]:null;l.push({value:(r=d==null?void 0:d[n.value])!==null&&r!==void 0?r:u,index:c,option:d}),a=d==null?void 0:d[n.children]}return l}const iL=(e,t,n)=>i.computed(()=>{const o=[],r=[];return n.value.forEach(a=>{Wl(a,e.value,t.value).every(l=>l.option)?r.push(a):o.push(a)}),[r,o]});function hS(e,t){const n=new Set;return e.forEach(o=>{t.has(o)||n.add(o)}),n}function aL(e){const{disabled:t,disableCheckbox:n,checkable:o}=e||{};return!!(t||n)||o===!1}function lL(e,t,n,o){const r=new Set(e),a=new Set;for(let s=0;s<=n;s+=1)(t.get(s)||new Set).forEach(u=>{const{key:c,node:d,children:f=[]}=u;r.has(c)&&!o(d)&&f.filter(p=>!o(p.node)).forEach(p=>{r.add(p.key)})});const l=new Set;for(let s=n;s>=0;s-=1)(t.get(s)||new Set).forEach(u=>{const{parent:c,node:d}=u;if(o(d)||!u.parent||l.has(u.parent.key))return;if(o(u.parent.node)){l.add(c.key);return}let f=!0,p=!1;(c.children||[]).filter(h=>!o(h.node)).forEach(h=>{let{key:g}=h;const m=r.has(g);f&&!m&&(f=!1),!p&&(m||a.has(g))&&(p=!0)}),f&&r.add(c.key),p&&a.add(c.key),l.add(c.key)});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(hS(a,r))}}function sL(e,t,n,o,r){const a=new Set(e);let l=new Set(t);for(let u=0;u<=o;u+=1)(n.get(u)||new Set).forEach(c=>{const{key:d,node:f,children:p=[]}=c;!a.has(d)&&!l.has(d)&&!r(f)&&p.filter(h=>!r(h.node)).forEach(h=>{a.delete(h.key)})});l=new Set;const s=new Set;for(let u=o;u>=0;u-=1)(n.get(u)||new Set).forEach(c=>{const{parent:d,node:f}=c;if(r(f)||!c.parent||s.has(c.parent.key))return;if(r(c.parent.node)){s.add(d.key);return}let p=!0,h=!1;(d.children||[]).filter(g=>!r(g.node)).forEach(g=>{let{key:m}=g;const b=a.has(m);p&&!b&&(p=!1),!h&&(b||l.has(m))&&(h=!0)}),p||a.delete(d.key),h&&l.add(d.key),s.add(d.key)});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(hS(l,a))}}function fg(e,t,n,o,r,a){const l=[];let s;s=aL;const u=new Set(e.filter(d=>{const f=!!n[d];return f||l.push(d),f}));PI(!l.length,`Tree missing follow keys: ${l.slice(0,100).map(d=>`'${d}'`).join(", ")}`);let c;return t===!0?c=lL(u,r,o,s):c=sL(u,t.halfCheckedKeys,r,o,s),c}const uL=(e,t,n,o,r)=>i.computed(()=>{const a=r.value||(l=>{let{labels:s}=l;const u=o.value?s.slice(-1):s,c=" / ";return u.every(d=>["string","number"].includes(typeof d))?u.join(c):u.reduce((d,f,p)=>{const h=Po(f)?ft(f,{key:p}):f;return p===0?[h]:[...d,c,h]},[])});return e.value.map(l=>{const s=Wl(l,t.value,n.value),u=a({labels:s.map(d=>{let{option:f,value:p}=d;var h;return(h=f==null?void 0:f[n.value.label])!==null&&h!==void 0?h:p}),selectedOptions:s.map(d=>{let{option:f}=d;return f})}),c=hr(l);return{label:u,value:c,key:c,valueCells:l}})}),gS=Symbol("CascaderContextKey"),cL=e=>{i.provide(gS,e)},xc=()=>i.inject(gS),dL=()=>{const e=wh(),{values:t}=xc(),[n,o]=sr([]);return i.watch(()=>e.open,()=>{if(e.open&&!e.multiple){const r=t.value[0];o(r||[])}},{immediate:!0}),[n,o]},fL=(e,t,n,o,r,a)=>{const l=wh(),s=i.computed(()=>l.direction==="rtl"),[u,c,d]=[i.ref([]),i.ref(),i.ref([])];i.watchEffect(()=>{let m=-1,b=t.value;const y=[],x=[],w=o.value.length;for(let C=0;C<w&&b;C+=1){const $=b.findIndex(v=>v[n.value.value]===o.value[C]);if($===-1)break;m=$,y.push(m),x.push(o.value[C]),b=b[m][n.value.children]}let S=t.value;for(let C=0;C<y.length-1;C+=1)S=S[y[C]][n.value.children];[u.value,c.value,d.value]=[x,m,S]});const f=m=>{r(m)},p=m=>{const b=d.value.length;let y=c.value;y===-1&&m<0&&(y=b);for(let x=0;x<b;x+=1){y=(y+m+b)%b;const w=d.value[y];if(w&&!w.disabled){const S=w[n.value.value],C=u.value.slice(0,-1).concat(S);f(C);return}}},h=()=>{if(u.value.length>1){const m=u.value.slice(0,-1);f(m)}else l.toggleOpen(!1)},g=()=>{var m;const b=(((m=d.value[c.value])===null||m===void 0?void 0:m[n.value.children])||[]).find(y=>!y.disabled);if(b){const y=[...u.value,b[n.value.value]];f(y)}};e.expose({onKeydown:m=>{const{which:b}=m;switch(b){case Ne.UP:case Ne.DOWN:{let y=0;b===Ne.UP?y=-1:b===Ne.DOWN&&(y=1),y!==0&&p(y);break}case Ne.LEFT:{s.value?g():h();break}case Ne.RIGHT:{s.value?h():g();break}case Ne.BACKSPACE:{l.searchValue||h();break}case Ne.ENTER:{if(u.value.length){const y=d.value[c.value],x=(y==null?void 0:y[Kl])||[];x.length?a(x.map(w=>w[n.value.value]),x[x.length-1]):a(u.value,y)}break}case Ne.ESC:l.toggleOpen(!1),open&&m.stopPropagation()}},onKeyup:()=>{}})};function wc(e){let{prefixCls:t,checked:n,halfChecked:o,disabled:r,onClick:a}=e;const{customSlots:l,checkable:s}=xc(),u=s.value!==!1?l.value.checkable:s.value,c=typeof u=="function"?u():typeof u=="boolean"?null:u;return i.createVNode("span",{class:{[t]:!0,[`${t}-checked`]:n,[`${t}-indeterminate`]:!n&&o,[`${t}-disabled`]:r},onClick:a},[c])}wc.props=["prefixCls","checked","halfChecked","disabled","onClick"],wc.displayName="Checkbox",wc.inheritAttrs=!1;const mS="__cascader_fix_label__";function Cc(e){let{prefixCls:t,multiple:n,options:o,activeValue:r,prevValuePath:a,onToggleOpen:l,onSelect:s,onActive:u,checkedSet:c,halfCheckedSet:d,loadingKeys:f,isSelectable:p}=e;var h,g,m,b,y,x;const w=`${t}-menu`,S=`${t}-menu-item`,{fieldNames:C,changeOnSelect:$,expandTrigger:v,expandIcon:k,loadingIcon:O,dropdownMenuColumnStyle:P,customSlots:T}=xc(),B=(h=k.value)!==null&&h!==void 0?h:(m=(g=T.value).expandIcon)===null||m===void 0?void 0:m.call(g),A=(b=O.value)!==null&&b!==void 0?b:(x=(y=T.value).loadingIcon)===null||x===void 0?void 0:x.call(y),F=v.value==="hover";return i.createVNode("ul",{class:w,role:"menu"},[o.map(z=>{var _;const{disabled:K}=z,H=z[Kl],j=(_=z[mS])!==null&&_!==void 0?_:z[C.value.label],L=z[C.value.value],G=ql(z,C.value),W=H?H.map(V=>V[C.value.value]):[...a,L],Y=hr(W),U=f.includes(Y),oe=c.has(Y),R=d.has(Y),D=()=>{!K&&(!F||!G)&&u(W)},I=()=>{p(z)&&s(W,G)};let M;return typeof z.title=="string"?M=z.title:typeof j=="string"&&(M=j),i.createVNode("li",{key:Y,class:[S,{[`${S}-expand`]:!G,[`${S}-active`]:r===L,[`${S}-disabled`]:K,[`${S}-loading`]:U}],style:P.value,role:"menuitemcheckbox",title:M,"aria-checked":oe,"data-path-key":Y,onClick:()=>{D(),(!n||G)&&I()},onDblclick:()=>{$.value&&l(!1)},onMouseenter:()=>{F&&D()},onMousedown:V=>{V.preventDefault()}},[n&&i.createVNode(wc,{prefixCls:`${t}-checkbox`,checked:oe,halfChecked:R,disabled:K,onClick:V=>{V.stopPropagation(),I()}},null),i.createVNode("div",{class:`${S}-content`},[j]),!U&&B&&!G&&i.createVNode("div",{class:`${S}-expand-icon`},[ft(B)]),U&&A&&i.createVNode("div",{class:`${S}-loading-icon`},[ft(A)])])})])}Cc.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"],Cc.displayName="Column",Cc.inheritAttrs=!1;const pL=i.defineComponent({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){const{attrs:n,slots:o}=t,r=wh(),a=i.ref(),l=i.computed(()=>r.direction==="rtl"),{options:s,values:u,halfValues:c,fieldNames:d,changeOnSelect:f,onSelect:p,searchOptions:h,dropdownPrefixCls:g,loadData:m,expandTrigger:b,customSlots:y}=xc(),x=i.computed(()=>g.value||r.prefixCls),w=i.shallowRef([]),S=z=>{if(!m.value||r.searchValue)return;const _=Wl(z,s.value,d.value).map(H=>{let{option:j}=H;return j}),K=_[_.length-1];if(K&&!ql(K,d.value)){const H=hr(z);w.value=[...w.value,H],m.value(_)}};i.watchEffect(()=>{w.value.length&&w.value.forEach(z=>{const _=UF(z),K=Wl(_,s.value,d.value,!0).map(j=>{let{option:L}=j;return L}),H=K[K.length-1];(!H||H[d.value.children]||ql(H,d.value))&&(w.value=w.value.filter(j=>j!==z))})});const C=i.computed(()=>new Set(pa(u.value))),$=i.computed(()=>new Set(pa(c.value))),[v,k]=dL(),O=z=>{k(z),S(z)},P=z=>{const{disabled:_}=z,K=ql(z,d.value);return!_&&(K||f.value||r.multiple)},T=function(z,_){let K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;p(z),!r.multiple&&(_||f.value&&(b.value==="hover"||K))&&r.toggleOpen(!1)},B=i.computed(()=>r.searchValue?h.value:s.value),A=i.computed(()=>{const z=[{options:B.value}];let _=B.value;for(let K=0;K<v.value.length;K+=1){const H=v.value[K],j=_.find(G=>G[d.value.value]===H),L=j==null?void 0:j[d.value.children];if(!(L!=null&&L.length))break;_=L,z.push({options:L})}return z});fL(t,B,d,v,O,(z,_)=>{P(_)&&T(z,ql(_,d.value),!0)});const F=z=>{z.preventDefault()};return i.onMounted(()=>{i.watch(v,z=>{var _;for(let K=0;K<z.length;K+=1){const H=z.slice(0,K+1),j=hr(H),L=(_=a.value)===null||_===void 0?void 0:_.querySelector(`li[data-path-key="${j.replace(/\\{0,2}"/g,'\\"')}"]`);L&&GF(L)}},{flush:"post",immediate:!0})}),()=>{var z,_,K,H,j;const{notFoundContent:L=((z=o.notFoundContent)===null||z===void 0?void 0:z.call(o))||((K=(_=y.value).notFoundContent)===null||K===void 0?void 0:K.call(_)),multiple:G,toggleOpen:W}=r,Y=!(!((j=(H=A.value[0])===null||H===void 0?void 0:H.options)===null||j===void 0)&&j.length),U=[{[d.value.value]:"__EMPTY__",[mS]:L,disabled:!0}],oe=N(N({},n),{multiple:!Y&&G,onSelect:T,onActive:O,onToggleOpen:W,checkedSet:C.value,halfCheckedSet:$.value,loadingKeys:w.value,isSelectable:P}),R=(Y?[{options:U}]:A.value).map((D,I)=>{const M=v.value.slice(0,I),V=v.value[I];return i.createVNode(Cc,le(le({key:I},oe),{},{prefixCls:x.value,options:D.options,prevValuePath:M,activeValue:V}),null)});return i.createVNode("div",{class:[`${x.value}-menus`,{[`${x.value}-menu-empty`]:Y,[`${x.value}-rtl`]:l.value}],onMousedown:F,ref:a},[R])}}});function hL(e){const t=i.ref(0),n=i.shallowRef();return i.watchEffect(()=>{const o=new Map;let r=0;const a=e.value||{};for(const l in a)if(Object.prototype.hasOwnProperty.call(a,l)){const s=a[l],{level:u}=s;let c=o.get(u);c||(c=new Set,o.set(u,c)),c.add(s),r=Math.max(r,u)}t.value=r,n.value=o}),{maxLevel:t,levelEntities:n}}function gL(){return N(N({},wt(b2(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:Je(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:cS},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:he.any,loadingIcon:he.any})}function bS(){return N(N({},gL()),{onChange:Function,customSlots:Object})}function mL(e){return Array.isArray(e)&&Array.isArray(e[0])}function yS(e){return e?mL(e)?e:(e.length===0?[]:[e]).map(t=>Array.isArray(t)?t:[t]):[]}const bL=i.defineComponent({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:un(bS(),{}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const a=V7(i.toRef(e,"id")),l=i.computed(()=>!!e.checkable),[s,u]=tc(e.defaultValue,{value:i.computed(()=>e.value),postState:yS}),c=i.computed(()=>XF(e.fieldNames)),d=i.computed(()=>e.options||[]),f=eL(d,c),p=V=>{const q=f.value;return V.map(X=>{const{nodes:Q}=q[X];return Q.map(J=>J[c.value.value])})},[h,g]=tc("",{value:i.computed(()=>e.searchValue),postState:V=>V||""}),m=(V,q)=>{g(V),q.source!=="blur"&&e.onSearch&&e.onSearch(V)},{showSearch:b,searchConfig:y}=tL(i.toRef(e,"showSearch")),x=rL(h,d,c,i.computed(()=>e.dropdownPrefixCls||e.prefixCls),y,i.toRef(e,"changeOnSelect")),w=iL(d,c,s),[S,C,$]=[i.ref([]),i.ref([]),i.ref([])],{maxLevel:v,levelEntities:k}=hL(f);i.watchEffect(()=>{const[V,q]=w.value;if(!l.value||!s.value.length){[S.value,C.value,$.value]=[V,[],q];return}const X=pa(V),Q=f.value,{checkedKeys:J,halfCheckedKeys:ce}=fg(X,!0,Q,v.value,k.value);[S.value,C.value,$.value]=[p(J),p(ce),q]});const O=i.computed(()=>{const V=pa(S.value),q=pS(V,f.value,e.showCheckedStrategy);return[...$.value,...p(q)]}),P=uL(O,d,c,l,i.toRef(e,"displayRender")),T=V=>{if(u(V),e.onChange){const q=yS(V),X=q.map(ce=>Wl(ce,d.value,c.value).map(se=>se.option)),Q=l.value?q:q[0],J=l.value?X:X[0];e.onChange(Q,J)}},B=V=>{if(g(""),!l.value)T(V);else{const q=hr(V),X=pa(S.value),Q=pa(C.value),J=X.includes(q),ce=$.value.some(re=>hr(re)===q);let se=S.value,de=$.value;if(ce&&!J)de=$.value.filter(re=>hr(re)!==q);else{const re=J?X.filter($e=>$e!==q):[...X,q];let te;J?{checkedKeys:te}=fg(re,{checked:!1,halfCheckedKeys:Q},f.value,v.value,k.value):{checkedKeys:te}=fg(re,!0,f.value,v.value,k.value);const ae=pS(te,f.value,e.showCheckedStrategy);se=p(ae)}T([...de,...se])}},A=(V,q)=>{if(q.type==="clear"){T([]);return}const{valueCells:X}=q.values[0];B(X)};process.env.NODE_ENV!=="production"&&i.watchEffect(()=>{yt(!e.onPopupVisibleChange,"Cascader","`popupVisibleChange` is deprecated. Please use `dropdownVisibleChange` instead."),yt(e.popupVisible===void 0,"Cascader","`popupVisible` is deprecated. Please use `open` instead."),yt(e.popupPlacement===void 0,"Cascader","`popupPlacement` is deprecated. Please use `placement` instead."),yt(e.popupStyle===void 0,"Cascader","`popupStyle` is deprecated. Please use `dropdownStyle` instead.")});const F=i.computed(()=>e.open!==void 0?e.open:e.popupVisible),z=i.computed(()=>e.dropdownStyle||e.popupStyle||{}),_=i.computed(()=>e.placement||e.popupPlacement),K=V=>{var q,X;(q=e.onDropdownVisibleChange)===null||q===void 0||q.call(e,V),(X=e.onPopupVisibleChange)===null||X===void 0||X.call(e,V)},{changeOnSelect:H,checkable:j,dropdownPrefixCls:L,loadData:G,expandTrigger:W,expandIcon:Y,loadingIcon:U,dropdownMenuColumnStyle:oe,customSlots:R,dropdownClassName:D}=i.toRefs(e);cL({options:d,fieldNames:c,values:S,halfValues:C,changeOnSelect:H,onSelect:B,checkable:j,searchOptions:x,dropdownPrefixCls:L,loadData:G,expandTrigger:W,expandIcon:Y,loadingIcon:U,dropdownMenuColumnStyle:oe,customSlots:R});const I=i.ref();o({focus(){var V;(V=I.value)===null||V===void 0||V.focus()},blur(){var V;(V=I.value)===null||V===void 0||V.blur()},scrollTo(V){var q;(q=I.value)===null||q===void 0||q.scrollTo(V)}});const M=i.computed(()=>wt(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const V=!(h.value?x.value:d.value).length,{dropdownMatchSelectWidth:q=!1}=e,X=h.value&&y.value.matchInputWidth||V?{}:{minWidth:"auto"};return i.createVNode(R7,le(le(le({},M.value),n),{},{ref:I,id:a,prefixCls:e.prefixCls,dropdownMatchSelectWidth:q,dropdownStyle:N(N({},z.value),X),displayValues:P.value,onDisplayValuesChange:A,mode:l.value?"multiple":void 0,searchValue:h.value,onSearch:m,showSearch:b.value,OptionList:pL,emptyOptions:V,open:F.value,dropdownClassName:D.value,placement:_.value,onDropdownVisibleChange:K,getRawInputElement:()=>{var Q;return(Q=r.default)===null||Q===void 0?void 0:Q.call(r)}}),r)}}});var yL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};function vS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){vL(e,r,n[r])})}return e}function vL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ul=function(e,t){var n=vS({},e,t.attrs);return i.createVNode(Ke,vS({},n,{icon:yL}),null)};Ul.displayName="LeftOutlined",Ul.inheritAttrs=!1;const xL=e=>{if(kn()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(o=>o in n.style)}return!1};function xS(e,t){return xL(e)}const wL=new Ye("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),CL=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:N(N({},Lt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:N(N({},Lt(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]:N(N({},Lt(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`]:N({},Tp(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"},[`
216
+ ${t}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}};function sS(e){return ot(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 HF=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"}}}}},ug=It("Input",e=>{const t=sS(e);return[MF(t),HF(t),VF(t),FF(t),LF(t),cc(t)]}),qF=()=>{const e=i.ref(new Map),t=n=>o=>{e.value.set(n,o)};return i.onBeforeUpdate(()=>{e.value=new Map}),[t,e]};var KF={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};function uS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){WF(e,r,n[r])})}return e}function WF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cg=function(e,t){var n=uS({},e,t.attrs);return i.createVNode(Ke,uS({},n,{icon:KF}),null)};cg.displayName="PlusOutlined",cg.inheritAttrs=!1;const dg="__RC_CASCADER_SPLIT__",cS="SHOW_PARENT",dS="SHOW_CHILD";function hr(e){return e.join(dg)}function pa(e){return e.map(hr)}function UF(e){return e.split(dg)}function XF(e){const{label:t,value:n,children:o}=e||{},r=n||"value";return{label:t||"label",value:r,key:r,children:o||"children"}}function ql(e,t){var n,o;return(n=e.isLeaf)!==null&&n!==void 0?n:!(!((o=e[t.children])===null||o===void 0)&&o.length)}function GF(e){const t=e.parentElement;if(!t)return;const n=e.offsetTop-t.offsetTop;n-t.scrollTop<0?t.scrollTo({top:n}):n+e.offsetHeight-t.scrollTop>t.offsetHeight&&t.scrollTo({top:n+e.offsetHeight-t.offsetHeight})}function YF(e,t){return`${e}-${t}`}function fS(e,t){return e??t}function ZF(e){const{title:t,_title:n,key:o,children:r}=e||{},a=t||"title";return{title:a,_title:n||[a],key:o||"key",children:r||"children"}}function QF(e,t,n){let o={};typeof n=="object"?o=n:o={externalGetKey:n},o=o||{};const{childrenPropName:r,externalGetKey:a,fieldNames:l}=o,{key:s,children:u}=ZF(l),c=r||u;let d;a?typeof a=="string"?d=p=>p[a]:typeof a=="function"&&(d=p=>a(p)):d=(p,h)=>fS(p[s],h);function f(p,h,g,m){const b=p?p[c]:e,y=p?YF(g.pos,h):"0",x=p?[...m,p]:[];if(p){const w=d(p,y),S={node:p,index:h,pos:y,key:w,parentPos:g.node?g.pos:null,level:g.level+1,nodes:x};t(S)}b&&b.forEach((w,S)=>{f(w,S,{node:p,pos:y,level:g?g.level+1:-1},x)})}f(null)}function JF(e){let{initWrapper:t,processEntity:n,onProcessFinished:o,externalGetKey:r,childrenPropName:a,fieldNames:l}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0;const u=r||s,c={},d={};let f={posEntities:c,keyEntities:d};return t&&(f=t(f)||f),QF(e,p=>{const{node:h,index:g,pos:m,key:b,parentPos:y,level:x,nodes:w}=p,S={node:h,nodes:w,index:g,key:b,pos:m,level:x},C=fS(b,m);c[m]=S,d[C]=S,S.parent=c[y],S.parent&&(S.parent.children=S.parent.children||[],S.parent.children.push(S)),n&&n(S,f)},{externalGetKey:u,childrenPropName:a,fieldNames:l}),o&&o(f),f}const eL=(e,t)=>i.computed(()=>JF(e.value,{fieldNames:t.value,initWrapper:n=>N(N({},n),{pathKeyEntities:{}}),processEntity:(n,o)=>{const r=n.nodes.map(a=>a[t.value.value]).join(dg);o.pathKeyEntities[r]=n,n.key=r}}).pathKeyEntities);function tL(e){const t=i.shallowRef(!1),n=i.ref({});return i.watchEffect(()=>{if(!e.value){t.value=!1,n.value={};return}let o={matchInputWidth:!0,limit:50};e.value&&typeof e.value=="object"&&(o=N(N({},o),e.value)),o.limit<=0&&(delete o.limit,process.env.NODE_ENV!=="production"&&fp(!1,"'limit' of showSearch should be positive number or false.")),t.value=!0,n.value=o}),{showSearch:t,searchConfig:n}}const Kl="__rc_cascader_search_mark__",nL=(e,t,n)=>{let{label:o}=n;return t.some(r=>String(r[o]).toLowerCase().includes(e.toLowerCase()))},oL=e=>{let{path:t,fieldNames:n}=e;return t.map(o=>o[n.label]).join(" / ")},rL=(e,t,n,o,r,a)=>i.computed(()=>{const{filter:l=nL,render:s=oL,limit:u=50,sort:c}=r.value,d=[];if(!e.value)return[];function f(p,h){p.forEach(g=>{if(!c&&u>0&&d.length>=u)return;const m=[...h,g],b=g[n.value.children];(!b||b.length===0||a.value)&&l(e.value,m,{label:n.value.label})&&d.push(N(N({},g),{[n.value.label]:s({inputValue:e.value,path:m,prefixCls:o.value,fieldNames:n.value}),[Kl]:m})),b&&f(g[n.value.children],m)})}return f(t.value,[]),c&&d.sort((p,h)=>c(p[Kl],h[Kl],e.value,n.value)),u>0?d.slice(0,u):d});function pS(e,t,n){const o=new Set(e);return e.filter(r=>{const a=t[r],l=a?a.parent:null,s=a?a.children:null;return n===dS?!(s&&s.some(u=>u.key&&o.has(u.key))):!(l&&!l.node.disabled&&o.has(l.key))})}function Wl(e,t,n){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;var r;let a=t;const l=[];for(let s=0;s<e.length;s+=1){const u=e[s],c=a==null?void 0:a.findIndex(f=>{const p=f[n.value];return o?String(p)===String(u):p===u}),d=c!==-1?a==null?void 0:a[c]:null;l.push({value:(r=d==null?void 0:d[n.value])!==null&&r!==void 0?r:u,index:c,option:d}),a=d==null?void 0:d[n.children]}return l}const iL=(e,t,n)=>i.computed(()=>{const o=[],r=[];return n.value.forEach(a=>{Wl(a,e.value,t.value).every(l=>l.option)?r.push(a):o.push(a)}),[r,o]});function hS(e,t){const n=new Set;return e.forEach(o=>{t.has(o)||n.add(o)}),n}function aL(e){const{disabled:t,disableCheckbox:n,checkable:o}=e||{};return!!(t||n)||o===!1}function lL(e,t,n,o){const r=new Set(e),a=new Set;for(let s=0;s<=n;s+=1)(t.get(s)||new Set).forEach(u=>{const{key:c,node:d,children:f=[]}=u;r.has(c)&&!o(d)&&f.filter(p=>!o(p.node)).forEach(p=>{r.add(p.key)})});const l=new Set;for(let s=n;s>=0;s-=1)(t.get(s)||new Set).forEach(u=>{const{parent:c,node:d}=u;if(o(d)||!u.parent||l.has(u.parent.key))return;if(o(u.parent.node)){l.add(c.key);return}let f=!0,p=!1;(c.children||[]).filter(h=>!o(h.node)).forEach(h=>{let{key:g}=h;const m=r.has(g);f&&!m&&(f=!1),!p&&(m||a.has(g))&&(p=!0)}),f&&r.add(c.key),p&&a.add(c.key),l.add(c.key)});return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(hS(a,r))}}function sL(e,t,n,o,r){const a=new Set(e);let l=new Set(t);for(let u=0;u<=o;u+=1)(n.get(u)||new Set).forEach(c=>{const{key:d,node:f,children:p=[]}=c;!a.has(d)&&!l.has(d)&&!r(f)&&p.filter(h=>!r(h.node)).forEach(h=>{a.delete(h.key)})});l=new Set;const s=new Set;for(let u=o;u>=0;u-=1)(n.get(u)||new Set).forEach(c=>{const{parent:d,node:f}=c;if(r(f)||!c.parent||s.has(c.parent.key))return;if(r(c.parent.node)){s.add(d.key);return}let p=!0,h=!1;(d.children||[]).filter(g=>!r(g.node)).forEach(g=>{let{key:m}=g;const b=a.has(m);p&&!b&&(p=!1),!h&&(b||l.has(m))&&(h=!0)}),p||a.delete(d.key),h&&l.add(d.key),s.add(d.key)});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(hS(l,a))}}function fg(e,t,n,o,r,a){const l=[];let s;s=aL;const u=new Set(e.filter(d=>{const f=!!n[d];return f||l.push(d),f}));PI(!l.length,`Tree missing follow keys: ${l.slice(0,100).map(d=>`'${d}'`).join(", ")}`);let c;return t===!0?c=lL(u,r,o,s):c=sL(u,t.halfCheckedKeys,r,o,s),c}const uL=(e,t,n,o,r)=>i.computed(()=>{const a=r.value||(l=>{let{labels:s}=l;const u=o.value?s.slice(-1):s,c=" / ";return u.every(d=>["string","number"].includes(typeof d))?u.join(c):u.reduce((d,f,p)=>{const h=Po(f)?ft(f,{key:p}):f;return p===0?[h]:[...d,c,h]},[])});return e.value.map(l=>{const s=Wl(l,t.value,n.value),u=a({labels:s.map(d=>{let{option:f,value:p}=d;var h;return(h=f==null?void 0:f[n.value.label])!==null&&h!==void 0?h:p}),selectedOptions:s.map(d=>{let{option:f}=d;return f})}),c=hr(l);return{label:u,value:c,key:c,valueCells:l}})}),gS=Symbol("CascaderContextKey"),cL=e=>{i.provide(gS,e)},xc=()=>i.inject(gS),dL=()=>{const e=wh(),{values:t}=xc(),[n,o]=sr([]);return i.watch(()=>e.open,()=>{if(e.open&&!e.multiple){const r=t.value[0];o(r||[])}},{immediate:!0}),[n,o]},fL=(e,t,n,o,r,a)=>{const l=wh(),s=i.computed(()=>l.direction==="rtl"),[u,c,d]=[i.ref([]),i.ref(),i.ref([])];i.watchEffect(()=>{let m=-1,b=t.value;const y=[],x=[],w=o.value.length;for(let C=0;C<w&&b;C+=1){const $=b.findIndex(v=>v[n.value.value]===o.value[C]);if($===-1)break;m=$,y.push(m),x.push(o.value[C]),b=b[m][n.value.children]}let S=t.value;for(let C=0;C<y.length-1;C+=1)S=S[y[C]][n.value.children];[u.value,c.value,d.value]=[x,m,S]});const f=m=>{r(m)},p=m=>{const b=d.value.length;let y=c.value;y===-1&&m<0&&(y=b);for(let x=0;x<b;x+=1){y=(y+m+b)%b;const w=d.value[y];if(w&&!w.disabled){const S=w[n.value.value],C=u.value.slice(0,-1).concat(S);f(C);return}}},h=()=>{if(u.value.length>1){const m=u.value.slice(0,-1);f(m)}else l.toggleOpen(!1)},g=()=>{var m;const b=(((m=d.value[c.value])===null||m===void 0?void 0:m[n.value.children])||[]).find(y=>!y.disabled);if(b){const y=[...u.value,b[n.value.value]];f(y)}};e.expose({onKeydown:m=>{const{which:b}=m;switch(b){case Ne.UP:case Ne.DOWN:{let y=0;b===Ne.UP?y=-1:b===Ne.DOWN&&(y=1),y!==0&&p(y);break}case Ne.LEFT:{s.value?g():h();break}case Ne.RIGHT:{s.value?h():g();break}case Ne.BACKSPACE:{l.searchValue||h();break}case Ne.ENTER:{if(u.value.length){const y=d.value[c.value],x=(y==null?void 0:y[Kl])||[];x.length?a(x.map(w=>w[n.value.value]),x[x.length-1]):a(u.value,y)}break}case Ne.ESC:l.toggleOpen(!1),open&&m.stopPropagation()}},onKeyup:()=>{}})};function wc(e){let{prefixCls:t,checked:n,halfChecked:o,disabled:r,onClick:a}=e;const{customSlots:l,checkable:s}=xc(),u=s.value!==!1?l.value.checkable:s.value,c=typeof u=="function"?u():typeof u=="boolean"?null:u;return i.createVNode("span",{class:{[t]:!0,[`${t}-checked`]:n,[`${t}-indeterminate`]:!n&&o,[`${t}-disabled`]:r},onClick:a},[c])}wc.props=["prefixCls","checked","halfChecked","disabled","onClick"],wc.displayName="Checkbox",wc.inheritAttrs=!1;const mS="__cascader_fix_label__";function Cc(e){let{prefixCls:t,multiple:n,options:o,activeValue:r,prevValuePath:a,onToggleOpen:l,onSelect:s,onActive:u,checkedSet:c,halfCheckedSet:d,loadingKeys:f,isSelectable:p}=e;var h,g,m,b,y,x;const w=`${t}-menu`,S=`${t}-menu-item`,{fieldNames:C,changeOnSelect:$,expandTrigger:v,expandIcon:k,loadingIcon:O,dropdownMenuColumnStyle:P,customSlots:T}=xc(),B=(h=k.value)!==null&&h!==void 0?h:(m=(g=T.value).expandIcon)===null||m===void 0?void 0:m.call(g),A=(b=O.value)!==null&&b!==void 0?b:(x=(y=T.value).loadingIcon)===null||x===void 0?void 0:x.call(y),F=v.value==="hover";return i.createVNode("ul",{class:w,role:"menu"},[o.map(z=>{var _;const{disabled:K}=z,H=z[Kl],j=(_=z[mS])!==null&&_!==void 0?_:z[C.value.label],L=z[C.value.value],G=ql(z,C.value),W=H?H.map(V=>V[C.value.value]):[...a,L],Y=hr(W),U=f.includes(Y),oe=c.has(Y),R=d.has(Y),D=()=>{!K&&(!F||!G)&&u(W)},I=()=>{p(z)&&s(W,G)};let M;return typeof z.title=="string"?M=z.title:typeof j=="string"&&(M=j),i.createVNode("li",{key:Y,class:[S,{[`${S}-expand`]:!G,[`${S}-active`]:r===L,[`${S}-disabled`]:K,[`${S}-loading`]:U}],style:P.value,role:"menuitemcheckbox",title:M,"aria-checked":oe,"data-path-key":Y,onClick:()=>{D(),(!n||G)&&I()},onDblclick:()=>{$.value&&l(!1)},onMouseenter:()=>{F&&D()},onMousedown:V=>{V.preventDefault()}},[n&&i.createVNode(wc,{prefixCls:`${t}-checkbox`,checked:oe,halfChecked:R,disabled:K,onClick:V=>{V.stopPropagation(),I()}},null),i.createVNode("div",{class:`${S}-content`},[j]),!U&&B&&!G&&i.createVNode("div",{class:`${S}-expand-icon`},[ft(B)]),U&&A&&i.createVNode("div",{class:`${S}-loading-icon`},[ft(A)])])})])}Cc.props=["prefixCls","multiple","options","activeValue","prevValuePath","onToggleOpen","onSelect","onActive","checkedSet","halfCheckedSet","loadingKeys","isSelectable"],Cc.displayName="Column",Cc.inheritAttrs=!1;const pL=i.defineComponent({compatConfig:{MODE:3},name:"OptionList",inheritAttrs:!1,setup(e,t){const{attrs:n,slots:o}=t,r=wh(),a=i.ref(),l=i.computed(()=>r.direction==="rtl"),{options:s,values:u,halfValues:c,fieldNames:d,changeOnSelect:f,onSelect:p,searchOptions:h,dropdownPrefixCls:g,loadData:m,expandTrigger:b,customSlots:y}=xc(),x=i.computed(()=>g.value||r.prefixCls),w=i.shallowRef([]),S=z=>{if(!m.value||r.searchValue)return;const _=Wl(z,s.value,d.value).map(H=>{let{option:j}=H;return j}),K=_[_.length-1];if(K&&!ql(K,d.value)){const H=hr(z);w.value=[...w.value,H],m.value(_)}};i.watchEffect(()=>{w.value.length&&w.value.forEach(z=>{const _=UF(z),K=Wl(_,s.value,d.value,!0).map(j=>{let{option:L}=j;return L}),H=K[K.length-1];(!H||H[d.value.children]||ql(H,d.value))&&(w.value=w.value.filter(j=>j!==z))})});const C=i.computed(()=>new Set(pa(u.value))),$=i.computed(()=>new Set(pa(c.value))),[v,k]=dL(),O=z=>{k(z),S(z)},P=z=>{const{disabled:_}=z,K=ql(z,d.value);return!_&&(K||f.value||r.multiple)},T=function(z,_){let K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;p(z),!r.multiple&&(_||f.value&&(b.value==="hover"||K))&&r.toggleOpen(!1)},B=i.computed(()=>r.searchValue?h.value:s.value),A=i.computed(()=>{const z=[{options:B.value}];let _=B.value;for(let K=0;K<v.value.length;K+=1){const H=v.value[K],j=_.find(G=>G[d.value.value]===H),L=j==null?void 0:j[d.value.children];if(!(L!=null&&L.length))break;_=L,z.push({options:L})}return z});fL(t,B,d,v,O,(z,_)=>{P(_)&&T(z,ql(_,d.value),!0)});const F=z=>{z.preventDefault()};return i.onMounted(()=>{i.watch(v,z=>{var _;for(let K=0;K<z.length;K+=1){const H=z.slice(0,K+1),j=hr(H),L=(_=a.value)===null||_===void 0?void 0:_.querySelector(`li[data-path-key="${j.replace(/\\{0,2}"/g,'\\"')}"]`);L&&GF(L)}},{flush:"post",immediate:!0})}),()=>{var z,_,K,H,j;const{notFoundContent:L=((z=o.notFoundContent)===null||z===void 0?void 0:z.call(o))||((K=(_=y.value).notFoundContent)===null||K===void 0?void 0:K.call(_)),multiple:G,toggleOpen:W}=r,Y=!(!((j=(H=A.value[0])===null||H===void 0?void 0:H.options)===null||j===void 0)&&j.length),U=[{[d.value.value]:"__EMPTY__",[mS]:L,disabled:!0}],oe=N(N({},n),{multiple:!Y&&G,onSelect:T,onActive:O,onToggleOpen:W,checkedSet:C.value,halfCheckedSet:$.value,loadingKeys:w.value,isSelectable:P}),R=(Y?[{options:U}]:A.value).map((D,I)=>{const M=v.value.slice(0,I),V=v.value[I];return i.createVNode(Cc,le(le({key:I},oe),{},{prefixCls:x.value,options:D.options,prevValuePath:M,activeValue:V}),null)});return i.createVNode("div",{class:[`${x.value}-menus`,{[`${x.value}-menu-empty`]:Y,[`${x.value}-rtl`]:l.value}],onMousedown:F,ref:a},[R])}}});function hL(e){const t=i.ref(0),n=i.shallowRef();return i.watchEffect(()=>{const o=new Map;let r=0;const a=e.value||{};for(const l in a)if(Object.prototype.hasOwnProperty.call(a,l)){const s=a[l],{level:u}=s;let c=o.get(u);c||(c=new Set,o.set(u,c)),c.add(s),r=Math.max(r,u)}t.value=r,n.value=o}),{maxLevel:t,levelEntities:n}}function gL(){return N(N({},wt(b2(),["tokenSeparators","mode","showSearch"])),{id:String,prefixCls:String,fieldNames:Je(),children:Array,value:{type:[String,Number,Array]},defaultValue:{type:[String,Number,Array]},changeOnSelect:{type:Boolean,default:void 0},displayRender:Function,checkable:{type:Boolean,default:void 0},showCheckedStrategy:{type:String,default:cS},showSearch:{type:[Boolean,Object],default:void 0},searchValue:String,onSearch:Function,expandTrigger:String,options:Array,dropdownPrefixCls:String,loadData:Function,popupVisible:{type:Boolean,default:void 0},dropdownClassName:String,dropdownMenuColumnStyle:{type:Object,default:void 0},popupStyle:{type:Object,default:void 0},dropdownStyle:{type:Object,default:void 0},popupPlacement:String,placement:String,onPopupVisibleChange:Function,onDropdownVisibleChange:Function,expandIcon:he.any,loadingIcon:he.any})}function bS(){return N(N({},gL()),{onChange:Function,customSlots:Object})}function mL(e){return Array.isArray(e)&&Array.isArray(e[0])}function yS(e){return e?mL(e)?e:(e.length===0?[]:[e]).map(t=>Array.isArray(t)?t:[t]):[]}const bL=i.defineComponent({compatConfig:{MODE:3},name:"Cascader",inheritAttrs:!1,props:un(bS(),{}),setup(e,t){let{attrs:n,expose:o,slots:r}=t;const a=VD(i.toRef(e,"id")),l=i.computed(()=>!!e.checkable),[s,u]=tc(e.defaultValue,{value:i.computed(()=>e.value),postState:yS}),c=i.computed(()=>XF(e.fieldNames)),d=i.computed(()=>e.options||[]),f=eL(d,c),p=V=>{const q=f.value;return V.map(X=>{const{nodes:Q}=q[X];return Q.map(J=>J[c.value.value])})},[h,g]=tc("",{value:i.computed(()=>e.searchValue),postState:V=>V||""}),m=(V,q)=>{g(V),q.source!=="blur"&&e.onSearch&&e.onSearch(V)},{showSearch:b,searchConfig:y}=tL(i.toRef(e,"showSearch")),x=rL(h,d,c,i.computed(()=>e.dropdownPrefixCls||e.prefixCls),y,i.toRef(e,"changeOnSelect")),w=iL(d,c,s),[S,C,$]=[i.ref([]),i.ref([]),i.ref([])],{maxLevel:v,levelEntities:k}=hL(f);i.watchEffect(()=>{const[V,q]=w.value;if(!l.value||!s.value.length){[S.value,C.value,$.value]=[V,[],q];return}const X=pa(V),Q=f.value,{checkedKeys:J,halfCheckedKeys:ce}=fg(X,!0,Q,v.value,k.value);[S.value,C.value,$.value]=[p(J),p(ce),q]});const O=i.computed(()=>{const V=pa(S.value),q=pS(V,f.value,e.showCheckedStrategy);return[...$.value,...p(q)]}),P=uL(O,d,c,l,i.toRef(e,"displayRender")),T=V=>{if(u(V),e.onChange){const q=yS(V),X=q.map(ce=>Wl(ce,d.value,c.value).map(se=>se.option)),Q=l.value?q:q[0],J=l.value?X:X[0];e.onChange(Q,J)}},B=V=>{if(g(""),!l.value)T(V);else{const q=hr(V),X=pa(S.value),Q=pa(C.value),J=X.includes(q),ce=$.value.some(re=>hr(re)===q);let se=S.value,de=$.value;if(ce&&!J)de=$.value.filter(re=>hr(re)!==q);else{const re=J?X.filter($e=>$e!==q):[...X,q];let te;J?{checkedKeys:te}=fg(re,{checked:!1,halfCheckedKeys:Q},f.value,v.value,k.value):{checkedKeys:te}=fg(re,!0,f.value,v.value,k.value);const ae=pS(te,f.value,e.showCheckedStrategy);se=p(ae)}T([...de,...se])}},A=(V,q)=>{if(q.type==="clear"){T([]);return}const{valueCells:X}=q.values[0];B(X)};process.env.NODE_ENV!=="production"&&i.watchEffect(()=>{yt(!e.onPopupVisibleChange,"Cascader","`popupVisibleChange` is deprecated. Please use `dropdownVisibleChange` instead."),yt(e.popupVisible===void 0,"Cascader","`popupVisible` is deprecated. Please use `open` instead."),yt(e.popupPlacement===void 0,"Cascader","`popupPlacement` is deprecated. Please use `placement` instead."),yt(e.popupStyle===void 0,"Cascader","`popupStyle` is deprecated. Please use `dropdownStyle` instead.")});const F=i.computed(()=>e.open!==void 0?e.open:e.popupVisible),z=i.computed(()=>e.dropdownStyle||e.popupStyle||{}),_=i.computed(()=>e.placement||e.popupPlacement),K=V=>{var q,X;(q=e.onDropdownVisibleChange)===null||q===void 0||q.call(e,V),(X=e.onPopupVisibleChange)===null||X===void 0||X.call(e,V)},{changeOnSelect:H,checkable:j,dropdownPrefixCls:L,loadData:G,expandTrigger:W,expandIcon:Y,loadingIcon:U,dropdownMenuColumnStyle:oe,customSlots:R,dropdownClassName:D}=i.toRefs(e);cL({options:d,fieldNames:c,values:S,halfValues:C,changeOnSelect:H,onSelect:B,checkable:j,searchOptions:x,dropdownPrefixCls:L,loadData:G,expandTrigger:W,expandIcon:Y,loadingIcon:U,dropdownMenuColumnStyle:oe,customSlots:R});const I=i.ref();o({focus(){var V;(V=I.value)===null||V===void 0||V.focus()},blur(){var V;(V=I.value)===null||V===void 0||V.blur()},scrollTo(V){var q;(q=I.value)===null||q===void 0||q.scrollTo(V)}});const M=i.computed(()=>wt(e,["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","customSlots","showCheckedStrategy","children"]));return()=>{const V=!(h.value?x.value:d.value).length,{dropdownMatchSelectWidth:q=!1}=e,X=h.value&&y.value.matchInputWidth||V?{}:{minWidth:"auto"};return i.createVNode(RD,le(le(le({},M.value),n),{},{ref:I,id:a,prefixCls:e.prefixCls,dropdownMatchSelectWidth:q,dropdownStyle:N(N({},z.value),X),displayValues:P.value,onDisplayValuesChange:A,mode:l.value?"multiple":void 0,searchValue:h.value,onSearch:m,showSearch:b.value,OptionList:pL,emptyOptions:V,open:F.value,dropdownClassName:D.value,placement:_.value,onDropdownVisibleChange:K,getRawInputElement:()=>{var Q;return(Q=r.default)===null||Q===void 0?void 0:Q.call(r)}}),r)}}});var yL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};function vS(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){vL(e,r,n[r])})}return e}function vL(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ul=function(e,t){var n=vS({},e,t.attrs);return i.createVNode(Ke,vS({},n,{icon:yL}),null)};Ul.displayName="LeftOutlined",Ul.inheritAttrs=!1;const xL=e=>{if(kn()&&window.document.documentElement){const t=Array.isArray(e)?e:[e],{documentElement:n}=window.document;return t.some(o=>o in n.style)}return!1};function xS(e,t){return xL(e)}const wL=new Ye("antCheckboxEffect",{"0%":{transform:"scale(1)",opacity:.5},"100%":{transform:"scale(1.6)",opacity:0}}),CL=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:N(N({},Lt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:N(N({},Lt(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]:N(N({},Lt(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`]:N({},Tp(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"},[`
217
217
  ${n}:not(${n}-disabled),
218
218
  ${t}:not(${t}-disabled)
219
219
  `]:{[`&: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:wL,animationDuration:e.motionDurationSlow,animationTimingFunction:"ease-in-out",animationFillMode:"backwards",content:'""',transition:`all ${e.motionDurationSlow}`}},[`
@@ -222,7 +222,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
222
222
  `]:{[`&: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 SL(e,t){const n=ot(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[CL(n)]}const $L=e=>{const{prefixCls:t,componentCls:n,antCls:o}=e,r=`${n}-menu-item`,a=`
223
223
  &${r}-expand ${r}-expand-icon,
224
224
  ${r}-loading-icon
225
- `,l=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[n]:{width:e.controlWidth}},{[`${n}-dropdown`]:[SL(`${t}-checkbox`,e),{[`&${o}-select-dropdown`]:{padding:0}},{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":N(N({},Xr),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${l}px ${e.paddingSM}px`,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[a]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[a]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${n}-dropdown-rtl`]:{direction:"rtl"}},cc(e)]},OL=It("Cascader",e=>[$L(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var EL=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function kL(e,t,n){const o=e.toLowerCase().split(t).reduce((l,s,u)=>u===0?[s]:[...l,t,s],[]),r=[];let a=0;return o.forEach((l,s)=>{const u=a+l.length;let c=e.slice(a,u);a=u,s%2===1&&(c=i.createVNode("span",{class:`${n}-menu-item-keyword`,key:"seperator"},[c])),r.push(c)}),r}const zL=e=>{let{inputValue:t,path:n,prefixCls:o,fieldNames:r}=e;const a=[],l=t.toLowerCase();return n.forEach((s,u)=>{u!==0&&a.push(" / ");let c=s[r.label];const d=typeof c;(d==="string"||d==="number")&&(c=kL(String(c),l,o)),a.push(c)}),a};function PL(){return N(N({},wt(bS(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:he.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const NL=i.defineComponent({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:un(PL(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup(e,t){let{attrs:n,expose:o,slots:r,emit:a}=t;process.env.NODE_ENV!=="production"&&yt(!e.dropdownClassName,"Cascader","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const l=rc(),s=ri.useInject(),u=i.computed(()=>ic(s.status,e.status)),{prefixCls:c,rootPrefixCls:d,getPrefixCls:f,direction:p,getPopupContainer:h,renderEmpty:g,size:m,disabled:b}=at("cascader",e),y=i.computed(()=>f("select",e.prefixCls)),{compactSize:x,compactItemClassnames:w}=Dh(y,p),S=i.computed(()=>x.value||m.value),C=Fr(),$=i.computed(()=>{var H;return(H=b.value)!==null&&H!==void 0?H:C.value}),[v,k]=PB(y),[O]=OL(c),P=i.computed(()=>p.value==="rtl");process.env.NODE_ENV!=="production"&&i.watchEffect(()=>{yt(!e.multiple||!e.displayRender||!r.displayRender,"Cascader","`displayRender` not work on `multiple`. Please use `tagRender` instead.")});const T=i.computed(()=>{if(!e.showSearch)return e.showSearch;let H={render:zL};return typeof e.showSearch=="object"&&(H=N(N({},H),e.showSearch)),H}),B=i.computed(()=>_e(e.popupClassName||e.dropdownClassName,`${c.value}-dropdown`,{[`${c.value}-dropdown-rtl`]:P.value},k.value)),A=i.ref();o({focus(){var H;(H=A.value)===null||H===void 0||H.focus()},blur(){var H;(H=A.value)===null||H===void 0||H.blur()}});const F=function(){for(var H=arguments.length,j=new Array(H),L=0;L<H;L++)j[L]=arguments[L];a("update:value",j[0]),a("change",...j),l.onFieldChange()},z=function(){for(var H=arguments.length,j=new Array(H),L=0;L<H;L++)j[L]=arguments[L];a("blur",...j),l.onFieldBlur()},_=i.computed(()=>e.showArrow!==void 0?e.showArrow:e.loading||!e.multiple),K=i.computed(()=>e.placement!==void 0?e.placement:p.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var H,j;const{notFoundContent:L=(H=r.notFoundContent)===null||H===void 0?void 0:H.call(r),expandIcon:G=(j=r.expandIcon)===null||j===void 0?void 0:j.call(r),multiple:W,bordered:Y,allowClear:U,choiceTransitionName:oe,transitionName:R,id:D=l.id.value}=e,I=EL(e,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),M=L||g("Cascader");let V=G;G||(V=P.value?i.createVNode(Ul,null,null):i.createVNode(li,null,null));const q=i.createVNode("span",{class:`${y.value}-menu-item-loading-icon`},[i.createVNode(Wn,{spin:!0},null)]),{suffixIcon:X,removeIcon:Q,clearIcon:J}=AR(N(N({},e),{hasFeedback:s.hasFeedback,feedbackIcon:s.feedbackIcon,multiple:W,prefixCls:y.value,showArrow:_.value}),r);return O(v(i.createVNode(bL,le(le(le({},I),n),{},{id:D,prefixCls:y.value,class:[c.value,{[`${y.value}-lg`]:S.value==="large",[`${y.value}-sm`]:S.value==="small",[`${y.value}-rtl`]:P.value,[`${y.value}-borderless`]:!Y,[`${y.value}-in-form-item`]:s.isFormItemInput},ia(y.value,u.value,s.hasFeedback),w.value,n.class,k.value],disabled:$.value,direction:p.value,placement:K.value,notFoundContent:M,allowClear:U,showSearch:T.value,expandIcon:V,inputIcon:X,removeIcon:Q,clearIcon:J,loadingIcon:q,checkable:!!W,dropdownClassName:B.value,dropdownPrefixCls:c.value,choiceTransitionName:Zu(d.value,"",oe),transitionName:Zu(d.value,HD(K.value),R),getPopupContainer:h==null?void 0:h.value,customSlots:N(N({},r),{checkable:()=>i.createVNode("span",{class:`${c.value}-checkbox-inner`},null)}),tagRender:e.tagRender||r.tagRender,displayRender:e.displayRender||r.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder,showArrow:s.hasFeedback||e.showArrow,onChange:F,onBlur:z,ref:A}),r)))}}}),TL=rr(N(NL,{SHOW_CHILD:dS,SHOW_PARENT:cS}));let pg=N({},Lr.Modal);function IL(e){e?pg=N(N({},pg),e):pg=N({},Lr.Modal)}const hg="internalMark",Sc=i.defineComponent({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;tn(e.ANT_MARK__===hg,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead");const o=i.reactive({antLocale:N(N({},e.locale),{exist:!0}),ANT_MARK__:hg});return i.provide("localeData",o),i.watch(()=>e.locale,r=>{IL(r&&r.Modal),o.antLocale=N(N({},r),{exist:!0})},{immediate:!0}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});Sc.install=function(e){return e.component(Sc.name,Sc),e};const jL=rr(Sc),$c=i.defineComponent({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,a=!1;const l=i.computed(()=>e.duration===void 0?4.5:e.duration),s=()=>{l.value&&!a&&(r=setTimeout(()=>{c()},l.value*1e3))},u=()=>{r&&(clearTimeout(r),r=null)},c=f=>{f&&f.stopPropagation(),u();const{onClose:p,noticeKey:h}=e;p&&p(h)},d=()=>{u(),s()};return i.onMounted(()=>{s()}),i.onUnmounted(()=>{a=!0,u()}),i.watch([l,()=>e.updateMark,()=>e.visible],(f,p)=>{let[h,g,m]=f,[b,y,x]=p;(h!==b||g!==y||m!==x&&x)&&d()},{flush:"post"}),()=>{var f,p;const{prefixCls:h,closable:g,closeIcon:m=(f=o.closeIcon)===null||f===void 0?void 0:f.call(o),onClick:b,holder:y}=e,{class:x,style:w}=n,S=`${h}-notice`,C=Object.keys(n).reduce((v,k)=>((k.startsWith("data-")||k.startsWith("aria-")||k==="role")&&(v[k]=n[k]),v),{}),$=i.createVNode("div",le({class:_e(S,x,{[`${S}-closable`]:g}),style:w,onMouseenter:u,onMouseleave:s,onClick:b},C),[i.createVNode("div",{class:`${S}-content`},[(p=o.default)===null||p===void 0?void 0:p.call(o)]),g?i.createVNode("a",{tabindex:0,onClick:c,class:`${S}-close`},[m||i.createVNode("span",{class:`${S}-close-x`},null)]):null]);return y?i.createVNode(i.Teleport,{to:y},{default:()=>$}):$}}});var AL=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let wS=0;const _L=Date.now();function CS(){const e=wS;return wS+=1,`rcNotification_${_L}_${e}`}const Oc=i.defineComponent({name:"Notification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId"],setup(e,t){let{attrs:n,expose:o,slots:r}=t;const a=new Map,l=i.ref([]),s=i.computed(()=>{const{prefixCls:d,animation:f="fade"}=e;let p=e.transitionName;return!p&&f&&(p=`${d}-${f}`),ph(p)}),u=(d,f)=>{const p=d.key||CS(),h=N(N({},d),{key:p}),{maxCount:g}=e,m=l.value.map(y=>y.notice.key).indexOf(p),b=l.value.concat();m!==-1?b.splice(m,1,{notice:h,holderCallback:f}):(g&&l.value.length>=g&&(h.key=b[0].notice.key,h.updateMark=CS(),h.userPassKey=p,b.shift()),b.push({notice:h,holderCallback:f})),l.value=b},c=d=>{l.value=i.toRaw(l.value).filter(f=>{let{notice:{key:p,userPassKey:h}}=f;return(h||p)!==d})};return o({add:u,remove:c,notices:l}),()=>{var d;const{prefixCls:f,closeIcon:p=(d=r.closeIcon)===null||d===void 0?void 0:d.call(r,{prefixCls:f})}=e,h=l.value.map((m,b)=>{let{notice:y,holderCallback:x}=m;const w=b===l.value.length-1?y.updateMark:void 0,{key:S,userPassKey:C}=y,{content:$}=y,v=N(N(N({prefixCls:f,closeIcon:typeof p=="function"?p({prefixCls:f}):p},y),y.props),{key:S,noticeKey:C||S,updateMark:w,onClose:k=>{var O;c(k),(O=y.onClose)===null||O===void 0||O.call(y)},onClick:y.onClick});return x?i.createVNode("div",{key:S,class:`${f}-hook-holder`,ref:k=>{typeof S>"u"||(k?(a.set(S,k),x(k,v)):a.delete(S))}},null):i.createVNode($c,le(le({},v),{},{class:_e(v.class,e.hashId)}),{default:()=>[typeof $=="function"?$({prefixCls:f}):$]})}),g={[f]:1,[n.class]:!!n.class,[e.hashId]:!0};return i.createVNode("div",{class:g,style:n.style||{top:"65px",left:"50%"}},[i.createVNode(i.TransitionGroup,le({tag:"div"},s.value),{default:()=>[h]})])}}});Oc.newInstance=function(e,t){const n=e||{},{name:o="notification",getContainer:r,appContext:a,prefixCls:l,rootPrefixCls:s,transitionName:u,hasTransitionName:c,useStyle:d}=n,f=AL(n,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),p=document.createElement("div");r?r().appendChild(p):document.body.appendChild(p);const h=i.defineComponent({compatConfig:{MODE:3},name:"NotificationWrapper",setup(m,b){let{attrs:y}=b;const x=i.shallowRef(),w=i.computed(()=>Ut.getPrefixCls(o,l)),[,S]=d(w);return i.onMounted(()=>{t({notice(C){var $;($=x.value)===null||$===void 0||$.add(C)},removeNotice(C){var $;($=x.value)===null||$===void 0||$.remove(C)},destroy(){i.render(null,p),p.parentNode&&p.parentNode.removeChild(p)},component:x})}),()=>{const C=Ut,$=C.getRootPrefixCls(s,w.value),v=c?u:`${w.value}-${u}`;return i.createVNode(ma,le(le({},C),{},{prefixCls:$}),{default:()=>[i.createVNode(Oc,le(le({ref:x},y),{},{prefixCls:w.value,transitionName:v,hashId:S.value}),null)]})}}}),g=i.createVNode(h,f);g.appContext=a||g.appContext,i.render(g,p)};let SS=0;const DL=Date.now();function $S(){const e=SS;return SS+=1,`rcNotification_${DL}_${e}`}const RL=i.defineComponent({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,a=i.computed(()=>e.notices),l=i.computed(()=>{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 ph(d)}),s=d=>e.remove(d),u=i.ref({});i.watch(a,()=>{const d={};Object.keys(u.value).forEach(f=>{d[f]=[]}),e.notices.forEach(f=>{const{placement:p="topRight"}=f.notice;p&&(d[p]=d[p]||[],d[p].push(f))}),u.value=d});const c=i.computed(()=>Object.keys(u.value));return()=>{var d;const{prefixCls:f,closeIcon:p=(d=o.closeIcon)===null||d===void 0?void 0:d.call(o,{prefixCls:f})}=e,h=c.value.map(g=>{var m,b;const y=u.value[g],x=(m=e.getClassName)===null||m===void 0?void 0:m.call(e,g),w=(b=e.getStyles)===null||b===void 0?void 0:b.call(e,g),S=y.map((v,k)=>{let{notice:O,holderCallback:P}=v;const T=k===a.value.length-1?O.updateMark:void 0,{key:B,userPassKey:A}=O,{content:F}=O,z=N(N(N({prefixCls:f,closeIcon:typeof p=="function"?p({prefixCls:f}):p},O),O.props),{key:B,noticeKey:A||B,updateMark:T,onClose:_=>{var K;s(_),(K=O.onClose)===null||K===void 0||K.call(O)},onClick:O.onClick});return P?i.createVNode("div",{key:B,class:`${f}-hook-holder`,ref:_=>{typeof B>"u"||(_?(r.set(B,_),P(_,z)):r.delete(B))}},null):i.createVNode($c,le(le({},z),{},{class:_e(z.class,e.hashId)}),{default:()=>[typeof F=="function"?F({prefixCls:f}):F]})}),C={[f]:1,[`${f}-${g}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[x]:!!x};function $(){var v;y.length>0||(Reflect.deleteProperty(u.value,g),(v=e.onAllRemoved)===null||v===void 0||v.call(e))}return i.createVNode("div",{key:g,class:C,style:n.style||w||{top:"65px",left:"50%"}},[i.createVNode(i.TransitionGroup,le(le({tag:"div"},l.value),{},{onAfterLeave:$}),{default:()=>[S]})])});return i.createVNode(r2,{getContainer:e.getContainer},{default:()=>[h]})}}});var ML=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const BL=()=>document.body;let OS=0;function VL(){const e={};for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.forEach(r=>{r&&Object.keys(r).forEach(a=>{const l=r[a];l!==void 0&&(e[a]=l)})}),e}function ES(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=BL,motion:n,prefixCls:o,maxCount:r,getClassName:a,getStyles:l,onAllRemoved:s}=e,u=ML(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),c=i.shallowRef([]),d=i.shallowRef(),f=(y,x)=>{const w=y.key||$S(),S=N(N({},y),{key:w}),C=c.value.map(v=>v.notice.key).indexOf(w),$=c.value.concat();C!==-1?$.splice(C,1,{notice:S,holderCallback:x}):(r&&c.value.length>=r&&(S.key=$[0].notice.key,S.updateMark=$S(),S.userPassKey=w,$.shift()),$.push({notice:S,holderCallback:x})),c.value=$},p=y=>{c.value=c.value.filter(x=>{let{notice:{key:w,userPassKey:S}}=x;return(S||w)!==y})},h=()=>{c.value=[]},g=()=>i.createVNode(RL,{ref:d,prefixCls:o,maxCount:r,notices:c.value,remove:p,getClassName:a,getStyles:l,animation:n,hashId:e.hashId,onAllRemoved:s,getContainer:t},null),m=i.shallowRef([]),b={open:y=>{const x=VL(u,y);(x.key===null||x.key===void 0)&&(x.key=`vc-notification-${OS}`,OS+=1),m.value=[...m.value,{type:"open",config:x}]},close:y=>{m.value=[...m.value,{type:"close",key:y}]},destroy:()=>{m.value=[...m.value,{type:"destroy"}]}};return i.watch(m,()=>{m.value.length&&(m.value.forEach(y=>{switch(y.type){case"open":f(y.config);break;case"close":p(y.key);break;case"destroy":h();break}}),m.value=[])}),[b,g]}const FL=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:o,colorBgElevated:r,colorSuccess:a,colorError:l,colorWarning:s,colorInfo:u,fontSizeLG:c,motionEaseInOutCirc:d,motionDurationSlow:f,marginXS:p,paddingXS:h,borderRadiusLG:g,zIndexPopup:m,messageNoticeContentPadding:b}=e,y=new Ye("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),x=new Ye("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:N(N({},Lt(e)),{position:"fixed",top:p,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:m,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
225
+ `,l=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return[{[n]:{width:e.controlWidth}},{[`${n}-dropdown`]:[SL(`${t}-checkbox`,e),{[`&${o}-select-dropdown`]:{padding:0}},{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.paddingXXS,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`},"&-item":N(N({},Xr),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:`${l}px ${e.paddingSM}px`,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[a]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{fontWeight:e.fontWeightStrong,backgroundColor:e.controlItemBgActive}},"&-content":{flex:"auto"},[a]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},{[`${n}-dropdown-rtl`]:{direction:"rtl"}},cc(e)]},OL=It("Cascader",e=>[$L(e)],{controlWidth:184,controlItemWidth:111,dropdownHeight:180});var EL=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function kL(e,t,n){const o=e.toLowerCase().split(t).reduce((l,s,u)=>u===0?[s]:[...l,t,s],[]),r=[];let a=0;return o.forEach((l,s)=>{const u=a+l.length;let c=e.slice(a,u);a=u,s%2===1&&(c=i.createVNode("span",{class:`${n}-menu-item-keyword`,key:"seperator"},[c])),r.push(c)}),r}const zL=e=>{let{inputValue:t,path:n,prefixCls:o,fieldNames:r}=e;const a=[],l=t.toLowerCase();return n.forEach((s,u)=>{u!==0&&a.push(" / ");let c=s[r.label];const d=typeof c;(d==="string"||d==="number")&&(c=kL(String(c),l,o)),a.push(c)}),a};function PL(){return N(N({},wt(bS(),["customSlots","checkable","options"])),{multiple:{type:Boolean,default:void 0},size:String,bordered:{type:Boolean,default:void 0},placement:{type:String},suffixIcon:he.any,status:String,options:Array,popupClassName:String,dropdownClassName:String,"onUpdate:value":Function})}const NL=i.defineComponent({compatConfig:{MODE:3},name:"ACascader",inheritAttrs:!1,props:un(PL(),{bordered:!0,choiceTransitionName:"",allowClear:!0}),setup(e,t){let{attrs:n,expose:o,slots:r,emit:a}=t;process.env.NODE_ENV!=="production"&&yt(!e.dropdownClassName,"Cascader","`dropdownClassName` is deprecated. Please use `popupClassName` instead.");const l=rc(),s=ri.useInject(),u=i.computed(()=>ic(s.status,e.status)),{prefixCls:c,rootPrefixCls:d,getPrefixCls:f,direction:p,getPopupContainer:h,renderEmpty:g,size:m,disabled:b}=at("cascader",e),y=i.computed(()=>f("select",e.prefixCls)),{compactSize:x,compactItemClassnames:w}=Dh(y,p),S=i.computed(()=>x.value||m.value),C=Fr(),$=i.computed(()=>{var H;return(H=b.value)!==null&&H!==void 0?H:C.value}),[v,k]=PB(y),[O]=OL(c),P=i.computed(()=>p.value==="rtl");process.env.NODE_ENV!=="production"&&i.watchEffect(()=>{yt(!e.multiple||!e.displayRender||!r.displayRender,"Cascader","`displayRender` not work on `multiple`. Please use `tagRender` instead.")});const T=i.computed(()=>{if(!e.showSearch)return e.showSearch;let H={render:zL};return typeof e.showSearch=="object"&&(H=N(N({},H),e.showSearch)),H}),B=i.computed(()=>_e(e.popupClassName||e.dropdownClassName,`${c.value}-dropdown`,{[`${c.value}-dropdown-rtl`]:P.value},k.value)),A=i.ref();o({focus(){var H;(H=A.value)===null||H===void 0||H.focus()},blur(){var H;(H=A.value)===null||H===void 0||H.blur()}});const F=function(){for(var H=arguments.length,j=new Array(H),L=0;L<H;L++)j[L]=arguments[L];a("update:value",j[0]),a("change",...j),l.onFieldChange()},z=function(){for(var H=arguments.length,j=new Array(H),L=0;L<H;L++)j[L]=arguments[L];a("blur",...j),l.onFieldBlur()},_=i.computed(()=>e.showArrow!==void 0?e.showArrow:e.loading||!e.multiple),K=i.computed(()=>e.placement!==void 0?e.placement:p.value==="rtl"?"bottomRight":"bottomLeft");return()=>{var H,j;const{notFoundContent:L=(H=r.notFoundContent)===null||H===void 0?void 0:H.call(r),expandIcon:G=(j=r.expandIcon)===null||j===void 0?void 0:j.call(r),multiple:W,bordered:Y,allowClear:U,choiceTransitionName:oe,transitionName:R,id:D=l.id.value}=e,I=EL(e,["notFoundContent","expandIcon","multiple","bordered","allowClear","choiceTransitionName","transitionName","id"]),M=L||g("Cascader");let V=G;G||(V=P.value?i.createVNode(Ul,null,null):i.createVNode(li,null,null));const q=i.createVNode("span",{class:`${y.value}-menu-item-loading-icon`},[i.createVNode(Wn,{spin:!0},null)]),{suffixIcon:X,removeIcon:Q,clearIcon:J}=AR(N(N({},e),{hasFeedback:s.hasFeedback,feedbackIcon:s.feedbackIcon,multiple:W,prefixCls:y.value,showArrow:_.value}),r);return O(v(i.createVNode(bL,le(le(le({},I),n),{},{id:D,prefixCls:y.value,class:[c.value,{[`${y.value}-lg`]:S.value==="large",[`${y.value}-sm`]:S.value==="small",[`${y.value}-rtl`]:P.value,[`${y.value}-borderless`]:!Y,[`${y.value}-in-form-item`]:s.isFormItemInput},ia(y.value,u.value,s.hasFeedback),w.value,n.class,k.value],disabled:$.value,direction:p.value,placement:K.value,notFoundContent:M,allowClear:U,showSearch:T.value,expandIcon:V,inputIcon:X,removeIcon:Q,clearIcon:J,loadingIcon:q,checkable:!!W,dropdownClassName:B.value,dropdownPrefixCls:c.value,choiceTransitionName:Zu(d.value,"",oe),transitionName:Zu(d.value,H7(K.value),R),getPopupContainer:h==null?void 0:h.value,customSlots:N(N({},r),{checkable:()=>i.createVNode("span",{class:`${c.value}-checkbox-inner`},null)}),tagRender:e.tagRender||r.tagRender,displayRender:e.displayRender||r.displayRender,maxTagPlaceholder:e.maxTagPlaceholder||r.maxTagPlaceholder,showArrow:s.hasFeedback||e.showArrow,onChange:F,onBlur:z,ref:A}),r)))}}}),TL=rr(N(NL,{SHOW_CHILD:dS,SHOW_PARENT:cS}));let pg=N({},Lr.Modal);function IL(e){e?pg=N(N({},pg),e):pg=N({},Lr.Modal)}const hg="internalMark",Sc=i.defineComponent({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:n}=t;tn(e.ANT_MARK__===hg,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead");const o=i.reactive({antLocale:N(N({},e.locale),{exist:!0}),ANT_MARK__:hg});return i.provide("localeData",o),i.watch(()=>e.locale,r=>{IL(r&&r.Modal),o.antLocale=N(N({},r),{exist:!0})},{immediate:!0}),()=>{var r;return(r=n.default)===null||r===void 0?void 0:r.call(n)}}});Sc.install=function(e){return e.component(Sc.name,Sc),e};const jL=rr(Sc),$c=i.defineComponent({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,a=!1;const l=i.computed(()=>e.duration===void 0?4.5:e.duration),s=()=>{l.value&&!a&&(r=setTimeout(()=>{c()},l.value*1e3))},u=()=>{r&&(clearTimeout(r),r=null)},c=f=>{f&&f.stopPropagation(),u();const{onClose:p,noticeKey:h}=e;p&&p(h)},d=()=>{u(),s()};return i.onMounted(()=>{s()}),i.onUnmounted(()=>{a=!0,u()}),i.watch([l,()=>e.updateMark,()=>e.visible],(f,p)=>{let[h,g,m]=f,[b,y,x]=p;(h!==b||g!==y||m!==x&&x)&&d()},{flush:"post"}),()=>{var f,p;const{prefixCls:h,closable:g,closeIcon:m=(f=o.closeIcon)===null||f===void 0?void 0:f.call(o),onClick:b,holder:y}=e,{class:x,style:w}=n,S=`${h}-notice`,C=Object.keys(n).reduce((v,k)=>((k.startsWith("data-")||k.startsWith("aria-")||k==="role")&&(v[k]=n[k]),v),{}),$=i.createVNode("div",le({class:_e(S,x,{[`${S}-closable`]:g}),style:w,onMouseenter:u,onMouseleave:s,onClick:b},C),[i.createVNode("div",{class:`${S}-content`},[(p=o.default)===null||p===void 0?void 0:p.call(o)]),g?i.createVNode("a",{tabindex:0,onClick:c,class:`${S}-close`},[m||i.createVNode("span",{class:`${S}-close-x`},null)]):null]);return y?i.createVNode(i.Teleport,{to:y},{default:()=>$}):$}}});var AL=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};let wS=0;const _L=Date.now();function CS(){const e=wS;return wS+=1,`rcNotification_${_L}_${e}`}const Oc=i.defineComponent({name:"Notification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId"],setup(e,t){let{attrs:n,expose:o,slots:r}=t;const a=new Map,l=i.ref([]),s=i.computed(()=>{const{prefixCls:d,animation:f="fade"}=e;let p=e.transitionName;return!p&&f&&(p=`${d}-${f}`),ph(p)}),u=(d,f)=>{const p=d.key||CS(),h=N(N({},d),{key:p}),{maxCount:g}=e,m=l.value.map(y=>y.notice.key).indexOf(p),b=l.value.concat();m!==-1?b.splice(m,1,{notice:h,holderCallback:f}):(g&&l.value.length>=g&&(h.key=b[0].notice.key,h.updateMark=CS(),h.userPassKey=p,b.shift()),b.push({notice:h,holderCallback:f})),l.value=b},c=d=>{l.value=i.toRaw(l.value).filter(f=>{let{notice:{key:p,userPassKey:h}}=f;return(h||p)!==d})};return o({add:u,remove:c,notices:l}),()=>{var d;const{prefixCls:f,closeIcon:p=(d=r.closeIcon)===null||d===void 0?void 0:d.call(r,{prefixCls:f})}=e,h=l.value.map((m,b)=>{let{notice:y,holderCallback:x}=m;const w=b===l.value.length-1?y.updateMark:void 0,{key:S,userPassKey:C}=y,{content:$}=y,v=N(N(N({prefixCls:f,closeIcon:typeof p=="function"?p({prefixCls:f}):p},y),y.props),{key:S,noticeKey:C||S,updateMark:w,onClose:k=>{var O;c(k),(O=y.onClose)===null||O===void 0||O.call(y)},onClick:y.onClick});return x?i.createVNode("div",{key:S,class:`${f}-hook-holder`,ref:k=>{typeof S>"u"||(k?(a.set(S,k),x(k,v)):a.delete(S))}},null):i.createVNode($c,le(le({},v),{},{class:_e(v.class,e.hashId)}),{default:()=>[typeof $=="function"?$({prefixCls:f}):$]})}),g={[f]:1,[n.class]:!!n.class,[e.hashId]:!0};return i.createVNode("div",{class:g,style:n.style||{top:"65px",left:"50%"}},[i.createVNode(i.TransitionGroup,le({tag:"div"},s.value),{default:()=>[h]})])}}});Oc.newInstance=function(e,t){const n=e||{},{name:o="notification",getContainer:r,appContext:a,prefixCls:l,rootPrefixCls:s,transitionName:u,hasTransitionName:c,useStyle:d}=n,f=AL(n,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),p=document.createElement("div");r?r().appendChild(p):document.body.appendChild(p);const h=i.defineComponent({compatConfig:{MODE:3},name:"NotificationWrapper",setup(m,b){let{attrs:y}=b;const x=i.shallowRef(),w=i.computed(()=>Ut.getPrefixCls(o,l)),[,S]=d(w);return i.onMounted(()=>{t({notice(C){var $;($=x.value)===null||$===void 0||$.add(C)},removeNotice(C){var $;($=x.value)===null||$===void 0||$.remove(C)},destroy(){i.render(null,p),p.parentNode&&p.parentNode.removeChild(p)},component:x})}),()=>{const C=Ut,$=C.getRootPrefixCls(s,w.value),v=c?u:`${w.value}-${u}`;return i.createVNode(ma,le(le({},C),{},{prefixCls:$}),{default:()=>[i.createVNode(Oc,le(le({ref:x},y),{},{prefixCls:w.value,transitionName:v,hashId:S.value}),null)]})}}}),g=i.createVNode(h,f);g.appContext=a||g.appContext,i.render(g,p)};let SS=0;const DL=Date.now();function $S(){const e=SS;return SS+=1,`rcNotification_${DL}_${e}`}const RL=i.defineComponent({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,a=i.computed(()=>e.notices),l=i.computed(()=>{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 ph(d)}),s=d=>e.remove(d),u=i.ref({});i.watch(a,()=>{const d={};Object.keys(u.value).forEach(f=>{d[f]=[]}),e.notices.forEach(f=>{const{placement:p="topRight"}=f.notice;p&&(d[p]=d[p]||[],d[p].push(f))}),u.value=d});const c=i.computed(()=>Object.keys(u.value));return()=>{var d;const{prefixCls:f,closeIcon:p=(d=o.closeIcon)===null||d===void 0?void 0:d.call(o,{prefixCls:f})}=e,h=c.value.map(g=>{var m,b;const y=u.value[g],x=(m=e.getClassName)===null||m===void 0?void 0:m.call(e,g),w=(b=e.getStyles)===null||b===void 0?void 0:b.call(e,g),S=y.map((v,k)=>{let{notice:O,holderCallback:P}=v;const T=k===a.value.length-1?O.updateMark:void 0,{key:B,userPassKey:A}=O,{content:F}=O,z=N(N(N({prefixCls:f,closeIcon:typeof p=="function"?p({prefixCls:f}):p},O),O.props),{key:B,noticeKey:A||B,updateMark:T,onClose:_=>{var K;s(_),(K=O.onClose)===null||K===void 0||K.call(O)},onClick:O.onClick});return P?i.createVNode("div",{key:B,class:`${f}-hook-holder`,ref:_=>{typeof B>"u"||(_?(r.set(B,_),P(_,z)):r.delete(B))}},null):i.createVNode($c,le(le({},z),{},{class:_e(z.class,e.hashId)}),{default:()=>[typeof F=="function"?F({prefixCls:f}):F]})}),C={[f]:1,[`${f}-${g}`]:1,[n.class]:!!n.class,[e.hashId]:!0,[x]:!!x};function $(){var v;y.length>0||(Reflect.deleteProperty(u.value,g),(v=e.onAllRemoved)===null||v===void 0||v.call(e))}return i.createVNode("div",{key:g,class:C,style:n.style||w||{top:"65px",left:"50%"}},[i.createVNode(i.TransitionGroup,le(le({tag:"div"},l.value),{},{onAfterLeave:$}),{default:()=>[S]})])});return i.createVNode(r2,{getContainer:e.getContainer},{default:()=>[h]})}}});var ML=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const BL=()=>document.body;let OS=0;function VL(){const e={};for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.forEach(r=>{r&&Object.keys(r).forEach(a=>{const l=r[a];l!==void 0&&(e[a]=l)})}),e}function ES(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=BL,motion:n,prefixCls:o,maxCount:r,getClassName:a,getStyles:l,onAllRemoved:s}=e,u=ML(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),c=i.shallowRef([]),d=i.shallowRef(),f=(y,x)=>{const w=y.key||$S(),S=N(N({},y),{key:w}),C=c.value.map(v=>v.notice.key).indexOf(w),$=c.value.concat();C!==-1?$.splice(C,1,{notice:S,holderCallback:x}):(r&&c.value.length>=r&&(S.key=$[0].notice.key,S.updateMark=$S(),S.userPassKey=w,$.shift()),$.push({notice:S,holderCallback:x})),c.value=$},p=y=>{c.value=c.value.filter(x=>{let{notice:{key:w,userPassKey:S}}=x;return(S||w)!==y})},h=()=>{c.value=[]},g=()=>i.createVNode(RL,{ref:d,prefixCls:o,maxCount:r,notices:c.value,remove:p,getClassName:a,getStyles:l,animation:n,hashId:e.hashId,onAllRemoved:s,getContainer:t},null),m=i.shallowRef([]),b={open:y=>{const x=VL(u,y);(x.key===null||x.key===void 0)&&(x.key=`vc-notification-${OS}`,OS+=1),m.value=[...m.value,{type:"open",config:x}]},close:y=>{m.value=[...m.value,{type:"close",key:y}]},destroy:()=>{m.value=[...m.value,{type:"destroy"}]}};return i.watch(m,()=>{m.value.length&&(m.value.forEach(y=>{switch(y.type){case"open":f(y.config);break;case"close":p(y.key);break;case"destroy":h();break}}),m.value=[])}),[b,g]}const FL=e=>{const{componentCls:t,iconCls:n,boxShadowSecondary:o,colorBgElevated:r,colorSuccess:a,colorError:l,colorWarning:s,colorInfo:u,fontSizeLG:c,motionEaseInOutCirc:d,motionDurationSlow:f,marginXS:p,paddingXS:h,borderRadiusLG:g,zIndexPopup:m,messageNoticeContentPadding:b}=e,y=new Ye("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),x=new Ye("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:N(N({},Lt(e)),{position:"fixed",top:p,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:m,[`${t}-move-up`]:{animationFillMode:"forwards"},[`
226
226
  ${t}-move-up-appear,
227
227
  ${t}-move-up-enter
228
228
  `]:{animationName:y,animationDuration:f,animationPlayState:"paused",animationTimingFunction:d},[`
@@ -263,7 +263,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
263
263
  ${t}-expand,
264
264
  ${t}-edit,
265
265
  ${t}-copy
266
- `]:N(N({},Px(e)),{marginInlineStart:e.marginXXS})}),Iq(e)),jq(e)),Aq()),{"&-rtl":{direction:"rtl"}})}},h3=It("Typography",e=>[_q(e)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),Dq=()=>({prefixCls:String,value:String,maxlength:Number,autoSize:{type:[Boolean,Object]},onSave:Function,onCancel:Function,onEnd:Function,onChange:Function,originContent:String,direction:String,component:String}),Rq=i.defineComponent({compatConfig:{MODE:3},name:"Editable",inheritAttrs:!1,props:Dq(),setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:a}=i.toRefs(e),l=i.reactive({current:e.value||"",lastKeyCode:void 0,inComposition:!1,cancelFlag:!1});i.watch(()=>e.value,x=>{l.current=x});const s=i.ref();i.onMounted(()=>{var x;if(s.value){const w=(x=s.value)===null||x===void 0?void 0:x.resizableTextArea,S=w==null?void 0:w.textArea;S.focus();const{length:C}=S.value;S.setSelectionRange(C,C)}});function u(x){s.value=x}function c(x){let{target:{value:w}}=x;l.current=w.replace(/[\r\n]/g,""),n("change",l.current)}function d(){l.inComposition=!0}function f(){l.inComposition=!1}function p(x){const{keyCode:w}=x;w===Ne.ENTER&&x.preventDefault(),!l.inComposition&&(l.lastKeyCode=w)}function h(x){const{keyCode:w,ctrlKey:S,altKey:C,metaKey:$,shiftKey:v}=x;l.lastKeyCode===w&&!l.inComposition&&!S&&!C&&!$&&!v&&(w===Ne.ENTER?(m(),n("end")):w===Ne.ESC&&(l.current=e.originContent,n("cancel")))}function g(){m()}function m(){n("save",l.current.trim())}const[b,y]=h3(a);return()=>{const x=_e({[`${a.value}`]:!0,[`${a.value}-edit-content`]:!0,[`${a.value}-rtl`]:e.direction==="rtl",[e.component?`${a.value}-${e.component}`:""]:!0},r.class,y.value);return b(i.createVNode("div",le(le({},r),{},{class:x}),[i.createVNode(o3,{ref:u,maxlength:e.maxlength,value:l.current,onChange:c,onKeydown:p,onKeyup:h,onCompositionstart:d,onCompositionend:f,onBlur:g,rows:1,autoSize:e.autoSize===void 0||e.autoSize},null),o.enterIcon?o.enterIcon({className:`${e.prefixCls}-edit-content-confirm`}):i.createVNode(Pg,{class:`${e.prefixCls}-edit-content-confirm`},null)]))}}}),Mq=3,Bq=8;let cn;const Ng={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function g3(e,t){e.setAttribute("aria-hidden","true");const n=window.getComputedStyle(t),o=l7(n);e.setAttribute("style",o),e.style.position="fixed",e.style.left="0",e.style.height="auto",e.style.minHeight="auto",e.style.maxHeight="auto",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderTopWidth="0",e.style.borderBottomWidth="0",e.style.top="-999999px",e.style.zIndex="-1000",e.style.textOverflow="clip",e.style.whiteSpace="normal",e.style.webkitLineClamp="none"}function Vq(e){const t=document.createElement("div");g3(t,e),t.appendChild(document.createTextNode("text")),document.body.appendChild(t);const n=t.getBoundingClientRect().height;return document.body.removeChild(t),n}const Fq=(e,t,n,o,r)=>{cn||(cn=document.createElement("div"),cn.setAttribute("aria-hidden","true"),document.body.appendChild(cn));const{rows:a,suffix:l=""}=t,s=Vq(e),u=Math.round(s*a*100)/100;g3(cn,e);const c=i.createApp({render(){return i.createVNode("div",{style:Ng},[i.createVNode("span",{style:Ng},[n,l]),i.createVNode("span",{style:Ng},[o])])}});c.mount(cn);function d(){return Math.round(cn.getBoundingClientRect().height*100)/100-.1<=u}if(d())return c.unmount(),{content:n,text:cn.innerHTML,ellipsis:!1};const f=Array.prototype.slice.apply(cn.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(w=>{let{nodeType:S,data:C}=w;return S!==Bq&&C!==""}),p=Array.prototype.slice.apply(cn.childNodes[0].childNodes[1].cloneNode(!0).childNodes);c.unmount();const h=[];cn.innerHTML="";const g=document.createElement("span");cn.appendChild(g);const m=document.createTextNode(r+l);g.appendChild(m),p.forEach(w=>{cn.appendChild(w)});function b(w){g.insertBefore(w,m)}function y(w,S){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,$=arguments.length>3&&arguments[3]!==void 0?arguments[3]:S.length,v=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const k=Math.floor((C+$)/2),O=S.slice(0,k);if(w.textContent=O,C>=$-1)for(let P=$;P>=C;P-=1){const T=S.slice(0,P);if(w.textContent=T,d()||!T)return P===S.length?{finished:!1,vNode:S}:{finished:!0,vNode:T}}return d()?y(w,S,k,$,k):y(w,S,C,k,v)}function x(w){if(w.nodeType===Mq){const S=w.textContent||"",C=document.createTextNode(S);return b(C),y(C,S)}return{finished:!1,vNode:null}}return f.some(w=>{const{finished:S,vNode:C}=x(w);return C&&h.push(C),S}),{content:h,text:cn.innerHTML,ellipsis:!0}};var Lq=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Hq=()=>({prefixCls:String,direction:String,component:String}),mt=i.defineComponent({name:"ATypography",inheritAttrs:!1,props:Hq(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=at("typography",e),[l,s]=h3(r);return()=>{var u;const c=N(N({},e),o),{prefixCls:d,direction:f,component:p="article"}=c,h=Lq(c,["prefixCls","direction","component"]);return l(i.createVNode(p,le(le({},h),{},{class:_e(r.value,{[`${r.value}-rtl`]:a.value==="rtl"},o.class,s.value)}),{default:()=>[(u=n.default)===null||u===void 0?void 0:u.call(n)]}))}}}),qq=()=>{const e=document.getSelection();if(!e.rangeCount)return function(){};let t=document.activeElement;const n=[];for(let o=0;o<e.rangeCount;o++)n.push(e.getRangeAt(o));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(o){e.addRange(o)}),t&&t.focus()}},m3={"text/plain":"Text","text/html":"Url",default:"Text"},Kq="Copy to clipboard: #{key}, Enter";function Wq(e){const t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function Uq(e,t){let n,o,r,a,l,s=!1;t||(t={});const u=t.debug||!1;try{if(o=qq(),r=document.createRange(),a=document.getSelection(),l=document.createElement("span"),l.textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(c){if(c.stopPropagation(),t.format)if(c.preventDefault(),typeof c.clipboardData>"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();const d=m3[t.format]||m3.default;window.clipboardData.setData(d,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(l),r.selectNodeContents(l),a.addRange(r),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(c){u&&console.error("unable to copy using execCommand: ",c),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(d){u&&console.error("unable to copy using clipboardData: ",d),u&&console.error("falling back to prompt"),n=Wq("message"in t?t.message:Kq),window.prompt(n,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(r):a.removeAllRanges()),l&&document.body.removeChild(l),o()}return s}var Xq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};function b3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Gq(e,r,n[r])})}return e}function Gq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tg=function(e,t){var n=b3({},e,t.attrs);return i.createVNode(Ke,b3({},n,{icon:Xq}),null)};Tg.displayName="CopyOutlined",Tg.inheritAttrs=!1;var Yq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};function y3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Zq(e,r,n[r])})}return e}function Zq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ig=function(e,t){var n=y3({},e,t.attrs);return i.createVNode(Ke,y3({},n,{icon:Yq}),null)};Ig.displayName="EditOutlined",Ig.inheritAttrs=!1;var Qq=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Jq=xS("webkitLineClamp"),eK=xS("textOverflow"),v3="...",Zl=()=>({editable:{type:[Boolean,Object],default:void 0},copyable:{type:[Boolean,Object],default:void 0},prefixCls:String,component:String,type:String,disabled:{type:Boolean,default:void 0},ellipsis:{type:[Boolean,Object],default:void 0},code:{type:Boolean,default:void 0},mark:{type:Boolean,default:void 0},underline:{type:Boolean,default:void 0},delete:{type:Boolean,default:void 0},strong:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},content:String,"onUpdate:content":Function}),Ql=i.defineComponent({compatConfig:{MODE:3},name:"TypographyBase",inheritAttrs:!1,props:Zl(),setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a,direction:l}=at("typography",e),s=i.reactive({copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1,expandStr:"",copyStr:"",copiedStr:"",editStr:"",copyId:void 0,rafId:void 0,prevProps:void 0,originContent:""}),u=i.ref(),c=i.ref(),d=i.computed(()=>{const z=e.ellipsis;return z?N({rows:1,expandable:!1},typeof z=="object"?z:null):{}});i.onMounted(()=>{s.clientRendered=!0,k()}),i.onBeforeUnmount(()=>{clearTimeout(s.copyId),gt.cancel(s.rafId)}),i.watch([()=>d.value.rows,()=>e.content],()=>{i.nextTick(()=>{$()})},{flush:"post",deep:!0}),i.watchEffect(()=>{e.content===void 0&&(tn(!e.editable,"Typography","When `editable` is enabled, please use `content` instead of children"),tn(!e.ellipsis,"Typography","When `ellipsis` is enabled, please use `content` instead of children"))});function f(){var z;return e.ellipsis||e.editable?e.content:(z=Ln(u.value))===null||z===void 0?void 0:z.innerText}function p(z){const{onExpand:_}=d.value;s.expanded=!0,_==null||_(z)}function h(z){z.preventDefault(),s.originContent=e.content,C(!0)}function g(z){m(z),C(!1)}function m(z){const{onChange:_}=x.value;z!==e.content&&(r("update:content",z),_==null||_(z))}function b(){var z,_;(_=(z=x.value).onCancel)===null||_===void 0||_.call(z),C(!1)}function y(z){z.preventDefault(),z.stopPropagation();const{copyable:_}=e,K=N({},typeof _=="object"?_:null);K.text===void 0&&(K.text=f()),Uq(K.text||""),s.copied=!0,i.nextTick(()=>{K.onCopy&&K.onCopy(z),s.copyId=setTimeout(()=>{s.copied=!1},3e3)})}const x=i.computed(()=>{const z=e.editable;return z?N({},typeof z=="object"?z:null):{editing:!1}}),[w,S]=tc(!1,{value:i.computed(()=>x.value.editing)});function C(z){const{onStart:_}=x.value;z&&_&&_(),S(z)}i.watch(w,z=>{var _;z||(_=c.value)===null||_===void 0||_.focus()},{flush:"post"});function $(z){if(z){const{width:_,height:K}=z;if(!_||!K)return}gt.cancel(s.rafId),s.rafId=gt(()=>{k()})}const v=i.computed(()=>{const{rows:z,expandable:_,suffix:K,onEllipsis:H,tooltip:j}=d.value;return K||j||e.editable||e.copyable||_||H?!1:z===1?eK:Jq}),k=()=>{const{ellipsisText:z,isEllipsis:_}=s,{rows:K,suffix:H,onEllipsis:j}=d.value;if(!K||K<0||!Ln(u.value)||s.expanded||e.content===void 0||v.value)return;const{content:L,text:G,ellipsis:W}=Fq(Ln(u.value),{rows:K,suffix:H},e.content,F(!0),v3);(z!==G||s.isEllipsis!==W)&&(s.ellipsisText=G,s.ellipsisContent=L,s.isEllipsis=W,_!==W&&j&&j(W))};function O(z,_){let{mark:K,code:H,underline:j,delete:L,strong:G,keyboard:W}=z,Y=_;function U(oe,R){if(!oe)return;const D=function(){return Y}();Y=i.createVNode(R,null,{default:()=>[D]})}return U(G,"strong"),U(j,"u"),U(L,"del"),U(H,"code"),U(K,"mark"),U(W,"kbd"),Y}function P(z){const{expandable:_,symbol:K}=d.value;if(!_||!z&&(s.expanded||!s.isEllipsis))return null;const H=(n.ellipsisSymbol?n.ellipsisSymbol():K)||s.expandStr;return i.createVNode("a",{key:"expand",class:`${a.value}-expand`,onClick:p,"aria-label":s.expandStr},[H])}function T(){if(!e.editable)return;const{tooltip:z,triggerType:_=["icon"]}=e.editable,K=n.editableIcon?n.editableIcon():i.createVNode(Ig,{role:"button"},null),H=n.editableTooltip?n.editableTooltip():s.editStr,j=typeof H=="string"?H:"";return _.indexOf("icon")!==-1?i.createVNode(dr,{key:"edit",title:z===!1?"":H},{default:()=>[i.createVNode(a3,{ref:c,class:`${a.value}-edit`,onClick:h,"aria-label":j},{default:()=>[K]})]}):null}function B(){if(!e.copyable)return;const{tooltip:z}=e.copyable,_=s.copied?s.copiedStr:s.copyStr,K=n.copyableTooltip?n.copyableTooltip({copied:s.copied}):_,H=typeof K=="string"?K:"",j=s.copied?i.createVNode(Vl,null,null):i.createVNode(Tg,null,null),L=n.copyableIcon?n.copyableIcon({copied:!!s.copied}):j;return i.createVNode(dr,{key:"copy",title:z===!1?"":K},{default:()=>[i.createVNode(a3,{class:[`${a.value}-copy`,{[`${a.value}-copy-success`]:s.copied}],onClick:y,"aria-label":H},{default:()=>[L]})]})}function A(){const{class:z,style:_}=o,{maxlength:K,autoSize:H,onEnd:j}=x.value;return i.createVNode(Rq,{class:z,style:_,prefixCls:a.value,value:e.content,originContent:s.originContent,maxlength:K,autoSize:H,onSave:g,onChange:m,onCancel:b,onEnd:j,direction:l.value,component:e.component},{enterIcon:n.editableEnterIcon})}function F(z){return[P(z),T(),B()].filter(_=>_)}return()=>{var z;const{triggerType:_=["icon"]}=x.value,K=e.ellipsis||e.editable?e.content!==void 0?e.content:(z=n.default)===null||z===void 0?void 0:z.call(n):n.default?n.default():e.content;return w.value?A():i.createVNode(lp,{componentName:"Text",children:H=>{const j=N(N({},e),o),{type:L,disabled:G,content:W,class:Y,style:U}=j,oe=Qq(j,["type","disabled","content","class","style"]),{rows:R,suffix:D,tooltip:I}=d.value,{edit:M,copy:V,copied:q,expand:X}=H;s.editStr=M,s.copyStr=V,s.copiedStr=q,s.expandStr=X;const Q=wt(oe,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","onUpdate:content"]),J=v.value,ce=R===1&&J,se=R&&R>1&&J;let de=K,re;if(R&&s.isEllipsis&&!s.expanded&&!J){const{title:$e}=oe;let xe=$e||"";!$e&&(typeof K=="string"||typeof K=="number")&&(xe=String(K)),xe=xe==null?void 0:xe.slice(String(s.ellipsisContent||"").length),de=i.createVNode(i.Fragment,null,[i.toRaw(s.ellipsisContent),i.createVNode("span",{title:xe,"aria-hidden":"true"},[v3]),D])}else de=i.createVNode(i.Fragment,null,[K,D]);de=O(e,de);const te=I&&R&&s.isEllipsis&&!s.expanded&&!J,ae=n.ellipsisTooltip?n.ellipsisTooltip():I;return i.createVNode(gl,{onResize:$,disabled:!R},{default:()=>[i.createVNode(mt,le({ref:u,class:[{[`${a.value}-${L}`]:L,[`${a.value}-disabled`]:G,[`${a.value}-ellipsis`]:R,[`${a.value}-single-line`]:R===1&&!s.isEllipsis,[`${a.value}-ellipsis-single-line`]:ce,[`${a.value}-ellipsis-multiple-line`]:se},Y],style:N(N({},U),{WebkitLineClamp:se?R:void 0}),"aria-label":re,direction:l.value,onClick:_.indexOf("text")!==-1?h:()=>{}},Q),{default:()=>[te?i.createVNode(dr,{title:I===!0?K:ae},{default:()=>[i.createVNode("span",null,[de])]}):de,F()]})]})}},null)}}});var tK=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const nK=()=>wt(N(N({},Zl()),{ellipsis:{type:Boolean,default:void 0}}),["component"]),Jl=(e,t)=>{let{slots:n,attrs:o}=t;const r=N(N({},e),o),{ellipsis:a,rel:l}=r,s=tK(r,["ellipsis","rel"]);tn(typeof a!="object","Typography.Link","`ellipsis` only supports boolean value.");const u=N(N({},s),{rel:l===void 0&&s.target==="_blank"?"noopener noreferrer":l,ellipsis:!!a,component:"a"});return delete u.navigate,i.createVNode(Ql,u,n)};Jl.displayName="ATypographyLink",Jl.inheritAttrs=!1,Jl.props=nK();const oK=()=>wt(Zl(),["component"]),es=(e,t)=>{let{slots:n,attrs:o}=t;const r=N(N(N({},e),{component:"div"}),o);return i.createVNode(Ql,r,n)};es.displayName="ATypographyParagraph",es.inheritAttrs=!1,es.props=oK();const rK=()=>N(N({},wt(Zl(),["component"])),{ellipsis:{type:[Boolean,Object],default:void 0}}),ts=(e,t)=>{let{slots:n,attrs:o}=t;const{ellipsis:r}=e;tn(typeof r!="object"||!r||!("expandable"in r)&&!("rows"in r),"Typography.Text","`ellipsis` do not support `expandable` or `rows` props.");const a=N(N(N({},e),{ellipsis:r&&typeof r=="object"?wt(r,["expandable","rows"]):r,component:"span"}),o);return i.createVNode(Ql,a,n)};ts.displayName="ATypographyText",ts.inheritAttrs=!1,ts.props=rK();var iK=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const aK=bT(1,2,3,4,5),lK=()=>N(N({},wt(Zl(),["component","strong"])),{level:Number}),ns=(e,t)=>{let{slots:n,attrs:o}=t;const{level:r=1}=e,a=iK(e,["level"]);let l;aK.includes(r)?l=`h${r}`:(tn(!1,"Typography","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value."),l="h1");const s=N(N(N({},a),{component:l}),o);return i.createVNode(Ql,s,n)};ns.displayName="ATypographyTitle",ns.inheritAttrs=!1,ns.props=lK(),mt.Text=ts,mt.Title=ns,mt.Paragraph=es,mt.Link=Jl,mt.Base=Ql,mt.install=function(e){return e.component(mt.name,mt),e.component(mt.Text.displayName,ts),e.component(mt.Title.displayName,ns),e.component(mt.Paragraph.displayName,es),e.component(mt.Link.displayName,Jl),e};function sK(e,t){const n=`cannot ${e.method} ${e.action} ${t.status}'`,o=new Error(n);return o.status=t.status,o.method=e.method,o.url=e.action,o}function x3(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function uK(e){const t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(r){r.total>0&&(r.percent=r.loaded/r.total*100),e.onProgress(r)});const n=new FormData;e.data&&Object.keys(e.data).forEach(r=>{const a=e.data[r];if(Array.isArray(a)){a.forEach(l=>{n.append(`${r}[]`,l)});return}n.append(r,a)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(r){e.onError(r)},t.onload=function(){return t.status<200||t.status>=300?e.onError(sK(e,t),x3(t)):e.onSuccess(x3(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=e.headers||{};return o["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(o).forEach(r=>{o[r]!==null&&t.setRequestHeader(r,o[r])}),t.send(n),{abort(){t.abort()}}}const cK=+new Date;let dK=0;function jg(){return`vc-upload-${cK}-${++dK}`}const Ag=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),o=e.name||"",r=e.type||"",a=r.replace(/\/.*$/,"");return n.some(l=>{const s=l.trim();if(/^\*(\/\*)?$/.test(l))return!0;if(s.charAt(0)==="."){const u=o.toLowerCase(),c=s.toLowerCase();let d=[c];return(c===".jpg"||c===".jpeg")&&(d=[".jpg",".jpeg"]),d.some(f=>u.endsWith(f))}return/\/\*$/.test(s)?a===s.replace(/\/.*$/,""):r===s?!0:/^\w+$/.test(s)?(fp(!1,`Upload takes an invalidate 'accept' type '${s}'.Skip for check.`),!0):!1})}return!0};function fK(e,t){const n=e.createReader();let o=[];function r(){n.readEntries(a=>{const l=Array.prototype.slice.apply(a);o=o.concat(l),l.length?r():t(o)})}r()}const pK=(e,t,n)=>{const o=(r,a)=>{r.path=a||"",r.isFile?r.file(l=>{n(l)&&(r.fullPath&&!l.webkitRelativePath&&(Object.defineProperties(l,{webkitRelativePath:{writable:!0}}),l.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(l,{webkitRelativePath:{writable:!1}})),t([l]))}):r.isDirectory&&fK(r,l=>{l.forEach(s=>{o(s,`${a}${r.name}/`)})})};e.forEach(r=>{o(r.webkitGetAsEntry())})},w3=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var hK=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function s(d){try{c(o.next(d))}catch(f){l(f)}}function u(d){try{c(o.throw(d))}catch(f){l(f)}}function c(d){d.done?a(d.value):r(d.value).then(s,u)}c((o=o.apply(e,t||[])).next())})},gK=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const mK=i.defineComponent({compatConfig:{MODE:3},name:"AjaxUploader",inheritAttrs:!1,props:w3(),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=i.ref(jg()),l={},s=i.ref();let u=!1;const c=(x,w)=>hK(this,void 0,void 0,function*(){const{beforeUpload:S}=e;let C=x;if(S){try{C=yield S(x,w)}catch{C=!1}if(C===!1)return{origin:x,parsedFile:null,action:null,data:null}}const{action:$}=e;let v;typeof $=="function"?v=yield $(x):v=$;const{data:k}=e;let O;typeof k=="function"?O=yield k(x):O=k;const P=(typeof C=="object"||typeof C=="string")&&C?C:x;let T;P instanceof File?T=P:T=new File([P],x.name,{type:x.type});const B=T;return B.uid=x.uid,{origin:x,data:O,parsedFile:B,action:v}}),d=x=>{let{data:w,origin:S,action:C,parsedFile:$}=x;if(!u)return;const{onStart:v,customRequest:k,name:O,headers:P,withCredentials:T,method:B}=e,{uid:A}=S,F=k||uK,z={action:C,filename:O,data:w,file:$,headers:P,withCredentials:T,method:B||"post",onProgress:_=>{const{onProgress:K}=e;K==null||K(_,$)},onSuccess:(_,K)=>{const{onSuccess:H}=e;H==null||H(_,$,K),delete l[A]},onError:(_,K)=>{const{onError:H}=e;H==null||H(_,K,$),delete l[A]}};v(S),l[A]=F(z)},f=()=>{a.value=jg()},p=x=>{if(x){const w=x.uid?x.uid:x;l[w]&&l[w].abort&&l[w].abort(),delete l[w]}else Object.keys(l).forEach(w=>{l[w]&&l[w].abort&&l[w].abort(),delete l[w]})};i.onMounted(()=>{u=!0}),i.onBeforeUnmount(()=>{u=!1,p()});const h=x=>{const w=[...x],S=w.map(C=>(C.uid=jg(),c(C,w)));Promise.all(S).then(C=>{const{onBatchStart:$}=e;$==null||$(C.map(v=>{let{origin:k,parsedFile:O}=v;return{file:k,parsedFile:O}})),C.filter(v=>v.parsedFile!==null).forEach(v=>{d(v)})})},g=x=>{const{accept:w,directory:S}=e,{files:C}=x.target,$=[...C].filter(v=>!S||Ag(v,w));h($),f()},m=x=>{const w=s.value;if(!w)return;const{onClick:S}=e;w.click(),S&&S(x)},b=x=>{x.key==="Enter"&&m(x)},y=x=>{const{multiple:w}=e;if(x.preventDefault(),x.type!=="dragover")if(e.directory)pK(Array.prototype.slice.call(x.dataTransfer.items),h,S=>Ag(S,e.accept));else{const S=BM(Array.prototype.slice.call(x.dataTransfer.files),v=>Ag(v,e.accept));let C=S[0];const $=S[1];w===!1&&(C=C.slice(0,1)),h(C),$.length&&e.onReject&&e.onReject($)}};return r({abort:p}),()=>{var x;const{componentTag:w,prefixCls:S,disabled:C,id:$,multiple:v,accept:k,capture:O,directory:P,openFileDialogOnClick:T,onMouseenter:B,onMouseleave:A}=e,F=gK(e,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),z={[S]:!0,[`${S}-disabled`]:C,[o.class]:!!o.class},_=P?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return i.createVNode(w,le(le({},C?{}:{onClick:T?m:()=>{},onKeydown:T?b:()=>{},onMouseenter:B,onMouseleave:A,onDrop:y,onDragover:y,tabindex:"0"}),{},{class:z,role:"button",style:o.style}),{default:()=>[i.createVNode("input",le(le(le({},mh(F,{aria:!0,data:!0})),{},{id:$,type:"file",ref:s,onClick:K=>K.stopPropagation(),onCancel:K=>K.stopPropagation(),key:a.value,style:{display:"none"},accept:k},_),{},{multiple:v,onChange:g},O!=null?{capture:O}:{}),null),(x=n.default)===null||x===void 0?void 0:x.call(n)]})}}});function _g(){}const C3=i.defineComponent({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:un(w3(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:_g,onError:_g,onSuccess:_g,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=i.ref();return r({abort:l=>{var s;(s=a.value)===null||s===void 0||s.abort(l)}}),()=>i.createVNode(mK,le(le(le({},e),o),{},{ref:a}),n)}});var bK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};function S3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){yK(e,r,n[r])})}return e}function yK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dg=function(e,t){var n=S3({},e,t.attrs);return i.createVNode(Ke,S3({},n,{icon:bK}),null)};Dg.displayName="PaperClipOutlined",Dg.inheritAttrs=!1;var vK={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"};function $3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){xK(e,r,n[r])})}return e}function xK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rg=function(e,t){var n=$3({},e,t.attrs);return i.createVNode(Ke,$3({},n,{icon:vK}),null)};Rg.displayName="PictureTwoTone",Rg.inheritAttrs=!1;var wK={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"};function O3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){CK(e,r,n[r])})}return e}function CK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mg=function(e,t){var n=O3({},e,t.attrs);return i.createVNode(Ke,O3({},n,{icon:wK}),null)};Mg.displayName="FileTwoTone",Mg.inheritAttrs=!1;function E3(){return{capture:Fn([Boolean,String]),type:Tt(),name:String,defaultFileList:Li(),fileList:Li(),action:Fn([String,Function]),directory:nt(),data:Fn([Object,Function]),method:Tt(),headers:Je(),showUploadList:Fn([Boolean,Object]),multiple:nt(),accept:String,beforeUpload:Ge(),onChange:Ge(),"onUpdate:fileList":Ge(),onDrop:Ge(),listType:Tt(),onPreview:Ge(),onDownload:Ge(),onReject:Ge(),onRemove:Ge(),remove:Ge(),supportServerRender:nt(),disabled:nt(),prefixCls:String,customRequest:Ge(),withCredentials:nt(),openFileDialogOnClick:nt(),locale:Je(),id:String,previewFile:Ge(),transformFile:Ge(),iconRender:Ge(),isImageUrl:Ge(),progress:Je(),itemRender:Ge(),maxCount:Number,height:Fn([Number,String]),removeIcon:Ge(),downloadIcon:Ge(),previewIcon:Ge()}}function SK(){return{listType:Tt(),onPreview:Ge(),onDownload:Ge(),onRemove:Ge(),items:Li(),progress:Je(),prefixCls:Tt(),showRemoveIcon:nt(),showDownloadIcon:nt(),showPreviewIcon:nt(),removeIcon:Ge(),downloadIcon:Ge(),previewIcon:Ge(),locale:Je(void 0),previewFile:Ge(),iconRender:Ge(),isImageUrl:Ge(),appendAction:Ge(),appendActionVisible:nt(),itemRender:Ge()}}function Ic(e){return N(N({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function jc(e,t){const n=[...t],o=n.findIndex(r=>{let{uid:a}=r;return a===e.uid});return o===-1?n.push(e):n[o]=e,n}function Bg(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(o=>o[n]===e[n])[0]}function $K(e,t){const n=e.uid!==void 0?"uid":"name",o=t.filter(r=>r[n]!==e[n]);return o.length===t.length?null:o}const OK=function(){const e=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]},k3=e=>e.indexOf("image/")===0,EK=e=>{if(e.type&&!e.thumbUrl)return k3(e.type);const t=e.thumbUrl||e.url||"",n=OK(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n)?!0:!(/^data:/.test(t)||n)},gr=200;function kK(e){return new Promise(t=>{if(!e.type||!k3(e.type)){t("");return}const n=document.createElement("canvas");n.width=gr,n.height=gr,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${gr}px; height: ${gr}px; z-index: 9999; display: none;`,document.body.appendChild(n);const o=n.getContext("2d"),r=new Image;if(r.onload=()=>{const{width:a,height:l}=r;let s=gr,u=gr,c=0,d=0;a>l?(u=l*(gr/a),d=-(u-s)/2):(s=a*(gr/l),c=-(s-u)/2),o.drawImage(r,c,d,s,u);const f=n.toDataURL();document.body.removeChild(n),t(f)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const a=new FileReader;a.addEventListener("load",()=>{a.result&&(r.src=a.result)}),a.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)})}var zK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};function z3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){PK(e,r,n[r])})}return e}function PK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vg=function(e,t){var n=z3({},e,t.attrs);return i.createVNode(Ke,z3({},n,{icon:zK}),null)};Vg.displayName="DownloadOutlined",Vg.inheritAttrs=!1;const NK=()=>({prefixCls:String,locale:Je(void 0),file:Je(),items:Li(),listType:Tt(),isImgUrl:Ge(),showRemoveIcon:nt(),showDownloadIcon:nt(),showPreviewIcon:nt(),removeIcon:Ge(),downloadIcon:Ge(),previewIcon:Ge(),iconRender:Ge(),actionIconRender:Ge(),itemRender:Ge(),onPreview:Ge(),onClose:Ge(),onDownload:Ge(),progress:Je()}),TK=i.defineComponent({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:NK(),setup(e,t){let{slots:n,attrs:o}=t;var r;const a=i.shallowRef(!1),l=i.shallowRef();i.onMounted(()=>{l.value=setTimeout(()=>{a.value=!0},300)}),i.onBeforeUnmount(()=>{clearTimeout(l.value)});const s=i.shallowRef((r=e.file)===null||r===void 0?void 0:r.status);i.watch(()=>{var d;return(d=e.file)===null||d===void 0?void 0:d.status},d=>{d!=="removed"&&(s.value=d)});const{rootPrefixCls:u}=at("upload",e),c=i.computed(()=>fh(`${u.value}-fade`));return()=>{var d,f;const{prefixCls:p,locale:h,listType:g,file:m,items:b,progress:y,iconRender:x=n.iconRender,actionIconRender:w=n.actionIconRender,itemRender:S=n.itemRender,isImgUrl:C,showPreviewIcon:$,showRemoveIcon:v,showDownloadIcon:k,previewIcon:O=n.previewIcon,removeIcon:P=n.removeIcon,downloadIcon:T=n.downloadIcon,onPreview:B,onDownload:A,onClose:F}=e,{class:z,style:_}=o,K=x({file:m});let H=i.createVNode("div",{class:`${p}-text-icon`},[K]);if(g==="picture"||g==="picture-card")if(s.value==="uploading"||!m.thumbUrl&&!m.url){const Q={[`${p}-list-item-thumbnail`]:!0,[`${p}-list-item-file`]:s.value!=="uploading"};H=i.createVNode("div",{class:Q},[K])}else{const Q=C!=null&&C(m)?i.createVNode("img",{src:m.thumbUrl||m.url,alt:m.name,class:`${p}-list-item-image`,crossorigin:m.crossOrigin},null):K,J={[`${p}-list-item-thumbnail`]:!0,[`${p}-list-item-file`]:C&&!C(m)};H=i.createVNode("a",{class:J,onClick:ce=>B(m,ce),href:m.url||m.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[Q])}const j={[`${p}-list-item`]:!0,[`${p}-list-item-${s.value}`]:!0},L=typeof m.linkProps=="string"?JSON.parse(m.linkProps):m.linkProps,G=v?w({customIcon:P?P({file:m}):i.createVNode(zg,null,null),callback:()=>F(m),prefixCls:p,title:h.removeFile}):null,W=k&&s.value==="done"?w({customIcon:T?T({file:m}):i.createVNode(Vg,null,null),callback:()=>A(m),prefixCls:p,title:h.downloadFile}):null,Y=g!=="picture-card"&&i.createVNode("span",{key:"download-delete",class:[`${p}-list-item-actions`,{picture:g==="picture"}]},[W,G]),U=`${p}-list-item-name`,oe=m.url?[i.createVNode("a",le(le({key:"view",target:"_blank",rel:"noopener noreferrer",class:U,title:m.name},L),{},{href:m.url,onClick:Q=>B(m,Q)}),[m.name]),Y]:[i.createVNode("span",{key:"view",class:U,onClick:Q=>B(m,Q),title:m.name},[m.name]),Y],R={pointerEvents:"none",opacity:.5},D=$?i.createVNode("a",{href:m.url||m.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:m.url||m.thumbUrl?void 0:R,onClick:Q=>B(m,Q),title:h.previewFile},[O?O({file:m}):i.createVNode(zc,null,null)]):null,I=g==="picture-card"&&s.value!=="uploading"&&i.createVNode("span",{class:`${p}-list-item-actions`},[D,s.value==="done"&&W,G]),M=i.createVNode("div",{class:j},[H,oe,I,a.value&&i.createVNode(i.Transition,c.value,{default:()=>[i.withDirectives(i.createVNode("div",{class:`${p}-list-item-progress`},["percent"in m?i.createVNode(d3,le(le({},y),{},{type:"line",percent:m.percent}),null):null]),[[i.vShow,s.value==="uploading"]])]})]),V={[`${p}-list-item-container`]:!0,[`${z}`]:!!z},q=m.response&&typeof m.response=="string"?m.response:((d=m.error)===null||d===void 0?void 0:d.statusText)||((f=m.error)===null||f===void 0?void 0:f.message)||h.uploadError,X=s.value==="error"?i.createVNode(dr,{title:q,getPopupContainer:Q=>Q.parentNode},{default:()=>[M]}):M;return i.createVNode("div",{class:V,style:_},[S?S({originNode:X,file:m,fileList:b,actions:{download:A.bind(null,m),preview:B.bind(null,m),remove:F.bind(null,m)}}):X])}}}),IK=(e,t)=>{let{slots:n}=t;var o;return io((o=n.default)===null||o===void 0?void 0:o.call(n))[0]},jK=i.defineComponent({compatConfig:{MODE:3},name:"AUploadList",props:un(SK(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:kK,isImageUrl:EK,items:[],appendActionVisible:!0}),setup(e,t){let{slots:n,expose:o}=t;const r=i.shallowRef(!1);i.onMounted(()=>{r.value==!0});const a=i.shallowRef([]);i.watch(()=>e.items,function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];a.value=m.slice()},{immediate:!0,deep:!0}),i.watchEffect(()=>{if(e.listType!=="picture"&&e.listType!=="picture-card")return;let m=!1;(e.items||[]).forEach((b,y)=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(b.originFileObj instanceof File||b.originFileObj instanceof Blob)||b.thumbUrl!==void 0||(b.thumbUrl="",e.previewFile&&e.previewFile(b.originFileObj).then(x=>{const w=x||"";w!==b.thumbUrl&&(a.value[y].thumbUrl=w,m=!0)}))}),m&&i.triggerRef(a)});const l=(m,b)=>{if(e.onPreview)return b==null||b.preventDefault(),e.onPreview(m)},s=m=>{typeof e.onDownload=="function"?e.onDownload(m):m.url&&window.open(m.url)},u=m=>{var b;(b=e.onRemove)===null||b===void 0||b.call(e,m)},c=m=>{let{file:b}=m;const y=e.iconRender||n.iconRender;if(y)return y({file:b,listType:e.listType});const x=b.status==="uploading",w=e.isImageUrl&&e.isImageUrl(b)?i.createVNode(Rg,null,null):i.createVNode(Mg,null,null);let S=x?i.createVNode(Wn,null,null):i.createVNode(Dg,null,null);return e.listType==="picture"?S=x?i.createVNode(Wn,null,null):w:e.listType==="picture-card"&&(S=x?e.locale.uploading:w),S},d=m=>{const{customIcon:b,callback:y,prefixCls:x,title:w}=m,S={type:"text",size:"small",title:w,onClick:()=>{y()},class:`${x}-list-item-action`};return Po(b)?i.createVNode(nn,S,{icon:()=>b}):i.createVNode(nn,S,{default:()=>[i.createVNode("span",null,[b])]})};o({handlePreview:l,handleDownload:s});const{prefixCls:f,rootPrefixCls:p}=at("upload",e),h=i.computed(()=>({[`${f.value}-list`]:!0,[`${f.value}-list-${e.listType}`]:!0})),g=i.computed(()=>{const m=N({},ZC(`${p.value}-motion-collapse`));delete m.onAfterAppear,delete m.onAfterEnter,delete m.onAfterLeave;const b=N(N({},ph(`${f.value}-${e.listType==="picture-card"?"animate-inline":"animate"}`)),{class:h.value,appear:r.value});return e.listType!=="picture-card"?N(N({},m),b):b});return()=>{const{listType:m,locale:b,isImageUrl:y,showPreviewIcon:x,showRemoveIcon:w,showDownloadIcon:S,removeIcon:C,previewIcon:$,downloadIcon:v,progress:k,appendAction:O,itemRender:P,appendActionVisible:T}=e,B=O==null?void 0:O(),A=a.value;return i.createVNode(i.TransitionGroup,le(le({},g.value),{},{tag:"div"}),{default:()=>[A.map(F=>{const{uid:z}=F;return i.createVNode(TK,{key:z,locale:b,prefixCls:f.value,file:F,items:A,progress:k,listType:m,isImgUrl:y,showPreviewIcon:x,showRemoveIcon:w,showDownloadIcon:S,onPreview:l,onDownload:s,onClose:u,removeIcon:C,previewIcon:$,downloadIcon:v,itemRender:P},N(N({},n),{iconRender:c,actionIconRender:d}))}),O?i.withDirectives(i.createVNode(IK,{key:"__ant_upload_appendAction"},{default:()=>B}),[[i.vShow,!!T]]):null]})}}}),AK=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${n},
266
+ `]:N(N({},Px(e)),{marginInlineStart:e.marginXXS})}),Iq(e)),jq(e)),Aq()),{"&-rtl":{direction:"rtl"}})}},h3=It("Typography",e=>[_q(e)],{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),Dq=()=>({prefixCls:String,value:String,maxlength:Number,autoSize:{type:[Boolean,Object]},onSave:Function,onCancel:Function,onEnd:Function,onChange:Function,originContent:String,direction:String,component:String}),Rq=i.defineComponent({compatConfig:{MODE:3},name:"Editable",inheritAttrs:!1,props:Dq(),setup(e,t){let{emit:n,slots:o,attrs:r}=t;const{prefixCls:a}=i.toRefs(e),l=i.reactive({current:e.value||"",lastKeyCode:void 0,inComposition:!1,cancelFlag:!1});i.watch(()=>e.value,x=>{l.current=x});const s=i.ref();i.onMounted(()=>{var x;if(s.value){const w=(x=s.value)===null||x===void 0?void 0:x.resizableTextArea,S=w==null?void 0:w.textArea;S.focus();const{length:C}=S.value;S.setSelectionRange(C,C)}});function u(x){s.value=x}function c(x){let{target:{value:w}}=x;l.current=w.replace(/[\r\n]/g,""),n("change",l.current)}function d(){l.inComposition=!0}function f(){l.inComposition=!1}function p(x){const{keyCode:w}=x;w===Ne.ENTER&&x.preventDefault(),!l.inComposition&&(l.lastKeyCode=w)}function h(x){const{keyCode:w,ctrlKey:S,altKey:C,metaKey:$,shiftKey:v}=x;l.lastKeyCode===w&&!l.inComposition&&!S&&!C&&!$&&!v&&(w===Ne.ENTER?(m(),n("end")):w===Ne.ESC&&(l.current=e.originContent,n("cancel")))}function g(){m()}function m(){n("save",l.current.trim())}const[b,y]=h3(a);return()=>{const x=_e({[`${a.value}`]:!0,[`${a.value}-edit-content`]:!0,[`${a.value}-rtl`]:e.direction==="rtl",[e.component?`${a.value}-${e.component}`:""]:!0},r.class,y.value);return b(i.createVNode("div",le(le({},r),{},{class:x}),[i.createVNode(o3,{ref:u,maxlength:e.maxlength,value:l.current,onChange:c,onKeydown:p,onKeyup:h,onCompositionstart:d,onCompositionend:f,onBlur:g,rows:1,autoSize:e.autoSize===void 0||e.autoSize},null),o.enterIcon?o.enterIcon({className:`${e.prefixCls}-edit-content-confirm`}):i.createVNode(Pg,{class:`${e.prefixCls}-edit-content-confirm`},null)]))}}}),Mq=3,Bq=8;let cn;const Ng={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function g3(e,t){e.setAttribute("aria-hidden","true");const n=window.getComputedStyle(t),o=lD(n);e.setAttribute("style",o),e.style.position="fixed",e.style.left="0",e.style.height="auto",e.style.minHeight="auto",e.style.maxHeight="auto",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.borderTopWidth="0",e.style.borderBottomWidth="0",e.style.top="-999999px",e.style.zIndex="-1000",e.style.textOverflow="clip",e.style.whiteSpace="normal",e.style.webkitLineClamp="none"}function Vq(e){const t=document.createElement("div");g3(t,e),t.appendChild(document.createTextNode("text")),document.body.appendChild(t);const n=t.getBoundingClientRect().height;return document.body.removeChild(t),n}const Fq=(e,t,n,o,r)=>{cn||(cn=document.createElement("div"),cn.setAttribute("aria-hidden","true"),document.body.appendChild(cn));const{rows:a,suffix:l=""}=t,s=Vq(e),u=Math.round(s*a*100)/100;g3(cn,e);const c=i.createApp({render(){return i.createVNode("div",{style:Ng},[i.createVNode("span",{style:Ng},[n,l]),i.createVNode("span",{style:Ng},[o])])}});c.mount(cn);function d(){return Math.round(cn.getBoundingClientRect().height*100)/100-.1<=u}if(d())return c.unmount(),{content:n,text:cn.innerHTML,ellipsis:!1};const f=Array.prototype.slice.apply(cn.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter(w=>{let{nodeType:S,data:C}=w;return S!==Bq&&C!==""}),p=Array.prototype.slice.apply(cn.childNodes[0].childNodes[1].cloneNode(!0).childNodes);c.unmount();const h=[];cn.innerHTML="";const g=document.createElement("span");cn.appendChild(g);const m=document.createTextNode(r+l);g.appendChild(m),p.forEach(w=>{cn.appendChild(w)});function b(w){g.insertBefore(w,m)}function y(w,S){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,$=arguments.length>3&&arguments[3]!==void 0?arguments[3]:S.length,v=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;const k=Math.floor((C+$)/2),O=S.slice(0,k);if(w.textContent=O,C>=$-1)for(let P=$;P>=C;P-=1){const T=S.slice(0,P);if(w.textContent=T,d()||!T)return P===S.length?{finished:!1,vNode:S}:{finished:!0,vNode:T}}return d()?y(w,S,k,$,k):y(w,S,C,k,v)}function x(w){if(w.nodeType===Mq){const S=w.textContent||"",C=document.createTextNode(S);return b(C),y(C,S)}return{finished:!1,vNode:null}}return f.some(w=>{const{finished:S,vNode:C}=x(w);return C&&h.push(C),S}),{content:h,text:cn.innerHTML,ellipsis:!0}};var Lq=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Hq=()=>({prefixCls:String,direction:String,component:String}),mt=i.defineComponent({name:"ATypography",inheritAttrs:!1,props:Hq(),setup(e,t){let{slots:n,attrs:o}=t;const{prefixCls:r,direction:a}=at("typography",e),[l,s]=h3(r);return()=>{var u;const c=N(N({},e),o),{prefixCls:d,direction:f,component:p="article"}=c,h=Lq(c,["prefixCls","direction","component"]);return l(i.createVNode(p,le(le({},h),{},{class:_e(r.value,{[`${r.value}-rtl`]:a.value==="rtl"},o.class,s.value)}),{default:()=>[(u=n.default)===null||u===void 0?void 0:u.call(n)]}))}}}),qq=()=>{const e=document.getSelection();if(!e.rangeCount)return function(){};let t=document.activeElement;const n=[];for(let o=0;o<e.rangeCount;o++)n.push(e.getRangeAt(o));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||n.forEach(function(o){e.addRange(o)}),t&&t.focus()}},m3={"text/plain":"Text","text/html":"Url",default:"Text"},Kq="Copy to clipboard: #{key}, Enter";function Wq(e){const t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function Uq(e,t){let n,o,r,a,l,s=!1;t||(t={});const u=t.debug||!1;try{if(o=qq(),r=document.createRange(),a=document.getSelection(),l=document.createElement("span"),l.textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(c){if(c.stopPropagation(),t.format)if(c.preventDefault(),typeof c.clipboardData>"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();const d=m3[t.format]||m3.default;window.clipboardData.setData(d,e)}else c.clipboardData.clearData(),c.clipboardData.setData(t.format,e);t.onCopy&&(c.preventDefault(),t.onCopy(c.clipboardData))}),document.body.appendChild(l),r.selectNodeContents(l),a.addRange(r),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(c){u&&console.error("unable to copy using execCommand: ",c),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(d){u&&console.error("unable to copy using clipboardData: ",d),u&&console.error("falling back to prompt"),n=Wq("message"in t?t.message:Kq),window.prompt(n,e)}}finally{a&&(typeof a.removeRange=="function"?a.removeRange(r):a.removeAllRanges()),l&&document.body.removeChild(l),o()}return s}var Xq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};function b3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Gq(e,r,n[r])})}return e}function Gq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Tg=function(e,t){var n=b3({},e,t.attrs);return i.createVNode(Ke,b3({},n,{icon:Xq}),null)};Tg.displayName="CopyOutlined",Tg.inheritAttrs=!1;var Yq={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};function y3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Zq(e,r,n[r])})}return e}function Zq(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ig=function(e,t){var n=y3({},e,t.attrs);return i.createVNode(Ke,y3({},n,{icon:Yq}),null)};Ig.displayName="EditOutlined",Ig.inheritAttrs=!1;var Qq=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const Jq=xS("webkitLineClamp"),eK=xS("textOverflow"),v3="...",Zl=()=>({editable:{type:[Boolean,Object],default:void 0},copyable:{type:[Boolean,Object],default:void 0},prefixCls:String,component:String,type:String,disabled:{type:Boolean,default:void 0},ellipsis:{type:[Boolean,Object],default:void 0},code:{type:Boolean,default:void 0},mark:{type:Boolean,default:void 0},underline:{type:Boolean,default:void 0},delete:{type:Boolean,default:void 0},strong:{type:Boolean,default:void 0},keyboard:{type:Boolean,default:void 0},content:String,"onUpdate:content":Function}),Ql=i.defineComponent({compatConfig:{MODE:3},name:"TypographyBase",inheritAttrs:!1,props:Zl(),setup(e,t){let{slots:n,attrs:o,emit:r}=t;const{prefixCls:a,direction:l}=at("typography",e),s=i.reactive({copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1,expandStr:"",copyStr:"",copiedStr:"",editStr:"",copyId:void 0,rafId:void 0,prevProps:void 0,originContent:""}),u=i.ref(),c=i.ref(),d=i.computed(()=>{const z=e.ellipsis;return z?N({rows:1,expandable:!1},typeof z=="object"?z:null):{}});i.onMounted(()=>{s.clientRendered=!0,k()}),i.onBeforeUnmount(()=>{clearTimeout(s.copyId),gt.cancel(s.rafId)}),i.watch([()=>d.value.rows,()=>e.content],()=>{i.nextTick(()=>{$()})},{flush:"post",deep:!0}),i.watchEffect(()=>{e.content===void 0&&(tn(!e.editable,"Typography","When `editable` is enabled, please use `content` instead of children"),tn(!e.ellipsis,"Typography","When `ellipsis` is enabled, please use `content` instead of children"))});function f(){var z;return e.ellipsis||e.editable?e.content:(z=Ln(u.value))===null||z===void 0?void 0:z.innerText}function p(z){const{onExpand:_}=d.value;s.expanded=!0,_==null||_(z)}function h(z){z.preventDefault(),s.originContent=e.content,C(!0)}function g(z){m(z),C(!1)}function m(z){const{onChange:_}=x.value;z!==e.content&&(r("update:content",z),_==null||_(z))}function b(){var z,_;(_=(z=x.value).onCancel)===null||_===void 0||_.call(z),C(!1)}function y(z){z.preventDefault(),z.stopPropagation();const{copyable:_}=e,K=N({},typeof _=="object"?_:null);K.text===void 0&&(K.text=f()),Uq(K.text||""),s.copied=!0,i.nextTick(()=>{K.onCopy&&K.onCopy(z),s.copyId=setTimeout(()=>{s.copied=!1},3e3)})}const x=i.computed(()=>{const z=e.editable;return z?N({},typeof z=="object"?z:null):{editing:!1}}),[w,S]=tc(!1,{value:i.computed(()=>x.value.editing)});function C(z){const{onStart:_}=x.value;z&&_&&_(),S(z)}i.watch(w,z=>{var _;z||(_=c.value)===null||_===void 0||_.focus()},{flush:"post"});function $(z){if(z){const{width:_,height:K}=z;if(!_||!K)return}gt.cancel(s.rafId),s.rafId=gt(()=>{k()})}const v=i.computed(()=>{const{rows:z,expandable:_,suffix:K,onEllipsis:H,tooltip:j}=d.value;return K||j||e.editable||e.copyable||_||H?!1:z===1?eK:Jq}),k=()=>{const{ellipsisText:z,isEllipsis:_}=s,{rows:K,suffix:H,onEllipsis:j}=d.value;if(!K||K<0||!Ln(u.value)||s.expanded||e.content===void 0||v.value)return;const{content:L,text:G,ellipsis:W}=Fq(Ln(u.value),{rows:K,suffix:H},e.content,F(!0),v3);(z!==G||s.isEllipsis!==W)&&(s.ellipsisText=G,s.ellipsisContent=L,s.isEllipsis=W,_!==W&&j&&j(W))};function O(z,_){let{mark:K,code:H,underline:j,delete:L,strong:G,keyboard:W}=z,Y=_;function U(oe,R){if(!oe)return;const D=function(){return Y}();Y=i.createVNode(R,null,{default:()=>[D]})}return U(G,"strong"),U(j,"u"),U(L,"del"),U(H,"code"),U(K,"mark"),U(W,"kbd"),Y}function P(z){const{expandable:_,symbol:K}=d.value;if(!_||!z&&(s.expanded||!s.isEllipsis))return null;const H=(n.ellipsisSymbol?n.ellipsisSymbol():K)||s.expandStr;return i.createVNode("a",{key:"expand",class:`${a.value}-expand`,onClick:p,"aria-label":s.expandStr},[H])}function T(){if(!e.editable)return;const{tooltip:z,triggerType:_=["icon"]}=e.editable,K=n.editableIcon?n.editableIcon():i.createVNode(Ig,{role:"button"},null),H=n.editableTooltip?n.editableTooltip():s.editStr,j=typeof H=="string"?H:"";return _.indexOf("icon")!==-1?i.createVNode(dr,{key:"edit",title:z===!1?"":H},{default:()=>[i.createVNode(a3,{ref:c,class:`${a.value}-edit`,onClick:h,"aria-label":j},{default:()=>[K]})]}):null}function B(){if(!e.copyable)return;const{tooltip:z}=e.copyable,_=s.copied?s.copiedStr:s.copyStr,K=n.copyableTooltip?n.copyableTooltip({copied:s.copied}):_,H=typeof K=="string"?K:"",j=s.copied?i.createVNode(Vl,null,null):i.createVNode(Tg,null,null),L=n.copyableIcon?n.copyableIcon({copied:!!s.copied}):j;return i.createVNode(dr,{key:"copy",title:z===!1?"":K},{default:()=>[i.createVNode(a3,{class:[`${a.value}-copy`,{[`${a.value}-copy-success`]:s.copied}],onClick:y,"aria-label":H},{default:()=>[L]})]})}function A(){const{class:z,style:_}=o,{maxlength:K,autoSize:H,onEnd:j}=x.value;return i.createVNode(Rq,{class:z,style:_,prefixCls:a.value,value:e.content,originContent:s.originContent,maxlength:K,autoSize:H,onSave:g,onChange:m,onCancel:b,onEnd:j,direction:l.value,component:e.component},{enterIcon:n.editableEnterIcon})}function F(z){return[P(z),T(),B()].filter(_=>_)}return()=>{var z;const{triggerType:_=["icon"]}=x.value,K=e.ellipsis||e.editable?e.content!==void 0?e.content:(z=n.default)===null||z===void 0?void 0:z.call(n):n.default?n.default():e.content;return w.value?A():i.createVNode(lp,{componentName:"Text",children:H=>{const j=N(N({},e),o),{type:L,disabled:G,content:W,class:Y,style:U}=j,oe=Qq(j,["type","disabled","content","class","style"]),{rows:R,suffix:D,tooltip:I}=d.value,{edit:M,copy:V,copied:q,expand:X}=H;s.editStr=M,s.copyStr=V,s.copiedStr=q,s.expandStr=X;const Q=wt(oe,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard","onUpdate:content"]),J=v.value,ce=R===1&&J,se=R&&R>1&&J;let de=K,re;if(R&&s.isEllipsis&&!s.expanded&&!J){const{title:$e}=oe;let xe=$e||"";!$e&&(typeof K=="string"||typeof K=="number")&&(xe=String(K)),xe=xe==null?void 0:xe.slice(String(s.ellipsisContent||"").length),de=i.createVNode(i.Fragment,null,[i.toRaw(s.ellipsisContent),i.createVNode("span",{title:xe,"aria-hidden":"true"},[v3]),D])}else de=i.createVNode(i.Fragment,null,[K,D]);de=O(e,de);const te=I&&R&&s.isEllipsis&&!s.expanded&&!J,ae=n.ellipsisTooltip?n.ellipsisTooltip():I;return i.createVNode(gl,{onResize:$,disabled:!R},{default:()=>[i.createVNode(mt,le({ref:u,class:[{[`${a.value}-${L}`]:L,[`${a.value}-disabled`]:G,[`${a.value}-ellipsis`]:R,[`${a.value}-single-line`]:R===1&&!s.isEllipsis,[`${a.value}-ellipsis-single-line`]:ce,[`${a.value}-ellipsis-multiple-line`]:se},Y],style:N(N({},U),{WebkitLineClamp:se?R:void 0}),"aria-label":re,direction:l.value,onClick:_.indexOf("text")!==-1?h:()=>{}},Q),{default:()=>[te?i.createVNode(dr,{title:I===!0?K:ae},{default:()=>[i.createVNode("span",null,[de])]}):de,F()]})]})}},null)}}});var tK=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const nK=()=>wt(N(N({},Zl()),{ellipsis:{type:Boolean,default:void 0}}),["component"]),Jl=(e,t)=>{let{slots:n,attrs:o}=t;const r=N(N({},e),o),{ellipsis:a,rel:l}=r,s=tK(r,["ellipsis","rel"]);tn(typeof a!="object","Typography.Link","`ellipsis` only supports boolean value.");const u=N(N({},s),{rel:l===void 0&&s.target==="_blank"?"noopener noreferrer":l,ellipsis:!!a,component:"a"});return delete u.navigate,i.createVNode(Ql,u,n)};Jl.displayName="ATypographyLink",Jl.inheritAttrs=!1,Jl.props=nK();const oK=()=>wt(Zl(),["component"]),es=(e,t)=>{let{slots:n,attrs:o}=t;const r=N(N(N({},e),{component:"div"}),o);return i.createVNode(Ql,r,n)};es.displayName="ATypographyParagraph",es.inheritAttrs=!1,es.props=oK();const rK=()=>N(N({},wt(Zl(),["component"])),{ellipsis:{type:[Boolean,Object],default:void 0}}),ts=(e,t)=>{let{slots:n,attrs:o}=t;const{ellipsis:r}=e;tn(typeof r!="object"||!r||!("expandable"in r)&&!("rows"in r),"Typography.Text","`ellipsis` do not support `expandable` or `rows` props.");const a=N(N(N({},e),{ellipsis:r&&typeof r=="object"?wt(r,["expandable","rows"]):r,component:"span"}),o);return i.createVNode(Ql,a,n)};ts.displayName="ATypographyText",ts.inheritAttrs=!1,ts.props=rK();var iK=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const aK=bT(1,2,3,4,5),lK=()=>N(N({},wt(Zl(),["component","strong"])),{level:Number}),ns=(e,t)=>{let{slots:n,attrs:o}=t;const{level:r=1}=e,a=iK(e,["level"]);let l;aK.includes(r)?l=`h${r}`:(tn(!1,"Typography","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value."),l="h1");const s=N(N(N({},a),{component:l}),o);return i.createVNode(Ql,s,n)};ns.displayName="ATypographyTitle",ns.inheritAttrs=!1,ns.props=lK(),mt.Text=ts,mt.Title=ns,mt.Paragraph=es,mt.Link=Jl,mt.Base=Ql,mt.install=function(e){return e.component(mt.name,mt),e.component(mt.Text.displayName,ts),e.component(mt.Title.displayName,ns),e.component(mt.Paragraph.displayName,es),e.component(mt.Link.displayName,Jl),e};function sK(e,t){const n=`cannot ${e.method} ${e.action} ${t.status}'`,o=new Error(n);return o.status=t.status,o.method=e.method,o.url=e.action,o}function x3(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function uK(e){const t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(r){r.total>0&&(r.percent=r.loaded/r.total*100),e.onProgress(r)});const n=new FormData;e.data&&Object.keys(e.data).forEach(r=>{const a=e.data[r];if(Array.isArray(a)){a.forEach(l=>{n.append(`${r}[]`,l)});return}n.append(r,a)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(r){e.onError(r)},t.onload=function(){return t.status<200||t.status>=300?e.onError(sK(e,t),x3(t)):e.onSuccess(x3(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=e.headers||{};return o["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(o).forEach(r=>{o[r]!==null&&t.setRequestHeader(r,o[r])}),t.send(n),{abort(){t.abort()}}}const cK=+new Date;let dK=0;function jg(){return`vc-upload-${cK}-${++dK}`}const Ag=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),o=e.name||"",r=e.type||"",a=r.replace(/\/.*$/,"");return n.some(l=>{const s=l.trim();if(/^\*(\/\*)?$/.test(l))return!0;if(s.charAt(0)==="."){const u=o.toLowerCase(),c=s.toLowerCase();let d=[c];return(c===".jpg"||c===".jpeg")&&(d=[".jpg",".jpeg"]),d.some(f=>u.endsWith(f))}return/\/\*$/.test(s)?a===s.replace(/\/.*$/,""):r===s?!0:/^\w+$/.test(s)?(fp(!1,`Upload takes an invalidate 'accept' type '${s}'.Skip for check.`),!0):!1})}return!0};function fK(e,t){const n=e.createReader();let o=[];function r(){n.readEntries(a=>{const l=Array.prototype.slice.apply(a);o=o.concat(l),l.length?r():t(o)})}r()}const pK=(e,t,n)=>{const o=(r,a)=>{r.path=a||"",r.isFile?r.file(l=>{n(l)&&(r.fullPath&&!l.webkitRelativePath&&(Object.defineProperties(l,{webkitRelativePath:{writable:!0}}),l.webkitRelativePath=r.fullPath.replace(/^\//,""),Object.defineProperties(l,{webkitRelativePath:{writable:!1}})),t([l]))}):r.isDirectory&&fK(r,l=>{l.forEach(s=>{o(s,`${a}${r.name}/`)})})};e.forEach(r=>{o(r.webkitGetAsEntry())})},w3=()=>({capture:[Boolean,String],multipart:{type:Boolean,default:void 0},name:String,disabled:{type:Boolean,default:void 0},componentTag:String,action:[String,Function],method:String,directory:{type:Boolean,default:void 0},data:[Object,Function],headers:Object,accept:String,multiple:{type:Boolean,default:void 0},onBatchStart:Function,onReject:Function,onStart:Function,onError:Function,onSuccess:Function,onProgress:Function,beforeUpload:Function,customRequest:Function,withCredentials:{type:Boolean,default:void 0},openFileDialogOnClick:{type:Boolean,default:void 0},prefixCls:String,id:String,onMouseenter:Function,onMouseleave:Function,onClick:Function});var hK=function(e,t,n,o){function r(a){return a instanceof n?a:new n(function(l){l(a)})}return new(n||(n=Promise))(function(a,l){function s(d){try{c(o.next(d))}catch(f){l(f)}}function u(d){try{c(o.throw(d))}catch(f){l(f)}}function c(d){d.done?a(d.value):r(d.value).then(s,u)}c((o=o.apply(e,t||[])).next())})},gK=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.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};const mK=i.defineComponent({compatConfig:{MODE:3},name:"AjaxUploader",inheritAttrs:!1,props:w3(),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=i.ref(jg()),l={},s=i.ref();let u=!1;const c=(x,w)=>hK(this,void 0,void 0,function*(){const{beforeUpload:S}=e;let C=x;if(S){try{C=yield S(x,w)}catch{C=!1}if(C===!1)return{origin:x,parsedFile:null,action:null,data:null}}const{action:$}=e;let v;typeof $=="function"?v=yield $(x):v=$;const{data:k}=e;let O;typeof k=="function"?O=yield k(x):O=k;const P=(typeof C=="object"||typeof C=="string")&&C?C:x;let T;P instanceof File?T=P:T=new File([P],x.name,{type:x.type});const B=T;return B.uid=x.uid,{origin:x,data:O,parsedFile:B,action:v}}),d=x=>{let{data:w,origin:S,action:C,parsedFile:$}=x;if(!u)return;const{onStart:v,customRequest:k,name:O,headers:P,withCredentials:T,method:B}=e,{uid:A}=S,F=k||uK,z={action:C,filename:O,data:w,file:$,headers:P,withCredentials:T,method:B||"post",onProgress:_=>{const{onProgress:K}=e;K==null||K(_,$)},onSuccess:(_,K)=>{const{onSuccess:H}=e;H==null||H(_,$,K),delete l[A]},onError:(_,K)=>{const{onError:H}=e;H==null||H(_,K,$),delete l[A]}};v(S),l[A]=F(z)},f=()=>{a.value=jg()},p=x=>{if(x){const w=x.uid?x.uid:x;l[w]&&l[w].abort&&l[w].abort(),delete l[w]}else Object.keys(l).forEach(w=>{l[w]&&l[w].abort&&l[w].abort(),delete l[w]})};i.onMounted(()=>{u=!0}),i.onBeforeUnmount(()=>{u=!1,p()});const h=x=>{const w=[...x],S=w.map(C=>(C.uid=jg(),c(C,w)));Promise.all(S).then(C=>{const{onBatchStart:$}=e;$==null||$(C.map(v=>{let{origin:k,parsedFile:O}=v;return{file:k,parsedFile:O}})),C.filter(v=>v.parsedFile!==null).forEach(v=>{d(v)})})},g=x=>{const{accept:w,directory:S}=e,{files:C}=x.target,$=[...C].filter(v=>!S||Ag(v,w));h($),f()},m=x=>{const w=s.value;if(!w)return;const{onClick:S}=e;w.click(),S&&S(x)},b=x=>{x.key==="Enter"&&m(x)},y=x=>{const{multiple:w}=e;if(x.preventDefault(),x.type!=="dragover")if(e.directory)pK(Array.prototype.slice.call(x.dataTransfer.items),h,S=>Ag(S,e.accept));else{const S=BM(Array.prototype.slice.call(x.dataTransfer.files),v=>Ag(v,e.accept));let C=S[0];const $=S[1];w===!1&&(C=C.slice(0,1)),h(C),$.length&&e.onReject&&e.onReject($)}};return r({abort:p}),()=>{var x;const{componentTag:w,prefixCls:S,disabled:C,id:$,multiple:v,accept:k,capture:O,directory:P,openFileDialogOnClick:T,onMouseenter:B,onMouseleave:A}=e,F=gK(e,["componentTag","prefixCls","disabled","id","multiple","accept","capture","directory","openFileDialogOnClick","onMouseenter","onMouseleave"]),z={[S]:!0,[`${S}-disabled`]:C,[o.class]:!!o.class},_=P?{directory:"directory",webkitdirectory:"webkitdirectory"}:{};return i.createVNode(w,le(le({},C?{}:{onClick:T?m:()=>{},onKeydown:T?b:()=>{},onMouseenter:B,onMouseleave:A,onDrop:y,onDragover:y,tabindex:"0"}),{},{class:z,role:"button",style:o.style}),{default:()=>[i.createVNode("input",le(le(le({},mh(F,{aria:!0,data:!0})),{},{id:$,type:"file",ref:s,onClick:K=>K.stopPropagation(),onCancel:K=>K.stopPropagation(),key:a.value,style:{display:"none"},accept:k},_),{},{multiple:v,onChange:g},O!=null?{capture:O}:{}),null),(x=n.default)===null||x===void 0?void 0:x.call(n)]})}}});function _g(){}const C3=i.defineComponent({compatConfig:{MODE:3},name:"Upload",inheritAttrs:!1,props:un(w3(),{componentTag:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:_g,onError:_g,onSuccess:_g,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0}),setup(e,t){let{slots:n,attrs:o,expose:r}=t;const a=i.ref();return r({abort:l=>{var s;(s=a.value)===null||s===void 0||s.abort(l)}}),()=>i.createVNode(mK,le(le(le({},e),o),{},{ref:a}),n)}});var bK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"};function S3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){yK(e,r,n[r])})}return e}function yK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Dg=function(e,t){var n=S3({},e,t.attrs);return i.createVNode(Ke,S3({},n,{icon:bK}),null)};Dg.displayName="PaperClipOutlined",Dg.inheritAttrs=!1;var vK={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:e}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:e}}]}},name:"picture",theme:"twotone"};function $3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){xK(e,r,n[r])})}return e}function xK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rg=function(e,t){var n=$3({},e,t.attrs);return i.createVNode(Ke,$3({},n,{icon:vK}),null)};Rg.displayName="PictureTwoTone",Rg.inheritAttrs=!1;var wK={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:t}},{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.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}}]}},name:"file",theme:"twotone"};function O3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){CK(e,r,n[r])})}return e}function CK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mg=function(e,t){var n=O3({},e,t.attrs);return i.createVNode(Ke,O3({},n,{icon:wK}),null)};Mg.displayName="FileTwoTone",Mg.inheritAttrs=!1;function E3(){return{capture:Fn([Boolean,String]),type:Tt(),name:String,defaultFileList:Li(),fileList:Li(),action:Fn([String,Function]),directory:nt(),data:Fn([Object,Function]),method:Tt(),headers:Je(),showUploadList:Fn([Boolean,Object]),multiple:nt(),accept:String,beforeUpload:Ge(),onChange:Ge(),"onUpdate:fileList":Ge(),onDrop:Ge(),listType:Tt(),onPreview:Ge(),onDownload:Ge(),onReject:Ge(),onRemove:Ge(),remove:Ge(),supportServerRender:nt(),disabled:nt(),prefixCls:String,customRequest:Ge(),withCredentials:nt(),openFileDialogOnClick:nt(),locale:Je(),id:String,previewFile:Ge(),transformFile:Ge(),iconRender:Ge(),isImageUrl:Ge(),progress:Je(),itemRender:Ge(),maxCount:Number,height:Fn([Number,String]),removeIcon:Ge(),downloadIcon:Ge(),previewIcon:Ge()}}function SK(){return{listType:Tt(),onPreview:Ge(),onDownload:Ge(),onRemove:Ge(),items:Li(),progress:Je(),prefixCls:Tt(),showRemoveIcon:nt(),showDownloadIcon:nt(),showPreviewIcon:nt(),removeIcon:Ge(),downloadIcon:Ge(),previewIcon:Ge(),locale:Je(void 0),previewFile:Ge(),iconRender:Ge(),isImageUrl:Ge(),appendAction:Ge(),appendActionVisible:nt(),itemRender:Ge()}}function Ic(e){return N(N({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function jc(e,t){const n=[...t],o=n.findIndex(r=>{let{uid:a}=r;return a===e.uid});return o===-1?n.push(e):n[o]=e,n}function Bg(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(o=>o[n]===e[n])[0]}function $K(e,t){const n=e.uid!==void 0?"uid":"name",o=t.filter(r=>r[n]!==e[n]);return o.length===t.length?null:o}const OK=function(){const e=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]},k3=e=>e.indexOf("image/")===0,EK=e=>{if(e.type&&!e.thumbUrl)return k3(e.type);const t=e.thumbUrl||e.url||"",n=OK(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n)?!0:!(/^data:/.test(t)||n)},gr=200;function kK(e){return new Promise(t=>{if(!e.type||!k3(e.type)){t("");return}const n=document.createElement("canvas");n.width=gr,n.height=gr,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${gr}px; height: ${gr}px; z-index: 9999; display: none;`,document.body.appendChild(n);const o=n.getContext("2d"),r=new Image;if(r.onload=()=>{const{width:a,height:l}=r;let s=gr,u=gr,c=0,d=0;a>l?(u=l*(gr/a),d=-(u-s)/2):(s=a*(gr/l),c=-(s-u)/2),o.drawImage(r,c,d,s,u);const f=n.toDataURL();document.body.removeChild(n),t(f)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const a=new FileReader;a.addEventListener("load",()=>{a.result&&(r.src=a.result)}),a.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)})}var zK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"};function z3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){PK(e,r,n[r])})}return e}function PK(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vg=function(e,t){var n=z3({},e,t.attrs);return i.createVNode(Ke,z3({},n,{icon:zK}),null)};Vg.displayName="DownloadOutlined",Vg.inheritAttrs=!1;const NK=()=>({prefixCls:String,locale:Je(void 0),file:Je(),items:Li(),listType:Tt(),isImgUrl:Ge(),showRemoveIcon:nt(),showDownloadIcon:nt(),showPreviewIcon:nt(),removeIcon:Ge(),downloadIcon:Ge(),previewIcon:Ge(),iconRender:Ge(),actionIconRender:Ge(),itemRender:Ge(),onPreview:Ge(),onClose:Ge(),onDownload:Ge(),progress:Je()}),TK=i.defineComponent({compatConfig:{MODE:3},name:"ListItem",inheritAttrs:!1,props:NK(),setup(e,t){let{slots:n,attrs:o}=t;var r;const a=i.shallowRef(!1),l=i.shallowRef();i.onMounted(()=>{l.value=setTimeout(()=>{a.value=!0},300)}),i.onBeforeUnmount(()=>{clearTimeout(l.value)});const s=i.shallowRef((r=e.file)===null||r===void 0?void 0:r.status);i.watch(()=>{var d;return(d=e.file)===null||d===void 0?void 0:d.status},d=>{d!=="removed"&&(s.value=d)});const{rootPrefixCls:u}=at("upload",e),c=i.computed(()=>fh(`${u.value}-fade`));return()=>{var d,f;const{prefixCls:p,locale:h,listType:g,file:m,items:b,progress:y,iconRender:x=n.iconRender,actionIconRender:w=n.actionIconRender,itemRender:S=n.itemRender,isImgUrl:C,showPreviewIcon:$,showRemoveIcon:v,showDownloadIcon:k,previewIcon:O=n.previewIcon,removeIcon:P=n.removeIcon,downloadIcon:T=n.downloadIcon,onPreview:B,onDownload:A,onClose:F}=e,{class:z,style:_}=o,K=x({file:m});let H=i.createVNode("div",{class:`${p}-text-icon`},[K]);if(g==="picture"||g==="picture-card")if(s.value==="uploading"||!m.thumbUrl&&!m.url){const Q={[`${p}-list-item-thumbnail`]:!0,[`${p}-list-item-file`]:s.value!=="uploading"};H=i.createVNode("div",{class:Q},[K])}else{const Q=C!=null&&C(m)?i.createVNode("img",{src:m.thumbUrl||m.url,alt:m.name,class:`${p}-list-item-image`,crossorigin:m.crossOrigin},null):K,J={[`${p}-list-item-thumbnail`]:!0,[`${p}-list-item-file`]:C&&!C(m)};H=i.createVNode("a",{class:J,onClick:ce=>B(m,ce),href:m.url||m.thumbUrl,target:"_blank",rel:"noopener noreferrer"},[Q])}const j={[`${p}-list-item`]:!0,[`${p}-list-item-${s.value}`]:!0},L=typeof m.linkProps=="string"?JSON.parse(m.linkProps):m.linkProps,G=v?w({customIcon:P?P({file:m}):i.createVNode(zg,null,null),callback:()=>F(m),prefixCls:p,title:h.removeFile}):null,W=k&&s.value==="done"?w({customIcon:T?T({file:m}):i.createVNode(Vg,null,null),callback:()=>A(m),prefixCls:p,title:h.downloadFile}):null,Y=g!=="picture-card"&&i.createVNode("span",{key:"download-delete",class:[`${p}-list-item-actions`,{picture:g==="picture"}]},[W,G]),U=`${p}-list-item-name`,oe=m.url?[i.createVNode("a",le(le({key:"view",target:"_blank",rel:"noopener noreferrer",class:U,title:m.name},L),{},{href:m.url,onClick:Q=>B(m,Q)}),[m.name]),Y]:[i.createVNode("span",{key:"view",class:U,onClick:Q=>B(m,Q),title:m.name},[m.name]),Y],R={pointerEvents:"none",opacity:.5},D=$?i.createVNode("a",{href:m.url||m.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:m.url||m.thumbUrl?void 0:R,onClick:Q=>B(m,Q),title:h.previewFile},[O?O({file:m}):i.createVNode(zc,null,null)]):null,I=g==="picture-card"&&s.value!=="uploading"&&i.createVNode("span",{class:`${p}-list-item-actions`},[D,s.value==="done"&&W,G]),M=i.createVNode("div",{class:j},[H,oe,I,a.value&&i.createVNode(i.Transition,c.value,{default:()=>[i.withDirectives(i.createVNode("div",{class:`${p}-list-item-progress`},["percent"in m?i.createVNode(d3,le(le({},y),{},{type:"line",percent:m.percent}),null):null]),[[i.vShow,s.value==="uploading"]])]})]),V={[`${p}-list-item-container`]:!0,[`${z}`]:!!z},q=m.response&&typeof m.response=="string"?m.response:((d=m.error)===null||d===void 0?void 0:d.statusText)||((f=m.error)===null||f===void 0?void 0:f.message)||h.uploadError,X=s.value==="error"?i.createVNode(dr,{title:q,getPopupContainer:Q=>Q.parentNode},{default:()=>[M]}):M;return i.createVNode("div",{class:V,style:_},[S?S({originNode:X,file:m,fileList:b,actions:{download:A.bind(null,m),preview:B.bind(null,m),remove:F.bind(null,m)}}):X])}}}),IK=(e,t)=>{let{slots:n}=t;var o;return io((o=n.default)===null||o===void 0?void 0:o.call(n))[0]},jK=i.defineComponent({compatConfig:{MODE:3},name:"AUploadList",props:un(SK(),{listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:kK,isImageUrl:EK,items:[],appendActionVisible:!0}),setup(e,t){let{slots:n,expose:o}=t;const r=i.shallowRef(!1);i.onMounted(()=>{r.value==!0});const a=i.shallowRef([]);i.watch(()=>e.items,function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];a.value=m.slice()},{immediate:!0,deep:!0}),i.watchEffect(()=>{if(e.listType!=="picture"&&e.listType!=="picture-card")return;let m=!1;(e.items||[]).forEach((b,y)=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(b.originFileObj instanceof File||b.originFileObj instanceof Blob)||b.thumbUrl!==void 0||(b.thumbUrl="",e.previewFile&&e.previewFile(b.originFileObj).then(x=>{const w=x||"";w!==b.thumbUrl&&(a.value[y].thumbUrl=w,m=!0)}))}),m&&i.triggerRef(a)});const l=(m,b)=>{if(e.onPreview)return b==null||b.preventDefault(),e.onPreview(m)},s=m=>{typeof e.onDownload=="function"?e.onDownload(m):m.url&&window.open(m.url)},u=m=>{var b;(b=e.onRemove)===null||b===void 0||b.call(e,m)},c=m=>{let{file:b}=m;const y=e.iconRender||n.iconRender;if(y)return y({file:b,listType:e.listType});const x=b.status==="uploading",w=e.isImageUrl&&e.isImageUrl(b)?i.createVNode(Rg,null,null):i.createVNode(Mg,null,null);let S=x?i.createVNode(Wn,null,null):i.createVNode(Dg,null,null);return e.listType==="picture"?S=x?i.createVNode(Wn,null,null):w:e.listType==="picture-card"&&(S=x?e.locale.uploading:w),S},d=m=>{const{customIcon:b,callback:y,prefixCls:x,title:w}=m,S={type:"text",size:"small",title:w,onClick:()=>{y()},class:`${x}-list-item-action`};return Po(b)?i.createVNode(nn,S,{icon:()=>b}):i.createVNode(nn,S,{default:()=>[i.createVNode("span",null,[b])]})};o({handlePreview:l,handleDownload:s});const{prefixCls:f,rootPrefixCls:p}=at("upload",e),h=i.computed(()=>({[`${f.value}-list`]:!0,[`${f.value}-list-${e.listType}`]:!0})),g=i.computed(()=>{const m=N({},ZC(`${p.value}-motion-collapse`));delete m.onAfterAppear,delete m.onAfterEnter,delete m.onAfterLeave;const b=N(N({},ph(`${f.value}-${e.listType==="picture-card"?"animate-inline":"animate"}`)),{class:h.value,appear:r.value});return e.listType!=="picture-card"?N(N({},m),b):b});return()=>{const{listType:m,locale:b,isImageUrl:y,showPreviewIcon:x,showRemoveIcon:w,showDownloadIcon:S,removeIcon:C,previewIcon:$,downloadIcon:v,progress:k,appendAction:O,itemRender:P,appendActionVisible:T}=e,B=O==null?void 0:O(),A=a.value;return i.createVNode(i.TransitionGroup,le(le({},g.value),{},{tag:"div"}),{default:()=>[A.map(F=>{const{uid:z}=F;return i.createVNode(TK,{key:z,locale:b,prefixCls:f.value,file:F,items:A,progress:k,listType:m,isImgUrl:y,showPreviewIcon:x,showRemoveIcon:w,showDownloadIcon:S,onPreview:l,onDownload:s,onClose:u,removeIcon:C,previewIcon:$,downloadIcon:v,itemRender:P},N(N({},n),{iconRender:c,actionIconRender:d}))}),O?i.withDirectives(i.createVNode(IK,{key:"__ant_upload_appendAction"},{default:()=>B}),[[i.vShow,!!T]]):null]})}}}),AK=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${e.lineWidth}px dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${e.padding}px 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${e.marginXXS}px`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{cursor:"not-allowed",[`p${t}-drag-icon ${n},
267
267
  p${t}-text,
268
268
  p${t}-hint
269
269
  `]:{color:e.colorTextDisabled}}}}}},_K=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSize:r,lineHeight:a}=e,l=`${t}-list-item`,s=`${l}-actions`,u=`${l}-action`,c=Math.round(r*a);return{[`${t}-wrapper`]:{[`${t}-list`]:N(N({},Ol()),{lineHeight:e.lineHeight,[l]:{position:"relative",height:e.lineHeight*r,marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${l}-name`]:N(N({},Xr),{padding:`0 ${e.paddingXS}px`,lineHeight:a,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[s]:{[u]:{opacity:0},[`${u}${n}-btn-sm`]:{height:c,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
@@ -612,5 +612,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
612
612
  `;break}return o},el.prototype.render=function(e,t,n){let o="";const r=this.rules;for(let a=0,l=e.length;a<l;a++){const s=e[a].type;s==="inline"?o+=this.renderInline(e[a].children,t,n):typeof r[s]<"u"?o+=r[s](e,a,t,n,this):o+=this.renderToken(e,a,t,n)}return o};function fn(){this.__rules__=[],this.__cache__=null}fn.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},fn.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(o){t.indexOf(o)<0&&t.push(o)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(o){o.enabled&&(n&&o.alt.indexOf(n)<0||e.__cache__[n].push(o.fn))})})},fn.prototype.at=function(e,t,n){const o=this.__find__(e),r=n||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__[o].fn=t,this.__rules__[o].alt=r.alt||[],this.__cache__=null},fn.prototype.before=function(e,t,n,o){const r=this.__find__(e),a=o||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},fn.prototype.after=function(e,t,n,o){const r=this.__find__(e),a=o||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:a.alt||[]}),this.__cache__=null},fn.prototype.push=function(e,t,n){const o=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null},fn.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(o){const r=this.__find__(o);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!0,n.push(o)},this),this.__cache__=null,n},fn.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)},fn.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const n=[];return e.forEach(function(o){const r=this.__find__(o);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!1,n.push(o)},this),this.__cache__=null,n},fn.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function no(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}no.prototype.attrIndex=function(t){if(!this.attrs)return-1;const n=this.attrs;for(let o=0,r=n.length;o<r;o++)if(n[o][0]===t)return o;return-1},no.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},no.prototype.attrSet=function(t,n){const o=this.attrIndex(t),r=[t,n];o<0?this.attrPush(r):this.attrs[o]=r},no.prototype.attrGet=function(t){const n=this.attrIndex(t);let o=null;return n>=0&&(o=this.attrs[n][1]),o},no.prototype.attrJoin=function(t,n){const o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};function aP(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}aP.prototype.Token=no;const wge=/\r\n?|\n/g,Cge=/\0/g;function Sge(e){let t;t=e.src.replace(wge,`
613
613
  `),t=t.replace(Cge,"�"),e.src=t}function $ge(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Oge(e){const t=e.tokens;for(let n=0,o=t.length;n<o;n++){const r=t[n];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function Ege(e){return/^<a[>\s]/i.test(e)}function kge(e){return/^<\/a\s*>/i.test(e)}function zge(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,o=t.length;n<o;n++){if(t[n].type!=="inline"||!e.md.linkify.pretest(t[n].content))continue;let r=t[n].children,a=0;for(let l=r.length-1;l>=0;l--){const s=r[l];if(s.type==="link_close"){for(l--;r[l].level!==s.level&&r[l].type!=="link_open";)l--;continue}if(s.type==="html_inline"&&(Ege(s.content)&&a>0&&a--,kge(s.content)&&a++),!(a>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const u=s.content;let c=e.md.linkify.match(u);const d=[];let f=s.level,p=0;c.length>0&&c[0].index===0&&l>0&&r[l-1].type==="text_special"&&(c=c.slice(1));for(let h=0;h<c.length;h++){const g=c[h].url,m=e.md.normalizeLink(g);if(!e.md.validateLink(m))continue;let b=c[h].text;c[h].schema?c[h].schema==="mailto:"&&!/^mailto:/i.test(b)?b=e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):b=e.md.normalizeLinkText(b):b=e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,"");const y=c[h].index;if(y>p){const C=new e.Token("text","",0);C.content=u.slice(p,y),C.level=f,d.push(C)}const x=new e.Token("link_open","a",1);x.attrs=[["href",m]],x.level=f++,x.markup="linkify",x.info="auto",d.push(x);const w=new e.Token("text","",0);w.content=b,w.level=f,d.push(w);const S=new e.Token("link_close","a",-1);S.level=--f,S.markup="linkify",S.info="auto",d.push(S),p=c[h].lastIndex}if(p<u.length){const h=new e.Token("text","",0);h.content=u.slice(p),h.level=f,d.push(h)}t[n].children=r=rP(r,l,d)}}}}const lP=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Pge=/\((c|tm|r)\)/i,Nge=/\((c|tm|r)\)/ig,Tge={c:"©",r:"®",tm:"™"};function Ige(e,t){return Tge[t.toLowerCase()]}function jge(e){let t=0;for(let n=e.length-1;n>=0;n--){const o=e[n];o.type==="text"&&!t&&(o.content=o.content.replace(Nge,Ige)),o.type==="link_open"&&o.info==="auto"&&t--,o.type==="link_close"&&o.info==="auto"&&t++}}function Age(e){let t=0;for(let n=e.length-1;n>=0;n--){const o=e[n];o.type==="text"&&!t&&lP.test(o.content)&&(o.content=o.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),o.type==="link_open"&&o.info==="auto"&&t--,o.type==="link_close"&&o.info==="auto"&&t++}}function _ge(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Pge.test(e.tokens[t].content)&&jge(e.tokens[t].children),lP.test(e.tokens[t].content)&&Age(e.tokens[t].children))}const Dge=/['"]/,sP=/['"]/g,uP="’";function zf(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function Rge(e,t){let n;const o=[];for(let r=0;r<e.length;r++){const a=e[r],l=e[r].level;for(n=o.length-1;n>=0&&!(o[n].level<=l);n--);if(o.length=n+1,a.type!=="text")continue;let s=a.content,u=0,c=s.length;e:for(;u<c;){sP.lastIndex=u;const d=sP.exec(s);if(!d)break;let f=!0,p=!0;u=d.index+1;const h=d[0]==="'";let g=32;if(d.index-1>=0)g=s.charCodeAt(d.index-1);else for(n=r-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){g=e[n].content.charCodeAt(e[n].content.length-1);break}let m=32;if(u<c)m=s.charCodeAt(u);else for(n=r+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){m=e[n].content.charCodeAt(0);break}const b=Zs(g)||Ys(String.fromCharCode(g)),y=Zs(m)||Ys(String.fromCharCode(m)),x=Gs(g),w=Gs(m);if(w?f=!1:y&&(x||b||(f=!1)),x?p=!1:b&&(w||y||(p=!1)),m===34&&d[0]==='"'&&g>=48&&g<=57&&(p=f=!1),f&&p&&(f=b,p=y),!f&&!p){h&&(a.content=zf(a.content,d.index,uP));continue}if(p)for(n=o.length-1;n>=0;n--){let S=o[n];if(o[n].level<l)break;if(S.single===h&&o[n].level===l){S=o[n];let C,$;h?(C=t.md.options.quotes[2],$=t.md.options.quotes[3]):(C=t.md.options.quotes[0],$=t.md.options.quotes[1]),a.content=zf(a.content,d.index,$),e[S.token].content=zf(e[S.token].content,S.pos,C),u+=$.length-1,S.token===r&&(u+=C.length-1),s=a.content,c=s.length,o.length=n;continue e}}f?o.push({token:r,pos:d.index,single:h,level:l}):p&&h&&(a.content=zf(a.content,d.index,uP))}}}function Mge(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!Dge.test(e.tokens[t].content)||Rge(e.tokens[t].children,e)}function Bge(e){let t,n;const o=e.tokens,r=o.length;for(let a=0;a<r;a++){if(o[a].type!=="inline")continue;const l=o[a].children,s=l.length;for(t=0;t<s;t++)l[t].type==="text_special"&&(l[t].type="text");for(t=n=0;t<s;t++)l[t].type==="text"&&t+1<s&&l[t+1].type==="text"?l[t+1].content=l[t].content+l[t+1].content:(t!==n&&(l[n]=l[t]),n++);t!==n&&(l.length=n)}}const dv=[["normalize",Sge],["block",$ge],["inline",Oge],["linkify",zge],["replacements",_ge],["smartquotes",Mge],["text_join",Bge]];function fv(){this.ruler=new fn;for(let e=0;e<dv.length;e++)this.ruler.push(dv[e][0],dv[e][1])}fv.prototype.process=function(e){const t=this.ruler.getRules("");for(let n=0,o=t.length;n<o;n++)t[n](e)},fv.prototype.State=aP;function So(e,t,n,o){this.src=e,this.md=t,this.env=n,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const r=this.src;for(let a=0,l=0,s=0,u=0,c=r.length,d=!1;l<c;l++){const f=r.charCodeAt(l);if(!d)if(ut(f)){s++,f===9?u+=4-u%4:u++;continue}else d=!0;(f===10||l===c-1)&&(f!==10&&l++,this.bMarks.push(a),this.eMarks.push(l),this.tShift.push(s),this.sCount.push(u),this.bsCount.push(0),d=!1,s=0,u=0,a=l+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}So.prototype.push=function(e,t,n){const o=new no(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o},So.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},So.prototype.skipEmptyLines=function(t){for(let n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},So.prototype.skipSpaces=function(t){for(let n=this.src.length;t<n;t++){const o=this.src.charCodeAt(t);if(!ut(o))break}return t},So.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!ut(this.src.charCodeAt(--t)))return t+1;return t},So.prototype.skipChars=function(t,n){for(let o=this.src.length;t<o&&this.src.charCodeAt(t)===n;t++);return t},So.prototype.skipCharsBack=function(t,n,o){if(t<=o)return t;for(;t>o;)if(n!==this.src.charCodeAt(--t))return t+1;return t},So.prototype.getLines=function(t,n,o,r){if(t>=n)return"";const a=new Array(n-t);for(let l=0,s=t;s<n;s++,l++){let u=0;const c=this.bMarks[s];let d=c,f;for(s+1<n||r?f=this.eMarks[s]+1:f=this.eMarks[s];d<f&&u<o;){const p=this.src.charCodeAt(d);if(ut(p))p===9?u+=4-(u+this.bsCount[s])%4:u++;else if(d-c<this.tShift[s])u++;else break;d++}u>o?a[l]=new Array(u-o+1).join(" ")+this.src.slice(d,f):a[l]=this.src.slice(d,f)}return a.join("")},So.prototype.Token=no;const Vge=65536;function pv(e,t){const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o)}function cP(e){const t=[],n=e.length;let o=0,r=e.charCodeAt(o),a=!1,l=0,s="";for(;o<n;)r===124&&(a?(s+=e.substring(l,o-1),l=o):(t.push(s+e.substring(l,o)),s="",l=o+1)),a=r===92,o++,r=e.charCodeAt(o);return t.push(s+e.substring(l)),t}function Fge(e,t,n,o){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let a=e.bMarks[r]+e.tShift[r];if(a>=e.eMarks[r])return!1;const l=e.src.charCodeAt(a++);if(l!==124&&l!==45&&l!==58||a>=e.eMarks[r])return!1;const s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!ut(s)||l===45&&ut(s))return!1;for(;a<e.eMarks[r];){const S=e.src.charCodeAt(a);if(S!==124&&S!==45&&S!==58&&!ut(S))return!1;a++}let u=pv(e,t+1),c=u.split("|");const d=[];for(let S=0;S<c.length;S++){const C=c[S].trim();if(!C){if(S===0||S===c.length-1)continue;return!1}if(!/^:?-+:?$/.test(C))return!1;C.charCodeAt(C.length-1)===58?d.push(C.charCodeAt(0)===58?"center":"right"):C.charCodeAt(0)===58?d.push("left"):d.push("")}if(u=pv(e,t).trim(),u.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;c=cP(u),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const f=c.length;if(f===0||f!==d.length)return!1;if(o)return!0;const p=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),g=e.push("table_open","table",1),m=[t,0];g.map=m;const b=e.push("thead_open","thead",1);b.map=[t,t+1];const y=e.push("tr_open","tr",1);y.map=[t,t+1];for(let S=0;S<c.length;S++){const C=e.push("th_open","th",1);d[S]&&(C.attrs=[["style","text-align:"+d[S]]]);const $=e.push("inline","",0);$.content=c[S].trim(),$.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let x,w=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let S=!1;for(let $=0,v=h.length;$<v;$++)if(h[$](e,r,n,!0)){S=!0;break}if(S||(u=pv(e,r).trim(),!u)||e.sCount[r]-e.blkIndent>=4||(c=cP(u),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),w+=f-c.length,w>Vge))break;if(r===t+2){const $=e.push("tbody_open","tbody",1);$.map=x=[t+2,0]}const C=e.push("tr_open","tr",1);C.map=[r,r+1];for(let $=0;$<f;$++){const v=e.push("td_open","td",1);d[$]&&(v.attrs=[["style","text-align:"+d[$]]]);const k=e.push("inline","",0);k.content=c[$]?c[$].trim():"",k.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return x&&(e.push("tbody_close","tbody",-1),x[1]=r),e.push("table_close","table",-1),m[1]=r,e.parentType=p,e.line=r,!0}function Lge(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let o=t+1,r=o;for(;o<n;){if(e.isEmpty(o)){o++;continue}if(e.sCount[o]-e.blkIndent>=4){o++,r=o;continue}break}e.line=r;const a=e.push("code_block","code",0);return a.content=e.getLines(t,r,4+e.blkIndent,!1)+`
614
614
  `,a.map=[t,e.line],!0}function Hge(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>a)return!1;const l=e.src.charCodeAt(r);if(l!==126&&l!==96)return!1;let s=r;r=e.skipChars(r,l);let u=r-s;if(u<3)return!1;const c=e.src.slice(s,r),d=e.src.slice(r,a);if(l===96&&d.indexOf(String.fromCharCode(l))>=0)return!1;if(o)return!0;let f=t,p=!1;for(;f++,!(f>=n||(r=s=e.bMarks[f]+e.tShift[f],a=e.eMarks[f],r<a&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(r)===l&&!(e.sCount[f]-e.blkIndent>=4)&&(r=e.skipChars(r,l),!(r-s<u)&&(r=e.skipSpaces(r),!(r<a)))){p=!0;break}u=e.sCount[t],e.line=f+(p?1:0);const h=e.push("fence","code",0);return h.info=d,h.content=e.getLines(t+1,f,u,!0),h.markup=c,h.map=[t,e.line],!0}function qge(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const l=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(o)return!0;const s=[],u=[],c=[],d=[],f=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let h=!1,g;for(g=t;g<n;g++){const w=e.sCount[g]<e.blkIndent;if(r=e.bMarks[g]+e.tShift[g],a=e.eMarks[g],r>=a)break;if(e.src.charCodeAt(r++)===62&&!w){let C=e.sCount[g]+1,$,v;e.src.charCodeAt(r)===32?(r++,C++,v=!1,$=!0):e.src.charCodeAt(r)===9?($=!0,(e.bsCount[g]+C)%4===3?(r++,C++,v=!1):v=!0):$=!1;let k=C;for(s.push(e.bMarks[g]),e.bMarks[g]=r;r<a;){const O=e.src.charCodeAt(r);if(ut(O))O===9?k+=4-(k+e.bsCount[g]+(v?1:0))%4:k++;else break;r++}h=r>=a,u.push(e.bsCount[g]),e.bsCount[g]=e.sCount[g]+1+($?1:0),c.push(e.sCount[g]),e.sCount[g]=k-C,d.push(e.tShift[g]),e.tShift[g]=r-e.bMarks[g];continue}if(h)break;let S=!1;for(let C=0,$=f.length;C<$;C++)if(f[C](e,g,n,!0)){S=!0;break}if(S){e.lineMax=g,e.blkIndent!==0&&(s.push(e.bMarks[g]),u.push(e.bsCount[g]),d.push(e.tShift[g]),c.push(e.sCount[g]),e.sCount[g]-=e.blkIndent);break}s.push(e.bMarks[g]),u.push(e.bsCount[g]),d.push(e.tShift[g]),c.push(e.sCount[g]),e.sCount[g]=-1}const m=e.blkIndent;e.blkIndent=0;const b=e.push("blockquote_open","blockquote",1);b.markup=">";const y=[t,0];b.map=y,e.md.block.tokenize(e,t,g);const x=e.push("blockquote_close","blockquote",-1);x.markup=">",e.lineMax=l,e.parentType=p,y[1]=e.line;for(let w=0;w<d.length;w++)e.bMarks[w+t]=s[w],e.tShift[w+t]=d[w],e.sCount[w+t]=c[w],e.bsCount[w+t]=u[w];return e.blkIndent=m,!0}function Kge(e,t,n,o){const r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t];const l=e.src.charCodeAt(a++);if(l!==42&&l!==45&&l!==95)return!1;let s=1;for(;a<r;){const c=e.src.charCodeAt(a++);if(c!==l&&!ut(c))return!1;c===l&&s++}if(s<3)return!1;if(o)return!0;e.line=t+1;const u=e.push("hr","hr",0);return u.map=[t,e.line],u.markup=Array(s+1).join(String.fromCharCode(l)),!0}function dP(e,t){const n=e.eMarks[t];let o=e.bMarks[t]+e.tShift[t];const r=e.src.charCodeAt(o++);if(r!==42&&r!==45&&r!==43)return-1;if(o<n){const a=e.src.charCodeAt(o);if(!ut(a))return-1}return o}function fP(e,t){const n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];let r=n;if(r+1>=o)return-1;let a=e.src.charCodeAt(r++);if(a<48||a>57)return-1;for(;;){if(r>=o)return-1;if(a=e.src.charCodeAt(r++),a>=48&&a<=57){if(r-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return r<o&&(a=e.src.charCodeAt(r),!ut(a))?-1:r}function Wge(e,t){const n=e.level+2;for(let o=t+2,r=e.tokens.length-2;o<r;o++)e.tokens[o].level===n&&e.tokens[o].type==="paragraph_open"&&(e.tokens[o+2].hidden=!0,e.tokens[o].hidden=!0,o+=2)}function Uge(e,t,n,o){let r,a,l,s,u=t,c=!0;if(e.sCount[u]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[u]-e.listIndent>=4&&e.sCount[u]<e.blkIndent)return!1;let d=!1;o&&e.parentType==="paragraph"&&e.sCount[u]>=e.blkIndent&&(d=!0);let f,p,h;if((h=fP(e,u))>=0){if(f=!0,l=e.bMarks[u]+e.tShift[u],p=Number(e.src.slice(l,h-1)),d&&p!==1)return!1}else if((h=dP(e,u))>=0)f=!1;else return!1;if(d&&e.skipSpaces(h)>=e.eMarks[u])return!1;if(o)return!0;const g=e.src.charCodeAt(h-1),m=e.tokens.length;f?(s=e.push("ordered_list_open","ol",1),p!==1&&(s.attrs=[["start",p]])):s=e.push("bullet_list_open","ul",1);const b=[u,0];s.map=b,s.markup=String.fromCharCode(g);let y=!1;const x=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";u<n;){a=h,r=e.eMarks[u];const S=e.sCount[u]+h-(e.bMarks[u]+e.tShift[u]);let C=S;for(;a<r;){const z=e.src.charCodeAt(a);if(z===9)C+=4-(C+e.bsCount[u])%4;else if(z===32)C++;else break;a++}const $=a;let v;$>=r?v=1:v=C-S,v>4&&(v=1);const k=S+v;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(g);const O=[u,0];s.map=O,f&&(s.info=e.src.slice(l,h-1));const P=e.tight,T=e.tShift[u],B=e.sCount[u],A=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=k,e.tight=!0,e.tShift[u]=$-e.bMarks[u],e.sCount[u]=C,$>=r&&e.isEmpty(u+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,u,n,!0),(!e.tight||y)&&(c=!1),y=e.line-u>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=A,e.tShift[u]=T,e.sCount[u]=B,e.tight=P,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(g),u=e.line,O[1]=u,u>=n||e.sCount[u]<e.blkIndent||e.sCount[u]-e.blkIndent>=4)break;let F=!1;for(let z=0,_=x.length;z<_;z++)if(x[z](e,u,n,!0)){F=!0;break}if(F)break;if(f){if(h=fP(e,u),h<0)break;l=e.bMarks[u]+e.tShift[u]}else if(h=dP(e,u),h<0)break;if(g!==e.src.charCodeAt(h-1))break}return f?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(g),b[1]=u,e.line=u,e.parentType=w,c&&Wge(e,m),!0}function Xge(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],l=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function s(x){const w=e.lineMax;if(x>=w||e.isEmpty(x))return null;let S=!1;if(e.sCount[x]-e.blkIndent>3&&(S=!0),e.sCount[x]<0&&(S=!0),!S){const v=e.md.block.ruler.getRules("reference"),k=e.parentType;e.parentType="reference";let O=!1;for(let P=0,T=v.length;P<T;P++)if(v[P](e,x,w,!0)){O=!0;break}if(e.parentType=k,O)return null}const C=e.bMarks[x]+e.tShift[x],$=e.eMarks[x];return e.src.slice(C,$+1)}let u=e.src.slice(r,a+1);a=u.length;let c=-1;for(r=1;r<a;r++){const x=u.charCodeAt(r);if(x===91)return!1;if(x===93){c=r;break}else if(x===10){const w=s(l);w!==null&&(u+=w,a=u.length,l++)}else if(x===92&&(r++,r<a&&u.charCodeAt(r)===10)){const w=s(l);w!==null&&(u+=w,a=u.length,l++)}}if(c<0||u.charCodeAt(c+1)!==58)return!1;for(r=c+2;r<a;r++){const x=u.charCodeAt(r);if(x===10){const w=s(l);w!==null&&(u+=w,a=u.length,l++)}else if(!ut(x))break}const d=e.md.helpers.parseLinkDestination(u,r,a);if(!d.ok)return!1;const f=e.md.normalizeLink(d.str);if(!e.md.validateLink(f))return!1;r=d.pos;const p=r,h=l,g=r;for(;r<a;r++){const x=u.charCodeAt(r);if(x===10){const w=s(l);w!==null&&(u+=w,a=u.length,l++)}else if(!ut(x))break}let m=e.md.helpers.parseLinkTitle(u,r,a);for(;m.can_continue;){const x=s(l);if(x===null)break;u+=x,r=a,a=u.length,l++,m=e.md.helpers.parseLinkTitle(u,r,a,m)}let b;for(r<a&&g!==r&&m.ok?(b=m.str,r=m.pos):(b="",r=p,l=h);r<a;){const x=u.charCodeAt(r);if(!ut(x))break;r++}if(r<a&&u.charCodeAt(r)!==10&&b)for(b="",r=p,l=h;r<a;){const x=u.charCodeAt(r);if(!ut(x))break;r++}if(r<a&&u.charCodeAt(r)!==10)return!1;const y=kf(u.slice(1,c));return y?(o||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:b,href:f}),e.line=l),!0):!1}const Gge=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Yge="[a-zA-Z_:][a-zA-Z0-9:._-]*",Zge="(?:"+"[^\"'=<>`\\x00-\\x20]+"+"|"+"'[^']*'"+"|"+'"[^"]*"'+")",pP="<[A-Za-z][A-Za-z0-9\\-]*"+("(?:\\s+"+Yge+"(?:\\s*=\\s*"+Zge+")?)")+"*\\s*\\/?>",hP="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Qge="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Jge="<[?][\\s\\S]*?[?]>",e0e="<![A-Za-z][^>]*>",t0e="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",n0e=new RegExp("^(?:"+pP+"|"+hP+"|"+Qge+"|"+Jge+"|"+e0e+"|"+t0e+")"),o0e=new RegExp("^(?:"+pP+"|"+hP+")"),tl=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Gge.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o0e.source+"\\s*$"),/^$/,!1]];function r0e(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let l=e.src.slice(r,a),s=0;for(;s<tl.length&&!tl[s][0].test(l);s++);if(s===tl.length)return!1;if(o)return tl[s][2];let u=t+1;if(!tl[s][1].test(l)){for(;u<n&&!(e.sCount[u]<e.blkIndent);u++)if(r=e.bMarks[u]+e.tShift[u],a=e.eMarks[u],l=e.src.slice(r,a),tl[s][1].test(l)){l.length!==0&&u++;break}}e.line=u;const c=e.push("html_block","",0);return c.map=[t,u],c.content=e.getLines(t,u,e.blkIndent,!0),!0}function i0e(e,t,n,o){let r=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let l=e.src.charCodeAt(r);if(l!==35||r>=a)return!1;let s=1;for(l=e.src.charCodeAt(++r);l===35&&r<a&&s<=6;)s++,l=e.src.charCodeAt(++r);if(s>6||r<a&&!ut(l))return!1;if(o)return!0;a=e.skipSpacesBack(a,r);const u=e.skipCharsBack(a,35,r);u>r&&ut(e.src.charCodeAt(u-1))&&(a=u),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const d=e.push("inline","",0);d.content=e.src.slice(r,a).trim(),d.map=[t,e.line],d.children=[];const f=e.push("heading_close","h"+String(s),-1);return f.markup="########".slice(0,s),!0}function a0e(e,t,n){const o=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const r=e.parentType;e.parentType="paragraph";let a=0,l,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let h=e.bMarks[s]+e.tShift[s];const g=e.eMarks[s];if(h<g&&(l=e.src.charCodeAt(h),(l===45||l===61)&&(h=e.skipChars(h,l),h=e.skipSpaces(h),h>=g))){a=l===61?1:2;break}}if(e.sCount[s]<0)continue;let p=!1;for(let h=0,g=o.length;h<g;h++)if(o[h](e,s,n,!0)){p=!0;break}if(p)break}if(!a)return!1;const u=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const c=e.push("heading_open","h"+String(a),1);c.markup=String.fromCharCode(l),c.map=[t,e.line];const d=e.push("inline","",0);d.content=u,d.map=[t,e.line-1],d.children=[];const f=e.push("heading_close","h"+String(a),-1);return f.markup=String.fromCharCode(l),e.parentType=r,!0}function l0e(e,t,n){const o=e.md.block.ruler.getRules("paragraph"),r=e.parentType;let a=t+1;for(e.parentType="paragraph";a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let c=!1;for(let d=0,f=o.length;d<f;d++)if(o[d](e,a,n,!0)){c=!0;break}if(c)break}const l=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const u=e.push("inline","",0);return u.content=l,u.map=[t,e.line],u.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}const Pf=[["table",Fge,["paragraph","reference"]],["code",Lge],["fence",Hge,["paragraph","reference","blockquote","list"]],["blockquote",qge,["paragraph","reference","blockquote","list"]],["hr",Kge,["paragraph","reference","blockquote","list"]],["list",Uge,["paragraph","reference","blockquote"]],["reference",Xge],["html_block",r0e,["paragraph","reference","blockquote"]],["heading",i0e,["paragraph","reference","blockquote"]],["lheading",a0e],["paragraph",l0e]];function Nf(){this.ruler=new fn;for(let e=0;e<Pf.length;e++)this.ruler.push(Pf[e][0],Pf[e][1],{alt:(Pf[e][2]||[]).slice()})}Nf.prototype.tokenize=function(e,t,n){const o=this.ruler.getRules(""),r=o.length,a=e.md.options.maxNesting;let l=t,s=!1;for(;l<n&&(e.line=l=e.skipEmptyLines(l),!(l>=n||e.sCount[l]<e.blkIndent));){if(e.level>=a){e.line=n;break}const u=e.line;let c=!1;for(let d=0;d<r;d++)if(c=o[d](e,l,n,!1),c){if(u>=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),l=e.line,l<n&&e.isEmpty(l)&&(s=!0,l++,e.line=l)}},Nf.prototype.parse=function(e,t,n,o){if(!e)return;const r=new this.State(e,t,n,o);this.tokenize(r,r.line,r.lineMax)},Nf.prototype.State=So;function Qs(e,t,n,o){this.src=e,this.env=n,this.md=t,this.tokens=o,this.tokens_meta=Array(o.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Qs.prototype.pushPending=function(){const e=new no("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Qs.prototype.push=function(e,t,n){this.pending&&this.pushPending();const o=new no(e,t,n);let r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o},Qs.prototype.scanDelims=function(e,t){const n=this.posMax,o=this.src.charCodeAt(e),r=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a<n&&this.src.charCodeAt(a)===o;)a++;const l=a-e,s=a<n?this.src.charCodeAt(a):32,u=Zs(r)||Ys(String.fromCharCode(r)),c=Zs(s)||Ys(String.fromCharCode(s)),d=Gs(r),f=Gs(s),p=!f&&(!c||d||u),h=!d&&(!u||f||c);return{can_open:p&&(t||!h||u),can_close:h&&(t||!p||c),length:l}},Qs.prototype.Token=no;function s0e(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function u0e(e,t){let n=e.pos;for(;n<e.posMax&&!s0e(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}const c0e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function d0e(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const n=e.pos,o=e.posMax;if(n+3>o||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const r=e.pending.match(c0e);if(!r)return!1;const a=r[1],l=e.md.linkify.matchAtStart(e.src.slice(n-a.length));if(!l)return!1;let s=l.url;if(s.length<=a.length)return!1;s=s.replace(/\*+$/,"");const u=e.md.normalizeLink(s);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);const c=e.push("link_open","a",1);c.attrs=[["href",u]],c.markup="linkify",c.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(s);const f=e.push("link_close","a",-1);f.markup="linkify",f.info="auto"}return e.pos+=s.length-a.length,!0}function f0e(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const o=e.pending.length-1,r=e.posMax;if(!t)if(o>=0&&e.pending.charCodeAt(o)===32)if(o>=1&&e.pending.charCodeAt(o-1)===32){let a=o-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&ut(e.src.charCodeAt(n));)n++;return e.pos=n,!0}const hv=[];for(let e=0;e<256;e++)hv.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){hv[e.charCodeAt(0)]=1});function p0e(e,t){let n=e.pos;const o=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=o))return!1;let r=e.src.charCodeAt(n);if(r===10){for(t||e.push("hardbreak","br",0),n++;n<o&&(r=e.src.charCodeAt(n),!!ut(r));)n++;return e.pos=n,!0}let a=e.src[n];if(r>=55296&&r<=56319&&n+1<o){const s=e.src.charCodeAt(n+1);s>=56320&&s<=57343&&(a+=e.src[n+1],n++)}const l="\\"+a;if(!t){const s=e.push("text_special","",0);r<256&&hv[r]!==0?s.content=a:s.content=l,s.markup=l,s.info="escape"}return e.pos=n+1,!0}function h0e(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const a=e.posMax;for(;n<a&&e.src.charCodeAt(n)===96;)n++;const l=e.src.slice(r,n),s=l.length;if(e.backticksScanned&&(e.backticks[s]||0)<=r)return t||(e.pending+=l),e.pos+=s,!0;let u=n,c;for(;(c=e.src.indexOf("`",u))!==-1;){for(u=c+1;u<a&&e.src.charCodeAt(u)===96;)u++;const d=u-c;if(d===s){if(!t){const f=e.push("code_inline","code",0);f.markup=l,f.content=e.src.slice(n,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=u,!0}e.backticks[d]=c}return e.backticksScanned=!0,t||(e.pending+=l),e.pos+=s,!0}function g0e(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t||o!==126)return!1;const r=e.scanDelims(e.pos,!0);let a=r.length;const l=String.fromCharCode(o);if(a<2)return!1;let s;a%2&&(s=e.push("text","",0),s.content=l,a--);for(let u=0;u<a;u+=2)s=e.push("text","",0),s.content=l+l,e.delimiters.push({marker:o,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function gP(e,t){let n;const o=[],r=t.length;for(let a=0;a<r;a++){const l=t[a];if(l.marker!==126||l.end===-1)continue;const s=t[l.end];n=e.tokens[l.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[s.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&o.push(s.token-1)}for(;o.length;){const a=o.pop();let l=a+1;for(;l<e.tokens.length&&e.tokens[l].type==="s_close";)l++;l--,a!==l&&(n=e.tokens[l],e.tokens[l]=e.tokens[a],e.tokens[a]=n)}}function m0e(e){const t=e.tokens_meta,n=e.tokens_meta.length;gP(e,e.delimiters);for(let o=0;o<n;o++)t[o]&&t[o].delimiters&&gP(e,t[o].delimiters)}const mP={tokenize:g0e,postProcess:m0e};function b0e(e,t){const n=e.pos,o=e.src.charCodeAt(n);if(t||o!==95&&o!==42)return!1;const r=e.scanDelims(e.pos,o===42);for(let a=0;a<r.length;a++){const l=e.push("text","",0);l.content=String.fromCharCode(o),e.delimiters.push({marker:o,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function bP(e,t){const n=t.length;for(let o=n-1;o>=0;o--){const r=t[o];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const a=t[r.end],l=o>0&&t[o-1].end===r.end+1&&t[o-1].marker===r.marker&&t[o-1].token===r.token-1&&t[r.end+1].token===a.token+1,s=String.fromCharCode(r.marker),u=e.tokens[r.token];u.type=l?"strong_open":"em_open",u.tag=l?"strong":"em",u.nesting=1,u.markup=l?s+s:s,u.content="";const c=e.tokens[a.token];c.type=l?"strong_close":"em_close",c.tag=l?"strong":"em",c.nesting=-1,c.markup=l?s+s:s,c.content="",l&&(e.tokens[t[o-1].token].content="",e.tokens[t[r.end+1].token].content="",o--)}}function y0e(e){const t=e.tokens_meta,n=e.tokens_meta.length;bP(e,e.delimiters);for(let o=0;o<n;o++)t[o]&&t[o].delimiters&&bP(e,t[o].delimiters)}const yP={tokenize:b0e,postProcess:y0e};function v0e(e,t){let n,o,r,a,l="",s="",u=e.pos,c=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const d=e.pos,f=e.posMax,p=e.pos+1,h=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(h<0)return!1;let g=h+1;if(g<f&&e.src.charCodeAt(g)===40){for(c=!1,g++;g<f&&(n=e.src.charCodeAt(g),!(!ut(n)&&n!==10));g++);if(g>=f)return!1;if(u=g,r=e.md.helpers.parseLinkDestination(e.src,g,e.posMax),r.ok){for(l=e.md.normalizeLink(r.str),e.md.validateLink(l)?g=r.pos:l="",u=g;g<f&&(n=e.src.charCodeAt(g),!(!ut(n)&&n!==10));g++);if(r=e.md.helpers.parseLinkTitle(e.src,g,e.posMax),g<f&&u!==g&&r.ok)for(s=r.str,g=r.pos;g<f&&(n=e.src.charCodeAt(g),!(!ut(n)&&n!==10));g++);}(g>=f||e.src.charCodeAt(g)!==41)&&(c=!0),g++}if(c){if(typeof e.env.references>"u")return!1;if(g<f&&e.src.charCodeAt(g)===91?(u=g+1,g=e.md.helpers.parseLinkLabel(e,g),g>=0?o=e.src.slice(u,g++):g=h+1):g=h+1,o||(o=e.src.slice(p,h)),a=e.env.references[kf(o)],!a)return e.pos=d,!1;l=a.href,s=a.title}if(!t){e.pos=p,e.posMax=h;const m=e.push("link_open","a",1),b=[["href",l]];m.attrs=b,s&&b.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=g,e.posMax=f,!0}function x0e(e,t){let n,o,r,a,l,s,u,c,d="";const f=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const h=e.pos+2,g=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(g<0)return!1;if(a=g+1,a<p&&e.src.charCodeAt(a)===40){for(a++;a<p&&(n=e.src.charCodeAt(a),!(!ut(n)&&n!==10));a++);if(a>=p)return!1;for(c=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(d=e.md.normalizeLink(s.str),e.md.validateLink(d)?a=s.pos:d=""),c=a;a<p&&(n=e.src.charCodeAt(a),!(!ut(n)&&n!==10));a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<p&&c!==a&&s.ok)for(u=s.str,a=s.pos;a<p&&(n=e.src.charCodeAt(a),!(!ut(n)&&n!==10));a++);else u="";if(a>=p||e.src.charCodeAt(a)!==41)return e.pos=f,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a<p&&e.src.charCodeAt(a)===91?(c=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?r=e.src.slice(c,a++):a=g+1):a=g+1,r||(r=e.src.slice(h,g)),l=e.env.references[kf(r)],!l)return e.pos=f,!1;d=l.href,u=l.title}if(!t){o=e.src.slice(h,g);const m=[];e.md.inline.parse(o,e.md,e.env,m);const b=e.push("image","img",0),y=[["src",d],["alt",""]];b.attrs=y,b.children=m,b.content=o,u&&y.push(["title",u])}return e.pos=a,e.posMax=p,!0}const w0e=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,C0e=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function S0e(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const o=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;const l=e.src.charCodeAt(n);if(l===60)return!1;if(l===62)break}const a=e.src.slice(o+1,n);if(C0e.test(a)){const l=e.md.normalizeLink(a);if(!e.md.validateLink(l))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",l]],s.markup="autolink",s.info="auto";const u=e.push("text","",0);u.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=a.length+2,!0}if(w0e.test(a)){const l=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(l))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",l]],s.markup="autolink",s.info="auto";const u=e.push("text","",0);u.content=e.md.normalizeLinkText(a);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=a.length+2,!0}return!1}function $0e(e){return/^<a[>\s]/i.test(e)}function O0e(e){return/^<\/a\s*>/i.test(e)}function E0e(e){const t=e|32;return t>=97&&t<=122}function k0e(e,t){if(!e.md.options.html)return!1;const n=e.posMax,o=e.pos;if(e.src.charCodeAt(o)!==60||o+2>=n)return!1;const r=e.src.charCodeAt(o+1);if(r!==33&&r!==63&&r!==47&&!E0e(r))return!1;const a=e.src.slice(o).match(n0e);if(!a)return!1;if(!t){const l=e.push("html_inline","",0);l.content=a[0],$0e(l.content)&&e.linkLevel++,O0e(l.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const z0e=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,P0e=/^&([a-z][a-z0-9]{1,31});/i;function N0e(e,t){const n=e.pos,o=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=o)return!1;if(e.src.charCodeAt(n+1)===35){const a=e.src.slice(n).match(z0e);if(a){if(!t){const l=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),s=e.push("text_special","",0);s.content=cv(l)?Ef(l):Ef(65533),s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(n).match(P0e);if(a){const l=oP(a[0]);if(l!==a[0]){if(!t){const s=e.push("text_special","",0);s.content=l,s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function vP(e){const t={},n=e.length;if(!n)return;let o=0,r=-2;const a=[];for(let l=0;l<n;l++){const s=e[l];if(a.push(0),(e[o].marker!==s.marker||r!==s.token-1)&&(o=l),r=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const u=t[s.marker][(s.open?3:0)+s.length%3];let c=o-a[o]-1,d=c;for(;c>u;c-=a[c]+1){const f=e[c];if(f.marker===s.marker&&f.open&&f.end<0){let p=!1;if((f.close||s.open)&&(f.length+s.length)%3===0&&(f.length%3!==0||s.length%3!==0)&&(p=!0),!p){const h=c>0&&!e[c-1].open?a[c-1]+1:0;a[l]=l-c+h,a[c]=h,s.open=!1,f.end=l,f.close=!1,d=-1,r=-2;break}}}d!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=d)}}function T0e(e){const t=e.tokens_meta,n=e.tokens_meta.length;vP(e.delimiters);for(let o=0;o<n;o++)t[o]&&t[o].delimiters&&vP(t[o].delimiters)}function I0e(e){let t,n,o=0;const r=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)r[t].nesting<0&&o--,r[t].level=o,r[t].nesting>0&&o++,r[t].type==="text"&&t+1<a&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}const gv=[["text",u0e],["linkify",d0e],["newline",f0e],["escape",p0e],["backticks",h0e],["strikethrough",mP.tokenize],["emphasis",yP.tokenize],["link",v0e],["image",x0e],["autolink",S0e],["html_inline",k0e],["entity",N0e]],mv=[["balance_pairs",T0e],["strikethrough",mP.postProcess],["emphasis",yP.postProcess],["fragments_join",I0e]];function Js(){this.ruler=new fn;for(let e=0;e<gv.length;e++)this.ruler.push(gv[e][0],gv[e][1]);this.ruler2=new fn;for(let e=0;e<mv.length;e++)this.ruler2.push(mv[e][0],mv[e][1])}Js.prototype.skipToken=function(e){const t=e.pos,n=this.ruler.getRules(""),o=n.length,r=e.md.options.maxNesting,a=e.cache;if(typeof a[t]<"u"){e.pos=a[t];return}let l=!1;if(e.level<r){for(let s=0;s<o;s++)if(e.level++,l=n[s](e,!0),e.level--,l){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;l||e.pos++,a[t]=e.pos},Js.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,o=e.posMax,r=e.md.options.maxNesting;for(;e.pos<o;){const a=e.pos;let l=!1;if(e.level<r){for(let s=0;s<n;s++)if(l=t[s](e,!1),l){if(a>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(l){if(e.pos>=o)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Js.prototype.parse=function(e,t,n,o){const r=new this.State(e,t,n,o);this.tokenize(r);const a=this.ruler2.getRules(""),l=a.length;for(let s=0;s<l;s++)a[s](r)},Js.prototype.State=Qs;function j0e(e){const t={};e=e||{},t.src_Any=Q5.source,t.src_Cc=J5.source,t.src_Z=tP.source,t.src_P=av.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function bv(e){return Array.prototype.slice.call(arguments,1).forEach(function(n){n&&Object.keys(n).forEach(function(o){e[o]=n[o]})}),e}function Tf(e){return Object.prototype.toString.call(e)}function A0e(e){return Tf(e)==="[object String]"}function _0e(e){return Tf(e)==="[object Object]"}function D0e(e){return Tf(e)==="[object RegExp]"}function xP(e){return Tf(e)==="[object Function]"}function R0e(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const wP={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function M0e(e){return Object.keys(e||{}).reduce(function(t,n){return t||wP.hasOwnProperty(n)},!1)}const B0e={"http:":{validate:function(e,t,n){const o=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const o=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},V0e="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",F0e="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function L0e(e){e.__index__=-1,e.__text_cache__=""}function H0e(e){return function(t,n){const o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function CP(){return function(e,t){t.normalize(e)}}function If(e){const t=e.re=j0e(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(V0e),n.push(t.src_xn),t.src_tlds=n.join("|");function o(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");const r=[];e.__compiled__={};function a(s,u){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+u)}Object.keys(e.__schemas__).forEach(function(s){const u=e.__schemas__[s];if(u===null)return;const c={validate:null,link:null};if(e.__compiled__[s]=c,_0e(u)){D0e(u.validate)?c.validate=H0e(u.validate):xP(u.validate)?c.validate=u.validate:a(s,u),xP(u.normalize)?c.normalize=u.normalize:u.normalize?a(s,u):c.normalize=CP();return}if(A0e(u)){r.push(s);return}a(s,u)}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:CP()};const l=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(R0e).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+l+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),L0e(e)}function q0e(e,t){const n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function yv(e,t){const n=new q0e(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function En(e,t){if(!(this instanceof En))return new En(e,t);t||M0e(e)&&(t=e,e={}),this.__opts__=bv({},wP,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=bv({},B0e,e),this.__compiled__={},this.__tlds__=F0e,this.__tlds_replaced__=!1,this.re={},If(this)}En.prototype.add=function(t,n){return this.__schemas__[t]=n,If(this),this},En.prototype.set=function(t){return this.__opts__=bv(this.__opts__,t),this},En.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let n,o,r,a,l,s,u,c,d;if(this.re.schema_test.test(t)){for(u=this.re.schema_search,u.lastIndex=0;(n=u.exec(t))!==null;)if(a=this.testSchemaAt(t,n[2],u.lastIndex),a){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c<this.__index__)&&(o=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(l=o.index+o[1].length,(this.__index__<0||l<this.__index__)&&(this.__schema__="",this.__index__=l,this.__last_index__=o.index+o[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(d=t.indexOf("@"),d>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(l=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||l<this.__index__||l===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=l,this.__last_index__=s))),this.__index__>=0},En.prototype.pretest=function(t){return this.re.pretest.test(t)},En.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0},En.prototype.match=function(t){const n=[];let o=0;this.__index__>=0&&this.__text_cache__===t&&(n.push(yv(this,o)),o=this.__last_index__);let r=o?t.slice(o):t;for(;this.test(r);)n.push(yv(this,o)),r=r.slice(this.__last_index__),o+=this.__last_index__;return n.length?n:null},En.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const n=this.re.schema_at_start.exec(t);if(!n)return null;const o=this.testSchemaAt(t,n[2],n[0].length);return o?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o,yv(this,0)):null},En.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(o,r,a){return o!==a[r-1]}).reverse(),If(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,If(this),this)},En.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)},En.prototype.onCompile=function(){};const nl=2147483647,$o=36,vv=1,eu=26,K0e=38,W0e=700,SP=72,$P=128,OP="-",U0e=/^xn--/,X0e=/[^\0-\x7F]/,G0e=/[\x2E\u3002\uFF0E\uFF61]/g,Y0e={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xv=$o-vv,Oo=Math.floor,wv=String.fromCharCode;function Ar(e){throw new RangeError(Y0e[e])}function Z0e(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function EP(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(G0e,".");const r=e.split("."),a=Z0e(r,t).join(".");return o+a}function kP(e){const t=[];let n=0;const o=e.length;for(;n<o;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){const a=e.charCodeAt(n++);(a&64512)==56320?t.push(((r&1023)<<10)+(a&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const Q0e=e=>String.fromCodePoint(...e),J0e=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:$o},zP=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},PP=function(e,t,n){let o=0;for(e=n?Oo(e/W0e):e>>1,e+=Oo(e/t);e>xv*eu>>1;o+=$o)e=Oo(e/xv);return Oo(o+(xv+1)*e/(e+K0e))},NP=function(e){const t=[],n=e.length;let o=0,r=$P,a=SP,l=e.lastIndexOf(OP);l<0&&(l=0);for(let s=0;s<l;++s)e.charCodeAt(s)>=128&&Ar("not-basic"),t.push(e.charCodeAt(s));for(let s=l>0?l+1:0;s<n;){const u=o;for(let d=1,f=$o;;f+=$o){s>=n&&Ar("invalid-input");const p=J0e(e.charCodeAt(s++));p>=$o&&Ar("invalid-input"),p>Oo((nl-o)/d)&&Ar("overflow"),o+=p*d;const h=f<=a?vv:f>=a+eu?eu:f-a;if(p<h)break;const g=$o-h;d>Oo(nl/g)&&Ar("overflow"),d*=g}const c=t.length+1;a=PP(o-u,c,u==0),Oo(o/c)>nl-r&&Ar("overflow"),r+=Oo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},TP=function(e){const t=[];e=kP(e);const n=e.length;let o=$P,r=0,a=SP;for(const u of e)u<128&&t.push(wv(u));const l=t.length;let s=l;for(l&&t.push(OP);s<n;){let u=nl;for(const d of e)d>=o&&d<u&&(u=d);const c=s+1;u-o>Oo((nl-r)/c)&&Ar("overflow"),r+=(u-o)*c,o=u;for(const d of e)if(d<o&&++r>nl&&Ar("overflow"),d===o){let f=r;for(let p=$o;;p+=$o){const h=p<=a?vv:p>=a+eu?eu:p-a;if(f<h)break;const g=f-h,m=$o-h;t.push(wv(zP(h+g%m,0))),f=Oo(g/m)}t.push(wv(zP(f,0))),a=PP(r,c,s===l),r=0,++s}++r,++o}return t.join("")},IP={version:"2.3.1",ucs2:{decode:kP,encode:Q0e},decode:NP,encode:TP,toASCII:function(e){return EP(e,function(t){return X0e.test(t)?"xn--"+TP(t):t})},toUnicode:function(e){return EP(e,function(t){return U0e.test(t)?NP(t.slice(4).toLowerCase()):t})}},eme={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},tme=/^(vbscript|javascript|file|data):/,nme=/^data:image\/(gif|png|jpeg|webp);/;function ome(e){const t=e.trim().toLowerCase();return tme.test(t)?nme.test(t):!0}const jP=["http:","https:","mailto:"];function rme(e){const t=iv(e,!0);if(t.hostname&&(!t.protocol||jP.indexOf(t.protocol)>=0))try{t.hostname=IP.toASCII(t.hostname)}catch{}return Xs(rv(t))}function ime(e){const t=iv(e,!0);if(t.hostname&&(!t.protocol||jP.indexOf(t.protocol)>=0))try{t.hostname=IP.toUnicode(t.hostname)}catch{}return Qa(rv(t),Qa.defaultChars+"%")}function Rn(e,t){if(!(this instanceof Rn))return new Rn(e,t);t||uv(e)||(t=e||{},e="default"),this.inline=new Js,this.block=new Nf,this.core=new fv,this.renderer=new el,this.linkify=new En,this.validateLink=ome,this.normalizeLink=rme,this.normalizeLinkText=ime,this.utils=mge,this.helpers=Of({},xge),this.options={},this.configure(e),t&&this.set(t)}Rn.prototype.set=function(e){return Of(this.options,e),this},Rn.prototype.configure=function(e){const t=this;if(uv(e)){const n=e;if(e=eme[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this},Rn.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this},Rn.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this},Rn.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Rn.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},Rn.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},Rn.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},Rn.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const AP=Rn({html:!0,breaks:!0}),_P=()=>{const e=i.ref(""),t=i.ref({visible:!1,onVisibleChange:a=>{t.value.visible=a}}),n=a=>{e.value=a,t.value.visible=!0},o=a=>a.split(`
615
- `).filter(u=>u.startsWith("|")&&u.endsWith("|")).map(u=>u.split("|").slice(1,-1).map(c=>c.trim()));return{currentImage:e,previewConfig:t,renderMarkdown:a=>{const l=/<img src="([^"]+)"[^>]*>/g,s=a.replace(l,(d,f)=>`<img src="${f}" class="clickable-image" />`),u=/\|(.+\|)+/g;if(u.test(s)){const d=o(s),f=d[0].map((h,g)=>({title:h,dataIndex:`col${g}`,key:`col${g}`})),p=d.slice(1).map((h,g)=>{const m={key:`row${g}`};return h.forEach((b,y)=>{m[`col${y}`]=b}),m});return i.h("div",null,[i.h("div",{innerHTML:AP.render(s.replace(u,""))}),i.h("div",{class:"table-container"},[i.h(bpe,{columns:f,dataSource:p,class:"markdown-table",bordered:!0,pagination:!1,scroll:{x:!0}})])])}return i.h("div",{innerHTML:AP.render(s),onClick:d=>{const f=d.target;f&&f.tagName==="IMG"&&n(f.src)}})}}},ame={class:"suspension-msg-bubble"},lme=ov(i.defineComponent({name:"suspensionMsgBubble",inheritAttrs:!1,__name:"suspensionMsgBubble",props:{msgList:{},showMsgNumber:{default:3},bubbleTheme:{default:"dark"}},setup(e){const t=e,{renderMarkdown:n}=_P(),o=i.computed(()=>t.bubbleTheme==="dark"?br.darkAlgorithm:br.defaultAlgorithm);return(r,a)=>(i.openBlock(),i.createBlock(i.unref(G3),{theme:{algorithm:o.value}},{default:i.withCtx(()=>[i.createElementVNode("div",ame,[i.createVNode(i.TransitionGroup,{name:"bubble",tag:"div"},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(r.msgList,(l,s)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:l.id},[s>=r.msgList.length-r.showMsgNumber?(i.openBlock(),i.createBlock(i.unref(F$),{key:0,class:i.normalizeClass(["bubble-item",l.type]),variant:l.type==="user"?"outlined":"filled",typing:!0,content:l.content,messageRender:i.unref(n),loading:l.type==="aiLocal",styles:{content:{maxWidth:"220px"}}},null,8,["class","variant","content","messageRender","loading"])):i.createCommentVNode("",!0)],64))),128))]),_:1})])]),_:1},8,["theme"]))}}),[["__scopeId","data-v-4cd75e3b"]]);function DP(e,t={}){const n=i.ref(!1),o=i.ref(0),r=i.ref(0),a=i.ref(t.initialX??10),l=i.ref(t.initialY??window.innerHeight-300),s=f=>"touches"in f?{clientX:f.touches[0].clientX,clientY:f.touches[0].clientY}:{clientX:f.clientX,clientY:f.clientY},u=f=>{if(t.dragHandleClass&&!f.target.closest(`.${t.dragHandleClass}`))return;f.preventDefault();const{clientX:p,clientY:h}=s(f);if(!e.value)return;const g=e.value.getBoundingClientRect();a.value=g.left,l.value=g.top,o.value=p,r.value=h,n.value=!0,e.value.style.cursor="grabbing",document.addEventListener("mousemove",c),document.addEventListener("touchmove",c,{passive:!1}),document.addEventListener("mouseup",d),document.addEventListener("touchend",d)},c=f=>{if(!n.value||!e.value)return;f.preventDefault();const{clientX:p,clientY:h}=s(f),g=p-o.value,m=h-r.value;e.value.style.left=`${a.value+g}px`,e.value.style.top=`${l.value+m}px`},d=()=>{n.value=!1,e.value&&(e.value.style.cursor="grab"),document.removeEventListener("mousemove",c),document.removeEventListener("touchmove",c),document.removeEventListener("mouseup",d),document.removeEventListener("touchend",d)};return i.onUnmounted(()=>{d()}),{startDrag:u,isDragging:n}}const sme={id:"g-ai-robot"},ume={key:0,class:"digital-human-wrap"},cme={key:0,src:MP,alt:"",draggable:"false"},dme={key:0,class:"is_icon"},fme={key:0,class:"btn"},pme={key:0},hme={key:1,class:"is_icon"},gme={class:"qa_input"},mme={class:"is_icon"},bme={key:0},yme={key:1,class:"iconfont rotate icon-zhongxinhuida",title:"重新回答"},vme={class:"send"},jf=ov(i.defineComponent({name:"AXPromptsFlexVerticalSetup",__name:"index",props:{isDebug:{type:Boolean,default:!1},dialogBoxTheme:{default:"light"},showMsgBubble:{type:Boolean,default:!0},stream:{default:"True"},title:{default:"GR水利大模型"},greet:{default:"您好,我是GR水利大模型智能小助手,您可以向我提出贵仁科技水利大模型使用问题。"},waitTxt:{default:"贵仁科技AI正在生成回答"},systemName:{default:"g-ai-robot3"},robotCss:{default:()=>({left:"10px",bottom:"10px"})},dialogCss:{default:()=>({left:"10px",bottom:"10px"})},placement:{default:"top-end"},useAudio:{type:Boolean,default:!0},space:{default:3e3},mode:{default:"audio"},openInstruct:{type:Boolean,default:!0},qaServer:{default:"/api21215/chatGlm/searchTextNew"},cozeInfo:{default:()=>({bot_id:"7473691358872584226"})},createConversationUrl:{default:"/api21215/chatGlm/createConversation"},audioServer:{},audioWs:{default:"wss://model.keepsoft.net:39002/funasrWs"},wsServer:{default:"wss://model.keepsoft.net:39002/ws"},voiceprintWs:{default:"wss://model.keepsoft.net:39002/speakerWs"},wakeupAudio:{default:"/api21215/asr/saveWakeUpAudio"},interrupt:{default:"/api21215/chatGlm/cancelChat"},instructWs:{default:"wss://model.keepsoft.net:39002/commandWs"},searchTextCallback:{type:Function,default:e=>{console.log(e,"params")}},eventFun:{default:()=>[{keywords:["打开灌区"],trigger:"after",fun:e=>{console.log(e,"a"),console.log("打开灌区")}},{keywords:["打开技术舱"],trigger:"after",fun:e=>{console.log(e,"a"),console.log("打开技术舱")}}]},videoStyle:{},offer:{},human:{},humanaudio:{},stop_audio:{},canvasWidth:{},canvasHeight:{},showMsgNumber:{},bubbleTheme:{}},setup(e,{expose:t}){const{currentImage:n,previewConfig:o,renderMarkdown:r}=_P(),{addAudioToQueue:a,stopOrderPlayAudio:l}=khe(),s=e,u=i.ref(""),c=i.computed(()=>s.dialogBoxTheme==="dark"?br.darkAlgorithm:br.defaultAlgorithm),d=i.ref(!1),f=i.ref("end"),p=i.ref(""),h=i.ref(),g=i.ref([{id:0,type:"aiAnswer",content:"您好,我是GR水利大模型智能小助手,您可以向我提出贵仁科技水利大模型使用问题。"}]),m=i.ref(""),b=i.computed(()=>({...s.cozeInfo,conversation_id:m.value})),y=()=>{ht.post(s.createConversationUrl,{coze_info:s.cozeInfo}).then(we=>{const ye=we.data;ye.code===200&&(m.value=ye.detail.conversation_id)}).catch(we=>{console.error(we)})};let x=null;const w=()=>{var we;s.mode=="audio"&&z(),s.mode=="video"&&(z(),(we=h.value)==null||we.main())},S=i.ref(""),C=i.ref(""),$=()=>{S.value=p.value};function v(we){const ye=JSON.parse(we.data),be=ye.text,Ce=ye.mode;if(s.isDebug&&console.log("isDebug",ye),f.value==="start")Ce=="2pass-offline"||Ce=="offline"?(S.value=S.value+be.replace(/ +/g,""),p.value=S.value):p.value=p.value+be;else if(Ce=="2pass-offline"||Ce=="offline"){C.value=ye.audio_data_bytes;let je=ev(ye.text,{toneType:"none",type:"array"}).filter(Re=>Re!==","&&Re!=="。").join(""),{xiaogui:He}=yf;if(Zy.xiaoguibaibai.some(Re=>je.includes(Re))){console.log("结束词唤醒成功"),j(ye.text);return}He.some(Re=>je.includes(Re))?(console.log("唤醒词识别成功"),H(ye.text)):A.value&&u.value&&(xe==null||xe.setData(u.value,C.value),xe==null||xe.wsSendData(),xe==null||xe.setOnMessageCallback(async Re=>{if(Re.text==="yes")if(U.value)if(oe.value)console.log("已有会话id..."),await k(R.value,oe.value),g.value.push({id:Date.now(),type:"user",content:ye.text}),D(ye.text);else{console.log("正在等待回复...");return}else g.value.push({id:Date.now(),type:"user",content:ye.text}),D(ye.text)}))}}const k=async(we,ye)=>{try{const be=await ht.post(s.interrupt,{conversation_id:we,chat_id:ye},{headers:{"Content-Type":"application/json"}});return console.log("取消请求成功",be.data),!0}catch(be){return console.error("取消请求失败",be),!1}};function O(we){we===0||(we===1?z():we===2&&(console.log("connecttion error"),z()))}let P=new Int16Array;const T=i.ref(null),B=i.ref(null),A=i.ref(!1),F=i.ref(null),z=()=>{const we=x==null?void 0:x.wsStart();xe==null||xe.wsStart(),we===1?(console.log("connect start"),F.value.open(()=>{console.log("recorder open"),F.value.start()})):(z(),console.log("connect error"))},_=()=>{x==null||x.wsStop(),xe==null||xe.wsStop(),F.value.pause()},K=(we,ye,be,Ce)=>{var et;B.value&&((et=B.value)==null||et.input(we[we.length-1],ye,Ce));var je=we[we.length-1],He=new Array(je),Re=_f.SampleData(He,Ce,16e3).data;P=Int16Array.from([...P,...Re]);for(var Be=960;P.length>=Be;){const tt=P.slice(0,Be);P=P.slice(Be),x==null||x.wsSend(tt)}},H=we=>{let ye=ev(we,{toneType:"none",type:"array"}).filter(Ce=>Ce!==","&&Ce!=="。").join(""),{xiaogui:be}=yf;be.some(Ce=>ye.includes(Ce))&&(console.log("唤醒词 '小贵小贵' 识别成功"),C.value&&L(C.value,1),g.value.push({id:Date.now(),type:"user",content:"小贵小贵"}),A.value=!0,I(),l(),ve(),window.setTimeout(()=>{var Ce;if(g.value.push({id:Date.now(),type:"aiAnswer",content:"我在,请问有什么可以帮您。"}),s.mode=="video"){let je={audiourl:yf.here,interrupt:!0,text:""};(Ce=h.value)==null||Ce.humanaudio(je)}else fe(yf.here)},200))},j=we=>{const be=ev(we,{toneType:"none",type:"array"}).filter(Ce=>Ce!==","&&Ce!=="。").join("").includes("zaijian")?"小贵再见":"小贵拜拜";g.value.push({id:Date.now(),type:"user",content:be}),A.value=!1,I(),l(),ve(),U.value=!1,window.setTimeout(()=>{var Ce;if(g.value.push({id:Date.now(),type:"aiAnswer",content:"很高兴为您服务,再见!"}),s.mode=="video"){let je={audiourl:Zy.here,interrupt:!0,text:""};(Ce=h.value)==null||Ce.humanaudio(je)}else fe(Zy.here)},200)},L=async(we,ye)=>{try{console.log("发送唤醒音频数据...");const be={conversation_id:ye,audio_data_base64:we},Ce=await ht.post(s.wakeupAudio,be,{headers:{"Content-Type":"application/json"}});console.log("音频数据发送成功:",Ce.data),Ce.data.code===0&&(u.value=Ce.data.detail.audio_name,console.log("音频数据名称:",u.value))}catch(be){console.error("音频数据发送失败:",be)}},G=i.ref(),W=i.ref({});let Y=null;const U=i.ref(!1),oe=i.ref(""),R=i.ref(""),D=we=>{Y&&Y.abort(),Y=new AbortController,G.value=null,oe.value="",R.value="";let ye={searchText:we,stream:s.stream,use_tts:"True",coze_info:b.value||{}};A.value=!0,g.value.push({id:Date.now()+1,type:"aiLocal",content:""}),s.stream==="True"?(U.value=!0,q5(s.qaServer,ye,{signal:Y.signal,onopen:()=>{var be;console.log("onopen"),l(),s.mode==="video"&&((be=h.value)==null||be.digitalHumanStop())},onmessage:be=>{var tt,pt;console.log(be,"message");const{audioUrl:Ce,data:je,text:He,chat_id:Re,conversation_id:Be,message_type:et}=be;if(je&&et==="answer"&&(W.value={},G.value=je,Re&&Be&&(oe.value=Re,R.value=Be),je.action)){if(je.action==="stop"&&(l(),s.mode=="video")){(tt=h.value)==null||tt.digitalHumanStop();return}W.value=M(je.action),W.value&&(W.value.trigger==="before"||W.value.trigger==="together")&&W.value.fun(je)}if(l(),s.mode=="video"){let Ot={audiourl:Ce,interrupt:!1,text:He};(pt=h.value)==null||pt.humanaudio(Ot)}else a(Ce,!0);setTimeout(()=>{g.value[g.value.length-1].type="aiAnswer",g.value[g.value.length-1].content+=He},200)},onclose:()=>{console.log("onclose"),console.log(W.value),W.value&&W.value.trigger=="after"&&W.value.fun(G.value),d.value=!1,U.value=!1}})):Oe(ye).then(be=>{let Ce=be.data;if(Ce&&Ce.code==200){s.searchTextCallback&&s.searchTextCallback(Ce.detail[0]);let{ttsMaleAddress:je}=Ce.detail[0];je&&fe(je,"sys")}}).catch(be=>{console.error("问答错误"),console.error(be)})},I=()=>{Y==null||Y.abort()},M=we=>s.eventFun.find(be=>be.keywords.some(Ce=>we.includes(Ce))),V=i.ref(!1);let q=null;const X=i.ref([]),Q=()=>{$e(),!d.value&&(V.value=!1,X.value=[],W.value={},q&&(window.clearInterval(q),q=null))},J=()=>{if(V.value)Q();else{V.value=!0;let we=s.greet;d.value=!0,te({wholeText:we,type:"aiLocal"})}},ce=()=>{let we=X.value[X.value.length-2];re(we.wholeText)},se=()=>{d.value||f.value==="start"||(I(),l(),p.value&&(X.value.push({type:"user",wholeText:p.value,singleText:p.value}),re(p.value),p.value=""))},de=i.ref([]),re=we=>{let ye={searchText:we,use_tts:"False",stream:s.stream,coze_info:b.value||{}};X.value.push({type:"aiLocal",wholeText:"",singleText:`${s.waitTxt} <span class="ellipsisText"></span>`}),de.value=[],Ae(),d.value=!0,s.stream==="True"?q5(s.qaServer,ye,{onopen:()=>{X.value.splice(X.value.length-1,1),X.value.push({type:"aiAnswer",wholeText:"",singleText:""})},onmessage:be=>{console.log(be);const{text:Ce,data:je,message_type:He}=be;if(je&&He==="answer"&&(G.value=je,je.action&&(W.value=M(je.action),W.value&&(W.value.trigger==="before"||W.value.trigger==="together")&&W.value.fun(je))),He==="follow_up"){const Be=Ce.split(`
616
- `).map(et=>et.trim()).filter(et=>et.length>0);de.value=[...new Set([...de.value,...Be])]}const Re=X.value.length-1;X.value[Re].singleText+=String(Ce),Ae()},onclose:()=>{d.value=!1,W.value&&W.value.trigger=="after"&&W.value.fun(G.value);const be=X.value.length-1;X.value[be].wholeText=X.value[be].singleText}}):Oe(ye).then(be=>{const Ce=be.data;if(Ce&&Ce.code==200){X.value.splice(X.value.length-1,1);let je={wholeText:Ce.detail[0].content,...Ce.detail[0]};te({type:"aiAnswer",...je})}}).catch(()=>{d.value=!1,X.value.splice(X.value.length-1,1),X.value.push({type:"aiLocal",wholeText:'<span style="color:red">问答出现错误,请联系管理员!</span> ',singleText:'<span style="color:red">问答出现错误,请联系管理员!</span> '})})},te=we=>{let ye=we.wholeText.split(""),be=0;X.value.push({singleText:ye[be],...we}),q=window.setInterval(()=>{be++,X.value[X.value.length-1].singleText+=ye[be],Ae(),be>=ye.length-1&&(d.value=!1,window.clearInterval(q),q=null,we.type==="aiAnswer"&&W.value&&W.value.fun&&W.value.fun({...we}))},50)},ae=()=>{I(),l(),f.value="start",A.value=!1,p.value="",S.value="",T.value&&(B.value=_f.WaveView({elem:T.value}))},$e=()=>{f.value="end",B.value=null};let xe=null;i.onMounted(()=>{y(),x=new mhe({url:s.audioWs,msgHandle:v,stateHandle:O}),xe=new bhe(s.voiceprintWs),F.value=new _f({sampleBits:16,sampleRate:48e3,numChannels:1,onProcess:K}),w()}),i.onBeforeUnmount(()=>{_()});const Oe=we=>{let ye=s.qaServer;return ht.post(ye,we)};i.ref(null);let Se=null;const ie=i.ref(!1),Z=i.ref(""),fe=(we,ye)=>{if(!we)return!1;ie.value=!1,Z.value="";let be=we;Se?(Se.pause(),Se.src=be,Se.load()):(Se=new Audio(be),Se.addEventListener("ended",()=>{Z.value=="sys"&&W.value&&W.value.fun&&W.value.trigger=="after"&&W.value.fun({...W.value.params}),ie.value=!1,Z.value="",W.value={}},!1)),setTimeout(()=>{Se.play().then(()=>{ye&&(ie.value=!0,Z.value=ye)})},100)},ve=()=>{Se&&Se.pause(),ie.value=!1,Z.value=""},Te=i.ref(null),Ae=async()=>{var we;await i.nextTick(),Te.value.scrollTop=(we=Te.value)==null?void 0:we.scrollHeight};t({searchText:Oe});const pe=i.computed(()=>de.value.map((we,ye)=>({label:we,key:`q-${ye}`}))),ue=async we=>{p.value=we.data.label,await se()},me=i.ref(null),ke=i.ref(null),ze=i.ref({position:"fixed",left:"10px",top:`${window.innerHeight-300}px`,cursor:"grab",zIndex:1e3}),Ie=i.ref({position:"fixed",left:"calc(100vw - 850px)",top:"calc(100vh - 850px)",cursor:"grab",zIndex:1e3}),{startDrag:Pe}=DP(me,{initialX:10,initialY:window.innerHeight-300}),{startDrag:De}=DP(ke,{initialX:50,initialY:window.innerHeight-200});return(we,ye)=>(i.openBlock(),i.createElementBlock("div",sme,[i.createElementVNode("div",{class:"robot",style:i.normalizeStyle(ze.value),ref_key:"robotElement",ref:me,onMousedown:ye[0]||(ye[0]=(...be)=>i.unref(Pe)&&i.unref(Pe)(...be)),onTouchstart:ye[1]||(ye[1]=(...be)=>i.unref(Pe)&&i.unref(Pe)(...be))},[s.mode=="video"||s.mode=="audio"?(i.openBlock(),i.createElementBlock("div",ume,[i.createElementVNode("img",{src:Rr,class:"dialogImg",onClick:J,style:{"user-select":"auto","pointer-events":"auto"}}),!we.$slots.reference&&s.mode=="audio"?(i.openBlock(),i.createElementBlock("img",cme)):i.createCommentVNode("",!0),i.renderSlot(we.$slots,"reference",{},void 0,!0),s.mode=="video"?(i.openBlock(),i.createBlock(Nhe,i.mergeProps({key:1},we.$props,{ref_key:"digitalHumanRef",ref:h}),null,16)):i.createCommentVNode("",!0),we.showMsgBubble?(i.openBlock(),i.createBlock(lme,i.mergeProps({key:2},we.$props,{"msg-list":g.value}),null,16,["msg-list"])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)],36),V.value?(i.openBlock(),i.createElementBlock("div",{key:0,class:"talk_main",style:i.normalizeStyle(Ie.value),ref_key:"messageElement",ref:ke},[i.createVNode(i.unref(G3),{theme:{algorithm:c.value}},{default:i.withCtx(()=>[i.createElementVNode("header",{onMousedown:ye[2]||(ye[2]=(...be)=>i.unref(De)&&i.unref(De)(...be)),onTouchstart:ye[3]||(ye[3]=(...be)=>i.unref(De)&&i.unref(De)(...be))},[i.createElementVNode("span",null,i.toDisplayString(we.title),1),i.createElementVNode("span",{class:"close",title:"关闭",onClick:Q},[i.createElementVNode("i",{class:i.normalizeClass(["iconfont icon-guanbi",{disabled:d.value}])},null,2)])],32),i.createElementVNode("ul",{class:"qa_body",ref_key:"scrollContainer",ref:Te},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,(be,Ce)=>(i.openBlock(),i.createElementBlock("li",{key:"qa"+Ce,class:i.normalizeClass([be.type!=="user"?"is_ai":"is_people"])},[be.type!=="user"?(i.openBlock(),i.createElementBlock("div",dme,ye[5]||(ye[5]=[i.createElementVNode("img",{src:BP,alt:"",draggable:"false"},null,-1)]))):i.createCommentVNode("",!0),i.createElementVNode("div",null,[i.createVNode(i.unref(F$),{content:be.singleText,messageRender:i.unref(r)},{footer:i.withCtx(()=>[be.type==="aiAnswer"?(i.openBlock(),i.createElementBlock("div",fme,[i.createVNode(i.unref(wpe),{onClick:je=>i.unref(Ehe)(be.wholeText),title:"复制",class:"copyBtn"},null,8,["onClick"]),i.createVNode(i.unref(Ope),{onClick:ce,title:"重新回答",class:"copyBtn"}),be.ttsMaleAddress?(i.openBlock(),i.createBlock(i.unref(x5),{key:0,class:i.normalizeClass([Z.value===`ttsMaleAddress_${Ce}`&&ie.value?"open":"close"]),onClick:je=>fe(be.ttsMaleAddress,`ttsMaleAddress_${Ce}`),title:"男声播报",style:{"font-size":"18px",cursor:"pointer","margin-right":"10px"}},null,8,["class","onClick"])):i.createCommentVNode("",!0),be.ttsFemaleAddress?(i.openBlock(),i.createBlock(i.unref(x5),{key:1,class:i.normalizeClass([Z.value===`ttsFemaleAddress_${Ce}`&&ie.value?"open":"close"]),onClick:je=>fe(be.ttsFemaleAddress,`ttsFemaleAddress_${Ce}`),title:"女声播报",style:{"font-size":"18px",cursor:"pointer"}},null,8,["class","onClick"])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)]),_:2},1032,["content","messageRender"]),be.type==="aiAnswer"&&Ce===X.value.length-1?(i.openBlock(),i.createElementBlock("div",pme,[i.createVNode(i.unref(K$),{title:"✨ 关联问题",items:pe.value,vertical:"","on-item-click":ue},null,8,["items"])])):i.createCommentVNode("",!0)]),be.type==="user"?(i.openBlock(),i.createElementBlock("div",hme,ye[6]||(ye[6]=[i.createElementVNode("img",{src:VP,alt:"",draggable:"false"},null,-1)]))):i.createCommentVNode("",!0)],2))),128))],512),i.createVNode(i.unref(tce),{src:i.unref(n),preview:i.unref(o),style:{width:"100%",maxWidth:"800px",margin:"auto",display:"none"}},null,8,["src","preview"]),i.createElementVNode("div",{id:"playChart",ref_key:"waveRef",ref:T,class:i.normalizeClass([f.value==="start"?"show":"hiddle"])},null,2),i.createElementVNode("div",gme,[i.withDirectives(i.createElementVNode("textarea",{"onUpdate:modelValue":ye[4]||(ye[4]=be=>p.value=be),placeholder:"请输入内容",autosize:{minRows:2,maxRows:4},onKeyup:i.withKeys(se,["enter"]),onInput:i.withModifiers($,["prevent"])},null,544),[[i.vModelText,p.value]]),i.createElementVNode("div",mme,[s.useAudio?(i.openBlock(),i.createElementBlock("p",bme,[f.value=="end"?(i.openBlock(),i.createElementBlock("img",{key:0,src:$v,alt:"",class:"open",draggable:"false",title:"启动语音",onClick:ae})):i.createCommentVNode("",!0),f.value==="loading"?(i.openBlock(),i.createElementBlock("i",yme)):i.createCommentVNode("",!0),f.value=="start"?(i.openBlock(),i.createElementBlock("img",{key:2,src:$v,alt:"",class:"close",draggable:"false",title:"关闭语音",onClick:$e})):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),i.createElementVNode("p",vme,[i.createElementVNode("img",{src:FP,alt:"",draggable:"false",title:"发送",onClick:se,class:i.normalizeClass({disabled:d.value||f.value==="start"})},null,2)])])])]),_:1},8,["theme"])],4)):i.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-910af32e"]]);return jf.name="GAiRobot3",jf.install=function(e){e.component("GAiRobot3",jf)},jf});
615
+ `).filter(u=>u.startsWith("|")&&u.endsWith("|")).map(u=>u.split("|").slice(1,-1).map(c=>c.trim()));return{currentImage:e,previewConfig:t,renderMarkdown:a=>{const l=/<img src="([^"]+)"[^>]*>/g,s=a.replace(l,(d,f)=>`<img src="${f}" class="clickable-image" />`),u=/\|(.+\|)+/g;if(u.test(s)){const d=o(s),f=d[0].map((h,g)=>({title:h,dataIndex:`col${g}`,key:`col${g}`})),p=d.slice(1).map((h,g)=>{const m={key:`row${g}`};return h.forEach((b,y)=>{m[`col${y}`]=b}),m});return i.h("div",null,[i.h("div",{innerHTML:AP.render(s.replace(u,""))}),i.h("div",{class:"table-container"},[i.h(bpe,{columns:f,dataSource:p,class:"markdown-table",bordered:!0,pagination:!1,scroll:{x:!0}})])])}return i.h("div",{innerHTML:AP.render(s),onClick:d=>{const f=d.target;f&&f.tagName==="IMG"&&n(f.src)}})}}},ame={class:"suspension-msg-bubble"},lme=ov(i.defineComponent({name:"suspensionMsgBubble",inheritAttrs:!1,__name:"suspensionMsgBubble",props:{msgList:{},showMsgNumber:{default:3},bubbleTheme:{default:"dark"}},setup(e){const t=e,{renderMarkdown:n}=_P(),o=i.computed(()=>t.bubbleTheme==="dark"?br.darkAlgorithm:br.defaultAlgorithm);return(r,a)=>(i.openBlock(),i.createBlock(i.unref(G3),{theme:{algorithm:o.value}},{default:i.withCtx(()=>[i.createElementVNode("div",ame,[i.createVNode(i.TransitionGroup,{name:"bubble",tag:"div"},{default:i.withCtx(()=>[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(r.msgList,(l,s)=>(i.openBlock(),i.createElementBlock(i.Fragment,{key:l.id},[s>=r.msgList.length-r.showMsgNumber?(i.openBlock(),i.createBlock(i.unref(F$),{key:0,class:i.normalizeClass(["bubble-item",l.type]),variant:l.type==="user"?"outlined":"filled",typing:!0,content:l.content,messageRender:i.unref(n),loading:l.type==="aiLocal",styles:{content:{maxWidth:"220px"}}},null,8,["class","variant","content","messageRender","loading"])):i.createCommentVNode("",!0)],64))),128))]),_:1})])]),_:1},8,["theme"]))}}),[["__scopeId","data-v-893fb45d"]]);function DP(e,t={}){const n=i.ref(!1),o=i.ref(0),r=i.ref(0),a=i.ref(t.initialX??10),l=i.ref(t.initialY??window.innerHeight-300),s=f=>"touches"in f?{clientX:f.touches[0].clientX,clientY:f.touches[0].clientY}:{clientX:f.clientX,clientY:f.clientY},u=f=>{if(t.dragHandleClass&&!f.target.closest(`.${t.dragHandleClass}`))return;f.preventDefault();const{clientX:p,clientY:h}=s(f);if(!e.value)return;const g=e.value.getBoundingClientRect();a.value=g.left,l.value=g.top,o.value=p,r.value=h,n.value=!0,e.value.style.cursor="grabbing",document.addEventListener("mousemove",c),document.addEventListener("touchmove",c,{passive:!1}),document.addEventListener("mouseup",d),document.addEventListener("touchend",d)},c=f=>{if(!n.value||!e.value)return;f.preventDefault();const{clientX:p,clientY:h}=s(f),g=p-o.value,m=h-r.value;e.value.style.left=`${a.value+g}px`,e.value.style.top=`${l.value+m}px`},d=()=>{n.value=!1,e.value&&(e.value.style.cursor="grab"),document.removeEventListener("mousemove",c),document.removeEventListener("touchmove",c),document.removeEventListener("mouseup",d),document.removeEventListener("touchend",d)};return i.onUnmounted(()=>{d()}),{startDrag:u,isDragging:n}}const sme={id:"g-ai-robot"},ume={key:0,class:"digital-human-wrap"},cme={key:0,src:MP,alt:"",draggable:"false"},dme={key:0,class:"is_icon"},fme={key:0,class:"btn"},pme={key:0},hme={key:1,class:"is_icon"},gme={class:"qa_input"},mme={class:"is_icon"},bme={key:0},yme={key:1,class:"iconfont rotate icon-zhongxinhuida",title:"重新回答"},vme={class:"send"},jf=ov(i.defineComponent({name:"AXPromptsFlexVerticalSetup",__name:"index",props:{isDebug:{type:Boolean,default:!1},dialogBoxTheme:{default:"light"},showMsgBubble:{type:Boolean,default:!0},stream:{default:"True"},title:{default:"GR水利大模型"},greet:{default:"您好,我是GR水利大模型智能小助手,您可以向我提出贵仁科技水利大模型使用问题。"},waitTxt:{default:"贵仁科技AI正在生成回答"},systemName:{default:"g-ai-robot3"},robotCss:{default:()=>({left:"10px",bottom:"10px"})},dialogCss:{default:()=>({left:"10px",bottom:"10px"})},placement:{default:"top-end"},useAudio:{type:Boolean,default:!0},space:{default:3e3},mode:{default:"audio"},openInstruct:{type:Boolean,default:!0},qaServer:{default:"/api21215/chatGlm/searchTextNew"},cozeInfo:{default:()=>({bot_id:"7473691358872584226"})},createConversationUrl:{default:"/api21215/chatGlm/createConversation"},audioServer:{},audioWs:{default:"wss://model.keepsoft.net:39002/funasrWs"},wsServer:{default:"wss://model.keepsoft.net:39002/ws"},voiceprintWs:{default:"wss://model.keepsoft.net:39002/speakerWs"},wakeupAudio:{default:"/api21215/asr/saveWakeUpAudio"},interrupt:{default:"/api21215/chatGlm/cancelChat"},instructWs:{default:"wss://model.keepsoft.net:39002/commandWs"},searchTextCallback:{type:Function,default:e=>{console.log(e,"params")}},eventFun:{default:()=>[{keywords:["打开灌区"],trigger:"after",fun:e=>{console.log(e,"a"),console.log("打开灌区")}},{keywords:["打开技术舱"],trigger:"after",fun:e=>{console.log(e,"a"),console.log("打开技术舱")}}]},videoStyle:{},offer:{},human:{},humanaudio:{},stop_audio:{},canvasWidth:{},canvasHeight:{},showMsgNumber:{},bubbleTheme:{}},setup(e,{expose:t}){const{currentImage:n,previewConfig:o,renderMarkdown:r}=_P(),{addAudioToQueue:a,stopOrderPlayAudio:l}=khe(),s=e,u=i.ref(""),c=i.computed(()=>s.dialogBoxTheme==="dark"?br.darkAlgorithm:br.defaultAlgorithm),d=i.ref(!1),f=i.ref("end"),p=i.ref(""),h=i.ref(),g=i.ref([{id:0,type:"aiAnswer",content:"您好,我是GR水利大模型智能小助手,您可以向我提出贵仁科技水利大模型使用问题。"}]),m=i.ref(""),b=i.computed(()=>({...s.cozeInfo,conversation_id:m.value})),y=()=>{ht.post(s.createConversationUrl,{coze_info:s.cozeInfo}).then(we=>{const ye=we.data;ye.code===200&&(m.value=ye.detail.conversation_id)}).catch(we=>{console.error(we)})};let x=null;const w=()=>{var we;s.mode=="audio"&&z(),s.mode=="video"&&(z(),(we=h.value)==null||we.main())},S=i.ref(""),C=i.ref(""),$=()=>{S.value=p.value};function v(we){const ye=JSON.parse(we.data),be=ye.text,Ce=ye.mode;if(s.isDebug&&console.log("isDebug",ye),f.value==="start")Ce=="2pass-offline"||Ce=="offline"?(S.value=S.value+be.replace(/ +/g,""),p.value=S.value):p.value=p.value+be;else if(Ce=="2pass-offline"||Ce=="offline"){C.value=ye.audio_data_bytes;let je=ev(ye.text,{toneType:"none",type:"array"}).filter(Re=>Re!==","&&Re!=="。").join(""),{xiaogui:He}=yf;if(Zy.xiaoguibaibai.some(Re=>je.includes(Re))){console.log("结束词唤醒成功"),j(ye.text);return}He.some(Re=>je.includes(Re))?(console.log("唤醒词识别成功"),H(ye.text)):A.value&&u.value&&(xe==null||xe.setData(u.value,C.value),xe==null||xe.wsSendData(),xe==null||xe.setOnMessageCallback(async Re=>{if(Re.text==="yes")if(U.value)if(oe.value)console.log("已有会话id..."),await k(R.value,oe.value),g.value.push({id:Date.now(),type:"user",content:ye.text}),D(ye.text);else{console.log("正在等待回复...");return}else g.value.push({id:Date.now(),type:"user",content:ye.text}),D(ye.text)}))}}const k=async(we,ye)=>{try{const be=await ht.post(s.interrupt,{conversation_id:we,chat_id:ye},{headers:{"Content-Type":"application/json"}});return console.log("取消请求成功",be.data),!0}catch(be){return console.error("取消请求失败",be),!1}};function O(we){we===0||(we===1?z():we===2&&(console.log("connecttion error"),z()))}let P=new Int16Array;const T=i.ref(null),B=i.ref(null),A=i.ref(!1),F=i.ref(null),z=()=>{const we=x==null?void 0:x.wsStart();xe==null||xe.wsStart(),we===1?(console.log("connect start"),F.value.open(()=>{console.log("recorder open"),F.value.start()})):(z(),console.log("connect error"))},_=()=>{x==null||x.wsStop(),xe==null||xe.wsStop(),F.value.pause()},K=(we,ye,be,Ce)=>{var et;B.value&&((et=B.value)==null||et.input(we[we.length-1],ye,Ce));var je=we[we.length-1],He=new Array(je),Re=_f.SampleData(He,Ce,16e3).data;P=Int16Array.from([...P,...Re]);for(var Be=960;P.length>=Be;){const tt=P.slice(0,Be);P=P.slice(Be),x==null||x.wsSend(tt)}},H=we=>{let ye=ev(we,{toneType:"none",type:"array"}).filter(Ce=>Ce!==","&&Ce!=="。").join(""),{xiaogui:be}=yf;be.some(Ce=>ye.includes(Ce))&&(console.log("唤醒词 '小贵小贵' 识别成功"),C.value&&L(C.value,1),g.value.push({id:Date.now(),type:"user",content:"小贵小贵"}),A.value=!0,I(),l(),ve(),window.setTimeout(()=>{var Ce;if(g.value.push({id:Date.now(),type:"aiAnswer",content:"我在,请问有什么可以帮您。"}),s.mode=="video"){let je={audiourl:yf.here,interrupt:!0,text:""};(Ce=h.value)==null||Ce.humanaudio(je)}else fe(yf.here)},200))},j=we=>{const be=ev(we,{toneType:"none",type:"array"}).filter(Ce=>Ce!==","&&Ce!=="。").join("").includes("zaijian")?"小贵再见":"小贵拜拜";g.value.push({id:Date.now(),type:"user",content:be}),A.value=!1,I(),l(),ve(),U.value=!1,window.setTimeout(()=>{var Ce;if(g.value.push({id:Date.now(),type:"aiAnswer",content:"很高兴为您服务,再见!"}),s.mode=="video"){let je={audiourl:Zy.here,interrupt:!0,text:""};(Ce=h.value)==null||Ce.humanaudio(je)}else fe(Zy.here)},200)},L=async(we,ye)=>{try{console.log("发送唤醒音频数据...");const be={conversation_id:ye,audio_data_base64:we},Ce=await ht.post(s.wakeupAudio,be,{headers:{"Content-Type":"application/json"}});console.log("音频数据发送成功:",Ce.data),Ce.data.code===0&&(u.value=Ce.data.detail.audio_name,console.log("音频数据名称:",u.value))}catch(be){console.error("音频数据发送失败:",be)}},G=i.ref(),W=i.ref({});let Y=null;const U=i.ref(!1),oe=i.ref(""),R=i.ref(""),D=we=>{Y&&Y.abort(),Y=new AbortController,G.value=null,oe.value="",R.value="";let ye={searchText:we,stream:s.stream,use_tts:"True",coze_info:b.value||{}};A.value=!0,g.value.push({id:Date.now()+1,type:"aiLocal",content:""}),s.stream==="True"?(U.value=!0,q5(s.qaServer,ye,{signal:Y.signal,onopen:()=>{var be;console.log("onopen"),l(),s.mode==="video"&&((be=h.value)==null||be.digitalHumanStop())},onmessage:be=>{var tt,pt;console.log(be,"message");const{audioUrl:Ce,data:je,text:He,chat_id:Re,conversation_id:Be,message_type:et}=be;if(je&&et==="answer"&&(W.value={},G.value=je,Re&&Be&&(oe.value=Re,R.value=Be),je.action)){if(je.action==="stop"&&(l(),s.mode=="video")){(tt=h.value)==null||tt.digitalHumanStop();return}W.value=M(je.action),W.value&&(W.value.trigger==="before"||W.value.trigger==="together")&&W.value.fun(je)}if(l(),s.mode=="video"){let Ot={audiourl:Ce,interrupt:!1,text:He};(pt=h.value)==null||pt.humanaudio(Ot)}else a(Ce,!0);setTimeout(()=>{g.value[g.value.length-1].type="aiAnswer",g.value[g.value.length-1].content+=He},200)},onclose:()=>{console.log("onclose"),console.log(W.value),W.value&&W.value.trigger=="after"&&W.value.fun(G.value),d.value=!1,U.value=!1}})):Oe(ye).then(be=>{let Ce=be.data;if(Ce&&Ce.code==200){s.searchTextCallback&&s.searchTextCallback(Ce.detail[0]);let{ttsMaleAddress:je}=Ce.detail[0];je&&fe(je,"sys")}}).catch(be=>{console.error("问答错误"),console.error(be)})},I=()=>{Y==null||Y.abort()},M=we=>s.eventFun.find(be=>be.keywords.some(Ce=>we.includes(Ce))),V=i.ref(!1);let q=null;const X=i.ref([]),Q=()=>{$e(),!d.value&&(V.value=!1,X.value=[],W.value={},q&&(window.clearInterval(q),q=null))},J=()=>{if(V.value)Q();else{V.value=!0;let we=s.greet;d.value=!0,te({wholeText:we,type:"aiLocal"})}},ce=()=>{let we=X.value[X.value.length-2];re(we.wholeText)},se=()=>{d.value||f.value==="start"||(I(),l(),p.value&&(X.value.push({type:"user",wholeText:p.value,singleText:p.value}),re(p.value),p.value=""))},de=i.ref([]),re=we=>{let ye={searchText:we,use_tts:"False",stream:s.stream,coze_info:b.value||{}};X.value.push({type:"aiLocal",wholeText:"",singleText:`${s.waitTxt} <span class="ellipsisText"></span>`}),de.value=[],Ae(),d.value=!0,s.stream==="True"?q5(s.qaServer,ye,{onopen:()=>{X.value.splice(X.value.length-1,1),X.value.push({type:"aiAnswer",wholeText:"",singleText:""})},onmessage:be=>{console.log(be);const{text:Ce,data:je,message_type:He}=be;if(je&&He==="answer"&&(G.value=je,je.action&&(W.value=M(je.action),W.value&&(W.value.trigger==="before"||W.value.trigger==="together")&&W.value.fun(je))),He==="follow_up"){const Be=Ce.split(`
616
+ `).map(et=>et.trim()).filter(et=>et.length>0);de.value=[...new Set([...de.value,...Be])]}const Re=X.value.length-1;X.value[Re].singleText+=String(Ce),Ae()},onclose:()=>{d.value=!1,W.value&&W.value.trigger=="after"&&W.value.fun(G.value);const be=X.value.length-1;X.value[be].wholeText=X.value[be].singleText}}):Oe(ye).then(be=>{const Ce=be.data;if(Ce&&Ce.code==200){X.value.splice(X.value.length-1,1);let je={wholeText:Ce.detail[0].content,...Ce.detail[0]};te({type:"aiAnswer",...je})}}).catch(()=>{d.value=!1,X.value.splice(X.value.length-1,1),X.value.push({type:"aiLocal",wholeText:'<span style="color:red">问答出现错误,请联系管理员!</span> ',singleText:'<span style="color:red">问答出现错误,请联系管理员!</span> '})})},te=we=>{let ye=we.wholeText.split(""),be=0;X.value.push({singleText:ye[be],...we}),q=window.setInterval(()=>{be++,X.value[X.value.length-1].singleText+=ye[be],Ae(),be>=ye.length-1&&(d.value=!1,window.clearInterval(q),q=null,we.type==="aiAnswer"&&W.value&&W.value.fun&&W.value.fun({...we}))},50)},ae=()=>{I(),l(),f.value="start",A.value=!1,p.value="",S.value="",T.value&&(B.value=_f.WaveView({elem:T.value}))},$e=()=>{f.value="end",B.value=null};let xe=null;i.onMounted(()=>{y(),x=new mhe({url:s.audioWs,msgHandle:v,stateHandle:O}),xe=new bhe(s.voiceprintWs),F.value=new _f({sampleBits:16,sampleRate:48e3,numChannels:1,onProcess:K}),w()}),i.onBeforeUnmount(()=>{_()});const Oe=we=>{let ye=s.qaServer;return ht.post(ye,we)};i.ref(null);let Se=null;const ie=i.ref(!1),Z=i.ref(""),fe=(we,ye)=>{if(!we)return!1;ie.value=!1,Z.value="";let be=we;Se?(Se.pause(),Se.src=be,Se.load()):(Se=new Audio(be),Se.addEventListener("ended",()=>{Z.value=="sys"&&W.value&&W.value.fun&&W.value.trigger=="after"&&W.value.fun({...W.value.params}),ie.value=!1,Z.value="",W.value={}},!1)),setTimeout(()=>{Se.play().then(()=>{ye&&(ie.value=!0,Z.value=ye)})},100)},ve=()=>{Se&&Se.pause(),ie.value=!1,Z.value=""},Te=i.ref(null),Ae=async()=>{var we;await i.nextTick(),Te.value.scrollTop=(we=Te.value)==null?void 0:we.scrollHeight};t({searchText:Oe});const pe=i.computed(()=>de.value.map((we,ye)=>({label:we,key:`q-${ye}`}))),ue=async we=>{p.value=we.data.label,await se()},me=i.ref(null),ke=i.ref(null),ze=i.ref({position:"fixed",left:"10px",top:`${window.innerHeight-300}px`,cursor:"grab",zIndex:1e3}),Ie=i.ref({position:"fixed",right:"calc(100vw - 900px)",top:"calc(100vh - 800px)",cursor:"grab",zIndex:1e3}),{startDrag:Pe}=DP(me,{initialX:10,initialY:window.innerHeight-300}),{startDrag:De}=DP(ke,{initialX:50,initialY:window.innerHeight-200});return(we,ye)=>(i.openBlock(),i.createElementBlock("div",sme,[i.createElementVNode("div",{class:"robot",style:i.normalizeStyle(ze.value),ref_key:"robotElement",ref:me,onMousedown:ye[0]||(ye[0]=(...be)=>i.unref(Pe)&&i.unref(Pe)(...be)),onTouchstart:ye[1]||(ye[1]=(...be)=>i.unref(Pe)&&i.unref(Pe)(...be))},[s.mode=="video"||s.mode=="audio"?(i.openBlock(),i.createElementBlock("div",ume,[i.createElementVNode("img",{src:Rr,class:"dialogImg",onClick:J,style:{"user-select":"auto","pointer-events":"auto"}}),!we.$slots.reference&&s.mode=="audio"?(i.openBlock(),i.createElementBlock("img",cme)):i.createCommentVNode("",!0),i.renderSlot(we.$slots,"reference",{},void 0,!0),s.mode=="video"?(i.openBlock(),i.createBlock(Nhe,i.mergeProps({key:1},we.$props,{ref_key:"digitalHumanRef",ref:h}),null,16)):i.createCommentVNode("",!0),we.showMsgBubble?(i.openBlock(),i.createBlock(lme,i.mergeProps({key:2},we.$props,{"msg-list":g.value}),null,16,["msg-list"])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)],36),V.value?(i.openBlock(),i.createElementBlock("div",{key:0,class:"talk_main",style:i.normalizeStyle(Ie.value),ref_key:"messageElement",ref:ke},[i.createVNode(i.unref(G3),{theme:{algorithm:c.value}},{default:i.withCtx(()=>[i.createElementVNode("header",{onMousedown:ye[2]||(ye[2]=(...be)=>i.unref(De)&&i.unref(De)(...be)),onTouchstart:ye[3]||(ye[3]=(...be)=>i.unref(De)&&i.unref(De)(...be))},[i.createElementVNode("span",null,i.toDisplayString(we.title),1),i.createElementVNode("span",{class:"close",title:"关闭",onClick:Q},[i.createElementVNode("i",{class:i.normalizeClass(["iconfont icon-guanbi",{disabled:d.value}])},null,2)])],32),i.createElementVNode("ul",{class:"qa_body",ref_key:"scrollContainer",ref:Te},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,(be,Ce)=>(i.openBlock(),i.createElementBlock("li",{key:"qa"+Ce,class:i.normalizeClass([be.type!=="user"?"is_ai":"is_people"])},[be.type!=="user"?(i.openBlock(),i.createElementBlock("div",dme,ye[5]||(ye[5]=[i.createElementVNode("img",{src:BP,alt:"",draggable:"false"},null,-1)]))):i.createCommentVNode("",!0),i.createElementVNode("div",null,[i.createVNode(i.unref(F$),{content:be.singleText,messageRender:i.unref(r)},{footer:i.withCtx(()=>[be.type==="aiAnswer"?(i.openBlock(),i.createElementBlock("div",fme,[i.createVNode(i.unref(wpe),{onClick:je=>i.unref(Ehe)(be.wholeText),title:"复制",class:"copyBtn"},null,8,["onClick"]),i.createVNode(i.unref(Ope),{onClick:ce,title:"重新回答",class:"copyBtn"}),be.ttsMaleAddress?(i.openBlock(),i.createBlock(i.unref(x5),{key:0,class:i.normalizeClass([Z.value===`ttsMaleAddress_${Ce}`&&ie.value?"open":"close"]),onClick:je=>fe(be.ttsMaleAddress,`ttsMaleAddress_${Ce}`),title:"男声播报",style:{"font-size":"18px",cursor:"pointer","margin-right":"10px"}},null,8,["class","onClick"])):i.createCommentVNode("",!0),be.ttsFemaleAddress?(i.openBlock(),i.createBlock(i.unref(x5),{key:1,class:i.normalizeClass([Z.value===`ttsFemaleAddress_${Ce}`&&ie.value?"open":"close"]),onClick:je=>fe(be.ttsFemaleAddress,`ttsFemaleAddress_${Ce}`),title:"女声播报",style:{"font-size":"18px",cursor:"pointer"}},null,8,["class","onClick"])):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0)]),_:2},1032,["content","messageRender"]),be.type==="aiAnswer"&&Ce===X.value.length-1&&de.value?(i.openBlock(),i.createElementBlock("div",pme,[i.createVNode(i.unref(K$),{title:"✨ 关联问题",items:pe.value,vertical:"","on-item-click":ue},null,8,["items"])])):i.createCommentVNode("",!0)]),be.type==="user"?(i.openBlock(),i.createElementBlock("div",hme,ye[6]||(ye[6]=[i.createElementVNode("img",{src:VP,alt:"",draggable:"false"},null,-1)]))):i.createCommentVNode("",!0)],2))),128))],512),i.createVNode(i.unref(tce),{src:i.unref(n),preview:i.unref(o),style:{width:"100%",maxWidth:"800px",margin:"auto",display:"none"}},null,8,["src","preview"]),i.createElementVNode("div",{id:"playChart",ref_key:"waveRef",ref:T,class:i.normalizeClass([f.value==="start"?"show":"hiddle"])},null,2),i.createElementVNode("div",gme,[i.withDirectives(i.createElementVNode("textarea",{"onUpdate:modelValue":ye[4]||(ye[4]=be=>p.value=be),placeholder:"请输入内容",autosize:{minRows:2,maxRows:4},onKeyup:i.withKeys(se,["enter"]),onInput:i.withModifiers($,["prevent"])},null,544),[[i.vModelText,p.value]]),i.createElementVNode("div",mme,[s.useAudio?(i.openBlock(),i.createElementBlock("p",bme,[f.value=="end"?(i.openBlock(),i.createElementBlock("img",{key:0,src:$v,alt:"",class:"open",draggable:"false",title:"启动语音",onClick:ae})):i.createCommentVNode("",!0),f.value==="loading"?(i.openBlock(),i.createElementBlock("i",yme)):i.createCommentVNode("",!0),f.value=="start"?(i.openBlock(),i.createElementBlock("img",{key:2,src:$v,alt:"",class:"close",draggable:"false",title:"关闭语音",onClick:$e})):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),i.createElementVNode("p",vme,[i.createElementVNode("img",{src:FP,alt:"",draggable:"false",title:"发送",onClick:se,class:i.normalizeClass({disabled:d.value||f.value==="start"})},null,2)])])])]),_:1},8,["theme"])],4)):i.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-7600cb6b"]]);return jf.name="GAiRobot3",jf.install=function(e){e.component("GAiRobot3",jf)},jf});