coding-tool-x 3.9.9-261027 → 3.9.9-261105

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.
Files changed (120) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/web/assets/AgentsDrawer-DWnAsTH_.js +1 -0
  3. package/dist/web/assets/Analytics-D_WWRO5h.js +1 -0
  4. package/dist/web/assets/AssetPathField-CoIuoSZr.js +1 -0
  5. package/dist/web/assets/ChatHistoryDrawer-B_OnCpxR.js +1 -0
  6. package/dist/web/assets/CollapseItem-DEV7PQ-o.js +1 -0
  7. package/dist/web/assets/CommandsDrawer-gG61nb7a.js +1 -0
  8. package/dist/web/assets/ConfigExportDrawer-BkSzLSuZ.js +1 -0
  9. package/dist/web/assets/ConfigTemplates-DvEDpIso.js +1 -0
  10. package/dist/web/assets/ConfigTemplatesDrawer-DMPO4gjt.js +1 -0
  11. package/dist/web/assets/ConfigTemplatesPanel-BQe31_bq.js +1 -0
  12. package/dist/web/assets/Divider-CEqaZMTW.js +1 -0
  13. package/dist/web/assets/DrawerContent-BYlV968f.js +1 -0
  14. package/dist/web/assets/FavoritesDrawer-Y-MmIIE9.js +1 -0
  15. package/dist/web/assets/{Forward-DLCL7aMY.js → Forward-kgMPT2RI.js} +1 -1
  16. package/dist/web/assets/GatewayConvertDrawer-BvYhzJD6.js +1 -0
  17. package/dist/web/assets/Home-BOwk4kTa.js +1 -0
  18. package/dist/web/assets/MarkdownEditor-Bf9QKKaV.js +1 -0
  19. package/dist/web/assets/McpDrawer-B7cwI24B.js +1 -0
  20. package/dist/web/assets/McpFormDrawer-Djt5CJyE.js +1 -0
  21. package/dist/web/assets/PluginManager-B4J_hR0V.js +1 -0
  22. package/dist/web/assets/PluginsDrawer-Ch4x66-E.js +1 -0
  23. package/dist/web/assets/PluginsPanel-mqXBlKZg.js +1 -0
  24. package/dist/web/assets/ProjectList-DtmQyoPc.css +1 -0
  25. package/dist/web/assets/ProjectList-xToRgLVw.js +1 -0
  26. package/dist/web/assets/PromptsDrawer-VYrlk-F6.js +1 -0
  27. package/dist/web/assets/RecentSessionsDrawer-DCsgGSBu.js +1 -0
  28. package/dist/web/assets/SessionCard-C9n9lC_Y.css +1 -0
  29. package/dist/web/assets/SessionCard-DwzxeSe9.js +1 -0
  30. package/dist/web/assets/{SessionList-qG_XpPBJ.css → SessionList-CCuKp6ib.css} +1 -1
  31. package/dist/web/assets/SessionList-GqzUHgOu.js +1 -0
  32. package/dist/web/assets/SettingsDrawer-Q_aTOBhf.js +1 -0
  33. package/dist/web/assets/SkillManager-B1B58WKe.js +1 -0
  34. package/dist/web/assets/SkillsDrawer-Ch1b1hLn.js +1 -0
  35. package/dist/web/assets/SkillsPanel-B_xxyDpy.js +1 -0
  36. package/dist/web/assets/{Upload-xqorL26i.js → Upload-B6Kn1TvG.js} +1 -1
  37. package/dist/web/assets/WorkspaceDrawer-C3w-Z87U.js +1 -0
  38. package/dist/web/assets/WorkspaceManager-BFzjeEWh.js +1 -0
  39. package/dist/web/assets/WorkspacePanel-DkrwFSLs.js +1 -0
  40. package/dist/web/assets/_plugin-vue_export-helper-DyHLuIR4.js +1 -0
  41. package/dist/web/assets/{client-oU6RT-6I.js → client-B31QOzWk.js} +1 -1
  42. package/dist/web/assets/{dsh-agent-presets-DjJRVMT6.js → dsh-agent-presets-DopJnuAZ.js} +1 -1
  43. package/dist/web/assets/headers-nTUGmJee.js +1 -0
  44. package/dist/web/assets/{icons-B-AzZoeE.js → icons-C6KNTFqo.js} +1 -1
  45. package/dist/web/assets/index-BXWpib7P.js +2 -0
  46. package/dist/web/assets/{index-DjIuAtaS.css → index-CvL_fRpL.css} +1 -1
  47. package/dist/web/assets/light-DeIjG9s_.js +1 -0
  48. package/dist/web/assets/markdown-xLK9ekFg.js +1 -0
  49. package/dist/web/assets/platforms-BdTllxKt.js +1 -0
  50. package/dist/web/assets/{platforms-p9AiybLU.js → platforms-CDltfh5G.js} +1 -1
  51. package/dist/web/assets/{project-config-CzFKBw_m.js → project-config-C16yaWHF.js} +1 -1
  52. package/dist/web/assets/rolldown-runtime-DcNxTHDL.js +1 -0
  53. package/dist/web/assets/sessions-B4RD8wDx.js +1 -0
  54. package/dist/web/assets/{sessions-DJiJJgvg.js → sessions-Xl0HAvhA.js} +1 -1
  55. package/dist/web/assets/use-lock-html-scroll-Bu94jdUB.js +1 -0
  56. package/dist/web/assets/use-message-BYx0IRj1.js +1 -0
  57. package/dist/web/assets/useResponsiveDrawer-Deh7Xdcj.js +1 -0
  58. package/dist/web/assets/vendors-CvGw6U_t.js +1 -0
  59. package/dist/web/assets/vue-vendor-Cr_NLmXY.js +1 -0
  60. package/dist/web/assets/{workspaces-D2yLnT-B.js → workspaces-Y7hS24p2.js} +1 -1
  61. package/dist/web/assets/xml-B78loRzO.js +1 -0
  62. package/dist/web/index.html +13 -12
  63. package/package.json +3 -3
  64. package/src/config/model-metadata.json +30 -4
  65. package/src/platforms/drivers/dsh/api-operations.js +1 -1
  66. package/src/platforms/drivers/dsh/channels-implementation.js +10 -0
  67. package/src/platforms/drivers/dsh/channels.js +10 -0
  68. package/src/platforms/drivers/dsh/proxy-implementation.js +7 -1
  69. package/src/platforms/drivers/dsh/sessions.js +5 -1
  70. package/src/platforms/manifest-schema.js +1 -1
  71. package/src/platforms/manifests/dsh.json +8 -0
  72. package/src/server/services/model-detector.js +22 -3
  73. package/dist/web/assets/AgentsDrawer-CKEf8ie1.js +0 -1
  74. package/dist/web/assets/Analytics-0BCMxQ-o.js +0 -1
  75. package/dist/web/assets/AssetPathField-pfN6L814.js +0 -1
  76. package/dist/web/assets/ChatHistoryDrawer-nuUPRqje.js +0 -1
  77. package/dist/web/assets/CollapseItem-B2SdqQp2.js +0 -1
  78. package/dist/web/assets/CommandsDrawer-D8m0qLzQ.js +0 -1
  79. package/dist/web/assets/ConfigExportDrawer-BlCBLdue.js +0 -1
  80. package/dist/web/assets/ConfigTemplates-CePBARK8.js +0 -1
  81. package/dist/web/assets/ConfigTemplatesDrawer-DbVY4rD1.js +0 -1
  82. package/dist/web/assets/ConfigTemplatesPanel-CwYPLEFV.js +0 -1
  83. package/dist/web/assets/Divider-BLLhMTSt.js +0 -1
  84. package/dist/web/assets/DrawerContent-ChXgZ1Xm.js +0 -1
  85. package/dist/web/assets/FavoritesDrawer-BKAKQNqP.js +0 -1
  86. package/dist/web/assets/GatewayConvertDrawer-D2MFXcqS.js +0 -1
  87. package/dist/web/assets/Home-BmElvXVZ.js +0 -1
  88. package/dist/web/assets/MarkdownEditor-buNC2iDj.js +0 -1
  89. package/dist/web/assets/McpDrawer-NBjAyFU5.js +0 -1
  90. package/dist/web/assets/McpFormDrawer-BUnW9j4A.js +0 -1
  91. package/dist/web/assets/PluginManager-BgHpsF5S.js +0 -1
  92. package/dist/web/assets/PluginsDrawer-CFnmqzV0.js +0 -1
  93. package/dist/web/assets/PluginsPanel-ClSdnSCu.js +0 -1
  94. package/dist/web/assets/ProjectList-CjlHEyU1.js +0 -1
  95. package/dist/web/assets/ProjectList-VbIYSHbH.css +0 -1
  96. package/dist/web/assets/PromptsDrawer-xeSGgpCd.js +0 -1
  97. package/dist/web/assets/RecentSessionsDrawer-DELB6-rU.js +0 -1
  98. package/dist/web/assets/SessionCard-BaH42eOe.js +0 -1
  99. package/dist/web/assets/SessionCard-aM2NHu6i.css +0 -1
  100. package/dist/web/assets/SessionList-BGB9GwYE.js +0 -1
  101. package/dist/web/assets/SettingsDrawer-DdYC8GIa.js +0 -1
  102. package/dist/web/assets/SkillManager-CF7EiSps.js +0 -1
  103. package/dist/web/assets/SkillsDrawer-Bc5zA1bk.js +0 -1
  104. package/dist/web/assets/SkillsPanel-SnzwzqW5.js +0 -1
  105. package/dist/web/assets/WorkspaceDrawer-DBiEnZ7j.js +0 -1
  106. package/dist/web/assets/WorkspaceManager-C1dNfoAy.js +0 -1
  107. package/dist/web/assets/WorkspacePanel-CWNQZjm1.js +0 -1
  108. package/dist/web/assets/_plugin-vue_export-helper-BeLZJZij.js +0 -1
  109. package/dist/web/assets/headers-DbowkmZJ.js +0 -1
  110. package/dist/web/assets/index-BKpL4XdU.js +0 -2
  111. package/dist/web/assets/light-C2X7hegj.js +0 -1
  112. package/dist/web/assets/markdown-u082bbtj.js +0 -1
  113. package/dist/web/assets/platforms-Cq6XDXfy.js +0 -1
  114. package/dist/web/assets/sessions-DSLpMXCq.js +0 -1
  115. package/dist/web/assets/use-lock-html-scroll-DXIqmUW4.js +0 -1
  116. package/dist/web/assets/use-message-DBsCm7FJ.js +0 -1
  117. package/dist/web/assets/useResponsiveDrawer-CTQPBATk.js +0 -1
  118. package/dist/web/assets/vendors-D0c_0KLP.js +0 -1
  119. package/dist/web/assets/vue-vendor-BqZbbXHA.js +0 -1
  120. package/dist/web/assets/xml-CgY3RMlX.js +0 -1
