@acedatacloud/nexior 3.4.1 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{Auth.61032eca.js → Auth.908b9f7c.js} +1 -1
- package/dist/assets/{Callback.78fe3ef4.js → Callback.9dbae063.js} +1 -1
- package/dist/assets/{Chatdoc.f0e4f98a.js → Chatdoc.ce487a0a.js} +1 -1
- package/dist/assets/{Console.d031613f.js → Console.13ef816c.js} +1 -1
- package/dist/assets/{Conversation.417ae3ce.js → Conversation.478182a2.js} +1 -1
- package/dist/assets/{Conversation.98601916.js → Conversation.9cee0abe.js} +1 -1
- package/dist/assets/{CopyToClipboard.d3bd0d2e.js → CopyToClipboard.2c27abff.js} +1 -1
- package/dist/assets/{Detail.50b2c615.js → Detail.8a1f7700.js} +1 -1
- package/dist/assets/{EditArray.b5790d1c.js → EditArray.625efab9.js} +1 -1
- package/dist/assets/{Extra.a3e08fb3.js → Extra.fb928df8.js} +1 -1
- package/dist/assets/{History.9ff3dfbf.js → History.7aabd967.js} +1 -1
- package/dist/assets/{ImagePreview.432fe959.js → ImagePreview.9f1ca37c.js} +1 -1
- package/dist/assets/Index.1213af19.js +1 -0
- package/dist/assets/{Index.defa508f.js → Index.20795650.js} +1 -1
- package/dist/assets/{Index.529d7b09.js → Index.27c941f1.js} +1 -1
- package/dist/assets/{Index.adc3ebf5.js → Index.296dfbf7.js} +1 -1
- package/dist/assets/{Index.adb84dc1.js → Index.3148cec6.js} +1 -1
- package/dist/assets/{Index.fa37277c.js → Index.3e2932ee.js} +1 -1
- package/dist/assets/{Index.4ac92698.js → Index.5adfb0d0.js} +1 -1
- package/dist/assets/{Index.b445d55e.js → Index.73f07d57.js} +1 -1
- package/dist/assets/{Index.9f6b0325.js → Index.7b659053.js} +1 -1
- package/dist/assets/Index.ab27db58.css +1 -0
- package/dist/assets/{Index.13d8ac82.js → Index.b8bd4825.js} +1 -1
- package/dist/assets/{Index.b5d45c6c.js → Index.d206c567.js} +1 -1
- package/dist/assets/{Index.1a601820.js → Index.e1d12436.js} +1 -1
- package/dist/assets/{Index.4558707e.js → Index.f3053043.js} +1 -1
- package/dist/assets/{InfoIcon.dc090df0.js → InfoIcon.196c3da4.js} +1 -1
- package/dist/assets/{Invitees.16fce8c1.js → Invitees.f9a96f8a.js} +1 -1
- package/dist/assets/{List.c3c21078.js → List.0ceffaa1.js} +1 -1
- package/dist/assets/{List.fc1b39d9.js → List.10930407.js} +1 -1
- package/dist/assets/{List.ca46f9d3.js → List.a8584a4c.js} +1 -1
- package/dist/assets/{Login.4307daa9.js → Login.4bfaab57.js} +1 -1
- package/dist/assets/{Main.fb88451b.js → Main.dfeeee90.js} +1 -1
- package/dist/assets/{Manage.a3953f22.js → Manage.758b85c3.js} +1 -1
- package/dist/assets/{MarkdownRenderer.3cc48d18.js → MarkdownRenderer.1992079c.js} +1 -1
- package/dist/assets/{Navigator.38ac2806.js → Navigator.01aa60e9.js} +1 -1
- package/dist/assets/{Pagination.f18f50ea.js → Pagination.70547a06.js} +1 -1
- package/dist/assets/Setting.d413b6bc.js +1 -0
- package/dist/assets/{Status.dfe496d9.js → Status.698a6d0d.js} +1 -1
- package/dist/assets/{Subscribe.d54e518e.js → Subscribe.f63a51f8.js} +1 -1
- package/dist/assets/chat.039f41ab.js +1 -0
- package/dist/assets/chat.190d6213.js +1 -0
- package/dist/assets/chat.201f4e60.js +1 -0
- package/dist/assets/chat.216e9d2f.js +1 -0
- package/dist/assets/chat.23df1fad.js +1 -0
- package/dist/assets/chat.2e944c72.js +1 -0
- package/dist/assets/chat.42f7c53a.js +1 -0
- package/dist/assets/chat.4c1d2be9.js +1 -0
- package/dist/assets/chat.4d6fb0b7.js +1 -0
- package/dist/assets/chat.4f3d72ff.js +1 -0
- package/dist/assets/chat.60c20e87.js +1 -0
- package/dist/assets/chat.8a3bed74.js +1 -0
- package/dist/assets/chat.8ff98cc4.js +1 -0
- package/dist/assets/chat.a93226eb.js +1 -0
- package/dist/assets/chat.b7160b6a.js +1 -0
- package/dist/assets/chat.b9c11df7.js +1 -0
- package/dist/assets/chat.c3e41b46.js +1 -0
- package/dist/assets/chat.fb693930.js +1 -0
- package/dist/assets/common.23e06008.js +1 -0
- package/dist/assets/common.5da504f9.js +1 -0
- package/dist/assets/{distribution.e98c1651.js → distribution.1b7e437f.js} +1 -1
- package/dist/assets/{index.66e73c9d.js → index.c730c2b9.js} +2 -2
- package/dist/assets/{order.8ba2e7e4.js → order.fc5e74fe.js} +1 -1
- package/dist/assets/{price.b517b0e3.js → price.9e0cff89.js} +1 -1
- package/dist/assets/vendor-@vue.45fbf692.js +25 -0
- package/dist/assets/{vendor-element-plus.b61d898b.js → vendor-element-plus.c03ee546.js} +1 -1
- package/dist/assets/{vendor-fortawesome.a228a0e7.js → vendor-fortawesome.936c0809.js} +1 -1
- package/dist/assets/{vendor-markdown.64d20655.js → vendor-markdown.5efe7c23.js} +1 -1
- package/dist/assets/{vendor-others.32a9cc65.js → vendor-others.6cb83326.js} +8 -8
- package/dist/assets/{vendor-qrcode.38ad4424.js → vendor-qrcode.32458641.js} +6 -6
- package/dist/index.html +7 -7
- package/package.json +2 -3
- package/dist/assets/Index.5f9ccb63.js +0 -1
- package/dist/assets/Index.c0022aa3.css +0 -1
- package/dist/assets/Setting.3cc1225c.js +0 -1
- package/dist/assets/chat.09140251.js +0 -1
- package/dist/assets/chat.1fe60e77.js +0 -1
- package/dist/assets/chat.3067849f.js +0 -1
- package/dist/assets/chat.396dbd35.js +0 -1
- package/dist/assets/chat.4180b1b3.js +0 -1
- package/dist/assets/chat.4d2060cf.js +0 -1
- package/dist/assets/chat.5de11f71.js +0 -1
- package/dist/assets/chat.6688a28b.js +0 -1
- package/dist/assets/chat.759ff1a9.js +0 -1
- package/dist/assets/chat.805c52e6.js +0 -1
- package/dist/assets/chat.8b247a31.js +0 -1
- package/dist/assets/chat.8fedcac0.js +0 -1
- package/dist/assets/chat.a52503b6.js +0 -1
- package/dist/assets/chat.af057bac.js +0 -1
- package/dist/assets/chat.af60f900.js +0 -1
- package/dist/assets/chat.b83bb01d.js +0 -1
- package/dist/assets/chat.cde8463f.js +0 -1
- package/dist/assets/chat.f5a431ae.js +0 -1
- package/dist/assets/common.19b3d84a.js +0 -1
- package/dist/assets/common.4747daff.js +0 -1
- package/dist/assets/vendor-@vue.30126b18.js +0 -39
- package/dist/assets/vendor-vue-dark-switch.90267f56.css +0 -1
- package/dist/assets/vendor-vue-dark-switch.bf0d8693.js +0 -269
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import"./vendor-others.32a9cc65.js";import{H as so,ah as M,X as Dt,y as xr,m as L,J as Ft,v as be,r as q,o as ve,e as mr,L as At,M as Lo,V as ko,I as Be,u as to,A as fr,s as $o,t as br,aa as vr,q as co,p as Ot,x as Wt,F as Sr,G as yr,l as Lt,a6 as kt,U as jt,n as Rt,_ as Hr,f as Pr,aJ as Et,C as _t}from"./vendor-@vue.30126b18.js";function K(o){return typeof o=="string"?o.endsWith("px")?Number(o.slice(0,o.length-2)):Number(o):o}function ne(o){if(o!=null)return typeof o=="number"?`${o}px`:o.endsWith("px")?o:`${o}px`}const De={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},ho="^\\s*",xo="\\s*$",lo="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",no="([0-9A-Fa-f])",io="([0-9A-Fa-f]{2})",Gt=new RegExp(`${ho}rgb\\s*\\(${lo},${lo},${lo}\\)${xo}`),Nt=new RegExp(`${ho}rgba\\s*\\(${lo},${lo},${lo},${lo}\\)${xo}`),Vt=new RegExp(`${ho}#${no}${no}${no}${xo}`),Ut=new RegExp(`${ho}#${io}${io}${io}${xo}`),qt=new RegExp(`${ho}#${no}${no}${no}${no}${xo}`),Qt=new RegExp(`${ho}#${io}${io}${io}${io}${xo}`);function G(o){return parseInt(o,16)}function X(o){try{let e;if(e=Ut.exec(o))return[G(e[1]),G(e[2]),G(e[3]),1];if(e=Gt.exec(o))return[E(e[1]),E(e[5]),E(e[9]),1];if(e=Nt.exec(o))return[E(e[1]),E(e[5]),E(e[9]),Io(e[13])];if(e=Vt.exec(o))return[G(e[1]+e[1]),G(e[2]+e[2]),G(e[3]+e[3]),1];if(e=Qt.exec(o))return[G(e[1]),G(e[2]),G(e[3]),Io(G(e[4])/255)];if(e=qt.exec(o))return[G(e[1]+e[1]),G(e[2]+e[2]),G(e[3]+e[3]),Io(G(e[4]+e[4])/255)];if(o in De)return X(De[o]);throw new Error(`[seemly/rgba]: Invalid color value ${o}.`)}catch(e){throw e}}function Jt(o){return o>1?1:o<0?0:o}function de(o,e,r,t){return`rgba(${E(o)}, ${E(e)}, ${E(r)}, ${Jt(t)})`}function ie(o,e,r,t,l){return E((o*e*(1-t)+r*t)/l)}function H(o,e){Array.isArray(o)||(o=X(o)),Array.isArray(e)||(e=X(e));const r=o[3],t=e[3],l=Io(r+t-r*t);return de(ie(o[0],r,e[0],t,l),ie(o[1],r,e[1],t,l),ie(o[2],r,e[2],t,l),l)}function v(o,e){const[r,t,l,n=1]=Array.isArray(o)?o:X(o);return e.alpha?de(r,t,l,e.alpha):de(r,t,l,n)}function W(o,e){const[r,t,l,n=1]=Array.isArray(o)?o:X(o),{lightness:i=1,alpha:a=1}=e;return Yt([r*i,t*i,l*i,n*a])}function Io(o){const e=Math.round(Number(o)*100)/100;return e>1?1:e<0?0:e}function E(o){const e=Math.round(Number(o));return e>255?255:e<0?0:e}function Yt(o){const[e,r,t]=o;return 3 in o?`rgba(${E(e)}, ${E(r)}, ${E(t)}, ${Io(o[3])})`:`rgba(${E(e)}, ${E(r)}, ${E(t)}, 1)`}function _o(o,...e){if(Array.isArray(o))o.forEach(r=>_o(r,...e));else return o(...e)}const Fe=new Set;function Kt(o,e){const r=`[naive/${o}]: ${e}`;Fe.has(r)||(Fe.add(r),console.error(r))}function Xt(o,e){console.error(`[naive/${o}]: ${e}`)}function wr(o,e){throw new Error(`[naive/${o}]: ${e}`)}function Se(o){return o.some(e=>Lt(e)?!(e.type===kt||e.type===jt&&!Se(e.children)):!0)?o:null}function ro(o,e){const r=o&&Se(o());return e(r||null)}function ae(o){return!(o&&Se(o()))}const Zt=/^(\d|\.)+$/,Ae=/(\d|\.)+/;function ol(o,{c:e=1,offset:r=0,attachPx:t=!0}={}){if(typeof o=="number"){const l=(o+r)*e;return l===0?"0":`${l}px`}else if(typeof o=="string")if(Zt.test(o)){const l=(Number(o)+r)*e;return t?l===0?"0":`${l}px`:`${l}`}else{const l=Ae.exec(o);return l?o.replace(Ae,String((Number(l[0])+r)*e)):o}return o}function el(o){let e=0;for(let r=0;r<o.length;++r)o[r]==="&"&&++e;return e}const zr=/\s*,(?![^(]*\))\s*/g,rl=/\s+/g;function tl(o,e){const r=[];return e.split(zr).forEach(t=>{let l=el(t);if(l){if(l===1){o.forEach(i=>{r.push(t.replace("&",i))});return}}else{o.forEach(i=>{r.push((i&&i+" ")+t)});return}let n=[t];for(;l--;){const i=[];n.forEach(a=>{o.forEach(c=>{i.push(a.replace("&",c))})}),n=i}n.forEach(i=>r.push(i))}),r}function ll(o,e){const r=[];return e.split(zr).forEach(t=>{o.forEach(l=>{r.push((l&&l+" ")+t)})}),r}function nl(o){let e=[""];return o.forEach(r=>{r=r&&r.trim(),r&&(r.includes("&")?e=tl(e,r):e=ll(e,r))}),e.join(", ").replace(rl," ")}function Oe(o){if(!o)return;const e=o.parentElement;e&&e.removeChild(o)}function ye(o){return document.querySelector(`style[cssr-id="${o}"]`)}function il(o){const e=document.createElement("style");return e.setAttribute("cssr-id",o),e}function jo(o){return o?/^\s*@(s|m)/.test(o):!1}const al=/[A-Z]/g;function Ir(o){return o.replace(al,e=>"-"+e.toLowerCase())}function sl(o,e=" "){return typeof o=="object"&&o!==null?` {
|
|
2
|
-
`+Object.entries(o).map(r=>e+` ${Ir(r[0])}: ${r[1]};`).join(`
|
|
3
|
-
`)+`
|
|
4
|
-
`+e+"}":`: ${o};`}function cl(o,e,r){return typeof o=="function"?o({context:e.context,props:r}):o}function We(o,e,r,t){if(!e)return"";const l=cl(e,r,t);if(!l)return"";if(typeof l=="string")return`${o} {
|
|
5
|
-
${l}
|
|
6
|
-
}`;const n=Object.keys(l);if(n.length===0)return r.config.keepEmptyBlock?o+` {
|
|
7
|
-
}`:"";const i=o?[o+" {"]:[];return n.forEach(a=>{const c=l[a];if(a==="raw"){i.push(`
|
|
8
|
-
`+c+`
|
|
9
|
-
`);return}a=Ir(a),c!=null&&i.push(` ${a}${sl(c)}`)}),o&&i.push("}"),i.join(`
|
|
10
|
-
`)}function pe(o,e,r){o&&o.forEach(t=>{if(Array.isArray(t))pe(t,e,r);else if(typeof t=="function"){const l=t(e);Array.isArray(l)?pe(l,e,r):l&&r(l)}else t&&r(t)})}function Tr(o,e,r,t,l,n){const i=o.$;let a="";if(!i||typeof i=="string")jo(i)?a=i:e.push(i);else if(typeof i=="function"){const s=i({context:t.context,props:l});jo(s)?a=s:e.push(s)}else if(i.before&&i.before(t.context),!i.$||typeof i.$=="string")jo(i.$)?a=i.$:e.push(i.$);else if(i.$){const s=i.$({context:t.context,props:l});jo(s)?a=s:e.push(s)}const c=nl(e),d=We(c,o.props,t,l);a?(r.push(`${a} {`),n&&d&&n.insertRule(`${a} {
|
|
11
|
-
${d}
|
|
12
|
-
}
|
|
13
|
-
`)):(n&&d&&n.insertRule(d),!n&&d.length&&r.push(d)),o.children&&pe(o.children,{context:t.context,props:l},s=>{if(typeof s=="string"){const p=We(c,{raw:s},t,l);n?n.insertRule(p):r.push(p)}else Tr(s,e,r,t,l,n)}),e.pop(),a&&r.push("}"),i&&i.after&&i.after(t.context)}function Mr(o,e,r,t=!1){const l=[];return Tr(o,[],l,e,r,t?o.instance.__styleSheet:void 0),t?"":l.join(`
|
|
14
|
-
|
|
15
|
-
`)}function ue(o){for(var e=0,r,t=0,l=o.length;l>=4;++t,l-=4)r=o.charCodeAt(t)&255|(o.charCodeAt(++t)&255)<<8|(o.charCodeAt(++t)&255)<<16|(o.charCodeAt(++t)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(l){case 3:e^=(o.charCodeAt(t+2)&255)<<16;case 2:e^=(o.charCodeAt(t+1)&255)<<8;case 1:e^=o.charCodeAt(t)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function dl(o,e,r){const{els:t}=e;if(r===void 0)t.forEach(Oe),e.els=[];else{const l=ye(r);l&&t.includes(l)&&(Oe(l),e.els=t.filter(n=>n!==l))}}function Le(o,e){o.push(e)}function pl(o,e,r,t,l,n,i,a,c){if(n&&!c){if(r===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const C=window.__cssrContext;C[r]||(C[r]=!0,Mr(e,o,t,n));return}let d;if(r===void 0&&(d=e.render(t),r=ue(d)),c){c.adapter(r,d!=null?d:e.render(t));return}const s=ye(r);if(s!==null&&!i)return s;const p=s!=null?s:il(r);if(d===void 0&&(d=e.render(t)),p.textContent=d,s!==null)return s;if(a){const C=document.head.querySelector(`meta[name="${a}"]`);if(C)return document.head.insertBefore(p,C),Le(e.els,p),p}return l?document.head.insertBefore(p,document.head.querySelector("style, link")):document.head.appendChild(p),Le(e.els,p),p}function ul(o){return Mr(this,this.instance,o)}function Cl(o={}){const{id:e,ssr:r,props:t,head:l=!1,silent:n=!1,force:i=!1,anchorMetaName:a}=o;return pl(this.instance,this,e,t,l,n,i,a,r)}function gl(o={}){const{id:e}=o;dl(this.instance,this,e)}const Ro=function(o,e,r,t){return{instance:o,$:e,props:r,children:t,els:[],render:ul,mount:Cl,unmount:gl}},hl=function(o,e,r,t){return Array.isArray(e)?Ro(o,{$:null},null,e):Array.isArray(r)?Ro(o,e,null,r):Array.isArray(t)?Ro(o,e,r,t):Ro(o,e,r,null)};function xl(o={}){let e=null;const r={c:(...t)=>hl(r,...t),use:(t,...l)=>t.install(r,...l),find:ye,context:{},config:o,get __styleSheet(){if(!e){const t=document.createElement("style");return document.head.appendChild(t),e=document.styleSheets[document.styleSheets.length-1],e}return e}};return r}function ml(o){let e=".",r="__",t="--",l;if(o){let s=o.blockPrefix;s&&(e=s),s=o.elementPrefix,s&&(r=s),s=o.modifierPrefix,s&&(t=s)}const n={install(s){l=s.c;const p=s.context;p.bem={},p.bem.b=null,p.bem.els=null}};function i(s){let p,C;return{before(u){p=u.bem.b,C=u.bem.els,u.bem.els=null},after(u){u.bem.b=p,u.bem.els=C},$({context:u,props:g}){return s=typeof s=="string"?s:s({context:u,props:g}),u.bem.b=s,`${(g==null?void 0:g.bPrefix)||e}${u.bem.b}`}}}function a(s){let p;return{before(C){p=C.bem.els},after(C){C.bem.els=p},$({context:C,props:u}){return s=typeof s=="string"?s:s({context:C,props:u}),C.bem.els=s.split(",").map(g=>g.trim()),C.bem.els.map(g=>`${(u==null?void 0:u.bPrefix)||e}${C.bem.b}${r}${g}`).join(", ")}}}function c(s){return{$({context:p,props:C}){s=typeof s=="string"?s:s({context:p,props:C});const u=s.split(",").map(S=>S.trim());function g(S){return u.map(f=>`&${(C==null?void 0:C.bPrefix)||e}${p.bem.b}${S!==void 0?`${r}${S}`:""}${t}${f}`).join(", ")}const b=p.bem.els;if(b!==null){if(b.length>=2)throw Error(`[css-render/plugin-bem]: m(${s}) is invalid, using modifier inside multiple elements is not allowed`);return g(b[0])}else return g()}}}function d(s){return{$({context:p,props:C}){s=typeof s=="string"?s:s({context:p,props:C});const u=p.bem.els;if(u!==null&&u.length>=2)throw Error(`[css-render/plugin-bem]: notM(${s}) is invalid, using modifier inside multiple elements is not allowed`);return`&:not(${(C==null?void 0:C.bPrefix)||e}${p.bem.b}${u!==null&&u.length>0?`${r}${u[0]}`:""}${t}${s})`}}}return Object.assign(n,{cB:(...s)=>l(i(s[0]),s[1],s[2]),cE:(...s)=>l(a(s[0]),s[1],s[2]),cM:(...s)=>l(c(s[0]),s[1],s[2]),cNotM:(...s)=>l(d(s[0]),s[1],s[2])}),n}function eo(o,e){return o+(e==="default"?"":e.replace(/^[a-z]/,r=>r.toUpperCase()))}eo("abc","def");const fl="n",bl=`.${fl}-`,vl="__",Sl="--",$r=xl(),Br=ml({blockPrefix:bl,elementPrefix:vl,modifierPrefix:Sl});$r.use(Br);const{c:_,find:pC}=$r,{cB:Go,cE:w,cM:J,cNotM:ke}=Br;function yl(o,e){return $o(o,r=>{r!==void 0&&(e.value=r)}),L(()=>o.value===void 0?e.value:o.value)}function Hl(){const o=q(!1);return br(()=>{o.value=!0}),vr(o)}const Dr=Symbol("@css-render/vue3-ssr");function Pl(o,e){return`<style cssr-id="${o}">
|
|
16
|
-
${e}
|
|
17
|
-
</style>`}function wl(o,e){const r=co(Dr,null);if(r===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:t,ids:l}=r;l.has(o)||t!==null&&(l.add(o),t.push(Pl(o,e)))}const zl=typeof document<"u";function He(){if(zl)return;const o=co(Dr,null);if(o!==null)return{adapter:wl,context:o}}const je="n-form-item";function Il(o,{defaultSize:e="medium",mergedSize:r,mergedDisabled:t}={}){const l=co(je,null);Ot(je,null);const n=L(r?()=>r(l):()=>{const{size:c}=o;if(c)return c;if(l){const{mergedSize:d}=l;if(d.value!==void 0)return d.value}return e}),i=L(t?()=>t(l):()=>{const{disabled:c}=o;return c!==void 0?c:l?l.disabled.value:!1}),a=L(()=>{const{status:c}=o;return c||(l==null?void 0:l.mergedValidationStatus.value)});return Wt(()=>{l&&l.restoreValidation()}),{mergedSizeRef:n,mergedDisabledRef:i,mergedStatusRef:a,nTriggerFormBlur(){l&&l.handleContentBlur()},nTriggerFormChange(){l&&l.handleContentChange()},nTriggerFormFocus(){l&&l.handleContentFocus()},nTriggerFormInput(){l&&l.handleContentInput()}}}var Tl=typeof global=="object"&&global&&global.Object===Object&&global;const Fr=Tl;var Ml=typeof self=="object"&&self&&self.Object===Object&&self,$l=Fr||Ml||Function("return this")();const mo=$l;var Bl=mo.Symbol;const No=Bl;var Ar=Object.prototype,Dl=Ar.hasOwnProperty,Fl=Ar.toString,wo=No?No.toStringTag:void 0;function Al(o){var e=Dl.call(o,wo),r=o[wo];try{o[wo]=void 0;var t=!0}catch{}var l=Fl.call(o);return t&&(e?o[wo]=r:delete o[wo]),l}var Ol=Object.prototype,Wl=Ol.toString;function Ll(o){return Wl.call(o)}var kl="[object Null]",jl="[object Undefined]",Re=No?No.toStringTag:void 0;function Jo(o){return o==null?o===void 0?jl:kl:Re&&Re in Object(o)?Al(o):Ll(o)}function Fo(o){return o!=null&&typeof o=="object"}var Rl=Array.isArray;const Ce=Rl;function po(o){var e=typeof o;return o!=null&&(e=="object"||e=="function")}function Or(o){return o}var El="[object AsyncFunction]",_l="[object Function]",Gl="[object GeneratorFunction]",Nl="[object Proxy]";function Pe(o){if(!po(o))return!1;var e=Jo(o);return e==_l||e==Gl||e==El||e==Nl}var Vl=mo["__core-js_shared__"];const se=Vl;var Ee=function(){var o=/[^.]+$/.exec(se&&se.keys&&se.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function Ul(o){return!!Ee&&Ee in o}var ql=Function.prototype,Ql=ql.toString;function Jl(o){if(o!=null){try{return Ql.call(o)}catch{}try{return o+""}catch{}}return""}var Yl=/[\\^$.*+?()[\]{}|]/g,Kl=/^\[object .+?Constructor\]$/,Xl=Function.prototype,Zl=Object.prototype,on=Xl.toString,en=Zl.hasOwnProperty,rn=RegExp("^"+on.call(en).replace(Yl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function tn(o){if(!po(o)||Ul(o))return!1;var e=Pe(o)?rn:Kl;return e.test(Jl(o))}function ln(o,e){return o==null?void 0:o[e]}function we(o,e){var r=ln(o,e);return tn(r)?r:void 0}var _e=Object.create,nn=function(){function o(){}return function(e){if(!po(e))return{};if(_e)return _e(e);o.prototype=e;var r=new o;return o.prototype=void 0,r}}();const an=nn;function sn(o,e,r){switch(r.length){case 0:return o.call(e);case 1:return o.call(e,r[0]);case 2:return o.call(e,r[0],r[1]);case 3:return o.call(e,r[0],r[1],r[2])}return o.apply(e,r)}function cn(o,e){var r=-1,t=o.length;for(e||(e=Array(t));++r<t;)e[r]=o[r];return e}var dn=800,pn=16,un=Date.now;function Cn(o){var e=0,r=0;return function(){var t=un(),l=pn-(t-r);if(r=t,l>0){if(++e>=dn)return arguments[0]}else e=0;return o.apply(void 0,arguments)}}function gn(o){return function(){return o}}var hn=function(){try{var o=we(Object,"defineProperty");return o({},"",{}),o}catch{}}();const Vo=hn;var xn=Vo?function(o,e){return Vo(o,"toString",{configurable:!0,enumerable:!1,value:gn(e),writable:!0})}:Or;const mn=xn;var fn=Cn(mn);const bn=fn;var vn=9007199254740991,Sn=/^(?:0|[1-9]\d*)$/;function Wr(o,e){var r=typeof o;return e=e!=null?e:vn,!!e&&(r=="number"||r!="symbol"&&Sn.test(o))&&o>-1&&o%1==0&&o<e}function ze(o,e,r){e=="__proto__"&&Vo?Vo(o,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):o[e]=r}function Yo(o,e){return o===e||o!==o&&e!==e}var yn=Object.prototype,Hn=yn.hasOwnProperty;function Pn(o,e,r){var t=o[e];(!(Hn.call(o,e)&&Yo(t,r))||r===void 0&&!(e in o))&&ze(o,e,r)}function wn(o,e,r,t){var l=!r;r||(r={});for(var n=-1,i=e.length;++n<i;){var a=e[n],c=t?t(r[a],o[a],a,r,o):void 0;c===void 0&&(c=o[a]),l?ze(r,a,c):Pn(r,a,c)}return r}var Ge=Math.max;function zn(o,e,r){return e=Ge(e===void 0?o.length-1:e,0),function(){for(var t=arguments,l=-1,n=Ge(t.length-e,0),i=Array(n);++l<n;)i[l]=t[e+l];l=-1;for(var a=Array(e+1);++l<e;)a[l]=t[l];return a[e]=r(i),sn(o,this,a)}}function In(o,e){return bn(zn(o,e,Or),o+"")}var Tn=9007199254740991;function Lr(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=Tn}function Ie(o){return o!=null&&Lr(o.length)&&!Pe(o)}function Mn(o,e,r){if(!po(r))return!1;var t=typeof e;return(t=="number"?Ie(r)&&Wr(e,r.length):t=="string"&&e in r)?Yo(r[e],o):!1}function $n(o){return In(function(e,r){var t=-1,l=r.length,n=l>1?r[l-1]:void 0,i=l>2?r[2]:void 0;for(n=o.length>3&&typeof n=="function"?(l--,n):void 0,i&&Mn(r[0],r[1],i)&&(n=l<3?void 0:n,l=1),e=Object(e);++t<l;){var a=r[t];a&&o(e,a,t,n)}return e})}var Bn=Object.prototype;function kr(o){var e=o&&o.constructor,r=typeof e=="function"&&e.prototype||Bn;return o===r}function Dn(o,e){for(var r=-1,t=Array(o);++r<o;)t[r]=e(r);return t}var Fn="[object Arguments]";function Ne(o){return Fo(o)&&Jo(o)==Fn}var jr=Object.prototype,An=jr.hasOwnProperty,On=jr.propertyIsEnumerable,Wn=Ne(function(){return arguments}())?Ne:function(o){return Fo(o)&&An.call(o,"callee")&&!On.call(o,"callee")};const ge=Wn;function Ln(){return!1}var Rr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ve=Rr&&typeof module=="object"&&module&&!module.nodeType&&module,kn=Ve&&Ve.exports===Rr,Ue=kn?mo.Buffer:void 0,jn=Ue?Ue.isBuffer:void 0,Rn=jn||Ln;const Er=Rn;var En="[object Arguments]",_n="[object Array]",Gn="[object Boolean]",Nn="[object Date]",Vn="[object Error]",Un="[object Function]",qn="[object Map]",Qn="[object Number]",Jn="[object Object]",Yn="[object RegExp]",Kn="[object Set]",Xn="[object String]",Zn="[object WeakMap]",oi="[object ArrayBuffer]",ei="[object DataView]",ri="[object Float32Array]",ti="[object Float64Array]",li="[object Int8Array]",ni="[object Int16Array]",ii="[object Int32Array]",ai="[object Uint8Array]",si="[object Uint8ClampedArray]",ci="[object Uint16Array]",di="[object Uint32Array]",D={};D[ri]=D[ti]=D[li]=D[ni]=D[ii]=D[ai]=D[si]=D[ci]=D[di]=!0;D[En]=D[_n]=D[oi]=D[Gn]=D[ei]=D[Nn]=D[Vn]=D[Un]=D[qn]=D[Qn]=D[Jn]=D[Yn]=D[Kn]=D[Xn]=D[Zn]=!1;function pi(o){return Fo(o)&&Lr(o.length)&&!!D[Jo(o)]}function ui(o){return function(e){return o(e)}}var _r=typeof exports=="object"&&exports&&!exports.nodeType&&exports,To=_r&&typeof module=="object"&&module&&!module.nodeType&&module,Ci=To&&To.exports===_r,ce=Ci&&Fr.process,gi=function(){try{var o=To&&To.require&&To.require("util").types;return o||ce&&ce.binding&&ce.binding("util")}catch{}}();const qe=gi;var Qe=qe&&qe.isTypedArray,hi=Qe?ui(Qe):pi;const Gr=hi;var xi=Object.prototype,mi=xi.hasOwnProperty;function fi(o,e){var r=Ce(o),t=!r&&ge(o),l=!r&&!t&&Er(o),n=!r&&!t&&!l&&Gr(o),i=r||t||l||n,a=i?Dn(o.length,String):[],c=a.length;for(var d in o)(e||mi.call(o,d))&&!(i&&(d=="length"||l&&(d=="offset"||d=="parent")||n&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Wr(d,c)))&&a.push(d);return a}function bi(o,e){return function(r){return o(e(r))}}function vi(o){var e=[];if(o!=null)for(var r in Object(o))e.push(r);return e}var Si=Object.prototype,yi=Si.hasOwnProperty;function Hi(o){if(!po(o))return vi(o);var e=kr(o),r=[];for(var t in o)t=="constructor"&&(e||!yi.call(o,t))||r.push(t);return r}function Nr(o){return Ie(o)?fi(o,!0):Hi(o)}var Pi=we(Object,"create");const Bo=Pi;function wi(){this.__data__=Bo?Bo(null):{},this.size=0}function zi(o){var e=this.has(o)&&delete this.__data__[o];return this.size-=e?1:0,e}var Ii="__lodash_hash_undefined__",Ti=Object.prototype,Mi=Ti.hasOwnProperty;function $i(o){var e=this.__data__;if(Bo){var r=e[o];return r===Ii?void 0:r}return Mi.call(e,o)?e[o]:void 0}var Bi=Object.prototype,Di=Bi.hasOwnProperty;function Fi(o){var e=this.__data__;return Bo?e[o]!==void 0:Di.call(e,o)}var Ai="__lodash_hash_undefined__";function Oi(o,e){var r=this.__data__;return this.size+=this.has(o)?0:1,r[o]=Bo&&e===void 0?Ai:e,this}function ao(o){var e=-1,r=o==null?0:o.length;for(this.clear();++e<r;){var t=o[e];this.set(t[0],t[1])}}ao.prototype.clear=wi;ao.prototype.delete=zi;ao.prototype.get=$i;ao.prototype.has=Fi;ao.prototype.set=Oi;function Wi(){this.__data__=[],this.size=0}function Ko(o,e){for(var r=o.length;r--;)if(Yo(o[r][0],e))return r;return-1}var Li=Array.prototype,ki=Li.splice;function ji(o){var e=this.__data__,r=Ko(e,o);if(r<0)return!1;var t=e.length-1;return r==t?e.pop():ki.call(e,r,1),--this.size,!0}function Ri(o){var e=this.__data__,r=Ko(e,o);return r<0?void 0:e[r][1]}function Ei(o){return Ko(this.__data__,o)>-1}function _i(o,e){var r=this.__data__,t=Ko(r,o);return t<0?(++this.size,r.push([o,e])):r[t][1]=e,this}function Z(o){var e=-1,r=o==null?0:o.length;for(this.clear();++e<r;){var t=o[e];this.set(t[0],t[1])}}Z.prototype.clear=Wi;Z.prototype.delete=ji;Z.prototype.get=Ri;Z.prototype.has=Ei;Z.prototype.set=_i;var Gi=we(mo,"Map");const Vr=Gi;function Ni(){this.size=0,this.__data__={hash:new ao,map:new(Vr||Z),string:new ao}}function Vi(o){var e=typeof o;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?o!=="__proto__":o===null}function Xo(o,e){var r=o.__data__;return Vi(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Ui(o){var e=Xo(this,o).delete(o);return this.size-=e?1:0,e}function qi(o){return Xo(this,o).get(o)}function Qi(o){return Xo(this,o).has(o)}function Ji(o,e){var r=Xo(this,o),t=r.size;return r.set(o,e),this.size+=r.size==t?0:1,this}function fo(o){var e=-1,r=o==null?0:o.length;for(this.clear();++e<r;){var t=o[e];this.set(t[0],t[1])}}fo.prototype.clear=Ni;fo.prototype.delete=Ui;fo.prototype.get=qi;fo.prototype.has=Qi;fo.prototype.set=Ji;var Yi=bi(Object.getPrototypeOf,Object);const Ur=Yi;var Ki="[object Object]",Xi=Function.prototype,Zi=Object.prototype,qr=Xi.toString,oa=Zi.hasOwnProperty,ea=qr.call(Object);function ra(o){if(!Fo(o)||Jo(o)!=Ki)return!1;var e=Ur(o);if(e===null)return!0;var r=oa.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&qr.call(r)==ea}function ta(){this.__data__=new Z,this.size=0}function la(o){var e=this.__data__,r=e.delete(o);return this.size=e.size,r}function na(o){return this.__data__.get(o)}function ia(o){return this.__data__.has(o)}var aa=200;function sa(o,e){var r=this.__data__;if(r instanceof Z){var t=r.__data__;if(!Vr||t.length<aa-1)return t.push([o,e]),this.size=++r.size,this;r=this.__data__=new fo(t)}return r.set(o,e),this.size=r.size,this}function bo(o){var e=this.__data__=new Z(o);this.size=e.size}bo.prototype.clear=ta;bo.prototype.delete=la;bo.prototype.get=na;bo.prototype.has=ia;bo.prototype.set=sa;var Qr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Je=Qr&&typeof module=="object"&&module&&!module.nodeType&&module,ca=Je&&Je.exports===Qr,Ye=ca?mo.Buffer:void 0,Ke=Ye?Ye.allocUnsafe:void 0;function da(o,e){if(e)return o.slice();var r=o.length,t=Ke?Ke(r):new o.constructor(r);return o.copy(t),t}var pa=mo.Uint8Array;const Xe=pa;function ua(o){var e=new o.constructor(o.byteLength);return new Xe(e).set(new Xe(o)),e}function Ca(o,e){var r=e?ua(o.buffer):o.buffer;return new o.constructor(r,o.byteOffset,o.length)}function ga(o){return typeof o.constructor=="function"&&!kr(o)?an(Ur(o)):{}}function ha(o){return function(e,r,t){for(var l=-1,n=Object(e),i=t(e),a=i.length;a--;){var c=i[o?a:++l];if(r(n[c],c,n)===!1)break}return e}}var xa=ha();const ma=xa;function he(o,e,r){(r!==void 0&&!Yo(o[e],r)||r===void 0&&!(e in o))&&ze(o,e,r)}function fa(o){return Fo(o)&&Ie(o)}function xe(o,e){if(!(e==="constructor"&&typeof o[e]=="function")&&e!="__proto__")return o[e]}function ba(o){return wn(o,Nr(o))}function va(o,e,r,t,l,n,i){var a=xe(o,r),c=xe(e,r),d=i.get(c);if(d){he(o,r,d);return}var s=n?n(a,c,r+"",o,e,i):void 0,p=s===void 0;if(p){var C=Ce(c),u=!C&&Er(c),g=!C&&!u&&Gr(c);s=c,C||u||g?Ce(a)?s=a:fa(a)?s=cn(a):u?(p=!1,s=da(c,!0)):g?(p=!1,s=Ca(c,!0)):s=[]:ra(c)||ge(c)?(s=a,ge(a)?s=ba(a):(!po(a)||Pe(a))&&(s=ga(c))):p=!1}p&&(i.set(c,s),l(s,c,t,n,i),i.delete(c)),he(o,r,s)}function Jr(o,e,r,t,l){o!==e&&ma(e,function(n,i){if(l||(l=new bo),po(n))va(o,e,i,r,Jr,t,l);else{var a=t?t(xe(o,i),n,i+"",o,e,l):void 0;a===void 0&&(a=n),he(o,i,a)}},Nr)}var Sa=$n(function(o,e,r){Jr(o,e,r)});const Eo=Sa,Zo={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:ya,fontFamily:Ha,lineHeight:Pa}=Zo,Yr=_("body",`
|
|
18
|
-
margin: 0;
|
|
19
|
-
font-size: ${ya};
|
|
20
|
-
font-family: ${Ha};
|
|
21
|
-
line-height: ${Pa};
|
|
22
|
-
-webkit-text-size-adjust: 100%;
|
|
23
|
-
-webkit-tap-highlight-color: transparent;
|
|
24
|
-
`,[_("input",`
|
|
25
|
-
font-family: inherit;
|
|
26
|
-
font-size: inherit;
|
|
27
|
-
`)]),oe="n-config-provider",Uo="naive-ui-style";function Ao(o,e,r,t,l,n){const i=He(),a=co(oe,null);if(r){const c=()=>{const d=n==null?void 0:n.value;r.mount({id:d===void 0?e:d+e,head:!0,props:{bPrefix:d?`.${d}-`:void 0},anchorMetaName:Uo,ssr:i}),a!=null&&a.preflightStyleDisabled||Yr.mount({id:"n-global",head:!0,anchorMetaName:Uo,ssr:i})};i?c():Sr(c)}return L(()=>{var c;const{theme:{common:d,self:s,peers:p={}}={},themeOverrides:C={},builtinThemeOverrides:u={}}=l,{common:g,peers:b}=C,{common:S=void 0,[o]:{common:f=void 0,self:P=void 0,peers:I={}}={}}=(a==null?void 0:a.mergedThemeRef.value)||{},{common:F=void 0,[o]:B={}}=(a==null?void 0:a.mergedThemeOverridesRef.value)||{},{common:A,peers:$={}}=B,m=Eo({},d||f||S||t.common,F,A,g),z=Eo((c=s||P||t.self)===null||c===void 0?void 0:c(m),u,B,C);return{common:m,self:z,peers:Eo({},t.peers,I,p),peerOverrides:Eo({},u.peers,$,b)}})}Ao.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const wa="n";function Kr(o={},e={defaultBordered:!0}){const r=co(oe,null);return{inlineThemeDisabled:r==null?void 0:r.inlineThemeDisabled,mergedRtlRef:r==null?void 0:r.mergedRtlRef,mergedComponentPropsRef:r==null?void 0:r.mergedComponentPropsRef,mergedBreakpointsRef:r==null?void 0:r.mergedBreakpointsRef,mergedBorderedRef:L(()=>{var t,l;const{bordered:n}=o;return n!==void 0?n:(l=(t=r==null?void 0:r.mergedBorderedRef.value)!==null&&t!==void 0?t:e.defaultBordered)!==null&&l!==void 0?l:!0}),mergedClsPrefixRef:r?r.mergedClsPrefixRef:yr(wa),namespaceRef:L(()=>r==null?void 0:r.mergedNamespaceRef.value)}}function za(o,e,r){if(!e){wr("use-style","No style is specified.");return}const t=He(),l=co(oe,null),n=()=>{const i=r.value;e.mount({id:i===void 0?o:i+o,head:!0,anchorMetaName:Uo,props:{bPrefix:i?`.${i}-`:void 0},ssr:t}),l!=null&&l.preflightStyleDisabled||Yr.mount({id:"n-global",head:!0,anchorMetaName:Uo,ssr:t})};t?n():Sr(n)}function Xr(o,e,r,t){var l;r||wr("useThemeClass","cssVarsRef is not passed");const n=(l=co(oe,null))===null||l===void 0?void 0:l.mergedThemeHashRef,i=q(""),a=He();let c;const d=`__${o}`,s=()=>{let p=d;const C=e?e.value:void 0,u=n==null?void 0:n.value;u&&(p+="-"+u),C&&(p+="-"+C);const{themeOverrides:g,builtinThemeOverrides:b}=t;g&&(p+="-"+ue(JSON.stringify(g))),b&&(p+="-"+ue(JSON.stringify(b))),i.value=p,c=()=>{const S=r.value;let f="";for(const P in S)f+=`${P}: ${S[P]};`;_(`.${p}`,f).mount({id:p,ssr:a}),c=void 0}};return be(()=>{s()}),{themeClass:i,onRender:()=>{c==null||c()}}}const Zr=so({name:"BaseIconSwitchTransition",setup(o,{slots:e}){const r=Hl();return()=>M(Dt,{name:"icon-switch-transition",appear:r.value},e)}}),{cubicBezierEaseInOut:Ia}=Zo;function qo({originalTransform:o="",left:e=0,top:r=0,transition:t=`all .3s ${Ia} !important`}={}){return[_("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:o+" scale(0.75)",left:e,top:r,opacity:0}),_("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${o}`,left:e,top:r,opacity:1}),_("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:e,top:r,transition:t})]}const Ta=_([_("@keyframes loading-container-rotate",`
|
|
28
|
-
to {
|
|
29
|
-
-webkit-transform: rotate(360deg);
|
|
30
|
-
transform: rotate(360deg);
|
|
31
|
-
}
|
|
32
|
-
`),_("@keyframes loading-layer-rotate",`
|
|
33
|
-
12.5% {
|
|
34
|
-
-webkit-transform: rotate(135deg);
|
|
35
|
-
transform: rotate(135deg);
|
|
36
|
-
}
|
|
37
|
-
25% {
|
|
38
|
-
-webkit-transform: rotate(270deg);
|
|
39
|
-
transform: rotate(270deg);
|
|
40
|
-
}
|
|
41
|
-
37.5% {
|
|
42
|
-
-webkit-transform: rotate(405deg);
|
|
43
|
-
transform: rotate(405deg);
|
|
44
|
-
}
|
|
45
|
-
50% {
|
|
46
|
-
-webkit-transform: rotate(540deg);
|
|
47
|
-
transform: rotate(540deg);
|
|
48
|
-
}
|
|
49
|
-
62.5% {
|
|
50
|
-
-webkit-transform: rotate(675deg);
|
|
51
|
-
transform: rotate(675deg);
|
|
52
|
-
}
|
|
53
|
-
75% {
|
|
54
|
-
-webkit-transform: rotate(810deg);
|
|
55
|
-
transform: rotate(810deg);
|
|
56
|
-
}
|
|
57
|
-
87.5% {
|
|
58
|
-
-webkit-transform: rotate(945deg);
|
|
59
|
-
transform: rotate(945deg);
|
|
60
|
-
}
|
|
61
|
-
100% {
|
|
62
|
-
-webkit-transform: rotate(1080deg);
|
|
63
|
-
transform: rotate(1080deg);
|
|
64
|
-
}
|
|
65
|
-
`),_("@keyframes loading-left-spin",`
|
|
66
|
-
from {
|
|
67
|
-
-webkit-transform: rotate(265deg);
|
|
68
|
-
transform: rotate(265deg);
|
|
69
|
-
}
|
|
70
|
-
50% {
|
|
71
|
-
-webkit-transform: rotate(130deg);
|
|
72
|
-
transform: rotate(130deg);
|
|
73
|
-
}
|
|
74
|
-
to {
|
|
75
|
-
-webkit-transform: rotate(265deg);
|
|
76
|
-
transform: rotate(265deg);
|
|
77
|
-
}
|
|
78
|
-
`),_("@keyframes loading-right-spin",`
|
|
79
|
-
from {
|
|
80
|
-
-webkit-transform: rotate(-265deg);
|
|
81
|
-
transform: rotate(-265deg);
|
|
82
|
-
}
|
|
83
|
-
50% {
|
|
84
|
-
-webkit-transform: rotate(-130deg);
|
|
85
|
-
transform: rotate(-130deg);
|
|
86
|
-
}
|
|
87
|
-
to {
|
|
88
|
-
-webkit-transform: rotate(-265deg);
|
|
89
|
-
transform: rotate(-265deg);
|
|
90
|
-
}
|
|
91
|
-
`),Go("base-loading",`
|
|
92
|
-
position: relative;
|
|
93
|
-
line-height: 0;
|
|
94
|
-
width: 1em;
|
|
95
|
-
height: 1em;
|
|
96
|
-
`,[w("transition-wrapper",`
|
|
97
|
-
position: absolute;
|
|
98
|
-
width: 100%;
|
|
99
|
-
height: 100%;
|
|
100
|
-
`,[qo()]),w("container",`
|
|
101
|
-
display: inline-flex;
|
|
102
|
-
position: relative;
|
|
103
|
-
direction: ltr;
|
|
104
|
-
line-height: 0;
|
|
105
|
-
animation: loading-container-rotate 1568.2352941176ms linear infinite;
|
|
106
|
-
font-size: 0;
|
|
107
|
-
letter-spacing: 0;
|
|
108
|
-
white-space: nowrap;
|
|
109
|
-
opacity: 1;
|
|
110
|
-
width: 100%;
|
|
111
|
-
height: 100%;
|
|
112
|
-
`,[w("svg",`
|
|
113
|
-
stroke: var(--n-text-color);
|
|
114
|
-
fill: transparent;
|
|
115
|
-
position: absolute;
|
|
116
|
-
height: 100%;
|
|
117
|
-
overflow: hidden;
|
|
118
|
-
`),w("container-layer",`
|
|
119
|
-
position: absolute;
|
|
120
|
-
width: 100%;
|
|
121
|
-
height: 100%;
|
|
122
|
-
animation: loading-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
|
123
|
-
`,[w("container-layer-left",`
|
|
124
|
-
display: inline-flex;
|
|
125
|
-
position: relative;
|
|
126
|
-
width: 50%;
|
|
127
|
-
height: 100%;
|
|
128
|
-
overflow: hidden;
|
|
129
|
-
`,[w("svg",`
|
|
130
|
-
animation: loading-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
|
131
|
-
width: 200%;
|
|
132
|
-
`)]),w("container-layer-patch",`
|
|
133
|
-
position: absolute;
|
|
134
|
-
top: 0;
|
|
135
|
-
left: 47.5%;
|
|
136
|
-
box-sizing: border-box;
|
|
137
|
-
width: 5%;
|
|
138
|
-
height: 100%;
|
|
139
|
-
overflow: hidden;
|
|
140
|
-
`,[w("svg",`
|
|
141
|
-
left: -900%;
|
|
142
|
-
width: 2000%;
|
|
143
|
-
transform: rotate(180deg);
|
|
144
|
-
`)]),w("container-layer-right",`
|
|
145
|
-
display: inline-flex;
|
|
146
|
-
position: relative;
|
|
147
|
-
width: 50%;
|
|
148
|
-
height: 100%;
|
|
149
|
-
overflow: hidden;
|
|
150
|
-
`,[w("svg",`
|
|
151
|
-
animation: loading-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
|
|
152
|
-
left: -100%;
|
|
153
|
-
width: 200%;
|
|
154
|
-
`)])])]),w("placeholder",`
|
|
155
|
-
position: absolute;
|
|
156
|
-
left: 50%;
|
|
157
|
-
top: 50%;
|
|
158
|
-
transform: translateX(-50%) translateY(-50%);
|
|
159
|
-
`,[qo({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]),Ma={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},$a=so({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}},Ma),setup(o){za("-base-loading",Ta,xr(o,"clsPrefix"))},render(){const{clsPrefix:o,radius:e,strokeWidth:r,stroke:t,scale:l}=this,n=e/l;return M("div",{class:`${o}-base-loading`,role:"img","aria-label":"loading"},M(Zr,null,{default:()=>this.show?M("div",{key:"icon",class:`${o}-base-loading__transition-wrapper`},M("div",{class:`${o}-base-loading__container`},M("div",{class:`${o}-base-loading__container-layer`},M("div",{class:`${o}-base-loading__container-layer-left`},M("svg",{class:`${o}-base-loading__svg`,viewBox:`0 0 ${2*n} ${2*n}`,xmlns:"http://www.w3.org/2000/svg",style:{color:t}},M("circle",{fill:"none",stroke:"currentColor","stroke-width":r,"stroke-linecap":"round",cx:n,cy:n,r:e-r/2,"stroke-dasharray":4.91*e,"stroke-dashoffset":2.46*e}))),M("div",{class:`${o}-base-loading__container-layer-patch`},M("svg",{class:`${o}-base-loading__svg`,viewBox:`0 0 ${2*n} ${2*n}`,xmlns:"http://www.w3.org/2000/svg",style:{color:t}},M("circle",{fill:"none",stroke:"currentColor","stroke-width":r,"stroke-linecap":"round",cx:n,cy:n,r:e-r/2,"stroke-dasharray":4.91*e,"stroke-dashoffset":2.46*e}))),M("div",{class:`${o}-base-loading__container-layer-right`},M("svg",{class:`${o}-base-loading__svg`,viewBox:`0 0 ${2*n} ${2*n}`,xmlns:"http://www.w3.org/2000/svg",style:{color:t}},M("circle",{fill:"none",stroke:"currentColor","stroke-width":r,"stroke-linecap":"round",cx:n,cy:n,r:e-r/2,"stroke-dasharray":4.91*e,"stroke-dashoffset":2.46*e})))))):M("div",{key:"placeholder",class:`${o}-base-loading__placeholder`},this.$slots)}))}}),x={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},Ba=X(x.neutralBase),ot=X(x.neutralInvertBase),Da="rgba("+ot.slice(0,3).join(", ")+", ";function T(o){return Da+String(o)+")"}function Fa(o){const e=Array.from(ot);return e[3]=Number(o),H(Ba,e)}const Aa=Object.assign(Object.assign({name:"common"},Zo),{baseColor:x.neutralBase,primaryColor:x.primaryDefault,primaryColorHover:x.primaryHover,primaryColorPressed:x.primaryActive,primaryColorSuppl:x.primarySuppl,infoColor:x.infoDefault,infoColorHover:x.infoHover,infoColorPressed:x.infoActive,infoColorSuppl:x.infoSuppl,successColor:x.successDefault,successColorHover:x.successHover,successColorPressed:x.successActive,successColorSuppl:x.successSuppl,warningColor:x.warningDefault,warningColorHover:x.warningHover,warningColorPressed:x.warningActive,warningColorSuppl:x.warningSuppl,errorColor:x.errorDefault,errorColorHover:x.errorHover,errorColorPressed:x.errorActive,errorColorSuppl:x.errorSuppl,textColorBase:x.neutralTextBase,textColor1:T(x.alpha1),textColor2:T(x.alpha2),textColor3:T(x.alpha3),textColorDisabled:T(x.alpha4),placeholderColor:T(x.alpha4),placeholderColorDisabled:T(x.alpha5),iconColor:T(x.alpha4),iconColorDisabled:T(x.alpha5),iconColorHover:T(Number(x.alpha4)*1.25),iconColorPressed:T(Number(x.alpha4)*.8),opacity1:x.alpha1,opacity2:x.alpha2,opacity3:x.alpha3,opacity4:x.alpha4,opacity5:x.alpha5,dividerColor:T(x.alphaDivider),borderColor:T(x.alphaBorder),closeIconColorHover:T(Number(x.alphaClose)),closeIconColor:T(Number(x.alphaClose)),closeIconColorPressed:T(Number(x.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:T(x.alpha4),clearColorHover:W(T(x.alpha4),{alpha:1.25}),clearColorPressed:W(T(x.alpha4),{alpha:.8}),scrollbarColor:T(x.alphaScrollbar),scrollbarColorHover:T(x.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:T(x.alphaProgressRail),railColor:T(x.alphaRail),popoverColor:x.neutralPopover,tableColor:x.neutralCard,cardColor:x.neutralCard,modalColor:x.neutralModal,bodyColor:x.neutralBody,tagColor:Fa(x.alphaTag),avatarColor:T(x.alphaAvatar),invertedColor:x.neutralBase,inputColor:T(x.alphaInput),codeColor:T(x.alphaCode),tabColor:T(x.alphaTab),actionColor:T(x.alphaAction),tableHeaderColor:T(x.alphaAction),hoverColor:T(x.alphaPending),tableColorHover:T(x.alphaTablePending),tableColorStriped:T(x.alphaTableStriped),pressedColor:T(x.alphaPressed),opacityDisabled:x.alphaDisabled,inputColorDisabled:T(x.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",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)"}),h=Aa,y={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},Oa=X(y.neutralBase),et=X(y.neutralInvertBase),Wa="rgba("+et.slice(0,3).join(", ")+", ";function Ze(o){return Wa+String(o)+")"}function R(o){const e=Array.from(et);return e[3]=Number(o),H(Oa,e)}const La=Object.assign(Object.assign({name:"common"},Zo),{baseColor:y.neutralBase,primaryColor:y.primaryDefault,primaryColorHover:y.primaryHover,primaryColorPressed:y.primaryActive,primaryColorSuppl:y.primarySuppl,infoColor:y.infoDefault,infoColorHover:y.infoHover,infoColorPressed:y.infoActive,infoColorSuppl:y.infoSuppl,successColor:y.successDefault,successColorHover:y.successHover,successColorPressed:y.successActive,successColorSuppl:y.successSuppl,warningColor:y.warningDefault,warningColorHover:y.warningHover,warningColorPressed:y.warningActive,warningColorSuppl:y.warningSuppl,errorColor:y.errorDefault,errorColorHover:y.errorHover,errorColorPressed:y.errorActive,errorColorSuppl:y.errorSuppl,textColorBase:y.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:R(y.alpha4),placeholderColor:R(y.alpha4),placeholderColorDisabled:R(y.alpha5),iconColor:R(y.alpha4),iconColorHover:W(R(y.alpha4),{lightness:.75}),iconColorPressed:W(R(y.alpha4),{lightness:.9}),iconColorDisabled:R(y.alpha5),opacity1:y.alpha1,opacity2:y.alpha2,opacity3:y.alpha3,opacity4:y.alpha4,opacity5:y.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:R(Number(y.alphaClose)),closeIconColorHover:R(Number(y.alphaClose)),closeIconColorPressed:R(Number(y.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:R(y.alpha4),clearColorHover:W(R(y.alpha4),{lightness:.75}),clearColorPressed:W(R(y.alpha4),{lightness:.9}),scrollbarColor:Ze(y.alphaScrollbar),scrollbarColorHover:Ze(y.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:R(y.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:y.neutralPopover,tableColor:y.neutralCard,cardColor:y.neutralCard,modalColor:y.neutralModal,bodyColor:y.neutralBody,tagColor:"#eee",avatarColor:R(y.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:R(y.alphaInput),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:y.alphaDisabled,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)"}),Te=La,ka={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},rt=o=>{const{textColorDisabled:e,iconColor:r,textColor2:t,fontSizeSmall:l,fontSizeMedium:n,fontSizeLarge:i,fontSizeHuge:a}=o;return Object.assign(Object.assign({},ka),{fontSizeSmall:l,fontSizeMedium:n,fontSizeLarge:i,fontSizeHuge:a,textColor:e,iconColor:r,extraTextColor:t})},ja={name:"Empty",common:Te,self:rt},Ra=ja,Ea={name:"Empty",common:h,self:rt},uo=Ea,_a=o=>{const{scrollbarColor:e,scrollbarColorHover:r}=o;return{color:e,colorHover:r}},Ga={name:"Scrollbar",common:h,self:_a},N=Ga,Na={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},Va=o=>{const{borderRadius:e,popoverColor:r,textColor3:t,dividerColor:l,textColor2:n,primaryColorPressed:i,textColorDisabled:a,primaryColor:c,opacityDisabled:d,hoverColor:s,fontSizeSmall:p,fontSizeMedium:C,fontSizeLarge:u,fontSizeHuge:g,heightSmall:b,heightMedium:S,heightLarge:f,heightHuge:P}=o;return Object.assign(Object.assign({},Na),{optionFontSizeSmall:p,optionFontSizeMedium:C,optionFontSizeLarge:u,optionFontSizeHuge:g,optionHeightSmall:b,optionHeightMedium:S,optionHeightLarge:f,optionHeightHuge:P,borderRadius:e,color:r,groupHeaderTextColor:t,actionDividerColor:l,optionTextColor:n,optionTextColorPressed:i,optionTextColorDisabled:a,optionTextColorActive:c,optionOpacityDisabled:d,optionCheckColor:c,optionColorPending:s,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:s,actionTextColor:n,loadingColor:c})},Ua={name:"InternalSelectMenu",common:h,peers:{Scrollbar:N,Empty:uo},self:Va},Oo=Ua,qa={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},Qa=o=>{const{boxShadow2:e,popoverColor:r,textColor2:t,borderRadius:l,fontSize:n,dividerColor:i}=o;return Object.assign(Object.assign({},qa),{fontSize:n,borderRadius:l,color:r,dividerColor:i,textColor:t,boxShadow:e})},Ja={name:"Popover",common:h,self:Qa},Co=Ja,Ya={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px",closeMarginRtl:"0 4px 0 0"},Ka={name:"Tag",common:h,self(o){const{textColor2:e,primaryColorHover:r,primaryColorPressed:t,primaryColor:l,infoColor:n,successColor:i,warningColor:a,errorColor:c,baseColor:d,borderColor:s,tagColor:p,opacityDisabled:C,closeIconColor:u,closeIconColorHover:g,closeIconColorPressed:b,closeColorHover:S,closeColorPressed:f,borderRadiusSmall:P,fontSizeMini:I,fontSizeTiny:F,fontSizeSmall:B,fontSizeMedium:A,heightMini:$,heightTiny:m,heightSmall:z,heightMedium:O,buttonColor2Hover:k,buttonColor2Pressed:j,fontWeightStrong:U}=o;return Object.assign(Object.assign({},Ya),{closeBorderRadius:P,heightTiny:$,heightSmall:m,heightMedium:z,heightLarge:O,borderRadius:P,opacityDisabled:C,fontSizeTiny:I,fontSizeSmall:F,fontSizeMedium:B,fontSizeLarge:A,fontWeightStrong:U,textColorCheckable:e,textColorHoverCheckable:e,textColorPressedCheckable:e,textColorChecked:d,colorCheckable:"#0000",colorHoverCheckable:k,colorPressedCheckable:j,colorChecked:l,colorCheckedHover:r,colorCheckedPressed:t,border:`1px solid ${s}`,textColor:e,color:p,colorBordered:"#0000",closeIconColor:u,closeIconColorHover:g,closeIconColorPressed:b,closeColorHover:S,closeColorPressed:f,borderPrimary:`1px solid ${v(l,{alpha:.3})}`,textColorPrimary:l,colorPrimary:v(l,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:W(l,{lightness:.7}),closeIconColorHoverPrimary:W(l,{lightness:.7}),closeIconColorPressedPrimary:W(l,{lightness:.7}),closeColorHoverPrimary:v(l,{alpha:.16}),closeColorPressedPrimary:v(l,{alpha:.12}),borderInfo:`1px solid ${v(n,{alpha:.3})}`,textColorInfo:n,colorInfo:v(n,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:W(n,{alpha:.7}),closeIconColorHoverInfo:W(n,{alpha:.7}),closeIconColorPressedInfo:W(n,{alpha:.7}),closeColorHoverInfo:v(n,{alpha:.16}),closeColorPressedInfo:v(n,{alpha:.12}),borderSuccess:`1px solid ${v(i,{alpha:.3})}`,textColorSuccess:i,colorSuccess:v(i,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:W(i,{alpha:.7}),closeIconColorHoverSuccess:W(i,{alpha:.7}),closeIconColorPressedSuccess:W(i,{alpha:.7}),closeColorHoverSuccess:v(i,{alpha:.16}),closeColorPressedSuccess:v(i,{alpha:.12}),borderWarning:`1px solid ${v(a,{alpha:.3})}`,textColorWarning:a,colorWarning:v(a,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:W(a,{alpha:.7}),closeIconColorHoverWarning:W(a,{alpha:.7}),closeIconColorPressedWarning:W(a,{alpha:.7}),closeColorHoverWarning:v(a,{alpha:.16}),closeColorPressedWarning:v(a,{alpha:.11}),borderError:`1px solid ${v(c,{alpha:.3})}`,textColorError:c,colorError:v(c,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:W(c,{alpha:.7}),closeIconColorHoverError:W(c,{alpha:.7}),closeIconColorPressedError:W(c,{alpha:.7}),closeColorHoverError:v(c,{alpha:.16}),closeColorPressedError:v(c,{alpha:.12})})}},tt=Ka,Xa={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},Za={name:"InternalSelection",common:h,peers:{Popover:Co},self(o){const{borderRadius:e,textColor2:r,textColorDisabled:t,inputColor:l,inputColorDisabled:n,primaryColor:i,primaryColorHover:a,warningColor:c,warningColorHover:d,errorColor:s,errorColorHover:p,iconColor:C,iconColorDisabled:u,clearColor:g,clearColorHover:b,clearColorPressed:S,placeholderColor:f,placeholderColorDisabled:P,fontSizeTiny:I,fontSizeSmall:F,fontSizeMedium:B,fontSizeLarge:A,heightTiny:$,heightSmall:m,heightMedium:z,heightLarge:O}=o;return Object.assign(Object.assign({},Xa),{fontSizeTiny:I,fontSizeSmall:F,fontSizeMedium:B,fontSizeLarge:A,heightTiny:$,heightSmall:m,heightMedium:z,heightLarge:O,borderRadius:e,textColor:r,textColorDisabled:t,placeholderColor:f,placeholderColorDisabled:P,color:l,colorDisabled:n,colorActive:v(i,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${a}`,borderActive:`1px solid ${i}`,borderFocus:`1px solid ${a}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${v(i,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${v(i,{alpha:.4})}`,caretColor:i,arrowColor:C,arrowColorDisabled:u,loadingColor:i,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${d}`,borderActiveWarning:`1px solid ${c}`,borderFocusWarning:`1px solid ${d}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${v(c,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${v(c,{alpha:.4})}`,colorActiveWarning:v(c,{alpha:.1}),caretColorWarning:c,borderError:`1px solid ${s}`,borderHoverError:`1px solid ${p}`,borderActiveError:`1px solid ${s}`,borderFocusError:`1px solid ${p}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${v(s,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${v(s,{alpha:.4})}`,colorActiveError:v(s,{alpha:.1}),caretColorError:s,clearColor:g,clearColorHover:b,clearColorPressed:S})}},Me=Za,os={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},es={name:"Alert",common:h,self(o){const{lineHeight:e,borderRadius:r,fontWeightStrong:t,dividerColor:l,inputColor:n,textColor1:i,textColor2:a,closeColorHover:c,closeColorPressed:d,closeIconColor:s,closeIconColorHover:p,closeIconColorPressed:C,infoColorSuppl:u,successColorSuppl:g,warningColorSuppl:b,errorColorSuppl:S,fontSize:f}=o;return Object.assign(Object.assign({},os),{fontSize:f,lineHeight:e,titleFontWeight:t,borderRadius:r,border:`1px solid ${l}`,color:n,titleTextColor:i,iconColor:a,contentTextColor:a,closeBorderRadius:r,closeColorHover:c,closeColorPressed:d,closeIconColor:s,closeIconColorHover:p,closeIconColorPressed:C,borderInfo:`1px solid ${v(u,{alpha:.35})}`,colorInfo:v(u,{alpha:.25}),titleTextColorInfo:i,iconColorInfo:u,contentTextColorInfo:a,closeColorHoverInfo:c,closeColorPressedInfo:d,closeIconColorInfo:s,closeIconColorHoverInfo:p,closeIconColorPressedInfo:C,borderSuccess:`1px solid ${v(g,{alpha:.35})}`,colorSuccess:v(g,{alpha:.25}),titleTextColorSuccess:i,iconColorSuccess:g,contentTextColorSuccess:a,closeColorHoverSuccess:c,closeColorPressedSuccess:d,closeIconColorSuccess:s,closeIconColorHoverSuccess:p,closeIconColorPressedSuccess:C,borderWarning:`1px solid ${v(b,{alpha:.35})}`,colorWarning:v(b,{alpha:.25}),titleTextColorWarning:i,iconColorWarning:b,contentTextColorWarning:a,closeColorHoverWarning:c,closeColorPressedWarning:d,closeIconColorWarning:s,closeIconColorHoverWarning:p,closeIconColorPressedWarning:C,borderError:`1px solid ${v(S,{alpha:.35})}`,colorError:v(S,{alpha:.25}),titleTextColorError:i,iconColorError:S,contentTextColorError:a,closeColorHoverError:c,closeColorPressedError:d,closeIconColorError:s,closeIconColorHoverError:p,closeIconColorPressedError:C})}},rs=es,ts={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},ls=o=>{const{borderRadius:e,railColor:r,primaryColor:t,primaryColorHover:l,primaryColorPressed:n,textColor2:i}=o;return Object.assign(Object.assign({},ts),{borderRadius:e,railColor:r,railColorActive:t,linkColor:v(t,{alpha:.15}),linkTextColor:i,linkTextColorHover:l,linkTextColorPressed:n,linkTextColorActive:t})},ns={name:"Anchor",common:h,self:ls},is=ns,as={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},ss={name:"Input",common:h,self(o){const{textColor2:e,textColor3:r,textColorDisabled:t,primaryColor:l,primaryColorHover:n,inputColor:i,inputColorDisabled:a,warningColor:c,warningColorHover:d,errorColor:s,errorColorHover:p,borderRadius:C,lineHeight:u,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:S,fontSizeLarge:f,heightTiny:P,heightSmall:I,heightMedium:F,heightLarge:B,clearColor:A,clearColorHover:$,clearColorPressed:m,placeholderColor:z,placeholderColorDisabled:O,iconColor:k,iconColorDisabled:j,iconColorHover:U,iconColorPressed:So}=o;return Object.assign(Object.assign({},as),{countTextColorDisabled:t,countTextColor:r,heightTiny:P,heightSmall:I,heightMedium:F,heightLarge:B,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:S,fontSizeLarge:f,lineHeight:u,lineHeightTextarea:u,borderRadius:C,iconSize:"16px",groupLabelColor:i,textColor:e,textColorDisabled:t,textDecorationColor:e,groupLabelTextColor:e,caretColor:l,placeholderColor:z,placeholderColorDisabled:O,color:i,colorDisabled:a,colorFocus:v(l,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${n}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${n}`,boxShadowFocus:`0 0 8px 0 ${v(l,{alpha:.3})}`,loadingColor:l,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${d}`,colorFocusWarning:v(c,{alpha:.1}),borderFocusWarning:`1px solid ${d}`,boxShadowFocusWarning:`0 0 8px 0 ${v(c,{alpha:.3})}`,caretColorWarning:c,loadingColorError:s,borderError:`1px solid ${s}`,borderHoverError:`1px solid ${p}`,colorFocusError:v(s,{alpha:.1}),borderFocusError:`1px solid ${p}`,boxShadowFocusError:`0 0 8px 0 ${v(s,{alpha:.3})}`,caretColorError:s,clearColor:A,clearColorHover:$,clearColorPressed:m,iconColor:k,iconColorDisabled:j,iconColorHover:U,iconColorPressed:So,suffixTextColor:e})}},Q=ss;function cs(o){const{boxShadow2:e}=o;return{menuBoxShadow:e}}const ds={name:"AutoComplete",common:h,peers:{InternalSelectMenu:Oo,Input:Q},self:cs},ps=ds,us=o=>{const{borderRadius:e,avatarColor:r,cardColor:t,fontSize:l,heightTiny:n,heightSmall:i,heightMedium:a,heightLarge:c,heightHuge:d,modalColor:s,popoverColor:p}=o;return{borderRadius:e,fontSize:l,border:`2px solid ${t}`,heightTiny:n,heightSmall:i,heightMedium:a,heightLarge:c,heightHuge:d,color:H(t,r),colorModal:H(s,r),colorPopover:H(p,r)}},Cs={name:"Avatar",common:h,self:us},lt=Cs,gs=()=>({gap:"-12px"}),hs={name:"AvatarGroup",common:h,peers:{Avatar:lt},self:gs},xs=hs,ms={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},fs={name:"BackTop",common:h,self(o){const{popoverColor:e,textColor2:r,primaryColorHover:t,primaryColorPressed:l}=o;return Object.assign(Object.assign({},ms),{color:e,textColor:r,iconColor:r,iconColorHover:t,iconColorPressed:l,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},bs=fs,vs={name:"Badge",common:h,self(o){const{errorColorSuppl:e,infoColorSuppl:r,successColorSuppl:t,warningColorSuppl:l,fontFamily:n}=o;return{color:e,colorInfo:r,colorSuccess:t,colorError:e,colorWarning:l,fontSize:"12px",fontFamily:n}}},Ss=vs,ys={fontWeightActive:"400"},Hs=o=>{const{fontSize:e,textColor3:r,textColor2:t,borderRadius:l,buttonColor2Hover:n,buttonColor2Pressed:i}=o;return Object.assign(Object.assign({},ys),{fontSize:e,itemLineHeight:"1.25",itemTextColor:r,itemTextColorHover:t,itemTextColorPressed:t,itemTextColorActive:t,itemBorderRadius:l,itemColorHover:n,itemColorPressed:i,separatorColor:r})},Ps={name:"Breadcrumb",common:h,self:Hs},ws=Ps,zs={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"},Is=o=>{const{heightTiny:e,heightSmall:r,heightMedium:t,heightLarge:l,borderRadius:n,fontSizeTiny:i,fontSizeSmall:a,fontSizeMedium:c,fontSizeLarge:d,opacityDisabled:s,textColor2:p,textColor3:C,primaryColorHover:u,primaryColorPressed:g,borderColor:b,primaryColor:S,baseColor:f,infoColor:P,infoColorHover:I,infoColorPressed:F,successColor:B,successColorHover:A,successColorPressed:$,warningColor:m,warningColorHover:z,warningColorPressed:O,errorColor:k,errorColorHover:j,errorColorPressed:U,fontWeight:So,buttonColor2:Wo,buttonColor2Hover:yo,buttonColor2Pressed:Ho,fontWeightStrong:Y}=o;return Object.assign(Object.assign({},zs),{heightTiny:e,heightSmall:r,heightMedium:t,heightLarge:l,borderRadiusTiny:n,borderRadiusSmall:n,borderRadiusMedium:n,borderRadiusLarge:n,fontSizeTiny:i,fontSizeSmall:a,fontSizeMedium:c,fontSizeLarge:d,opacityDisabled:s,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:Wo,colorSecondaryHover:yo,colorSecondaryPressed:Ho,colorTertiary:Wo,colorTertiaryHover:yo,colorTertiaryPressed:Ho,colorQuaternary:"#0000",colorQuaternaryHover:yo,colorQuaternaryPressed:Ho,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:p,textColorTertiary:C,textColorHover:u,textColorPressed:g,textColorFocus:u,textColorDisabled:p,textColorText:p,textColorTextHover:u,textColorTextPressed:g,textColorTextFocus:u,textColorTextDisabled:p,textColorGhost:p,textColorGhostHover:u,textColorGhostPressed:g,textColorGhostFocus:u,textColorGhostDisabled:p,border:`1px solid ${b}`,borderHover:`1px solid ${u}`,borderPressed:`1px solid ${g}`,borderFocus:`1px solid ${u}`,borderDisabled:`1px solid ${b}`,rippleColor:S,colorPrimary:S,colorHoverPrimary:u,colorPressedPrimary:g,colorFocusPrimary:u,colorDisabledPrimary:S,textColorPrimary:f,textColorHoverPrimary:f,textColorPressedPrimary:f,textColorFocusPrimary:f,textColorDisabledPrimary:f,textColorTextPrimary:S,textColorTextHoverPrimary:u,textColorTextPressedPrimary:g,textColorTextFocusPrimary:u,textColorTextDisabledPrimary:p,textColorGhostPrimary:S,textColorGhostHoverPrimary:u,textColorGhostPressedPrimary:g,textColorGhostFocusPrimary:u,textColorGhostDisabledPrimary:S,borderPrimary:`1px solid ${S}`,borderHoverPrimary:`1px solid ${u}`,borderPressedPrimary:`1px solid ${g}`,borderFocusPrimary:`1px solid ${u}`,borderDisabledPrimary:`1px solid ${S}`,rippleColorPrimary:S,colorInfo:P,colorHoverInfo:I,colorPressedInfo:F,colorFocusInfo:I,colorDisabledInfo:P,textColorInfo:f,textColorHoverInfo:f,textColorPressedInfo:f,textColorFocusInfo:f,textColorDisabledInfo:f,textColorTextInfo:P,textColorTextHoverInfo:I,textColorTextPressedInfo:F,textColorTextFocusInfo:I,textColorTextDisabledInfo:p,textColorGhostInfo:P,textColorGhostHoverInfo:I,textColorGhostPressedInfo:F,textColorGhostFocusInfo:I,textColorGhostDisabledInfo:P,borderInfo:`1px solid ${P}`,borderHoverInfo:`1px solid ${I}`,borderPressedInfo:`1px solid ${F}`,borderFocusInfo:`1px solid ${I}`,borderDisabledInfo:`1px solid ${P}`,rippleColorInfo:P,colorSuccess:B,colorHoverSuccess:A,colorPressedSuccess:$,colorFocusSuccess:A,colorDisabledSuccess:B,textColorSuccess:f,textColorHoverSuccess:f,textColorPressedSuccess:f,textColorFocusSuccess:f,textColorDisabledSuccess:f,textColorTextSuccess:B,textColorTextHoverSuccess:A,textColorTextPressedSuccess:$,textColorTextFocusSuccess:A,textColorTextDisabledSuccess:p,textColorGhostSuccess:B,textColorGhostHoverSuccess:A,textColorGhostPressedSuccess:$,textColorGhostFocusSuccess:A,textColorGhostDisabledSuccess:B,borderSuccess:`1px solid ${B}`,borderHoverSuccess:`1px solid ${A}`,borderPressedSuccess:`1px solid ${$}`,borderFocusSuccess:`1px solid ${A}`,borderDisabledSuccess:`1px solid ${B}`,rippleColorSuccess:B,colorWarning:m,colorHoverWarning:z,colorPressedWarning:O,colorFocusWarning:z,colorDisabledWarning:m,textColorWarning:f,textColorHoverWarning:f,textColorPressedWarning:f,textColorFocusWarning:f,textColorDisabledWarning:f,textColorTextWarning:m,textColorTextHoverWarning:z,textColorTextPressedWarning:O,textColorTextFocusWarning:z,textColorTextDisabledWarning:p,textColorGhostWarning:m,textColorGhostHoverWarning:z,textColorGhostPressedWarning:O,textColorGhostFocusWarning:z,textColorGhostDisabledWarning:m,borderWarning:`1px solid ${m}`,borderHoverWarning:`1px solid ${z}`,borderPressedWarning:`1px solid ${O}`,borderFocusWarning:`1px solid ${z}`,borderDisabledWarning:`1px solid ${m}`,rippleColorWarning:m,colorError:k,colorHoverError:j,colorPressedError:U,colorFocusError:j,colorDisabledError:k,textColorError:f,textColorHoverError:f,textColorPressedError:f,textColorFocusError:f,textColorDisabledError:f,textColorTextError:k,textColorTextHoverError:j,textColorTextPressedError:U,textColorTextFocusError:j,textColorTextDisabledError:p,textColorGhostError:k,textColorGhostHoverError:j,textColorGhostPressedError:U,textColorGhostFocusError:j,textColorGhostDisabledError:k,borderError:`1px solid ${k}`,borderHoverError:`1px solid ${j}`,borderPressedError:`1px solid ${U}`,borderFocusError:`1px solid ${j}`,borderDisabledError:`1px solid ${k}`,rippleColorError:k,waveOpacity:"0.6",fontWeight:So,fontWeightStrong:Y})},Ts={name:"Button",common:h,self(o){const e=Is(o);return e.waveOpacity="0.8",e.colorOpacitySecondary="0.16",e.colorOpacitySecondaryHover="0.2",e.colorOpacitySecondaryPressed="0.12",e}},V=Ts,Ms={titleFontSize:"22px"},$s=o=>{const{borderRadius:e,fontSize:r,lineHeight:t,textColor2:l,textColor1:n,textColorDisabled:i,dividerColor:a,fontWeightStrong:c,primaryColor:d,baseColor:s,hoverColor:p,cardColor:C,modalColor:u,popoverColor:g}=o;return Object.assign(Object.assign({},Ms),{borderRadius:e,borderColor:H(C,a),borderColorModal:H(u,a),borderColorPopover:H(g,a),textColor:l,titleFontWeight:c,titleTextColor:n,dayTextColor:i,fontSize:r,lineHeight:t,dateColorCurrent:d,dateTextColorCurrent:s,cellColorHover:H(C,p),cellColorHoverModal:H(u,p),cellColorHoverPopover:H(g,p),cellColor:C,cellColorModal:u,cellColorPopover:g,barColor:d})},Bs={name:"Calendar",common:h,peers:{Button:V},self:$s},Ds=Bs,Fs=o=>{const{fontSize:e,boxShadow2:r,popoverColor:t,textColor2:l,borderRadius:n,borderColor:i,heightSmall:a,heightMedium:c,heightLarge:d,fontSizeSmall:s,fontSizeMedium:p,fontSizeLarge:C,dividerColor:u}=o;return{panelFontSize:e,boxShadow:r,color:t,textColor:l,borderRadius:n,border:`1px solid ${i}`,heightSmall:a,heightMedium:c,heightLarge:d,fontSizeSmall:s,fontSizeMedium:p,fontSizeLarge:C,dividerColor:u}},As={name:"ColorPicker",common:h,peers:{Input:Q,Button:V},self:Fs},Os=As,Ws={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},Ls=o=>{const{primaryColor:e,borderRadius:r,lineHeight:t,fontSize:l,cardColor:n,textColor2:i,textColor1:a,dividerColor:c,fontWeightStrong:d,closeIconColor:s,closeIconColorHover:p,closeIconColorPressed:C,closeColorHover:u,closeColorPressed:g,modalColor:b,boxShadow1:S,popoverColor:f,actionColor:P}=o;return Object.assign(Object.assign({},Ws),{lineHeight:t,color:n,colorModal:b,colorPopover:f,colorTarget:e,colorEmbedded:P,colorEmbeddedModal:P,colorEmbeddedPopover:P,textColor:i,titleTextColor:a,borderColor:c,actionColor:P,titleFontWeight:d,closeColorHover:u,closeColorPressed:g,closeBorderRadius:r,closeIconColor:s,closeIconColorHover:p,closeIconColorPressed:C,fontSizeSmall:l,fontSizeMedium:l,fontSizeLarge:l,fontSizeHuge:l,boxShadow:S,borderRadius:r})},ks={name:"Card",common:h,self(o){const e=Ls(o),{cardColor:r,modalColor:t,popoverColor:l}=o;return e.colorEmbedded=r,e.colorEmbeddedModal=t,e.colorEmbeddedPopover=l,e}},nt=ks,js=o=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),Rs={name:"Carousel",common:h,self:js},Es=Rs,_s={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},Gs=o=>{const{baseColor:e,inputColorDisabled:r,cardColor:t,modalColor:l,popoverColor:n,textColorDisabled:i,borderColor:a,primaryColor:c,textColor2:d,fontSizeSmall:s,fontSizeMedium:p,fontSizeLarge:C,borderRadiusSmall:u,lineHeight:g}=o;return Object.assign(Object.assign({},_s),{labelLineHeight:g,fontSizeSmall:s,fontSizeMedium:p,fontSizeLarge:C,borderRadius:u,color:e,colorChecked:c,colorDisabled:r,colorDisabledChecked:r,colorTableHeader:t,colorTableHeaderModal:l,colorTableHeaderPopover:n,checkMarkColor:e,checkMarkColorDisabled:i,checkMarkColorDisabledChecked:i,border:`1px solid ${a}`,borderDisabled:`1px solid ${a}`,borderDisabledChecked:`1px solid ${a}`,borderChecked:`1px solid ${c}`,borderFocus:`1px solid ${c}`,boxShadowFocus:`0 0 0 2px ${v(c,{alpha:.3})}`,textColor:d,textColorDisabled:i})},Ns={name:"Checkbox",common:h,self(o){const{cardColor:e}=o,r=Gs(o);return r.color="#0000",r.checkMarkColor=e,r}},vo=Ns,Vs=o=>{const{borderRadius:e,boxShadow2:r,popoverColor:t,textColor2:l,textColor3:n,primaryColor:i,textColorDisabled:a,dividerColor:c,hoverColor:d,fontSizeMedium:s,heightMedium:p}=o;return{menuBorderRadius:e,menuColor:t,menuBoxShadow:r,menuDividerColor:c,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:n,optionHeight:p,optionFontSize:s,optionColorHover:d,optionTextColor:l,optionTextColorActive:i,optionTextColorDisabled:a,optionCheckMarkColor:i,loadingColor:i,columnWidth:"180px"}},Us={name:"Cascader",common:h,peers:{InternalSelectMenu:Oo,InternalSelection:Me,Scrollbar:N,Checkbox:vo,Empty:Ra},self:Vs},qs=Us,Qs={name:"Code",common:h,self(o){const{textColor2:e,fontSize:r,fontWeightStrong:t,textColor3:l}=o;return{textColor:e,fontSize:r,fontWeightStrong:t,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:l}}},it=Qs,Js=o=>{const{fontWeight:e,textColor1:r,textColor2:t,textColorDisabled:l,dividerColor:n,fontSize:i}=o;return{titleFontSize:i,titleFontWeight:e,dividerColor:n,titleTextColor:r,titleTextColorDisabled:l,fontSize:i,textColor:t,arrowColor:t,arrowColorDisabled:l,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},Ys={name:"Collapse",common:h,self:Js},Ks=Ys,Xs=o=>{const{cubicBezierEaseInOut:e}=o;return{bezier:e}},Zs={name:"CollapseTransition",common:h,self:Xs},oc=Zs,ec={name:"Popselect",common:h,peers:{Popover:Co,InternalSelectMenu:Oo}},at=ec;function rc(o){const{boxShadow2:e}=o;return{menuBoxShadow:e}}const tc={name:"Select",common:h,peers:{InternalSelection:Me,InternalSelectMenu:Oo},self:rc},st=tc,lc={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},nc=o=>{const{textColor2:e,primaryColor:r,primaryColorHover:t,primaryColorPressed:l,inputColorDisabled:n,textColorDisabled:i,borderColor:a,borderRadius:c,fontSizeTiny:d,fontSizeSmall:s,fontSizeMedium:p,heightTiny:C,heightSmall:u,heightMedium:g}=o;return Object.assign(Object.assign({},lc),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${a}`,buttonBorderHover:`1px solid ${a}`,buttonBorderPressed:`1px solid ${a}`,buttonIconColor:e,buttonIconColorHover:e,buttonIconColorPressed:e,itemTextColor:e,itemTextColorHover:t,itemTextColorPressed:l,itemTextColorActive:r,itemTextColorDisabled:i,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:n,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${r}`,itemBorderDisabled:`1px solid ${a}`,itemBorderRadius:c,itemSizeSmall:C,itemSizeMedium:u,itemSizeLarge:g,itemFontSizeSmall:d,itemFontSizeMedium:s,itemFontSizeLarge:p,jumperFontSizeSmall:d,jumperFontSizeMedium:s,jumperFontSizeLarge:p,jumperTextColor:e,jumperTextColorDisabled:i})},ic={name:"Pagination",common:h,peers:{Select:st,Input:Q,Popselect:at},self(o){const{primaryColor:e,opacity3:r}=o,t=v(e,{alpha:Number(r)}),l=nc(o);return l.itemBorderActive=`1px solid ${t}`,l.itemBorderDisabled="1px solid #0000",l}},ct=ic,ac={padding:"8px 14px"},sc={name:"Tooltip",common:h,peers:{Popover:Co},self(o){const{borderRadius:e,boxShadow2:r,popoverColor:t,textColor2:l}=o;return Object.assign(Object.assign({},ac),{borderRadius:e,boxShadow:r,color:t,textColor:l})}},ee=sc,cc={name:"Ellipsis",common:h,peers:{Tooltip:ee}},dt=cc,dc={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},pc={name:"Radio",common:h,self(o){const{borderColor:e,primaryColor:r,baseColor:t,textColorDisabled:l,inputColorDisabled:n,textColor2:i,opacityDisabled:a,borderRadius:c,fontSizeSmall:d,fontSizeMedium:s,fontSizeLarge:p,heightSmall:C,heightMedium:u,heightLarge:g,lineHeight:b}=o;return Object.assign(Object.assign({},dc),{labelLineHeight:b,buttonHeightSmall:C,buttonHeightMedium:u,buttonHeightLarge:g,fontSizeSmall:d,fontSizeMedium:s,fontSizeLarge:p,boxShadow:`inset 0 0 0 1px ${e}`,boxShadowActive:`inset 0 0 0 1px ${r}`,boxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${v(r,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${r}`,boxShadowDisabled:`inset 0 0 0 1px ${e}`,color:"#0000",colorDisabled:n,colorActive:"#0000",textColor:i,textColorDisabled:l,dotColorActive:r,dotColorDisabled:e,buttonBorderColor:e,buttonBorderColorActive:r,buttonBorderColorHover:r,buttonColor:"#0000",buttonColorActive:r,buttonTextColor:i,buttonTextColorActive:t,buttonTextColorHover:r,opacityDisabled:a,buttonBoxShadowFocus:`inset 0 0 0 1px ${r}, 0 0 0 2px ${v(r,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${r}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:c})}},pt=pc,uc={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},Cc=o=>{const{primaryColor:e,textColor2:r,dividerColor:t,hoverColor:l,popoverColor:n,invertedColor:i,borderRadius:a,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:s,fontSizeHuge:p,heightSmall:C,heightMedium:u,heightLarge:g,heightHuge:b,textColor3:S,opacityDisabled:f}=o;return Object.assign(Object.assign({},uc),{optionHeightSmall:C,optionHeightMedium:u,optionHeightLarge:g,optionHeightHuge:b,borderRadius:a,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:s,fontSizeHuge:p,optionTextColor:r,optionTextColorHover:r,optionTextColorActive:e,optionTextColorChildActive:e,color:n,dividerColor:t,suffixColor:r,prefixColor:r,optionColorHover:l,optionColorActive:v(e,{alpha:.1}),groupHeaderTextColor:S,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:i,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:e,optionColorActiveInverted:e,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:f})},gc={name:"Dropdown",common:h,peers:{Popover:Co},self(o){const{primaryColorSuppl:e,primaryColor:r,popoverColor:t}=o,l=Cc(o);return l.colorInverted=t,l.optionColorActive=v(r,{alpha:.15}),l.optionColorActiveInverted=e,l.optionColorHoverInverted=e,l}},$e=gc,hc={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},xc=o=>{const{cardColor:e,modalColor:r,popoverColor:t,textColor2:l,textColor1:n,tableHeaderColor:i,tableColorHover:a,iconColor:c,primaryColor:d,fontWeightStrong:s,borderRadius:p,lineHeight:C,fontSizeSmall:u,fontSizeMedium:g,fontSizeLarge:b,dividerColor:S,heightSmall:f,opacityDisabled:P,tableColorStriped:I}=o;return Object.assign(Object.assign({},hc),{actionDividerColor:S,lineHeight:C,borderRadius:p,fontSizeSmall:u,fontSizeMedium:g,fontSizeLarge:b,borderColor:H(e,S),tdColorHover:H(e,a),tdColorStriped:H(e,I),thColor:H(e,i),thColorHover:H(H(e,i),a),tdColor:e,tdTextColor:l,thTextColor:n,thFontWeight:s,thButtonColorHover:a,thIconColor:c,thIconColorActive:d,borderColorModal:H(r,S),tdColorHoverModal:H(r,a),tdColorStripedModal:H(r,I),thColorModal:H(r,i),thColorHoverModal:H(H(r,i),a),tdColorModal:r,borderColorPopover:H(t,S),tdColorHoverPopover:H(t,a),tdColorStripedPopover:H(t,I),thColorPopover:H(t,i),thColorHoverPopover:H(H(t,i),a),tdColorPopover:t,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:d,loadingSize:f,opacityLoading:P})},mc={name:"DataTable",common:h,peers:{Button:V,Checkbox:vo,Radio:pt,Pagination:ct,Scrollbar:N,Empty:uo,Popover:Co,Ellipsis:dt,Dropdown:$e},self(o){const e=xc(o);return e.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",e.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",e}},fc=mc,ut=o=>{const{textColorBase:e,opacity1:r,opacity2:t,opacity3:l,opacity4:n,opacity5:i}=o;return{color:e,opacity1Depth:r,opacity2Depth:t,opacity3Depth:l,opacity4Depth:n,opacity5Depth:i}},bc={name:"Icon",common:Te,self:ut},vc=bc,Sc={name:"Icon",common:h,self:ut},yc=Sc,Hc=Go("icon",`
|
|
160
|
-
height: 1em;
|
|
161
|
-
width: 1em;
|
|
162
|
-
line-height: 1em;
|
|
163
|
-
text-align: center;
|
|
164
|
-
display: inline-block;
|
|
165
|
-
position: relative;
|
|
166
|
-
fill: currentColor;
|
|
167
|
-
transform: translateZ(0);
|
|
168
|
-
`,[J("color-transition",{transition:"color .3s var(--n-bezier)"}),J("depth",{color:"var(--n-color)"},[_("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),_("svg",{height:"1em",width:"1em"})]),Pc=Object.assign(Object.assign({},Ao.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),or=so({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:Pc,setup(o){const{mergedClsPrefixRef:e,inlineThemeDisabled:r}=Kr(o),t=Ao("Icon","-icon",Hc,vc,o,e),l=L(()=>{const{depth:i}=o,{common:{cubicBezierEaseInOut:a},self:c}=t.value;if(i!==void 0){const{color:d,[`opacity${i}Depth`]:s}=c;return{"--n-bezier":a,"--n-color":d,"--n-opacity":s}}return{"--n-bezier":a,"--n-color":"","--n-opacity":""}}),n=r?Xr("icon",L(()=>`${o.depth||"d"}`),l,o):void 0;return{mergedClsPrefix:e,mergedStyle:L(()=>{const{size:i,color:a}=o;return{fontSize:ol(i),color:a}}),cssVars:r?void 0:l,themeClass:n==null?void 0:n.themeClass,onRender:n==null?void 0:n.onRender}},render(){var o;const{$parent:e,depth:r,mergedClsPrefix:t,component:l,onRender:n,themeClass:i}=this;return!((o=e==null?void 0:e.$options)===null||o===void 0)&&o._n_icon__&&Xt("icon","don't wrap `n-icon` inside `n-icon`"),n==null||n(),M("i",Ft(this.$attrs,{role:"img",class:[`${t}-icon`,i,{[`${t}-icon--depth`]:r,[`${t}-icon--color-transition`]:r!==void 0}],style:[this.cssVars,this.mergedStyle]}),l?M(l):this.$slots)}}),wc={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},zc=o=>{const{popoverColor:e,textColor2:r,primaryColor:t,hoverColor:l,dividerColor:n,opacityDisabled:i,boxShadow2:a,borderRadius:c,iconColor:d,iconColorDisabled:s}=o;return Object.assign(Object.assign({},wc),{panelColor:e,panelBoxShadow:a,panelDividerColor:n,itemTextColor:r,itemTextColorActive:t,itemColorHover:l,itemOpacityDisabled:i,itemBorderRadius:c,borderRadius:c,iconColor:d,iconColorDisabled:s})},Ic={name:"TimePicker",common:h,peers:{Scrollbar:N,Button:V,Input:Q},self:zc},Ct=Ic,Tc={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0"},Mc=o=>{const{hoverColor:e,fontSize:r,textColor2:t,textColorDisabled:l,popoverColor:n,primaryColor:i,borderRadiusSmall:a,iconColor:c,iconColorDisabled:d,textColor1:s,dividerColor:p,boxShadow2:C,borderRadius:u,fontWeightStrong:g}=o;return Object.assign(Object.assign({},Tc),{itemFontSize:r,calendarDaysFontSize:r,calendarTitleFontSize:r,itemTextColor:t,itemTextColorDisabled:l,itemTextColorActive:n,itemTextColorCurrent:i,itemColorIncluded:v(i,{alpha:.1}),itemColorHover:e,itemColorDisabled:e,itemColorActive:i,itemBorderRadius:a,panelColor:n,panelTextColor:t,arrowColor:c,calendarTitleTextColor:s,calendarTitleColorHover:e,calendarDaysTextColor:t,panelHeaderDividerColor:p,calendarDaysDividerColor:p,calendarDividerColor:p,panelActionDividerColor:p,panelBoxShadow:C,panelBorderRadius:u,calendarTitleFontWeight:g,scrollItemBorderRadius:u,iconColor:c,iconColorDisabled:d})},$c={name:"DatePicker",common:h,peers:{Input:Q,Button:V,TimePicker:Ct,Scrollbar:N},self(o){const{popoverColor:e,hoverColor:r,primaryColor:t}=o,l=Mc(o);return l.itemColorDisabled=H(e,r),l.itemColorIncluded=v(t,{alpha:.15}),l.itemColorHover=H(e,r),l}},Bc=$c,Dc={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},Fc=o=>{const{tableHeaderColor:e,textColor2:r,textColor1:t,cardColor:l,modalColor:n,popoverColor:i,dividerColor:a,borderRadius:c,fontWeightStrong:d,lineHeight:s,fontSizeSmall:p,fontSizeMedium:C,fontSizeLarge:u}=o;return Object.assign(Object.assign({},Dc),{lineHeight:s,fontSizeSmall:p,fontSizeMedium:C,fontSizeLarge:u,titleTextColor:t,thColor:H(l,e),thColorModal:H(n,e),thColorPopover:H(i,e),thTextColor:t,thFontWeight:d,tdTextColor:r,tdColor:l,tdColorModal:n,tdColorPopover:i,borderColor:H(l,a),borderColorModal:H(n,a),borderColorPopover:H(i,a),borderRadius:c})},Ac={name:"Descriptions",common:h,self:Fc},Oc=Ac,Wc={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},Lc=o=>{const{textColor1:e,textColor2:r,modalColor:t,closeIconColor:l,closeIconColorHover:n,closeIconColorPressed:i,closeColorHover:a,closeColorPressed:c,infoColor:d,successColor:s,warningColor:p,errorColor:C,primaryColor:u,dividerColor:g,borderRadius:b,fontWeightStrong:S,lineHeight:f,fontSize:P}=o;return Object.assign(Object.assign({},Wc),{fontSize:P,lineHeight:f,border:`1px solid ${g}`,titleTextColor:e,textColor:r,color:t,closeColorHover:a,closeColorPressed:c,closeIconColor:l,closeIconColorHover:n,closeIconColorPressed:i,closeBorderRadius:b,iconColor:u,iconColorInfo:d,iconColorSuccess:s,iconColorWarning:p,iconColorError:C,borderRadius:b,titleFontWeight:S})},kc={name:"Dialog",common:h,peers:{Button:V},self:Lc},gt=kc,jc=o=>{const{modalColor:e,textColor2:r,boxShadow3:t}=o;return{color:e,textColor:r,boxShadow:t}},Rc={name:"Modal",common:h,peers:{Scrollbar:N,Dialog:gt,Card:nt},self:jc},Ec=Rc,_c=o=>{const{textColor1:e,dividerColor:r,fontWeightStrong:t}=o;return{textColor:e,color:r,fontWeight:t}},Gc={name:"Divider",common:h,self:_c},Nc=Gc,Vc=o=>{const{modalColor:e,textColor1:r,textColor2:t,boxShadow3:l,lineHeight:n,fontWeightStrong:i,dividerColor:a,closeColorHover:c,closeColorPressed:d,closeIconColor:s,closeIconColorHover:p,closeIconColorPressed:C,borderRadius:u,primaryColorHover:g}=o;return{bodyPadding:"16px 24px",headerPadding:"16px 24px",footerPadding:"16px 24px",color:e,textColor:t,titleTextColor:r,titleFontSize:"18px",titleFontWeight:i,boxShadow:l,lineHeight:n,headerBorderBottom:`1px solid ${a}`,footerBorderTop:`1px solid ${a}`,closeIconColor:s,closeIconColorHover:p,closeIconColorPressed:C,closeSize:"22px",closeIconSize:"18px",closeColorHover:c,closeColorPressed:d,closeBorderRadius:u,resizableTriggerColorHover:g}},Uc={name:"Drawer",common:h,peers:{Scrollbar:N},self:Vc},qc=Uc,Qc={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},Jc={name:"DynamicInput",common:h,peers:{Input:Q,Button:V},self(){return Qc}},Yc=Jc,Kc={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},Xc={name:"Space",self(){return Kc}},ht=Xc,Zc={name:"DynamicTags",common:h,peers:{Input:Q,Button:V,Tag:tt,Space:ht},self(){return{inputWidth:"64px"}}},od=Zc,ed={name:"Element",common:h},rd=ed,td={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},ld=o=>{const{heightSmall:e,heightMedium:r,heightLarge:t,textColor1:l,errorColor:n,warningColor:i,lineHeight:a,textColor3:c}=o;return Object.assign(Object.assign({},td),{blankHeightSmall:e,blankHeightMedium:r,blankHeightLarge:t,lineHeight:a,labelTextColor:l,asteriskColor:n,feedbackTextColorError:n,feedbackTextColorWarning:i,feedbackTextColor:c})},nd={name:"Form",common:h,self:ld},id=nd,ad={name:"GradientText",common:h,self(o){const{primaryColor:e,successColor:r,warningColor:t,errorColor:l,infoColor:n,primaryColorSuppl:i,successColorSuppl:a,warningColorSuppl:c,errorColorSuppl:d,infoColorSuppl:s,fontWeightStrong:p}=o;return{fontWeight:p,rotate:"252deg",colorStartPrimary:e,colorEndPrimary:i,colorStartInfo:n,colorEndInfo:s,colorStartWarning:t,colorEndWarning:c,colorStartError:l,colorEndError:d,colorStartSuccess:r,colorEndSuccess:a}}},sd=ad,cd=o=>{const{primaryColor:e,baseColor:r}=o;return{color:e,iconColor:r}},dd={name:"IconWrapper",common:h,self:cd},pd=dd,ud={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},Cd=o=>{const{textColor2:e,successColor:r,infoColor:t,warningColor:l,errorColor:n,popoverColor:i,closeIconColor:a,closeIconColorHover:c,closeIconColorPressed:d,closeColorHover:s,closeColorPressed:p,textColor1:C,textColor3:u,borderRadius:g,fontWeightStrong:b,boxShadow2:S,lineHeight:f,fontSize:P}=o;return Object.assign(Object.assign({},ud),{borderRadius:g,lineHeight:f,fontSize:P,headerFontWeight:b,iconColor:e,iconColorSuccess:r,iconColorInfo:t,iconColorWarning:l,iconColorError:n,color:i,textColor:e,closeIconColor:a,closeIconColorHover:c,closeIconColorPressed:d,closeBorderRadius:g,closeColorHover:s,closeColorPressed:p,headerTextColor:C,descriptionTextColor:u,actionTextColor:e,boxShadow:S})},gd={name:"Notification",common:h,peers:{Scrollbar:N},self:Cd},hd=gd,xd={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},md=o=>{const{textColor2:e,closeIconColor:r,closeIconColorHover:t,closeIconColorPressed:l,infoColor:n,successColor:i,errorColor:a,warningColor:c,popoverColor:d,boxShadow2:s,primaryColor:p,lineHeight:C,borderRadius:u,closeColorHover:g,closeColorPressed:b}=o;return Object.assign(Object.assign({},xd),{closeBorderRadius:u,textColor:e,textColorInfo:e,textColorSuccess:e,textColorError:e,textColorWarning:e,textColorLoading:e,color:d,colorInfo:d,colorSuccess:d,colorError:d,colorWarning:d,colorLoading:d,boxShadow:s,boxShadowInfo:s,boxShadowSuccess:s,boxShadowError:s,boxShadowWarning:s,boxShadowLoading:s,iconColor:e,iconColorInfo:n,iconColorSuccess:i,iconColorWarning:c,iconColorError:a,iconColorLoading:p,closeColorHover:g,closeColorPressed:b,closeIconColor:r,closeIconColorHover:t,closeIconColorPressed:l,closeColorHoverInfo:g,closeColorPressedInfo:b,closeIconColorInfo:r,closeIconColorHoverInfo:t,closeIconColorPressedInfo:l,closeColorHoverSuccess:g,closeColorPressedSuccess:b,closeIconColorSuccess:r,closeIconColorHoverSuccess:t,closeIconColorPressedSuccess:l,closeColorHoverError:g,closeColorPressedError:b,closeIconColorError:r,closeIconColorHoverError:t,closeIconColorPressedError:l,closeColorHoverWarning:g,closeColorPressedWarning:b,closeIconColorWarning:r,closeIconColorHoverWarning:t,closeIconColorPressedWarning:l,closeColorHoverLoading:g,closeColorPressedLoading:b,closeIconColorLoading:r,closeIconColorHoverLoading:t,closeIconColorPressedLoading:l,loadingColor:p,lineHeight:C,borderRadius:u})},fd={name:"Message",common:h,self:md},bd=fd,vd={name:"ButtonGroup",common:h},Sd=vd,yd={name:"InputNumber",common:h,peers:{Button:V,Input:Q},self(o){const{textColorDisabled:e}=o;return{iconColorDisabled:e}}},Hd=yd,Pd={name:"Layout",common:h,peers:{Scrollbar:N},self(o){const{textColor2:e,bodyColor:r,popoverColor:t,cardColor:l,dividerColor:n,scrollbarColor:i,scrollbarColorHover:a}=o;return{textColor:e,textColorInverted:e,color:r,colorEmbedded:r,headerColor:l,headerColorInverted:l,footerColor:l,footerColorInverted:l,headerBorderColor:n,headerBorderColorInverted:n,footerBorderColor:n,footerBorderColorInverted:n,siderBorderColor:n,siderBorderColorInverted:n,siderColor:l,siderColorInverted:l,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:t,siderToggleButtonIconColor:e,siderToggleButtonIconColorInverted:e,siderToggleBarColor:H(r,i),siderToggleBarColorHover:H(r,a),__invertScrollbar:"false"}}},wd=Pd,zd=o=>{const{textColor2:e,cardColor:r,modalColor:t,popoverColor:l,dividerColor:n,borderRadius:i,fontSize:a,hoverColor:c}=o;return{textColor:e,color:r,colorHover:c,colorModal:t,colorHoverModal:H(t,c),colorPopover:l,colorHoverPopover:H(l,c),borderColor:n,borderColorModal:H(t,n),borderColorPopover:H(l,n),borderRadius:i,fontSize:a}},Id={name:"List",common:h,self:zd},Td=Id,Md={name:"LoadingBar",common:h,self(o){const{primaryColor:e}=o;return{colorError:"red",colorLoading:e,height:"2px"}}},$d=Md,Bd={name:"Log",common:h,peers:{Scrollbar:N,Code:it},self(o){const{textColor2:e,inputColor:r,fontSize:t,primaryColor:l}=o;return{loaderFontSize:t,loaderTextColor:e,loaderColor:r,loaderBorder:"1px solid #0000",loadingColor:l}}},Dd=Bd,Fd={name:"Mention",common:h,peers:{InternalSelectMenu:Oo,Input:Q},self(o){const{boxShadow2:e}=o;return{menuBoxShadow:e}}},Ad=Fd;function Od(o,e,r,t){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:e,itemColorActiveHoverInverted:e,itemColorActiveCollapsedInverted:e,itemTextColorInverted:o,itemTextColorHoverInverted:r,itemTextColorChildActiveInverted:r,itemTextColorChildActiveHoverInverted:r,itemTextColorActiveInverted:r,itemTextColorActiveHoverInverted:r,itemTextColorHorizontalInverted:o,itemTextColorHoverHorizontalInverted:r,itemTextColorChildActiveHorizontalInverted:r,itemTextColorChildActiveHoverHorizontalInverted:r,itemTextColorActiveHorizontalInverted:r,itemTextColorActiveHoverHorizontalInverted:r,itemIconColorInverted:o,itemIconColorHoverInverted:r,itemIconColorActiveInverted:r,itemIconColorActiveHoverInverted:r,itemIconColorChildActiveInverted:r,itemIconColorChildActiveHoverInverted:r,itemIconColorCollapsedInverted:o,itemIconColorHorizontalInverted:o,itemIconColorHoverHorizontalInverted:r,itemIconColorActiveHorizontalInverted:r,itemIconColorActiveHoverHorizontalInverted:r,itemIconColorChildActiveHorizontalInverted:r,itemIconColorChildActiveHoverHorizontalInverted:r,arrowColorInverted:o,arrowColorHoverInverted:r,arrowColorActiveInverted:r,arrowColorActiveHoverInverted:r,arrowColorChildActiveInverted:r,arrowColorChildActiveHoverInverted:r,groupTextColorInverted:t}}const Wd=o=>{const{borderRadius:e,textColor3:r,primaryColor:t,textColor2:l,textColor1:n,fontSize:i,dividerColor:a,hoverColor:c,primaryColorHover:d}=o;return Object.assign({borderRadius:e,color:"#0000",groupTextColor:r,itemColorHover:c,itemColorActive:v(t,{alpha:.1}),itemColorActiveHover:v(t,{alpha:.1}),itemColorActiveCollapsed:v(t,{alpha:.1}),itemTextColor:l,itemTextColorHover:l,itemTextColorActive:t,itemTextColorActiveHover:t,itemTextColorChildActive:t,itemTextColorChildActiveHover:t,itemTextColorHorizontal:l,itemTextColorHoverHorizontal:d,itemTextColorActiveHorizontal:t,itemTextColorActiveHoverHorizontal:t,itemTextColorChildActiveHorizontal:t,itemTextColorChildActiveHoverHorizontal:t,itemIconColor:n,itemIconColorHover:n,itemIconColorActive:t,itemIconColorActiveHover:t,itemIconColorChildActive:t,itemIconColorChildActiveHover:t,itemIconColorCollapsed:n,itemIconColorHorizontal:n,itemIconColorHoverHorizontal:d,itemIconColorActiveHorizontal:t,itemIconColorActiveHoverHorizontal:t,itemIconColorChildActiveHorizontal:t,itemIconColorChildActiveHoverHorizontal:t,itemHeight:"42px",arrowColor:l,arrowColorHover:l,arrowColorActive:t,arrowColorActiveHover:t,arrowColorChildActive:t,arrowColorChildActiveHover:t,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:i,dividerColor:a},Od("#BBB",t,"#FFF","#AAA"))},Ld={name:"Menu",common:h,peers:{Tooltip:ee,Dropdown:$e},self(o){const{primaryColor:e,primaryColorSuppl:r}=o,t=Wd(o);return t.itemColorActive=v(e,{alpha:.15}),t.itemColorActiveHover=v(e,{alpha:.15}),t.itemColorActiveCollapsed=v(e,{alpha:.15}),t.itemColorActiveInverted=r,t.itemColorActiveHoverInverted=r,t.itemColorActiveCollapsedInverted=r,t}},kd=Ld,jd={titleFontSize:"18px",backSize:"22px"};function Rd(o){const{textColor1:e,textColor2:r,textColor3:t,fontSize:l,fontWeightStrong:n,primaryColorHover:i,primaryColorPressed:a}=o;return Object.assign(Object.assign({},jd),{titleFontWeight:n,fontSize:l,titleTextColor:e,backColor:r,backColorHover:i,backColorPressed:a,subtitleTextColor:t})}const Ed={name:"PageHeader",common:h,self:Rd},_d={iconSize:"22px"},Gd=o=>{const{fontSize:e,warningColor:r}=o;return Object.assign(Object.assign({},_d),{fontSize:e,iconColor:r})},Nd={name:"Popconfirm",common:h,peers:{Button:V,Popover:Co},self:Gd},Vd=Nd,Ud=o=>{const{infoColor:e,successColor:r,warningColor:t,errorColor:l,textColor2:n,progressRailColor:i,fontSize:a,fontWeight:c}=o;return{fontSize:a,fontSizeCircle:"28px",fontWeightCircle:c,railColor:i,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:e,iconColorInfo:e,iconColorSuccess:r,iconColorWarning:t,iconColorError:l,textColorCircle:n,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:n,fillColor:e,fillColorInfo:e,fillColorSuccess:r,fillColorWarning:t,fillColorError:l,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},qd={name:"Progress",common:h,self(o){const e=Ud(o);return e.textColorLineInner="rgb(0, 0, 0)",e.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",e}},xt=qd,Qd={name:"Rate",common:h,self(o){const{railColor:e}=o;return{itemColor:e,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},Jd=Qd,Yd={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},Kd=o=>{const{textColor2:e,textColor1:r,errorColor:t,successColor:l,infoColor:n,warningColor:i,lineHeight:a,fontWeightStrong:c}=o;return Object.assign(Object.assign({},Yd),{lineHeight:a,titleFontWeight:c,titleTextColor:r,textColor:e,iconColorError:t,iconColorSuccess:l,iconColorInfo:n,iconColorWarning:i})},Xd={name:"Result",common:h,self:Kd},Zd=Xd,op={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},ep={name:"Slider",common:h,self(o){const e="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:r,modalColor:t,primaryColorSuppl:l,popoverColor:n,textColor2:i,cardColor:a,borderRadius:c,fontSize:d,opacityDisabled:s}=o;return Object.assign(Object.assign({},op),{fontSize:d,markFontSize:d,railColor:r,railColorHover:r,fillColor:l,fillColorHover:l,opacityDisabled:s,handleColor:"#FFF",dotColor:a,dotColorModal:t,dotColorPopover:n,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:n,indicatorBoxShadow:e,indicatorTextColor:i,indicatorBorderRadius:c,dotBorder:`2px solid ${r}`,dotBorderActive:`2px solid ${l}`,dotBoxShadow:""})}},rp=ep,tp=o=>{const{opacityDisabled:e,heightTiny:r,heightSmall:t,heightMedium:l,heightLarge:n,heightHuge:i,primaryColor:a,fontSize:c}=o;return{fontSize:c,textColor:a,sizeTiny:r,sizeSmall:t,sizeMedium:l,sizeLarge:n,sizeHuge:i,color:a,opacitySpinning:e}},lp={name:"Spin",common:h,self:tp},np=lp,ip=o=>{const{textColor2:e,textColor3:r,fontSize:t,fontWeight:l}=o;return{labelFontSize:t,labelFontWeight:l,valueFontWeight:l,valueFontSize:"24px",labelTextColor:r,valuePrefixTextColor:e,valueSuffixTextColor:e,valueTextColor:e}},ap={name:"Statistic",common:h,self:ip},sp=ap,cp={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},dp=o=>{const{fontWeightStrong:e,baseColor:r,textColorDisabled:t,primaryColor:l,errorColor:n,textColor1:i,textColor2:a}=o;return Object.assign(Object.assign({},cp),{stepHeaderFontWeight:e,indicatorTextColorProcess:r,indicatorTextColorWait:t,indicatorTextColorFinish:l,indicatorTextColorError:n,indicatorBorderColorProcess:l,indicatorBorderColorWait:t,indicatorBorderColorFinish:l,indicatorBorderColorError:n,indicatorColorProcess:l,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:t,splitorColorWait:t,splitorColorFinish:l,splitorColorError:t,headerTextColorProcess:i,headerTextColorWait:t,headerTextColorFinish:t,headerTextColorError:n,descriptionTextColorProcess:a,descriptionTextColorWait:t,descriptionTextColorFinish:t,descriptionTextColorError:n})},pp={name:"Steps",common:h,self:dp},up=pp,mt={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},Cp={name:"Switch",common:h,self(o){const{primaryColorSuppl:e,opacityDisabled:r,borderRadius:t,primaryColor:l,textColor2:n,baseColor:i}=o,a="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},mt),{iconColor:i,textColor:n,loadingColor:e,opacityDisabled:r,railColor:a,railColorActive:e,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:t,railBorderRadiusMedium:t,railBorderRadiusLarge:t,buttonBorderRadiusSmall:t,buttonBorderRadiusMedium:t,buttonBorderRadiusLarge:t,boxShadowFocus:`0 0 8px 0 ${v(l,{alpha:.3})}`})}},gp=Cp,hp=o=>{const{primaryColor:e,opacityDisabled:r,borderRadius:t,textColor3:l}=o,n="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},mt),{iconColor:l,textColor:"white",loadingColor:e,opacityDisabled:r,railColor:n,railColorActive:e,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:t,railBorderRadiusMedium:t,railBorderRadiusLarge:t,buttonBorderRadiusSmall:t,buttonBorderRadiusMedium:t,buttonBorderRadiusLarge:t,boxShadowFocus:`0 0 0 2px ${v(e,{alpha:.2})}`})},xp={name:"Switch",common:Te,self:hp},mp=xp,fp={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},bp=o=>{const{dividerColor:e,cardColor:r,modalColor:t,popoverColor:l,tableHeaderColor:n,tableColorStriped:i,textColor1:a,textColor2:c,borderRadius:d,fontWeightStrong:s,lineHeight:p,fontSizeSmall:C,fontSizeMedium:u,fontSizeLarge:g}=o;return Object.assign(Object.assign({},fp),{fontSizeSmall:C,fontSizeMedium:u,fontSizeLarge:g,lineHeight:p,borderRadius:d,borderColor:H(r,e),borderColorModal:H(t,e),borderColorPopover:H(l,e),tdColor:r,tdColorModal:t,tdColorPopover:l,tdColorStriped:H(r,i),tdColorStripedModal:H(t,i),tdColorStripedPopover:H(l,i),thColor:H(r,n),thColorModal:H(t,n),thColorPopover:H(l,n),thTextColor:a,tdTextColor:c,thFontWeight:s})},vp={name:"Table",common:h,self:bp},Sp=vp,yp={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},Hp=o=>{const{textColor2:e,primaryColor:r,textColorDisabled:t,closeIconColor:l,closeIconColorHover:n,closeIconColorPressed:i,closeColorHover:a,closeColorPressed:c,tabColor:d,baseColor:s,dividerColor:p,fontWeight:C,textColor1:u,borderRadius:g,fontSize:b,fontWeightStrong:S}=o;return Object.assign(Object.assign({},yp),{colorSegment:d,tabFontSizeCard:b,tabTextColorLine:u,tabTextColorActiveLine:r,tabTextColorHoverLine:r,tabTextColorDisabledLine:t,tabTextColorSegment:u,tabTextColorActiveSegment:e,tabTextColorHoverSegment:e,tabTextColorDisabledSegment:t,tabTextColorBar:u,tabTextColorActiveBar:r,tabTextColorHoverBar:r,tabTextColorDisabledBar:t,tabTextColorCard:u,tabTextColorHoverCard:u,tabTextColorActiveCard:r,tabTextColorDisabledCard:t,barColor:r,closeIconColor:l,closeIconColorHover:n,closeIconColorPressed:i,closeColorHover:a,closeColorPressed:c,closeBorderRadius:g,tabColor:d,tabColorSegment:s,tabBorderColor:p,tabFontWeightActive:C,tabFontWeight:C,tabBorderRadius:g,paneTextColor:e,fontWeightStrong:S})},Pp={name:"Tabs",common:h,self(o){const e=Hp(o),{inputColor:r}=o;return e.colorSegment=r,e.tabColorSegment=r,e}},wp=Pp,zp=o=>{const{textColor1:e,textColor2:r,fontWeightStrong:t,fontSize:l}=o;return{fontSize:l,titleTextColor:e,textColor:r,titleFontWeight:t}},Ip={name:"Thing",common:h,self:zp},Tp=Ip,Mp={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},$p={name:"Timeline",common:h,self(o){const{textColor3:e,infoColorSuppl:r,errorColorSuppl:t,successColorSuppl:l,warningColorSuppl:n,textColor1:i,textColor2:a,railColor:c,fontWeightStrong:d,fontSize:s}=o;return Object.assign(Object.assign({},Mp),{contentFontSize:s,titleFontWeight:d,circleBorder:`2px solid ${e}`,circleBorderInfo:`2px solid ${r}`,circleBorderError:`2px solid ${t}`,circleBorderSuccess:`2px solid ${l}`,circleBorderWarning:`2px solid ${n}`,iconColor:e,iconColorInfo:r,iconColorError:t,iconColorSuccess:l,iconColorWarning:n,titleTextColor:i,contentTextColor:a,metaTextColor:e,lineColor:c})}},Bp=$p,Dp={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},Fp={name:"Transfer",common:h,peers:{Checkbox:vo,Scrollbar:N,Input:Q,Empty:uo,Button:V},self(o){const{fontWeight:e,fontSizeLarge:r,fontSizeMedium:t,fontSizeSmall:l,heightLarge:n,heightMedium:i,borderRadius:a,inputColor:c,tableHeaderColor:d,textColor1:s,textColorDisabled:p,textColor2:C,textColor3:u,hoverColor:g,closeColorHover:b,closeColorPressed:S,closeIconColor:f,closeIconColorHover:P,closeIconColorPressed:I,dividerColor:F}=o;return Object.assign(Object.assign({},Dp),{itemHeightSmall:i,itemHeightMedium:i,itemHeightLarge:n,fontSizeSmall:l,fontSizeMedium:t,fontSizeLarge:r,borderRadius:a,dividerColor:F,borderColor:"#0000",listColor:c,headerColor:d,titleTextColor:s,titleTextColorDisabled:p,extraTextColor:u,extraTextColorDisabled:p,itemTextColor:C,itemTextColorDisabled:p,itemColorPending:g,titleFontWeight:e,closeColorHover:b,closeColorPressed:S,closeIconColor:f,closeIconColorHover:P,closeIconColorPressed:I})}},Ap=Fp,Op=o=>{const{borderRadiusSmall:e,hoverColor:r,pressedColor:t,primaryColor:l,textColor3:n,textColor2:i,textColorDisabled:a,fontSize:c}=o;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:e,nodeColorHover:r,nodeColorPressed:t,nodeColorActive:v(l,{alpha:.1}),arrowColor:n,nodeTextColor:i,nodeTextColorDisabled:a,loadingColor:l,dropMarkColor:l}},Wp={name:"Tree",common:h,peers:{Checkbox:vo,Scrollbar:N,Empty:uo},self(o){const{primaryColor:e}=o,r=Op(o);return r.nodeColorActive=v(e,{alpha:.15}),r}},ft=Wp,Lp={name:"TreeSelect",common:h,peers:{Tree:ft,Empty:uo,InternalSelection:Me}},kp=Lp,jp={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},Rp=o=>{const{primaryColor:e,textColor2:r,borderColor:t,lineHeight:l,fontSize:n,borderRadiusSmall:i,dividerColor:a,fontWeightStrong:c,textColor1:d,textColor3:s,infoColor:p,warningColor:C,errorColor:u,successColor:g,codeColor:b}=o;return Object.assign(Object.assign({},jp),{aTextColor:e,blockquoteTextColor:r,blockquotePrefixColor:t,blockquoteLineHeight:l,blockquoteFontSize:n,codeBorderRadius:i,liTextColor:r,liLineHeight:l,liFontSize:n,hrColor:a,headerFontWeight:c,headerTextColor:d,pTextColor:r,pTextColor1Depth:d,pTextColor2Depth:r,pTextColor3Depth:s,pLineHeight:l,pFontSize:n,headerBarColor:e,headerBarColorPrimary:e,headerBarColorInfo:p,headerBarColorError:u,headerBarColorWarning:C,headerBarColorSuccess:g,textColor:r,textColor1Depth:d,textColor2Depth:r,textColor3Depth:s,textColorPrimary:e,textColorInfo:p,textColorSuccess:g,textColorWarning:C,textColorError:u,codeTextColor:r,codeColor:b,codeBorder:"1px solid #0000"})},Ep={name:"Typography",common:h,self:Rp},_p=Ep,Gp=o=>{const{iconColor:e,primaryColor:r,errorColor:t,textColor2:l,successColor:n,opacityDisabled:i,actionColor:a,borderColor:c,hoverColor:d,lineHeight:s,borderRadius:p,fontSize:C}=o;return{fontSize:C,lineHeight:s,borderRadius:p,draggerColor:a,draggerBorder:`1px dashed ${c}`,draggerBorderHover:`1px dashed ${r}`,itemColorHover:d,itemColorHoverError:v(t,{alpha:.06}),itemTextColor:l,itemTextColorError:t,itemTextColorSuccess:n,itemIconColor:e,itemDisabledOpacity:i,itemBorderImageCardError:`1px solid ${t}`,itemBorderImageCard:`1px solid ${c}`}},Np={name:"Upload",common:h,peers:{Button:V,Progress:xt},self(o){const{errorColor:e}=o,r=Gp(o);return r.itemColorHoverError=v(e,{alpha:.09}),r}},Vp=Np,Up={name:"Watermark",common:h,self(o){const{fontFamily:e}=o;return{fontFamily:e}}},qp=Up,Qp={name:"Row",common:h},Jp=Qp,Yp={name:"Image",common:h,peers:{Tooltip:ee},self:o=>{const{textColor2:e}=o;return{toolbarIconColor:e,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},Kp={extraFontSize:"12px",width:"440px"},Xp={name:"Transfer",common:h,peers:{Checkbox:vo,Scrollbar:N,Input:Q,Empty:uo,Button:V},self(o){const{iconColorDisabled:e,iconColor:r,fontWeight:t,fontSizeLarge:l,fontSizeMedium:n,fontSizeSmall:i,heightLarge:a,heightMedium:c,heightSmall:d,borderRadius:s,inputColor:p,tableHeaderColor:C,textColor1:u,textColorDisabled:g,textColor2:b,hoverColor:S}=o;return Object.assign(Object.assign({},Kp),{itemHeightSmall:d,itemHeightMedium:c,itemHeightLarge:a,fontSizeSmall:i,fontSizeMedium:n,fontSizeLarge:l,borderRadius:s,borderColor:"#0000",listColor:p,headerColor:C,titleTextColor:u,titleTextColorDisabled:g,extraTextColor:b,filterDividerColor:"#0000",itemTextColor:b,itemTextColorDisabled:g,itemColorPending:S,titleFontWeight:t,iconColor:r,iconColorDisabled:e})}},Zp=Xp,ou={name:"Skeleton",common:h,self(o){const{heightSmall:e,heightMedium:r,heightLarge:t,borderRadius:l}=o;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:l,heightSmall:e,heightMedium:r,heightLarge:t}}},eu=Go("switch",`
|
|
169
|
-
height: var(--n-height);
|
|
170
|
-
min-width: var(--n-width);
|
|
171
|
-
vertical-align: middle;
|
|
172
|
-
user-select: none;
|
|
173
|
-
-webkit-user-select: none;
|
|
174
|
-
display: inline-flex;
|
|
175
|
-
outline: none;
|
|
176
|
-
justify-content: center;
|
|
177
|
-
align-items: center;
|
|
178
|
-
`,[w("children-placeholder",`
|
|
179
|
-
height: var(--n-rail-height);
|
|
180
|
-
display: flex;
|
|
181
|
-
flex-direction: column;
|
|
182
|
-
overflow: hidden;
|
|
183
|
-
pointer-events: none;
|
|
184
|
-
visibility: hidden;
|
|
185
|
-
`),w("rail-placeholder",`
|
|
186
|
-
display: flex;
|
|
187
|
-
flex-wrap: none;
|
|
188
|
-
`),w("button-placeholder",`
|
|
189
|
-
width: calc(1.75 * var(--n-rail-height));
|
|
190
|
-
height: var(--n-rail-height);
|
|
191
|
-
`),Go("base-loading",`
|
|
192
|
-
position: absolute;
|
|
193
|
-
top: 50%;
|
|
194
|
-
left: 50%;
|
|
195
|
-
transform: translateX(-50%) translateY(-50%);
|
|
196
|
-
font-size: calc(var(--n-button-width) - 4px);
|
|
197
|
-
color: var(--n-loading-color);
|
|
198
|
-
transition: color .3s var(--n-bezier);
|
|
199
|
-
`,[qo({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),w("checked, unchecked",`
|
|
200
|
-
transition: color .3s var(--n-bezier);
|
|
201
|
-
color: var(--n-text-color);
|
|
202
|
-
box-sizing: border-box;
|
|
203
|
-
position: absolute;
|
|
204
|
-
white-space: nowrap;
|
|
205
|
-
top: 0;
|
|
206
|
-
bottom: 0;
|
|
207
|
-
display: flex;
|
|
208
|
-
align-items: center;
|
|
209
|
-
line-height: 1;
|
|
210
|
-
`),w("checked",`
|
|
211
|
-
right: 0;
|
|
212
|
-
padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));
|
|
213
|
-
`),w("unchecked",`
|
|
214
|
-
left: 0;
|
|
215
|
-
justify-content: flex-end;
|
|
216
|
-
padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));
|
|
217
|
-
`),_("&:focus",[w("rail",`
|
|
218
|
-
box-shadow: var(--n-box-shadow-focus);
|
|
219
|
-
`)]),J("round",[w("rail","border-radius: calc(var(--n-rail-height) / 2);",[w("button","border-radius: calc(var(--n-button-height) / 2);")])]),ke("disabled",[ke("icon",[J("rubber-band",[J("pressed",[w("rail",[w("button","max-width: var(--n-button-width-pressed);")])]),w("rail",[_("&:active",[w("button","max-width: var(--n-button-width-pressed);")])]),J("active",[J("pressed",[w("rail",[w("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),w("rail",[_("&:active",[w("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),J("active",[w("rail",[w("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),w("rail",`
|
|
220
|
-
overflow: hidden;
|
|
221
|
-
height: var(--n-rail-height);
|
|
222
|
-
min-width: var(--n-rail-width);
|
|
223
|
-
border-radius: var(--n-rail-border-radius);
|
|
224
|
-
cursor: pointer;
|
|
225
|
-
position: relative;
|
|
226
|
-
transition:
|
|
227
|
-
opacity .3s var(--n-bezier),
|
|
228
|
-
background .3s var(--n-bezier),
|
|
229
|
-
box-shadow .3s var(--n-bezier);
|
|
230
|
-
background-color: var(--n-rail-color);
|
|
231
|
-
`,[w("button-icon",`
|
|
232
|
-
color: var(--n-icon-color);
|
|
233
|
-
transition: color .3s var(--n-bezier);
|
|
234
|
-
font-size: calc(var(--n-button-height) - 4px);
|
|
235
|
-
position: absolute;
|
|
236
|
-
left: 0;
|
|
237
|
-
right: 0;
|
|
238
|
-
top: 0;
|
|
239
|
-
bottom: 0;
|
|
240
|
-
display: flex;
|
|
241
|
-
justify-content: center;
|
|
242
|
-
align-items: center;
|
|
243
|
-
line-height: 1;
|
|
244
|
-
`,[qo()]),w("button",`
|
|
245
|
-
align-items: center;
|
|
246
|
-
top: var(--n-offset);
|
|
247
|
-
left: var(--n-offset);
|
|
248
|
-
height: var(--n-button-height);
|
|
249
|
-
width: var(--n-button-width-pressed);
|
|
250
|
-
max-width: var(--n-button-width);
|
|
251
|
-
border-radius: var(--n-button-border-radius);
|
|
252
|
-
background-color: var(--n-button-color);
|
|
253
|
-
box-shadow: var(--n-button-box-shadow);
|
|
254
|
-
box-sizing: border-box;
|
|
255
|
-
cursor: inherit;
|
|
256
|
-
content: "";
|
|
257
|
-
position: absolute;
|
|
258
|
-
transition:
|
|
259
|
-
background-color .3s var(--n-bezier),
|
|
260
|
-
left .3s var(--n-bezier),
|
|
261
|
-
opacity .3s var(--n-bezier),
|
|
262
|
-
max-width .3s var(--n-bezier),
|
|
263
|
-
box-shadow .3s var(--n-bezier);
|
|
264
|
-
`)]),J("active",[w("rail","background-color: var(--n-rail-color-active);")]),J("loading",[w("rail",`
|
|
265
|
-
cursor: wait;
|
|
266
|
-
`)]),J("disabled",[w("rail",`
|
|
267
|
-
cursor: not-allowed;
|
|
268
|
-
opacity: .5;
|
|
269
|
-
`)])]),ru=Object.assign(Object.assign({},Ao.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let zo;const tu=so({name:"Switch",props:ru,setup(o){be(()=>{o.onChange&&Kt("switch","`on-change` is deprecated, please use `on-update:value` instead.")}),zo===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?zo=CSS.supports("width","max(1px)"):zo=!1:zo=!0);const{mergedClsPrefixRef:e,inlineThemeDisabled:r}=Kr(o),t=Ao("Switch","-switch",eu,mp,o,e),l=Il(o),{mergedSizeRef:n,mergedDisabledRef:i}=l,a=q(o.defaultValue),c=xr(o,"value"),d=yl(c,a),s=L(()=>d.value===o.checkedValue),p=q(!1),C=q(!1),u=L(()=>{const{railStyle:m}=o;if(m)return m({focused:C.value,checked:s.value})});function g(m){const{"onUpdate:value":z,onChange:O,onUpdateValue:k}=o,{nTriggerFormInput:j,nTriggerFormChange:U}=l;z&&_o(z,m),k&&_o(k,m),O&&_o(O,m),a.value=m,j(),U()}function b(){const{nTriggerFormFocus:m}=l;m()}function S(){const{nTriggerFormBlur:m}=l;m()}function f(){o.loading||i.value||(d.value!==o.checkedValue?g(o.checkedValue):g(o.uncheckedValue))}function P(){C.value=!0,b()}function I(){C.value=!1,S(),p.value=!1}function F(m){o.loading||i.value||m.key===" "&&(d.value!==o.checkedValue?g(o.checkedValue):g(o.uncheckedValue),p.value=!1)}function B(m){o.loading||i.value||m.key===" "&&(m.preventDefault(),p.value=!0)}const A=L(()=>{const{value:m}=n,{self:{opacityDisabled:z,railColor:O,railColorActive:k,buttonBoxShadow:j,buttonColor:U,boxShadowFocus:So,loadingColor:Wo,textColor:yo,iconColor:Ho,[eo("buttonHeight",m)]:Y,[eo("buttonWidth",m)]:It,[eo("buttonWidthPressed",m)]:Tt,[eo("railHeight",m)]:oo,[eo("railWidth",m)]:Po,[eo("railBorderRadius",m)]:Mt,[eo("buttonBorderRadius",m)]:$t},common:{cubicBezierEaseInOut:Bt}}=t.value;let re,te,le;return zo?(re=`calc((${oo} - ${Y}) / 2)`,te=`max(${oo}, ${Y})`,le=`max(${Po}, calc(${Po} + ${Y} - ${oo}))`):(re=ne((K(oo)-K(Y))/2),te=ne(Math.max(K(oo),K(Y))),le=K(oo)>K(Y)?Po:ne(K(Po)+K(Y)-K(oo))),{"--n-bezier":Bt,"--n-button-border-radius":$t,"--n-button-box-shadow":j,"--n-button-color":U,"--n-button-width":It,"--n-button-width-pressed":Tt,"--n-button-height":Y,"--n-height":te,"--n-offset":re,"--n-opacity-disabled":z,"--n-rail-border-radius":Mt,"--n-rail-color":O,"--n-rail-color-active":k,"--n-rail-height":oo,"--n-rail-width":Po,"--n-width":le,"--n-box-shadow-focus":So,"--n-loading-color":Wo,"--n-text-color":yo,"--n-icon-color":Ho}}),$=r?Xr("switch",L(()=>n.value[0]),A,o):void 0;return{handleClick:f,handleBlur:I,handleFocus:P,handleKeyup:F,handleKeydown:B,mergedRailStyle:u,pressed:p,mergedClsPrefix:e,mergedValue:d,checked:s,mergedDisabled:i,cssVars:r?void 0:A,themeClass:$==null?void 0:$.themeClass,onRender:$==null?void 0:$.onRender}},render(){const{mergedClsPrefix:o,mergedDisabled:e,checked:r,mergedRailStyle:t,onRender:l,$slots:n}=this;l==null||l();const{checked:i,unchecked:a,icon:c,"checked-icon":d,"unchecked-icon":s}=n,p=!(ae(c)&&ae(d)&&ae(s));return M("div",{role:"switch","aria-checked":r,class:[`${o}-switch`,this.themeClass,p&&`${o}-switch--icon`,r&&`${o}-switch--active`,e&&`${o}-switch--disabled`,this.round&&`${o}-switch--round`,this.loading&&`${o}-switch--loading`,this.pressed&&`${o}-switch--pressed`,this.rubberBand&&`${o}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},M("div",{class:`${o}-switch__rail`,"aria-hidden":"true",style:t},ro(i,C=>ro(a,u=>C||u?M("div",{"aria-hidden":!0,class:`${o}-switch__children-placeholder`},M("div",{class:`${o}-switch__rail-placeholder`},M("div",{class:`${o}-switch__button-placeholder`}),C),M("div",{class:`${o}-switch__rail-placeholder`},M("div",{class:`${o}-switch__button-placeholder`}),u)):null)),M("div",{class:`${o}-switch__button`},ro(c,C=>ro(d,u=>ro(s,g=>M(Zr,null,{default:()=>this.loading?M($a,{key:"loading",clsPrefix:o,strokeWidth:20}):this.checked&&(u||C)?M("div",{class:`${o}-switch__button-icon`,key:u?"checked-icon":"icon"},u||C):!this.checked&&(g||C)?M("div",{class:`${o}-switch__button-icon`,key:g?"unchecked-icon":"icon"},g||C):null})))),ro(i,C=>C&&M("div",{key:"checked",class:`${o}-switch__checked`},C)),ro(a,C=>C&&M("div",{key:"unchecked",class:`${o}-switch__unchecked`},C)))))}}),lu=()=>({}),nu={name:"Equation",common:h,self:lu},iu=nu,au={name:"dark",common:h,Alert:rs,Anchor:is,AutoComplete:ps,Avatar:lt,AvatarGroup:xs,BackTop:bs,Badge:Ss,Breadcrumb:ws,Button:V,ButtonGroup:Sd,Calendar:Ds,Card:nt,Carousel:Es,Cascader:qs,Checkbox:vo,Code:it,Collapse:Ks,CollapseTransition:oc,ColorPicker:Os,DataTable:fc,DatePicker:Bc,Descriptions:Oc,Dialog:gt,Divider:Nc,Drawer:qc,Dropdown:$e,DynamicInput:Yc,DynamicTags:od,Element:rd,Empty:uo,Ellipsis:dt,Equation:iu,Form:id,GradientText:sd,Icon:yc,IconWrapper:pd,Image:Yp,Input:Q,InputNumber:Hd,LegacyTransfer:Zp,Layout:wd,List:Td,LoadingBar:$d,Log:Dd,Menu:kd,Mention:Ad,Message:bd,Modal:Ec,Notification:hd,PageHeader:Ed,Pagination:ct,Popconfirm:Vd,Popover:Co,Popselect:at,Progress:xt,Radio:pt,Rate:Jd,Result:Zd,Row:Jp,Scrollbar:N,Select:st,Skeleton:ou,Slider:rp,Space:ht,Spin:np,Statistic:sp,Steps:up,Switch:gp,Table:Sp,Tabs:wp,Tag:tt,Thing:Tp,TimePicker:Ct,Timeline:Bp,Tooltip:ee,Transfer:Ap,Tree:ft,TreeSelect:kp,Typography:_p,Upload:Vp,Watermark:qp};var er;const bt=typeof window<"u",su=o=>typeof o=="function",cu=o=>typeof o=="string",du=()=>{};bt&&(er=window==null?void 0:window.navigator)!=null&&er.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Do(o){return typeof o=="function"?o():to(o)}function pu(o,e){function r(...t){return new Promise((l,n)=>{Promise.resolve(o(()=>e.apply(this,t),{fn:e,thisArg:this,args:t})).then(l).catch(n)})}return r}const vt=o=>o();function uu(o=vt){const e=q(!0);function r(){e.value=!1}function t(){e.value=!0}const l=(...n)=>{e.value&&o(...n)};return{isActive:vr(e),pause:r,resume:t,eventFilter:l}}function Cu(o){return o}function St(o){return Et()?(_t(o),!0):!1}function gu(o){return typeof o=="function"?L(o):q(o)}function yt(o,e=!0){Rt()?br(o):e?o():Hr(o)}function hu(o=!1,e={}){const{truthyValue:r=!0,falsyValue:t=!1}=e,l=fr(o),n=q(o);function i(a){if(arguments.length)return n.value=a,n.value;{const c=Do(r);return n.value=n.value===c?Do(t):c,n.value}}return l?i:[n,i]}var rr=Object.getOwnPropertySymbols,xu=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,fu=(o,e)=>{var r={};for(var t in o)xu.call(o,t)&&e.indexOf(t)<0&&(r[t]=o[t]);if(o!=null&&rr)for(var t of rr(o))e.indexOf(t)<0&&mu.call(o,t)&&(r[t]=o[t]);return r};function bu(o,e,r={}){const t=r,{eventFilter:l=vt}=t,n=fu(t,["eventFilter"]);return $o(o,pu(l,e),n)}var vu=Object.defineProperty,Su=Object.defineProperties,yu=Object.getOwnPropertyDescriptors,Qo=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,tr=(o,e,r)=>e in o?vu(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,Hu=(o,e)=>{for(var r in e||(e={}))Ht.call(e,r)&&tr(o,r,e[r]);if(Qo)for(var r of Qo(e))Pt.call(e,r)&&tr(o,r,e[r]);return o},Pu=(o,e)=>Su(o,yu(e)),wu=(o,e)=>{var r={};for(var t in o)Ht.call(o,t)&&e.indexOf(t)<0&&(r[t]=o[t]);if(o!=null&&Qo)for(var t of Qo(o))e.indexOf(t)<0&&Pt.call(o,t)&&(r[t]=o[t]);return r};function zu(o,e,r={}){const t=r,{eventFilter:l}=t,n=wu(t,["eventFilter"]),{eventFilter:i,pause:a,resume:c,isActive:d}=uu(l);return{stop:bu(o,e,Pu(Hu({},n),{eventFilter:i})),pause:a,resume:c,isActive:d}}function Iu(o){var e;const r=Do(o);return(e=r==null?void 0:r.$el)!=null?e:r}const go=bt?window:void 0;function lr(...o){let e,r,t,l;if(cu(o[0])||Array.isArray(o[0])?([r,t,l]=o,e=go):[e,r,t,l]=o,!e)return du;Array.isArray(r)||(r=[r]),Array.isArray(t)||(t=[t]);const n=[],i=()=>{n.forEach(s=>s()),n.length=0},a=(s,p,C,u)=>(s.addEventListener(p,C,u),()=>s.removeEventListener(p,C,u)),c=$o(()=>[Iu(e),Do(l)],([s,p])=>{i(),s&&n.push(...r.flatMap(C=>t.map(u=>a(s,C,u,p))))},{immediate:!0,flush:"post"}),d=()=>{c(),i()};return St(d),d}function Tu(o,e=!1){const r=q(),t=()=>r.value=!!o();return t(),yt(t,e),r}function Mu(o,e={}){const{window:r=go}=e,t=Tu(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let l;const n=q(!1),i=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",a):l.removeListener(a))},a=()=>{t.value&&(i(),l=r.matchMedia(gu(o).value),n.value=l.matches,"addEventListener"in l?l.addEventListener("change",a):l.addListener(a))};return be(a),St(()=>i()),n}const me=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},fe="__vueuse_ssr_handlers__";me[fe]=me[fe]||{};const $u=me[fe];function wt(o,e){return $u[o]||e}function Bu(o){return o==null?"any":o instanceof Set?"set":o instanceof Map?"map":o instanceof Date?"date":typeof o=="boolean"?"boolean":typeof o=="string"?"string":typeof o=="object"?"object":Number.isNaN(o)?"any":"number"}var Du=Object.defineProperty,nr=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,ir=(o,e,r)=>e in o?Du(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,ar=(o,e)=>{for(var r in e||(e={}))Fu.call(e,r)&&ir(o,r,e[r]);if(nr)for(var r of nr(e))Au.call(e,r)&&ir(o,r,e[r]);return o};const Ou={boolean:{read:o=>o==="true",write:o=>String(o)},object:{read:o=>JSON.parse(o),write:o=>JSON.stringify(o)},number:{read:o=>Number.parseFloat(o),write:o=>String(o)},any:{read:o=>o,write:o=>String(o)},string:{read:o=>o,write:o=>String(o)},map:{read:o=>new Map(JSON.parse(o)),write:o=>JSON.stringify(Array.from(o.entries()))},set:{read:o=>new Set(JSON.parse(o)),write:o=>JSON.stringify(Array.from(o))},date:{read:o=>new Date(o),write:o=>o.toISOString()}},sr="vueuse-storage";function Wu(o,e,r,t={}){var l;const{flush:n="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:c=!0,mergeDefaults:d=!1,shallow:s,window:p=go,eventFilter:C,onError:u=m=>{console.error(m)}}=t,g=(s?yr:q)(e);if(!r)try{r=wt("getDefaultStorage",()=>{var m;return(m=go)==null?void 0:m.localStorage})()}catch(m){u(m)}if(!r)return g;const b=Do(e),S=Bu(b),f=(l=t.serializer)!=null?l:Ou[S],{pause:P,resume:I}=zu(g,()=>F(g.value),{flush:n,deep:i,eventFilter:C});return p&&a&&(lr(p,"storage",$),lr(p,sr,A)),$(),g;function F(m){try{if(m==null)r.removeItem(o);else{const z=f.write(m),O=r.getItem(o);O!==z&&(r.setItem(o,z),p&&p.dispatchEvent(new CustomEvent(sr,{detail:{key:o,oldValue:O,newValue:z,storageArea:r}})))}}catch(z){u(z)}}function B(m){const z=m?m.newValue:r.getItem(o);if(z==null)return c&&b!==null&&r.setItem(o,f.write(b)),b;if(!m&&d){const O=f.read(z);return su(d)?d(O,b):S==="object"&&!Array.isArray(O)?ar(ar({},b),O):O}else return typeof z!="string"?z:f.read(z)}function A(m){$(m.detail)}function $(m){if(!(m&&m.storageArea!==r)){if(m&&m.key==null){g.value=b;return}if(!(m&&m.key!==o)){P();try{g.value=B(m)}catch(z){u(z)}finally{m?Hr(I):I()}}}}}function zt(o){return Mu("(prefers-color-scheme: dark)",o)}var Lu=Object.defineProperty,cr=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,ju=Object.prototype.propertyIsEnumerable,dr=(o,e,r)=>e in o?Lu(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,Ru=(o,e)=>{for(var r in e||(e={}))ku.call(e,r)&&dr(o,r,e[r]);if(cr)for(var r of cr(e))ju.call(e,r)&&dr(o,r,e[r]);return o};function Eu(o={}){const{selector:e="html",attribute:r="class",initialValue:t="auto",window:l=go,storage:n,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:c,emitAuto:d}=o,s=Ru({auto:"",light:"light",dark:"dark"},o.modes||{}),p=zt({window:l}),C=L(()=>p.value?"dark":"light"),u=c||(i==null?q(t):Wu(i,t,n,{window:l,listenToStorageChanges:a})),g=L({get(){return u.value==="auto"&&!d?C.value:u.value},set(P){u.value=P}}),b=wt("updateHTMLAttrs",(P,I,F)=>{const B=l==null?void 0:l.document.querySelector(P);if(B)if(I==="class"){const A=F.split(/\s/g);Object.values(s).flatMap($=>($||"").split(/\s/g)).filter(Boolean).forEach($=>{A.includes($)?B.classList.add($):B.classList.remove($)})}else B.setAttribute(I,F)});function S(P){var I;const F=P==="auto"?C.value:P;b(e,r,(I=s[F])!=null?I:F)}function f(P){o.onChanged?o.onChanged(P,S):S(P)}return $o(g,f,{flush:"post",immediate:!0}),d&&$o(C,()=>f(g.value),{flush:"post"}),yt(()=>f(g.value)),g}var _u=Object.defineProperty,Gu=Object.defineProperties,Nu=Object.getOwnPropertyDescriptors,pr=Object.getOwnPropertySymbols,Vu=Object.prototype.hasOwnProperty,Uu=Object.prototype.propertyIsEnumerable,ur=(o,e,r)=>e in o?_u(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,qu=(o,e)=>{for(var r in e||(e={}))Vu.call(e,r)&&ur(o,r,e[r]);if(pr)for(var r of pr(e))Uu.call(e,r)&&ur(o,r,e[r]);return o},Qu=(o,e)=>Gu(o,Nu(e));function Ju(o={}){const{valueDark:e="dark",valueLight:r="",window:t=go}=o,l=Eu(Qu(qu({},o),{onChanged:(i,a)=>{var c;o.onChanged?(c=o.onChanged)==null||c.call(o,i==="dark"):a(i)},modes:{dark:e,light:r}})),n=zt({window:t});return L({get(){return l.value==="dark"},set(i){i===n.value?l.value="auto":l.value=i?"dark":"light"}})}var Cr;(function(o){o.UP="UP",o.RIGHT="RIGHT",o.DOWN="DOWN",o.LEFT="LEFT",o.NONE="NONE"})(Cr||(Cr={}));var Yu=Object.defineProperty,gr=Object.getOwnPropertySymbols,Ku=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,hr=(o,e,r)=>e in o?Yu(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,Zu=(o,e)=>{for(var r in e||(e={}))Ku.call(e,r)&&hr(o,r,e[r]);if(gr)for(var r of gr(e))Xu.call(e,r)&&hr(o,r,e[r]);return o};const oC={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Zu({linear:Cu},oC);const Mo=Ju(),uC=hu(Mo);L(()=>Mo.value?au:null);const eC={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},rC=Pr("path",{d:"M6.76 4.84l-1.8-1.79l-1.41 1.41l1.79 1.79zM1 10.5h3v2H1zM11 .55h2V3.5h-2zm8.04 2.495l1.408 1.407l-1.79 1.79l-1.407-1.408zm-1.8 15.115l1.79 1.8l1.41-1.41l-1.8-1.79zM20 10.5h3v2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6s-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4s4 1.79 4 4s-1.79 4-4 4zm-1 4h2v2.95h-2zm-7.45-.96l1.41 1.41l1.79-1.8l-1.41-1.41z",fill:"currentColor"},null,-1),tC=[rC],lC=so({name:"WbSunnyOutlined",render:function(o,e){return ve(),mr("svg",eC,tC)}}),nC={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},iC=Pr("path",{d:"M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z",fill:"currentColor"},null,-1),aC=[iC],sC=so({name:"DarkModeOutlined",render:function(o,e){return ve(),mr("svg",nC,aC)}}),CC=so({__name:"switch",props:{round:{type:Boolean,default:!1},darkBackground:{default:"linear-gradient(135deg,#42e695,#3bb2b8)"},lightBackground:{default:""}},setup(o){const e=o,r=({checked:t})=>({background:t?e.darkBackground:e.lightBackground});return(t,l)=>(ve(),At(to(tu),{round:t.round,"rail-style":r,value:to(Mo),"onUpdate:value":l[0]||(l[0]=n=>fr(Mo)?Mo.value=n:null)},{"checked-icon":Lo(()=>[ko(to(or),null,{default:Lo(()=>[Be(t.$slots,"dark",{},()=>[ko(to(sC))])]),_:3})]),"unchecked-icon":Lo(()=>[ko(to(or),null,{default:Lo(()=>[Be(t.$slots,"light",{},()=>[ko(to(lC))])]),_:3})]),_:3},8,["round","value"]))}});export{Mo as C,uC as a,CC as h};
|