@farm-investimentos/front-mfe-components 7.2.0 → 7.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["front-mfe-components"]=e(require("vue")):t["front-mfe-components"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(s,n,function(e){return t[e]}.bind(null,n));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fae3")}({"0042":function(t,e,i){"use strict";i("f58f")},"02f0":function(t,e,i){},"05f4":function(t,e,i){},"06cf":function(t,e,i){var s=i("83ab"),n=i("c65b"),r=i("d1e7"),a=i("5c6c"),o=i("fc6a"),l=i("a04b"),c=i("1a2d"),h=i("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=s?u:function(t,e){if(t=o(t),e=l(e),h)try{return u(t,e)}catch(i){}if(c(t,e))return a(!n(r.f,t,e),t[e])}},"07fa":function(t,e,i){var s=i("50c4");t.exports=function(t){return s(t.length)}},"08c9":function(t,e,i){"use strict";i("1713")},"0bc6":function(t,e,i){},"0c18":function(t,e,i){},"0cfb":function(t,e,i){var s=i("83ab"),n=i("d039"),r=i("cc12");t.exports=!s&&!n((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e){var i=String;t.exports=function(t){try{return i(t)}catch(e){return"Object"}}},"103a":function(t,e,i){"use strict";i("cdeb")},"121f":function(t,e,i){"use strict";i("59f2")},1266:function(t,e,i){},"13b3":function(t,e,i){},"13d2":function(t,e,i){var s=i("d039"),n=i("1626"),r=i("1a2d"),a=i("83ab"),o=i("5e77").CONFIGURABLE,l=i("8925"),c=i("69f3"),h=c.enforce,u=c.get,d=Object.defineProperty,p=a&&!s((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),f=t.exports=function(t,e,i){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!r(t,"name")||o&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),p&&i&&r(i,"arity")&&t.length!==i.arity&&d(t,"length",{value:i.arity});try{i&&r(i,"constructor")&&i.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(n){}var s=h(t);return r(s,"source")||(s.source=m.join("string"==typeof e?e:"")),t};Function.prototype.toString=f((function(){return n(this)&&u(this).source||l(this)}),"toString")},"150b":function(t,e,i){"use strict";i("c649")},"151b":function(t,e,i){},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"166a":function(t,e,i){},1713:function(t,e,i){},"17b3":function(t,e,i){},"19c3":function(t,e,i){},"1a2d":function(t,e,i){var s=i("e330"),n=i("7b0b"),r=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(n(t),e)}},"1b2c":function(t,e,i){},"1be4":function(t,e,i){var s=i("d066");t.exports=s("document","documentElement")},"1bfb":function(t,e,i){},"1c18":function(t,e,i){},"1d80":function(t,e){var i=TypeError;t.exports=function(t){if(void 0==t)throw i("Can't call method on "+t);return t}},2102:function(t,e,i){},"23cb":function(t,e,i){var s=i("5926"),n=Math.max,r=Math.min;t.exports=function(t,e){var i=s(t);return i<0?n(i+e,0):r(i,e)}},"23e7":function(t,e,i){var s=i("da84"),n=i("06cf").f,r=i("9112"),a=i("cb2d"),o=i("6374"),l=i("e893"),c=i("94ca");t.exports=function(t,e){var i,h,u,d,p,m,f=t.target,g=t.global,v=t.stat;if(h=g?s:v?s[f]||o(f,{}):(s[f]||{}).prototype,h)for(u in e){if(p=e[u],t.dontCallGetSet?(m=n(h,u),d=m&&m.value):d=h[u],i=c(g?u:f+(v?".":"#")+u,t.forced),!i&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(t.sham||d&&d.sham)&&r(p,"sham",!0),a(h,u,p,t)}}},"240e":function(t,e,i){},"241c":function(t,e,i){var s=i("ca84"),n=i("7839"),r=n.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return s(t,r)}},"242e":function(t,e,i){"use strict";i("7f88")},"25a8":function(t,e,i){},"2d00":function(t,e,i){var s,n,r=i("da84"),a=i("342f"),o=r.process,l=r.Deno,c=o&&o.versions||l&&l.version,h=c&&c.v8;h&&(s=h.split("."),n=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!n&&a&&(s=a.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=a.match(/Chrome\/(\d+)/),s&&(n=+s[1]))),t.exports=n},"2eae":function(t,e,i){"use strict";i("3a97")},"2f42":function(t,e,i){"use strict";i("d194")},3408:function(t,e,i){},"342f":function(t,e,i){var s=i("d066");t.exports=s("navigator","userAgent")||""},"368e":function(t,e,i){},"37e8":function(t,e,i){var s=i("83ab"),n=i("aed9"),r=i("9bf2"),a=i("825a"),o=i("fc6a"),l=i("df75");e.f=s&&!n?Object.defineProperties:function(t,e){a(t);var i,s=o(e),n=l(e),c=n.length,h=0;while(c>h)r.f(t,i=n[h++],s[i]);return t}},"39b1":function(t,e,i){"use strict";i("3d48")},"39da":function(t,e,i){"use strict";i("240e")},"3a97":function(t,e,i){},"3a9b":function(t,e,i){var s=i("e330");t.exports=s({}.isPrototypeOf)},"3ad0":function(t,e,i){},"3c93":function(t,e,i){},"3d11":function(t,e,i){"use strict";i("8df9")},"3d48":function(t,e,i){},"3f00":function(t,e,i){},4088:function(t,e,i){},"40d5":function(t,e,i){var s=i("d039");t.exports=!s((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"426a":function(t,e,i){"use strict";i("4838")},"44ad":function(t,e,i){var s=i("e330"),n=i("d039"),r=i("c6b6"),a=Object,o=s("".split);t.exports=n((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o(t,""):a(t)}:a},"44d2":function(t,e,i){var s=i("b622"),n=i("7c73"),r=i("9bf2").f,a=s("unscopables"),o=Array.prototype;void 0==o[a]&&r(o,a,{configurable:!0,value:n(null)}),t.exports=function(t){o[a][t]=!0}},4804:function(t,e,i){},4838:function(t,e,i){},"485a":function(t,e,i){var s=i("c65b"),n=i("1626"),r=i("861d"),a=TypeError;t.exports=function(t,e){var i,o;if("string"===e&&n(i=t.toString)&&!r(o=s(i,t)))return o;if(n(i=t.valueOf)&&!r(o=s(i,t)))return o;if("string"!==e&&n(i=t.toString)&&!r(o=s(i,t)))return o;throw a("Can't convert object to primitive value")}},4884:function(t,e,i){},4930:function(t,e,i){var s=i("2d00"),n=i("d039");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},"495d":function(t,e,i){},"4b85":function(t,e,i){},"4c47":function(t,e,i){},"4ccd":function(t,e,i){"use strict";i("cb3a")},"4d64":function(t,e,i){var s=i("fc6a"),n=i("23cb"),r=i("07fa"),a=function(t){return function(e,i,a){var o,l=s(e),c=r(l),h=n(a,c);if(t&&i!=i){while(c>h)if(o=l[h++],o!=o)return!0}else for(;c>h;h++)if((t||h in l)&&l[h]===i)return t||h||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4e5d":function(t,e,i){"use strict";i("5027")},"4ff9":function(t,e,i){},5027:function(t,e,i){},"50c4":function(t,e,i){var s=i("5926"),n=Math.min;t.exports=function(t){return t>0?n(s(t),9007199254740991):0}},"561d":function(t,e,i){},5692:function(t,e,i){var s=i("c430"),n=i("c6cd");(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.4",mode:s?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,i){var s=i("d066"),n=i("e330"),r=i("241c"),a=i("7418"),o=i("825a"),l=n([].concat);t.exports=s("Reflect","ownKeys")||function(t){var e=r.f(o(t)),i=a.f;return i?l(e,i(t)):e}},5726:function(t,e,i){},5926:function(t,e,i){var s=i("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:s(e)}},"59da":function(t,e,i){},"59ed":function(t,e,i){var s=i("1626"),n=i("0d51"),r=TypeError;t.exports=function(t){if(s(t))return t;throw r(n(t)+" is not a function")}},"59f2":function(t,e,i){},"5ae3":function(t,e,i){},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5cb9":function(t,e,i){"use strict";i("4884")},"5e77":function(t,e,i){var s=i("83ab"),n=i("1a2d"),r=Function.prototype,a=s&&Object.getOwnPropertyDescriptor,o=n(r,"name"),l=o&&"something"===function(){}.name,c=o&&(!s||s&&a(r,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},"608c":function(t,e,i){},"615b":function(t,e,i){},"61d2":function(t,e,i){},6374:function(t,e,i){var s=i("da84"),n=Object.defineProperty;t.exports=function(t,e){try{n(s,t,{value:e,configurable:!0,writable:!0})}catch(i){s[t]=e}return e}},"68dd":function(t,e,i){},"69f3":function(t,e,i){var s,n,r,a=i("7f9a"),o=i("da84"),l=i("e330"),c=i("861d"),h=i("9112"),u=i("1a2d"),d=i("c6cd"),p=i("f772"),m=i("d012"),f="Object already initialized",g=o.TypeError,v=o.WeakMap,b=function(t){return r(t)?n(t):s(t,{})},y=function(t){return function(e){var i;if(!c(e)||(i=n(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return i}};if(a||d.state){var x=d.state||(d.state=new v),$=l(x.get),C=l(x.has),S=l(x.set);s=function(t,e){if(C(x,t))throw new g(f);return e.facade=t,S(x,t,e),e},n=function(t){return $(x,t)||{}},r=function(t){return C(x,t)}}else{var _=p("state");m[_]=!0,s=function(t,e){if(u(t,_))throw new g(f);return e.facade=t,h(t,_,e),e},n=function(t){return u(t,_)?t[_]:{}},r=function(t){return u(t,_)}}t.exports={set:s,get:n,has:r,enforce:b,getterFor:y}},"6ece":function(t,e,i){},7274:function(t,e,i){"use strict";i("5ae3")},"72a6":function(t,e,i){"use strict";i("acdb")},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7435:function(t,e,i){},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a5c":function(t,e,i){"use strict";i("19c3")},"7b0b":function(t,e,i){var s=i("1d80"),n=Object;t.exports=function(t){return n(s(t))}},"7c73":function(t,e,i){var s,n=i("825a"),r=i("37e8"),a=i("7839"),o=i("d012"),l=i("1be4"),c=i("cc12"),h=i("f772"),u=">",d="<",p="prototype",m="script",f=h("IE_PROTO"),g=function(){},v=function(t){return d+m+u+t+d+"/"+m+u},b=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=c("iframe"),i="java"+m+":";return e.style.display="none",l.appendChild(e),e.src=String(i),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},x=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}x="undefined"!=typeof document?document.domain&&s?b(s):y():b(s);var t=a.length;while(t--)delete x[p][a[t]];return x()};o[f]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(g[p]=n(t),i=new g,g[p]=null,i[f]=t):i=x(),void 0===e?i:r.f(i,e)}},"7f88":function(t,e,i){},"7f9a":function(t,e,i){var s=i("da84"),n=i("1626"),r=i("8925"),a=s.WeakMap;t.exports=n(a)&&/native code/.test(r(a))},"825a":function(t,e,i){var s=i("861d"),n=String,r=TypeError;t.exports=function(t){if(s(t))return t;throw r(n(t)+" is not an object")}},"83ab":function(t,e,i){var s=i("d039");t.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e,i){var s=i("1626");t.exports=function(t){return"object"==typeof t?null!==t:s(t)}},"86cc":function(t,e,i){},8925:function(t,e,i){var s=i("e330"),n=i("1626"),r=i("c6cd"),a=s(Function.toString);n(r.inspectSource)||(r.inspectSource=function(t){return a(t)}),t.exports=r.inspectSource},"899c":function(t,e,i){},"8adc":function(t,e,i){},"8b37":function(t,e,i){},"8bbf":function(e,i){e.exports=t},"8ce9":function(t,e,i){},"8d4f":function(t,e,i){},"8df9":function(t,e,i){},"8ff2":function(t,e,i){},"90e3":function(t,e,i){var s=i("e330"),n=0,r=Math.random(),a=s(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++n+r,36)}},9112:function(t,e,i){var s=i("83ab"),n=i("9bf2"),r=i("5c6c");t.exports=s?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},"91f4":function(t,e,i){},"94ca":function(t,e,i){var s=i("d039"),n=i("1626"),r=/#|\.prototype\./,a=function(t,e){var i=l[o(t)];return i==h||i!=c&&(n(e)?s(e):!!e)},o=a.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",h=a.POLYFILL="P";t.exports=a},"95ed":function(t,e,i){},"96c7":function(t,e,i){"use strict";i("ab22")},"9a42":function(t,e,i){},"9af0":function(t,e,i){"use strict";i("f33a")},"9bf2":function(t,e,i){var s=i("83ab"),n=i("0cfb"),r=i("aed9"),a=i("825a"),o=i("a04b"),l=TypeError,c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,u="enumerable",d="configurable",p="writable";e.f=s?r?function(t,e,i){if(a(t),e=o(e),a(i),"function"===typeof t&&"prototype"===e&&"value"in i&&p in i&&!i[p]){var s=h(t,e);s&&s[p]&&(t[e]=i.value,i={configurable:d in i?i[d]:s[d],enumerable:u in i?i[u]:s[u],writable:!1})}return c(t,e,i)}:c:function(t,e,i){if(a(t),e=o(e),a(i),n)try{return c(t,e,i)}catch(s){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},a04b:function(t,e,i){var s=i("c04e"),n=i("d9b5");t.exports=function(t){var e=s(t,"string");return n(e)?e:e+""}},a140:function(t,e,i){"use strict";i("c4b8")},ab22:function(t,e,i){},ab93:function(t,e,i){"use strict";i("151b")},ac99:function(t,e,i){"use strict";i("59da")},acdb:function(t,e,i){},aed9:function(t,e,i){var s=i("83ab"),n=i("d039");t.exports=s&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b157:function(t,e,i){"use strict";i("561d")},b42e:function(t,e){var i=Math.ceil,s=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?s:i)(e)}},b510:function(t,e,i){"use strict";i("1c18")},b622:function(t,e,i){var s=i("da84"),n=i("5692"),r=i("1a2d"),a=i("90e3"),o=i("4930"),l=i("fdbf"),c=n("wks"),h=s.Symbol,u=h&&h["for"],d=l?h:h&&h.withoutSetter||a;t.exports=function(t){if(!r(c,t)||!o&&"string"!=typeof c[t]){var e="Symbol."+t;o&&r(h,t)?c[t]=h[t]:c[t]=l&&u?u(e):d(e)}return c[t]}},bc48:function(t,e,i){"use strict";i("c114")},bd0c:function(t,e,i){},bd8c:function(t,e,i){"use strict";i("9a42")},bfdf:function(t,e,i){},c04e:function(t,e,i){var s=i("c65b"),n=i("861d"),r=i("d9b5"),a=i("dc4a"),o=i("485a"),l=i("b622"),c=TypeError,h=l("toPrimitive");t.exports=function(t,e){if(!n(t)||r(t))return t;var i,l=a(t,h);if(l){if(void 0===e&&(e="default"),i=s(l,t,e),!n(i)||r(i))return i;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},c114:function(t,e,i){},c430:function(t,e){t.exports=!1},c4b8:function(t,e,i){},c649:function(t,e,i){},c65b:function(t,e,i){var s=i("40d5"),n=Function.prototype.call;t.exports=s?n.bind(n):function(){return n.apply(n,arguments)}},c6b6:function(t,e,i){var s=i("e330"),n=s({}.toString),r=s("".slice);t.exports=function(t){return r(n(t),8,-1)}},c6cd:function(t,e,i){var s=i("da84"),n=i("6374"),r="__core-js_shared__",a=s[r]||n(r,{});t.exports=a},c8ba:function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(s){"object"===typeof window&&(i=window)}t.exports=i},c982:function(t,e,i){},ca84:function(t,e,i){var s=i("e330"),n=i("1a2d"),r=i("fc6a"),a=i("4d64").indexOf,o=i("d012"),l=s([].push);t.exports=function(t,e){var i,s=r(t),c=0,h=[];for(i in s)!n(o,i)&&n(s,i)&&l(h,i);while(e.length>c)n(s,i=e[c++])&&(~a(h,i)||l(h,i));return h}},caad:function(t,e,i){"use strict";var s=i("23e7"),n=i("4d64").includes,r=i("d039"),a=i("44d2"),o=r((function(){return!Array(1).includes()}));s({target:"Array",proto:!0,forced:o},{includes:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cb03:function(t,e,i){"use strict";i("5726")},cb2d:function(t,e,i){var s=i("1626"),n=i("9bf2"),r=i("13d2"),a=i("6374");t.exports=function(t,e,i,o){o||(o={});var l=o.enumerable,c=void 0!==o.name?o.name:e;if(s(i)&&r(i,c,o),o.global)l?t[e]=i:a(e,i);else{try{o.unsafe?t[e]&&(l=!0):delete t[e]}catch(h){}l?t[e]=i:n.f(t,e,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},cb3a:function(t,e,i){},cc12:function(t,e,i){var s=i("da84"),n=i("861d"),r=s.document,a=n(r)&&n(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},cdeb:function(t,e,i){},cf36:function(t,e,i){},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,i){var s=i("da84"),n=i("1626"),r=function(t){return n(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?r(s[t]):s[t]&&s[t][e]}},d191:function(t,e,i){},d194:function(t,e,i){},d1e7:function(t,e,i){"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);e.f=r?function(t){var e=n(this,t);return!!e&&e.enumerable}:s},d5b1:function(t,e,i){"use strict";i("bfdf")},d951:function(t,e,i){},d9b5:function(t,e,i){var s=i("d066"),n=i("1626"),r=i("3a9b"),a=i("fdbf"),o=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=s("Symbol");return n(e)&&r(e.prototype,o(t))}},da84:function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,i("c8ba"))},db42:function(t,e,i){},dc4a:function(t,e,i){var s=i("59ed");t.exports=function(t,e){var i=t[e];return null==i?void 0:s(i)}},df75:function(t,e,i){var s=i("ca84"),n=i("7839");t.exports=Object.keys||function(t){return s(t,n)}},e139:function(t,e,i){"use strict";i("1266")},e330:function(t,e,i){var s=i("40d5"),n=Function.prototype,r=n.bind,a=n.call,o=s&&r.bind(a,a);t.exports=s?function(t){return t&&o(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},e53c:function(t,e,i){},e893:function(t,e,i){var s=i("1a2d"),n=i("56ef"),r=i("06cf"),a=i("9bf2");t.exports=function(t,e,i){for(var o=n(e),l=a.f,c=r.f,h=0;h<o.length;h++){var u=o[h];s(t,u)||i&&s(i,u)||l(t,u,c(e,u))}}},e9b1:function(t,e,i){},eb72:function(t,e,i){"use strict";i("05f4")},ee6f:function(t,e,i){},f066:function(t,e,i){"use strict";i("4088")},f261:function(t,e,i){"use strict";i("4c47")},f33a:function(t,e,i){},f58f:function(t,e,i){},f772:function(t,e,i){var s=i("5692"),n=i("90e3"),r=s("keys");t.exports=function(t){return r[t]||(r[t]=n(t))}},f823:function(t,e,i){},fae3:function(t,e,i){"use strict";i.r(e),i.d(e,"DataTableEmptyWrapper",(function(){return Me})),i.d(e,"DataTablePaginator",(function(){return pn})),i.d(e,"DataTableHeader",(function(){return xn})),i.d(e,"MainFilter",(function(){return kr})),i.d(e,"Loader",(function(){return Pr})),i.d(e,"FilePicker",(function(){return Rr})),i.d(e,"Tabs",(function(){return va})),i.d(e,"DialogHeader",(function(){return _a})),i.d(e,"DialogFooter",(function(){return Ta})),i.d(e,"AlertReload",(function(){return ur})),i.d(e,"DefaultTextField",(function(){return Qa})),i.d(e,"RangeDatePicker",(function(){return Fo})),i.d(e,"DatePicker",(function(){return Yo})),i.d(e,"ManagersList",(function(){return Qo})),i.d(e,"PromptUserToConfirm",(function(){return al})),i.d(e,"TableContextMenu",(function(){return wl})),i.d(e,"ModalPromptUser",(function(){return bl})),i.d(e,"DefaultButton",(function(){return ar})),i.d(e,"IconBox",(function(){return Ol})),i.d(e,"CardContext",(function(){return Nl})),i.d(e,"Collapsible",(function(){return ql})),i.d(e,"DangerButton",(function(){return Ql})),i.d(e,"ConfirmButton",(function(){return nc})),i.d(e,"ExportButton",(function(){return hc})),i.d(e,"ImportButton",(function(){return gc})),i.d(e,"ToggleButton",(function(){return Cc})),i.d(e,"RemoveButton",(function(){return Lc})),i.d(e,"MultiImportButton",(function(){return Pc})),i.d(e,"ProductLogo",(function(){return zc})),i.d(e,"OriginatorLogo",(function(){return qc})),i.d(e,"ResetTableRowSelection",(function(){return Qc})),i.d(e,"MultipleSelectShortener",(function(){return nh})),i.d(e,"SelectModalOptions",(function(){return Lh})),i.d(e,"ChipInviteStatus",(function(){return Mh})),i.d(e,"Label",(function(){return Na})),i.d(e,"Logger",(function(){return Xh})),i.d(e,"LoggerItem",(function(){return jh})),i.d(e,"Icon",(function(){return xr})),i.d(e,"ProgressBar",(function(){return eu})),i.d(e,"StepperHeader",(function(){return ou})),i.d(e,"Switcher",(function(){return pu})),i.d(e,"TextField",(function(){return qa}));var s={};if(i.r(s),i.d(s,"linear",(function(){return et})),i.d(s,"easeInQuad",(function(){return it})),i.d(s,"easeOutQuad",(function(){return st})),i.d(s,"easeInOutQuad",(function(){return nt})),i.d(s,"easeInCubic",(function(){return rt})),i.d(s,"easeOutCubic",(function(){return at})),i.d(s,"easeInOutCubic",(function(){return ot})),i.d(s,"easeInQuart",(function(){return lt})),i.d(s,"easeOutQuart",(function(){return ct})),i.d(s,"easeInOutQuart",(function(){return ht})),i.d(s,"easeInQuint",(function(){return ut})),i.d(s,"easeOutQuint",(function(){return dt})),i.d(s,"easeInOutQuint",(function(){return pt})),"undefined"!==typeof window){var n=window.document.currentScript,r=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(i.p=r[1])}var a=function(){var t=this,e=t._self._c;return e("div",{attrs:{align:"center"}},[e("v-icon",[t._v("mdi-magnify")]),e("p",[t._v(t._s(t.title))]),e("p",[t._v(t._s(t.subtitle))])],1)},o=[],l=(i("4804"),i("8bbf")),c=i.n(l);function h(t){return function(e,i){for(const s in i)Object.prototype.hasOwnProperty.call(e,s)||this.$delete(this.$data[t],s);for(const s in e)this.$set(this.$data[t],s,e[s])}}var u=c.a.extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",h("attrs$"),{immediate:!0}),this.$watch("$listeners",h("listeners$"),{immediate:!0})}});function d(t,e={}){if(d.installed)return;d.installed=!0,c.a!==t&&de("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const i=e.components||{},s=e.directives||{};for(const n in s){const e=s[n];t.directive(n,e)}(function e(i){if(i){for(const s in i){const n=i[s];n&&!e(n.$_vuetify_subcomponents)&&t.component(s,n)}return!0}return!1})(i),t.$_vuetify_installed||(t.$_vuetify_installed=!0,t.mixin({beforeCreate(){const e=this.$options;e.vuetify?(e.vuetify.init(this,this.$ssrContext),this.$vuetify=t.observable(e.vuetify.framework)):this.$vuetify=e.parent&&e.parent.$vuetify||this},beforeMount(){this.$options.vuetify&&this.$el&&this.$el.hasAttribute("data-server-rendered")&&(this.$vuetify.isHydrating=!0,this.$vuetify.breakpoint.update(!0))},mounted(){this.$options.vuetify&&this.$vuetify.isHydrating&&(this.$vuetify.isHydrating=!1,this.$vuetify.breakpoint.update())}}))}i("95ed");var p={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Current Page, Page {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}}};const m={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:p},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0,variations:!0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};function f(t,e="div",i){return c.a.extend({name:i||t.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:e}},render(e,{data:i,props:s,children:n}){return i.staticClass=`${t} ${i.staticClass||""}`.trim(),e(s.tag,i,n)}})}function g(t,e,i,s=!1){const n=r=>{i(r),t.removeEventListener(e,n,s)};t.addEventListener(e,n,s)}let v=!1;try{if("undefined"!==typeof window){const t=Object.defineProperty({},"passive",{get:()=>{v=!0}});window.addEventListener("testListener",t,t),window.removeEventListener("testListener",t,t)}}catch(mu){console.warn(mu)}function b(t,e,i,s){t.addEventListener(e,i,!!v&&s)}function y(t,e,i){const s=e.length-1;if(s<0)return void 0===t?i:t;for(let n=0;n<s;n++){if(null==t)return i;t=t[e[n]]}return null==t||void 0===t[e[s]]?i:t[e[s]]}function x(t,e){if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime())return!1;if(t!==Object(t)||e!==Object(e))return!1;const i=Object.keys(t);return i.length===Object.keys(e).length&&i.every(i=>x(t[i],e[i]))}function $(t,e,i){return null!=t&&e&&"string"===typeof e?void 0!==t[e]?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),y(t,e.split("."),i)):i}function C(t,e,i){if(null==e)return void 0===t?i:t;if(t!==Object(t))return void 0===i?t:i;if("string"===typeof e)return $(t,e,i);if(Array.isArray(e))return y(t,e,i);if("function"!==typeof e)return i;const s=e(t,i);return"undefined"===typeof s?i:s}function S(t){return Array.from({length:t},(t,e)=>e)}function _(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;const e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||_(t.parentNode)}const w={"&":"&amp;","<":"&lt;",">":"&gt;"};function k(t){return t.replace(/[&<>]/g,t=>w[t]||t)}function I(t,e){const i={};for(let s=0;s<e.length;s++){const n=e[s];"undefined"!==typeof t[n]&&(i[n]=t[n])}return i}function L(t,e="px"){return null==t||""===t?void 0:isNaN(+t)?String(t):`${Number(t)}${e}`}function B(t){return(t||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function A(t){return null!==t&&"object"===typeof t}const T=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function O(t,e){const i=t.$vuetify.icons.component;if(e.startsWith("$")){const i="$vuetify.icons.values."+e.split("$").pop().split(".").pop(),s=$(t,i,e);if("string"!==typeof s)return s;e=s}return null==i?e:{component:i,props:{icon:e}}}function E(t){return Object.keys(t)}const P=/-(\w)/g,D=t=>t.replace(P,(t,e)=>e?e.toUpperCase():"");function M(t){return t.charAt(0).toUpperCase()+t.slice(1)}function V(t,e,i){const s=e[0],n=[];let r;for(let a=0;a<t.length;a++){const e=t[a],i=$(e,s,null);r!==i&&(r=i,n.push({name:null!=i?i:"",items:[]})),n[n.length-1].items.push(e)}return n}function F(t){return null!=t?Array.isArray(t)?t:[t]:[]}function N(t,e,i,s,n){if(null===e||!e.length)return t;const r=new Intl.Collator(s,{sensitivity:"accent",usage:"sort"});return t.sort((t,s)=>{for(let a=0;a<e.length;a++){const o=e[a];let l=$(t,o),c=$(s,o);if(i[a]&&([l,c]=[c,l]),n&&n[o]){const t=n[o](l,c);if(!t)continue;return t}if(null!==l||null!==c){if(l instanceof Date&&c instanceof Date)return l.getTime()-c.getTime();if([l,c]=[l,c].map(t=>(t||"").toString().toLocaleLowerCase()),l!==c)return isNaN(l)||isNaN(c)?r.compare(l,c):Number(l)-Number(c)}}return 0})}function z(t,e,i){return null!=t&&null!=e&&"boolean"!==typeof t&&-1!==t.toString().toLocaleLowerCase().indexOf(e.toLocaleLowerCase())}function R(t,e){return e?(e=e.toString().toLowerCase(),""===e.trim()?t:t.filter(t=>Object.keys(t).some(i=>z($(t,i),e,t)))):t}function H(t,e,i){return t.$slots.hasOwnProperty(e)&&t.$scopedSlots.hasOwnProperty(e)&&t.$scopedSlots[e].name?i?"v-slot":"scoped":t.$slots.hasOwnProperty(e)?"normal":t.$scopedSlots.hasOwnProperty(e)?"scoped":void 0}function W(t,e){let i=!1;return(...s)=>{if(!i)return i=!0,setTimeout(()=>i=!1,e),t(...s)}}function j(t,e){return Object.keys(e).filter(e=>e.startsWith(t)).reduce((i,s)=>(i[s.replace(t,"")]=e[s],i),{})}function Y(t,e="default",i,s=!1){return t.$scopedSlots.hasOwnProperty(e)?t.$scopedSlots[e](i instanceof Function?i():i):!t.$slots.hasOwnProperty(e)||i&&!s?void 0:t.$slots[e]}function q(t,e=0,i=1){return Math.max(e,Math.min(i,t))}function U(t){return t?Object.keys(t).reduce((e,i)=>(e[D(i)]=t[i],e),{}):{}}function Z(t={},e={}){for(const i in e){const s=t[i],n=e[i];A(s)&&A(n)?t[i]=Z(s,n):t[i]=n}return t}function X(t,e){return Array(t).fill(e)}function K(t){if(t.composedPath)return t.composedPath();const e=[];let i=t.target;while(i){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}return e}class G{constructor(){this.framework={}}init(t,e){}}class Q extends G{constructor(t,e){super();const i=Z({},m),{userPreset:s}=e,{preset:n={},...r}=s;null!=n.preset&&ue("Global presets do not support the **preset** option, it can be safely omitted"),e.preset=Z(Z(i,n),r)}}Q.property="presets";class J extends G{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(t,e,i){this.application[e][t]=i,this.update(e)}unregister(t,e){null!=this.application[e][t]&&(delete this.application[e][t],this.update(e))}update(t){this[t]=Object.values(this.application[t]).reduce((t,e)=>t+e,0)}}J.property="application";class tt extends G{constructor(t){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="xs",this.height=0,this.width=0,this.mobile=!0,this.resizeTimeout=0;const{mobileBreakpoint:e,scrollBarWidth:i,thresholds:s}=t[tt.property];this.mobileBreakpoint=e,this.scrollBarWidth=i,this.thresholds=s}init(){this.update(),"undefined"!==typeof window&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(t=!1){const e=t?0:this.getClientHeight(),i=t?0:this.getClientWidth(),s=i<this.thresholds.xs,n=i<this.thresholds.sm&&!s,r=i<this.thresholds.md-this.scrollBarWidth&&!(n||s),a=i<this.thresholds.lg-this.scrollBarWidth&&!(r||n||s),o=i>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=e,this.width=i,this.xs=s,this.sm=n,this.md=r,this.lg=a,this.xl=o,this.xsOnly=s,this.smOnly=n,this.smAndDown=(s||n)&&!(r||a||o),this.smAndUp=!s&&(n||r||a||o),this.mdOnly=r,this.mdAndDown=(s||n||r)&&!(a||o),this.mdAndUp=!(s||n)&&(r||a||o),this.lgOnly=a,this.lgAndDown=(s||n||r||a)&&!o,this.lgAndUp=!(s||n||r)&&(a||o),this.xlOnly=o,!0){case s:this.name="xs";break;case n:this.name="sm";break;case r:this.name="md";break;case a:this.name="lg";break;default:this.name="xl";break}if("number"===typeof this.mobileBreakpoint)return void(this.mobile=i<parseInt(this.mobileBreakpoint,10));const l={xs:0,sm:1,md:2,lg:3,xl:4},c=l[this.name],h=l[this.mobileBreakpoint];this.mobile=c<=h}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}getClientWidth(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}tt.property="breakpoint";const et=t=>t,it=t=>t**2,st=t=>t*(2-t),nt=t=>t<.5?2*t**2:(4-2*t)*t-1,rt=t=>t**3,at=t=>--t**3+1,ot=t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,lt=t=>t**4,ct=t=>1- --t**4,ht=t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,ut=t=>t**5,dt=t=>1+--t**5,pt=t=>t<.5?16*t**5:1+16*--t**5;function mt(t){if("number"===typeof t)return t;let e=vt(t);if(!e)throw"string"===typeof t?new Error(`Target element "${t}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`);let i=0;while(e)i+=e.offsetTop,e=e.offsetParent;return i}function ft(t){const e=vt(t);if(e)return e;throw"string"===typeof t?new Error(`Container element "${t}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`)}function gt(t){return null==t?t:t.constructor.name}function vt(t){return"string"===typeof t?document.querySelector(t):t&&t._isVue?t.$el:t instanceof HTMLElement?t:null}function bt(t,e={}){const i={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...e},n=ft(i.container);if(i.appOffset&&bt.framework.application){const t=n.classList.contains("v-navigation-drawer"),e=n.classList.contains("v-navigation-drawer--clipped"),{bar:s,top:r}=bt.framework.application;i.offset+=s,t&&!e||(i.offset+=r)}const r=performance.now();let a;a="number"===typeof t?mt(t)-i.offset:mt(t)-mt(n)-i.offset;const o=n.scrollTop;if(a===o)return Promise.resolve(a);const l="function"===typeof i.easing?i.easing:s[i.easing];if(!l)throw new TypeError(`Easing function "${i.easing}" not found.`);return new Promise(t=>requestAnimationFrame((function e(s){const c=s-r,h=Math.abs(i.duration?Math.min(c/i.duration,1):1);n.scrollTop=Math.floor(o+(a-o)*l(h));const u=n===document.body?document.documentElement.clientHeight:n.clientHeight,d=u+n.scrollTop>=n.scrollHeight;if(1===h||a>n.scrollTop&&d)return t(a);requestAnimationFrame(e)})))}bt.framework={},bt.init=()=>{};class yt extends G{constructor(){return super(),bt}}yt.property="goTo";const xt={complete:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",success:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",info:"M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2ZM13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",warning:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",error:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",prev:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sort:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",expand:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"M7,10L12,15L17,10H7Z",dropdown:"M7,10L12,15L17,10H7Z",radioOn:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z"};var $t=xt;const Ct={complete:"check",cancel:"cancel",close:"close",delete:"cancel",clear:"clear",success:"check_circle",info:"info",warning:"priority_high",error:"warning",prev:"chevron_left",next:"chevron_right",checkboxOn:"check_box",checkboxOff:"check_box_outline_blank",checkboxIndeterminate:"indeterminate_check_box",delimiter:"fiber_manual_record",sort:"arrow_upward",expand:"keyboard_arrow_down",menu:"menu",subgroup:"arrow_drop_down",dropdown:"arrow_drop_down",radioOn:"radio_button_checked",radioOff:"radio_button_unchecked",edit:"edit",ratingEmpty:"star_border",ratingFull:"star",ratingHalf:"star_half",loading:"cached",first:"first_page",last:"last_page",unfold:"unfold_more",file:"attach_file",plus:"add",minus:"remove"};var St=Ct;const _t={complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-exclamation",error:"mdi-alert",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"};var wt=_t;const kt={complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sort:"fas fa-sort-up",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus"};var It=kt;const Lt={complete:"fa fa-check",cancel:"fa fa-times-circle",close:"fa fa-times",delete:"fa fa-times-circle",clear:"fa fa-times-circle",success:"fa fa-check-circle",info:"fa fa-info-circle",warning:"fa fa-exclamation",error:"fa fa-exclamation-triangle",prev:"fa fa-chevron-left",next:"fa fa-chevron-right",checkboxOn:"fa fa-check-square",checkboxOff:"fa fa-square-o",checkboxIndeterminate:"fa fa-minus-square",delimiter:"fa fa-circle",sort:"fa fa-sort-up",expand:"fa fa-chevron-down",menu:"fa fa-bars",subgroup:"fa fa-caret-down",dropdown:"fa fa-caret-down",radioOn:"fa fa-dot-circle-o",radioOff:"fa fa-circle-o",edit:"fa fa-pencil",ratingEmpty:"fa fa-star-o",ratingFull:"fa fa-star",ratingHalf:"fa fa-star-half-o",loading:"fa fa-refresh",first:"fa fa-step-backward",last:"fa fa-step-forward",unfold:"fa fa-angle-double-down",file:"fa fa-paperclip",plus:"fa fa-plus",minus:"fa fa-minus"};var Bt=Lt;function At(t,e){const i={};for(const s in e)i[s]={component:t,props:{icon:e[s].split(" fa-")}};return i}var Tt=At("font-awesome-icon",It),Ot=Object.freeze({mdiSvg:$t,md:St,mdi:wt,fa:It,fa4:Bt,faSvg:Tt});class Et extends G{constructor(t){super();const{iconfont:e,values:i,component:s}=t[Et.property];this.component=s,this.iconfont=e,this.values=Z(Ot[e],i)}}Et.property="icons";const Pt="$vuetify.",Dt=Symbol("Lang fallback");function Mt(t,e,i=!1,s){const n=e.replace(Pt,"");let r=$(t,n,Dt);return r===Dt&&(i?(de(`Translation key "${n}" not found in fallback`),r=e):(ue(`Translation key "${n}" not found, falling back to default`),r=Mt(s,e,!0,s))),r}class Vt extends G{constructor(t){super(),this.defaultLocale="en";const{current:e,locales:i,t:s}=t[Vt.property];this.current=e,this.locales=i,this.translator=s||this.defaultTranslator}currentLocale(t){const e=this.locales[this.current],i=this.locales[this.defaultLocale];return Mt(e,t,!1,i)}t(t,...e){return t.startsWith(Pt)?this.translator(t,...e):this.replace(t,e)}defaultTranslator(t,...e){return this.replace(this.currentLocale(t),e)}replace(t,e){return t.replace(/\{(\d+)\}/g,(t,i)=>String(e[+i]))}}Vt.property="lang";const Ft=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Nt=t=>t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055,zt=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Rt=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function Ht(t){const e=Array(3),i=Nt,s=Ft;for(let n=0;n<3;++n)e[n]=Math.round(255*q(i(s[n][0]*t[0]+s[n][1]*t[1]+s[n][2]*t[2])));return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function Wt(t){const e=[0,0,0],i=Rt,s=zt,n=i((t>>16&255)/255),r=i((t>>8&255)/255),a=i((t>>0&255)/255);for(let o=0;o<3;++o)e[o]=s[o][0]*n+s[o][1]*r+s[o][2]*a;return e}function jt(t){return!!t&&!!t.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function Yt(t){let e;if("number"===typeof t)e=t;else{if("string"!==typeof t)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==t?t:t.constructor.name} instead`);{let i="#"===t[0]?t.substring(1):t;3===i.length&&(i=i.split("").map(t=>t+t).join("")),6!==i.length&&ue(`'${t}' is not a valid rgb color`),e=parseInt(i,16)}}return e<0?(ue(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(ue(`'${t}' is not a valid rgb color`),e=16777215),e}function qt(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function Ut(t){return qt(Yt(t))}const Zt=.20689655172413793,Xt=t=>t>Zt**3?Math.cbrt(t):t/(3*Zt**2)+4/29,Kt=t=>t>Zt?t**3:3*Zt**2*(t-4/29);function Gt(t){const e=Xt,i=e(t[1]);return[116*i-16,500*(e(t[0]/.95047)-i),200*(i-e(t[2]/1.08883))]}function Qt(t){const e=Kt,i=(t[0]+16)/116;return[.95047*e(i+t[1]/500),e(i),1.08883*e(i-t[2]/200)]}function Jt(t,e=!1,i=!0){const{anchor:s,...n}=t,r=Object.keys(n),a={};for(let o=0;o<r.length;++o){const s=r[o],n=t[s];null!=n&&(i?e?("base"===s||s.startsWith("lighten")||s.startsWith("darken"))&&(a[s]=Ut(n)):a[s]="object"===typeof n?Jt(n,!0,i):re(s,Yt(n)):a[s]={base:qt(Yt(n))})}return e||(a.anchor=s||a.base||a.primary.base),a}const te=(t,e)=>`\n.v-application .${t} {\n background-color: ${e} !important;\n border-color: ${e} !important;\n}\n.v-application .${t}--text {\n color: ${e} !important;\n caret-color: ${e} !important;\n}`,ee=(t,e,i)=>{const[s,n]=e.split(/(\d)/,2);return`\n.v-application .${t}.${s}-${n} {\n background-color: ${i} !important;\n border-color: ${i} !important;\n}\n.v-application .${t}--text.text--${s}-${n} {\n color: ${i} !important;\n caret-color: ${i} !important;\n}`},ie=(t,e="base")=>`--v-${t}-${e}`,se=(t,e="base")=>`var(${ie(t,e)})`;function ne(t,e=!1){const{anchor:i,...s}=t,n=Object.keys(s);if(!n.length)return"";let r="",a="";const o=e?se("anchor"):i;a+=`.v-application a { color: ${o}; }`,e&&(r+=` ${ie("anchor")}: ${i};\n`);for(let l=0;l<n.length;++l){const i=n[l],s=t[i];a+=te(i,e?se(i):s.base),e&&(r+=` ${ie(i)}: ${s.base};\n`);const o=E(s);for(let t=0;t<o.length;++t){const n=o[t],l=s[n];"base"!==n&&(a+=ee(i,n,e?se(i,n):l),e&&(r+=` ${ie(i,n)}: ${l};\n`))}}return e&&(r=`:root {\n${r}}\n\n`),r+a}function re(t,e){const i={base:qt(e)};for(let s=5;s>0;--s)i["lighten"+s]=qt(ae(e,s));for(let s=1;s<=4;++s)i["darken"+s]=qt(oe(e,s));return i}function ae(t,e){const i=Gt(Wt(t));return i[0]=i[0]+10*e,Ht(Qt(i))}function oe(t,e){const i=Gt(Wt(t));return i[0]=i[0]-10*e,Ht(Qt(i))}class le extends G{constructor(t){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:e,disable:i,options:s,themes:n}=t[le.property];this.dark=Boolean(e),this.defaults=this.themes=n,this.options=s,i?this.disabled=!0:this.themes={dark:this.fillVariant(n.dark,!0),light:this.fillVariant(n.light,!1)}}set css(t){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const e=this.isDark;this.isDark=t,null!=e&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,e){this.disabled||(t.$meta?this.initVueMeta(t):e&&this.initSSR(e),this.initTheme(t))}setTheme(t,e){this.themes[t]=Object.assign(this.themes[t],e),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),!!this.styleEl||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(t={},e){const i=this.themes[e?"dark":"light"];return Object.assign({},i,t)}genStyleElement(){"undefined"!==typeof document&&(this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",this.options.cspNonce&&this.styleEl.setAttribute("nonce",this.options.cspNonce),document.head.appendChild(this.styleEl))}initVueMeta(t){if(this.vueMeta=t.$meta(),this.isVueMeta23)return void t.$nextTick(()=>{this.applyVueMeta23()});const e="function"===typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",i=t.$options[e]||{};t.$options[e]=()=>{i.style=i.style||[];const t=i.style.find(t=>"vuetify-theme-stylesheet"===t.id);return t?t.cssText=this.generatedStyles:i.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),i}}applyVueMeta23(){const{set:t}=this.vueMeta.addApp("vuetify");t({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:this.options.cspNonce}]})}initSSR(t){const e=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${e}>${this.generatedStyles}</style>`}initTheme(t){"undefined"!==typeof document&&(this.unwatch&&(this.unwatch(),this.unwatch=null),t.$once("hook:created",()=>{const e=c.a.observable({themes:this.themes});this.unwatch=t.$watch(()=>e.themes,()=>this.applyTheme(),{deep:!0})}),this.applyTheme())}get currentTheme(){const t=this.dark?"dark":"light";return this.themes[t]}get generatedStyles(){const t=this.parsedTheme,e=this.options||{};let i;return null!=e.themeCache&&(i=e.themeCache.get(t),null!=i)||(i=ne(t,e.customProperties),null!=e.minifyTheme&&(i=e.minifyTheme(i)),null!=e.themeCache&&e.themeCache.set(t,i)),i}get parsedTheme(){return Jt(this.currentTheme||{},void 0,y(this.options,["variations"],!0))}get isVueMeta23(){return"function"===typeof this.vueMeta.addApp}}le.property="theme";class ce{constructor(t={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(Q),this.use(J),this.use(tt),this.use(yt),this.use(Et),this.use(Vt),this.use(le)}init(t,e){this.installed.forEach(i=>{const s=this.framework[i];s.framework=this.framework,s.init(t,e)}),this.framework.rtl=Boolean(this.preset.rtl)}use(t){const e=t.property;this.installed.includes(e)||(this.framework[e]=new t(this.preset,this),this.installed.push(e))}}function he(t,e,i){if(!ce.config.silent){if(i&&(e={_isVue:!0,$parent:i,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return"[Vuetify] "+t+(e?ye(e):"")}}function ue(t,e,i){const s=he(t,e,i);null!=s&&console.warn(s)}function de(t,e,i){const s=he(t,e,i);null!=s&&console.error(s)}function pe(t,e,i,s){ue(`[UPGRADE] '${t}' is deprecated, use '${e}' instead.`,i,s)}function me(t,e,i,s){de(`[BREAKING] '${t}' has been removed, use '${e}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,i,s)}function fe(t,e,i){ue(`[REMOVED] '${t}' has been removed. You can safely omit it.`,e,i)}ce.install=d,ce.installed=!1,ce.version="2.6.7",ce.config={silent:!1};const ge=/(?:^|[-_])(\w)/g,ve=t=>t.replace(ge,t=>t.toUpperCase()).replace(/[-_]/g,"");function be(t,e){if(t.$root===t)return"<Root>";const i="function"===typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t||{};let s=i.name||i._componentTag;const n=i.__file;if(!s&&n){const t=n.match(/([^/\\]+)\.vue$/);s=t&&t[1]}return(s?`<${ve(s)}>`:"<Anonymous>")+(n&&!1!==e?" at "+n:"")}function ye(t){if(t._isVue&&t.$parent){const e=[];let i=0;while(t){if(e.length>0){const s=e[e.length-1];if(s.constructor===t.constructor){i++,t=t.$parent;continue}i>0&&(e[e.length-1]=[s,i],i=0)}e.push(t),t=t.$parent}return"\n\nfound in\n\n"+e.map((t,e)=>`${0===e?"---\x3e ":" ".repeat(5+2*e)}${Array.isArray(t)?`${be(t[0])}... (${t[1]} recursive calls)`:be(t)}`).join("\n")}return`\n\n(found in ${be(t)})`}var xe=c.a.extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"===typeof e.style?(de("style must be an object",this),e):"string"===typeof e.class?(de("class must be an object",this),e):(jt(t)?e.style={...e.style,"background-color":""+t,"border-color":""+t}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"===typeof e.style)return de("style must be an object",this),e;if("string"===typeof e.class)return de("class must be an object",this),e;if(jt(t))e.style={...e.style,color:""+t,"caret-color":""+t};else if(t){const[i,s]=t.toString().trim().split(" ",2);e.class={...e.class,[i+"--text"]:!0},s&&(e.class["text--"+s]=!0)}return e}}}),$e=c.a.extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!this.xSmall&&!this.small&&!this.large&&!this.xLarge)},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}});const Ce=c.a.extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});var Se,_e=Ce;function we(t){const e={...t.props,...t.injections},i=Ce.options.computed.isDark.call(e);return Ce.options.computed.themeClasses.call({isDark:i})}function ke(...t){return c.a.extend({mixins:t})}function Ie(t){return["fas","far","fal","fab","fad","fak"].some(e=>t.includes(e))}function Le(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(function(t){t["xSmall"]="12px",t["small"]="16px",t["default"]="24px",t["medium"]="28px",t["large"]="36px",t["xLarge"]="40px"})(Se||(Se={}));const Be=ke(u,xe,$e,_e).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1},hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),O(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=E(t).find(e=>t[e]);return e&&Se[e]||L(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const t=this.getSize(),e={...this.getDefaultData(),style:t?{fontSize:t,height:t,width:t}:void 0};return this.applyColors(e),e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const i=[],s=this.getDefaultData();let n="material-icons";const r=t.indexOf("-"),a=r<=-1;a?i.push(t):(n=t.slice(0,r),Ie(n)&&(n="")),s.class[n]=!0,s.class[t]=!a;const o=this.getSize();return o&&(s.style={fontSize:o}),this.applyColors(s),e(this.hasClickListener?"button":this.tag,s,i)},renderSvgIcon(t,e){const i={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},s=this.getSize();return s&&(i.style={fontSize:s,height:s,width:s}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",i,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const i={class:{"v-icon__component":!0}},s=this.getSize();s&&(i.style={fontSize:s,height:s,width:s}),this.applyColors(i);const n=t.component;return i.props=t.props,i.nativeOn=i.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(n,i)])}},render(t){const e=this.getIcon();return"string"===typeof e?Le(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});var Ae=c.a.extend({name:"v-icon",$_wrapperFor:Be,functional:!0,render(t,{data:e,children:i}){let s="";return e.domProps&&(s=e.domProps.textContent||e.domProps.innerHTML||s,delete e.domProps.textContent,delete e.domProps.innerHTML),t(Be,e,s?[s]:i)}}),Te={name:"DataTableEmptyWrapper",props:{title:{type:String,default:"Nenhuma informação para exibir aqui"},subtitle:{type:String,default:"Tente filtrar novamente sua pesquisa ou faça uma importação para ver mais resultados"}},components:{VIcon:Ae}},Oe=Te;i("cb03");function Ee(t,e,i,s,n,r,a,o){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),s&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):n&&(l=o?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(c.functional){c._injectStyles=l;var h=c.render;c.render=function(t,e){return l.call(e),h(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}var Pe=Ee(Oe,a,o,!1,null,"a4b1af68",null),De=Pe.exports,Me=De,Ve=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"v-data-table-custom-footer",class:{"hidden-perpageoptions":t.hidePerPageOptions}},[t.hidePerPageOptions?t._e():e("div",[e("v-select",{attrs:{outlined:"",disabled:!t.totalPages||t.totalPages<1,items:t.perPageBuiltItems,dense:""},model:{value:t.selectedLimit,callback:function(e){t.selectedLimit=e},expression:"selectedLimit"}})],1),e("v-pagination",{attrs:{disabled:t.disabled,length:t.totalPages,"total-visible":7,color:"secondary"},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}})],1)},Fe=[];i("4ff9"),i("68dd"),i("8adc");const Ne={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function ze(t){const e={};for(const i of t.split(Ne.styleList)){let[t,s]=i.split(Ne.styleProp);t=t.trim(),t&&("string"===typeof s&&(s=s.trim()),e[D(t)]=s)}return e}function Re(){const t={};let e,i=arguments.length;while(i--)for(e of Object.keys(arguments[i]))switch(e){case"class":case"directives":arguments[i][e]&&(t[e]=We(t[e],arguments[i][e]));break;case"style":arguments[i][e]&&(t[e]=He(t[e],arguments[i][e]));break;case"staticClass":if(!arguments[i][e])break;void 0===t[e]&&(t[e]=""),t[e]&&(t[e]+=" "),t[e]+=arguments[i][e].trim();break;case"on":case"nativeOn":arguments[i][e]&&(t[e]=je(t[e],arguments[i][e]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[i][e])break;t[e]||(t[e]={}),t[e]={...arguments[i][e],...t[e]};break;default:t[e]||(t[e]=arguments[i][e])}return t}function He(t,e){return t?e?(t=F("string"===typeof t?ze(t):t),t.concat("string"===typeof e?ze(e):e)):t:e}function We(t,e){return e?t&&t?F(t).concat(e):e:t}function je(...t){if(!t[0])return t[1];if(!t[1])return t[0];const e={};for(let i=2;i--;){const s=t[i];for(const t in s)s[t]&&(e[t]?e[t]=[].concat(s[t],e[t]):e[t]=s[t])}return e}function Ye(t=[],...e){return Array().concat(t,...e)}function qe(t,e="top center 0",i){return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:i},origin:{type:String,default:e}},render(e,i){const s="transition"+(i.props.group?"-group":""),n={props:{name:t,mode:i.props.mode},on:{beforeEnter(t){t.style.transformOrigin=i.props.origin,t.style.webkitTransformOrigin=i.props.origin}}};return i.props.leaveAbsolute&&(n.on.leave=Ye(n.on.leave,t=>{const{offsetTop:e,offsetLeft:i,offsetWidth:s,offsetHeight:n}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=e+"px",t.style.left=i+"px",t.style.width=s+"px",t.style.height=n+"px"}),n.on.afterLeave=Ye(n.on.afterLeave,t=>{if(t&&t._transitionInitialStyles){const{position:e,top:i,left:s,width:n,height:r}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=e||"",t.style.top=i||"",t.style.left=s||"",t.style.width=n||"",t.style.height=r||""}})),i.props.hideOnLeave&&(n.on.leave=Ye(n.on.leave,t=>{t.style.setProperty("display","none","important")})),e(s,Re(i.data,n),i.children)}}}function Ue(t,e,i="in-out"){return{name:t,functional:!0,props:{mode:{type:String,default:i}},render(i,s){return i("transition",Re(s.data,{props:{name:t},on:e}),s.children)}}}var Ze=function(t="",e=!1){const i=e?"width":"height",s="offset"+M(i);return{beforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[i]:t.style[i]}},enter(e){const n=e._initialStyle;e.style.setProperty("transition","none","important"),e.style.overflow="hidden";const r=e[s]+"px";e.style[i]="0",e.offsetHeight,e.style.transition=n.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame(()=>{e.style[i]=r})},afterEnter:r,enterCancelled:r,leave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[i]:t.style[i]},t.style.overflow="hidden",t.style[i]=t[s]+"px",t.offsetHeight,requestAnimationFrame(()=>t.style[i]="0")},afterLeave:n,leaveCancelled:n};function n(e){t&&e._parent&&e._parent.classList.remove(t),r(e)}function r(t){const e=t._initialStyle[i];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[i]=e),delete t._initialStyle}};qe("carousel-transition"),qe("carousel-reverse-transition"),qe("tab-transition"),qe("tab-reverse-transition"),qe("menu-transition"),qe("fab-transition","center center","out-in"),qe("dialog-transition"),qe("dialog-bottom-transition"),qe("dialog-top-transition");const Xe=qe("fade-transition"),Ke=(qe("scale-transition"),qe("scroll-x-transition"),qe("scroll-x-reverse-transition"),qe("scroll-y-transition"),qe("scroll-y-reverse-transition"),qe("slide-x-transition")),Ge=(qe("slide-x-reverse-transition"),qe("slide-y-transition"),qe("slide-y-reverse-transition"),Ue("expand-transition",Ze())),Qe=Ue("expand-x-transition",Ze("",!0));var Je=Ae;function ti(t,e){return()=>ue(`The ${t} component must be used inside a ${e}`)}function ei(t,e,i){const s=e&&i?{register:ti(e,i),unregister:ti(e,i)}:null;return c.a.extend({name:"registrable-inject",inject:{[t]:{default:s}}})}function ii(t,e=!1){return c.a.extend({name:"registrable-provide",provide(){return{[t]:e?this:{register:this.register,unregister:this.unregister}}}})}function si(t,e,i){return ei(t,e,i).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data(){return{isActive:!1}},computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(){this.$emit("change")}}})}si("itemGroup");function ni(t="value",e="input"){return c.a.extend({name:"toggleable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{isActive:!!this[t]}},watch:{[t](t){this.isActive=!!t},isActive(i){!!i!==this[t]&&this.$emit(e,i)}}})}const ri=ni();var ai=ri;i("7435");const oi=80;function li(t,e){t.style.transform=e,t.style.webkitTransform=e}function ci(t){return"TouchEvent"===t.constructor.name}function hi(t){return"KeyboardEvent"===t.constructor.name}const ui=(t,e,i={})=>{let s=0,n=0;if(!hi(t)){const i=e.getBoundingClientRect(),r=ci(t)?t.touches[t.touches.length-1]:t;s=r.clientX-i.left,n=r.clientY-i.top}let r=0,a=.3;e._ripple&&e._ripple.circle?(a=.15,r=e.clientWidth/2,r=i.center?r:r+Math.sqrt((s-r)**2+(n-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const o=(e.clientWidth-2*r)/2+"px",l=(e.clientHeight-2*r)/2+"px",c=i.center?o:s-r+"px",h=i.center?l:n-r+"px";return{radius:r,scale:a,x:c,y:h,centerX:o,centerY:l}},di={show(t,e,i={}){if(!e._ripple||!e._ripple.enabled)return;const s=document.createElement("span"),n=document.createElement("span");s.appendChild(n),s.className="v-ripple__container",i.class&&(s.className+=" "+i.class);const{radius:r,scale:a,x:o,y:l,centerX:c,centerY:h}=ui(t,e,i),u=2*r+"px";n.className="v-ripple__animation",n.style.width=u,n.style.height=u,e.appendChild(s);const d=window.getComputedStyle(e);d&&"static"===d.position&&(e.style.position="relative",e.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),li(n,`translate(${o}, ${l}) scale3d(${a},${a},${a})`),n.dataset.activated=String(performance.now()),setTimeout(()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),li(n,`translate(${c}, ${h}) scale3d(1,1,1)`)},0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(0===e.length)return;const i=e[e.length-1];if(i.dataset.isHiding)return;i.dataset.isHiding="true";const s=performance.now()-Number(i.dataset.activated),n=Math.max(250-s,0);setTimeout(()=>{i.classList.remove("v-ripple__animation--in"),i.classList.add("v-ripple__animation--out"),setTimeout(()=>{const e=t.getElementsByClassName("v-ripple__animation");1===e.length&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),i.parentNode&&t.removeChild(i.parentNode)},300)},n)}};function pi(t){return"undefined"===typeof t||!!t}function mi(t){const e={},i=t.currentTarget;if(i&&i._ripple&&!i._ripple.touched&&!t.rippleStop){if(t.rippleStop=!0,ci(t))i._ripple.touched=!0,i._ripple.isTouch=!0;else if(i._ripple.isTouch)return;if(e.center=i._ripple.centered||hi(t),i._ripple.class&&(e.class=i._ripple.class),ci(t)){if(i._ripple.showTimerCommit)return;i._ripple.showTimerCommit=()=>{di.show(t,i,e)},i._ripple.showTimer=window.setTimeout(()=>{i&&i._ripple&&i._ripple.showTimerCommit&&(i._ripple.showTimerCommit(),i._ripple.showTimerCommit=null)},oi)}else di.show(t,i,e)}}function fi(t){const e=t.currentTarget;if(e&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),"touchend"===t.type&&e._ripple.showTimerCommit)return e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,void(e._ripple.showTimer=setTimeout(()=>{fi(t)}));window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),di.hide(e)}}function gi(t){const e=t.currentTarget;e&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let vi=!1;function bi(t){vi||t.keyCode!==T.enter&&t.keyCode!==T.space||(vi=!0,mi(t))}function yi(t){vi=!1,fi(t)}function xi(t){!0===vi&&(vi=!1,fi(t))}function $i(t,e,i){const s=pi(e.value);s||di.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=s;const n=e.value||{};n.center&&(t._ripple.centered=!0),n.class&&(t._ripple.class=e.value.class),n.circle&&(t._ripple.circle=n.circle),s&&!i?(t.addEventListener("touchstart",mi,{passive:!0}),t.addEventListener("touchend",fi,{passive:!0}),t.addEventListener("touchmove",gi,{passive:!0}),t.addEventListener("touchcancel",fi),t.addEventListener("mousedown",mi),t.addEventListener("mouseup",fi),t.addEventListener("mouseleave",fi),t.addEventListener("keydown",bi),t.addEventListener("keyup",yi),t.addEventListener("blur",xi),t.addEventListener("dragstart",fi,{passive:!0})):!s&&i&&Ci(t)}function Ci(t){t.removeEventListener("mousedown",mi),t.removeEventListener("touchstart",mi),t.removeEventListener("touchend",fi),t.removeEventListener("touchmove",gi),t.removeEventListener("touchcancel",fi),t.removeEventListener("mouseup",fi),t.removeEventListener("mouseleave",fi),t.removeEventListener("keydown",bi),t.removeEventListener("keyup",yi),t.removeEventListener("dragstart",fi),t.removeEventListener("blur",xi)}function Si(t,e,i){$i(t,e,!1)}function _i(t){delete t._ripple,Ci(t)}function wi(t,e){if(e.value===e.oldValue)return;const i=pi(e.oldValue);$i(t,e,i)}const ki={bind:Si,unbind:_i,update:wi};var Ii=ki,Li=c.a.extend({name:"routable",directives:{Ripple:Ii},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactPath:Boolean,exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const t={};return this.to||(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive)),t},computedRipple(){var t;return null!=(t=this.ripple)?t:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},mounted(){this.onRouteChange()},methods:{generateRouteLink(){let t,e=this.exact;const i={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,..."click"in this?{click:this.click}:void 0},ref:"link"};if("undefined"===typeof this.exact&&(e="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let s=this.activeClass,n=this.exactActiveClass||s;this.proxyClass&&(s=`${s} ${this.proxyClass}`.trim(),n=`${n} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(i.props,{to:this.to,exact:e,exactPath:this.exactPath,activeClass:s,exactActiveClass:n,append:this.append,replace:this.replace})}else t=(this.href?"a":this.tag)||"div","a"===t&&this.href&&(i.attrs.href=this.href);return this.target&&(i.attrs.target=this.target),{tag:t,data:i}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const t=`${this.activeClass||""} ${this.proxyClass||""}`.trim(),e=`${this.exactActiveClass||""} ${this.proxyClass||""}`.trim()||t,i="_vnode.data.class."+(this.exact?e:t);this.$nextTick(()=>{!$(this.$refs.link,i)===this.isActive&&this.toggle()})},toggle(){this.isActive=!this.isActive}}}),Bi=ke(xe,$e,Li,_e,si("chipGroup"),ni("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:()=>({proxyClass:"v-chip--active"}),computed:{classes(){return{"v-chip":!0,...Li.options.computed.classes.call(this),"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose,...this.themeClasses,...this.sizeableClasses,...this.groupClasses}},hasClose(){return Boolean(this.close)},isClickable(){return Boolean(Li.options.computed.isClickable.call(this)||this.chipGroup)}},created(){const t=[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&me(t,e,this)})},methods:{click(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter(){const t=[];return this.isActive&&t.push(this.$createElement(Je,{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(Qe,t)},genClose(){return this.$createElement(Je,{staticClass:"v-chip__close",props:{right:!0,size:18},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:t=>{t.stopPropagation(),t.preventDefault(),this.$emit("click:close"),this.$emit("update:active",!1)}}},this.closeIcon)},genContent(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),this.$slots.default,this.hasClose&&this.genClose()])}},render(t){const e=[this.genContent()];let{tag:i,data:s}=this.generateRouteLink();s.attrs={...s.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:s.attrs.tabindex},s.directives.push({name:"show",value:this.active}),s=this.setBackgroundColor(this.color,s);const n=this.textColor||this.outlined&&this.color;return t(i,this.setTextColor(n,s),e)}}),Ai=Bi,Ti=(i("ee6f"),_e.extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:_e.options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find(t=>!t.isComment&&" "!==t.text)}})),Oi=c.a.extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(t,e){this.clearDelay();const i=parseInt(this[t+"Delay"],10);this[t+"Timeout"]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),i)}}});const Ei=ke(Oi,ai);var Pi=Ei.extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},disabled:Boolean,internalActivator:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,openOnFocus:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave","focus"],listeners:{}}),watch:{activator:"resetActivator",openOnFocus:"resetActivator",openOnHover:"resetActivator"},mounted(){const t=H(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&de('The activator slot must be bound, try \'<template v-slot:activator="{ on }"><v-btn v-on="on">\'',this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=Y(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:this.openOnClick&&!this.openOnHover?"button":void 0,"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):this.openOnClick&&(t.click=t=>{const e=this.getActivator(t);e&&e.focus(),t.stopPropagation(),this.isActive=!this.isActive}),this.openOnFocus&&(t.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),t},getActivator(t){var e;if(this.activatorElement)return this.activatorElement;let i=null;if(this.activator){const t=this.internalActivator?this.$el:document;i="string"===typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;i=t&&t.$options.mixins&&t.$options.mixins.some(t=>t.options&&["activatable","menuable"].includes(t.options.name))?t.getActivator():this.activatorNode[0].elm}else t&&(i=t.currentTarget||t.target);return this.activatorElement=(null==(e=i)?void 0:e.nodeType)===Node.ELEMENT_NODE?i:null,this.activatorElement},getContentSlot(){return Y(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}});function Di(t){const e=[];for(let i=0;i<t.length;i++){const s=t[i];s.isActive&&s.isDependent?e.push(s):e.push(...Di(s.$children))}return e}var Mi=ke().extend({name:"dependent",data(){return{closeDependents:!0,isActive:!1,isDependent:!0}},watch:{isActive(t){if(t)return;const e=this.getOpenDependents();for(let i=0;i<e.length;i++)e[i].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?Di(this.$children):[]},getOpenDependentElements(){const t=[],e=this.getOpenDependents();for(let i=0;i<e.length;i++)t.push(...e[i].getClickableDependentElements());return t},getClickableDependentElements(){const t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),this.overlay&&t.push(this.overlay.$el),t.push(...this.getOpenDependentElements()),t}}}),Vi=c.a.extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if("undefined"===typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:_(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,i=[this.stackMinZIndex,_(e)],s=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let n=0;n<s.length;n++)t.includes(s[n])||i.push(_(s[n]));return Math.max(...i)}}});const Fi={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function Ni(t=[]){return c.a.extend({name:"positionable",props:t.length?I(Fi,t):Fi})}var zi=Ni(),Ri=c.a.extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&fe("lazy",this)},methods:{showLazyContent(t){return this.hasContent&&t?t():[this.$createElement()]}}});function Hi(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}function Wi(t){t.forEach(t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)})}var ji=ke(Ri).extend({name:"detachable",props:{attach:{default:!1,validator:Hi},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick(()=>{if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach(t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)})}})},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content)},destroyed(){if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const e=new MutationObserver(i=>{i.some(t=>Array.from(t.removedNodes).includes(this.$el))&&(e.disconnect(),Wi(t))});e.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else Wi(t)}},methods:{getScopeIdAttrs(){const t=$(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"===typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.appendChild(this.$refs.content),this.hasDetached=!0):ue("Unable to locate target "+(this.attach||"[data-app]"),this)}}});const Yi=ke(Vi,Ni(["top","right","bottom","left","absolute"]),Pi,ji);var qi=Yi.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({activatorNode:[],absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},relativeYOffset:0,hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const t=this.dimensions.activator,e=this.dimensions.content,i=(!1!==this.attach?t.offsetLeft:t.left)||0,s=Math.max(t.width,e.width);let n=0;if(n+=i,(this.left||this.$vuetify.rtl&&!this.right)&&(n-=s-t.width),this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));n+=this.left?-e:t.width}return this.nudgeLeft&&(n-=parseInt(this.nudgeLeft)),this.nudgeRight&&(n+=parseInt(this.nudgeRight)),n},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let i=0;return this.top&&(i+=t.height-e.height),!1!==this.attach?i+=t.offsetTop:i+=t.top+this.pageYOffset,this.offsetY&&(i+=this.top?-t.height:t.height),this.nudgeTop&&(i-=parseInt(this.nudgeTop)),this.nudgeBottom&&(i+=parseInt(this.nudgeBottom)),i},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!==typeof window,this.hasWindow&&window.addEventListener("resize",this.updateDimensions,!1)},beforeDestroy(){this.hasWindow&&window.removeEventListener("resize",this.updateDimensions,!1)},methods:{absolutePosition(){return{offsetTop:this.positionY||this.absoluteY,offsetLeft:this.positionX||this.absoluteX,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(t){return L(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return L(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const i=t+e-this.pageWidth+12;return t=(!this.left||this.right)&&i>0?Math.max(t-i,0):Math.max(t,12),t+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),i=this.absoluteYOffset+e,s=this.dimensions.activator,n=this.dimensions.content.height,r=t+n,a=i<r;return a&&this.offsetOverflow&&s.top>n?t=this.pageYOffset+(s.top-n):a&&!this.allowOverflow?t=i-n-12:t<this.absoluteYOffset&&!this.allowOverflow&&(t=this.absoluteYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return;let t=this.getActivator();while(t){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=Pi.options.methods.genActivatorListeners.call(this),e=t.click;return e&&(t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY}),t},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const i=window.getComputedStyle(t);e.left=parseInt(i.marginLeft),e.top=parseInt(i.marginTop)}return e},sneakPeek(t){requestAnimationFrame(()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()})},startTransition(){return new Promise(t=>requestAnimationFrame(()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))},updateDimensions(){this.hasWindow="undefined"!==typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek(()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const e=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+e.top,t.activator.top-=this.relativeYOffset,t.activator.left-=window.pageXOffset+e.left}t.content=this.measure(this.$refs.content)}this.dimensions=t})}}}),Ui=c.a.extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout(()=>{this.isActive=!1})}}}),Zi=c.a.extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const t=[],e="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)t.push("rounded-0");else if("string"===typeof e){const i=e.split(" ");for(const e of i)t.push("rounded-"+e)}else e&&t.push("rounded");return t.length>0?{[t.join(" ")]:!0}:{}}}});function Xi(t){if("function"!==typeof t.getRootNode){while(t.parentNode)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}function Ki(){return!0}function Gi(t,e,i){if(!t||!1===Qi(t,i))return!1;const s=Xi(e);if("undefined"!==typeof ShadowRoot&&s instanceof ShadowRoot&&s.host===t.target)return!1;const n=("object"===typeof i.value&&i.value.include||(()=>[]))();return n.push(e),!n.some(e=>e.contains(t.target))}function Qi(t,e){const i="object"===typeof e.value&&e.value.closeConditional||Ki;return i(t)}function Ji(t,e,i,s){const n="function"===typeof i.value?i.value:i.value.handler;e._clickOutside.lastMousedownWasOutside&&Gi(t,e,i)&&setTimeout(()=>{Qi(t,i)&&n&&n(t)},0)}function ts(t,e){const i=Xi(t);e(document),"undefined"!==typeof ShadowRoot&&i instanceof ShadowRoot&&e(i)}const es={inserted(t,e,i){const s=s=>Ji(s,t,e,i),n=i=>{t._clickOutside.lastMousedownWasOutside=Gi(i,t,e)};ts(t,t=>{t.addEventListener("click",s,!0),t.addEventListener("mousedown",n,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[i.context._uid]={onClick:s,onMousedown:n}},unbind(t,e,i){t._clickOutside&&(ts(t,e=>{var s;if(!e||null==(s=t._clickOutside)||!s[i.context._uid])return;const{onClick:n,onMousedown:r}=t._clickOutside[i.context._uid];e.removeEventListener("click",n,!0),e.removeEventListener("mousedown",r,!0)}),delete t._clickOutside[i.context._uid])}};var is=es;function ss(t,e,i){const s=e.value,n=e.options||{passive:!0};window.addEventListener("resize",s,n),t._onResize=Object(t._onResize),t._onResize[i.context._uid]={callback:s,options:n},e.modifiers&&e.modifiers.quiet||s()}function ns(t,e,i){var s;if(null==(s=t._onResize)||!s[i.context._uid])return;const{callback:n,options:r}=t._onResize[i.context._uid];window.removeEventListener("resize",n,r),delete t._onResize[i.context._uid]}const rs={inserted:ss,unbind:ns};var as=rs;const os=ke(Mi,Oi,Ui,Zi,_e,qi);var ls=os.extend({name:"v-menu",directives:{ClickOutside:is,Resize:as},provide(){return{isInMenu:!0,theme:this.theme}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,disableKeys:Boolean,maxHeight:{type:[Number,String],default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"v-menu-transition"}},data(){return{calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}},computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const t=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?L(this.calcXOverflow(this.calcLeftAuto(),t))||"0":this.calcLeft(t)||"0"},calculatedMaxHeight(){const t=this.auto?"200px":L(this.maxHeight);return t||"0"},calculatedMaxWidth(){return L(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return L(this.minWidth)||"0";const t=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return L(Math.min(e,t))||"0"},calculatedTop(){const t=this.auto?L(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop();return t||"0"},hasClickableTiles(){return Boolean(this.tiles.find(t=>t.tabIndex>-1))},styles(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{isActive(t){t||(this.listIndex=-1)},isContentActive(t){this.hasJustFocused=t},listIndex(t,e){if(t in this.tiles){const e=this.tiles[t];e.classList.add("v-list-item--highlighted");const i=this.$refs.content.scrollTop,s=this.$refs.content.clientHeight;i>e.offsetTop-8?bt(e.offsetTop-e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content}):i+s<e.offsetTop+e.clientHeight+8&&bt(e.offsetTop-s+2*e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content})}e in this.tiles&&this.tiles[e].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&fe("full-width",this)},mounted(){this.isActive&&this.callActivate()},methods:{activate(){this.updateDimensions(),requestAnimationFrame(()=>{this.startTransition().then(()=>{this.$refs.content&&(this.calculatedTopAuto=this.calcTopAuto(),this.auto&&(this.$refs.content.scrollTop=this.calcScrollPosition()))})})},calcScrollPosition(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active"),i=t.scrollHeight-t.offsetHeight;return e?Math.min(i,Math.max(0,e.offsetTop-t.offsetHeight/2+e.offsetHeight/2)):t.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-2*this.defaultOffset)},calcTopAuto(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active");if(e||(this.selectedIndex=null),this.offsetY||!e)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(e);const i=e.offsetTop-this.calcScrollPosition(),s=t.querySelector(".v-list-item").offsetTop;return this.computedTop-i-s-1},changeListIndex(t){if(this.getTiles(),this.isActive&&this.hasClickableTiles)if(t.keyCode!==T.tab){if(t.keyCode===T.down)this.nextTile();else if(t.keyCode===T.up)this.prevTile();else if(t.keyCode===T.end)this.lastTile();else if(t.keyCode===T.home)this.firstTile();else{if(t.keyCode!==T.enter||-1===this.listIndex)return;this.tiles[this.listIndex].click()}t.preventDefault()}else this.isActive=!1},closeConditional(t){const e=t.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(e)},genActivatorAttributes(){const t=Pi.options.methods.genActivatorAttributes.call(this);return this.activeTile&&this.activeTile.id?{...t,"aria-activedescendant":this.activeTile.id}:t},genActivatorListeners(){const t=qi.options.methods.genActivatorListeners.call(this);return this.disableKeys||(t.keydown=this.onKeyDown),t},genTransition(){const t=this.genContent();return this.transition?this.$createElement("transition",{props:{name:this.transition}},[t]):t},genDirectives(){const t=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&t.push({name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),t},genContent(){const t={attrs:{...this.getScopeIdAttrs(),role:"role"in this.$attrs?this.$attrs.role:"menu"},staticClass:"v-menu__content",class:{...this.rootThemeClasses,...this.roundedClasses,"v-menu__content--auto":this.auto,"v-menu__content--fixed":this.activatorFixed,menuable__content__active:this.isActive,[this.contentClass.trim()]:!0},style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:t=>{const e=t.target;e.getAttribute("disabled")||this.closeOnContentClick&&(this.isActive=!1)},keydown:this.onKeyDown}};return this.$listeners.scroll&&(t.on=t.on||{},t.on.scroll=this.$listeners.scroll),!this.disabled&&this.openOnHover&&(t.on=t.on||{},t.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(t.on=t.on||{},t.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",t,this.getContentSlot())},getTiles(){this.$refs.content&&(this.tiles=Array.from(this.$refs.content.querySelectorAll(".v-list-item, .v-divider, .v-subheader")))},mouseEnterHandler(){this.runDelay("open",()=>{this.hasJustFocused||(this.hasJustFocused=!0)})},mouseLeaveHandler(t){this.runDelay("close",()=>{var e;null!=(e=this.$refs.content)&&e.contains(t.relatedTarget)||requestAnimationFrame(()=>{this.isActive=!1,this.callDeactivate()})})},nextTile(){const t=this.tiles[this.listIndex+1];if(!t){if(!this.tiles.length)return;return this.listIndex=-1,void this.nextTile()}this.listIndex++,-1===t.tabIndex&&this.nextTile()},prevTile(){const t=this.tiles[this.listIndex-1];if(!t){if(!this.tiles.length)return;return this.listIndex=this.tiles.length,void this.prevTile()}this.listIndex--,-1===t.tabIndex&&this.prevTile()},lastTile(){const t=this.tiles[this.tiles.length-1];t&&(this.listIndex=this.tiles.length-1,-1===t.tabIndex&&this.prevTile())},firstTile(){const t=this.tiles[0];t&&(this.listIndex=0,-1===t.tabIndex&&this.nextTile())},onKeyDown(t){if(t.keyCode===T.esc){setTimeout(()=>{this.isActive=!1});const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}else!this.isActive&&[T.up,T.down].includes(t.keyCode)&&(this.isActive=!0);this.$nextTick(()=>this.changeListIndex(t))},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(t){const e={staticClass:"v-menu",class:{"v-menu--attached":""===this.attach||!0===this.attach||"attach"===this.attach},directives:[{arg:"500",name:"resize",value:this.onResize}]};return t("div",e,[!this.activator&&this.genActivator(),this.showLazyContent(()=>[this.$createElement(Ti,{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])])])}}),cs=ls,hs=(i("cf36"),c.a.extend({name:"v-simple-checkbox",functional:!0,directives:{ripple:Ii},props:{...xe.options.props,..._e.options.props,disabled:Boolean,ripple:{type:Boolean,default:!0},value:Boolean,indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},onIcon:{type:String,default:"$checkboxOn"},offIcon:{type:String,default:"$checkboxOff"}},render(t,{props:e,data:i,listeners:s}){const n=[];let r=e.offIcon;if(e.indeterminate?r=e.indeterminateIcon:e.value&&(r=e.onIcon),n.push(t(Ae,xe.options.methods.setTextColor(e.value&&e.color,{props:{disabled:e.disabled,dark:e.dark,light:e.light}}),r)),e.ripple&&!e.disabled){const i=t("div",xe.options.methods.setTextColor(e.color,{staticClass:"v-input--selection-controls__ripple",directives:[{name:"ripple",value:{center:!0}}]}));n.push(i)}return t("div",Re(i,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":e.disabled},on:{click:t=>{t.stopPropagation(),i.on&&i.on.input&&!e.disabled&&F(i.on.input).forEach(t=>t(!e.value))}}}),[t("div",{staticClass:"v-input--selection-controls__input"},n)])}})),us=(i("8ce9"),_e.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(t){let e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":e,...this.$attrs},on:this.$listeners})}})),ds=us,ps=(i("0bc6"),ke(_e).extend({name:"v-subheader",props:{inset:Boolean},render(t){return t("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},this.$slots.default)}})),ms=ps;i("61d2");const fs=ke(xe,Li,_e,si("listItemGroup"),ni("inputValue"));var gs=fs.extend().extend({name:"v-list-item",directives:{Ripple:Ii},inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},inheritAttrs:!1,props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...Li.options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return Boolean(Li.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&fe("avatar",this)},methods:{click(t){t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle()},genAttrs(){const t={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(t.role="option",t["aria-selected"]=String(this.isActive)):this.isInMenu?(t.role=this.isClickable?"menuitem":void 0,t.id=t.id||"list-item-"+this._uid):this.isInList&&(t.role="listitem")),t},toggle(){this.to&&void 0===this.inputValue&&(this.isActive=!this.isActive),this.$emit("change")}},render(t){let{tag:e,data:i}=this.generateRouteLink();i.attrs={...i.attrs,...this.genAttrs()},i[this.to?"nativeOn":"on"]={...i[this.to?"nativeOn":"on"],keydown:t=>{this.disabled||(t.keyCode===T.enter&&this.click(t),this.$emit("keydown",t))}},this.inactive&&(e="div"),this.inactive&&this.to&&(i.on=i.nativeOn,delete i.nativeOn);const s=this.$scopedSlots.default?this.$scopedSlots.default({active:this.isActive,toggle:this.toggle}):this.$slots.default;return t(e,this.isActive?this.setTextColor(this.color,i):i,s)}}),vs=c.a.extend({name:"v-list-item-action",functional:!0,render(t,{data:e,children:i=[]}){e.staticClass=e.staticClass?"v-list-item__action "+e.staticClass:"v-list-item__action";const s=i.filter(t=>!1===t.isComment&&" "!==t.text);return s.length>1&&(e.staticClass+=" v-list-item__action--stack"),t("div",e,i)}}),bs=(i("3ad0"),i("25a8"),c.a.extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const t=this.computedElevation;return null==t||isNaN(parseInt(t))?{}:{["elevation-"+this.elevation]:!0}}}})),ys=c.a.extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const t={},e=L(this.height),i=L(this.minHeight),s=L(this.minWidth),n=L(this.maxHeight),r=L(this.maxWidth),a=L(this.width);return e&&(t.height=e),i&&(t.minHeight=i),s&&(t.minWidth=s),n&&(t.maxHeight=n),r&&(t.maxWidth=r),a&&(t.width=a),t}}}),xs=ke(u,xe,bs,ys,Zi,_e).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(t){const e={class:this.classes,style:this.styles,on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),this.$slots.default)}}),$s=xs.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{...xs.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex(e=>e._uid===t._uid);e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$}};return t(this.tag,this.setBackgroundColor(this.color,e),[this.$slots.default])}}),Cs=(i("db42"),c.a.extend({name:"v-list-item-icon",functional:!0,render(t,{data:e,children:i}){return e.staticClass=("v-list-item__icon "+(e.staticClass||"")).trim(),t("div",e,i)}}));const Ss=ke(u,Ri,xe,ei("list"),ai);Ss.extend().extend({name:"v-list-group",directives:{ripple:Ii},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:[String,RegExp],noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(t){!this.subGroup&&t&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(t){this.disabled||(this.isBooted=!0,this.$emit("click",t),this.$nextTick(()=>this.isActive=!this.isActive))},genIcon(t){return this.$createElement(Je,t)},genAppendIcon(){const t=!this.subGroup&&this.appendIcon;return t||this.$slots.appendIcon?this.$createElement(Cs,{staticClass:"v-list-group__header__append-icon"},[this.$slots.appendIcon||this.genIcon(t)]):null},genHeader(){return this.$createElement(gs,{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),this.$slots.activator,this.genAppendIcon()])},genItems(){return this.showLazyContent(()=>[this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},Y(this))])},genPrependIcon(){const t=this.subGroup&&null==this.prependIcon?"$subgroup":this.prependIcon;return t||this.$slots.prependIcon?this.$createElement(Cs,{staticClass:"v-list-group__header__prepend-icon"},[this.$slots.prependIcon||this.genIcon(t)]):null},onRouteChange(t){if(!this.group)return;const e=this.matchRoute(t.path);e&&this.isActive!==e&&this.list&&this.list.listClick(this._uid),this.isActive=e},toggle(t){const e=this._uid===t;e&&(this.isBooted=!0),this.$nextTick(()=>this.isActive=e)},matchRoute(t){return null!==t.match(this.group)}},render(t){return t("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),t(Ge,this.genItems())])}}),i("899c"),i("166a");var _s=c.a.extend({name:"comparable",props:{valueComparator:{type:Function,default:x}}});function ws(t="value",e="change"){return c.a.extend({name:"proxyable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{internalLazyValue:this[t]}},computed:{internalValue:{get(){return this.internalLazyValue},set(t){t!==this.internalLazyValue&&(this.internalLazyValue=t,this.$emit(e,t))}}},watch:{[t](t){this.internalLazyValue=t}}})}const ks=ws();var Is=ks;const Ls=ke(_s,Is,_e).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter((t,e)=>this.toggleMethod(this.getValue(t,e)))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.valueComparator(this.internalValue,t);const t=this.internalValue;return Array.isArray(t)?e=>t.some(t=>this.valueComparator(t,e)):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&ue("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(t,e){return void 0===t.value?e:t.value},onClick(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register(t){const e=this.items.push(t)-1;t.$on("change",()=>this.onClick(t)),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(t,e)},unregister(t){if(this._isDestroyed)return;const e=this.items.indexOf(t),i=this.getValue(t,e);this.items.splice(e,1);const s=this.selectedValues.indexOf(i);if(!(s<0)){if(!this.mandatory)return this.updateInternalValue(i);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter(t=>t!==i):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(t,e){const i=this.getValue(t,e);t.isActive=this.toggleMethod(i)},updateItemsState(){this.$nextTick(()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)})},updateInternalValue(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory(t){if(!this.items.length)return;const e=this.items.slice();t&&e.reverse();const i=e.find(t=>!t.disabled);if(!i)return;const s=this.items.indexOf(i);this.updateInternalValue(this.getValue(i,s))},updateMultiple(t){const e=Array.isArray(this.internalValue)?this.internalValue:[],i=e.slice(),s=i.findIndex(e=>e===t);this.mandatory&&s>-1&&i.length-1<1||null!=this.max&&s<0&&i.length+1>this.max||(s>-1?i.splice(s,1):i.push(t),this.internalValue=i)},updateSingle(t){const e=t===this.internalValue;this.mandatory&&e||(this.internalValue=e?void 0:t)}},render(t){return t(this.tag,this.genData(),this.$slots.default)}});Ls.extend({name:"v-item-group",provide(){return{itemGroup:this}}}),ke(Ls,xe).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...Ls.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...Ls.options.methods.genData.call(this),attrs:{role:"listbox"}})}}}),i("3408");var Bs=ke(xe,ys,Zi).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:L(this.size),minWidth:L(this.size),width:L(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}}),As=Bs;As.extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...As.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(t){const e=As.options.render.call(this,t);return e.data=e.data||{},e.data.staticClass+=" v-list-item__avatar",e}});f("v-list-item__action-text","span");const Ts=f("v-list-item__content","div"),Os=f("v-list-item__title","div");f("v-list-item__subtitle","div");var Es=ke(xe,_e).extend({name:"v-select-list",directives:{ripple:Ii},props:{action:Boolean,dense:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},noDataText:String,noFilter:Boolean,searchInput:null,selectedItems:{type:Array,default:()=>[]}},computed:{parsedItems(){return this.selectedItems.map(t=>this.getValue(t))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){const t={attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}};return this.$createElement(gs,t,[this.genTileContent(this.noDataText)])}},methods:{genAction(t,e){return this.$createElement(vs,[this.$createElement(hs,{props:{color:this.color,value:e,ripple:!1},on:{input:()=>this.$emit("select",t)}})])},genDivider(t){return this.$createElement(ds,{props:t})},genFilteredText(t){if(t=t||"",!this.searchInput||this.noFilter)return k(t);const{start:e,middle:i,end:s}=this.getMaskedCharacters(t);return`${k(e)}${this.genHighlight(i)}${k(s)}`},genHeader(t){return this.$createElement(ms,{props:t},t.header)},genHighlight(t){return`<span class="v-list-item__mask">${k(t)}</span>`},getMaskedCharacters(t){const e=(this.searchInput||"").toString().toLocaleLowerCase(),i=t.toLocaleLowerCase().indexOf(e);if(i<0)return{start:t,middle:"",end:""};const s=t.slice(0,i),n=t.slice(i,i+e.length),r=t.slice(i+e.length);return{start:s,middle:n,end:r}},genTile({item:t,index:e,disabled:i=null,value:s=!1}){s||(s=this.hasItem(t)),t===Object(t)&&(i=null!==i?i:this.getDisabled(t));const n={attrs:{"aria-selected":String(s),id:`list-item-${this._uid}-${e}`,role:"option"},on:{mousedown:t=>{t.preventDefault()},click:()=>i||this.$emit("select",t)},props:{activeClass:this.tileActiveClass,disabled:i,ripple:!0,inputValue:s}};if(!this.$scopedSlots.item)return this.$createElement(gs,n,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(t,s):null,this.genTileContent(t,e)]);const r=this,a=this.$scopedSlots.item({parent:r,item:t,attrs:{...n.attrs,...n.props},on:n.on});return this.needsTile(a)?this.$createElement(gs,n,a):a},genTileContent(t,e=0){const i=this.genFilteredText(this.getText(t));return this.$createElement(Ts,[this.$createElement(Os,{domProps:{innerHTML:i}})])},hasItem(t){return this.parsedItems.indexOf(this.getValue(t))>-1},needsTile(t){return 1!==t.length||null==t[0].componentOptions||"v-list-item"!==t[0].componentOptions.Ctor.options.name},getDisabled(t){return Boolean(C(t,this.itemDisabled,!1))},getText(t){return String(C(t,this.itemText,t))},getValue(t){return C(t,this.itemValue,this.getText(t))}},render(){const t=[],e=this.items.length;for(let i=0;i<e;i++){const e=this.items[i];this.hideSelected&&this.hasItem(e)||(null==e?t.push(this.genTile({item:e,index:i})):e.header?t.push(this.genHeader(e)):e.divider?t.push(this.genDivider(e)):t.push(this.genTile({item:e,index:i})))}return t.length||t.push(this.$slots["no-data"]||this.staticNoDataTile),this.$slots["prepend-item"]&&t.unshift(this.$slots["prepend-item"]),this.$slots["append-item"]&&t.push(this.$slots["append-item"]),this.$createElement($s,{staticClass:"v-select-list",class:this.themeClasses,attrs:{role:"listbox",tabindex:-1},props:{dense:this.dense}},t)}}),Ps=(i("d191"),i("1b2c"),ke(_e).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(t,e){const{children:i,listeners:s,props:n}=e,r={staticClass:"v-label",class:{"v-label--active":n.value,"v-label--is-disabled":n.disabled,...we(e)},attrs:{for:n.for,"aria-hidden":!n.for},on:s,style:{left:L(n.left),right:L(n.right),position:n.absolute?"absolute":"relative"},ref:"label"};return t("label",xe.options.methods.setTextColor(n.focused&&n.color,r),i)}})),Ds=Ps,Ms=(i("8ff2"),ke(xe,_e).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(t,e){return this.$createElement("div",{staticClass:"v-messages__message",key:e},Y(this,"default",{message:t,key:e})||[t])}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}})),Vs=Ms;const Fs=ke(xe,ei("form"),_e);var Ns=Fs.extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",t)}},isDisabled(){return this.disabled||!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){return this.readonly||!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(t,e){x(t,e)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(t){t||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(t){this.shouldValidate&&this.$emit("update:error",t)},value(t){this.lazyValue=t}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(t){return t?Array.isArray(t)?t:[t]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(t=!1,e){const i=[];e=e||this.internalValue,t&&(this.hasInput=this.hasFocused=!0);for(let s=0;s<this.rules.length;s++){const t=this.rules[s],n="function"===typeof t?t(e):t;!1===n||"string"===typeof n?i.push(n||""):"boolean"!==typeof n&&de(`Rules should return a string or boolean, received '${typeof n}' instead`,this)}return this.errorBucket=i,this.valid=0===i.length,this.valid}}});const zs=ke(u,Ns);var Rs=zs.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||"input-"+this._uid},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit(this.$_modelEvent,t)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(t=>{if("string"===typeof t)return t;const e=t(this.internalValue);return"string"===typeof e?e:""}).filter(t=>""!==t):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(t){this.lazyValue=t}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),this.$slots.default]},genIcon(t,e,i={}){const s=this[t+"Icon"],n="click:"+B(t),r=!(!this.listeners$[n]&&!e),a=Re({attrs:{"aria-label":r?B(t).split("-")[0]+" icon":void 0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light},on:r?{click:t=>{t.preventDefault(),t.stopPropagation(),this.$emit(n,t),e&&e(t)},mouseup:t=>{t.preventDefault(),t.stopPropagation()}}:void 0},i);return this.$createElement("div",{staticClass:"v-input__icon",class:t?"v-input__icon--"+B(t):void 0},[this.$createElement(Je,a,s)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:L(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(Ds,{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(Vs,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:t=>Y(this,"message",t)}}):null},genSlot(t,e,i){if(!i.length)return null;const s=`${t}-${e}`;return this.$createElement("div",{staticClass:"v-input__"+s,ref:s},i)},genPrependSlot(){const t=[];return this.$slots.prepend?t.push(this.$slots.prepend):this.prependIcon&&t.push(this.genIcon("prepend")),this.genSlot("prepend","outer",t)},genAppendSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","outer",t)},onClick(t){this.$emit("click",t)},onMouseDown(t){this.hasMouseDown=!0,this.$emit("mousedown",t)},onMouseUp(t){this.hasMouseDown=!1,this.$emit("mouseup",t)}},render(t){return t("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}}),Hs=Rs,Ws=(i("e9b1"),ke(_e).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(t,e){const{props:i}=e,s=parseInt(i.max,10),n=parseInt(i.value,10),r=s?`${n} / ${s}`:String(i.value),a=s&&n>s;return t("div",{staticClass:"v-counter",class:{"error--text":a,...we(e)}},r)}})),js=Ws;function Ys(t,e,i){if("undefined"===typeof window||!("IntersectionObserver"in window))return;const s=e.modifiers||{},n=e.value,{handler:r,options:a}="object"===typeof n?n:{handler:n,options:{}},o=new IntersectionObserver((n=[],a)=>{var o;const l=null==(o=t._observe)?void 0:o[i.context._uid];if(!l)return;const c=n.some(t=>t.isIntersecting);!r||s.quiet&&!l.init||s.once&&!c&&!l.init||r(n,a,c),c&&s.once?qs(t,e,i):l.init=!0},a);t._observe=Object(t._observe),t._observe[i.context._uid]={init:!1,observer:o},o.observe(t)}function qs(t,e,i){var s;const n=null==(s=t._observe)?void 0:s[i.context._uid];n&&(n.observer.unobserve(t),delete t._observe[i.context._uid])}const Us={inserted:Ys,unbind:qs};var Zs=Us;function Xs(t){return c.a.extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){Zs.inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){Zs.unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(e,i,s){if(this.isIntersecting=s,s)for(let n=0,r=t.onVisible.length;n<r;n++){const e=this[t.onVisible[n]];"function"!==typeof e?ue(t.onVisible[n]+" method is not available on the instance but referenced in intersectable mixin options"):e()}}}})}i("6ece");const Ks=ke(xe,Ni(["absolute","fixed","top","bottom"]),Is,_e);var Gs=Ks.extend({name:"v-progress-linear",directives:{intersect:Zs},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:L(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:L(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:t,[this.isReversed?"right":"left"]:L(this.normalizedValue,"%"),width:L(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?Xe:Ke},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=L(this.normalizedBuffer,"%")),t}},methods:{genContent(){const t=Y(this,"default",{value:this.internalLazyValue});return t?this.$createElement("div",{staticClass:"v-progress-linear__content"},t):null},genListeners(){const t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[t]:!0}}))},onClick(t){if(!this.reactive)return;const{width:e}=this.$el.getBoundingClientRect();this.internalValue=t.offsetX/e*100},onObserve(t,e,i){this.isVisible=i},normalize(t){return t<0?0:t>100?100:parseFloat(t)}},render(t){const e={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?L(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return t("div",e,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}}),Qs=Gs,Js=c.a.extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(Qs,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}});const tn=ke(Hs,Xs({onVisible:["onResize","tryAutofocus"]}),Js),en=["color","file","time","date","datetime-local","week","month"];var sn=tn.extend().extend({name:"v-text-field",directives:{resize:as,ripple:Ii},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...Hs.options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const t=Ns.options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":t},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return Hs.options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",this.lazyValue)}},isDirty(){var t;return(null==(t=this.lazyValue)?void 0:t.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||en.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let t=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(t-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:t,right:"auto"}:{left:"auto",right:t}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(t){this.lazyValue=t}},created(){this.$attrs.hasOwnProperty("box")&&me("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&me("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&ue("shaped should be used with either filled or outlined",this)},mounted(){this.$watch(()=>this.labelValue,this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame(()=>{this.isBooted=!0,requestAnimationFrame(()=>{this.isIntersecting||this.onResize()})})},methods:{focus(){this.onFocus()},blur(t){window.requestAnimationFrame(()=>{this.$refs.input&&this.$refs.input.blur()})},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick(()=>this.internalValue=null)},genAppendSlot(){const t=[];return this.$slots["append-outer"]?t.push(this.$slots["append-outer"]):this.appendOuterIcon&&t.push(this.genIcon("appendOuter")),this.genSlot("append","outer",t)},genPrependInnerSlot(){const t=[];return this.$slots["prepend-inner"]?t.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&t.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",t)},genIconSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","inner",t)},genInputSlot(){const t=Hs.options.methods.genInputSlot.call(this),e=this.genPrependInnerSlot();return e&&(t.children=t.children||[],t.children.unshift(e)),t},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var t,e,i;if(!this.hasCounter)return null;const s=!0===this.counter?this.attrs$.maxlength:this.counter,n={dark:this.dark,light:this.light,max:s,value:this.computedCounterValue};return null!=(t=null==(e=(i=this.$scopedSlots).counter)?void 0:e.call(i,{props:n}))?t:this.$createElement(js,{props:n})},genControl(){return Hs.options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const t={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(Ds,t,this.$slots.label||this.label)},genLegend(){const t=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,e=this.$createElement("span",{domProps:{innerHTML:"&#8203;"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:L(t)}},[e])},genInput(){const t=Object.assign({},this.listeners$);delete t.change;const{title:e,...i}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...i,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(t,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const t=Hs.options.methods.genMessages.call(this),e=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[t,e])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(t){return this.$createElement("div",{class:"v-text-field__"+t,ref:t},this[t])},onBlur(t){this.isFocused=!1,t&&this.$nextTick(()=>this.$emit("blur",t))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(t){if(!this.$refs.input)return;const e=Xi(this.$el);return e?e.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,t&&this.$emit("focus",t))):void 0},onInput(t){const e=t.target;this.internalValue=e.value,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){t.keyCode===T.enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",t)},onMouseDown(t){t.target!==this.$refs.input&&(t.preventDefault(),t.stopPropagation()),Hs.options.methods.onMouseDown.call(this,t)},onMouseUp(t){this.hasMouseDown&&this.focus(),Hs.options.methods.onMouseUp.call(this,t)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||"undefined"===typeof document||!this.$refs.input)return!1;const t=Xi(this.$el);return!(!t||t.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}}),nn=c.a.extend({name:"filterable",props:{noDataText:{type:String,default:"$vuetify.noDataText"}}});const rn={closeOnClick:!1,closeOnContentClick:!1,disableKeys:!0,openOnClick:!1,maxHeight:304},an=ke(sn,_s,Mi,nn);var on=an.extend().extend({name:"v-select",directives:{ClickOutside:is},props:{appendIcon:{type:String,default:"$dropdown"},attach:{type:null,default:!1},cacheItems:Boolean,chips:Boolean,clearable:Boolean,deletableChips:Boolean,disableLookup:Boolean,eager:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemColor:{type:String,default:"primary"},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},menuProps:{type:[String,Array,Object],default:()=>rn},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...sn.options.computed.classes.call(this),"v-select":!0,"v-select--chips":this.hasChips,"v-select--chips--small":this.smallChips,"v-select--is-menu-active":this.isMenuActive,"v-select--is-multi":this.multiple}},computedItems(){return this.allItems},computedOwns(){return"list-"+this._uid},computedCounterValue(){var t;const e=this.multiple?this.selectedItems:(null!=(t=this.getText(this.selectedItems[0]))?t:"").toString();return"function"===typeof this.counterValue?this.counterValue(e):e.length},directives(){return this.isFocused?[{name:"click-outside",value:{handler:this.blur,closeConditional:this.closeConditional,include:()=>this.getOpenDependentElements()}}]:void 0},dynamicHeight(){return"auto"},hasChips(){return this.chips||this.smallChips},hasSlot(){return Boolean(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const t=this.$vnode&&this.$vnode.context.$options._scopeId,e=t?{[t]:!0}:{};return{attrs:{...e,id:this.computedOwns},props:{action:this.multiple,color:this.itemColor,dense:this.dense,hideSelected:this.hideSelected,items:this.virtualizedItems,itemDisabled:this.itemDisabled,itemText:this.itemText,itemValue:this.itemValue,noDataText:this.$vuetify.lang.t(this.noDataText),selectedItems:this.selectedItems},on:{select:this.selectItem},scopedSlots:{item:this.$scopedSlots.item}}},staticList(){return(this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"])&&de("assert: staticList should not be called if slots are used"),this.$createElement(Es,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let t="string"===typeof this.menuProps?this.menuProps.split(","):this.menuProps;return Array.isArray(t)&&(t=t.reduce((t,e)=>(t[e.trim()]=!0,t),{})),{...rn,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:t.offsetY?1:0,...t}}},watch:{internalValue(t){this.initialValue=t,this.setSelectedItems(),this.multiple&&this.$nextTick(()=>{var t;null==(t=this.$refs.menu)||t.updateDimensions()})},isMenuActive(t){window.setTimeout(()=>this.onMenuActiveChange(t))},items:{immediate:!0,handler(t){this.cacheItems&&this.$nextTick(()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))}),this.setSelectedItems()}}},methods:{blur(t){sn.options.methods.blur.call(this,t),this.isMenuActive=!1,this.isFocused=!1,this.selectedIndex=-1,this.setMenuIndex(-1)},activateMenu(){this.isInteractive&&!this.isMenuActive&&(this.isMenuActive=!0)},clearableCallback(){this.setValue(this.multiple?[]:null),this.setMenuIndex(-1),this.$nextTick(()=>this.$refs.input&&this.$refs.input.focus()),this.openOnClear&&(this.isMenuActive=!0)},closeConditional(t){return!this.isMenuActive||!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(t.target))&&this.$el&&!this.$el.contains(t.target)&&t.target!==this.$el},filterDuplicates(t){const e=new Map;for(let i=0;i<t.length;++i){const s=t[i];if(null==s)continue;if(s.header||s.divider){e.set(s,s);continue}const n=this.getValue(s);!e.has(n)&&e.set(n,s)}return Array.from(e.values())},findExistingIndex(t){const e=this.getValue(t);return(this.internalValue||[]).findIndex(t=>this.valueComparator(this.getValue(t),e))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(t,e){const i=this.isDisabled||this.getDisabled(t),s=!i&&this.isInteractive;return this.$createElement(Ai,{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&s,disabled:i,inputValue:e===this.selectedIndex,small:this.smallChips},on:{click:t=>{s&&(t.stopPropagation(),this.selectedIndex=e)},"click:close":()=>this.onChipInput(t)},key:JSON.stringify(this.getValue(t))},this.getText(t))},genCommaSelection(t,e,i){const s=e===this.selectedIndex&&this.computedColor,n=this.isDisabled||this.getDisabled(t);return this.$createElement("div",this.setTextColor(s,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":n},key:JSON.stringify(this.getValue(t))}),`${this.getText(t)}${i?"":", "}`)},genDefaultSlot(){const t=this.genSelections(),e=this.genInput();return Array.isArray(t)?t.push(e):(t.children=t.children||[],t.children.push(e)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,t,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(t,e,i){const s=Hs.options.methods.genIcon.call(this,t,e,i);return"append"===t&&(s.children[0].data=Re(s.children[0].data,{attrs:{tabindex:s.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),s},genInput(){const t=sn.options.methods.genInput.call(this);return delete t.data.attrs.name,t.data=Re(t.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":$(this.$refs.menu,"activeTile.id"),autocomplete:$(t.data,"attrs.autocomplete","off"),placeholder:this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?void 0:this.placeholder},on:{keypress:this.onKeyPress}}),t},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const t=sn.options.methods.genInputSlot.call(this);return t.data.attrs={...t.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},t},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const t=["prepend-item","no-data","append-item"].filter(t=>this.$slots[t]).map(t=>this.$createElement("template",{slot:t},this.$slots[t]));return this.$createElement(Es,{...this.listData},t)},genMenu(){const t=this.$_menuProps;return t.activator=this.$refs["input-slot"],""===this.attach||!0===this.attach||"attach"===this.attach?t.attach=this.$el:t.attach=this.attach,this.$createElement(cs,{attrs:{role:void 0},props:t,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let t=this.selectedItems.length;const e=new Array(t);let i;i=this.$scopedSlots.selection?this.genSlotSelection:this.hasChips?this.genChipSelection:this.genCommaSelection;while(t--)e[t]=i(this.selectedItems[t],t,t===e.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},e)},genSlotSelection(t,e){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:t,index:e,select:t=>{t.stopPropagation(),this.selectedIndex=e},selected:e===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(t){return C(t,this.itemDisabled,!1)},getText(t){return C(t,this.itemText,t)},getValue(t){return C(t,this.itemValue,this.getText(t))},onBlur(t){t&&this.$emit("blur",t)},onChipInput(t){this.multiple?this.selectItem(t):this.setValue(null),0===this.selectedItems.length?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(t){this.isInteractive&&(this.isAppendInner(t.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",t))},onEscDown(t){t.preventDefault(),this.isMenuActive&&(t.stopPropagation(),this.isMenuActive=!1)},onKeyPress(t){if(this.multiple||!this.isInteractive||this.disableLookup)return;const e=1e3,i=performance.now();i-this.keyboardLookupLastTime>e&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=t.key.toLowerCase(),this.keyboardLookupLastTime=i;const s=this.allItems.findIndex(t=>{var e;const i=(null!=(e=this.getText(t))?e:"").toString();return i.toLowerCase().startsWith(this.keyboardLookupPrefix)}),n=this.allItems[s];-1!==s&&(this.lastItem=Math.max(this.lastItem,s+5),this.setValue(this.returnObject?n:this.getValue(n)),this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(s)))},onKeyDown(t){if(this.isReadonly&&t.keyCode!==T.tab)return;const e=t.keyCode,i=this.$refs.menu;return this.$emit("keydown",t),i?(this.isMenuActive&&[T.up,T.down,T.home,T.end,T.enter].includes(e)&&this.$nextTick(()=>{i.changeListIndex(t),this.$emit("update:list-index",i.listIndex)}),[T.enter,T.space].includes(e)&&this.activateMenu(),!this.isMenuActive&&[T.up,T.down,T.home,T.end].includes(e)?this.onUpDown(t):e===T.esc?this.onEscDown(t):e===T.tab?this.onTabDown(t):e===T.space?this.onSpaceDown(t):void 0):void 0},onMenuActiveChange(t){if(this.multiple&&!t||this.getMenuIndex()>-1)return;const e=this.$refs.menu;if(e&&this.isDirty){this.$refs.menu.getTiles();for(let t=0;t<e.tiles.length;t++)if("true"===e.tiles[t].getAttribute("aria-selected")){this.setMenuIndex(t);break}}},onMouseUp(t){this.hasMouseDown&&3!==t.which&&this.isInteractive&&this.isAppendInner(t.target)&&this.$nextTick(()=>this.isMenuActive=!this.isMenuActive),sn.options.methods.onMouseUp.call(this,t)},onScroll(){if(this.isMenuActive){if(this.lastItem>this.computedItems.length)return;const t=this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200;t&&(this.lastItem+=20)}else requestAnimationFrame(()=>this.getContent().scrollTop=0)},onSpaceDown(t){t.preventDefault()},onTabDown(t){const e=this.$refs.menu;if(!e)return;const i=e.activeTile;!this.multiple&&i&&this.isMenuActive?(t.preventDefault(),t.stopPropagation(),i.click()):this.blur(t)},onUpDown(t){const e=this.$refs.menu;if(!e)return;if(t.preventDefault(),this.multiple)return this.activateMenu();const i=t.keyCode;e.isBooted=!0,window.requestAnimationFrame(()=>{if(e.getTiles(),!e.hasClickableTiles)return this.activateMenu();switch(i){case T.up:e.prevTile();break;case T.down:e.nextTile();break;case T.home:e.firstTile();break;case T.end:e.lastTile();break}this.selectItem(this.allItems[this.getMenuIndex()])})},selectItem(t){if(this.multiple){const e=(this.internalValue||[]).slice(),i=this.findExistingIndex(t);if(-1!==i?e.splice(i,1):e.push(t),this.setValue(e.map(t=>this.returnObject?t:this.getValue(t))),this.hideSelected)this.setMenuIndex(-1);else{const e=this.allItems.indexOf(t);~e&&(this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(e)))}}else this.setValue(this.returnObject?t:this.getValue(t)),this.isMenuActive=!1},setMenuIndex(t){this.$refs.menu&&(this.$refs.menu.listIndex=t)},setSelectedItems(){const t=[],e=this.multiple&&Array.isArray(this.internalValue)?this.internalValue:[this.internalValue];for(const i of e){const e=this.allItems.findIndex(t=>this.valueComparator(this.getValue(t),this.getValue(i)));e>-1&&t.push(this.allItems[e])}this.selectedItems=t},setValue(t){this.valueComparator(t,this.internalValue)||(this.internalValue=t,this.$emit("change",t))},isAppendInner(t){const e=this.$refs["append-inner"];return e&&(e===t||e.contains(t))}}}),ln=(i("17b3"),ke(xe,Xs({onVisible:["init"]}),_e).extend({name:"v-pagination",directives:{Resize:as},props:{circle:Boolean,disabled:Boolean,length:{type:Number,default:0,validator:t=>t%1===0},nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},totalVisible:[Number,String],value:{type:Number,default:0},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},wrapperAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.wrapper"}},data(){return{maxButtons:0,selected:null}},computed:{classes(){return{"v-pagination":!0,"v-pagination--circle":this.circle,"v-pagination--disabled":this.disabled,...this.themeClasses}},items(){const t=parseInt(this.totalVisible,10);if(0===t)return[];const e=Math.min(Math.max(0,t)||this.length,Math.max(0,this.maxButtons)||this.length,this.length);if(this.length<=e)return this.range(1,this.length);const i=e%2===0?1:0,s=Math.floor(e/2),n=this.length-s+1+i;if(this.value>s&&this.value<n){const t=1,e=this.length,n=this.value-s+2,r=this.value+s-2-i,a=n-1===t+1?2:"...",o=r+1===e-1?r+1:"...";return[1,a,...this.range(n,r),o,this.length]}if(this.value===s){const t=this.value+s-1-i;return[...this.range(1,t),"...",this.length]}if(this.value===n){const t=this.value-s+1;return[1,"...",...this.range(t,this.length)]}return[...this.range(1,s),"...",...this.range(n,this.length)]}},watch:{value(){this.init()}},beforeMount(){this.init()},methods:{init(){this.selected=null,this.onResize(),this.$nextTick(this.onResize),setTimeout(()=>this.selected=this.value,100)},onResize(){const t=this.$el&&this.$el.parentElement?this.$el.parentElement.clientWidth:window.innerWidth;this.maxButtons=Math.floor((t-96)/42)},next(t){t.preventDefault(),this.$emit("input",this.value+1),this.$emit("next")},previous(t){t.preventDefault(),this.$emit("input",this.value-1),this.$emit("previous")},range(t,e){const i=[];t=t>0?t:1;for(let s=t;s<=e;s++)i.push(s);return i},genIcon(t,e,i,s,n){return t("li",[t("button",{staticClass:"v-pagination__navigation",class:{"v-pagination__navigation--disabled":i},attrs:{disabled:i,type:"button","aria-label":n},on:i?{}:{click:s}},[t(Je,[e])])])},genItem(t,e){const i=e===this.value&&(this.color||"primary"),s=e===this.value,n=s?this.currentPageAriaLabel:this.pageAriaLabel;return t("button",this.setBackgroundColor(i,{staticClass:"v-pagination__item",class:{"v-pagination__item--active":e===this.value},attrs:{type:"button","aria-current":s,"aria-label":this.$vuetify.lang.t(n,e)},on:{click:()=>this.$emit("input",e)}}),[e.toString()])},genItems(t){return this.items.map((e,i)=>t("li",{key:i},[isNaN(Number(e))?t("span",{class:"v-pagination__more"},[e.toString()]):this.genItem(t,e)]))},genList(t,e){return t("ul",{directives:[{modifiers:{quiet:!0},name:"resize",value:this.onResize}],class:this.classes},e)}},render(t){const e=[this.genIcon(t,this.$vuetify.rtl?this.nextIcon:this.prevIcon,this.value<=1,this.previous,this.$vuetify.lang.t(this.previousAriaLabel)),this.genItems(t),this.genIcon(t,this.$vuetify.rtl?this.prevIcon:this.nextIcon,this.value>=this.length,this.next,this.$vuetify.lang.t(this.nextAriaLabel))];return t("nav",{attrs:{role:"navigation","aria-label":this.$vuetify.lang.t(this.wrapperAriaLabel)}},[this.genList(t,e)])}})),cn=c.a.extend({name:"farm-datatable-paginator",props:{perPageOptions:{type:Array,default:()=>[5,10,20,50,100]},page:null,totalPages:null,disabled:{type:Boolean,default:!1},hidePerPageOptions:{type:Boolean,default:!1},initialLimitPerPage:{type:Number,default:10}},data(){return{selectedLimit:this.initialLimitPerPage,currentPage:this.page}},computed:{perPageBuiltItems:function(){return this.perPageOptions.map(t=>({text:t+" registros por página",value:t}))}},watch:{selectedLimit(t){this.$emit("onChangeLimitPerPage",t)},currentPage(t){this.$emit("onChangePage",t)},page(t){this.currentPage=t},initialLimitPerPage(t){this.selectedLimit=t}},components:{VSelect:on,VPagination:ln}}),hn=cn,un=(i("72a6"),Ee(hn,Ve,Fe,!1,null,null,null)),dn=un.exports,pn=dn,mn=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",[e("tr",t._l(t.headers,(function(i,s){return e("th",{key:i.value,class:[i.sortable?"sortable":"",t.sortClick[s].clicked?"active":"",i.sortable?"DESC"===t.sortClick[s].descending?"DESC":"ASC":""],style:{textAlign:i.align?i.align:"",width:t.thWidth(i),minWidth:t.thWidth(i)},on:{click:function(e){i.sortable&&t.clickSort(i.value,s)},mouseover:function(e){return t.changeShow(s)},mouseout:function(e){return t.changeHidden(s)}}},[t.isTHDataTableSelect(i)?t._e():e("span",{staticClass:"header-text"},[t._v(" "+t._s(i.text)+" "),i.sortable&&t.sortClick[s].show?e("v-icon",{class:[t.sortClick[s][i.value]?"v-icon--desc":"v-icon--asc"],attrs:{small:""}},[t._v(" mdi-sort-descending ")]):t._e()],1),t.isTHDataTableSelect(i)&&t.showCheckbox?e("span",[e("v-simple-checkbox",{attrs:{indeterminate:t.headerProps.someItems&&!t.headerProps.everyItem},on:{input:t.selectAll},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}})],1):t._e()])})),0)])},fn=[],gn=c.a.extend({name:"farm-datatable-header",components:{VIcon:Je,VSimpleCheckbox:hs},props:{headers:{type:Array,required:!0},sortClick:{type:Array,required:!0},firstSelected:{type:Boolean,default:!1},selectedIndex:{type:Number,default:0},value:{default:!1},headerProps:{type:Object},showCheckbox:{default:!0}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{getTypeSort(t){return t?"DESC":"ASC"},clickSort(t,e){this.removeClicked(),this.sortClick[e].clicked=!0,this.sortClick[e].show=!0,this.sortClick[e][t]=!this.sortClick[e][t],this.sortClick[e].descending=this.getTypeSort(this.sortClick[e][t]),this.$emit("onClickSort",this.sortClick[e])},changeShow(t){setTimeout(()=>{this.sortClick[t].show=!0},10)},changeHidden(t){setTimeout(()=>{this.sortClick[t].clicked||(this.sortClick[t].show=!1)},10)},removeClicked(){for(let t=0;t<this.sortClick.length;t+=1)this.sortClick[t].clicked=!1,this.sortClick[t].show=!1},checkFirstSelected(t){return t===this.selectedIndex&&this.firstSelected},thWidth(t){return this.isTHDataTableSelect(t)?"64px":t.width?t.width+"px":"auto"},isTHDataTableSelect(t){return"data-table-select"===t.value},selectAll(t){this.$emit("toggleSelectAll",t),this.inputVal=t}},created(){for(let t=0;t<this.headers.length;t+=1)this.sortClick.push({[this.headers[t].value]:!1,descending:"ASC",field:this.headers[t].value,clicked:this.checkFirstSelected(t),show:this.checkFirstSelected(t)})}}),vn=gn,bn=(i("e139"),Ee(vn,mn,fn,!1,null,"4fdaefb8",null)),yn=bn.exports,xn=yn,$n=function(){var t=this,e=t._self._c;return e("v-alert",{staticClass:"farm-alert-reload",attrs:{dense:"",outlined:"",type:"error"}},[e("v-row",{attrs:{align:"center"}},[e("v-col",{staticClass:"grow"},[t._v(" "+t._s(t.label)+" ")]),e("v-col",{staticClass:"shrink"},[e("farm-btn",{staticClass:"ml-3",attrs:{color:"secondary",alt:"Recarregar"},on:{click:function(e){return t.$emit("onClick")}}},[e("i",{staticClass:"mdi mdi-refresh farm-icon"}),t._v(" Recarregar ")])],1)],1)],1)},Cn=[],Sn=(i("0c18"),xs),_n=(i("86cc"),i("8d4f"),xe.extend({name:"v-progress-circular",directives:{intersect:Zs},props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20,isVisible:!0}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--visible":this.isVisible,"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:L(this.calculatedSize),width:L(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(t,e){return this.$createElement("circle",{class:"v-progress-circular__"+t,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":e}})},genSvg(){const t=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},t)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},this.$slots.default)},onObserve(t,e,i){this.isVisible=i}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}})),wn=_n;const kn=ke(Sn,Li,zi,$e,si("btnToggle"),ni("inputValue"));var In=kn.extend().extend({name:"v-btn",props:{activeClass:{type:String,default(){return this.btnToggle?this.btnToggle.activeClass:""}},block:Boolean,depressed:Boolean,fab:Boolean,icon:Boolean,loading:Boolean,outlined:Boolean,plain:Boolean,retainFocusOnClick:Boolean,rounded:Boolean,tag:{type:String,default:"button"},text:Boolean,tile:Boolean,type:{type:String,default:"button"},value:null},data:()=>({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...Li.options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--disabled":this.disabled,"v-btn--is-elevated":this.isElevated,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--has-bg":this.hasBg,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--plain":this.plain,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},computedElevation(){if(!this.disabled)return bs.options.computed.computedElevation.call(this)},computedRipple(){var t;const e=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!=(t=this.ripple)?t:e)},hasBg(){return!this.text&&!this.plain&&!this.outlined&&!this.icon},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){const t=[["flat","text"],["outline","outlined"],["round","rounded"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&me(t,e,this)})},methods:{click(t){!this.retainFocusOnClick&&!this.fab&&t.detail&&this.$el.blur(),this.$emit("click",t),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},this.$slots.default)},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},this.$slots.loader||[this.$createElement(wn,{props:{indeterminate:!0,size:23,width:2}})])}},render(t){const e=[this.genContent(),this.loading&&this.genLoader()],{tag:i,data:s}=this.generateRouteLink(),n=this.hasBg?this.setBackgroundColor:this.setTextColor;return"button"===i&&(s.attrs.type=this.type,s.attrs.disabled=this.disabled),s.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),t(i,this.disabled?s:n(this.color,s),e)}}),Ln=In,Bn=c.a.extend({name:"transitionable",props:{mode:String,origin:String,transition:String}}),An=ke(Sn,ai,Bn).extend({name:"v-alert",props:{border:{type:String,validator(t){return["top","right","bottom","left"].includes(t)}},closeLabel:{type:String,default:"$vuetify.close"},coloredBorder:Boolean,dense:Boolean,dismissible:Boolean,closeIcon:{type:String,default:"$cancel"},icon:{default:"",type:[Boolean,String],validator(t){return"string"===typeof t||!1===t}},outlined:Boolean,prominent:Boolean,text:Boolean,type:{type:String,validator(t){return["info","error","success","warning"].includes(t)}},value:{type:Boolean,default:!0}},computed:{__cachedBorder(){if(!this.border)return null;let t={staticClass:"v-alert__border",class:{["v-alert__border--"+this.border]:!0}};return this.coloredBorder&&(t=this.setBackgroundColor(this.computedColor,t),t.class["v-alert__border--has-color"]=!0),this.$createElement("div",t)},__cachedDismissible(){if(!this.dismissible)return null;const t=this.iconColor;return this.$createElement(Ln,{staticClass:"v-alert__dismissible",props:{color:t,icon:!0,small:!0},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:()=>this.isActive=!1}},[this.$createElement(Je,{props:{color:t}},this.closeIcon)])},__cachedIcon(){return this.computedIcon?this.$createElement(Je,{staticClass:"v-alert__icon",props:{color:this.iconColor}},this.computedIcon):null},classes(){const t={...Sn.options.computed.classes.call(this),"v-alert--border":Boolean(this.border),"v-alert--dense":this.dense,"v-alert--outlined":this.outlined,"v-alert--prominent":this.prominent,"v-alert--text":this.text};return this.border&&(t["v-alert--border-"+this.border]=!0),t},computedColor(){return this.color||this.type},computedIcon(){return!1!==this.icon&&("string"===typeof this.icon&&this.icon?this.icon:!!["error","info","success","warning"].includes(this.type)&&"$"+this.type)},hasColoredIcon(){return this.hasText||Boolean(this.border)&&this.coloredBorder},hasText(){return this.text||this.outlined},iconColor(){return this.hasColoredIcon?this.computedColor:void 0},isDark(){return!(!this.type||this.coloredBorder||this.outlined)||_e.options.computed.isDark.call(this)}},created(){this.$attrs.hasOwnProperty("outline")&&me("outline","outlined",this)},methods:{genWrapper(){const t=[this.$slots.prepend||this.__cachedIcon,this.genContent(),this.__cachedBorder,this.$slots.append,this.$scopedSlots.close?this.$scopedSlots.close({toggle:this.toggle}):this.__cachedDismissible],e={staticClass:"v-alert__wrapper"};return this.$createElement("div",e,t)},genContent(){return this.$createElement("div",{staticClass:"v-alert__content"},this.$slots.default)},genAlert(){let t={staticClass:"v-alert",attrs:{role:"alert"},on:this.listeners$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};if(!this.coloredBorder){const e=this.hasText?this.setTextColor:this.setBackgroundColor;t=e(this.computedColor,t)}return this.$createElement("div",t,[this.genWrapper()])},toggle(){this.isActive=!this.isActive}},render(t){const e=this.genAlert();return this.transition?t("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[e]):e}}),Tn=An;i("4b85");const On=["sm","md","lg","xl"],En=["start","end","center"];function Pn(t,e){return On.reduce((i,s)=>(i[t+M(s)]=e(),i),{})}const Dn=t=>[...En,"baseline","stretch"].includes(t),Mn=Pn("align",()=>({type:String,default:null,validator:Dn})),Vn=t=>[...En,"space-between","space-around"].includes(t),Fn=Pn("justify",()=>({type:String,default:null,validator:Vn})),Nn=t=>[...En,"space-between","space-around","stretch"].includes(t),zn=Pn("alignContent",()=>({type:String,default:null,validator:Nn})),Rn={align:Object.keys(Mn),justify:Object.keys(Fn),alignContent:Object.keys(zn)},Hn={align:"align",justify:"justify",alignContent:"align-content"};function Wn(t,e,i){let s=Hn[t];if(null!=i){if(e){const i=e.replace(t,"");s+="-"+i}return s+="-"+i,s.toLowerCase()}}const jn=new Map;var Yn=c.a.extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Dn},...Mn,justify:{type:String,default:null,validator:Vn},...Fn,alignContent:{type:String,default:null,validator:Nn},...zn},render(t,{props:e,data:i,children:s}){let n="";for(const a in e)n+=String(e[a]);let r=jn.get(n);if(!r){let t;for(t in r=[],Rn)Rn[t].forEach(i=>{const s=e[i],n=Wn(t,i,s);n&&r.push(n)});r.push({"no-gutters":e.noGutters,"row--dense":e.dense,["align-"+e.align]:e.align,["justify-"+e.justify]:e.justify,["align-content-"+e.alignContent]:e.alignContent}),jn.set(n,r)}return t(e.tag,Re(i,{staticClass:"row",class:r}),s)}});const qn=["sm","md","lg","xl"],Un=(()=>qn.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),Zn=(()=>qn.reduce((t,e)=>(t["offset"+M(e)]={type:[String,Number],default:null},t),{}))(),Xn=(()=>qn.reduce((t,e)=>(t["order"+M(e)]={type:[String,Number],default:null},t),{}))(),Kn={col:Object.keys(Un),offset:Object.keys(Zn),order:Object.keys(Xn)};function Gn(t,e,i){let s=t;if(null!=i&&!1!==i){if(e){const i=e.replace(t,"");s+="-"+i}return"col"!==t||""!==i&&!0!==i?(s+="-"+i,s.toLowerCase()):s.toLowerCase()}}const Qn=new Map;var Jn=c.a.extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...Un,offset:{type:[String,Number],default:null},...Zn,order:{type:[String,Number],default:null},...Xn,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:i,children:s,parent:n}){let r="";for(const o in e)r+=String(e[o]);let a=Qn.get(r);if(!a){let t;for(t in a=[],Kn)Kn[t].forEach(i=>{const s=e[i],n=Gn(t,i,s);n&&a.push(n)});const i=a.some(t=>t.startsWith("col-"));a.push({col:!i||!e.cols,["col-"+e.cols]:e.cols,["offset-"+e.offset]:e.offset,["order-"+e.order]:e.order,["align-self-"+e.alignSelf]:e.alignSelf}),Qn.set(r,a)}return t(e.tag,Re(i,{class:a}),s)}}),tr=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.to?e("router-link",t._b({class:t.classes,attrs:{to:t.to,disabled:t.disabled}},"router-link",t.$attrs,!1),[e("span",{staticClass:"farm-btn__content"},[t._t("default")],2)]):e("button",t._g(t._b({class:t.classes,attrs:{disabled:t.disabled,type:t.type}},"button",t.$attrs,!1),t.$listeners),[e("span",{staticClass:"farm-btn__content"},[t._t("default")],2)])},er=[],ir=c.a.extend({name:"farm-btn",inheritAttrs:!0,props:{color:{type:String,default:"primary"},outlined:Boolean,plain:Boolean,disabled:Boolean,rounded:Boolean,icon:Boolean,type:{type:String,default:"button"},to:{type:String,default:null}},computed:{classes(){const t={};return["outlined","plain","disabled"].filter(t=>this[t]).forEach(e=>{t["farm-btn--"+e]=this[e]}),{"farm-btn":!0,"farm-btn--elevated":this.isElevated,"farm-btn--round":this.isRound,"farm-btn--rounded":this.rounded,"farm-btn--icon":this.icon,["farm-btn--"+this.color]:!0,...t}},isRound(){return Boolean(this.icon||this.fab)},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))}}}),sr=ir,nr=(i("2f42"),Ee(sr,tr,er,!1,null,"07447b35",null)),rr=nr.exports,ar=rr,or={name:"farm-alert-reload",components:{VAlert:Tn,VRow:Yn,VCol:Jn,"farm-btn":ar},props:{label:{type:String,default:""}}},lr=or,cr=(i("0042"),Ee(lr,$n,Cn,!1,null,"582348ba",null)),hr=cr.exports,ur=hr,dr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{class:{"justify-end":!0===t.justifyEnd}},[t.hasInitialInput?e("fieldset",{staticClass:"fieldset-default"},[e("label",{attrs:{for:t.elementId}},[t._v(" "+t._s(t.label)+" "),e("farm-icon",{attrs:{color:"gray"}},[t._v(" file-find ")])],1),e("v-text-field",{attrs:{color:"secondary",outlined:"",dense:"",id:t.elementId},on:{keyup:t.onKeyUp},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1):t._e(),t.hasExtraFilters?e("farm-button",{staticClass:"farm-btn--responsive mt-14 mt-sm-8",attrs:{color:"secondary"},on:{click:t.onFilterClick}},[e("farm-icon",{staticClass:"mr-2"},[t._v(t._s(t.extraFiltersBtnIcon))]),t._v(" "+t._s(t.extraFiltersBtnLabel)+" ")],1):t._e()],1)},pr=[],mr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("i",t._g(t._b({ref:"el",class:t.classes,attrs:{size:t.$props.size}},"i",t.$attrs,!1),t.$listeners))},fr=[];i("caad");const gr=["xs","sm","md","lg","xl"];var vr=c.a.extend({name:"farm-icon",inheritAttrs:!0,props:{color:{type:String,default:"primary"},size:{type:String,default:"default"}},data(){return{icon:""}},computed:{classes(){const t={};return{"farm-icon":!0,["farm-icon--"+this.color]:!0,mdi:!0,["mdi-"+this.icon]:!0,...t}},fontSize(){return isNaN(this.size)?this.size:this.size+"px"}},mounted(){"default"===this.size||gr.includes(this.size)||(this.$el.style.fontSize=this.fontSize)},created(){this.checkForSlotContent()},beforeUpdate(){this.checkForSlotContent()},methods:{checkForSlotContent(){this.$slots.default?this.icon=this.$slots.default[0].text.trim():this.icon=""}}}),br=vr,yr=(i("39da"),Ee(br,mr,fr,!1,null,"fc12ac78",null)),xr=yr.exports,$r=xr,Cr=c.a.extend({name:"farm-form-mainfilter",components:{VTextField:sn,"farm-button":ar,"farm-icon":$r},props:{hasExtraFilters:{type:Boolean,default:!0},hasInitialInput:{type:Boolean,default:!0},justifyEnd:{type:Boolean,default:!1},label:{type:String,default:"Quer localizar um cliente?"},elementId:{type:String,default:"form-main-filter-search"},initialValue:{type:String,default:""},showFilters:{type:Boolean,default:!1}},watch:{initialValue(t){this.inputValue=t}},computed:{extraFiltersBtnLabel(){return(this.showFilters?"Esconder":"Ver")+" Filtros"},extraFiltersBtnIcon(){return this.showFilters?"filter-off":"filter"}},data(){return{timer:null,inputValue:this.initialValue}},methods:{onFilterClick(){this.$emit("onClick")},onKeyUp(t){const e=t.keyCode;return 13===e?(this.$emit("onEnter",t.target.value),!1):!(e<48&&8!==e&&46!==e||e>90&&e<96&&91!==e||e>105&&e<186)&&(this.timer&&(clearTimeout(this.timer),this.timer=null),void(this.timer=setTimeout(()=>{this.$emit("onInputChange",t.target.value)},750)))}}}),Sr=Cr,_r=(i("eb72"),Ee(Sr,dr,pr,!1,null,"f246ceb0",null)),wr=_r.exports,kr=wr,Ir=function(){var t=this,e=t._self._c;return e("div",["overlay"===t.mode?e("v-overlay",{attrs:{opacity:"0.3"}},[e("v-progress-circular",{attrs:{indeterminate:"",size:100,color:"secondary"}})],1):e("v-progress-circular",{attrs:{size:t.calculateSize,width:6,color:"secondary",indeterminate:""}})],1)},Lr=[],Br=(i("3c93"),ke(xe,_e,ai).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},this.$slots.default)}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",on:this.$listeners,class:this.classes,style:this.styles},e)}})),Ar={name:"farm-loader",components:{VOverlay:Br,VProgressCircular:_n},props:{status:{default:"IDLE"},mode:{type:String,default:"inline"},size:{type:String,default:"normal"}},computed:{calculateSize(){return"small"===this.size?35:70}}},Tr=Ar,Or=Ee(Tr,Ir,Lr,!1,null,null,null),Er=Or.exports,Pr=Er,Dr=function(){var t=this,e=t._self._c;return e("section",{ref:"container",attrs:{id:"droparea-container"}},[e("input",{attrs:{type:"file",name:"file",accept:t.acceptedFileTypes},on:{change:function(e){return t.fileChange(e.target.files)}}}),t.selectedFile?t._e():e("div",{staticClass:"selectfile-container"},[e("v-icon",{attrs:{color:"secondary"}},[t._v("mdi-cloud-upload")]),e("p",[t._v("Clique para selecionar ou arraste o arquivo aqui")])],1),t.selectedFile||t.maxSizeReach?e("div",{staticClass:"reset-container"},[t.selectedFile?e("div",[e("v-icon",[t._v("mdi-file")]),t._v(" Arquivo selecionado: "+t._s(t.selectedFile.name)+" ("+t._s(Math.floor(t.selectedFile.size/1024))+"kB) ")],1):t._e(),t.maxSizeReach?e("p",{domProps:{innerHTML:t._s(t.maxSizeReachMsg)}}):t._e(),e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{depressed:"",outlined:"",color:"secondary"},on:{click:t.reset}},[t._v(" Escolher outro ")])],1):t._e()])},Mr=[],Vr={props:{acceptedFileTypes:{type:String,default:"*"},maxFileSize:{default:null}},data(){return{selectedFile:null,dropArea:null,maxSizeReach:!1}},computed:{maxSizeReachMsg(){return`Arquivo ultrapassou o tamanho máximo de ${this.maxFileSize}MB`}},mounted(){this.dropArea=this.$refs.container,this.addListeners()},methods:{reset(){this.$refs.container.querySelector("input").value="",this.$emit("onReset"),this.maxSizeReach=!1,this.selectedFile=null},fileChange(t){if(this.maxSizeReach=!1,t.length&&!(t.length>1)){if(this.maxFileSize){const e=t[0].size/1048576;if(e>this.maxFileSize)return void(this.maxSizeReach=!0)}this.selectedFile=t[0],this.$emit("onFileChange",this.selectedFile)}},handlerFunctionHighlight(){this.dropArea.classList.add("highlight")},handlerFunctionUnhighlight(){this.dropArea.classList.remove("highlight")},addListeners(){this.dropArea.addEventListener("dragenter",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("dragleave",this.handlerFunctionUnhighlight,!1),this.dropArea.addEventListener("dragover",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("drop",this.handlerFunctionUnhighlight,!1)}},components:{"farm-btn":ar,VIcon:Ae}},Fr=Vr,Nr=(i("7274"),Ee(Fr,Dr,Mr,!1,null,"52c49be6",null)),zr=Nr.exports,Rr=zr,Hr=function(){var t=this,e=t._self._c;return e("v-tabs",{attrs:{color:"secondary"},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.tabs,(function(i,s){return e("v-tab",{key:s,class:{hideCounter:!t.showCounter},attrs:{disabled:!t.allowUserChange},on:{change:function(e){return t.changeTab(i,s)}}},[t.showCounter?e("div",{staticClass:"pl-3 pr-3 pt-2 pb-2 mr-2 rounded-circle d-inline-block white--text",class:{"is-selected":t.isSelected(s)}},[e("span",[t._v(t._s(s+1))])]):t._e(),e("span",{staticClass:"black--text text-capitalize"},[t._v(t._s(i.name))])])})),1)},Wr=[],jr=(i("1bfb"),i("608c"),c.a.extend({name:"mobile",props:{mobileBreakpoint:{type:[Number,String],default(){return this.$vuetify?this.$vuetify.breakpoint.mobileBreakpoint:void 0},validator:t=>!isNaN(Number(t))||["xs","sm","md","lg","xl"].includes(String(t))}},computed:{isMobile(){const{mobile:t,width:e,name:i,mobileBreakpoint:s}=this.$vuetify.breakpoint;if(s===this.mobileBreakpoint)return t;const n=parseInt(this.mobileBreakpoint,10),r=!isNaN(n);return r?e<n:i===this.mobileBreakpoint}},created(){this.$attrs.hasOwnProperty("mobile-break-point")&&pe("mobile-break-point","mobile-breakpoint",this)}}));const Yr=t=>{const{touchstartX:e,touchendX:i,touchstartY:s,touchendY:n}=t,r=.5,a=16;t.offsetX=i-e,t.offsetY=n-s,Math.abs(t.offsetY)<r*Math.abs(t.offsetX)&&(t.left&&i<e-a&&t.left(t),t.right&&i>e+a&&t.right(t)),Math.abs(t.offsetX)<r*Math.abs(t.offsetY)&&(t.up&&n<s-a&&t.up(t),t.down&&n>s+a&&t.down(t))};function qr(t,e){const i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))}function Ur(t,e){const i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),Yr(e)}function Zr(t,e){const i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))}function Xr(t){const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:t=>qr(t,e),touchend:t=>Ur(t,e),touchmove:t=>Zr(t,e)}}function Kr(t,e,i){const s=e.value,n=s.parent?t.parentElement:t,r=s.options||{passive:!0};if(!n)return;const a=Xr(e.value);n._touchHandlers=Object(n._touchHandlers),n._touchHandlers[i.context._uid]=a,E(a).forEach(t=>{n.addEventListener(t,a[t],r)})}function Gr(t,e,i){const s=e.value.parent?t.parentElement:t;if(!s||!s._touchHandlers)return;const n=s._touchHandlers[i.context._uid];E(n).forEach(t=>{s.removeEventListener(t,n[t])}),delete s._touchHandlers[i.context._uid]}const Qr={inserted:Kr,unbind:Gr};var Jr=Qr;function ta(t){const e=.501,i=Math.abs(t);return Math.sign(t)*(i/((1/e-2)*(1-i)+1))}function ea(t,e,i,s){const n=t.clientWidth,r=i?e.content-t.offsetLeft-n:t.offsetLeft;i&&(s=-s);const a=e.wrapper+s,o=n+r,l=.4*n;return r<=s?s=Math.max(r-l,0):a<=o&&(s=Math.min(s-(a-o-l),e.content-e.wrapper)),i?-s:s}function ia(t,e,i){const{offsetLeft:s,clientWidth:n}=t;if(i){const t=e.content-s-n/2-e.wrapper/2;return-Math.min(e.content-e.wrapper,Math.max(0,t))}{const t=s+n/2-e.wrapper/2;return Math.min(e.content-e.wrapper,Math.max(0,t))}}const sa=ke(Ls,jr).extend({name:"base-slide-group",directives:{Resize:as,Touch:Jr},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>"boolean"===typeof t||["always","desktop","mobile"].includes(t)}},data:()=>({isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch(){return"undefined"!==typeof window},__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...Ls.options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:t,wrapper:e}=this.widths;return t>Math.abs(this.scrollOffset)+e},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(t){this.$vuetify.rtl&&(t=-t);let e=t<=0?ta(-t):t>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+ta(this.widths.content-this.widths.wrapper-t):-t;this.$vuetify.rtl&&(e=-e),this.$refs.content.style.transform=`translateX(${e}px)`}},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),t.observe(this.$refs.content),this.$on("hook:destroyed",()=>{t.disconnect()})}else{let t=0;this.$on("hook:beforeUpdate",()=>{var e;t=((null==(e=this.$refs.content)?void 0:e.children)||[]).length}),this.$on("hook:updated",()=>{var e;t!==((null==(e=this.$refs.content)?void 0:e.children)||[]).length&&this.setWidths()})}},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(t){if(this.isOverflowing)for(const e of K(t))for(const t of this.items)if(t.$el===e)return void(this.scrollOffset=ea(t.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))},genNext(){const t=this.$scopedSlots.next?this.$scopedSlots.next({}):this.$slots.next||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},this.$slots.default)},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(t){let e=t;this.$vuetify.rtl&&"prev"===t?e="next":this.$vuetify.rtl&&"next"===t&&(e="prev");const i=`${t[0].toUpperCase()}${t.slice(1)}`,s=this["has"+i];return this.showArrows||s?this.$createElement(Je,{props:{disabled:!s}},this[e+"Icon"]):null},genPrev(){const t=this.$scopedSlots.prev?this.$scopedSlots.prev({}):this.$slots.prev||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[t])},genTransition(t){return this.$createElement(Xe,[this.genIcon(t)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:t=>this.overflowCheck(t,this.onTouchStart),move:t=>this.overflowCheck(t,this.onTouchMove),end:t=>this.overflowCheck(t,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(t,e,i,s){const n=i?-1:1,r=n*s+("prev"===t?-1:1)*e.wrapper;return n*Math.max(Math.min(r,e.content-e.wrapper),0)},onAffixClick(t){this.$emit("click:"+t),this.scrollTo(t)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(t){const{content:e}=this.$refs;this.startX=this.scrollOffset+t.touchstartX,e.style.setProperty("transition","none"),e.style.setProperty("willChange","transform")},onTouchMove(t){if(this.canTouch){if(!this.isSwiping){const e=t.touchmoveX-t.touchstartX,i=t.touchmoveY-t.touchstartY;this.isSwipingHorizontal=Math.abs(e)>Math.abs(i),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-t.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:t,wrapper:e}=this.$refs,i=t.clientWidth-e.clientWidth;t.style.setProperty("transition",null),t.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-i&&(this.scrollOffset=-i):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=i&&(this.scrollOffset=i),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(t,e){t.stopPropagation(),this.isOverflowing&&e(t)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const t=this.items[this.items.length-1].$el.getBoundingClientRect(),e=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&e.right<t.right||!this.$vuetify.rtl&&e.left>t.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=ia(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=ea(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(t){this.scrollOffset=this.calculateNewOffset(t,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame(()=>{if(this._isDestroyed)return;const{content:t,wrapper:e}=this.$refs;this.widths={content:t?t.clientWidth:0,wrapper:e?e.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()})}},render(t){return t("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext()])}});sa.extend({name:"v-slide-group",provide(){return{slideGroup:this}}});var na=c.a.extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame(()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0})}}),ra=ke(sa,na,_e).extend({name:"v-tabs-bar",provide(){return{tabsBar:this}},computed:{classes(){return{...sa.options.computed.classes.call(this),"v-tabs-bar":!0,"v-tabs-bar--is-mobile":this.isMobile,"v-tabs-bar--show-arrows":this.showArrows,...this.themeClasses}}},watch:{items:"callSlider",internalValue:"callSlider",$route:"onRouteChange"},methods:{callSlider(){this.isBooted&&this.$emit("call:slider")},genContent(){const t=sa.options.methods.genContent.call(this);return t.data=t.data||{},t.data.staticClass+=" v-tabs-bar__content",t},onRouteChange(t,e){if(this.mandatory)return;const i=this.items,s=t.path,n=e.path;let r=!1,a=!1;for(const o of i)if(o.to===n?a=!0:o.to===s&&(r=!0),r&&a)break;!r&&a&&(this.internalValue=void 0)}},render(t){const e=sa.options.render.call(this,t);return e.data.attrs={role:"tablist"},e}}),aa=(i("13b3"),Ls.extend({name:"v-window",directives:{Touch:Jr},provide(){return{windowGroup:this}},props:{activeClass:{type:String,default:"v-window-item--active"},continuous:Boolean,mandatory:{type:Boolean,default:!0},nextIcon:{type:[Boolean,String],default:"$next"},prevIcon:{type:[Boolean,String],default:"$prev"},reverse:Boolean,showArrows:Boolean,showArrowsOnHover:Boolean,touch:Object,touchless:Boolean,value:{required:!1},vertical:Boolean},data(){return{changedByDelimiters:!1,internalHeight:void 0,transitionHeight:void 0,transitionCount:0,isBooted:!1,isReverse:!1}},computed:{isActive(){return this.transitionCount>0},classes(){return{...Ls.options.computed.classes.call(this),"v-window--show-arrows-on-hover":this.showArrowsOnHover}},computedTransition(){if(!this.isBooted)return"";const t=this.vertical?"y":"x",e=this.internalReverse?!this.isReverse:this.isReverse,i=e?"-reverse":"";return`v-window-${t}${i}-transition`},hasActiveItems(){return Boolean(this.items.find(t=>!t.disabled))},hasNext(){return this.continuous||this.internalIndex<this.items.length-1},hasPrev(){return this.continuous||this.internalIndex>0},internalIndex(){return this.items.findIndex((t,e)=>this.internalValue===this.getValue(t,e))},internalReverse(){return this.$vuetify.rtl?!this.reverse:this.reverse}},watch:{internalIndex(t,e){this.isReverse=this.updateReverse(t,e)}},mounted(){window.requestAnimationFrame(()=>this.isBooted=!0)},methods:{genDefaultSlot(){return this.$slots.default},genContainer(){const t=[this.genDefaultSlot()];return this.showArrows&&t.push(this.genControlIcons()),this.$createElement("div",{staticClass:"v-window__container",class:{"v-window__container--is-active":this.isActive},style:{height:this.internalHeight||this.transitionHeight}},t)},genIcon(t,e,i){var s,n,r;const a={click:t=>{t.stopPropagation(),this.changedByDelimiters=!0,i()}},o={"aria-label":this.$vuetify.lang.t("$vuetify.carousel."+t)},l=null!=(s=null==(n=(r=this.$scopedSlots)[t])?void 0:n.call(r,{on:a,attrs:o}))?s:[this.$createElement(Ln,{props:{icon:!0},attrs:o,on:a},[this.$createElement(Je,{props:{large:!0}},e)])];return this.$createElement("div",{staticClass:"v-window__"+t},l)},genControlIcons(){const t=[],e=this.$vuetify.rtl?this.nextIcon:this.prevIcon;if(this.hasPrev&&e&&"string"===typeof e){const i=this.genIcon("prev",e,this.prev);i&&t.push(i)}const i=this.$vuetify.rtl?this.prevIcon:this.nextIcon;if(this.hasNext&&i&&"string"===typeof i){const e=this.genIcon("next",i,this.next);e&&t.push(e)}return t},getNextIndex(t){const e=(t+1)%this.items.length,i=this.items[e];return i.disabled?this.getNextIndex(e):e},getPrevIndex(t){const e=(t+this.items.length-1)%this.items.length,i=this.items[e];return i.disabled?this.getPrevIndex(e):e},next(){if(!this.hasActiveItems||!this.hasNext)return;const t=this.getNextIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},prev(){if(!this.hasActiveItems||!this.hasPrev)return;const t=this.getPrevIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},updateReverse(t,e){const i=this.items.length,s=i-1;return i<=2?t<e:t===s&&0===e||(0!==t||e!==s)&&t<e}},render(t){const e={staticClass:"v-window",class:this.classes,directives:[]};if(!this.touchless){const t=this.touch||{left:()=>{this.$vuetify.rtl?this.prev():this.next()},right:()=>{this.$vuetify.rtl?this.next():this.prev()},end:t=>{t.stopPropagation()},start:t=>{t.stopPropagation()}};e.directives.push({name:"touch",value:t})}return t("div",e,[this.genContainer()])}})),oa=aa.extend({name:"v-tabs-items",props:{mandatory:{type:Boolean,default:!1}},computed:{classes(){return{...aa.options.computed.classes.call(this),"v-tabs-items":!0}},isDark(){return this.rootIsDark}},methods:{getValue(t,e){return t.id||Ls.options.methods.getValue.call(this,t,e)}}}),la=ke(xe).extend({name:"v-tabs-slider",render(t){return t("div",this.setBackgroundColor(this.color,{staticClass:"v-tabs-slider"}))}});const ca=ke(xe,Is,_e);var ha=ca.extend().extend({name:"v-tabs",directives:{Resize:as},props:{activeClass:{type:String,default:""},alignWithTitle:Boolean,backgroundColor:String,centerActive:Boolean,centered:Boolean,fixedTabs:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,iconsAndText:Boolean,mobileBreakpoint:[String,Number],nextIcon:{type:String,default:"$next"},optional:Boolean,prevIcon:{type:String,default:"$prev"},right:Boolean,showArrows:[Boolean,String],sliderColor:String,sliderSize:{type:[Number,String],default:2},vertical:Boolean},data(){return{resizeTimeout:0,slider:{height:null,left:null,right:null,top:null,width:null},transitionTime:300}},computed:{classes(){return{"v-tabs--align-with-title":this.alignWithTitle,"v-tabs--centered":this.centered,"v-tabs--fixed-tabs":this.fixedTabs,"v-tabs--grow":this.grow,"v-tabs--icons-and-text":this.iconsAndText,"v-tabs--right":this.right,"v-tabs--vertical":this.vertical,...this.themeClasses}},isReversed(){return this.$vuetify.rtl&&this.vertical},sliderStyles(){return{height:L(this.slider.height),left:this.isReversed?void 0:L(this.slider.left),right:this.isReversed?L(this.slider.right):void 0,top:this.vertical?L(this.slider.top):void 0,transition:null!=this.slider.left?null:"none",width:L(this.slider.width)}},computedColor(){return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"}},watch:{alignWithTitle:"callSlider",centered:"callSlider",centerActive:"callSlider",fixedTabs:"callSlider",grow:"callSlider",iconsAndText:"callSlider",right:"callSlider",showArrows:"callSlider",vertical:"callSlider","$vuetify.application.left":"onResize","$vuetify.application.right":"onResize","$vuetify.rtl":"onResize"},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),this.$on("hook:destroyed",()=>{t.disconnect()})}this.$nextTick(()=>{window.setTimeout(this.callSlider,30)})},methods:{callSlider(){return!this.hideSlider&&this.$refs.items&&this.$refs.items.selectedItems.length?(this.$nextTick(()=>{const t=this.$refs.items.selectedItems[0];if(!t||!t.$el)return this.slider.width=0,void(this.slider.left=0);const e=t.$el;this.slider={height:this.vertical?e.scrollHeight:Number(this.sliderSize),left:this.vertical?0:e.offsetLeft,right:this.vertical?0:e.offsetLeft+e.offsetWidth,top:e.offsetTop,width:this.vertical?Number(this.sliderSize):e.scrollWidth}}),!0):(this.slider.width=0,!1)},genBar(t,e){const i={style:{height:L(this.height)},props:{activeClass:this.activeClass,centerActive:this.centerActive,dark:this.dark,light:this.light,mandatory:!this.optional,mobileBreakpoint:this.mobileBreakpoint,nextIcon:this.nextIcon,prevIcon:this.prevIcon,showArrows:this.showArrows,value:this.internalValue},on:{"call:slider":this.callSlider,change:t=>{this.internalValue=t}},ref:"items"};return this.setTextColor(this.computedColor,i),this.setBackgroundColor(this.backgroundColor,i),this.$createElement(ra,i,[this.genSlider(e),t])},genItems(t,e){return t||(e.length?this.$createElement(oa,{props:{value:this.internalValue},on:{change:t=>{this.internalValue=t}}},e):null)},genSlider(t){return this.hideSlider?null:(t||(t=this.$createElement(la,{props:{color:this.sliderColor}})),this.$createElement("div",{staticClass:"v-tabs-slider-wrapper",style:this.sliderStyles},[t]))},onResize(){this._isDestroyed||(clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.callSlider,0))},parseNodes(){let t=null,e=null;const i=[],s=[],n=this.$slots.default||[],r=n.length;for(let a=0;a<r;a++){const r=n[a];if(r.componentOptions)switch(r.componentOptions.Ctor.options.name){case"v-tabs-slider":e=r;break;case"v-tabs-items":t=r;break;case"v-tab-item":i.push(r);break;default:s.push(r)}else s.push(r)}return{tab:s,slider:e,items:t,item:i}}},render(t){const{tab:e,slider:i,items:s,item:n}=this.parseNodes();return t("div",{staticClass:"v-tabs",class:this.classes,directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]},[this.genBar(e,i),this.genItems(s,n)])}});const ua=ke(Li,si("tabsBar"),_e);var da=ua.extend().extend().extend({name:"v-tab",props:{ripple:{type:[Boolean,Object],default:!0}},data:()=>({proxyClass:"v-tab--active"}),computed:{classes(){return{"v-tab":!0,...Li.options.computed.classes.call(this),"v-tab--disabled":this.disabled,...this.groupClasses}},value(){let t=this.to||this.href;if(null==t)return t;if(this.$router&&this.to===Object(this.to)){const e=this.$router.resolve(this.to,this.$route,this.append);t=e.href}return t.replace("#","")}},methods:{click(t){this.disabled?t.preventDefault():(this.href&&this.href.indexOf("#")>-1&&t.preventDefault(),t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle())},toggle(){this.isActive&&(this.tabsBar.mandatory||this.to)||this.$emit("change")}},render(t){const{tag:e,data:i}=this.generateRouteLink();return i.attrs={...i.attrs,"aria-selected":String(this.isActive),role:"tab",tabindex:this.disabled?-1:0},i.on={...i.on,keydown:t=>{t.keyCode===T.enter&&this.click(t),this.$emit("keydown",t)}},t(e,i,this.$slots.default)}}),pa={name:"farm-tabs",data:()=>({selected:0}),props:{tabs:{type:Array,default:()=>[{name:"Seleção",path:"selection"},{name:"Revisão",path:"review"}]},showCounter:{type:Boolean,default:!0},initialSelect:{type:Number,default:0},allowUserChange:{type:Boolean,default:!0}},methods:{isSelected(t){return t===this.selected},changeTab(t,e){this.$emit("update",this.tabs[e])},next(){this.selected=this.selected+1,this.$emit("update",this.tabs[this.selected])},previous(){this.selected=this.selected-1,this.$emit("update",this.tabs[this.selected])},toIndex(t){this.selected=t,this.$emit("update",this.tabs[t])},updateTabRouting:(t,e,i)=>{t.currentTab=e.path;const s=`${i}/${e.path}`,n=t.$router.history.current.path;s!==n&&t.$router.push(s)}},created(){this.selected=this.initialSelect},components:{VTabs:ha,VTab:da}},ma=pa,fa=(i("5cb9"),Ee(ma,Hr,Wr,!1,null,"4633fabe",null)),ga=fa.exports,va=ga,ba=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("header",[t.iconTitle?e("farm-icon",{attrs:{size:"16px",color:"secondary"}},[t._v(t._s(t.iconTitle))]):t._e(),t._v(" "+t._s(t.title)+" "),t.hasCloseIcon?e("farm-icon",{staticClass:"farm-dialog-header__close",attrs:{role:"button",title:"Fechar",color:"secondary"},on:{click:t.onClose}},[t._v(" close-thick ")]):t._e()],1)},ya=[],xa=c.a.extend({name:"farm-dialog-header",props:{title:{type:String,default:"",required:!0},iconTitle:{type:String,default:null,required:!1},hasCloseIcon:{type:Boolean,default:!0,required:!1}},components:{"farm-icon":$r},methods:{onClose(){this.$emit("onClose",{})}}}),$a=xa,Ca=(i("b510"),Ee($a,ba,ya,!1,null,"151bfb7c",null)),Sa=Ca.exports,_a=Sa,wa=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-dialog__footer"},[t.hasCancel?e("farm-btn",{attrs:{color:"secondary",outlined:""},on:{click:function(e){return t.$emit("onClose")}}},[t._v(" "+t._s(t.closeLabel)+" ")]):t._e(),t._l(t.extraButtons,(function(i){return e("farm-btn",{key:i.label,attrs:{color:i.color,outlined:i.outlined,disabled:i.disabled},on:{click:function(e){return t.$emit(i.listener?i.listener:"")}}},[t._v(" "+t._s(i.label)+" ")])})),t.hasConfirm?e("farm-btn",{attrs:{color:t.confirmColor,disabled:t.isConfirmDisabled},on:{click:function(e){return t.$emit("onConfirm")}}},[t.confirmIcon?e("i",{class:{mdi:!0,["mdi-"+t.confirmIcon]:!0}}):t._e(),t._v(" "+t._s(t.confirmLabel)+" ")]):t._e()],2)},ka=[],Ia=c.a.extend({name:"farm-dialog-footer",components:{"farm-btn":ar},props:{confirmLabel:{type:String,default:"Confirmar"},closeLabel:{type:String,default:"Fechar"},hasConfirm:{type:Boolean,default:!0},hasCancel:{type:Boolean,default:!0},confirmColor:{type:String,default:"secondary"},confirmIcon:{type:String,default:null},isConfirmDisabled:{type:Boolean,default:!1},extraButtons:{type:Array,default:()=>[]}}}),La=Ia,Ba=(i("3d11"),Ee(La,wa,ka,!1,null,"d555c446",null)),Aa=Ba.exports,Ta=Aa,Oa=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-col",{staticClass:"v-col-fieldset-default pl-0",attrs:{cols:"12",sm:"12",md:t.item.md?t.item.md:2}},[e("farm-label",{attrs:{for:t.inputId,required:t.required&&!t.disabled}},[t._v(" "+t._s(t.item.label)+" ")]),e("farm-textfield",{directives:[{name:"mask",rawName:"v-mask",value:""+(t.mask?t.mask:""),expression:"`${mask ? mask : ''}`"}],attrs:{placeholder:t.placeholder,id:t.inputId,rules:t.inputRules,disabled:t.disabled,readonly:t.readonly},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}})],1)},Ea=[],Pa=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("label",t._b({class:{"farm-label":!0,"farm-label--required":t.required}},"label",t.$attrs,!1),[t._t("default")],2)},Da=[],Ma=c.a.extend({name:"farm-label",props:{required:{type:Boolean,default:!1}}}),Va=Ma,Fa=(i("9af0"),Ee(Va,Pa,Da,!1,null,"2819d5b7",null)),Na=Fa.exports,za=Na,Ra=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-text-field",t._g(t._b({staticClass:"farm-textfield",attrs:{outlined:""}},"v-text-field",t.$attrs,!1),{...t.$listeners}))},Ha=[],Wa=c.a.extend({name:"farm-textfield",inheritAttrs:!0,components:{VTextField:sn}}),ja=Wa,Ya=(i("96c7"),Ee(ja,Ra,Ha,!1,null,"244613e6",null)),qa=Ya.exports,Ua=qa,Za=c.a.extend({name:"farm-textfield-labelled",components:{"farm-label":za,"farm-textfield":Ua,VCol:Jn},props:{item:{type:Object,required:!0},value:{required:!0},rules:{type:Array},disabled:{type:Boolean,default:!1},forKey:{type:String,required:!1,default:"form"},required:{type:Boolean,default:!1},mask:{type:String,default:null},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},inputRules(){return this.disabled?[]:this.rules&&this.rules.length?this.rules:[]},inputId(){return`${this.forKey}-${this.item.key}`}}}),Xa=Za,Ka=Ee(Xa,Oa,Ea,!1,null,null,null),Ga=Ka.exports,Qa=Ga,Ja=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{ref:"menuField",attrs:{"close-on-content-click":!1,"nudge-right":40,"return-value":t.fieldRange,transition:"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function(e){t.fieldRange=e},"update:return-value":function(e){t.fieldRange=e}},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[e("v-text-field",t._g({attrs:{color:"secondary","append-icon":"mdi-calendar",readonly:"",outlined:"",dense:"",id:t.inputId,rules:t.required?[t.requiredRule]:[]},model:{value:t.fieldRange,callback:function(e){t.fieldRange=e},expression:"fieldRange"}},i))]}}]),model:{value:t.menuField,callback:function(e){t.menuField=e},expression:"menuField"}},[t.menuField?e("v-date-picker",{attrs:{"no-title":"",scrollable:"",range:"",max:t.max,min:t.min,color:"secondary",locale:"pt-br"},model:{value:t.dateField,callback:function(e){t.dateField=e},expression:"dateField"}},[e("farm-btn",{attrs:{outlined:"",color:"primary",tutle:"Fechar"},on:{click:function(e){t.menuField=!1}}},[t._v(" Fechar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{outlined:"",color:"secondary",title:"Limpar"},on:{click:function(e){return t.clear()}}},[t._v(" Limpar")]),e("farm-btn",{staticClass:"ml-2",attrs:{color:"secondary",disabled:t.canConfirm,title:"Confirmar"},on:{click:function(e){return t.save()}}},[t._v(" Confirmar ")])],1):t._e()],1)},to=[],eo=(i("d951"),ke(xe).extend({methods:{genPickerButton(t,e,i,s=!1,n=""){const r=this[t]===e,a=i=>{i.stopPropagation(),this.$emit("update:"+B(t),e)};return this.$createElement("div",{staticClass:("v-picker__title__btn "+n).trim(),class:{"v-picker__title__btn--active":r,"v-picker__title__btn--readonly":s},on:r||s?void 0:{click:a}},Array.isArray(i)?i:[i])}}})),io=ke(eo).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:()=>({isReversing:!1}),computed:{computedTransition(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value(t,e){this.isReversing=t<e}},methods:{genYearIcon(){return this.$createElement(Je,{props:{dark:!0}},this.yearIcon)},getYearBtn(){return this.genPickerButton("selectingYear",!0,[String(this.year),this.yearIcon?this.genYearIcon():null],!1,"v-date-picker-title__year")},genTitleText(){return this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("div",{domProps:{innerHTML:this.date||"&nbsp;"},key:this.value})])},genTitleDate(){return this.genPickerButton("selectingYear",!1,[this.genTitleText()],!1,"v-date-picker-title__date")}},render(t){return t("div",{staticClass:"v-date-picker-title",class:{"v-date-picker-title--disabled":this.disabled}},[this.getYearBtn(),this.genTitleDate()])}}),so=(i("2102"),c.a.extend({name:"localable",props:{locale:String},computed:{currentLocale(){return this.locale||this.$vuetify.lang.current}}}));const no=(t,e,i)=>(e>>=0,t=String(t),i=String(i),t.length>e?String(t):(e-=t.length,e>i.length&&(i+=i.repeat(e/i.length)),i.slice(0,e)+String(t)));var ro=(t,e=2)=>no(t,e,"0");function ao(t,e,i={start:0,length:0}){const s=t=>{const[e,i,s]=t.trim().split(" ")[0].split("-");return[ro(e,4),ro(i||1),ro(s||1)].join("-")};try{const i=new Intl.DateTimeFormat(t||void 0,e);return t=>i.format(new Date(s(t)+"T00:00:00+00:00"))}catch(mu){return i.start||i.length?t=>s(t).substr(i.start||0,i.length):void 0}}var oo=ao,lo=(t,e)=>{const[i,s]=t.split("-").map(Number);return s+e===0?i-1+"-12":s+e===13?i+1+"-01":`${i}-${ro(s+e)}`},co=ke(xe,so,_e).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data(){return{isReversing:!1}},computed:{formatter(){return this.format?this.format:String(this.value).split("-")[1]?oo(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):oo(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value(t,e){this.isReversing=t<e}},methods:{genBtn(t){const e=t>0?this.nextAriaLabel:this.prevAriaLabel,i=e?this.$vuetify.lang.t(e):void 0,s=this.disabled||t<0&&this.min&&this.calculateChange(t)<this.min||t>0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement(Ln,{attrs:{"aria-label":i},props:{dark:this.dark,disabled:s,icon:!0,light:this.light},on:{click:e=>{e.stopPropagation(),this.$emit("input",this.calculateChange(t))}}},[this.$createElement(Je,t<0===!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange(t){const[e,i]=String(this.value).split("-").map(Number);return null==i?""+(e+t):lo(String(this.value),t)},genHeader(){const t=!this.disabled&&(this.color||"accent"),e=this.$createElement("div",this.setTextColor(t,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:()=>this.$emit("toggle")}},[this.$slots.default||this.formatter(String(this.value))])]),i=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[e]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[i])}},render(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:{"v-date-picker-header--disabled":this.disabled,...this.themeClasses}},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}});i("c982");function ho(t,e,i){return Object.keys(t.$listeners).reduce((s,n)=>(n.endsWith(e)&&(s[n.slice(0,-e.length)]=e=>t.$emit(n,i,e)),s),{})}function uo(t,e){return Object.keys(t.$listeners).reduce((i,s)=>(s.endsWith(e)&&(i[s]=t.$listeners[s]),i),{})}var po=(t,e)=>{const[i,s=1,n=1]=t.split("-");return`${i}-${ro(s)}-${ro(n)}`.substr(0,{date:10,month:7,year:4}[e])};function mo(t,e,i,s){return(!s||s(t))&&(!e||t>=e.substr(0,10))&&(!i||t<=i)}var fo=ke(xe,so,_e).extend({directives:{Touch:Jr},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:()=>({isReversing:!1,wheelThrottle:null}),computed:{computedTransition(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth(){return Number(this.tableDate.split("-")[1])-1},displayedYear(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate(t,e){this.isReversing=t<e}},mounted(){this.wheelThrottle=W(this.wheel,250)},methods:{genButtonClasses(t,e,i,s,n,r){return{"v-size--default":!e,"v-date-picker-table__current":s,"v-btn--active":i,"v-btn--flat":!t||this.disabled,"v-btn--text":i===s,"v-btn--rounded":e,"v-btn--disabled":!t||this.disabled,"v-btn--outlined":s&&!i,"v-date-picker--first-in-range":n,"v-date-picker--last-in-range":r,...this.themeClasses}},genButtonEvents(t,e,i){if(!this.disabled)return je({click:()=>{e&&!this.readonly&&this.$emit("input",t)}},ho(this,":"+i,t))},genButton(t,e,i,s,n=!1){const r=mo(t,this.min,this.max,this.allowedDates),a=this.isSelected(t)&&r,o=t===this.current,l=a?this.setBackgroundColor:this.setTextColor,c=(a||o)&&(this.color||"accent");let h=!1,u=!1;return this.range&&this.value&&Array.isArray(this.value)&&(h=t===this.value[0],u=t===this.value[this.value.length-1]),this.$createElement("button",l(c,{staticClass:"v-btn",class:this.genButtonClasses(r&&!n,e,a,o,h,u),attrs:{type:"button"},domProps:{disabled:this.disabled||!r||n},on:this.genButtonEvents(t,r,i)}),[this.$createElement("div",{staticClass:"v-btn__content"},[s(t)]),this.genEvents(t)])},getEventColors(t){const e=t=>Array.isArray(t)?t:[t];let i,s=[];return i=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,i?(s=!0!==i?e(i):"string"===typeof this.eventColor?[this.eventColor]:"function"===typeof this.eventColor?e(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:e(this.eventColor[t]),s.filter(t=>t)):[]},genEvents(t){const e=this.getEventColors(t);return e.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},e.map(t=>this.$createElement("div",this.setBackgroundColor(t)))):null},isValidScroll(t,e){const i=e(t),s=1===i.split("-").length?"year":"month";return t<0&&(!this.min||i>=po(this.min,s))||t>0&&(!this.max||i<=po(this.max,s))},wheel(t,e){this.$emit("update:table-date",e(t.deltaY))},touch(t,e){this.$emit("update:table-date",e(t))},genTable(t,e,i){const s=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),n={name:"touch",value:{left:t=>t.offsetX<-15&&this.isValidScroll(1,i)&&this.touch(1,i),right:t=>t.offsetX>15&&this.isValidScroll(-1,i)&&this.touch(-1,i)}};return this.$createElement("div",{staticClass:t,class:{"v-date-picker-table--disabled":this.disabled,...this.themeClasses},on:!this.disabled&&this.scrollable?{wheel:t=>{t.preventDefault(),this.isValidScroll(t.deltaY,i)&&this.wheelThrottle(t,i)}}:void 0,directives:[n]},[s])},isSelected(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){const[e,i]=[...this.value].sort();return e<=t&&t<=i}return-1!==this.value.indexOf(t)}return t===this.value}}});function go(t,e=0,i=1){let s;return t<100&&t>=0?(s=new Date(Date.UTC(t,e,i)),isFinite(s.getUTCFullYear())&&s.setUTCFullYear(t)):s=new Date(Date.UTC(t,e,i)),s}function vo(t,e,i){const s=7+e-i,n=(7+go(t,0,s).getUTCDay()-e)%7;return-n+s-1}function bo(t,e,i,s){let n=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&$o(t)&&n++,n+i}function yo(t,e,i){const s=vo(t,e,i),n=vo(t+1,e,i),r=$o(t)?366:365;return(r-s+n)/7}function xo(t,e,i,s,n){const r=vo(t,s,n),a=Math.ceil((bo(t,e,i,s)-r)/7);return a<1?a+yo(t-1,s,n):a>yo(t,s,n)?a-yo(t,s,n):a}function $o(t){return t%4===0&&t%100!==0||t%400===0}var Co=ke(fo).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter(){return this.format||oo(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter(){return this.weekdayFormat||oo(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays(){const t=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?S(7).map(e=>this.weekdayFormatter("2017-01-"+(t+e+15))):S(7).map(e=>["S","M","T","W","T","F","S"][(e+t)%7])}},methods:{calculateTableDate(t){return lo(this.tableDate,Math.sign(t||1))},genTHead(){const t=this.weekDays.map(t=>this.$createElement("th",t));return this.showWeek&&t.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(t))},weekDaysBeforeFirstDayOfTheMonth(){const t=new Date(`${this.displayedYear}-${ro(this.displayedMonth+1)}-01T00:00:00+00:00`),e=t.getUTCDay();return(e-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber(t){return xo(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody(){const t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate();let i=[],s=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&i.push(this.genWeekNumber(this.getWeekNumber(1)));const n=this.displayedMonth?this.displayedYear:this.displayedYear-1,r=(this.displayedMonth+11)%12,a=new Date(this.displayedYear,this.displayedMonth,0).getDate(),o=this.showWeek?8:7;while(s--){const t=`${n}-${ro(r+1)}-${ro(a-s)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}for(s=1;s<=e;s++){const n=`${this.displayedYear}-${ro(this.displayedMonth+1)}-${ro(s)}`;i.push(this.$createElement("td",[this.genButton(n,!0,"date",this.formatter)])),i.length%o===0&&(t.push(this.genTR(i)),i=[],this.showWeek&&(s<e||this.showAdjacentMonths)&&i.push(this.genWeekNumber(this.getWeekNumber(s+7))))}const l=11===this.displayedMonth?this.displayedYear+1:this.displayedYear,c=(this.displayedMonth+1)%12;let h=1;while(i.length<o){const t=`${l}-${ro(c+1)}-${ro(h++)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}return i.length&&t.push(this.genTR(i)),this.$createElement("tbody",t)},genTR(t){return[this.$createElement("tr",t)]}},render(){return this.genTable("v-date-picker-table v-date-picker-table--date",[this.genTHead(),this.genTBody()],this.calculateTableDate)}}),So=ke(fo).extend({name:"v-date-picker-month-table",computed:{formatter(){return this.format||oo(this.currentLocale,{month:"short",timeZone:"UTC"},{start:5,length:2})}},methods:{calculateTableDate(t){return""+(parseInt(this.tableDate,10)+Math.sign(t||1))},genTBody(){const t=[],e=Array(3).fill(null),i=12/e.length;for(let s=0;s<i;s++){const i=e.map((t,i)=>{const n=s*e.length+i,r=`${this.displayedYear}-${ro(n+1)}`;return this.$createElement("td",{key:n},[this.genButton(r,!1,"month",this.formatter)])});t.push(this.$createElement("tr",{key:s},i))}return this.$createElement("tbody",t)}},render(){return this.genTable("v-date-picker-table v-date-picker-table--month",[this.genTBody()],this.calculateTableDate)}}),_o=(i("02f0"),ke(xe,so).extend({name:"v-date-picker-years",props:{format:Function,min:[Number,String],max:[Number,String],readonly:Boolean,value:[Number,String]},data(){return{defaultColor:"primary"}},computed:{formatter(){return this.format||oo(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},mounted(){setTimeout(()=>{const t=this.$el.getElementsByClassName("active")[0];t?this.$el.scrollTop=t.offsetTop-this.$el.offsetHeight/2+t.offsetHeight/2:this.min&&!this.max?this.$el.scrollTop=this.$el.scrollHeight:!this.min&&this.max?this.$el.scrollTop=0:this.$el.scrollTop=this.$el.scrollHeight/2-this.$el.offsetHeight/2})},methods:{genYearItem(t){const e=this.formatter(""+t),i=parseInt(this.value,10)===t,s=i&&(this.color||"primary");return this.$createElement("li",this.setTextColor(s,{key:t,class:{active:i},on:je({click:()=>this.$emit("input",t)},ho(this,":year",t))}),e)},genYearItems(){const t=[],e=this.value?parseInt(this.value,10):(new Date).getFullYear(),i=this.max?parseInt(this.max,10):e+100,s=Math.min(i,this.min?parseInt(this.min,10):e-100);for(let n=i;n>=s;n--)t.push(this.genYearItem(n));return t}},render(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}})),wo=(i("e53c"),i("615b"),ke(xe,bs,_e).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor(){const t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),this.$slots.title)},genBodyTransition(){return this.$createElement("transition",{props:{name:this.transition}},this.$slots.default)},genBody(){return this.$createElement("div",{staticClass:"v-picker__body",class:{"v-picker__body--no-title":this.noTitle,...this.themeClasses},style:this.fullWidth?void 0:{width:L(this.width)}},[this.genBodyTransition()])},genActions(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},this.$slots.actions)}},render(t){return t("div",{staticClass:"v-picker v-card",class:{"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth,...this.themeClasses,...this.elevationClasses}},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}})),ko=wo,Io=ke(xe,bs,_e).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle(){return null},genPickerBody(){return null},genPickerActionsSlot(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):this.$slots.default},genPicker(t){const e=[];if(!this.noTitle){const t=this.genPickerTitle();t&&e.push(t)}const i=this.genPickerBody();return i&&e.push(i),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(ko,{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}});const Lo=[0,31,28,31,30,31,30,31,31,30,31,30,31],Bo=[0,31,29,31,30,31,30,31,31,30,31,30,31];function Ao(t,e){return $o(t)?Bo[e]:Lo[e]}var To=ke(so,Io).extend({name:"v-date-picker",props:{activePicker:String,allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:t=>["date","month"].includes(t)},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data(){const t=new Date;return{internalActivePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:t,tableDate:(()=>{if(this.pickerDate)return this.pickerDate;const e=F(this.value),i=e[e.length-1]||("string"===typeof this.showCurrent?this.showCurrent:`${t.getFullYear()}-${t.getMonth()+1}`);return po(i,"date"===this.type?"month":"year")})()}},computed:{multipleValue(){return F(this.value)},isMultiple(){return this.multiple||this.range},lastValue(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map(t=>t.substr(0,7)):this.value.substr(0,7):this.value},current(){return!0===this.showCurrent?po(`${this.now.getFullYear()}-${this.now.getMonth()+1}-${this.now.getDate()}`,this.type):this.showCurrent||null},inputDate(){return"date"===this.type?`${this.inputYear}-${ro(this.inputMonth+1)}-${ro(this.inputDay)}`:`${this.inputYear}-${ro(this.inputMonth+1)}`},tableMonth(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth(){return this.min?po(this.min,"month"):null},maxMonth(){return this.max?po(this.max,"month"):null},minYear(){return this.min?po(this.min,"year"):null},maxYear(){return this.max?po(this.max,"year"):null},formatters(){return{year:this.yearFormat||oo(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter(){return t=>t.length?1===t.length?this.defaultTitleDateFormatter(t[0]):this.$vuetify.lang.t(this.selectedItemsText,t.length):"-"},defaultTitleDateFormatter(){const t={year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}},e=oo(this.currentLocale,t[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]}),i=t=>e(t).replace(/([^\d\s])([\d])/g,(t,e,i)=>`${e} ${i}`).replace(", ",",<br>");return this.landscape?i:e}},watch:{internalActivePicker:{immediate:!0,handler(t){this.$emit("update:active-picker",t)}},activePicker(t){this.internalActivePicker=t},tableDate(t,e){const i="month"===this.type?"year":"month";this.isReversing=po(t,i)<po(e,i),this.$emit("update:picker-date",t)},pickerDate(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=po(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=po(this.lastValue,"year"))},value(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=po(this.inputDate,"month"===this.type?"year":"month"))},type(t){if(this.internalActivePicker=t.toUpperCase(),this.value&&this.value.length){const e=this.multipleValue.map(e=>po(e,t)).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput(t){if(this.range){if(1!==this.multipleValue.length)this.$emit("input",[t]);else{const e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}return}const e=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter(e=>e!==t):t;this.$emit("input",e),this.multiple||this.$emit("change",t)},checkMultipleProp(){if(null==this.value)return;const t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&ue(`Value must be ${this.isMultiple?"an":"a"} ${e}, got ${t}`,this)},isDateAllowed(t){return mo(t,this.min,this.max,this.allowedDates)},yearClick(t){this.inputYear=t,"month"===this.type?this.tableDate=""+t:this.tableDate=`${t}-${ro((this.tableMonth||0)+1)}`,this.internalActivePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick(t){const[e,i]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(i,10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,Ao(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.internalActivePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick(t){const[e,i,s]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(i,10)-1,this.inputDay=parseInt(s,10),this.emitInput(this.inputDate)},genPickerTitle(){return this.$createElement(io,{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.internalActivePicker,year:this.formatters.year(this.multipleValue.length?""+this.inputYear:this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":t=>this.internalActivePicker=t?"YEAR":this.type.toUpperCase()}})},genTableHeader(){return this.$createElement(co,{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.internalActivePicker?this.minMonth:this.minYear,max:"DATE"===this.internalActivePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.internalActivePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.internalActivePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.internalActivePicker?`${ro(this.tableYear,4)}-${ro(this.tableMonth+1)}`:""+ro(this.tableYear,4)},on:{toggle:()=>this.internalActivePicker="DATE"===this.internalActivePicker?"MONTH":"YEAR",input:t=>this.tableDate=t}})},genDateTable(){return this.$createElement(Co,{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:`${ro(this.tableYear,4)}-${ro(this.tableMonth+1)}`,value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:{input:this.dateClick,"update:table-date":t=>this.tableDate=t,...uo(this,":date")}})},genMonthTable(){return this.$createElement(So,{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?po(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:""+ro(this.tableYear,4)},ref:"table",on:{input:this.monthClick,"update:table-date":t=>this.tableDate=t,...uo(this,":month")}})},genYears(){return this.$createElement(_o,{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:{input:this.yearClick,...uo(this,":year")}})},genPickerBody(){const t="YEAR"===this.internalActivePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.internalActivePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.internalActivePicker},t)},setInputDate(){if(this.lastValue){const t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render(){return this.genPicker("v-picker--date")}});const Oo=(t,e=!0)=>{const i={timeZone:"UTC"};return t?new Date(t).toLocaleDateString("pt-BR",e?i:{}):null},Eo=t=>{let e=t.split("/").reverse().join("-");return e};var Po=c.a.extend({name:"farm-input-rangedatepicker",components:{VTextField:sn,VMenu:ls,VDatePicker:To,"farm-btn":ar},props:{inputId:{type:String,required:!0},value:{type:Array,default:()=>[]},max:{type:String,default:null},min:{type:String,default:null},required:{type:Boolean,default:!1}},data(){const t=this.formatDateRange(this.value);return{menuField:!1,dateField:this.value,fieldRange:t,requiredRule:t=>!!t||""!=t||"Campo obrigatório"}},watch:{value(t){this.dateField=t,this.fieldRange=this.formatDateRange(t)}},methods:{formatDateRange(t){if(!t||0===t.length)return"";const e=t[0],i=t[1];return Oo(e)+" a "+Oo(i)},save(){this.$refs.menuField.save(this.formatDateRange(this.dateField)),this.inputVal=this.dateField,this.menuField=!1},clear(){this.dateField=[],this.save()}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},canConfirm(){return!this.dateField||1==this.dateField.length}}}),Do=Po,Mo=(i("242e"),Ee(Do,Ja,to,!1,null,"4676439a",null)),Vo=Mo.exports,Fo=Vo,No=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{ref:"menuField",attrs:{"close-on-content-click":!1,"return-value":t.fieldRange,transition:"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function(e){t.fieldRange=e},"update:return-value":function(e){t.fieldRange=e}},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[e("v-text-field",t._g({directives:[{name:"mask",rawName:"v-mask",value:""+(t.readonly?"":"##/##/####"),expression:"`${readonly ? '' : '##/##/####'}`"}],attrs:{color:"secondary","append-icon":"mdi-calendar",readonly:t.readonly,autocomplete:"off",outlined:"",dense:"",id:t.inputId,rules:[t.checkMax,t.checkMin,t.checkRequire]},on:{keyup:t.keyUpInput},model:{value:t.fieldRange,callback:function(e){t.fieldRange=e},expression:"fieldRange"}},i))]}}]),model:{value:t.menuField,callback:function(e){t.menuField=e},expression:"menuField"}},[t.menuField?e("v-date-picker",{attrs:{"no-title":"",scrollable:"",color:"secondary",locale:"pt-br",max:t.max,min:t.min},model:{value:t.dateField,callback:function(e){t.dateField=e},expression:"dateField"}},[e("farm-btn",{attrs:{outlined:"",color:"primary",title:"Fechar"},on:{click:function(e){t.menuField=!1}}},[t._v(" Fechar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{outlined:"",color:"secondary"},on:{click:t.clear}},[t._v(" Limpar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{color:"secondary",title:"Confirmar",disabled:!t.dateField.length},on:{click:function(e){return t.save()}}},[t._v(" Confirmar ")])],1):t._e()],1)},zo=[],Ro=c.a.extend({name:"farm-input-datepicker",components:{VTextField:sn,VMenu:ls,VDatePicker:To,"farm-btn":ar},props:{inputId:{type:String,required:!0},value:{type:String,default:""},max:{type:String,default:null},min:{type:String,default:null},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){const t=this.formatDateRange(this.value);return{menuField:!1,dateField:this.value,fieldRange:t,checkRequire:t=>!this.required||(!!t||""!=t||"Campo obrigatório"),checkMax:t=>!(this.max&&new Date(Eo(t))>new Date(this.max))||"A data está fora do período permitido",checkMin:t=>!(this.min&&new Date(Eo(t))<new Date(this.min))||"A data está fora do período permitido"}},watch:{value(t){this.dateField=t,this.fieldRange=this.formatDateRange(t)}},methods:{formatDateRange(t){return t&&0!==t.length?Oo(t):""},save(){this.$refs.menuField.save(this.formatDateRange(this.dateField)),this.inputVal=this.dateField},clear(){this.dateField="",this.save()},validation(t){const e=/^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[13-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$/gm;return e.test(t)},keyUpInput(t){let e=t.target.value;if(this.validation(e)&&10===e.length){const[t,i,s]=e.split("/");this.dateField=`${s}-${i}-${t}`,this.save()}}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}}}),Ho=Ro,Wo=(i("39b1"),Ee(Ho,No,zo,!1,null,"9a1e21b0",null)),jo=Wo.exports,Yo=jo,qo=function(){var t=this,e=t._self._c;return e("ul",t._l(t.managers,(function(i,s){return e("li",{key:s},[t._v(" "+t._s(i)+" ")])})),0)},Uo=[],Zo={props:{managersString:{type:String,required:!0}},computed:{managers(){return this.managersString?this.managersString.split(","):[]}}},Xo=Zo,Ko=(i("08c9"),Ee(Xo,qo,Uo,!1,null,"7acbd269",null)),Go=Ko.exports,Qo=Go,Jo=function(){var t=this,e=t._self._c;return e("v-form",{attrs:{autocomplete:"off"},model:{value:t.formVal,callback:function(e){t.formVal=e},expression:"formVal"}},[e("div",{domProps:{innerHTML:t._s(t.title)}}),e("v-row",[e("v-col",{staticClass:"mt-3 v-col-fieldset-default",attrs:{cols:"12",sm:"12"}},[e("v-text-field",{attrs:{id:"form-confirm-remove",color:"secondary",outlined:"",dense:"",rules:[t.rules.checkRemove]},model:{value:t.matchInput,callback:function(e){t.matchInput=e},expression:"matchInput"}})],1)],1)],1)},tl=[],el=ke(u,ii("form")).extend({name:"v-form",provide(){return{form:this}},inheritAttrs:!1,props:{disabled:Boolean,lazyValidation:Boolean,readonly:Boolean,value:Boolean},data:()=>({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(t){const e=Object.values(t).includes(!0);this.$emit("input",!e)},deep:!0,immediate:!0}},methods:{watchInput(t){const e=t=>t.$watch("hasError",e=>{this.$set(this.errorBag,t._uid,e)},{immediate:!0}),i={_uid:t._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?i.shouldValidate=t.$watch("shouldValidate",s=>{s&&(this.errorBag.hasOwnProperty(t._uid)||(i.valid=e(t)))}):i.valid=e(t),i},validate(){return 0===this.inputs.filter(t=>!t.validate(!0)).length},reset(){this.inputs.forEach(t=>t.reset()),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout(()=>{this.errorBag={}},0)},resetValidation(){this.inputs.forEach(t=>t.resetValidation()),this.resetErrorBag()},register(t){this.inputs.push(t),this.watchers.push(this.watchInput(t))},unregister(t){const e=this.inputs.find(e=>e._uid===t._uid);if(!e)return;const i=this.watchers.find(t=>t._uid===e._uid);i&&(i.valid(),i.shouldValidate()),this.watchers=this.watchers.filter(t=>t._uid!==e._uid),this.inputs=this.inputs.filter(t=>t._uid!==e._uid),this.$delete(this.errorBag,e._uid)}},render(t){return t("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:t=>this.$emit("submit",t)}},this.$slots.default)}}),il={props:{match:{type:String,default:"EXCLUIR"},value:{required:!0},title:{type:String,default:'Escreva no campo abaixo "EXCLUIR" para confirmar a exclusão.'}},components:{VForm:el,VTextField:sn,VRow:Yn,VCol:Jn},data(){return{rules:{checkRemove:t=>t===this.match},matchInput:null}},computed:{formVal:{get(){return this.value},set(t){this.$emit("input",t)}}},mounted(){this.matchInput=null}},sl=il,nl=Ee(sl,Jo,tl,!1,null,null,null),rl=nl.exports,al=rl,ol=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-dialog",{attrs:{"content-class":"modal-default modal-default-small"},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}},[e("DialogHeader",{attrs:{title:t.title},on:{onClose:t.close}}),e("v-main",[e("section",{staticClass:"mt-9"},[t.inputVal?e("PromptUserToConfirm",{attrs:{match:t.match,title:t.subtitle},model:{value:t.canConfirm,callback:function(e){t.canConfirm=e},expression:"canConfirm"}}):t._e()],1),e("DialogFooter",{attrs:{confirmColor:t.confirmColor,confirmLabel:t.confirmLabel,isConfirmDisabled:!t.canConfirm},on:{onClose:t.close,onConfirm:t.confirm}})],1)],1)},ll=[],cl=(i("368e"),Br),hl=c.a.extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data(){return{animationFrame:0,overlay:null}},watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new cl({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame(()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=_(this.$el)),this.overlay.value=!0)}),!0},removeOverlay(t=!0){this.overlay&&(g(this.overlay.$el,"transitionend",()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&!this.isActive&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)}),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),t&&this.showScroll()},scrollListener(t){if("keydown"===t.type){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[T.up,T.pageup],i=[T.down,T.pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!i.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return(["auto","scroll"].includes(e.overflowY)||"SELECT"===t.tagName)&&t.scrollHeight>t.clientHeight||["auto","scroll"].includes(e.overflowX)&&t.scrollWidth>t.clientWidth},shouldScroll(t,e){if(t.hasAttribute("data-app"))return!1;const i=e.shiftKey||e.deltaX?"x":"y",s="y"===i?e.deltaY:e.deltaX||e.deltaY;let n,r;"y"===i?(n=0===t.scrollTop,r=t.scrollTop+t.clientHeight===t.scrollHeight):(n=0===t.scrollLeft,r=t.scrollLeft+t.clientWidth===t.scrollWidth);const a=s<0,o=s>0;return!(n||!a)||(!(r||!o)||!(!n&&!r)&&this.shouldScroll(t.parentNode,e))},isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=K(t);if("keydown"===t.type&&e[0]===document.body){const e=this.$refs.dialog,i=window.getSelection().anchorNode;return!(e&&this.hasScrollbar(e)&&this.isInside(i,e))||!this.shouldScroll(e,t)}for(let i=0;i<e.length;i++){const s=e[i];if(s===document)return!0;if(s===document.documentElement)return!0;if(s===this.$refs.content)return!0;if(this.hasScrollbar(s))return!this.shouldScroll(s,t)}return!0},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(b(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}});const ul=ke(Mi,ji,hl,Ui,Vi,Pi);var dl=ul.extend({name:"v-dialog",directives:{ClickOutside:is},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:[String,Number],noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:[String,Number]},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[("v-dialog "+this.contentClass).trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null==(e=this.previousActiveElement)||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&fe("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){"undefined"!==typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):hl.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$nextTick(()=>{var t,e;null!=(t=this.$refs.dialog)&&t.contains(document.activeElement)||(this.previousActiveElement=document.activeElement,null==(e=this.$refs.dialog)||e.focus());this.bind()})})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===T.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&this.$refs.dialog&&![document,this.$refs.dialog].includes(e)&&!this.$refs.dialog.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(t=>t.contains(e))){const t=this.$refs.dialog.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),e=[...t].find(t=>!t.hasAttribute("disabled"));e&&e.focus()}},genContent(){return this.showLazyContent(()=>[this.$createElement(Ti,{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"dialog","aria-modal":this.hideOverlay?void 0:"true",...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])])},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,attrs:{tabindex:this.isActive?0:void 0},ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(t.style={...t.style,maxWidth:L(this.maxWidth),width:L(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},[this.genActivator(),this.genContent()])}}),pl=(i("bd0c"),na.extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:t,top:e,right:i,footer:s,insetFooter:n,bottom:r,left:a}=this.$vuetify.application;return{paddingTop:e+t+"px",paddingRight:i+"px",paddingBottom:s+n+r+"px",paddingLeft:a+"px"}}},render(t){const e={staticClass:"v-main",style:this.styles,ref:"main"};return t(this.tag,e,[t("div",{staticClass:"v-main__wrap"},this.$slots.default)])}})),ml=c.a.extend({name:"farm-prompt-user",components:{DialogHeader:_a,DialogFooter:Ta,PromptUserToConfirm:al,VDialog:dl,VMain:pl},props:{value:{required:!0},title:{required:!0,type:String},subtitle:{required:!0,type:String},confirmColor:{type:String,default:"secondary"},confirmLabel:{type:String,default:"Confirmar"},match:{required:!0,type:String}},data(){return{canConfirm:!1}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{close(){this.inputVal=!1},confirm(){this.$emit("onConfirm"),this.inputVal=!1}}}),fl=ml,gl=Ee(fl,ol,ll,!1,null,null,null),vl=gl.exports,bl=vl,yl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({attrs:{icon:"",title:"Abrir opções"}},"farm-btn",s,!1),i),[e("i",{staticClass:"farm-btn__icon mdi mdi-dots-horizontal"})])]}}])},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.items,(function(i){return e("v-list-item",{key:i.label,attrs:{title:i.label},on:{click:function(e){return t.onClick(i.handler)}}},[e("v-list-item-content",[e("v-list-item-title",[i.icon?e("v-icon",{staticClass:"mb-1",attrs:{color:i.icon.color||"secondary"}},[t._v("mdi-"+t._s(i.icon.type))]):t._e(),t._v(" "+t._s(i.label)+" ")],1)],1)],1)})),1)],1)},xl=[],$l=c.a.extend({name:"farm-context-menu",components:{VIcon:Ae,VMenu:ls,VList:$s,VListItem:gs,VListItemContent:Ts,VListItemTitle:Os,"farm-btn":ar},props:{items:{type:Array,required:!0}},methods:{onClick(t){void 0!==t&&this.$emit(t)}}}),Cl=$l,Sl=(i("f261"),Ee(Cl,yl,xl,!1,null,"6af155bc",null)),_l=Sl.exports,wl=_l,kl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"icon-box"},[e("div",{staticClass:"icon"},[e("v-icon",{attrs:{color:"secondary"}},[t._v(t._s(t.icon))])],1)])},Il=[],Ll=c.a.extend({name:"farm-icon-box",components:{VIcon:Je},props:{icon:{type:String,require:!0}}}),Bl=Ll,Al=(i("fed6"),Ee(Bl,kl,Il,!1,null,"02e53181",null)),Tl=Al.exports,Ol=Tl,El=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:{"card-context":!0,"height-full":this.full,"card-context--outlined":this.outlined}},[t.isSuccess&&t.title?e("div",{staticClass:"card-context-header"},[t.icon?e("IconBox",{attrs:{icon:t.icon}}):t._e(),e("div",{staticClass:"card-context-content"},[e("p",{class:{"card-context-title":!0,"card-context-content--bold":t.bold}},[t._v(" "+t._s(t.title)+" ")])])],1):t._e(),t.isSuccess?e("div",{staticClass:"card-context-body"},[t._t("default")],2):t._e(),t.isLoading?e("div",{staticClass:"card-context-loading-or-error"},[e("Loader",{attrs:{size:t.isLargeLoading}})],1):t._e(),t.isError?e("div",{staticClass:"card-context-loading-or-error"},[e("AlertReload",{attrs:{label:t.errorLabel},on:{onClick:function(e){return t.$emit("onLoad")}}})],1):t._e()])},Pl=[],Dl=c.a.extend({name:"farm-card-context",components:{IconBox:Ol,AlertReload:ur,Loader:Pr},props:{title:{type:String,require:!0},bold:{type:Boolean,default:!1},icon:{type:String,default:null},isLoading:{type:Boolean,default:!1},largeLoading:{type:Boolean,default:!1},isError:{type:Boolean,default:!1},errorLabel:{type:String,default:"Ocorreu um erro"},full:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},computed:{isSuccess(){return!this.isLoading&&!this.isError},isLargeLoading(){return this.largeLoading?"normal":"small"}}}),Ml=Dl,Vl=(i("426a"),Ee(Ml,El,Pl,!1,null,"e756cd08",null)),Fl=Vl.exports,Nl=Fl,zl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"collapsible"},[e("div",{staticClass:"collapsible__header",on:{click:function(e){return t.onToggleCollapsible(t.status)}}},[e("div",{staticClass:"collapsible__content-title"},[""!==t.icon?e("div",{staticClass:"collapsible__icon collapsible__icon--main"},[e("farm-icon",{attrs:{color:"secondary",size:"1.625rem"}},[t._v(" "+t._s(t.icon)+" ")])],1):t._e(),e("h3",{staticClass:"collapsible__title"},[t._v(" "+t._s(t.title)+" ")])]),e("div",{staticClass:"collapsible__icon collapsible__icon--arrow"},[e("farm-icon",{attrs:{size:"1.625rem",color:"primary"}},[t._v(" "+t._s(t.arrowIcon)+" ")])],1)]),e("transition",{attrs:{name:"fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.status,expression:"status"}],staticClass:"collapsible__body"},[t._t("default")],2)])],1)},Rl=[],Hl=c.a.extend({name:"farm-collapsible",components:{"farm-icon":$r},props:{title:{type:String,required:!0},icon:{type:String,default:""},open:{type:Boolean,default:!1}},data(){return{status:this.$props.open}},computed:{arrowIcon(){return this.status?"menu-up":"menu-down"}},methods:{onToggleCollapsible(t){this.status=!t}}}),Wl=Hl,jl=(i("ac99"),Ee(Wl,zl,Rl,!1,null,"85ae76ca",null)),Yl=jl.exports,ql=Yl,Ul=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",t._g(t._b({attrs:{color:"error"}},"farm-btn",t.$attrs,!1),t.$listeners),[t.icon?e("i",{class:{mdi:!0,[t.iconPath]:!0,"mr-3":!0}}):t._e(),t._t("default")],2)},Zl=[],Xl=c.a.extend({name:"farm-btn-danger",components:{"farm-btn":ar},inheritAttrs:!0,props:{icon:{type:Boolean,default:!1},customIcon:{type:String,default:""}},computed:{iconPath(){return this.customIcon?"mdi-"+this.customIcon:"mdi-trash-can-outline"}}}),Kl=Xl,Gl=Ee(Kl,Ul,Zl,!1,null,null,null),Ql=Gl.exports,Jl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",t._g(t._b({attrs:{color:"secondary"}},"farm-btn",t.$attrs,!1),t.$listeners),[t.icon?e("i",{class:{mdi:!0,[t.iconPath]:!0,"mr-3":!0}}):t._e(),t._t("default")],2)},tc=[],ec=c.a.extend({name:"farm-btn-confirm",components:{"farm-btn":ar},inheritAttrs:!0,props:{icon:{type:Boolean,default:!1},customIcon:{type:String,default:""}},computed:{iconPath(){return this.customIcon?"mdi-"+this.customIcon:"mdi-check"}}}),ic=ec,sc=(i("7a5c"),Ee(ic,Jl,tc,!1,null,"7abf8541",null)),nc=sc.exports,rc=function(){var t=this,e=t._self._c;t._self._setupProxy;return 0==t.optionsList.length?e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{dense:"",outlined:"",title:"Exportar",disabled:t.disabled},on:{click:t.onClick}},[e("i",{class:{"mr-2":!0,"mdi-file-export-outline":!0,mdi:!0}}),t._v(" Exportar ")]):e("v-menu",{attrs:{"content-class":"elevation-1","offset-y":!0,rounded:"b t-0"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({staticClass:"farm-btn--responsive",attrs:{dense:"",outlined:"",title:"Exportar",disabled:t.disabled},on:{onClick:function(e){t.togglePopover=!0}}},"farm-btn",s,!1),i),[t._v(" Exportar "),e("i",{class:{"ml-2":!0,"mr-0":!0,mdi:!0,"mdi-chevron-up":t.togglePopover,"mdi-chevron-down":!t.togglePopover}})])]}}]),model:{value:t.togglePopover,callback:function(e){t.togglePopover=e},expression:"togglePopover"}},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.optionsList,(function(i){return e("v-list-item",{key:i.key,attrs:{link:"",title:i.label},on:{click:function(e){return t.onClick(i.key)}}},[e("v-list-item-content",[e("v-list-item-title",{domProps:{textContent:t._s(i.label)}})],1)],1)})),1)],1)},ac=[],oc=c.a.extend({name:"farm-btn-export",props:{optionsList:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1}},data(){return{togglePopover:!1}},components:{VList:$s,VListItem:gs,VMenu:cs,VListItemContent:Ts,VListItemTitle:Os,"farm-btn":ar},methods:{onClick(t){this.$emit("onClick",t)}}}),lc=oc,cc=(i("b157"),Ee(lc,rc,ac,!1,null,"555f8fe8",null)),hc=cc.exports,uc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive farm-btn--import",attrs:{dense:"",outlined:"",title:"Importar"},on:{click:t.onClick}},[e("i",{staticClass:"mdi mdi-upload"}),t._v(" "+t._s(t.label)+" ")])},dc=[],pc=c.a.extend({name:"farm-btn-import",components:{"farm-btn":ar},props:{label:{type:String,default:"Importar"}},methods:{onClick(){this.$emit("onClick")}}}),mc=pc,fc=(i("150b"),Ee(mc,uc,dc,!1,null,"02e33a57",null)),gc=fc.exports,vc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive",class:{"v-btn_icon--prepend":t.prepend,"v-btn_icon--apppend":!t.prepend},attrs:{dense:"",color:t.color,outlined:!t.open,title:t.label},on:{click:t.onClick}},[t.prepend?e("v-icon",[t._v(t._s("mdi-chevron-"+(t.open?"up":"down")))]):t._e(),t._v(" "+t._s(t.label)+" "),t.prepend?t._e():e("v-icon",{staticClass:"ml-3 mr-0"},[t._v(t._s("mdi-chevron-"+(t.open?"up":"down")))])],1)},bc=[],yc=c.a.extend({name:"farm-btn-toggle",components:{VIcon:Je,"farm-btn":ar},data:()=>({open:!1}),props:{label:{type:String,default:""},color:{type:String,default:"secondary"},pressed:{type:Boolean,default:!1},position:{type:String,default:"left"}},methods:{onClick(){this.open=!this.open}},watch:{open(t){this.$emit("onChange",t)}},created(){this.open=this.pressed},computed:{prepend(){return"left"===this.position}}}),xc=yc,$c=Ee(xc,vc,bc,!1,null,null,null),Cc=$c.exports,Sc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{dense:"",color:"error",title:t.label,disabled:t.disabled},on:{click:t.onClick}},[e("v-icon",[t._v("mdi-trash-can-outline")]),t._v(" "+t._s(t.label)+" ")],1)},_c=[],wc=c.a.extend({name:"farm-btn-remove",props:{label:{type:String,default:"Remover"},disabled:{type:Boolean,default:!1}},components:{VIcon:Je,"farm-btn":ar},methods:{onClick(){this.$emit("onClick")}}}),kc=wc,Ic=(i("ab93"),Ee(kc,Sc,_c,!1,null,"32299534",null)),Lc=Ic.exports,Bc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{attrs:{"content-class":"elevation-1","offset-y":!0,rounded:"b t-0"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({staticClass:"farm-btn--responsive farm-btn--import",attrs:{dense:"",outlined:"",title:"Importar"},on:{onClick:function(e){t.togglePopover=!0}}},"farm-btn",s,!1),i),[t._v(" Importar "),e("i",{class:{"ml-2":!0,"mr-0":!0,mdi:!0,"mdi-chevron-up":t.togglePopover,"mdi-chevron-down":!t.togglePopover}})])]}}]),model:{value:t.togglePopover,callback:function(e){t.togglePopover=e},expression:"togglePopover"}},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.optionsList,(function(i){return e("v-list-item",{key:i.listenerKey,attrs:{link:"",title:i.title},on:{click:function(e){return t.$emit("onClick",i.listenerKey)}}},[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.title))])],1)],1)})),1)],1)},Ac=[],Tc=c.a.extend({name:"farm-btn-multipleimport",components:{VList:$s,VListItem:gs,VMenu:cs,VListItemContent:Ts,VListItemTitle:Os,"farm-btn":ar},props:{optionsList:{type:Array,default:()=>[]}},data(){return{togglePopover:!1}}}),Oc=Tc,Ec=(i("a140"),Ee(Oc,Bc,Ac,!1,null,"16d93a6a",null)),Pc=Ec.exports,Dc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imgSrc}})},Mc=[],Vc=c.a.extend({name:"farm-imglogo-product",inheritAttrs:!0,props:{id:{required:!0},variation:{type:String,default:"full"}},computed:{imgSrc(){return`/public/logos/products/${this.id}/${this.variation}.svg`}}}),Fc=Vc,Nc=Ee(Fc,Dc,Mc,!1,null,null,null),zc=Nc.exports,Rc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imgSrc}})},Hc=[],Wc=c.a.extend({name:"farm-imglogo-originator",inheritAttrs:!0,props:{id:{required:!0},variation:{type:String,default:"full"}},computed:{imgSrc(){return`/public/logos/originadores/${this.id}/${this.variation}.svg`}}}),jc=Wc,Yc=Ee(jc,Rc,Hc,!1,null,null,null),qc=Yc.exports,Uc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"ml-6 mr-3 d-flex align-center"},[t._v(" Total de linhas selecionadas: "+t._s(t.length)+" "),t.length>0?e("farm-btn",{staticClass:"ml-3",attrs:{color:"error",small:"",dense:""},on:{click:t.reset}},[e("v-icon",{attrs:{small:""}},[t._v(" mdi-trash-can ")]),t._v(" Desmarcar ")],1):t._e()],1)},Zc=[],Xc=c.a.extend({name:"farm-tablerowselection",components:{VIcon:Je,"farm-btn":ar},props:{length:{default:0,type:Number}},methods:{reset(){this.$emit("onReset")}}}),Kc=Xc,Gc=(i("121f"),Ee(Kc,Uc,Zc,!1,null,"6592acd8",null)),Qc=Gc.exports,Jc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"align-center"},[0===t.index?e("span",{staticClass:"mr-1 label"},[t._v(t._s(t.item[t.labelKey]))]):t._e(),1===t.index?e("span",{staticClass:"label"},[t._v(" (+"+t._s(t.itemsLength-1)+" "+t._s(t.itemsLength>2?"outros":"outro")+" ) ")]):t._e()])},th=[],eh=c.a.extend({name:"farm-multiple-select-shortener",props:{labelKey:{type:String,default:"label"},item:{type:Object},index:{type:Number},itemsLength:{type:Number}}}),ih=eh,sh=(i("d5b1"),Ee(ih,Jc,th,!1,null,"31e8b3ae",null)),nh=sh.exports,rh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-col",{staticClass:"v-col-fieldset-default",attrs:{cols:"12",sm:"12",md:t.config.md?t.config.md:2}},[e("div",{staticClass:"v-text-field"},[e("label",{attrs:{for:t.inputId}},[t._v(" "+t._s(t.label)+" "),t.config.required?e("span",{staticClass:"required"},[t._v("*")]):t._e()]),e("v-text-field",{attrs:{"append-icon":"mdi-magnify ",color:"secondary",outlined:"",dense:"",readonly:"",id:t.inputId,value:t.selectedValueText},on:{keyup:t.clearTextField,click:t.openModal}})],1),e("v-dialog",{attrs:{"content-class":"modal-default modal-default-small"},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[e("DialogHeader",{staticClass:"dialog-header",attrs:{title:t.modalTitle},on:{onClose:t.closeModal}}),e("v-main",{staticClass:"mt-9"},[t.isLoading?e("Loader",{staticClass:"text-center mb-2"}):t._e(),t.isLoading?t._e():e("fieldset",{staticClass:"fieldset-default mx-4 mb-3"},[e("label",{attrs:{for:"searchInput"}},[t._v(" "+t._s(t.label)+" ")]),e("v-text-field",{attrs:{color:"secondary",id:"searchInput",outlined:"",dense:"","hide-details":"",placeholder:t.placeholder},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t.isLoading?t._e():e("v-data-table",{staticClass:"v-data-table__clickable v-data-table__select-modal",attrs:{id:"inputModalOptionsTable","hide-default-footer":"","hide-default-header":"",items:t.items,headers:t.headers,options:t.pagination,search:t.searchValue,"custom-filter":t.customFilter},on:{"update:options":function(e){t.pagination=e},"click:row":t.handleClick,pagination:t.handlePagination},scopedSlots:t._u([{key:"item.label",fn:function({item:i}){return[e("td",{attrs:{title:t.getItemLabel(i),"aria-role":"button"}},[t._v(" "+t._s(t.getItemLabel(i))+" ")])]}},{key:"footer",fn:function(){return[e("DataTablePaginator",{staticClass:"my-6",attrs:{hidePerPageOptions:"",initialLimitPerPage:t.pagination.itemsPerPage,page:t.pagination.page,totalPages:t.pagination.pages},on:{onChangePage:t.onChangePage}})]},proxy:!0}],null,!0)},[e("template",{slot:"no-data"},[e("DataTableEmptyWrapper")],1),e("template",{slot:"no-results"},[e("DataTableEmptyWrapper")],1)],2)],1),e("DialogFooter",{attrs:{hasConfirm:!1},on:{onClose:t.closeModal}})],1)],1)},ah=[],oh=sn,lh=(i("91f4"),c.a.extend({name:"v-data",inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},sortBy:{type:[String,Array]},sortDesc:{type:[Boolean,Array]},customSort:{type:Function,default:N},mustSort:Boolean,multiSort:Boolean,page:{type:Number,default:1},itemsPerPage:{type:Number,default:10},groupBy:{type:[String,Array],default:()=>[]},groupDesc:{type:[Boolean,Array],default:()=>[]},customGroup:{type:Function,default:V},locale:{type:String,default:"en-US"},disableSort:Boolean,disablePagination:Boolean,disableFiltering:Boolean,search:String,customFilter:{type:Function,default:R},serverItemsLength:{type:Number,default:-1}},data(){let t={page:this.page,itemsPerPage:this.itemsPerPage,sortBy:F(this.sortBy),sortDesc:F(this.sortDesc),groupBy:F(this.groupBy),groupDesc:F(this.groupDesc),mustSort:this.mustSort,multiSort:this.multiSort};this.options&&(t=Object.assign(t,this.options));const{sortBy:e,sortDesc:i,groupBy:s,groupDesc:n}=t,r=e.length-i.length,a=s.length-n.length;return r>0&&t.sortDesc.push(...X(r,!1)),a>0&&t.groupDesc.push(...X(a,!1)),{internalOptions:t}},computed:{itemsLength(){return this.serverItemsLength>=0?this.serverItemsLength:this.filteredItems.length},pageCount(){return this.internalOptions.itemsPerPage<=0?1:Math.ceil(this.itemsLength/this.internalOptions.itemsPerPage)},pageStart(){return-1!==this.internalOptions.itemsPerPage&&this.items.length?(this.internalOptions.page-1)*this.internalOptions.itemsPerPage:0},pageStop(){return-1===this.internalOptions.itemsPerPage?this.itemsLength:this.items.length?Math.min(this.itemsLength,this.internalOptions.page*this.internalOptions.itemsPerPage):0},isGrouped(){return!!this.internalOptions.groupBy.length},pagination(){return{page:this.internalOptions.page,itemsPerPage:this.internalOptions.itemsPerPage,pageStart:this.pageStart,pageStop:this.pageStop,pageCount:this.pageCount,itemsLength:this.itemsLength}},filteredItems(){let t=this.items.slice();return!this.disableFiltering&&this.serverItemsLength<=0&&(t=this.customFilter(t,this.search)),t},computedItems(){let t=this.filteredItems.slice();return(!this.disableSort||this.internalOptions.groupBy.length)&&this.serverItemsLength<=0&&(t=this.sortItems(t)),!this.disablePagination&&this.serverItemsLength<=0&&(t=this.paginateItems(t)),t},groupedItems(){return this.isGrouped?this.groupItems(this.computedItems):null},scopedProps(){return{sort:this.sort,sortArray:this.sortArray,group:this.group,items:this.computedItems,options:this.internalOptions,updateOptions:this.updateOptions,pagination:this.pagination,groupedItems:this.groupedItems,originalItemsLength:this.items.length}},computedOptions(){return{...this.options}}},watch:{computedOptions:{handler(t,e){x(t,e)||this.updateOptions(t)},deep:!0,immediate:!0},internalOptions:{handler(t,e){x(t,e)||this.$emit("update:options",t)},deep:!0,immediate:!0},page(t){this.updateOptions({page:t})},"internalOptions.page"(t){this.$emit("update:page",t)},itemsPerPage(t){this.updateOptions({itemsPerPage:t})},"internalOptions.itemsPerPage"(t){this.$emit("update:items-per-page",t)},sortBy(t){this.updateOptions({sortBy:F(t)})},"internalOptions.sortBy"(t,e){!x(t,e)&&this.$emit("update:sort-by",Array.isArray(this.sortBy)?t:t[0])},sortDesc(t){this.updateOptions({sortDesc:F(t)})},"internalOptions.sortDesc"(t,e){!x(t,e)&&this.$emit("update:sort-desc",Array.isArray(this.sortDesc)?t:t[0])},groupBy(t){this.updateOptions({groupBy:F(t)})},"internalOptions.groupBy"(t,e){!x(t,e)&&this.$emit("update:group-by",Array.isArray(this.groupBy)?t:t[0])},groupDesc(t){this.updateOptions({groupDesc:F(t)})},"internalOptions.groupDesc"(t,e){!x(t,e)&&this.$emit("update:group-desc",Array.isArray(this.groupDesc)?t:t[0])},multiSort(t){this.updateOptions({multiSort:t})},"internalOptions.multiSort"(t){this.$emit("update:multi-sort",t)},mustSort(t){this.updateOptions({mustSort:t})},"internalOptions.mustSort"(t){this.$emit("update:must-sort",t)},pageCount:{handler(t){this.$emit("page-count",t)},immediate:!0},computedItems:{handler(t){this.$emit("current-items",t)},immediate:!0},pagination:{handler(t,e){x(t,e)||this.$emit("pagination",this.pagination)},immediate:!0}},methods:{toggle(t,e,i,s,n,r){let a=e.slice(),o=i.slice();const l=a.findIndex(e=>e===t);return l<0?(r||(a=[],o=[]),a.push(t),o.push(!1)):l>=0&&!o[l]?o[l]=!0:n?o[l]=!1:(a.splice(l,1),o.splice(l,1)),x(a,e)&&x(o,i)||(s=1),{by:a,desc:o,page:s}},group(t){const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.groupBy,this.internalOptions.groupDesc,this.internalOptions.page,!0,!1);this.updateOptions({groupBy:e,groupDesc:i,page:s})},sort(t){if(Array.isArray(t))return this.sortArray(t);const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.sortBy,this.internalOptions.sortDesc,this.internalOptions.page,this.internalOptions.mustSort,this.internalOptions.multiSort);this.updateOptions({sortBy:e,sortDesc:i,page:s})},sortArray(t){const e=t.map(t=>{const e=this.internalOptions.sortBy.findIndex(e=>e===t);return e>-1&&this.internalOptions.sortDesc[e]});this.updateOptions({sortBy:t,sortDesc:e})},updateOptions(t){this.internalOptions={...this.internalOptions,...t,page:this.serverItemsLength<0?Math.max(1,Math.min(t.page||this.internalOptions.page,this.pageCount)):t.page||this.internalOptions.page}},sortItems(t){let e=[],i=[];return this.disableSort||(e=this.internalOptions.sortBy,i=this.internalOptions.sortDesc),this.internalOptions.groupBy.length&&(e=[...this.internalOptions.groupBy,...e],i=[...this.internalOptions.groupDesc,...i]),this.customSort(t,e,i,this.locale)},groupItems(t){return this.customGroup(t,this.internalOptions.groupBy,this.internalOptions.groupDesc)},paginateItems(t){return-1===this.serverItemsLength&&t.length<=this.pageStart&&(this.internalOptions.page=Math.max(1,Math.ceil(t.length/this.internalOptions.itemsPerPage))||1),t.slice(this.pageStart,this.pageStop)}},render(){return this.$scopedSlots.default&&this.$scopedSlots.default(this.scopedProps)}})),ch=(i("495d"),c.a.extend({name:"v-data-footer",props:{options:{type:Object,required:!0},pagination:{type:Object,required:!0},itemsPerPageOptions:{type:Array,default:()=>[5,10,15,-1]},prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},itemsPerPageAllText:{type:String,default:"$vuetify.dataFooter.itemsPerPageAll"},showFirstLastPage:Boolean,showCurrentPage:Boolean,disablePagination:Boolean,disableItemsPerPage:Boolean,pageText:{type:String,default:"$vuetify.dataFooter.pageText"}},computed:{disableNextPageIcon(){return this.options.itemsPerPage<=0||this.options.page*this.options.itemsPerPage>=this.pagination.itemsLength||this.pagination.pageStop<0},computedDataItemsPerPageOptions(){return this.itemsPerPageOptions.map(t=>"object"===typeof t?t:this.genDataItemsPerPageOption(t))}},methods:{updateOptions(t){this.$emit("update:options",Object.assign({},this.options,t))},onFirstPage(){this.updateOptions({page:1})},onPreviousPage(){this.updateOptions({page:this.options.page-1})},onNextPage(){this.updateOptions({page:this.options.page+1})},onLastPage(){this.updateOptions({page:this.pagination.pageCount})},onChangeItemsPerPage(t){this.updateOptions({itemsPerPage:t,page:1})},genDataItemsPerPageOption(t){return{text:-1===t?this.$vuetify.lang.t(this.itemsPerPageAllText):String(t),value:t}},genItemsPerPageSelect(){let t=this.options.itemsPerPage;const e=this.computedDataItemsPerPageOptions;return e.length<=1?null:(e.find(e=>e.value===t)||(t=e[0]),this.$createElement("div",{staticClass:"v-data-footer__select"},[this.$vuetify.lang.t(this.itemsPerPageText),this.$createElement(on,{attrs:{"aria-label":this.$vuetify.lang.t(this.itemsPerPageText)},props:{disabled:this.disableItemsPerPage,items:e,value:t,hideDetails:!0,auto:!0,minWidth:"75px"},on:{input:this.onChangeItemsPerPage}})]))},genPaginationInfo(){let t=["–"];const e=this.pagination.itemsLength;let i=this.pagination.pageStart,s=this.pagination.pageStop;return this.pagination.itemsLength&&this.pagination.itemsPerPage?(i=this.pagination.pageStart+1,s=e<this.pagination.pageStop||this.pagination.pageStop<0?e:this.pagination.pageStop,t=this.$scopedSlots["page-text"]?[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]:[this.$vuetify.lang.t(this.pageText,i,s,e)]):this.$scopedSlots["page-text"]&&(t=[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]),this.$createElement("div",{class:"v-data-footer__pagination"},t)},genIcon(t,e,i,s){return this.$createElement(Ln,{props:{disabled:e||this.disablePagination,icon:!0,text:!0},on:{click:t},attrs:{"aria-label":i}},[this.$createElement(Je,s)])},genIcons(){const t=[],e=[];return t.push(this.genIcon(this.onPreviousPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.prevPage"),this.$vuetify.rtl?this.nextIcon:this.prevIcon)),e.push(this.genIcon(this.onNextPage,this.disableNextPageIcon,this.$vuetify.lang.t("$vuetify.dataFooter.nextPage"),this.$vuetify.rtl?this.prevIcon:this.nextIcon)),this.showFirstLastPage&&(t.unshift(this.genIcon(this.onFirstPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.firstPage"),this.$vuetify.rtl?this.lastIcon:this.firstIcon)),e.push(this.genIcon(this.onLastPage,this.options.page>=this.pagination.pageCount||-1===this.options.itemsPerPage,this.$vuetify.lang.t("$vuetify.dataFooter.lastPage"),this.$vuetify.rtl?this.firstIcon:this.lastIcon))),[this.$createElement("div",{staticClass:"v-data-footer__icons-before"},t),this.showCurrentPage&&this.$createElement("span",[this.options.page.toString()]),this.$createElement("div",{staticClass:"v-data-footer__icons-after"},e)]}},render(){return this.$createElement("div",{staticClass:"v-data-footer"},[Y(this,"prepend"),this.genItemsPerPageSelect(),this.genPaginationInfo(),this.genIcons()])}})),hh=ke(jr,_e).extend({name:"v-data-iterator",props:{...lh.options.props,itemKey:{type:String,default:"id"},value:{type:Array,default:()=>[]},singleSelect:Boolean,expanded:{type:Array,default:()=>[]},mobileBreakpoint:{...jr.options.props.mobileBreakpoint,default:600},singleExpand:Boolean,loading:[Boolean,String],noResultsText:{type:String,default:"$vuetify.dataIterator.noResultsText"},noDataText:{type:String,default:"$vuetify.noDataText"},loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideDefaultFooter:Boolean,footerProps:Object,selectableKey:{type:String,default:"isSelectable"}},data:()=>({selection:{},expansion:{},internalCurrentItems:[],shiftKeyDown:!1,lastEntry:-1}),computed:{everyItem(){return!!this.selectableItems.length&&this.selectableItems.every(t=>this.isSelected(t))},someItems(){return this.selectableItems.some(t=>this.isSelected(t))},sanitizedFooterProps(){return U(this.footerProps)},selectableItems(){return this.internalCurrentItems.filter(t=>this.isSelectable(t))}},watch:{value:{handler(t){this.selection=t.reduce((t,e)=>(t[$(e,this.itemKey)]=e,t),{})},immediate:!0},selection(t,e){x(Object.keys(t),Object.keys(e))||this.$emit("input",Object.values(t))},expanded:{handler(t){this.expansion=t.reduce((t,e)=>(t[$(e,this.itemKey)]=!0,t),{})},immediate:!0},expansion(t,e){if(x(t,e))return;const i=Object.keys(t).filter(e=>t[e]),s=i.length?this.items.filter(t=>i.includes(String($(t,this.itemKey)))):[];this.$emit("update:expanded",s)}},created(){const t=[["disable-initial-sort","sort-by"],["filter","custom-filter"],["pagination","options"],["total-items","server-items-length"],["hide-actions","hide-default-footer"],["rows-per-page-items","footer-props.items-per-page-options"],["rows-per-page-text","footer-props.items-per-page-text"],["prev-icon","footer-props.prev-icon"],["next-icon","footer-props.next-icon"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&me(t,e,this)});const e=["expand","content-class","content-props","content-tag"];e.forEach(t=>{this.$attrs.hasOwnProperty(t)&&fe(t)})},mounted(){window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp)},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp)},methods:{onKeyDown(t){t.keyCode===T.shift&&(this.shiftKeyDown=!0)},onKeyUp(t){t.keyCode===T.shift&&(this.shiftKeyDown=!1)},toggleSelectAll(t){const e=Object.assign({},this.selection);for(let i=0;i<this.selectableItems.length;i++){const s=this.selectableItems[i];if(!this.isSelectable(s))continue;const n=$(s,this.itemKey);t?e[n]=s:delete e[n]}this.selection=e,this.$emit("toggle-select-all",{items:this.internalCurrentItems,value:t})},isSelectable(t){return!1!==$(t,this.selectableKey)},isSelected(t){return!!this.selection[$(t,this.itemKey)]||!1},select(t,e=!0,i=!0){if(!this.isSelectable(t))return;const s=this.singleSelect?{}:Object.assign({},this.selection),n=$(t,this.itemKey);e?s[n]=t:delete s[n];const r=this.selectableItems.findIndex(t=>$(t,this.itemKey)===n);if(-1===this.lastEntry)this.lastEntry=r;else if(this.shiftKeyDown&&!this.singleSelect&&i){const t=$(this.selectableItems[this.lastEntry],this.itemKey),e=Object.keys(this.selection).includes(String(t));this.multipleSelect(e,i,s,r)}if(this.lastEntry=r,this.singleSelect&&i){const t=Object.keys(this.selection),e=t.length&&$(this.selection[t[0]],this.itemKey);e&&e!==n&&this.$emit("item-selected",{item:this.selection[e],value:!1})}this.selection=s,i&&this.$emit("item-selected",{item:t,value:e})},multipleSelect(t=!0,e=!0,i,s){const n=s<this.lastEntry?s:this.lastEntry,r=s<this.lastEntry?this.lastEntry:s;for(let a=n;a<=r;a++){const s=this.selectableItems[a],n=$(s,this.itemKey);t?i[n]=s:delete i[n],e&&this.$emit("item-selected",{currentItem:s,value:t})}},isExpanded(t){return this.expansion[$(t,this.itemKey)]||!1},expand(t,e=!0){const i=this.singleExpand?{}:Object.assign({},this.expansion),s=$(t,this.itemKey);e?i[s]=!0:delete i[s],this.expansion=i,this.$emit("item-expanded",{item:t,value:e})},createItemProps(t,e){return{item:t,index:e,select:e=>this.select(t,e),isSelected:this.isSelected(t),expand:e=>this.expand(t,e),isExpanded:this.isExpanded(t),isMobile:this.isMobile}},genEmptyWrapper(t){return this.$createElement("div",t)},genEmpty(t,e){if(0===t&&this.loading){const t=this.$slots.loading||this.$vuetify.lang.t(this.loadingText);return this.genEmptyWrapper(t)}if(0===t){const t=this.$slots["no-data"]||this.$vuetify.lang.t(this.noDataText);return this.genEmptyWrapper(t)}if(0===e){const t=this.$slots["no-results"]||this.$vuetify.lang.t(this.noResultsText);return this.genEmptyWrapper(t)}return null},genItems(t){const e=this.genEmpty(t.originalItemsLength,t.pagination.itemsLength);return e?[e]:this.$scopedSlots.default?this.$scopedSlots.default({...t,isSelected:this.isSelected,select:this.select,isExpanded:this.isExpanded,isMobile:this.isMobile,expand:this.expand}):this.$scopedSlots.item?t.items.map((t,e)=>this.$scopedSlots.item(this.createItemProps(t,e))):[]},genFooter(t){if(this.hideDefaultFooter)return null;const e={props:{...this.sanitizedFooterProps,options:t.options,pagination:t.pagination},on:{"update:options":e=>t.updateOptions(e)}},i=j("footer.",this.$scopedSlots);return this.$createElement(ch,{scopedSlots:i,...e})},genDefaultScopedSlot(t){const e={...t,someItems:this.someItems,everyItem:this.everyItem,toggleSelectAll:this.toggleSelectAll};return this.$createElement("div",{staticClass:"v-data-iterator"},[Y(this,"header",e,!0),this.genItems(t),this.genFooter(t),Y(this,"footer",e,!0)])}},render(){return this.$createElement(lh,{props:this.$props,on:{"update:options":(t,e)=>!x(t,e)&&this.$emit("update:options",t),"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!x(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),uh=(i("f823"),ke().extend({directives:{ripple:Ii},props:{headers:{type:Array,default:()=>[]},options:{type:Object,default:()=>({page:1,itemsPerPage:10,sortBy:[],sortDesc:[],groupBy:[],groupDesc:[],multiSort:!1,mustSort:!1})},checkboxColor:String,sortIcon:{type:String,default:"$sort"},everyItem:Boolean,someItems:Boolean,showGroupBy:Boolean,singleSelect:Boolean,disableSort:Boolean},methods:{genSelectAll(){var t;const e={props:{value:this.everyItem,indeterminate:!this.everyItem&&this.someItems,color:null!=(t=this.checkboxColor)?t:""},on:{input:t=>this.$emit("toggle-select-all",t)}};return this.$scopedSlots["data-table-select"]?this.$scopedSlots["data-table-select"](e):this.$createElement(hs,{staticClass:"v-data-table__checkbox",...e})},genSortIcon(){return this.$createElement(Je,{staticClass:"v-data-table-header__icon",props:{size:18}},[this.sortIcon])}}})),dh=ke(uh).extend({name:"v-data-table-header-mobile",props:{sortByText:{type:String,default:"$vuetify.dataTable.sortBy"}},methods:{genSortChip(t){const e=[t.item.text],i=this.options.sortBy.findIndex(e=>e===t.item.value),s=i>=0,n=this.options.sortDesc[i];return e.push(this.$createElement("div",{staticClass:"v-chip__close",class:{sortable:!0,active:s,asc:s&&!n,desc:s&&n}},[this.genSortIcon()])),this.$createElement(Ai,{staticClass:"sortable",on:{click:e=>{e.stopPropagation(),this.$emit("sort",t.item.value)}}},e)},genSortSelect(t){return this.$createElement(on,{props:{label:this.$vuetify.lang.t(this.sortByText),items:t,hideDetails:!0,multiple:this.options.multiSort,value:this.options.multiSort?this.options.sortBy:this.options.sortBy[0],menuProps:{closeOnContentClick:!0}},on:{change:t=>this.$emit("sort",t)},scopedSlots:{selection:t=>this.genSortChip(t)}})}},render(t){const e=[],i=this.headers.find(t=>"data-table-select"===t.value);i&&!this.singleSelect&&e.push(this.$createElement("div",{class:["v-data-table-header-mobile__select",...F(i.class)],attrs:{width:i.width}},[this.genSelectAll()]));const s=this.headers.filter(t=>!1!==t.sortable&&"data-table-select"!==t.value).map(t=>({text:t.text,value:t.value}));!this.disableSort&&s.length&&e.push(this.genSortSelect(s));const n=e.length?t("th",[t("div",{staticClass:"v-data-table-header-mobile__wrapper"},e)]):void 0,r=t("tr",[n]);return t("thead",{staticClass:"v-data-table-header v-data-table-header-mobile"},[r])}}),ph=ke(uh).extend({name:"v-data-table-header-desktop",methods:{genGroupByToggle(t){return this.$createElement("span",{on:{click:e=>{e.stopPropagation(),this.$emit("group",t.value)}}},["group"])},getAria(t,e){const i=t=>this.$vuetify.lang.t("$vuetify.dataTable.ariaLabel."+t);let s="none",n=[i("sortNone"),i("activateAscending")];return t?(e?(s="descending",n=[i("sortDescending"),i(this.options.mustSort?"activateAscending":"activateNone")]):(s="ascending",n=[i("sortAscending"),i("activateDescending")]),{ariaSort:s,ariaLabel:n.join(" ")}):{ariaSort:s,ariaLabel:n.join(" ")}},genHeader(t){const e={attrs:{role:"columnheader",scope:"col","aria-label":t.text||""},style:{width:L(t.width),minWidth:L(t.width)},class:["text-"+(t.align||"start"),...F(t.class),t.divider&&"v-data-table__divider"],on:{}},i=[];if("data-table-select"===t.value&&!this.singleSelect)return this.$createElement("th",e,[this.genSelectAll()]);if(i.push(this.$scopedSlots.hasOwnProperty(t.value)?this.$scopedSlots[t.value]({header:t}):this.$createElement("span",[t.text])),!this.disableSort&&(t.sortable||!t.hasOwnProperty("sortable"))){e.on.click=()=>this.$emit("sort",t.value);const s=this.options.sortBy.findIndex(e=>e===t.value),n=s>=0,r=this.options.sortDesc[s];e.class.push("sortable");const{ariaLabel:a,ariaSort:o}=this.getAria(n,r);e.attrs["aria-label"]+=`${t.text?": ":""}${a}`,e.attrs["aria-sort"]=o,n&&(e.class.push("active"),e.class.push(r?"desc":"asc")),"end"===t.align?i.unshift(this.genSortIcon()):i.push(this.genSortIcon()),this.options.multiSort&&n&&i.push(this.$createElement("span",{class:"v-data-table-header__sort-badge"},[String(s+1)]))}return this.showGroupBy&&!1!==t.groupable&&i.push(this.genGroupByToggle(t)),this.$createElement("th",e,i)}},render(){return this.$createElement("thead",{staticClass:"v-data-table-header"},[this.$createElement("tr",this.headers.map(t=>this.genHeader(t)))])}});function mh(t){if(t.model&&t.on&&t.on.input)if(Array.isArray(t.on.input)){const e=t.on.input.indexOf(t.model.callback);e>-1&&t.on.input.splice(e,1)}else delete t.on.input}function fh(t,e){const i=[];for(const s in t)t.hasOwnProperty(s)&&i.push(e("template",{slot:s},t[s]));return i}var gh=c.a.extend({name:"v-data-table-header",functional:!0,props:{...uh.options.props,mobile:Boolean},render(t,{props:e,data:i,slots:s}){mh(i);const n=fh(s(),t);return i=Re(i,{props:e}),e.mobile?t(dh,i,n):t(ph,i,n)}});function vh(t){var e;return 1!==t.length||!["td","th"].includes(null==(e=t[0])?void 0:e.tag)}var bh=c.a.extend({name:"row",functional:!0,props:{headers:Array,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),r=e.headers.map(i=>{const r=[],a=$(e.item,i.value),o=i.value,l=s.scopedSlots&&s.scopedSlots.hasOwnProperty(o)&&s.scopedSlots[o],c=n.hasOwnProperty(o)&&n[o];l?r.push(...F(l({item:e.item,isMobile:!1,header:i,index:e.index,value:a}))):c?r.push(...F(c)):r.push(null==a?a:String(a));const h="text-"+(i.align||"start");return vh(r)?t("td",{class:[h,i.cellClass,{"v-data-table__divider":i.divider}]},r):r});return t("tr",s,r)}}),yh=c.a.extend({name:"row-group",functional:!0,props:{value:{type:Boolean,default:!0},headerClass:{type:String,default:"v-row-group__header"},contentClass:String,summaryClass:{type:String,default:"v-row-group__summary"}},render(t,{slots:e,props:i}){const s=e(),n=[];return s["column.header"]?n.push(t("tr",{staticClass:i.headerClass},s["column.header"])):s["row.header"]&&n.push(...s["row.header"]),s["row.content"]&&i.value&&n.push(...s["row.content"]),s["column.summary"]?n.push(t("tr",{staticClass:i.summaryClass},s["column.summary"])):s["row.summary"]&&n.push(...s["row.summary"]),n}}),xh=(i("8b37"),ke(_e).extend({name:"v-simple-table",props:{dense:Boolean,fixedHeader:Boolean,height:[Number,String]},computed:{classes(){return{"v-data-table--dense":this.dense,"v-data-table--fixed-height":!!this.height&&!this.fixedHeader,"v-data-table--fixed-header":this.fixedHeader,"v-data-table--has-top":!!this.$slots.top,"v-data-table--has-bottom":!!this.$slots.bottom,...this.themeClasses}}},methods:{genWrapper(){return this.$slots.wrapper||this.$createElement("div",{staticClass:"v-data-table__wrapper",style:{height:L(this.height)}},[this.$createElement("table",this.$slots.default)])}},render(t){return t("div",{staticClass:"v-data-table",class:this.classes},[this.$slots.top,this.genWrapper(),this.$slots.bottom])}})),$h=c.a.extend({name:"row",functional:!0,props:{headers:Array,hideDefaultHeader:Boolean,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),r=e.headers.map(i=>{const r={"v-data-table__mobile-row":!0},a=[],o=$(e.item,i.value),l=i.value,c=s.scopedSlots&&s.scopedSlots.hasOwnProperty(l)&&s.scopedSlots[l],h=n.hasOwnProperty(l)&&n[l];c?a.push(c({item:e.item,isMobile:!0,header:i,index:e.index,value:o})):h?a.push(h):a.push(null==o?o:String(o));const u=[t("div",{staticClass:"v-data-table__mobile-row__cell"},a)];return"dataTableSelect"===i.value||e.hideDefaultHeader||u.unshift(t("div",{staticClass:"v-data-table__mobile-row__header"},[i.text])),t("td",{class:r},u)});return t("tr",{...s,staticClass:"v-data-table__mobile-table-row"},r)}});function Ch(t,e,i){return s=>{const n=$(t,s.value);return s.filter?s.filter(n,e,t):i(n,e,t)}}function Sh(t,e,i,s,n){return e="string"===typeof e?e.trim():null,t.filter(t=>{const r=i.every(Ch(t,e,z)),a=!e||s.some(Ch(t,e,n));return r&&a})}var _h=ke(hh,Js).extend({name:"v-data-table",directives:{ripple:Ii},props:{headers:{type:Array,default:()=>[]},showSelect:Boolean,checkboxColor:String,showExpand:Boolean,showGroupBy:Boolean,height:[Number,String],hideDefaultHeader:Boolean,caption:String,dense:Boolean,headerProps:Object,calculateWidths:Boolean,fixedHeader:Boolean,headersLength:Number,expandIcon:{type:String,default:"$expand"},customFilter:{type:Function,default:z},itemClass:{type:[String,Function],default:()=>""},loaderHeight:{type:[Number,String],default:4}},data(){return{internalGroupBy:[],openCache:{},widths:[]}},computed:{computedHeaders(){if(!this.headers)return[];const t=this.headers.filter(t=>void 0===t.value||!this.internalGroupBy.find(e=>e===t.value)),e={text:"",sortable:!1,width:"1px"};if(this.showSelect){const i=t.findIndex(t=>"data-table-select"===t.value);i<0?t.unshift({...e,value:"data-table-select"}):t.splice(i,1,{...e,...t[i]})}if(this.showExpand){const i=t.findIndex(t=>"data-table-expand"===t.value);i<0?t.unshift({...e,value:"data-table-expand"}):t.splice(i,1,{...e,...t[i]})}return t},colspanAttrs(){return this.isMobile?void 0:{colspan:this.headersLength||this.computedHeaders.length}},columnSorters(){return this.computedHeaders.reduce((t,e)=>(e.sort&&(t[e.value]=e.sort),t),{})},headersWithCustomFilters(){return this.headers.filter(t=>t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},headersWithoutCustomFilters(){return this.headers.filter(t=>!t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},sanitizedHeaderProps(){return U(this.headerProps)},computedItemsPerPage(){const t=this.options&&this.options.itemsPerPage?this.options.itemsPerPage:this.itemsPerPage,e=this.sanitizedFooterProps.itemsPerPageOptions;if(e&&!e.find(e=>"number"===typeof e?e===t:e.value===t)){const t=e[0];return"object"===typeof t?t.value:t}return t}},created(){const t=[["sort-icon","header-props.sort-icon"],["hide-headers","hide-default-header"],["select-all","show-select"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&me(t,e,this)})},mounted(){this.calculateWidths&&(window.addEventListener("resize",this.calcWidths),this.calcWidths())},beforeDestroy(){this.calculateWidths&&window.removeEventListener("resize",this.calcWidths)},methods:{calcWidths(){this.widths=Array.from(this.$el.querySelectorAll("th")).map(t=>t.clientWidth)},customFilterWithColumns(t,e){return Sh(t,e,this.headersWithCustomFilters,this.headersWithoutCustomFilters,this.customFilter)},customSortWithHeaders(t,e,i,s){return this.customSort(t,e,i,s,this.columnSorters)},createItemProps(t,e){const i=hh.options.methods.createItemProps.call(this,t,e);return Object.assign(i,{headers:this.computedHeaders})},genCaption(t){return this.caption?[this.$createElement("caption",[this.caption])]:Y(this,"caption",t,!0)},genColgroup(t){return this.$createElement("colgroup",this.computedHeaders.map(t=>this.$createElement("col",{class:{divider:t.divider}})))},genLoading(){const t=this.$createElement("th",{staticClass:"column",attrs:this.colspanAttrs},[this.genProgress()]),e=this.$createElement("tr",{staticClass:"v-data-table__progress"},[t]);return this.$createElement("thead",[e])},genHeaders(t){const e={props:{...this.sanitizedHeaderProps,headers:this.computedHeaders,options:t.options,mobile:this.isMobile,showGroupBy:this.showGroupBy,checkboxColor:this.checkboxColor,someItems:this.someItems,everyItem:this.everyItem,singleSelect:this.singleSelect,disableSort:this.disableSort},on:{sort:t.sort,group:t.group,"toggle-select-all":this.toggleSelectAll}},i=[Y(this,"header",{...e,isMobile:this.isMobile})];if(!this.hideDefaultHeader){const t=j("header.",this.$scopedSlots);i.push(this.$createElement(gh,{...e,scopedSlots:t}))}return this.loading&&i.push(this.genLoading()),i},genEmptyWrapper(t){return this.$createElement("tr",{staticClass:"v-data-table__empty-wrapper"},[this.$createElement("td",{attrs:this.colspanAttrs},t)])},genItems(t,e){const i=this.genEmpty(e.originalItemsLength,e.pagination.itemsLength);return i?[i]:e.groupedItems?this.genGroupedRows(e.groupedItems,e):this.genRows(t,e)},genGroupedRows(t,e){return t.map(t=>(this.openCache.hasOwnProperty(t.name)||this.$set(this.openCache,t.name,!0),this.$scopedSlots.group?this.$scopedSlots.group({group:t.name,options:e.options,isMobile:this.isMobile,items:t.items,headers:this.computedHeaders}):this.genDefaultGroupedRow(t.name,t.items,e)))},genDefaultGroupedRow(t,e,i){const s=!!this.openCache[t],n=[this.$createElement("template",{slot:"row.content"},this.genRows(e,i))],r=()=>this.$set(this.openCache,t,!this.openCache[t]),a=()=>i.updateOptions({groupBy:[],groupDesc:[]});if(this.$scopedSlots["group.header"])n.unshift(this.$createElement("template",{slot:"column.header"},[this.$scopedSlots["group.header"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:r,remove:a})]));else{const e=this.$createElement(Ln,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:r}},[this.$createElement(Je,[s?"$minus":"$plus"])]),o=this.$createElement(Ln,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:a}},[this.$createElement(Je,["$close"])]),l=this.$createElement("td",{staticClass:"text-start",attrs:this.colspanAttrs},[e,`${i.options.groupBy[0]}: ${t}`,o]);n.unshift(this.$createElement("template",{slot:"column.header"},[l]))}return this.$scopedSlots["group.summary"]&&n.push(this.$createElement("template",{slot:"column.summary"},[this.$scopedSlots["group.summary"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:r})])),this.$createElement(yh,{key:t,props:{value:s}},n)},genRows(t,e){return this.$scopedSlots.item?this.genScopedRows(t,e):this.genDefaultRows(t,e)},genScopedRows(t,e){const i=[];for(let s=0;s<t.length;s++){const e=t[s];i.push(this.$scopedSlots.item({...this.createItemProps(e,s),isMobile:this.isMobile})),this.isExpanded(e)&&i.push(this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,index:s,item:e}))}return i},genDefaultRows(t,e){return this.$scopedSlots["expanded-item"]?t.map((t,e)=>this.genDefaultExpandedRow(t,e)):t.map((t,e)=>this.genDefaultSimpleRow(t,e))},genDefaultExpandedRow(t,e){const i=this.isExpanded(t),s={"v-data-table__expanded v-data-table__expanded__row":i},n=this.genDefaultSimpleRow(t,e,s),r=this.$createElement("tr",{staticClass:"v-data-table__expanded v-data-table__expanded__content"},[this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,item:t})]);return this.$createElement(yh,{props:{value:i}},[this.$createElement("template",{slot:"row.header"},[n]),this.$createElement("template",{slot:"row.content"},[r])])},genDefaultSimpleRow(t,e,i={}){const s=j("item.",this.$scopedSlots),n=this.createItemProps(t,e);if(this.showSelect){const e=s["data-table-select"];s["data-table-select"]=e?()=>e({...n,isMobile:this.isMobile}):()=>{var e;return this.$createElement(hs,{staticClass:"v-data-table__checkbox",props:{value:n.isSelected,disabled:!this.isSelectable(t),color:null!=(e=this.checkboxColor)?e:""},on:{input:t=>n.select(t)}})}}if(this.showExpand){const t=s["data-table-expand"];s["data-table-expand"]=t?()=>t(n):()=>this.$createElement(Je,{staticClass:"v-data-table__expand-icon",class:{"v-data-table__expand-icon--active":n.isExpanded},on:{click:t=>{t.stopPropagation(),n.expand(!n.isExpanded)}}},[this.expandIcon])}return this.$createElement(this.isMobile?$h:bh,{key:$(t,this.itemKey),class:We({...i,"v-data-table__selected":n.isSelected},C(t,this.itemClass)),props:{headers:this.computedHeaders,hideDefaultHeader:this.hideDefaultHeader,index:e,item:t,rtl:this.$vuetify.rtl},scopedSlots:s,on:{click:()=>this.$emit("click:row",t,n),contextmenu:t=>this.$emit("contextmenu:row",t,n),dblclick:t=>this.$emit("dblclick:row",t,n)}})},genBody(t){const e={...t,expand:this.expand,headers:this.computedHeaders,isExpanded:this.isExpanded,isMobile:this.isMobile,isSelected:this.isSelected,select:this.select};return this.$scopedSlots.body?this.$scopedSlots.body(e):this.$createElement("tbody",[Y(this,"body.prepend",e,!0),this.genItems(t.items,t),Y(this,"body.append",e,!0)])},genFoot(t){var e,i;return null==(e=(i=this.$scopedSlots).foot)?void 0:e.call(i,t)},genFooters(t){const e={props:{options:t.options,pagination:t.pagination,itemsPerPageText:"$vuetify.dataTable.itemsPerPageText",...this.sanitizedFooterProps},on:{"update:options":e=>t.updateOptions(e)},widths:this.widths,headers:this.computedHeaders},i=[Y(this,"footer",e,!0)];return this.hideDefaultFooter||i.push(this.$createElement(ch,{...e,scopedSlots:j("footer.",this.$scopedSlots)})),i},genDefaultScopedSlot(t){const e={height:this.height,fixedHeader:this.fixedHeader,dense:this.dense};return this.$createElement(xh,{props:e,class:{"v-data-table--mobile":this.isMobile}},[this.proxySlot("top",Y(this,"top",{...t,isMobile:this.isMobile},!0)),this.genCaption(t),this.genColgroup(t),this.genHeaders(t),this.genBody(t),this.genFoot(t),this.proxySlot("bottom",this.genFooters(t))])},proxySlot(t,e){return this.$createElement("template",{slot:t},e)}},render(){return this.$createElement(lh,{props:{...this.$props,customFilter:this.customFilterWithColumns,customSort:this.customSortWithHeaders,itemsPerPage:this.computedItemsPerPage},on:{"update:options":(t,e)=>{this.internalGroupBy=t.groupBy||[],!x(t,e)&&this.$emit("update:options",t)},"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!x(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),wh=c.a.extend({name:"farm-select-modal-options",components:{VTextField:oh,VCol:Jn,VMain:pl,VDataTable:_h,VDialog:dl,DialogHeader:_a,DialogFooter:Ta,DataTableEmptyWrapper:Me,DataTablePaginator:pn},props:{label:{type:String,required:!0},inputId:{type:String,required:!0},selectIdentifier:{type:String,default:"id"},itemLabelFormatter:{default:"name"},items:{type:Array,default:()=>[]},loadFn:{type:Function,default:()=>{}},loadingRequestStatus:{default:"IDLE"},modalTitle:{type:String,default:"Selecione um item"},config:{default:()=>({md:2,required:!1})},placeholder:{type:String,default:"Pesquise"},value:{required:!0}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},isLoading(){return"START"===this.loadingRequestStatus},selectedValueText:{get(){return this.selectedItem?this.getItemLabel(this.selectedItem):""}},totalPages(){return void 0!==this.items?Math.ceil(this.items.length/10):0}},data(){return{selectedValue:{},showModal:!1,selectedItem:null,searchValue:"",headers:[{text:"Label",sortable:!1,value:"label",align:"left"}],pagination:{page:1,itemsPerPage:10,pages:0}}},watch:{value(t){t&&void 0!==t||(this.selectedItem=null)},items(t){this.pagination.pages=Math.ceil(t.length/10)}},mounted(){this.selectedItem={[this.itemLabelFormatter]:this.value}},methods:{handlePagination(t){1===t.page&&t.itemsLength!==this.pagination.pages&&(this.pagination.pages=Math.ceil(t.itemsLength/10))},openModal(){this.loadFn(),this.showModal=!0},closeModal(){this.showModal=!1},onChangePage(t){this.pagination.page=t},getItemLabel(t){return"function"===typeof this.itemLabelFormatter?this.itemLabelFormatter(t):t[this.itemLabelFormatter]},handleClick(t){this.inputVal=t[this.selectIdentifier],this.showModal=!1,this.selectedItem=t},customFilter(t,e,i){const s=this.getItemLabel(i);return s.toLowerCase().includes(e.toLowerCase())},clearTextField(t){"Delete"!==t.key&&"Backspace"!==t.key||(this.selectedItem=null)}}}),kh=wh,Ih=(i("4e5d"),Ee(kh,rh,ah,!1,null,"5a2da9ca",null)),Lh=Ih.exports,Bh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-chip",{class:`status-chip ${t.isFull?"status-chip--fullwidth":""} status-chip-${t.color} status-chip--onboarding`,attrs:{small:""}},[e("span",{class:t.textColor+"--text"},[t._v(" "+t._s(t.label)+" ")])])},Ah=[];const Th={10:"CONVIDAR",11:"CONVIDADO",12:"INCOMPLETO",13:"CONCLUÍDO",14:"FALHA/ERRO",15:"EM ANÁLISE",16:"EM ANDAMENTO",17:"EM ESPERA",18:"DECLINADO"},Oh={10:"secondary",11:"yellow",12:"yellow",13:"success",14:"error",15:"accent",16:"primary",17:"on-wait",18:"error"};var Eh=c.a.extend({name:"farm-chip-invite",components:{VChip:Ai},props:{status:{type:Number,default:10},isFull:{type:Boolean,default:!0}},computed:{textColor(){return 10===this.status||16===this.status||17===this.status?"":Oh[this.status]},color(){return this.status?Oh[this.status]:""},label(){return Th[this.status]}}}),Ph=Eh,Dh=(i("2eae"),Ee(Ph,Bh,Ah,!1,null,"5394a06e",null)),Mh=Dh.exports,Vh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"logger"},[t._l(t.items,(function(i,s){return[e("LoggerItem",{key:s,attrs:{item:i}}),t.hasDivider(s)?e("div",{key:"divider_"+s,staticClass:"logger__divider",class:{"logger__divider--success":t.isPreviousLogAndCurrentLogSuccess(s),"logger__divider--error":t.isPreviousLogAndCurrentLogError(s),"logger__divider--success-to-error":t.isPreviousLogErrorAndCurrentLogSuccess(s),"logger__divider--error-to-success":t.isPreviousLogSuccessAndCurrentLogError(s)}}):t._e()]}))],2)},Fh=[],Nh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"logger__item",class:{"logger__item--error":"error"===t.item.status,"logger__item--success":"success"===t.item.status}},[e("farm-icon",[t._v(t._s(t.mdiIconName))]),e("div",[e("span",{staticClass:"logger__date"},[t._v(" "+t._s(t.item.formattedDate)+" ")]),e("span",{staticClass:"logger__message"},[t._v(" "+t._s(t.item.message)+" ")]),e("span",{staticClass:"logger__username"},[e("i",{staticClass:"mdi mdi-account-circle"}),t._v(" "+t._s(t.item.userName)+" ")])])],1)},zh=[],Rh=c.a.extend({name:"farm-logger-item",components:{"farm-icon":$r},props:{item:{required:!0,type:Object}},computed:{mdiIconName(){return this.item.icon?""+this.item.icon:this.item.status?""+("success"===this.item.status?"check":"close"):""}}}),Hh=Rh,Wh=(i("4ccd"),Ee(Hh,Nh,zh,!1,null,"69348465",null)),jh=Wh.exports,Yh=jh,qh=c.a.extend({name:"farm-logger",components:{LoggerItem:Yh},props:{items:{required:!0,type:Array}},methods:{hasDivider(t){return t<this.items.length-1},isPreviousLogAndCurrentLogError(t){return this.isError(t)&&this.isError(t+1)},isPreviousLogAndCurrentLogSuccess(t){return this.isSuccess(t)&&this.isSuccess(t+1)},isPreviousLogErrorAndCurrentLogSuccess(t){return this.isSuccess(t)&&this.isError(t+1)},isPreviousLogSuccessAndCurrentLogError(t){return this.isError(t)&&this.isSuccess(t+1)},isError(t){return"error"===this.items[t].status},isSuccess(t){return"success"===this.items[t].status}}}),Uh=qh,Zh=(i("f066"),Ee(Uh,Vh,Fh,!1,null,"17c87b5f",null)),Xh=Zh.exports,Kh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.classes,style:t.containerStyle},[e("div",{style:t.valueStyle})])},Gh=[],Qh=c.a.extend({name:"farm-progressbar",props:{backgroundColor:{type:String,default:"secondary"},valueColor:{type:String,default:"error"},value:{type:Number,required:!0}},computed:{classes(){const t={};return this.backgroundColor.startsWith("#")||(t["farm-progressbar--"+this.backgroundColor]=!0),this.valueColor.startsWith("#")||(t["farm-progressbar--value-"+this.valueColor]=!0),{"farm-progressbar":!0,...t}},valueStyle(){const t={width:this.value+"%"};return this.valueColor.startsWith("#")&&(t["background-color"]=this.valueColor),t},containerStyle(){const t={};return this.backgroundColor.startsWith("#")&&(t["background-color"]=this.backgroundColor),t}}}),Jh=Qh,tu=(i("103a"),Ee(Jh,Kh,Gh,!1,null,"f0377c2a",null)),eu=tu.exports,iu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"horizontal-step-size"},[e("section",{class:{stepper__header:!0,"stepper__header--vertical":t.vertical}},[t._l(t.steps,(function(i,s){return[e("div",{key:i.label,class:{"stepper__header-step":!0,"stepper__header-step--current":t.isStepCurrent(s),"stepper__header-step--previous":t.isStepPrevious(s),"stepper__header-step--error":t.isStepError(s),"stepper__header-step--next":t.isStepNext(s)}},[i.icon?e("farm-icon",[t._v(" "+t._s(i.icon)+" ")]):e("span",{staticClass:"farm-icon__number"},[t._v(" "+t._s(s+1)+" ")]),e("span",[t._v(" "+t._s(i.label)+" ")])],1),t.hasDivider(s)?e("div",{key:"divider_"+i.label,class:{"stepper__divider--horizontal":!t.vertical,"stepper__divider--vertical":t.vertical,"stepper__divider--previous":t.isStepPrevious(s),"stepper__divider--previous-to-current":t.isStepPreviousToCurrent(s),"stepper__divider--previous-to-error":t.isStepPreviousToError(s),"stepper__divider--error-to-next":t.isStepErrorToNext(s),"stepper__divider--current-to-next":t.isStepCurrentToNext(s)}}):t._e()]}))],2)])},su=[],nu=c.a.extend({name:"farm-stepper-header",components:{"farm-icon":$r},props:{steps:Array,vertical:{type:Boolean,default:!1},currentStep:{type:Number},errorCurrentStepStatus:{type:Boolean,default:!1}},methods:{isStepCurrent(t){return this.currentStep===t+1},isStepPrevious(t){return this.currentStep>t+1},isStepError(t){return this.currentStep===t+1&&this.errorCurrentStepStatus},hasDivider(t){return t<this.steps.length-1},isStepPreviousToCurrent(t){return t+2==this.currentStep&&this.isStepCurrent(t+1)&&!this.isStepError(t+1)},isStepPreviousToError(t){return t+2==this.currentStep&&this.isStepCurrent(t+1)&&this.isStepError(t+1)},isStepNext(t){return t+1>this.currentStep},isStepErrorToNext(t){return this.errorCurrentStepStatus&&t+1===this.currentStep},isStepCurrentToNext(t){return!this.errorCurrentStepStatus&&t+1===this.currentStep}}}),ru=nu,au=(i("bc48"),Ee(ru,iu,su,!1,null,"d74a8f2c",null)),ou=au.exports,lu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-switch",attrs:{role:"checkbox"},on:{click:t.toggle,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.toggle.apply(null,arguments))}}},[e("span",{staticClass:"farm-switch__background",class:t.backgroundStyles}),e("span",{staticClass:"farm-switch__indicator",style:t.indicatorStyles})])},cu=[],hu=c.a.extend({name:"farm-switcher",props:{value:{type:Boolean,required:!0}},computed:{backgroundStyles(){return{"farm-switch--selected":this.value,"farm-switch--idle":!this.value}},indicatorStyles(){return{transform:this.value?"translateX(16px)":"translateX(0)"}}},methods:{toggle(){this.$emit("input",!this.value)}}}),uu=hu,du=(i("bd8c"),Ee(uu,lu,cu,!1,null,"3c5b60f1",null)),pu=du.exports},fc6a:function(t,e,i){var s=i("44ad"),n=i("1d80");t.exports=function(t){return s(n(t))}},fdbf:function(t,e,i){var s=i("4930");t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fed6:function(t,e,i){"use strict";i("3f00")}})}));
1
+ (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["front-mfe-components"]=e(require("vue")):t["front-mfe-components"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(s,n,function(e){return t[e]}.bind(null,n));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fae3")}({"0042":function(t,e,i){"use strict";i("f58f")},"02f0":function(t,e,i){},"05f4":function(t,e,i){},"06cf":function(t,e,i){var s=i("83ab"),n=i("c65b"),r=i("d1e7"),a=i("5c6c"),o=i("fc6a"),l=i("a04b"),c=i("1a2d"),h=i("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=s?u:function(t,e){if(t=o(t),e=l(e),h)try{return u(t,e)}catch(i){}if(c(t,e))return a(!n(r.f,t,e),t[e])}},"07fa":function(t,e,i){var s=i("50c4");t.exports=function(t){return s(t.length)}},"08c9":function(t,e,i){"use strict";i("1713")},"0bc6":function(t,e,i){},"0c18":function(t,e,i){},"0c96":function(t,e,i){},"0cfb":function(t,e,i){var s=i("83ab"),n=i("d039"),r=i("cc12");t.exports=!s&&!n((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e){var i=String;t.exports=function(t){try{return i(t)}catch(e){return"Object"}}},"103a":function(t,e,i){"use strict";i("cdeb")},"121f":function(t,e,i){"use strict";i("59f2")},1266:function(t,e,i){},"13b3":function(t,e,i){},"13d2":function(t,e,i){var s=i("d039"),n=i("1626"),r=i("1a2d"),a=i("83ab"),o=i("5e77").CONFIGURABLE,l=i("8925"),c=i("69f3"),h=c.enforce,u=c.get,d=Object.defineProperty,p=a&&!s((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),f=t.exports=function(t,e,i){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!r(t,"name")||o&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),p&&i&&r(i,"arity")&&t.length!==i.arity&&d(t,"length",{value:i.arity});try{i&&r(i,"constructor")&&i.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(n){}var s=h(t);return r(s,"source")||(s.source=m.join("string"==typeof e?e:"")),t};Function.prototype.toString=f((function(){return n(this)&&u(this).source||l(this)}),"toString")},"150b":function(t,e,i){"use strict";i("c649")},"151b":function(t,e,i){},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"166a":function(t,e,i){},1713:function(t,e,i){},"17b3":function(t,e,i){},"19c3":function(t,e,i){},"1a2d":function(t,e,i){var s=i("e330"),n=i("7b0b"),r=s({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(n(t),e)}},"1b2c":function(t,e,i){},"1be4":function(t,e,i){var s=i("d066");t.exports=s("document","documentElement")},"1bfb":function(t,e,i){},"1c18":function(t,e,i){},"1d80":function(t,e){var i=TypeError;t.exports=function(t){if(void 0==t)throw i("Can't call method on "+t);return t}},2102:function(t,e,i){},"23cb":function(t,e,i){var s=i("5926"),n=Math.max,r=Math.min;t.exports=function(t,e){var i=s(t);return i<0?n(i+e,0):r(i,e)}},"23e7":function(t,e,i){var s=i("da84"),n=i("06cf").f,r=i("9112"),a=i("cb2d"),o=i("6374"),l=i("e893"),c=i("94ca");t.exports=function(t,e){var i,h,u,d,p,m,f=t.target,g=t.global,v=t.stat;if(h=g?s:v?s[f]||o(f,{}):(s[f]||{}).prototype,h)for(u in e){if(p=e[u],t.dontCallGetSet?(m=n(h,u),d=m&&m.value):d=h[u],i=c(g?u:f+(v?".":"#")+u,t.forced),!i&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(t.sham||d&&d.sham)&&r(p,"sham",!0),a(h,u,p,t)}}},"240e":function(t,e,i){},"241c":function(t,e,i){var s=i("ca84"),n=i("7839"),r=n.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return s(t,r)}},"242e":function(t,e,i){"use strict";i("7f88")},"25a8":function(t,e,i){},"2d00":function(t,e,i){var s,n,r=i("da84"),a=i("342f"),o=r.process,l=r.Deno,c=o&&o.versions||l&&l.version,h=c&&c.v8;h&&(s=h.split("."),n=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!n&&a&&(s=a.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=a.match(/Chrome\/(\d+)/),s&&(n=+s[1]))),t.exports=n},"2e45":function(t,e,i){"use strict";i("0c96")},"2eae":function(t,e,i){"use strict";i("3a97")},3408:function(t,e,i){},"342f":function(t,e,i){var s=i("d066");t.exports=s("navigator","userAgent")||""},"368e":function(t,e,i){},"37e8":function(t,e,i){var s=i("83ab"),n=i("aed9"),r=i("9bf2"),a=i("825a"),o=i("fc6a"),l=i("df75");e.f=s&&!n?Object.defineProperties:function(t,e){a(t);var i,s=o(e),n=l(e),c=n.length,h=0;while(c>h)r.f(t,i=n[h++],s[i]);return t}},"39b1":function(t,e,i){"use strict";i("3d48")},"39da":function(t,e,i){"use strict";i("240e")},"3a97":function(t,e,i){},"3a9b":function(t,e,i){var s=i("e330");t.exports=s({}.isPrototypeOf)},"3ad0":function(t,e,i){},"3c93":function(t,e,i){},"3d11":function(t,e,i){"use strict";i("8df9")},"3d48":function(t,e,i){},"3f00":function(t,e,i){},4088:function(t,e,i){},"40d5":function(t,e,i){var s=i("d039");t.exports=!s((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"426a":function(t,e,i){"use strict";i("4838")},"44ad":function(t,e,i){var s=i("e330"),n=i("d039"),r=i("c6b6"),a=Object,o=s("".split);t.exports=n((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o(t,""):a(t)}:a},"44d2":function(t,e,i){var s=i("b622"),n=i("7c73"),r=i("9bf2").f,a=s("unscopables"),o=Array.prototype;void 0==o[a]&&r(o,a,{configurable:!0,value:n(null)}),t.exports=function(t){o[a][t]=!0}},4804:function(t,e,i){},4838:function(t,e,i){},"485a":function(t,e,i){var s=i("c65b"),n=i("1626"),r=i("861d"),a=TypeError;t.exports=function(t,e){var i,o;if("string"===e&&n(i=t.toString)&&!r(o=s(i,t)))return o;if(n(i=t.valueOf)&&!r(o=s(i,t)))return o;if("string"!==e&&n(i=t.toString)&&!r(o=s(i,t)))return o;throw a("Can't convert object to primitive value")}},4884:function(t,e,i){},4930:function(t,e,i){var s=i("2d00"),n=i("d039");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&s&&s<41}))},"495d":function(t,e,i){},"4b85":function(t,e,i){},"4c47":function(t,e,i){},"4ccd":function(t,e,i){"use strict";i("cb3a")},"4d64":function(t,e,i){var s=i("fc6a"),n=i("23cb"),r=i("07fa"),a=function(t){return function(e,i,a){var o,l=s(e),c=r(l),h=n(a,c);if(t&&i!=i){while(c>h)if(o=l[h++],o!=o)return!0}else for(;c>h;h++)if((t||h in l)&&l[h]===i)return t||h||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4e5d":function(t,e,i){"use strict";i("5027")},"4ff9":function(t,e,i){},5027:function(t,e,i){},"50c4":function(t,e,i){var s=i("5926"),n=Math.min;t.exports=function(t){return t>0?n(s(t),9007199254740991):0}},"561d":function(t,e,i){},5692:function(t,e,i){var s=i("c430"),n=i("c6cd");(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.5",mode:s?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.5/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(t,e,i){var s=i("d066"),n=i("e330"),r=i("241c"),a=i("7418"),o=i("825a"),l=n([].concat);t.exports=s("Reflect","ownKeys")||function(t){var e=r.f(o(t)),i=a.f;return i?l(e,i(t)):e}},5726:function(t,e,i){},5926:function(t,e,i){var s=i("b42e");t.exports=function(t){var e=+t;return e!==e||0===e?0:s(e)}},"59da":function(t,e,i){},"59ed":function(t,e,i){var s=i("1626"),n=i("0d51"),r=TypeError;t.exports=function(t){if(s(t))return t;throw r(n(t)+" is not a function")}},"59f2":function(t,e,i){},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5cb9":function(t,e,i){"use strict";i("4884")},"5e77":function(t,e,i){var s=i("83ab"),n=i("1a2d"),r=Function.prototype,a=s&&Object.getOwnPropertyDescriptor,o=n(r,"name"),l=o&&"something"===function(){}.name,c=o&&(!s||s&&a(r,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c}},"608c":function(t,e,i){},"615b":function(t,e,i){},"61d2":function(t,e,i){},6374:function(t,e,i){var s=i("da84"),n=Object.defineProperty;t.exports=function(t,e){try{n(s,t,{value:e,configurable:!0,writable:!0})}catch(i){s[t]=e}return e}},"68dd":function(t,e,i){},"69f3":function(t,e,i){var s,n,r,a=i("7f9a"),o=i("da84"),l=i("e330"),c=i("861d"),h=i("9112"),u=i("1a2d"),d=i("c6cd"),p=i("f772"),m=i("d012"),f="Object already initialized",g=o.TypeError,v=o.WeakMap,b=function(t){return r(t)?n(t):s(t,{})},y=function(t){return function(e){var i;if(!c(e)||(i=n(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return i}};if(a||d.state){var x=d.state||(d.state=new v),$=l(x.get),C=l(x.has),S=l(x.set);s=function(t,e){if(C(x,t))throw new g(f);return e.facade=t,S(x,t,e),e},n=function(t){return $(x,t)||{}},r=function(t){return C(x,t)}}else{var _=p("state");m[_]=!0,s=function(t,e){if(u(t,_))throw new g(f);return e.facade=t,h(t,_,e),e},n=function(t){return u(t,_)?t[_]:{}},r=function(t){return u(t,_)}}t.exports={set:s,get:n,has:r,enforce:b,getterFor:y}},"6ece":function(t,e,i){},"72a6":function(t,e,i){"use strict";i("acdb")},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7435:function(t,e,i){},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a5c":function(t,e,i){"use strict";i("19c3")},"7b0b":function(t,e,i){var s=i("1d80"),n=Object;t.exports=function(t){return n(s(t))}},"7c73":function(t,e,i){var s,n=i("825a"),r=i("37e8"),a=i("7839"),o=i("d012"),l=i("1be4"),c=i("cc12"),h=i("f772"),u=">",d="<",p="prototype",m="script",f=h("IE_PROTO"),g=function(){},v=function(t){return d+m+u+t+d+"/"+m+u},b=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=c("iframe"),i="java"+m+":";return e.style.display="none",l.appendChild(e),e.src=String(i),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},x=function(){try{s=new ActiveXObject("htmlfile")}catch(e){}x="undefined"!=typeof document?document.domain&&s?b(s):y():b(s);var t=a.length;while(t--)delete x[p][a[t]];return x()};o[f]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(g[p]=n(t),i=new g,g[p]=null,i[f]=t):i=x(),void 0===e?i:r.f(i,e)}},"7f88":function(t,e,i){},"7f9a":function(t,e,i){var s=i("da84"),n=i("1626"),r=i("8925"),a=s.WeakMap;t.exports=n(a)&&/native code/.test(r(a))},"825a":function(t,e,i){var s=i("861d"),n=String,r=TypeError;t.exports=function(t){if(s(t))return t;throw r(n(t)+" is not an object")}},"83ab":function(t,e,i){var s=i("d039");t.exports=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e,i){var s=i("1626");t.exports=function(t){return"object"==typeof t?null!==t:s(t)}},"86cc":function(t,e,i){},8925:function(t,e,i){var s=i("e330"),n=i("1626"),r=i("c6cd"),a=s(Function.toString);n(r.inspectSource)||(r.inspectSource=function(t){return a(t)}),t.exports=r.inspectSource},"899c":function(t,e,i){},"8adc":function(t,e,i){},"8b37":function(t,e,i){},"8bbf":function(e,i){e.exports=t},"8ce9":function(t,e,i){},"8d4f":function(t,e,i){},"8df9":function(t,e,i){},"8e74":function(t,e,i){"use strict";i("982a")},"8ff2":function(t,e,i){},"90e3":function(t,e,i){var s=i("e330"),n=0,r=Math.random(),a=s(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++n+r,36)}},9112:function(t,e,i){var s=i("83ab"),n=i("9bf2"),r=i("5c6c");t.exports=s?function(t,e,i){return n.f(t,e,r(1,i))}:function(t,e,i){return t[e]=i,t}},"91f4":function(t,e,i){},"94ca":function(t,e,i){var s=i("d039"),n=i("1626"),r=/#|\.prototype\./,a=function(t,e){var i=l[o(t)];return i==h||i!=c&&(n(e)?s(e):!!e)},o=a.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",h=a.POLYFILL="P";t.exports=a},"95ed":function(t,e,i){},"96c7":function(t,e,i){"use strict";i("ab22")},"982a":function(t,e,i){},"9a42":function(t,e,i){},"9af0":function(t,e,i){"use strict";i("f33a")},"9bf2":function(t,e,i){var s=i("83ab"),n=i("0cfb"),r=i("aed9"),a=i("825a"),o=i("a04b"),l=TypeError,c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,u="enumerable",d="configurable",p="writable";e.f=s?r?function(t,e,i){if(a(t),e=o(e),a(i),"function"===typeof t&&"prototype"===e&&"value"in i&&p in i&&!i[p]){var s=h(t,e);s&&s[p]&&(t[e]=i.value,i={configurable:d in i?i[d]:s[d],enumerable:u in i?i[u]:s[u],writable:!1})}return c(t,e,i)}:c:function(t,e,i){if(a(t),e=o(e),a(i),n)try{return c(t,e,i)}catch(s){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},a04b:function(t,e,i){var s=i("c04e"),n=i("d9b5");t.exports=function(t){var e=s(t,"string");return n(e)?e:e+""}},a140:function(t,e,i){"use strict";i("c4b8")},ab22:function(t,e,i){},ab93:function(t,e,i){"use strict";i("151b")},ac99:function(t,e,i){"use strict";i("59da")},acdb:function(t,e,i){},aed9:function(t,e,i){var s=i("83ab"),n=i("d039");t.exports=s&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b157:function(t,e,i){"use strict";i("561d")},b42e:function(t,e){var i=Math.ceil,s=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?s:i)(e)}},b510:function(t,e,i){"use strict";i("1c18")},b622:function(t,e,i){var s=i("da84"),n=i("5692"),r=i("1a2d"),a=i("90e3"),o=i("4930"),l=i("fdbf"),c=n("wks"),h=s.Symbol,u=h&&h["for"],d=l?h:h&&h.withoutSetter||a;t.exports=function(t){if(!r(c,t)||!o&&"string"!=typeof c[t]){var e="Symbol."+t;o&&r(h,t)?c[t]=h[t]:c[t]=l&&u?u(e):d(e)}return c[t]}},bc48:function(t,e,i){"use strict";i("c114")},bd0c:function(t,e,i){},bd8c:function(t,e,i){"use strict";i("9a42")},bfdf:function(t,e,i){},c04e:function(t,e,i){var s=i("c65b"),n=i("861d"),r=i("d9b5"),a=i("dc4a"),o=i("485a"),l=i("b622"),c=TypeError,h=l("toPrimitive");t.exports=function(t,e){if(!n(t)||r(t))return t;var i,l=a(t,h);if(l){if(void 0===e&&(e="default"),i=s(l,t,e),!n(i)||r(i))return i;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),o(t,e)}},c114:function(t,e,i){},c430:function(t,e){t.exports=!1},c4b8:function(t,e,i){},c649:function(t,e,i){},c65b:function(t,e,i){var s=i("40d5"),n=Function.prototype.call;t.exports=s?n.bind(n):function(){return n.apply(n,arguments)}},c6b6:function(t,e,i){var s=i("e330"),n=s({}.toString),r=s("".slice);t.exports=function(t){return r(n(t),8,-1)}},c6cd:function(t,e,i){var s=i("da84"),n=i("6374"),r="__core-js_shared__",a=s[r]||n(r,{});t.exports=a},c8ba:function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(s){"object"===typeof window&&(i=window)}t.exports=i},c982:function(t,e,i){},ca84:function(t,e,i){var s=i("e330"),n=i("1a2d"),r=i("fc6a"),a=i("4d64").indexOf,o=i("d012"),l=s([].push);t.exports=function(t,e){var i,s=r(t),c=0,h=[];for(i in s)!n(o,i)&&n(s,i)&&l(h,i);while(e.length>c)n(s,i=e[c++])&&(~a(h,i)||l(h,i));return h}},caad:function(t,e,i){"use strict";var s=i("23e7"),n=i("4d64").includes,r=i("d039"),a=i("44d2"),o=r((function(){return!Array(1).includes()}));s({target:"Array",proto:!0,forced:o},{includes:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cb03:function(t,e,i){"use strict";i("5726")},cb2d:function(t,e,i){var s=i("1626"),n=i("9bf2"),r=i("13d2"),a=i("6374");t.exports=function(t,e,i,o){o||(o={});var l=o.enumerable,c=void 0!==o.name?o.name:e;if(s(i)&&r(i,c,o),o.global)l?t[e]=i:a(e,i);else{try{o.unsafe?t[e]&&(l=!0):delete t[e]}catch(h){}l?t[e]=i:n.f(t,e,{value:i,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return t}},cb3a:function(t,e,i){},cc12:function(t,e,i){var s=i("da84"),n=i("861d"),r=s.document,a=n(r)&&n(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},cdeb:function(t,e,i){},cf36:function(t,e,i){},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,i){var s=i("da84"),n=i("1626"),r=function(t){return n(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?r(s[t]):s[t]&&s[t][e]}},d191:function(t,e,i){},d1e7:function(t,e,i){"use strict";var s={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!s.call({1:2},1);e.f=r?function(t){var e=n(this,t);return!!e&&e.enumerable}:s},d5b1:function(t,e,i){"use strict";i("bfdf")},d951:function(t,e,i){},d9b5:function(t,e,i){var s=i("d066"),n=i("1626"),r=i("3a9b"),a=i("fdbf"),o=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=s("Symbol");return n(e)&&r(e.prototype,o(t))}},da84:function(t,e,i){(function(e){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,i("c8ba"))},db42:function(t,e,i){},dc4a:function(t,e,i){var s=i("59ed");t.exports=function(t,e){var i=t[e];return null==i?void 0:s(i)}},df75:function(t,e,i){var s=i("ca84"),n=i("7839");t.exports=Object.keys||function(t){return s(t,n)}},e139:function(t,e,i){"use strict";i("1266")},e330:function(t,e,i){var s=i("40d5"),n=Function.prototype,r=n.bind,a=n.call,o=s&&r.bind(a,a);t.exports=s?function(t){return t&&o(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},e53c:function(t,e,i){},e893:function(t,e,i){var s=i("1a2d"),n=i("56ef"),r=i("06cf"),a=i("9bf2");t.exports=function(t,e,i){for(var o=n(e),l=a.f,c=r.f,h=0;h<o.length;h++){var u=o[h];s(t,u)||i&&s(i,u)||l(t,u,c(e,u))}}},e9b1:function(t,e,i){},eb72:function(t,e,i){"use strict";i("05f4")},ee6f:function(t,e,i){},f066:function(t,e,i){"use strict";i("4088")},f261:function(t,e,i){"use strict";i("4c47")},f33a:function(t,e,i){},f58f:function(t,e,i){},f772:function(t,e,i){var s=i("5692"),n=i("90e3"),r=s("keys");t.exports=function(t){return r[t]||(r[t]=n(t))}},f823:function(t,e,i){},fae3:function(t,e,i){"use strict";i.r(e),i.d(e,"DataTableEmptyWrapper",(function(){return Me})),i.d(e,"DataTablePaginator",(function(){return pn})),i.d(e,"DataTableHeader",(function(){return xn})),i.d(e,"MainFilter",(function(){return kr})),i.d(e,"Loader",(function(){return Pr})),i.d(e,"FilePicker",(function(){return Rr})),i.d(e,"Tabs",(function(){return va})),i.d(e,"DialogHeader",(function(){return _a})),i.d(e,"DialogFooter",(function(){return Ta})),i.d(e,"AlertReload",(function(){return ur})),i.d(e,"DefaultTextField",(function(){return Qa})),i.d(e,"RangeDatePicker",(function(){return Fo})),i.d(e,"DatePicker",(function(){return Yo})),i.d(e,"ManagersList",(function(){return Qo})),i.d(e,"PromptUserToConfirm",(function(){return al})),i.d(e,"TableContextMenu",(function(){return wl})),i.d(e,"ModalPromptUser",(function(){return bl})),i.d(e,"DefaultButton",(function(){return ar})),i.d(e,"IconBox",(function(){return Ol})),i.d(e,"CardContext",(function(){return Nl})),i.d(e,"Collapsible",(function(){return ql})),i.d(e,"DangerButton",(function(){return Ql})),i.d(e,"ConfirmButton",(function(){return nc})),i.d(e,"ExportButton",(function(){return hc})),i.d(e,"ImportButton",(function(){return gc})),i.d(e,"ToggleButton",(function(){return Cc})),i.d(e,"RemoveButton",(function(){return Lc})),i.d(e,"MultiImportButton",(function(){return Pc})),i.d(e,"ProductLogo",(function(){return zc})),i.d(e,"OriginatorLogo",(function(){return qc})),i.d(e,"ResetTableRowSelection",(function(){return Qc})),i.d(e,"MultipleSelectShortener",(function(){return nh})),i.d(e,"SelectModalOptions",(function(){return Lh})),i.d(e,"ChipInviteStatus",(function(){return Mh})),i.d(e,"Label",(function(){return Na})),i.d(e,"Logger",(function(){return Xh})),i.d(e,"LoggerItem",(function(){return jh})),i.d(e,"Icon",(function(){return xr})),i.d(e,"ProgressBar",(function(){return eu})),i.d(e,"StepperHeader",(function(){return ou})),i.d(e,"Switcher",(function(){return pu})),i.d(e,"TextField",(function(){return qa}));var s={};if(i.r(s),i.d(s,"linear",(function(){return et})),i.d(s,"easeInQuad",(function(){return it})),i.d(s,"easeOutQuad",(function(){return st})),i.d(s,"easeInOutQuad",(function(){return nt})),i.d(s,"easeInCubic",(function(){return rt})),i.d(s,"easeOutCubic",(function(){return at})),i.d(s,"easeInOutCubic",(function(){return ot})),i.d(s,"easeInQuart",(function(){return lt})),i.d(s,"easeOutQuart",(function(){return ct})),i.d(s,"easeInOutQuart",(function(){return ht})),i.d(s,"easeInQuint",(function(){return ut})),i.d(s,"easeOutQuint",(function(){return dt})),i.d(s,"easeInOutQuint",(function(){return pt})),"undefined"!==typeof window){var n=window.document.currentScript,r=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(i.p=r[1])}var a=function(){var t=this,e=t._self._c;return e("div",{attrs:{align:"center"}},[e("v-icon",[t._v("mdi-magnify")]),e("p",[t._v(t._s(t.title))]),e("p",[t._v(t._s(t.subtitle))])],1)},o=[],l=(i("4804"),i("8bbf")),c=i.n(l);function h(t){return function(e,i){for(const s in i)Object.prototype.hasOwnProperty.call(e,s)||this.$delete(this.$data[t],s);for(const s in e)this.$set(this.$data[t],s,e[s])}}var u=c.a.extend({data:()=>({attrs$:{},listeners$:{}}),created(){this.$watch("$attrs",h("attrs$"),{immediate:!0}),this.$watch("$listeners",h("listeners$"),{immediate:!0})}});function d(t,e={}){if(d.installed)return;d.installed=!0,c.a!==t&&de("Multiple instances of Vue detected\nSee https://github.com/vuetifyjs/vuetify/issues/4068\n\nIf you're seeing \"$attrs is readonly\", it's caused by this");const i=e.components||{},s=e.directives||{};for(const n in s){const e=s[n];t.directive(n,e)}(function e(i){if(i){for(const s in i){const n=i[s];n&&!e(n.$_vuetify_subcomponents)&&t.component(s,n)}return!0}return!1})(i),t.$_vuetify_installed||(t.$_vuetify_installed=!0,t.mixin({beforeCreate(){const e=this.$options;e.vuetify?(e.vuetify.init(this,this.$ssrContext),this.$vuetify=t.observable(e.vuetify.framework)):this.$vuetify=e.parent&&e.parent.$vuetify||this},beforeMount(){this.$options.vuetify&&this.$el&&this.$el.hasAttribute("data-server-rendered")&&(this.$vuetify.isHydrating=!0,this.$vuetify.breakpoint.update(!0))},mounted(){this.$options.vuetify&&this.$vuetify.isHydrating&&(this.$vuetify.isHydrating=!1,this.$vuetify.breakpoint.update())}}))}i("95ed");var p={badge:"Badge",close:"Close",dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},datePicker:{itemsSelected:"{0} selected",nextMonthAriaLabel:"Next month",nextYearAriaLabel:"Next year",prevMonthAriaLabel:"Previous month",prevYearAriaLabel:"Previous year"},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Goto Page {0}",currentPage:"Current Page, Page {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}}};const m={breakpoint:{mobileBreakpoint:1264,scrollBarWidth:16,thresholds:{xs:600,sm:960,md:1280,lg:1920}},icons:{iconfont:"mdi",values:{}},lang:{current:"en",locales:{en:p},t:void 0},rtl:!1,theme:{dark:!1,default:"light",disable:!1,options:{cspNonce:void 0,customProperties:void 0,minifyTheme:void 0,themeCache:void 0,variations:!0},themes:{light:{primary:"#1976D2",secondary:"#424242",accent:"#82B1FF",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},dark:{primary:"#2196F3",secondary:"#424242",accent:"#FF4081",error:"#FF5252",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"}}}};function f(t,e="div",i){return c.a.extend({name:i||t.replace(/__/g,"-"),functional:!0,props:{tag:{type:String,default:e}},render(e,{data:i,props:s,children:n}){return i.staticClass=`${t} ${i.staticClass||""}`.trim(),e(s.tag,i,n)}})}function g(t,e,i,s=!1){const n=r=>{i(r),t.removeEventListener(e,n,s)};t.addEventListener(e,n,s)}let v=!1;try{if("undefined"!==typeof window){const t=Object.defineProperty({},"passive",{get:()=>{v=!0}});window.addEventListener("testListener",t,t),window.removeEventListener("testListener",t,t)}}catch(mu){console.warn(mu)}function b(t,e,i,s){t.addEventListener(e,i,!!v&&s)}function y(t,e,i){const s=e.length-1;if(s<0)return void 0===t?i:t;for(let n=0;n<s;n++){if(null==t)return i;t=t[e[n]]}return null==t||void 0===t[e[s]]?i:t[e[s]]}function x(t,e){if(t===e)return!0;if(t instanceof Date&&e instanceof Date&&t.getTime()!==e.getTime())return!1;if(t!==Object(t)||e!==Object(e))return!1;const i=Object.keys(t);return i.length===Object.keys(e).length&&i.every(i=>x(t[i],e[i]))}function $(t,e,i){return null!=t&&e&&"string"===typeof e?void 0!==t[e]?t[e]:(e=e.replace(/\[(\w+)\]/g,".$1"),e=e.replace(/^\./,""),y(t,e.split("."),i)):i}function C(t,e,i){if(null==e)return void 0===t?i:t;if(t!==Object(t))return void 0===i?t:i;if("string"===typeof e)return $(t,e,i);if(Array.isArray(e))return y(t,e,i);if("function"!==typeof e)return i;const s=e(t,i);return"undefined"===typeof s?i:s}function S(t){return Array.from({length:t},(t,e)=>e)}function _(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;const e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||_(t.parentNode)}const w={"&":"&amp;","<":"&lt;",">":"&gt;"};function k(t){return t.replace(/[&<>]/g,t=>w[t]||t)}function I(t,e){const i={};for(let s=0;s<e.length;s++){const n=e[s];"undefined"!==typeof t[n]&&(i[n]=t[n])}return i}function L(t,e="px"){return null==t||""===t?void 0:isNaN(+t)?String(t):`${Number(t)}${e}`}function B(t){return(t||"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function A(t){return null!==t&&"object"===typeof t}const T=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function O(t,e){const i=t.$vuetify.icons.component;if(e.startsWith("$")){const i="$vuetify.icons.values."+e.split("$").pop().split(".").pop(),s=$(t,i,e);if("string"!==typeof s)return s;e=s}return null==i?e:{component:i,props:{icon:e}}}function E(t){return Object.keys(t)}const P=/-(\w)/g,D=t=>t.replace(P,(t,e)=>e?e.toUpperCase():"");function M(t){return t.charAt(0).toUpperCase()+t.slice(1)}function V(t,e,i){const s=e[0],n=[];let r;for(let a=0;a<t.length;a++){const e=t[a],i=$(e,s,null);r!==i&&(r=i,n.push({name:null!=i?i:"",items:[]})),n[n.length-1].items.push(e)}return n}function F(t){return null!=t?Array.isArray(t)?t:[t]:[]}function N(t,e,i,s,n){if(null===e||!e.length)return t;const r=new Intl.Collator(s,{sensitivity:"accent",usage:"sort"});return t.sort((t,s)=>{for(let a=0;a<e.length;a++){const o=e[a];let l=$(t,o),c=$(s,o);if(i[a]&&([l,c]=[c,l]),n&&n[o]){const t=n[o](l,c);if(!t)continue;return t}if(null!==l||null!==c){if(l instanceof Date&&c instanceof Date)return l.getTime()-c.getTime();if([l,c]=[l,c].map(t=>(t||"").toString().toLocaleLowerCase()),l!==c)return isNaN(l)||isNaN(c)?r.compare(l,c):Number(l)-Number(c)}}return 0})}function z(t,e,i){return null!=t&&null!=e&&"boolean"!==typeof t&&-1!==t.toString().toLocaleLowerCase().indexOf(e.toLocaleLowerCase())}function R(t,e){return e?(e=e.toString().toLowerCase(),""===e.trim()?t:t.filter(t=>Object.keys(t).some(i=>z($(t,i),e,t)))):t}function H(t,e,i){return t.$slots.hasOwnProperty(e)&&t.$scopedSlots.hasOwnProperty(e)&&t.$scopedSlots[e].name?i?"v-slot":"scoped":t.$slots.hasOwnProperty(e)?"normal":t.$scopedSlots.hasOwnProperty(e)?"scoped":void 0}function W(t,e){let i=!1;return(...s)=>{if(!i)return i=!0,setTimeout(()=>i=!1,e),t(...s)}}function j(t,e){return Object.keys(e).filter(e=>e.startsWith(t)).reduce((i,s)=>(i[s.replace(t,"")]=e[s],i),{})}function Y(t,e="default",i,s=!1){return t.$scopedSlots.hasOwnProperty(e)?t.$scopedSlots[e](i instanceof Function?i():i):!t.$slots.hasOwnProperty(e)||i&&!s?void 0:t.$slots[e]}function q(t,e=0,i=1){return Math.max(e,Math.min(i,t))}function U(t){return t?Object.keys(t).reduce((e,i)=>(e[D(i)]=t[i],e),{}):{}}function Z(t={},e={}){for(const i in e){const s=t[i],n=e[i];A(s)&&A(n)?t[i]=Z(s,n):t[i]=n}return t}function X(t,e){return Array(t).fill(e)}function K(t){if(t.composedPath)return t.composedPath();const e=[];let i=t.target;while(i){if(e.push(i),"HTML"===i.tagName)return e.push(document),e.push(window),e;i=i.parentElement}return e}class G{constructor(){this.framework={}}init(t,e){}}class Q extends G{constructor(t,e){super();const i=Z({},m),{userPreset:s}=e,{preset:n={},...r}=s;null!=n.preset&&ue("Global presets do not support the **preset** option, it can be safely omitted"),e.preset=Z(Z(i,n),r)}}Q.property="presets";class J extends G{constructor(){super(...arguments),this.bar=0,this.top=0,this.left=0,this.insetFooter=0,this.right=0,this.bottom=0,this.footer=0,this.application={bar:{},top:{},left:{},insetFooter:{},right:{},bottom:{},footer:{}}}register(t,e,i){this.application[e][t]=i,this.update(e)}unregister(t,e){null!=this.application[e][t]&&(delete this.application[e][t],this.update(e))}update(t){this[t]=Object.values(this.application[t]).reduce((t,e)=>t+e,0)}}J.property="application";class tt extends G{constructor(t){super(),this.xs=!1,this.sm=!1,this.md=!1,this.lg=!1,this.xl=!1,this.xsOnly=!1,this.smOnly=!1,this.smAndDown=!1,this.smAndUp=!1,this.mdOnly=!1,this.mdAndDown=!1,this.mdAndUp=!1,this.lgOnly=!1,this.lgAndDown=!1,this.lgAndUp=!1,this.xlOnly=!1,this.name="xs",this.height=0,this.width=0,this.mobile=!0,this.resizeTimeout=0;const{mobileBreakpoint:e,scrollBarWidth:i,thresholds:s}=t[tt.property];this.mobileBreakpoint=e,this.scrollBarWidth=i,this.thresholds=s}init(){this.update(),"undefined"!==typeof window&&window.addEventListener("resize",this.onResize.bind(this),{passive:!0})}update(t=!1){const e=t?0:this.getClientHeight(),i=t?0:this.getClientWidth(),s=i<this.thresholds.xs,n=i<this.thresholds.sm&&!s,r=i<this.thresholds.md-this.scrollBarWidth&&!(n||s),a=i<this.thresholds.lg-this.scrollBarWidth&&!(r||n||s),o=i>=this.thresholds.lg-this.scrollBarWidth;switch(this.height=e,this.width=i,this.xs=s,this.sm=n,this.md=r,this.lg=a,this.xl=o,this.xsOnly=s,this.smOnly=n,this.smAndDown=(s||n)&&!(r||a||o),this.smAndUp=!s&&(n||r||a||o),this.mdOnly=r,this.mdAndDown=(s||n||r)&&!(a||o),this.mdAndUp=!(s||n)&&(r||a||o),this.lgOnly=a,this.lgAndDown=(s||n||r||a)&&!o,this.lgAndUp=!(s||n||r)&&(a||o),this.xlOnly=o,!0){case s:this.name="xs";break;case n:this.name="sm";break;case r:this.name="md";break;case a:this.name="lg";break;default:this.name="xl";break}if("number"===typeof this.mobileBreakpoint)return void(this.mobile=i<parseInt(this.mobileBreakpoint,10));const l={xs:0,sm:1,md:2,lg:3,xl:4},c=l[this.name],h=l[this.mobileBreakpoint];this.mobile=c<=h}onResize(){clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.update.bind(this),200)}getClientWidth(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientWidth,window.innerWidth||0)}getClientHeight(){return"undefined"===typeof document?0:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}tt.property="breakpoint";const et=t=>t,it=t=>t**2,st=t=>t*(2-t),nt=t=>t<.5?2*t**2:(4-2*t)*t-1,rt=t=>t**3,at=t=>--t**3+1,ot=t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,lt=t=>t**4,ct=t=>1- --t**4,ht=t=>t<.5?8*t*t*t*t:1-8*--t*t*t*t,ut=t=>t**5,dt=t=>1+--t**5,pt=t=>t<.5?16*t**5:1+16*--t**5;function mt(t){if("number"===typeof t)return t;let e=vt(t);if(!e)throw"string"===typeof t?new Error(`Target element "${t}" not found.`):new TypeError(`Target must be a Number/Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`);let i=0;while(e)i+=e.offsetTop,e=e.offsetParent;return i}function ft(t){const e=vt(t);if(e)return e;throw"string"===typeof t?new Error(`Container element "${t}" not found.`):new TypeError(`Container must be a Selector/HTMLElement/VueComponent, received ${gt(t)} instead.`)}function gt(t){return null==t?t:t.constructor.name}function vt(t){return"string"===typeof t?document.querySelector(t):t&&t._isVue?t.$el:t instanceof HTMLElement?t:null}function bt(t,e={}){const i={container:document.scrollingElement||document.body||document.documentElement,duration:500,offset:0,easing:"easeInOutCubic",appOffset:!0,...e},n=ft(i.container);if(i.appOffset&&bt.framework.application){const t=n.classList.contains("v-navigation-drawer"),e=n.classList.contains("v-navigation-drawer--clipped"),{bar:s,top:r}=bt.framework.application;i.offset+=s,t&&!e||(i.offset+=r)}const r=performance.now();let a;a="number"===typeof t?mt(t)-i.offset:mt(t)-mt(n)-i.offset;const o=n.scrollTop;if(a===o)return Promise.resolve(a);const l="function"===typeof i.easing?i.easing:s[i.easing];if(!l)throw new TypeError(`Easing function "${i.easing}" not found.`);return new Promise(t=>requestAnimationFrame((function e(s){const c=s-r,h=Math.abs(i.duration?Math.min(c/i.duration,1):1);n.scrollTop=Math.floor(o+(a-o)*l(h));const u=n===document.body?document.documentElement.clientHeight:n.clientHeight,d=u+n.scrollTop>=n.scrollHeight;if(1===h||a>n.scrollTop&&d)return t(a);requestAnimationFrame(e)})))}bt.framework={},bt.init=()=>{};class yt extends G{constructor(){return super(),bt}}yt.property="goTo";const xt={complete:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cancel:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",close:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",delete:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",clear:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",success:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",info:"M13,9H11V7H13M13,17H11V11H13M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2ZM13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",warning:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",error:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",prev:"M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",next:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",checkboxOn:"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",checkboxOff:"M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z",checkboxIndeterminate:"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19C3,20.1 3.9,21 5,21H19C20.1,21 21,20.1 21,19V5C21,3.89 20.1,3 19,3Z",delimiter:"M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",sort:"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z",expand:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",menu:"M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",subgroup:"M7,10L12,15L17,10H7Z",dropdown:"M7,10L12,15L17,10H7Z",radioOn:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2M12,7C9.24,7 7,9.24 7,12C7,14.76 9.24,17 12,17C14.76,17 17,14.76 17,12C17,9.24 14.76,7 12,7Z",radioOff:"M12,20C7.58,20 4,16.42 4,12C4,7.58 7.58,4 12,4C16.42,4 20,7.58 20,12C20,16.42 16.42,20 12,20M12,2C6.48,2 2,6.48 2,12C2,17.52 6.48,22 12,22C17.52,22 22,17.52 22,12C22,6.48 17.52,2 12,2Z",edit:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",ratingEmpty:"M12,15.39L8.24,17.66L9.23,13.38L5.91,10.5L10.29,10.13L12,6.09L13.71,10.13L18.09,10.5L14.77,13.38L15.76,17.66M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",ratingFull:"M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z",ratingHalf:"M12,15.4V6.1L13.71,10.13L18.09,10.5L14.77,13.39L15.76,17.67M22,9.24L14.81,8.63L12,2L9.19,8.63L2,9.24L7.45,13.97L5.82,21L12,17.27L18.18,21L16.54,13.97L22,9.24Z",loading:"M19,8L15,12H18C18,15.31 15.31,18 12,18C11,18 10.03,17.75 9.2,17.3L7.74,18.76C8.97,19.54 10.43,20 12,20C16.42,20 20,16.42 20,12H23M6,12C6,8.69 8.69,6 12,6C13,6 13.97,6.25 14.8,6.7L16.26,5.24C15.03,4.46 13.57,4 12,4C7.58,4 4,7.58 4,12H1L5,16L9,12",first:"M18.41,16.59L13.82,12L18.41,7.41L17,6L11,12L17,18L18.41,16.59M6,6H8V18H6V6Z",last:"M5.59,7.41L10.18,12L5.59,16.59L7,18L13,12L7,6L5.59,7.41M16,6H18V18H16V6Z",unfold:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",file:"M16.5,6V17.5C16.5,19.71 14.71,21.5 12.5,21.5C10.29,21.5 8.5,19.71 8.5,17.5V5C8.5,3.62 9.62,2.5 11,2.5C12.38,2.5 13.5,3.62 13.5,5V15.5C13.5,16.05 13.05,16.5 12.5,16.5C11.95,16.5 11.5,16.05 11.5,15.5V6H10V15.5C10,16.88 11.12,18 12.5,18C13.88,18 15,16.88 15,15.5V5C15,2.79 13.21,1 11,1C8.79,1 7,2.79 7,5V17.5C7,20.54 9.46,23 12.5,23C15.54,23 18,20.54 18,17.5V6H16.5Z",plus:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",minus:"M19,13H5V11H19V13Z"};var $t=xt;const Ct={complete:"check",cancel:"cancel",close:"close",delete:"cancel",clear:"clear",success:"check_circle",info:"info",warning:"priority_high",error:"warning",prev:"chevron_left",next:"chevron_right",checkboxOn:"check_box",checkboxOff:"check_box_outline_blank",checkboxIndeterminate:"indeterminate_check_box",delimiter:"fiber_manual_record",sort:"arrow_upward",expand:"keyboard_arrow_down",menu:"menu",subgroup:"arrow_drop_down",dropdown:"arrow_drop_down",radioOn:"radio_button_checked",radioOff:"radio_button_unchecked",edit:"edit",ratingEmpty:"star_border",ratingFull:"star",ratingHalf:"star_half",loading:"cached",first:"first_page",last:"last_page",unfold:"unfold_more",file:"attach_file",plus:"add",minus:"remove"};var St=Ct;const _t={complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-exclamation",error:"mdi-alert",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sort:"mdi-arrow-up",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus"};var wt=_t;const kt={complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sort:"fas fa-sort-up",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus"};var It=kt;const Lt={complete:"fa fa-check",cancel:"fa fa-times-circle",close:"fa fa-times",delete:"fa fa-times-circle",clear:"fa fa-times-circle",success:"fa fa-check-circle",info:"fa fa-info-circle",warning:"fa fa-exclamation",error:"fa fa-exclamation-triangle",prev:"fa fa-chevron-left",next:"fa fa-chevron-right",checkboxOn:"fa fa-check-square",checkboxOff:"fa fa-square-o",checkboxIndeterminate:"fa fa-minus-square",delimiter:"fa fa-circle",sort:"fa fa-sort-up",expand:"fa fa-chevron-down",menu:"fa fa-bars",subgroup:"fa fa-caret-down",dropdown:"fa fa-caret-down",radioOn:"fa fa-dot-circle-o",radioOff:"fa fa-circle-o",edit:"fa fa-pencil",ratingEmpty:"fa fa-star-o",ratingFull:"fa fa-star",ratingHalf:"fa fa-star-half-o",loading:"fa fa-refresh",first:"fa fa-step-backward",last:"fa fa-step-forward",unfold:"fa fa-angle-double-down",file:"fa fa-paperclip",plus:"fa fa-plus",minus:"fa fa-minus"};var Bt=Lt;function At(t,e){const i={};for(const s in e)i[s]={component:t,props:{icon:e[s].split(" fa-")}};return i}var Tt=At("font-awesome-icon",It),Ot=Object.freeze({mdiSvg:$t,md:St,mdi:wt,fa:It,fa4:Bt,faSvg:Tt});class Et extends G{constructor(t){super();const{iconfont:e,values:i,component:s}=t[Et.property];this.component=s,this.iconfont=e,this.values=Z(Ot[e],i)}}Et.property="icons";const Pt="$vuetify.",Dt=Symbol("Lang fallback");function Mt(t,e,i=!1,s){const n=e.replace(Pt,"");let r=$(t,n,Dt);return r===Dt&&(i?(de(`Translation key "${n}" not found in fallback`),r=e):(ue(`Translation key "${n}" not found, falling back to default`),r=Mt(s,e,!0,s))),r}class Vt extends G{constructor(t){super(),this.defaultLocale="en";const{current:e,locales:i,t:s}=t[Vt.property];this.current=e,this.locales=i,this.translator=s||this.defaultTranslator}currentLocale(t){const e=this.locales[this.current],i=this.locales[this.defaultLocale];return Mt(e,t,!1,i)}t(t,...e){return t.startsWith(Pt)?this.translator(t,...e):this.replace(t,e)}defaultTranslator(t,...e){return this.replace(this.currentLocale(t),e)}replace(t,e){return t.replace(/\{(\d+)\}/g,(t,i)=>String(e[+i]))}}Vt.property="lang";const Ft=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],Nt=t=>t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055,zt=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],Rt=t=>t<=.04045?t/12.92:((t+.055)/1.055)**2.4;function Ht(t){const e=Array(3),i=Nt,s=Ft;for(let n=0;n<3;++n)e[n]=Math.round(255*q(i(s[n][0]*t[0]+s[n][1]*t[1]+s[n][2]*t[2])));return(e[0]<<16)+(e[1]<<8)+(e[2]<<0)}function Wt(t){const e=[0,0,0],i=Rt,s=zt,n=i((t>>16&255)/255),r=i((t>>8&255)/255),a=i((t>>0&255)/255);for(let o=0;o<3;++o)e[o]=s[o][0]*n+s[o][1]*r+s[o][2]*a;return e}function jt(t){return!!t&&!!t.match(/^(#|var\(--|(rgb|hsl)a?\()/)}function Yt(t){let e;if("number"===typeof t)e=t;else{if("string"!==typeof t)throw new TypeError(`Colors can only be numbers or strings, recieved ${null==t?t:t.constructor.name} instead`);{let i="#"===t[0]?t.substring(1):t;3===i.length&&(i=i.split("").map(t=>t+t).join("")),6!==i.length&&ue(`'${t}' is not a valid rgb color`),e=parseInt(i,16)}}return e<0?(ue(`Colors cannot be negative: '${t}'`),e=0):(e>16777215||isNaN(e))&&(ue(`'${t}' is not a valid rgb color`),e=16777215),e}function qt(t){let e=t.toString(16);return e.length<6&&(e="0".repeat(6-e.length)+e),"#"+e}function Ut(t){return qt(Yt(t))}const Zt=.20689655172413793,Xt=t=>t>Zt**3?Math.cbrt(t):t/(3*Zt**2)+4/29,Kt=t=>t>Zt?t**3:3*Zt**2*(t-4/29);function Gt(t){const e=Xt,i=e(t[1]);return[116*i-16,500*(e(t[0]/.95047)-i),200*(i-e(t[2]/1.08883))]}function Qt(t){const e=Kt,i=(t[0]+16)/116;return[.95047*e(i+t[1]/500),e(i),1.08883*e(i-t[2]/200)]}function Jt(t,e=!1,i=!0){const{anchor:s,...n}=t,r=Object.keys(n),a={};for(let o=0;o<r.length;++o){const s=r[o],n=t[s];null!=n&&(i?e?("base"===s||s.startsWith("lighten")||s.startsWith("darken"))&&(a[s]=Ut(n)):a[s]="object"===typeof n?Jt(n,!0,i):re(s,Yt(n)):a[s]={base:qt(Yt(n))})}return e||(a.anchor=s||a.base||a.primary.base),a}const te=(t,e)=>`\n.v-application .${t} {\n background-color: ${e} !important;\n border-color: ${e} !important;\n}\n.v-application .${t}--text {\n color: ${e} !important;\n caret-color: ${e} !important;\n}`,ee=(t,e,i)=>{const[s,n]=e.split(/(\d)/,2);return`\n.v-application .${t}.${s}-${n} {\n background-color: ${i} !important;\n border-color: ${i} !important;\n}\n.v-application .${t}--text.text--${s}-${n} {\n color: ${i} !important;\n caret-color: ${i} !important;\n}`},ie=(t,e="base")=>`--v-${t}-${e}`,se=(t,e="base")=>`var(${ie(t,e)})`;function ne(t,e=!1){const{anchor:i,...s}=t,n=Object.keys(s);if(!n.length)return"";let r="",a="";const o=e?se("anchor"):i;a+=`.v-application a { color: ${o}; }`,e&&(r+=` ${ie("anchor")}: ${i};\n`);for(let l=0;l<n.length;++l){const i=n[l],s=t[i];a+=te(i,e?se(i):s.base),e&&(r+=` ${ie(i)}: ${s.base};\n`);const o=E(s);for(let t=0;t<o.length;++t){const n=o[t],l=s[n];"base"!==n&&(a+=ee(i,n,e?se(i,n):l),e&&(r+=` ${ie(i,n)}: ${l};\n`))}}return e&&(r=`:root {\n${r}}\n\n`),r+a}function re(t,e){const i={base:qt(e)};for(let s=5;s>0;--s)i["lighten"+s]=qt(ae(e,s));for(let s=1;s<=4;++s)i["darken"+s]=qt(oe(e,s));return i}function ae(t,e){const i=Gt(Wt(t));return i[0]=i[0]+10*e,Ht(Qt(i))}function oe(t,e){const i=Gt(Wt(t));return i[0]=i[0]-10*e,Ht(Qt(i))}class le extends G{constructor(t){super(),this.disabled=!1,this.isDark=null,this.unwatch=null,this.vueMeta=null;const{dark:e,disable:i,options:s,themes:n}=t[le.property];this.dark=Boolean(e),this.defaults=this.themes=n,this.options=s,i?this.disabled=!0:this.themes={dark:this.fillVariant(n.dark,!0),light:this.fillVariant(n.light,!1)}}set css(t){this.vueMeta?this.isVueMeta23&&this.applyVueMeta23():this.checkOrCreateStyleElement()&&(this.styleEl.innerHTML=t)}set dark(t){const e=this.isDark;this.isDark=t,null!=e&&this.applyTheme()}get dark(){return Boolean(this.isDark)}applyTheme(){if(this.disabled)return this.clearCss();this.css=this.generatedStyles}clearCss(){this.css=""}init(t,e){this.disabled||(t.$meta?this.initVueMeta(t):e&&this.initSSR(e),this.initTheme(t))}setTheme(t,e){this.themes[t]=Object.assign(this.themes[t],e),this.applyTheme()}resetThemes(){this.themes.light=Object.assign({},this.defaults.light),this.themes.dark=Object.assign({},this.defaults.dark),this.applyTheme()}checkOrCreateStyleElement(){return this.styleEl=document.getElementById("vuetify-theme-stylesheet"),!!this.styleEl||(this.genStyleElement(),Boolean(this.styleEl))}fillVariant(t={},e){const i=this.themes[e?"dark":"light"];return Object.assign({},i,t)}genStyleElement(){"undefined"!==typeof document&&(this.styleEl=document.createElement("style"),this.styleEl.type="text/css",this.styleEl.id="vuetify-theme-stylesheet",this.options.cspNonce&&this.styleEl.setAttribute("nonce",this.options.cspNonce),document.head.appendChild(this.styleEl))}initVueMeta(t){if(this.vueMeta=t.$meta(),this.isVueMeta23)return void t.$nextTick(()=>{this.applyVueMeta23()});const e="function"===typeof this.vueMeta.getOptions?this.vueMeta.getOptions().keyName:"metaInfo",i=t.$options[e]||{};t.$options[e]=()=>{i.style=i.style||[];const t=i.style.find(t=>"vuetify-theme-stylesheet"===t.id);return t?t.cssText=this.generatedStyles:i.style.push({cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:(this.options||{}).cspNonce}),i}}applyVueMeta23(){const{set:t}=this.vueMeta.addApp("vuetify");t({style:[{cssText:this.generatedStyles,type:"text/css",id:"vuetify-theme-stylesheet",nonce:this.options.cspNonce}]})}initSSR(t){const e=this.options.cspNonce?` nonce="${this.options.cspNonce}"`:"";t.head=t.head||"",t.head+=`<style type="text/css" id="vuetify-theme-stylesheet"${e}>${this.generatedStyles}</style>`}initTheme(t){"undefined"!==typeof document&&(this.unwatch&&(this.unwatch(),this.unwatch=null),t.$once("hook:created",()=>{const e=c.a.observable({themes:this.themes});this.unwatch=t.$watch(()=>e.themes,()=>this.applyTheme(),{deep:!0})}),this.applyTheme())}get currentTheme(){const t=this.dark?"dark":"light";return this.themes[t]}get generatedStyles(){const t=this.parsedTheme,e=this.options||{};let i;return null!=e.themeCache&&(i=e.themeCache.get(t),null!=i)||(i=ne(t,e.customProperties),null!=e.minifyTheme&&(i=e.minifyTheme(i)),null!=e.themeCache&&e.themeCache.set(t,i)),i}get parsedTheme(){return Jt(this.currentTheme||{},void 0,y(this.options,["variations"],!0))}get isVueMeta23(){return"function"===typeof this.vueMeta.addApp}}le.property="theme";class ce{constructor(t={}){this.framework={isHydrating:!1},this.installed=[],this.preset={},this.userPreset={},this.userPreset=t,this.use(Q),this.use(J),this.use(tt),this.use(yt),this.use(Et),this.use(Vt),this.use(le)}init(t,e){this.installed.forEach(i=>{const s=this.framework[i];s.framework=this.framework,s.init(t,e)}),this.framework.rtl=Boolean(this.preset.rtl)}use(t){const e=t.property;this.installed.includes(e)||(this.framework[e]=new t(this.preset,this),this.installed.push(e))}}function he(t,e,i){if(!ce.config.silent){if(i&&(e={_isVue:!0,$parent:i,$options:e}),e){if(e.$_alreadyWarned=e.$_alreadyWarned||[],e.$_alreadyWarned.includes(t))return;e.$_alreadyWarned.push(t)}return"[Vuetify] "+t+(e?ye(e):"")}}function ue(t,e,i){const s=he(t,e,i);null!=s&&console.warn(s)}function de(t,e,i){const s=he(t,e,i);null!=s&&console.error(s)}function pe(t,e,i,s){ue(`[UPGRADE] '${t}' is deprecated, use '${e}' instead.`,i,s)}function me(t,e,i,s){de(`[BREAKING] '${t}' has been removed, use '${e}' instead. For more information, see the upgrade guide https://github.com/vuetifyjs/vuetify/releases/tag/v2.0.0#user-content-upgrade-guide`,i,s)}function fe(t,e,i){ue(`[REMOVED] '${t}' has been removed. You can safely omit it.`,e,i)}ce.install=d,ce.installed=!1,ce.version="2.6.7",ce.config={silent:!1};const ge=/(?:^|[-_])(\w)/g,ve=t=>t.replace(ge,t=>t.toUpperCase()).replace(/[-_]/g,"");function be(t,e){if(t.$root===t)return"<Root>";const i="function"===typeof t&&null!=t.cid?t.options:t._isVue?t.$options||t.constructor.options:t||{};let s=i.name||i._componentTag;const n=i.__file;if(!s&&n){const t=n.match(/([^/\\]+)\.vue$/);s=t&&t[1]}return(s?`<${ve(s)}>`:"<Anonymous>")+(n&&!1!==e?" at "+n:"")}function ye(t){if(t._isVue&&t.$parent){const e=[];let i=0;while(t){if(e.length>0){const s=e[e.length-1];if(s.constructor===t.constructor){i++,t=t.$parent;continue}i>0&&(e[e.length-1]=[s,i],i=0)}e.push(t),t=t.$parent}return"\n\nfound in\n\n"+e.map((t,e)=>`${0===e?"---\x3e ":" ".repeat(5+2*e)}${Array.isArray(t)?`${be(t[0])}... (${t[1]} recursive calls)`:be(t)}`).join("\n")}return`\n\n(found in ${be(t)})`}var xe=c.a.extend({name:"colorable",props:{color:String},methods:{setBackgroundColor(t,e={}){return"string"===typeof e.style?(de("style must be an object",this),e):"string"===typeof e.class?(de("class must be an object",this),e):(jt(t)?e.style={...e.style,"background-color":""+t,"border-color":""+t}:t&&(e.class={...e.class,[t]:!0}),e)},setTextColor(t,e={}){if("string"===typeof e.style)return de("style must be an object",this),e;if("string"===typeof e.class)return de("class must be an object",this),e;if(jt(t))e.style={...e.style,color:""+t,"caret-color":""+t};else if(t){const[i,s]=t.toString().trim().split(" ",2);e.class={...e.class,[i+"--text"]:!0},s&&(e.class["text--"+s]=!0)}return e}}}),$e=c.a.extend({name:"sizeable",props:{large:Boolean,small:Boolean,xLarge:Boolean,xSmall:Boolean},computed:{medium(){return Boolean(!this.xSmall&&!this.small&&!this.large&&!this.xLarge)},sizeableClasses(){return{"v-size--x-small":this.xSmall,"v-size--small":this.small,"v-size--default":this.medium,"v-size--large":this.large,"v-size--x-large":this.xLarge}}}});const Ce=c.a.extend().extend({name:"themeable",provide(){return{theme:this.themeableProvide}},inject:{theme:{default:{isDark:!1}}},props:{dark:{type:Boolean,default:null},light:{type:Boolean,default:null}},data(){return{themeableProvide:{isDark:!1}}},computed:{appIsDark(){return this.$vuetify.theme.dark||!1},isDark(){return!0===this.dark||!0!==this.light&&this.theme.isDark},themeClasses(){return{"theme--dark":this.isDark,"theme--light":!this.isDark}},rootIsDark(){return!0===this.dark||!0!==this.light&&this.appIsDark},rootThemeClasses(){return{"theme--dark":this.rootIsDark,"theme--light":!this.rootIsDark}}},watch:{isDark:{handler(t,e){t!==e&&(this.themeableProvide.isDark=this.isDark)},immediate:!0}}});var Se,_e=Ce;function we(t){const e={...t.props,...t.injections},i=Ce.options.computed.isDark.call(e);return Ce.options.computed.themeClasses.call({isDark:i})}function ke(...t){return c.a.extend({mixins:t})}function Ie(t){return["fas","far","fal","fab","fad","fak"].some(e=>t.includes(e))}function Le(t){return/^[mzlhvcsqta]\s*[-+.0-9][^mlhvzcsqta]+/i.test(t)&&/[\dz]$/i.test(t)&&t.length>4}(function(t){t["xSmall"]="12px",t["small"]="16px",t["default"]="24px",t["medium"]="28px",t["large"]="36px",t["xLarge"]="40px"})(Se||(Se={}));const Be=ke(u,xe,$e,_e).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium(){return!1},hasClickListener(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon(){let t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),O(this,t)},getSize(){const t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=E(t).find(e=>t[e]);return e&&Se[e]||L(this.size)},getDefaultData(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:{"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0,...this.attrs$},on:this.listeners$}},getSvgWrapperData(){const t=this.getSize(),e={...this.getDefaultData(),style:t?{fontSize:t,height:t,width:t}:void 0};return this.applyColors(e),e},applyColors(t){t.class={...t.class,...this.themeClasses},this.setTextColor(this.color,t)},renderFontIcon(t,e){const i=[],s=this.getDefaultData();let n="material-icons";const r=t.indexOf("-"),a=r<=-1;a?i.push(t):(n=t.slice(0,r),Ie(n)&&(n="")),s.class[n]=!0,s.class[t]=!a;const o=this.getSize();return o&&(s.style={fontSize:o}),this.applyColors(s),e(this.hasClickListener?"button":this.tag,s,i)},renderSvgIcon(t,e){const i={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},s=this.getSize();return s&&(i.style={fontSize:s,height:s,width:s}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",i,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent(t,e){const i={class:{"v-icon__component":!0}},s=this.getSize();s&&(i.style={fontSize:s,height:s,width:s}),this.applyColors(i);const n=t.component;return i.props=t.props,i.nativeOn=i.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(n,i)])}},render(t){const e=this.getIcon();return"string"===typeof e?Le(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});var Ae=c.a.extend({name:"v-icon",$_wrapperFor:Be,functional:!0,render(t,{data:e,children:i}){let s="";return e.domProps&&(s=e.domProps.textContent||e.domProps.innerHTML||s,delete e.domProps.textContent,delete e.domProps.innerHTML),t(Be,e,s?[s]:i)}}),Te={name:"DataTableEmptyWrapper",props:{title:{type:String,default:"Nenhuma informação para exibir aqui"},subtitle:{type:String,default:"Tente filtrar novamente sua pesquisa ou faça uma importação para ver mais resultados"}},components:{VIcon:Ae}},Oe=Te;i("cb03");function Ee(t,e,i,s,n,r,a,o){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),s&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):n&&(l=o?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(c.functional){c._injectStyles=l;var h=c.render;c.render=function(t,e){return l.call(e),h(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}var Pe=Ee(Oe,a,o,!1,null,"a4b1af68",null),De=Pe.exports,Me=De,Ve=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"v-data-table-custom-footer",class:{"hidden-perpageoptions":t.hidePerPageOptions}},[t.hidePerPageOptions?t._e():e("div",[e("v-select",{attrs:{outlined:"",disabled:!t.totalPages||t.totalPages<1,items:t.perPageBuiltItems,dense:""},model:{value:t.selectedLimit,callback:function(e){t.selectedLimit=e},expression:"selectedLimit"}})],1),e("v-pagination",{attrs:{disabled:t.disabled,length:t.totalPages,"total-visible":7,color:"secondary"},model:{value:t.currentPage,callback:function(e){t.currentPage=e},expression:"currentPage"}})],1)},Fe=[];i("4ff9"),i("68dd"),i("8adc");const Ne={styleList:/;(?![^(]*\))/g,styleProp:/:(.*)/};function ze(t){const e={};for(const i of t.split(Ne.styleList)){let[t,s]=i.split(Ne.styleProp);t=t.trim(),t&&("string"===typeof s&&(s=s.trim()),e[D(t)]=s)}return e}function Re(){const t={};let e,i=arguments.length;while(i--)for(e of Object.keys(arguments[i]))switch(e){case"class":case"directives":arguments[i][e]&&(t[e]=We(t[e],arguments[i][e]));break;case"style":arguments[i][e]&&(t[e]=He(t[e],arguments[i][e]));break;case"staticClass":if(!arguments[i][e])break;void 0===t[e]&&(t[e]=""),t[e]&&(t[e]+=" "),t[e]+=arguments[i][e].trim();break;case"on":case"nativeOn":arguments[i][e]&&(t[e]=je(t[e],arguments[i][e]));break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":if(!arguments[i][e])break;t[e]||(t[e]={}),t[e]={...arguments[i][e],...t[e]};break;default:t[e]||(t[e]=arguments[i][e])}return t}function He(t,e){return t?e?(t=F("string"===typeof t?ze(t):t),t.concat("string"===typeof e?ze(e):e)):t:e}function We(t,e){return e?t&&t?F(t).concat(e):e:t}function je(...t){if(!t[0])return t[1];if(!t[1])return t[0];const e={};for(let i=2;i--;){const s=t[i];for(const t in s)s[t]&&(e[t]?e[t]=[].concat(s[t],e[t]):e[t]=s[t])}return e}function Ye(t=[],...e){return Array().concat(t,...e)}function qe(t,e="top center 0",i){return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:i},origin:{type:String,default:e}},render(e,i){const s="transition"+(i.props.group?"-group":""),n={props:{name:t,mode:i.props.mode},on:{beforeEnter(t){t.style.transformOrigin=i.props.origin,t.style.webkitTransformOrigin=i.props.origin}}};return i.props.leaveAbsolute&&(n.on.leave=Ye(n.on.leave,t=>{const{offsetTop:e,offsetLeft:i,offsetWidth:s,offsetHeight:n}=t;t._transitionInitialStyles={position:t.style.position,top:t.style.top,left:t.style.left,width:t.style.width,height:t.style.height},t.style.position="absolute",t.style.top=e+"px",t.style.left=i+"px",t.style.width=s+"px",t.style.height=n+"px"}),n.on.afterLeave=Ye(n.on.afterLeave,t=>{if(t&&t._transitionInitialStyles){const{position:e,top:i,left:s,width:n,height:r}=t._transitionInitialStyles;delete t._transitionInitialStyles,t.style.position=e||"",t.style.top=i||"",t.style.left=s||"",t.style.width=n||"",t.style.height=r||""}})),i.props.hideOnLeave&&(n.on.leave=Ye(n.on.leave,t=>{t.style.setProperty("display","none","important")})),e(s,Re(i.data,n),i.children)}}}function Ue(t,e,i="in-out"){return{name:t,functional:!0,props:{mode:{type:String,default:i}},render(i,s){return i("transition",Re(s.data,{props:{name:t},on:e}),s.children)}}}var Ze=function(t="",e=!1){const i=e?"width":"height",s="offset"+M(i);return{beforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[i]:t.style[i]}},enter(e){const n=e._initialStyle;e.style.setProperty("transition","none","important"),e.style.overflow="hidden";const r=e[s]+"px";e.style[i]="0",e.offsetHeight,e.style.transition=n.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame(()=>{e.style[i]=r})},afterEnter:r,enterCancelled:r,leave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[i]:t.style[i]},t.style.overflow="hidden",t.style[i]=t[s]+"px",t.offsetHeight,requestAnimationFrame(()=>t.style[i]="0")},afterLeave:n,leaveCancelled:n};function n(e){t&&e._parent&&e._parent.classList.remove(t),r(e)}function r(t){const e=t._initialStyle[i];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[i]=e),delete t._initialStyle}};qe("carousel-transition"),qe("carousel-reverse-transition"),qe("tab-transition"),qe("tab-reverse-transition"),qe("menu-transition"),qe("fab-transition","center center","out-in"),qe("dialog-transition"),qe("dialog-bottom-transition"),qe("dialog-top-transition");const Xe=qe("fade-transition"),Ke=(qe("scale-transition"),qe("scroll-x-transition"),qe("scroll-x-reverse-transition"),qe("scroll-y-transition"),qe("scroll-y-reverse-transition"),qe("slide-x-transition")),Ge=(qe("slide-x-reverse-transition"),qe("slide-y-transition"),qe("slide-y-reverse-transition"),Ue("expand-transition",Ze())),Qe=Ue("expand-x-transition",Ze("",!0));var Je=Ae;function ti(t,e){return()=>ue(`The ${t} component must be used inside a ${e}`)}function ei(t,e,i){const s=e&&i?{register:ti(e,i),unregister:ti(e,i)}:null;return c.a.extend({name:"registrable-inject",inject:{[t]:{default:s}}})}function ii(t,e=!1){return c.a.extend({name:"registrable-provide",provide(){return{[t]:e?this:{register:this.register,unregister:this.unregister}}}})}function si(t,e,i){return ei(t,e,i).extend({name:"groupable",props:{activeClass:{type:String,default(){if(this[t])return this[t].activeClass}},disabled:Boolean},data(){return{isActive:!1}},computed:{groupClasses(){return this.activeClass?{[this.activeClass]:this.isActive}:{}}},created(){this[t]&&this[t].register(this)},beforeDestroy(){this[t]&&this[t].unregister(this)},methods:{toggle(){this.$emit("change")}}})}si("itemGroup");function ni(t="value",e="input"){return c.a.extend({name:"toggleable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{isActive:!!this[t]}},watch:{[t](t){this.isActive=!!t},isActive(i){!!i!==this[t]&&this.$emit(e,i)}}})}const ri=ni();var ai=ri;i("7435");const oi=80;function li(t,e){t.style.transform=e,t.style.webkitTransform=e}function ci(t){return"TouchEvent"===t.constructor.name}function hi(t){return"KeyboardEvent"===t.constructor.name}const ui=(t,e,i={})=>{let s=0,n=0;if(!hi(t)){const i=e.getBoundingClientRect(),r=ci(t)?t.touches[t.touches.length-1]:t;s=r.clientX-i.left,n=r.clientY-i.top}let r=0,a=.3;e._ripple&&e._ripple.circle?(a=.15,r=e.clientWidth/2,r=i.center?r:r+Math.sqrt((s-r)**2+(n-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const o=(e.clientWidth-2*r)/2+"px",l=(e.clientHeight-2*r)/2+"px",c=i.center?o:s-r+"px",h=i.center?l:n-r+"px";return{radius:r,scale:a,x:c,y:h,centerX:o,centerY:l}},di={show(t,e,i={}){if(!e._ripple||!e._ripple.enabled)return;const s=document.createElement("span"),n=document.createElement("span");s.appendChild(n),s.className="v-ripple__container",i.class&&(s.className+=" "+i.class);const{radius:r,scale:a,x:o,y:l,centerX:c,centerY:h}=ui(t,e,i),u=2*r+"px";n.className="v-ripple__animation",n.style.width=u,n.style.height=u,e.appendChild(s);const d=window.getComputedStyle(e);d&&"static"===d.position&&(e.style.position="relative",e.dataset.previousPosition="static"),n.classList.add("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--visible"),li(n,`translate(${o}, ${l}) scale3d(${a},${a},${a})`),n.dataset.activated=String(performance.now()),setTimeout(()=>{n.classList.remove("v-ripple__animation--enter"),n.classList.add("v-ripple__animation--in"),li(n,`translate(${c}, ${h}) scale3d(1,1,1)`)},0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(0===e.length)return;const i=e[e.length-1];if(i.dataset.isHiding)return;i.dataset.isHiding="true";const s=performance.now()-Number(i.dataset.activated),n=Math.max(250-s,0);setTimeout(()=>{i.classList.remove("v-ripple__animation--in"),i.classList.add("v-ripple__animation--out"),setTimeout(()=>{const e=t.getElementsByClassName("v-ripple__animation");1===e.length&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),i.parentNode&&t.removeChild(i.parentNode)},300)},n)}};function pi(t){return"undefined"===typeof t||!!t}function mi(t){const e={},i=t.currentTarget;if(i&&i._ripple&&!i._ripple.touched&&!t.rippleStop){if(t.rippleStop=!0,ci(t))i._ripple.touched=!0,i._ripple.isTouch=!0;else if(i._ripple.isTouch)return;if(e.center=i._ripple.centered||hi(t),i._ripple.class&&(e.class=i._ripple.class),ci(t)){if(i._ripple.showTimerCommit)return;i._ripple.showTimerCommit=()=>{di.show(t,i,e)},i._ripple.showTimer=window.setTimeout(()=>{i&&i._ripple&&i._ripple.showTimerCommit&&(i._ripple.showTimerCommit(),i._ripple.showTimerCommit=null)},oi)}else di.show(t,i,e)}}function fi(t){const e=t.currentTarget;if(e&&e._ripple){if(window.clearTimeout(e._ripple.showTimer),"touchend"===t.type&&e._ripple.showTimerCommit)return e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,void(e._ripple.showTimer=setTimeout(()=>{fi(t)}));window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),di.hide(e)}}function gi(t){const e=t.currentTarget;e&&e._ripple&&(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let vi=!1;function bi(t){vi||t.keyCode!==T.enter&&t.keyCode!==T.space||(vi=!0,mi(t))}function yi(t){vi=!1,fi(t)}function xi(t){!0===vi&&(vi=!1,fi(t))}function $i(t,e,i){const s=pi(e.value);s||di.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=s;const n=e.value||{};n.center&&(t._ripple.centered=!0),n.class&&(t._ripple.class=e.value.class),n.circle&&(t._ripple.circle=n.circle),s&&!i?(t.addEventListener("touchstart",mi,{passive:!0}),t.addEventListener("touchend",fi,{passive:!0}),t.addEventListener("touchmove",gi,{passive:!0}),t.addEventListener("touchcancel",fi),t.addEventListener("mousedown",mi),t.addEventListener("mouseup",fi),t.addEventListener("mouseleave",fi),t.addEventListener("keydown",bi),t.addEventListener("keyup",yi),t.addEventListener("blur",xi),t.addEventListener("dragstart",fi,{passive:!0})):!s&&i&&Ci(t)}function Ci(t){t.removeEventListener("mousedown",mi),t.removeEventListener("touchstart",mi),t.removeEventListener("touchend",fi),t.removeEventListener("touchmove",gi),t.removeEventListener("touchcancel",fi),t.removeEventListener("mouseup",fi),t.removeEventListener("mouseleave",fi),t.removeEventListener("keydown",bi),t.removeEventListener("keyup",yi),t.removeEventListener("dragstart",fi),t.removeEventListener("blur",xi)}function Si(t,e,i){$i(t,e,!1)}function _i(t){delete t._ripple,Ci(t)}function wi(t,e){if(e.value===e.oldValue)return;const i=pi(e.oldValue);$i(t,e,i)}const ki={bind:Si,unbind:_i,update:wi};var Ii=ki,Li=c.a.extend({name:"routable",directives:{Ripple:Ii},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactPath:Boolean,exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:()=>({isActive:!1,proxyClass:""}),computed:{classes(){const t={};return this.to||(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive)),t},computedRipple(){var t;return null!=(t=this.ripple)?t:!this.disabled&&this.isClickable},isClickable(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink(){return this.to||this.href||this.link},styles:()=>({})},watch:{$route:"onRouteChange"},mounted(){this.onRouteChange()},methods:{generateRouteLink(){let t,e=this.exact;const i={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}],[this.to?"nativeOn":"on"]:{...this.$listeners,..."click"in this?{click:this.click}:void 0},ref:"link"};if("undefined"===typeof this.exact&&(e="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){let s=this.activeClass,n=this.exactActiveClass||s;this.proxyClass&&(s=`${s} ${this.proxyClass}`.trim(),n=`${n} ${this.proxyClass}`.trim()),t=this.nuxt?"nuxt-link":"router-link",Object.assign(i.props,{to:this.to,exact:e,exactPath:this.exactPath,activeClass:s,exactActiveClass:n,append:this.append,replace:this.replace})}else t=(this.href?"a":this.tag)||"div","a"===t&&this.href&&(i.attrs.href=this.href);return this.target&&(i.attrs.target=this.target),{tag:t,data:i}},onRouteChange(){if(!this.to||!this.$refs.link||!this.$route)return;const t=`${this.activeClass||""} ${this.proxyClass||""}`.trim(),e=`${this.exactActiveClass||""} ${this.proxyClass||""}`.trim()||t,i="_vnode.data.class."+(this.exact?e:t);this.$nextTick(()=>{!$(this.$refs.link,i)===this.isActive&&this.toggle()})},toggle(){this.isActive=!this.isActive}}}),Bi=ke(xe,$e,Li,_e,si("chipGroup"),ni("inputValue")).extend({name:"v-chip",props:{active:{type:Boolean,default:!0},activeClass:{type:String,default(){return this.chipGroup?this.chipGroup.activeClass:""}},close:Boolean,closeIcon:{type:String,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},disabled:Boolean,draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:Boolean,outlined:Boolean,pill:Boolean,tag:{type:String,default:"span"},textColor:String,value:null},data:()=>({proxyClass:"v-chip--active"}),computed:{classes(){return{"v-chip":!0,...Li.options.computed.classes.call(this),"v-chip--clickable":this.isClickable,"v-chip--disabled":this.disabled,"v-chip--draggable":this.draggable,"v-chip--label":this.label,"v-chip--link":this.isLink,"v-chip--no-color":!this.color,"v-chip--outlined":this.outlined,"v-chip--pill":this.pill,"v-chip--removable":this.hasClose,...this.themeClasses,...this.sizeableClasses,...this.groupClasses}},hasClose(){return Boolean(this.close)},isClickable(){return Boolean(Li.options.computed.isClickable.call(this)||this.chipGroup)}},created(){const t=[["outline","outlined"],["selected","input-value"],["value","active"],["@input","@active.sync"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&me(t,e,this)})},methods:{click(t){this.$emit("click",t),this.chipGroup&&this.toggle()},genFilter(){const t=[];return this.isActive&&t.push(this.$createElement(Je,{staticClass:"v-chip__filter",props:{left:!0}},this.filterIcon)),this.$createElement(Qe,t)},genClose(){return this.$createElement(Je,{staticClass:"v-chip__close",props:{right:!0,size:18},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:t=>{t.stopPropagation(),t.preventDefault(),this.$emit("click:close"),this.$emit("update:active",!1)}}},this.closeIcon)},genContent(){return this.$createElement("span",{staticClass:"v-chip__content"},[this.filter&&this.genFilter(),this.$slots.default,this.hasClose&&this.genClose()])}},render(t){const e=[this.genContent()];let{tag:i,data:s}=this.generateRouteLink();s.attrs={...s.attrs,draggable:this.draggable?"true":void 0,tabindex:this.chipGroup&&!this.disabled?0:s.attrs.tabindex},s.directives.push({name:"show",value:this.active}),s=this.setBackgroundColor(this.color,s);const n=this.textColor||this.outlined&&this.color;return t(i,this.setTextColor(n,s),e)}}),Ai=Bi,Ti=(i("ee6f"),_e.extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:_e.options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find(t=>!t.isComment&&" "!==t.text)}})),Oi=c.a.extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(t,e){this.clearDelay();const i=parseInt(this[t+"Delay"],10);this[t+"Timeout"]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),i)}}});const Ei=ke(Oi,ai);var Pi=Ei.extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},disabled:Boolean,internalActivator:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,openOnFocus:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave","focus"],listeners:{}}),watch:{activator:"resetActivator",openOnFocus:"resetActivator",openOnHover:"resetActivator"},mounted(){const t=H(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&de('The activator slot must be bound, try \'<template v-slot:activator="{ on }"><v-btn v-on="on">\'',this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=Y(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:this.openOnClick&&!this.openOnHover?"button":void 0,"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):this.openOnClick&&(t.click=t=>{const e=this.getActivator(t);e&&e.focus(),t.stopPropagation(),this.isActive=!this.isActive}),this.openOnFocus&&(t.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),t},getActivator(t){var e;if(this.activatorElement)return this.activatorElement;let i=null;if(this.activator){const t=this.internalActivator?this.$el:document;i="string"===typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;i=t&&t.$options.mixins&&t.$options.mixins.some(t=>t.options&&["activatable","menuable"].includes(t.options.name))?t.getActivator():this.activatorNode[0].elm}else t&&(i=t.currentTarget||t.target);return this.activatorElement=(null==(e=i)?void 0:e.nodeType)===Node.ELEMENT_NODE?i:null,this.activatorElement},getContentSlot(){return Y(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}});function Di(t){const e=[];for(let i=0;i<t.length;i++){const s=t[i];s.isActive&&s.isDependent?e.push(s):e.push(...Di(s.$children))}return e}var Mi=ke().extend({name:"dependent",data(){return{closeDependents:!0,isActive:!1,isDependent:!0}},watch:{isActive(t){if(t)return;const e=this.getOpenDependents();for(let i=0;i<e.length;i++)e[i].isActive=!1}},methods:{getOpenDependents(){return this.closeDependents?Di(this.$children):[]},getOpenDependentElements(){const t=[],e=this.getOpenDependents();for(let i=0;i<e.length;i++)t.push(...e[i].getClickableDependentElements());return t},getClickableDependentElements(){const t=[this.$el];return this.$refs.content&&t.push(this.$refs.content),this.overlay&&t.push(this.overlay.$el),t.push(...this.getOpenDependentElements()),t}}}),Vi=c.a.extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if("undefined"===typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:_(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,i=[this.stackMinZIndex,_(e)],s=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let n=0;n<s.length;n++)t.includes(s[n])||i.push(_(s[n]));return Math.max(...i)}}});const Fi={absolute:Boolean,bottom:Boolean,fixed:Boolean,left:Boolean,right:Boolean,top:Boolean};function Ni(t=[]){return c.a.extend({name:"positionable",props:t.length?I(Fi,t):Fi})}var zi=Ni(),Ri=c.a.extend().extend({name:"bootable",props:{eager:Boolean},data:()=>({isBooted:!1}),computed:{hasContent(){return this.isBooted||this.eager||this.isActive}},watch:{isActive(){this.isBooted=!0}},created(){"lazy"in this.$attrs&&fe("lazy",this)},methods:{showLazyContent(t){return this.hasContent&&t?t():[this.$createElement()]}}});function Hi(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}function Wi(t){t.forEach(t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)})}var ji=ke(Ri).extend({name:"detachable",props:{attach:{default:!1,validator:Hi},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick(()=>{if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach(t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)})}})},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content)},destroyed(){if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const e=new MutationObserver(i=>{i.some(t=>Array.from(t.removedNodes).includes(this.$el))&&(e.disconnect(),Wi(t))});e.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else Wi(t)}},methods:{getScopeIdAttrs(){const t=$(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"===typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.appendChild(this.$refs.content),this.hasDetached=!0):ue("Unable to locate target "+(this.attach||"[data-app]"),this)}}});const Yi=ke(Vi,Ni(["top","right","bottom","left","absolute"]),Pi,ji);var qi=Yi.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({activatorNode:[],absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},relativeYOffset:0,hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const t=this.dimensions.activator,e=this.dimensions.content,i=(!1!==this.attach?t.offsetLeft:t.left)||0,s=Math.max(t.width,e.width);let n=0;if(n+=i,(this.left||this.$vuetify.rtl&&!this.right)&&(n-=s-t.width),this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));n+=this.left?-e:t.width}return this.nudgeLeft&&(n-=parseInt(this.nudgeLeft)),this.nudgeRight&&(n+=parseInt(this.nudgeRight)),n},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let i=0;return this.top&&(i+=t.height-e.height),!1!==this.attach?i+=t.offsetTop:i+=t.top+this.pageYOffset,this.offsetY&&(i+=this.top?-t.height:t.height),this.nudgeTop&&(i-=parseInt(this.nudgeTop)),this.nudgeBottom&&(i+=parseInt(this.nudgeBottom)),i},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!==typeof window,this.hasWindow&&window.addEventListener("resize",this.updateDimensions,!1)},beforeDestroy(){this.hasWindow&&window.removeEventListener("resize",this.updateDimensions,!1)},methods:{absolutePosition(){return{offsetTop:this.positionY||this.absoluteY,offsetLeft:this.positionX||this.absoluteX,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(t){return L(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return L(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const i=t+e-this.pageWidth+12;return t=(!this.left||this.right)&&i>0?Math.max(t-i,0):Math.max(t,12),t+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),i=this.absoluteYOffset+e,s=this.dimensions.activator,n=this.dimensions.content.height,r=t+n,a=i<r;return a&&this.offsetOverflow&&s.top>n?t=this.pageYOffset+(s.top-n):a&&!this.allowOverflow?t=i-n-12:t<this.absoluteYOffset&&!this.allowOverflow&&(t=this.absoluteYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return;let t=this.getActivator();while(t){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=Pi.options.methods.genActivatorListeners.call(this),e=t.click;return e&&(t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY}),t},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const i=window.getComputedStyle(t);e.left=parseInt(i.marginLeft),e.top=parseInt(i.marginTop)}return e},sneakPeek(t){requestAnimationFrame(()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()})},startTransition(){return new Promise(t=>requestAnimationFrame(()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))},updateDimensions(){this.hasWindow="undefined"!==typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek(()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const e=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+e.top,t.activator.top-=this.relativeYOffset,t.activator.left-=window.pageXOffset+e.left}t.content=this.measure(this.$refs.content)}this.dimensions=t})}}}),Ui=c.a.extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout(()=>{this.isActive=!1})}}}),Zi=c.a.extend({name:"roundable",props:{rounded:[Boolean,String],tile:Boolean},computed:{roundedClasses(){const t=[],e="string"===typeof this.rounded?String(this.rounded):!0===this.rounded;if(this.tile)t.push("rounded-0");else if("string"===typeof e){const i=e.split(" ");for(const e of i)t.push("rounded-"+e)}else e&&t.push("rounded");return t.length>0?{[t.join(" ")]:!0}:{}}}});function Xi(t){if("function"!==typeof t.getRootNode){while(t.parentNode)t=t.parentNode;return t!==document?null:document}const e=t.getRootNode();return e!==document&&e.getRootNode({composed:!0})!==document?null:e}function Ki(){return!0}function Gi(t,e,i){if(!t||!1===Qi(t,i))return!1;const s=Xi(e);if("undefined"!==typeof ShadowRoot&&s instanceof ShadowRoot&&s.host===t.target)return!1;const n=("object"===typeof i.value&&i.value.include||(()=>[]))();return n.push(e),!n.some(e=>e.contains(t.target))}function Qi(t,e){const i="object"===typeof e.value&&e.value.closeConditional||Ki;return i(t)}function Ji(t,e,i,s){const n="function"===typeof i.value?i.value:i.value.handler;e._clickOutside.lastMousedownWasOutside&&Gi(t,e,i)&&setTimeout(()=>{Qi(t,i)&&n&&n(t)},0)}function ts(t,e){const i=Xi(t);e(document),"undefined"!==typeof ShadowRoot&&i instanceof ShadowRoot&&e(i)}const es={inserted(t,e,i){const s=s=>Ji(s,t,e,i),n=i=>{t._clickOutside.lastMousedownWasOutside=Gi(i,t,e)};ts(t,t=>{t.addEventListener("click",s,!0),t.addEventListener("mousedown",n,!0)}),t._clickOutside||(t._clickOutside={lastMousedownWasOutside:!0}),t._clickOutside[i.context._uid]={onClick:s,onMousedown:n}},unbind(t,e,i){t._clickOutside&&(ts(t,e=>{var s;if(!e||null==(s=t._clickOutside)||!s[i.context._uid])return;const{onClick:n,onMousedown:r}=t._clickOutside[i.context._uid];e.removeEventListener("click",n,!0),e.removeEventListener("mousedown",r,!0)}),delete t._clickOutside[i.context._uid])}};var is=es;function ss(t,e,i){const s=e.value,n=e.options||{passive:!0};window.addEventListener("resize",s,n),t._onResize=Object(t._onResize),t._onResize[i.context._uid]={callback:s,options:n},e.modifiers&&e.modifiers.quiet||s()}function ns(t,e,i){var s;if(null==(s=t._onResize)||!s[i.context._uid])return;const{callback:n,options:r}=t._onResize[i.context._uid];window.removeEventListener("resize",n,r),delete t._onResize[i.context._uid]}const rs={inserted:ss,unbind:ns};var as=rs;const os=ke(Mi,Oi,Ui,Zi,_e,qi);var ls=os.extend({name:"v-menu",directives:{ClickOutside:is,Resize:as},provide(){return{isInMenu:!0,theme:this.theme}},props:{auto:Boolean,closeOnClick:{type:Boolean,default:!0},closeOnContentClick:{type:Boolean,default:!0},disabled:Boolean,disableKeys:Boolean,maxHeight:{type:[Number,String],default:"auto"},offsetX:Boolean,offsetY:Boolean,openOnHover:Boolean,origin:{type:String,default:"top left"},transition:{type:[Boolean,String],default:"v-menu-transition"}},data(){return{calculatedTopAuto:0,defaultOffset:8,hasJustFocused:!1,listIndex:-1,resizeTimeout:0,selectedIndex:null,tiles:[]}},computed:{activeTile(){return this.tiles[this.listIndex]},calculatedLeft(){const t=Math.max(this.dimensions.content.width,parseFloat(this.calculatedMinWidth));return this.auto?L(this.calcXOverflow(this.calcLeftAuto(),t))||"0":this.calcLeft(t)||"0"},calculatedMaxHeight(){const t=this.auto?"200px":L(this.maxHeight);return t||"0"},calculatedMaxWidth(){return L(this.maxWidth)||"0"},calculatedMinWidth(){if(this.minWidth)return L(this.minWidth)||"0";const t=Math.min(this.dimensions.activator.width+Number(this.nudgeWidth)+(this.auto?16:0),Math.max(this.pageWidth-24,0)),e=isNaN(parseInt(this.calculatedMaxWidth))?t:parseInt(this.calculatedMaxWidth);return L(Math.min(e,t))||"0"},calculatedTop(){const t=this.auto?L(this.calcYOverflow(this.calculatedTopAuto)):this.calcTop();return t||"0"},hasClickableTiles(){return Boolean(this.tiles.find(t=>t.tabIndex>-1))},styles(){return{maxHeight:this.calculatedMaxHeight,minWidth:this.calculatedMinWidth,maxWidth:this.calculatedMaxWidth,top:this.calculatedTop,left:this.calculatedLeft,transformOrigin:this.origin,zIndex:this.zIndex||this.activeZIndex}}},watch:{isActive(t){t||(this.listIndex=-1)},isContentActive(t){this.hasJustFocused=t},listIndex(t,e){if(t in this.tiles){const e=this.tiles[t];e.classList.add("v-list-item--highlighted");const i=this.$refs.content.scrollTop,s=this.$refs.content.clientHeight;i>e.offsetTop-8?bt(e.offsetTop-e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content}):i+s<e.offsetTop+e.clientHeight+8&&bt(e.offsetTop-s+2*e.clientHeight,{appOffset:!1,duration:300,container:this.$refs.content})}e in this.tiles&&this.tiles[e].classList.remove("v-list-item--highlighted")}},created(){this.$attrs.hasOwnProperty("full-width")&&fe("full-width",this)},mounted(){this.isActive&&this.callActivate()},methods:{activate(){this.updateDimensions(),requestAnimationFrame(()=>{this.startTransition().then(()=>{this.$refs.content&&(this.calculatedTopAuto=this.calcTopAuto(),this.auto&&(this.$refs.content.scrollTop=this.calcScrollPosition()))})})},calcScrollPosition(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active"),i=t.scrollHeight-t.offsetHeight;return e?Math.min(i,Math.max(0,e.offsetTop-t.offsetHeight/2+e.offsetHeight/2)):t.scrollTop},calcLeftAuto(){return parseInt(this.dimensions.activator.left-2*this.defaultOffset)},calcTopAuto(){const t=this.$refs.content,e=t.querySelector(".v-list-item--active");if(e||(this.selectedIndex=null),this.offsetY||!e)return this.computedTop;this.selectedIndex=Array.from(this.tiles).indexOf(e);const i=e.offsetTop-this.calcScrollPosition(),s=t.querySelector(".v-list-item").offsetTop;return this.computedTop-i-s-1},changeListIndex(t){if(this.getTiles(),this.isActive&&this.hasClickableTiles)if(t.keyCode!==T.tab){if(t.keyCode===T.down)this.nextTile();else if(t.keyCode===T.up)this.prevTile();else if(t.keyCode===T.end)this.lastTile();else if(t.keyCode===T.home)this.firstTile();else{if(t.keyCode!==T.enter||-1===this.listIndex)return;this.tiles[this.listIndex].click()}t.preventDefault()}else this.isActive=!1},closeConditional(t){const e=t.target;return this.isActive&&!this._isDestroyed&&this.closeOnClick&&!this.$refs.content.contains(e)},genActivatorAttributes(){const t=Pi.options.methods.genActivatorAttributes.call(this);return this.activeTile&&this.activeTile.id?{...t,"aria-activedescendant":this.activeTile.id}:t},genActivatorListeners(){const t=qi.options.methods.genActivatorListeners.call(this);return this.disableKeys||(t.keydown=this.onKeyDown),t},genTransition(){const t=this.genContent();return this.transition?this.$createElement("transition",{props:{name:this.transition}},[t]):t},genDirectives(){const t=[{name:"show",value:this.isContentActive}];return!this.openOnHover&&this.closeOnClick&&t.push({name:"click-outside",value:{handler:()=>{this.isActive=!1},closeConditional:this.closeConditional,include:()=>[this.$el,...this.getOpenDependentElements()]}}),t},genContent(){const t={attrs:{...this.getScopeIdAttrs(),role:"role"in this.$attrs?this.$attrs.role:"menu"},staticClass:"v-menu__content",class:{...this.rootThemeClasses,...this.roundedClasses,"v-menu__content--auto":this.auto,"v-menu__content--fixed":this.activatorFixed,menuable__content__active:this.isActive,[this.contentClass.trim()]:!0},style:this.styles,directives:this.genDirectives(),ref:"content",on:{click:t=>{const e=t.target;e.getAttribute("disabled")||this.closeOnContentClick&&(this.isActive=!1)},keydown:this.onKeyDown}};return this.$listeners.scroll&&(t.on=t.on||{},t.on.scroll=this.$listeners.scroll),!this.disabled&&this.openOnHover&&(t.on=t.on||{},t.on.mouseenter=this.mouseEnterHandler),this.openOnHover&&(t.on=t.on||{},t.on.mouseleave=this.mouseLeaveHandler),this.$createElement("div",t,this.getContentSlot())},getTiles(){this.$refs.content&&(this.tiles=Array.from(this.$refs.content.querySelectorAll(".v-list-item, .v-divider, .v-subheader")))},mouseEnterHandler(){this.runDelay("open",()=>{this.hasJustFocused||(this.hasJustFocused=!0)})},mouseLeaveHandler(t){this.runDelay("close",()=>{var e;null!=(e=this.$refs.content)&&e.contains(t.relatedTarget)||requestAnimationFrame(()=>{this.isActive=!1,this.callDeactivate()})})},nextTile(){const t=this.tiles[this.listIndex+1];if(!t){if(!this.tiles.length)return;return this.listIndex=-1,void this.nextTile()}this.listIndex++,-1===t.tabIndex&&this.nextTile()},prevTile(){const t=this.tiles[this.listIndex-1];if(!t){if(!this.tiles.length)return;return this.listIndex=this.tiles.length,void this.prevTile()}this.listIndex--,-1===t.tabIndex&&this.prevTile()},lastTile(){const t=this.tiles[this.tiles.length-1];t&&(this.listIndex=this.tiles.length-1,-1===t.tabIndex&&this.prevTile())},firstTile(){const t=this.tiles[0];t&&(this.listIndex=0,-1===t.tabIndex&&this.nextTile())},onKeyDown(t){if(t.keyCode===T.esc){setTimeout(()=>{this.isActive=!1});const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}else!this.isActive&&[T.up,T.down].includes(t.keyCode)&&(this.isActive=!0);this.$nextTick(()=>this.changeListIndex(t))},onResize(){this.isActive&&(this.$refs.content.offsetWidth,this.updateDimensions(),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.updateDimensions,100))}},render(t){const e={staticClass:"v-menu",class:{"v-menu--attached":""===this.attach||!0===this.attach||"attach"===this.attach},directives:[{arg:"500",name:"resize",value:this.onResize}]};return t("div",e,[!this.activator&&this.genActivator(),this.showLazyContent(()=>[this.$createElement(Ti,{props:{root:!0,light:this.light,dark:this.dark}},[this.genTransition()])])])}}),cs=ls,hs=(i("cf36"),c.a.extend({name:"v-simple-checkbox",functional:!0,directives:{ripple:Ii},props:{...xe.options.props,..._e.options.props,disabled:Boolean,ripple:{type:Boolean,default:!0},value:Boolean,indeterminate:Boolean,indeterminateIcon:{type:String,default:"$checkboxIndeterminate"},onIcon:{type:String,default:"$checkboxOn"},offIcon:{type:String,default:"$checkboxOff"}},render(t,{props:e,data:i,listeners:s}){const n=[];let r=e.offIcon;if(e.indeterminate?r=e.indeterminateIcon:e.value&&(r=e.onIcon),n.push(t(Ae,xe.options.methods.setTextColor(e.value&&e.color,{props:{disabled:e.disabled,dark:e.dark,light:e.light}}),r)),e.ripple&&!e.disabled){const i=t("div",xe.options.methods.setTextColor(e.color,{staticClass:"v-input--selection-controls__ripple",directives:[{name:"ripple",value:{center:!0}}]}));n.push(i)}return t("div",Re(i,{class:{"v-simple-checkbox":!0,"v-simple-checkbox--disabled":e.disabled},on:{click:t=>{t.stopPropagation(),i.on&&i.on.input&&!e.disabled&&F(i.on.input).forEach(t=>t(!e.value))}}}),[t("div",{staticClass:"v-input--selection-controls__input"},n)])}})),us=(i("8ce9"),_e.extend({name:"v-divider",props:{inset:Boolean,vertical:Boolean},render(t){let e;return this.$attrs.role&&"separator"!==this.$attrs.role||(e=this.vertical?"vertical":"horizontal"),t("hr",{class:{"v-divider":!0,"v-divider--inset":this.inset,"v-divider--vertical":this.vertical,...this.themeClasses},attrs:{role:"separator","aria-orientation":e,...this.$attrs},on:this.$listeners})}})),ds=us,ps=(i("0bc6"),ke(_e).extend({name:"v-subheader",props:{inset:Boolean},render(t){return t("div",{staticClass:"v-subheader",class:{"v-subheader--inset":this.inset,...this.themeClasses},attrs:this.$attrs,on:this.$listeners},this.$slots.default)}})),ms=ps;i("61d2");const fs=ke(xe,Li,_e,si("listItemGroup"),ni("inputValue"));var gs=fs.extend().extend({name:"v-list-item",directives:{Ripple:Ii},inject:{isInGroup:{default:!1},isInList:{default:!1},isInMenu:{default:!1},isInNav:{default:!1}},inheritAttrs:!1,props:{activeClass:{type:String,default(){return this.listItemGroup?this.listItemGroup.activeClass:""}},dense:Boolean,inactive:Boolean,link:Boolean,selectable:{type:Boolean},tag:{type:String,default:"div"},threeLine:Boolean,twoLine:Boolean,value:null},data:()=>({proxyClass:"v-list-item--active"}),computed:{classes(){return{"v-list-item":!0,...Li.options.computed.classes.call(this),"v-list-item--dense":this.dense,"v-list-item--disabled":this.disabled,"v-list-item--link":this.isClickable&&!this.inactive,"v-list-item--selectable":this.selectable,"v-list-item--three-line":this.threeLine,"v-list-item--two-line":this.twoLine,...this.themeClasses}},isClickable(){return Boolean(Li.options.computed.isClickable.call(this)||this.listItemGroup)}},created(){this.$attrs.hasOwnProperty("avatar")&&fe("avatar",this)},methods:{click(t){t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle()},genAttrs(){const t={"aria-disabled":!!this.disabled||void 0,tabindex:this.isClickable&&!this.disabled?0:-1,...this.$attrs};return this.$attrs.hasOwnProperty("role")||this.isInNav||(this.isInGroup?(t.role="option",t["aria-selected"]=String(this.isActive)):this.isInMenu?(t.role=this.isClickable?"menuitem":void 0,t.id=t.id||"list-item-"+this._uid):this.isInList&&(t.role="listitem")),t},toggle(){this.to&&void 0===this.inputValue&&(this.isActive=!this.isActive),this.$emit("change")}},render(t){let{tag:e,data:i}=this.generateRouteLink();i.attrs={...i.attrs,...this.genAttrs()},i[this.to?"nativeOn":"on"]={...i[this.to?"nativeOn":"on"],keydown:t=>{this.disabled||(t.keyCode===T.enter&&this.click(t),this.$emit("keydown",t))}},this.inactive&&(e="div"),this.inactive&&this.to&&(i.on=i.nativeOn,delete i.nativeOn);const s=this.$scopedSlots.default?this.$scopedSlots.default({active:this.isActive,toggle:this.toggle}):this.$slots.default;return t(e,this.isActive?this.setTextColor(this.color,i):i,s)}}),vs=c.a.extend({name:"v-list-item-action",functional:!0,render(t,{data:e,children:i=[]}){e.staticClass=e.staticClass?"v-list-item__action "+e.staticClass:"v-list-item__action";const s=i.filter(t=>!1===t.isComment&&" "!==t.text);return s.length>1&&(e.staticClass+=" v-list-item__action--stack"),t("div",e,i)}}),bs=(i("3ad0"),i("25a8"),c.a.extend({name:"elevatable",props:{elevation:[Number,String]},computed:{computedElevation(){return this.elevation},elevationClasses(){const t=this.computedElevation;return null==t||isNaN(parseInt(t))?{}:{["elevation-"+this.elevation]:!0}}}})),ys=c.a.extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles(){const t={},e=L(this.height),i=L(this.minHeight),s=L(this.minWidth),n=L(this.maxHeight),r=L(this.maxWidth),a=L(this.width);return e&&(t.height=e),i&&(t.minHeight=i),s&&(t.minWidth=s),n&&(t.maxHeight=n),r&&(t.maxWidth=r),a&&(t.width=a),t}}}),xs=ke(u,xe,bs,ys,Zi,_e).extend({name:"v-sheet",props:{outlined:Boolean,shaped:Boolean,tag:{type:String,default:"div"}},computed:{classes(){return{"v-sheet":!0,"v-sheet--outlined":this.outlined,"v-sheet--shaped":this.shaped,...this.themeClasses,...this.elevationClasses,...this.roundedClasses}},styles(){return this.measurableStyles}},render(t){const e={class:this.classes,style:this.styles,on:this.listeners$};return t(this.tag,this.setBackgroundColor(this.color,e),this.$slots.default)}}),$s=xs.extend().extend({name:"v-list",provide(){return{isInList:!0,list:this}},inject:{isInMenu:{default:!1},isInNav:{default:!1}},props:{dense:Boolean,disabled:Boolean,expand:Boolean,flat:Boolean,nav:Boolean,rounded:Boolean,subheader:Boolean,threeLine:Boolean,twoLine:Boolean},data:()=>({groups:[]}),computed:{classes(){return{...xs.options.computed.classes.call(this),"v-list--dense":this.dense,"v-list--disabled":this.disabled,"v-list--flat":this.flat,"v-list--nav":this.nav,"v-list--rounded":this.rounded,"v-list--subheader":this.subheader,"v-list--two-line":this.twoLine,"v-list--three-line":this.threeLine}}},methods:{register(t){this.groups.push(t)},unregister(t){const e=this.groups.findIndex(e=>e._uid===t._uid);e>-1&&this.groups.splice(e,1)},listClick(t){if(!this.expand)for(const e of this.groups)e.toggle(t)}},render(t){const e={staticClass:"v-list",class:this.classes,style:this.styles,attrs:{role:this.isInNav||this.isInMenu?void 0:"list",...this.attrs$}};return t(this.tag,this.setBackgroundColor(this.color,e),[this.$slots.default])}}),Cs=(i("db42"),c.a.extend({name:"v-list-item-icon",functional:!0,render(t,{data:e,children:i}){return e.staticClass=("v-list-item__icon "+(e.staticClass||"")).trim(),t("div",e,i)}}));const Ss=ke(u,Ri,xe,ei("list"),ai);Ss.extend().extend({name:"v-list-group",directives:{ripple:Ii},props:{activeClass:{type:String,default:""},appendIcon:{type:String,default:"$expand"},color:{type:String,default:"primary"},disabled:Boolean,group:[String,RegExp],noAction:Boolean,prependIcon:String,ripple:{type:[Boolean,Object],default:!0},subGroup:Boolean},computed:{classes(){return{"v-list-group--active":this.isActive,"v-list-group--disabled":this.disabled,"v-list-group--no-action":this.noAction,"v-list-group--sub-group":this.subGroup}}},watch:{isActive(t){!this.subGroup&&t&&this.list&&this.list.listClick(this._uid)},$route:"onRouteChange"},created(){this.list&&this.list.register(this),this.group&&this.$route&&null==this.value&&(this.isActive=this.matchRoute(this.$route.path))},beforeDestroy(){this.list&&this.list.unregister(this)},methods:{click(t){this.disabled||(this.isBooted=!0,this.$emit("click",t),this.$nextTick(()=>this.isActive=!this.isActive))},genIcon(t){return this.$createElement(Je,t)},genAppendIcon(){const t=!this.subGroup&&this.appendIcon;return t||this.$slots.appendIcon?this.$createElement(Cs,{staticClass:"v-list-group__header__append-icon"},[this.$slots.appendIcon||this.genIcon(t)]):null},genHeader(){return this.$createElement(gs,{staticClass:"v-list-group__header",attrs:{"aria-expanded":String(this.isActive),role:"button"},class:{[this.activeClass]:this.isActive},props:{inputValue:this.isActive},directives:[{name:"ripple",value:this.ripple}],on:{...this.listeners$,click:this.click}},[this.genPrependIcon(),this.$slots.activator,this.genAppendIcon()])},genItems(){return this.showLazyContent(()=>[this.$createElement("div",{staticClass:"v-list-group__items",directives:[{name:"show",value:this.isActive}]},Y(this))])},genPrependIcon(){const t=this.subGroup&&null==this.prependIcon?"$subgroup":this.prependIcon;return t||this.$slots.prependIcon?this.$createElement(Cs,{staticClass:"v-list-group__header__prepend-icon"},[this.$slots.prependIcon||this.genIcon(t)]):null},onRouteChange(t){if(!this.group)return;const e=this.matchRoute(t.path);e&&this.isActive!==e&&this.list&&this.list.listClick(this._uid),this.isActive=e},toggle(t){const e=this._uid===t;e&&(this.isBooted=!0),this.$nextTick(()=>this.isActive=e)},matchRoute(t){return null!==t.match(this.group)}},render(t){return t("div",this.setTextColor(this.isActive&&this.color,{staticClass:"v-list-group",class:this.classes}),[this.genHeader(),t(Ge,this.genItems())])}}),i("899c"),i("166a");var _s=c.a.extend({name:"comparable",props:{valueComparator:{type:Function,default:x}}});function ws(t="value",e="change"){return c.a.extend({name:"proxyable",model:{prop:t,event:e},props:{[t]:{required:!1}},data(){return{internalLazyValue:this[t]}},computed:{internalValue:{get(){return this.internalLazyValue},set(t){t!==this.internalLazyValue&&(this.internalLazyValue=t,this.$emit(e,t))}}},watch:{[t](t){this.internalLazyValue=t}}})}const ks=ws();var Is=ks;const Ls=ke(_s,Is,_e).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes(){return{"v-item-group":!0,...this.themeClasses}},selectedIndex(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem(){if(!this.multiple)return this.selectedItems[0]},selectedItems(){return this.items.filter((t,e)=>this.toggleMethod(this.getValue(t,e)))},selectedValues(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod(){if(!this.multiple)return t=>this.valueComparator(this.internalValue,t);const t=this.internalValue;return Array.isArray(t)?e=>t.some(t=>this.valueComparator(t,e)):()=>!1}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created(){this.multiple&&!Array.isArray(this.internalValue)&&ue("Model must be bound to an array if the multiple property is true.",this)},methods:{genData(){return{class:this.classes}},getValue(t,e){return void 0===t.value?e:t.value},onClick(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register(t){const e=this.items.push(t)-1;t.$on("change",()=>this.onClick(t)),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(t,e)},unregister(t){if(this._isDestroyed)return;const e=this.items.indexOf(t),i=this.getValue(t,e);this.items.splice(e,1);const s=this.selectedValues.indexOf(i);if(!(s<0)){if(!this.mandatory)return this.updateInternalValue(i);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter(t=>t!==i):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}},updateItem(t,e){const i=this.getValue(t,e);t.isActive=this.toggleMethod(i)},updateItemsState(){this.$nextTick(()=>{if(this.mandatory&&!this.selectedItems.length)return this.updateMandatory();this.items.forEach(this.updateItem)})},updateInternalValue(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory(t){if(!this.items.length)return;const e=this.items.slice();t&&e.reverse();const i=e.find(t=>!t.disabled);if(!i)return;const s=this.items.indexOf(i);this.updateInternalValue(this.getValue(i,s))},updateMultiple(t){const e=Array.isArray(this.internalValue)?this.internalValue:[],i=e.slice(),s=i.findIndex(e=>e===t);this.mandatory&&s>-1&&i.length-1<1||null!=this.max&&s<0&&i.length+1>this.max||(s>-1?i.splice(s,1):i.push(t),this.internalValue=i)},updateSingle(t){const e=t===this.internalValue;this.mandatory&&e||(this.internalValue=e?void 0:t)}},render(t){return t(this.tag,this.genData(),this.$slots.default)}});Ls.extend({name:"v-item-group",provide(){return{itemGroup:this}}}),ke(Ls,xe).extend({name:"v-list-item-group",provide(){return{isInGroup:!0,listItemGroup:this}},computed:{classes(){return{...Ls.options.computed.classes.call(this),"v-list-item-group":!0}}},methods:{genData(){return this.setTextColor(this.color,{...Ls.options.methods.genData.call(this),attrs:{role:"listbox"}})}}}),i("3408");var Bs=ke(xe,ys,Zi).extend({name:"v-avatar",props:{left:Boolean,right:Boolean,size:{type:[Number,String],default:48}},computed:{classes(){return{"v-avatar--left":this.left,"v-avatar--right":this.right,...this.roundedClasses}},styles(){return{height:L(this.size),minWidth:L(this.size),width:L(this.size),...this.measurableStyles}}},render(t){const e={staticClass:"v-avatar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),this.$slots.default)}}),As=Bs;As.extend({name:"v-list-item-avatar",props:{horizontal:Boolean,size:{type:[Number,String],default:40}},computed:{classes(){return{"v-list-item__avatar--horizontal":this.horizontal,...As.options.computed.classes.call(this),"v-avatar--tile":this.tile||this.horizontal}}},render(t){const e=As.options.render.call(this,t);return e.data=e.data||{},e.data.staticClass+=" v-list-item__avatar",e}});f("v-list-item__action-text","span");const Ts=f("v-list-item__content","div"),Os=f("v-list-item__title","div");f("v-list-item__subtitle","div");var Es=ke(xe,_e).extend({name:"v-select-list",directives:{ripple:Ii},props:{action:Boolean,dense:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},noDataText:String,noFilter:Boolean,searchInput:null,selectedItems:{type:Array,default:()=>[]}},computed:{parsedItems(){return this.selectedItems.map(t=>this.getValue(t))},tileActiveClass(){return Object.keys(this.setTextColor(this.color).class||{}).join(" ")},staticNoDataTile(){const t={attrs:{role:void 0},on:{mousedown:t=>t.preventDefault()}};return this.$createElement(gs,t,[this.genTileContent(this.noDataText)])}},methods:{genAction(t,e){return this.$createElement(vs,[this.$createElement(hs,{props:{color:this.color,value:e,ripple:!1},on:{input:()=>this.$emit("select",t)}})])},genDivider(t){return this.$createElement(ds,{props:t})},genFilteredText(t){if(t=t||"",!this.searchInput||this.noFilter)return k(t);const{start:e,middle:i,end:s}=this.getMaskedCharacters(t);return`${k(e)}${this.genHighlight(i)}${k(s)}`},genHeader(t){return this.$createElement(ms,{props:t},t.header)},genHighlight(t){return`<span class="v-list-item__mask">${k(t)}</span>`},getMaskedCharacters(t){const e=(this.searchInput||"").toString().toLocaleLowerCase(),i=t.toLocaleLowerCase().indexOf(e);if(i<0)return{start:t,middle:"",end:""};const s=t.slice(0,i),n=t.slice(i,i+e.length),r=t.slice(i+e.length);return{start:s,middle:n,end:r}},genTile({item:t,index:e,disabled:i=null,value:s=!1}){s||(s=this.hasItem(t)),t===Object(t)&&(i=null!==i?i:this.getDisabled(t));const n={attrs:{"aria-selected":String(s),id:`list-item-${this._uid}-${e}`,role:"option"},on:{mousedown:t=>{t.preventDefault()},click:()=>i||this.$emit("select",t)},props:{activeClass:this.tileActiveClass,disabled:i,ripple:!0,inputValue:s}};if(!this.$scopedSlots.item)return this.$createElement(gs,n,[this.action&&!this.hideSelected&&this.items.length>0?this.genAction(t,s):null,this.genTileContent(t,e)]);const r=this,a=this.$scopedSlots.item({parent:r,item:t,attrs:{...n.attrs,...n.props},on:n.on});return this.needsTile(a)?this.$createElement(gs,n,a):a},genTileContent(t,e=0){const i=this.genFilteredText(this.getText(t));return this.$createElement(Ts,[this.$createElement(Os,{domProps:{innerHTML:i}})])},hasItem(t){return this.parsedItems.indexOf(this.getValue(t))>-1},needsTile(t){return 1!==t.length||null==t[0].componentOptions||"v-list-item"!==t[0].componentOptions.Ctor.options.name},getDisabled(t){return Boolean(C(t,this.itemDisabled,!1))},getText(t){return String(C(t,this.itemText,t))},getValue(t){return C(t,this.itemValue,this.getText(t))}},render(){const t=[],e=this.items.length;for(let i=0;i<e;i++){const e=this.items[i];this.hideSelected&&this.hasItem(e)||(null==e?t.push(this.genTile({item:e,index:i})):e.header?t.push(this.genHeader(e)):e.divider?t.push(this.genDivider(e)):t.push(this.genTile({item:e,index:i})))}return t.length||t.push(this.$slots["no-data"]||this.staticNoDataTile),this.$slots["prepend-item"]&&t.unshift(this.$slots["prepend-item"]),this.$slots["append-item"]&&t.push(this.$slots["append-item"]),this.$createElement($s,{staticClass:"v-select-list",class:this.themeClasses,attrs:{role:"listbox",tabindex:-1},props:{dense:this.dense}},t)}}),Ps=(i("d191"),i("1b2c"),ke(_e).extend({name:"v-label",functional:!0,props:{absolute:Boolean,color:{type:String,default:"primary"},disabled:Boolean,focused:Boolean,for:String,left:{type:[Number,String],default:0},right:{type:[Number,String],default:"auto"},value:Boolean},render(t,e){const{children:i,listeners:s,props:n}=e,r={staticClass:"v-label",class:{"v-label--active":n.value,"v-label--is-disabled":n.disabled,...we(e)},attrs:{for:n.for,"aria-hidden":!n.for},on:s,style:{left:L(n.left),right:L(n.right),position:n.absolute?"absolute":"relative"},ref:"label"};return t("label",xe.options.methods.setTextColor(n.focused&&n.color,r),i)}})),Ds=Ps,Ms=(i("8ff2"),ke(xe,_e).extend({name:"v-messages",props:{value:{type:Array,default:()=>[]}},methods:{genChildren(){return this.$createElement("transition-group",{staticClass:"v-messages__wrapper",attrs:{name:"message-transition",tag:"div"}},this.value.map(this.genMessage))},genMessage(t,e){return this.$createElement("div",{staticClass:"v-messages__message",key:e},Y(this,"default",{message:t,key:e})||[t])}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-messages",class:this.themeClasses}),[this.genChildren()])}})),Vs=Ms;const Fs=ke(xe,ei("form"),_e);var Ns=Fs.extend({name:"validatable",props:{disabled:Boolean,error:Boolean,errorCount:{type:[Number,String],default:1},errorMessages:{type:[String,Array],default:()=>[]},messages:{type:[String,Array],default:()=>[]},readonly:Boolean,rules:{type:Array,default:()=>[]},success:Boolean,successMessages:{type:[String,Array],default:()=>[]},validateOnBlur:Boolean,value:{required:!1}},data(){return{errorBucket:[],hasColor:!1,hasFocused:!1,hasInput:!1,isFocused:!1,isResetting:!1,lazyValue:this.value,valid:!1}},computed:{computedColor(){if(!this.isDisabled)return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"},hasError(){return this.internalErrorMessages.length>0||this.errorBucket.length>0||this.error},hasSuccess(){return this.internalSuccessMessages.length>0||this.success},externalError(){return this.internalErrorMessages.length>0||this.error},hasMessages(){return this.validationTarget.length>0},hasState(){return!this.isDisabled&&(this.hasSuccess||this.shouldValidate&&this.hasError)},internalErrorMessages(){return this.genInternalMessages(this.errorMessages)},internalMessages(){return this.genInternalMessages(this.messages)},internalSuccessMessages(){return this.genInternalMessages(this.successMessages)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",t)}},isDisabled(){return this.disabled||!!this.form&&this.form.disabled},isInteractive(){return!this.isDisabled&&!this.isReadonly},isReadonly(){return this.readonly||!!this.form&&this.form.readonly},shouldValidate(){return!!this.externalError||!this.isResetting&&(this.validateOnBlur?this.hasFocused&&!this.isFocused:this.hasInput||this.hasFocused)},validations(){return this.validationTarget.slice(0,Number(this.errorCount))},validationState(){if(!this.isDisabled)return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":this.hasColor?this.computedColor:void 0},validationTarget(){return this.internalErrorMessages.length>0?this.internalErrorMessages:this.successMessages&&this.successMessages.length>0?this.internalSuccessMessages:this.messages&&this.messages.length>0?this.internalMessages:this.shouldValidate?this.errorBucket:[]}},watch:{rules:{handler(t,e){x(t,e)||this.validate()},deep:!0},internalValue(){this.hasInput=!0,this.validateOnBlur||this.$nextTick(this.validate)},isFocused(t){t||this.isDisabled||(this.hasFocused=!0,this.validateOnBlur&&this.$nextTick(this.validate))},isResetting(){setTimeout(()=>{this.hasInput=!1,this.hasFocused=!1,this.isResetting=!1,this.validate()},0)},hasError(t){this.shouldValidate&&this.$emit("update:error",t)},value(t){this.lazyValue=t}},beforeMount(){this.validate()},created(){this.form&&this.form.register(this)},beforeDestroy(){this.form&&this.form.unregister(this)},methods:{genInternalMessages(t){return t?Array.isArray(t)?t:[t]:[]},reset(){this.isResetting=!0,this.internalValue=Array.isArray(this.internalValue)?[]:null},resetValidation(){this.isResetting=!0},validate(t=!1,e){const i=[];e=e||this.internalValue,t&&(this.hasInput=this.hasFocused=!0);for(let s=0;s<this.rules.length;s++){const t=this.rules[s],n="function"===typeof t?t(e):t;!1===n||"string"===typeof n?i.push(n||""):"boolean"!==typeof n&&de(`Rules should return a string or boolean, received '${typeof n}' instead`,this)}return this.errorBucket=i,this.valid=0===i.length,this.valid}}});const zs=ke(u,Ns);var Rs=zs.extend().extend({name:"v-input",inheritAttrs:!1,props:{appendIcon:String,backgroundColor:{type:String,default:""},dense:Boolean,height:[Number,String],hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,id:String,label:String,loading:Boolean,persistentHint:Boolean,prependIcon:String,value:null},data(){return{lazyValue:this.value,hasMouseDown:!1}},computed:{classes(){return{"v-input--has-state":this.hasState,"v-input--hide-details":!this.showDetails,"v-input--is-label-active":this.isLabelActive,"v-input--is-dirty":this.isDirty,"v-input--is-disabled":this.isDisabled,"v-input--is-focused":this.isFocused,"v-input--is-loading":!1!==this.loading&&null!=this.loading,"v-input--is-readonly":this.isReadonly,"v-input--dense":this.dense,"v-input--hide-spin-buttons":this.hideSpinButtons,...this.themeClasses}},computedId(){return this.id||"input-"+this._uid},hasDetails(){return this.messagesToDisplay.length>0},hasHint(){return!this.hasMessages&&!!this.hint&&(this.persistentHint||this.isFocused)},hasLabel(){return!(!this.$slots.label&&!this.label)},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit(this.$_modelEvent,t)}},isDirty(){return!!this.lazyValue},isLabelActive(){return this.isDirty},messagesToDisplay(){return this.hasHint?[this.hint]:this.hasMessages?this.validations.map(t=>{if("string"===typeof t)return t;const e=t(this.internalValue);return"string"===typeof e?e:""}).filter(t=>""!==t):[]},showDetails(){return!1===this.hideDetails||"auto"===this.hideDetails&&this.hasDetails}},watch:{value(t){this.lazyValue=t}},beforeCreate(){this.$_modelEvent=this.$options.model&&this.$options.model.event||"input"},methods:{genContent(){return[this.genPrependSlot(),this.genControl(),this.genAppendSlot()]},genControl(){return this.$createElement("div",{staticClass:"v-input__control",attrs:{title:this.attrs$.title}},[this.genInputSlot(),this.genMessages()])},genDefaultSlot(){return[this.genLabel(),this.$slots.default]},genIcon(t,e,i={}){const s=this[t+"Icon"],n="click:"+B(t),r=!(!this.listeners$[n]&&!e),a=Re({attrs:{"aria-label":r?B(t).split("-")[0]+" icon":void 0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,light:this.light},on:r?{click:t=>{t.preventDefault(),t.stopPropagation(),this.$emit(n,t),e&&e(t)},mouseup:t=>{t.preventDefault(),t.stopPropagation()}}:void 0},i);return this.$createElement("div",{staticClass:"v-input__icon",class:t?"v-input__icon--"+B(t):void 0},[this.$createElement(Je,a,s)])},genInputSlot(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor,{staticClass:"v-input__slot",style:{height:L(this.height)},on:{click:this.onClick,mousedown:this.onMouseDown,mouseup:this.onMouseUp},ref:"input-slot"}),[this.genDefaultSlot()])},genLabel(){return this.hasLabel?this.$createElement(Ds,{props:{color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:this.hasState,for:this.computedId,light:this.light}},this.$slots.label||this.label):null},genMessages(){return this.showDetails?this.$createElement(Vs,{props:{color:this.hasHint?"":this.validationState,dark:this.dark,light:this.light,value:this.messagesToDisplay},attrs:{role:this.hasMessages?"alert":null},scopedSlots:{default:t=>Y(this,"message",t)}}):null},genSlot(t,e,i){if(!i.length)return null;const s=`${t}-${e}`;return this.$createElement("div",{staticClass:"v-input__"+s,ref:s},i)},genPrependSlot(){const t=[];return this.$slots.prepend?t.push(this.$slots.prepend):this.prependIcon&&t.push(this.genIcon("prepend")),this.genSlot("prepend","outer",t)},genAppendSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","outer",t)},onClick(t){this.$emit("click",t)},onMouseDown(t){this.hasMouseDown=!0,this.$emit("mousedown",t)},onMouseUp(t){this.hasMouseDown=!1,this.$emit("mouseup",t)}},render(t){return t("div",this.setTextColor(this.validationState,{staticClass:"v-input",class:this.classes}),this.genContent())}}),Hs=Rs,Ws=(i("e9b1"),ke(_e).extend({name:"v-counter",functional:!0,props:{value:{type:[Number,String],default:""},max:[Number,String]},render(t,e){const{props:i}=e,s=parseInt(i.max,10),n=parseInt(i.value,10),r=s?`${n} / ${s}`:String(i.value),a=s&&n>s;return t("div",{staticClass:"v-counter",class:{"error--text":a,...we(e)}},r)}})),js=Ws;function Ys(t,e,i){if("undefined"===typeof window||!("IntersectionObserver"in window))return;const s=e.modifiers||{},n=e.value,{handler:r,options:a}="object"===typeof n?n:{handler:n,options:{}},o=new IntersectionObserver((n=[],a)=>{var o;const l=null==(o=t._observe)?void 0:o[i.context._uid];if(!l)return;const c=n.some(t=>t.isIntersecting);!r||s.quiet&&!l.init||s.once&&!c&&!l.init||r(n,a,c),c&&s.once?qs(t,e,i):l.init=!0},a);t._observe=Object(t._observe),t._observe[i.context._uid]={init:!1,observer:o},o.observe(t)}function qs(t,e,i){var s;const n=null==(s=t._observe)?void 0:s[i.context._uid];n&&(n.observer.unobserve(t),delete t._observe[i.context._uid])}const Us={inserted:Ys,unbind:qs};var Zs=Us;function Xs(t){return c.a.extend({name:"intersectable",data:()=>({isIntersecting:!1}),mounted(){Zs.inserted(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},destroyed(){Zs.unbind(this.$el,{name:"intersect",value:this.onObserve},this.$vnode)},methods:{onObserve(e,i,s){if(this.isIntersecting=s,s)for(let n=0,r=t.onVisible.length;n<r;n++){const e=this[t.onVisible[n]];"function"!==typeof e?ue(t.onVisible[n]+" method is not available on the instance but referenced in intersectable mixin options"):e()}}}})}i("6ece");const Ks=ke(xe,Ni(["absolute","fixed","top","bottom"]),Is,_e);var Gs=Ks.extend({name:"v-progress-linear",directives:{intersect:Zs},props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,reverse:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data(){return{internalLazyValue:this.value||0,isVisible:!0}},computed:{__cachedBackground(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:L(this.normalizedValue,"%")}}))},__cachedIndeterminate(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:L(100-this.normalizedBuffer,"%")}})):null},backgroundStyle(){const t=null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity);return{opacity:t,[this.isReversed?"right":"left"]:L(this.normalizedValue,"%"),width:L(Math.max(0,this.normalizedBuffer-this.normalizedValue),"%")}},classes(){return{"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--reverse":this.isReversed,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped,"v-progress-linear--visible":this.isVisible,...this.themeClasses}},computedTransition(){return this.indeterminate?Xe:Ke},isReversed(){return this.$vuetify.rtl!==this.reverse},normalizedBuffer(){return this.normalize(this.bufferValue)},normalizedValue(){return this.normalize(this.internalLazyValue)},reactive(){return Boolean(this.$listeners.change)},styles(){const t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=L(this.normalizedBuffer,"%")),t}},methods:{genContent(){const t=Y(this,"default",{value:this.internalLazyValue});return t?this.$createElement("div",{staticClass:"v-progress-linear__content"},t):null},genListeners(){const t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:{[t]:!0}}))},onClick(t){if(!this.reactive)return;const{width:e}=this.$el.getBoundingClientRect();this.internalValue=t.offsetX/e*100},onObserve(t,e,i){this.isVisible=i},normalize(t){return t<0?0:t>100?100:parseFloat(t)}},render(t){const e={staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:{bottom:this.bottom?0:void 0,height:this.active?L(this.height):0,top:this.top?0:void 0},on:this.genListeners()};return t("div",e,[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}}),Qs=Gs,Js=c.a.extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress(){return!1===this.loading?null:this.$slots.progress||this.$createElement(Qs,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}});const tn=ke(Hs,Xs({onVisible:["onResize","tryAutofocus"]}),Js),en=["color","file","time","date","datetime-local","week","month"];var sn=tn.extend().extend({name:"v-text-field",directives:{resize:as,ripple:Ii},inheritAttrs:!1,props:{appendOuterIcon:String,autofocus:Boolean,clearable:Boolean,clearIcon:{type:String,default:"$clear"},counter:[Boolean,Number,String],counterValue:Function,filled:Boolean,flat:Boolean,fullWidth:Boolean,label:String,outlined:Boolean,placeholder:String,prefix:String,prependInnerIcon:String,persistentPlaceholder:Boolean,reverse:Boolean,rounded:Boolean,shaped:Boolean,singleLine:Boolean,solo:Boolean,soloInverted:Boolean,suffix:String,type:{type:String,default:"text"}},data:()=>({badInput:!1,labelWidth:0,prefixWidth:0,prependWidth:0,initialValue:null,isBooted:!1,isClearing:!1}),computed:{classes(){return{...Hs.options.computed.classes.call(this),"v-text-field":!0,"v-text-field--full-width":this.fullWidth,"v-text-field--prefix":this.prefix,"v-text-field--single-line":this.isSingle,"v-text-field--solo":this.isSolo,"v-text-field--solo-inverted":this.soloInverted,"v-text-field--solo-flat":this.flat,"v-text-field--filled":this.filled,"v-text-field--is-booted":this.isBooted,"v-text-field--enclosed":this.isEnclosed,"v-text-field--reverse":this.reverse,"v-text-field--outlined":this.outlined,"v-text-field--placeholder":this.placeholder,"v-text-field--rounded":this.rounded,"v-text-field--shaped":this.shaped}},computedColor(){const t=Ns.options.computed.computedColor.call(this);return this.soloInverted&&this.isFocused?this.color||"primary":t},computedCounterValue(){return"function"===typeof this.counterValue?this.counterValue(this.internalValue):[...(this.internalValue||"").toString()].length},hasCounter(){return!1!==this.counter&&null!=this.counter},hasDetails(){return Hs.options.computed.hasDetails.call(this)||this.hasCounter},internalValue:{get(){return this.lazyValue},set(t){this.lazyValue=t,this.$emit("input",this.lazyValue)}},isDirty(){var t;return(null==(t=this.lazyValue)?void 0:t.toString().length)>0||this.badInput},isEnclosed(){return this.filled||this.isSolo||this.outlined},isLabelActive(){return this.isDirty||en.includes(this.type)},isSingle(){return this.isSolo||this.singleLine||this.fullWidth||this.filled&&!this.hasLabel},isSolo(){return this.solo||this.soloInverted},labelPosition(){let t=this.prefix&&!this.labelValue?this.prefixWidth:0;return this.labelValue&&this.prependWidth&&(t-=this.prependWidth),this.$vuetify.rtl===this.reverse?{left:t,right:"auto"}:{left:"auto",right:t}},showLabel(){return this.hasLabel&&!(this.isSingle&&this.labelValue)},labelValue(){return this.isFocused||this.isLabelActive||this.persistentPlaceholder}},watch:{outlined:"setLabelWidth",label(){this.$nextTick(this.setLabelWidth)},prefix(){this.$nextTick(this.setPrefixWidth)},isFocused:"updateValue",value(t){this.lazyValue=t}},created(){this.$attrs.hasOwnProperty("box")&&me("box","filled",this),this.$attrs.hasOwnProperty("browser-autocomplete")&&me("browser-autocomplete","autocomplete",this),this.shaped&&!(this.filled||this.outlined||this.isSolo)&&ue("shaped should be used with either filled or outlined",this)},mounted(){this.$watch(()=>this.labelValue,this.setLabelWidth),this.autofocus&&this.tryAutofocus(),requestAnimationFrame(()=>{this.isBooted=!0,requestAnimationFrame(()=>{this.isIntersecting||this.onResize()})})},methods:{focus(){this.onFocus()},blur(t){window.requestAnimationFrame(()=>{this.$refs.input&&this.$refs.input.blur()})},clearableCallback(){this.$refs.input&&this.$refs.input.focus(),this.$nextTick(()=>this.internalValue=null)},genAppendSlot(){const t=[];return this.$slots["append-outer"]?t.push(this.$slots["append-outer"]):this.appendOuterIcon&&t.push(this.genIcon("appendOuter")),this.genSlot("append","outer",t)},genPrependInnerSlot(){const t=[];return this.$slots["prepend-inner"]?t.push(this.$slots["prepend-inner"]):this.prependInnerIcon&&t.push(this.genIcon("prependInner")),this.genSlot("prepend","inner",t)},genIconSlot(){const t=[];return this.$slots.append?t.push(this.$slots.append):this.appendIcon&&t.push(this.genIcon("append")),this.genSlot("append","inner",t)},genInputSlot(){const t=Hs.options.methods.genInputSlot.call(this),e=this.genPrependInnerSlot();return e&&(t.children=t.children||[],t.children.unshift(e)),t},genClearIcon(){return this.clearable?this.isDirty?this.genSlot("append","inner",[this.genIcon("clear",this.clearableCallback)]):this.genSlot("append","inner",[this.$createElement("div")]):null},genCounter(){var t,e,i;if(!this.hasCounter)return null;const s=!0===this.counter?this.attrs$.maxlength:this.counter,n={dark:this.dark,light:this.light,max:s,value:this.computedCounterValue};return null!=(t=null==(e=(i=this.$scopedSlots).counter)?void 0:e.call(i,{props:n}))?t:this.$createElement(js,{props:n})},genControl(){return Hs.options.methods.genControl.call(this)},genDefaultSlot(){return[this.genFieldset(),this.genTextFieldSlot(),this.genClearIcon(),this.genIconSlot(),this.genProgress()]},genFieldset(){return this.outlined?this.$createElement("fieldset",{attrs:{"aria-hidden":!0}},[this.genLegend()]):null},genLabel(){if(!this.showLabel)return null;const t={props:{absolute:!0,color:this.validationState,dark:this.dark,disabled:this.isDisabled,focused:!this.isSingle&&(this.isFocused||!!this.validationState),for:this.computedId,left:this.labelPosition.left,light:this.light,right:this.labelPosition.right,value:this.labelValue}};return this.$createElement(Ds,t,this.$slots.label||this.label)},genLegend(){const t=this.singleLine||!this.labelValue&&!this.isDirty?0:this.labelWidth,e=this.$createElement("span",{domProps:{innerHTML:"&#8203;"},staticClass:"notranslate"});return this.$createElement("legend",{style:{width:this.isSingle?void 0:L(t)}},[e])},genInput(){const t=Object.assign({},this.listeners$);delete t.change;const{title:e,...i}=this.attrs$;return this.$createElement("input",{style:{},domProps:{value:"number"===this.type&&Object.is(this.lazyValue,-0)?"-0":this.lazyValue},attrs:{...i,autofocus:this.autofocus,disabled:this.isDisabled,id:this.computedId,placeholder:this.persistentPlaceholder||this.isFocused||!this.hasLabel?this.placeholder:void 0,readonly:this.isReadonly,type:this.type},on:Object.assign(t,{blur:this.onBlur,input:this.onInput,focus:this.onFocus,keydown:this.onKeyDown}),ref:"input",directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]})},genMessages(){if(!this.showDetails)return null;const t=Hs.options.methods.genMessages.call(this),e=this.genCounter();return this.$createElement("div",{staticClass:"v-text-field__details"},[t,e])},genTextFieldSlot(){return this.$createElement("div",{staticClass:"v-text-field__slot"},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,this.genInput(),this.suffix?this.genAffix("suffix"):null])},genAffix(t){return this.$createElement("div",{class:"v-text-field__"+t,ref:t},this[t])},onBlur(t){this.isFocused=!1,t&&this.$nextTick(()=>this.$emit("blur",t))},onClick(){this.isFocused||this.isDisabled||!this.$refs.input||this.$refs.input.focus()},onFocus(t){if(!this.$refs.input)return;const e=Xi(this.$el);return e?e.activeElement!==this.$refs.input?this.$refs.input.focus():void(this.isFocused||(this.isFocused=!0,t&&this.$emit("focus",t))):void 0},onInput(t){const e=t.target;this.internalValue=e.value,this.badInput=e.validity&&e.validity.badInput},onKeyDown(t){t.keyCode===T.enter&&this.lazyValue!==this.initialValue&&(this.initialValue=this.lazyValue,this.$emit("change",this.initialValue)),this.$emit("keydown",t)},onMouseDown(t){t.target!==this.$refs.input&&(t.preventDefault(),t.stopPropagation()),Hs.options.methods.onMouseDown.call(this,t)},onMouseUp(t){this.hasMouseDown&&this.focus(),Hs.options.methods.onMouseUp.call(this,t)},setLabelWidth(){this.outlined&&(this.labelWidth=this.$refs.label?Math.min(.75*this.$refs.label.scrollWidth+6,this.$el.offsetWidth-24):0)},setPrefixWidth(){this.$refs.prefix&&(this.prefixWidth=this.$refs.prefix.offsetWidth)},setPrependWidth(){this.outlined&&this.$refs["prepend-inner"]&&(this.prependWidth=this.$refs["prepend-inner"].offsetWidth)},tryAutofocus(){if(!this.autofocus||"undefined"===typeof document||!this.$refs.input)return!1;const t=Xi(this.$el);return!(!t||t.activeElement===this.$refs.input)&&(this.$refs.input.focus(),!0)},updateValue(t){this.hasColor=t,t?this.initialValue=this.lazyValue:this.initialValue!==this.lazyValue&&this.$emit("change",this.lazyValue)},onResize(){this.setLabelWidth(),this.setPrefixWidth(),this.setPrependWidth()}}}),nn=c.a.extend({name:"filterable",props:{noDataText:{type:String,default:"$vuetify.noDataText"}}});const rn={closeOnClick:!1,closeOnContentClick:!1,disableKeys:!0,openOnClick:!1,maxHeight:304},an=ke(sn,_s,Mi,nn);var on=an.extend().extend({name:"v-select",directives:{ClickOutside:is},props:{appendIcon:{type:String,default:"$dropdown"},attach:{type:null,default:!1},cacheItems:Boolean,chips:Boolean,clearable:Boolean,deletableChips:Boolean,disableLookup:Boolean,eager:Boolean,hideSelected:Boolean,items:{type:Array,default:()=>[]},itemColor:{type:String,default:"primary"},itemDisabled:{type:[String,Array,Function],default:"disabled"},itemText:{type:[String,Array,Function],default:"text"},itemValue:{type:[String,Array,Function],default:"value"},menuProps:{type:[String,Array,Object],default:()=>rn},multiple:Boolean,openOnClear:Boolean,returnObject:Boolean,smallChips:Boolean},data(){return{cachedItems:this.cacheItems?this.items:[],menuIsBooted:!1,isMenuActive:!1,lastItem:20,lazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,selectedIndex:-1,selectedItems:[],keyboardLookupPrefix:"",keyboardLookupLastTime:0}},computed:{allItems(){return this.filterDuplicates(this.cachedItems.concat(this.items))},classes(){return{...sn.options.computed.classes.call(this),"v-select":!0,"v-select--chips":this.hasChips,"v-select--chips--small":this.smallChips,"v-select--is-menu-active":this.isMenuActive,"v-select--is-multi":this.multiple}},computedItems(){return this.allItems},computedOwns(){return"list-"+this._uid},computedCounterValue(){var t;const e=this.multiple?this.selectedItems:(null!=(t=this.getText(this.selectedItems[0]))?t:"").toString();return"function"===typeof this.counterValue?this.counterValue(e):e.length},directives(){return this.isFocused?[{name:"click-outside",value:{handler:this.blur,closeConditional:this.closeConditional,include:()=>this.getOpenDependentElements()}}]:void 0},dynamicHeight(){return"auto"},hasChips(){return this.chips||this.smallChips},hasSlot(){return Boolean(this.hasChips||this.$scopedSlots.selection)},isDirty(){return this.selectedItems.length>0},listData(){const t=this.$vnode&&this.$vnode.context.$options._scopeId,e=t?{[t]:!0}:{};return{attrs:{...e,id:this.computedOwns},props:{action:this.multiple,color:this.itemColor,dense:this.dense,hideSelected:this.hideSelected,items:this.virtualizedItems,itemDisabled:this.itemDisabled,itemText:this.itemText,itemValue:this.itemValue,noDataText:this.$vuetify.lang.t(this.noDataText),selectedItems:this.selectedItems},on:{select:this.selectItem},scopedSlots:{item:this.$scopedSlots.item}}},staticList(){return(this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"])&&de("assert: staticList should not be called if slots are used"),this.$createElement(Es,this.listData)},virtualizedItems(){return this.$_menuProps.auto?this.computedItems:this.computedItems.slice(0,this.lastItem)},menuCanShow:()=>!0,$_menuProps(){let t="string"===typeof this.menuProps?this.menuProps.split(","):this.menuProps;return Array.isArray(t)&&(t=t.reduce((t,e)=>(t[e.trim()]=!0,t),{})),{...rn,eager:this.eager,value:this.menuCanShow&&this.isMenuActive,nudgeBottom:t.offsetY?1:0,...t}}},watch:{internalValue(t){this.initialValue=t,this.setSelectedItems(),this.multiple&&this.$nextTick(()=>{var t;null==(t=this.$refs.menu)||t.updateDimensions()})},isMenuActive(t){window.setTimeout(()=>this.onMenuActiveChange(t))},items:{immediate:!0,handler(t){this.cacheItems&&this.$nextTick(()=>{this.cachedItems=this.filterDuplicates(this.cachedItems.concat(t))}),this.setSelectedItems()}}},methods:{blur(t){sn.options.methods.blur.call(this,t),this.isMenuActive=!1,this.isFocused=!1,this.selectedIndex=-1,this.setMenuIndex(-1)},activateMenu(){this.isInteractive&&!this.isMenuActive&&(this.isMenuActive=!0)},clearableCallback(){this.setValue(this.multiple?[]:null),this.setMenuIndex(-1),this.$nextTick(()=>this.$refs.input&&this.$refs.input.focus()),this.openOnClear&&(this.isMenuActive=!0)},closeConditional(t){return!this.isMenuActive||!this._isDestroyed&&(!this.getContent()||!this.getContent().contains(t.target))&&this.$el&&!this.$el.contains(t.target)&&t.target!==this.$el},filterDuplicates(t){const e=new Map;for(let i=0;i<t.length;++i){const s=t[i];if(null==s)continue;if(s.header||s.divider){e.set(s,s);continue}const n=this.getValue(s);!e.has(n)&&e.set(n,s)}return Array.from(e.values())},findExistingIndex(t){const e=this.getValue(t);return(this.internalValue||[]).findIndex(t=>this.valueComparator(this.getValue(t),e))},getContent(){return this.$refs.menu&&this.$refs.menu.$refs.content},genChipSelection(t,e){const i=this.isDisabled||this.getDisabled(t),s=!i&&this.isInteractive;return this.$createElement(Ai,{staticClass:"v-chip--select",attrs:{tabindex:-1},props:{close:this.deletableChips&&s,disabled:i,inputValue:e===this.selectedIndex,small:this.smallChips},on:{click:t=>{s&&(t.stopPropagation(),this.selectedIndex=e)},"click:close":()=>this.onChipInput(t)},key:JSON.stringify(this.getValue(t))},this.getText(t))},genCommaSelection(t,e,i){const s=e===this.selectedIndex&&this.computedColor,n=this.isDisabled||this.getDisabled(t);return this.$createElement("div",this.setTextColor(s,{staticClass:"v-select__selection v-select__selection--comma",class:{"v-select__selection--disabled":n},key:JSON.stringify(this.getValue(t))}),`${this.getText(t)}${i?"":", "}`)},genDefaultSlot(){const t=this.genSelections(),e=this.genInput();return Array.isArray(t)?t.push(e):(t.children=t.children||[],t.children.push(e)),[this.genFieldset(),this.$createElement("div",{staticClass:"v-select__slot",directives:this.directives},[this.genLabel(),this.prefix?this.genAffix("prefix"):null,t,this.suffix?this.genAffix("suffix"):null,this.genClearIcon(),this.genIconSlot(),this.genHiddenInput()]),this.genMenu(),this.genProgress()]},genIcon(t,e,i){const s=Hs.options.methods.genIcon.call(this,t,e,i);return"append"===t&&(s.children[0].data=Re(s.children[0].data,{attrs:{tabindex:s.children[0].componentOptions.listeners&&"-1","aria-hidden":"true","aria-label":void 0}})),s},genInput(){const t=sn.options.methods.genInput.call(this);return delete t.data.attrs.name,t.data=Re(t.data,{domProps:{value:null},attrs:{readonly:!0,type:"text","aria-readonly":String(this.isReadonly),"aria-activedescendant":$(this.$refs.menu,"activeTile.id"),autocomplete:$(t.data,"attrs.autocomplete","off"),placeholder:this.isDirty||!this.persistentPlaceholder&&!this.isFocused&&this.hasLabel?void 0:this.placeholder},on:{keypress:this.onKeyPress}}),t},genHiddenInput(){return this.$createElement("input",{domProps:{value:this.lazyValue},attrs:{type:"hidden",name:this.attrs$.name}})},genInputSlot(){const t=sn.options.methods.genInputSlot.call(this);return t.data.attrs={...t.data.attrs,role:"button","aria-haspopup":"listbox","aria-expanded":String(this.isMenuActive),"aria-owns":this.computedOwns},t},genList(){return this.$slots["no-data"]||this.$slots["prepend-item"]||this.$slots["append-item"]?this.genListWithSlot():this.staticList},genListWithSlot(){const t=["prepend-item","no-data","append-item"].filter(t=>this.$slots[t]).map(t=>this.$createElement("template",{slot:t},this.$slots[t]));return this.$createElement(Es,{...this.listData},t)},genMenu(){const t=this.$_menuProps;return t.activator=this.$refs["input-slot"],""===this.attach||!0===this.attach||"attach"===this.attach?t.attach=this.$el:t.attach=this.attach,this.$createElement(cs,{attrs:{role:void 0},props:t,on:{input:t=>{this.isMenuActive=t,this.isFocused=t},scroll:this.onScroll},ref:"menu"},[this.genList()])},genSelections(){let t=this.selectedItems.length;const e=new Array(t);let i;i=this.$scopedSlots.selection?this.genSlotSelection:this.hasChips?this.genChipSelection:this.genCommaSelection;while(t--)e[t]=i(this.selectedItems[t],t,t===e.length-1);return this.$createElement("div",{staticClass:"v-select__selections"},e)},genSlotSelection(t,e){return this.$scopedSlots.selection({attrs:{class:"v-chip--select"},parent:this,item:t,index:e,select:t=>{t.stopPropagation(),this.selectedIndex=e},selected:e===this.selectedIndex,disabled:!this.isInteractive})},getMenuIndex(){return this.$refs.menu?this.$refs.menu.listIndex:-1},getDisabled(t){return C(t,this.itemDisabled,!1)},getText(t){return C(t,this.itemText,t)},getValue(t){return C(t,this.itemValue,this.getText(t))},onBlur(t){t&&this.$emit("blur",t)},onChipInput(t){this.multiple?this.selectItem(t):this.setValue(null),0===this.selectedItems.length?this.isMenuActive=!0:this.isMenuActive=!1,this.selectedIndex=-1},onClick(t){this.isInteractive&&(this.isAppendInner(t.target)||(this.isMenuActive=!0),this.isFocused||(this.isFocused=!0,this.$emit("focus")),this.$emit("click",t))},onEscDown(t){t.preventDefault(),this.isMenuActive&&(t.stopPropagation(),this.isMenuActive=!1)},onKeyPress(t){if(this.multiple||!this.isInteractive||this.disableLookup)return;const e=1e3,i=performance.now();i-this.keyboardLookupLastTime>e&&(this.keyboardLookupPrefix=""),this.keyboardLookupPrefix+=t.key.toLowerCase(),this.keyboardLookupLastTime=i;const s=this.allItems.findIndex(t=>{var e;const i=(null!=(e=this.getText(t))?e:"").toString();return i.toLowerCase().startsWith(this.keyboardLookupPrefix)}),n=this.allItems[s];-1!==s&&(this.lastItem=Math.max(this.lastItem,s+5),this.setValue(this.returnObject?n:this.getValue(n)),this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(s)))},onKeyDown(t){if(this.isReadonly&&t.keyCode!==T.tab)return;const e=t.keyCode,i=this.$refs.menu;return this.$emit("keydown",t),i?(this.isMenuActive&&[T.up,T.down,T.home,T.end,T.enter].includes(e)&&this.$nextTick(()=>{i.changeListIndex(t),this.$emit("update:list-index",i.listIndex)}),[T.enter,T.space].includes(e)&&this.activateMenu(),!this.isMenuActive&&[T.up,T.down,T.home,T.end].includes(e)?this.onUpDown(t):e===T.esc?this.onEscDown(t):e===T.tab?this.onTabDown(t):e===T.space?this.onSpaceDown(t):void 0):void 0},onMenuActiveChange(t){if(this.multiple&&!t||this.getMenuIndex()>-1)return;const e=this.$refs.menu;if(e&&this.isDirty){this.$refs.menu.getTiles();for(let t=0;t<e.tiles.length;t++)if("true"===e.tiles[t].getAttribute("aria-selected")){this.setMenuIndex(t);break}}},onMouseUp(t){this.hasMouseDown&&3!==t.which&&this.isInteractive&&this.isAppendInner(t.target)&&this.$nextTick(()=>this.isMenuActive=!this.isMenuActive),sn.options.methods.onMouseUp.call(this,t)},onScroll(){if(this.isMenuActive){if(this.lastItem>this.computedItems.length)return;const t=this.getContent().scrollHeight-(this.getContent().scrollTop+this.getContent().clientHeight)<200;t&&(this.lastItem+=20)}else requestAnimationFrame(()=>this.getContent().scrollTop=0)},onSpaceDown(t){t.preventDefault()},onTabDown(t){const e=this.$refs.menu;if(!e)return;const i=e.activeTile;!this.multiple&&i&&this.isMenuActive?(t.preventDefault(),t.stopPropagation(),i.click()):this.blur(t)},onUpDown(t){const e=this.$refs.menu;if(!e)return;if(t.preventDefault(),this.multiple)return this.activateMenu();const i=t.keyCode;e.isBooted=!0,window.requestAnimationFrame(()=>{if(e.getTiles(),!e.hasClickableTiles)return this.activateMenu();switch(i){case T.up:e.prevTile();break;case T.down:e.nextTile();break;case T.home:e.firstTile();break;case T.end:e.lastTile();break}this.selectItem(this.allItems[this.getMenuIndex()])})},selectItem(t){if(this.multiple){const e=(this.internalValue||[]).slice(),i=this.findExistingIndex(t);if(-1!==i?e.splice(i,1):e.push(t),this.setValue(e.map(t=>this.returnObject?t:this.getValue(t))),this.hideSelected)this.setMenuIndex(-1);else{const e=this.allItems.indexOf(t);~e&&(this.$nextTick(()=>this.$refs.menu.getTiles()),setTimeout(()=>this.setMenuIndex(e)))}}else this.setValue(this.returnObject?t:this.getValue(t)),this.isMenuActive=!1},setMenuIndex(t){this.$refs.menu&&(this.$refs.menu.listIndex=t)},setSelectedItems(){const t=[],e=this.multiple&&Array.isArray(this.internalValue)?this.internalValue:[this.internalValue];for(const i of e){const e=this.allItems.findIndex(t=>this.valueComparator(this.getValue(t),this.getValue(i)));e>-1&&t.push(this.allItems[e])}this.selectedItems=t},setValue(t){this.valueComparator(t,this.internalValue)||(this.internalValue=t,this.$emit("change",t))},isAppendInner(t){const e=this.$refs["append-inner"];return e&&(e===t||e.contains(t))}}}),ln=(i("17b3"),ke(xe,Xs({onVisible:["init"]}),_e).extend({name:"v-pagination",directives:{Resize:as},props:{circle:Boolean,disabled:Boolean,length:{type:Number,default:0,validator:t=>t%1===0},nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},totalVisible:[Number,String],value:{type:Number,default:0},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},wrapperAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.wrapper"}},data(){return{maxButtons:0,selected:null}},computed:{classes(){return{"v-pagination":!0,"v-pagination--circle":this.circle,"v-pagination--disabled":this.disabled,...this.themeClasses}},items(){const t=parseInt(this.totalVisible,10);if(0===t)return[];const e=Math.min(Math.max(0,t)||this.length,Math.max(0,this.maxButtons)||this.length,this.length);if(this.length<=e)return this.range(1,this.length);const i=e%2===0?1:0,s=Math.floor(e/2),n=this.length-s+1+i;if(this.value>s&&this.value<n){const t=1,e=this.length,n=this.value-s+2,r=this.value+s-2-i,a=n-1===t+1?2:"...",o=r+1===e-1?r+1:"...";return[1,a,...this.range(n,r),o,this.length]}if(this.value===s){const t=this.value+s-1-i;return[...this.range(1,t),"...",this.length]}if(this.value===n){const t=this.value-s+1;return[1,"...",...this.range(t,this.length)]}return[...this.range(1,s),"...",...this.range(n,this.length)]}},watch:{value(){this.init()}},beforeMount(){this.init()},methods:{init(){this.selected=null,this.onResize(),this.$nextTick(this.onResize),setTimeout(()=>this.selected=this.value,100)},onResize(){const t=this.$el&&this.$el.parentElement?this.$el.parentElement.clientWidth:window.innerWidth;this.maxButtons=Math.floor((t-96)/42)},next(t){t.preventDefault(),this.$emit("input",this.value+1),this.$emit("next")},previous(t){t.preventDefault(),this.$emit("input",this.value-1),this.$emit("previous")},range(t,e){const i=[];t=t>0?t:1;for(let s=t;s<=e;s++)i.push(s);return i},genIcon(t,e,i,s,n){return t("li",[t("button",{staticClass:"v-pagination__navigation",class:{"v-pagination__navigation--disabled":i},attrs:{disabled:i,type:"button","aria-label":n},on:i?{}:{click:s}},[t(Je,[e])])])},genItem(t,e){const i=e===this.value&&(this.color||"primary"),s=e===this.value,n=s?this.currentPageAriaLabel:this.pageAriaLabel;return t("button",this.setBackgroundColor(i,{staticClass:"v-pagination__item",class:{"v-pagination__item--active":e===this.value},attrs:{type:"button","aria-current":s,"aria-label":this.$vuetify.lang.t(n,e)},on:{click:()=>this.$emit("input",e)}}),[e.toString()])},genItems(t){return this.items.map((e,i)=>t("li",{key:i},[isNaN(Number(e))?t("span",{class:"v-pagination__more"},[e.toString()]):this.genItem(t,e)]))},genList(t,e){return t("ul",{directives:[{modifiers:{quiet:!0},name:"resize",value:this.onResize}],class:this.classes},e)}},render(t){const e=[this.genIcon(t,this.$vuetify.rtl?this.nextIcon:this.prevIcon,this.value<=1,this.previous,this.$vuetify.lang.t(this.previousAriaLabel)),this.genItems(t),this.genIcon(t,this.$vuetify.rtl?this.prevIcon:this.nextIcon,this.value>=this.length,this.next,this.$vuetify.lang.t(this.nextAriaLabel))];return t("nav",{attrs:{role:"navigation","aria-label":this.$vuetify.lang.t(this.wrapperAriaLabel)}},[this.genList(t,e)])}})),cn=c.a.extend({name:"farm-datatable-paginator",props:{perPageOptions:{type:Array,default:()=>[5,10,20,50,100]},page:null,totalPages:null,disabled:{type:Boolean,default:!1},hidePerPageOptions:{type:Boolean,default:!1},initialLimitPerPage:{type:Number,default:10}},data(){return{selectedLimit:this.initialLimitPerPage,currentPage:this.page}},computed:{perPageBuiltItems:function(){return this.perPageOptions.map(t=>({text:t+" registros por página",value:t}))}},watch:{selectedLimit(t){this.$emit("onChangeLimitPerPage",t)},currentPage(t){this.$emit("onChangePage",t)},page(t){this.currentPage=t},initialLimitPerPage(t){this.selectedLimit=t}},components:{VSelect:on,VPagination:ln}}),hn=cn,un=(i("72a6"),Ee(hn,Ve,Fe,!1,null,null,null)),dn=un.exports,pn=dn,mn=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",[e("tr",t._l(t.headers,(function(i,s){return e("th",{key:i.value,class:[i.sortable?"sortable":"",t.sortClick[s].clicked?"active":"",i.sortable?"DESC"===t.sortClick[s].descending?"DESC":"ASC":""],style:{textAlign:i.align?i.align:"",width:t.thWidth(i),minWidth:t.thWidth(i)},on:{click:function(e){i.sortable&&t.clickSort(i.value,s)},mouseover:function(e){return t.changeShow(s)},mouseout:function(e){return t.changeHidden(s)}}},[t.isTHDataTableSelect(i)?t._e():e("span",{staticClass:"header-text"},[t._v(" "+t._s(i.text)+" "),i.sortable&&t.sortClick[s].show?e("v-icon",{class:[t.sortClick[s][i.value]?"v-icon--desc":"v-icon--asc"],attrs:{small:""}},[t._v(" mdi-sort-descending ")]):t._e()],1),t.isTHDataTableSelect(i)&&t.showCheckbox?e("span",[e("v-simple-checkbox",{attrs:{indeterminate:t.headerProps.someItems&&!t.headerProps.everyItem},on:{input:t.selectAll},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}})],1):t._e()])})),0)])},fn=[],gn=c.a.extend({name:"farm-datatable-header",components:{VIcon:Je,VSimpleCheckbox:hs},props:{headers:{type:Array,required:!0},sortClick:{type:Array,required:!0},firstSelected:{type:Boolean,default:!1},selectedIndex:{type:Number,default:0},value:{default:!1},headerProps:{type:Object},showCheckbox:{default:!0}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{getTypeSort(t){return t?"DESC":"ASC"},clickSort(t,e){this.removeClicked(),this.sortClick[e].clicked=!0,this.sortClick[e].show=!0,this.sortClick[e][t]=!this.sortClick[e][t],this.sortClick[e].descending=this.getTypeSort(this.sortClick[e][t]),this.$emit("onClickSort",this.sortClick[e])},changeShow(t){setTimeout(()=>{this.sortClick[t].show=!0},10)},changeHidden(t){setTimeout(()=>{this.sortClick[t].clicked||(this.sortClick[t].show=!1)},10)},removeClicked(){for(let t=0;t<this.sortClick.length;t+=1)this.sortClick[t].clicked=!1,this.sortClick[t].show=!1},checkFirstSelected(t){return t===this.selectedIndex&&this.firstSelected},thWidth(t){return this.isTHDataTableSelect(t)?"64px":t.width?t.width+"px":"auto"},isTHDataTableSelect(t){return"data-table-select"===t.value},selectAll(t){this.$emit("toggleSelectAll",t),this.inputVal=t}},created(){for(let t=0;t<this.headers.length;t+=1)this.sortClick.push({[this.headers[t].value]:!1,descending:"ASC",field:this.headers[t].value,clicked:this.checkFirstSelected(t),show:this.checkFirstSelected(t)})}}),vn=gn,bn=(i("e139"),Ee(vn,mn,fn,!1,null,"4fdaefb8",null)),yn=bn.exports,xn=yn,$n=function(){var t=this,e=t._self._c;return e("v-alert",{staticClass:"farm-alert-reload",attrs:{dense:"",outlined:"",type:"error"}},[e("v-row",{attrs:{align:"center"}},[e("v-col",{staticClass:"grow"},[t._v(" "+t._s(t.label)+" ")]),e("v-col",{staticClass:"shrink"},[e("farm-btn",{staticClass:"ml-3",attrs:{color:"secondary",alt:"Recarregar"},on:{click:function(e){return t.$emit("onClick")}}},[e("i",{staticClass:"mdi mdi-refresh farm-icon"}),t._v(" Recarregar ")])],1)],1)],1)},Cn=[],Sn=(i("0c18"),xs),_n=(i("86cc"),i("8d4f"),xe.extend({name:"v-progress-circular",directives:{intersect:Zs},props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},data:()=>({radius:20,isVisible:!0}),computed:{calculatedSize(){return Number(this.size)+(this.button?8:0)},circumference(){return 2*Math.PI*this.radius},classes(){return{"v-progress-circular--visible":this.isVisible,"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},strokeDashArray(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles(){return{height:L(this.calculatedSize),width:L(this.calculatedSize)}},svgStyles(){return{transform:`rotate(${Number(this.rotate)}deg)`}},viewBoxSize(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle(t,e){return this.$createElement("circle",{class:"v-progress-circular__"+t,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":e}})},genSvg(){const t=[this.indeterminate||this.genCircle("underlay",0),this.genCircle("overlay",this.strokeDashOffset)];return this.$createElement("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:`${this.viewBoxSize} ${this.viewBoxSize} ${2*this.viewBoxSize} ${2*this.viewBoxSize}`}},t)},genInfo(){return this.$createElement("div",{staticClass:"v-progress-circular__info"},this.$slots.default)},onObserve(t,e,i){this.isVisible=i}},render(t){return t("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,directives:[{name:"intersect",value:this.onObserve}],style:this.styles,on:this.$listeners}),[this.genSvg(),this.genInfo()])}})),wn=_n;const kn=ke(Sn,Li,zi,$e,si("btnToggle"),ni("inputValue"));var In=kn.extend().extend({name:"v-btn",props:{activeClass:{type:String,default(){return this.btnToggle?this.btnToggle.activeClass:""}},block:Boolean,depressed:Boolean,fab:Boolean,icon:Boolean,loading:Boolean,outlined:Boolean,plain:Boolean,retainFocusOnClick:Boolean,rounded:Boolean,tag:{type:String,default:"button"},text:Boolean,tile:Boolean,type:{type:String,default:"button"},value:null},data:()=>({proxyClass:"v-btn--active"}),computed:{classes(){return{"v-btn":!0,...Li.options.computed.classes.call(this),"v-btn--absolute":this.absolute,"v-btn--block":this.block,"v-btn--bottom":this.bottom,"v-btn--disabled":this.disabled,"v-btn--is-elevated":this.isElevated,"v-btn--fab":this.fab,"v-btn--fixed":this.fixed,"v-btn--has-bg":this.hasBg,"v-btn--icon":this.icon,"v-btn--left":this.left,"v-btn--loading":this.loading,"v-btn--outlined":this.outlined,"v-btn--plain":this.plain,"v-btn--right":this.right,"v-btn--round":this.isRound,"v-btn--rounded":this.rounded,"v-btn--router":this.to,"v-btn--text":this.text,"v-btn--tile":this.tile,"v-btn--top":this.top,...this.themeClasses,...this.groupClasses,...this.elevationClasses,...this.sizeableClasses}},computedElevation(){if(!this.disabled)return bs.options.computed.computedElevation.call(this)},computedRipple(){var t;const e=!this.icon&&!this.fab||{circle:!0};return!this.disabled&&(null!=(t=this.ripple)?t:e)},hasBg(){return!this.text&&!this.plain&&!this.outlined&&!this.icon},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))},isRound(){return Boolean(this.icon||this.fab)},styles(){return{...this.measurableStyles}}},created(){const t=[["flat","text"],["outline","outlined"],["round","rounded"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&me(t,e,this)})},methods:{click(t){!this.retainFocusOnClick&&!this.fab&&t.detail&&this.$el.blur(),this.$emit("click",t),this.btnToggle&&this.toggle()},genContent(){return this.$createElement("span",{staticClass:"v-btn__content"},this.$slots.default)},genLoader(){return this.$createElement("span",{class:"v-btn__loader"},this.$slots.loader||[this.$createElement(wn,{props:{indeterminate:!0,size:23,width:2}})])}},render(t){const e=[this.genContent(),this.loading&&this.genLoader()],{tag:i,data:s}=this.generateRouteLink(),n=this.hasBg?this.setBackgroundColor:this.setTextColor;return"button"===i&&(s.attrs.type=this.type,s.attrs.disabled=this.disabled),s.attrs.value=["string","number"].includes(typeof this.value)?this.value:JSON.stringify(this.value),t(i,this.disabled?s:n(this.color,s),e)}}),Ln=In,Bn=c.a.extend({name:"transitionable",props:{mode:String,origin:String,transition:String}}),An=ke(Sn,ai,Bn).extend({name:"v-alert",props:{border:{type:String,validator(t){return["top","right","bottom","left"].includes(t)}},closeLabel:{type:String,default:"$vuetify.close"},coloredBorder:Boolean,dense:Boolean,dismissible:Boolean,closeIcon:{type:String,default:"$cancel"},icon:{default:"",type:[Boolean,String],validator(t){return"string"===typeof t||!1===t}},outlined:Boolean,prominent:Boolean,text:Boolean,type:{type:String,validator(t){return["info","error","success","warning"].includes(t)}},value:{type:Boolean,default:!0}},computed:{__cachedBorder(){if(!this.border)return null;let t={staticClass:"v-alert__border",class:{["v-alert__border--"+this.border]:!0}};return this.coloredBorder&&(t=this.setBackgroundColor(this.computedColor,t),t.class["v-alert__border--has-color"]=!0),this.$createElement("div",t)},__cachedDismissible(){if(!this.dismissible)return null;const t=this.iconColor;return this.$createElement(Ln,{staticClass:"v-alert__dismissible",props:{color:t,icon:!0,small:!0},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:()=>this.isActive=!1}},[this.$createElement(Je,{props:{color:t}},this.closeIcon)])},__cachedIcon(){return this.computedIcon?this.$createElement(Je,{staticClass:"v-alert__icon",props:{color:this.iconColor}},this.computedIcon):null},classes(){const t={...Sn.options.computed.classes.call(this),"v-alert--border":Boolean(this.border),"v-alert--dense":this.dense,"v-alert--outlined":this.outlined,"v-alert--prominent":this.prominent,"v-alert--text":this.text};return this.border&&(t["v-alert--border-"+this.border]=!0),t},computedColor(){return this.color||this.type},computedIcon(){return!1!==this.icon&&("string"===typeof this.icon&&this.icon?this.icon:!!["error","info","success","warning"].includes(this.type)&&"$"+this.type)},hasColoredIcon(){return this.hasText||Boolean(this.border)&&this.coloredBorder},hasText(){return this.text||this.outlined},iconColor(){return this.hasColoredIcon?this.computedColor:void 0},isDark(){return!(!this.type||this.coloredBorder||this.outlined)||_e.options.computed.isDark.call(this)}},created(){this.$attrs.hasOwnProperty("outline")&&me("outline","outlined",this)},methods:{genWrapper(){const t=[this.$slots.prepend||this.__cachedIcon,this.genContent(),this.__cachedBorder,this.$slots.append,this.$scopedSlots.close?this.$scopedSlots.close({toggle:this.toggle}):this.__cachedDismissible],e={staticClass:"v-alert__wrapper"};return this.$createElement("div",e,t)},genContent(){return this.$createElement("div",{staticClass:"v-alert__content"},this.$slots.default)},genAlert(){let t={staticClass:"v-alert",attrs:{role:"alert"},on:this.listeners$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};if(!this.coloredBorder){const e=this.hasText?this.setTextColor:this.setBackgroundColor;t=e(this.computedColor,t)}return this.$createElement("div",t,[this.genWrapper()])},toggle(){this.isActive=!this.isActive}},render(t){const e=this.genAlert();return this.transition?t("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[e]):e}}),Tn=An;i("4b85");const On=["sm","md","lg","xl"],En=["start","end","center"];function Pn(t,e){return On.reduce((i,s)=>(i[t+M(s)]=e(),i),{})}const Dn=t=>[...En,"baseline","stretch"].includes(t),Mn=Pn("align",()=>({type:String,default:null,validator:Dn})),Vn=t=>[...En,"space-between","space-around"].includes(t),Fn=Pn("justify",()=>({type:String,default:null,validator:Vn})),Nn=t=>[...En,"space-between","space-around","stretch"].includes(t),zn=Pn("alignContent",()=>({type:String,default:null,validator:Nn})),Rn={align:Object.keys(Mn),justify:Object.keys(Fn),alignContent:Object.keys(zn)},Hn={align:"align",justify:"justify",alignContent:"align-content"};function Wn(t,e,i){let s=Hn[t];if(null!=i){if(e){const i=e.replace(t,"");s+="-"+i}return s+="-"+i,s.toLowerCase()}}const jn=new Map;var Yn=c.a.extend({name:"v-row",functional:!0,props:{tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:Dn},...Mn,justify:{type:String,default:null,validator:Vn},...Fn,alignContent:{type:String,default:null,validator:Nn},...zn},render(t,{props:e,data:i,children:s}){let n="";for(const a in e)n+=String(e[a]);let r=jn.get(n);if(!r){let t;for(t in r=[],Rn)Rn[t].forEach(i=>{const s=e[i],n=Wn(t,i,s);n&&r.push(n)});r.push({"no-gutters":e.noGutters,"row--dense":e.dense,["align-"+e.align]:e.align,["justify-"+e.justify]:e.justify,["align-content-"+e.alignContent]:e.alignContent}),jn.set(n,r)}return t(e.tag,Re(i,{staticClass:"row",class:r}),s)}});const qn=["sm","md","lg","xl"],Un=(()=>qn.reduce((t,e)=>(t[e]={type:[Boolean,String,Number],default:!1},t),{}))(),Zn=(()=>qn.reduce((t,e)=>(t["offset"+M(e)]={type:[String,Number],default:null},t),{}))(),Xn=(()=>qn.reduce((t,e)=>(t["order"+M(e)]={type:[String,Number],default:null},t),{}))(),Kn={col:Object.keys(Un),offset:Object.keys(Zn),order:Object.keys(Xn)};function Gn(t,e,i){let s=t;if(null!=i&&!1!==i){if(e){const i=e.replace(t,"");s+="-"+i}return"col"!==t||""!==i&&!0!==i?(s+="-"+i,s.toLowerCase()):s.toLowerCase()}}const Qn=new Map;var Jn=c.a.extend({name:"v-col",functional:!0,props:{cols:{type:[Boolean,String,Number],default:!1},...Un,offset:{type:[String,Number],default:null},...Zn,order:{type:[String,Number],default:null},...Xn,alignSelf:{type:String,default:null,validator:t=>["auto","start","end","center","baseline","stretch"].includes(t)},tag:{type:String,default:"div"}},render(t,{props:e,data:i,children:s,parent:n}){let r="";for(const o in e)r+=String(e[o]);let a=Qn.get(r);if(!a){let t;for(t in a=[],Kn)Kn[t].forEach(i=>{const s=e[i],n=Gn(t,i,s);n&&a.push(n)});const i=a.some(t=>t.startsWith("col-"));a.push({col:!i||!e.cols,["col-"+e.cols]:e.cols,["offset-"+e.offset]:e.offset,["order-"+e.order]:e.order,["align-self-"+e.alignSelf]:e.alignSelf}),Qn.set(r,a)}return t(e.tag,Re(i,{class:a}),s)}}),tr=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.to?e("router-link",t._b({class:t.classes,attrs:{to:t.to,disabled:t.disabled}},"router-link",t.$attrs,!1),[e("span",{staticClass:"farm-btn__content"},[t._t("default")],2)]):e("button",t._g(t._b({class:t.classes,attrs:{disabled:t.disabled,type:t.type,size:t.$props.size}},"button",t.$attrs,!1),t.$listeners),[e("span",{staticClass:"farm-btn__content"},[t._t("default")],2)])},er=[],ir=c.a.extend({name:"farm-btn",inheritAttrs:!0,props:{color:{type:String,default:"primary"},outlined:{type:Boolean,default:!1},plain:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},icon:{type:Boolean,default:!1},type:{type:String,default:"button"},to:{type:String,default:null},size:{type:String,default:"default"}},computed:{classes(){const t={};return["outlined","plain","disabled"].filter(t=>this[t]).forEach(e=>{t["farm-btn--"+e]=this[e]}),{"farm-btn":!0,"farm-btn--elevated":this.isElevated,"farm-btn--round":this.isRound,"farm-btn--rounded":this.rounded,"farm-btn--icon":this.icon,["farm-btn--"+this.color]:!0,...t}},isRound(){return Boolean(this.icon||this.fab)},isElevated(){return Boolean(!this.icon&&!this.text&&!this.outlined&&!this.depressed&&!this.disabled&&!this.plain&&(null==this.elevation||Number(this.elevation)>0))}}}),sr=ir,nr=(i("8e74"),Ee(sr,tr,er,!1,null,"b1561004",null)),rr=nr.exports,ar=rr,or={name:"farm-alert-reload",components:{VAlert:Tn,VRow:Yn,VCol:Jn,"farm-btn":ar},props:{label:{type:String,default:""}}},lr=or,cr=(i("0042"),Ee(lr,$n,Cn,!1,null,"582348ba",null)),hr=cr.exports,ur=hr,dr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{class:{"justify-end":!0===t.justifyEnd}},[t.hasInitialInput?e("fieldset",{staticClass:"fieldset-default"},[e("label",{attrs:{for:t.elementId}},[t._v(" "+t._s(t.label)+" "),e("farm-icon",{attrs:{color:"gray"}},[t._v(" file-find ")])],1),e("v-text-field",{attrs:{color:"secondary",outlined:"",dense:"",id:t.elementId},on:{keyup:t.onKeyUp},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}})],1):t._e(),t.hasExtraFilters?e("farm-button",{staticClass:"farm-btn--responsive mt-14 mt-sm-8",attrs:{color:"secondary"},on:{click:t.onFilterClick}},[e("farm-icon",{staticClass:"mr-2"},[t._v(t._s(t.extraFiltersBtnIcon))]),t._v(" "+t._s(t.extraFiltersBtnLabel)+" ")],1):t._e()],1)},pr=[],mr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("i",t._g(t._b({ref:"el",class:t.classes,attrs:{size:t.$props.size}},"i",t.$attrs,!1),t.$listeners))},fr=[];i("caad");const gr=["xs","sm","md","lg","xl"];var vr=c.a.extend({name:"farm-icon",inheritAttrs:!0,props:{color:{type:String,default:"primary"},size:{type:String,default:"default"}},data(){return{icon:""}},computed:{classes(){const t={};return{"farm-icon":!0,["farm-icon--"+this.color]:!0,mdi:!0,["mdi-"+this.icon]:!0,...t}},fontSize(){return isNaN(this.size)?this.size:this.size+"px"}},mounted(){"default"===this.size||gr.includes(this.size)||(this.$el.style.fontSize=this.fontSize)},created(){this.checkForSlotContent()},beforeUpdate(){this.checkForSlotContent()},methods:{checkForSlotContent(){this.$slots.default?this.icon=this.$slots.default[0].text.trim():this.icon=""}}}),br=vr,yr=(i("39da"),Ee(br,mr,fr,!1,null,"fc12ac78",null)),xr=yr.exports,$r=xr,Cr=c.a.extend({name:"farm-form-mainfilter",components:{VTextField:sn,"farm-button":ar,"farm-icon":$r},props:{hasExtraFilters:{type:Boolean,default:!0},hasInitialInput:{type:Boolean,default:!0},justifyEnd:{type:Boolean,default:!1},label:{type:String,default:"Quer localizar um cliente?"},elementId:{type:String,default:"form-main-filter-search"},initialValue:{type:String,default:""},showFilters:{type:Boolean,default:!1}},watch:{initialValue(t){this.inputValue=t}},computed:{extraFiltersBtnLabel(){return(this.showFilters?"Esconder":"Ver")+" Filtros"},extraFiltersBtnIcon(){return this.showFilters?"filter-off":"filter"}},data(){return{timer:null,inputValue:this.initialValue}},methods:{onFilterClick(){this.$emit("onClick")},onKeyUp(t){const e=t.keyCode;return 13===e?(this.$emit("onEnter",t.target.value),!1):!(e<48&&8!==e&&46!==e||e>90&&e<96&&91!==e||e>105&&e<186)&&(this.timer&&(clearTimeout(this.timer),this.timer=null),void(this.timer=setTimeout(()=>{this.$emit("onInputChange",t.target.value)},750)))}}}),Sr=Cr,_r=(i("eb72"),Ee(Sr,dr,pr,!1,null,"f246ceb0",null)),wr=_r.exports,kr=wr,Ir=function(){var t=this,e=t._self._c;return e("div",["overlay"===t.mode?e("v-overlay",{attrs:{opacity:"0.3"}},[e("v-progress-circular",{attrs:{indeterminate:"",size:100,color:"secondary"}})],1):e("v-progress-circular",{attrs:{size:t.calculateSize,width:6,color:"secondary",indeterminate:""}})],1)},Lr=[],Br=(i("3c93"),ke(xe,_e,ai).extend({name:"v-overlay",props:{absolute:Boolean,color:{type:String,default:"#212121"},dark:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.46},value:{default:!0},zIndex:{type:[Number,String],default:5}},computed:{__scrim(){const t=this.setBackgroundColor(this.color,{staticClass:"v-overlay__scrim",style:{opacity:this.computedOpacity}});return this.$createElement("div",t)},classes(){return{"v-overlay--absolute":this.absolute,"v-overlay--active":this.isActive,...this.themeClasses}},computedOpacity(){return Number(this.isActive?this.opacity:0)},styles(){return{zIndex:this.zIndex}}},methods:{genContent(){return this.$createElement("div",{staticClass:"v-overlay__content"},this.$slots.default)}},render(t){const e=[this.__scrim];return this.isActive&&e.push(this.genContent()),t("div",{staticClass:"v-overlay",on:this.$listeners,class:this.classes,style:this.styles},e)}})),Ar={name:"farm-loader",components:{VOverlay:Br,VProgressCircular:_n},props:{status:{default:"IDLE"},mode:{type:String,default:"inline"},size:{type:String,default:"normal"}},computed:{calculateSize(){return"small"===this.size?35:70}}},Tr=Ar,Or=Ee(Tr,Ir,Lr,!1,null,null,null),Er=Or.exports,Pr=Er,Dr=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{ref:"container",attrs:{id:"droparea-container"}},[e("input",{attrs:{type:"file",name:"file",accept:t.acceptedFileTypes},on:{change:function(e){return t.fileChange(e.target.files)}}}),t.selectedFile?t._e():e("div",{staticClass:"selectfile-container"},[e("farm-icon",{attrs:{color:"secondary"}},[t._v("cloud-upload")]),e("p",[t._v("Clique para selecionar ou arraste o arquivo aqui")])],1),t.selectedFile||t.maxSizeReach?e("div",{staticClass:"reset-container"},[t.selectedFile?e("div",[e("farm-icon",[t._v("file")]),t._v(" Arquivo selecionado: "+t._s(t.selectedFile.name)+" ("+t._s(Math.floor(t.selectedFile.size/1024))+"kB) ")],1):t._e(),t.maxSizeReach?e("p",{domProps:{innerHTML:t._s(t.maxSizeReachMsg)}}):t._e(),e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{outlined:"",color:"secondary",title:"Escolher outro"},on:{click:t.reset}},[t._v(" Escolher outro ")])],1):t._e()])},Mr=[],Vr=c.a.extend({name:"farm-filepicker",props:{acceptedFileTypes:{type:String,default:"*"},maxFileSize:{default:null}},data(){return{selectedFile:null,dropArea:null,maxSizeReach:!1}},computed:{maxSizeReachMsg(){return`Arquivo ultrapassou o tamanho máximo de ${this.maxFileSize}MB`}},mounted(){this.dropArea=this.$refs.container,this.addListeners()},methods:{reset(){this.$refs.container.querySelector("input").value="",this.$emit("onReset"),this.maxSizeReach=!1,this.selectedFile=null},fileChange(t){if(this.maxSizeReach=!1,t.length&&!(t.length>1)){if(this.maxFileSize){const e=t[0].size/1048576;if(e>this.maxFileSize)return void(this.maxSizeReach=!0)}this.selectedFile=t[0],this.$emit("onFileChange",this.selectedFile)}},handlerFunctionHighlight(){this.dropArea.classList.add("highlight")},handlerFunctionUnhighlight(){this.dropArea.classList.remove("highlight")},addListeners(){this.dropArea.addEventListener("dragenter",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("dragleave",this.handlerFunctionUnhighlight,!1),this.dropArea.addEventListener("dragover",this.handlerFunctionHighlight,!1),this.dropArea.addEventListener("drop",this.handlerFunctionUnhighlight,!1)}},components:{"farm-btn":ar,"farm-icon":$r}}),Fr=Vr,Nr=(i("2e45"),Ee(Fr,Dr,Mr,!1,null,"f5ce4d8a",null)),zr=Nr.exports,Rr=zr,Hr=function(){var t=this,e=t._self._c;return e("v-tabs",{attrs:{color:"secondary"},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.tabs,(function(i,s){return e("v-tab",{key:s,class:{hideCounter:!t.showCounter},attrs:{disabled:!t.allowUserChange},on:{change:function(e){return t.changeTab(i,s)}}},[t.showCounter?e("div",{staticClass:"pl-3 pr-3 pt-2 pb-2 mr-2 rounded-circle d-inline-block white--text",class:{"is-selected":t.isSelected(s)}},[e("span",[t._v(t._s(s+1))])]):t._e(),e("span",{staticClass:"black--text text-capitalize"},[t._v(t._s(i.name))])])})),1)},Wr=[],jr=(i("1bfb"),i("608c"),c.a.extend({name:"mobile",props:{mobileBreakpoint:{type:[Number,String],default(){return this.$vuetify?this.$vuetify.breakpoint.mobileBreakpoint:void 0},validator:t=>!isNaN(Number(t))||["xs","sm","md","lg","xl"].includes(String(t))}},computed:{isMobile(){const{mobile:t,width:e,name:i,mobileBreakpoint:s}=this.$vuetify.breakpoint;if(s===this.mobileBreakpoint)return t;const n=parseInt(this.mobileBreakpoint,10),r=!isNaN(n);return r?e<n:i===this.mobileBreakpoint}},created(){this.$attrs.hasOwnProperty("mobile-break-point")&&pe("mobile-break-point","mobile-breakpoint",this)}}));const Yr=t=>{const{touchstartX:e,touchendX:i,touchstartY:s,touchendY:n}=t,r=.5,a=16;t.offsetX=i-e,t.offsetY=n-s,Math.abs(t.offsetY)<r*Math.abs(t.offsetX)&&(t.left&&i<e-a&&t.left(t),t.right&&i>e+a&&t.right(t)),Math.abs(t.offsetX)<r*Math.abs(t.offsetY)&&(t.up&&n<s-a&&t.up(t),t.down&&n>s+a&&t.down(t))};function qr(t,e){const i=t.changedTouches[0];e.touchstartX=i.clientX,e.touchstartY=i.clientY,e.start&&e.start(Object.assign(t,e))}function Ur(t,e){const i=t.changedTouches[0];e.touchendX=i.clientX,e.touchendY=i.clientY,e.end&&e.end(Object.assign(t,e)),Yr(e)}function Zr(t,e){const i=t.changedTouches[0];e.touchmoveX=i.clientX,e.touchmoveY=i.clientY,e.move&&e.move(Object.assign(t,e))}function Xr(t){const e={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:t.left,right:t.right,up:t.up,down:t.down,start:t.start,move:t.move,end:t.end};return{touchstart:t=>qr(t,e),touchend:t=>Ur(t,e),touchmove:t=>Zr(t,e)}}function Kr(t,e,i){const s=e.value,n=s.parent?t.parentElement:t,r=s.options||{passive:!0};if(!n)return;const a=Xr(e.value);n._touchHandlers=Object(n._touchHandlers),n._touchHandlers[i.context._uid]=a,E(a).forEach(t=>{n.addEventListener(t,a[t],r)})}function Gr(t,e,i){const s=e.value.parent?t.parentElement:t;if(!s||!s._touchHandlers)return;const n=s._touchHandlers[i.context._uid];E(n).forEach(t=>{s.removeEventListener(t,n[t])}),delete s._touchHandlers[i.context._uid]}const Qr={inserted:Kr,unbind:Gr};var Jr=Qr;function ta(t){const e=.501,i=Math.abs(t);return Math.sign(t)*(i/((1/e-2)*(1-i)+1))}function ea(t,e,i,s){const n=t.clientWidth,r=i?e.content-t.offsetLeft-n:t.offsetLeft;i&&(s=-s);const a=e.wrapper+s,o=n+r,l=.4*n;return r<=s?s=Math.max(r-l,0):a<=o&&(s=Math.min(s-(a-o-l),e.content-e.wrapper)),i?-s:s}function ia(t,e,i){const{offsetLeft:s,clientWidth:n}=t;if(i){const t=e.content-s-n/2-e.wrapper/2;return-Math.min(e.content-e.wrapper,Math.max(0,t))}{const t=s+n/2-e.wrapper/2;return Math.min(e.content-e.wrapper,Math.max(0,t))}}const sa=ke(Ls,jr).extend({name:"base-slide-group",directives:{Resize:as,Touch:Jr},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>"boolean"===typeof t||["always","desktop","mobile"].includes(t)}},data:()=>({isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch(){return"undefined"!==typeof window},__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...Ls.options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:t,wrapper:e}=this.widths;return t>Math.abs(this.scrollOffset)+e},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(t){this.$vuetify.rtl&&(t=-t);let e=t<=0?ta(-t):t>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+ta(this.widths.content-this.widths.wrapper-t):-t;this.$vuetify.rtl&&(e=-e),this.$refs.content.style.transform=`translateX(${e}px)`}},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),t.observe(this.$refs.content),this.$on("hook:destroyed",()=>{t.disconnect()})}else{let t=0;this.$on("hook:beforeUpdate",()=>{var e;t=((null==(e=this.$refs.content)?void 0:e.children)||[]).length}),this.$on("hook:updated",()=>{var e;t!==((null==(e=this.$refs.content)?void 0:e.children)||[]).length&&this.setWidths()})}},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(t){if(this.isOverflowing)for(const e of K(t))for(const t of this.items)if(t.$el===e)return void(this.scrollOffset=ea(t.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))},genNext(){const t=this.$scopedSlots.next?this.$scopedSlots.next({}):this.$slots.next||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},this.$slots.default)},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(t){let e=t;this.$vuetify.rtl&&"prev"===t?e="next":this.$vuetify.rtl&&"next"===t&&(e="prev");const i=`${t[0].toUpperCase()}${t.slice(1)}`,s=this["has"+i];return this.showArrows||s?this.$createElement(Je,{props:{disabled:!s}},this[e+"Icon"]):null},genPrev(){const t=this.$scopedSlots.prev?this.$scopedSlots.prev({}):this.$slots.prev||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[t])},genTransition(t){return this.$createElement(Xe,[this.genIcon(t)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:t=>this.overflowCheck(t,this.onTouchStart),move:t=>this.overflowCheck(t,this.onTouchMove),end:t=>this.overflowCheck(t,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(t,e,i,s){const n=i?-1:1,r=n*s+("prev"===t?-1:1)*e.wrapper;return n*Math.max(Math.min(r,e.content-e.wrapper),0)},onAffixClick(t){this.$emit("click:"+t),this.scrollTo(t)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(t){const{content:e}=this.$refs;this.startX=this.scrollOffset+t.touchstartX,e.style.setProperty("transition","none"),e.style.setProperty("willChange","transform")},onTouchMove(t){if(this.canTouch){if(!this.isSwiping){const e=t.touchmoveX-t.touchstartX,i=t.touchmoveY-t.touchstartY;this.isSwipingHorizontal=Math.abs(e)>Math.abs(i),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-t.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:t,wrapper:e}=this.$refs,i=t.clientWidth-e.clientWidth;t.style.setProperty("transition",null),t.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-i&&(this.scrollOffset=-i):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=i&&(this.scrollOffset=i),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(t,e){t.stopPropagation(),this.isOverflowing&&e(t)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const t=this.items[this.items.length-1].$el.getBoundingClientRect(),e=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&e.right<t.right||!this.$vuetify.rtl&&e.left>t.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=ia(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=ea(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(t){this.scrollOffset=this.calculateNewOffset(t,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame(()=>{if(this._isDestroyed)return;const{content:t,wrapper:e}=this.$refs;this.widths={content:t?t.clientWidth:0,wrapper:e?e.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()})}},render(t){return t("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext()])}});sa.extend({name:"v-slide-group",provide(){return{slideGroup:this}}});var na=c.a.extend({name:"ssr-bootable",data:()=>({isBooted:!1}),mounted(){window.requestAnimationFrame(()=>{this.$el.setAttribute("data-booted","true"),this.isBooted=!0})}}),ra=ke(sa,na,_e).extend({name:"v-tabs-bar",provide(){return{tabsBar:this}},computed:{classes(){return{...sa.options.computed.classes.call(this),"v-tabs-bar":!0,"v-tabs-bar--is-mobile":this.isMobile,"v-tabs-bar--show-arrows":this.showArrows,...this.themeClasses}}},watch:{items:"callSlider",internalValue:"callSlider",$route:"onRouteChange"},methods:{callSlider(){this.isBooted&&this.$emit("call:slider")},genContent(){const t=sa.options.methods.genContent.call(this);return t.data=t.data||{},t.data.staticClass+=" v-tabs-bar__content",t},onRouteChange(t,e){if(this.mandatory)return;const i=this.items,s=t.path,n=e.path;let r=!1,a=!1;for(const o of i)if(o.to===n?a=!0:o.to===s&&(r=!0),r&&a)break;!r&&a&&(this.internalValue=void 0)}},render(t){const e=sa.options.render.call(this,t);return e.data.attrs={role:"tablist"},e}}),aa=(i("13b3"),Ls.extend({name:"v-window",directives:{Touch:Jr},provide(){return{windowGroup:this}},props:{activeClass:{type:String,default:"v-window-item--active"},continuous:Boolean,mandatory:{type:Boolean,default:!0},nextIcon:{type:[Boolean,String],default:"$next"},prevIcon:{type:[Boolean,String],default:"$prev"},reverse:Boolean,showArrows:Boolean,showArrowsOnHover:Boolean,touch:Object,touchless:Boolean,value:{required:!1},vertical:Boolean},data(){return{changedByDelimiters:!1,internalHeight:void 0,transitionHeight:void 0,transitionCount:0,isBooted:!1,isReverse:!1}},computed:{isActive(){return this.transitionCount>0},classes(){return{...Ls.options.computed.classes.call(this),"v-window--show-arrows-on-hover":this.showArrowsOnHover}},computedTransition(){if(!this.isBooted)return"";const t=this.vertical?"y":"x",e=this.internalReverse?!this.isReverse:this.isReverse,i=e?"-reverse":"";return`v-window-${t}${i}-transition`},hasActiveItems(){return Boolean(this.items.find(t=>!t.disabled))},hasNext(){return this.continuous||this.internalIndex<this.items.length-1},hasPrev(){return this.continuous||this.internalIndex>0},internalIndex(){return this.items.findIndex((t,e)=>this.internalValue===this.getValue(t,e))},internalReverse(){return this.$vuetify.rtl?!this.reverse:this.reverse}},watch:{internalIndex(t,e){this.isReverse=this.updateReverse(t,e)}},mounted(){window.requestAnimationFrame(()=>this.isBooted=!0)},methods:{genDefaultSlot(){return this.$slots.default},genContainer(){const t=[this.genDefaultSlot()];return this.showArrows&&t.push(this.genControlIcons()),this.$createElement("div",{staticClass:"v-window__container",class:{"v-window__container--is-active":this.isActive},style:{height:this.internalHeight||this.transitionHeight}},t)},genIcon(t,e,i){var s,n,r;const a={click:t=>{t.stopPropagation(),this.changedByDelimiters=!0,i()}},o={"aria-label":this.$vuetify.lang.t("$vuetify.carousel."+t)},l=null!=(s=null==(n=(r=this.$scopedSlots)[t])?void 0:n.call(r,{on:a,attrs:o}))?s:[this.$createElement(Ln,{props:{icon:!0},attrs:o,on:a},[this.$createElement(Je,{props:{large:!0}},e)])];return this.$createElement("div",{staticClass:"v-window__"+t},l)},genControlIcons(){const t=[],e=this.$vuetify.rtl?this.nextIcon:this.prevIcon;if(this.hasPrev&&e&&"string"===typeof e){const i=this.genIcon("prev",e,this.prev);i&&t.push(i)}const i=this.$vuetify.rtl?this.prevIcon:this.nextIcon;if(this.hasNext&&i&&"string"===typeof i){const e=this.genIcon("next",i,this.next);e&&t.push(e)}return t},getNextIndex(t){const e=(t+1)%this.items.length,i=this.items[e];return i.disabled?this.getNextIndex(e):e},getPrevIndex(t){const e=(t+this.items.length-1)%this.items.length,i=this.items[e];return i.disabled?this.getPrevIndex(e):e},next(){if(!this.hasActiveItems||!this.hasNext)return;const t=this.getNextIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},prev(){if(!this.hasActiveItems||!this.hasPrev)return;const t=this.getPrevIndex(this.internalIndex),e=this.items[t];this.internalValue=this.getValue(e,t)},updateReverse(t,e){const i=this.items.length,s=i-1;return i<=2?t<e:t===s&&0===e||(0!==t||e!==s)&&t<e}},render(t){const e={staticClass:"v-window",class:this.classes,directives:[]};if(!this.touchless){const t=this.touch||{left:()=>{this.$vuetify.rtl?this.prev():this.next()},right:()=>{this.$vuetify.rtl?this.next():this.prev()},end:t=>{t.stopPropagation()},start:t=>{t.stopPropagation()}};e.directives.push({name:"touch",value:t})}return t("div",e,[this.genContainer()])}})),oa=aa.extend({name:"v-tabs-items",props:{mandatory:{type:Boolean,default:!1}},computed:{classes(){return{...aa.options.computed.classes.call(this),"v-tabs-items":!0}},isDark(){return this.rootIsDark}},methods:{getValue(t,e){return t.id||Ls.options.methods.getValue.call(this,t,e)}}}),la=ke(xe).extend({name:"v-tabs-slider",render(t){return t("div",this.setBackgroundColor(this.color,{staticClass:"v-tabs-slider"}))}});const ca=ke(xe,Is,_e);var ha=ca.extend().extend({name:"v-tabs",directives:{Resize:as},props:{activeClass:{type:String,default:""},alignWithTitle:Boolean,backgroundColor:String,centerActive:Boolean,centered:Boolean,fixedTabs:Boolean,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,iconsAndText:Boolean,mobileBreakpoint:[String,Number],nextIcon:{type:String,default:"$next"},optional:Boolean,prevIcon:{type:String,default:"$prev"},right:Boolean,showArrows:[Boolean,String],sliderColor:String,sliderSize:{type:[Number,String],default:2},vertical:Boolean},data(){return{resizeTimeout:0,slider:{height:null,left:null,right:null,top:null,width:null},transitionTime:300}},computed:{classes(){return{"v-tabs--align-with-title":this.alignWithTitle,"v-tabs--centered":this.centered,"v-tabs--fixed-tabs":this.fixedTabs,"v-tabs--grow":this.grow,"v-tabs--icons-and-text":this.iconsAndText,"v-tabs--right":this.right,"v-tabs--vertical":this.vertical,...this.themeClasses}},isReversed(){return this.$vuetify.rtl&&this.vertical},sliderStyles(){return{height:L(this.slider.height),left:this.isReversed?void 0:L(this.slider.left),right:this.isReversed?L(this.slider.right):void 0,top:this.vertical?L(this.slider.top):void 0,transition:null!=this.slider.left?null:"none",width:L(this.slider.width)}},computedColor(){return this.color?this.color:this.isDark&&!this.appIsDark?"white":"primary"}},watch:{alignWithTitle:"callSlider",centered:"callSlider",centerActive:"callSlider",fixedTabs:"callSlider",grow:"callSlider",iconsAndText:"callSlider",right:"callSlider",showArrows:"callSlider",vertical:"callSlider","$vuetify.application.left":"onResize","$vuetify.application.right":"onResize","$vuetify.rtl":"onResize"},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),this.$on("hook:destroyed",()=>{t.disconnect()})}this.$nextTick(()=>{window.setTimeout(this.callSlider,30)})},methods:{callSlider(){return!this.hideSlider&&this.$refs.items&&this.$refs.items.selectedItems.length?(this.$nextTick(()=>{const t=this.$refs.items.selectedItems[0];if(!t||!t.$el)return this.slider.width=0,void(this.slider.left=0);const e=t.$el;this.slider={height:this.vertical?e.scrollHeight:Number(this.sliderSize),left:this.vertical?0:e.offsetLeft,right:this.vertical?0:e.offsetLeft+e.offsetWidth,top:e.offsetTop,width:this.vertical?Number(this.sliderSize):e.scrollWidth}}),!0):(this.slider.width=0,!1)},genBar(t,e){const i={style:{height:L(this.height)},props:{activeClass:this.activeClass,centerActive:this.centerActive,dark:this.dark,light:this.light,mandatory:!this.optional,mobileBreakpoint:this.mobileBreakpoint,nextIcon:this.nextIcon,prevIcon:this.prevIcon,showArrows:this.showArrows,value:this.internalValue},on:{"call:slider":this.callSlider,change:t=>{this.internalValue=t}},ref:"items"};return this.setTextColor(this.computedColor,i),this.setBackgroundColor(this.backgroundColor,i),this.$createElement(ra,i,[this.genSlider(e),t])},genItems(t,e){return t||(e.length?this.$createElement(oa,{props:{value:this.internalValue},on:{change:t=>{this.internalValue=t}}},e):null)},genSlider(t){return this.hideSlider?null:(t||(t=this.$createElement(la,{props:{color:this.sliderColor}})),this.$createElement("div",{staticClass:"v-tabs-slider-wrapper",style:this.sliderStyles},[t]))},onResize(){this._isDestroyed||(clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(this.callSlider,0))},parseNodes(){let t=null,e=null;const i=[],s=[],n=this.$slots.default||[],r=n.length;for(let a=0;a<r;a++){const r=n[a];if(r.componentOptions)switch(r.componentOptions.Ctor.options.name){case"v-tabs-slider":e=r;break;case"v-tabs-items":t=r;break;case"v-tab-item":i.push(r);break;default:s.push(r)}else s.push(r)}return{tab:s,slider:e,items:t,item:i}}},render(t){const{tab:e,slider:i,items:s,item:n}=this.parseNodes();return t("div",{staticClass:"v-tabs",class:this.classes,directives:[{name:"resize",modifiers:{quiet:!0},value:this.onResize}]},[this.genBar(e,i),this.genItems(s,n)])}});const ua=ke(Li,si("tabsBar"),_e);var da=ua.extend().extend().extend({name:"v-tab",props:{ripple:{type:[Boolean,Object],default:!0}},data:()=>({proxyClass:"v-tab--active"}),computed:{classes(){return{"v-tab":!0,...Li.options.computed.classes.call(this),"v-tab--disabled":this.disabled,...this.groupClasses}},value(){let t=this.to||this.href;if(null==t)return t;if(this.$router&&this.to===Object(this.to)){const e=this.$router.resolve(this.to,this.$route,this.append);t=e.href}return t.replace("#","")}},methods:{click(t){this.disabled?t.preventDefault():(this.href&&this.href.indexOf("#")>-1&&t.preventDefault(),t.detail&&this.$el.blur(),this.$emit("click",t),this.to||this.toggle())},toggle(){this.isActive&&(this.tabsBar.mandatory||this.to)||this.$emit("change")}},render(t){const{tag:e,data:i}=this.generateRouteLink();return i.attrs={...i.attrs,"aria-selected":String(this.isActive),role:"tab",tabindex:this.disabled?-1:0},i.on={...i.on,keydown:t=>{t.keyCode===T.enter&&this.click(t),this.$emit("keydown",t)}},t(e,i,this.$slots.default)}}),pa={name:"farm-tabs",data:()=>({selected:0}),props:{tabs:{type:Array,default:()=>[{name:"Seleção",path:"selection"},{name:"Revisão",path:"review"}]},showCounter:{type:Boolean,default:!0},initialSelect:{type:Number,default:0},allowUserChange:{type:Boolean,default:!0}},methods:{isSelected(t){return t===this.selected},changeTab(t,e){this.$emit("update",this.tabs[e])},next(){this.selected=this.selected+1,this.$emit("update",this.tabs[this.selected])},previous(){this.selected=this.selected-1,this.$emit("update",this.tabs[this.selected])},toIndex(t){this.selected=t,this.$emit("update",this.tabs[t])},updateTabRouting:(t,e,i)=>{t.currentTab=e.path;const s=`${i}/${e.path}`,n=t.$router.history.current.path;s!==n&&t.$router.push(s)}},created(){this.selected=this.initialSelect},components:{VTabs:ha,VTab:da}},ma=pa,fa=(i("5cb9"),Ee(ma,Hr,Wr,!1,null,"4633fabe",null)),ga=fa.exports,va=ga,ba=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("header",[t.iconTitle?e("farm-icon",{attrs:{size:"16px",color:"secondary"}},[t._v(t._s(t.iconTitle))]):t._e(),t._v(" "+t._s(t.title)+" "),t.hasCloseIcon?e("farm-icon",{staticClass:"farm-dialog-header__close",attrs:{role:"button",title:"Fechar",color:"secondary"},on:{click:t.onClose}},[t._v(" close-thick ")]):t._e()],1)},ya=[],xa=c.a.extend({name:"farm-dialog-header",props:{title:{type:String,default:"",required:!0},iconTitle:{type:String,default:null,required:!1},hasCloseIcon:{type:Boolean,default:!0,required:!1}},components:{"farm-icon":$r},methods:{onClose(){this.$emit("onClose",{})}}}),$a=xa,Ca=(i("b510"),Ee($a,ba,ya,!1,null,"151bfb7c",null)),Sa=Ca.exports,_a=Sa,wa=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-dialog__footer"},[t.hasCancel?e("farm-btn",{attrs:{color:"secondary",outlined:""},on:{click:function(e){return t.$emit("onClose")}}},[t._v(" "+t._s(t.closeLabel)+" ")]):t._e(),t._l(t.extraButtons,(function(i){return e("farm-btn",{key:i.label,attrs:{color:i.color,outlined:i.outlined,disabled:i.disabled},on:{click:function(e){return t.$emit(i.listener?i.listener:"")}}},[t._v(" "+t._s(i.label)+" ")])})),t.hasConfirm?e("farm-btn",{attrs:{color:t.confirmColor,disabled:t.isConfirmDisabled},on:{click:function(e){return t.$emit("onConfirm")}}},[t.confirmIcon?e("i",{class:{mdi:!0,["mdi-"+t.confirmIcon]:!0}}):t._e(),t._v(" "+t._s(t.confirmLabel)+" ")]):t._e()],2)},ka=[],Ia=c.a.extend({name:"farm-dialog-footer",components:{"farm-btn":ar},props:{confirmLabel:{type:String,default:"Confirmar"},closeLabel:{type:String,default:"Fechar"},hasConfirm:{type:Boolean,default:!0},hasCancel:{type:Boolean,default:!0},confirmColor:{type:String,default:"secondary"},confirmIcon:{type:String,default:null},isConfirmDisabled:{type:Boolean,default:!1},extraButtons:{type:Array,default:()=>[]}}}),La=Ia,Ba=(i("3d11"),Ee(La,wa,ka,!1,null,"d555c446",null)),Aa=Ba.exports,Ta=Aa,Oa=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-col",{staticClass:"v-col-fieldset-default pl-0",attrs:{cols:"12",sm:"12",md:t.item.md?t.item.md:2}},[e("farm-label",{attrs:{for:t.inputId,required:t.required&&!t.disabled}},[t._v(" "+t._s(t.item.label)+" ")]),e("farm-textfield",{directives:[{name:"mask",rawName:"v-mask",value:""+(t.mask?t.mask:""),expression:"`${mask ? mask : ''}`"}],attrs:{placeholder:t.placeholder,id:t.inputId,rules:t.inputRules,disabled:t.disabled,readonly:t.readonly},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}})],1)},Ea=[],Pa=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("label",t._b({class:{"farm-label":!0,"farm-label--required":t.required}},"label",t.$attrs,!1),[t._t("default")],2)},Da=[],Ma=c.a.extend({name:"farm-label",props:{required:{type:Boolean,default:!1}}}),Va=Ma,Fa=(i("9af0"),Ee(Va,Pa,Da,!1,null,"2819d5b7",null)),Na=Fa.exports,za=Na,Ra=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-text-field",t._g(t._b({staticClass:"farm-textfield",attrs:{outlined:""}},"v-text-field",t.$attrs,!1),{...t.$listeners}))},Ha=[],Wa=c.a.extend({name:"farm-textfield",inheritAttrs:!0,components:{VTextField:sn}}),ja=Wa,Ya=(i("96c7"),Ee(ja,Ra,Ha,!1,null,"244613e6",null)),qa=Ya.exports,Ua=qa,Za=c.a.extend({name:"farm-textfield-labelled",components:{"farm-label":za,"farm-textfield":Ua,VCol:Jn},props:{item:{type:Object,required:!0},value:{required:!0},rules:{type:Array},disabled:{type:Boolean,default:!1},forKey:{type:String,required:!1,default:"form"},required:{type:Boolean,default:!1},mask:{type:String,default:null},readonly:{type:Boolean,default:!1},placeholder:{type:String,default:null}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},inputRules(){return this.disabled?[]:this.rules&&this.rules.length?this.rules:[]},inputId(){return`${this.forKey}-${this.item.key}`}}}),Xa=Za,Ka=Ee(Xa,Oa,Ea,!1,null,null,null),Ga=Ka.exports,Qa=Ga,Ja=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{ref:"menuField",attrs:{"close-on-content-click":!1,"nudge-right":40,"return-value":t.fieldRange,transition:"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function(e){t.fieldRange=e},"update:return-value":function(e){t.fieldRange=e}},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[e("v-text-field",t._g({attrs:{color:"secondary","append-icon":"mdi-calendar",readonly:"",outlined:"",dense:"",id:t.inputId,rules:t.required?[t.requiredRule]:[]},model:{value:t.fieldRange,callback:function(e){t.fieldRange=e},expression:"fieldRange"}},i))]}}]),model:{value:t.menuField,callback:function(e){t.menuField=e},expression:"menuField"}},[t.menuField?e("v-date-picker",{attrs:{"no-title":"",scrollable:"",range:"",max:t.max,min:t.min,color:"secondary",locale:"pt-br"},model:{value:t.dateField,callback:function(e){t.dateField=e},expression:"dateField"}},[e("farm-btn",{attrs:{outlined:"",color:"primary",tutle:"Fechar"},on:{click:function(e){t.menuField=!1}}},[t._v(" Fechar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{outlined:"",color:"secondary",title:"Limpar"},on:{click:function(e){return t.clear()}}},[t._v(" Limpar")]),e("farm-btn",{staticClass:"ml-2",attrs:{color:"secondary",disabled:t.canConfirm,title:"Confirmar"},on:{click:function(e){return t.save()}}},[t._v(" Confirmar ")])],1):t._e()],1)},to=[],eo=(i("d951"),ke(xe).extend({methods:{genPickerButton(t,e,i,s=!1,n=""){const r=this[t]===e,a=i=>{i.stopPropagation(),this.$emit("update:"+B(t),e)};return this.$createElement("div",{staticClass:("v-picker__title__btn "+n).trim(),class:{"v-picker__title__btn--active":r,"v-picker__title__btn--readonly":s},on:r||s?void 0:{click:a}},Array.isArray(i)?i:[i])}}})),io=ke(eo).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:()=>({isReversing:!1}),computed:{computedTransition(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value(t,e){this.isReversing=t<e}},methods:{genYearIcon(){return this.$createElement(Je,{props:{dark:!0}},this.yearIcon)},getYearBtn(){return this.genPickerButton("selectingYear",!0,[String(this.year),this.yearIcon?this.genYearIcon():null],!1,"v-date-picker-title__year")},genTitleText(){return this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("div",{domProps:{innerHTML:this.date||"&nbsp;"},key:this.value})])},genTitleDate(){return this.genPickerButton("selectingYear",!1,[this.genTitleText()],!1,"v-date-picker-title__date")}},render(t){return t("div",{staticClass:"v-date-picker-title",class:{"v-date-picker-title--disabled":this.disabled}},[this.getYearBtn(),this.genTitleDate()])}}),so=(i("2102"),c.a.extend({name:"localable",props:{locale:String},computed:{currentLocale(){return this.locale||this.$vuetify.lang.current}}}));const no=(t,e,i)=>(e>>=0,t=String(t),i=String(i),t.length>e?String(t):(e-=t.length,e>i.length&&(i+=i.repeat(e/i.length)),i.slice(0,e)+String(t)));var ro=(t,e=2)=>no(t,e,"0");function ao(t,e,i={start:0,length:0}){const s=t=>{const[e,i,s]=t.trim().split(" ")[0].split("-");return[ro(e,4),ro(i||1),ro(s||1)].join("-")};try{const i=new Intl.DateTimeFormat(t||void 0,e);return t=>i.format(new Date(s(t)+"T00:00:00+00:00"))}catch(mu){return i.start||i.length?t=>s(t).substr(i.start||0,i.length):void 0}}var oo=ao,lo=(t,e)=>{const[i,s]=t.split("-").map(Number);return s+e===0?i-1+"-12":s+e===13?i+1+"-01":`${i}-${ro(s+e)}`},co=ke(xe,so,_e).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data(){return{isReversing:!1}},computed:{formatter(){return this.format?this.format:String(this.value).split("-")[1]?oo(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):oo(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value(t,e){this.isReversing=t<e}},methods:{genBtn(t){const e=t>0?this.nextAriaLabel:this.prevAriaLabel,i=e?this.$vuetify.lang.t(e):void 0,s=this.disabled||t<0&&this.min&&this.calculateChange(t)<this.min||t>0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement(Ln,{attrs:{"aria-label":i},props:{dark:this.dark,disabled:s,icon:!0,light:this.light},on:{click:e=>{e.stopPropagation(),this.$emit("input",this.calculateChange(t))}}},[this.$createElement(Je,t<0===!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange(t){const[e,i]=String(this.value).split("-").map(Number);return null==i?""+(e+t):lo(String(this.value),t)},genHeader(){const t=!this.disabled&&(this.color||"accent"),e=this.$createElement("div",this.setTextColor(t,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:()=>this.$emit("toggle")}},[this.$slots.default||this.formatter(String(this.value))])]),i=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[e]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[i])}},render(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:{"v-date-picker-header--disabled":this.disabled,...this.themeClasses}},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}});i("c982");function ho(t,e,i){return Object.keys(t.$listeners).reduce((s,n)=>(n.endsWith(e)&&(s[n.slice(0,-e.length)]=e=>t.$emit(n,i,e)),s),{})}function uo(t,e){return Object.keys(t.$listeners).reduce((i,s)=>(s.endsWith(e)&&(i[s]=t.$listeners[s]),i),{})}var po=(t,e)=>{const[i,s=1,n=1]=t.split("-");return`${i}-${ro(s)}-${ro(n)}`.substr(0,{date:10,month:7,year:4}[e])};function mo(t,e,i,s){return(!s||s(t))&&(!e||t>=e.substr(0,10))&&(!i||t<=i)}var fo=ke(xe,so,_e).extend({directives:{Touch:Jr},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:()=>({isReversing:!1,wheelThrottle:null}),computed:{computedTransition(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth(){return Number(this.tableDate.split("-")[1])-1},displayedYear(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate(t,e){this.isReversing=t<e}},mounted(){this.wheelThrottle=W(this.wheel,250)},methods:{genButtonClasses(t,e,i,s,n,r){return{"v-size--default":!e,"v-date-picker-table__current":s,"v-btn--active":i,"v-btn--flat":!t||this.disabled,"v-btn--text":i===s,"v-btn--rounded":e,"v-btn--disabled":!t||this.disabled,"v-btn--outlined":s&&!i,"v-date-picker--first-in-range":n,"v-date-picker--last-in-range":r,...this.themeClasses}},genButtonEvents(t,e,i){if(!this.disabled)return je({click:()=>{e&&!this.readonly&&this.$emit("input",t)}},ho(this,":"+i,t))},genButton(t,e,i,s,n=!1){const r=mo(t,this.min,this.max,this.allowedDates),a=this.isSelected(t)&&r,o=t===this.current,l=a?this.setBackgroundColor:this.setTextColor,c=(a||o)&&(this.color||"accent");let h=!1,u=!1;return this.range&&this.value&&Array.isArray(this.value)&&(h=t===this.value[0],u=t===this.value[this.value.length-1]),this.$createElement("button",l(c,{staticClass:"v-btn",class:this.genButtonClasses(r&&!n,e,a,o,h,u),attrs:{type:"button"},domProps:{disabled:this.disabled||!r||n},on:this.genButtonEvents(t,r,i)}),[this.$createElement("div",{staticClass:"v-btn__content"},[s(t)]),this.genEvents(t)])},getEventColors(t){const e=t=>Array.isArray(t)?t:[t];let i,s=[];return i=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,i?(s=!0!==i?e(i):"string"===typeof this.eventColor?[this.eventColor]:"function"===typeof this.eventColor?e(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:e(this.eventColor[t]),s.filter(t=>t)):[]},genEvents(t){const e=this.getEventColors(t);return e.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},e.map(t=>this.$createElement("div",this.setBackgroundColor(t)))):null},isValidScroll(t,e){const i=e(t),s=1===i.split("-").length?"year":"month";return t<0&&(!this.min||i>=po(this.min,s))||t>0&&(!this.max||i<=po(this.max,s))},wheel(t,e){this.$emit("update:table-date",e(t.deltaY))},touch(t,e){this.$emit("update:table-date",e(t))},genTable(t,e,i){const s=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),n={name:"touch",value:{left:t=>t.offsetX<-15&&this.isValidScroll(1,i)&&this.touch(1,i),right:t=>t.offsetX>15&&this.isValidScroll(-1,i)&&this.touch(-1,i)}};return this.$createElement("div",{staticClass:t,class:{"v-date-picker-table--disabled":this.disabled,...this.themeClasses},on:!this.disabled&&this.scrollable?{wheel:t=>{t.preventDefault(),this.isValidScroll(t.deltaY,i)&&this.wheelThrottle(t,i)}}:void 0,directives:[n]},[s])},isSelected(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){const[e,i]=[...this.value].sort();return e<=t&&t<=i}return-1!==this.value.indexOf(t)}return t===this.value}}});function go(t,e=0,i=1){let s;return t<100&&t>=0?(s=new Date(Date.UTC(t,e,i)),isFinite(s.getUTCFullYear())&&s.setUTCFullYear(t)):s=new Date(Date.UTC(t,e,i)),s}function vo(t,e,i){const s=7+e-i,n=(7+go(t,0,s).getUTCDay()-e)%7;return-n+s-1}function bo(t,e,i,s){let n=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&$o(t)&&n++,n+i}function yo(t,e,i){const s=vo(t,e,i),n=vo(t+1,e,i),r=$o(t)?366:365;return(r-s+n)/7}function xo(t,e,i,s,n){const r=vo(t,s,n),a=Math.ceil((bo(t,e,i,s)-r)/7);return a<1?a+yo(t-1,s,n):a>yo(t,s,n)?a-yo(t,s,n):a}function $o(t){return t%4===0&&t%100!==0||t%400===0}var Co=ke(fo).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter(){return this.format||oo(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter(){return this.weekdayFormat||oo(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays(){const t=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?S(7).map(e=>this.weekdayFormatter("2017-01-"+(t+e+15))):S(7).map(e=>["S","M","T","W","T","F","S"][(e+t)%7])}},methods:{calculateTableDate(t){return lo(this.tableDate,Math.sign(t||1))},genTHead(){const t=this.weekDays.map(t=>this.$createElement("th",t));return this.showWeek&&t.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(t))},weekDaysBeforeFirstDayOfTheMonth(){const t=new Date(`${this.displayedYear}-${ro(this.displayedMonth+1)}-01T00:00:00+00:00`),e=t.getUTCDay();return(e-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber(t){return xo(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody(){const t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate();let i=[],s=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&i.push(this.genWeekNumber(this.getWeekNumber(1)));const n=this.displayedMonth?this.displayedYear:this.displayedYear-1,r=(this.displayedMonth+11)%12,a=new Date(this.displayedYear,this.displayedMonth,0).getDate(),o=this.showWeek?8:7;while(s--){const t=`${n}-${ro(r+1)}-${ro(a-s)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}for(s=1;s<=e;s++){const n=`${this.displayedYear}-${ro(this.displayedMonth+1)}-${ro(s)}`;i.push(this.$createElement("td",[this.genButton(n,!0,"date",this.formatter)])),i.length%o===0&&(t.push(this.genTR(i)),i=[],this.showWeek&&(s<e||this.showAdjacentMonths)&&i.push(this.genWeekNumber(this.getWeekNumber(s+7))))}const l=11===this.displayedMonth?this.displayedYear+1:this.displayedYear,c=(this.displayedMonth+1)%12;let h=1;while(i.length<o){const t=`${l}-${ro(c+1)}-${ro(h++)}`;i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(t,!0,"date",this.formatter,!0)]:[]))}return i.length&&t.push(this.genTR(i)),this.$createElement("tbody",t)},genTR(t){return[this.$createElement("tr",t)]}},render(){return this.genTable("v-date-picker-table v-date-picker-table--date",[this.genTHead(),this.genTBody()],this.calculateTableDate)}}),So=ke(fo).extend({name:"v-date-picker-month-table",computed:{formatter(){return this.format||oo(this.currentLocale,{month:"short",timeZone:"UTC"},{start:5,length:2})}},methods:{calculateTableDate(t){return""+(parseInt(this.tableDate,10)+Math.sign(t||1))},genTBody(){const t=[],e=Array(3).fill(null),i=12/e.length;for(let s=0;s<i;s++){const i=e.map((t,i)=>{const n=s*e.length+i,r=`${this.displayedYear}-${ro(n+1)}`;return this.$createElement("td",{key:n},[this.genButton(r,!1,"month",this.formatter)])});t.push(this.$createElement("tr",{key:s},i))}return this.$createElement("tbody",t)}},render(){return this.genTable("v-date-picker-table v-date-picker-table--month",[this.genTBody()],this.calculateTableDate)}}),_o=(i("02f0"),ke(xe,so).extend({name:"v-date-picker-years",props:{format:Function,min:[Number,String],max:[Number,String],readonly:Boolean,value:[Number,String]},data(){return{defaultColor:"primary"}},computed:{formatter(){return this.format||oo(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},mounted(){setTimeout(()=>{const t=this.$el.getElementsByClassName("active")[0];t?this.$el.scrollTop=t.offsetTop-this.$el.offsetHeight/2+t.offsetHeight/2:this.min&&!this.max?this.$el.scrollTop=this.$el.scrollHeight:!this.min&&this.max?this.$el.scrollTop=0:this.$el.scrollTop=this.$el.scrollHeight/2-this.$el.offsetHeight/2})},methods:{genYearItem(t){const e=this.formatter(""+t),i=parseInt(this.value,10)===t,s=i&&(this.color||"primary");return this.$createElement("li",this.setTextColor(s,{key:t,class:{active:i},on:je({click:()=>this.$emit("input",t)},ho(this,":year",t))}),e)},genYearItems(){const t=[],e=this.value?parseInt(this.value,10):(new Date).getFullYear(),i=this.max?parseInt(this.max,10):e+100,s=Math.min(i,this.min?parseInt(this.min,10):e-100);for(let n=i;n>=s;n--)t.push(this.genYearItem(n));return t}},render(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}})),wo=(i("e53c"),i("615b"),ke(xe,bs,_e).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor(){const t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),this.$slots.title)},genBodyTransition(){return this.$createElement("transition",{props:{name:this.transition}},this.$slots.default)},genBody(){return this.$createElement("div",{staticClass:"v-picker__body",class:{"v-picker__body--no-title":this.noTitle,...this.themeClasses},style:this.fullWidth?void 0:{width:L(this.width)}},[this.genBodyTransition()])},genActions(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},this.$slots.actions)}},render(t){return t("div",{staticClass:"v-picker v-card",class:{"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth,...this.themeClasses,...this.elevationClasses}},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}})),ko=wo,Io=ke(xe,bs,_e).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle(){return null},genPickerBody(){return null},genPickerActionsSlot(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):this.$slots.default},genPicker(t){const e=[];if(!this.noTitle){const t=this.genPickerTitle();t&&e.push(t)}const i=this.genPickerBody();return i&&e.push(i),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(ko,{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}});const Lo=[0,31,28,31,30,31,30,31,31,30,31,30,31],Bo=[0,31,29,31,30,31,30,31,31,30,31,30,31];function Ao(t,e){return $o(t)?Bo[e]:Lo[e]}var To=ke(so,Io).extend({name:"v-date-picker",props:{activePicker:String,allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:()=>null},eventColor:{type:[Array,Function,Object,String],default:()=>"warning"},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:t=>["date","month"].includes(t)},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data(){const t=new Date;return{internalActivePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:t,tableDate:(()=>{if(this.pickerDate)return this.pickerDate;const e=F(this.value),i=e[e.length-1]||("string"===typeof this.showCurrent?this.showCurrent:`${t.getFullYear()}-${t.getMonth()+1}`);return po(i,"date"===this.type?"month":"year")})()}},computed:{multipleValue(){return F(this.value)},isMultiple(){return this.multiple||this.range},lastValue(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map(t=>t.substr(0,7)):this.value.substr(0,7):this.value},current(){return!0===this.showCurrent?po(`${this.now.getFullYear()}-${this.now.getMonth()+1}-${this.now.getDate()}`,this.type):this.showCurrent||null},inputDate(){return"date"===this.type?`${this.inputYear}-${ro(this.inputMonth+1)}-${ro(this.inputDay)}`:`${this.inputYear}-${ro(this.inputMonth+1)}`},tableMonth(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth(){return this.min?po(this.min,"month"):null},maxMonth(){return this.max?po(this.max,"month"):null},minYear(){return this.min?po(this.min,"year"):null},maxYear(){return this.max?po(this.max,"year"):null},formatters(){return{year:this.yearFormat||oo(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter(){return t=>t.length?1===t.length?this.defaultTitleDateFormatter(t[0]):this.$vuetify.lang.t(this.selectedItemsText,t.length):"-"},defaultTitleDateFormatter(){const t={year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}},e=oo(this.currentLocale,t[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]}),i=t=>e(t).replace(/([^\d\s])([\d])/g,(t,e,i)=>`${e} ${i}`).replace(", ",",<br>");return this.landscape?i:e}},watch:{internalActivePicker:{immediate:!0,handler(t){this.$emit("update:active-picker",t)}},activePicker(t){this.internalActivePicker=t},tableDate(t,e){const i="month"===this.type?"year":"month";this.isReversing=po(t,i)<po(e,i),this.$emit("update:picker-date",t)},pickerDate(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=po(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=po(this.lastValue,"year"))},value(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=po(this.inputDate,"month"===this.type?"year":"month"))},type(t){if(this.internalActivePicker=t.toUpperCase(),this.value&&this.value.length){const e=this.multipleValue.map(e=>po(e,t)).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput(t){if(this.range){if(1!==this.multipleValue.length)this.$emit("input",[t]);else{const e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}return}const e=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter(e=>e!==t):t;this.$emit("input",e),this.multiple||this.$emit("change",t)},checkMultipleProp(){if(null==this.value)return;const t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&ue(`Value must be ${this.isMultiple?"an":"a"} ${e}, got ${t}`,this)},isDateAllowed(t){return mo(t,this.min,this.max,this.allowedDates)},yearClick(t){this.inputYear=t,"month"===this.type?this.tableDate=""+t:this.tableDate=`${t}-${ro((this.tableMonth||0)+1)}`,this.internalActivePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick(t){const[e,i]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(i,10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,Ao(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.internalActivePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick(t){const[e,i,s]=t.split("-");this.inputYear=parseInt(e,10),this.inputMonth=parseInt(i,10)-1,this.inputDay=parseInt(s,10),this.emitInput(this.inputDate)},genPickerTitle(){return this.$createElement(io,{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.internalActivePicker,year:this.formatters.year(this.multipleValue.length?""+this.inputYear:this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":t=>this.internalActivePicker=t?"YEAR":this.type.toUpperCase()}})},genTableHeader(){return this.$createElement(co,{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.internalActivePicker?this.minMonth:this.minYear,max:"DATE"===this.internalActivePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.internalActivePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.internalActivePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.internalActivePicker?`${ro(this.tableYear,4)}-${ro(this.tableMonth+1)}`:""+ro(this.tableYear,4)},on:{toggle:()=>this.internalActivePicker="DATE"===this.internalActivePicker?"MONTH":"YEAR",input:t=>this.tableDate=t}})},genDateTable(){return this.$createElement(Co,{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:`${ro(this.tableYear,4)}-${ro(this.tableMonth+1)}`,value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:{input:this.dateClick,"update:table-date":t=>this.tableDate=t,...uo(this,":date")}})},genMonthTable(){return this.$createElement(So,{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?po(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:""+ro(this.tableYear,4)},ref:"table",on:{input:this.monthClick,"update:table-date":t=>this.tableDate=t,...uo(this,":month")}})},genYears(){return this.$createElement(_o,{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:{input:this.yearClick,...uo(this,":year")}})},genPickerBody(){const t="YEAR"===this.internalActivePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.internalActivePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.internalActivePicker},t)},setInputDate(){if(this.lastValue){const t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render(){return this.genPicker("v-picker--date")}});const Oo=(t,e=!0)=>{const i={timeZone:"UTC"};return t?new Date(t).toLocaleDateString("pt-BR",e?i:{}):null},Eo=t=>{let e=t.split("/").reverse().join("-");return e};var Po=c.a.extend({name:"farm-input-rangedatepicker",components:{VTextField:sn,VMenu:ls,VDatePicker:To,"farm-btn":ar},props:{inputId:{type:String,required:!0},value:{type:Array,default:()=>[]},max:{type:String,default:null},min:{type:String,default:null},required:{type:Boolean,default:!1}},data(){const t=this.formatDateRange(this.value);return{menuField:!1,dateField:this.value,fieldRange:t,requiredRule:t=>!!t||""!=t||"Campo obrigatório"}},watch:{value(t){this.dateField=t,this.fieldRange=this.formatDateRange(t)}},methods:{formatDateRange(t){if(!t||0===t.length)return"";const e=t[0],i=t[1];return Oo(e)+" a "+Oo(i)},save(){this.$refs.menuField.save(this.formatDateRange(this.dateField)),this.inputVal=this.dateField,this.menuField=!1},clear(){this.dateField=[],this.save()}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},canConfirm(){return!this.dateField||1==this.dateField.length}}}),Do=Po,Mo=(i("242e"),Ee(Do,Ja,to,!1,null,"4676439a",null)),Vo=Mo.exports,Fo=Vo,No=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{ref:"menuField",attrs:{"close-on-content-click":!1,"return-value":t.fieldRange,transition:"scale-transition","offset-y":"","min-width":"290px"},on:{"update:returnValue":function(e){t.fieldRange=e},"update:return-value":function(e){t.fieldRange=e}},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[e("v-text-field",t._g({directives:[{name:"mask",rawName:"v-mask",value:""+(t.readonly?"":"##/##/####"),expression:"`${readonly ? '' : '##/##/####'}`"}],attrs:{color:"secondary","append-icon":"mdi-calendar",readonly:t.readonly,autocomplete:"off",outlined:"",dense:"",id:t.inputId,rules:[t.checkMax,t.checkMin,t.checkRequire]},on:{keyup:t.keyUpInput},model:{value:t.fieldRange,callback:function(e){t.fieldRange=e},expression:"fieldRange"}},i))]}}]),model:{value:t.menuField,callback:function(e){t.menuField=e},expression:"menuField"}},[t.menuField?e("v-date-picker",{attrs:{"no-title":"",scrollable:"",color:"secondary",locale:"pt-br",max:t.max,min:t.min},model:{value:t.dateField,callback:function(e){t.dateField=e},expression:"dateField"}},[e("farm-btn",{attrs:{outlined:"",color:"primary",title:"Fechar"},on:{click:function(e){t.menuField=!1}}},[t._v(" Fechar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{outlined:"",color:"secondary"},on:{click:t.clear}},[t._v(" Limpar ")]),e("farm-btn",{staticClass:"ml-2",attrs:{color:"secondary",title:"Confirmar",disabled:!t.dateField.length},on:{click:function(e){return t.save()}}},[t._v(" Confirmar ")])],1):t._e()],1)},zo=[],Ro=c.a.extend({name:"farm-input-datepicker",components:{VTextField:sn,VMenu:ls,VDatePicker:To,"farm-btn":ar},props:{inputId:{type:String,required:!0},value:{type:String,default:""},max:{type:String,default:null},min:{type:String,default:null},required:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1}},data(){const t=this.formatDateRange(this.value);return{menuField:!1,dateField:this.value,fieldRange:t,checkRequire:t=>!this.required||(!!t||""!=t||"Campo obrigatório"),checkMax:t=>!(this.max&&new Date(Eo(t))>new Date(this.max))||"A data está fora do período permitido",checkMin:t=>!(this.min&&new Date(Eo(t))<new Date(this.min))||"A data está fora do período permitido"}},watch:{value(t){this.dateField=t,this.fieldRange=this.formatDateRange(t)}},methods:{formatDateRange(t){return t&&0!==t.length?Oo(t):""},save(){this.$refs.menuField.save(this.formatDateRange(this.dateField)),this.inputVal=this.dateField},clear(){this.dateField="",this.save()},validation(t){const e=/^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[13-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$/gm;return e.test(t)},keyUpInput(t){let e=t.target.value;if(this.validation(e)&&10===e.length){const[t,i,s]=e.split("/");this.dateField=`${s}-${i}-${t}`,this.save()}}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}}}),Ho=Ro,Wo=(i("39b1"),Ee(Ho,No,zo,!1,null,"9a1e21b0",null)),jo=Wo.exports,Yo=jo,qo=function(){var t=this,e=t._self._c;return e("ul",t._l(t.managers,(function(i,s){return e("li",{key:s},[t._v(" "+t._s(i)+" ")])})),0)},Uo=[],Zo={props:{managersString:{type:String,required:!0}},computed:{managers(){return this.managersString?this.managersString.split(","):[]}}},Xo=Zo,Ko=(i("08c9"),Ee(Xo,qo,Uo,!1,null,"7acbd269",null)),Go=Ko.exports,Qo=Go,Jo=function(){var t=this,e=t._self._c;return e("v-form",{attrs:{autocomplete:"off"},model:{value:t.formVal,callback:function(e){t.formVal=e},expression:"formVal"}},[e("div",{domProps:{innerHTML:t._s(t.title)}}),e("v-row",[e("v-col",{staticClass:"mt-3 v-col-fieldset-default",attrs:{cols:"12",sm:"12"}},[e("v-text-field",{attrs:{id:"form-confirm-remove",color:"secondary",outlined:"",dense:"",rules:[t.rules.checkRemove]},model:{value:t.matchInput,callback:function(e){t.matchInput=e},expression:"matchInput"}})],1)],1)],1)},tl=[],el=ke(u,ii("form")).extend({name:"v-form",provide(){return{form:this}},inheritAttrs:!1,props:{disabled:Boolean,lazyValidation:Boolean,readonly:Boolean,value:Boolean},data:()=>({inputs:[],watchers:[],errorBag:{}}),watch:{errorBag:{handler(t){const e=Object.values(t).includes(!0);this.$emit("input",!e)},deep:!0,immediate:!0}},methods:{watchInput(t){const e=t=>t.$watch("hasError",e=>{this.$set(this.errorBag,t._uid,e)},{immediate:!0}),i={_uid:t._uid,valid:()=>{},shouldValidate:()=>{}};return this.lazyValidation?i.shouldValidate=t.$watch("shouldValidate",s=>{s&&(this.errorBag.hasOwnProperty(t._uid)||(i.valid=e(t)))}):i.valid=e(t),i},validate(){return 0===this.inputs.filter(t=>!t.validate(!0)).length},reset(){this.inputs.forEach(t=>t.reset()),this.resetErrorBag()},resetErrorBag(){this.lazyValidation&&setTimeout(()=>{this.errorBag={}},0)},resetValidation(){this.inputs.forEach(t=>t.resetValidation()),this.resetErrorBag()},register(t){this.inputs.push(t),this.watchers.push(this.watchInput(t))},unregister(t){const e=this.inputs.find(e=>e._uid===t._uid);if(!e)return;const i=this.watchers.find(t=>t._uid===e._uid);i&&(i.valid(),i.shouldValidate()),this.watchers=this.watchers.filter(t=>t._uid!==e._uid),this.inputs=this.inputs.filter(t=>t._uid!==e._uid),this.$delete(this.errorBag,e._uid)}},render(t){return t("form",{staticClass:"v-form",attrs:{novalidate:!0,...this.attrs$},on:{submit:t=>this.$emit("submit",t)}},this.$slots.default)}}),il={props:{match:{type:String,default:"EXCLUIR"},value:{required:!0},title:{type:String,default:'Escreva no campo abaixo "EXCLUIR" para confirmar a exclusão.'}},components:{VForm:el,VTextField:sn,VRow:Yn,VCol:Jn},data(){return{rules:{checkRemove:t=>t===this.match},matchInput:null}},computed:{formVal:{get(){return this.value},set(t){this.$emit("input",t)}}},mounted(){this.matchInput=null}},sl=il,nl=Ee(sl,Jo,tl,!1,null,null,null),rl=nl.exports,al=rl,ol=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-dialog",{attrs:{"content-class":"modal-default modal-default-small"},model:{value:t.inputVal,callback:function(e){t.inputVal=e},expression:"inputVal"}},[e("DialogHeader",{attrs:{title:t.title},on:{onClose:t.close}}),e("v-main",[e("section",{staticClass:"mt-9"},[t.inputVal?e("PromptUserToConfirm",{attrs:{match:t.match,title:t.subtitle},model:{value:t.canConfirm,callback:function(e){t.canConfirm=e},expression:"canConfirm"}}):t._e()],1),e("DialogFooter",{attrs:{confirmColor:t.confirmColor,confirmLabel:t.confirmLabel,isConfirmDisabled:!t.canConfirm},on:{onClose:t.close,onConfirm:t.confirm}})],1)],1)},ll=[],cl=(i("368e"),Br),hl=c.a.extend().extend({name:"overlayable",props:{hideOverlay:Boolean,overlayColor:String,overlayOpacity:[Number,String]},data(){return{animationFrame:0,overlay:null}},watch:{hideOverlay(t){this.isActive&&(t?this.removeOverlay():this.genOverlay())}},beforeDestroy(){this.removeOverlay()},methods:{createOverlay(){const t=new cl({propsData:{absolute:this.absolute,value:!1,color:this.overlayColor,opacity:this.overlayOpacity}});t.$mount();const e=this.absolute?this.$el.parentNode:document.querySelector("[data-app]");e&&e.insertBefore(t.$el,e.firstChild),this.overlay=t},genOverlay(){if(this.hideScroll(),!this.hideOverlay)return this.overlay||this.createOverlay(),this.animationFrame=requestAnimationFrame(()=>{this.overlay&&(void 0!==this.activeZIndex?this.overlay.zIndex=String(this.activeZIndex-1):this.$el&&(this.overlay.zIndex=_(this.$el)),this.overlay.value=!0)}),!0},removeOverlay(t=!0){this.overlay&&(g(this.overlay.$el,"transitionend",()=>{this.overlay&&this.overlay.$el&&this.overlay.$el.parentNode&&!this.overlay.value&&!this.isActive&&(this.overlay.$el.parentNode.removeChild(this.overlay.$el),this.overlay.$destroy(),this.overlay=null)}),cancelAnimationFrame(this.animationFrame),this.overlay.value=!1),t&&this.showScroll()},scrollListener(t){if("keydown"===t.type){if(["INPUT","TEXTAREA","SELECT"].includes(t.target.tagName)||t.target.isContentEditable)return;const e=[T.up,T.pageup],i=[T.down,T.pagedown];if(e.includes(t.keyCode))t.deltaY=-1;else{if(!i.includes(t.keyCode))return;t.deltaY=1}}(t.target===this.overlay||"keydown"!==t.type&&t.target===document.body||this.checkPath(t))&&t.preventDefault()},hasScrollbar(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return!1;const e=window.getComputedStyle(t);return(["auto","scroll"].includes(e.overflowY)||"SELECT"===t.tagName)&&t.scrollHeight>t.clientHeight||["auto","scroll"].includes(e.overflowX)&&t.scrollWidth>t.clientWidth},shouldScroll(t,e){if(t.hasAttribute("data-app"))return!1;const i=e.shiftKey||e.deltaX?"x":"y",s="y"===i?e.deltaY:e.deltaX||e.deltaY;let n,r;"y"===i?(n=0===t.scrollTop,r=t.scrollTop+t.clientHeight===t.scrollHeight):(n=0===t.scrollLeft,r=t.scrollLeft+t.clientWidth===t.scrollWidth);const a=s<0,o=s>0;return!(n||!a)||(!(r||!o)||!(!n&&!r)&&this.shouldScroll(t.parentNode,e))},isInside(t,e){return t===e||null!==t&&t!==document.body&&this.isInside(t.parentNode,e)},checkPath(t){const e=K(t);if("keydown"===t.type&&e[0]===document.body){const e=this.$refs.dialog,i=window.getSelection().anchorNode;return!(e&&this.hasScrollbar(e)&&this.isInside(i,e))||!this.shouldScroll(e,t)}for(let i=0;i<e.length;i++){const s=e[i];if(s===document)return!0;if(s===document.documentElement)return!0;if(s===this.$refs.content)return!0;if(this.hasScrollbar(s))return!this.shouldScroll(s,t)}return!0},hideScroll(){this.$vuetify.breakpoint.smAndDown?document.documentElement.classList.add("overflow-y-hidden"):(b(window,"wheel",this.scrollListener,{passive:!1}),window.addEventListener("keydown",this.scrollListener))},showScroll(){document.documentElement.classList.remove("overflow-y-hidden"),window.removeEventListener("wheel",this.scrollListener),window.removeEventListener("keydown",this.scrollListener)}}});const ul=ke(Mi,ji,hl,Ui,Vi,Pi);var dl=ul.extend({name:"v-dialog",directives:{ClickOutside:is},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:[String,Number],noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:[String,Number]},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[("v-dialog "+this.contentClass).trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null==(e=this.previousActiveElement)||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&fe("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){"undefined"!==typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):hl.options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$nextTick(()=>{var t,e;null!=(t=this.$refs.dialog)&&t.contains(document.activeElement)||(this.previousActiveElement=document.activeElement,null==(e=this.$refs.dialog)||e.focus());this.bind()})})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===T.esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&this.$refs.dialog&&![document,this.$refs.dialog].includes(e)&&!this.$refs.dialog.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(t=>t.contains(e))){const t=this.$refs.dialog.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),e=[...t].find(t=>!t.hasAttribute("disabled"));e&&e.focus()}},genContent(){return this.showLazyContent(()=>[this.$createElement(Ti,{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"dialog","aria-modal":this.hideOverlay?void 0:"true",...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])])},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,attrs:{tabindex:this.isActive?0:void 0},ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(t.style={...t.style,maxWidth:L(this.maxWidth),width:L(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},[this.genActivator(),this.genContent()])}}),pl=(i("bd0c"),na.extend({name:"v-main",props:{tag:{type:String,default:"main"}},computed:{styles(){const{bar:t,top:e,right:i,footer:s,insetFooter:n,bottom:r,left:a}=this.$vuetify.application;return{paddingTop:e+t+"px",paddingRight:i+"px",paddingBottom:s+n+r+"px",paddingLeft:a+"px"}}},render(t){const e={staticClass:"v-main",style:this.styles,ref:"main"};return t(this.tag,e,[t("div",{staticClass:"v-main__wrap"},this.$slots.default)])}})),ml=c.a.extend({name:"farm-prompt-user",components:{DialogHeader:_a,DialogFooter:Ta,PromptUserToConfirm:al,VDialog:dl,VMain:pl},props:{value:{required:!0},title:{required:!0,type:String},subtitle:{required:!0,type:String},confirmColor:{type:String,default:"secondary"},confirmLabel:{type:String,default:"Confirmar"},match:{required:!0,type:String}},data(){return{canConfirm:!1}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}}},methods:{close(){this.inputVal=!1},confirm(){this.$emit("onConfirm"),this.inputVal=!1}}}),fl=ml,gl=Ee(fl,ol,ll,!1,null,null,null),vl=gl.exports,bl=vl,yl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({attrs:{icon:"",title:"Abrir opções"}},"farm-btn",s,!1),i),[e("i",{staticClass:"farm-btn__icon mdi mdi-dots-horizontal"})])]}}])},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.items,(function(i){return e("v-list-item",{key:i.label,attrs:{title:i.label},on:{click:function(e){return t.onClick(i.handler)}}},[e("v-list-item-content",[e("v-list-item-title",[i.icon?e("v-icon",{staticClass:"mb-1",attrs:{color:i.icon.color||"secondary"}},[t._v("mdi-"+t._s(i.icon.type))]):t._e(),t._v(" "+t._s(i.label)+" ")],1)],1)],1)})),1)],1)},xl=[],$l=c.a.extend({name:"farm-context-menu",components:{VIcon:Ae,VMenu:ls,VList:$s,VListItem:gs,VListItemContent:Ts,VListItemTitle:Os,"farm-btn":ar},props:{items:{type:Array,required:!0}},methods:{onClick(t){void 0!==t&&this.$emit(t)}}}),Cl=$l,Sl=(i("f261"),Ee(Cl,yl,xl,!1,null,"6af155bc",null)),_l=Sl.exports,wl=_l,kl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"icon-box"},[e("div",{staticClass:"icon"},[e("v-icon",{attrs:{color:"secondary"}},[t._v(t._s(t.icon))])],1)])},Il=[],Ll=c.a.extend({name:"farm-icon-box",components:{VIcon:Je},props:{icon:{type:String,require:!0}}}),Bl=Ll,Al=(i("fed6"),Ee(Bl,kl,Il,!1,null,"02e53181",null)),Tl=Al.exports,Ol=Tl,El=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:{"card-context":!0,"height-full":this.full,"card-context--outlined":this.outlined}},[t.isSuccess&&t.title?e("div",{staticClass:"card-context-header"},[t.icon?e("IconBox",{attrs:{icon:t.icon}}):t._e(),e("div",{staticClass:"card-context-content"},[e("p",{class:{"card-context-title":!0,"card-context-content--bold":t.bold}},[t._v(" "+t._s(t.title)+" ")])])],1):t._e(),t.isSuccess?e("div",{staticClass:"card-context-body"},[t._t("default")],2):t._e(),t.isLoading?e("div",{staticClass:"card-context-loading-or-error"},[e("Loader",{attrs:{size:t.isLargeLoading}})],1):t._e(),t.isError?e("div",{staticClass:"card-context-loading-or-error"},[e("AlertReload",{attrs:{label:t.errorLabel},on:{onClick:function(e){return t.$emit("onLoad")}}})],1):t._e()])},Pl=[],Dl=c.a.extend({name:"farm-card-context",components:{IconBox:Ol,AlertReload:ur,Loader:Pr},props:{title:{type:String,require:!0},bold:{type:Boolean,default:!1},icon:{type:String,default:null},isLoading:{type:Boolean,default:!1},largeLoading:{type:Boolean,default:!1},isError:{type:Boolean,default:!1},errorLabel:{type:String,default:"Ocorreu um erro"},full:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},computed:{isSuccess(){return!this.isLoading&&!this.isError},isLargeLoading(){return this.largeLoading?"normal":"small"}}}),Ml=Dl,Vl=(i("426a"),Ee(Ml,El,Pl,!1,null,"e756cd08",null)),Fl=Vl.exports,Nl=Fl,zl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"collapsible"},[e("div",{staticClass:"collapsible__header",on:{click:function(e){return t.onToggleCollapsible(t.status)}}},[e("div",{staticClass:"collapsible__content-title"},[""!==t.icon?e("div",{staticClass:"collapsible__icon collapsible__icon--main"},[e("farm-icon",{attrs:{color:"secondary",size:"1.625rem"}},[t._v(" "+t._s(t.icon)+" ")])],1):t._e(),e("h3",{staticClass:"collapsible__title"},[t._v(" "+t._s(t.title)+" ")])]),e("div",{staticClass:"collapsible__icon collapsible__icon--arrow"},[e("farm-icon",{attrs:{size:"1.625rem",color:"primary"}},[t._v(" "+t._s(t.arrowIcon)+" ")])],1)]),e("transition",{attrs:{name:"fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.status,expression:"status"}],staticClass:"collapsible__body"},[t._t("default")],2)])],1)},Rl=[],Hl=c.a.extend({name:"farm-collapsible",components:{"farm-icon":$r},props:{title:{type:String,required:!0},icon:{type:String,default:""},open:{type:Boolean,default:!1}},data(){return{status:this.$props.open}},computed:{arrowIcon(){return this.status?"menu-up":"menu-down"}},methods:{onToggleCollapsible(t){this.status=!t}}}),Wl=Hl,jl=(i("ac99"),Ee(Wl,zl,Rl,!1,null,"85ae76ca",null)),Yl=jl.exports,ql=Yl,Ul=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",t._g(t._b({attrs:{color:"error"}},"farm-btn",t.$attrs,!1),t.$listeners),[t.icon?e("i",{class:{mdi:!0,[t.iconPath]:!0,"mr-3":!0}}):t._e(),t._t("default")],2)},Zl=[],Xl=c.a.extend({name:"farm-btn-danger",components:{"farm-btn":ar},inheritAttrs:!0,props:{icon:{type:Boolean,default:!1},customIcon:{type:String,default:""}},computed:{iconPath(){return this.customIcon?"mdi-"+this.customIcon:"mdi-trash-can-outline"}}}),Kl=Xl,Gl=Ee(Kl,Ul,Zl,!1,null,null,null),Ql=Gl.exports,Jl=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",t._g(t._b({attrs:{color:"secondary"}},"farm-btn",t.$attrs,!1),t.$listeners),[t.icon?e("i",{class:{mdi:!0,[t.iconPath]:!0,"mr-3":!0}}):t._e(),t._t("default")],2)},tc=[],ec=c.a.extend({name:"farm-btn-confirm",components:{"farm-btn":ar},inheritAttrs:!0,props:{icon:{type:Boolean,default:!1},customIcon:{type:String,default:""}},computed:{iconPath(){return this.customIcon?"mdi-"+this.customIcon:"mdi-check"}}}),ic=ec,sc=(i("7a5c"),Ee(ic,Jl,tc,!1,null,"7abf8541",null)),nc=sc.exports,rc=function(){var t=this,e=t._self._c;t._self._setupProxy;return 0==t.optionsList.length?e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{dense:"",outlined:"",title:"Exportar",disabled:t.disabled},on:{click:t.onClick}},[e("i",{class:{"mr-2":!0,"mdi-file-export-outline":!0,mdi:!0}}),t._v(" Exportar ")]):e("v-menu",{attrs:{"content-class":"elevation-1","offset-y":!0,rounded:"b t-0"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({staticClass:"farm-btn--responsive",attrs:{dense:"",outlined:"",title:"Exportar",disabled:t.disabled},on:{onClick:function(e){t.togglePopover=!0}}},"farm-btn",s,!1),i),[t._v(" Exportar "),e("i",{class:{"ml-2":!0,"mr-0":!0,mdi:!0,"mdi-chevron-up":t.togglePopover,"mdi-chevron-down":!t.togglePopover}})])]}}]),model:{value:t.togglePopover,callback:function(e){t.togglePopover=e},expression:"togglePopover"}},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.optionsList,(function(i){return e("v-list-item",{key:i.key,attrs:{link:"",title:i.label},on:{click:function(e){return t.onClick(i.key)}}},[e("v-list-item-content",[e("v-list-item-title",{domProps:{textContent:t._s(i.label)}})],1)],1)})),1)],1)},ac=[],oc=c.a.extend({name:"farm-btn-export",props:{optionsList:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1}},data(){return{togglePopover:!1}},components:{VList:$s,VListItem:gs,VMenu:cs,VListItemContent:Ts,VListItemTitle:Os,"farm-btn":ar},methods:{onClick(t){this.$emit("onClick",t)}}}),lc=oc,cc=(i("b157"),Ee(lc,rc,ac,!1,null,"555f8fe8",null)),hc=cc.exports,uc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive farm-btn--import",attrs:{dense:"",outlined:"",title:"Importar"},on:{click:t.onClick}},[e("i",{staticClass:"mdi mdi-upload"}),t._v(" "+t._s(t.label)+" ")])},dc=[],pc=c.a.extend({name:"farm-btn-import",components:{"farm-btn":ar},props:{label:{type:String,default:"Importar"}},methods:{onClick(){this.$emit("onClick")}}}),mc=pc,fc=(i("150b"),Ee(mc,uc,dc,!1,null,"02e33a57",null)),gc=fc.exports,vc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive",class:{"v-btn_icon--prepend":t.prepend,"v-btn_icon--apppend":!t.prepend},attrs:{dense:"",color:t.color,outlined:!t.open,title:t.label},on:{click:t.onClick}},[t.prepend?e("v-icon",[t._v(t._s("mdi-chevron-"+(t.open?"up":"down")))]):t._e(),t._v(" "+t._s(t.label)+" "),t.prepend?t._e():e("v-icon",{staticClass:"ml-3 mr-0"},[t._v(t._s("mdi-chevron-"+(t.open?"up":"down")))])],1)},bc=[],yc=c.a.extend({name:"farm-btn-toggle",components:{VIcon:Je,"farm-btn":ar},data:()=>({open:!1}),props:{label:{type:String,default:""},color:{type:String,default:"secondary"},pressed:{type:Boolean,default:!1},position:{type:String,default:"left"}},methods:{onClick(){this.open=!this.open}},watch:{open(t){this.$emit("onChange",t)}},created(){this.open=this.pressed},computed:{prepend(){return"left"===this.position}}}),xc=yc,$c=Ee(xc,vc,bc,!1,null,null,null),Cc=$c.exports,Sc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("farm-btn",{staticClass:"farm-btn--responsive",attrs:{dense:"",color:"error",title:t.label,disabled:t.disabled},on:{click:t.onClick}},[e("v-icon",[t._v("mdi-trash-can-outline")]),t._v(" "+t._s(t.label)+" ")],1)},_c=[],wc=c.a.extend({name:"farm-btn-remove",props:{label:{type:String,default:"Remover"},disabled:{type:Boolean,default:!1}},components:{VIcon:Je,"farm-btn":ar},methods:{onClick(){this.$emit("onClick")}}}),kc=wc,Ic=(i("ab93"),Ee(kc,Sc,_c,!1,null,"32299534",null)),Lc=Ic.exports,Bc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-menu",{attrs:{"content-class":"elevation-1","offset-y":!0,rounded:"b t-0"},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:s}){return[e("farm-btn",t._g(t._b({staticClass:"farm-btn--responsive farm-btn--import",attrs:{dense:"",outlined:"",title:"Importar"},on:{onClick:function(e){t.togglePopover=!0}}},"farm-btn",s,!1),i),[t._v(" Importar "),e("i",{class:{"ml-2":!0,"mr-0":!0,mdi:!0,"mdi-chevron-up":t.togglePopover,"mdi-chevron-down":!t.togglePopover}})])]}}]),model:{value:t.togglePopover,callback:function(e){t.togglePopover=e},expression:"togglePopover"}},[e("v-list",{staticClass:"pa-0",attrs:{dense:""}},t._l(t.optionsList,(function(i){return e("v-list-item",{key:i.listenerKey,attrs:{link:"",title:i.title},on:{click:function(e){return t.$emit("onClick",i.listenerKey)}}},[e("v-list-item-content",[e("v-list-item-title",[t._v(t._s(i.title))])],1)],1)})),1)],1)},Ac=[],Tc=c.a.extend({name:"farm-btn-multipleimport",components:{VList:$s,VListItem:gs,VMenu:cs,VListItemContent:Ts,VListItemTitle:Os,"farm-btn":ar},props:{optionsList:{type:Array,default:()=>[]}},data(){return{togglePopover:!1}}}),Oc=Tc,Ec=(i("a140"),Ee(Oc,Bc,Ac,!1,null,"16d93a6a",null)),Pc=Ec.exports,Dc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imgSrc}})},Mc=[],Vc=c.a.extend({name:"farm-imglogo-product",inheritAttrs:!0,props:{id:{required:!0},variation:{type:String,default:"full"}},computed:{imgSrc(){return`/public/logos/products/${this.id}/${this.variation}.svg`}}}),Fc=Vc,Nc=Ee(Fc,Dc,Mc,!1,null,null,null),zc=Nc.exports,Rc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imgSrc}})},Hc=[],Wc=c.a.extend({name:"farm-imglogo-originator",inheritAttrs:!0,props:{id:{required:!0},variation:{type:String,default:"full"}},computed:{imgSrc(){return`/public/logos/originadores/${this.id}/${this.variation}.svg`}}}),jc=Wc,Yc=Ee(jc,Rc,Hc,!1,null,null,null),qc=Yc.exports,Uc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"ml-6 mr-3 d-flex align-center"},[t._v(" Total de linhas selecionadas: "+t._s(t.length)+" "),t.length>0?e("farm-btn",{staticClass:"ml-3",attrs:{color:"error",small:"",dense:""},on:{click:t.reset}},[e("v-icon",{attrs:{small:""}},[t._v(" mdi-trash-can ")]),t._v(" Desmarcar ")],1):t._e()],1)},Zc=[],Xc=c.a.extend({name:"farm-tablerowselection",components:{VIcon:Je,"farm-btn":ar},props:{length:{default:0,type:Number}},methods:{reset(){this.$emit("onReset")}}}),Kc=Xc,Gc=(i("121f"),Ee(Kc,Uc,Zc,!1,null,"6592acd8",null)),Qc=Gc.exports,Jc=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"align-center"},[0===t.index?e("span",{staticClass:"mr-1 label"},[t._v(t._s(t.item[t.labelKey]))]):t._e(),1===t.index?e("span",{staticClass:"label"},[t._v(" (+"+t._s(t.itemsLength-1)+" "+t._s(t.itemsLength>2?"outros":"outro")+" ) ")]):t._e()])},th=[],eh=c.a.extend({name:"farm-multiple-select-shortener",props:{labelKey:{type:String,default:"label"},item:{type:Object},index:{type:Number},itemsLength:{type:Number}}}),ih=eh,sh=(i("d5b1"),Ee(ih,Jc,th,!1,null,"31e8b3ae",null)),nh=sh.exports,rh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-col",{staticClass:"v-col-fieldset-default",attrs:{cols:"12",sm:"12",md:t.config.md?t.config.md:2}},[e("div",{staticClass:"v-text-field"},[e("label",{attrs:{for:t.inputId}},[t._v(" "+t._s(t.label)+" "),t.config.required?e("span",{staticClass:"required"},[t._v("*")]):t._e()]),e("v-text-field",{attrs:{"append-icon":"mdi-magnify ",color:"secondary",outlined:"",dense:"",readonly:"",id:t.inputId,value:t.selectedValueText},on:{keyup:t.clearTextField,click:t.openModal}})],1),e("v-dialog",{attrs:{"content-class":"modal-default modal-default-small"},model:{value:t.showModal,callback:function(e){t.showModal=e},expression:"showModal"}},[e("DialogHeader",{staticClass:"dialog-header",attrs:{title:t.modalTitle},on:{onClose:t.closeModal}}),e("v-main",{staticClass:"mt-9"},[t.isLoading?e("Loader",{staticClass:"text-center mb-2"}):t._e(),t.isLoading?t._e():e("fieldset",{staticClass:"fieldset-default mx-4 mb-3"},[e("label",{attrs:{for:"searchInput"}},[t._v(" "+t._s(t.label)+" ")]),e("v-text-field",{attrs:{color:"secondary",id:"searchInput",outlined:"",dense:"","hide-details":"",placeholder:t.placeholder},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1),t.isLoading?t._e():e("v-data-table",{staticClass:"v-data-table__clickable v-data-table__select-modal",attrs:{id:"inputModalOptionsTable","hide-default-footer":"","hide-default-header":"",items:t.items,headers:t.headers,options:t.pagination,search:t.searchValue,"custom-filter":t.customFilter},on:{"update:options":function(e){t.pagination=e},"click:row":t.handleClick,pagination:t.handlePagination},scopedSlots:t._u([{key:"item.label",fn:function({item:i}){return[e("td",{attrs:{title:t.getItemLabel(i),"aria-role":"button"}},[t._v(" "+t._s(t.getItemLabel(i))+" ")])]}},{key:"footer",fn:function(){return[e("DataTablePaginator",{staticClass:"my-6",attrs:{hidePerPageOptions:"",initialLimitPerPage:t.pagination.itemsPerPage,page:t.pagination.page,totalPages:t.pagination.pages},on:{onChangePage:t.onChangePage}})]},proxy:!0}],null,!0)},[e("template",{slot:"no-data"},[e("DataTableEmptyWrapper")],1),e("template",{slot:"no-results"},[e("DataTableEmptyWrapper")],1)],2)],1),e("DialogFooter",{attrs:{hasConfirm:!1},on:{onClose:t.closeModal}})],1)],1)},ah=[],oh=sn,lh=(i("91f4"),c.a.extend({name:"v-data",inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},options:{type:Object,default:()=>({})},sortBy:{type:[String,Array]},sortDesc:{type:[Boolean,Array]},customSort:{type:Function,default:N},mustSort:Boolean,multiSort:Boolean,page:{type:Number,default:1},itemsPerPage:{type:Number,default:10},groupBy:{type:[String,Array],default:()=>[]},groupDesc:{type:[Boolean,Array],default:()=>[]},customGroup:{type:Function,default:V},locale:{type:String,default:"en-US"},disableSort:Boolean,disablePagination:Boolean,disableFiltering:Boolean,search:String,customFilter:{type:Function,default:R},serverItemsLength:{type:Number,default:-1}},data(){let t={page:this.page,itemsPerPage:this.itemsPerPage,sortBy:F(this.sortBy),sortDesc:F(this.sortDesc),groupBy:F(this.groupBy),groupDesc:F(this.groupDesc),mustSort:this.mustSort,multiSort:this.multiSort};this.options&&(t=Object.assign(t,this.options));const{sortBy:e,sortDesc:i,groupBy:s,groupDesc:n}=t,r=e.length-i.length,a=s.length-n.length;return r>0&&t.sortDesc.push(...X(r,!1)),a>0&&t.groupDesc.push(...X(a,!1)),{internalOptions:t}},computed:{itemsLength(){return this.serverItemsLength>=0?this.serverItemsLength:this.filteredItems.length},pageCount(){return this.internalOptions.itemsPerPage<=0?1:Math.ceil(this.itemsLength/this.internalOptions.itemsPerPage)},pageStart(){return-1!==this.internalOptions.itemsPerPage&&this.items.length?(this.internalOptions.page-1)*this.internalOptions.itemsPerPage:0},pageStop(){return-1===this.internalOptions.itemsPerPage?this.itemsLength:this.items.length?Math.min(this.itemsLength,this.internalOptions.page*this.internalOptions.itemsPerPage):0},isGrouped(){return!!this.internalOptions.groupBy.length},pagination(){return{page:this.internalOptions.page,itemsPerPage:this.internalOptions.itemsPerPage,pageStart:this.pageStart,pageStop:this.pageStop,pageCount:this.pageCount,itemsLength:this.itemsLength}},filteredItems(){let t=this.items.slice();return!this.disableFiltering&&this.serverItemsLength<=0&&(t=this.customFilter(t,this.search)),t},computedItems(){let t=this.filteredItems.slice();return(!this.disableSort||this.internalOptions.groupBy.length)&&this.serverItemsLength<=0&&(t=this.sortItems(t)),!this.disablePagination&&this.serverItemsLength<=0&&(t=this.paginateItems(t)),t},groupedItems(){return this.isGrouped?this.groupItems(this.computedItems):null},scopedProps(){return{sort:this.sort,sortArray:this.sortArray,group:this.group,items:this.computedItems,options:this.internalOptions,updateOptions:this.updateOptions,pagination:this.pagination,groupedItems:this.groupedItems,originalItemsLength:this.items.length}},computedOptions(){return{...this.options}}},watch:{computedOptions:{handler(t,e){x(t,e)||this.updateOptions(t)},deep:!0,immediate:!0},internalOptions:{handler(t,e){x(t,e)||this.$emit("update:options",t)},deep:!0,immediate:!0},page(t){this.updateOptions({page:t})},"internalOptions.page"(t){this.$emit("update:page",t)},itemsPerPage(t){this.updateOptions({itemsPerPage:t})},"internalOptions.itemsPerPage"(t){this.$emit("update:items-per-page",t)},sortBy(t){this.updateOptions({sortBy:F(t)})},"internalOptions.sortBy"(t,e){!x(t,e)&&this.$emit("update:sort-by",Array.isArray(this.sortBy)?t:t[0])},sortDesc(t){this.updateOptions({sortDesc:F(t)})},"internalOptions.sortDesc"(t,e){!x(t,e)&&this.$emit("update:sort-desc",Array.isArray(this.sortDesc)?t:t[0])},groupBy(t){this.updateOptions({groupBy:F(t)})},"internalOptions.groupBy"(t,e){!x(t,e)&&this.$emit("update:group-by",Array.isArray(this.groupBy)?t:t[0])},groupDesc(t){this.updateOptions({groupDesc:F(t)})},"internalOptions.groupDesc"(t,e){!x(t,e)&&this.$emit("update:group-desc",Array.isArray(this.groupDesc)?t:t[0])},multiSort(t){this.updateOptions({multiSort:t})},"internalOptions.multiSort"(t){this.$emit("update:multi-sort",t)},mustSort(t){this.updateOptions({mustSort:t})},"internalOptions.mustSort"(t){this.$emit("update:must-sort",t)},pageCount:{handler(t){this.$emit("page-count",t)},immediate:!0},computedItems:{handler(t){this.$emit("current-items",t)},immediate:!0},pagination:{handler(t,e){x(t,e)||this.$emit("pagination",this.pagination)},immediate:!0}},methods:{toggle(t,e,i,s,n,r){let a=e.slice(),o=i.slice();const l=a.findIndex(e=>e===t);return l<0?(r||(a=[],o=[]),a.push(t),o.push(!1)):l>=0&&!o[l]?o[l]=!0:n?o[l]=!1:(a.splice(l,1),o.splice(l,1)),x(a,e)&&x(o,i)||(s=1),{by:a,desc:o,page:s}},group(t){const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.groupBy,this.internalOptions.groupDesc,this.internalOptions.page,!0,!1);this.updateOptions({groupBy:e,groupDesc:i,page:s})},sort(t){if(Array.isArray(t))return this.sortArray(t);const{by:e,desc:i,page:s}=this.toggle(t,this.internalOptions.sortBy,this.internalOptions.sortDesc,this.internalOptions.page,this.internalOptions.mustSort,this.internalOptions.multiSort);this.updateOptions({sortBy:e,sortDesc:i,page:s})},sortArray(t){const e=t.map(t=>{const e=this.internalOptions.sortBy.findIndex(e=>e===t);return e>-1&&this.internalOptions.sortDesc[e]});this.updateOptions({sortBy:t,sortDesc:e})},updateOptions(t){this.internalOptions={...this.internalOptions,...t,page:this.serverItemsLength<0?Math.max(1,Math.min(t.page||this.internalOptions.page,this.pageCount)):t.page||this.internalOptions.page}},sortItems(t){let e=[],i=[];return this.disableSort||(e=this.internalOptions.sortBy,i=this.internalOptions.sortDesc),this.internalOptions.groupBy.length&&(e=[...this.internalOptions.groupBy,...e],i=[...this.internalOptions.groupDesc,...i]),this.customSort(t,e,i,this.locale)},groupItems(t){return this.customGroup(t,this.internalOptions.groupBy,this.internalOptions.groupDesc)},paginateItems(t){return-1===this.serverItemsLength&&t.length<=this.pageStart&&(this.internalOptions.page=Math.max(1,Math.ceil(t.length/this.internalOptions.itemsPerPage))||1),t.slice(this.pageStart,this.pageStop)}},render(){return this.$scopedSlots.default&&this.$scopedSlots.default(this.scopedProps)}})),ch=(i("495d"),c.a.extend({name:"v-data-footer",props:{options:{type:Object,required:!0},pagination:{type:Object,required:!0},itemsPerPageOptions:{type:Array,default:()=>[5,10,15,-1]},prevIcon:{type:String,default:"$prev"},nextIcon:{type:String,default:"$next"},firstIcon:{type:String,default:"$first"},lastIcon:{type:String,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},itemsPerPageAllText:{type:String,default:"$vuetify.dataFooter.itemsPerPageAll"},showFirstLastPage:Boolean,showCurrentPage:Boolean,disablePagination:Boolean,disableItemsPerPage:Boolean,pageText:{type:String,default:"$vuetify.dataFooter.pageText"}},computed:{disableNextPageIcon(){return this.options.itemsPerPage<=0||this.options.page*this.options.itemsPerPage>=this.pagination.itemsLength||this.pagination.pageStop<0},computedDataItemsPerPageOptions(){return this.itemsPerPageOptions.map(t=>"object"===typeof t?t:this.genDataItemsPerPageOption(t))}},methods:{updateOptions(t){this.$emit("update:options",Object.assign({},this.options,t))},onFirstPage(){this.updateOptions({page:1})},onPreviousPage(){this.updateOptions({page:this.options.page-1})},onNextPage(){this.updateOptions({page:this.options.page+1})},onLastPage(){this.updateOptions({page:this.pagination.pageCount})},onChangeItemsPerPage(t){this.updateOptions({itemsPerPage:t,page:1})},genDataItemsPerPageOption(t){return{text:-1===t?this.$vuetify.lang.t(this.itemsPerPageAllText):String(t),value:t}},genItemsPerPageSelect(){let t=this.options.itemsPerPage;const e=this.computedDataItemsPerPageOptions;return e.length<=1?null:(e.find(e=>e.value===t)||(t=e[0]),this.$createElement("div",{staticClass:"v-data-footer__select"},[this.$vuetify.lang.t(this.itemsPerPageText),this.$createElement(on,{attrs:{"aria-label":this.$vuetify.lang.t(this.itemsPerPageText)},props:{disabled:this.disableItemsPerPage,items:e,value:t,hideDetails:!0,auto:!0,minWidth:"75px"},on:{input:this.onChangeItemsPerPage}})]))},genPaginationInfo(){let t=["–"];const e=this.pagination.itemsLength;let i=this.pagination.pageStart,s=this.pagination.pageStop;return this.pagination.itemsLength&&this.pagination.itemsPerPage?(i=this.pagination.pageStart+1,s=e<this.pagination.pageStop||this.pagination.pageStop<0?e:this.pagination.pageStop,t=this.$scopedSlots["page-text"]?[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]:[this.$vuetify.lang.t(this.pageText,i,s,e)]):this.$scopedSlots["page-text"]&&(t=[this.$scopedSlots["page-text"]({pageStart:i,pageStop:s,itemsLength:e})]),this.$createElement("div",{class:"v-data-footer__pagination"},t)},genIcon(t,e,i,s){return this.$createElement(Ln,{props:{disabled:e||this.disablePagination,icon:!0,text:!0},on:{click:t},attrs:{"aria-label":i}},[this.$createElement(Je,s)])},genIcons(){const t=[],e=[];return t.push(this.genIcon(this.onPreviousPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.prevPage"),this.$vuetify.rtl?this.nextIcon:this.prevIcon)),e.push(this.genIcon(this.onNextPage,this.disableNextPageIcon,this.$vuetify.lang.t("$vuetify.dataFooter.nextPage"),this.$vuetify.rtl?this.prevIcon:this.nextIcon)),this.showFirstLastPage&&(t.unshift(this.genIcon(this.onFirstPage,1===this.options.page,this.$vuetify.lang.t("$vuetify.dataFooter.firstPage"),this.$vuetify.rtl?this.lastIcon:this.firstIcon)),e.push(this.genIcon(this.onLastPage,this.options.page>=this.pagination.pageCount||-1===this.options.itemsPerPage,this.$vuetify.lang.t("$vuetify.dataFooter.lastPage"),this.$vuetify.rtl?this.firstIcon:this.lastIcon))),[this.$createElement("div",{staticClass:"v-data-footer__icons-before"},t),this.showCurrentPage&&this.$createElement("span",[this.options.page.toString()]),this.$createElement("div",{staticClass:"v-data-footer__icons-after"},e)]}},render(){return this.$createElement("div",{staticClass:"v-data-footer"},[Y(this,"prepend"),this.genItemsPerPageSelect(),this.genPaginationInfo(),this.genIcons()])}})),hh=ke(jr,_e).extend({name:"v-data-iterator",props:{...lh.options.props,itemKey:{type:String,default:"id"},value:{type:Array,default:()=>[]},singleSelect:Boolean,expanded:{type:Array,default:()=>[]},mobileBreakpoint:{...jr.options.props.mobileBreakpoint,default:600},singleExpand:Boolean,loading:[Boolean,String],noResultsText:{type:String,default:"$vuetify.dataIterator.noResultsText"},noDataText:{type:String,default:"$vuetify.noDataText"},loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideDefaultFooter:Boolean,footerProps:Object,selectableKey:{type:String,default:"isSelectable"}},data:()=>({selection:{},expansion:{},internalCurrentItems:[],shiftKeyDown:!1,lastEntry:-1}),computed:{everyItem(){return!!this.selectableItems.length&&this.selectableItems.every(t=>this.isSelected(t))},someItems(){return this.selectableItems.some(t=>this.isSelected(t))},sanitizedFooterProps(){return U(this.footerProps)},selectableItems(){return this.internalCurrentItems.filter(t=>this.isSelectable(t))}},watch:{value:{handler(t){this.selection=t.reduce((t,e)=>(t[$(e,this.itemKey)]=e,t),{})},immediate:!0},selection(t,e){x(Object.keys(t),Object.keys(e))||this.$emit("input",Object.values(t))},expanded:{handler(t){this.expansion=t.reduce((t,e)=>(t[$(e,this.itemKey)]=!0,t),{})},immediate:!0},expansion(t,e){if(x(t,e))return;const i=Object.keys(t).filter(e=>t[e]),s=i.length?this.items.filter(t=>i.includes(String($(t,this.itemKey)))):[];this.$emit("update:expanded",s)}},created(){const t=[["disable-initial-sort","sort-by"],["filter","custom-filter"],["pagination","options"],["total-items","server-items-length"],["hide-actions","hide-default-footer"],["rows-per-page-items","footer-props.items-per-page-options"],["rows-per-page-text","footer-props.items-per-page-text"],["prev-icon","footer-props.prev-icon"],["next-icon","footer-props.next-icon"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&me(t,e,this)});const e=["expand","content-class","content-props","content-tag"];e.forEach(t=>{this.$attrs.hasOwnProperty(t)&&fe(t)})},mounted(){window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp)},beforeDestroy(){window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp)},methods:{onKeyDown(t){t.keyCode===T.shift&&(this.shiftKeyDown=!0)},onKeyUp(t){t.keyCode===T.shift&&(this.shiftKeyDown=!1)},toggleSelectAll(t){const e=Object.assign({},this.selection);for(let i=0;i<this.selectableItems.length;i++){const s=this.selectableItems[i];if(!this.isSelectable(s))continue;const n=$(s,this.itemKey);t?e[n]=s:delete e[n]}this.selection=e,this.$emit("toggle-select-all",{items:this.internalCurrentItems,value:t})},isSelectable(t){return!1!==$(t,this.selectableKey)},isSelected(t){return!!this.selection[$(t,this.itemKey)]||!1},select(t,e=!0,i=!0){if(!this.isSelectable(t))return;const s=this.singleSelect?{}:Object.assign({},this.selection),n=$(t,this.itemKey);e?s[n]=t:delete s[n];const r=this.selectableItems.findIndex(t=>$(t,this.itemKey)===n);if(-1===this.lastEntry)this.lastEntry=r;else if(this.shiftKeyDown&&!this.singleSelect&&i){const t=$(this.selectableItems[this.lastEntry],this.itemKey),e=Object.keys(this.selection).includes(String(t));this.multipleSelect(e,i,s,r)}if(this.lastEntry=r,this.singleSelect&&i){const t=Object.keys(this.selection),e=t.length&&$(this.selection[t[0]],this.itemKey);e&&e!==n&&this.$emit("item-selected",{item:this.selection[e],value:!1})}this.selection=s,i&&this.$emit("item-selected",{item:t,value:e})},multipleSelect(t=!0,e=!0,i,s){const n=s<this.lastEntry?s:this.lastEntry,r=s<this.lastEntry?this.lastEntry:s;for(let a=n;a<=r;a++){const s=this.selectableItems[a],n=$(s,this.itemKey);t?i[n]=s:delete i[n],e&&this.$emit("item-selected",{currentItem:s,value:t})}},isExpanded(t){return this.expansion[$(t,this.itemKey)]||!1},expand(t,e=!0){const i=this.singleExpand?{}:Object.assign({},this.expansion),s=$(t,this.itemKey);e?i[s]=!0:delete i[s],this.expansion=i,this.$emit("item-expanded",{item:t,value:e})},createItemProps(t,e){return{item:t,index:e,select:e=>this.select(t,e),isSelected:this.isSelected(t),expand:e=>this.expand(t,e),isExpanded:this.isExpanded(t),isMobile:this.isMobile}},genEmptyWrapper(t){return this.$createElement("div",t)},genEmpty(t,e){if(0===t&&this.loading){const t=this.$slots.loading||this.$vuetify.lang.t(this.loadingText);return this.genEmptyWrapper(t)}if(0===t){const t=this.$slots["no-data"]||this.$vuetify.lang.t(this.noDataText);return this.genEmptyWrapper(t)}if(0===e){const t=this.$slots["no-results"]||this.$vuetify.lang.t(this.noResultsText);return this.genEmptyWrapper(t)}return null},genItems(t){const e=this.genEmpty(t.originalItemsLength,t.pagination.itemsLength);return e?[e]:this.$scopedSlots.default?this.$scopedSlots.default({...t,isSelected:this.isSelected,select:this.select,isExpanded:this.isExpanded,isMobile:this.isMobile,expand:this.expand}):this.$scopedSlots.item?t.items.map((t,e)=>this.$scopedSlots.item(this.createItemProps(t,e))):[]},genFooter(t){if(this.hideDefaultFooter)return null;const e={props:{...this.sanitizedFooterProps,options:t.options,pagination:t.pagination},on:{"update:options":e=>t.updateOptions(e)}},i=j("footer.",this.$scopedSlots);return this.$createElement(ch,{scopedSlots:i,...e})},genDefaultScopedSlot(t){const e={...t,someItems:this.someItems,everyItem:this.everyItem,toggleSelectAll:this.toggleSelectAll};return this.$createElement("div",{staticClass:"v-data-iterator"},[Y(this,"header",e,!0),this.genItems(t),this.genFooter(t),Y(this,"footer",e,!0)])}},render(){return this.$createElement(lh,{props:this.$props,on:{"update:options":(t,e)=>!x(t,e)&&this.$emit("update:options",t),"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!x(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),uh=(i("f823"),ke().extend({directives:{ripple:Ii},props:{headers:{type:Array,default:()=>[]},options:{type:Object,default:()=>({page:1,itemsPerPage:10,sortBy:[],sortDesc:[],groupBy:[],groupDesc:[],multiSort:!1,mustSort:!1})},checkboxColor:String,sortIcon:{type:String,default:"$sort"},everyItem:Boolean,someItems:Boolean,showGroupBy:Boolean,singleSelect:Boolean,disableSort:Boolean},methods:{genSelectAll(){var t;const e={props:{value:this.everyItem,indeterminate:!this.everyItem&&this.someItems,color:null!=(t=this.checkboxColor)?t:""},on:{input:t=>this.$emit("toggle-select-all",t)}};return this.$scopedSlots["data-table-select"]?this.$scopedSlots["data-table-select"](e):this.$createElement(hs,{staticClass:"v-data-table__checkbox",...e})},genSortIcon(){return this.$createElement(Je,{staticClass:"v-data-table-header__icon",props:{size:18}},[this.sortIcon])}}})),dh=ke(uh).extend({name:"v-data-table-header-mobile",props:{sortByText:{type:String,default:"$vuetify.dataTable.sortBy"}},methods:{genSortChip(t){const e=[t.item.text],i=this.options.sortBy.findIndex(e=>e===t.item.value),s=i>=0,n=this.options.sortDesc[i];return e.push(this.$createElement("div",{staticClass:"v-chip__close",class:{sortable:!0,active:s,asc:s&&!n,desc:s&&n}},[this.genSortIcon()])),this.$createElement(Ai,{staticClass:"sortable",on:{click:e=>{e.stopPropagation(),this.$emit("sort",t.item.value)}}},e)},genSortSelect(t){return this.$createElement(on,{props:{label:this.$vuetify.lang.t(this.sortByText),items:t,hideDetails:!0,multiple:this.options.multiSort,value:this.options.multiSort?this.options.sortBy:this.options.sortBy[0],menuProps:{closeOnContentClick:!0}},on:{change:t=>this.$emit("sort",t)},scopedSlots:{selection:t=>this.genSortChip(t)}})}},render(t){const e=[],i=this.headers.find(t=>"data-table-select"===t.value);i&&!this.singleSelect&&e.push(this.$createElement("div",{class:["v-data-table-header-mobile__select",...F(i.class)],attrs:{width:i.width}},[this.genSelectAll()]));const s=this.headers.filter(t=>!1!==t.sortable&&"data-table-select"!==t.value).map(t=>({text:t.text,value:t.value}));!this.disableSort&&s.length&&e.push(this.genSortSelect(s));const n=e.length?t("th",[t("div",{staticClass:"v-data-table-header-mobile__wrapper"},e)]):void 0,r=t("tr",[n]);return t("thead",{staticClass:"v-data-table-header v-data-table-header-mobile"},[r])}}),ph=ke(uh).extend({name:"v-data-table-header-desktop",methods:{genGroupByToggle(t){return this.$createElement("span",{on:{click:e=>{e.stopPropagation(),this.$emit("group",t.value)}}},["group"])},getAria(t,e){const i=t=>this.$vuetify.lang.t("$vuetify.dataTable.ariaLabel."+t);let s="none",n=[i("sortNone"),i("activateAscending")];return t?(e?(s="descending",n=[i("sortDescending"),i(this.options.mustSort?"activateAscending":"activateNone")]):(s="ascending",n=[i("sortAscending"),i("activateDescending")]),{ariaSort:s,ariaLabel:n.join(" ")}):{ariaSort:s,ariaLabel:n.join(" ")}},genHeader(t){const e={attrs:{role:"columnheader",scope:"col","aria-label":t.text||""},style:{width:L(t.width),minWidth:L(t.width)},class:["text-"+(t.align||"start"),...F(t.class),t.divider&&"v-data-table__divider"],on:{}},i=[];if("data-table-select"===t.value&&!this.singleSelect)return this.$createElement("th",e,[this.genSelectAll()]);if(i.push(this.$scopedSlots.hasOwnProperty(t.value)?this.$scopedSlots[t.value]({header:t}):this.$createElement("span",[t.text])),!this.disableSort&&(t.sortable||!t.hasOwnProperty("sortable"))){e.on.click=()=>this.$emit("sort",t.value);const s=this.options.sortBy.findIndex(e=>e===t.value),n=s>=0,r=this.options.sortDesc[s];e.class.push("sortable");const{ariaLabel:a,ariaSort:o}=this.getAria(n,r);e.attrs["aria-label"]+=`${t.text?": ":""}${a}`,e.attrs["aria-sort"]=o,n&&(e.class.push("active"),e.class.push(r?"desc":"asc")),"end"===t.align?i.unshift(this.genSortIcon()):i.push(this.genSortIcon()),this.options.multiSort&&n&&i.push(this.$createElement("span",{class:"v-data-table-header__sort-badge"},[String(s+1)]))}return this.showGroupBy&&!1!==t.groupable&&i.push(this.genGroupByToggle(t)),this.$createElement("th",e,i)}},render(){return this.$createElement("thead",{staticClass:"v-data-table-header"},[this.$createElement("tr",this.headers.map(t=>this.genHeader(t)))])}});function mh(t){if(t.model&&t.on&&t.on.input)if(Array.isArray(t.on.input)){const e=t.on.input.indexOf(t.model.callback);e>-1&&t.on.input.splice(e,1)}else delete t.on.input}function fh(t,e){const i=[];for(const s in t)t.hasOwnProperty(s)&&i.push(e("template",{slot:s},t[s]));return i}var gh=c.a.extend({name:"v-data-table-header",functional:!0,props:{...uh.options.props,mobile:Boolean},render(t,{props:e,data:i,slots:s}){mh(i);const n=fh(s(),t);return i=Re(i,{props:e}),e.mobile?t(dh,i,n):t(ph,i,n)}});function vh(t){var e;return 1!==t.length||!["td","th"].includes(null==(e=t[0])?void 0:e.tag)}var bh=c.a.extend({name:"row",functional:!0,props:{headers:Array,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),r=e.headers.map(i=>{const r=[],a=$(e.item,i.value),o=i.value,l=s.scopedSlots&&s.scopedSlots.hasOwnProperty(o)&&s.scopedSlots[o],c=n.hasOwnProperty(o)&&n[o];l?r.push(...F(l({item:e.item,isMobile:!1,header:i,index:e.index,value:a}))):c?r.push(...F(c)):r.push(null==a?a:String(a));const h="text-"+(i.align||"start");return vh(r)?t("td",{class:[h,i.cellClass,{"v-data-table__divider":i.divider}]},r):r});return t("tr",s,r)}}),yh=c.a.extend({name:"row-group",functional:!0,props:{value:{type:Boolean,default:!0},headerClass:{type:String,default:"v-row-group__header"},contentClass:String,summaryClass:{type:String,default:"v-row-group__summary"}},render(t,{slots:e,props:i}){const s=e(),n=[];return s["column.header"]?n.push(t("tr",{staticClass:i.headerClass},s["column.header"])):s["row.header"]&&n.push(...s["row.header"]),s["row.content"]&&i.value&&n.push(...s["row.content"]),s["column.summary"]?n.push(t("tr",{staticClass:i.summaryClass},s["column.summary"])):s["row.summary"]&&n.push(...s["row.summary"]),n}}),xh=(i("8b37"),ke(_e).extend({name:"v-simple-table",props:{dense:Boolean,fixedHeader:Boolean,height:[Number,String]},computed:{classes(){return{"v-data-table--dense":this.dense,"v-data-table--fixed-height":!!this.height&&!this.fixedHeader,"v-data-table--fixed-header":this.fixedHeader,"v-data-table--has-top":!!this.$slots.top,"v-data-table--has-bottom":!!this.$slots.bottom,...this.themeClasses}}},methods:{genWrapper(){return this.$slots.wrapper||this.$createElement("div",{staticClass:"v-data-table__wrapper",style:{height:L(this.height)}},[this.$createElement("table",this.$slots.default)])}},render(t){return t("div",{staticClass:"v-data-table",class:this.classes},[this.$slots.top,this.genWrapper(),this.$slots.bottom])}})),$h=c.a.extend({name:"row",functional:!0,props:{headers:Array,hideDefaultHeader:Boolean,index:Number,item:Object,rtl:Boolean},render(t,{props:e,slots:i,data:s}){const n=i(),r=e.headers.map(i=>{const r={"v-data-table__mobile-row":!0},a=[],o=$(e.item,i.value),l=i.value,c=s.scopedSlots&&s.scopedSlots.hasOwnProperty(l)&&s.scopedSlots[l],h=n.hasOwnProperty(l)&&n[l];c?a.push(c({item:e.item,isMobile:!0,header:i,index:e.index,value:o})):h?a.push(h):a.push(null==o?o:String(o));const u=[t("div",{staticClass:"v-data-table__mobile-row__cell"},a)];return"dataTableSelect"===i.value||e.hideDefaultHeader||u.unshift(t("div",{staticClass:"v-data-table__mobile-row__header"},[i.text])),t("td",{class:r},u)});return t("tr",{...s,staticClass:"v-data-table__mobile-table-row"},r)}});function Ch(t,e,i){return s=>{const n=$(t,s.value);return s.filter?s.filter(n,e,t):i(n,e,t)}}function Sh(t,e,i,s,n){return e="string"===typeof e?e.trim():null,t.filter(t=>{const r=i.every(Ch(t,e,z)),a=!e||s.some(Ch(t,e,n));return r&&a})}var _h=ke(hh,Js).extend({name:"v-data-table",directives:{ripple:Ii},props:{headers:{type:Array,default:()=>[]},showSelect:Boolean,checkboxColor:String,showExpand:Boolean,showGroupBy:Boolean,height:[Number,String],hideDefaultHeader:Boolean,caption:String,dense:Boolean,headerProps:Object,calculateWidths:Boolean,fixedHeader:Boolean,headersLength:Number,expandIcon:{type:String,default:"$expand"},customFilter:{type:Function,default:z},itemClass:{type:[String,Function],default:()=>""},loaderHeight:{type:[Number,String],default:4}},data(){return{internalGroupBy:[],openCache:{},widths:[]}},computed:{computedHeaders(){if(!this.headers)return[];const t=this.headers.filter(t=>void 0===t.value||!this.internalGroupBy.find(e=>e===t.value)),e={text:"",sortable:!1,width:"1px"};if(this.showSelect){const i=t.findIndex(t=>"data-table-select"===t.value);i<0?t.unshift({...e,value:"data-table-select"}):t.splice(i,1,{...e,...t[i]})}if(this.showExpand){const i=t.findIndex(t=>"data-table-expand"===t.value);i<0?t.unshift({...e,value:"data-table-expand"}):t.splice(i,1,{...e,...t[i]})}return t},colspanAttrs(){return this.isMobile?void 0:{colspan:this.headersLength||this.computedHeaders.length}},columnSorters(){return this.computedHeaders.reduce((t,e)=>(e.sort&&(t[e.value]=e.sort),t),{})},headersWithCustomFilters(){return this.headers.filter(t=>t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},headersWithoutCustomFilters(){return this.headers.filter(t=>!t.filter&&(!t.hasOwnProperty("filterable")||!0===t.filterable))},sanitizedHeaderProps(){return U(this.headerProps)},computedItemsPerPage(){const t=this.options&&this.options.itemsPerPage?this.options.itemsPerPage:this.itemsPerPage,e=this.sanitizedFooterProps.itemsPerPageOptions;if(e&&!e.find(e=>"number"===typeof e?e===t:e.value===t)){const t=e[0];return"object"===typeof t?t.value:t}return t}},created(){const t=[["sort-icon","header-props.sort-icon"],["hide-headers","hide-default-header"],["select-all","show-select"]];t.forEach(([t,e])=>{this.$attrs.hasOwnProperty(t)&&me(t,e,this)})},mounted(){this.calculateWidths&&(window.addEventListener("resize",this.calcWidths),this.calcWidths())},beforeDestroy(){this.calculateWidths&&window.removeEventListener("resize",this.calcWidths)},methods:{calcWidths(){this.widths=Array.from(this.$el.querySelectorAll("th")).map(t=>t.clientWidth)},customFilterWithColumns(t,e){return Sh(t,e,this.headersWithCustomFilters,this.headersWithoutCustomFilters,this.customFilter)},customSortWithHeaders(t,e,i,s){return this.customSort(t,e,i,s,this.columnSorters)},createItemProps(t,e){const i=hh.options.methods.createItemProps.call(this,t,e);return Object.assign(i,{headers:this.computedHeaders})},genCaption(t){return this.caption?[this.$createElement("caption",[this.caption])]:Y(this,"caption",t,!0)},genColgroup(t){return this.$createElement("colgroup",this.computedHeaders.map(t=>this.$createElement("col",{class:{divider:t.divider}})))},genLoading(){const t=this.$createElement("th",{staticClass:"column",attrs:this.colspanAttrs},[this.genProgress()]),e=this.$createElement("tr",{staticClass:"v-data-table__progress"},[t]);return this.$createElement("thead",[e])},genHeaders(t){const e={props:{...this.sanitizedHeaderProps,headers:this.computedHeaders,options:t.options,mobile:this.isMobile,showGroupBy:this.showGroupBy,checkboxColor:this.checkboxColor,someItems:this.someItems,everyItem:this.everyItem,singleSelect:this.singleSelect,disableSort:this.disableSort},on:{sort:t.sort,group:t.group,"toggle-select-all":this.toggleSelectAll}},i=[Y(this,"header",{...e,isMobile:this.isMobile})];if(!this.hideDefaultHeader){const t=j("header.",this.$scopedSlots);i.push(this.$createElement(gh,{...e,scopedSlots:t}))}return this.loading&&i.push(this.genLoading()),i},genEmptyWrapper(t){return this.$createElement("tr",{staticClass:"v-data-table__empty-wrapper"},[this.$createElement("td",{attrs:this.colspanAttrs},t)])},genItems(t,e){const i=this.genEmpty(e.originalItemsLength,e.pagination.itemsLength);return i?[i]:e.groupedItems?this.genGroupedRows(e.groupedItems,e):this.genRows(t,e)},genGroupedRows(t,e){return t.map(t=>(this.openCache.hasOwnProperty(t.name)||this.$set(this.openCache,t.name,!0),this.$scopedSlots.group?this.$scopedSlots.group({group:t.name,options:e.options,isMobile:this.isMobile,items:t.items,headers:this.computedHeaders}):this.genDefaultGroupedRow(t.name,t.items,e)))},genDefaultGroupedRow(t,e,i){const s=!!this.openCache[t],n=[this.$createElement("template",{slot:"row.content"},this.genRows(e,i))],r=()=>this.$set(this.openCache,t,!this.openCache[t]),a=()=>i.updateOptions({groupBy:[],groupDesc:[]});if(this.$scopedSlots["group.header"])n.unshift(this.$createElement("template",{slot:"column.header"},[this.$scopedSlots["group.header"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:r,remove:a})]));else{const e=this.$createElement(Ln,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:r}},[this.$createElement(Je,[s?"$minus":"$plus"])]),o=this.$createElement(Ln,{staticClass:"ma-0",props:{icon:!0,small:!0},on:{click:a}},[this.$createElement(Je,["$close"])]),l=this.$createElement("td",{staticClass:"text-start",attrs:this.colspanAttrs},[e,`${i.options.groupBy[0]}: ${t}`,o]);n.unshift(this.$createElement("template",{slot:"column.header"},[l]))}return this.$scopedSlots["group.summary"]&&n.push(this.$createElement("template",{slot:"column.summary"},[this.$scopedSlots["group.summary"]({group:t,groupBy:i.options.groupBy,isMobile:this.isMobile,items:e,headers:this.computedHeaders,isOpen:s,toggle:r})])),this.$createElement(yh,{key:t,props:{value:s}},n)},genRows(t,e){return this.$scopedSlots.item?this.genScopedRows(t,e):this.genDefaultRows(t,e)},genScopedRows(t,e){const i=[];for(let s=0;s<t.length;s++){const e=t[s];i.push(this.$scopedSlots.item({...this.createItemProps(e,s),isMobile:this.isMobile})),this.isExpanded(e)&&i.push(this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,index:s,item:e}))}return i},genDefaultRows(t,e){return this.$scopedSlots["expanded-item"]?t.map((t,e)=>this.genDefaultExpandedRow(t,e)):t.map((t,e)=>this.genDefaultSimpleRow(t,e))},genDefaultExpandedRow(t,e){const i=this.isExpanded(t),s={"v-data-table__expanded v-data-table__expanded__row":i},n=this.genDefaultSimpleRow(t,e,s),r=this.$createElement("tr",{staticClass:"v-data-table__expanded v-data-table__expanded__content"},[this.$scopedSlots["expanded-item"]({headers:this.computedHeaders,isMobile:this.isMobile,item:t})]);return this.$createElement(yh,{props:{value:i}},[this.$createElement("template",{slot:"row.header"},[n]),this.$createElement("template",{slot:"row.content"},[r])])},genDefaultSimpleRow(t,e,i={}){const s=j("item.",this.$scopedSlots),n=this.createItemProps(t,e);if(this.showSelect){const e=s["data-table-select"];s["data-table-select"]=e?()=>e({...n,isMobile:this.isMobile}):()=>{var e;return this.$createElement(hs,{staticClass:"v-data-table__checkbox",props:{value:n.isSelected,disabled:!this.isSelectable(t),color:null!=(e=this.checkboxColor)?e:""},on:{input:t=>n.select(t)}})}}if(this.showExpand){const t=s["data-table-expand"];s["data-table-expand"]=t?()=>t(n):()=>this.$createElement(Je,{staticClass:"v-data-table__expand-icon",class:{"v-data-table__expand-icon--active":n.isExpanded},on:{click:t=>{t.stopPropagation(),n.expand(!n.isExpanded)}}},[this.expandIcon])}return this.$createElement(this.isMobile?$h:bh,{key:$(t,this.itemKey),class:We({...i,"v-data-table__selected":n.isSelected},C(t,this.itemClass)),props:{headers:this.computedHeaders,hideDefaultHeader:this.hideDefaultHeader,index:e,item:t,rtl:this.$vuetify.rtl},scopedSlots:s,on:{click:()=>this.$emit("click:row",t,n),contextmenu:t=>this.$emit("contextmenu:row",t,n),dblclick:t=>this.$emit("dblclick:row",t,n)}})},genBody(t){const e={...t,expand:this.expand,headers:this.computedHeaders,isExpanded:this.isExpanded,isMobile:this.isMobile,isSelected:this.isSelected,select:this.select};return this.$scopedSlots.body?this.$scopedSlots.body(e):this.$createElement("tbody",[Y(this,"body.prepend",e,!0),this.genItems(t.items,t),Y(this,"body.append",e,!0)])},genFoot(t){var e,i;return null==(e=(i=this.$scopedSlots).foot)?void 0:e.call(i,t)},genFooters(t){const e={props:{options:t.options,pagination:t.pagination,itemsPerPageText:"$vuetify.dataTable.itemsPerPageText",...this.sanitizedFooterProps},on:{"update:options":e=>t.updateOptions(e)},widths:this.widths,headers:this.computedHeaders},i=[Y(this,"footer",e,!0)];return this.hideDefaultFooter||i.push(this.$createElement(ch,{...e,scopedSlots:j("footer.",this.$scopedSlots)})),i},genDefaultScopedSlot(t){const e={height:this.height,fixedHeader:this.fixedHeader,dense:this.dense};return this.$createElement(xh,{props:e,class:{"v-data-table--mobile":this.isMobile}},[this.proxySlot("top",Y(this,"top",{...t,isMobile:this.isMobile},!0)),this.genCaption(t),this.genColgroup(t),this.genHeaders(t),this.genBody(t),this.genFoot(t),this.proxySlot("bottom",this.genFooters(t))])},proxySlot(t,e){return this.$createElement("template",{slot:t},e)}},render(){return this.$createElement(lh,{props:{...this.$props,customFilter:this.customFilterWithColumns,customSort:this.customSortWithHeaders,itemsPerPage:this.computedItemsPerPage},on:{"update:options":(t,e)=>{this.internalGroupBy=t.groupBy||[],!x(t,e)&&this.$emit("update:options",t)},"update:page":t=>this.$emit("update:page",t),"update:items-per-page":t=>this.$emit("update:items-per-page",t),"update:sort-by":t=>this.$emit("update:sort-by",t),"update:sort-desc":t=>this.$emit("update:sort-desc",t),"update:group-by":t=>this.$emit("update:group-by",t),"update:group-desc":t=>this.$emit("update:group-desc",t),pagination:(t,e)=>!x(t,e)&&this.$emit("pagination",t),"current-items":t=>{this.internalCurrentItems=t,this.$emit("current-items",t)},"page-count":t=>this.$emit("page-count",t)},scopedSlots:{default:this.genDefaultScopedSlot}})}}),wh=c.a.extend({name:"farm-select-modal-options",components:{VTextField:oh,VCol:Jn,VMain:pl,VDataTable:_h,VDialog:dl,DialogHeader:_a,DialogFooter:Ta,DataTableEmptyWrapper:Me,DataTablePaginator:pn},props:{label:{type:String,required:!0},inputId:{type:String,required:!0},selectIdentifier:{type:String,default:"id"},itemLabelFormatter:{default:"name"},items:{type:Array,default:()=>[]},loadFn:{type:Function,default:()=>{}},loadingRequestStatus:{default:"IDLE"},modalTitle:{type:String,default:"Selecione um item"},config:{default:()=>({md:2,required:!1})},placeholder:{type:String,default:"Pesquise"},value:{required:!0}},computed:{inputVal:{get(){return this.value},set(t){this.$emit("input",t)}},isLoading(){return"START"===this.loadingRequestStatus},selectedValueText:{get(){return this.selectedItem?this.getItemLabel(this.selectedItem):""}},totalPages(){return void 0!==this.items?Math.ceil(this.items.length/10):0}},data(){return{selectedValue:{},showModal:!1,selectedItem:null,searchValue:"",headers:[{text:"Label",sortable:!1,value:"label",align:"left"}],pagination:{page:1,itemsPerPage:10,pages:0}}},watch:{value(t){t&&void 0!==t||(this.selectedItem=null)},items(t){this.pagination.pages=Math.ceil(t.length/10)}},mounted(){this.selectedItem={[this.itemLabelFormatter]:this.value}},methods:{handlePagination(t){1===t.page&&t.itemsLength!==this.pagination.pages&&(this.pagination.pages=Math.ceil(t.itemsLength/10))},openModal(){this.loadFn(),this.showModal=!0},closeModal(){this.showModal=!1},onChangePage(t){this.pagination.page=t},getItemLabel(t){return"function"===typeof this.itemLabelFormatter?this.itemLabelFormatter(t):t[this.itemLabelFormatter]},handleClick(t){this.inputVal=t[this.selectIdentifier],this.showModal=!1,this.selectedItem=t},customFilter(t,e,i){const s=this.getItemLabel(i);return s.toLowerCase().includes(e.toLowerCase())},clearTextField(t){"Delete"!==t.key&&"Backspace"!==t.key||(this.selectedItem=null)}}}),kh=wh,Ih=(i("4e5d"),Ee(kh,rh,ah,!1,null,"5a2da9ca",null)),Lh=Ih.exports,Bh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("v-chip",{class:`status-chip ${t.isFull?"status-chip--fullwidth":""} status-chip-${t.color} status-chip--onboarding`,attrs:{small:""}},[e("span",{class:t.textColor+"--text"},[t._v(" "+t._s(t.label)+" ")])])},Ah=[];const Th={10:"CONVIDAR",11:"CONVIDADO",12:"INCOMPLETO",13:"CONCLUÍDO",14:"FALHA/ERRO",15:"EM ANÁLISE",16:"EM ANDAMENTO",17:"EM ESPERA",18:"DECLINADO"},Oh={10:"secondary",11:"yellow",12:"yellow",13:"success",14:"error",15:"accent",16:"primary",17:"on-wait",18:"error"};var Eh=c.a.extend({name:"farm-chip-invite",components:{VChip:Ai},props:{status:{type:Number,default:10},isFull:{type:Boolean,default:!0}},computed:{textColor(){return 10===this.status||16===this.status||17===this.status?"":Oh[this.status]},color(){return this.status?Oh[this.status]:""},label(){return Th[this.status]}}}),Ph=Eh,Dh=(i("2eae"),Ee(Ph,Bh,Ah,!1,null,"5394a06e",null)),Mh=Dh.exports,Vh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"logger"},[t._l(t.items,(function(i,s){return[e("LoggerItem",{key:s,attrs:{item:i}}),t.hasDivider(s)?e("div",{key:"divider_"+s,staticClass:"logger__divider",class:{"logger__divider--success":t.isPreviousLogAndCurrentLogSuccess(s),"logger__divider--error":t.isPreviousLogAndCurrentLogError(s),"logger__divider--success-to-error":t.isPreviousLogErrorAndCurrentLogSuccess(s),"logger__divider--error-to-success":t.isPreviousLogSuccessAndCurrentLogError(s)}}):t._e()]}))],2)},Fh=[],Nh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",{staticClass:"logger__item",class:{"logger__item--error":"error"===t.item.status,"logger__item--success":"success"===t.item.status}},[e("farm-icon",[t._v(t._s(t.mdiIconName))]),e("div",[e("span",{staticClass:"logger__date"},[t._v(" "+t._s(t.item.formattedDate)+" ")]),e("span",{staticClass:"logger__message"},[t._v(" "+t._s(t.item.message)+" ")]),e("span",{staticClass:"logger__username"},[e("i",{staticClass:"mdi mdi-account-circle"}),t._v(" "+t._s(t.item.userName)+" ")])])],1)},zh=[],Rh=c.a.extend({name:"farm-logger-item",components:{"farm-icon":$r},props:{item:{required:!0,type:Object}},computed:{mdiIconName(){return this.item.icon?""+this.item.icon:this.item.status?""+("success"===this.item.status?"check":"close"):""}}}),Hh=Rh,Wh=(i("4ccd"),Ee(Hh,Nh,zh,!1,null,"69348465",null)),jh=Wh.exports,Yh=jh,qh=c.a.extend({name:"farm-logger",components:{LoggerItem:Yh},props:{items:{required:!0,type:Array}},methods:{hasDivider(t){return t<this.items.length-1},isPreviousLogAndCurrentLogError(t){return this.isError(t)&&this.isError(t+1)},isPreviousLogAndCurrentLogSuccess(t){return this.isSuccess(t)&&this.isSuccess(t+1)},isPreviousLogErrorAndCurrentLogSuccess(t){return this.isSuccess(t)&&this.isError(t+1)},isPreviousLogSuccessAndCurrentLogError(t){return this.isError(t)&&this.isSuccess(t+1)},isError(t){return"error"===this.items[t].status},isSuccess(t){return"success"===this.items[t].status}}}),Uh=qh,Zh=(i("f066"),Ee(Uh,Vh,Fh,!1,null,"17c87b5f",null)),Xh=Zh.exports,Kh=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{class:t.classes,style:t.containerStyle},[e("div",{style:t.valueStyle})])},Gh=[],Qh=c.a.extend({name:"farm-progressbar",props:{backgroundColor:{type:String,default:"secondary"},valueColor:{type:String,default:"error"},value:{type:Number,required:!0}},computed:{classes(){const t={};return this.backgroundColor.startsWith("#")||(t["farm-progressbar--"+this.backgroundColor]=!0),this.valueColor.startsWith("#")||(t["farm-progressbar--value-"+this.valueColor]=!0),{"farm-progressbar":!0,...t}},valueStyle(){const t={width:this.value+"%"};return this.valueColor.startsWith("#")&&(t["background-color"]=this.valueColor),t},containerStyle(){const t={};return this.backgroundColor.startsWith("#")&&(t["background-color"]=this.backgroundColor),t}}}),Jh=Qh,tu=(i("103a"),Ee(Jh,Kh,Gh,!1,null,"f0377c2a",null)),eu=tu.exports,iu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"horizontal-step-size"},[e("section",{class:{stepper__header:!0,"stepper__header--vertical":t.vertical}},[t._l(t.steps,(function(i,s){return[e("div",{key:i.label,class:{"stepper__header-step":!0,"stepper__header-step--current":t.isStepCurrent(s),"stepper__header-step--previous":t.isStepPrevious(s),"stepper__header-step--error":t.isStepError(s),"stepper__header-step--next":t.isStepNext(s)}},[i.icon?e("farm-icon",[t._v(" "+t._s(i.icon)+" ")]):e("span",{staticClass:"farm-icon__number"},[t._v(" "+t._s(s+1)+" ")]),e("span",[t._v(" "+t._s(i.label)+" ")])],1),t.hasDivider(s)?e("div",{key:"divider_"+i.label,class:{"stepper__divider--horizontal":!t.vertical,"stepper__divider--vertical":t.vertical,"stepper__divider--previous":t.isStepPrevious(s),"stepper__divider--previous-to-current":t.isStepPreviousToCurrent(s),"stepper__divider--previous-to-error":t.isStepPreviousToError(s),"stepper__divider--error-to-next":t.isStepErrorToNext(s),"stepper__divider--current-to-next":t.isStepCurrentToNext(s)}}):t._e()]}))],2)])},su=[],nu=c.a.extend({name:"farm-stepper-header",components:{"farm-icon":$r},props:{steps:Array,vertical:{type:Boolean,default:!1},currentStep:{type:Number},errorCurrentStepStatus:{type:Boolean,default:!1}},methods:{isStepCurrent(t){return this.currentStep===t+1},isStepPrevious(t){return this.currentStep>t+1},isStepError(t){return this.currentStep===t+1&&this.errorCurrentStepStatus},hasDivider(t){return t<this.steps.length-1},isStepPreviousToCurrent(t){return t+2==this.currentStep&&this.isStepCurrent(t+1)&&!this.isStepError(t+1)},isStepPreviousToError(t){return t+2==this.currentStep&&this.isStepCurrent(t+1)&&this.isStepError(t+1)},isStepNext(t){return t+1>this.currentStep},isStepErrorToNext(t){return this.errorCurrentStepStatus&&t+1===this.currentStep},isStepCurrentToNext(t){return!this.errorCurrentStepStatus&&t+1===this.currentStep}}}),ru=nu,au=(i("bc48"),Ee(ru,iu,su,!1,null,"d74a8f2c",null)),ou=au.exports,lu=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"farm-switch",attrs:{role:"checkbox"},on:{click:t.toggle,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),t.toggle.apply(null,arguments))}}},[e("span",{staticClass:"farm-switch__background",class:t.backgroundStyles}),e("span",{staticClass:"farm-switch__indicator",style:t.indicatorStyles})])},cu=[],hu=c.a.extend({name:"farm-switcher",props:{value:{type:Boolean,required:!0}},computed:{backgroundStyles(){return{"farm-switch--selected":this.value,"farm-switch--idle":!this.value}},indicatorStyles(){return{transform:this.value?"translateX(16px)":"translateX(0)"}}},methods:{toggle(){this.$emit("input",!this.value)}}}),uu=hu,du=(i("bd8c"),Ee(uu,lu,cu,!1,null,"3c5b60f1",null)),pu=du.exports},fc6a:function(t,e,i){var s=i("44ad"),n=i("1d80");t.exports=function(t){return s(n(t))}},fdbf:function(t,e,i){var s=i("4930");t.exports=s&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fed6:function(t,e,i){"use strict";i("3f00")}})}));
2
2
  //# sourceMappingURL=front-mfe-components.umd.min.js.map