vrem
Version:
An open-source automatic time-tracker
1 lines • 328 kB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(e,t,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},"0366":function(e,t,n){var r=n("1c0b");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"04f7":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=Symbol("tabs")},"057f":function(e,t,n){var r=n("fc6a"),o=n("241c").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?c(e):o(r(e))}},"0680":function(e,t,n){"use strict";function r(e,t=[],n){const r={},o=Object.getOwnPropertyNames(e);return o.forEach(n=>{t.includes(n)||(r[n]=e[n])}),Object.assign(r,n)}n.d(t,"a",(function(){return r}))},"06c5":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("fb6a"),n("d3b7"),n("b0c0"),n("a630"),n("3ca3");var r=n("6b75");function o(e,t){if(e){if("string"===typeof e)return Object(r["a"])(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r["a"])(e,t):void 0}}},"06cf":function(e,t,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),a=n("fc6a"),c=n("a04b"),s=n("5135"),l=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=c(t),l)try{return u(e,t)}catch(n){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},"0b19":function(e,t,n){"use strict";n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return j})),n.d(t,"c",(function(){return x}));var r={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"};const o="^\\s*",i="\\s*$",a="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*",c="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",s="([0-9A-Fa-f])",l="([0-9A-Fa-f]{2})",u=(new RegExp(`${o}hsl\\s*\\(${c},${a},${a}\\)${i}`),new RegExp(`${o}hsv\\s*\\(${c},${a},${a}\\)${i}`),new RegExp(`${o}hsla\\s*\\(${c},${a},${a},${c}\\)${i}`),new RegExp(`${o}hsva\\s*\\(${c},${a},${a},${c}\\)${i}`),new RegExp(`${o}rgb\\s*\\(${c},${c},${c}\\)${i}`)),d=new RegExp(`${o}rgba\\s*\\(${c},${c},${c},${c}\\)${i}`),f=new RegExp(`${o}#${s}${s}${s}${i}`),p=new RegExp(`${o}#${l}${l}${l}${i}`),b=new RegExp(`${o}#${s}${s}${s}${s}${i}`),h=new RegExp(`${o}#${l}${l}${l}${l}${i}`);function v(e){return parseInt(e,16)}function g(e){try{let t;if(t=p.exec(e))return[v(t[1]),v(t[2]),v(t[3]),1];if(t=u.exec(e))return[C(t[1]),C(t[5]),C(t[9]),1];if(t=d.exec(e))return[C(t[1]),C(t[5]),C(t[9]),w(t[13])];if(t=f.exec(e))return[v(t[1]+t[1]),v(t[2]+t[2]),v(t[3]+t[3]),1];if(t=h.exec(e))return[v(t[1]),v(t[2]),v(t[3]),w(v(t[4])/255)];if(t=b.exec(e))return[v(t[1]+t[1]),v(t[2]+t[2]),v(t[3]+t[3]),w(v(t[4]+t[4])/255)];if(e in r)return g(r[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function m(e){return e>1?1:e<0?0:e}function y(e,t,n,r){return`rgba(${C(e)}, ${C(t)}, ${C(n)}, ${m(r)})`}function O(e,t,n,r,o){return C((e*t*(1-r)+n*r)/o)}function j(e,t){Array.isArray(e)||(e=g(e)),Array.isArray(t)||(t=g(t));const n=e[3],r=t[3],o=w(n+r-n*r);return y(O(e[0],n,t[0],r,o),O(e[1],n,t[1],r,o),O(e[2],n,t[2],r,o),o)}function x(e,t){const[n,r,o,i=1]=Array.isArray(e)?e:g(e),{lightness:a=1,alpha:c=1}=t;return _([n*a,r*a,o*a,i*c])}function w(e){const t=Math.round(100*Number(e))/100;return t>1?1:t<0?0:t}function C(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function _(e){const[t,n,r]=e;return 3 in e?`rgba(${C(t)}, ${C(n)}, ${C(r)}, ${w(e[3])})`:`rgba(${C(t)}, ${C(n)}, ${C(r)}, 1)`}},"0b42":function(e,t,n){var r=n("861d"),o=n("e8b5"),i=n("b622"),a=i("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)?r(t)&&(t=t[a],null===t&&(t=void 0)):t=void 0),void 0===t?Array:t}},"0ccb":function(e,t,n){var r=n("50c4"),o=n("577e"),i=n("1148"),a=n("1d80"),c=Math.ceil,s=function(e){return function(t,n,s){var l,u,d=o(a(t)),f=d.length,p=void 0===s?" ":o(s),b=r(n);return b<=f||""==p?d:(l=b-f,u=i.call(p,c(l/p.length)),u.length>l&&(u=u.slice(0,l)),e?d+u:u+d)}};e.exports={start:s(!1),end:s(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),o=n("d039"),i=n("cc12");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"107c":function(e,t,n){var r=n("d039"),o=n("da84"),i=o.RegExp;e.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1147:function(e,t,n){"use strict";function r(e){return null!=e&&"object"==typeof e}t["a"]=r},1148:function(e,t,n){"use strict";var r=n("a691"),o=n("577e"),i=n("1d80");e.exports=function(e){var t=o(i(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},1276:function(e,t,n){"use strict";var r=n("d784"),o=n("44e7"),i=n("825a"),a=n("1d80"),c=n("4840"),s=n("8aa5"),l=n("50c4"),u=n("577e"),d=n("14c3"),f=n("9263"),p=n("9f7f"),b=n("d039"),h=p.UNSUPPORTED_Y,v=[].push,g=Math.min,m=4294967295,y=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));r("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=u(a(this)),i=void 0===n?m:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);var c,s,l,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),b=0,h=new RegExp(e.source,p+"g");while(c=f.call(h,r)){if(s=h.lastIndex,s>b&&(d.push(r.slice(b,c.index)),c.length>1&&c.index<r.length&&v.apply(d,c.slice(1)),l=c[0].length,b=s,d.length>=i))break;h.lastIndex===c.index&&h.lastIndex++}return b===r.length?!l&&h.test("")||d.push(""):d.push(r.slice(b)),d.length>i?d.slice(0,i):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(u(o),t,n)},function(e,o){var a=i(this),f=u(e),p=n(r,a,f,o,r!==t);if(p.done)return p.value;var b=c(a,RegExp),v=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(h?"g":"y"),O=new b(h?"^(?:"+a.source+")":a,y),j=void 0===o?m:o>>>0;if(0===j)return[];if(0===f.length)return null===d(O,f)?[f]:[];var x=0,w=0,C=[];while(w<f.length){O.lastIndex=h?0:w;var _,S=d(O,h?f.slice(w):f);if(null===S||(_=g(l(O.lastIndex+(h?w:0)),f.length))===x)w=s(f,w,v);else{if(C.push(f.slice(x,w)),C.length===j)return C;for(var E=1;E<=S.length-1;E++)if(C.push(S[E]),C.length===j)return C;w=x=_}}return C.push(f.slice(x)),C}]}),!y,h)},"14c3":function(e,t,n){var r=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var i=n.call(e,t);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"159b":function(e,t,n){var r=n("da84"),o=n("fdbc"),i=n("785a"),a=n("17c2"),c=n("9112"),s=function(e){if(e&&e.forEach!==a)try{c(e,"forEach",a)}catch(t){e.forEach=a}};for(var l in o)s(r[l]&&r[l].prototype);s(i)},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,o=n("a640"),i=o("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"19aa":function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},"1a43":function(e,t,n){"use strict";var r=n("7a23"),o=n("e50b");t["a"]=Object(o["a"])("info",Object(r["q"])("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},Object(r["q"])("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},Object(r["q"])("g",{"fill-rule":"nonzero"},Object(r["q"])("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"})))))},"1ab2":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7a23");function o(){const e=Object(r["I"])(!1);return Object(r["A"])(()=>{e.value=!0}),Object(r["H"])(e)}},"1bc6":function(e,t,n){"use strict";var r=n("f0ce"),o=n("1147"),i="[object Symbol]";function a(e){return"symbol"==typeof e||Object(o["a"])(e)&&Object(r["a"])(e)==i}t["a"]=a},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c0b":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(e,t,n){var r=n("b622"),o=r("iterator"),i=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){i=!0}};c[o]=function(){return this},Array.from(c,(function(){throw 2}))}catch(s){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(s){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d80":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"1da1":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("d3b7");function r(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,s,"next",e)}function s(e){r(a,o,i,c,s,"throw",e)}c(void 0)}))}}},"1dde":function(e,t,n){var r=n("d039"),o=n("b622"),i=n("2d00"),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,n){var r=n("825a"),o=n("e95a"),i=n("50c4"),a=n("0366"),c=n("9a1f"),s=n("35a1"),l=n("2a62"),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var d,f,p,b,h,v,g,m=n&&n.that,y=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_ITERATOR),j=!(!n||!n.INTERRUPTED),x=a(t,m,1+y+j),w=function(e){return d&&l(d,"normal",e),new u(!0,e)},C=function(e){return y?(r(e),j?x(e[0],e[1],w):x(e[0],e[1])):j?x(e,w):x(e)};if(O)d=e;else{if(f=s(e),"function"!=typeof f)throw TypeError("Target is not iterable");if(o(f)){for(p=0,b=i(e.length);b>p;p++)if(h=C(e[p]),h&&h instanceof u)return h;return new u(!1)}d=c(e,f)}v=d.next;while(!(g=v.call(d)).done){try{h=C(g.value)}catch(_){l(d,"throw",_)}if("object"==typeof h&&h&&h instanceof u)return h}return new u(!1)}},2332:function(e,t,n){"use strict";function r(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}t["a"]=r},"23cb":function(e,t,n){var r=n("a691"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"23e7":function(e,t,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),a=n("6eeb"),c=n("ce4e"),s=n("e893"),l=n("94ca");e.exports=function(e,t){var n,u,d,f,p,b,h=e.target,v=e.global,g=e.stat;if(u=v?r:g?r[h]||c(h,{}):(r[h]||{}).prototype,u)for(d in t){if(p=t[d],e.noTargetGet?(b=o(u,d),f=b&&b.value):f=u[d],n=l(v?d:h+(g?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof p===typeof f)continue;s(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(u,d,p,e)}}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"25f0":function(e,t,n){"use strict";var r=n("6eeb"),o=n("825a"),i=n("577e"),a=n("d039"),c=n("ad6d"),s="toString",l=RegExp.prototype,u=l[s],d=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f=u.name!=s;(d||f)&&r(RegExp.prototype,s,(function(){var e=o(this),t=i(e.source),n=e.flags,r=i(void 0===n&&e instanceof RegExp&&!("flags"in l)?c.call(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),o=n("9bf2"),i=n("b622"),a=n("83ab"),c=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},"26e2":function(e,t,n){"use strict";var r=n("7a23"),o=n("bcc0"),i=n("2b2c"),a=n("a70a");const{c:c}=Object(a["a"])(),s=c(".v-x-scroll",{overflow:"auto",scrollbarWidth:"none"},[c("&::-webkit-scrollbar",{width:0,height:0})]);var l=Object(r["o"])({name:"XScroll",props:{disabled:Boolean,onScroll:Function},setup(){const e=Object(r["I"])(null);function t(e){const t=e.currentTarget.offsetWidth<e.currentTarget.scrollWidth;t&&0!==e.deltaY&&(e.currentTarget.scrollLeft+=e.deltaY+e.deltaX,e.preventDefault())}const n=Object(i["a"])();s.mount({id:"vueuc/x-scroll",head:!0,ssr:n});const o={scrollTo(...t){var n;null===(n=e.value)||void 0===n||n.scrollTo(...t)}};return Object.assign({selfRef:e,handleWheel:t},o)},render(){return Object(r["q"])("div",{ref:"selfRef",onScroll:this.onScroll,onWheelPassive:this.disabled?void 0:this.handleWheel,class:"v-x-scroll"},this.$slots)}}),u=n("2332"),d=n("26ee"),f=function(){return d["a"].Date.now()},p=f,b=/\s/;function h(e){var t=e.length;while(t--&&b.test(e.charAt(t)));return t}var v=h,g=/^\s+/;function m(e){return e?e.slice(0,v(e)+1).replace(g,""):e}var y=m,O=n("1bc6"),j=NaN,x=/^[-+]0x[0-9a-f]+$/i,w=/^0b[01]+$/i,C=/^0o[0-7]+$/i,_=parseInt;function S(e){if("number"==typeof e)return e;if(Object(O["a"])(e))return j;if(Object(u["a"])(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Object(u["a"])(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=y(e);var n=w.test(e);return n||C.test(e)?_(e.slice(2),n?2:8):x.test(e)?j:+e}var E=S,P="Expected a function",k=Math.max,A=Math.min;function T(e,t,n){var r,o,i,a,c,s,l=0,d=!1,f=!1,b=!0;if("function"!=typeof e)throw new TypeError(P);function h(t){var n=r,i=o;return r=o=void 0,l=t,a=e.apply(i,n),a}function v(e){return l=e,c=setTimeout(y,t),d?h(e):a}function g(e){var n=e-s,r=e-l,o=t-n;return f?A(o,i-r):o}function m(e){var n=e-s,r=e-l;return void 0===s||n>=t||n<0||f&&r>=i}function y(){var e=p();if(m(e))return O(e);c=setTimeout(y,g(e))}function O(e){return c=void 0,b&&r?h(e):(r=o=void 0,a)}function j(){void 0!==c&&clearTimeout(c),l=0,r=s=o=c=void 0}function x(){return void 0===c?a:O(p())}function w(){var e=p(),n=m(e);if(r=arguments,o=this,s=e,n){if(void 0===c)return v(s);if(f)return clearTimeout(c),c=setTimeout(y,t),h(s)}return void 0===c&&(c=setTimeout(y,t)),a}return t=E(t)||0,Object(u["a"])(n)&&(d=!!n.leading,f="maxWait"in n,i=f?k(E(n.maxWait)||0,t):i,b="trailing"in n?!!n.trailing:b),w.cancel=j,w.flush=x,w}var $=T,L="Expected a function";function z(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(L);return Object(u["a"])(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),$(e,t,{leading:r,maxWait:t,trailing:o})}var R=z;function I(e,t){return Object(r["g"])(()=>{for(const n of t)if(void 0!==e[n])return e[n];return e[t[t.length-1]]})}function M(e,t){return Object(r["S"])(e,e=>{void 0!==e&&(t.value=e)}),Object(r["g"])(()=>void 0===e.value?t.value:e.value)}var F=n("957f");let B,q;const D=()=>{var e,t;B=F["b"]?null===(t=null===(e=document)||void 0===e?void 0:e.fonts)||void 0===t?void 0:t.ready:void 0,q=!1,void 0!==B?B.then(()=>{q=!0}):q=!0};function H(e){if(q)return;let t=!1;Object(r["A"])(()=>{q||null===B||void 0===B||B.then(()=>{t||e()})}),Object(r["y"])(()=>{t=!0})}D();var N=n("2884"),W=n("551f"),G=n("678c"),U=n("6552"),V=n("59a3"),K={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabPaddingSmallCard:"6px 10px",tabPaddingMediumCard:"8px 12px",tabPaddingLargeCard:"8px 16px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0"},Z=n("a183");const Y=e=>{const{textColor2:t,primaryColor:n,textColorDisabled:r,closeColor:o,closeColorHover:i,closeColorPressed:a,tabColor:c,baseColor:s,dividerColor:l,fontWeight:u,textColor1:d,borderRadius:f,fontSize:p,fontWeightStrong:b}=e;return Object.assign(Object.assign({},K),{colorSegment:c,tabFontSizeCard:p,tabTextColorLine:d,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:r,tabTextColorSegment:d,tabTextColorActiveSegment:n,tabTextColorHoverSegment:n,tabTextColorDisabledSegment:r,tabTextColorBar:d,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:r,tabTextColorCard:d,tabTextColorHoverCard:d,tabTextColorActiveCard:n,tabTextColorDisabledCard:r,barColor:n,closeColor:o,closeColorHover:i,closeColorPressed:a,tabColor:c,tabColorSegment:s,tabBorderColor:l,tabFontWeightActive:u,tabFontWeight:u,tabBorderRadius:f,paneTextColor:t,fontWeightStrong:b})},X={name:"Tabs",common:Z["a"],self:Y};var J=X,Q=n("04f7"),ee=n("ada5"),te=Object(ee["c"])("tabs","\n width: 100%;\n transition:\n background-color .3s var(--bezier),\n border-color .3s var(--bezier);\n",[Object(ee["c"])("tabs-rail","\n padding: 3px;\n border-radius: var(--tab-border-radius);\n width: 100%;\n background-color: var(--color-segment);\n transition: background-color .3s var(--bezier);\n display: flex;\n align-items: center;\n ",[Object(ee["c"])("tabs-tab-wrapper","\n flex-basis: 0;\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[Object(ee["c"])("tabs-tab","\n overflow: hidden;\n border-radius: var(--tab-border-radius);\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n ",[Object(ee["e"])("active","\n font-weight: var(--font-weight-strong);\n background-color: var(--tab-color-segment);\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .08);\n ")])])]),Object(ee["e"])("flex",[Object(ee["c"])("tabs-nav",{width:"100%"},[Object(ee["c"])("tabs-wrapper",{width:"100%"},[Object(ee["c"])("tabs-tab",{marginRight:0})])])]),Object(ee["c"])("tabs-nav","\n box-sizing: border-box;\n line-height: 1.5;\n display: flex;\n transition: border-color .3s var(--bezier);\n ",[Object(ee["d"])("prefix, suffix","\n display: flex;\n align-items: center;\n "),Object(ee["d"])("prefix","padding-right: 16px;"),Object(ee["d"])("suffix","padding-left: 16px;")]),Object(ee["c"])("tabs-nav-scroll-wrapper","\n flex: 1;\n position: relative;\n overflow: hidden;\n ",[Object(ee["e"])("shadow-before",[Object(ee["b"])("&::before","\n box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, .12);\n ")]),Object(ee["e"])("shadow-after",[Object(ee["b"])("&::after","\n box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, .12);\n ")]),Object(ee["b"])("&::before, &::after",'\n transition: box-shadow .3s var(--bezier);\n pointer-events: none;\n content: "";\n position: absolute;\n top: 0;\n bottom: 0;\n width: 20px;\n z-index: 1;\n '),Object(ee["b"])("&::before","\n left: 0;\n "),Object(ee["b"])("&::after","\n right: 0;\n ")]),Object(ee["c"])("tabs-nav-scroll-content","\n display: flex;\n position: relative;\n "),Object(ee["c"])("tabs-wrapper","\n display: inline-flex;\n flex-wrap: nowrap;\n position: relative;\n "),Object(ee["c"])("tabs-tab-wrapper","\n display: flex;\n flex-wrap: nowrap;\n flex-shrink: 0;\n flex-grow: 0;\n "),Object(ee["c"])("tabs-tab","\n cursor: pointer;\n white-space: nowrap;\n flex-wrap: nowrap;\n display: inline-flex;\n align-items: center;\n color: var(--tab-text-color);\n font-size: var(--tab-font-size);\n background-clip: padding-box;\n padding: var(--tab-padding);\n transition:\n box-shadow .3s var(--bezier),\n color .3s var(--bezier),\n background-color .3s var(--bezier),\n border-color .3s var(--bezier);\n ",[Object(ee["e"])("disabled",{cursor:"not-allowed"}),Object(ee["d"])("close","\n margin-left: 8px;\n font-size: 14px;\n transition: color .3s var(--bezier);\n "),Object(ee["d"])("label","\n display: flex;\n align-items: center;\n ")]),Object(ee["c"])("tabs-bar","\n position: absolute;\n bottom: 0;\n height: 2px;\n border-radius: 1px;\n background-color: var(--bar-color);\n transition:\n left .2s var(--bezier),\n max-width .2s var(--bezier),\n background-color .3s var(--bezier);\n ",[Object(ee["e"])("transition-disabled","\n transition: none;\n "),Object(ee["e"])("disabled","\n background-color: var(--tab-text-color-disabled)\n ")]),Object(ee["c"])("tab-pane","\n color: var(--pane-text-color);\n width: 100%;\n padding: var(--pane-padding);\n transition:\n color .3s var(--bezier),\n background-color .3s var(--bezier);\n "),Object(ee["c"])("tabs-tab-pad","\n width: var(--tab-gap);\n flex-grow: 0;\n flex-shrink: 0;\n "),Object(ee["e"])("line-type, bar-type",[Object(ee["c"])("tabs-tab","\n font-weight: var(--tab-font-weight-active);\n box-sizing: border-box;\n vertical-align: bottom;\n ",[Object(ee["b"])("&:hover",{color:"var(--tab-text-color-hover)"}),Object(ee["e"])("active",{color:"var(--tab-text-color-active)"}),Object(ee["e"])("disabled",{color:"var(--tab-text-color-disabled)"})])]),Object(ee["c"])("tabs-nav",[Object(ee["e"])("line-type",[Object(ee["d"])("prefix, suffix","\n transition: border-color .3s var(--bezier);\n border-bottom: 1px solid var(--tab-border-color);\n "),Object(ee["c"])("tabs-nav-scroll-content","\n transition: border-color .3s var(--bezier);\n border-bottom: 1px solid var(--tab-border-color);\n "),Object(ee["c"])("tabs-bar","\n border-radius: 0;\n bottom: -1px;\n ")]),Object(ee["e"])("card-type",[Object(ee["d"])("prefix, suffix","\n transition: border-color .3s var(--bezier);\n border-bottom: 1px solid var(--tab-border-color);\n "),Object(ee["c"])("tabs-pad","\n flex-grow: 1;\n transition: border-color .3s var(--bezier);\n border-bottom: 1px solid var(--tab-border-color);\n "),Object(ee["c"])("tabs-tab-pad","\n transition: border-color .3s var(--bezier);\n border-bottom: 1px solid var(--tab-border-color);\n "),Object(ee["c"])("tabs-tab","\n font-weight: var(--tab-font-weight);\n border: 1px solid var(--tab-border-color);\n border-top-left-radius: var(--tab-border-radius);\n border-top-right-radius: var(--tab-border-radius);\n background-color: var(--tab-color);\n box-sizing: border-box;\n position: relative;\n vertical-align: bottom;\n display: flex;\n justify-content: space-between;\n font-size: var(--tab-font-size);\n color: var(--tab-text-color);\n ",[Object(ee["e"])("addable","\n padding-left: 8px;\n padding-right: 8px;\n font-size: 16px;\n ",[Object(ee["f"])("disabled",[Object(ee["b"])("&:hover","\n color: var(--tab-text-color-active);\n ")])]),Object(ee["e"])("closable","padding-right: 6px;"),Object(ee["e"])("active","\n border-bottom: 1px solid #0000;\n background-color: #0000;\n font-weight: var(--tab-font-weight-active);\n color: var(--tab-text-color-active);\n "),Object(ee["e"])("disabled","color: var(--tab-text-color-disabled);")]),Object(ee["c"])("tabs-scroll-padding","border-bottom: 1px solid var(--tab-border-color);")])])]),ne=Object(r["o"])({name:"Add",render(){return Object(r["q"])("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Object(r["q"])("line",{x1:"256",y1:"112",x2:"256",y2:"400",style:"fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px; "}),Object(r["q"])("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:"fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px;"}))}}),re=n("ca4f"),oe=n("ea41"),ie=n("cd79"),ae=n("434c"),ce=Object(r["o"])({name:"Tab",props:Object.assign({leftPadded:Boolean,addable:Boolean},ae["b"]),setup(e){const{mergedClsPrefixRef:t,valueRef:n,typeRef:o,closableRef:i,tabStyleRef:a,handleAdd:c,handleTabClick:s,handleClose:l}=Object(r["r"])(Q["a"]);return{mergedClosable:Object(r["g"])(()=>{if(e.addable)return!1;const{closable:t}=e;return void 0===t?i.value:t}),style:a,clsPrefix:t,value:n,type:o,handleClose(t){t.stopPropagation(),e.disabled||l(e.name)},handleClick(){e.disabled||(e.addable?c():s(e.name))}}},render(){const{addable:e,clsPrefix:t,name:n,disabled:o,label:i,tab:a,value:c,mergedClosable:s,style:l,$slots:{default:u}}=this,d=null!==i&&void 0!==i?i:a;return Object(r["q"])("div",{class:t+"-tabs-tab-wrapper"},this.leftPadded?Object(r["q"])("div",{class:t+"-tabs-tab-pad"}):null,Object(r["q"])("div",{key:n,"data-name":n,"data-disabled":!!o||void 0,class:[t+"-tabs-tab",c===n&&t+"-tabs-tab--active",o&&t+"-tabs-tab--disabled",s&&t+"-tabs-tab--closable",e&&t+"-tabs-tab--addable"],onClick:this.handleClick,style:e?void 0:l},Object(r["q"])("span",{class:t+"-tabs-tab__label"},e?Object(r["q"])(re["a"],{clsPrefix:t},{default:()=>Object(r["q"])(ne,null)}):u?u():"object"===typeof d?d:Object(ie["a"])(null!==d&&void 0!==d?d:n)),s&&"card"===this.type?Object(r["q"])(oe["a"],{clsPrefix:t,class:t+"-tabs-tab__close",onClick:this.handleClose,disabled:o}):null))}});const se=Object.assign(Object.assign({},N["b"].props),{value:[String,Number],defaultValue:[String,Number],type:{type:String,default:"bar"},closable:Boolean,justifyContent:String,size:{type:String,default:"medium"},tabStyle:[String,Object],paneStyle:[String,Object],addable:[Boolean,Object],tabsPadding:{type:Number,default:0},onAdd:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onClose:[Function,Array],labelSize:String,activeName:[String,Number],onActiveNameChange:[Function,Array]});t["a"]=Object(r["o"])({name:"Tabs",props:se,setup(e,{slots:t}){var n,o;const{mergedClsPrefixRef:i}=Object(W["a"])(e),a=Object(N["b"])("Tabs","Tabs",te,J,e,i),c=Object(r["I"])(null),s=Object(r["I"])(null),l=Object(r["I"])(null),u=Object(r["I"])(null),d=Object(r["I"])(null),f=Object(r["I"])(!0),p=Object(r["I"])(!0),b=I(e,["labelSize","size"]),h=I(e,["activeName","value"]),v=Object(r["I"])(null!==(o=null!==(n=h.value)&&void 0!==n?n:e.defaultValue)&&void 0!==o?o:t.default?Object(G["a"])(t.default())[0].props.name:null),g=M(h,v),m=Object(r["g"])(()=>{if(e.justifyContent&&"card"!==e.type)return{display:"flex",justifyContent:e.justifyContent}});function y(){var e;const{value:t}=g;if(null===t)return null;const n=null===(e=c.value)||void 0===e?void 0:e.querySelector(`[data-name="${t}"]`);return n}function O(t){if("card"===e.type)return;const{value:n}=s;if(n&&t){const e=i.value+"-tabs-bar--disabled";"true"===t.dataset.disabled?n.classList.add(e):n.classList.remove(e),n.style.left=t.offsetLeft+"px",n.style.width="8192px",n.style.maxWidth=t.offsetWidth+1+"px"}}function j(){if("card"===e.type)return;const t=y();t&&O(t)}function x(e){w(e)}function w(t){const{onActiveNameChange:n,onUpdateValue:r,"onUpdate:value":o}=e;n&&Object(U["a"])(n,t),r&&Object(U["a"])(r,t),o&&Object(U["a"])(o,t),v.value=t}function C(t){const{onClose:n}=e;n&&Object(U["a"])(n,t)}Object(r["S"])(g,()=>{j()});let _=!0;const S=R((function(){var t;const{type:n}=e;if(("line"===n||"bar"===n)&&(_||e.justifyContent)){const{value:e}=s;if(!e)return;_||(_=!1);const t=i.value+"-tabs-bar--transition-disabled";e.classList.add(t),j(),e.classList.remove(t)}"segment"!==n&&T(null===(t=d.value)||void 0===t?void 0:t.$el)}),64),E=Object(r["I"])(!1);function P(e){var t;const{target:n,contentRect:{width:r}}=e,o=n.parentElement.offsetWidth;if(E.value){const{value:e}=u;if(!e)return;o-r>e.$el.offsetWidth&&(E.value=!1)}else o<r&&(E.value=!0);T(null===(t=d.value)||void 0===t?void 0:t.$el)}const k=R(P,64);function A(){const{onAdd:t}=e;t&&t(),Object(r["u"])(()=>{const e=y(),{value:t}=d;e&&t&&t.scrollTo({left:e.offsetLeft,top:0,behavior:"smooth"})})}function T(e){if(!e)return;const{scrollLeft:t,scrollWidth:n,offsetWidth:r}=e;f.value=t<=0,p.value=t+r>=n}const $=R(e=>{T(e.target)},64);return Object(r["E"])(Q["a"],{tabStyleRef:Object(r["O"])(e,"tabStyle"),paneStyleRef:Object(r["O"])(e,"paneStyle"),mergedClsPrefixRef:i,typeRef:Object(r["O"])(e,"type"),closableRef:Object(r["O"])(e,"closable"),valueRef:g,handleTabClick:x,handleClose:C,handleAdd:A}),H(()=>{j()}),Object(r["T"])(()=>{const{value:e}=l;if(!e)return;const{value:t}=i,n=t+"-tabs-nav-scroll-wrapper--shadow-before",r=t+"-tabs-nav-scroll-wrapper--shadow-after";f.value?e.classList.remove(n):e.classList.add(n),p.value?e.classList.remove(r):e.classList.add(r)}),{mergedClsPrefix:i,mergedValue:g,tabsElRef:c,barElRef:s,addTabInstRef:u,xScrollInstRef:d,scrollWrapperElRef:l,addTabFixed:E,tabWrapperStyle:m,handleNavResize:S,mergedSize:b,handleScroll:$,handleTabsResize:k,cssVars:Object(r["g"])(()=>{const{value:t}=b,{type:n}=e,r={card:"Card",bar:"Bar",line:"Line",segment:"Segment"}[n],o=`${t}${r}`,{self:{barColor:i,closeColor:c,closeColorHover:s,closeColorPressed:l,tabColor:u,tabBorderColor:d,paneTextColor:f,tabFontWeight:p,tabBorderRadius:h,tabFontWeightActive:v,colorSegment:g,fontWeightStrong:m,tabColorSegment:y,[Object(V["a"])("panePadding",t)]:O,[Object(V["a"])("tabPadding",o)]:j,[Object(V["a"])("tabGap",o)]:x,[Object(V["a"])("tabTextColor",n)]:w,[Object(V["a"])("tabTextColorActive",n)]:C,[Object(V["a"])("tabTextColorHover",n)]:_,[Object(V["a"])("tabTextColorDisabled",n)]:S,[Object(V["a"])("tabFontSize",t)]:E},common:{cubicBezierEaseInOut:P}}=a.value;return{"--bezier":P,"--color-segment":g,"--bar-color":i,"--tab-font-size":E,"--tab-text-color":w,"--tab-text-color-active":C,"--tab-text-color-disabled":S,"--tab-text-color-hover":_,"--pane-text-color":f,"--tab-border-color":d,"--tab-border-radius":h,"--close-color":c,"--close-color-hover":s,"--close-color-pressed":l,"--tab-color":u,"--tab-font-weight":p,"--tab-font-weight-active":v,"--tab-padding":j,"--tab-gap":x,"--pane-padding":O,"--font-weight-strong":m,"--tab-color-segment":y}})}},render(){const{mergedClsPrefix:e,type:t,addTabFixed:n,addable:i,mergedSize:a,$slots:{default:c,prefix:s,suffix:u}}=this,d=c?Object(G["a"])(c()).filter(e=>!0===e.type.__TAB_PANE__):[],f=s?s():null,p=u?u():null,b="card"===t,h="segment"===t,v=!b&&!h&&this.justifyContent;return Object(r["q"])("div",{class:[e+"-tabs",`${e}-tabs--${t}-type`,`${e}-tabs--${a}-size`,v&&e+"-tabs--flex"],style:this.cssVars},Object(r["q"])("div",{class:[`${e}-tabs-nav--${t}-type`,e+"-tabs-nav"]},f?Object(r["q"])("div",{class:e+"-tabs-nav__prefix"},f):null,h?Object(r["q"])("div",{class:e+"-tabs-rail"},d.map((e,t)=>Object(r["q"])(ce,Object.assign({},e.props,{leftPadded:0!==t}),e.children?{default:e.children.tab}:void 0))):Object(r["q"])(o["a"],{onResize:this.handleNavResize},{default:()=>Object(r["q"])("div",{class:e+"-tabs-nav-scroll-wrapper",ref:"scrollWrapperElRef"},Object(r["q"])(l,{ref:"xScrollInstRef",onScroll:this.handleScroll},{default:()=>{const t=Object(r["q"])("div",{style:this.tabWrapperStyle,class:e+"-tabs-wrapper"},v?null:Object(r["q"])("div",{class:e+"-tabs-scroll-padding",style:{width:this.tabsPadding+"px"}}),d.map((e,t)=>Object(r["q"])(ce,Object.assign({},e.props,{leftPadded:0!==t&&!v}),e.children?{default:e.children.tab}:void 0)),!n&&i&&b?ue(i,0!==d.length):null,v?null:Object(r["q"])("div",{class:e+"-tabs-scroll-padding",style:{width:this.tabsPadding+"px"}}));let a=t;return b&&i&&(a=Object(r["q"])(o["a"],{onResize:this.handleTabsResize},{default:()=>t})),Object(r["q"])("div",{ref:"tabsElRef",class:e+"-tabs-nav-scroll-content"},a,b?Object(r["q"])("div",{class:e+"-tabs-pad"}):null,b?null:Object(r["q"])("div",{ref:"barElRef",class:e+"-tabs-bar"}))}}))}),n&&i&&b?ue(i,!0):null,p?Object(r["q"])("div",{class:e+"-tabs-nav__suffix"},p):null),le(d,this.mergedValue))}});function le(e,t){const n=[];return e.forEach(e=>{const{name:o,displayDirective:i,"display-directive":a}=e.props,c="show"===i||"show"===a,s=t===o;void 0!==e.key&&(e.key=o),c?n.push(Object(r["W"])(e,[[r["R"],s]])):s&&n.push(e)}),n}function ue(e,t){return Object(r["q"])(ce,{ref:"addTabInstRef",key:"__addable",name:"__addable",addable:!0,leftPadded:t,disabled:"object"===typeof e&&e.disabled})}},"26ee":function(e,t,n){"use strict";var r=n("5ea3"),o="object"==typeof self&&self&&self.Object===Object&&self,i=r["a"]||o||Function("return this")();t["a"]=i},2884:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7a23"),o=n("a1a3"),i=n("2b2c"),a=n("aad4"),c=n("5927");function s(e){return e}function l(e,t,n,s,l,u){const d=Object(i["a"])();if(n){const e=()=>{const e=null===u||void 0===u?void 0:u.value;n.mount({id:void 0===e?t:e+t,head:!0,props:{bPrefix:e?`.${e}-`:void 0},ssr:d}),a["a"].mount({id:"naive-ui/global",head:!0,ssr:d})};d?e():Object(r["x"])(e)}const f=Object(r["r"])(c["a"],null),p=Object(r["g"])(()=>{var t;const{theme:{common:n,self:r,peers:i={}}={},themeOverrides:a={},builtinThemeOverrides:c={}}=l,{common:u,peers:d}=a,{common:p,[e]:{common:b,self:h,peers:v={}}={}}=(null===f||void 0===f?void 0:f.mergedThemeRef.value)||{},{common:g,[e]:m={}}=(null===f||void 0===f?void 0:f.mergedThemeOverridesRef.value)||{},{common:y,peers:O={}}=m,j=Object(o["a"])({},n||b||p||s.common,g,y,u),x=Object(o["a"])(null===(t=r||h||s.self)||void 0===t?void 0:t(j),c,m,a);return{common:j,self:x,peers:Object(o["a"])({},s.peers,v,i),peerOverrides:Object(o["a"])({},O,d)}});return p}l.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object},t["b"]=l},2909:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("6b75");function o(e){if(Array.isArray(e))return Object(r["a"])(e)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("a630");function i(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var a=n("06c5");function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e){return o(e)||i(e)||Object(a["a"])(e)||c()}},"2a62":function(e,t,n){var r=n("825a");e.exports=function(e,t,n){var o,i;r(e);try{if(o=e["return"],void 0===o){if("throw"===t)throw n;return n}o=o.call(e)}catch(a){i=!0,o=a}if("throw"===t)throw n;if(i)throw o;return r(o),n}},"2b2c":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("7a23");const o=Symbol("@css-render/vue3-ssr");function i(e,t){return`<style cssr-id="${e}">\n${t}\n</style>`}function a(e,t){const n=Object(r["r"])(o,null);if(null===n)return void console.error("[css-render/vue3-ssr]: no ssr context found.");const{styles:a,ids:c}=n;c.has(e)||null!==a&&(c.add(e),a.push(i(e,t)))}function c(){const e=Object(r["r"])(o,null);if(null!==e)return{adapter:a,context:e}}},"2cf4":function(e,t,n){var r,o,i,a,c=n("da84"),s=n("d039"),l=n("0366"),u=n("1be4"),d=n("cc12"),f=n("1cdc"),p=n("605d"),b=c.setImmediate,h=c.clearImmediate,v=c.process,g=c.MessageChannel,m=c.Dispatch,y=0,O={},j="onreadystatechange";try{r=c.location}catch(S){}var x=function(e){if(O.hasOwnProperty(e)){var t=O[e];delete O[e],t()}},w=function(e){return function(){x(e)}},C=function(e){x(e.data)},_=function(e){c.postMessage(String(e),r.protocol+"//"+r.host)};b&&h||(b=function(e){var t=[],n=arguments.length,r=1;while(n>r)t.push(arguments[r++]);return O[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},o(y),y},h=function(e){delete O[e]},p?o=function(e){v.nextTick(w(e))}:m&&m.now?o=function(e){m.now(w(e))}:g&&!f?(i=new g,a=i.port2,i.port1.onmessage=C,o=l(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&r&&"file:"!==r.protocol&&!s(_)?(o=_,c.addEventListener("message",C,!1)):o=j in d("script")?function(e){u.appendChild(d("script"))[j]=function(){u.removeChild(this),x(e)}}:function(e){setTimeout(w(e),0)}),e.exports={set:b,clear:h}},"2d00":function(e,t,n){var r,o,i=n("da84"),a=n("342f"),c=i.process,s=i.Deno,l=c&&c.versions||s&&s.version,u=l&&l.v8;u?(r=u.split("."),o=r[0]<4?1:r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(o=r[1]))),e.exports=o&&+o},"2f74":function(e,t,n){"use strict";function r(){return!1}t["a"]=r},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3519:function(e,t,n){"use strict";var r=n("7a23"),o=n("ac51"),i=n("0b19");function a(e){return Object(i["a"])(e,[255,255,255,.16])}function c(e){return Object(i["a"])(e,[0,0,0,.12])}var s=n("2884");const l=Symbol("formItem");function u(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const i=Object(r["r"])(l,null);Object(r["E"])(l,null);const a=Object(r["g"])(n?()=>n(i):()=>{const{size:n}=e;if(n)return n;if(i){const{mergedSize:e}=i;if(void 0!==e.value)return e.value}return t}),c=Object(r["g"])(o?()=>o(i):()=>{const{disabled:t}=e;return void 0!==t?t:!!i&&i.disabled.value});return Object(r["y"])(()=>{i&&i.restoreValidation()}),{mergedSizeRef:a,mergedDisabledRef:c,nTriggerFormBlur(){i&&i.handleContentBlur()},nTriggerFormChange(){i&&i.handleContentChange()},nTriggerFormFocus(){i&&i.handleContentFocus()},nTriggerFormInput(){i&&i.handleContentInput()}}}var d=n("551f"),f=n("7aab"),p=n("6a00"),b=n("44ae"),h=n("dca7"),v=n("ada5"),g=Object(v["c"])("base-wave","\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n border-radius: inherit;\n"),m=Object(r["o"])({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Object(h["a"])("BaseWave",g,Object(r["O"])(e,"clsPrefix"));const t=Object(r["I"])(null),n=Object(r["I"])(!1);let o=null;return Object(r["y"])(()=>{null!==o&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){null!==o&&(window.clearTimeout(o),n.value=!1,o=null),Object(r["u"])(()=>{var e;null===(e=t.value)||void 0===e||e.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return Object(r["q"])("div",{ref:"selfRef","aria-hidden":!0,class:[e+"-base-wave",this.active&&e+"-base-wave--active"]})}}),y=n("6552"),O=n("59a3"),j=n("5d45");const x="0!important",w="-1px!important";function C(e){return Object(v["e"])(e+"-type",[Object(v["b"])("& +",[Object(v["c"])("button",{},[Object(v["e"])(e+"-type",[Object(v["d"])("border",{borderLeftWidth:x}),Object(v["d"])("state-border",{left:w})])])])])}function _(e){return Object(v["e"])(e+"-type",[Object(v["b"])("& +",[Object(v["c"])("button",[Object(v["e"])(e+"-type",[Object(v["d"])("border",{borderTopWidth:x}),Object(v["d"])("state-border",{top:w})])])])])}var S=Object(v["c"])("button-group","\n flex-wrap: nowrap;\n display: inline-flex;\n position: relative;\n",[Object(v["f"])("vertical",{flexDirection:"row"},[Object(v["c"])("button",[Object(v["b"])("&:first-child:not(:last-child)",`\n margin-right: ${x};\n border-top-right-radius: ${x};\n border-bottom-right-radius: ${x};\n `),Object(v["b"])("&:last-child:not(:first-child)",`\n margin-left: ${x};\n border-top-left-radius: ${x};\n border-bottom-left-radius: ${x};\n `),Object(v["b"])("&:not(:first-child):not(:last-child)",`\n margin-left: ${x};\n margin-right: ${x};\n border-radius: ${x};\n `),C("default"),Object(v["e"])("ghost",[C("primary"),C("info"),C("success"),C("warning"),C("error")])])]),Object(v["e"])("vertical",{flexDirection:"column"},[Object(v["c"])("button",[Object(v["b"])("&:first-child:not(:last-child)",`\n margin-bottom: ${x};\n margin-left: ${x};\n margin-right: ${x};\n border-bottom-left-radius: ${x};\n border-bottom-right-radius: ${x};\n `),Object(v["b"])("&:last-child:not(:first-child)",`\n margin-top: ${x};\n margin-left: ${x};\n margin-right: ${x};\n border-top-left-radius: ${x};\n border-top-right-radius: ${x};\n `),Object(v["b"])("&:not(:first-child):not(:last-child)",`\n margin: ${x};\n border-radius: ${x};\n `),_("default"),Object(v["e"])("ghost",[_("primary"),_("info"),_("success"),_("warning"),_("error")])])])]);const E=Symbol("button-group"),P={size:{type:String,default:void 0},vertical:Boolean};Object(r["o"])({name:"ButtonGroup",props:P,setup(e){const{mergedClsPrefixRef:t}=Object(d["a"])(e);return Object(h["a"])("ButtonGroup",S,t),Object(r["E"])(E,e),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return Object(r["q"])("div",{class:[e+"-button-group",this.vertical&&e+"-button-group--vertical"],role:"group"},this.$slots)}});var k=n("f9d1");const{cubicBezierEaseInOut:A}=k["a"];var T=function({duration:e=".2s",delay:t=".1s"}={}){return[Object(v["b"])("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),Object(v["b"])("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from","\n opacity: 0!important;\n margin-left: 0!important;\n margin-right: 0!important;\n "),Object(v["b"])("&.fade-in-width-expand-transition-leave-active",`\n overflow: hidden;\n transition:\n opacity ${e} ${A},\n max-width ${e} ${A} ${t},\n margin-left ${e} ${A} ${t},\n margin-right ${e} ${A} ${t};\n `),Object(v["b"])("&.fade-in-width-expand-transition-enter-active",`\n overflow: hidden;\n transition:\n opacity ${e} ${A} ${t},\n max-width ${e} ${A},\n margin-left ${e} ${A},\n margin-right ${e} ${A};\n `)]},$=n("ce64"),L=Object(v["b"])([Object(v["c"])("button","\n font-weight: var(--font-weight);\n line-height: 1;\n font-family: inherit;\n padding: var(--padding);\n height: var(--height);\n font-size: var(--font-size);\n border-radius: var(--border-radius);\n color: var(--text-color);\n background-color: var(--color);\n width: var(--width);\n white-space: nowrap;\n outline: none;\n position: relative;\n z-index: auto;\n border: none;\n display: inline-flex;\n flex-wrap: nowrap;\n align-items: center;\n justify-content: center;\n user-select: none;\n text-align: center;\n cursor: pointer;\n text-decoration: none;\n transition:\n color .3s var(--bezier),\n background-color .3s var(--bezier),\n opacity .3s var(--bezier),\n border-color .3s var(--bezier);\n ",[Object(v["e"])("color",[Object(v["d"])("border",{borderColor:"var(--border-color)"}),Object(v["e"])("disabled",[Object(v["d"])("border",{borderColor:"var(--border-color-disabled)"})]),Object(v["f"])("disabled",[Object(v["b"])("&:focus",[Object(v["d"])("state-border",{borderColor:"var(--border-color-focus)"})]),Object(v["b"])("&:hover",[Object(v["d"])("state-border",{borderColor:"var(--border-color-hover)"})]),Object(v["b"])("&:active",[Object(v["d"])("state-border",{borderColor:"var(--border-color-pressed)"})]),Object(v["e"])("pressed",[Object(v["d"])("state-border",{borderColor:"var(--border-color-pressed)"})])])]),Object(v["e"])("disabled",{backgroundColor:"var(--color-disabled)",color:"var(--text-color-disabled)"},[Object(v["d"])("border",{border:"var(--border-disabled)"})]),Object(v["f"])("disabled",[Object(v["b"])("&:focus",{backgroundColor:"var(--color-focus)",color:"var(--text-color-focus)"},[Object(v["d"])("state-border",{border:"var(--border-focus)"})]),Object(v["b"])("&:hover",{backgroundColor:"var(--color-hover)",color:"var(--text-color-hover)"},[Object(v["d"])("state-border",{border:"var(--border-hover)"})]),Object(v["b"])("&:active",{backgroundColor:"var(--color-pressed)",color:"var(--text-color-pressed)"},[Object(v["d"])("state-border",{border:"var(--border-pressed)"})]),Object(v["e"])("pressed",{backgroundColor:"var(--color-pressed)",color:"var(--text-color-pressed)"},[Object(v["d"])("state-border",{border:"var(--border-pressed)"})])]),Object(v["c"])("base-wave","\n pointer-events: none;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n animation-iteration-count: 1;\n animation-duration: var(--ripple-duration);\n animation-timing-function: var(--bezier-ease-out), var(--bezier-ease-out);\n ",[Object(v["e"])("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),"undefined"!==typeof window&&"MozBoxSizing"in document.createElement("div").style?Object(v["b"])("&::moz-focus-inner",{border:0}):null,Object(v["d"])("border, state-border","\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n border-radius: inherit;\n transition: border-color .3s var(--bezier);\n pointer-events: none;\n "),Object(v["d"])("border",{border:"var(--border)"}),Object(v["d"])("state-border",{border:"var(--border)",borderColor:"#0000",zIndex:1}),Object(v["d"])("icon","\n margin: var(--icon-margin);\n margin-left: 0;\n height: var(--icon-size);\n width: var(--icon-size);\n max-width: var(--icon-size);\n font-size: var(--icon-size);\n position: relative;\n flex-shrink: 0;\n ",[Object(v["c"])("icon-slot","\n height: var(--icon-size);\n width: var(--icon-size);\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n ",[Object($["a"])({top:"50%",originalTransform:"translateY(-50%)"})]),T()]),Object(v["d"])("content","\n display: flex;\n align-items: center;\n flex-wrap: nowrap;\n ",[Object(v["b"])("~",[Object(v["d"])("icon",{margin:"var(--icon-margin)",marginRight:0})])]),Object(v["e"])("block","\n display: flex;\n width: 100%;\n "),Object(v["e"])("dashed",[Object(v["d"])("border, state-border",{borderStyle:"dashed !important"})]),Object(v["e"])("disabled",{cursor:"not-allowed",opacity:"var(--opacity-disabled)"})]),Object(v["b"])("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--ripple-color)"}}),Object(v["b"])("@keyframes button-wave-opacity",{from:{opacity:"var(--wave-opacity)"},to:{opacity:0}})]),z=n("bf21");const R=Object.assign(Object.assign({},s["b"].props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,depth:[Number,String],focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},onClick:[Function,Array],bordered:{type:Boolean,default:!0}}),I=Object(r["o"])({name:"Button",props:R,setup(e){const t=Object(r["I"])(null),n=Object(r["I"])(null),i=Object(r["I"])(!1),l=Object(o["a"])(()=>!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),f=Object(r["r"])(E,{}),{mergedSizeRef:p}=u({},{defaultSize:"medium",mergedSize:t=>{const{size:n}=e;if(n)return n;const{size:r}=f;if(r)return r;const{mergedSize:o}=t||{};return o?o.value:"medium"}}),b=Object(r["g"])(()=>e.focusable&&!e.disabled),h=n=>{var r;n.preventDefault(),e.disabled||b.value&&(null===(r=t.value)||void 0===r||r.focus({preventScroll:!0}))},v=t=>{if(!e.disabled){const{onClick:r}=e;if(r&&Object(y["a"])(r,t),!e.text){const{value:e}=n;e&&e.play()}}},g=n=>{switch(n.code){case"Enter":case"NumpadEnter":if(!e.keyboard)return void n.preventDefault();i.value=!1,Object(r["u"])(()=>{var n;e.disabled||null===(n=t.value)||void 0===n||n.click()})}},m=t=>{switch(t.code){case"Enter":case"NumpadEnter":if(!e.keyboard)return;t.preventDefault(),i.value=!0}},x=()=>{i.value=!1},{mergedClsPrefixRef:w,NConfigProvider:C}=Object(d["a"])(e),_=Object(s["b"])("Button","Button",L,j["a"],e,w),S=Object(z["a"])("Button",null===C||void 0===C?void 0:C.mergedRtlRef,w);return{selfRef:t,waveRef:n,mergedClsPrefix:w,mergedFocusable:b,mergedSize:p,showBorder:l,enterPressed:i,rtlEnabled:S,handleMouseDown:h,handleKeyDown:m,handleBlur:x,handleKeyUp:g,handleClick:v,customColorCssVars:Object(r["g"])(()=>{const{color:t}=e;if(!t)return null;const n=a(t);return{"--border-color":t,"--border-color-hover":n,"--border-color-pressed":c(t),"--border-color-focus":n,"--border-color-disabled":t}}),cssVars:Object(r["g"])(()=>{const t=_.value,{common:{cubicBezierEaseInOut:n,cubicBezierEaseOut:r},self:o}=t,{rippleDuration:i,opacityDisabled:s,fontWeightText:l,fontWeighGhost:u,fontWeight:d}=o,f=p.value,{dashed:b,type:h,ghost:v,text:g,color:m,round:y,circle:j,textColor:x}=e,w={fontWeight:g?l:v?u:d};let C={"--color":"initial","--color-hover":"initial","--color-pressed":"initial","--color-focus":"initial","--color-disabled":"initial","--ripple-color":"initial","--text-color":"initial","--text-color-hover":"initial","--text-color-pressed":"initial","--text-color-focus":"initial","--text-color-disabled":"initial"};if(g){const{depth:t}=e,n=x||m,r=n||("default"===h&&void 0!==t?o[Object(O["a"])("textColorTextDepth",String(t))]:o[Object(O["a"])("textColorText",h)]);C={"--color":"#0000","--color-hover":"#0000","--color-pressed":"#0000","--color-focus":"#0000","--color-disabled":"#0000","--ripple-color":"#0000","--text-color":r,"--text-color-hover":n?a(n):o[Object(O["a"])("textColorTextHover",h)],"--text-color-pressed":n?c(n):o[Object(O["a"])("textColorTextPressed",h)],"--text-color-focus":n?a(n):o[Object(O["a"])("textColorTextHover",h)],"--text-color-disabled":n||o[Object(O["a"])("textColorTextDisabled",h)]}}else if(v||b){const e=x||m;C={"--color":"#0000","--color-hover":"#0000","--color-pressed":"#0000","--color-focus":"#0000","--color-disabled":"#0000","--ripple-color":m||o[Object(O["a"])("rippleColor",h)],"--text-color":e||o[Object(O["a"])("textColorGhost",h)],"--text-color-hover":e?a(e):o[Object(O["a"])("textColorGhostHover",h)],"--text-color-pressed":e?c(e):o[Object(O["a"])("textColorGhostPressed",h)],"--text-color-focus":e?a(e):o[Object(O["a"])("textColorGhostHover",h)],"--text-color-disabled":e||o[Object(O["a"])("textColorGhostDisabled",h)]}}else C={"--color":m||o[Object(O["a"])("color",h)],"--color-hover":m?a(m):o[Object(O["a"])("colorHover",h)],"--color-pressed":m?c(m):o[Object(O["a"])("colorPressed",h)],"--color-focus":m?a(m):o[Object(O["a"])("colorFocus",h)],"--color-disabled":m||o[Object(O["a"])("colorDisabled",h)],"--ripple-colo