@@ -0,0 +1 @@
1
+ import{A as e,B as t,D as o,F as r,G as n,I as i,L as a,M as l,N as s,P as c,Q as u,R as d,V as f,Z as h,_ as p,b as v,dt as b,g as m,h as g,j as y,l as x,lt as C,ot as w,q as S,st as $,u as F,z}from"./vue-vendor-Cr_NLmXY.js";var P=/\s*,(?![^(]*\))\s*/g,E=/\s+/g;function T(e){let t=[""];return e.forEach(e=>{(e=e&&e.trim())&&(t=e.includes("&")?function(e,t){const o=[];return t.split(P).forEach(t=>{let r=function(e){let t=0;for(let o=0;o<e.length;++o)"&"===e[o]&&++t;return t}(t);if(!r)return void e.forEach(e=>{o.push((e&&e+" ")+t)});if(1===r)return void e.forEach(e=>{o.push(t.replace("&",e))});let n=[t];for(;r--;){const t=[];n.forEach(o=>{e.forEach(e=>{t.push(o.replace("&",e))})}),n=t}n.forEach(e=>o.push(e))}),o}(t,e):function(e,t){const o=[];return t.split(P).forEach(t=>{e.forEach(e=>{o.push((e&&e+" ")+t)})}),o}(t,e))}),t.join(", ").replace(E," ")}function B(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function k(e,t){return(null!=t?t:document.head).querySelector(`style[cssr-id="${e}"]`)}function D(e){return!!e&&/^\s*@(s|m)/.test(e)}var M=/[A-Z]/g;function _(e){return e.replace(M,e=>"-"+e.toLowerCase())}function R(e,t,o,r){if(!t)return"";const n=function(e,t,o){return"function"==typeof e?e({context:t.context,props:o}):e}(t,o,r);if(!n)return"";if("string"==typeof n)return`${e} {\n${n}\n}`;const i=Object.keys(n);if(0===i.length)return o.config.keepEmptyBlock?e+" {\n}":"";const a=e?[e+" {"]:[];return i.forEach(e=>{const t=n[e];"raw"!==e?(e=_(e),null!=t&&a.push(` ${e}${function(e,t=" "){return"object"==typeof e&&null!==e?" {\n"+Object.entries(e).map(e=>t+` ${_(e[0])}: ${e[1]};`).join("\n")+"\n"+t+"}":`: ${e};`}(t)}`)):a.push("\n"+t+"\n")}),e&&a.push("}"),a.join("\n")}function A(e,t,o){e&&e.forEach(e=>{if(Array.isArray(e))A(e,t,o);else if("function"==typeof e){const r=e(t);Array.isArray(r)?A(r,t,o):r&&o(r)}else e&&o(e)})}function I(e,t,o,r,n){const i=e.$;let a="";if(i&&"string"!=typeof i)if("function"==typeof i){const e=i({context:r.context,props:n});D(e)?a=e:t.push(e)}else if(i.before&&i.before(r.context),i.$&&"string"!=typeof i.$){if(i.$){const e=i.$({context:r.context,props:n});D(e)?a=e:t.push(e)}}else D(i.$)?a=i.$:t.push(i.$);else D(i)?a=i:t.push(i);const l=T(t),s=R(l,e.props,r,n);a?o.push(`${a} {`):s.length&&o.push(s),e.children&&A(e.children,{context:r.context,props:n},e=>{if("string"==typeof e){const t=R(l,{raw:e},r,n);o.push(t)}else I(e,t,o,r,n)}),t.pop(),a&&o.push("}"),i&&i.after&&i.after(r.context)}function O(e){for(var t,o=0,r=0,n=e.length;n>=4;++r,n-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),o=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&o)+(59797*(o>>>16)<<16);switch(n){case 3:o^=(255&e.charCodeAt(r+2))<<16;case 2:o^=(255&e.charCodeAt(r+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(r)))+(59797*(o>>>16)<<16)}return(((o=1540483477*(65535&(o^=o>>>13))+(59797*(o>>>16)<<16))^o>>>15)>>>0).toString(36)}function H(e,t){e.push(t)}function j(e,t,o,r,n,i,a,l,s){let c;if(void 0===o&&(c=t.render(r),o=O(c)),s)return void s.adapter(o,null!=c?c:t.render(r));void 0===l&&(l=document.head);const u=k(o,l);if(null!==u&&!i)return u;const d=null!=u?u:function(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}(o);if(void 0===c&&(c=t.render(r)),d.textContent=c,null!==u)return u;if(a){const e=l.querySelector(`meta[name="${a}"]`);if(e)return l.insertBefore(d,e),H(t.els,d),d}return n?l.insertBefore(d,l.querySelector("style, link")):l.appendChild(d),H(t.els,d),d}function W(e){return function(e,t,o){const r=[];return I(e,[],r,t,o),r.join("\n\n")}(this,this.instance,e)}function L(e={}){const{id:t,ssr:o,props:r,head:n=!1,force:i=!1,anchorMetaName:a,parent:l}=e;return j(this.instance,this,t,r,n,i,a,l,o)}function N(e={}){const{id:t,parent:o}=e;!function(e,t,o,r){const{els:n}=t;if(void 0===o)n.forEach(B),t.els=[];else{const e=k(o,r);e&&n.includes(e)&&(B(e),t.els=n.filter(t=>t!==e))}}(this.instance,this,t,o)}"undefined"!=typeof window&&(window.__cssrContext={});var q=function(e,t,o,r){return{instance:e,$:t,props:o,children:r,els:[],render:W,mount:L,unmount:N}};function G(e={}){const t={c:(...e)=>function(e,t,o,r){return Array.isArray(t)?q(e,{$:null},null,t):Array.isArray(o)?q(e,t,null,o):Array.isArray(r)?q(e,t,o,r):q(e,t,o,null)}(t,...e),use:(e,...o)=>e.install(t,...o),find:k,context:{},config:e};return t}var V=G(),X=function(e){let t,o=".",r="__",n="--";if(e){let t=e.blockPrefix;t&&(o=t),t=e.elementPrefix,t&&(r=t),t=e.modifierPrefix,t&&(n=t)}const i={install(e){t=e.c;const o=e.context;o.bem={},o.bem.b=null,o.bem.els=null}};return Object.assign(i,{cB:(...e)=>t(function(e){let t,r;return{before(e){t=e.bem.b,r=e.bem.els,e.bem.els=null},after(e){e.bem.b=t,e.bem.els=r},$:({context:t,props:r})=>(e="string"==typeof e?e:e({context:t,props:r}),t.bem.b=e,`${(null==r?void 0:r.bPrefix)||o}${t.bem.b}`)}}(e[0]),e[1],e[2]),cE:(...e)=>t(function(e){let t;return{before(e){t=e.bem.els},after(e){e.bem.els=t},$:({context:t,props:n})=>(e="string"==typeof e?e:e({context:t,props:n}),t.bem.els=e.split(",").map(e=>e.trim()),t.bem.els.map(e=>`${(null==n?void 0:n.bPrefix)||o}${t.bem.b}${r}${e}`).join(", "))}}(e[0]),e[1],e[2]),cM:(...e)=>{return t((i=e[0],{$({context:e,props:t}){const a=(i="string"==typeof i?i:i({context:e,props:t})).split(",").map(e=>e.trim());function l(i){return a.map(a=>`&${(null==t?void 0:t.bPrefix)||o}${e.bem.b}${void 0!==i?`${r}${i}`:""}${n}${a}`).join(", ")}const s=e.bem.els;return null!==s?l(s[0]):l()}}),e[1],e[2]);var i},cNotM:(...e)=>{return t((i=e[0],{$({context:e,props:t}){i="string"==typeof i?i:i({context:e,props:t});const a=e.bem.els;return`&:not(${(null==t?void 0:t.bPrefix)||o}${e.bem.b}${null!==a&&a.length>0?`${r}${a[0]}`:""}${n}${i})`}}),e[1],e[2]);var i}}),i}({blockPrefix:".n-",elementPrefix:"__",modifierPrefix:"--"});V.use(X);var{c:U,find:Y}=V,{cB:Z,cE:Q,cM:J,cNotM:K}=X;function ee(e){return U(({props:{bPrefix:e}})=>`${e||".n-"}modal, ${e||".n-"}drawer`,[e])}function te(e){return U(({props:{bPrefix:e}})=>`${e||".n-"}popover`,[e])}function oe(e){return U(({props:{bPrefix:e}})=>`&${e||".n-"}modal`,e)}var re=(...e)=>U(">",[Z(...e)]);function ne(e,t){return e+("default"===t?"":t.replace(/^[a-z]/,e=>e.toUpperCase()))}function ie(e){return e.composedPath()[0]||null}function ae(e){return"string"==typeof e?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function le(e){if(null!=e)return"number"==typeof e?`${e}px`:e.endsWith("px")?e:`${e}px`}function se(e,t){const o=e.trim().split(/\s+/g),r={top:o[0]};switch(o.length){case 1:r.right=o[0],r.bottom=o[0],r.left=o[0];break;case 2:r.right=o[1],r.left=o[1],r.bottom=o[0];break;case 3:r.right=o[1],r.bottom=o[2],r.left=o[1];break;case 4:r.right=o[1],r.bottom=o[2],r.left=o[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return void 0===t?r:r[t]}function ce(e,t){const[o,r]=e.split(" ");return t?"row"===t?o:r:{row:o,col:r||o}}var ue={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#0FF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000",blanchedalmond:"#FFEBCD",blue:"#00F",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#0FF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#F0F",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#0F0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#F0F",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#F00",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFF",whitesmoke:"#F5F5F5",yellow:"#FF0",yellowgreen:"#9ACD32",transparent:"#0000"};function de(e,t,o){t/=100,o/=100;let r=(r,n=(r+e/60)%6)=>o-o*t*Math.max(Math.min(n,4-n,1),0);return[255*r(5),255*r(3),255*r(1)]}function fe(e,t,o){o/=100;let r=(t/=100)*Math.min(o,1-o),n=(t,n=(t+e/30)%12)=>o-r*Math.max(Math.min(n-3,9-n,1),-1);return[255*n(0),255*n(8),255*n(4)]}var he="^\\s*",pe="\\s*$",ve="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",be="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",me="([0-9A-Fa-f])",ge="([0-9A-Fa-f]{2})",ye=new RegExp(`${he}hsl\\s*\\(${be},${ve},${ve}\\)${pe}`),xe=new RegExp(`${he}hsv\\s*\\(${be},${ve},${ve}\\)${pe}`),Ce=new RegExp(`${he}hsla\\s*\\(${be},${ve},${ve},${be}\\)${pe}`),we=new RegExp(`${he}hsva\\s*\\(${be},${ve},${ve},${be}\\)${pe}`),Se=new RegExp(`${he}rgb\\s*\\(${be},${be},${be}\\)${pe}`),$e=new RegExp(`${he}rgba\\s*\\(${be},${be},${be},${be}\\)${pe}`),Fe=new RegExp(`${he}#${me}${me}${me}${pe}`),ze=new RegExp(`${he}#${ge}${ge}${ge}${pe}`),Pe=new RegExp(`${he}#${me}${me}${me}${me}${pe}`),Ee=new RegExp(`${he}#${ge}${ge}${ge}${ge}${pe}`);function Te(e){return parseInt(e,16)}function Be(e){try{let t;if(t=ze.exec(e))return[Te(t[1]),Te(t[2]),Te(t[3]),1];if(t=Se.exec(e))return[Oe(t[1]),Oe(t[5]),Oe(t[9]),1];if(t=$e.exec(e))return[Oe(t[1]),Oe(t[5]),Oe(t[9]),Ae(t[13])];if(t=Fe.exec(e))return[Te(t[1]+t[1]),Te(t[2]+t[2]),Te(t[3]+t[3]),1];if(t=Ee.exec(e))return[Te(t[1]),Te(t[2]),Te(t[3]),Ae(Te(t[4])/255)];if(t=Pe.exec(e))return[Te(t[1]+t[1]),Te(t[2]+t[2]),Te(t[3]+t[3]),Ae(Te(t[4]+t[4])/255)];if(e in ue)return Be(ue[e]);if(ye.test(e)||Ce.test(e)){const[t,o,r,n]=function(e){try{let t;if(t=Ce.exec(e))return[Ie(t[1]),He(t[5]),He(t[9]),Ae(t[13])];if(t=ye.exec(e))return[Ie(t[1]),He(t[5]),He(t[9]),1];throw new Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(t){throw t}}(e);return[...fe(t,o,r),n]}if(xe.test(e)||we.test(e)){const[t,o,r,n]=function(e){try{let t;if(t=we.exec(e))return[Ie(t[1]),He(t[5]),He(t[9]),Ae(t[13])];if(t=xe.exec(e))return[Ie(t[1]),He(t[5]),He(t[9]),1];throw new Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(t){throw t}}(e);return[...de(t,o,r),n]}throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function ke(e,t,o,r){return`rgba(${Oe(e)}, ${Oe(t)}, ${Oe(o)}, ${n=r,n>1?1:n<0?0:n})`;var n}function De(e,t,o,r,n){return Oe((e*t*(1-r)+o*r)/n)}function Me(e,t){Array.isArray(e)||(e=Be(e)),Array.isArray(t)||(t=Be(t));const o=e[3],r=t[3],n=Ae(o+r-o*r);return ke(De(e[0],o,t[0],r,n),De(e[1],o,t[1],r,n),De(e[2],o,t[2],r,n),n)}function _e(e,t){const[o,r,n,i=1]=Array.isArray(e)?e:Be(e);return"number"==typeof t.alpha?ke(o,r,n,t.alpha):ke(o,r,n,i)}function Re(e,t){const[o,r,n,i=1]=Array.isArray(e)?e:Be(e),{lightness:a=1,alpha:l=1}=t;return function(e){const[t,o,r]=e;return 3 in e?`rgba(${Oe(t)}, ${Oe(o)}, ${Oe(r)}, ${Ae(e[3])})`:`rgba(${Oe(t)}, ${Oe(o)}, ${Oe(r)}, 1)`}([o*a,r*a,n*a,i*l])}function Ae(e){const t=Math.round(100*Number(e))/100;return t>1?1:t<0?0:t}function Ie(e){const t=Math.round(Number(e));return t>=360||t<0?0:t}function Oe(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function He(e){const t=Math.round(Number(e));return t>100?100:t<0?0:t}function je(e=8){return Math.random().toString(16).slice(2,2+e)}function We(e,t){const o=[];for(let r=0;r<e;++r)o.push(t);return o}function Le(e){return e.composedPath()[0]}var Ne={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function qe(e,t,o){const r=Ne[e];let n=r.get(t);void 0===n&&r.set(t,n=new WeakMap);let i=n.get(o);return void 0===i&&n.set(o,i=function(e,t,o){if("mousemoveoutside"===e){const e=e=>{t.contains(Le(e))||o(e)};return{mousemove:e,touchstart:e}}if("clickoutside"===e){let e=!1;const r=o=>{e=!t.contains(Le(o))},n=r=>{e&&(t.contains(Le(r))||o(r))};return{mousedown:r,mouseup:n,touchstart:r,touchend:n}}return{}}(e,t,o)),i}function Ge(e,t,o,r){if("mousemoveoutside"===e||"clickoutside"===e){const n=qe(e,t,o);return Object.keys(n).forEach(e=>{Xe(e,document,n[e],r)}),!0}return!1}function Ve(e,t,o,r){if("mousemoveoutside"===e||"clickoutside"===e){const n=qe(e,t,o);return Object.keys(n).forEach(e=>{Ue(e,document,n[e],r)}),!0}return!1}var{on:Xe,off:Ue}=function(){if("undefined"==typeof window)return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function o(){e.set(this,!0)}function r(){e.set(this,!0),t.set(this,!0)}function n(e,t,o){const r=e[t];return e[t]=function(){return o.apply(e,arguments),r.apply(e,arguments)},e}function i(e,t){e[t]=Event.prototype[t]}const a=new WeakMap,l=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function s(){var e;return null!==(e=a.get(this))&&void 0!==e?e:null}function c(e,t){void 0!==l&&Object.defineProperty(e,"currentTarget",{configurable:!0,enumerable:!0,get:null!=t?t:l.get})}const u={bubble:{},capture:{}},d={},f=function(){const l=function(l){const{type:d,eventPhase:f,bubbles:h}=l,p=Le(l);if(2===f)return;const v=1===f?"capture":"bubble";let b=p;const m=[];for(;null===b&&(b=window),m.push(b),b!==window;)b=b.parentNode||null;const g=u.capture[d],y=u.bubble[d];if(n(l,"stopPropagation",o),n(l,"stopImmediatePropagation",r),c(l,s),"capture"===v){if(void 0===g)return;for(let o=m.length-1;o>=0&&!e.has(l);--o){const e=m[o],r=g.get(e);if(void 0!==r){a.set(l,e);for(const e of r){if(t.has(l))break;e(l)}}if(0===o&&!h&&void 0!==y){const o=y.get(e);if(void 0!==o)for(const e of o){if(t.has(l))break;e(l)}}}}else if("bubble"===v){if(void 0===y)return;for(let o=0;o<m.length&&!e.has(l);++o){const e=m[o],r=y.get(e);if(void 0!==r){a.set(l,e);for(const e of r){if(t.has(l))break;e(l)}}}}i(l,"stopPropagation"),i(l,"stopImmediatePropagation"),c(l)};return l.displayName="evtdUnifiedHandler",l}(),h=function(){const e=function(e){const{type:t,eventPhase:o}=e;if(2!==o)return;const r=d[t];void 0!==r&&r.forEach(t=>t(e))};return e.displayName="evtdUnifiedWindowEventHandler",e}();function p(e,t){const o=u[e];return void 0===o[t]&&(o[t]=new Map,window.addEventListener(t,f,"capture"===e)),o[t]}function v(e,t){let o=e.get(t);return void 0===o&&e.set(t,o=new Set),o}function b(e,t,o,r){if(Ve(e,t,o,r))return;const n=!0===r||"object"==typeof r&&!0===r.capture,i=n?"capture":"bubble",a=p(i,e),l=v(a,t);if(t===window&&!function(e,t,o,r){const n=u[t][o];if(void 0!==n){const t=n.get(e);if(void 0!==t&&t.has(r))return!0}return!1}(t,n?"bubble":"capture",e,o)&&function(e,t){const o=d[e];return!(void 0===o||!o.has(t))}(e,o)){const t=d[e];t.delete(o),0===t.size&&(window.removeEventListener(e,h),d[e]=void 0)}l.has(o)&&l.delete(o),0===l.size&&a.delete(t),0===a.size&&(window.removeEventListener(e,f,"capture"===i),u[i][e]=void 0)}return{on:function(e,t,o,r){let n;if(n="object"==typeof r&&!0===r.once?i=>{b(e,t,n,r),o(i)}:o,Ge(e,t,n,r))return;const i=v(p(!0===r||"object"==typeof r&&!0===r.capture?"capture":"bubble",e),t);if(i.has(n)||i.add(n),t===window){const t=function(e){return void 0===d[e]&&(d[e]=new Set,window.addEventListener(e,h)),d[e]}(e);t.has(n)||t.add(n)}},off:b}}();function Ye(e){const t=$(!!e.value);if(t.value)return w(t);const o=h(e,e=>{e&&(t.value=!0,o())});return w(t)}function Ze(e){const t=v(e),o=$(t.value);return h(t,e=>{o.value=e}),"function"==typeof e?o:{__v_isRef:!0,get value(){return o.value},set value(t){e.set(t)}}}function Qe(e,t){return h(e,e=>{void 0!==e&&(t.value=e)}),v(()=>void 0===e.value?t.value:e.value)}function Je(){const e=$(!1);return f(()=>{e.value=!0}),w(e)}function Ke(e,t){return v(()=>{for(const o of t)if(void 0!==e[o])return e[o];return e[t[t.length-1]]})}var et="undefined"!=typeof window&&(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream;function tt(){return et}function ot(e){return e}var rt="n-drawer-body",nt="n-drawer",it="n-modal-body",at="n-modal-provider",lt="n-modal",st="n-popover-body",ct="undefined"!=typeof document&&"undefined"!=typeof window;function ut(e,t,o="default"){const r=t[o];if(void 0===r)throw new Error(`[vueuc/${e}]: slot[${o}] is empty.`);return r()}function dt(e,t=!0,r=[]){return e.forEach(e=>{if(null!==e)if("object"==typeof e)if(Array.isArray(e))dt(e,t,r);else if(e.type===m){if(null===e.children)return;Array.isArray(e.children)&&dt(e.children,t,r)}else e.type!==g&&r.push(e);else"string"!=typeof e&&"number"!=typeof e||r.push(o(String(e)))}),r}function ft(e,t,o="default"){const r=t[o];if(void 0===r)throw new Error(`[vueuc/${e}]: slot[${o}] is empty.`);const n=dt(r());if(1===n.length)return n[0];throw new Error(`[vueuc/${e}]: slot[${o}] should have exactly one child.`)}var ht="@@coContext",pt={mounted(e,{value:t,modifiers:o}){e[ht]={handler:void 0},"function"==typeof t&&(e[ht].handler=t,Xe("clickoutside",e,t,{capture:o.capture}))},updated(e,{value:t,modifiers:o}){const r=e[ht];"function"==typeof t?r.handler?r.handler!==t&&(Ue("clickoutside",e,r.handler,{capture:o.capture}),r.handler=t,Xe("clickoutside",e,t,{capture:o.capture})):(e[ht].handler=t,Xe("clickoutside",e,t,{capture:o.capture})):r.handler&&(Ue("clickoutside",e,r.handler,{capture:o.capture}),r.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:o}=e[ht];o&&Ue("clickoutside",e,o,{capture:t.capture}),e[ht].handler=void 0}};var vt=new class{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(e,t){const{elementZIndex:o}=this;if(void 0!==t)return e.style.zIndex=`${t}`,void o.delete(e);const{nextZIndex:r}=this;o.has(e)&&o.get(e)+1===this.nextZIndex||(e.style.zIndex=`${r}`,o.set(e,r),this.nextZIndex=r+1,this.squashState())}unregister(e,t){const{elementZIndex:o}=this;o.has(e)&&o.delete(e),this.squashState()}squashState(){const{elementCount:e}=this;e||(this.nextZIndex=2e3),this.nextZIndex-e>2500&&this.rearrange()}rearrange(){const e=Array.from(this.elementZIndex.entries());e.sort((e,t)=>e[1]-t[1]),this.nextZIndex=2e3,e.forEach(e=>{const t=e[0],o=this.nextZIndex++;`${o}`!==t.style.zIndex&&(t.style.zIndex=`${o}`)})}},bt="@@ziContext",mt={mounted(e,t){const{value:o={}}=t,{zIndex:r,enabled:n}=o;e[bt]={enabled:!!n,initialized:!1},n&&(vt.ensureZIndex(e,r),e[bt].initialized=!0)},updated(e,t){const{value:o={}}=t,{zIndex:r,enabled:n}=o,i=e[bt].enabled;n&&!i&&(vt.ensureZIndex(e,r),e[bt].initialized=!0),e[bt].enabled=!!n},unmounted(e,t){if(!e[bt].initialized)return;const{value:o={}}=t,{zIndex:r}=o;vt.unregister(e,r)}};var gt="undefined"!=typeof document;function yt(){if(gt)return;const e=s("@css-render/vue3-ssr",null);return null!==e?{adapter:(t,o)=>function(e,t,o){const{styles:r,ids:n}=o;n.has(e)||null!==r&&(n.add(e),r.push(function(e,t){return`<style cssr-id="${e}">\n${t}\n</style>`}(e,t)))}(t,o,e),context:e}:void 0}function xt(e){return"string"==typeof e?document.querySelector(e):e()||null}var Ct,wt=e({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup:e=>({showTeleport:Ye(b(e,"show")),mergedTo:v(()=>{const{to:t}=e;return null!=t?t:"body"})}),render(){return this.showTeleport?this.disabled?ut("lazy-teleport",this.$slots):l(p,{disabled:this.disabled,to:this.mergedTo},ut("lazy-teleport",this.$slots)):null}}),St=[],$t=function(){return St.some(function(e){return e.activeTargets.length>0})},Ft="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Ct||(Ct={}));var zt,Pt=function(e){return Object.freeze(e)},Et=function(e,t){this.inlineSize=e,this.blockSize=t,Pt(this)},Tt=function(){function e(e,t,o,r){return this.x=e,this.y=t,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Pt(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Bt=function(e){return e instanceof SVGElement&&"getBBox"in e},kt=function(e){if(Bt(e)){var t=e.getBBox(),o=t.width,r=t.height;return!o&&!r}var n=e,i=n.offsetWidth,a=n.offsetHeight;return!(i||a||e.getClientRects().length)},Dt=function(e){var t;if(e instanceof Element)return!0;var o=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},Mt="undefined"!=typeof window?window:{},_t=new WeakMap,Rt=/auto|scroll/,At=/^tb|vertical/,It=/msie|trident/i.test(Mt.navigator&&Mt.navigator.userAgent),Ot=function(e){return parseFloat(e||"0")},Ht=function(e,t,o){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===o&&(o=!1),new Et((o?t:e)||0,(o?e:t)||0)},jt=Pt({devicePixelContentBoxSize:Ht(),borderBoxSize:Ht(),contentBoxSize:Ht(),contentRect:new Tt(0,0,0,0)}),Wt=function(e,t){if(void 0===t&&(t=!1),_t.has(e)&&!t)return _t.get(e);if(kt(e))return _t.set(e,jt),jt;var o=getComputedStyle(e),r=Bt(e)&&e.ownerSVGElement&&e.getBBox(),n=!It&&"border-box"===o.boxSizing,i=At.test(o.writingMode||""),a=!r&&Rt.test(o.overflowY||""),l=!r&&Rt.test(o.overflowX||""),s=r?0:Ot(o.paddingTop),c=r?0:Ot(o.paddingRight),u=r?0:Ot(o.paddingBottom),d=r?0:Ot(o.paddingLeft),f=r?0:Ot(o.borderTopWidth),h=r?0:Ot(o.borderRightWidth),p=r?0:Ot(o.borderBottomWidth),v=d+c,b=s+u,m=(r?0:Ot(o.borderLeftWidth))+h,g=f+p,y=l?e.offsetHeight-g-e.clientHeight:0,x=a?e.offsetWidth-m-e.clientWidth:0,C=n?v+m:0,w=n?b+g:0,S=r?r.width:Ot(o.width)-C-x,$=r?r.height:Ot(o.height)-w-y,F=S+v+x+m,z=$+b+y+g,P=Pt({devicePixelContentBoxSize:Ht(Math.round(S*devicePixelRatio),Math.round($*devicePixelRatio),i),borderBoxSize:Ht(F,z,i),contentBoxSize:Ht(S,$,i),contentRect:new Tt(d,s,S,$)});return _t.set(e,P),P},Lt=function(e,t,o){var r=Wt(e,o),n=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Ct.DEVICE_PIXEL_CONTENT_BOX:return a;case Ct.BORDER_BOX:return n;default:return i}},Nt=function(e){var t=Wt(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=Pt([t.borderBoxSize]),this.contentBoxSize=Pt([t.contentBoxSize]),this.devicePixelContentBoxSize=Pt([t.devicePixelContentBoxSize])},qt=function(e){if(kt(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Gt=function(){var e=1/0,t=[];St.forEach(function(o){if(0!==o.activeTargets.length){var r=[];o.activeTargets.forEach(function(t){var o=new Nt(t.target),n=qt(t.target);r.push(o),t.lastReportedSize=Lt(t.target,t.observedBox),n<e&&(e=n)}),t.push(function(){o.callback.call(o.observer,r,o.observer)}),o.activeTargets.splice(0,o.activeTargets.length)}});for(var o=0,r=t;o<r.length;o++){(0,r[o])()}return e},Vt=function(e){St.forEach(function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach(function(o){o.isActive()&&(qt(o.target)>e?t.activeTargets.push(o):t.skippedTargets.push(o))})})},Xt=function(){var e,t=0;for(Vt(t);$t();)t=Gt(),Vt(t);return St.some(function(e){return e.skippedTargets.length>0})&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:Ft}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=Ft),window.dispatchEvent(e)),t>0},Ut=[],Yt=function(e){if(!zt){var t=0,o=document.createTextNode("");new MutationObserver(function(){return Ut.splice(0).forEach(function(e){return e()})}).observe(o,{characterData:!0}),zt=function(){o.textContent="".concat(t?t--:t++)}}Ut.push(e),zt()},Zt=0,Qt={attributes:!0,characterData:!0,childList:!0,subtree:!0},Jt=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Kt=function(e){return void 0===e&&(e=0),Date.now()+e},eo=!1,to=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!eo){eo=!0;var o,r=Kt(e);o=function(){var o=!1;try{o=Xt()}finally{if(eo=!1,e=r-Kt(),!Zt)return;o?t.run(1e3):e>0?t.run(e):t.start()}},Yt(function(){requestAnimationFrame(o)})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,Qt)};document.body?t():Mt.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Jt.forEach(function(t){return Mt.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Jt.forEach(function(t){return Mt.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),oo=function(e){!Zt&&e>0&&to.start(),!(Zt+=e)&&to.stop()},ro=function(){function e(e,t){this.target=e,this.observedBox=t||Ct.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Lt(this.target,this.observedBox,!0);return e=this.target,Bt(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),no=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},io=new WeakMap,ao=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},lo=function(){function e(){}return e.connect=function(e,t){var o=new no(e,t);io.set(e,o)},e.observe=function(e,t,o){var r=io.get(e),n=0===r.observationTargets.length;ao(r.observationTargets,t)<0&&(n&&St.push(r),r.observationTargets.push(new ro(t,o&&o.box)),oo(1),to.schedule())},e.unobserve=function(e,t){var o=io.get(e),r=ao(o.observationTargets,t),n=1===o.observationTargets.length;r>=0&&(n&&St.splice(St.indexOf(o),1),o.observationTargets.splice(r,1),oo(-1))},e.disconnect=function(e){var t=this,o=io.get(e);o.observationTargets.slice().forEach(function(o){return t.unobserve(e,o.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),so=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");lo.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Dt(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");lo.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Dt(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");lo.unobserve(this,e)},e.prototype.disconnect=function(){lo.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),co=new class{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new("undefined"!=typeof window&&window.ResizeObserver||so)(this.handleResize),this.elHandlersMap=new Map}handleResize(e){for(const t of e){const e=this.elHandlersMap.get(t.target);void 0!==e&&e(t)}}registerHandler(e,t){this.elHandlersMap.set(e,t),this.observer.observe(e)}unregisterHandler(e){this.elHandlersMap.has(e)&&(this.elHandlersMap.delete(e),this.observer.unobserve(e))}},uo=e({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const o=y().proxy;function r(t){const{onResize:o}=e;void 0!==o&&o(t)}f(()=>{const e=o.$el;void 0!==e&&(e.nextElementSibling!==e.nextSibling&&3===e.nodeType&&""!==e.nodeValue||null!==e.nextElementSibling&&(co.registerHandler(e.nextElementSibling,r),t=!0))}),z(()=>{t&&co.unregisterHandler(o.$el.nextElementSibling)})},render(){return S(this.$slots,"default")}});function fo(e){return e instanceof HTMLElement}function ho(e){for(let t=0;t<e.childNodes.length;t++){const o=e.childNodes[t];if(fo(o)&&(vo(o)||ho(o)))return!0}return!1}function po(e){for(let t=e.childNodes.length-1;t>=0;t--){const o=e.childNodes[t];if(fo(o)&&(vo(o)||po(o)))return!0}return!1}function vo(e){if(!function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"SELECT":case"TEXTAREA":return!0;default:return!1}}(e))return!1;try{e.focus({preventScroll:!0})}catch(t){}return document.activeElement===e}var bo=[],mo=e({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:[String,Function],finalFocusTo:[String,Function],returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=je(),o=$(null),r=$(null);let n=!1,i=!1;const a="undefined"==typeof document?null:document.activeElement;function l(){return bo[bo.length-1]===t}function s(t){var o;"Escape"===t.code&&l()&&(null===(o=e.onEsc)||void 0===o||o.call(e,t))}function c(e){if(!i&&l()){const t=u();if(null===t)return;if(t.contains(ie(e)))return;p("first")}}function u(){const e=o.value;if(null===e)return null;let t=e;for(;!(t=t.nextSibling,null===t||t instanceof Element&&"DIV"===t.tagName););return t}function d(){var o;if(e.disabled)return;if(document.removeEventListener("focus",c,!0),bo=bo.filter(e=>e!==t),l())return;const{finalFocusTo:r}=e;void 0!==r?null===(o=xt(r))||void 0===o||o.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function p(t){if(l()&&e.active){const e=o.value,n=r.value;if(null!==e&&null!==n){const o=u();if(null==o||o===n)return i=!0,e.focus({preventScroll:!0}),void(i=!1);i=!0;const r="first"===t?ho(o):po(o);i=!1,r||(i=!0,e.focus({preventScroll:!0}),i=!1)}}}return f(()=>{h(()=>e.active,o=>{o?(!function(){var o;if(e.disabled)return;if(bo.push(t),e.autoFocus){const{initialFocusTo:t}=e;void 0===t?p("first"):null===(o=xt(t))||void 0===o||o.focus({preventScroll:!0})}n=!0,document.addEventListener("focus",c,!0)}(),Xe("keydown",document,s)):(Ue("keydown",document,s),n&&d())},{immediate:!0})}),z(()=>{Ue("keydown",document,s),n&&d()}),{focusableStartRef:o,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:function(e){if(i)return;const t=u();null!==t&&(null!==e.relatedTarget&&t.contains(e.relatedTarget)?p("last"):p("first"))},handleEndFocus:function(e){i||(null!==e.relatedTarget&&e.relatedTarget===o.value?p("last"):p("first"))}}},render(){const{default:e}=this.$slots;if(void 0===e)return null;if(this.disabled)return e();const{active:t,focusableStyle:o}=this;return l(m,null,[l("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:o,onFocus:this.handleStartFocus}),e(),l("div",{"aria-hidden":"true",style:o,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function go(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}var yo=/^(\d|\.)+$/,xo=/(\d|\.)+/;function Co(e,{c:t=1,offset:o=0,attachPx:r=!0}={}){if("number"==typeof e){const r=(e+o)*t;return 0===r?"0":`${r}px`}if("string"==typeof e){if(yo.test(e)){const n=(Number(e)+o)*t;return r?0===n?"0":`${n}px`:`${n}`}{const r=xo.exec(e);return r?e.replace(xo,String((Number(r[0])+o)*t)):e}}return e}function wo(e){const{left:t,right:o,top:r,bottom:n}=se(e);return`${r} ${t} ${n} ${o}`}var So=new WeakSet;function $o(e){So.add(e)}function Fo(e){return!So.has(e)}function zo(e,t){}function Po(e,t,o){}function Eo(e,t){throw new Error(`[naive/${e}]: ${t}`)}function To(e,...t){if(!Array.isArray(e))return e(...t);e.forEach(e=>To(e,...t))}function Bo(e){return e.some(e=>!c(e)||e.type!==g&&!(e.type===m&&!Bo(e.children)))?e:null}function ko(e,t){return e&&Bo(e())||t()}function Do(e,t,o){return e&&Bo(e(t))||o(t)}function Mo(e,t){return t(e&&Bo(e())||null)}function _o(e,t,o){return o(e&&Bo(e(t))||null)}function Ro(e){return!(e&&Bo(e()))}var Ao=e({render(){var e,t;return null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)}}),Io="n-config-provider";function Oo(e={},t={defaultBordered:!0}){const o=s(Io,null);return{inlineThemeDisabled:null==o?void 0:o.inlineThemeDisabled,mergedRtlRef:null==o?void 0:o.mergedRtlRef,mergedComponentPropsRef:null==o?void 0:o.mergedComponentPropsRef,mergedBreakpointsRef:null==o?void 0:o.mergedBreakpointsRef,mergedBorderedRef:v(()=>{var r,n;const{bordered:i}=e;return void 0!==i?i:null===(n=null!==(r=null==o?void 0:o.mergedBorderedRef.value)&&void 0!==r?r:t.defaultBordered)||void 0===n||n}),mergedClsPrefixRef:o?o.mergedClsPrefixRef:C("n"),namespaceRef:v(()=>null==o?void 0:o.mergedNamespaceRef.value)}}function Ho(e,t,o,r){o||Eo("useThemeClass","cssVarsRef is not passed");const n=s(Io,null),i=null==n?void 0:n.mergedThemeHashRef,a=null==n?void 0:n.styleMountTarget,l=$(""),c=yt();let d;const f=`__${e}`;return u(()=>{(()=>{let e=f;const n=t?t.value:void 0,s=null==i?void 0:i.value;s&&(e+=`-${s}`),n&&(e+=`-${n}`);const{themeOverrides:u,builtinThemeOverrides:h}=r;u&&(e+=`-${O(JSON.stringify(u))}`),h&&(e+=`-${O(JSON.stringify(h))}`),l.value=e,d=()=>{const t=o.value;let r="";for(const e in t)r+=`${e}: ${t[e]};`;U(`.${e}`,r).mount({id:e,ssr:c,parent:a}),d=void 0}})()}),{themeClass:l,onRender:()=>{null==d||d()}}}var jo="n-form-item";function Wo(e,{defaultSize:t="medium",mergedSize:o,mergedDisabled:r}={}){const i=s(jo,null);n(jo,null);const a=v(o?()=>o(i):()=>{const{size:o}=e;if(o)return o;if(i){const{mergedSize:e}=i;if(void 0!==e.value)return e.value}return t}),l=v(r?()=>r(i):()=>{const{disabled:t}=e;return void 0!==t?t:!!i&&i.disabled.value}),c=v(()=>{const{status:t}=e;return t||(null==i?void 0:i.mergedValidationStatus.value)});return z(()=>{i&&i.restoreValidation()}),{mergedSizeRef:a,mergedDisabledRef:l,mergedStatusRef:c,nTriggerFormBlur(){i&&i.handleContentBlur()},nTriggerFormChange(){i&&i.handleContentChange()},nTriggerFormFocus(){i&&i.handleContentFocus()},nTriggerFormInput(){i&&i.handleContentInput()}}}var Lo={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"},Heatmap:{less:"less",more:"more",monthFormat:"MMM",weekdayFormat:"eee"}};function No(e){return(t={})=>{const o=t.width?String(t.width):e.defaultWidth;return e.formats[o]||e.formats[e.defaultWidth]}}function qo(e){return(t,o)=>{let r;if("formatting"===(o?.context?String(o.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,n=o?.width?String(o.width):t;r=e.formattingValues[n]||e.formattingValues[t]}else{const t=e.defaultWidth,n=o?.width?String(o.width):e.defaultWidth;r=e.values[n]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function Go(e){return(t,o={})=>{const r=o.width,n=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(n);if(!i)return null;const a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let o=0;o<e.length;o++)if(t(e[o]))return o}(l,e=>e.test(a)):function(e,t){for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)&&t(e[o]))return o}(l,e=>e.test(a));let c;c=e.valueCallback?e.valueCallback(s):s,c=o.valueCallback?o.valueCallback(c):c;return{value:c,rest:t.slice(a.length)}}}var Vo,Xo={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Uo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Yo={ordinalNumber:(e,t)=>{const o=Number(e),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},era:qo({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:qo({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:qo({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:qo({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:qo({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},Zo={ordinalNumber:(Vo={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const o=e.match(Vo.matchPattern);if(!o)return null;const r=o[0],n=e.match(Vo.parsePattern);if(!n)return null;let i=Vo.valueCallback?Vo.valueCallback(n[0]):n[0];return i=t.valueCallback?t.valueCallback(i):i,{value:i,rest:e.slice(r.length)}}),era:Go({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Go({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:Go({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Go({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Go({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},Qo={code:"en-US",formatDistance:(e,t,o)=>{let r;const n=Xo[e];return r="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t.toString()),o?.addSuffix?o.comparison&&o.comparison>0?"in "+r:r+" ago":r},formatLong:{date:No({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:No({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:No({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},formatRelative:(e,t,o,r)=>Uo[e],localize:Yo,match:Zo,options:{weekStartsOn:0,firstWeekContainsDate:1}},Jo={name:"en-US",locale:Qo},Ko="object"==typeof global&&global&&global.Object===Object&&global,er="object"==typeof self&&self&&self.Object===Object&&self,tr=Ko||er||Function("return this")(),or=tr.Symbol,rr=Object.prototype,nr=rr.hasOwnProperty,ir=rr.toString,ar=or?or.toStringTag:void 0;var lr=Object.prototype.toString;var sr=or?or.toStringTag:void 0;function cr(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":sr&&sr in Object(e)?function(e){var t=nr.call(e,ar),o=e[ar];try{e[ar]=void 0;var r=!0}catch(i){}var n=ir.call(e);return r&&(t?e[ar]=o:delete e[ar]),n}(e):function(e){return lr.call(e)}(e)}function ur(e){return null!=e&&"object"==typeof e}function dr(e){return"symbol"==typeof e||ur(e)&&"[object Symbol]"==cr(e)}function fr(e,t){for(var o=-1,r=null==e?0:e.length,n=Array(r);++o<r;)n[o]=t(e[o],o,e);return n}var hr=Array.isArray,pr=or?or.prototype:void 0,vr=pr?pr.toString:void 0;function br(e){if("string"==typeof e)return e;if(hr(e))return fr(e,br)+"";if(dr(e))return vr?vr.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function mr(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function gr(e){return e}function yr(e){if(!mr(e))return!1;var t=cr(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var xr,Cr=tr["__core-js_shared__"],wr=(xr=/[^.]+$/.exec(Cr&&Cr.keys&&Cr.keys.IE_PROTO||""))?"Symbol(src)_1."+xr:"";var Sr=Function.prototype.toString;function $r(e){if(null!=e){try{return Sr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Fr=/^\[object .+?Constructor\]$/,zr=Function.prototype,Pr=Object.prototype,Er=zr.toString,Tr=Pr.hasOwnProperty,Br=RegExp("^"+Er.call(Tr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kr(e){return!(!mr(e)||(t=e,wr&&wr in t))&&(yr(e)?Br:Fr).test($r(e));var t}function Dr(e,t){var o=function(e,t){return null==e?void 0:e[t]}(e,t);return kr(o)?o:void 0}var Mr=Object.create,_r=function(){function e(){}return function(t){if(!mr(t))return{};if(Mr)return Mr(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}();var Rr=Date.now;var Ar,Ir,Or,Hr=function(){try{var e=Dr(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),jr=Hr?function(e,t){return Hr(e,"toString",{configurable:!0,enumerable:!1,value:(o=t,function(){return o}),writable:!0});var o}:gr,Wr=(Ar=jr,Ir=0,Or=0,function(){var e=Rr(),t=16-(e-Or);if(Or=e,t>0){if(++Ir>=800)return arguments[0]}else Ir=0;return Ar.apply(void 0,arguments)}),Lr=/^(?:0|[1-9]\d*)$/;function Nr(e,t){var o=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==o||"symbol"!=o&&Lr.test(e))&&e>-1&&e%1==0&&e<t}function qr(e,t,o){"__proto__"==t&&Hr?Hr(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function Gr(e,t){return e===t||e!=e&&t!=t}var Vr=Object.prototype.hasOwnProperty;function Xr(e,t,o){var r=e[t];Vr.call(e,t)&&Gr(r,o)&&(void 0!==o||t in e)||qr(e,t,o)}var Ur=Math.max;function Yr(e,t){return Wr(function(e,t,o){return t=Ur(void 0===t?e.length-1:t,0),function(){for(var r=arguments,n=-1,i=Ur(r.length-t,0),a=Array(i);++n<i;)a[n]=r[t+n];n=-1;for(var l=Array(t+1);++n<t;)l[n]=r[n];return l[t]=o(a),function(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}(e,this,l)}}(e,t,gr),e+"")}function Zr(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Qr(e){return null!=e&&Zr(e.length)&&!yr(e)}var Jr=Object.prototype;function Kr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Jr)}function en(e){return ur(e)&&"[object Arguments]"==cr(e)}var tn=Object.prototype,on=tn.hasOwnProperty,rn=tn.propertyIsEnumerable,nn=en(function(){return arguments}())?en:function(e){return ur(e)&&on.call(e,"callee")&&!rn.call(e,"callee")};var an="object"==typeof exports&&exports&&!exports.nodeType&&exports,ln=an&&"object"==typeof module&&module&&!module.nodeType&&module,sn=ln&&ln.exports===an?tr.Buffer:void 0,cn=(sn?sn.isBuffer:void 0)||function(){return!1},un={};un["[object Float32Array]"]=un["[object Float64Array]"]=un["[object Int8Array]"]=un["[object Int16Array]"]=un["[object Int32Array]"]=un["[object Uint8Array]"]=un["[object Uint8ClampedArray]"]=un["[object Uint16Array]"]=un["[object Uint32Array]"]=!0,un["[object Arguments]"]=un["[object Array]"]=un["[object ArrayBuffer]"]=un["[object Boolean]"]=un["[object DataView]"]=un["[object Date]"]=un["[object Error]"]=un["[object Function]"]=un["[object Map]"]=un["[object Number]"]=un["[object Object]"]=un["[object RegExp]"]=un["[object Set]"]=un["[object String]"]=un["[object WeakMap]"]=!1;var dn="object"==typeof exports&&exports&&!exports.nodeType&&exports,fn=dn&&"object"==typeof module&&module&&!module.nodeType&&module,hn=fn&&fn.exports===dn&&Ko.process,pn=function(){try{var e=fn&&fn.require&&fn.require("util").types;return e||hn&&hn.binding&&hn.binding("util")}catch(t){}}(),vn=pn&&pn.isTypedArray,bn=vn?function(e){return function(t){return e(t)}}(vn):function(e){return ur(e)&&Zr(e.length)&&!!un[cr(e)]},mn=Object.prototype.hasOwnProperty;function gn(e,t){var o=hr(e),r=!o&&nn(e),n=!o&&!r&&cn(e),i=!o&&!r&&!n&&bn(e),a=o||r||n||i,l=a?function(e,t){for(var o=-1,r=Array(e);++o<e;)r[o]=t(o);return r}(e.length,String):[],s=l.length;for(var c in e)!t&&!mn.call(e,c)||a&&("length"==c||n&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Nr(c,s))||l.push(c);return l}function yn(e,t){return function(o){return e(t(o))}}var xn=Object.prototype.hasOwnProperty;function Cn(e){if(!mr(e))return function(e){var t=[];if(null!=e)for(var o in Object(e))t.push(o);return t}(e);var t=Kr(e),o=[];for(var r in e)("constructor"!=r||!t&&xn.call(e,r))&&o.push(r);return o}function wn(e){return Qr(e)?gn(e,!0):Cn(e)}var Sn=Dr(Object,"create");var $n=Object.prototype.hasOwnProperty;var Fn=Object.prototype.hasOwnProperty;function zn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}function Pn(e,t){for(var o=e.length;o--;)if(Gr(e[o][0],t))return o;return-1}zn.prototype.clear=function(){this.__data__=Sn?Sn(null):{},this.size=0},zn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},zn.prototype.get=function(e){var t=this.__data__;if(Sn){var o=t[e];return"__lodash_hash_undefined__"===o?void 0:o}return $n.call(t,e)?t[e]:void 0},zn.prototype.has=function(e){var t=this.__data__;return Sn?void 0!==t[e]:Fn.call(t,e)},zn.prototype.set=function(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Sn&&void 0===t?"__lodash_hash_undefined__":t,this};var En=Array.prototype.splice;function Tn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}Tn.prototype.clear=function(){this.__data__=[],this.size=0},Tn.prototype.delete=function(e){var t=this.__data__,o=Pn(t,e);return!(o<0)&&(o==t.length-1?t.pop():En.call(t,o,1),--this.size,!0)},Tn.prototype.get=function(e){var t=this.__data__,o=Pn(t,e);return o<0?void 0:t[o][1]},Tn.prototype.has=function(e){return Pn(this.__data__,e)>-1},Tn.prototype.set=function(e,t){var o=this.__data__,r=Pn(o,e);return r<0?(++this.size,o.push([e,t])):o[r][1]=t,this};var Bn=Dr(tr,"Map");function kn(e,t){var o,r,n=e.__data__;return("string"==(r=typeof(o=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==o:null===o)?n["string"==typeof t?"string":"hash"]:n.map}function Dn(e){var t=-1,o=null==e?0:e.length;for(this.clear();++t<o;){var r=e[t];this.set(r[0],r[1])}}function Mn(e){return null==e?"":br(e)}Dn.prototype.clear=function(){this.size=0,this.__data__={hash:new zn,map:new(Bn||Tn),string:new zn}},Dn.prototype.delete=function(e){var t=kn(this,e).delete(e);return this.size-=t?1:0,t},Dn.prototype.get=function(e){return kn(this,e).get(e)},Dn.prototype.has=function(e){return kn(this,e).has(e)},Dn.prototype.set=function(e,t){var o=kn(this,e),r=o.size;return o.set(e,t),this.size+=o.size==r?0:1,this};var _n=yn(Object.getPrototypeOf,Object),Rn=Function.prototype,An=Object.prototype,In=Rn.toString,On=An.hasOwnProperty,Hn=In.call(Object);function jn(e,t,o){var r=e.length;return o=void 0===o?r:o,!t&&o>=r?e:function(e,t,o){var r=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(o=o>n?n:o)<0&&(o+=n),n=t>o?0:o-t>>>0,t>>>=0;for(var i=Array(n);++r<n;)i[r]=e[r+t];return i}(e,t,o)}var Wn=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Ln(e){return Wn.test(e)}var Nn="\\ud800-\\udfff",qn="["+Nn+"]",Gn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Vn="\\ud83c[\\udffb-\\udfff]",Xn="[^"+Nn+"]",Un="(?:\\ud83c[\\udde6-\\uddff]){2}",Yn="[\\ud800-\\udbff][\\udc00-\\udfff]",Zn="(?:"+Gn+"|"+Vn+")"+"?",Qn="[\\ufe0e\\ufe0f]?",Jn=Qn+Zn+("(?:\\u200d(?:"+[Xn,Un,Yn].join("|")+")"+Qn+Zn+")*"),Kn="(?:"+[Xn+Gn+"?",Gn,Un,Yn,qn].join("|")+")",ei=RegExp(Vn+"(?="+Vn+")|"+Kn+Jn,"g");function ti(e){return Ln(e)?function(e){return e.match(ei)||[]}(e):function(e){return e.split("")}(e)}var oi,ri=(oi="toUpperCase",function(e){var t=Ln(e=Mn(e))?ti(e):void 0,o=t?t[0]:e.charAt(0),r=t?jn(t,1).join(""):e.slice(1);return o[oi]()+r});function ni(e){var t=this.__data__=new Tn(e);this.size=t.size}ni.prototype.clear=function(){this.__data__=new Tn,this.size=0},ni.prototype.delete=function(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o},ni.prototype.get=function(e){return this.__data__.get(e)},ni.prototype.has=function(e){return this.__data__.has(e)},ni.prototype.set=function(e,t){var o=this.__data__;if(o instanceof Tn){var r=o.__data__;if(!Bn||r.length<199)return r.push([e,t]),this.size=++o.size,this;o=this.__data__=new Dn(r)}return o.set(e,t),this.size=o.size,this};var ii="object"==typeof exports&&exports&&!exports.nodeType&&exports,ai=ii&&"object"==typeof module&&module&&!module.nodeType&&module,li=ai&&ai.exports===ii?tr.Buffer:void 0,si=li?li.allocUnsafe:void 0;var ci=tr.Uint8Array;function ui(e,t){var o,r,n=t?(o=e.buffer,r=new o.constructor(o.byteLength),new ci(r).set(new ci(o)),r):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var di,fi=function(e,t,o){for(var r=-1,n=Object(e),i=o(e),a=i.length;a--;){var l=i[di?a:++r];if(!1===t(n[l],l,n))break}return e};function hi(e,t,o){(void 0!==o&&!Gr(e[t],o)||void 0===o&&!(t in e))&&qr(e,t,o)}function pi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function vi(e){return function(e,t,o,r){var n=!o;o||(o={});for(var i=-1,a=t.length;++i<a;){var l=t[i],s=r?r(o[l],e[l],l,o,e):void 0;void 0===s&&(s=e[l]),n?qr(o,l,s):Xr(o,l,s)}return o}(e,wn(e))}function bi(e,t,o,r,n,i,a){var l=pi(e,o),s=pi(t,o),c=a.get(s);if(c)hi(e,o,c);else{var u,d=i?i(l,s,o+"",e,t,a):void 0,f=void 0===d;if(f){var h=hr(s),p=!h&&cn(s),v=!h&&!p&&bn(s);d=s,h||p||v?hr(l)?d=l:ur(u=l)&&Qr(u)?d=function(e,t){var o=-1,r=e.length;for(t||(t=Array(r));++o<r;)t[o]=e[o];return t}(l):p?(f=!1,d=function(e,t){if(t)return e.slice();var o=e.length,r=si?si(o):new e.constructor(o);return e.copy(r),r}(s,!0)):v?(f=!1,d=ui(s,!0)):d=[]:function(e){if(!ur(e)||"[object Object]"!=cr(e))return!1;var t=_n(e);if(null===t)return!0;var o=On.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&In.call(o)==Hn}(s)||nn(s)?(d=l,nn(l)?d=vi(l):mr(l)&&!yr(l)||(d=function(e){return"function"!=typeof e.constructor||Kr(e)?{}:_r(_n(e))}(s))):f=!1}f&&(a.set(s,d),n(d,s,r,i,a),a.delete(s)),hi(e,o,d)}}function mi(e,t,o,r,n){e!==t&&fi(t,function(i,a){if(n||(n=new ni),mr(i))bi(e,t,a,o,mi,r,n);else{var l=r?r(pi(e,a),i,a+"",e,t,n):void 0;void 0===l&&(l=i),hi(e,a,l)}},wn)}var gi,yi=(gi=function(e,t,o){mi(e,t,o)},Yr(function(e,t){var o=-1,r=t.length,n=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(n=gi.length>3&&"function"==typeof n?(r--,n):void 0,i&&function(e,t,o){if(!mr(o))return!1;var r=typeof t;return!!("number"==r?Qr(o)&&Nr(t,o.length):"string"==r&&t in o)&&Gr(o[t],e)}(t[0],t[1],i)&&(n=r<3?void 0:n,r=1),e=Object(e);++o<r;){var a=t[o];a&&gi(e,a,o,n)}return e}));function xi(e){const{mergedLocaleRef:t,mergedDateLocaleRef:o}=s(Io,null)||{},r=v(()=>{var o,r;return null!==(r=null===(o=null==t?void 0:t.value)||void 0===o?void 0:o[e])&&void 0!==r?r:Lo[e]});return{dateLocaleRef:v(()=>{var e;return null!==(e=null==o?void 0:o.value)&&void 0!==e?e:Jo}),localeRef:r}}var Ci="naive-ui-style";function wi(e,t,o){if(!t)return;const r=yt(),n=v(()=>{const{value:o}=t;if(!o)return;const r=o[e];return r||void 0}),i=s(Io,null),a=()=>{u(()=>{const{value:t}=o,a=`${t}${e}Rtl`;if(function(e,t){if(void 0===e)return!1;if(t){const{context:{ids:o}}=t;return o.has(e)}return null!==k(e)}(a,r))return;const{value:l}=n;l&&l.style.mount({id:a,head:!0,anchorMetaName:Ci,props:{bPrefix:t?`.${t}-`:void 0},ssr:r,parent:null==i?void 0:i.styleMountTarget})})};return r?a():d(a),n}var Si={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:$i,fontFamily:Fi,lineHeight:zi}=Si,Pi=U("body",`\n margin: 0;\n font-size: ${$i};\n font-family: ${Fi};\n line-height: ${zi};\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: transparent;\n`,[U("input","\n font-family: inherit;\n font-size: inherit;\n ")]);function Ei(e,t,o){if(!t)return;const r=yt(),n=s(Io,null),i=()=>{const i=o.value;t.mount({id:void 0===i?e:i+e,head:!0,anchorMetaName:Ci,props:{bPrefix:i?`.${i}-`:void 0},ssr:r,parent:null==n?void 0:n.styleMountTarget}),(null==n?void 0:n.preflightStyleDisabled)||Pi.mount({id:"n-global",head:!0,anchorMetaName:Ci,ssr:r,parent:null==n?void 0:n.styleMountTarget})};r?i():d(i)}function Ti(e){return e}function Bi(e,t,o,r,n,i){const a=yt(),l=s(Io,null);if(o){const e=()=>{const e=null==i?void 0:i.value;o.mount({id:void 0===e?t:e+t,head:!0,props:{bPrefix:e?`.${e}-`:void 0},anchorMetaName:Ci,ssr:a,parent:null==l?void 0:l.styleMountTarget}),(null==l?void 0:l.preflightStyleDisabled)||Pi.mount({id:"n-global",head:!0,anchorMetaName:Ci,ssr:a,parent:null==l?void 0:l.styleMountTarget})};a?e():d(e)}return v(()=>{var t;const{theme:{common:o,self:i,peers:a={}}={},themeOverrides:s={},builtinThemeOverrides:c={}}=n,{common:u,peers:d}=s,{common:f,[e]:{common:h,self:p,peers:v={}}={}}=(null==l?void 0:l.mergedThemeRef.value)||{},{common:b,[e]:m={}}=(null==l?void 0:l.mergedThemeOverridesRef.value)||{},{common:g,peers:y={}}=m,x=yi({},o||h||f||r.common,b,g,u);return{common:x,self:yi(null===(t=i||p||r.self)||void 0===t?void 0:t(x),c,m,s),peers:yi({},r.peers,v,a),peerOverrides:yi({},c.peers,y,d)}})}Bi.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};var ki=Z("base-icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n",[U("svg","\n height: 1em;\n width: 1em;\n ")]),Di=e({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Ei("-base-icon",ki,b(e,"clsPrefix"))},render(){return l("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),Mi=e({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const o=Je();return()=>l(x,{name:"icon-switch-transition",appear:o.value},t)}});function _i(t,o){const r=e({render:()=>o()});return e({name:ri(t),setup(){var e;const o=null===(e=s(Io,null))||void 0===e?void 0:e.mergedIconsRef;return()=>{var e;const n=null===(e=null==o?void 0:o.value)||void 0===e?void 0:e[t];return n?n():l(r,null)}}})}var Ri=_i("close",()=>l("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},l("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},l("g",{fill:"currentColor","fill-rule":"nonzero"},l("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),{cubicBezierEaseInOut:Ai}=Si;function Ii({originalTransform:e="",left:t=0,top:o=0,transition:r=`all .3s ${Ai} !important`}={}){return[U("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:`${e} scale(0.75)`,left:t,top:o,opacity:0}),U("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:o,opacity:1}),U("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:o,transition:r})]}var Oi=Z("base-close","\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n background-color: transparent;\n color: var(--n-close-icon-color);\n border-radius: var(--n-close-border-radius);\n height: var(--n-close-size);\n width: var(--n-close-size);\n font-size: var(--n-close-icon-size);\n outline: none;\n border: none;\n position: relative;\n padding: 0;\n",[J("absolute","\n height: var(--n-close-icon-size);\n width: var(--n-close-icon-size);\n "),U("&::before",'\n content: "";\n position: absolute;\n width: var(--n-close-size);\n height: var(--n-close-size);\n left: 50%;\n top: 50%;\n transform: translateY(-50%) translateX(-50%);\n transition: inherit;\n border-radius: inherit;\n '),K("disabled",[U("&:hover","\n color: var(--n-close-icon-color-hover);\n "),U("&:hover::before","\n background-color: var(--n-close-color-hover);\n "),U("&:focus::before","\n background-color: var(--n-close-color-hover);\n "),U("&:active","\n color: var(--n-close-icon-color-pressed);\n "),U("&:active::before","\n background-color: var(--n-close-color-pressed);\n ")]),J("disabled","\n cursor: not-allowed;\n color: var(--n-close-icon-color-disabled);\n background-color: transparent;\n "),J("round",[U("&::before","\n border-radius: 50%;\n ")])]),Hi=e({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup:e=>(Ei("-base-close",Oi,b(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:o,absolute:r,round:n,isButtonTag:i}=e;return l(i?"button":"div",{type:i?"button":void 0,tabindex:o||!e.focusable?-1:0,"aria-disabled":o,"aria-label":"close",role:i?void 0:"button",disabled:o,class:[`${t}-base-close`,r&&`${t}-base-close--absolute`,o&&`${t}-base-close--disabled`,n&&`${t}-base-close--round`],onMousedown:t=>{e.focusable||t.preventDefault()},onClick:e.onClick},l(Di,{clsPrefix:t},{default:()=>l(Ri,null)}))})}),ji=e({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function o(t){e.width?t.style.maxWidth=`${t.offsetWidth}px`:t.style.maxHeight=`${t.offsetHeight}px`,t.offsetWidth}function r(t){e.width?t.style.maxWidth="0":t.style.maxHeight="0",t.offsetWidth;const{onLeave:o}=e;o&&o()}function n(t){e.width?t.style.maxWidth="":t.style.maxHeight="";const{onAfterLeave:o}=e;o&&o()}function i(t){if(t.style.transition="none",e.width){const e=t.offsetWidth;t.style.maxWidth="0",t.offsetWidth,t.style.transition="",t.style.maxWidth=`${e}px`}else if(e.reverse)t.style.maxHeight=`${t.offsetHeight}px`,t.offsetHeight,t.style.transition="",t.style.maxHeight="0";else{const e=t.offsetHeight;t.style.maxHeight="0",t.offsetWidth,t.style.transition="",t.style.maxHeight=`${e}px`}t.offsetWidth}function a(t){var o;e.width?t.style.maxWidth="":e.reverse||(t.style.maxHeight=""),null===(o=e.onAfterEnter)||void 0===o||o.call(e)}return()=>{const{group:s,width:c,appear:u,mode:d}=e,f=s?F:x,h={name:c?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:u,onEnter:i,onAfterEnter:a,onBeforeLeave:o,onLeave:r,onAfterLeave:n};return s||(h.mode=d),l(f,h,t)}}}),Wi=U([U("@keyframes rotator","\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }"),Z("base-loading","\n position: relative;\n line-height: 0;\n width: 1em;\n height: 1em;\n ",[Q("transition-wrapper","\n position: absolute;\n width: 100%;\n height: 100%;\n ",[Ii()]),Q("placeholder","\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n ",[Ii({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),Q("container","\n animation: rotator 3s linear infinite both;\n ",[Q("icon","\n height: 1em;\n width: 1em;\n ")])])]),Li="1.6s",Ni={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},qi=e({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},Ni),setup(e){Ei("-base-loading",Wi,b(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:o,stroke:r,scale:n}=this,i=t/n;return l("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},l(Mi,null,{default:()=>this.show?l("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},l("div",{class:`${e}-base-loading__container`},l("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:r}},l("g",null,l("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:Li,fill:"freeze",repeatCount:"indefinite"}),l("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":o,"stroke-linecap":"round",cx:i,cy:i,r:t-o/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},l("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:Li,fill:"freeze",repeatCount:"indefinite"}),l("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Li,fill:"freeze",repeatCount:"indefinite"})))))):l("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}}),{cubicBezierEaseInOut:Gi}=Si;function Vi({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:o="0.2s",enterCubicBezier:r=Gi,leaveCubicBezier:n=Gi}={}){return[U(`&.${e}-transition-enter-active`,{transition:`all ${t} ${r}!important`}),U(`&.${e}-transition-leave-active`,{transition:`all ${o} ${n}!important`}),U(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),U(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}var Xi="#FFF",Ui="#000",Yi="#000",Zi="#fff",Qi="#fff",Ji="#fff",Ki="#fff",ea="0.82",ta="0.72",oa="0.38",ra="0.24",na="0.18",ia="0.6",aa="0.5",la="0.2",sa=".08",ca="0",ua="0.25",da="0.4",fa="#36ad6a",ha="#18a058",pa="#0c7a43",va="#36ad6a",ba="#4098fc",ma="#2080f0",ga="#1060c9",ya="#4098fc",xa="#de576d",Ca="#d03050",wa="#ab1f3f",Sa="#de576d",$a="#fcb040",Fa="#f0a020",za="#c97c10",Pa="#fcb040",Ea="#36ad6a",Ta="#18a058",Ba="#0c7a43",ka="#36ad6a",Da=Be(Xi),Ma=Be(Ui),_a=`rgba(${Ma.slice(0,3).join(", ")}, `;function Ra(e){return`${_a+String(e)})`}function Aa(e){const t=Array.from(Ma);return t[3]=Number(e),Me(Da,t)}var Ia=Object.assign(Object.assign({name:"common"},Si),{baseColor:Xi,primaryColor:ha,primaryColorHover:fa,primaryColorPressed:pa,primaryColorSuppl:va,infoColor:ma,infoColorHover:ba,infoColorPressed:ga,infoColorSuppl:ya,successColor:Ta,successColorHover:Ea,successColorPressed:Ba,successColorSuppl:ka,warningColor:Fa,warningColorHover:$a,warningColorPressed:za,warningColorSuppl:Pa,errorColor:Ca,errorColorHover:xa,errorColorPressed:wa,errorColorSuppl:Sa,textColorBase:Yi,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Aa(ra),placeholderColor:Aa(ra),placeholderColorDisabled:Aa(na),iconColor:Aa(ra),iconColorHover:Re(Aa(ra),{lightness:.75}),iconColorPressed:Re(Aa(ra),{lightness:.9}),iconColorDisabled:Aa(na),opacity1:ea,opacity2:ta,opacity3:oa,opacity4:ra,opacity5:na,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Aa(Number(ia)),closeIconColorHover:Aa(Number(ia)),closeIconColorPressed:Aa(Number(ia)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Aa(ra),clearColorHover:Re(Aa(ra),{lightness:.75}),clearColorPressed:Re(Aa(ra),{lightness:.9}),scrollbarColor:Ra(ua),scrollbarColorHover:Ra(da),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Aa(sa),railColor:"rgb(219, 219, 223)",popoverColor:Zi,tableColor:Qi,cardColor:Qi,modalColor:Ji,bodyColor:Ki,tagColor:"#eee",avatarColor:Aa(la),invertedColor:"rgb(0, 20, 40)",inputColor:Aa(ca),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:aa,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Oa={railInsetHorizontalBottom:"auto 2px 4px 2px",railInsetHorizontalTop:"4px 2px auto 2px",railInsetVerticalRight:"2px 4px 2px auto",railInsetVerticalLeft:"2px auto 2px 4px",railColor:"transparent"};function Ha(e){const{scrollbarColor:t,scrollbarColorHover:o,scrollbarHeight:r,scrollbarWidth:n,scrollbarBorderRadius:i}=e;return Object.assign(Object.assign({},Oa),{height:r,width:n,borderRadius:i,color:t,colorHover:o})}var ja={name:"Scrollbar",common:Ia,self:Ha},Wa=Z("scrollbar","\n overflow: hidden;\n position: relative;\n z-index: auto;\n height: 100%;\n width: 100%;\n",[U(">",[Z("scrollbar-container","\n width: 100%;\n overflow: scroll;\n height: 100%;\n min-height: inherit;\n max-height: inherit;\n scrollbar-width: none;\n ",[U("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb","\n width: 0;\n height: 0;\n display: none;\n "),U(">",[Z("scrollbar-content","\n box-sizing: border-box;\n min-width: 100%;\n ")])])]),U(">, +",[Z("scrollbar-rail","\n position: absolute;\n pointer-events: none;\n user-select: none;\n background: var(--n-scrollbar-rail-color);\n -webkit-user-select: none;\n ",[J("horizontal","\n height: var(--n-scrollbar-height);\n ",[U(">",[Q("scrollbar","\n height: var(--n-scrollbar-height);\n border-radius: var(--n-scrollbar-border-radius);\n right: 0;\n ")])]),J("horizontal--top","\n top: var(--n-scrollbar-rail-top-horizontal-top); \n right: var(--n-scrollbar-rail-right-horizontal-top); \n bottom: var(--n-scrollbar-rail-bottom-horizontal-top); \n left: var(--n-scrollbar-rail-left-horizontal-top); \n "),J("horizontal--bottom","\n top: var(--n-scrollbar-rail-top-horizontal-bottom); \n right: var(--n-scrollbar-rail-right-horizontal-bottom); \n bottom: var(--n-scrollbar-rail-bottom-horizontal-bottom); \n left: var(--n-scrollbar-rail-left-horizontal-bottom); \n "),J("vertical","\n width: var(--n-scrollbar-width);\n ",[U(">",[Q("scrollbar","\n width: var(--n-scrollbar-width);\n border-radius: var(--n-scrollbar-border-radius);\n bottom: 0;\n ")])]),J("vertical--left","\n top: var(--n-scrollbar-rail-top-vertical-left); \n right: var(--n-scrollbar-rail-right-vertical-left); \n bottom: var(--n-scrollbar-rail-bottom-vertical-left); \n left: var(--n-scrollbar-rail-left-vertical-left); \n "),J("vertical--right","\n top: var(--n-scrollbar-rail-top-vertical-right); \n right: var(--n-scrollbar-rail-right-vertical-right); \n bottom: var(--n-scrollbar-rail-bottom-vertical-right); \n left: var(--n-scrollbar-rail-left-vertical-right); \n "),J("disabled",[U(">",[Q("scrollbar","pointer-events: none;")])]),U(">",[Q("scrollbar","\n z-index: 1;\n position: absolute;\n cursor: pointer;\n pointer-events: all;\n background-color: var(--n-scrollbar-color);\n transition: background-color .2s var(--n-scrollbar-bezier);\n ",[Vi(),U("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),La=Object.assign(Object.assign({},Bi.props),{duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),Na=e({name:"Scrollbar",props:La,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:n}=Oo(e),i=wi("Scrollbar",n,o),l=$(null),s=$(null),c=$(null),d=$(null),h=$(null),p=$(null),b=$(null),m=$(null),g=$(null),y=$(null),x=$(null),C=$(0),w=$(0),S=$(!1),F=$(!1);let P,E,T=!1,B=!1,k=0,D=0,M=0,_=0;const R=tt(),A=Bi("Scrollbar","-scrollbar",Wa,ja,e,o),I=v(()=>{const{value:e}=m,{value:t}=p,{value:o}=y;return null===e||null===t||null===o?0:Math.min(e,o*e/t+1.5*ae(A.value.self.width))}),O=v(()=>`${I.value}px`),H=v(()=>{const{value:e}=g,{value:t}=b,{value:o}=x;return null===e||null===t||null===o?0:o*e/t+1.5*ae(A.value.self.height)}),j=v(()=>`${H.value}px`),W=v(()=>{const{value:e}=m,{value:t}=C,{value:o}=p,{value:r}=y;if(null===e||null===o||null===r)return 0;{const n=o-e;return n?t/n*(r-I.value):0}}),L=v(()=>`${W.value}px`),N=v(()=>{const{value:e}=g,{value:t}=w,{value:o}=b,{value:r}=x;if(null===e||null===o||null===r)return 0;{const n=o-e;return n?t/n*(r-H.value):0}}),q=v(()=>`${N.value}px`),G=v(()=>{const{value:e}=m,{value:t}=p;return null!==e&&null!==t&&t>e}),V=v(()=>{const{value:e}=g,{value:t}=b;return null!==e&&null!==t&&t>e}),X=v(()=>{const{trigger:t}=e;return"none"===t||S.value}),U=v(()=>{const{trigger:t}=e;return"none"===t||F.value}),Y=v(()=>{const{container:t}=e;return t?t():s.value}),Z=v(()=>{const{content:t}=e;return t?t():c.value}),Q=(t,o)=>{if(!e.scrollable)return;if("number"==typeof t)return void K(t,null!=o?o:0,0,!1,"auto");const{left:r,top:n,index:i,elSize:a,position:l,behavior:s,el:c,debounce:u=!0}=t;void 0===r&&void 0===n||K(null!=r?r:0,null!=n?n:0,0,!1,s),void 0!==c?K(0,c.offsetTop,c.offsetHeight,u,s):void 0!==i&&void 0!==a?K(0,i*a,a,u,s):"bottom"===l?K(0,Number.MAX_SAFE_INTEGER,0,!1,s):"top"===l&&K(0,0,0,!1,s)},J=function(e){const o={isDeactivated:!1};let r=!1;return a(()=>{o.isDeactivated=!1,r?e():r=!0}),t(()=>{o.isDeactivated=!0,r||(r=!0)}),o}(()=>{e.container||Q({top:C.value,left:w.value})});function K(e,t,o,r,n){const{value:i}=Y;if(i){if(r){const{scrollTop:r,offsetHeight:a}=i;if(t>r)return void(t+o<=r+a||i.scrollTo({left:e,top:t+o-a,behavior:n}))}i.scrollTo({left:e,top:t,behavior:n})}}function ee(){!function(){void 0!==E&&window.clearTimeout(E);E=window.setTimeout(()=>{F.value=!1},e.duration)}(),function(){void 0!==P&&window.clearTimeout(P);P=window.setTimeout(()=>{S.value=!1},e.duration)}()}function te(){const{value:e}=Y;e&&(C.value=e.scrollTop,w.value=e.scrollLeft*((null==i?void 0:i.value)?-1:1))}function oe(){const{value:e}=Y;e&&(C.value=e.scrollTop,w.value=e.scrollLeft*((null==i?void 0:i.value)?-1:1),m.value=e.offsetHeight,g.value=e.offsetWidth,p.value=e.scrollHeight,b.value=e.scrollWidth);const{value:t}=h,{value:o}=d;t&&(x.value=t.offsetWidth),o&&(y.value=o.offsetHeight)}function re(){e.scrollable&&(e.useUnifiedContainer?oe():(!function(){const{value:e}=Z;e&&(p.value=e.offsetHeight,b.value=e.offsetWidth);const{value:t}=Y;t&&(m.value=t.offsetHeight,g.value=t.offsetWidth);const{value:o}=h,{value:r}=d;o&&(x.value=o.offsetWidth),r&&(y.value=r.offsetHeight)}(),te()))}function ne(e){var t;return!(null===(t=l.value)||void 0===t?void 0:t.contains(ie(e)))}function le(t){if(!B)return;void 0!==P&&window.clearTimeout(P),void 0!==E&&window.clearTimeout(E);const{value:o}=g,{value:r}=b,{value:n}=H;if(null===o||null===r)return;const a=((null==i?void 0:i.value)?window.innerWidth-t.clientX-M:t.clientX-M)*(r-o)/(o-n),l=r-o;let s=D+a;s=Math.min(l,s),s=Math.max(s,0);const{value:c}=Y;if(c){c.scrollLeft=s*((null==i?void 0:i.value)?-1:1);const{internalOnUpdateScrollLeft:t}=e;t&&t(s)}}function ce(e){e.preventDefault(),e.stopPropagation(),Ue("mousemove",window,le,!0),Ue("mouseup",window,ce,!0),B=!1,re(),ne(e)&&ee()}function ue(e){if(!T)return;void 0!==P&&window.clearTimeout(P),void 0!==E&&window.clearTimeout(E);const{value:t}=m,{value:o}=p,{value:r}=I;if(null===t||null===o)return;const n=(e.clientY-_)*(o-t)/(t-r),i=o-t;let a=k+n;a=Math.min(i,a),a=Math.max(a,0);const{value:l}=Y;l&&(l.scrollTop=a)}function de(e){e.preventDefault(),e.stopPropagation(),Ue("mousemove",window,ue,!0),Ue("mouseup",window,de,!0),T=!1,re(),ne(e)&&ee()}u(()=>{const{value:e}=V,{value:t}=G,{value:r}=o,{value:n}=h,{value:i}=d;n&&(e?n.classList.remove(`${r}-scrollbar-rail--disabled`):n.classList.add(`${r}-scrollbar-rail--disabled`)),i&&(t?i.classList.remove(`${r}-scrollbar-rail--disabled`):i.classList.add(`${r}-scrollbar-rail--disabled`))}),f(()=>{e.container||re()}),z(()=>{void 0!==P&&window.clearTimeout(P),void 0!==E&&window.clearTimeout(E),Ue("mousemove",window,ue,!0),Ue("mouseup",window,de,!0)});const fe=v(()=>{const{common:{cubicBezierEaseInOut:e},self:{color:t,colorHover:o,height:r,width:n,borderRadius:a,railInsetHorizontalTop:l,railInsetHorizontalBottom:s,railInsetVerticalRight:c,railInsetVerticalLeft:u,railColor:d}}=A.value,{top:f,right:h,bottom:p,left:v}=se(l),{top:b,right:m,bottom:g,left:y}=se(s),{top:x,right:C,bottom:w,left:S}=se((null==i?void 0:i.value)?wo(c):c),{top:$,right:F,bottom:z,left:P}=se((null==i?void 0:i.value)?wo(u):u);return{"--n-scrollbar-bezier":e,"--n-scrollbar-color":t,"--n-scrollbar-color-hover":o,"--n-scrollbar-border-radius":a,"--n-scrollbar-width":n,"--n-scrollbar-height":r,"--n-scrollbar-rail-top-horizontal-top":f,"--n-scrollbar-rail-right-horizontal-top":h,"--n-scrollbar-rail-bottom-horizontal-top":p,"--n-scrollbar-rail-left-horizontal-top":v,"--n-scrollbar-rail-top-horizontal-bottom":b,"--n-scrollbar-rail-right-horizontal-bottom":m,"--n-scrollbar-rail-bottom-horizontal-bottom":g,"--n-scrollbar-rail-left-horizontal-bottom":y,"--n-scrollbar-rail-top-vertical-right":x,"--n-scrollbar-rail-right-vertical-right":C,"--n-scrollbar-rail-bottom-vertical-right":w,"--n-scrollbar-rail-left-vertical-right":S,"--n-scrollbar-rail-top-vertical-left":$,"--n-scrollbar-rail-right-vertical-left":F,"--n-scrollbar-rail-bottom-vertical-left":z,"--n-scrollbar-rail-left-vertical-left":P,"--n-scrollbar-rail-color":d}}),he=r?Ho("scrollbar",void 0,fe,e):void 0;return Object.assign(Object.assign({},{scrollTo:Q,scrollBy:(t,o)=>{if(!e.scrollable)return;const{value:r}=Y;r&&("object"==typeof t?r.scrollBy(t):r.scrollBy(t,o||0))},sync:re,syncUnifiedContainer:oe,handleMouseEnterWrapper:function(){!function(){void 0!==P&&window.clearTimeout(P);S.value=!0}(),function(){void 0!==E&&window.clearTimeout(E);F.value=!0}(),re()},handleMouseLeaveWrapper:function(){ee()}}),{mergedClsPrefix:o,rtlEnabled:i,containerScrollTop:C,wrapperRef:l,containerRef:s,contentRef:c,yRailRef:d,xRailRef:h,needYBar:G,needXBar:V,yBarSizePx:O,xBarSizePx:j,yBarTopPx:L,xBarLeftPx:q,isShowXBar:X,isShowYBar:U,isIos:R,handleScroll:function(t){const{onScroll:o}=e;o&&o(t),te()},handleContentResize:()=>{J.isDeactivated||re()},handleContainerResize:t=>{if(J.isDeactivated)return;const{onResize:o}=e;o&&o(t),re()},handleYScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),T=!0,Xe("mousemove",window,ue,!0),Xe("mouseup",window,de,!0),k=C.value,_=e.clientY},handleXScrollMouseDown:function(e){e.preventDefault(),e.stopPropagation(),B=!0,Xe("mousemove",window,le,!0),Xe("mouseup",window,ce,!0),D=w.value,M=(null==i?void 0:i.value)?window.innerWidth-e.clientX:e.clientX},cssVars:r?void 0:fe,themeClass:null==he?void 0:he.themeClass,onRender:null==he?void 0:he.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:o,triggerDisplayManually:n,rtlEnabled:i,internalHoistYRail:a,yPlacement:s,xPlacement:c,xScrollable:u}=this;if(!this.scrollable)return null===(e=t.default)||void 0===e?void 0:e.call(t);const d="none"===this.trigger,f=(e,t)=>l("div",{ref:"yRailRef",class:[`${o}-scrollbar-rail`,`${o}-scrollbar-rail--vertical`,`${o}-scrollbar-rail--vertical--${s}`,e],"data-scrollbar-rail":!0,style:[t||"",this.verticalRailStyle],"aria-hidden":!0},l(d?Ao:x,d?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?l("div",{class:`${o}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),h=()=>{var e,s;return null===(e=this.onRender)||void 0===e||e.call(this),l("div",r(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${o}-scrollbar`,this.themeClass,i&&`${o}-scrollbar--rtl`],style:this.cssVars,onMouseenter:n?void 0:this.handleMouseEnterWrapper,onMouseleave:n?void 0:this.handleMouseLeaveWrapper}),[this.container?null===(s=t.default)||void 0===s?void 0:s.call(t):l("div",{role:"none",ref:"containerRef",class:[`${o}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},l(uo,{onResize:this.handleContentResize},{default:()=>l("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${o}-scrollbar-content`,this.contentClass]},t)})),a?null:f(void 0,void 0),u&&l("div",{ref:"xRailRef",class:[`${o}-scrollbar-rail`,`${o}-scrollbar-rail--horizontal`,`${o}-scrollbar-rail--horizontal--${c}`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},l(d?Ao:x,d?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?l("div",{class:`${o}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:i?this.xBarLeftPx:void 0,left:i?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},p=this.container?h():l(uo,{onResize:this.handleContainerResize},{default:h});return a?l(m,null,p,f(this.themeClass,this.cssVars)):p}}),qa=Na,Ga={iconSizeTiny:"28px",iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function Va(e){const{textColorDisabled:t,iconColor:o,textColor2:r,fontSizeTiny:n,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:l,fontSizeHuge:s}=e;return Object.assign(Object.assign({},Ga),{fontSizeTiny:n,fontSizeSmall:i,fontSizeMedium:a,fontSizeLarge:l,fontSizeHuge:s,textColor:t,iconColor:o,extraTextColor:r})}var Xa={name:"Empty",common:Ia,self:Va},Ua={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"};var Ya={name:"Tag",common:Ia,self:function(e){const{textColor2:t,primaryColorHover:o,primaryColorPressed:r,primaryColor:n,infoColor:i,successColor:a,warningColor:l,errorColor:s,baseColor:c,borderColor:u,opacityDisabled:d,tagColor:f,closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:v,borderRadiusSmall:b,fontSizeMini:m,fontSizeTiny:g,fontSizeSmall:y,fontSizeMedium:x,heightMini:C,heightTiny:w,heightSmall:S,heightMedium:$,closeColorHover:F,closeColorPressed:z,buttonColor2Hover:P,buttonColor2Pressed:E,fontWeightStrong:T}=e;return Object.assign(Object.assign({},Ua),{closeBorderRadius:b,heightTiny:C,heightSmall:w,heightMedium:S,heightLarge:$,borderRadius:b,opacityDisabled:d,fontSizeTiny:m,fontSizeSmall:g,fontSizeMedium:y,fontSizeLarge:x,fontWeightStrong:T,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:P,colorPressedCheckable:E,colorChecked:n,colorCheckedHover:o,colorCheckedPressed:r,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"rgb(250, 250, 252)",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:v,closeColorHover:F,closeColorPressed:z,borderPrimary:`1px solid ${_e(n,{alpha:.3})}`,textColorPrimary:n,colorPrimary:_e(n,{alpha:.12}),colorBorderedPrimary:_e(n,{alpha:.1}),closeIconColorPrimary:n,closeIconColorHoverPrimary:n,closeIconColorPressedPrimary:n,closeColorHoverPrimary:_e(n,{alpha:.12}),closeColorPressedPrimary:_e(n,{alpha:.18}),borderInfo:`1px solid ${_e(i,{alpha:.3})}`,textColorInfo:i,colorInfo:_e(i,{alpha:.12}),colorBorderedInfo:_e(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:_e(i,{alpha:.12}),closeColorPressedInfo:_e(i,{alpha:.18}),borderSuccess:`1px solid ${_e(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:_e(a,{alpha:.12}),colorBorderedSuccess:_e(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:_e(a,{alpha:.12}),closeColorPressedSuccess:_e(a,{alpha:.18}),borderWarning:`1px solid ${_e(l,{alpha:.35})}`,textColorWarning:l,colorWarning:_e(l,{alpha:.15}),colorBorderedWarning:_e(l,{alpha:.12}),closeIconColorWarning:l,closeIconColorHoverWarning:l,closeIconColorPressedWarning:l,closeColorHoverWarning:_e(l,{alpha:.12}),closeColorPressedWarning:_e(l,{alpha:.18}),borderError:`1px solid ${_e(s,{alpha:.23})}`,textColorError:s,colorError:_e(s,{alpha:.1}),colorBorderedError:_e(s,{alpha:.08}),closeIconColorError:s,closeIconColorHoverError:s,closeIconColorPressedError:s,closeColorHoverError:_e(s,{alpha:.12}),closeColorPressedError:_e(s,{alpha:.18})})}},{cubicBezierEaseInOut:Za}=Si;function Qa({duration:e=".2s",delay:t=".1s"}={}){return[U("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),U("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from","\n opacity: 0!important;\n margin-left: 0!important;\n margin-right: 0!important;\n "),U("&.fade-in-width-expand-transition-leave-active",`\n overflow: hidden;\n transition:\n opacity ${e} ${Za},\n max-width ${e} ${Za} ${t},\n margin-left ${e} ${Za} ${t},\n margin-right ${e} ${Za} ${t};\n `),U("&.fade-in-width-expand-transition-enter-active",`\n overflow: hidden;\n transition:\n opacity ${e} ${Za} ${t},\n max-width ${e} ${Za},\n margin-left ${e} ${Za},\n margin-right ${e} ${Za};\n `)]}var Ja=Z("base-wave","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n"),Ka=e({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Ei("-base-wave",Ja,b(e,"clsPrefix"));const t=$(null),o=$(!1);let r=null;return z(()=>{null!==r&&window.clearTimeout(r)}),{active:o,selfRef:t,play(){null!==r&&(window.clearTimeout(r),o.value=!1,r=null),i(()=>{var e;null===(e=t.value)||void 0===e||e.offsetHeight,o.value=!0,r=window.setTimeout(()=>{o.value=!1,r=null},1e3)})}}},render(){const{clsPrefix:e}=this;return l("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),el=ct&&"chrome"in window,tl=(ct&&navigator.userAgent.includes("Firefox"),ct&&navigator.userAgent.includes("Safari")&&!el);function ol(e){return Me(e,[255,255,255,.16])}function rl(e){return Me(e,[0,0,0,.12])}var nl="n-button-group",il={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"};function al(e){const{heightTiny:t,heightSmall:o,heightMedium:r,heightLarge:n,borderRadius:i,fontSizeTiny:a,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:c,opacityDisabled:u,textColor2:d,textColor3:f,primaryColorHover:h,primaryColorPressed:p,borderColor:v,primaryColor:b,baseColor:m,infoColor:g,infoColorHover:y,infoColorPressed:x,successColor:C,successColorHover:w,successColorPressed:S,warningColor:$,warningColorHover:F,warningColorPressed:z,errorColor:P,errorColorHover:E,errorColorPressed:T,fontWeight:B,buttonColor2:k,buttonColor2Hover:D,buttonColor2Pressed:M,fontWeightStrong:_}=e;return Object.assign(Object.assign({},il),{heightTiny:t,heightSmall:o,heightMedium:r,heightLarge:n,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:l,fontSizeMedium:s,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:k,colorSecondaryHover:D,colorSecondaryPressed:M,colorTertiary:k,colorTertiaryHover:D,colorTertiaryPressed:M,colorQuaternary:"#0000",colorQuaternaryHover:D,colorQuaternaryPressed:M,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:h,textColorPressed:p,textColorFocus:h,textColorDisabled:d,textColorText:d,textColorTextHover:h,textColorTextPressed:p,textColorTextFocus:h,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:h,textColorGhostPressed:p,textColorGhostFocus:h,textColorGhostDisabled:d,border:`1px solid ${v}`,borderHover:`1px solid ${h}`,borderPressed:`1px solid ${p}`,borderFocus:`1px solid ${h}`,borderDisabled:`1px solid ${v}`,rippleColor:b,colorPrimary:b,colorHoverPrimary:h,colorPressedPrimary:p,colorFocusPrimary:h,colorDisabledPrimary:b,textColorPrimary:m,textColorHoverPrimary:m,textColorPressedPrimary:m,textColorFocusPrimary:m,textColorDisabledPrimary:m,textColorTextPrimary:b,textColorTextHoverPrimary:h,textColorTextPressedPrimary:p,textColorTextFocusPrimary:h,textColorTextDisabledPrimary:d,textColorGhostPrimary:b,textColorGhostHoverPrimary:h,textColorGhostPressedPrimary:p,textColorGhostFocusPrimary:h,textColorGhostDisabledPrimary:b,borderPrimary:`1px solid ${b}`,borderHoverPrimary:`1px solid ${h}`,borderPressedPrimary:`1px solid ${p}`,borderFocusPrimary:`1px solid ${h}`,borderDisabledPrimary:`1px solid ${b}`,rippleColorPrimary:b,colorInfo:g,colorHoverInfo:y,colorPressedInfo:x,colorFocusInfo:y,colorDisabledInfo:g,textColorInfo:m,textColorHoverInfo:m,textColorPressedInfo:m,textColorFocusInfo:m,textColorDisabledInfo:m,textColorTextInfo:g,textColorTextHoverInfo:y,textColorTextPressedInfo:x,textColorTextFocusInfo:y,textColorTextDisabledInfo:d,textColorGhostInfo:g,textColorGhostHoverInfo:y,textColorGhostPressedInfo:x,textColorGhostFocusInfo:y,textColorGhostDisabledInfo:g,borderInfo:`1px solid ${g}`,borderHoverInfo:`1px solid ${y}`,borderPressedInfo:`1px solid ${x}`,borderFocusInfo:`1px solid ${y}`,borderDisabledInfo:`1px solid ${g}`,rippleColorInfo:g,colorSuccess:C,colorHoverSuccess:w,colorPressedSuccess:S,colorFocusSuccess:w,colorDisabledSuccess:C,textColorSuccess:m,textColorHoverSuccess:m,textColorPressedSuccess:m,textColorFocusSuccess:m,textColorDisabledSuccess:m,textColorTextSuccess:C,textColorTextHoverSuccess:w,textColorTextPressedSuccess:S,textColorTextFocusSuccess:w,textColorTextDisabledSuccess:d,textColorGhostSuccess:C,textColorGhostHoverSuccess:w,textColorGhostPressedSuccess:S,textColorGhostFocusSuccess:w,textColorGhostDisabledSuccess:C,borderSuccess:`1px solid ${C}`,borderHoverSuccess:`1px solid ${w}`,borderPressedSuccess:`1px solid ${S}`,borderFocusSuccess:`1px solid ${w}`,borderDisabledSuccess:`1px solid ${C}`,rippleColorSuccess:C,colorWarning:$,colorHoverWarning:F,colorPressedWarning:z,colorFocusWarning:F,colorDisabledWarning:$,textColorWarning:m,textColorHoverWarning:m,textColorPressedWarning:m,textColorFocusWarning:m,textColorDisabledWarning:m,textColorTextWarning:$,textColorTextHoverWarning:F,textColorTextPressedWarning:z,textColorTextFocusWarning:F,textColorTextDisabledWarning:d,textColorGhostWarning:$,textColorGhostHoverWarning:F,textColorGhostPressedWarning:z,textColorGhostFocusWarning:F,textColorGhostDisabledWarning:$,borderWarning:`1px solid ${$}`,borderHoverWarning:`1px solid ${F}`,borderPressedWarning:`1px solid ${z}`,borderFocusWarning:`1px solid ${F}`,borderDisabledWarning:`1px solid ${$}`,rippleColorWarning:$,colorError:P,colorHoverError:E,colorPressedError:T,colorFocusError:E,colorDisabledError:P,textColorError:m,textColorHoverError:m,textColorPressedError:m,textColorFocusError:m,textColorDisabledError:m,textColorTextError:P,textColorTextHoverError:E,textColorTextPressedError:T,textColorTextFocusError:E,textColorTextDisabledError:d,textColorGhostError:P,textColorGhostHoverError:E,textColorGhostPressedError:T,textColorGhostFocusError:E,textColorGhostDisabledError:P,borderError:`1px solid ${P}`,borderHoverError:`1px solid ${E}`,borderPressedError:`1px solid ${T}`,borderFocusError:`1px solid ${E}`,borderDisabledError:`1px solid ${P}`,rippleColorError:P,waveOpacity:"0.6",fontWeight:B,fontWeightStrong:_})}var ll={name:"Button",common:Ia,self:al},sl=U([Z("button","\n margin: 0;\n font-weight: var(--n-font-weight);\n line-height: 1;\n font-family: inherit;\n padding: var(--n-padding);\n height: var(--n-height);\n font-size: var(--n-font-size);\n border-radius: var(--n-border-radius);\n color: var(--n-text-color);\n background-color: var(--n-color);\n width: var(--n-width);\n white-space: nowrap;\n outline: none;\n position: relative;\n z-index: auto;\n border: none;\n display: inline-flex;\n flex-wrap: nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n user-select: none;\n -webkit-user-select: none;\n text-align: center;\n cursor: pointer;\n text-decoration: none;\n transition:\n color .3s var(--n-bezier),\n background-color .3s var(--n-bezier),\n opacity .3s var(--n-bezier),\n border-color .3s var(--n-bezier);\n ",[J("color",[Q("border",{borderColor:"var(--n-border-color)"}),J("disabled",[Q("border",{borderColor:"var(--n-border-color-disabled)"})]),K("disabled",[U("&:focus",[Q("state-border",{borderColor:"var(--n-border-color-focus)"})]),U("&:hover",[Q("state-border",{borderColor:"var(--n-border-color-hover)"})]),U("&:active",[Q("state-border",{borderColor:"var(--n-border-color-pressed)"})]),J("pressed",[Q("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),J("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[Q("border",{border:"var(--n-border-disabled)"})]),K("disabled",[U("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[Q("state-border",{border:"var(--n-border-focus)"})]),U("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[Q("state-border",{border:"var(--n-border-hover)"})]),U("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[Q("state-border",{border:"var(--n-border-pressed)"})]),J("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[Q("state-border",{border:"var(--n-border-pressed)"})])]),J("loading","cursor: wait;"),Z("base-wave","\n pointer-events: none;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n animation-iteration-count: 1;\n animation-duration: var(--n-ripple-duration);\n animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out);\n ",[J("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),ct&&"MozBoxSizing"in document.createElement("div").style?U("&::moz-focus-inner",{border:0}):null,Q("border, state-border","\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n border-radius: inherit;\n transition: border-color .3s var(--n-bezier);\n pointer-events: none;\n "),Q("border","\n border: var(--n-border);\n "),Q("state-border","\n border: var(--n-border);\n border-color: #0000;\n z-index: 1;\n "),Q("icon","\n margin: var(--n-icon-margin);\n margin-left: 0;\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n max-width: var(--n-icon-size);\n font-size: var(--n-icon-size);\n position: relative;\n flex-shrink: 0;\n ",[Z("icon-slot","\n height: var(--n-icon-size);\n width: var(--n-icon-size);\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n ",[Ii({top:"50%",originalTransform:"translateY(-50%)"})]),Qa()]),Q("content","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n min-width: 0;\n ",[U("~",[Q("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),J("block","\n display: flex;\n width: 100%;\n "),J("dashed",[Q("border, state-border",{borderStyle:"dashed !important"})]),J("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),U("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),U("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),cl=Object.assign(Object.assign({},Bi.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!tl}}),ul=e({name:"Button",props:cl,slots:Object,setup(e){const t=$(null),o=$(null),r=$(!1),n=Ze(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=s(nl,{}),{mergedSizeRef:a}=Wo({},{defaultSize:"medium",mergedSize:t=>{const{size:o}=e;if(o)return o;const{size:r}=i;if(r)return r;const{mergedSize:n}=t||{};return n?n.value:"medium"}}),l=v(()=>e.focusable&&!e.disabled),{inlineThemeDisabled:c,mergedClsPrefixRef:u,mergedRtlRef:d}=Oo(e),f=Bi("Button","-button",sl,ll,e,u),h=wi("Button",d,u),p=v(()=>{const{common:{cubicBezierEaseInOut:t,cubicBezierEaseOut:o},self:r}=f.value,{rippleDuration:n,opacityDisabled:i,fontWeight:l,fontWeightStrong:s}=r,c=a.value,{dashed:u,type:d,ghost:h,text:p,color:v,round:b,circle:m,textColor:g,secondary:y,tertiary:x,quaternary:C,strong:w}=e,S={"--n-font-weight":w?s:l};let $={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const F="tertiary"===d,z="default"===d,P=F?"default":d;if(p){const e=g||v;$={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":e||r[ne("textColorText",P)],"--n-text-color-hover":e?ol(e):r[ne("textColorTextHover",P)],"--n-text-color-pressed":e?rl(e):r[ne("textColorTextPressed",P)],"--n-text-color-focus":e?ol(e):r[ne("textColorTextHover",P)],"--n-text-color-disabled":e||r[ne("textColorTextDisabled",P)]}}else if(h||u){const e=g||v;$={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":v||r[ne("rippleColor",P)],"--n-text-color":e||r[ne("textColorGhost",P)],"--n-text-color-hover":e?ol(e):r[ne("textColorGhostHover",P)],"--n-text-color-pressed":e?rl(e):r[ne("textColorGhostPressed",P)],"--n-text-color-focus":e?ol(e):r[ne("textColorGhostHover",P)],"--n-text-color-disabled":e||r[ne("textColorGhostDisabled",P)]}}else if(y){const e=z?r.textColor:F?r.textColorTertiary:r[ne("color",P)],t=v||e,o="default"!==d&&"tertiary"!==d;$={"--n-color":o?_e(t,{alpha:Number(r.colorOpacitySecondary)}):r.colorSecondary,"--n-color-hover":o?_e(t,{alpha:Number(r.colorOpacitySecondaryHover)}):r.colorSecondaryHover,"--n-color-pressed":o?_e(t,{alpha:Number(r.colorOpacitySecondaryPressed)}):r.colorSecondaryPressed,"--n-color-focus":o?_e(t,{alpha:Number(r.colorOpacitySecondaryHover)}):r.colorSecondaryHover,"--n-color-disabled":r.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":t,"--n-text-color-hover":t,"--n-text-color-pressed":t,"--n-text-color-focus":t,"--n-text-color-disabled":t}}else if(x||C){const e=z?r.textColor:F?r.textColorTertiary:r[ne("color",P)],t=v||e;x?($["--n-color"]=r.colorTertiary,$["--n-color-hover"]=r.colorTertiaryHover,$["--n-color-pressed"]=r.colorTertiaryPressed,$["--n-color-focus"]=r.colorSecondaryHover,$["--n-color-disabled"]=r.colorTertiary):($["--n-color"]=r.colorQuaternary,$["--n-color-hover"]=r.colorQuaternaryHover,$["--n-color-pressed"]=r.colorQuaternaryPressed,$["--n-color-focus"]=r.colorQuaternaryHover,$["--n-color-disabled"]=r.colorQuaternary),$["--n-ripple-color"]="#0000",$["--n-text-color"]=t,$["--n-text-color-hover"]=t,$["--n-text-color-pressed"]=t,$["--n-text-color-focus"]=t,$["--n-text-color-disabled"]=t}else $={"--n-color":v||r[ne("color",P)],"--n-color-hover":v?ol(v):r[ne("colorHover",P)],"--n-color-pressed":v?rl(v):r[ne("colorPressed",P)],"--n-color-focus":v?ol(v):r[ne("colorFocus",P)],"--n-color-disabled":v||r[ne("colorDisabled",P)],"--n-ripple-color":v||r[ne("rippleColor",P)],"--n-text-color":g||(v?r.textColorPrimary:F?r.textColorTertiary:r[ne("textColor",P)]),"--n-text-color-hover":g||(v?r.textColorHoverPrimary:r[ne("textColorHover",P)]),"--n-text-color-pressed":g||(v?r.textColorPressedPrimary:r[ne("textColorPressed",P)]),"--n-text-color-focus":g||(v?r.textColorFocusPrimary:r[ne("textColorFocus",P)]),"--n-text-color-disabled":g||(v?r.textColorDisabledPrimary:r[ne("textColorDisabled",P)])};let E={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};E=p?{"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:{"--n-border":r[ne("border",P)],"--n-border-hover":r[ne("borderHover",P)],"--n-border-pressed":r[ne("borderPressed",P)],"--n-border-focus":r[ne("borderFocus",P)],"--n-border-disabled":r[ne("borderDisabled",P)]};const{[ne("height",c)]:T,[ne("fontSize",c)]:B,[ne("padding",c)]:k,[ne("paddingRound",c)]:D,[ne("iconSize",c)]:M,[ne("borderRadius",c)]:_,[ne("iconMargin",c)]:R,waveOpacity:A}=r,I={"--n-width":m&&!p?T:"initial","--n-height":p?"initial":T,"--n-font-size":B,"--n-padding":m||p?"initial":b?D:k,"--n-icon-size":M,"--n-icon-margin":R,"--n-border-radius":p?"initial":m||b?T:_};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":t,"--n-bezier-ease-out":o,"--n-ripple-duration":n,"--n-opacity-disabled":i,"--n-wave-opacity":A},S),$),E),I)}),b=c?Ho("button",v(()=>{let t="";const{dashed:o,type:r,ghost:n,text:i,color:l,round:s,circle:c,textColor:u,secondary:d,tertiary:f,quaternary:h,strong:p}=e;o&&(t+="a"),n&&(t+="b"),i&&(t+="c"),s&&(t+="d"),c&&(t+="e"),d&&(t+="f"),f&&(t+="g"),h&&(t+="h"),p&&(t+="i"),l&&(t+=`j${go(l)}`),u&&(t+=`k${go(u)}`);const{value:v}=a;return t+=`l${v[0]}`,t+=`m${r[0]}`,t}),p,e):void 0;return{selfElRef:t,waveElRef:o,mergedClsPrefix:u,mergedFocusable:l,mergedSize:a,showBorder:n,enterPressed:r,rtlEnabled:h,handleMousedown:o=>{var r;l.value||o.preventDefault(),e.nativeFocusBehavior||(o.preventDefault(),e.disabled||l.value&&(null===(r=t.value)||void 0===r||r.focus({preventScroll:!0})))},handleKeydown:t=>{if("Enter"===t.key){if(!e.keyboard||e.loading)return void t.preventDefault();r.value=!0}},handleBlur:()=>{r.value=!1},handleKeyup:t=>{if("Enter"===t.key){if(!e.keyboard)return;r.value=!1}},handleClick:t=>{var r;if(!e.disabled&&!e.loading){const{onClick:n}=e;n&&To(n,t),e.text||null===(r=o.value)||void 0===r||r.play()}},customColorCssVars:v(()=>{const{color:t}=e;if(!t)return null;const o=ol(t);return{"--n-border-color":t,"--n-border-color-hover":o,"--n-border-color-pressed":rl(t),"--n-border-color-focus":o,"--n-border-color-disabled":t}}),cssVars:c?void 0:p,themeClass:null==b?void 0:b.themeClass,onRender:null==b?void 0:b.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:o}=this;null==o||o();const r=Mo(this.$slots.default,t=>t&&l("span",{class:`${e}-button__content`},t));return l(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},"right"===this.iconPlacement&&r,l(ji,{width:!0},{default:()=>Mo(this.$slots.icon,t=>(this.loading||this.renderIcon||t)&&l("span",{class:`${e}-button__icon`,style:{margin:Ro(this.$slots.default)?"0":""}},l(Mi,null,{default:()=>this.loading?l(qi,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):l("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():t)})))}),"left"===this.iconPlacement&&r,this.text?null:l(Ka,{ref:"waveElRef",clsPrefix:e}),this.showBorder?l("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?l("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),dl=ul;function fl(e){const{textColorBase:t,opacity1:o,opacity2:r,opacity3:n,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:o,opacity2Depth:r,opacity3Depth:n,opacity4Depth:i,opacity5Depth:a}}var hl={name:"Icon",common:Ia,self:fl},pl=Z("icon","\n height: 1em;\n width: 1em;\n line-height: 1em;\n text-align: center;\n display: inline-block;\n position: relative;\n fill: currentColor;\n",[J("color-transition",{transition:"color .3s var(--n-bezier)"}),J("depth",{color:"var(--n-color)"},[U("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),U("svg",{height:"1em",width:"1em"})]),vl=Object.assign(Object.assign({},Bi.props),{depth:[String,Number],size:[Number,String],color:String,component:[Object,Function]}),bl=e({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:vl,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:o}=Oo(e),r=Bi("Icon","-icon",pl,hl,e,t),n=v(()=>{const{depth:t}=e,{common:{cubicBezierEaseInOut:o},self:n}=r.value;if(void 0!==t){const{color:e,[`opacity${t}Depth`]:r}=n;return{"--n-bezier":o,"--n-color":e,"--n-opacity":r}}return{"--n-bezier":o,"--n-color":"","--n-opacity":""}}),i=o?Ho("icon",v(()=>`${e.depth||"d"}`),n,e):void 0;return{mergedClsPrefix:t,mergedStyle:v(()=>{const{size:t,color:o}=e;return{fontSize:Co(t),color:o}}),cssVars:o?void 0:n,themeClass:null==i?void 0:i.themeClass,onRender:null==i?void 0:i.onRender}},render(){var e;const{$parent:t,depth:o,mergedClsPrefix:n,component:i,onRender:a,themeClass:s}=this;return null===(e=null==t?void 0:t.$options)||void 0===e||e._n_icon__,null==a||a(),l("i",r(this.$attrs,{role:"img",class:[`${n}-icon`,s,{[`${n}-icon--depth`]:o,[`${n}-icon--color-transition`]:void 0!==o}],style:[this.cssVars,this.mergedStyle]}),i?l(i):this.$slots)}});function ml(e){const{opacityDisabled:t,heightTiny:o,heightSmall:r,heightMedium:n,heightLarge:i,heightHuge:a,primaryColor:l,fontSize:s}=e;return{fontSize:s,textColor:l,sizeTiny:o,sizeSmall:r,sizeMedium:n,sizeLarge:i,sizeHuge:a,color:l,opacitySpinning:t}}var gl={name:"Spin",common:Ia,self:ml},yl=(e,t)=>{const o=e.__vccOpts||e;for(const[r,n]of t)o[r]=n;return o};export{Gr as $,Ze as $t,Mi as A,$o as At,ci as B,ft as Bt,Ia as C,te as Cn,Mo as Ct,Hi as D,Eo as Dt,ji as E,Po as Et,Si as F,co as Ft,yn as G,lt as Gt,Mn as H,ct as Ht,wi as I,wt as It,cn as J,nt as Jt,gn as K,at as Kt,xi as L,yt as Lt,Ti as M,go as Mt,Bi as N,mo as Nt,Ii as O,zo as Ot,Ei as P,uo as Pt,Zr as Q,Qe as Qt,yi as R,mt as Rt,Ha as S,ee as Sn,Do as St,qi as T,O as Tn,To as Tt,Dn as U,st as Ut,ni as V,ut as Vt,Bn as W,it as Wt,Kr as X,Ke as Xt,nn as Y,ot as Yt,Qr as Z,Je as Zt,Xa as _,re as _n,Io as _t,hl as a,_e as an,hr as at,qa as b,K as bn,Ro as bt,dl as c,Re as cn,ur as ct,nl as d,se as dn,tr as dt,Ye as en,Nr as et,tl as f,le as fn,Qo as ft,Ua as g,Z as gn,Oo as gt,Ya as h,U as hn,Ho as ht,bl as i,We as in,mr as it,Di as j,Co as jt,_i as k,Fo as kt,ll as l,ae as ln,cr as lt,Qa as m,oe as mn,Wo as mt,ml as n,Xe as nn,$r as nt,fl as o,Me as on,fr as ot,Ka as p,ie as pn,jo as pt,bn as q,rt as qt,gl as r,je as rn,gr as rt,ul as s,Be as sn,dr as st,yl as t,Ue as tn,Dr as tt,al as u,ce as un,or as ut,Va as v,Q as vn,Ao as vt,Vi as w,G as wn,_o as wt,ja as x,ne as xn,ko as xt,Na as y,J as yn,Bo as yt,fi as z,pt as zt};
@@ -1 +1 @@
1
- import{n as e}from"./vendors-D0c_0KLP.js";var o=e.create({baseURL:"/api",timeout:3e4});o.interceptors.response.use(e=>e,e=>{if(e.response&&e.response.data){const o=e.response.data,r=new Error(o.message||e.message);return r.response=e.response,r.status=e.response.status,r.data=o,Promise.reject(r)}return Promise.reject(e)});var r=Object.freeze({claude:"",codex:"/codex",gemini:"/gemini",opencode:"/opencode",omp:"/omp",dsh:"/dsh"}),t={...r};function n(e=[]){if(t={...r},!Array.isArray(e))return t;for(const o of e){const e=s(o?.key);if(!e||Object.prototype.hasOwnProperty.call(r,e))continue;const n=String(o?.apiPrefix||"").trim().replace(/^\/+|\/+$/g,"");t[e]=n?`/${encodeURIComponent(n)}`:`/platforms/${encodeURIComponent(e)}`}return t}function s(e){return String(e||"").trim().toLowerCase()}function a(e){return Object.prototype.hasOwnProperty.call(r,s(e))}function p(e,o="not_found"){const r=s(e),t=new Error("not_found"===o?`Unknown platform: ${r||"(empty)"}`:`Unsupported platform capability: ${r||"(empty)"}`);return t.code=o,t.status=404,t.platform=r,t}function c(e="claude"){const o=s(e);if(!o)throw p(e);return Object.prototype.hasOwnProperty.call(t,o)?t[o]:`/platforms/${encodeURIComponent(o)}`}function i(e="claude"){return c(e)}export{c as a,i,n,a as o,p as r,s,o as t};
1
+ import{n as e}from"./vendors-CvGw6U_t.js";var o=e.create({baseURL:"/api",timeout:3e4});o.interceptors.response.use(e=>e,e=>{if(e.response&&e.response.data){const o=e.response.data,r=new Error(o.message||e.message);return r.response=e.response,r.status=e.response.status,r.data=o,Promise.reject(r)}return Promise.reject(e)});var r=Object.freeze({claude:"",codex:"/codex",gemini:"/gemini",opencode:"/opencode",omp:"/omp",dsh:"/dsh"}),t={...r};function n(e=[]){if(t={...r},!Array.isArray(e))return t;for(const o of e){const e=s(o?.key);if(!e||Object.prototype.hasOwnProperty.call(r,e))continue;const n=String(o?.apiPrefix||"").trim().replace(/^\/+|\/+$/g,"");t[e]=n?`/${encodeURIComponent(n)}`:`/platforms/${encodeURIComponent(e)}`}return t}function s(e){return String(e||"").trim().toLowerCase()}function a(e){return Object.prototype.hasOwnProperty.call(r,s(e))}function p(e,o="not_found"){const r=s(e),t=new Error("not_found"===o?`Unknown platform: ${r||"(empty)"}`:`Unsupported platform capability: ${r||"(empty)"}`);return t.code=o,t.status=404,t.platform=r,t}function c(e="claude"){const o=s(e);if(!o)throw p(e);return Object.prototype.hasOwnProperty.call(t,o)?t[o]:`/platforms/${encodeURIComponent(o)}`}function i(e="claude"){return c(e)}export{c as a,i,n,a as o,p as r,s,o as t};
@@ -1 +1 @@
1
- import{a as t,t as a}from"./client-oU6RT-6I.js";var e=t("dsh");async function n(){const t=await a.get(`${e}/profiles`);return t.data?.data?.profiles||t.data?.profiles||[]}async function o(t){const n=await a.get(`${e}/profiles/${encodeURIComponent(t)}/agent-presets`);return n.data?.data||n.data||{}}async function s(t,n,o){const s=await a.post(`${e}/profiles/${encodeURIComponent(t)}/agent-presets`,{config:n,expectedRevision:o});return s.data?.data||s.data||{}}async function i(t,n,o){const s=await a.delete(`${e}/profiles/${encodeURIComponent(t)}/agent-presets/${encodeURIComponent(n)}`,{data:{expectedRevision:o}});return s.data?.data||s.data||{}}export{s as i,o as n,n as r,i as t};
1
+ import{a as t,t as a}from"./client-B31QOzWk.js";var e=t("dsh");async function n(){const t=await a.get(`${e}/profiles`);return t.data?.data?.profiles||t.data?.profiles||[]}async function o(t){const n=await a.get(`${e}/profiles/${encodeURIComponent(t)}/agent-presets`);return n.data?.data||n.data||{}}async function s(t,n,o){const s=await a.post(`${e}/profiles/${encodeURIComponent(t)}/agent-presets`,{config:n,expectedRevision:o});return s.data?.data||s.data||{}}async function i(t,n,o){const s=await a.delete(`${e}/profiles/${encodeURIComponent(t)}/agent-presets/${encodeURIComponent(n)}`,{data:{expectedRevision:o}});return s.data?.data||s.data||{}}export{s as i,o as n,n as r,i as t};
@@ -0,0 +1 @@
1
+ import{A as e,M as r,b as n}from"./vue-vendor-Cr_NLmXY.js";import{N as t,gn as a,gt as i,hn as o,ht as s,xn as l,yn as h}from"./_plugin-vue_export-helper-DyHLuIR4.js";import{n as d}from"./light-DeIjG9s_.js";var f=a("h","\n font-size: var(--n-font-size);\n font-weight: var(--n-font-weight);\n margin: var(--n-margin);\n transition: color .3s var(--n-bezier);\n color: var(--n-text-color);\n",[o("&:first-child",{marginTop:0}),h("prefix-bar",{position:"relative",paddingLeft:"var(--n-prefix-width)"},[h("align-text",{paddingLeft:0},[o("&::before",{left:"calc(-1 * var(--n-prefix-width))"})]),o("&::before",'\n content: "";\n width: var(--n-bar-width);\n border-radius: calc(var(--n-bar-width) / 2);\n transition: background-color .3s var(--n-bezier);\n left: 0;\n top: 0;\n bottom: 0;\n position: absolute;\n '),o("&::before",{backgroundColor:"var(--n-bar-color)"})])]),p=Object.assign(Object.assign({},t.props),{type:{type:String,default:"default"},prefix:String,alignText:Boolean}),g=a=>e({name:`H${a}`,props:p,setup(e){const{mergedClsPrefixRef:r,inlineThemeDisabled:o}=i(e),h=t("Typography","-h",f,d,e,r),p=n(()=>{const{type:r}=e,{common:{cubicBezierEaseInOut:n},self:{headerFontWeight:t,headerTextColor:i,[l("headerPrefixWidth",a)]:o,[l("headerFontSize",a)]:s,[l("headerMargin",a)]:d,[l("headerBarWidth",a)]:f,[l("headerBarColor",r)]:p}}=h.value;return{"--n-bezier":n,"--n-font-size":s,"--n-margin":d,"--n-bar-color":p,"--n-bar-width":f,"--n-font-weight":t,"--n-text-color":i,"--n-prefix-width":o}}),g=o?s(`h${a}`,n(()=>e.type[0]),p,e):void 0;return{mergedClsPrefix:r,cssVars:o?void 0:p,themeClass:null==g?void 0:g.themeClass,onRender:null==g?void 0:g.onRender}},render(){var e;const{prefix:n,alignText:t,mergedClsPrefix:i,cssVars:o,$slots:s}=this;return null===(e=this.onRender)||void 0===e||e.call(this),r(`h${a}`,{class:[`${i}-h`,`${i}-h${a}`,this.themeClass,{[`${i}-h--prefix-bar`]:n,[`${i}-h--align-text`]:t}],style:o},s)}}),c=(g("1"),g("2"));g("3"),g("4"),g("5"),g("6");export{c as t};