(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["cloud-casa-extension-1.0.1"]=t(require("vue")):e["cloud-casa-extension-1.0.1"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(){var t={2640:function(e){!function(t,n){e.exports=n()}(0,(function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",o="day",a="week",i="month",s="quarter",l="year",c=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,u=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},p={s:d,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+d(r,2,"0")+":"+d(o,2,"0")},m:function(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,i),o=t-r<0,a=e.clone().add(n+(o?-1:1),i);return Number(-(n+(t-r)/(o?r-a:a-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return{M:i,y:l,w:a,d:o,D:"date",h:r,m:n,s:t,ms:e,Q:s}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h="en",m={};m[h]=f;var g=function(e){return e instanceof w},b=function(e,t,n){var r;if(!e)return h;if("string"==typeof e)m[e]&&(r=e),t&&(m[e]=t,r=e);else{var o=e.name;m[o]=e,r=o}return!n&&r&&(h=r),r||!n&&h},v=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new w(n)},y=p;y.l=b,y.i=g,y.w=function(e,t){return v(e,{locale:t.$L,utc:t.$u,$offset:t.$offset})};var w=function(){function d(e){this.$L=this.$L||b(e.locale,null,!0),this.parse(e)}var p=d.prototype;return p.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(c);if(r)return n?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(t)}(e),this.init()},p.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},p.$utils=function(){return y},p.isValid=function(){return!("Invalid Date"===this.$d.toString())},p.isSame=function(e,t){var n=v(e);return this.startOf(t)<=n&&n<=this.endOf(t)},p.isAfter=function(e,t){return v(e)1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;oe.length)&&(n=e.length),e.substring(n-t.length,n)===t}function O(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;t=Math.floor(Math.log(t)/Math.log(2));while(t)e+=e,t--;return e+=e.substring(0,n-e.length),e}var T="",N="",B="",j="",D={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},P=10;function R(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function I(e){return E(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function L(e,t,n){var o="",a="",i=0,s="",l=!1,c=I(e),u=c.split("\n"),d=I(t).split("\n"),p=0,f="";if("strictEqual"===n&&"object"===_(e)&&"object"===_(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===u.length&&1===d.length&&u[0]!==d[0]){var h=u[0].length+d[0].length;if(h<=P){if(("object"!==_(e)||null===e)&&("object"!==_(t)||null===t)&&(0!==e||0!==t))return"".concat(D[n],"\n\n")+"".concat(u[0]," !== ").concat(d[0],"\n")}else if("strictEqualObject"!==n){var m=r.stderr&&r.stderr.isTTY?r.stderr.columns:80;if(h2&&(f="\n ".concat(O(" ",p),"^"),p=0)}}}var g=u[u.length-1],b=d[d.length-1];while(g===b){if(p++<2?s="\n ".concat(g).concat(s):o=g,u.pop(),d.pop(),0===u.length||0===d.length)break;g=u[u.length-1],b=d[d.length-1]}var v=Math.max(u.length,d.length);if(0===v){var y=c.split("\n");if(y.length>30){y[26]="".concat(T,"...").concat(j);while(y.length>27)y.pop()}return"".concat(D.notIdentical,"\n\n").concat(y.join("\n"),"\n")}p>3&&(s="\n".concat(T,"...").concat(j).concat(s),l=!0),""!==o&&(s="\n ".concat(o).concat(s),o="");var w=0,x=D[n]+"\n".concat(N,"+ actual").concat(j," ").concat(B,"- expected").concat(j),k=" ".concat(T,"...").concat(j," Lines skipped");for(p=0;p1&&p>2&&(E>4?(a+="\n".concat(T,"...").concat(j),l=!0):E>3&&(a+="\n ".concat(d[p-2]),w++),a+="\n ".concat(d[p-1]),w++),i=p,o+="\n".concat(B,"-").concat(j," ").concat(d[p]),w++;else if(d.length1&&p>2&&(E>4?(a+="\n".concat(T,"...").concat(j),l=!0):E>3&&(a+="\n ".concat(u[p-2]),w++),a+="\n ".concat(u[p-1]),w++),i=p,a+="\n".concat(N,"+").concat(j," ").concat(u[p]),w++;else{var S=d[p],C=u[p],R=C!==S&&(!A(C,",")||C.slice(0,-1)!==S);R&&A(S,",")&&S.slice(0,-1)===C&&(R=!1,C+=","),R?(E>1&&p>2&&(E>4?(a+="\n".concat(T,"...").concat(j),l=!0):E>3&&(a+="\n ".concat(u[p-2]),w++),a+="\n ".concat(u[p-1]),w++),i=p,a+="\n".concat(N,"+").concat(j," ").concat(C),o+="\n".concat(B,"-").concat(j," ").concat(S),w+=2):(a+=o,o="",1!==E&&0!==p||(a+="\n ".concat(C),w++))}if(w>20&&p30){f[26]="".concat(T,"...").concat(j);while(f.length>27)f.pop()}t=1===f.length?n.call(this,"".concat(p," ").concat(f[0])):n.call(this,"".concat(p,"\n\n").concat(f.join("\n"),"\n"))}else{var g=I(c),b="",v=D[i];"notDeepEqual"===i||"notEqual"===i?(g="".concat(D[i],"\n\n").concat(g),g.length>1024&&(g="".concat(g.slice(0,1021),"..."))):(b="".concat(I(u)),g.length>512&&(g="".concat(g.slice(0,509),"...")),b.length>512&&(b="".concat(b.slice(0,509),"...")),"deepEqual"===i||"equal"===i?g="".concat(v,"\n\n").concat(g,"\n\nshould equal\n\n"):b=" ".concat(i," ").concat(b)),t=n.call(this,"".concat(g).concat(b))}return Error.stackTraceLimit=d,t.generatedMessage=!a,Object.defineProperty(m(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=c,t.expected=u,t.operator=i,Error.captureStackTrace&&Error.captureStackTrace(m(t),l),t.stack,t.name="AssertionError",h(t)}return c(o,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(e,t){return E(this,a(a({},t),{},{customInspect:!1,depth:0}))}}]),o}(g(Error),E.custom);e.exports=M},1342:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}function x(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function _(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function k(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}y("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),y("ERR_INVALID_ARG_TYPE",(function(e,t,o){var a,i;if(void 0===g&&(g=n(6093)),g("string"===typeof e,"'name' must be a string"),"string"===typeof t&&x(t,"not ")?(a="must not be",t=t.replace(/^not /,"")):a="must be",_(e," argument"))i="The ".concat(e," ").concat(a," ").concat(w(t,"type"));else{var s=k(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(s," ").concat(a," ").concat(w(t,"type"))}return i+=". Received type ".concat(r(o)),i}),TypeError),y("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===b&&(b=n(9208));var o=b.inspect(t);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(o)}),TypeError,RangeError),y("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var o;return o=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(o,".")}),TypeError),y("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r0,"At least one arg needs to be specified");var o="The ",a=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),a){case 1:o+="".concat(t[0]," argument");break;case 2:o+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:o+=t.slice(0,a-1).join(", "),o+=", and ".concat(t[a-1]," arguments");break}return"".concat(o," must be specified")}),TypeError),e.exports.codes=v},5656:function(e,t,n){"use strict";function r(e,t){return l(e)||s(e,t)||a(e,t)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n10)return!0;for(var t=0;t57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function L(e){return Object.keys(e).filter(I).concat(h(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))} /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */function M(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o img {\n display: block;\n width: 42px;\n font-size: 25px;\n margin-left: 1px;\n }\n .theme-dark .side-menu .category div a > img {\n filter: brightness(0) saturate(100%) invert(39%) sepia(90%) saturate(399%) hue-rotate(160deg) brightness(93%) contrast(95%)\n }\n .theme-dark .side-menu .category div a:hover > img, .side-menu .category div a.active-menu-link > img {\n filter: brightness(0) invert(1);\n }\n ";a.textContent=i,document.head.appendChild(a);const{basicType:s,configureType:l,product:c,virtualType:u}=e.DSL(t,r);c({name:`${r}`,svg:n(2584),inStore:"management",weight:100,showClusterSwitcher:!1,to:{name:`${r}`,path:`/${r}`,params:{product:r,pkg:r,cluster:o}}})}n.r(t),n.d(t,{init:function(){return r}})},9818:function(e,t,n){"use strict";var r=n(528),o=n(8498),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"===typeof n&&a(e,".prototype.")>-1?o(n):n}},8498:function(e,t,n){"use strict";var r=n(9138),o=n(528),a=n(6108),i=n(3468),s=o("%Function.prototype.apply%"),l=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(l,s),u=n(4940),d=o("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new i("a function is required");var t=c(r,l,arguments);return a(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return c(r,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},4364:function(e,t,n){var r=n(9208),o=n(6093);function a(){return(new Date).getTime()}var i,s=Array.prototype.slice,l={};i="undefined"!==typeof n.g&&n.g.console?n.g.console:"undefined"!==typeof window&&window.console?window.console:{};for(var c=[[h,"log"],[m,"info"],[g,"warn"],[b,"error"],[v,"time"],[y,"timeEnd"],[w,"trace"],[x,"dir"],[_,"assert"]],u=0;u=t&&e<=n},s=function(e,t,n){var a=e.split("-");switch(a.length){case 1:return o(e)||i(r(e),t,n);case 2:var s=a.map((function(e){return r(e)})),l=s[0],c=s[1];return l<=c&&i(l,t,n)&&i(c,t,n);default:return!1}},l=function(e){return void 0===e||-1===e.search(/[^\d]/)&&r(e)>0},c=function(e,t,n){if(-1!==e.search(/[^\d-,\/*]/))return!1;var r=e.split(",");return r.every((function(e){var r=e.split("/");if(e.trim().endsWith("/"))return!1;if(r.length>2)return!1;var o=r[0],a=r[1];return s(o,t,n)&&l(a)}))},u=function(e){return c(e,0,59)},d=function(e){return c(e,0,59)},p=function(e){return c(e,0,23)},f=function(e,t){return t&&a(e)||c(e,1,31)},h={jan:"1",feb:"2",mar:"3",apr:"4",may:"5",jun:"6",jul:"7",aug:"8",sep:"9",oct:"10",nov:"11",dec:"12"},m=function(e,t){if(-1!==e.search(/\/[a-zA-Z]/))return!1;if(t){var n=e.toLowerCase().replace(/[a-z]{3}/g,(function(e){return void 0===h[e]?e:h[e]}));return c(n,1,12)}return c(e,1,12)},g={sun:"0",mon:"1",tue:"2",wed:"3",thu:"4",fri:"5",sat:"6"},b=function(e,t,n,r){if(n&&a(e))return!0;if(!n&&a(e))return!1;if(-1!==e.search(/\/[a-zA-Z]/))return!1;if(t){var o=e.toLowerCase().replace(/[a-z]{3}/g,(function(e){return void 0===g[e]?e:g[e]}));return c(o,0,r?7:6)}return c(e,0,r?7:6)},v=function(e,t,n){return!(n&&a(e)&&a(t))},y=function(e){return e.trim().split(/\s+/)},w={alias:!1,seconds:!1,allowBlankDay:!1,allowSevenAsSunday:!1};t.isValidCron=function(e,t){t=n(n({},w),t);var r=y(e);if(r.length>(t.seconds?6:5)||r.length<5)return!1;var o=[];if(6===r.length){var a=r.shift();a&&o.push(u(a))}var i=r[0],s=r[1],l=r[2],c=r[3],h=r[4];return o.push(d(i)),o.push(p(s)),o.push(f(l,t.allowBlankDay)),o.push(m(c,t.alias)),o.push(b(h,t.alias,t.allowBlankDay,t.allowSevenAsSunday)),o.push(v(l,h,t.allowBlankDay)),o.every(Boolean)}},7021:function(e,t,n){var r=n(4364);(function(t,n){e.exports=n()})(globalThis,(()=>(()=>{"use strict";var e={794:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var r=n(586),o=function(){function e(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=n}return e.prototype.parse=function(){var e,t,n=null!==(e=this.expression)&&void 0!==e?e:"";if(n.startsWith("@")){var r=this.parseSpecial(this.expression);t=this.extractParts(r)}else t=this.extractParts(this.expression);return this.normalize(t),this.validate(t),t},e.prototype.parseSpecial=function(e){var t={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *"},n=t[e];if(!n)throw new Error("Unknown special expression.");return n},e.prototype.extractParts=function(e){if(!this.expression)throw new Error("cron expression is empty");for(var t=e.trim().split(/[ ]+/),n=0;n7)throw new Error("Expression has ".concat(t.length," parts; too many!"));return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace("?","*"),e[5]=e[5].replace("?","*"),e[2]=e[2].replace("?","*"),0==e[0].indexOf("0/")&&(e[0]=e[0].replace("0/","*/")),0==e[1].indexOf("0/")&&(e[1]=e[1].replace("0/","*/")),0==e[2].indexOf("0/")&&(e[2]=e[2].replace("0/","*/")),0==e[3].indexOf("1/")&&(e[3]=e[3].replace("1/","*/")),0==e[4].indexOf("1/")&&(e[4]=e[4].replace("1/","*/")),0==e[6].indexOf("1/")&&(e[6]=e[6].replace("1/","*/")),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,(function(e){var n=e.replace(/\D/,""),r=n;return t.dayOfWeekStartIndexZero?"7"==n&&(r="0"):r=(parseInt(n)-1).toString(),e.replace(n,r)})),"L"==e[5]&&(e[5]="6"),"?"==e[3]&&(e[3]="*"),e[3].indexOf("W")>-1&&(e[3].indexOf(",")>-1||e[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)e[5]=e[5].replace(new RegExp(r,"gi"),n[r].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,(function(e){var n=e.replace(/\D/,""),r=n;return t.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),e.replace(n,r)}));var o={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var a in o)e[4]=e[4].replace(new RegExp(a,"gi"),o[a].toString());"0"==e[0]&&(e[0]=""),/\*|\-|\,|\//.test(e[2])||!/\*|\//.test(e[1])&&!/\*|\//.test(e[0])||(e[2]+="-".concat(e[2]));for(var i=0;i-1&&!/^\*|\-|\,/.test(e[i])){var s=null;switch(i){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null;break}if(null!==s){var l=e[i].split("/");e[i]="".concat(l[0],"-").concat(s,"/").concat(l[1])}}},e.prototype.validate=function(e){this.assertNoInvalidCharacters("DOW",e[5]),this.assertNoInvalidCharacters("DOM",e[3]),this.validateRange(e)},e.prototype.validateRange=function(e){r.default.secondRange(e[0]),r.default.minuteRange(e[1]),r.default.hourRange(e[2]),r.default.dayOfMonthRange(e[3]),r.default.monthRange(e[4],this.monthStartIndexZero),r.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.assertNoInvalidCharacters=function(e,t){var n=t.match(/[A-KM-VX-Z]+/gi);if(n&&n.length)throw new Error("".concat(e," part contains invalid values: '").concat(n.toString(),"'"))},e}();t.CronParser=o},728:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var o=n(910),a=n(794),i=function(){function e(t,n){if(this.expression=t,this.options=n,this.expressionParts=new Array(5),!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var o=Object.keys(e.locales)[0];r.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(o,"'.")),this.options.locale=o}this.i18n=e.locales[this.options.locale],void 0===n.use24HourTimeFormat&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,n){var r=void 0===n?{}:n,o=r.throwExceptionOnParseError,a=void 0===o||o,i=r.verbose,s=void 0!==i&&i,l=r.dayOfWeekStartIndexZero,c=void 0===l||l,u=r.monthStartIndexZero,d=void 0!==u&&u,p=r.use24HourTimeFormat,f=r.locale,h=void 0===f?null:f,m=r.tzOffset,g=void 0===m?0:m,b={throwExceptionOnParseError:a,verbose:s,dayOfWeekStartIndexZero:c,monthStartIndexZero:d,use24HourTimeFormat:p,locale:h,tzOffset:g},v=new e(t,b);return v.getFullDescription()},e.initialize=function(t,n){void 0===n&&(n="en"),e.specialCharacters=["/","-",",","*"],e.defaultLocale=n,t.load(e.locales)},e.prototype.getFullDescription=function(){var e="";try{var t=new a.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=t.parse();var n=this.getTimeOfDayDescription(),r=this.getDayOfMonthDescription(),o=this.getMonthDescription(),i=this.getDayOfWeekDescription(),s=this.getYearDescription();e+=n+r+i+o+s,e=this.transformVerbosity(e,!!this.options.verbose),e=e.charAt(0).toLocaleUpperCase()+e.substr(1)}catch(l){if(this.options.throwExceptionOnParseError)throw"".concat(l);e=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return e},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],n=this.expressionParts[1],r=this.expressionParts[2],a="";if(o.StringUtilities.containsAny(n,e.specialCharacters)||o.StringUtilities.containsAny(r,e.specialCharacters)||o.StringUtilities.containsAny(t,e.specialCharacters))if(t||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||o.StringUtilities.containsAny(r,e.specialCharacters))if(!t&&r.indexOf(",")>-1&&-1==r.indexOf("-")&&-1==r.indexOf("/")&&!o.StringUtilities.containsAny(n,e.specialCharacters)){var i=r.split(",");a+=this.i18n.at();for(var s=0;s1){var a=r[r.length-1].index;n=n.substring(0,a)+":59"+n.substring(a+3)}}return n},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek(),n=null;return n="*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(n,r){var o=n;n.indexOf("#")>-1?o=n.substring(0,n.indexOf("#")):n.indexOf("L")>-1&&(o=o.replace("L",""));var a=parseInt(o);if(e.options.tzOffset){var i=e.expressionParts[2],s=parseInt(i)+(e.options.tzOffset?e.options.tzOffset:0);s>=24?a++:s<0&&a--,a>6?a=0:a<0&&(a=6)}var l=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(r)[a]:t[a];if(n.indexOf("#")>-1){var c=null,u=n.substring(n.indexOf("#")+1),d=n.substring(0,n.indexOf("#"));switch(u){case"1":c=e.i18n.first(d);break;case"2":c=e.i18n.second(d);break;case"3":c=e.i18n.third(d);break;case"4":c=e.i18n.fourth(d);break;case"5":c=e.i18n.fifth(d);break}l=c+" "+l}return l}),(function(t){return 1==parseInt(t)?"":o.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)}),(function(t){var n=t.substring(0,t.indexOf("-")),r="*"!=e.expressionParts[3];return r?e.i18n.commaAndX0ThroughX1(n):e.i18n.commaX0ThroughX1(n)}),(function(t){var n=null;if(t.indexOf("#")>-1){var r=t.substring(t.indexOf("#")+1);n=e.i18n.commaOnThe(r).trim()+e.i18n.spaceX0OfTheMonth()}else if(t.indexOf("L")>-1)n=e.i18n.commaOnTheLastX0OfTheMonth(t.replace("L",""));else{var o="*"!=e.expressionParts[3];n=o?e.i18n.commaAndOnX0():e.i18n.commaOnlyOnX0(t)}return n})),n},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear(),n=this.getSegmentDescription(this.expressionParts[4],"",(function(n,r){return r&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:t[parseInt(n)-1]}),(function(t){return 1==parseInt(t)?"":o.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)}),(function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()}),(function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()}));return n},e.prototype.getDayOfMonthDescription=function(){var e=this,t=null,n=this.expressionParts[3];switch(n){case"L":t=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var r=n.match(/(\d{1,2}W)|(W\d{1,2})/);if(r){var a=parseInt(r[0].replace("W","")),i=1==a?this.i18n.firstWeekday():o.StringUtilities.format(this.i18n.weekdayNearestDayX0(),a.toString());t=o.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),i);break}var s=n.match(/L-(\d{1,2})/);if(s){var l=s[1];t=o.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(l),l);break}if("*"==n&&"*"!=this.expressionParts[5])return"";t=this.getSegmentDescription(n,this.i18n.commaEveryDay(),(function(t){return"L"==t?e.i18n.lastDay():e.i18n.dayX0?o.StringUtilities.format(e.i18n.dayX0(),t):t}),(function(t){return"1"==t?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)}),(function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)}),(function(t){return e.i18n.commaOnDayX0OfTheMonth(t)}));break}return t},e.prototype.getYearDescription=function(){var e=this,t=this.getSegmentDescription(this.expressionParts[6],"",(function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e}),(function(t){return o.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)}),(function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()}),(function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()}));return t},e.prototype.getSegmentDescription=function(e,t,n,r,a,i){var s=null,l=e.indexOf("/")>-1,c=e.indexOf("-")>-1,u=e.indexOf(",")>-1;if(e)if("*"===e)s=t;else if(l||c||u)if(u){for(var d=e.split(","),p="",f=0;f0&&d.length>2&&(p+=",",f0&&d.length>1&&(f==d.length-1||2==d.length)&&(p+="".concat(this.i18n.spaceAnd()," ")),d[f].indexOf("/")>-1||d[f].indexOf("-")>-1){var h=d[f].indexOf("-")>-1&&-1==d[f].indexOf("/"),m=this.getSegmentDescription(d[f],t,n,r,h?this.i18n.commaX0ThroughX1:a,i);h&&(m=m.replace(", ","")),p+=m}else p+=l?this.getSegmentDescription(d[f],t,n,r,a,i):n(d[f]);s=l?p:o.StringUtilities.format(i(e),p)}else if(l){d=e.split("/");if(s=o.StringUtilities.format(r(d[1]),d[1]),d[0].indexOf("-")>-1){var g=this.generateRangeSegmentDescription(d[0],a,n);0!=g.indexOf(", ")&&(s+=", "),s+=g}else if(-1==d[0].indexOf("*")){var b=o.StringUtilities.format(i(d[0]),n(d[0]));b=b.replace(", ",""),s+=o.StringUtilities.format(this.i18n.commaStartingX0(),b)}}else c&&(s=this.generateRangeSegmentDescription(e,a,n));else s=o.StringUtilities.format(i(e),n(e));else s="";return s},e.prototype.generateRangeSegmentDescription=function(e,t,n){var r="",a=e.split("-"),i=n(a[0],1),s=n(a[1],2),l=t(e);return r+=o.StringUtilities.format(l,i,s),r},e.prototype.formatTime=function(e,t,n){var r=0,o=0;this.options.tzOffset&&(r=this.options.tzOffset>0?Math.floor(this.options.tzOffset):Math.ceil(this.options.tzOffset),o=parseFloat((this.options.tzOffset%1).toFixed(2)),0!=o&&(o*=60));var a=parseInt(e)+r,i=parseInt(t)+o;i>=60?(i-=60,a+=1):i<0&&(i+=60,a-=1),a>=24?a-=24:a<0&&(a=24+a);var s="",l=!1;this.options.use24HourTimeFormat||(l=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()),s=l?"".concat(this.getPeriod(a)," "):" ".concat(this.getPeriod(a)),a>12&&(a-=12),0===a&&(a=12));var c="";return n&&(c=":".concat(("00"+n).substring(n.length))),"".concat(l?s:"").concat(("00"+a.toString()).substring(a.toString().length),":").concat(("00"+i.toString()).substring(i.toString().length)).concat(c).concat(l?"":s)},e.prototype.transformVerbosity=function(e,t){return t||(e=e.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),""),e=e.replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),""),e=e.replace(new RegExp(this.i18n.commaEveryDay(),"g"),""),e=e.replace(/\, ?$/,"")),e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},e.locales={},e}();t.ExpressionDescriptor=i},336:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.enLocaleLoader=void 0;var r=n(751),o=function(){function e(){}return e.prototype.load=function(e){e["en"]=new r.en},e}();t.enLocaleLoader=o},751:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0;var n=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occured when generating the expression description. Check the cron expression syntax."},e.prototype.everyMinute=function(){return"every minute"},e.prototype.everyHour=function(){return"every hour"},e.prototype.atSpace=function(){return"At "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},e.prototype.at=function(){return"At"},e.prototype.spaceAnd=function(){return" and"},e.prototype.everySecond=function(){return"every second"},e.prototype.everyX0Seconds=function(){return"every %s seconds"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},e.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},e.prototype.everyX0Minutes=function(){return"every %s minutes"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},e.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},e.prototype.everyX0Hours=function(){return"every %s hours"},e.prototype.betweenX0AndX1=function(){return"between %s and %s"},e.prototype.atX0=function(){return"at %s"},e.prototype.commaEveryDay=function(){return", every day"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},e.prototype.commaX0ThroughX1=function(){return", %s through %s"},e.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},e.prototype.first=function(){return"first"},e.prototype.second=function(){return"second"},e.prototype.third=function(){return"third"},e.prototype.fourth=function(){return"fourth"},e.prototype.fifth=function(){return"fifth"},e.prototype.commaOnThe=function(){return", on the "},e.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},e.prototype.lastDay=function(){return"the last day"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},e.prototype.commaOnlyOnX0=function(){return", only on %s"},e.prototype.commaAndOnX0=function(){return", and on %s"},e.prototype.commaEveryX0Months=function(){return", every %s months"},e.prototype.commaOnlyInX0=function(){return", only in %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},e.prototype.firstWeekday=function(){return"first weekday"},e.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},e.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},e.prototype.commaEveryX0Days=function(){return", every %s days"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},e.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},e.prototype.commaEveryHour=function(){return", every hour"},e.prototype.commaEveryX0Years=function(){return", every %s years"},e.prototype.commaStartingX0=function(){return", starting %s"},e.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},e.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},e}();t.en=n},586:(e,t)=>{function n(e,t){if(!e)throw new Error(t)}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.secondRange=function(e){for(var t=e.split(","),r=0;r=0&&o<=59,"seconds part must be >= 0 and <= 59")}},e.minuteRange=function(e){for(var t=e.split(","),r=0;r=0&&o<=59,"minutes part must be >= 0 and <= 59")}},e.hourRange=function(e){for(var t=e.split(","),r=0;r=0&&o<=23,"hours part must be >= 0 and <= 23")}},e.dayOfMonthRange=function(e){for(var t=e.split(","),r=0;r=1&&o<=31,"DOM part must be >= 1 and <= 31")}},e.monthRange=function(e,t){for(var r=e.split(","),o=0;o=1&&a<=12,t?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},e.dayOfWeekRange=function(e,t){for(var r=e.split(","),o=0;o=0&&a<=6,t?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},e}();t["default"]=r},910:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0;var n=function(){function e(){}return e.format=function(e){for(var t=[],n=1;n-1}))},e}();t.StringUtilities=n}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}var o={};return(()=>{var e=o;Object.defineProperty(e,"__esModule",{value:!0}),e.toString=void 0;var t=n(728),r=n(336);t.ExpressionDescriptor.initialize(new r.enLocaleLoader),e["default"]=t.ExpressionDescriptor;var a=t.ExpressionDescriptor.toString;e.toString=a})(),o})()))},7328:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".validation-message{padding:5px;position:absolute;bottom:-35px}",""]),t["default"]=s},3079:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,"svg[data-v-b69f15ec]{margin-right:10px}.center-all[data-v-b69f15ec]{width:100%}.light-gray[data-v-b69f15ec]{color:#b6b6c2}.header[data-v-b69f15ec]{display:flex;margin-bottom:.5rem;.section[data-v-b69f15ec]{width:50%}}.sub-header h1[data-v-b69f15ec]{float:left}.actions a[data-v-b69f15ec]{float:right;margin-left:10px}.main-spacing[data-v-b69f15ec]{margin:2rem}.cluster-header[data-v-b69f15ec]{margin-top:20px;margin-bottom:25px}.custom-badge[data-v-b69f15ec]{width:-moz-fit-content;width:fit-content;display:block;margin-bottom:.5rem;padding:2px 10px 3px 10px;border-width:1px;border-style:solid;border-radius:20px}.custom-badge.green[data-v-b69f15ec]{border-color:#5d995d;color:#5d995d}.custom-badge.gray[data-v-b69f15ec]{border-color:#828282;color:#828282}.custom-badge.red[data-v-b69f15ec]{border-color:#f64747;color:#f64747}",""]),t["default"]=s},6757:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,'.center-all[data-v-4d35778f]{width:100%}.header[data-v-4d35778f]{display:flex;margin-bottom:1rem;.section[data-v-4d35778f]{width:50%}}.sub-header h1[data-v-4d35778f]{float:left}.actions a[data-v-4d35778f]{float:right}.main-spacing[data-v-4d35778f]{margin:2rem}.installing-text[data-v-4d35778f]{color:#b6b6c2}.green-text[data-v-4d35778f]{color:var(--success)}.yellow-text[data-v-4d35778f]{color:var(--warning)}.tooltip[data-v-4d35778f]{position:relative;display:inline-block}.tooltip .tooltiptext[data-v-4d35778f]{font-size:14px;visibility:hidden;width:160px;background-color:#4a4b52;color:#fff;text-align:left;border-radius:6px;padding:10px;position:absolute;bottom:100%;left:50%;margin-left:-80px}.tooltip:hover .tooltiptext[data-v-4d35778f]{visibility:visible}.tooltip .tooltiptext[data-v-4d35778f]:after{content:" ";position:absolute;top:100%;left:50%;margin-left:-8px;border-width:8px;border-style:solid;border-color:#4a4b52 transparent transparent transparent}.reconfigure-button[data-v-4d35778f]{margin-left:15px}',""]),t["default"]=s},1350:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,"svg[data-v-9c0ec6c4]{margin-left:10px}",""]),t["default"]=s},8344:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".card-container[data-v-2a7fb7b2]{width:100%;display:flex;margin:0!important;padding:0!important}.card[data-v-2a7fb7b2]{margin-right:20px;float:left;width:33%;padding:20px;border-width:1px;border-color:gray;border-style:solid}.card[data-v-2a7fb7b2]:last-child{margin-right:0!important}.card-data-container[data-v-2a7fb7b2]{width:100%}.card-percentage[data-v-2a7fb7b2]{float:left}.card-points[data-v-2a7fb7b2]{float:right}",""]),t["default"]=s},5868:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,"svg[data-v-61a172b0]{margin-left:10px}.tabs .tab[data-v-61a172b0]{padding:0}.tabs .tab span[data-v-61a172b0]{text-align:center;padding:5px}",""]),t["default"]=s},523:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".status-dot[data-v-57a344e8]:empty{float:left;display:block;margin-left:8px;height:1.1rem;width:1.1rem;border-radius:1.1rem;border-style:solid;border-width:1px}.empty-dot[data-v-57a344e8]{border-color:#dcdee7}.green-dot[data-v-57a344e8]{background-color:#5d995d;border-color:#5d995d}.yellow-dot[data-v-57a344e8]{background-color:#d3b73c;border-color:#d3b73c}.red-dot[data-v-57a344e8]{background-color:#f64747;border-color:#f64747}",""]),t["default"]=s},1267:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".bg-disabled[data-v-f3c04838]{border-color:var(--disabled-text);color:var(--disabled-text)}.bg-disabled[data-v-f3c04838],.bg-error[data-v-f3c04838]{background:transparent!important}.bg-error[data-v-f3c04838]{border-color:var(--error);color:var(--error)}.installing-text[data-v-f3c04838]{color:var(--disabled-text)}",""]),t["default"]=s},3899:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,"svg[data-v-520926a8]{margin-right:10px}.center-all[data-v-520926a8]{width:100%;text-align:center}.flex-box[data-v-520926a8]{display:flex;flex-direction:row;width:100%}.flex-item[data-v-520926a8]{flex:1}.simplebox-centering[data-v-520926a8]{height:60vh;margin:1rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.key-input[data-v-520926a8]{display:block;width:450px}.btn-save-api-key[data-v-520926a8]{margin-top:10px}.back-button[data-v-520926a8]{float:left;margin-bottom:10px}",""]),t["default"]=s},3651:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".max-width{width:100%;margin:0 auto}@media screen and (min-width:1920px){.max-width{width:100%}}@media screen and (min-width:2048px){.max-width{width:95%}}@media screen and (min-width:3840px){.max-width{width:85%}}",""]),t["default"]=s},6696:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".dropdown-button-group .no-left-border-radius{border-top-left-radius:0;border-bottom-left-radius:0}.dropdown-button-group .no-right-border-radius{border-top-right-radius:0;border-bottom-right-radius:0}.dropdown-button-group .btn{line-height:normal;border:0}.dropdown-button-group .btn-group-xs>.btn,.dropdown-button-group .btn-xs,.dropdown-button-group .btn-xs .btn-label{padding:2px 3px;font-size:13px}.dropdown-button-group .v-popper .text-right{margin-top:5px}.dropdown-button-group .v-popper .trigger{height:100%}.dropdown-button-group .v-popper .trigger .icon-container{height:100%;padding:10px 10px 10px 10px}.dropdown-button-group .v-popper .trigger .icon-container i{transform:scale(1)}.dropdown-button-group .v-popper .trigger .icon-container.btn-xs{padding:2px 4px 4px 4px}.dropdown-button-group .v-popper .trigger .icon-container.btn-sm{padding:10px 10px 10px 10px}.dropdown-button-group .v-popper .trigger .icon-container.btn-lg{padding:18px 10px 10px 10px}.dropdown-button-group .v-popper .trigger .icon-container:focus{outline-style:none;box-shadow:none;border-color:transparent}.dropdown-button-group .dropdown-button{background:var(--tooltip-bg);color:var(--link-text);padding:0;display:inline-flex}.dropdown-button-group .dropdown-button .wrapper-content button{border-right:0}.dropdown-button-group .dropdown-button .icon-chevron-down,.dropdown-button-group .dropdown-button>*{color:var(--primary);background-color:transparent}.dropdown-button-group .dropdown-button.bg-primary:hover{background:var(--accent-btn-hover)}.dropdown-button-group .dropdown-button.one-action{position:relative}.dropdown-button-group .dropdown-button.one-action>.btn{padding:15px 35px 15px 15px}.dropdown-button-group .dropdown-button.one-action .v-popper .trigger{position:absolute;top:0;right:0;left:0;bottom:0}.dropdown-button-group .dropdown-button.one-action .v-popper .trigger BUTTON{position:absolute;right:0}.dropdown-button-group .v-popper__popper{border:none;margin-top:0}.dropdown-button-group .v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{display:none}.dropdown-button-group .v-popper__popper .v-popper__inner{color:var(--dropdown-text);background-color:var(--dropdown-bg);border:1px solid var(--dropdown-border);padding:0;text-align:left}.dropdown-button-group .v-popper__popper .v-popper__inner LI{padding:10px}.dropdown-button-group .v-popper__popper .v-popper__inner LI.divider{padding-top:0;padding-bottom:0}.dropdown-button-group .v-popper__popper .v-popper__inner LI.divider>.divider-inner{padding:0;border-bottom:1px solid var(--dropdown-divider);width:125%;margin:0 auto}.dropdown-button-group .v-popper__popper .v-popper__inner LI:not(.divider):hover{background-color:var(--dropdown-hover-bg);color:var(--dropdown-hover-text);cursor:pointer}.dropdown-button-group .user-info{border-bottom:1px solid var(--border);display:block}",""]),t["default"]=s},7702:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".manual-refresh i[data-v-5db6890e]{margin:0 0 0 8px!important;font-size:1rem!important}",""]),t["default"]=s},1354:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".button-dropdown.btn-sm[data-v-2ab9ff7a] >.vs__dropdown-toggle .vs__actions:after{font-size:1.6rem}.button-dropdown.btn-lg[data-v-2ab9ff7a] >.vs__dropdown-toggle .vs__actions:after{font-size:2.6rem}.button-dropdown[data-v-2ab9ff7a]{background:var(--accent-btn);border:solid 1px var(--link);color:var(--link);padding:0}.button-dropdown.vs--open[data-v-2ab9ff7a] {outline:none;box-shadow:none}.button-dropdown[data-v-2ab9ff7a]:hover .vs__dropdown-toggle .vs__actions,.button-dropdown[data-v-2ab9ff7a]:hover .vs__selected-options{background:var(--accent-btn-hover)}.button-dropdown[data-v-2ab9ff7a]:hover .vs__selected-options .vs__selected button{background-color:transparent;color:var(--accent-btn-hover-text)}.button-dropdown[data-v-2ab9ff7a]:hover .vs__dropdown-toggle .vs__actions:after{color:var(--accent-btn-hover-text)}.button-dropdown[data-v-2ab9ff7a] >.vs__dropdown-toggle{width:100%;display:grid;grid-template-columns:75% 25%;border:none;background:transparent}.button-dropdown[data-v-2ab9ff7a] >.vs__dropdown-toggle .vs__actions:after{color:var(--link);line-height:1}.button-dropdown[data-v-2ab9ff7a] .vs__selected-options .vs__selected{margin:unset;border:none}.button-dropdown[data-v-2ab9ff7a] .vs__selected-options .vs__selected button{border:none;background:transparent;color:var(--link)}.button-dropdown[data-v-2ab9ff7a] .vs__selected-options .vs__search{position:absolute;opacity:0;padding:0}.button-dropdown[data-v-2ab9ff7a] .vs__dropdown-menu{min-width:unset;width:-moz-fit-content;width:fit-content}",""]),t["default"]=s},8280:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".borderless[data-v-eb3e6c46]{background-color:transparent;border:none}.borderless[data-v-eb3e6c46]:focus,.borderless[data-v-eb3e6c46]:hover{background-color:var(--accent-btn);box-shadow:none}",""]),t["default"]=s},6530:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".percentage-bar[data-v-4ade54a6]{display:flex;flex-direction:row}.percentage-bar .percentage-value[data-v-4ade54a6]{word-break:keep-all}",""]),t["default"]=s},6226:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".top[data-v-48821e48]{display:flex;position:relative}.top>h2[data-v-48821e48]{flex:1}.close-button[data-v-48821e48]{cursor:pointer;display:flex;align-items:center;justify-content:center;padding:2px}.close-button>i[data-v-48821e48]{font-size:14px;opacity:.5}.close-button[data-v-48821e48]:hover{background-color:var(--wm-closer-hover-bg)}",""]),t["default"]=s},1523:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".simple-box{background:var(--simple-box-bg) 0 0 no-repeat padding-box;box-shadow:0 0 10px var(--simple-box-shadow);border:1px solid var(--simple-box-border);padding:15px}.simple-box .top{line-height:24px;font-size:18px;border-bottom:1px solid var(--simple-box-divider);padding-bottom:15px;margin:0 -15px 10px -15px;padding:0 15px 15px 15px;align-items:center;display:flex .simple-box .top BUTTON;display-padding:0;display-height:fit-content;display-align-self:flex-start}.simple-box .top H2{margin-bottom:0}.simple-box .content{padding:15px}",""]),t["default"]=s},9136:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".table-options-group .table-options-btn.role-multi-action[data-v-e0272992]{background-color:transparent;border:none;font-size:18px}.table-options-group .table-options-btn.role-multi-action[data-v-e0272992]:focus,.table-options-group .table-options-btn.role-multi-action[data-v-e0272992]:hover{background-color:var(--accent-btn);box-shadow:none}.table-options-group .table-options-container[data-v-e0272992]{width:350px;border:1px solid var(--primary);background-color:var(--body-bg);padding:20px;z-index:1}.table-options-group .table-options-container .table-options-grouping[data-v-e0272992]{display:flex;align-items:center;margin-bottom:20px}.table-options-group .table-options-container .table-options-grouping span[data-v-e0272992]{white-space:nowrap;margin-right:10px}.table-options-group .table-options-container ul[data-v-e0272992]{list-style:none;margin:0;padding:0;max-height:200px;overflow-y:auto}.table-options-group .table-options-container ul li[data-v-e0272992]{margin:0;padding:0}.table-options-group .table-options-container ul li.visible[data-v-e0272992]{margin:0 0 10px 0}.sortable>SPAN[data-v-e0272992]{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.sortable>SPAN[data-v-e0272992]:active,.sortable>SPAN[data-v-e0272992]:hover{text-decoration:underline;color:var(--body-text)}.top-aligned th[data-v-e0272992]{vertical-align:top;padding-top:10px}thead tr[data-v-e0272992]{background-color:var(--sortable-table-header-bg);color:var(--body-text);text-align:left}thead tr[data-v-e0272992]:not(.loading){border-bottom:1px solid var(--sortable-table-top-divider)}th[data-v-e0272992]{padding:8px 5px;font-weight:400;border:0;color:var(--body-text)}th .table-header-container[data-v-e0272992]{display:inline-flex}th .table-header-container .content[data-v-e0272992]{display:flex;flex-direction:column}th .table-header-container.not-filterable[data-v-e0272992],th .table-header-container.not-filterable .icon-stack[data-v-e0272992]{margin-top:-2px}th .table-header-container .not-filter-icon[data-v-e0272992]{font-size:16px;color:var(--primary);vertical-align:super}th[data-v-e0272992]:first-child{padding-left:10px}th[data-v-e0272992]:last-child{padding-right:10px}th:not(.sortable)>SPAN[data-v-e0272992]{display:block;margin-bottom:2px}th A[data-v-e0272992]{color:var(--body-text)}@media only screen and (max-width:480px){th.desktop[data-v-e0272992],th.laptop[data-v-e0272992],th.tablet[data-v-e0272992]{display:none}}@media only screen and (max-width:992px){th.desktop[data-v-e0272992],th.laptop[data-v-e0272992]{display:none}}@media only screen and (max-width:1281px){th.desktop[data-v-e0272992]{display:none}}.icon-stack[data-v-e0272992]{width:12px}.icon-sort.faded[data-v-e0272992]{opacity:.3}",""]),t["default"]=s},9430:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".table-options-checkbox .checkbox-custom{min-width:14px}.table-options-checkbox .checkbox-label{color:var(--body-text)}",""]),t["default"]=s},1145:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".sortable-table.alt-loading[data-v-7eea7627]{opacity:.5;pointer-events:none}.advanced-filter-group[data-v-7eea7627]{position:relative;margin-left:10px}.advanced-filter-group .advanced-filter-container[data-v-7eea7627]{position:absolute;top:38px;right:0;width:300px;border:1px solid var(--primary);background-color:var(--body-bg);padding:20px;z-index:2}.advanced-filter-group .advanced-filter-container .middle-block[data-v-7eea7627]{display:flex;align-items:center;margin-top:20px}.advanced-filter-group .advanced-filter-container .middle-block span[data-v-7eea7627]{margin-right:20px}.advanced-filter-group .advanced-filter-container .middle-block button[data-v-7eea7627]{margin-left:20px}.advanced-filter-group .advanced-filter-container .bottom-block[data-v-7eea7627]{display:flex;align-items:center;margin-top:40px;justify-content:space-between}.advanced-filters-applied[data-v-7eea7627]{display:inline-flex;margin:0;padding:0;list-style:none;max-width:100%;flex-wrap:wrap;justify-content:flex-end}.advanced-filters-applied li[data-v-7eea7627]{margin:0 20px 10px 0;padding:2px 5px;border:1px solid;display:flex;align-items:center;position:relative;height:20px}.advanced-filters-applied li[data-v-7eea7627]:nth-child(4n+1){border-color:var(--success)}.advanced-filters-applied li:nth-child(4n+1) .bg[data-v-7eea7627]{background-color:var(--success)}.advanced-filters-applied li[data-v-7eea7627]:nth-child(4n+2){border-color:var(--warning)}.advanced-filters-applied li:nth-child(4n+2) .bg[data-v-7eea7627]{background-color:var(--warning)}.advanced-filters-applied li[data-v-7eea7627]:nth-child(4n+3){border-color:var(--info)}.advanced-filters-applied li:nth-child(4n+3) .bg[data-v-7eea7627]{background-color:var(--info)}.advanced-filters-applied li[data-v-7eea7627]:nth-child(4n+4){border-color:var(--error)}.advanced-filters-applied li:nth-child(4n+4) .bg[data-v-7eea7627]{background-color:var(--error)}.advanced-filters-applied li .bg[data-v-7eea7627]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:.2;z-index:-1}.advanced-filters-applied li .label[data-v-7eea7627]{margin-right:10px;font-size:11px}.advanced-filters-applied li .cross[data-v-7eea7627]{font-size:12px;font-weight:700;cursor:pointer}@media only screen and (max-width:480px){td.desktop[data-v-7eea7627],td.laptop[data-v-7eea7627],td.tablet[data-v-7eea7627]{display:none}}@media only screen and (max-width:992px){td.desktop[data-v-7eea7627],td.laptop[data-v-7eea7627]{display:none}}@media only screen and (max-width:1281px){td.desktop[data-v-7eea7627]{display:none}}tr td div.data-loading[data-v-7eea7627]{align-items:center;display:flex;justify-content:center;padding:20px 0}tr td div.data-loading>i[data-v-7eea7627]{font-size:20px;height:20px;margin-right:5px;width:20px}.search-box[data-v-7eea7627]{height:40px;margin-left:10px;min-width:180px}",""]),t["default"]=s},4448:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,'.filter-select .vs__selected-options .vs__selected{text-align:left}.sortable-table{border-collapse:collapse;min-width:400px;border-radius:5px 5px 0 0;outline:1px solid var(--border);overflow:hidden;background:var(--sortable-table-bg);border-radius:4px}.sortable-table.overflow-x{overflow-x:visible}.sortable-table.overflow-y{overflow-y:visible}.sortable-table td{padding:8px 5px;border:0}.sortable-table td:first-child{padding-left:10px}.sortable-table td:last-child{padding-right:10px}.sortable-table td.row-check{padding-top:12px}.sortable-table tbody tr{border-bottom:1px solid var(--sortable-table-top-divider);background-color:var(--sortable-table-row-bg)}.sortable-table tbody tr.main-row.has-sub-row{border-bottom:0}.sortable-table tbody tr.main-row:not(.row-selected):hover+.sub-row{background-color:var(--sortable-table-hover-bg)}.sortable-table tbody tr:last-of-type{border-bottom:0}.sortable-table tbody tr.sub-row-hovered,.sortable-table tbody tr:hover{background-color:var(--sortable-table-hover-bg)}.sortable-table tbody tr.state-description>td{font-size:13px;padding-top:0;overflow-wrap:anywhere}.sortable-table tbody tr.active-row{color:var(--sortable-table-header-bg)}.sortable-table tbody tr.row-selected{background:var(--sortable-table-selected-bg)}.sortable-table tbody .no-rows td{padding:30px 0;text-align:center}.sortable-table tbody .no-results:hover,.sortable-table tbody .no-rows:hover{background-color:var(--body-bg)}.sortable-table tbody.group:before{content:"";display:block;height:20px;background-color:transparent}.sortable-table tbody tr.group-row{background-color:initial}.sortable-table tbody tr.group-row:first-child{border-bottom:2px solid var(--sortable-table-row-bg)}.sortable-table tbody tr.group-row:not(:first-child){margin-top:20px}.sortable-table tbody tr.group-row td{padding:0}.sortable-table tbody tr.group-row td:first-of-type{border-left:1px solid var(--sortable-table-accent-bg)}.sortable-table tbody tr.group-row .group-tab{height:40px;line-height:40px;padding:0 10px;border-radius:4px 4px 0 0;background-color:var(--sortable-table-row-bg);position:relative;top:1px;display:inline-block;z-index:10;min-width:72px}.sortable-table tbody tr.group-row .group-tab:after,.sortable-table tbody tr.group-row .group-tab:before{content:" ";display:table}.sortable-table tbody tr.group-row .group-tab:after{clear:both}.sortable-table tbody tr.group-row .group-tab>SPAN{color:var(--sortable-table-group-label)}.sortable-table tbody tr.group-row .group-tab:after{height:40px;width:70px;border-radius:5px 5px 0 0;background-color:var(--sortable-table-row-bg);content:"";position:absolute;right:-15px;top:0;transform:skewX(40deg);z-index:-1}.for-inputs TABLE.sortable-table{width:100%;border-collapse:collapse;margin-bottom:10px}.for-inputs TABLE.sortable-table>TBODY>TR>TD,.for-inputs TABLE.sortable-table>THEAD>TR>TH{padding-right:10px;padding-bottom:10px}.for-inputs TABLE.sortable-table>TBODY>TR>TD:last-of-type,.for-inputs TABLE.sortable-table>THEAD>TR>TH:last-of-type{padding-right:0}.for-inputs TABLE.sortable-table>TBODY>TR:first-of-type>TD{padding-top:10px}.for-inputs TABLE.sortable-table>TBODY>TR:last-of-type>TD{padding-bottom:0}.for-inputs.clone TABLE.sortable-table>THEAD>TR>TH,.for-inputs.create TABLE.sortable-table>THEAD>TR>TH,.for-inputs.edit TABLE.sortable-table>THEAD>TR>TH{border-color:transparent}.sortable-table-header{position:relative;z-index:11}.sortable-table-header.titled{display:flex;align-items:center}.fixed-header-actions.button{grid-template-columns:[bulk] auto [middle] min-content [search] minmax(min-content,350px)}.fixed-header-actions{padding:0 0 20px 0;width:100%;z-index:11;background:transparent;display:grid;grid-template-columns:[bulk] auto [middle] min-content [search] minmax(min-content,200px);grid-column-gap:10px}.fixed-header-actions.advanced-filtering{grid-template-columns:[bulk] auto [middle] minmax(min-content,auto) [search] minmax(min-content,auto)}.fixed-header-actions .bulk{grid-area:bulk}.fixed-header-actions .bulk>BUTTON{display:none}.fixed-header-actions .bulk>BUTTON:not(:last-of-type){margin-right:10px}.fixed-header-actions .bulk .action-availability{display:none;margin-left:10px;vertical-align:middle;margin-top:2px}.fixed-header-actions .bulk .dropdown-button li.disabled{color:var(--disabled-text);cursor:not-allowed}.fixed-header-actions .bulk .dropdown-button li.disabled:hover{color:var(--disabled-text);background-color:unset;cursor:not-allowed}.fixed-header-actions .bulk .bulk-action .icon{vertical-align:-10%}.fixed-header-actions .middle{grid-area:middle;white-space:nowrap}.fixed-header-actions .middle .icon.icon-backup.animate{animation-name:spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fixed-header-actions .search{grid-area:search;text-align:right;justify-content:flex-end}.fixed-header-actions .bulk-actions-dropdown{display:none}.fixed-header-actions .bulk-actions-dropdown .dropdown-button{background-color:var(--primary)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button:hover{background-color:var(--primary-hover-bg);color:var(--primary-hover-text)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button .icon-chevron-down,.fixed-header-actions .bulk-actions-dropdown .dropdown-button>*{color:var(--primary-text)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button .button-divider{border-color:var(--primary-text)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button.disabled{border-color:var(--disabled-bg)}.fixed-header-actions .bulk-actions-dropdown .dropdown-button.disabled .icon-chevron-down{color:var(--disabled-text)!important}.fixed-header-actions .bulk-actions-dropdown .dropdown-button.disabled .button-divider{border-color:var(--disabled-text)}.paging{margin-top:10px;text-align:center}.paging SPAN{display:inline-block;min-width:200px}',""]),t["default"]=s},4944:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".tab-header[data-v-6f6df00a]{display:flex;justify-content:space-between;margin-bottom:15px;align-items:center}.tab-header h2[data-v-6f6df00a]{margin:0}",""]),t["default"]=s},8871:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".tabs[data-v-a9868d4a]{list-style-type:none;margin:0;padding:0}.tabs.horizontal[data-v-a9868d4a]{border:solid thin var(--border);border-bottom:0;display:flex;flex-direction:row}.tabs.horizontal+.tab-container[data-v-a9868d4a]{border:solid thin var(--border)}.tabs.horizontal .tab.active[data-v-a9868d4a]{border-bottom:solid 2px var(--primary)}.tabs[data-v-a9868d4a]:focus{outline:none}.tabs:focus .tab.active a span[data-v-a9868d4a]{text-decoration:underline}.tabs .tab[data-v-a9868d4a]{position:relative;float:left;padding:0 8px 0 0;cursor:pointer}.tabs .tab A[data-v-a9868d4a]{display:flex;align-items:center;padding:10px 15px}.tabs .tab A[data-v-a9868d4a]:hover{text-decoration:none}.tabs .tab A:hover span[data-v-a9868d4a]{text-decoration:underline}.tabs .tab .conditions-alert-icon[data-v-a9868d4a]{color:var(--error);padding-left:4px}.tabs .tab[data-v-a9868d4a]:last-child{padding-right:0}.tabs .tab.active>A[data-v-a9868d4a]{color:var(--primary);text-decoration:none}.tabs .tab.error A>i[data-v-a9868d4a]{color:var(--error)}.tabs .tab .tab-badge[data-v-a9868d4a]{margin-left:5px;background-color:var(--link);color:#fff;border-radius:6px;padding:1px 7px;font-size:11px}.tab-container[data-v-a9868d4a]{padding:20px}.tab-container.no-content[data-v-a9868d4a]{padding:0 0 3px 0}.tab-container--flat[data-v-a9868d4a]{padding:0}.tab-container--flat .side-tabs[data-v-a9868d4a]{box-shadow:unset}.tabs-only[data-v-a9868d4a]{margin-bottom:20px}.tabs-only .tab-container[data-v-a9868d4a]{display:none}.tabs-only .tabs[data-v-a9868d4a]{border:0;border-bottom:2px solid var(--border)}.side-tabs[data-v-a9868d4a]{display:flex;box-shadow:0 0 20px var(--shadow);border-radius:calc(var(--border-radius)*2);background-color:var(--tabbed-sidebar-bg)}.side-tabs .tab-container[data-v-a9868d4a]{padding:20px}.side-tabs .tabs[data-v-a9868d4a]{width:200px;min-width:200px;display:flex;flex:1 0;flex-direction:column}.side-tabs .tabs .tab[data-v-a9868d4a]{width:100%;border-left:5px solid transparent}.side-tabs .tabs .tab A[data-v-a9868d4a],.side-tabs .tabs .tab.toggle A[data-v-a9868d4a]{color:var(--primary)}.side-tabs .tabs .tab.active[data-v-a9868d4a]{background-color:var(--body-bg);border-left:solid 5px var(--primary)}.side-tabs .tabs .tab.active A[data-v-a9868d4a]{color:var(--input-label)}.side-tabs .tabs .tab.disabled[data-v-a9868d4a]{background-color:var(--disabled-bg)}.side-tabs .tabs .tab.disabled A[data-v-a9868d4a]{color:var(--disabled-text);text-decoration:none}.side-tabs .tabs .tab-list-footer[data-v-a9868d4a]{list-style:none;padding:0;margin-top:auto}.side-tabs .tabs .tab-list-footer li[data-v-a9868d4a]{display:flex;flex:1}.side-tabs .tabs .tab-list-footer li .btn[data-v-a9868d4a]{flex:1 1;display:flex;justify-content:center}.side-tabs .tabs .tab-list-footer li button[data-v-a9868d4a]:first-of-type{border-top:solid 1px var(--border);border-right:solid 1px var(--border);border-top-right-radius:0}.side-tabs .tabs .tab-list-footer li button[data-v-a9868d4a]:last-of-type{border-top:solid 1px var(--border);border-top-left-radius:0}.side-tabs .tab-container[data-v-a9868d4a]{width:calc(100% - 200px);flex-grow:1;background-color:var(--body-bg)}",""]),t["default"]=s},5790:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".labeled-select[data-v-217044c4]{position:relative;padding-bottom:1px}.labeled-select.no-label.compact-input[data-v-217044c4] .vs__actions:after{top:-2px}.labeled-select.no-label.compact-input .labeled-container[data-v-217044c4]{padding:5px 0 1px 10px}.labeled-select.no-label[data-v-217044c4]:not(.compact-input){height:61px;padding-top:4px}.labeled-select.no-label[data-v-217044c4]:not(.compact-input) .vs__actions:after{top:0}.labeled-select .icon-spinner[data-v-217044c4]{position:absolute;left:calc(50% - .5em);top:calc(50% - .5em)}.labeled-select .labeled-container[data-v-217044c4]{padding:7px 0 0 10px;padding:10px 0 0 10px}.labeled-select .labeled-container label[data-v-217044c4]{margin:0}.labeled-select .labeled-container .selected[data-v-217044c4]{background-color:transparent}.labeled-select.view.labeled-input .labeled-container[data-v-217044c4]{padding:0}.labeled-select.taggable.compact-input[data-v-217044c4]{min-height:40px}.labeled-select.taggable.compact-input[data-v-217044c4] .vs__selected-options{padding-top:8px!important}.labeled-select.taggable[data-v-217044c4]:not(.compact-input){min-height:61px}.labeled-select.taggable[data-v-217044c4]:not(.compact-input) .vs__selected-options{margin-top:0}.labeled-select[data-v-217044c4]:not(.taggable) .vs__selected-options .vs__selected{width:100%}.labeled-select.taggable[data-v-217044c4] .vs__selected-options{padding:3px 0}.labeled-select.taggable[data-v-217044c4] .vs__selected-options .vs__selected{border-color:var(--accent-btn);height:20px;min-height:unset!important;padding:0 0 0 7px!important}.labeled-select.taggable[data-v-217044c4] .vs__selected-options .vs__selected>button{height:20px;line-height:14px}.labeled-select.taggable[data-v-217044c4] .vs__selected-options .vs__selected>button:hover{background-color:var(--primary);border-radius:0}.labeled-select.taggable[data-v-217044c4] .vs__selected-options .vs__selected>button:hover:after{color:#fff}.labeled-select[data-v-217044c4] .vs__selected-options{margin-top:-5px}.labeled-select[data-v-217044c4] .v-select:not(.vs--single) .vs__selected-options{padding:5px 0}.labeled-select[data-v-217044c4] .vs__actions:after{position:relative;top:-10px}.labeled-select[data-v-217044c4] .v-select.vs--open .vs__dropdown-toggle{color:var(--outline)!important}[data-v-217044c4] .labeled-select.disabled .labeled-container,[data-v-217044c4] .labeled-select.disabled .vs__dropdown-toggle,[data-v-217044c4] .labeled-select.disabled input,[data-v-217044c4] .labeled-select.disabled label{cursor:not-allowed}.labeled-select .no-label[data-v-217044c4] .v-select:not(.vs--single){min-height:33px}.labeled-select .no-label[data-v-217044c4] .selected{padding-top:8px;padding-bottom:9px;position:relative;max-height:2.3em;overflow:hidden}.labeled-select .no-label[data-v-217044c4] .vs__selected-options{padding:8px 0 7px 0}.vs__dropdown-menu .vs__dropdown-option .vs__option-kind-group[data-v-217044c4]{display:flex;align-items:center}.vs__dropdown-menu .vs__dropdown-option .vs__option-kind-group i[data-v-217044c4]{width:18px}.vs__dropdown-menu .vs__dropdown-option .vs__option-kind-group>b[data-v-217044c4]{flex:1}.vs__dropdown-menu .vs__dropdown-option .vs__option-kind-group>div[data-v-217044c4]{background-color:var(--primary);border-radius:4px;color:var(--primary-text);font-size:12px;height:18px;line-height:18px;margin-top:1px;padding:0 10px}.vs__dropdown-menu .vs__dropdown-option .vs__option-kind.has-icon[data-v-217044c4],.vs__dropdown-menu.has-icon .vs__option-kind div[data-v-217044c4]{padding-left:18px}.vs__dropdown-menu .pagination-slot[data-v-217044c4]{display:flex;align-items:center;justify-content:center;position:relative;margin-top:5px}.vs__dropdown-menu .pagination-slot .load-more[data-v-217044c4]{display:flex;align-items:center;height:19px}.vs__dropdown-menu .pagination-slot .load-more a[data-v-217044c4]{cursor:pointer}.vs__dropdown-menu .pagination-slot .count[data-v-217044c4]{position:absolute;right:10px}.vs__dropdown-menu .no-options-slot .paginating[data-v-217044c4]{display:flex;align-items:center;justify-content:center}.vs__dropdown-option>.option-kind-highlighted[data-v-217044c4]{color:var(--dropdown-highlight-text)}.vs__dropdown-option.vs__dropdown-option--highlight>.option-kind-highlighted[data-v-217044c4],.vs__dropdown-option.vs__dropdown-option--selected>.option-kind-highlighted[data-v-217044c4],.vs__dropdown-option>.option-kind-highlighted[data-v-217044c4]:hover{color:var(--dropdown-hover-text)}.vs__dropdown-menu .vs__dropdown-option .only-user-opts[data-v-217044c4]{color:var(--dropdown-text);background-color:var(--dropdown-bg);margin:0 -5px;padding:3px 20px}",""]),t["default"]=s},2880:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".bar[data-v-b4f4e2ae]{width:100%;height:15px;border-radius:7.5px;overflow:hidden;position:relative}.bar .indicator[data-v-b4f4e2ae]{height:100%}.bar .slice[data-v-b4f4e2ae]{position:absolute;top:0;bottom:0;width:1px;background-color:var(--body-bg)}",""]),t["default"]=s},9715:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".badge-state[data-v-ddeb1b10]{align-items:center;display:inline-flex;padding:2px 10px;border:1px solid transparent;border-radius:20px}.badge-state.bg-info[data-v-ddeb1b10]{border-color:var(--info)}.badge-state.bg-error[data-v-ddeb1b10]{border-color:var(--error)}.badge-state.bg-warning[data-v-ddeb1b10]{border-color:var(--warning)}.badge-state.bg-success[data-v-ddeb1b10]{color:var(--success);background:transparent;border-color:var(--success)}",""]),t["default"]=s},8273:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".sortable-table TD .badge-state{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;word-wrap:break-word;display:inline-block;max-width:100%;position:relative;max-width:110px;font-size:.85em;vertical-align:middle}",""]),t["default"]=s},917:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".banner[data-v-5c473dc6]{display:flex;margin:15px 0;position:relative;width:100%;color:var(--body-text)}.banner__icon[data-v-5c473dc6]{width:48px;flex-grow:1;display:flex;justify-content:center;align-items:center;box-sizing:content-box}.primary .banner__icon[data-v-5c473dc6]{background:var(--primary)}.secondary .banner__icon[data-v-5c473dc6]{background:var(--default)}.success .banner__icon[data-v-5c473dc6]{background:var(--success)}.info .banner__icon[data-v-5c473dc6]{background:var(--info)}.warning .banner__icon[data-v-5c473dc6]{background:var(--warning)}.error .banner__icon[data-v-5c473dc6]{background:var(--error);color:var(--primary-text)}.banner__content[data-v-5c473dc6]{padding:10px;transition:all .2s ease;line-height:20px;width:100%;border-left:4px solid transparent;display:flex;gap:3px}.primary .banner__content[data-v-5c473dc6]{background:var(--primary);border-color:var(--primary)}.secondary .banner__content[data-v-5c473dc6]{background:var(--default-banner-bg);border-color:var(--default)}.success .banner__content[data-v-5c473dc6]{background:var(--success-banner-bg);border-color:var(--success)}.info .banner__content[data-v-5c473dc6]{background:var(--info-banner-bg);border-color:var(--info)}.warning .banner__content[data-v-5c473dc6]{background:var(--warning-banner-bg);border-color:var(--warning)}.error .banner__content[data-v-5c473dc6]{background:var(--error-banner-bg);border-color:var(--error);color:var(--error)}.banner__content.stacked[data-v-5c473dc6]{padding:0 10px;margin:0;transition:none}.banner__content.stacked[data-v-5c473dc6]:first-child{padding-top:10px}.banner__content.stacked[data-v-5c473dc6]:last-child{padding-bottom:10px}.banner__content.closable[data-v-5c473dc6]{padding-right:48px}.banner__content__closer[data-v-5c473dc6]{display:flex;align-items:center;cursor:pointer;position:absolute;top:0;right:0;bottom:0;width:24px;line-height:24px;text-align:center}.banner__content__closer .closer-icon[data-v-5c473dc6]{opacity:.7}.banner__content__closer .closer-icon[data-v-5c473dc6]:hover{opacity:1;color:var(--link)}.banner__content.icon[data-v-5c473dc6]{border-left:none}",""]),t["default"]=s},6984:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,'.checkbox-outer-container{display:inline-flex;flex-direction:column}.checkbox-outer-container-description{color:var(--input-label);font-size:14px;margin-left:19px;margin-top:5px;opacity:.8}.checkbox-container{position:relative;display:inline-flex;align-items:center;margin:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:var(--border-radius)}.checkbox-container .checkbox-label{color:var(--input-label);display:inline-flex;margin:0 10px 0 5px}.checkbox-container .checkbox-label.checkbox-primary{color:inherit;font-weight:600}.checkbox-container .checkbox-info{line-height:normal;margin-left:2px}.checkbox-container .checkbox-custom{height:14px;width:14px;background-color:var(--body-bg);border-radius:var(--border-radius);transition:all .3s ease-out;border:1px solid var(--border);flex-shrink:0}.checkbox-container input{opacity:0;position:absolute;z-index:-1}.checkbox-container input:checked~.checkbox-custom{background-color:var(--primary);transform:rotate(0deg) scale(1);opacity:1;border:1px solid var(--primary)}.checkbox-container .checkbox-custom:after{position:absolute;content:"";left:0;top:0;height:0;width:0;border-radius:var(--border-radius);border:solid;border-color:var(--input-text);border-width:0 3px 3px 0;transform:rotate(0deg) scale(0);opacity:1}.checkbox-container input:checked~.checkbox-custom:after{transform:rotate(45deg) scale(1);opacity:1;left:4px;width:4px;height:10px;border:solid;border-color:var(--checkbox-tick);border-width:0 2px 2px 0;background-color:transparent}.checkbox-container input:checked~.checkbox-custom.indeterminate:after{transform:scale(1);opacity:1;left:3px;top:2px;width:6px;height:5px;border:solid;border-color:var(--checkbox-tick);border-width:0 0 2px 0;background-color:transparent}.checkbox-container.disabled .checkbox-custom,.checkbox-container.disabled input:checked~.checkbox-custom{background-color:var(--checkbox-disabled-bg);border-color:var(--checkbox-disabled-bg)}.checkbox-container.disabled input:checked~.checkbox-custom:after{border-color:var(--checkbox-tick-disabled)}.checkbox-container.disabled{cursor:not-allowed}.checkbox-container .checkbox-view{display:flex;flex-direction:column}.checkbox-container .checkbox-view LABEL{color:var(--input-label)}',""]),t["default"]=s},8567:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".labeled-input.view input[data-v-40193f43]{text-overflow:ellipsis}.hideArrows input[data-v-40193f43]::-webkit-inner-spin-button,.hideArrows input[data-v-40193f43]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.hideArrows input[type=number][data-v-40193f43]{-moz-appearance:textfield}",""]),t["default"]=s},1649:function(e,t,n){"use strict";n.r(t);var r=n(6758),o=n.n(r),a=n(935),i=n.n(a),s=i()(o());s.push([e.id,".labeled-tooltip{position:absolute;width:100%;height:100%;left:0;top:0}.labeled-tooltip.hoverable{height:0}.labeled-tooltip .status-icon{position:absolute;right:30px;top:18px;z-index:3}.labeled-tooltip.error .status-icon{color:var(--error);top:7px;right:5px}.labeled-tooltip.warning .status-icon{color:var(--warning)}.labeled-tooltip.success .status-icon{color:var(--success)}.v-popper__popper.v-popper--theme-tooltip .v-popper__inner pre{padding:2px;vertical-align:middle}",""]),t["default"]=s},935:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r="undefined"!==typeof t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"===typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6758:function(e){"use strict";e.exports=function(e){return e[1]}},686:function(e,t,n){"use strict";var r=n(4940),o=n(5731),a=n(3468),i=n(9336);e.exports=function(e,t,n){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new a("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!i&&i(e,t);if(r)r(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:n,writable:null===l&&d?d.writable:!l});else{if(!u&&(s||l||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},1857:function(e,t,n){"use strict";var r=n(9228),o="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,s=n(686),l=function(e){return"function"===typeof e&&"[object Function]"===a.call(e)},c=n(7239)(),u=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if(!l(r)||!r())return;c?s(e,t,n,!0):s(e,t,n)},d=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s=3&&(a=n),"[object Array]"===o.call(e)?i(e,t,a):"string"===typeof e?s(e,t,a):l(e,t,a)};e.exports=c},8794:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,r=Math.max,o="[object Function]",a=function(e,t){for(var n=[],r=0;r1&&"boolean"!==typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===B(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=P(e),r=n.length>0?n[0]:"",o=R("%"+r+"%",t),a=o.name,i=o.value,s=!1,u=o.alias;u&&(r=u[0],O(n,A([0,1],u)));for(var d=1,p=!0;d=n.length){var b=f(i,h);p=!!b,i=p&&"get"in b&&!("originalValue"in b.get)?b.get:i[h]}else p=C(i,h),i=i[h];p&&!s&&(x[a]=i)}}return i}},9336:function(e,t,n){"use strict";var r=n(528),o=r("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch(a){o=null}e.exports=o},7239:function(e,t,n){"use strict";var r=n(4940),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},6869:function(e){"use strict";var t={__proto__:null,foo:{}},n={__proto__:t}.foo===t.foo&&!(t instanceof Object);e.exports=function(){return n}},3558:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,o=n(2908);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},2908:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(var o in e[t]=r,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(i.value!==r||!0!==i.enumerable)return!1}return!0}},1913:function(e,t,n){"use strict";var r=n(2908);e.exports=function(){return r()&&!!Symbol.toStringTag}},8554:function(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,a=n(9138);e.exports=a.call(r,o)},5615:function(e){"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},5387:function(e,t,n){"use strict";var r=n(1913)(),o=n(9818),a=o("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===a(e)},s=function(e){return!!i(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==a(e)&&"[object Function]"===a(e.callee)},l=function(){return i(arguments)}();i.isLegacyArguments=s,e.exports=l?i:s},9617:function(e){"use strict";var t,n,r=Function.prototype.toString,o="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof o&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},o((function(){throw 42}),null,t)}catch(y){y!==n&&(o=null)}else o=null;var a=/^\s*class\b/,i=function(e){try{var t=r.call(e);return a.test(t)}catch(n){return!1}},s=function(e){try{return!i(e)&&(r.call(e),!0)}catch(t){return!1}},l=Object.prototype.toString,c="[object Object]",u="[object Function]",d="[object GeneratorFunction]",p="[object HTMLAllCollection]",f="[object HTML document.all class]",h="[object HTMLCollection]",m="function"===typeof Symbol&&!!Symbol.toStringTag,g=!(0 in[,]),b=function(){return!1};if("object"===typeof document){var v=document.all;l.call(v)===l.call(document.all)&&(b=function(e){if((g||!e)&&("undefined"===typeof e||"object"===typeof e))try{var t=l.call(e);return(t===p||t===f||t===h||t===c)&&null==e("")}catch(n){}return!1})}e.exports=o?function(e){if(b(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;try{o(e,null,t)}catch(r){if(r!==n)return!1}return!i(e)&&s(e)}:function(e){if(b(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if(m)return s(e);if(i(e))return!1;var t=l.call(e);return!(t!==u&&t!==d&&!/^\[object HTML/.test(t))&&s(e)}},2625:function(e,t,n){"use strict";var r,o=Object.prototype.toString,a=Function.prototype.toString,i=/^\s*(?:function)?\*/,s=n(1913)(),l=Object.getPrototypeOf,c=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!==typeof e)return!1;if(i.test(a.call(e)))return!0;if(!s){var t=o.call(e);return"[object GeneratorFunction]"===t}if(!l)return!1;if("undefined"===typeof r){var n=c();r=!!n&&l(n)}return l(e)===r}},8006:function(e){"use strict";e.exports=function(e){return e!==e}},7838:function(e,t,n){"use strict";var r=n(8498),o=n(1857),a=n(8006),i=n(1591),s=n(1641),l=r(i(),Number);o(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},1591:function(e,t,n){"use strict";var r=n(8006);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},1641:function(e,t,n){"use strict";var r=n(1857),o=n(1591);e.exports=function(){var e=o();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},5943:function(e,t,n){"use strict";var r=n(2730);e.exports=function(e){return!!r(e)}},3103:function(e,t,n){var r=n(4715),o=n(8942),a=r(o,"DataView");e.exports=a},5098:function(e,t,n){var r=n(3305),o=n(9361),a=n(1112),i=n(5276),s=n(5071);function l(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t-1}e.exports=o},3316:function(e){function t(e,t,n){var r=-1,o=null==e?0:e.length;while(++r=c&&(p=l,f=!1,t=new r(t));e:while(++d0&&n(u)?t>1?a(u,t-1,n,i,s):r(s,u):i||(s[s.length]=u)}return s}e.exports=a},5636:function(e,t,n){var r=n(6596),o=r();e.exports=o},7170:function(e,t,n){var r=n(5636),o=n(1211);function a(e,t){return e&&r(e,t,o)}e.exports=a},7923:function(e,t,n){var r=n(3526),o=n(6040);function a(e,t){t=r(t,e);var n=0,a=t.length;while(null!=e&&n=c){var g=t?null:s(e);if(g)return l(g);f=!1,d=i,m=new r}else m=t?[]:h;e:while(++u1?n[a-1]:void 0,s=a>2?n[2]:void 0;i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);while(++rp))return!1;var h=u.get(e),m=u.get(t);if(h&&m)return h==t&&m==e;var g=-1,b=!0,v=n&s?new r:void 0;u.set(e,t),u.set(t,e);while(++g-1&&e%1==0&&e-1}e.exports=o},3964:function(e,t,n){var r=n(7034);function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}e.exports=o},9753:function(e,t,n){var r=n(5098),o=n(1386),a=n(9770);function i(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}e.exports=i},5681:function(e,t,n){var r=n(4700);function o(e){var t=r(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=o},88:function(e,t,n){var r=n(4700);function o(e){return r(this,e).get(e)}e.exports=o},4732:function(e,t,n){var r=n(4700);function o(e){return r(this,e).has(e)}e.exports=o},9068:function(e,t,n){var r=n(4700);function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}e.exports=o},5894:function(e){function t(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}e.exports=t},3904:function(e){function t(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=t},6853:function(e,t,n){var r=n(9011),o=500;function a(e){var t=r(e,(function(e){return n.size===o&&n.clear(),e})),n=t.cache;return t}e.exports=a},4497:function(e,t,n){var r=n(4715),o=r(Object,"create");e.exports=o},8121:function(e,t,n){var r=n(3766),o=r(Object.keys,Object);e.exports=o},8546:function(e){function t(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=t},2306:function(e,t,n){e=n.nmd(e);var r=n(4967),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o,s=i&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=l},9005:function(e){var t=Object.prototype,n=t.toString;function r(e){return n.call(e)}e.exports=r},3766:function(e){function t(e,t){return function(n){return e(t(n))}}e.exports=t},5234:function(e,t,n){var r=n(6912),o=Math.max;function a(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){var a=arguments,i=-1,s=o(a.length-t,0),l=Array(s);while(++i0){if(++o>=t)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}e.exports=o},4103:function(e,t,n){var r=n(1386);function o(){this.__data__=new r,this.size=0}e.exports=o},1779:function(e){function t(e){var t=this.__data__,n=t["delete"](e);return this.size=t.size,n}e.exports=t},4162:function(e){function t(e){return this.__data__.get(e)}e.exports=t},7462:function(e){function t(e){return this.__data__.has(e)}e.exports=t},6638:function(e,t,n){var r=n(1386),o=n(9770),a=n(8250),i=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length=t||n<0||b&&r>=d}function k(){var e=o();if(_(e))return E(e);f=setTimeout(k,x(e))}function E(e){return f=void 0,v&&c?y(e):(c=u=void 0,p)}function S(){void 0!==f&&clearTimeout(f),m=0,c=h=u=f=void 0}function C(){return void 0===f?p:E(o())}function A(){var e=o(),n=_(e);if(c=arguments,u=this,h=e,n){if(void 0===f)return w(h);if(b)return clearTimeout(f),f=setTimeout(k,t),y(h)}return void 0===f&&(f=setTimeout(k,t)),p}return t=a(t)||0,r(n)&&(g=!!n.leading,b="maxWait"in n,d=b?s(a(n.maxWait)||0,t):d,v="trailing"in n?!!n.trailing:v),A.cancel=S,A.flush=C,A}e.exports=c},8088:function(e,t,n){var r=n(6576),o=n(313),a=n(3945),i=n(5406),s=a((function(e,t){return i(e)?r(e,o(t,1,i,!0)):[]}));e.exports=s},6285:function(e){function t(e,t){return e===t||e!==e&&t!==t}e.exports=t},2154:function(e,t,n){var r=n(7250),o=n(3334),a=n(7642),i=Math.max;function s(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:a(n);return l<0&&(l=i(s+l,0)),r(e,o(t,3),l)}e.exports=s},3435:function(e,t,n){var r=n(313),o=1/0;function a(e){var t=null==e?0:e.length;return t?r(e,o):[]}e.exports=a},6123:function(e,t,n){var r=n(7923);function o(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}e.exports=o},7276:function(e,t,n){var r=n(3636),o=n(5899);function a(e,t){return null!=e&&o(e,t,r)}e.exports=a},3981:function(e){function t(e){return e&&e.length?e[0]:void 0}e.exports=t},2053:function(e){function t(e){return e}e.exports=t},3283:function(e,t,n){var r=n(6027),o=n(547),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},3142:function(e){var t=Array.isArray;e.exports=t},6529:function(e,t,n){var r=n(3655),o=n(7768);function a(e){return null!=e&&o(e.length)&&!r(e)}e.exports=a},5406:function(e,t,n){var r=n(6529),o=n(547);function a(e){return o(e)&&r(e)}e.exports=a},5853:function(e,t,n){e=n.nmd(e);var r=n(8942),o=n(4772),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,s=i&&i.exports===a,l=s?r.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||o;e.exports=u},3514:function(e,t,n){var r=n(195),o=n(8486),a=n(3283),i=n(3142),s=n(6529),l=n(5853),c=n(4882),u=n(8666),d="[object Map]",p="[object Set]",f=Object.prototype,h=f.hasOwnProperty;function m(e){if(null==e)return!0;if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||a(e)))return!e.length;var t=o(e);if(t==d||t==p)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}e.exports=m},6343:function(e,t,n){var r=n(4687);function o(e,t){return r(e,t)}e.exports=o},3655:function(e,t,n){var r=n(7379),o=n(1580),a="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function c(e){if(!o(e))return!1;var t=r(e);return t==i||t==s||t==a||t==l}e.exports=c},7768:function(e){var t=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}e.exports=n},7681:function(e,t,n){var r=n(777),o=n(9460),a=n(2306),i=a&&a.isMap,s=i?o(i):r;e.exports=s},1580:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},547:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},8360:function(e,t,n){var r=n(7379),o=n(4784),a=n(547),i="[object Object]",s=Function.prototype,l=Object.prototype,c=s.toString,u=l.hasOwnProperty,d=c.call(Object);function p(e){if(!a(e)||r(e)!=i)return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==d}e.exports=p},3943:function(e,t,n){var r=n(1935),o=n(9460),a=n(2306),i=a&&a.isSet,s=i?o(i):r;e.exports=s},8138:function(e,t,n){var r=n(7379),o=n(3142),a=n(547),i="[object String]";function s(e){return"string"==typeof e||!o(e)&&a(e)&&r(e)==i}e.exports=s},1187:function(e,t,n){var r=n(7379),o=n(547),a="[object Symbol]";function i(e){return"symbol"==typeof e||o(e)&&r(e)==a}e.exports=i},8666:function(e,t,n){var r=n(674),o=n(9460),a=n(2306),i=a&&a.isTypedArray,s=i?o(i):r;e.exports=s},1211:function(e,t,n){var r=n(358),o=n(195),a=n(6529);function i(e){return a(e)?r(e):o(e)}e.exports=i},5288:function(e,t,n){var r=n(358),o=n(7200),a=n(6529);function i(e){return a(e)?r(e,!0):o(e)}e.exports=i},5250:function(e,t,n){var r; /** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */e=n.nmd(e),function(){var o,a="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,p="__lodash_placeholder__",f=1,h=2,m=4,g=1,b=2,v=1,y=2,w=4,x=8,_=16,k=32,E=64,S=128,C=256,A=512,O=30,T="...",N=800,B=16,j=1,D=2,P=3,R=1/0,I=9007199254740991,L=17976931348623157e292,M=NaN,$=4294967295,V=$-1,F=$>>>1,U=[["ary",S],["bind",v],["bindKey",y],["curry",x],["curryRight",_],["flip",A],["partial",k],["partialRight",E],["rearg",C]],z="[object Arguments]",W="[object Array]",q="[object AsyncFunction]",H="[object Boolean]",K="[object Date]",G="[object DOMException]",X="[object Error]",Y="[object Function]",J="[object GeneratorFunction]",Q="[object Map]",Z="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",re="[object Proxy]",oe="[object RegExp]",ae="[object Set]",ie="[object String]",se="[object Symbol]",le="[object Undefined]",ce="[object WeakMap]",ue="[object WeakSet]",de="[object ArrayBuffer]",pe="[object DataView]",fe="[object Float32Array]",he="[object Float64Array]",me="[object Int8Array]",ge="[object Int16Array]",be="[object Int32Array]",ve="[object Uint8Array]",ye="[object Uint8ClampedArray]",we="[object Uint16Array]",xe="[object Uint32Array]",_e=/\b__p \+= '';/g,ke=/\b(__p \+=) '' \+/g,Ee=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Se=/&(?:amp|lt|gt|quot|#39);/g,Ce=/[&<>"']/g,Ae=RegExp(Se.source),Oe=RegExp(Ce.source),Te=/<%-([\s\S]+?)%>/g,Ne=/<%([\s\S]+?)%>/g,Be=/<%=([\s\S]+?)%>/g,je=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,De=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Re.source),Le=/^\s+/,Me=/\s/,$e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ve=/\{\n\/\* \[wrapped with (.+)\] \*/,Fe=/,? & /,Ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ze=/[()=,{}\[\]\/\s]/,We=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,He=/\w*$/,Ke=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Xe=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ze=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",rt="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",at=nt+rt+ot,it="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ut="\\u2000-\\u206f",dt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="A-Z\\xc0-\\xd6\\xd8-\\xde",ft="\\ufe0e\\ufe0f",ht=lt+ct+ut+dt,mt="['’]",gt="["+tt+"]",bt="["+ht+"]",vt="["+at+"]",yt="\\d+",wt="["+it+"]",xt="["+st+"]",_t="[^"+tt+ht+yt+it+st+pt+"]",kt="\\ud83c[\\udffb-\\udfff]",Et="(?:"+vt+"|"+kt+")",St="[^"+tt+"]",Ct="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",Ot="["+pt+"]",Tt="\\u200d",Nt="(?:"+xt+"|"+_t+")",Bt="(?:"+Ot+"|"+_t+")",jt="(?:"+mt+"(?:d|ll|m|re|s|t|ve))?",Dt="(?:"+mt+"(?:D|LL|M|RE|S|T|VE))?",Pt=Et+"?",Rt="["+ft+"]?",It="(?:"+Tt+"(?:"+[St,Ct,At].join("|")+")"+Rt+Pt+")*",Lt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",$t=Rt+Pt+It,Vt="(?:"+[wt,Ct,At].join("|")+")"+$t,Ft="(?:"+[St+vt+"?",vt,Ct,At,gt].join("|")+")",Ut=RegExp(mt,"g"),zt=RegExp(vt,"g"),Wt=RegExp(kt+"(?="+kt+")|"+Ft+$t,"g"),qt=RegExp([Ot+"?"+xt+"+"+jt+"(?="+[bt,Ot,"$"].join("|")+")",Bt+"+"+Dt+"(?="+[bt,Ot+Nt,"$"].join("|")+")",Ot+"?"+Nt+"+"+jt,Ot+"+"+Dt,Mt,Lt,yt,Vt].join("|"),"g"),Ht=RegExp("["+Tt+tt+at+ft+"]"),Kt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xt=-1,Yt={};Yt[fe]=Yt[he]=Yt[me]=Yt[ge]=Yt[be]=Yt[ve]=Yt[ye]=Yt[we]=Yt[xe]=!0,Yt[z]=Yt[W]=Yt[de]=Yt[H]=Yt[pe]=Yt[K]=Yt[X]=Yt[Y]=Yt[Q]=Yt[Z]=Yt[te]=Yt[oe]=Yt[ae]=Yt[ie]=Yt[ce]=!1;var Jt={};Jt[z]=Jt[W]=Jt[de]=Jt[pe]=Jt[H]=Jt[K]=Jt[fe]=Jt[he]=Jt[me]=Jt[ge]=Jt[be]=Jt[Q]=Jt[Z]=Jt[te]=Jt[oe]=Jt[ae]=Jt[ie]=Jt[se]=Jt[ve]=Jt[ye]=Jt[we]=Jt[xe]=!0,Jt[X]=Jt[Y]=Jt[ce]=!1;var Qt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Zt={"&":"&","<":"<",">":">",'"':""","'":"'"},en={"&":"&","<":"<",">":">",""":'"',"'":"'"},tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,an="object"==typeof self&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),ln=t&&!t.nodeType&&t,cn=ln&&e&&!e.nodeType&&e,un=cn&&cn.exports===ln,dn=un&&on.process,pn=function(){try{var e=cn&&cn.require&&cn.require("util").types;return e||dn&&dn.binding&&dn.binding("util")}catch(t){}}(),fn=pn&&pn.isArrayBuffer,hn=pn&&pn.isDate,mn=pn&&pn.isMap,gn=pn&&pn.isRegExp,bn=pn&&pn.isSet,vn=pn&&pn.isTypedArray;function yn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function wn(e,t,n,r){var o=-1,a=null==e?0:e.length;while(++o-1}function Cn(e,t,n){var r=-1,o=null==e?0:e.length;while(++r-1);return n}function Zn(e,t){var n=e.length;while(n--&&Ln(t,e[n],0)>-1);return n}function er(e,t){var n=e.length,r=0;while(n--)e[n]===t&&++r;return r}var tr=Un(Qt),nr=Un(Zt);function rr(e){return"\\"+tn[e]}function or(e,t){return null==e?o:e[t]}function ar(e){return Ht.test(e)}function ir(e){return Kt.test(e)}function sr(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function lr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cr(e,t){return function(n){return e(t(n))}}function ur(e,t){var n=-1,r=e.length,o=0,a=[];while(++n-1}function Ur(e,t){var n=this.__data__,r=uo(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function zr(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=t?e:t)),e}function vo(e,t,n,r,a,i){var s,l=t&f,c=t&h,u=t&m;if(n&&(s=a?n(e,r,a,i):n(e)),s!==o)return s;if(!Eu(e))return e;var d=lu(e);if(d){if(s=ts(e),!l)return oi(e,s)}else{var p=Ji(e),g=p==Y||p==J;if(fu(e))return Ga(e,l);if(p==te||p==z||g&&!a){if(s=c||g?{}:ns(e),!l)return c?si(e,ho(s,e)):ii(e,fo(s,e))}else{if(!Jt[p])return a?e:{};s=rs(e,p,l)}}i||(i=new Qr);var b=i.get(e);if(b)return b;i.set(e,s),Lu(e)?e.forEach((function(r){s.add(vo(r,t,n,r,e,i))})):Cu(e)&&e.forEach((function(r,o){s.set(o,vo(r,t,n,o,e,i))}));var v=u?c?Vi:$i:c?kd:_d,y=d?o:v(e);return xn(y||e,(function(r,o){y&&(o=r,r=e[o]),co(s,o,vo(r,t,n,o,e,i))})),s}function yo(e){var t=_d(e);return function(n){return wo(n,e,t)}}function wo(e,t,n){var r=n.length;if(null==e)return!r;e=nt(e);while(r--){var a=n[r],i=t[a],s=e[a];if(s===o&&!(a in e)||!i(s))return!1}return!0}function xo(e,t,n){if("function"!=typeof e)throw new at(l);return Ss((function(){e.apply(o,n)}),t)}function _o(e,t,n,r){var o=-1,a=Sn,s=!0,l=e.length,c=[],u=t.length;if(!l)return c;n&&(t=An(t,Xn(n))),r?(a=Cn,s=!1):t.length>=i&&(a=Jn,s=!1,t=new Xr(t));e:while(++oa?0:a+n),r=r===o||r>a?a:Gu(r),r<0&&(r+=a),r=n>r?0:Xu(r);while(n0&&n(s)?t>1?To(s,t-1,n,r,o):On(o,s):r||(o[o.length]=s)}return o}var No=di(),Bo=di(!0);function jo(e,t){return e&&No(e,t,_d)}function Do(e,t){return e&&Bo(e,t,_d)}function Po(e,t){return En(t,(function(t){return xu(e[t])}))}function Ro(e,t){t=Wa(t,e);var n=0,r=t.length;while(null!=e&&nt}function $o(e,t){return null!=e&&dt.call(e,t)}function Vo(e,t){return null!=e&&t in nt(e)}function Fo(e,t,n){return e>=Ft(t,n)&&e=120&&p.length>=120)?new Xr(l&&p):o}p=e[0];var f=-1,h=c[0];e:while(++f-1)s!==e&&St.call(s,l,1),St.call(e,l,1)}return e}function ba(e,t){var n=e?t.length:0,r=n-1;while(n--){var o=t[n];if(n==r||o!==a){var a=o;is(o)?St.call(e,o,1):Ia(e,o)}}return e}function va(e,t){return e+Pt(Ht()*(t-e+1))}function ya(e,t,r,o){var a=-1,i=Vt(Dt((t-e)/(r||1)),0),s=n(i);while(i--)s[o?i:++a]=e,e+=r;return s}function wa(e,t){var n="";if(!e||t<1||t>I)return n;do{t%2&&(n+=e),t=Pt(t/2),t&&(e+=e)}while(t);return n}function xa(e,t){return Cs(ws(e,t,Np),e+"")}function _a(e){return ao(Fd(e))}function ka(e,t){var n=Fd(e);return Ts(n,bo(t,0,n.length))}function Ea(e,t,n,r){if(!Eu(e))return e;t=Wa(t,e);var a=-1,i=t.length,s=i-1,l=e;while(null!=l&&++aa?0:a+t),r=r>a?a:r,r<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;var i=n(a);while(++o>>1,i=e[a];null!==i&&!$u(i)&&(n?i<=t:i=i){var u=t?null:Ti(e);if(u)return dr(u);s=!1,o=Jn,c=new Xr}else c=t?[]:l;e:while(++r=r?e:Oa(e,t,n)}var Ka=Nt||function(e){return sn.clearTimeout(e)};function Ga(e,t){if(t)return e.slice();var n=e.length,r=xt?xt(n):new e.constructor(n);return e.copy(r),r}function Xa(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function Ya(e,t){var n=t?Xa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ja(e){var t=new e.constructor(e.source,He.exec(e));return t.lastIndex=e.lastIndex,t}function Qa(e){return yr?nt(yr.call(e)):{}}function Za(e,t){var n=t?Xa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ei(e,t){if(e!==t){var n=e!==o,r=null===e,a=e===e,i=$u(e),s=t!==o,l=null===t,c=t===t,u=$u(t);if(!l&&!u&&!i&&e>t||i&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!a)return 1;if(!r&&!i&&!u&&e=s)return l;var c=n[r];return l*("desc"==c?-1:1)}}return e.index-t.index}function ni(e,t,r,o){var a=-1,i=e.length,s=r.length,l=-1,c=t.length,u=Vt(i-s,0),d=n(c+u),p=!o;while(++l1?n[a-1]:o,s=a>2?n[2]:o;i=e.length>3&&"function"==typeof i?(a--,i):o,s&&ss(n[0],n[1],s)&&(i=a<3?o:i,a=1),t=nt(t);while(++r-1?a[i?t[s]:s]:o}}function vi(e){return Mi((function(t){var n=t.length,r=n,a=Cr.prototype.thru;e&&t.reverse();while(r--){var i=t[r];if("function"!=typeof i)throw new at(l);if(a&&!s&&"wrapper"==Ui(i))var s=new Cr([],!0)}r=s?r:n;while(++r1&&v.reverse(),p&&ul))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,h=n&b?new Xr:o;i.set(e,t),i.set(t,e);while(++p1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace($e,"{\n/* [wrapped with "+t+"] */\n")}function as(e){return lu(e)||su(e)||!!(Ct&&e&&e[Ct])}function is(e,t){var n=typeof e;return t=null==t?I:t,!!t&&("number"==n||"symbol"!=n&&Je.test(e))&&e>-1&&e%1==0&&e0){if(++t>=N)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ts(e,t){var n=-1,r=e.length,a=r-1;t=t===o?r:t;while(++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,Il(e,n)}));function ql(e){var t=_r(e);return t.__chain__=!0,t}function Hl(e,t){return t(e),e}function Kl(e,t){return t(e)}var Gl=Mi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return go(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Ar&&is(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Kl,args:[a],thisArg:o}),new Cr(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(a)}));function Xl(){return ql(this)}function Yl(){return new Cr(this.value(),this.__chain__)}function Jl(){this.__values__===o&&(this.__values__=Hu(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function Ql(){return this}function Zl(e){var t,n=this;while(n instanceof Sr){var r=Ps(n);r.__index__=0,r.__values__=o,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t}function ec(){var e=this.__wrapped__;if(e instanceof Ar){var t=e;return this.__actions__.length&&(t=new Ar(this)),t=t.reverse(),t.__actions__.push({func:Kl,args:[hl],thisArg:o}),new Cr(t,this.__chain__)}return this.thru(hl)}function tc(){return $a(this.__wrapped__,this.__actions__)}var nc=li((function(e,t,n){dt.call(e,n)?++e[n]:mo(e,n,1)}));function rc(e,t,n){var r=lu(e)?kn:So;return n&&ss(e,t,n)&&(t=o),r(e,Wi(t,3))}function oc(e,t){var n=lu(e)?En:Oo;return n(e,Wi(t,3))}var ac=bi(Hs),ic=bi(Ks);function sc(e,t){return To(gc(e,t),1)}function lc(e,t){return To(gc(e,t),R)}function cc(e,t,n){return n=n===o?1:Gu(n),To(gc(e,t),n)}function uc(e,t){var n=lu(e)?xn:ko;return n(e,Wi(t,3))}function dc(e,t){var n=lu(e)?_n:Eo;return n(e,Wi(t,3))}var pc=li((function(e,t,n){dt.call(e,n)?e[n].push(t):mo(e,n,[t])}));function fc(e,t,n,r){e=uu(e)?e:Fd(e),n=n&&!r?Gu(n):0;var o=e.length;return n<0&&(n=Vt(o+n,0)),Mu(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ln(e,t,n)>-1}var hc=xa((function(e,t,r){var o=-1,a="function"==typeof t,i=uu(e)?n(e.length):[];return ko(e,(function(e){i[++o]=a?yn(t,e,r):Wo(e,t,r)})),i})),mc=li((function(e,t,n){mo(e,n,t)}));function gc(e,t){var n=lu(e)?An:ia;return n(e,Wi(t,3))}function bc(e,t,n,r){return null==e?[]:(lu(t)||(t=null==t?[]:[t]),n=r?o:n,lu(n)||(n=null==n?[]:[n]),pa(e,t,n))}var vc=li((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function yc(e,t,n){var r=lu(e)?Tn:zn,o=arguments.length<3;return r(e,Wi(t,4),n,o,ko)}function wc(e,t,n){var r=lu(e)?Nn:zn,o=arguments.length<3;return r(e,Wi(t,4),n,o,Eo)}function xc(e,t){var n=lu(e)?En:Oo;return n(e,Fc(Wi(t,3)))}function _c(e){var t=lu(e)?ao:_a;return t(e)}function kc(e,t,n){t=(n?ss(e,t,n):t===o)?1:Gu(t);var r=lu(e)?io:ka;return r(e,t)}function Ec(e){var t=lu(e)?so:Aa;return t(e)}function Sc(e){if(null==e)return 0;if(uu(e))return Mu(e)?mr(e):e.length;var t=Ji(e);return t==Q||t==ae?e.size:ra(e).length}function Cc(e,t,n){var r=lu(e)?Bn:Ta;return n&&ss(e,t,n)&&(t=o),r(e,Wi(t,3))}var Ac=xa((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),pa(e,To(t,1),[])})),Oc=Bt||function(){return sn.Date.now()};function Tc(e,t){if("function"!=typeof t)throw new at(l);return e=Gu(e),function(){if(--e<1)return t.apply(this,arguments)}}function Nc(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Bi(e,S,o,o,o,o,t)}function Bc(e,t){var n;if("function"!=typeof t)throw new at(l);return e=Gu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var jc=xa((function(e,t,n){var r=v;if(n.length){var o=ur(n,zi(jc));r|=k}return Bi(e,r,t,n,o)})),Dc=xa((function(e,t,n){var r=v|y;if(n.length){var o=ur(n,zi(Dc));r|=k}return Bi(t,r,e,n,o)}));function Pc(e,t,n){t=n?o:t;var r=Bi(e,x,o,o,o,o,o,t);return r.placeholder=Pc.placeholder,r}function Rc(e,t,n){t=n?o:t;var r=Bi(e,_,o,o,o,o,o,t);return r.placeholder=Rc.placeholder,r}function Ic(e,t,n){var r,a,i,s,c,u,d=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new at(l);function m(t){var n=r,i=a;return r=a=o,d=t,s=e.apply(i,n),s}function g(e){return d=e,c=Ss(y,t),p?m(e):s}function b(e){var n=e-u,r=e-d,o=t-n;return f?Ft(o,i-r):o}function v(e){var n=e-u,r=e-d;return u===o||n>=t||n<0||f&&r>=i}function y(){var e=Oc();if(v(e))return w(e);c=Ss(y,b(e))}function w(e){return c=o,h&&r?m(e):(r=a=o,s)}function x(){c!==o&&Ka(c),d=0,r=u=a=c=o}function _(){return c===o?s:w(Oc())}function k(){var e=Oc(),n=v(e);if(r=arguments,a=this,u=e,n){if(c===o)return g(u);if(f)return Ka(c),c=Ss(y,t),m(u)}return c===o&&(c=Ss(y,t)),s}return t=Yu(t)||0,Eu(n)&&(p=!!n.leading,f="maxWait"in n,i=f?Vt(Yu(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),k.cancel=x,k.flush=_,k}var Lc=xa((function(e,t){return xo(e,1,t)})),Mc=xa((function(e,t,n){return xo(e,Yu(t)||0,n)}));function $c(e){return Bi(e,A)}function Vc(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new at(l);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(Vc.Cache||zr),n}function Fc(e){if("function"!=typeof e)throw new at(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Uc(e){return Bc(2,e)}Vc.Cache=zr;var zc=qa((function(e,t){t=1==t.length&&lu(t[0])?An(t[0],Xn(Wi())):An(To(t,1),Xn(Wi()));var n=t.length;return xa((function(r){var o=-1,a=Ft(r.length,n);while(++o=t})),su=qo(function(){return arguments}())?qo:function(e){return Su(e)&&dt.call(e,"callee")&&!Et.call(e,"callee")},lu=n.isArray,cu=fn?Xn(fn):Ho;function uu(e){return null!=e&&ku(e.length)&&!xu(e)}function du(e){return Su(e)&&uu(e)}function pu(e){return!0===e||!1===e||Su(e)&&Lo(e)==H}var fu=It||Gp,hu=hn?Xn(hn):Ko;function mu(e){return Su(e)&&1===e.nodeType&&!Pu(e)}function gu(e){if(null==e)return!0;if(uu(e)&&(lu(e)||"string"==typeof e||"function"==typeof e.splice||fu(e)||Vu(e)||su(e)))return!e.length;var t=Ji(e);if(t==Q||t==ae)return!e.size;if(fs(e))return!ra(e).length;for(var n in e)if(dt.call(e,n))return!1;return!0}function bu(e,t){return Go(e,t)}function vu(e,t,n){n="function"==typeof n?n:o;var r=n?n(e,t):o;return r===o?Go(e,t,o,n):!!r}function yu(e){if(!Su(e))return!1;var t=Lo(e);return t==X||t==G||"string"==typeof e.message&&"string"==typeof e.name&&!Pu(e)}function wu(e){return"number"==typeof e&&Lt(e)}function xu(e){if(!Eu(e))return!1;var t=Lo(e);return t==Y||t==J||t==q||t==re}function _u(e){return"number"==typeof e&&e==Gu(e)}function ku(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=I}function Eu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Su(e){return null!=e&&"object"==typeof e}var Cu=mn?Xn(mn):Yo;function Au(e,t){return e===t||Jo(e,t,Hi(t))}function Ou(e,t,n){return n="function"==typeof n?n:o,Jo(e,t,Hi(t),n)}function Tu(e){return Du(e)&&e!=+e}function Nu(e){if(ps(e))throw new Me(s);return Qo(e)}function Bu(e){return null===e}function ju(e){return null==e}function Du(e){return"number"==typeof e||Su(e)&&Lo(e)==Z}function Pu(e){if(!Su(e)||Lo(e)!=te)return!1;var t=_t(e);if(null===t)return!0;var n=dt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&ut.call(n)==mt}var Ru=gn?Xn(gn):Zo;function Iu(e){return _u(e)&&e>=-I&&e<=I}var Lu=bn?Xn(bn):ea;function Mu(e){return"string"==typeof e||!lu(e)&&Su(e)&&Lo(e)==ie}function $u(e){return"symbol"==typeof e||Su(e)&&Lo(e)==se}var Vu=vn?Xn(vn):ta;function Fu(e){return e===o}function Uu(e){return Su(e)&&Ji(e)==ce}function zu(e){return Su(e)&&Lo(e)==ue}var Wu=Ci(aa),qu=Ci((function(e,t){return e<=t}));function Hu(e){if(!e)return[];if(uu(e))return Mu(e)?gr(e):oi(e);if(At&&e[At])return sr(e[At]());var t=Ji(e),n=t==Q?lr:t==ae?dr:Fd;return n(e)}function Ku(e){if(!e)return 0===e?e:0;if(e=Yu(e),e===R||e===-R){var t=e<0?-1:1;return t*L}return e===e?e:0}function Gu(e){var t=Ku(e),n=t%1;return t===t?n?t-n:t:0}function Xu(e){return e?bo(Gu(e),0,$):0}function Yu(e){if("number"==typeof e)return e;if($u(e))return M;if(Eu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Eu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Gn(e);var n=Ge.test(e);return n||Ye.test(e)?rn(e.slice(2),n?2:8):Ke.test(e)?M:+e}function Ju(e){return ai(e,kd(e))}function Qu(e){return e?bo(Gu(e),-I,I):0===e?e:0}function Zu(e){return null==e?"":Pa(e)}var ed=ci((function(e,t){if(fs(t)||uu(t))ai(t,_d(t),e);else for(var n in t)dt.call(t,n)&&co(e,n,t[n])})),td=ci((function(e,t){ai(t,kd(t),e)})),nd=ci((function(e,t,n,r){ai(t,kd(t),e,r)})),rd=ci((function(e,t,n,r){ai(t,_d(t),e,r)})),od=Mi(go);function ad(e,t){var n=Er(e);return null==t?n:fo(n,t)}var id=xa((function(e,t){e=nt(e);var n=-1,r=t.length,a=r>2?t[2]:o;a&&ss(t[0],t[1],a)&&(r=1);while(++n1),t})),ai(e,Vi(e),n),r&&(n=vo(n,f|h|m,Pi));var o=t.length;while(o--)Ia(n,t[o]);return n}));function Td(e,t){return Bd(e,Fc(Wi(t)))}var Nd=Mi((function(e,t){return null==e?{}:fa(e,t)}));function Bd(e,t){if(null==e)return{};var n=An(Vi(e),(function(e){return[e]}));return t=Wi(t),ha(e,n,(function(e,n){return t(e,n[0])}))}function jd(e,t,n){t=Wa(t,e);var r=-1,a=t.length;a||(a=1,e=o);while(++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var a=Ht();return Ft(e+a*(t-e+nn("1e-"+((a+"").length-1))),t)}return va(e,t)}var Hd=hi((function(e,t,n){return t=t.toLowerCase(),e+(n?Kd(t):t)}));function Kd(e){return wp(Zu(e).toLowerCase())}function Gd(e){return e=Zu(e),e&&e.replace(Qe,tr).replace(zt,"")}function Xd(e,t,n){e=Zu(e),t=Pa(t);var r=e.length;n=n===o?r:bo(Gu(n),0,r);var a=n;return n-=t.length,n>=0&&e.slice(n,a)==t}function Yd(e){return e=Zu(e),e&&Oe.test(e)?e.replace(Ce,nr):e}function Jd(e){return e=Zu(e),e&&Ie.test(e)?e.replace(Re,"\\$&"):e}var Qd=hi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Zd=hi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),ep=fi("toLowerCase");function tp(e,t,n){e=Zu(e),t=Gu(t);var r=t?mr(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ki(Pt(o),n)+e+ki(Dt(o),n)}function np(e,t,n){e=Zu(e),t=Gu(t);var r=t?mr(e):0;return t&&r>>0,n?(e=Zu(e),e&&("string"==typeof t||null!=t&&!Ru(t))&&(t=Pa(t),!t&&ar(e))?Ha(gr(e),0,n):e.split(t,n)):[]}var cp=hi((function(e,t,n){return e+(n?" ":"")+wp(t)}));function up(e,t,n){return e=Zu(e),n=null==n?0:bo(Gu(n),0,e.length),t=Pa(t),e.slice(n,n+t.length)==t}function dp(e,t,n){var r=_r.templateSettings;n&&ss(e,t,n)&&(t=o),e=Zu(e),t=nd({},t,r,ji);var a,i,s=nd({},t.imports,r.imports,ji),l=_d(s),u=Yn(s,l),d=0,p=t.interpolate||Ze,f="__p += '",h=rt((t.escape||Ze).source+"|"+p.source+"|"+(p===Be?qe:Ze).source+"|"+(t.evaluate||Ze).source+"|$","g"),m="//# sourceURL="+(dt.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xt+"]")+"\n";e.replace(h,(function(t,n,r,o,s,l){return r||(r=o),f+=e.slice(d,l).replace(et,rr),n&&(a=!0,f+="' +\n__e("+n+") +\n'"),s&&(i=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),d=l+t.length,t})),f+="';\n";var g=dt.call(t,"variable")&&t.variable;if(g){if(ze.test(g))throw new Me(c)}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(_e,""):f).replace(ke,"$1").replace(Ee,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=_p((function(){return Ue(l,m+"return "+f).apply(o,u)}));if(b.source=f,yu(b))throw b;return b}function pp(e){return Zu(e).toLowerCase()}function fp(e){return Zu(e).toUpperCase()}function hp(e,t,n){if(e=Zu(e),e&&(n||t===o))return Gn(e);if(!e||!(t=Pa(t)))return e;var r=gr(e),a=gr(t),i=Qn(r,a),s=Zn(r,a)+1;return Ha(r,i,s).join("")}function mp(e,t,n){if(e=Zu(e),e&&(n||t===o))return e.slice(0,br(e)+1);if(!e||!(t=Pa(t)))return e;var r=gr(e),a=Zn(r,gr(t))+1;return Ha(r,0,a).join("")}function gp(e,t,n){if(e=Zu(e),e&&(n||t===o))return e.replace(Le,"");if(!e||!(t=Pa(t)))return e;var r=gr(e),a=Qn(r,gr(t));return Ha(r,a).join("")}function bp(e,t){var n=O,r=T;if(Eu(t)){var a="separator"in t?t.separator:a;n="length"in t?Gu(t.length):n,r="omission"in t?Pa(t.omission):r}e=Zu(e);var i=e.length;if(ar(e)){var s=gr(e);i=s.length}if(n>=i)return e;var l=n-mr(r);if(l<1)return r;var c=s?Ha(s,0,l).join(""):e.slice(0,l);if(a===o)return c+r;if(s&&(l+=c.length-l),Ru(a)){if(e.slice(l).search(a)){var u,d=c;a.global||(a=rt(a.source,Zu(He.exec(a))+"g")),a.lastIndex=0;while(u=a.exec(d))var p=u.index;c=c.slice(0,p===o?l:p)}}else if(e.indexOf(Pa(a),l)!=l){var f=c.lastIndexOf(a);f>-1&&(c=c.slice(0,f))}return c+r}function vp(e){return e=Zu(e),e&&Ae.test(e)?e.replace(Se,vr):e}var yp=hi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),wp=fi("toUpperCase");function xp(e,t,n){return e=Zu(e),t=n?o:t,t===o?ir(e)?xr(e):Pn(e):e.match(t)||[]}var _p=xa((function(e,t){try{return yn(e,o,t)}catch(n){return yu(n)?n:new Me(n)}})),kp=Mi((function(e,t){return xn(t,(function(t){t=Bs(t),mo(e,t,jc(e[t],e))})),e}));function Ep(e){var t=null==e?0:e.length,n=Wi();return e=t?An(e,(function(e){if("function"!=typeof e[1])throw new at(l);return[n(e[0]),e[1]]})):[],xa((function(n){var r=-1;while(++rI)return[];var n=$,r=Ft(e,$);t=Wi(t),e-=$;var o=Hn(r,t);while(++n0||t<0)?new Ar(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Gu(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Ar.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ar.prototype.toArray=function(){return this.take($)},jo(Ar.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=_r[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);a&&(_r.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Ar,c=s[0],u=l||lu(t),d=function(e){var t=a.apply(_r,On([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,f=!!this.__actions__.length,h=i&&!p,m=l&&!f;if(!i&&u){t=m?t:new Ar(this);var g=e.apply(t,s);return g.__actions__.push({func:Kl,args:[d],thisArg:o}),new Cr(g,p)}return h&&m?e.apply(this,s):(g=this.thru(d),h?r?g.value()[0]:g.value():g)})})),xn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=it[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);_r.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(lu(o)?o:[],e)}return this[n]((function(n){return t.apply(lu(n)?n:[],e)}))}})),jo(Ar.prototype,(function(e,t){var n=_r[t];if(n){var r=n.name+"";dt.call(cn,r)||(cn[r]=[]),cn[r].push({name:t,func:n})}})),cn[yi(o,y).name]=[{name:"wrapper",func:o}],Ar.prototype.clone=Or,Ar.prototype.reverse=Tr,Ar.prototype.value=Nr,_r.prototype.at=Gl,_r.prototype.chain=Xl,_r.prototype.commit=Yl,_r.prototype.next=Jl,_r.prototype.plant=Zl,_r.prototype.reverse=ec,_r.prototype.toJSON=_r.prototype.valueOf=_r.prototype.value=tc,_r.prototype.first=_r.prototype.head,At&&(_r.prototype[At]=Ql),_r},kr=_r();sn._=kr,r=function(){return kr}.call(t,n,t,e),r===o||(e.exports=r)}.call(this)},9011:function(e,t,n){var r=n(8250),o="Expected a function";function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(a.Cache||r),n}a.Cache=r,e.exports=a},8875:function(e,t,n){var r=n(91),o=n(7848),a=o((function(e,t,n,o){r(e,t,n,o)}));e.exports=a},9071:function(e){function t(){}e.exports=t},4495:function(e,t,n){var r=n(8942),o=function(){return r.Date.now()};e.exports=o},3282:function(e,t,n){var r=n(2762),o=n(8880),a=n(5187),i=n(6040);function s(e){return a(e)?r(i(e)):o(e)}e.exports=s},9306:function(e){function t(){return[]}e.exports=t},4772:function(e){function t(){return!1}e.exports=t},7331:function(e,t,n){var r=n(2784),o=n(1580),a="Expected a function";function i(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return o(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:i,maxWait:t,trailing:s})}e.exports=i},3301:function(e,t,n){var r=n(6131),o=1/0,a=17976931348623157e292;function i(e){if(!e)return 0===e?e:0;if(e=r(e),e===o||e===-o){var t=e<0?-1:1;return t*a}return e===e?e:0}e.exports=i},7642:function(e,t,n){var r=n(3301);function o(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}e.exports=o},6131:function(e,t,n){var r=n(6403),o=n(1580),a=n(1187),i=NaN,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function d(e){if("number"==typeof e)return e;if(a(e))return i;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):s.test(e)?i:+e}e.exports=d},4207:function(e,t,n){var r=n(9032),o=n(5288);function a(e){return r(e,o(e))}e.exports=a},5243:function(e,t,n){var r=n(2291);function o(e){return null==e?"":r(e)}e.exports=o},2011:function(e,t,n){var r=n(9968),o=n(9747),a=n(7170),i=n(3334),s=n(4784),l=n(3142),c=n(5853),u=n(3655),d=n(1580),p=n(8666);function f(e,t,n){var f=l(e),h=f||c(e)||p(e);if(t=i(t,4),null==n){var m=e&&e.constructor;n=h?f?new m:[]:d(e)&&u(m)?o(s(e)):{}}return(h?r:a)(e,(function(e,r,o){return t(n,e,r,o)})),n}e.exports=f},3182:function(e,t,n){var r=n(9847),o=n(3945),a=n(214),i=n(5406),s=o((function(e){return a(r(e,i))}));e.exports=s},2372:function(e){"use strict";var t=function(e){return e!==e};e.exports=function(e,n){return 0===e&&0===n?1/e===1/n:e===n||!(!t(e)||!t(n))}},5968:function(e,t,n){"use strict";var r=n(1857),o=n(8498),a=n(2372),i=n(1937),s=n(5087),l=o(i(),Object);r(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},1937:function(e,t,n){"use strict";var r=n(2372);e.exports=function(){return"function"===typeof Object.is?Object.is:r}},5087:function(e,t,n){"use strict";var r=n(1937),o=n(1857);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},8160:function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=n(968),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}(),h=function(e){if("undefined"===typeof window||!f)return d(e);try{return d(e)}catch(t){return!1}};r=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===a.call(e),r=i(e),s=t&&"[object String]"===a.call(e),d=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var p=c&&n;if(s&&e.length>0&&!o.call(e,0))for(var f=0;f0)for(var m=0;m=0&&"[object Function]"===t.call(e.callee)),r}},5164:function(e,t,n){"use strict";var r=n(9228),o=n(2908)(),a=n(9818),i=Object,s=a("Array.prototype.push"),l=a("Object.prototype.propertyIsEnumerable"),c=o?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=i(e);if(1===arguments.length)return n;for(var a=1;a1)for(var n=1;n4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&i){var u=i(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(a?o(e,"length",t,!0,!0):o(e,"length",t)),e}},5272:function(e){e.exports=function(e){return e&&"object"===typeof e&&"function"===typeof e.copy&&"function"===typeof e.fill&&"function"===typeof e.readUInt8}},1531:function(e,t,n){"use strict";var r=n(5387),o=n(2625),a=n(2730),i=n(5943);function s(e){return e.call.bind(e)}var l="undefined"!==typeof BigInt,c="undefined"!==typeof Symbol,u=s(Object.prototype.toString),d=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),f=s(Boolean.prototype.valueOf);if(l)var h=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function g(e,t){if("object"!==typeof e)return!1;try{return t(e),!0}catch(n){return!1}}function b(e){return"undefined"!==typeof Promise&&e instanceof Promise||null!==e&&"object"===typeof e&&"function"===typeof e.then&&"function"===typeof e.catch}function v(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||F(e)}function y(e){return"Uint8Array"===a(e)}function w(e){return"Uint8ClampedArray"===a(e)}function x(e){return"Uint16Array"===a(e)}function _(e){return"Uint32Array"===a(e)}function k(e){return"Int8Array"===a(e)}function E(e){return"Int16Array"===a(e)}function S(e){return"Int32Array"===a(e)}function C(e){return"Float32Array"===a(e)}function A(e){return"Float64Array"===a(e)}function O(e){return"BigInt64Array"===a(e)}function T(e){return"BigUint64Array"===a(e)}function N(e){return"[object Map]"===u(e)}function B(e){return"undefined"!==typeof Map&&(N.working?N(e):e instanceof Map)}function j(e){return"[object Set]"===u(e)}function D(e){return"undefined"!==typeof Set&&(j.working?j(e):e instanceof Set)}function P(e){return"[object WeakMap]"===u(e)}function R(e){return"undefined"!==typeof WeakMap&&(P.working?P(e):e instanceof WeakMap)}function I(e){return"[object WeakSet]"===u(e)}function L(e){return I(e)}function M(e){return"[object ArrayBuffer]"===u(e)}function $(e){return"undefined"!==typeof ArrayBuffer&&(M.working?M(e):e instanceof ArrayBuffer)}function V(e){return"[object DataView]"===u(e)}function F(e){return"undefined"!==typeof DataView&&(V.working?V(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=o,t.isTypedArray=i,t.isPromise=b,t.isArrayBufferView=v,t.isUint8Array=y,t.isUint8ClampedArray=w,t.isUint16Array=x,t.isUint32Array=_,t.isInt8Array=k,t.isInt16Array=E,t.isInt32Array=S,t.isFloat32Array=C,t.isFloat64Array=A,t.isBigInt64Array=O,t.isBigUint64Array=T,N.working="undefined"!==typeof Map&&N(new Map),t.isMap=B,j.working="undefined"!==typeof Set&&j(new Set),t.isSet=D,P.working="undefined"!==typeof WeakMap&&P(new WeakMap),t.isWeakMap=R,I.working="undefined"!==typeof WeakSet&&I(new WeakSet),t.isWeakSet=L,M.working="undefined"!==typeof ArrayBuffer&&M(new ArrayBuffer),t.isArrayBuffer=$,V.working="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView&&V(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=F;var U="undefined"!==typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function z(e){return"[object SharedArrayBuffer]"===u(e)}function W(e){return"undefined"!==typeof U&&("undefined"===typeof z.working&&(z.working=z(new U)),z.working?z(e):e instanceof U)}function q(e){return"[object AsyncFunction]"===u(e)}function H(e){return"[object Map Iterator]"===u(e)}function K(e){return"[object Set Iterator]"===u(e)}function G(e){return"[object Generator]"===u(e)}function X(e){return"[object WebAssembly.Module]"===u(e)}function Y(e){return g(e,d)}function J(e){return g(e,p)}function Q(e){return g(e,f)}function Z(e){return l&&g(e,h)}function ee(e){return c&&g(e,m)}function te(e){return Y(e)||J(e)||Q(e)||Z(e)||ee(e)}function ne(e){return"undefined"!==typeof Uint8Array&&($(e)||W(e))}t.isSharedArrayBuffer=W,t.isAsyncFunction=q,t.isMapIterator=H,t.isSetIterator=K,t.isGeneratorObject=G,t.isWebAssemblyCompiledModule=X,t.isNumberObject=Y,t.isStringObject=J,t.isBooleanObject=Q,t.isBigIntObject=Z,t.isSymbolObject=ee,t.isBoxedPrimitive=te,t.isAnyArrayBuffer=ne,["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},9208:function(e,t,n){var r=n(9907),o=n(4364),a=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),s=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),x(n)?r.showHidden=n:n&&t._extend(r,n),A(r.showHidden)&&(r.showHidden=!1),A(r.depth)&&(r.depth=2),A(r.colors)&&(r.colors=!1),A(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=d),h(r,e,r.depth)}function d(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function p(e,t){return e}function f(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}function h(e,n,r){if(e.customInspect&&n&&j(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return S(o)||(o=h(e,o,r)),o}var a=m(e,n);if(a)return a;var i=Object.keys(n),s=f(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(n)),B(n)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return g(n);if(0===i.length){if(j(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(O(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(N(n))return e.stylize(Date.prototype.toString.call(n),"date");if(B(n))return g(n)}var c,u="",d=!1,p=["{","}"];if(w(n)&&(d=!0,p=["[","]"]),j(n)){var x=n.name?": "+n.name:"";u=" [Function"+x+"]"}return O(n)&&(u=" "+RegExp.prototype.toString.call(n)),N(n)&&(u=" "+Date.prototype.toUTCString.call(n)),B(n)&&(u=" "+g(n)),0!==i.length||d&&0!=n.length?r<0?O(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=d?b(e,n,r,s,i):i.map((function(t){return v(e,n,r,s,t,d)})),e.seen.pop(),y(c,u,p)):p[0]+u+p[1]}function m(e,t){if(A(t))return e.stylize("undefined","undefined");if(S(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return E(t)?e.stylize(""+t,"number"):x(t)?e.stylize(""+t,"boolean"):_(t)?e.stylize("null","null"):void 0}function g(e){return"["+Error.prototype.toString.call(e)+"]"}function b(e,t,n,r,o){for(var a=[],i=0,s=t.length;i-1&&(s=a?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n"))):s=e.stylize("[Circular]","special")),A(i)){if(a&&o.match(/^\d+$/))return s;i=JSON.stringify(""+o),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.slice(1,-1),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+s}function y(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);return r>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function w(e){return Array.isArray(e)}function x(e){return"boolean"===typeof e}function _(e){return null===e}function k(e){return null==e}function E(e){return"number"===typeof e}function S(e){return"string"===typeof e}function C(e){return"symbol"===typeof e}function A(e){return void 0===e}function O(e){return T(e)&&"[object RegExp]"===P(e)}function T(e){return"object"===typeof e&&null!==e}function N(e){return T(e)&&"[object Date]"===P(e)}function B(e){return T(e)&&("[object Error]"===P(e)||e instanceof Error)}function j(e){return"function"===typeof e}function D(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function P(e){return Object.prototype.toString.call(e)}function R(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!s[e])if(l.test(e)){var n=r.pid;s[e]=function(){var r=t.format.apply(t,arguments);o.error("%s %d: %s",e,n,r)}}else s[e]=function(){};return s[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(1531),t.isArray=w,t.isBoolean=x,t.isNull=_,t.isNullOrUndefined=k,t.isNumber=E,t.isString=S,t.isSymbol=C,t.isUndefined=A,t.isRegExp=O,t.types.isRegExp=O,t.isObject=T,t.isDate=N,t.types.isDate=N,t.isError=B,t.types.isNativeError=B,t.isFunction=j,t.isPrimitive=D,t.isBuffer=n(5272);var I=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function L(){var e=new Date,t=[R(e.getHours()),R(e.getMinutes()),R(e.getSeconds())].join(":");return[e.getDate(),I[e.getMonth()],t].join(" ")}function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){o.log("%s - %s",L(),t.format.apply(t,arguments))},t.inherits=n(5615),t._extend=function(e,t){if(!t||!T(t))return e;var n=Object.keys(t),r=n.length;while(r--)e[n[r]]=t[n[r]];return e};var $="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function V(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function F(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}},8837:function(e,t,n){var r=n(7328);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("2bda4f5f",r,!0,{sourceMap:!1,shadowMode:!1})},6436:function(e,t,n){var r=n(3079);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("5869518a",r,!0,{sourceMap:!1,shadowMode:!1})},3689:function(e,t,n){var r=n(6757);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("61de6afa",r,!0,{sourceMap:!1,shadowMode:!1})},6249:function(e,t,n){var r=n(1350);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("0eba3c29",r,!0,{sourceMap:!1,shadowMode:!1})},3543:function(e,t,n){var r=n(8344);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("36997fce",r,!0,{sourceMap:!1,shadowMode:!1})},5727:function(e,t,n){var r=n(5868);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("f87fd312",r,!0,{sourceMap:!1,shadowMode:!1})},7356:function(e,t,n){var r=n(523);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("36826b58",r,!0,{sourceMap:!1,shadowMode:!1})},1566:function(e,t,n){var r=n(1267);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("7088f326",r,!0,{sourceMap:!1,shadowMode:!1})},900:function(e,t,n){var r=n(3899);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("1211863d",r,!0,{sourceMap:!1,shadowMode:!1})},1438:function(e,t,n){var r=n(3651);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("542edfd2",r,!0,{sourceMap:!1,shadowMode:!1})},3864:function(e,t,n){var r=n(6696);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("695df0fd",r,!0,{sourceMap:!1,shadowMode:!1})},3158:function(e,t,n){var r=n(7702);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("694cb6c8",r,!0,{sourceMap:!1,shadowMode:!1})},9722:function(e,t,n){var r=n(1354);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("e65ca0d2",r,!0,{sourceMap:!1,shadowMode:!1})},4920:function(e,t,n){var r=n(8280);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("760b8915",r,!0,{sourceMap:!1,shadowMode:!1})},738:function(e,t,n){var r=n(6530);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("b37b1fae",r,!0,{sourceMap:!1,shadowMode:!1})},2578:function(e,t,n){var r=n(6226);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("27072055",r,!0,{sourceMap:!1,shadowMode:!1})},7968:function(e,t,n){var r=n(1523);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("14dcb12e",r,!0,{sourceMap:!1,shadowMode:!1})},7552:function(e,t,n){var r=n(9136);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("24b06883",r,!0,{sourceMap:!1,shadowMode:!1})},8054:function(e,t,n){var r=n(9430);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("4b3ceed2",r,!0,{sourceMap:!1,shadowMode:!1})},150:function(e,t,n){var r=n(1145);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("1f4ba341",r,!0,{sourceMap:!1,shadowMode:!1})},5392:function(e,t,n){var r=n(4448);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("800eb956",r,!0,{sourceMap:!1,shadowMode:!1})},4e3:function(e,t,n){var r=n(4944);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("a89edbbc",r,!0,{sourceMap:!1,shadowMode:!1})},9495:function(e,t,n){var r=n(8871);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("f70fac90",r,!0,{sourceMap:!1,shadowMode:!1})},398:function(e,t,n){var r=n(5790);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("6bc0aaac",r,!0,{sourceMap:!1,shadowMode:!1})},4752:function(e,t,n){var r=n(2880);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("bcd5ae90",r,!0,{sourceMap:!1,shadowMode:!1})},6035:function(e,t,n){var r=n(9715);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("1d28306c",r,!0,{sourceMap:!1,shadowMode:!1})},4753:function(e,t,n){var r=n(8273);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("19c7095e",r,!0,{sourceMap:!1,shadowMode:!1})},6821:function(e,t,n){var r=n(917);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("a93a9500",r,!0,{sourceMap:!1,shadowMode:!1})},8696:function(e,t,n){var r=n(6984);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("519545f7",r,!0,{sourceMap:!1,shadowMode:!1})},5559:function(e,t,n){var r=n(8567);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("22277c4e",r,!0,{sourceMap:!1,shadowMode:!1})},9265:function(e,t,n){var r=n(1649);r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);var o=n(4825).A;o("3138caa8",r,!0,{sourceMap:!1,shadowMode:!1})},4825:function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},o=0;on.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(o=0;o-1?t:"Object"===t&&b(e)}return s?g(e):null}},1177:function(e,t,n){var r={"./csp/metadata.json":6471,"./federal/metadata.json":1862,"./harvester/metadata.json":1507,"./rgs/metadata.json":8401,"./suse/metadata.json":7259};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=1177},2584:function(e,t,n){"use strict";e.exports=n.p+"img/logo.dff57afd.svg"},9274:function(t){"use strict";t.exports=e},4834:function(e,t,n){"use strict";var r=n(9501),o="undefined"===typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t= 2.10.0","catalog.cattle.io/ui-extensions-version":">= 3.0.0 < 4.0.0"}},"icon":"https://raw.githubusercontent.com/catalogicsoftware/cloudcasa-rancher-extension/refs/heads/main/pkg/cloud-casa-extension/assets/icon.svg","private":false,"scripts":{},"engines":{"node":">=20.0.0"},"devDependencies":{"@eslint/js":"^9.18.0","@vue/cli-plugin-babel":"~5.0.0","@vue/cli-plugin-typescript":"~5.0.0","@vue/cli-service":"~5.0.0","cache-loader":"^4.1.0","color":"4.2.3","eslint":"^9.18.0","eslint-plugin-vue":"^9.32.0","globals":"^15.14.0","ip":"2.0.1","node-polyfill-webpack-plugin":"^3.0.0"},"resolutions":{"d3-color":"3.1.0","ejs":"3.1.9","follow-redirects":"1.15.2","glob":"7.2.3","glob-parent":"6.0.2","json5":"2.2.3","merge":"2.1.1","node-forge":"1.3.1","nth-check":"2.1.1","qs":"6.11.1","roarr":"7.0.4","semver":"7.5.4","@vue/cli-service/html-webpack-plugin":"^5.0.0"},"browserslist":["> 1%","last 2 versions","not dead"],"dependencies":{"@fortawesome/fontawesome-svg-core":"^6.7.2","@fortawesome/free-brands-svg-icons":"^6.7.2","@fortawesome/free-regular-svg-icons":"^6.7.2","@fortawesome/free-solid-svg-icons":"^6.7.2","@fortawesome/vue-fontawesome":"^3.0.8"}}')}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.loaded=!0,a.exports}!function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,{a:t}),t}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){r.p=""}();var o={};return function(){"use strict";if(r.r(o),r.d(o,{default:function(){return Mv}}),"undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(r.p=t[1])}function n(e){}var a=r(9274);const i={key:0},s=(0,a.createElementVNode)("div",{class:"text-center"},[(0,a.createElementVNode)("h1",null,"Checking For CloudCasa API Key...")],-1),l=[s];function c(e,t,n,r,o,s){return 1==e.hasCloudCasaKeyState?((0,a.openBlock)(),(0,a.createElementBlock)("div",i,l)):(0,a.createCommentVNode)("",!0)}const u="meta/proxy/",d="CloudCasa",p="cloudcasa.rancher.io.v3.configuration";var f=r(4364);async function h(e){let t=await m(e),n=await v(e);return{url:u+n,method:"",headers:t,redirectUnauthorized:!1}}async function m(e){const t=await b(e);return void 0!=t?{Accept:"application/json","Content-Type":"application/json","x-api-auth-header":`Bearer ${t}`}:void 0}async function g(e){const t=await e.dispatch("management/findAll",{type:p}).catch((function(e){f.log(e)}));if(void 0!=t)return 0!=t.length?t[0].spec:void 0}async function b(e){let t=await g(e).catch((function(e){f.log(e)}));if(void 0!=t)return 0!=t.length?t.apiToken:void 0}async function v(e){let t=await g(e).catch((function(e){f.log(e)}));if(void 0!=t)return 0!=t.length?t.apiEndpoint:void 0}var y=(0,a.defineComponent)({layout:"plain",name:"index-page",data(){return{name:"cloud-casa",hasCloudCasaKeyState:1,CC_CRD:{apiVersion:"apiextensions.k8s.io/v1",kind:"CustomResourceDefinition",metadata:{name:"configurations.cloudcasa.rancher.io.v3"},spec:{group:"cloudcasa.rancher.io.v3",versions:[{name:"v1beta1",served:!0,storage:!0,schema:{openAPIV3Schema:{type:"object",properties:{spec:{type:"object",properties:{clusterPrefix:{type:"string"},apiEndpoint:{type:"string"},apiToken:{type:"string"}}}}}}}],scope:"Namespaced",names:{plural:"configurations",singular:"configuration",kind:"Configuration",listKind:"ConfigurationList"}}}}},async mounted(){const e=await this.testGetCcCrd().catch((function(e){}));0!=e.length?(this.cloudCasaApiKey=e[0].spec.apiToken,this.hasCloudCasaKeyState,this.$router.push("/CloudCasa/dashboard")):(this.hasCloudCasaKeyState,this.$router.push("/CloudCasa/configurator"))},methods:{async testGetCcCrd(){const e=await this.$store.getters["management/schemaFor"](p);return void 0===e?(await this.$store.dispatch("management/request",{url:"/v1/apiextensions.k8s.io.customresourcedefinitions",method:"POST",data:this.CC_CRD}).catch((function(e){})),[]):await this.$store.dispatch("management/findAll",{type:p}).catch((function(e){}))}}}),w=(r(1438),r(7433));const x=(0,w.A)(y,[["render",c]]);var _=x;function k(e,t,n,r,o,i){const s=(0,a.resolveComponent)("ClusterListView");return(0,a.openBlock)(),(0,a.createBlock)(s)}var E=r.p+"img/full-logo-white.39e74409.png",S=r.p+"img/full-logo-black.219eb04e.svg";const C=e=>((0,a.pushScopeId)("data-v-4d35778f"),e=e(),(0,a.popScopeId)(),e),A={class:"center-all"},O={class:"max-width"},T={class:"main-spacing"},N={style:{"text-align":"center"}},B={key:0,style:{width:"250px"},src:E},j={key:1,style:{width:"250px"},src:S},D=C((()=>(0,a.createElementVNode)("div",{class:"m-20"},null,-1))),P={class:"header"},R={class:"section sub-header"},I=C((()=>(0,a.createElementVNode)("h1",null,"Clusters",-1))),L={key:0},M={class:"section actions"},$={key:0},V={key:0,class:"yellow-text"},F={class:"tooltip"},U=C((()=>(0,a.createElementVNode)("span",{class:"tooltiptext"}," This agent is not currently found in CloudCasa. ",-1))),z={key:1,class:"green-text"},W={key:1,class:"text-center"},q=C((()=>(0,a.createElementVNode)("h3",null,"Loading...",-1))),H=[q];function K(e,t,n,r,o,i){const s=(0,a.resolveComponent)("BadgeState"),l=(0,a.resolveComponent)("FontAwesomeIcon"),c=(0,a.resolveComponent)("DashboardButton"),u=(0,a.resolveComponent)("ClusterState"),d=(0,a.resolveComponent)("ClusterActions"),p=(0,a.resolveComponent)("SortableTable");return(0,a.openBlock)(),(0,a.createElementBlock)("div",A,[(0,a.createElementVNode)("div",O,[(0,a.createElementVNode)("div",T,[(0,a.createElementVNode)("div",N,[this.isDarkTheme?((0,a.openBlock)(),(0,a.createElementBlock)("img",B)):(0,a.createCommentVNode)("",!0),this.isDarkTheme?(0,a.createCommentVNode)("",!0):((0,a.openBlock)(),(0,a.createElementBlock)("img",j))]),D,(0,a.createElementVNode)("div",P,[(0,a.createElementVNode)("div",R,[I,this.loadingClusters?(0,a.createCommentVNode)("",!0):((0,a.openBlock)(),(0,a.createElementBlock)("div",L,[(0,a.createVNode)(s,{color:"bg-info",label:e.parsedClusterData.length.toString()},null,8,["label"])]))]),(0,a.createElementVNode)("div",M,[(0,a.createElementVNode)("a",{onClick:t[0]||(t[0]=t=>e.routeToConfiguratorPage()),class:"btn role-primary reconfigure-button",label:"Open CloudCasa"},[(0,a.createTextVNode)(" Reconfigure Extension "),(0,a.createVNode)(l,{style:{"margin-left":"10px"},icon:e.faGear},null,8,["icon"])]),(0,a.createVNode)(c,{dashboardName:this.dashboardName,dashboardLink:this.mainDashboardLink},null,8,["dashboardName","dashboardLink"])])]),this.loadingClusters?((0,a.openBlock)(),(0,a.createElementBlock)("div",W,H)):((0,a.openBlock)(),(0,a.createElementBlock)("div",$,[(0,a.createVNode)(p,{rows:this.parsedClusterData,headers:this.tableHeaders,search:!1,"table-actions":!1,"row-actions":!1},{"cell:name":(0,a.withCtx)((({row:e})=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.id),1)])),"cell:installState":(0,a.withCtx)((({row:e})=>[(0,a.createVNode)(u,{installState:e.installState},null,8,["installState"])])),"cell:serviceStatus":(0,a.withCtx)((({row:e})=>[(0,a.createTextVNode)((0,a.toDisplayString)(e.serviceStatus[0].toUpperCase()+e.serviceStatus.slice(1)),1)])),"cell:additionalText":(0,a.withCtx)((({row:t})=>[4===t.installState?((0,a.openBlock)(),(0,a.createElementBlock)("div",V,[(0,a.createElementVNode)("div",F,[(0,a.createVNode)(l,{icon:e.faTriangleExclamation},null,8,["icon"]),(0,a.createTextVNode)(" Error "),U])])):(0,a.createCommentVNode)("",!0),3===t.installState?((0,a.openBlock)(),(0,a.createElementBlock)("div",z," ✔ Installed ")):(0,a.createCommentVNode)("",!0)])),"cell:install":(0,a.withCtx)((({row:t})=>[(0,a.createVNode)(d,{row:t,onInstallStateFunc:e.setInstallState,cloudCasaApiKey:e.cloudCasaApiKey,cloudCasaId:t.cloudCasaId},null,8,["row","onInstallStateFunc","cloudCasaApiKey","cloudCasaId"])])),_:1},8,["rows","headers"])]))])])])}const G=["href"];function X(e,t,n,r,o,i){const s=(0,a.resolveComponent)("FontAwesomeIcon");return(0,a.openBlock)(),(0,a.createElementBlock)("a",{href:n.dashboardLink,target:"_Blank",class:"btn role-primary",label:"Open CloudCasa"},[(0,a.createTextVNode)((0,a.toDisplayString)(this.dashboardName)+" ",1),(0,a.createVNode)(s,{icon:r.faArrowUpRightFromSquare},null,8,["icon"])],8,G)}var Y=r(4364); /*! * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2024 Fonticons, Inc. */function J(e,t,n){return(t=te(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t{};let re={},oe={},ae=null,ie={mark:ne,measure:ne};try{"undefined"!==typeof window&&(re=window),"undefined"!==typeof document&&(oe=document),"undefined"!==typeof MutationObserver&&(ae=MutationObserver),"undefined"!==typeof performance&&(ie=performance)}catch($v){}const{userAgent:se=""}=re.navigator||{},le=re,ce=oe,ue=ae,de=ie,pe=(le.document,!!ce.documentElement&&!!ce.head&&"function"===typeof ce.addEventListener&&"function"===typeof ce.createElement),fe=~se.indexOf("MSIE")||~se.indexOf("Trident/");var he=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,me=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ge={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},be={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},ve=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],ye="classic",we="duotone",xe="sharp",_e="sharp-duotone",ke=[ye,we,xe,_e],Ee={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},Se={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},Ce=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),Ae={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},Oe=["fak","fa-kit","fakd","fa-kit-duotone"],Te={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Ne=["kit"],Be={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},je=["fak","fakd"],De={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Pe={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Re={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ie=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Le=["fak","fa-kit","fakd","fa-kit-duotone"],Me={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},$e={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Ve={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Fe={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Ue=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],ze=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Ie,...Ue],We=["solid","regular","light","thin","duotone","brands"],qe=[1,2,3,4,5,6,7,8,9,10],He=qe.concat([11,12,13,14,15,16,17,18,19,20]),Ke=[...Object.keys(Ve),...We,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Re.GROUP,Re.SWAP_OPACITY,Re.PRIMARY,Re.SECONDARY].concat(qe.map((e=>"".concat(e,"x")))).concat(He.map((e=>"w-".concat(e)))),Ge={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const Xe="___FONT_AWESOME___",Ye=16,Je="fa",Qe="svg-inline--fa",Ze="data-fa-i2svg",et="data-fa-pseudo-element",tt="data-fa-pseudo-element-pending",nt="data-prefix",rt="data-icon",ot="fontawesome-i2svg",at="async",it=["HTML","HEAD","STYLE","SCRIPT"],st=(()=>{try{return!0}catch(e){return!1}})();function lt(e){return new Proxy(e,{get(e,t){return t in e?e[t]:e[ye]}})}const ct=Z({},ge);ct[ye]=Z(Z(Z(Z({},{"fa-duotone":"duotone"}),ge[ye]),Te["kit"]),Te["kit-duotone"]);const ut=lt(ct),dt=Z({},Ae);dt[ye]=Z(Z(Z(Z({},{duotone:"fad"}),dt[ye]),Pe["kit"]),Pe["kit-duotone"]);const pt=lt(dt),ft=Z({},Fe);ft[ye]=Z(Z({},ft[ye]),De["kit"]);const ht=lt(ft),mt=Z({},$e);mt[ye]=Z(Z({},mt[ye]),Be["kit"]);lt(mt);const gt=he,bt="fa-layers-text",vt=me,yt=Z({},Ee),wt=(lt(yt),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),xt=be,_t=[...Ne,...Ke],kt=le.FontAwesomeConfig||{};function Et(e){var t=ce.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function St(e){return""===e||"false"!==e&&("true"===e||e)}if(ce&&"function"===typeof ce.querySelector){const e=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];e.forEach((e=>{let[t,n]=e;const r=St(Et(t));void 0!==r&&null!==r&&(kt[n]=r)}))}const Ct={styleDefault:"solid",familyDefault:ye,cssPrefix:Je,replacementClass:Qe,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};kt.familyPrefix&&(kt.cssPrefix=kt.familyPrefix);const At=Z(Z({},Ct),kt);At.autoReplaceSvg||(At.observeMutations=!1);const Ot={};Object.keys(Ct).forEach((e=>{Object.defineProperty(Ot,e,{enumerable:!0,set:function(t){At[e]=t,Tt.forEach((e=>e(Ot)))},get:function(){return At[e]}})})),Object.defineProperty(Ot,"familyPrefix",{enumerable:!0,set:function(e){At.cssPrefix=e,Tt.forEach((e=>e(Ot)))},get:function(){return At.cssPrefix}}),le.FontAwesomeConfig=Ot;const Tt=[];function Nt(e){return Tt.push(e),()=>{Tt.splice(Tt.indexOf(e),1)}}const Bt=Ye,jt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Dt(e){if(!e||!pe)return;const t=ce.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=ce.head.childNodes;let r=null;for(let o=n.length-1;o>-1;o--){const e=n[o],t=(e.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(t)>-1&&(r=e)}return ce.head.insertBefore(t,r),e}const Pt="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Rt(){let e=12,t="";while(e-- >0)t+=Pt[62*Math.random()|0];return t}function It(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Lt(e){return e.classList?It(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function Mt(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function $t(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,'="').concat(Mt(e[n]),'" ')),"").trim()}function Vt(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";")),"")}function Ft(e){return e.size!==jt.size||e.x!==jt.x||e.y!==jt.y||e.rotate!==jt.rotate||e.flipX||e.flipY}function Ut(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(a," ").concat(i," ").concat(s)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:o,inner:l,path:c}}function zt(e){let{transform:t,width:n=Ye,height:r=Ye,startCentered:o=!1}=e,a="";return a+=o&&fe?"translate(".concat(t.x/Bt-n/2,"em, ").concat(t.y/Bt-r/2,"em) "):o?"translate(calc(-50% + ".concat(t.x/Bt,"em), calc(-50% + ").concat(t.y/Bt,"em)) "):"translate(".concat(t.x/Bt,"em, ").concat(t.y/Bt,"em) "),a+="scale(".concat(t.size/Bt*(t.flipX?-1:1),", ").concat(t.size/Bt*(t.flipY?-1:1),") "),a+="rotate(".concat(t.rotate,"deg) "),a}var Wt=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";\n --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";\n --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-counter-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n transform: scale(var(--fa-layers-scale, 0.25));\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(-1 * var(--fa-li-width, 2em));\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n animation-name: fa-beat;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n animation-name: fa-bounce;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n animation-name: fa-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n animation-name: fa-beat-fade;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n animation-name: fa-flip;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n animation-name: fa-shake;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n animation-name: fa-spin;\n animation-delay: var(--fa-animation-delay, 0s);\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 2s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n animation-name: fa-spin;\n animation-direction: var(--fa-animation-direction, normal);\n animation-duration: var(--fa-animation-duration, 1s);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n animation-delay: -1ms;\n animation-duration: 1ms;\n animation-iteration-count: 1;\n transition-delay: 0s;\n transition-duration: 0s;\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n transform: scale(1);\n }\n 45% {\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-bounce {\n 0% {\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-flip {\n 50% {\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-shake {\n 0% {\n transform: rotate(-15deg);\n }\n 4% {\n transform: rotate(15deg);\n }\n 8%, 24% {\n transform: rotate(-18deg);\n }\n 12%, 28% {\n transform: rotate(18deg);\n }\n 16% {\n transform: rotate(-22deg);\n }\n 20% {\n transform: rotate(22deg);\n }\n 32% {\n transform: rotate(-12deg);\n }\n 36% {\n transform: rotate(12deg);\n }\n 40%, 100% {\n transform: rotate(0deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}';function qt(){const e=Je,t=Qe,n=Ot.cssPrefix,r=Ot.replacementClass;let o=Wt;if(n!==e||r!==t){const a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(s,".".concat(r))}return o}let Ht=!1;function Kt(){Ot.autoAddCss&&!Ht&&(Dt(qt()),Ht=!0)}var Gt={mixout(){return{dom:{css:qt,insertCss:Kt}}},hooks(){return{beforeDOMElementCreation(){Kt()},beforeI2svg(){Kt()}}}};const Xt=le||{};Xt[Xe]||(Xt[Xe]={}),Xt[Xe].styles||(Xt[Xe].styles={}),Xt[Xe].hooks||(Xt[Xe].hooks={}),Xt[Xe].shims||(Xt[Xe].shims=[]);var Yt=Xt[Xe];const Jt=[],Qt=function(){ce.removeEventListener("DOMContentLoaded",Qt),Zt=1,Jt.map((e=>e()))};let Zt=!1;function en(e){pe&&(Zt?setTimeout(e,0):Jt.push(e))}function tn(e){const{tag:t,attributes:n={},children:r=[]}=e;return"string"===typeof e?Mt(e):"<".concat(t," ").concat($t(n),">").concat(r.map(tn).join(""),"")}function nn(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}pe&&(Zt=(ce.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ce.readyState),Zt||ce.addEventListener("DOMContentLoaded",Qt));var rn=function(e,t){return function(n,r,o,a){return e.call(t,n,r,o,a)}},on=function(e,t,n,r){var o,a,i,s=Object.keys(e),l=s.length,c=void 0!==r?rn(t,r):t;for(void 0===n?(o=1,i=e[s[0]]):(o=0,i=n);o=55296&&o<=56319&&n=55296&&o<=56319&&n>t+1&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?1024*(o-55296)+r-56320+65536:o}function cn(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n],o=!!r.icon;return o?t[r.iconName]=r.icon:t[n]=r,t}),{})}function un(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:r=!1}=n,o=cn(t);"function"!==typeof Yt.hooks.addPack||r?Yt.styles[e]=Z(Z({},Yt.styles[e]||{}),o):Yt.hooks.addPack(e,cn(t)),"fas"===e&&un("fa",t)}const{styles:dn,shims:pn}=Yt,fn=Object.keys(ht),hn=fn.reduce(((e,t)=>(e[t]=Object.keys(ht[t]),e)),{});let mn=null,gn={},bn={},vn={},yn={},wn={};function xn(e){return~_t.indexOf(e)}function _n(e,t){const n=t.split("-"),r=n[0],o=n.slice(1).join("-");return r!==e||""===o||xn(o)?null:o}const kn=()=>{const e=e=>on(dn,((t,n,r)=>(t[r]=on(n,e,{}),t)),{});gn=e(((e,t,n)=>{if(t[3]&&(e[t[3]]=n),t[2]){const r=t[2].filter((e=>"number"===typeof e));r.forEach((t=>{e[t.toString(16)]=n}))}return e})),bn=e(((e,t,n)=>{if(e[n]=n,t[2]){const r=t[2].filter((e=>"string"===typeof e));r.forEach((t=>{e[t]=n}))}return e})),wn=e(((e,t,n)=>{const r=t[2];return e[n]=n,r.forEach((t=>{e[t]=n})),e}));const t="far"in dn||Ot.autoFetchSvg,n=on(pn,((e,n)=>{const r=n[0];let o=n[1];const a=n[2];return"far"!==o||t||(o="fas"),"string"===typeof r&&(e.names[r]={prefix:o,iconName:a}),"number"===typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:a}),e}),{names:{},unicodes:{}});vn=n.names,yn=n.unicodes,mn=jn(Ot.styleDefault,{family:Ot.familyDefault})};function En(e,t){return(gn[e]||{})[t]}function Sn(e,t){return(bn[e]||{})[t]}function Cn(e,t){return(wn[e]||{})[t]}function An(e){return vn[e]||{prefix:null,iconName:null}}function On(e){const t=yn[e],n=En("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Tn(){return mn}Nt((e=>{mn=jn(e.styleDefault,{family:Ot.familyDefault})})),kn();const Nn=()=>({prefix:null,iconName:null,rest:[]});function Bn(e){let t=ye;const n=fn.reduce(((e,t)=>(e[t]="".concat(Ot.cssPrefix,"-").concat(t),e)),{});return ke.forEach((r=>{(e.includes(n[r])||e.some((e=>hn[r].includes(e))))&&(t=r)})),t}function jn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:n=ye}=t,r=ut[n][e];if(n===we&&!e)return"fad";const o=pt[n][e]||pt[n][r],a=e in Yt.styles?e:null,i=o||a||null;return i}function Dn(e){let t=[],n=null;return e.forEach((e=>{const r=_n(Ot.cssPrefix,e);r?n=r:e&&t.push(e)})),{iconName:n,rest:t}}function Pn(e){return e.sort().filter(((e,t,n)=>n.indexOf(e)===t))}function Rn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:n=!1}=t;let r=null;const o=ze.concat(Le),a=Pn(e.filter((e=>o.includes(e)))),i=Pn(e.filter((e=>!ze.includes(e)))),s=a.filter((e=>(r=e,!ve.includes(e)))),[l=null]=s,c=Bn(a),u=Z(Z({},Dn(i)),{},{prefix:jn(l,{family:c})});return Z(Z(Z({},u),$n({values:e,family:c,styles:dn,config:Ot,canonical:u,givenPrefix:r})),In(n,r,u))}function In(e,t,n){let{prefix:r,iconName:o}=n;if(e||!r||!o)return{prefix:r,iconName:o};const a="fa"===t?An(o):{},i=Cn(r,o);return o=a.iconName||i||o,r=a.prefix||r,"far"!==r||dn["far"]||!dn["fas"]||Ot.autoFetchSvg||(r="fas"),{prefix:r,iconName:o}}const Ln=ke.filter((e=>e!==ye||e!==we)),Mn=Object.keys(Fe).filter((e=>e!==ye)).map((e=>Object.keys(Fe[e]))).flat();function $n(e){const{values:t,family:n,canonical:r,givenPrefix:o="",styles:a={},config:i={}}=e,s=n===we,l=t.includes("fa-duotone")||t.includes("fad"),c="duotone"===i.familyDefault,u="fad"===r.prefix||"fa-duotone"===r.prefix;if(!s&&(l||c||u)&&(r.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(r.prefix="fab"),!r.prefix&&Ln.includes(n)){const e=Object.keys(a).find((e=>Mn.includes(e)));if(e||i.autoFetchSvg){const e=Ce.get(n).defaultShortPrefixId;r.prefix=e,r.iconName=Cn(r.prefix,r.iconName)||r.iconName}}return"fa"!==r.prefix&&"fa"!==o||(r.prefix=Tn()||"fas"),r}class Vn{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),n=0;n{this.definitions[e]=Z(Z({},this.definitions[e]||{}),r[e]),un(e,r[e]);const t=ht[ye][e];t&&un(t,r[e]),kn()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((t=>{const{prefix:r,iconName:o,icon:a}=n[t],i=a[2];e[r]||(e[r]={}),i.length>0&&i.forEach((t=>{"string"===typeof t&&(e[r][t]=a)})),e[r][o]=a})),e}}let Fn=[],Un={};const zn={},Wn=Object.keys(zn);function qn(e,t){let{mixoutsTo:n}=t;return Fn=e,Un={},Object.keys(zn).forEach((e=>{-1===Wn.indexOf(e)&&delete zn[e]})),Fn.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"===typeof t[e]&&(n[e]=t[e]),"object"===typeof t[e]&&Object.keys(t[e]).forEach((r=>{n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{Un[e]||(Un[e]=[]),Un[e].push(t[e])}))}e.provides&&e.provides(zn)})),n}function Hn(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o{t=e.apply(null,[t,...r])})),t}function Kn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{e.apply(null,n)}))}function Gn(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return zn[e]?zn[e].apply(null,t):void 0}function Xn(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||Tn();if(t)return t=Cn(n,t)||t,nn(Yn.definitions,n,t)||nn(Yt.styles,n,t)}const Yn=new Vn,Jn=()=>{Ot.autoReplaceSvg=!1,Ot.observeMutations=!1,Kn("noAuto")},Qn={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return pe?(Kn("beforeI2svg",e),Gn("pseudoElements2svg",e),Gn("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;!1===Ot.autoReplaceSvg&&(Ot.autoReplaceSvg=!0),Ot.observeMutations=!0,en((()=>{tr({autoReplaceSvgRoot:t}),Kn("watch",e)}))}},Zn={icon:e=>{if(null===e)return null;if("object"===typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Cn(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=jn(e[0]);return{prefix:n,iconName:Cn(n,t)||t}}if("string"===typeof e&&(e.indexOf("".concat(Ot.cssPrefix,"-"))>-1||e.match(gt))){const t=Rn(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Tn(),iconName:Cn(t.prefix,t.iconName)||t.iconName}}if("string"===typeof e){const t=Tn();return{prefix:t,iconName:Cn(t,e)||e}}}},er={noAuto:Jn,config:Ot,dom:Qn,parse:Zn,library:Yn,findIconDefinition:Xn,toHtml:tn},tr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=ce}=e;(Object.keys(Yt.styles).length>0||Ot.autoFetchSvg)&&pe&&Ot.autoReplaceSvg&&er.dom.i2svg({node:t})};function nr(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>tn(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!pe)return;const t=ce.createElement("div");return t.innerHTML=e.html,t.children}}),e}function rr(e){let{children:t,main:n,mask:r,attributes:o,styles:a,transform:i}=e;if(Ft(i)&&n.found&&!r.found){const{width:e,height:t}=n,r={x:e/t/2,y:.5};o["style"]=Vt(Z(Z({},a),{},{"transform-origin":"".concat(r.x+i.x/16,"em ").concat(r.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function or(e){let{prefix:t,iconName:n,children:r,attributes:o,symbol:a}=e;const i=!0===a?"".concat(t,"-").concat(Ot.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Z(Z({},o),{},{id:i}),children:r}]}]}function ar(e){const{icons:{main:t,mask:n},prefix:r,iconName:o,transform:a,symbol:i,title:s,maskId:l,titleId:c,extra:u,watchable:d=!1}=e,{width:p,height:f}=n.found?n:t,h=je.includes(r),m=[Ot.replacementClass,o?"".concat(Ot.cssPrefix,"-").concat(o):""].filter((e=>-1===u.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(u.classes).join(" ");let g={children:[],attributes:Z(Z({},u.attributes),{},{"data-prefix":r,"data-icon":o,class:m,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(f)})};const b=h&&!~u.classes.indexOf("fa-fw")?{width:"".concat(p/f*16*.0625,"em")}:{};d&&(g.attributes[Ze]=""),s&&(g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(c||Rt())},children:[s]}),delete g.attributes.title);const v=Z(Z({},g),{},{prefix:r,iconName:o,main:t,mask:n,maskId:l,transform:a,symbol:i,styles:Z(Z({},b),u.styles)}),{children:y,attributes:w}=n.found&&t.found?Gn("generateAbstractMask",v)||{children:[],attributes:{}}:Gn("generateAbstractIcon",v)||{children:[],attributes:{}};return v.children=y,v.attributes=w,i?or(v):rr(v)}function ir(e){const{content:t,width:n,height:r,transform:o,title:a,extra:i,watchable:s=!1}=e,l=Z(Z(Z({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});s&&(l[Ze]="");const c=Z({},i.styles);Ft(o)&&(c["transform"]=zt({transform:o,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c["transform"]);const u=Vt(c);u.length>0&&(l["style"]=u);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),a&&d.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),d}function sr(e){const{content:t,title:n,extra:r}=e,o=Z(Z(Z({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Vt(r.styles);a.length>0&&(o["style"]=a);const i=[];return i.push({tag:"span",attributes:o,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}const{styles:lr}=Yt;function cr(e){const t=e[0],n=e[1],[r]=e.slice(4);let o=null;return o=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Ot.cssPrefix,"-").concat(xt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ot.cssPrefix,"-").concat(xt.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Ot.cssPrefix,"-").concat(xt.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:o}}const ur={found:!1,width:512,height:512};function dr(e,t){st||Ot.showMissingIcons||!e||Y.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function pr(e,t){let n=t;return"fa"===t&&null!==Ot.styleDefault&&(t=Tn()),new Promise(((r,o)=>{if("fa"===n){const n=An(e)||{};e=n.iconName||e,t=n.prefix||t}if(e&&t&&lr[t]&&lr[t][e]){const n=lr[t][e];return r(cr(n))}dr(e,t),r(Z(Z({},ur),{},{icon:Ot.showMissingIcons&&e&&Gn("missingIconAbstract")||{}}))}))}const fr=()=>{},hr=Ot.measurePerformance&&de&&de.mark&&de.measure?de:{mark:fr,measure:fr},mr='FA "6.7.2"',gr=e=>(hr.mark("".concat(mr," ").concat(e," begins")),()=>br(e)),br=e=>{hr.mark("".concat(mr," ").concat(e," ends")),hr.measure("".concat(mr," ").concat(e),"".concat(mr," ").concat(e," begins"),"".concat(mr," ").concat(e," ends"))};var vr={begin:gr,end:br};const yr=()=>{};function wr(e){const t=e.getAttribute?e.getAttribute(Ze):null;return"string"===typeof t}function xr(e){const t=e.getAttribute?e.getAttribute(nt):null,n=e.getAttribute?e.getAttribute(rt):null;return t&&n}function _r(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Ot.replacementClass)}function kr(){if(!0===Ot.autoReplaceSvg)return Or.replace;const e=Or[Ot.autoReplaceSvg];return e||Or.replace}function Er(e){return ce.createElementNS("http://www.w3.org/2000/svg",e)}function Sr(e){return ce.createElement(e)}function Cr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:n=("svg"===e.tag?Er:Sr)}=t;if("string"===typeof e)return ce.createTextNode(e);const r=n(e.tag);Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])}));const o=e.children||[];return o.forEach((function(e){r.appendChild(Cr(e,{ceFn:n}))})),r}function Ar(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Or={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(Cr(e),t)})),null===t.getAttribute(Ze)&&Ot.keepOriginalSource){let e=ce.createComment(Ar(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~Lt(t).indexOf(Ot.replacementClass))return Or.replace(e);const r=new RegExp("".concat(Ot.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const e=n[0].attributes.class.split(" ").reduce(((e,t)=>(t===Ot.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});n[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const o=n.map((e=>tn(e))).join("\n");t.setAttribute(Ze,""),t.innerHTML=o}};function Tr(e){e()}function Nr(e,t){const n="function"===typeof t?t:yr;if(0===e.length)n();else{let t=Tr;Ot.mutateApproach===at&&(t=le.requestAnimationFrame||Tr),t((()=>{const t=kr(),r=vr.begin("mutate");e.map(t),r(),n()}))}}let Br=!1;function jr(){Br=!0}function Dr(){Br=!1}let Pr=null;function Rr(e){if(!ue)return;if(!Ot.observeMutations)return;const{treeCallback:t=yr,nodeCallback:n=yr,pseudoElementsCallback:r=yr,observeMutationsRoot:o=ce}=e;Pr=new ue((e=>{if(Br)return;const o=Tn();It(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!wr(e.addedNodes[0])&&(Ot.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&Ot.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&wr(e.target)&&~wt.indexOf(e.attributeName))if("class"===e.attributeName&&xr(e.target)){const{prefix:t,iconName:n}=Rn(Lt(e.target));e.target.setAttribute(nt,t||o),n&&e.target.setAttribute(rt,n)}else _r(e.target)&&n(e.target)}))})),pe&&Pr.observe(o,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Ir(){Pr&&Pr.disconnect()}function Lr(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce(((e,t)=>{const n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}function Mr(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"";let o=Rn(Lt(e));return o.prefix||(o.prefix=Tn()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=Sn(o.prefix,e.innerText)||En(o.prefix,sn(e.innerText))),!o.iconName&&Ot.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function $r(e){const t=It(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Ot.autoA11y&&(n?t["aria-labelledby"]="".concat(Ot.replacementClass,"-title-").concat(r||Rt()):(t["aria-hidden"]="true",t["focusable"]="false")),t}function Vr(){return{iconName:null,title:null,titleId:null,prefix:null,transform:jt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Fr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:o}=Mr(e),a=$r(e),i=Hn("parseNodeAttributes",{},e);let s=t.styleParser?Lr(e):[];return Z({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:jt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:a}},i)}const{styles:Ur}=Yt;function zr(e){const t="nest"===Ot.autoReplaceSvg?Fr(e,{styleParser:!1}):Fr(e);return~t.extra.classes.indexOf(bt)?Gn("generateLayersText",e,t):Gn("generateSvgReplacementMutation",e,t)}function Wr(){return[...Oe,...ze]}function qr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!pe)return Promise.resolve();const n=ce.documentElement.classList,r=e=>n.add("".concat(ot,"-").concat(e)),o=e=>n.remove("".concat(ot,"-").concat(e)),a=Ot.autoFetchSvg?Wr():ve.concat(Object.keys(Ur));a.includes("fa")||a.push("fa");const i=[".".concat(bt,":not([").concat(Ze,"])")].concat(a.map((e=>".".concat(e,":not([").concat(Ze,"])")))).join(", ");if(0===i.length)return Promise.resolve();let s=[];try{s=It(e.querySelectorAll(i))}catch(u){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");const l=vr.begin("onTree"),c=s.reduce(((e,t)=>{try{const n=zr(t);n&&e.push(n)}catch(u){st||"MissingIcon"===u.name&&Y.error(u)}return e}),[]);return new Promise(((e,n)=>{Promise.all(c).then((n=>{Nr(n,(()=>{r("active"),r("complete"),o("pending"),"function"===typeof t&&t(),l(),e()}))})).catch((e=>{l(),n(e)}))}))}function Hr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;zr(e).then((e=>{e&&Nr([e],t)}))}function Kr(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(t||{}).icon?t:Xn(t||{});let{mask:o}=n;return o&&(o=(o||{}).icon?o:Xn(o||{})),e(r,Z(Z({},n),{},{mask:o}))}}const Gr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=jt,symbol:r=!1,mask:o=null,maskId:a=null,title:i=null,titleId:s=null,classes:l=[],attributes:c={},styles:u={}}=t;if(!e)return;const{prefix:d,iconName:p,icon:f}=e;return nr(Z({type:"icon"},e),(()=>(Kn("beforeDOMElementCreation",{iconDefinition:e,params:t}),Ot.autoA11y&&(i?c["aria-labelledby"]="".concat(Ot.replacementClass,"-title-").concat(s||Rt()):(c["aria-hidden"]="true",c["focusable"]="false")),ar({icons:{main:cr(f),mask:o?cr(o.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:p,transform:Z(Z({},jt),n),symbol:r,title:i,maskId:a,titleId:s,extra:{attributes:c,styles:u,classes:l}}))))};var Xr={mixout(){return{icon:Kr(Gr)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=qr,e.nodeCallback=Hr,e}}},provides(e){e.i2svg=function(e){const{node:t=ce,callback:n=()=>{}}=e;return qr(t,n)},e.generateSvgReplacementMutation=function(e,t){const{iconName:n,title:r,titleId:o,prefix:a,transform:i,symbol:s,mask:l,maskId:c,extra:u}=t;return new Promise(((t,d)=>{Promise.all([pr(n,a),l.iconName?pr(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((l=>{let[d,p]=l;t([e,ar({icons:{main:d,mask:p},prefix:a,iconName:n,transform:i,symbol:s,maskId:c,title:r,titleId:o,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:n,main:r,transform:o,styles:a}=e;const i=Vt(a);let s;return i.length>0&&(n["style"]=i),Ft(o)&&(s=Gn("generateAbstractTransformGrouping",{main:r,transform:o,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},Yr={mixout(){return{layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:n=[]}=t;return nr({type:"layer"},(()=>{Kn("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e((e=>{Array.isArray(e)?e.map((e=>{r=r.concat(e.abstract)})):r=r.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Ot.cssPrefix,"-layers"),...n].join(" ")},children:r}]}))}}}},Jr={mixout(){return{counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:n=null,classes:r=[],attributes:o={},styles:a={}}=t;return nr({type:"counter",content:e},(()=>(Kn("beforeDOMElementCreation",{content:e,params:t}),sr({content:e.toString(),title:n,extra:{attributes:o,styles:a,classes:["".concat(Ot.cssPrefix,"-layers-counter"),...r]}}))))}}}},Qr={mixout(){return{text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=jt,title:r=null,classes:o=[],attributes:a={},styles:i={}}=t;return nr({type:"text",content:e},(()=>(Kn("beforeDOMElementCreation",{content:e,params:t}),ir({content:e,transform:Z(Z({},jt),n),title:r,extra:{attributes:a,styles:i,classes:["".concat(Ot.cssPrefix,"-layers-text"),...o]}}))))}}},provides(e){e.generateLayersText=function(e,t){const{title:n,transform:r,extra:o}=t;let a=null,i=null;if(fe){const t=parseInt(getComputedStyle(e).fontSize,10),n=e.getBoundingClientRect();a=n.width/t,i=n.height/t}return Ot.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,ir({content:e.innerHTML,width:a,height:i,transform:r,title:n,extra:o,watchable:!0})])}}};const Zr=new RegExp('"',"ug"),eo=[1105920,1112319],to=Z(Z(Z(Z({},{FontAwesome:{normal:"fas",400:"fas"}}),Se),Ge),Me),no=Object.keys(to).reduce(((e,t)=>(e[t.toLowerCase()]=to[t],e)),{}),ro=Object.keys(no).reduce(((e,t)=>{const n=no[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e}),{});function oo(e){const t=e.replace(Zr,""),n=ln(t,0),r=n>=eo[0]&&n<=eo[1],o=2===t.length&&t[0]===t[1];return{value:sn(o?t[0]:t),isSecondary:r||o}}function ao(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),o=isNaN(r)?"normal":r;return(no[n]||{})[o]||ro[n]}function io(e,t){const n="".concat(tt).concat(t.replace(":","-"));return new Promise(((r,o)=>{if(null!==e.getAttribute(n))return r();const a=It(e.children),i=a.filter((e=>e.getAttribute(et)===t))[0],s=le.getComputedStyle(e,t),l=s.getPropertyValue("font-family"),c=l.match(vt),u=s.getPropertyValue("font-weight"),d=s.getPropertyValue("content");if(i&&!c)return e.removeChild(i),r();if(c&&"none"!==d&&""!==d){const a=s.getPropertyValue("content");let d=ao(l,u);const{value:p,isSecondary:f}=oo(a),h=c[0].startsWith("FontAwesome");let m=En(d,p),g=m;if(h){const e=On(p);e.iconName&&e.prefix&&(m=e.iconName,d=e.prefix)}if(!m||f||i&&i.getAttribute(nt)===d&&i.getAttribute(rt)===g)r();else{e.setAttribute(n,g),i&&e.removeChild(i);const a=Vr(),{extra:s}=a;s.attributes[et]=t,pr(m,d).then((o=>{const i=ar(Z(Z({},a),{},{icons:{main:o,mask:Nn()},prefix:d,iconName:g,extra:s,watchable:!0})),l=ce.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(l,e.firstChild):e.appendChild(l),l.outerHTML=i.map((e=>tn(e))).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function so(e){return Promise.all([io(e,"::before"),io(e,"::after")])}function lo(e){return e.parentNode!==document.head&&!~it.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(et)&&(!e.parentNode||"svg"!==e.parentNode.tagName)}function co(e){if(pe)return new Promise(((t,n)=>{const r=It(e.querySelectorAll("*")).filter(lo).map(so),o=vr.begin("searchPseudoElements");jr(),Promise.all(r).then((()=>{o(),Dr(),t()})).catch((()=>{o(),Dr(),n()}))}))}var uo={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=co,e}}},provides(e){e.pseudoElements2svg=function(e){const{node:t=ce}=e;Ot.searchPseudoElements&&co(t)}}};let po=!1;var fo={mixout(){return{dom:{unwatch(){jr(),po=!0}}}},hooks(){return{bootstrap(){Rr(Hn("mutationObserverCallbacks",{}))},noAuto(){Ir()},watch(e){const{observeMutationsRoot:t}=e;po?Dr():Rr(Hn("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const ho=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce(((e,t)=>{const n=t.toLowerCase().split("-"),r=n[0];let o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o;break}return e}),t)};var mo={mixout(){return{parse:{transform:e=>ho(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=ho(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:n,containerWidth:r,iconWidth:o}=e;const a={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(i," ").concat(s," ").concat(l)},u={transform:"translate(".concat(o/2*-1," -256)")},d={outer:a,inner:c,path:u};return{tag:"g",attributes:Z({},d.outer),children:[{tag:"g",attributes:Z({},d.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Z(Z({},t.icon.attributes),d.path)}]}]}}}};const go={x:0,y:0,width:"100%",height:"100%"};function bo(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function vo(e){return"g"===e.tag?e.children:[e]}var yo={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Rn(n.split(" ").map((e=>e.trim()))):Nn();return r.prefix||(r.prefix=Tn()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:n,main:r,mask:o,maskId:a,transform:i}=e;const{width:s,icon:l}=r,{width:c,icon:u}=o,d=Ut({transform:i,containerWidth:c,iconWidth:s}),p={tag:"rect",attributes:Z(Z({},go),{},{fill:"white"})},f=l.children?{children:l.children.map(bo)}:{},h={tag:"g",attributes:Z({},d.inner),children:[bo(Z({tag:l.tag,attributes:Z(Z({},l.attributes),d.path)},f))]},m={tag:"g",attributes:Z({},d.outer),children:[h]},g="mask-".concat(a||Rt()),b="clip-".concat(a||Rt()),v={tag:"mask",attributes:Z(Z({},go),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,m]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:vo(u)},v]};return t.push(y,{tag:"rect",attributes:Z({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(g,")")},go)}),{children:t,attributes:n}}}},wo={provides(e){let t=!1;le.matchMedia&&(t=le.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Z(Z({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const o=Z(Z({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:Z(Z({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:Z(Z({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Z(Z({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:Z(Z({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Z(Z({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Z(Z({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Z(Z({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},xo={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e["symbol"]=r,e}}}},_o=[Gt,Xr,Yr,Jr,Qr,uo,fo,mo,yo,wo,xo];qn(_o,{mixoutsTo:er});er.noAuto;const ko=er.config,Eo=(er.library,er.dom,er.parse),So=(er.findIconDefinition,er.toHtml,er.icon),Co=(er.layer,er.text);er.counter;var Ao=r(4364);function Oo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function To(e){for(var t=1;t=0)continue;n[r]=e[r]}return n}function Ro(e,t){if(null==e)return{};var n,r,o=Po(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Io(e){return Lo(e)||Mo(e)||$o(e)||Fo()}function Lo(e){if(Array.isArray(e))return Vo(e)}function Mo(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function $o(e,t){if(e){if("string"===typeof e)return Vo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vo(e,t):void 0}}function Vo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof e)return e;var r=(e.children||[]).map((function(e){return Go(e)})),o=Object.keys(e.attributes||{}).reduce((function(t,n){var r=e.attributes[n];switch(n){case"class":t.class=Ko(r);break;case"style":t.style=Ho(r);break;default:t.attrs[n]=r}return t}),{attrs:{},class:{},style:{}});n.class;var i=n.style,s=void 0===i?{}:i,l=Ro(n,qo);return(0,a.h)(e.tag,To(To(To({},t),{},{class:o.class,style:To(To({},o.style),s)},o.attrs),l),r)}var Xo=!1;try{Xo=!0}catch($v){}function Yo(){var e;!Xo&&Ao&&"function"===typeof Ao.error&&(e=Ao).error.apply(e,arguments)}function Jo(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Do({},e,t):{}}function Qo(e){var t,n=(t={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-li":e.listItem,"fa-inverse":e.inverse,"fa-flip":!0===e.flip,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip},Do(Do(Do(Do(Do(Do(Do(Do(Do(Do(t,"fa-".concat(e.size),null!==e.size),"fa-rotate-".concat(e.rotation),null!==e.rotation),"fa-pull-".concat(e.pull),null!==e.pull),"fa-swap-opacity",e.swapOpacity),"fa-bounce",e.bounce),"fa-shake",e.shake),"fa-beat",e.beat),"fa-fade",e.fade),"fa-beat-fade",e.beatFade),"fa-flash",e.flash),Do(Do(t,"fa-spin-pulse",e.spinPulse),"fa-spin-reverse",e.spinReverse));return Object.keys(n).map((function(e){return n[e]?e:null})).filter((function(e){return e}))}function Zo(e){return e&&"object"===jo(e)&&e.prefix&&e.iconName&&e.icon?e:Eo.icon?Eo.icon(e):null===e?null:"object"===jo(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"===typeof e?{prefix:"fas",iconName:e}:void 0}var ea=(0,a.defineComponent)({name:"FontAwesomeIcon",props:{border:{type:Boolean,default:!1},fixedWidth:{type:Boolean,default:!1},flip:{type:[Boolean,String],default:!1,validator:function(e){return[!0,!1,"horizontal","vertical","both"].indexOf(e)>-1}},icon:{type:[Object,Array,String],required:!0},mask:{type:[Object,Array,String],default:null},maskId:{type:String,default:null},listItem:{type:Boolean,default:!1},pull:{type:String,default:null,validator:function(e){return["right","left"].indexOf(e)>-1}},pulse:{type:Boolean,default:!1},rotation:{type:[String,Number],default:null,validator:function(e){return[90,180,270].indexOf(Number.parseInt(e,10))>-1}},swapOpacity:{type:Boolean,default:!1},size:{type:String,default:null,validator:function(e){return["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"].indexOf(e)>-1}},spin:{type:Boolean,default:!1},transform:{type:[String,Object],default:null},symbol:{type:[Boolean,String],default:!1},title:{type:String,default:null},titleId:{type:String,default:null},inverse:{type:Boolean,default:!1},bounce:{type:Boolean,default:!1},shake:{type:Boolean,default:!1},beat:{type:Boolean,default:!1},fade:{type:Boolean,default:!1},beatFade:{type:Boolean,default:!1},flash:{type:Boolean,default:!1},spinPulse:{type:Boolean,default:!1},spinReverse:{type:Boolean,default:!1}},setup:function(e,t){var n=t.attrs,r=(0,a.computed)((function(){return Zo(e.icon)})),o=(0,a.computed)((function(){return Jo("classes",Qo(e))})),i=(0,a.computed)((function(){return Jo("transform","string"===typeof e.transform?Eo.transform(e.transform):e.transform)})),s=(0,a.computed)((function(){return Jo("mask",Zo(e.mask))})),l=(0,a.computed)((function(){return So(r.value,To(To(To(To({},o.value),i.value),s.value),{},{symbol:e.symbol,title:e.title,titleId:e.titleId,maskId:e.maskId}))}));(0,a.watch)(l,(function(e){if(!e)return Yo("Could not find one or more icon(s)",r.value,s.value)}),{immediate:!0});var c=(0,a.computed)((function(){return l.value?Go(l.value.abstract[0],{},n):null}));return function(){return c.value}}});(0,a.defineComponent)({name:"FontAwesomeLayers",props:{fixedWidth:{type:Boolean,default:!1}},setup:function(e,t){var n=t.slots,r=ko.familyPrefix,o=(0,a.computed)((function(){return["".concat(r,"-layers")].concat(Io(e.fixedWidth?["".concat(r,"-fw")]:[]))}));return function(){return(0,a.h)("div",{class:o.value},n.default?n.default():[])}}}),(0,a.defineComponent)({name:"FontAwesomeLayersText",props:{value:{type:[String,Number],default:""},transform:{type:[String,Object],default:null},counter:{type:Boolean,default:!1},position:{type:String,default:null,validator:function(e){return["bottom-left","bottom-right","top-left","top-right"].indexOf(e)>-1}}},setup:function(e,t){var n=t.attrs,r=ko.familyPrefix,o=(0,a.computed)((function(){return Jo("classes",[].concat(Io(e.counter?["".concat(r,"-layers-counter")]:[]),Io(e.position?["".concat(r,"-layers-").concat(e.position)]:[])))})),i=(0,a.computed)((function(){return Jo("transform","string"===typeof e.transform?Eo.transform(e.transform):e.transform)})),s=(0,a.computed)((function(){var t=Co(e.value.toString(),To(To({},i.value),o.value)),n=t.abstract;return e.counter&&(n[0].attributes.class=n[0].attributes.class.replace("fa-layers-text","")),n[0]})),l=(0,a.computed)((function(){return Go(s.value,{},n)}));return function(){return l.value}}}); /*! * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2024 Fonticons, Inc. */ const ta={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},na=ta,ra={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},oa={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},aa={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},ia={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},sa={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};var la={props:{dashboardName:String,dashboardLink:String},components:{FontAwesomeIcon:ea},setup(){return{faArrowUpRightFromSquare:ra}}};r(6249);const ca=(0,w.A)(la,[["render",X],["__scopeId","data-v-9c0ec6c4"]]);var ua=ca;const da={key:2},pa=(0,a.createElementVNode)("span",null," Uninstall ",-1),fa=[pa],ha={key:3},ma=(0,a.createElementVNode)("span",null," Uninstall ",-1),ga=[ma];function ba(e,t,n,r,o,i){const s=(0,a.resolveComponent)("FontAwesomeIcon");return(0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,null,[2==n.row.installState||0==n.row.installState?((0,a.openBlock)(),(0,a.createElementBlock)("button",(0,a.mergeProps)({key:0},{disabled:2==n.row.installState||null},{class:"btn role-primary",onClick:t[0]||(t[0]=e=>i.startCloudCasaInstall(n.row.id,n.row.name))}),[(0,a.createElementVNode)("span",null,[(0,a.createTextVNode)(" Install "),2===n.row.installState?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,icon:r.faSpinner,spin:""},null,8,["icon"])):(0,a.createCommentVNode)("",!0)])],16)):(0,a.createCommentVNode)("",!0),1==n.row.installState?((0,a.openBlock)(),(0,a.createElementBlock)("button",{key:1,class:"btn role-primary",onClick:t[1]||(t[1]=e=>i.beginCloudCasaAgentInstall(n.row.cloudCasaId))},[(0,a.createElementVNode)("span",null,[(0,a.createTextVNode)(" Install "),2===n.row.installState?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,icon:r.faSpinner,spin:""},null,8,["icon"])):(0,a.createCommentVNode)("",!0)])])):(0,a.createCommentVNode)("",!0),3===n.row.installState?((0,a.openBlock)(),(0,a.createElementBlock)("div",da,[(0,a.createElementVNode)("a",{onClick:t[2]||(t[2]=e=>this.routeToDetailedPage(n.row.id,n.row.cloudCasaId)),class:"btn role-secondary"}," View Details "),(0,a.createElementVNode)("button",{class:"btn role-primary",onClick:t[3]||(t[3]=e=>i.uninstallCloudCasaAgent(n.row.cloudCasaId))},fa)])):(0,a.createCommentVNode)("",!0),4===n.row.installState?((0,a.openBlock)(),(0,a.createElementBlock)("div",ha,[(0,a.createElementVNode)("a",{onClick:t[4]||(t[4]=e=>this.routeToDetailedPage(n.row.id,n.row.cloudCasaId)),class:"btn role-secondary"}," View Details "),(0,a.createElementVNode)("button",{class:"btn role-primary",onClick:t[5]||(t[5]=e=>i.uninstallCloudCasaAgent(n.row.cloudCasaId))},ga)])):(0,a.createCommentVNode)("",!0)],64)}var va={emits:["install-state-func"],components:{FontAwesomeIcon:ea},setup(){return{faSpinner:ia}},props:{row:Object,cloudCasaApiKey:String},data(){return{ccWaitTimer:null}},methods:{getDetailsLink(e){return this.detailsLink+e},localSetInstallState(e){this.$emit("install-state-func",e,this.row)},async waitForInstallComplete(e){let t=await h(this.$store);t.method="GET",t.url=t.url+"kubeclusters/"+e,this.ccWaitTimer=setInterval((()=>{this.$store.dispatch("management/request",t,{root:!0}).then((t=>{let n=t.status.state;"ACTIVE"==n&&(this.row.cloudCasaId=e,this.localSetInstallState(3),clearInterval(this.ccWaitTimer))})).catch(function(e){this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"CloudCasa could not be reached, this was likely do a \n network issue."},{root:!0})}.bind(this))}),1e4)},beforeDestroy(){clearInterval(this.ccWaitTimer)},async startCloudCasaInstall(e,t){this.localSetInstallState(2);let n=await this.registerClusterOnCloudCasa(e,t);if(void 0!=n)return this.installCloudCasaAgent(e,n._id,n.status.agentURL)},async registerClusterOnCloudCasa(e,t){const n=await this.$store.dispatch("management/findAll",{type:p}).catch((function(e){}));let r=n[0].spec.clusterPrefix;r.length>0&&(r+="-");let o=await h(this.$store);return o.method="POST",o.url=o.url+"kubeclusters",o.data={name:r+t,description:"Cluster setup with the CloudCasa Rancher Extension."},await this.$store.dispatch("management/request",o,{root:!0}).catch(function(e){this.localSetInstallState(1),this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"Failed to register cluster with CloudCasa, this is most \n likely due to a duplicate cluster name. Check the console for details."},{root:!0})}.bind(this))},async beginCloudCasaAgentInstall(e){this.localSetInstallState(2);let t=await h(this.$store);t.method="GET",t.url=t.url+"kubeclusters/"+e,this.$store.dispatch("management/request",t,{root:!0}).then((e=>{this.installCloudCasaAgent(clusterId,e._id,e.status.agentURL)})).catch(function(e){this.localSetInstallState(1),this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"The cluster was not found within CloudCasa, ensure it is \n registered or restart the install process."},{root:!0})}.bind(this))},async installCloudCasaAgent(e,t,n){let r={Accept:"application/json","Content-Type":"application/json","x-api-auth-header":`Bearer ${this.cloudCasaApiKey}`},o="GET",a="meta/proxy/"+n.replace("https://","");this.$store.dispatch("management/request",{url:a,method:o,headers:r,redirectUnauthorized:!1},{root:!0}).then((n=>(this.waitForInstallComplete(t),this.$store.dispatch("management/request",{url:"/v1/management.cattle.io.clusters/"+e+"?action=apply",method:"POST",data:{defaultNamespace:"default",yaml:n.data}})))).catch(function(e){this.localSetInstallState(4),this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"The CloudCasa agent could not be installed on the cluster.\n Ensure the cluster is online."},{root:!0})}.bind(this))},async uninstallCloudCasaAgent(){return await this.$store.dispatch("cluster/request",{url:"/v1/namespace/cloudcasa-io",method:"DELETE"}).then(function(){this.$store.dispatch("growl/success",{title:"Agent Removed",message:"The CloudCasa Agent has been successfully removed."},{root:!0}),this.localSetInstallState(0)}.bind(this)).catch(function(e){this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"The CloudCasa Agent was not removed, make sure it still exists."},{root:!0})}.bind(this))},routeToDetailedPage(e,t){this.$router.push("/CloudCasa/c/"+e+"/"+t)}}};const ya=(0,w.A)(va,[["render",ba]]);var wa=ya;const xa={key:2,class:"installing-text"};function _a(e,t,n,r,o,i){const s=(0,a.resolveComponent)("BadgeState");return(0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,null,[0===n.installState?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,color:"bg-disabled",label:"Not Found"})):(0,a.createCommentVNode)("",!0),1===n.installState?((0,a.openBlock)(),(0,a.createBlock)(s,{key:1,color:"bg-disabled",label:"Not Paired"})):(0,a.createCommentVNode)("",!0),2===n.installState?((0,a.openBlock)(),(0,a.createElementBlock)("div",xa," Installing... ")):(0,a.createCommentVNode)("",!0),3===n.installState?((0,a.openBlock)(),(0,a.createBlock)(s,{key:3,color:"bg-success",label:"Active"})):(0,a.createCommentVNode)("",!0),4===n.installState?((0,a.openBlock)(),(0,a.createBlock)(s,{key:4,color:"bg-error",label:"Failed"})):(0,a.createCommentVNode)("",!0)],64)}function ka(e,t,n,r,o,i){return(0,a.openBlock)(),(0,a.createElementBlock)("span",{class:(0,a.normalizeClass)(["badge-state",e.bg])},[e.icon?((0,a.openBlock)(),(0,a.createElementBlock)("i",{key:0,class:(0,a.normalizeClass)(["icon",{[e.icon]:!0,"mr-5":!!e.msg}])},null,2)):(0,a.createCommentVNode)("",!0),(0,a.createTextVNode)((0,a.toDisplayString)(e.msg),1)],2)}var Ea=(0,a.defineComponent)({props:{value:{type:Object,default:null},color:{type:String,default:null},icon:{type:String,default:null},label:{type:String,default:null}},computed:{bg(){return this.value?.stateBackground||this.color},msg(){return this.value?.stateDisplay||this.label}}});r(6035),r(4753);const Sa=(0,w.A)(Ea,[["render",ka],["__scopeId","data-v-ddeb1b10"]]);var Ca=Sa,Aa={props:{installState:Number},components:{BadgeState:Ca}};r(1566);const Oa=(0,w.A)(Aa,[["render",_a],["__scopeId","data-v-f3c04838"]]);var Ta=Oa;const Na=e=>((0,a.pushScopeId)("data-v-7eea7627"),e=e(),(0,a.popScopeId)(),e),Ba=["data-testid"],ja=["id","disabled","data-testid","onClick","onMouseover"],Da=["disabled"],Pa=Na((()=>(0,a.createElementVNode)("i",{class:"icon icon-gear"},null,-1))),Ra=Na((()=>(0,a.createElementVNode)("i",{class:"ml-10 icon icon-chevron-down"},null,-1))),Ia={class:"list-unstyled menu"},La=["onClick","onMouseover"],Ma={key:0,class:"middle"},$a={key:1,class:"search row","data-testid":"search-box-filter-row"},Va={key:0,class:"advanced-filters-applied"},Fa={class:"label"},Ua=["onClick"],za=Na((()=>(0,a.createElementVNode)("div",{class:"bg"},null,-1))),Wa={key:2,ref:"advanced-filter-group",class:"advanced-filter-group"},qa={class:"advanced-filter-container"},Ha=["placeholder"],Ka={class:"middle-block"},Ga={class:"bottom-block"},Xa=["disabled"],Ya=["placeholder"],Ja={key:1},Qa={key:2},Za=["colspan"],ei={class:"data-loading"},ti=Na((()=>(0,a.createElementVNode)("i",{class:"icon-spin icon icon-spinner"},null,-1))),ni={key:3},ri={class:"no-rows"},oi=["colspan"],ai={key:4},ii={class:"no-results"},si=["colspan"],li={class:"group-row"},ci=["colspan"],ui={class:"group-tab"},di=["data-testid","data-node-id","data-cant-run-bulk-action-of-interest"],pi={key:0,class:"row-check",align:"middle"},fi={key:1,class:"row-expand",align:"middle"},hi=["onClick"],mi=["data-title","data-testid","align","width"],gi={key:4,class:"text-muted"},bi={key:2,align:"middle"},vi=["data-testid"],yi={key:0,class:"row-check",align:"middle"},wi=["colspan"],xi={key:0,class:"paging"},_i=["disabled"],ki=Na((()=>(0,a.createElementVNode)("i",{class:"icon icon-chevron-beginning"},null,-1))),Ei=[ki],Si=["disabled"],Ci=Na((()=>(0,a.createElementVNode)("i",{class:"icon icon-chevron-left"},null,-1))),Ai=[Ci],Oi=["disabled"],Ti=Na((()=>(0,a.createElementVNode)("i",{class:"icon icon-chevron-right"},null,-1))),Ni=[Ti],Bi=["disabled"],ji=Na((()=>(0,a.createElementVNode)("i",{class:"icon icon-chevron-end"},null,-1))),Di=[ji];function Pi(e,t,n,r,o,i){const s=(0,a.resolveComponent)("ActionDropdown"),l=(0,a.resolveComponent)("AsyncButton"),c=(0,a.resolveComponent)("LabeledSelect"),u=(0,a.resolveComponent)("THead"),d=(0,a.resolveComponent)("t"),p=(0,a.resolveComponent)("Checkbox"),f=(0,a.resolveComponent)("ButtonMultiAction"),h=(0,a.resolveDirective)("clean-html"),m=(0,a.resolveDirective)("clean-tooltip"),g=(0,a.resolveDirective)("close-popper"),b=(0,a.resolveDirective)("trim-whitespace"),v=(0,a.resolveDirective)("shortkey");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{ref:"container","data-testid":n.componentTestid+"-list-container"},[(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)([{titled:e.$slots.title&&e.$slots.title.length},"sortable-table-header"])},[(0,a.renderSlot)(e.$slots,"title",{},void 0,!0),i.showHeaderRow?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,class:(0,a.normalizeClass)(["fixed-header-actions",{button:!!e.$slots["header-button"],"advanced-filtering":e.hasAdvancedFiltering}])},[(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)([e.bulkActionsClass,"bulk"])},[(0,a.renderSlot)(e.$slots,"header-left",{},(()=>[n.tableActions?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:0},[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.availableActions,(r=>(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("button",{id:r.action,key:r.action,type:"button",class:(0,a.normalizeClass)(["btn role-primary",{[e.bulkActionClass]:!0}]),disabled:!r.enabled,"data-testid":n.componentTestid+"-"+r.action,onClick:t=>e.applyTableAction(r,null,t),onMouseover:e=>i.setBulkActionOfInterest(r),onMouseleave:t[0]||(t[0]=e=>i.setBulkActionOfInterest(null))},[r.icon?((0,a.openBlock)(),(0,a.createElementBlock)("i",{key:0,class:(0,a.normalizeClass)(r.icon)},null,2)):(0,a.createCommentVNode)("",!0),(0,a.withDirectives)((0,a.createElementVNode)("span",null,null,512),[[h,r.label]])],42,ja)),[[m,e.actionTooltip]]))),128)),(0,a.createVNode)(s,{class:(0,a.normalizeClass)([e.bulkActionsDropdownClass,"bulk-actions-dropdown"]),"disable-button":!e.selectedRows.length,size:"sm"},{"button-content":(0,a.withCtx)((()=>[(0,a.createElementVNode)("button",{ref:"actionDropDown",class:"btn bg-primary mr-0",disabled:!e.selectedRows.length},[Pa,(0,a.createElementVNode)("span",null,(0,a.toDisplayString)(e.t("sortableTable.bulkActions.collapsed.label")),1),Ra],8,Da)])),"popover-content":(0,a.withCtx)((()=>[(0,a.createElementVNode)("ul",Ia,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.hiddenActions,((n,r)=>(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("li",{key:r,class:(0,a.normalizeClass)({disabled:!n.enabled}),onClick:t=>e.applyTableAction(n,null,t),onMouseover:e=>i.setBulkActionOfInterest(n),onMouseleave:t[1]||(t[1]=e=>i.setBulkActionOfInterest(null))},[n.icon?((0,a.openBlock)(),(0,a.createElementBlock)("i",{key:0,class:(0,a.normalizeClass)(n.icon)},null,2)):(0,a.createCommentVNode)("",!0),(0,a.withDirectives)((0,a.createElementVNode)("span",null,null,512),[[h,n.label]])],42,La)),[[g],[m,{content:e.actionTooltip,placement:"right"}]]))),128))])])),_:1},8,["class","disable-button"]),e.selectedRowsText?((0,a.openBlock)(),(0,a.createElementBlock)("label",{key:0,class:(0,a.normalizeClass)([e.bulkActionAvailabilityClass,"action-availability"])},(0,a.toDisplayString)(e.selectedRowsText),3)):(0,a.createCommentVNode)("",!0)],64)):(0,a.createCommentVNode)("",!0)]),!0)],2),!e.hasAdvancedFiltering&&e.$slots["header-middle"]?((0,a.openBlock)(),(0,a.createElementBlock)("div",Ma,[(0,a.renderSlot)(e.$slots,"header-middle",{},void 0,!0)])):(0,a.createCommentVNode)("",!0),n.search||e.hasAdvancedFiltering||e.isTooManyItemsToAutoUpdate||e.$slots["header-right"]?((0,a.openBlock)(),(0,a.createElementBlock)("div",$a,[e.hasAdvancedFiltering?((0,a.openBlock)(),(0,a.createElementBlock)("ul",Va,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.advancedFilteringValues,((t,n)=>((0,a.openBlock)(),(0,a.createElementBlock)("li",{key:n},[(0,a.createElementVNode)("span",Fa,(0,a.toDisplayString)(`"${t.value}" ${e.t("sortableTable.in")} ${t.label}`),1),(0,a.createElementVNode)("span",{class:"cross",onClick:t=>e.clearAdvancedFilter(n)},"✕",8,Ua),za])))),128))])):(0,a.createCommentVNode)("",!0),(0,a.renderSlot)(e.$slots,"header-right",{},void 0,!0),e.isTooManyItemsToAutoUpdate?((0,a.openBlock)(),(0,a.createBlock)(l,{key:1,mode:"manual-refresh",size:n.manualRefreshButtonSize,"current-phase":o.refreshButtonPhase,onClick:e.debouncedRefreshTableData},null,8,["size","current-phase","onClick"])):(0,a.createCommentVNode)("",!0),e.hasAdvancedFiltering?((0,a.openBlock)(),(0,a.createElementBlock)("div",Wa,[(0,a.createElementVNode)("button",{class:"btn role-primary",onClick:t[2]||(t[2]=t=>{e.advancedFilteringVisibility=!e.advancedFilteringVisibility})},(0,a.toDisplayString)(e.t("sortableTable.addFilter")),1),(0,a.withDirectives)((0,a.createElementVNode)("div",qa,[(0,a.withDirectives)((0,a.createElementVNode)("input",{ref:"advancedSearchQuery","onUpdate:modelValue":t[3]||(t[3]=t=>e.advFilterSearchTerm=t),type:"search",class:"advanced-search-box",placeholder:e.t("sortableTable.filterFor")},null,8,Ha),[[a.vModelText,e.advFilterSearchTerm]]),(0,a.createElementVNode)("div",Ka,[(0,a.createElementVNode)("span",null,(0,a.toDisplayString)(e.t("sortableTable.in")),1),(0,a.createVNode)(c,{value:e.advFilterSelectedProp,"onUpdate:value":t[4]||(t[4]=t=>e.advFilterSelectedProp=t),class:"filter-select",clearable:!0,options:e.advFilterSelectOptions,disabled:!1,searchable:!1,mode:"edit",multiple:!1,taggable:!1,placeholder:e.t("sortableTable.selectCol"),onSelecting:t[5]||(t[5]=t=>e.advFilterSelectedLabel=t.label)},null,8,["value","options","placeholder"])]),(0,a.createElementVNode)("div",Ga,[(0,a.createElementVNode)("button",{class:"btn role-secondary",disabled:!e.advancedFilteringValues.length,onClick:t[6]||(t[6]=(...t)=>e.clearAllAdvancedFilters&&e.clearAllAdvancedFilters(...t))},(0,a.toDisplayString)(e.t("sortableTable.resetFilters")),9,Xa),(0,a.createElementVNode)("button",{class:"btn role-primary",onClick:t[7]||(t[7]=(...t)=>e.addAdvancedFilter&&e.addAdvancedFilter(...t))},(0,a.toDisplayString)(e.t("sortableTable.add")),1)])],512),[[a.vShow,e.advancedFilteringVisibility]])],512)):n.search?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("input",{key:3,ref:"searchQuery","onUpdate:modelValue":t[8]||(t[8]=e=>o.eventualSearchQuery=e),type:"search",class:"input-sm search-box",placeholder:e.t("sortableTable.search")},null,8,Ya)),[[a.vModelText,o.eventualSearchQuery]]):(0,a.createCommentVNode)("",!0),(0,a.renderSlot)(e.$slots,"header-button",{},void 0,!0)])):(0,a.createCommentVNode)("",!0)],2)):(0,a.createCommentVNode)("",!0)],2),(0,a.createElementVNode)("table",{class:(0,a.normalizeClass)(["sortable-table",i.classObject]),width:"100%"},[n.showHeaders?((0,a.openBlock)(),(0,a.createBlock)(u,{key:0,"label-for":i.labelFor,columns:i.columns,group:e.group,"group-options":e.advGroupOptions,"has-advanced-filtering":e.hasAdvancedFiltering,"adv-filter-hide-labels-as-cols":e.advFilterHideLabelsAsCols,"table-actions":n.tableActions,"table-cols-options":e.columnOptions,"row-actions":n.rowActions,"sub-expand-column":n.subExpandColumn,"row-actions-width":n.rowActionsWidth,"how-much-selected":e.howMuchSelected,"sort-by":e.sortBy,"default-sort-by":e._defaultSortBy,descending:e.descending,"no-rows":i.noRows,loading:o.isLoading&&!o.loadingDelay,"no-results":i.noResults,onOnToggleAll:e.onToggleAll,onOnSortChange:e.changeSort,onColVisibilityChange:e.changeColVisibility,onGroupValueChange:t[9]||(t[9]=t=>e.$emit("group-value-change",t)),onUpdateColsOptions:e.updateColsOptions},null,8,["label-for","columns","group","group-options","has-advanced-filtering","adv-filter-hide-labels-as-cols","table-actions","table-cols-options","row-actions","sub-expand-column","row-actions-width","how-much-selected","sort-by","default-sort-by","descending","no-rows","loading","no-results","onOnToggleAll","onOnSortChange","onColVisibilityChange","onUpdateColsOptions"])):(0,a.createCommentVNode)("",!0),o.isLoading&&!o.loadingDelay?((0,a.openBlock)(),(0,a.createElementBlock)("div",Ja)):o.isLoading&&!n.altLoading?((0,a.openBlock)(),(0,a.createElementBlock)("tbody",Qa,[(0,a.renderSlot)(e.$slots,"loading",{},(()=>[(0,a.createElementVNode)("tr",null,[(0,a.createElementVNode)("td",{colspan:i.fullColspan},[(0,a.createElementVNode)("div",ei,[ti,(0,a.createVNode)(d,{k:"generic.loading",raw:!0})])],8,Za)])]),!0)])):i.noRows?((0,a.openBlock)(),(0,a.createElementBlock)("tbody",ni,[(0,a.renderSlot)(e.$slots,"no-rows",{},(()=>[(0,a.createElementVNode)("tr",ri,[(0,a.createElementVNode)("td",{colspan:i.fullColspan},[n.showNoRows?((0,a.openBlock)(),(0,a.createBlock)(d,{key:0,k:n.noRowsKey},null,8,["k"])):(0,a.createCommentVNode)("",!0)],8,oi)])]),!0)])):i.noResults?((0,a.openBlock)(),(0,a.createElementBlock)("tbody",ai,[(0,a.renderSlot)(e.$slots,"no-results",{},(()=>[(0,a.createElementVNode)("tr",ii,[(0,a.createElementVNode)("td",{colspan:i.fullColspan,class:"text-center"},[(0,a.createVNode)(d,{k:n.noDataKey},null,8,["k"])],8,si)])]),!0)])):((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,{key:5},(0,a.renderList)(i.displayRows,(r=>((0,a.openBlock)(),(0,a.createElementBlock)("tbody",{key:r.key,class:(0,a.normalizeClass)({group:n.groupBy})},[n.groupBy?(0,a.renderSlot)(e.$slots,"group-row",{key:0,group:r,fullColspan:i.fullColspan},(()=>[(0,a.createElementVNode)("tr",li,[(0,a.createElementVNode)("td",{colspan:i.fullColspan},[(0,a.renderSlot)(e.$slots,"group-by",{group:r.grp},(()=>[(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("div",ui,[(0,a.createTextVNode)((0,a.toDisplayString)(r.ref),1)])),[[b]])]),!0)],8,ci)])]),!0):(0,a.createCommentVNode)("",!0),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(r.rows,((r,s)=>((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:s},[(0,a.renderSlot)(e.$slots,"main-row",{row:r.row},(()=>[(0,a.renderSlot)(e.$slots,"main-row:"+(r.row.mainRowKey||s),{fullColspan:i.fullColspan},(()=>[(0,a.createElementVNode)("tr",{class:(0,a.normalizeClass)(["main-row",{"has-sub-row":r.showSubRow}]),"data-testid":n.componentTestid+"-"+s+"-row","data-node-id":r.key,"data-cant-run-bulk-action-of-interest":o.actionOfInterest&&!r.canRunBulkActionOfInterest},[n.tableActions?((0,a.openBlock)(),(0,a.createElementBlock)("td",pi,[(0,a.createTextVNode)((0,a.toDisplayString)(r.mainRowKey),1),(0,a.createVNode)(p,{class:"selection-checkbox","data-node-id":r.key,"data-testid":n.componentTestid+"-"+s+"-checkbox",value:e.selectedRows.includes(r.row)},null,8,["data-node-id","data-testid","value"])])):(0,a.createCommentVNode)("",!0),n.subExpandColumn?((0,a.openBlock)(),(0,a.createElementBlock)("td",fi,[(0,a.createElementVNode)("i",{"data-title":"Toggle Expand",class:(0,a.normalizeClass)({icon:!0,"icon-chevron-right":!o.expanded[r.row[n.keyField]],"icon-chevron-down":!!o.expanded[r.row[n.keyField]]}),onClick:(0,a.withModifiers)((e=>i.toggleExpand(r.row)),["stop"])},null,10,hi)])):(0,a.createCommentVNode)("",!0),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(r.columns,((t,l)=>(0,a.renderSlot)(e.$slots,"col:"+t.col.name,{key:l,row:r.row,col:t.col,dt:i.dt,expanded:o.expanded,rowKey:r.key},(()=>[(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("td",{key:t.col.name,"data-title":t.col.label,"data-testid":`sortable-cell-${s}-${l}`,align:t.col.align||"left",class:(0,a.normalizeClass)({["col-"+t.dasherize]:!!t.col.formatter,[t.col.breakpoint]:!!t.col.breakpoint,["skip-select"]:t.col.skipSelect}),width:t.col.width},[(0,a.renderSlot)(e.$slots,"cell:"+t.col.name,{row:r.row,col:t.col,value:t.value},(()=>[t.component&&t.needRef?((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(t.component),(0,a.mergeProps)({key:0,ref_for:!0,ref:"column",value:t.value,row:r.row,col:t.col},t.col.formatterOpts,{"row-key":r.key,"get-custom-detail-link":n.getCustomDetailLink}),null,16,["value","row","col","row-key","get-custom-detail-link"])):t.component?((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(t.component),(0,a.mergeProps)({key:1,value:t.value,row:r.row,col:t.col},t.col.formatterOpts,{"row-key":r.key}),null,16,["value","row","col","row-key"])):t.col.formatter?((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(t.col.formatter),(0,a.mergeProps)({key:2,value:t.value,row:r.row,col:t.col},t.col.formatterOpts,{"row-key":r.key}),null,16,["value","row","col","row-key"])):""!==t.value?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:3},[(0,a.createTextVNode)((0,a.toDisplayString)(t.formatted),1)],64)):t.col.dashIfEmpty?((0,a.openBlock)(),(0,a.createElementBlock)("span",gi,"—")):(0,a.createCommentVNode)("",!0)]),!0)],10,mi)),[[a.vShow,!e.hasAdvancedFiltering||e.hasAdvancedFiltering&&t.col.isColVisible]])]),!0))),128)),n.rowActions?((0,a.openBlock)(),(0,a.createElementBlock)("td",bi,[(0,a.renderSlot)(e.$slots,"row-actions",{row:r.row},(()=>[(0,a.createVNode)(f,{id:`actionButton+${s}+${r.row&&r.row.name?r.row.name:""}`,ref_for:!0,ref:`actionButton${s}`,"aria-haspopup":"true","aria-expanded":"false","data-testid":n.componentTestid+"-"+s+"-action-button",borderless:!0,onClick:e=>i.handleActionButtonClick(s,e)},null,8,["id","data-testid","onClick"])]),!0)])):(0,a.createCommentVNode)("",!0)],10,di)]),!0)]),!0),r.showSubRow?(0,a.renderSlot)(e.$slots,"sub-row",{key:0,fullColspan:i.fullColspan,row:r.row,subMatches:o.subMatches,keyField:n.keyField,componentTestid:n.componentTestid,i:s,onRowMouseEnter:e.onRowMouseEnter,onRowMouseLeave:e.onRowMouseLeave},(()=>[r.row.stateDescription?((0,a.openBlock)(),(0,a.createElementBlock)("tr",{key:r.row[n.keyField]+"-description","data-testid":n.componentTestid+"-"+s+"-row-description",class:"state-description sub-row",onMouseenter:t[10]||(t[10]=(...t)=>e.onRowMouseEnter&&e.onRowMouseEnter(...t)),onMouseleave:t[11]||(t[11]=(...t)=>e.onRowMouseLeave&&e.onRowMouseLeave(...t))},[n.tableActions?((0,a.openBlock)(),(0,a.createElementBlock)("td",yi)):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("td",{colspan:i.fullColspan-(n.tableActions?1:0),class:(0,a.normalizeClass)({"text-error":r.row.stateObj.error})},(0,a.toDisplayString)(r.row.stateDescription),11,wi)],40,vi)):(0,a.createCommentVNode)("",!0)]),!0):(0,a.createCommentVNode)("",!0)],64)))),128))],2)))),128))],2),e.showPaging?((0,a.openBlock)(),(0,a.createElementBlock)("div",xi,[(0,a.createElementVNode)("button",{type:"button",class:"btn btn-sm role-multi-action","data-testid":"pagination-first",disabled:1==e.page||n.loading,onClick:t[12]||(t[12]=t=>e.goToPage("first"))},Ei,8,_i),(0,a.createElementVNode)("button",{type:"button",class:"btn btn-sm role-multi-action","data-testid":"pagination-prev",disabled:1==e.page||n.loading,onClick:t[13]||(t[13]=t=>e.goToPage("prev"))},Ai,8,Si),(0,a.createElementVNode)("span",null,(0,a.toDisplayString)(e.pagingDisplay),1),(0,a.createElementVNode)("button",{type:"button",class:"btn btn-sm role-multi-action","data-testid":"pagination-next",disabled:e.page==e.totalPages||n.loading,onClick:t[14]||(t[14]=t=>e.goToPage("next"))},Ni,8,Oi),(0,a.createElementVNode)("button",{type:"button",class:"btn btn-sm role-multi-action","data-testid":"pagination-last",disabled:e.page==e.totalPages||n.loading,onClick:t[15]||(t[15]=t=>e.goToPage("last"))},Di,8,Bi)])):(0,a.createCommentVNode)("",!0),n.search?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("button",{key:1,class:"hide",onShortkey:t[16]||(t[16]=e=>i.focusSearch())},null,544)),[[v,["/"],void 0,{once:!0}]]):(0,a.createCommentVNode)("",!0),n.tableActions?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:2},[(0,a.withDirectives)((0,a.createElementVNode)("button",{class:"hide",onShortkey:t[17]||(t[17]=e=>i.focusNext(e))},null,544),[[v,["j"]]]),(0,a.withDirectives)((0,a.createElementVNode)("button",{class:"hide",onShortkey:t[18]||(t[18]=e=>i.focusPrevious(e))},null,544),[[v,["k"]]]),(0,a.withDirectives)((0,a.createElementVNode)("button",{class:"hide",onShortkey:t[19]||(t[19]=e=>i.focusNext(e,!0))},null,544),[[v,["shift","j"]]]),(0,a.withDirectives)((0,a.createElementVNode)("button",{class:"hide",onShortkey:t[20]||(t[20]=e=>i.focusPrevious(e,!0))},null,544),[[v,["shift","k"]]]),(0,a.renderSlot)(e.$slots,"shortkeys",{},void 0,!0)],64)):(0,a.createCommentVNode)("",!0)],8,Ba)}function Ri(){return Ii().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Ii(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:{}}const Li="function"===typeof Proxy,Mi="devtools-plugin:setup",$i="plugin:settings:set";let Vi,Fi;function Ui(){var e;return void 0!==Vi||("undefined"!==typeof window&&window.performance?(Vi=!0,Fi=window.performance):"undefined"!==typeof globalThis&&(null===(e=globalThis.perf_hooks)||void 0===e?void 0:e.performance)?(Vi=!0,Fi=globalThis.perf_hooks.performance):Vi=!1),Vi}function zi(){return Ui()?Fi.now():Date.now()}class Wi{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const a in e.settings){const t=e.settings[a];n[a]=t.defaultValue}const r=`__vue-devtools-plugin-settings__${e.id}`;let o=Object.assign({},n);try{const e=localStorage.getItem(r),t=JSON.parse(e);Object.assign(o,t)}catch($v){}this.fallbacks={getSettings(){return o},setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch($v){}o=e},now(){return zi()}},t&&t.on($i,((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function qi(e,t){const n=e,r=Ii(),o=Ri(),a=Li&&n.enableEarlyProxy;if(!o||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&a){const e=a?new Wi(n,o):null,i=r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[];i.push({pluginDescriptor:n,setupFn:t,proxy:e}),e&&t(e.proxiedTarget)}else o.emit(Mi,e,t)}r(4364); /*! * vuex v4.0.2 * (c) 2021 Evan You * @license MIT */var Hi="store";function Ki(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function Gi(e){return null!==e&&"object"===typeof e}function Xi(e){return e&&"function"===typeof e.then}function Yi(e,t){return function(){return e(t)}}function Ji(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Qi(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;es(e,n,[],e._modules.root,!0),Zi(e,n,t)}function Zi(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,i={};Ki(o,(function(t,n){i[n]=Yi(t,e),Object.defineProperty(e.getters,n,{get:function(){return i[n]()},enumerable:!0})})),e._state=(0,a.reactive)({data:t}),e.strict&&is(e),r&&n&&e._withCommit((function(){r.data=null}))}function es(e,t,n,r,o){var a=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!a&&!o){var s=ss(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){s[l]=r.state}))}var c=r.context=ts(e,i,n);r.forEachMutation((function(t,n){var r=i+n;rs(e,r,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:i+n,o=t.handler||t;os(e,r,o,c)})),r.forEachGetter((function(t,n){var r=i+n;as(e,r,t,c)})),r.forEachChild((function(r,a){es(e,t,n.concat(a),r,o)}))}function ts(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var a=ls(n,r,o),i=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,i)},commit:r?e.commit:function(n,r,o){var a=ls(n,r,o),i=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,i,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return ns(e,t)}},state:{get:function(){return ss(e.state,n)}}}),o}function ns(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,r)===t){var a=o.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function rs(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,r.state,t)}))}function os(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return Xi(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))}function as(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function is(e){(0,a.watch)((function(){return e._state.data}),(function(){0}),{deep:!0,flush:"sync"})}function ss(e,t){return t.reduce((function(e,t){return e[t]}),e)}function ls(e,t,n){return Gi(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var cs="vuex bindings",us="vuex:mutations",ds="vuex:actions",ps="vuex",fs=0;function hs(e,t){qi({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[cs]},(function(n){n.addTimelineLayer({id:us,label:"Vuex Mutations",color:ms}),n.addTimelineLayer({id:ds,label:"Vuex Actions",color:ms}),n.addInspector({id:ps,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&n.inspectorId===ps)if(n.filter){var r=[];xs(r,t._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[ws(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&n.inspectorId===ps){var r=n.nodeId;ns(t,r),n.state=_s(Es(t._modules,r),"root"===r?t.getters:t._makeLocalGettersCache,r)}})),n.on.editInspectorState((function(n){if(n.app===e&&n.inspectorId===ps){var r=n.nodeId,o=n.path;"root"!==r&&(o=r.split("/").filter(Boolean).concat(o)),t._withCommit((function(){n.set(t._state.data,o,n.state.value)}))}})),t.subscribe((function(e,t){var r={};e.payload&&(r.payload=e.payload),r.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(ps),n.sendInspectorState(ps),n.addTimelineEvent({layerId:us,event:{time:Date.now(),title:e.type,data:r}})})),t.subscribeAction({before:function(e,t){var r={};e.payload&&(r.payload=e.payload),e._id=fs++,e._time=Date.now(),r.state=t,n.addTimelineEvent({layerId:ds,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:r}})},after:function(e,t){var r={},o=Date.now()-e._time;r.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},e.payload&&(r.payload=e.payload),r.state=t,n.addTimelineEvent({layerId:ds,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:r}})}})}))}var ms=8702998,gs=6710886,bs=16777215,vs={label:"namespaced",textColor:bs,backgroundColor:gs};function ys(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function ws(e,t){return{id:t||"root",label:ys(t),tags:e.namespaced?[vs]:[],children:Object.keys(e._children).map((function(n){return ws(e._children[n],t+n+"/")}))}}function xs(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[vs]:[]}),Object.keys(t._children).forEach((function(o){xs(e,t._children[o],n,r+o+"/")}))}function _s(e,t,n){t="root"===n?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(r.length){var a=ks(t);o.getters=Object.keys(a).map((function(e){return{key:e.endsWith("/")?ys(e):e,editable:!1,value:Ss((function(){return a[e]}))}}))}return o}function ks(e){var t={};return Object.keys(e).forEach((function(n){var r=n.split("/");if(r.length>1){var o=t,a=r.pop();r.forEach((function(e){o[e]||(o[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),o=o[e]._custom.value})),o[a]=Ss((function(){return e[n]}))}else t[n]=Ss((function(){return e[n]}))})),t}function Es(e,t){var n=t.split("/").filter((function(e){return e}));return n.reduce((function(e,r,o){var a=e[r];if(!a)throw new Error('Missing module "'+r+'" for path "'+t+'".');return o===n.length-1?a:a._children}),"root"===t?e:e.root._children)}function Ss(e){try{return e()}catch($v){return $v}}var Cs=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},As={namespaced:{configurable:!0}};As.namespaced.get=function(){return!!this._rawModule.namespaced},Cs.prototype.addChild=function(e,t){this._children[e]=t},Cs.prototype.removeChild=function(e){delete this._children[e]},Cs.prototype.getChild=function(e){return this._children[e]},Cs.prototype.hasChild=function(e){return e in this._children},Cs.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Cs.prototype.forEachChild=function(e){Ki(this._children,e)},Cs.prototype.forEachGetter=function(e){this._rawModule.getters&&Ki(this._rawModule.getters,e)},Cs.prototype.forEachAction=function(e){this._rawModule.actions&&Ki(this._rawModule.actions,e)},Cs.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ki(this._rawModule.mutations,e)},Object.defineProperties(Cs.prototype,As);var Os=function(e){this.register([],e,!1)};function Ts(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;Ts(e.concat(r),t.getChild(r),n.modules[r])}}Os.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},Os.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},Os.prototype.update=function(e){Ts([],this.root,e)},Os.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var o=new Cs(t,n);if(0===e.length)this.root=o;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],o)}t.modules&&Ki(t.modules,(function(t,o){r.register(e.concat(o),t,n)}))},Os.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},Os.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var Ns=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1);var o=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Os(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=o;var a=this,i=this,s=i.dispatch,l=i.commit;this.dispatch=function(e,t){return s.call(a,e,t)},this.commit=function(e,t,n){return l.call(a,e,t,n)},this.strict=r;var c=this._modules.root.state;es(this,c,[],this._modules.root),Zi(this,c),n.forEach((function(e){return e(t)}))},Bs={state:{configurable:!0}};Ns.prototype.install=function(e,t){e.provide(t||Hi,this),e.config.globalProperties.$store=this;var n=void 0!==this._devtools&&this._devtools;n&&hs(e,this)},Bs.state.get=function(){return this._state.data},Bs.state.set=function(e){0},Ns.prototype.commit=function(e,t,n){var r=this,o=ls(e,t,n),a=o.type,i=o.payload,s=(o.options,{type:a,payload:i}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(i)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},Ns.prototype.dispatch=function(e,t){var n=this,r=ls(e,t),o=r.type,a=r.payload,i={type:o,payload:a},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(i,n.state)}))}catch($v){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(i,n.state)}))}catch($v){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(i,n.state,e)}))}catch($v){0}t(e)}))}))}},Ns.prototype.subscribe=function(e,t){return Ji(e,this._subscribers,t)},Ns.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return Ji(n,this._actionSubscribers,t)},Ns.prototype.watch=function(e,t,n){var r=this;return(0,a.watch)((function(){return e(r.state,r.getters)}),t,Object.assign({},n))},Ns.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},Ns.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),es(this,this.state,e,this._modules.get(e),n.preserveState),Zi(this,this.state)},Ns.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=ss(t.state,e.slice(0,-1));delete n[e[e.length-1]]})),Qi(this)},Ns.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},Ns.prototype.hotUpdate=function(e){this._modules.update(e),Qi(this,!0)},Ns.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Ns.prototype,Bs);Rs((function(e,t){var n={};return Ds(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=Is(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0})),n})),Rs((function(e,t){var n={};return Ds(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var a=Is(this.$store,"mapMutations",e);if(!a)return;r=a.context.commit}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n}));var js=Rs((function(e,t){var n={};return Ds(t).forEach((function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||Is(this.$store,"mapGetters",e))return this.$store.getters[o]},n[r].vuex=!0})),n}));Rs((function(e,t){var n={};return Ds(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var a=Is(this.$store,"mapActions",e);if(!a)return;r=a.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n}));function Ds(e){return Ps(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function Ps(e){return Array.isArray(e)||Gi(e)}function Rs(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function Is(e,t,n){var r=e._modulesNamespaceMap[n];return r}var Ls=r(2640),Ms=r.n(Ls),$s=r(3514),Vs=r.n($s);function Fs(e){return e=e||"",e.substr(0,1).toUpperCase()+e.substr(1)}const Us={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function zs(e){return String(e).replace(/[&<>"']/g,(e=>Us[e]))}function Ws(e){e=Math.max(0,e||1);const t=[];let n;if(window.crypto&&window.crypto.getRandomValues){const r=new Uint32Array(e);for(window.crypto.getRandomValues(r),n=0;nt[e%t.length])).join(""):null}function Ys(e,t=2){return e<1&&t>=2?Math.round(100*e)/100+"%":e<10&&t>=1?Math.round(10*e)/10+"%":`${Math.round(e)}%`}const Js=/([a-z\d])([A-Z])/g;function Qs(e){return e.replace(Js,"$1_$2").toLowerCase()}const Zs=/[ _]/g;function el(e){return Qs(e).replace(Zs,"-")}function tl(e){return zs(e||"").replace(/(\r\n|\r|\n)/g,"
\n")}const nl=/[^."']+|"([^"]*)"|'([^']*)'/g;function rl(e){return e.includes('"')||e.includes("'")?e.match(nl).map((e=>e.replace(/['"]/g,""))):e.split(".")}var ol=r(3727),al=r.n(ol);r(3435),r(6238);class il{add(e,t,n){if("string"!=typeof arguments[0])for(let r in arguments[0])this.add(r,arguments[0][r],arguments[1]);else(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][n?"unshift":"push"](t)}),this)}run(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}class sl{constructor(e){this.jsep=e,this.registered={}}register(){for(var e=arguments.length,t=new Array(e),n=0;n{if("object"!==typeof e||!e.name||!e.init)throw new Error("Invalid JSEP plugin format");this.registered[e.name]||(e.init(this.jsep),this.registered[e.name]=e)}))}}class ll{static get version(){return"1.3.9"}static toString(){return"JavaScript Expression Parser (JSEP) v"+ll.version}static addUnaryOp(e){return ll.max_unop_len=Math.max(e.length,ll.max_unop_len),ll.unary_ops[e]=1,ll}static addBinaryOp(e,t,n){return ll.max_binop_len=Math.max(e.length,ll.max_binop_len),ll.binary_ops[e]=t,n?ll.right_associative.add(e):ll.right_associative.delete(e),ll}static addIdentifierChar(e){return ll.additional_identifier_chars.add(e),ll}static addLiteral(e,t){return ll.literals[e]=t,ll}static removeUnaryOp(e){return delete ll.unary_ops[e],e.length===ll.max_unop_len&&(ll.max_unop_len=ll.getMaxKeyLen(ll.unary_ops)),ll}static removeAllUnaryOps(){return ll.unary_ops={},ll.max_unop_len=0,ll}static removeIdentifierChar(e){return ll.additional_identifier_chars.delete(e),ll}static removeBinaryOp(e){return delete ll.binary_ops[e],e.length===ll.max_binop_len&&(ll.max_binop_len=ll.getMaxKeyLen(ll.binary_ops)),ll.right_associative.delete(e),ll}static removeAllBinaryOps(){return ll.binary_ops={},ll.max_binop_len=0,ll}static removeLiteral(e){return delete ll.literals[e],ll}static removeAllLiterals(){return ll.literals={},ll}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(e){this.expr=e,this.index=0}static parse(e){return new ll(e).parse()}static getMaxKeyLen(e){return Math.max(0,...Object.keys(e).map((e=>e.length)))}static isDecimalDigit(e){return e>=48&&e<=57}static binaryPrecedence(e){return ll.binary_ops[e]||0}static isIdentifierStart(e){return e>=65&&e<=90||e>=97&&e<=122||e>=128&&!ll.binary_ops[String.fromCharCode(e)]||ll.additional_identifier_chars.has(String.fromCharCode(e))}static isIdentifierPart(e){return ll.isIdentifierStart(e)||ll.isDecimalDigit(e)}throwError(e){const t=new Error(e+" at character "+this.index);throw t.index=this.index,t.description=e,t}runHook(e,t){if(ll.hooks[e]){const n={context:this,node:t};return ll.hooks.run(e,n),n.node}return t}searchHook(e){if(ll.hooks[e]){const t={context:this};return ll.hooks[e].find((function(e){return e.call(t.context,t),t.node})),t.node}}gobbleSpaces(){let e=this.code;while(e===ll.SPACE_CODE||e===ll.TAB_CODE||e===ll.LF_CODE||e===ll.CR_CODE)e=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}parse(){this.runHook("before-all");const e=this.gobbleExpressions(),t=1===e.length?e[0]:{type:ll.COMPOUND,body:e};return this.runHook("after-all",t)}gobbleExpressions(e){let t,n,r=[];while(this.index0){if(ll.binary_ops.hasOwnProperty(e)&&(!ll.isIdentifierStart(this.code)||this.index+e.lengtho.right_a&&e.right_a?n>e.prec:n<=e.prec;while(r.length>2&&s(r[r.length-2]))i=r.pop(),t=r.pop().value,a=r.pop(),e={type:ll.BINARY_EXP,operator:t,left:a,right:i},r.push(e);e=this.gobbleToken(),e||this.throwError("Expected expression after "+l),r.push(o,e)}s=r.length-1,e=r[s];while(s>1)e={type:ll.BINARY_EXP,operator:r[s-1].value,left:r[s-2],right:e},s-=2;return e}gobbleToken(){let e,t,n,r;if(this.gobbleSpaces(),r=this.searchHook("gobble-token"),r)return this.runHook("after-token",r);if(e=this.code,ll.isDecimalDigit(e)||e===ll.PERIOD_CODE)return this.gobbleNumericLiteral();if(e===ll.SQUOTE_CODE||e===ll.DQUOTE_CODE)r=this.gobbleStringLiteral();else if(e===ll.OBRACK_CODE)r=this.gobbleArray();else{t=this.expr.substr(this.index,ll.max_unop_len),n=t.length;while(n>0){if(ll.unary_ops.hasOwnProperty(t)&&(!ll.isIdentifierStart(this.code)||this.index+t.length=t.length&&this.throwError("Unexpected token "+String.fromCharCode(e));break}if(o===ll.COMMA_CODE){if(this.index++,r++,r!==t.length)if(e===ll.CPAREN_CODE)this.throwError("Unexpected token ,");else if(e===ll.CBRACK_CODE)for(let e=t.length;e":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10},right_associative:new Set,additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"}),ll.max_unop_len=ll.getMaxKeyLen(ll.unary_ops),ll.max_binop_len=ll.getMaxKeyLen(ll.binary_ops);const ul=e=>new ll(e).parse(),dl=Object.getOwnPropertyNames(class{});Object.getOwnPropertyNames(ll).filter((e=>!dl.includes(e)&&void 0===ul[e])).forEach((e=>{ul[e]=ll[e]})),ul.Jsep=ll;const pl="ConditionalExpression";var fl={name:"ternary",init(e){e.hooks.add("after-expression",(function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;const n=t.node,r=this.gobbleExpression();if(r||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;const o=this.gobbleExpression();if(o||this.throwError("Expected expression"),t.node={type:pl,test:n,consequent:r,alternate:o},n.operator&&e.binary_ops[n.operator]<=.9){let r=n;while(r.right.operator&&e.binary_ops[r.right.operator]<=.9)r=r.right;t.node.test=r.right,r.right=t.node,t.node=n}}else this.throwError("Expected :")}}))}};ul.plugins.register(fl);const hl=47,ml=92;var gl={name:"regex",init(e){e.hooks.add("gobble-token",(function(t){if(this.code===hl){const n=++this.index;let r=!1;while(this.index=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57))break;a+=this.char}try{o=new RegExp(r,a)}catch($v){this.throwError($v.message)}return t.node={type:e.LITERAL,value:o,raw:this.expr.slice(n-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?r=!0:r&&this.code===e.CBRACK_CODE&&(r=!1),this.index+=this.code===ml?2:1}this.throwError("Unclosed Regex")}}))}};const bl=43,vl=45,yl={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|="]),updateOperators:[bl,vl],assignmentPrecedence:.9,init(e){const t=[e.IDENTIFIER,e.MEMBER_EXP];function n(e){yl.assignmentOperators.has(e.operator)?(e.type="AssignmentExpression",n(e.left),n(e.right)):e.operator||Object.values(e).forEach((e=>{e&&"object"===typeof e&&n(e)}))}yl.assignmentOperators.forEach((t=>e.addBinaryOp(t,yl.assignmentPrecedence,!0))),e.hooks.add("gobble-token",(function(e){const n=this.code;yl.updateOperators.some((e=>e===n&&e===this.expr.charCodeAt(this.index+1)))&&(this.index+=2,e.node={type:"UpdateExpression",operator:n===bl?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},e.node.argument&&t.includes(e.node.argument.type)||this.throwError(`Unexpected ${e.node.operator}`))})),e.hooks.add("after-token",(function(e){if(e.node){const n=this.code;yl.updateOperators.some((e=>e===n&&e===this.expr.charCodeAt(this.index+1)))&&(t.includes(e.node.type)||this.throwError(`Unexpected ${e.node.operator}`),this.index+=2,e.node={type:"UpdateExpression",operator:n===bl?"++":"--",argument:e.node,prefix:!1})}})),e.hooks.add("after-expression",(function(e){e.node&&n(e.node)}))}};ul.plugins.register(gl,yl);const wl={evalAst(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":return wl.evalBinaryExpression(e,t);case"Compound":return wl.evalCompound(e,t);case"ConditionalExpression":return wl.evalConditionalExpression(e,t);case"Identifier":return wl.evalIdentifier(e,t);case"Literal":return wl.evalLiteral(e,t);case"MemberExpression":return wl.evalMemberExpression(e,t);case"UnaryExpression":return wl.evalUnaryExpression(e,t);case"ArrayExpression":return wl.evalArrayExpression(e,t);case"CallExpression":return wl.evalCallExpression(e,t);case"AssignmentExpression":return wl.evalAssignmentExpression(e,t);default:throw SyntaxError("Unexpected expression",e)}},evalBinaryExpression(e,t){const n={"||":(e,t)=>e||t(),"&&":(e,t)=>e&&t(),"|":(e,t)=>e|t(),"^":(e,t)=>e^t(),"&":(e,t)=>e&t(),"==":(e,t)=>e==t(),"!=":(e,t)=>e!=t(),"===":(e,t)=>e===t(),"!==":(e,t)=>e!==t(),"<":(e,t)=>e":(e,t)=>e>t(),"<=":(e,t)=>e<=t(),">=":(e,t)=>e>=t(),"<<":(e,t)=>e<>":(e,t)=>e>>t(),">>>":(e,t)=>e>>>t(),"+":(e,t)=>e+t(),"-":(e,t)=>e-t(),"*":(e,t)=>e*t(),"/":(e,t)=>e/t(),"%":(e,t)=>e%t()}[e.operator](wl.evalAst(e.left,t),(()=>wl.evalAst(e.right,t)));return n},evalCompound(e,t){let n;for(let r=0;r-wl.evalAst(e,t),"!":e=>!wl.evalAst(e,t),"~":e=>~wl.evalAst(e,t),"+":e=>+wl.evalAst(e,t)}[e.operator](e.argument);return n},evalArrayExpression(e,t){return e.elements.map((e=>wl.evalAst(e,t)))},evalCallExpression(e,t){const n=e.arguments.map((e=>wl.evalAst(e,t))),r=wl.evalAst(e.callee,t);if(r===Function)throw new Error("Function constructor is disabled");return r(...n)},evalAssignmentExpression(e,t){if("Identifier"!==e.left.type)throw SyntaxError("Invalid left-hand side in assignment");const n=e.left.name;if("__proto__"===n)throw new Error("Assignment to __proto__ is disabled");const r=wl.evalAst(e.right,t);return t[n]=r,t[n]}};class xl{constructor(e){this.code=e,this.ast=ul(this.code)}runInNewContext(e){const t={...e};return wl.evalAst(this.ast,t)}}function _l(e,t){return e=e.slice(),e.push(t),e}function kl(e,t){return t=t.slice(),t.unshift(e),t}class El extends Error{constructor(e){super('JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'),this.avoidNew=!0,this.value=e,this.name="NewError"}}function Sl(e,t,n,r,o){if(!(this instanceof Sl))try{return new Sl(e,t,n,r,o)}catch($v){if(!$v.avoidNew)throw $v;return $v.value}"string"===typeof e&&(o=r,r=n,n=t,t=e,e=null);const a=e&&"object"===typeof e;if(e=e||{},this.json=e.json||n,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!Object.hasOwn(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.eval=void 0===e.eval?"safe":e.eval,this.ignoreEvalErrors="undefined"!==typeof e.ignoreEvalErrors&&e.ignoreEvalErrors,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||r||null,this.otherTypeCallback=e.otherTypeCallback||o||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){const r={path:a?e.path:t};a?"json"in e&&(r.json=e.json):r.json=n;const o=this.evaluate(r);if(!o||"object"!==typeof o)throw new El(o);return o}}Sl.prototype.evaluate=function(e,t,n,r){let o=this.parent,a=this.parentProperty,{flatten:i,wrap:s}=this;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,n=n||this.callback,this.currOtherTypeCallback=r||this.otherTypeCallback,t=t||this.json,e=e||this.path,e&&"object"===typeof e&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!Object.hasOwn(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');({json:t}=e),i=Object.hasOwn(e,"flatten")?e.flatten:i,this.currResultType=Object.hasOwn(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=Object.hasOwn(e,"sandbox")?e.sandbox:this.currSandbox,s=Object.hasOwn(e,"wrap")?e.wrap:s,this.currEval=Object.hasOwn(e,"eval")?e.eval:this.currEval,n=Object.hasOwn(e,"callback")?e.callback:n,this.currOtherTypeCallback=Object.hasOwn(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,o=Object.hasOwn(e,"parent")?e.parent:o,a=Object.hasOwn(e,"parentProperty")?e.parentProperty:a,e=e.path}if(o=o||null,a=a||null,Array.isArray(e)&&(e=Sl.toPathString(e)),!e&&""!==e||!t)return;const l=Sl.toPathArray(e);"$"===l[0]&&l.length>1&&l.shift(),this._hasParentSelector=null;const c=this._trace(l,t,["$"],o,a,n).filter((function(e){return e&&!e.isParentSelector}));return c.length?s||1!==c.length||c[0].hasArrExpr?c.reduce(((e,t)=>{const n=this._getPreferredOutput(t);return i&&Array.isArray(n)?e=e.concat(n):e.push(n),e}),[]):this._getPreferredOutput(c[0]):s?[]:void 0},Sl.prototype._getPreferredOutput=function(e){const t=this.currResultType;switch(t){case"all":{const t=Array.isArray(e.path)?e.path:Sl.toPathArray(e.path);return e.pointer=Sl.toPointer(t),e.path="string"===typeof e.path?e.path:Sl.toPathString(e.path),e}case"value":case"parent":case"parentProperty":return e[t];case"path":return Sl.toPathString(e[t]);case"pointer":return Sl.toPointer(e.path);default:throw new TypeError("Unknown result type")}},Sl.prototype._handleCallback=function(e,t,n){if(t){const r=this._getPreferredOutput(e);e.path="string"===typeof e.path?e.path:Sl.toPathString(e.path),t(r,n,e)}},Sl.prototype._trace=function(e,t,n,r,o,a,i,s){let l;if(!e.length)return l={path:n,value:t,parent:r,parentProperty:o,hasArrExpr:i},this._handleCallback(l,a,"value"),l;const c=e[0],u=e.slice(1),d=[];function p(e){Array.isArray(e)?e.forEach((e=>{d.push(e)})):d.push(e)}if(("string"!==typeof c||s)&&t&&Object.hasOwn(t,c))p(this._trace(u,t[c],_l(n,c),t,c,a,i));else if("*"===c)this._walk(t,(e=>{p(this._trace(u,t[e],_l(n,e),t,e,a,!0,!0))}));else if(".."===c)p(this._trace(u,t,n,r,o,a,i)),this._walk(t,(r=>{"object"===typeof t[r]&&p(this._trace(e.slice(),t[r],_l(n,r),t,r,a,!0))}));else{if("^"===c)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:u,isParentSelector:!0};if("~"===c)return l={path:_l(n,c),value:o,parent:r,parentProperty:null},this._handleCallback(l,a,"property"),l;if("$"===c)p(this._trace(u,t,n,null,null,a,i));else if(/^(-?\d*):(-?\d*):?(\d*)$/u.test(c))p(this._slice(c,u,t,n,r,o,a));else if(0===c.indexOf("?(")){if(!1===this.currEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");const e=c.replace(/^\?\((.*?)\)$/u,"$1"),i=/@.?([^?]*)[['](\??\(.*?\))(?!.\)\])[\]']/gu.exec(e);i?this._walk(t,(e=>{const s=[i[2]],l=i[1]?t[e][i[1]]:t[e],c=this._trace(s,l,n,r,o,a,!0);c.length>0&&p(this._trace(u,t[e],_l(n,e),t,e,a,!0))})):this._walk(t,(i=>{this._eval(e,t[i],i,n,r,o)&&p(this._trace(u,t[i],_l(n,i),t,i,a,!0))}))}else if("("===c[0]){if(!1===this.currEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");p(this._trace(kl(this._eval(c,t,n.at(-1),n.slice(0,-1),r,o),u),t,n,r,o,a,i))}else if("@"===c[0]){let e=!1;const i=c.slice(1,-2);switch(i){case"scalar":t&&["object","function"].includes(typeof t)||(e=!0);break;case"boolean":case"string":case"undefined":case"function":typeof t===i&&(e=!0);break;case"integer":!Number.isFinite(t)||t%1||(e=!0);break;case"number":Number.isFinite(t)&&(e=!0);break;case"nonFinite":"number"!==typeof t||Number.isFinite(t)||(e=!0);break;case"object":t&&typeof t===i&&(e=!0);break;case"array":Array.isArray(t)&&(e=!0);break;case"other":e=this.currOtherTypeCallback(t,n,r,o);break;case"null":null===t&&(e=!0);break;default:throw new TypeError("Unknown value type "+i)}if(e)return l={path:n,value:t,parent:r,parentProperty:o},this._handleCallback(l,a,"value"),l}else if("`"===c[0]&&t&&Object.hasOwn(t,c.slice(1))){const e=c.slice(1);p(this._trace(u,t[e],_l(n,e),t,e,a,i,!0))}else if(c.includes(",")){const e=c.split(",");for(const i of e)p(this._trace(kl(i,u),t,n,r,o,a,!0))}else!s&&t&&Object.hasOwn(t,c)&&p(this._trace(u,t[c],_l(n,c),t,c,a,i,!0))}if(this._hasParentSelector)for(let f=0;f{t(e)}))},Sl.prototype._slice=function(e,t,n,r,o,a,i){if(!Array.isArray(n))return;const s=n.length,l=e.split(":"),c=l[2]&&Number.parseInt(l[2])||1;let u=l[0]&&Number.parseInt(l[0])||0,d=l[1]&&Number.parseInt(l[1])||s;u=u<0?Math.max(0,u+s):Math.min(s,u),d=d<0?Math.max(0,d+s):Math.min(s,d);const p=[];for(let f=u;f{p.push(e)}))}return p},Sl.prototype._eval=function(e,t,n,r,o,a){this.currSandbox._$_parentProperty=a,this.currSandbox._$_parent=o,this.currSandbox._$_property=n,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;const i=e.includes("@path");i&&(this.currSandbox._$_path=Sl.toPathString(r.concat([n])));const s=this.currEval+"Script:"+e;if(!Sl.cache[s]){let t=e.replaceAll("@parentProperty","_$_parentProperty").replaceAll("@parent","_$_parent").replaceAll("@property","_$_property").replaceAll("@root","_$_root").replaceAll(/@([.\s)[])/gu,"_$_v$1");if(i&&(t=t.replaceAll("@path","_$_path")),"safe"===this.currEval||!0===this.currEval||void 0===this.currEval)Sl.cache[s]=new this.safeVm.Script(t);else if("native"===this.currEval)Sl.cache[s]=new this.vm.Script(t);else if("function"===typeof this.currEval&&this.currEval.prototype&&Object.hasOwn(this.currEval.prototype,"runInNewContext")){const e=this.currEval;Sl.cache[s]=new e(t)}else{if("function"!==typeof this.currEval)throw new TypeError(`Unknown "eval" property "${this.currEval}"`);Sl.cache[s]={runInNewContext:e=>this.currEval(t,e)}}}try{return Sl.cache[s].runInNewContext(this.currSandbox)}catch($v){if(this.ignoreEvalErrors)return!1;throw new Error("jsonPath: "+$v.message+": "+e)}},Sl.cache={},Sl.toPathString=function(e){const t=e,n=t.length;let r="$";for(let o=1;o"function"===typeof e[t]));const o=n.map((t=>e[t])),a=r.reduce(((t,n)=>{let r=e[n].toString();return/function/u.test(r)||(r="function "+r),"var "+n+"="+r+";"+t}),"");t=a+t,/(['"])use strict\1/u.test(t)||n.includes("arguments")||(t="var arguments = undefined;"+t),t=t.replace(/;\s*$/u,"");const i=t.lastIndexOf(";"),s=i>-1?t.slice(0,i+1)+" return "+t.slice(i+1):" return "+t;return new Function(...n,s)(...o)}}Sl.prototype.vm={Script:Al};r(2011),r(1580),r(3142),r(6343),r(8088),r(8875),r(3182);function Ol(e,t){const n=e.indexOf(t);return n>=0&&e.splice(n,1),e}function Tl(e,t){const n=e.indexOf(t);-1===n&&e.push(t)}function Nl(e,t){const n=[];for(const r of t)e.includes(r)||n.includes(r)||n.push(r);e.push(...n)}function Bl(e){return Array.isArray(e)}function jl(e,t,n=1){if(t<0)throw new Error("Index too low");if(t+n>e.length)throw new Error("Index + length too high");return e.splice(t,n),e}function Dl(e,t,n,r){return t=t||[],"object"===typeof n?t[e]((e=>{for(const t in n){const r=n[t],o=Ml(e,t);if("undefined"===typeof r){if(!o)return!1}else if(o!==r)return!1}return!0})):void 0===r?t[e]((e=>!!Ml(e,n))):t[e]((e=>Ml(e,n)===r))}function Pl(e,t,n){return Dl("filter",e,t,n)}function Rl(e,t,n){return Dl("find",e,t,n)}function Il(e){const t=[];return Nl(t,e),t}var Ll=r(4364);function Ml(e,t){if(!t)throw new Error("Cannot translate an empty input. The t function requires a string.");if(t.startsWith("$"))try{return Sl({path:t,json:e,wrap:!1})}catch($v){return Ll.log("JSON Path error",$v,t,e),"(JSON Path err)"}if(!t.includes("."))return e?.[t];const n=rl(t);for(let r=0;re.clicked(t)),["prevent"]),["enter"])),t[2]||(t[2]=(0,a.withKeys)((0,a.withModifiers)((t=>e.clicked(t)),["prevent"]),["space"]))],onClick:t[3]||(t[3]=t=>e.clicked(t))},[(0,a.createElementVNode)("input",{checked:e.isChecked,value:e.valueWhenTrue,type:"checkbox",tabindex:-1,name:e.id,onClick:t[0]||(t[0]=(0,a.withModifiers)((()=>{}),["stop","prevent"]))},null,8,zl),(0,a.createElementVNode)("span",{class:(0,a.normalizeClass)(["checkbox-custom",{indeterminate:e.indeterminate}]),tabindex:e.isDisabled?-1:0,"aria-label":e.label,"aria-checked":!!e.value,role:"checkbox"},null,10,Wl),e.$slots.label||e.label||e.labelKey||e.tooltipKey||e.tooltip?((0,a.openBlock)(),(0,a.createElementBlock)("span",{key:0,class:(0,a.normalizeClass)(["checkbox-label",{"checkbox-primary":e.primary}])},[(0,a.renderSlot)(e.$slots,"label",{},(()=>[e.labelKey?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,k:e.labelKey,raw:!0},null,8,["k"])):e.label?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)],64)):(0,a.createCommentVNode)("",!0),e.tooltipKey?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("i",ql,null,512)),[[l,e.t(e.tooltipKey)]]):e.tooltip?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("i",Hl,null,512)),[[l,e.tooltip]]):(0,a.createCommentVNode)("",!0)]))],2)):(0,a.createCommentVNode)("",!0)],42,Ul),e.descriptionKey||e.description?((0,a.openBlock)(),(0,a.createElementBlock)("div",Kl,[e.descriptionKey?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,k:e.descriptionKey},null,8,["k"])):e.description?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createTextVNode)((0,a.toDisplayString)(e.description),1)],64)):(0,a.createCommentVNode)("",!0)])):(0,a.createCommentVNode)("",!0)])}const Xl="create",Yl="view",Jl="edit",Ql="list",Zl="detail",ec="config";var tc=(0,a.defineComponent)({name:"Checkbox",props:{value:{type:[Boolean,Array,String],default:!1},label:{type:String,default:null},labelKey:{type:String,default:null},id:{type:String,default:String(1e3*Math.random())},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},mode:{type:String,default:Jl},tooltip:{type:[String,Object],default:null},tooltipKey:{type:String,default:null},valueWhenTrue:{type:[Boolean,String,Number],default:!0},descriptionKey:{type:String,default:null},description:{type:String,default:null},primary:{type:Boolean,default:!1}},emits:["update:value"],computed:{isDisabled(){return this.disabled||this.mode===Yl},isChecked(){return this.isMulti(this.value)?this.findTrueValues(this.value):this.value===this.valueWhenTrue}},methods:{clicked(e){if("A"===e.target.tagName&&e.target.href)return!0;if(e.stopPropagation(),e.preventDefault(),this.isDisabled)return;const t={bubbles:!0,cancelable:!1,shiftKey:e.shiftKey,altKey:e.altKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey},n=new CustomEvent("click",t),r=al()(this.value);this.isMulti(r)?(this.isChecked?Ol(r,this.valueWhenTrue):Tl(r,this.valueWhenTrue),this.$emit("update:value",r)):this.isString(this.valueWhenTrue)?this.isChecked?this.$emit("update:value",null):this.$emit("update:value",this.valueWhenTrue):(this.$emit("update:value",!r),this.$el.dispatchEvent(n))},isMulti(e){return Array.isArray(e)},isString(e){return"string"===typeof e},findTrueValues(e){return e.find((e=>e===this.valueWhenTrue))||!1}}});r(8696);const nc=(0,w.A)(tc,[["render",Gl]]);var rc=nc;const oc=["name","type","disabled","tab-index","data-testid"],ac={key:0},ic={key:2};function sc(e,t,n,r,o,i){const s=(0,a.resolveDirective)("clean-tooltip"),l=(0,a.resolveDirective)("clean-html");return(0,a.openBlock)(),(0,a.createElementBlock)("button",{ref:"btn",class:(0,a.normalizeClass)(e.classes),name:e.name,type:e.type,disabled:e.isDisabled,"tab-index":e.tabIndex,"data-testid":e.componentTestid+"-async-button",onClick:t[0]||(t[0]=(...t)=>e.clicked&&e.clicked(...t))},["manual-refresh"===e.mode?((0,a.openBlock)(),(0,a.createElementBlock)("span",ac,(0,a.toDisplayString)(e.t("action.refresh")),1)):(0,a.createCommentVNode)("",!0),e.displayIcon?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("i",{key:1,class:(0,a.normalizeClass)([{icon:!0,"icon-lg":!0,[e.displayIcon]:!0},"ml-5 mr-0"])},null,2)),[[s,e.tooltip]]):(0,a.createCommentVNode)("",!0),"text"===e.labelAs&&e.displayLabel?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("span",ic,null,512)),[[s,e.tooltip],[l,e.displayLabel]]):(0,a.createCommentVNode)("",!0)],10,oc)}var lc={memberOfObject:(e,t)=>Object.entries(e||{}).find((([e])=>e===t)),memberOfComponent:(e,t)=>e[t]};const cc={ACTION:"action",WAITING:"waiting",SUCCESS:"success",ERROR:"error"},uc="text",dc="tooltip",pc={timer:void 0};var fc=(0,a.defineComponent)({props:{mode:{type:String,default:"edit"},delay:{type:Number,default:5e3},name:{type:String,default:null},disabled:{type:Boolean,default:!1},type:{type:String,default:"button"},tabIndex:{type:Number,default:null},actionColor:{type:String,default:"role-primary"},waitingColor:{type:String,default:"bg-primary"},successColor:{type:String,default:"bg-success"},errorColor:{type:String,default:"bg-error"},actionLabel:{type:String,default:null},waitingLabel:{type:String,default:null},successLabel:{type:String,default:null},errorLabel:{type:String,default:null},icon:{type:String,default:null},labelAs:{type:String,default:uc},size:{type:String,default:""},currentPhase:{type:String,default:cc.ACTION},componentTestid:{type:String,default:"action-button"},manual:{type:Boolean,default:!1}},setup(){const e=(0,a.inject)("timer",pc.timer);return{timer:e}},emits:["click"],data(){return{phase:this.currentPhase}},watch:{currentPhase(e){this.phase=e}},computed:{classes(){const e=`${this.phase}Color`,t=lc.memberOfComponent(this,e),n={btn:!0,[t]:!0};return this.size&&(n[`btn-${this.size}`]=!0),n},displayIcon(){const e=this.$store.getters["i18n/exists"],t=this.$store.getters["i18n/t"],n=`asyncButton.${this.mode}.${this.phase}Icon`,r=`asyncButton.default.${this.phase}Icon`;let o="";return this.icon?o=this.icon:e(n)?o=`icon-${t(n)}`:e(r)&&(o=`icon-${t(r)}`),this.isSpinning&&(o||(o="icon-spinner"),o+=" icon-spin"),o},displayLabel(){const e=lc.memberOfComponent(this,`${this.phase}Label`),t=this.$store.getters["i18n/exists"],n=this.$store.getters["i18n/t"],r=`asyncButton.${this.mode}.${this.phase}`,o=`asyncButton.default.${this.phase}`;return e||(t(r)?n(r):t(o)?n(o):"")},isSpinning(){return this.phase===cc.WAITING},isDisabled(){return this.disabled||this.phase===cc.WAITING},tooltip(){return this.labelAs===dc?{content:this.displayLabel,hideOnTargetClick:!1}:null}},beforeUnmount(){this.timer&&clearTimeout(this.timer)},methods:{clicked(){if(this.isDisabled)return;this.timer&&clearTimeout(this.timer),this.manual||(this.phase=cc.WAITING);const e=e=>{this.done(e)};this.$emit("click",e)},done(e){"cancelled"===e?this.phase=cc.ACTION:(this.phase=e?cc.SUCCESS:cc.ERROR,this.timer=setTimeout((()=>{this.timerDone()}),this.delay))},timerDone(){this.phase!==cc.SUCCESS&&this.phase!==cc.ERROR||(this.phase=cc.ACTION)},focus(){this.$refs.btn.focus()}}});r(3158);const hc=(0,w.A)(fc,[["render",sc],["__scopeId","data-v-5db6890e"]]);var mc=hc;const gc={class:"dropdown-button-group"},bc=["disabled"],vc=(0,a.createElementVNode)("i",{class:"icon icon-chevron-down"},null,-1);function yc(e,t,n,r,o,i){const s=(0,a.resolveComponent)("v-dropdown");return(0,a.openBlock)(),(0,a.createElementBlock)("div",gc,[(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)(["dropdown-button bg-primary",{"one-action":!n.dualAction,[i.buttonSize]:!0,disabled:n.disableButton}])},[(0,a.createVNode)(s,{placement:"bottom",container:!1,disabled:n.disableButton,flip:!1},{popper:(0,a.withCtx)((()=>[(0,a.renderSlot)(e.$slots,"popover-content")])),default:(0,a.withCtx)((()=>[(0,a.renderSlot)(e.$slots,"button-content",{buttonSize:i.buttonSize},(()=>[(0,a.createElementVNode)("button",{ref:"popoverButton",class:(0,a.normalizeClass)(["icon-container bg-primary no-left-border-radius",i.buttonSize]),disabled:n.disableButton,type:"button"},[(0,a.createTextVNode)(" Button "),vc],10,bc)]))])),_:3},8,["disabled"])],2)])}var wc={name:"ActionDropdown",props:{size:{type:String,default:""},dualAction:{type:Boolean,default:!0},disableButton:{type:Boolean,default:!1}},computed:{buttonSize(){const{size:e}=this;let t;switch(e){case"":t="btn";break;case"xs":t="btn btn-xs";break;case"sm":t="btn btn-sm";break;case"lg":t="btn btn-lg";break;default:}return t}},methods:{hasSlot(e="default"){return!!this.$slots[e]||!!this.$slots.name()},togglePopover(){}}};r(3864);const xc=(0,w.A)(wc,[["render",yc]]);var _c=xc,kc=r(7331),Ec=r.n(kc),Sc=r(2784),Cc=r.n(Sc);const Ac=e=>((0,a.pushScopeId)("data-v-e0272992"),e=e(),(0,a.popScopeId)(),e),Oc=["width"],Tc=["width"],Nc=["align","width","onClick"],Bc={class:"content"},jc={key:0,class:"text-muted"},Dc={key:0,class:"sort"},Pc={class:"icon icon-info not-filter-icon"},Rc={class:"icon-stack"},Ic=Ac((()=>(0,a.createElementVNode)("i",{class:"icon icon-sort icon-stack-1x faded"},null,-1))),Lc={key:0,class:"icon icon-sort-down icon-stack-1x"},Mc={key:1,class:"icon icon-sort-up icon-stack-1x"},$c=["width"],Vc={ref:"table-options",class:"table-options-group"},Fc=Ac((()=>(0,a.createElementVNode)("i",{class:"icon icon-actions"},null,-1))),Uc=[Fc],zc={key:0,class:"table-options-grouping"},Wc={class:"table-options-col-subtitle"},qc={class:"table-options-col-subtitle mb-20"},Hc=["width"];function Kc(e,t,n,r,o,i){const s=(0,a.resolveComponent)("Checkbox"),l=(0,a.resolveComponent)("LabeledSelect"),c=(0,a.resolveDirective)("clean-html"),u=(0,a.resolveDirective)("clean-tooltip");return(0,a.openBlock)(),(0,a.createElementBlock)("thead",null,[(0,a.createElementVNode)("tr",{class:(0,a.normalizeClass)({loading:n.loading,"top-aligned":i.hasColumnWithSubLabel})},[n.tableActions?((0,a.openBlock)(),(0,a.createElementBlock)("th",{key:0,width:n.checkWidth},[(0,a.createVNode)(s,{value:i.isAll,"onUpdate:value":t[0]||(t[0]=e=>i.isAll=e),class:"check","data-testid":"sortable-table_check_select_all",indeterminate:i.isIndeterminate,disabled:n.noRows||n.noResults},null,8,["value","indeterminate","disabled"])],8,Oc)):(0,a.createCommentVNode)("",!0),n.subExpandColumn?((0,a.openBlock)(),(0,a.createElementBlock)("th",{key:1,width:n.expandWidth},null,8,Tc)):(0,a.createCommentVNode)("",!0),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(n.columns,(t=>(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("th",{key:t.name,align:t.align||"left",width:t.width,class:(0,a.normalizeClass)({sortable:t.sort,[t.breakpoint]:!!t.breakpoint}),onClick:(0,a.withModifiers)((e=>i.changeSort(e,t)),["prevent"])},[(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)(["table-header-container",{"not-filterable":n.hasAdvancedFiltering&&!t.isFilter}])},[(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("div",Bc,[(0,a.withDirectives)((0,a.createElementVNode)("span",null,null,512),[[c,n.labelFor(t)]]),t.subLabel?((0,a.openBlock)(),(0,a.createElementBlock)("span",jc,(0,a.toDisplayString)(t.subLabel),1)):(0,a.createCommentVNode)("",!0)])),[[u,i.tooltip(t)]]),t.sort?((0,a.openBlock)(),(0,a.createElementBlock)("div",Dc,[(0,a.withDirectives)((0,a.createElementVNode)("i",Pc,null,512),[[a.vShow,n.hasAdvancedFiltering&&!t.isFilter],[u,e.t("sortableTable.tableHeader.noFilter")]]),(0,a.createElementVNode)("span",Rc,[Ic,i.isCurrent(t)&&!n.descending?((0,a.openBlock)(),(0,a.createElementBlock)("i",Lc)):(0,a.createCommentVNode)("",!0),i.isCurrent(t)&&n.descending?((0,a.openBlock)(),(0,a.createElementBlock)("i",Mc)):(0,a.createCommentVNode)("",!0)])])):(0,a.createCommentVNode)("",!0)],2)],10,Nc)),[[a.vShow,!n.hasAdvancedFiltering||n.hasAdvancedFiltering&&t.isColVisible]]))),128)),n.rowActions&&n.hasAdvancedFiltering&&n.tableColsOptions.length?((0,a.openBlock)(),(0,a.createElementBlock)("th",{key:2,width:n.rowActionsWidth},[(0,a.createElementVNode)("div",Vc,[(0,a.createElementVNode)("button",{"aria-haspopup":"true","aria-expanded":"false",type:"button",class:"btn btn-sm role-multi-action table-options-btn",onClick:t[1]||(t[1]=(...e)=>i.tableColsOptionsClick&&i.tableColsOptionsClick(...e))},Uc),(0,a.withDirectives)((0,a.createElementVNode)("div",{class:"table-options-container",style:(0,a.normalizeStyle)(o.tableColsMenuPosition)},[i.hasAdvGrouping?((0,a.openBlock)(),(0,a.createElementBlock)("div",zc,[(0,a.createElementVNode)("span",Wc,(0,a.toDisplayString)(e.t("sortableTable.tableHeader.groupBy"))+":",1),(0,a.createVNode)(l,{value:i.advGroup,"onUpdate:value":t[2]||(t[2]=e=>i.advGroup=e),class:"table-options-grouping-select",clearable:!0,options:n.groupOptions,disabled:!1,searchable:!1,mode:"edit",multiple:!1,taggable:!1},null,8,["value","options"])])):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("p",qc,(0,a.toDisplayString)(e.t("sortableTable.tableHeader.show"))+": ",1),(0,a.createElementVNode)("ul",null,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(n.tableColsOptions,((e,t)=>(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("li",{key:t,class:(0,a.normalizeClass)({visible:!e.preventColToggle})},[(0,a.withDirectives)((0,a.createVNode)(s,{value:e.isColVisible,"onUpdate:value":[t=>e.isColVisible=t,t=>i.tableOptionsCheckbox(t,e.label)],class:"table-options-checkbox",label:e.label},null,8,["value","onUpdate:value","label"]),[[a.vShow,!e.preventColToggle]])],2)),[[a.vShow,e.isTableOption]]))),128))])],4),[[a.vShow,o.tableColsOptionsVisibility]])],512)],8,$c)):n.rowActions?((0,a.openBlock)(),(0,a.createElementBlock)("th",{key:3,width:n.rowActionsWidth},null,8,Hc)):(0,a.createCommentVNode)("",!0)],2)])}const Gc="undefined"===typeof window?"server":window.navigator.platform.toLowerCase(),Xc="undefined"===typeof window?"server":window.navigator.userAgent,Yc=(Gc.includes("linux")||Gc.includes("unix"),Gc.includes("mac")),Jc=(Gc.includes("win"),Yc?"metaKey":"ctrlKey"),Qc=Jc,Zc="shiftKey";function eu(e){return!!e[Jc]}function tu(e){return!!e[Qc]}function nu(e){return!!e[Zc]}function ru(e){return e.ctrlKey&&2===e.button}Xc.includes("Gecko/");const ou=Xc.includes("Chrome/");!ou&&Xc.includes("AppleWebKit/"),!ou&&Xc.includes("Safari/"),/Android|webOS|iPhone|iPad|iPod|IEMobile/i.test(Xc);function au(e,t){if(e=e?.parentElement,!e)return null;const n=e.matches||e.matchesSelector;return n.call(e,t)?e:au(e,t)}const iu="all",su="some",lu="none";var cu={mounted(){const e=this.$el.querySelector("TABLE");this._onRowClickBound=this.onRowClick.bind(this),this._onRowMousedownBound=this.onRowMousedown.bind(this),this._onRowContextBound=this.onRowContext.bind(this),e.addEventListener("click",this._onRowClickBound),e.addEventListener("mousedown",this._onRowMousedownBound),e.addEventListener("contextmenu",this._onRowContextBound)},beforeUnmount(){const e=this.$el.querySelector("TABLE");e.removeEventListener("click",this._onRowClickBound),e.removeEventListener("mousedown",this._onRowMousedownBound),e.removeEventListener("contextmenu",this._onRowContextBound)},computed:{howMuchSelected(){const e=this.pagedRows.length,t=this.selectedRows.length;return t>=e&&e>0?iu:t>0?su:lu},bulkActionsForSelection(){let e=!1;const t=this.pagedRows,n=this.arrangedRows||t;let r=this.selectedRows;if(!this.selectedRows.length){if(!n)return[];const t=n[0];r=t?[t]:[],e=!0}const o={};for(const i of t)if(i.availableActions)for(const e of i.availableActions)e.bulkable&&du(o,e,!1);for(const i of r)if(i.availableActions)for(const e of i.availableActions)e.bulkable&&e.enabled&&du(o,e,!1);const a=pu(o,e);return a.forEach((e=>{const t=this.selectedRows.some((t=>{const n=t.availableActions||[];return n.some((t=>t.action===e.action&&t.enabled))}));e.enabled=this.selectedRows.length>0&&t})),a.sort(((e,t)=>(t.weight||0)-(e.weight||0)))}},data(){return{selectedRows:[],prevNode:null}},watch:{pagedRows(){const e=this.pagedRows,t=[];for(const n of this.selectedRows)e.includes(n)||t.push(n);this.update([],t)}},methods:{onToggleAll(e){return e?(this.update(this.pagedRows,[]),!0):(this.update([],this.pagedRows),!1)},onRowMousedown(e){(nu(e)||this.isSelectionCheckbox(e.target))&&e.preventDefault()},onRowMouseEnter(e){const t=e.target.closest("TR");if(t.classList.contains("sub-row")){const e=t.previousElementSibling;e.classList.add("sub-row-hovered")}},onRowMouseLeave(e){const t=e.target.closest("TR");if(t.classList.contains("sub-row")){const e=t.previousElementSibling;e.classList.remove("sub-row-hovered")}},nodeForEvent(e){const t=e.target.tagName,n=e.target,r=n.closest(".actions");if(n.classList.contains("select-all-check"))return;if(!r&&("A"===t||"BUTTON"===t||au(n,".btn")))return;const o=e.target.closest("TR");return this.nodeForRow(o)},nodeForRow(e){if(e?.classList.contains("separator-row"))return;while(e&&!e.classList.contains("main-row"))e=e.previousElementSibling;if(!e)return;const t=e.dataset.nodeId;if(!t)return;const n=this.pagedRows.find((e=>Ml(e,this.keyField)===t));return n},async onRowClick(e){const t=this.nodeForEvent(e),n=e.target.closest("TD"),r=n?.classList.contains("skip-select");if(r)return;const o=this.selectedRows,a=this.isSelectionCheckbox(e.target)||n?.classList.contains("row-check"),i=n?.classList.contains("row-expand"),s=this.pagedRows;if(this.$emit("rowClick",e),!t)return;if(i)return void this.toggleExpand(t);const l=e.target.closest(".actions");if(l){let n=[t];if(this.mangleActionResources){const e=l.querySelector("i");e.classList.remove("icon-actions"),e.classList.add("icon-spinner"),e.classList.add("icon-spin");try{n=await this.mangleActionResources(n)}finally{e.classList.remove("icon-spinner"),e.classList.remove("icon-spin"),e.classList.add("icon-actions")}}return void this.$store.commit("action-menu/show",{resources:n,event:e,elem:l})}const c=o.includes(t);let u=this.prevNode;if(u&&s.includes(u)||(u=t),tu(e))this.toggle(t);else if(nu(e)){const e=this.nodesBetween(u,t);c?this.update([],e):this.update(e,[])}else a?this.toggle(t):this.update([t],s);this.prevNode=t},async onRowContext(e){const t=this.nodeForEvent(e);if(ru(e))return;if(!t)return;e.preventDefault(),e.stopPropagation(),this.prevNode=t;const n=this.selectedRows.includes(t);n||this.update([t],this.selectedRows.slice());let r=this.selectedRows;this.mangleActionResources&&(r=await this.mangleActionResources(r)),this.$store.commit("action-menu/show",{resources:r,event:e})},keySelectRow(e,t=!1){const n=this.nodeForRow(e),r=this.pagedRows;n&&(t?this.update([n],[]):this.update([n],r),this.prevNode=n)},isSelectionCheckbox(e){return"INPUT"===e.tagName&&"checkbox"===e.type&&null!==e.closest(".selection-checkbox")},nodesBetween(e,t){let n=[];const r=this.groupBy;if(r){const r=this.groupedRows;let o=this.groupIdx(e),a=this.groupIdx(t);if(!o||!a)return[];(o.group>a.group||o.group===a.group&&o.item>a.item)&&([o,a]=[a,o]);for(let e=o.group;e<=a.group;e++){const t=r[e].rows;let i=o.group===e?o.item:0;while(t[i]&&(e!this.selectedRows.includes(e))),n},groupIdx(e){const t=this.groupedRows;for(let n=0;n{const t=this.selectedRows.findIndex((t=>t===e));-1!==t&&this.selectedRows.splice(t,1)})),e&&this.selectedRows.push(...e),t.length&&this.$nextTick((()=>{for(let e=0;e{for(let t=0;t{this.$emit("selection",this.selectedRows)}))},updateInput(e,t,n){const r=Ml(e,n);if(r){const e=this.$el.querySelector(`div[data-checkbox-ctrl][data-node-id="${r}"]`);if(e&&!e.disabled){const n=e.querySelector("label");n&&(n.value=t);let r=e.closest("tr"),o=!0;while(r&&(o||r.classList.contains("sub-row")))t?r.classList.add("row-selected"):r.classList.remove("row-selected"),r=r.nextElementSibling,o=!1}}},select(e){e.forEach((e=>{const t=Ml(e,this.keyField),n=this.$el.querySelector(`label[data-node-id="${t}"]`);n.dispatchEvent(new Event("click"))}))},applyTableAction(e,t,n){const r={alt:n&&eu(n),event:n},o=this.selectedRows.filter((t=>{const n=t.availableActions.find((t=>t.action===e.action));return n?.enabled}));fu(o,e,t,r,this),this.actionOfInterest=null},clearSelection(){this.update([],this.selectedRows)}}};let uu=0;function du(e,t,n=!0){let r=t.action;r||(r=`anon${uu}`,uu++);let o=e[r];return o||(o=Object.assign({},t),e[r]=o,o.allEnabled=!1),t.enabled?o.anyEnabled=!0:o.allEnabled=!1,n&&(o.available=(o.available||0)+(t.enabled?1:0),o.total=(o.total||0)+1),o}function pu(e,t=!1){const n=Pl(Object.values(e),"anyEnabled",!0);for(const r of n)r.enabled=!t&&r.available>=r.total;return n}function fu(e,t,n,r={},o){if(n=n||[],t.invoke){const a={action:t,event:r.event,isAlt:!!r.alt};return t.invoke.apply(o,[a,e||[],n])}if(e.length>1&&t.bulkAction&&!r.alt){const r=e[0][t.bulkAction];if(r)return r.call(e[0],e,...n)}const a=[];for(const i of e){let e;e=r.alt&&t.altAction?i[t.altAction]:i[t.action],e&&a.push(e.apply(i,n))}return Promise.all(a)}const hu="left",mu="right",gu="top",bu="center",vu="center",yu="bottom",wu="auto";function xu(e){const t=e.getBoundingClientRect(),n=e.offsetWidth,r=e.offsetHeight;return{top:t.top,right:t.left+n,bottom:t.top+r,left:t.left,width:n,height:r}}function _u(e){return{top:e.clientY,left:e.clientX,bottom:e.clientY,right:e.clientX,width:0,height:0}}function ku(){const e=window.innerWidth,t=window.innerHeight,n=window.pageYOffset,r=window.pageXOffset;return{top:n,right:r+e,bottom:n+t,left:r,width:e,height:t}}function Eu(e,t,n,r){let{positionX:o=wu,positionY:a=wu}=n||{};const{fudgeX:i=0,fudgeY:s=0,overlapX:l=!0,overlapY:c=!1}=n||{},u=ku();let d;d=t instanceof Event?_u(t):xu(t);let p={};e&&(p=xu(e)),r&&(p={top:0,right:147,bottom:163,left:0,width:147,height:80});const f={position:"absolute"},h={left:l?d.left:d.right,center:(d.left+d.right)/2,right:l?d.right:d.left,top:c?d.bottom:d.top,middle:(d.top+d.bottom)/2,bottom:c?d.top:d.bottom},m={left:u.right-p.width-h.left,center:Math.min(u.right-p.width/2-h.center,h.center-p.width/2-u.left),right:h.right-p.width-u.left,top:h.bottom-p.height-u.top,middle:Math.min(h.middle-p.height/2-u.top,u.bottom-p.height/2-h.middle),bottom:u.bottom-p.height-h.top};switch(o===bu&&m.center<0&&(o=wu),o===wu?o=m.left<0||1.5*m.right>m.left?mu:hu:a===hu&&m.left<0?o=mu:a===mu&&m.right<0&&(o=hu),o){case hu:f.left=h.left-i+"px";break;case bu:f.left=(h.left+h.right)/2-p.width/2-i+"px";break;case mu:f.left=h.right+i-p.width+"px";break}switch(a===vu&&m.middle<0&&(a=wu),a===wu?a=m.top<0||1.5*m.bottom>m.top?yu:gu:a===gu&&m.top<0?a=yu:a===yu&&m.bottom<0&&(a=gu),a){case gu:f.top=h.top+s-p.height+"px";break;case bu:f.top=(h.top+h.bottom)/2+s-p.height+"px";break;case yu:f.top=h.bottom-s+"px";break}return f}const Su=e=>((0,a.pushScopeId)("data-v-217044c4"),e=e(),(0,a.popScopeId)(),e),Cu={key:0},Au={key:2,class:"required"},Ou={key:0,class:"only-user-opts"},Tu={key:1,class:"vs__option-kind-group"},Nu={key:1},Bu={key:2},ju={key:3,class:"option-kind-highlighted"},Du=["onMousedown"],Pu={key:0,class:"icon icon-warning pull-right",style:{"font-size":"20px"}},Ru={key:0,class:"pagination-slot"},Iu={class:"load-more"},Lu={key:0,class:"icon icon-spinner icon-spin"},Mu={key:1},$u={class:"count"},Vu={class:"no-options-slot"},Fu={key:0},Uu={key:1,class:"paginating"},zu=Su((()=>(0,a.createElementVNode)("i",{class:"icon icon-spinner icon-spin"},null,-1))),Wu=[zu],qu={key:0,class:"icon icon-spinner icon-spin icon-lg"};function Hu(e,t,n,r,o,i){const s=(0,a.resolveComponent)("t"),l=(0,a.resolveComponent)("v-select"),c=(0,a.resolveComponent)("LabeledTooltip");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{ref:"select",class:(0,a.normalizeClass)(["labeled-select",[e.$attrs.class,{disabled:e.isView||n.disabled,focused:e.focused,[e.mode]:!0,[n.status]:n.status,taggable:e.$attrs.taggable,taggable:e.$attrs.multiple,hoverable:n.hoverTooltip,"compact-input":e.isCompact,"no-label":!i.hasLabel}]]),onClick:t[4]||(t[4]=(...e)=>i.focusSearch&&i.focusSearch(...e)),onFocus:t[5]||(t[5]=(...e)=>i.focusSearch&&i.focusSearch(...e))},[(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)({"labeled-container":!0,raised:e.raised,empty:e.empty,[e.mode]:!0}),style:{border:"none"}},[i.hasLabel?((0,a.openBlock)(),(0,a.createElementBlock)("label",Cu,[e.labelKey?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,k:e.labelKey},null,8,["k"])):e.label?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)],64)):(0,a.createCommentVNode)("",!0),e.requiredField?((0,a.openBlock)(),(0,a.createElementBlock)("span",Au,"*")):(0,a.createCommentVNode)("",!0)])):(0,a.createCommentVNode)("",!0)],2),(0,a.createVNode)(l,(0,a.mergeProps)({ref:"select-input"},i.filteredAttrs,{class:["inline",{"no-label":!(e.label||"").length}],"append-to-body":n.appendToBody,"calculate-position":i.positionDropdown,clearable:n.clearable,disabled:e.isView||n.disabled||n.loading,"get-option-key":i.getOptionKey,"get-option-label":e=>i.getOptionLabel(e),label:n.optionLabel,options:i._options,"map-keydown":e.mappedKeys,placeholder:e.placeholder,reduce:e=>n.reduce(e),filterable:e.isFilterable,searchable:e.isSearchable,selectable:n.selectable,modelValue:null==n.value||n.loading?"":n.value,"dropdown-should-open":i.dropdownShouldOpen,"onUpdate:modelValue":t[1]||(t[1]=t=>{e.$emit("selecting",t),e.$emit("update:value",t)}),"onSearch:blur":i.onBlur,"onSearch:focus":i.onFocus,onSearch:i.onSearch,onOpen:i.onOpen,onClose:i.onClose,"onOption:selecting":t[2]||(t[2]=t=>e.$emit("selecting",t)),"onOption:deselecting":t[3]||(t[3]=t=>e.$emit("deselecting",t))}),(0,a.createSlots)({option:(0,a.withCtx)((t=>[i.showTagPrompts?((0,a.openBlock)(),(0,a.createElementBlock)("div",Ou,(0,a.toDisplayString)(e.t("labeledSelect.pressEnter",{input:i.getOptionLabel(t.label)})),1)):"group"===t.kind?((0,a.openBlock)(),(0,a.createElementBlock)("div",Tu,[t.icon?((0,a.openBlock)(),(0,a.createElementBlock)("i",{key:0,class:(0,a.normalizeClass)(["icon",{[t.icon]:!0}])},null,2)):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("b",null,(0,a.toDisplayString)(i.getOptionLabel(t)),1),t.badge?((0,a.openBlock)(),(0,a.createElementBlock)("div",Nu,(0,a.toDisplayString)(t.badge),1)):(0,a.createCommentVNode)("",!0)])):"divider"===t.kind?((0,a.openBlock)(),(0,a.createElementBlock)("hr",Bu)):"highlighted"===t.kind?((0,a.openBlock)(),(0,a.createElementBlock)("div",ju,(0,a.toDisplayString)(t.label),1)):((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:4,class:(0,a.normalizeClass)(["vs__option-kind",{"has-icon":i.hasGroupIcon}]),onMousedown:e=>i.onClickOption(t,e)},[(0,a.createTextVNode)((0,a.toDisplayString)(i.getOptionLabel(t))+" ",1),t.error?((0,a.openBlock)(),(0,a.createElementBlock)("i",Pu)):(0,a.createCommentVNode)("",!0)],42,Du))])),"list-footer":(0,a.withCtx)((()=>[e.canPaginate&&e.totalResults?((0,a.openBlock)(),(0,a.createElementBlock)("div",Ru,[(0,a.createElementVNode)("div",Iu,[e.paginating?((0,a.openBlock)(),(0,a.createElementBlock)("i",Lu)):((0,a.openBlock)(),(0,a.createElementBlock)("div",Mu,[e.canLoadMore?((0,a.openBlock)(),(0,a.createElementBlock)("a",{key:0,onClick:t[0]||(t[0]=(...t)=>e.loadMore&&e.loadMore(...t))},(0,a.toDisplayString)(e.t("labelSelect.pagination.more")),1)):(0,a.createCommentVNode)("",!0)]))]),(0,a.createElementVNode)("div",$u,(0,a.toDisplayString)(e.optionCounts),1)])):(0,a.createCommentVNode)("",!0)])),"no-options":(0,a.withCtx)((({search:t})=>[(0,a.createElementVNode)("div",Vu,[i.showTagPrompts?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:0},[e.searching?(0,a.createCommentVNode)("",!0):((0,a.openBlock)(),(0,a.createElementBlock)("span",Fu,(0,a.toDisplayString)(e.t("labeledSelect.startTyping")),1))],64)):e.paginating?((0,a.openBlock)(),(0,a.createElementBlock)("div",Uu,Wu)):t?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:2},[(0,a.createTextVNode)((0,a.toDisplayString)(e.t("labelSelect.noOptions.noMatch")),1)],64)):((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:3},[(0,a.createTextVNode)((0,a.toDisplayString)(e.t(n.noOptionsLabelKey)),1)],64))])])),_:2},[(0,a.renderList)(e.$slots,((t,n)=>({name:n,fn:(0,a.withCtx)((t=>[(0,a.renderSlot)(e.$slots,n,(0,a.normalizeProps)((0,a.guardReactiveProps)(t)),void 0,!0)]))})))]),1040,["append-to-body","calculate-position","class","clearable","disabled","get-option-key","get-option-label","label","options","map-keydown","placeholder","reduce","filterable","searchable","selectable","modelValue","dropdown-should-open","onSearch:blur","onSearch:focus","onSearch","onOpen","onClose"]),n.loading?((0,a.openBlock)(),(0,a.createElementBlock)("i",qu)):(0,a.createCommentVNode)("",!0),n.tooltip&&!e.focused?((0,a.openBlock)(),(0,a.createBlock)(c,{key:1,hover:n.hoverTooltip,value:n.tooltip,status:n.status},null,8,["hover","value","status"])):(0,a.createCommentVNode)("",!0),e.validationMessage?((0,a.openBlock)(),(0,a.createBlock)(c,{key:2,hover:n.hoverTooltip,value:e.validationMessage},null,8,["hover","value"])):(0,a.createCommentVNode)("",!0)],34)}var Ku={props:{compact:{type:Boolean,default:null},label:{type:String,default:null},labelKey:{type:String,default:null}},computed:{isCompact(){return null!==this.compact?this.compact:!(this.label||this.labelKey)}}};function Gu(e,t){e&&("function"===typeof t&&(t=t()),e.style.width="string"!==typeof t?`${t}px`:t)}function Xu(e){if(e&&e.length)return e.length?parseFloat(getComputedStyle(e[0]).width.replace("px","")):parseFloat(getComputedStyle(e).width.replace("px",""))}var Yu={inheritAttrs:!1,emits:["update:validation","on-focus","on-blur"],props:{mode:{type:String,default:Jl},label:{type:String,default:null},labelKey:{type:String,default:null},placeholderKey:{type:String,default:null},tooltip:{type:[String,Object],default:null},hoverTooltip:{type:Boolean,default:!0},tooltipKey:{type:String,default:null},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:[String,Number],default:""},value:{type:[String,Number,Object],default:""},options:{default:null,type:Array},searchable:{default:!1,type:Boolean},filterable:{default:!0,type:Boolean},rules:{default:()=>[],type:Array,validator:e=>e.every((e=>["function"].includes(typeof e)))},requireDirty:{default:!0,type:Boolean}},data(){return{raised:this.mode===Yl||!!`${this.value}`,focused:!1,blurred:null}},computed:{requiredField(){return this.required||this.rules.some((e=>"required"===e?.name))},empty(){return!!`${this.value}`},isView(){return this.mode===Yl},isDisabled(){return this.disabled||this.isView},isSearchable(){const{searchable:e,canPaginate:t}=this;if(t)return!0;const n=this.options||[];return!!(e||n.length>=10)},isFilterable(){const{filterable:e,canPaginate:t}=this;return!t&&e},validationMessage(){const e=this.rules.find((e=>"required"===e?.name)),t=[],n=this?.value;if(e&&this.blurred&&!this.focused){const t=e(n);if(t)return this.$emit("update:validation",!1),t}for(const r of this.rules){const e=r(n);e&&"required"!==r.name&&t.push(e)}return t.length>0&&(this.blurred||this.focused||!this.requireDirty)?(this.$emit("update:validation",!1),t.join(", ")):void this.$emit("update:validation",!0)}},methods:{resizeHandler(){this.$nextTick((()=>{const e=this.$refs.select.querySelector("ul.vs__dropdown-menu"),t=Xu(this.$refs.select)||0,n=Xu(e)||0;n{if(!t.open)return;e.preventDefault();const n=t.filteredOptions.length,r=t.typeAheadPointer;return e.shiftKey?0===r?t.onEscape():t.typeAheadUp():r+1===n?t.onEscape():t.typeAheadDown()},n[27]=e=>(t.open=!1,t.search="",!1),n[13]=(e,n)=>{if(!t.open)return void(t.open=!0);let r=t.filteredOptions[t.typeAheadPointer];t.$emit("option:selecting",r),t.isOptionSelected(r)||(t.taggable&&!t.optionExists(r)&&t.$emit("option:created",r),t.multiple&&(r=t.selectedValue.concat(r)),t.updateValue(r),t.$emit("option:selected",r),t.closeOnSelect&&(t.open=!1,t.typeAheadPointer=-1),t.clearSearchOnSelect&&(t.search=""))},n[38]=e=>(e.preventDefault(),t.open||(t.open=!0),t.typeAheadUp()),n[40]=e=>(e.preventDefault(),t.open||(t.open=!0),t.typeAheadDown()),n}}};function ad(e,t){if(!this.$attrs.multiple)return;const n=e=>this.optionKey?this.get(e,this.optionKey):this.getOptionLabel(e),r=n(e),o=this.value||[],a=o.findIndex((e=>n(e)===r));a<0||(this.value.splice(a,1),this.$emit("update:value",this.value),t.preventDefault(),t.stopPropagation(),this.closeOnSelect&&this.$refs["select-input"].closeSearchOptions())}function id(e,t,n,r){const o=t.$parent.$el,a=o.getBoundingClientRect(),i=r||"bottom-start",s=document.body.offsetHeight,l=s-window.scrollY-a.y-1;let c;if(!i.includes("top")){c=a.y+a.height-1;const t=c+e.offsetHeight;t>window.innerHeight?c=void 0:c+=window.scrollY}c?(e.style.top=`${c}px`,e.classList.remove("vs__dropdown-up"),o.classList.remove("vs__dropdown-up")):(e.style.bottom=`${l}px`,e.classList.add("vs__dropdown-up"),o.classList.add("vs__dropdown-up")),e.style.left=`${a.x}px`,e.style.width="min-content",e.style.minWidth=`${a.width}px`}var sd=r(5250);const ld={GROUP:"group",DIVIDER:"divider",NONE:"none"},cd=[ld.GROUP,ld.DIVIDER];var ud=(0,a.defineComponent)({props:{paginate:{default:null,type:Function},inStore:{type:String,default:"cluster"},resourceType:{type:String,default:null}},data(){return{currentPage:1,search:"",pageSize:10,pages:0,debouncedRequestPagination:(0,sd.debounce)(this.requestPagination,700),page:[],totalResults:0,paginating:!1}},async mounted(){this.canPaginate&&await this.requestPagination()},computed:{canPaginate(){return!!this.paginate&&!!this.resourceType&&this.$store.getters[`${this.inStore}/paginationEnabled`](this.resourceType)},canLoadMore(){return this.pages>this.currentPage},optionsInPage(){return this.canPaginate?this._options.filter((e=>e.kind!==ld.NONE&&!cd.includes(e.kind))).length:0},optionCounts(){return this.canPaginate&&this.optionsInPage!==this.totalResults?this.$store.getters["i18n/t"]("labelSelect.pagination.counts",{count:this.optionsInPage,totalCount:this.totalResults}):""}},methods:{loadMore(){this.currentPage++,this.requestPagination()},setPaginationFilter(e){this.paginating=!0,this.currentPage=1,this.search=e,this.debouncedRequestPagination(!0)},async requestPagination(e=!1){this.paginating=!0;const t=this.paginate,{page:n,pages:r,total:o}=await t({resetPage:e,pageContent:this.page||[],page:this.currentPage,filter:this.search,pageSize:this.pageSize});this.page=n,this.pages=r||0,this.totalResults=o||0,this.paginating=!1}}}),dd={name:"LabeledSelect",inheritAttrs:!1,components:{LabeledTooltip:rd},mixins:[Ku,Yu,od,ud],emits:["on-open","on-close","selecting","deselecting","update:validation","update:value"],props:{appendToBody:{default:!0,type:Boolean},clearable:{default:!1,type:Boolean},disabled:{default:!1,type:Boolean},required:{default:!1,type:Boolean},hoverTooltip:{default:!0,type:Boolean},loading:{default:!1,type:Boolean},localizedLabel:{default:!1,type:Boolean},optionKey:{default:null,type:String},optionLabel:{default:"label",type:String},placement:{default:null,type:String},reduce:{default:e=>e&&"object"===typeof e&&void 0!==e.value?e.value:e,type:Function},selectable:{default:e=>!e||!(e.disabled||cd.includes(e.kind)||e.loading),type:Function},status:{default:null,type:String},tooltip:{default:null,type:[String,Object]},value:{default:null,type:[String,Object,Number,Array,Boolean]},options:{type:Array,default:()=>[]},closeOnSelect:{type:Boolean,default:!0},noOptionsLabelKey:{type:String,default:"labelSelect.noOptions.empty"}},data(){return{selectedVisibility:"visible",shouldOpen:!0}},computed:{...js({t:"i18n/t"}),hasLabel(){return!this.isCompact&&(!!this.label||!!this.labelKey||!!this.$slots.label)},hasGroupIcon(){return!!this.canPaginate&&!!this._options.find((e=>"group"===e.kind&&!!e.icon))},_options(){return this.canPaginate?this.page:this.options},filteredAttrs(){const{class:e,...t}=this.$attrs;return t},showTagPrompts(){return!this.options.length&&this.$attrs.taggable}},methods:{focusSearch(){const e=Date.now()-this.blurred;!this.focused&&e<250||this.$nextTick((()=>{const e=this.$refs["select-input"]?.searchEl;e&&e.focus()}))},onFocus(){this.selectedVisibility="hidden",this.onFocusLabeled()},onBlur(){this.selectedVisibility="visible",this.onBlurLabeled()},onOpen(){this.$emit("on-open"),this.resizeHandler()},onClose(){this.$emit("on-close")},getOptionLabel(e){if(e){if(this.$attrs["get-option-label"])return this.$attrs["get-option-label"](e);if(Ml(e,this.optionLabel)){if(this.localizedLabel){const t=Ml(e,this.optionLabel);return this.$store.getters["i18n/t"](t)||t}return Ml(e,this.optionLabel)}return e}},positionDropdown(e,t,{width:n}){id(e,t,n,this.placement)},get:Ml,onClickOption(e,t){ad.call(this,e,t)},dropdownShouldOpen(e,t=!1){const{noDrop:n,mutableLoading:r}=e,{open:o}=e,a=this.shouldOpen;return t?(e.open=!0,!0):(!1===a&&(this.shouldOpen=!0,e.closeSearchOptions()),!n&&(o&&a&&!r))},onSearch(e){this.canPaginate?this.setPaginationFilter(e):e&&this.dropdownShouldOpen(this.$refs["select-input"],!0)},getOptionKey(e){return this.optionKey?Ml(e,this.optionKey):this.getOptionLabel(e)}}};r(398);const pd=(0,w.A)(dd,[["render",Hu],["__scopeId","data-v-217044c4"]]);var fd=pd,hd={emits:["update-cols-options","on-toggle-all","group-value-change","on-sort-change","col-visibility-change"],components:{Checkbox:rc,LabeledSelect:fd},props:{columns:{type:Array,required:!0},sortBy:{type:String,required:!0},defaultSortBy:{type:String,default:""},group:{type:String,default:""},groupOptions:{type:Array,default:()=>[]},descending:{type:Boolean,required:!0},hasAdvancedFiltering:{type:Boolean,required:!1},tableColsOptions:{type:Array,default:()=>[]},tableActions:{type:Boolean,required:!0},rowActions:{type:Boolean,required:!0},howMuchSelected:{type:String,required:!0},checkWidth:{type:Number,default:30},rowActionsWidth:{type:Number,required:!0},subExpandColumn:{type:Boolean,default:!1},expandWidth:{type:Number,default:30},labelFor:{type:Function,required:!0},noRows:{type:Boolean,default:!0},noResults:{type:Boolean,default:!0},loading:{type:Boolean,required:!1}},data(){return{tableColsOptionsVisibility:!1,tableColsMenuPosition:null}},watch:{advancedFilteringValues(){this.watcherUpdateLiveAndDelayed(!0,!1)},tableColsOptionsVisibility(e){e?(window.addEventListener("click",this.onClickOutside),this.$emit("update-cols-options")):window.removeEventListener("click",this.onClickOutside)}},computed:{isAll:{get(){return this.howMuchSelected!==lu},set(e){this.$emit("on-toggle-all",e)}},hasAdvGrouping(){return this.group?.length&&this.groupOptions?.length},advGroup:{get(){return this.group||this.advGroup},set(e){this.$emit("group-value-change",e)}},isIndeterminate(){return this.howMuchSelected===su},hasColumnWithSubLabel(){return this.columns.some((e=>e.subLabel))}},methods:{changeSort(e,t){if(!t.sort)return;let n=!1;this.sortBy===t.name&&(n=!this.descending),this.$emit("on-sort-change",t.name,n)},isCurrent(e){return e.name===this.sortBy},tableColsOptionsClick(e){const t=document.querySelector(".table-options-container"),n=document.querySelector(".table-options-btn");this.tableColsMenuPosition=Eu(t,e||n,{overlapX:!0,fudgeX:326,fudgeY:-22,positionX:bu,positionY:wu}),this.tableColsOptionsVisibility=!this.tableColsOptionsVisibility},onClickOutside(e){const t=this.$refs["table-options"];t&&!t.contains(e.target)&&(this.tableColsOptionsVisibility=!1)},tableOptionsCheckbox(e,t){this.$emit("col-visibility-change",{label:t,value:e})},tooltip(e){if(!e.tooltip)return null;const t=this.$store.getters["i18n/exists"];return t(e.tooltip)?this.t(e.tooltip):e.tooltip}}};r(7552),r(8054);const md=(0,w.A)(hd,[["render",Kc],["__scopeId","data-v-e0272992"]]);var gd=md;const bd="allcols",vd="All Columns",yd=":::islabel";var wd={data(){return{searchQuery:null,previousFilter:null,previousResult:null}},computed:{searchFields(){const e=xd(this.columns);return this.extraSearchFields&&Nl(e,this.extraSearchFields),e},filteredRows(){if(!this.externalPaginationEnabled)return this.hasAdvancedFiltering?this.handleAdvancedFiltering():this.handleFiltering()}},methods:{handleAdvancedFiltering(){if(this.subMatches=null,this.searchQuery.length){const e=(this.arrangedRows||[]).slice(),t=e.filter((e=>this.searchQuery.every((t=>{if(t.prop===bd){const n=this.advFilterSelectOptions.slice(1);let r=[];return n.forEach((e=>{if(e.value.includes("[")&&e.value.includes("]"))r=r.concat(JSON.parse(e.value));else{const t=e.isLabel?`${e.label}${yd}`:e.value;r.push(t)}})),kd(r,[t.value],e)}{if(t.prop.includes("[")&&t.prop.includes("]"))return kd(JSON.parse(t.prop),[t.value],e);let n=t.prop;return t.prop.includes("metadata.labels")&&(n=`${t.label}${yd}`),kd([n],[t.value],e)}}))));return t}return this.arrangedRows},handleFiltering(){const e=(this.searchQuery||"").trim().toLowerCase();let t;if(e&&this.previousResult&&e.startsWith(this.previousFilter)?t=this.previousResult.slice():(this.previousResult=null,t=(this.arrangedRows||[]).slice()),this.previousFilter=e,!e.length)return this.subMatches=null,this.previousResult=null,t;const n=this.searchFields,r=e.split(/\s*[, ]\s*/),o=this.subSearch,a=this.subFields,i={};for(let s=t.length-1;s>=0;s--){const e=t[s];let l=0,c=!0;if(c=kd(n,r,e),a&&o){const t=e[o]||[];for(let n=t.length-1;n>=0;n--){let t=!0;t=kd(a,r,e),t&&l++}i[Ml(e,this.keyField)]=l}c||0!==l||jl(t,s)}return this.subMatches=i,this.previousResult=t,t}},watch:{arrangedRows(e){this.previousResult=null},searchQuery(){this.debouncedPaginationChanged()}}};function xd(e){const t=[];return(e||[]).forEach((e=>{const n=e.search;n?"string"===typeof n?Tl(t,n):Bl(n)&&Nl(t,n):!1===n||Tl(t,e.value||e.name)})),t.filter((e=>!!e))}const _d=/^[0-9a-f\.:]+$/i;function kd(e,t,n){for(let r=0;r0&&(e=r.substr(t+1),r=r.substr(0,t)),o=r.includes(".")?Ml(n,r):n[r]}if(void 0!==o&&(o=`${o}`.toLowerCase(),o))if(e){if("exact"===e){if(o===t)return!0}else if("ip"===e){const e=_d.test(t);if(e){const e=new RegExp(`(?:^|\\.)${t}(?:\\.|$)`);if(e.test(o))return!0}}else if("prefix"===e&&0===o.indexOf(t))return!0}else if(o.includes(`${t}`.toLowerCase()))return!0}return!1}const Sd={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regexp","[object Object]":"object","[object FileList]":"filelist"},{toString:Cd}=Object.prototype;function Ad(e){if(null===e)return"null";if(void 0===e)return"undefined";let t=Sd[Cd.call(e)]||"object";return"object"===t&&(e instanceof Error?t="error":e instanceof Date&&(t="date")),t}function Od(e,t){const n=e-t;return(n>0)-(n<0)}const Td={undefined:0,null:1,boolean:2,number:3,string:4,array:5,object:6,instance:7,function:8,class:9,date:10};function Nd(e,t){const n=Ad(e),r=Ad(t),o=Od(Td[n],Td[r]);if(o)return o;switch(n){case"boolean":case"number":return Od(e,t);case"string":return Od(e.localeCompare(t),0);case"array":{const n=e.length,r=t.length,o=Math.min(n,r);for(let a=0;a{for(let o=0;oe&&e.name&&e.name.toLowerCase()===this.sortBy.toLowerCase()));return this.sortBy&&n&&n.sort&&(t=n.sort),Array.isArray(e)||(e=[e]),Array.isArray(t)||(t=[t]),Il([...e,...t].concat(...this.mandatorySort||Dd))},arrangedRows(){if(this.externalPaginationEnabled)return;let e;const t=this.sortGeneration||this.sortGenerationFn?.apply(this);if(t&&(e=`${t}/${this.rows.length}/${this.descending}/${this.sortFields.join(",")}`,this.cacheKey===e))return this.cachedRows;const n=jd(this.rows,this.sortFields,this.descending);return e&&(this.cacheKey=e,this.cachedRows=n),n}},data(){let e=null;if(this._defaultSortBy=this.defaultSortBy,!this._defaultSortBy){const e=this.headers.find((e=>!!e.defaultSort)),t=this.headers.find((e=>"name"===e.name));if(e)this._defaultSortBy=e.name;else if(t)this._defaultSortBy=t.name;else{const e=this.headers.filter((e=>"state"!==e.name))[0];this._defaultSortBy=e?e.name:"id"}}return e&&this.headers.find((t=>t.name===e))||(e=this._defaultSortBy),{sortBy:e,descending:!1,cachedRows:null,cacheKey:null}},methods:{changeSort(e,t){this.sortBy=e,this.descending=t,this.setPage(1)}},watch:{sortFields(){this.debouncedPaginationChanged()},descending(){this.debouncedPaginationChanged()}}};const Rd={enabled:!1,enabledInterval:!0,interval:300,enabledOnNavigate:!0,ageThreshold:120,countThreshold:500},Id="pod",Ld={DEPLOYMENT:"apps.deployment",CRON_JOB:"batch.cronjob",DAEMON_SET:"apps.daemonset",JOB:"batch.job",STATEFUL_SET:"apps.statefulset",REPLICA_SET:"apps.replicaset",REPLICATION_CONTROLLER:"replicationcontroller"},{DAEMON_SET:Md,CRON_JOB:$d,JOB:Vd,...Fd}=(Ld.DEPLOYMENT,Ld.CRON_JOB,Ld.DAEMON_SET,Ld.JOB,Ld.STATEFUL_SET,Ld.REPLICA_SET,Ld.REPLICATION_CONTROLLER,Ld.DAEMON_SET,Ld.REPLICA_SET,Ld.STATEFUL_SET,Ld.DEPLOYMENT,Ld),Ud={AUTH_CONFIG:"management.cattle.io.authconfig",CATALOG_TEMPLATE:"management.cattle.io.catalogtemplate",CLUSTER:"management.cattle.io.cluster",CLUSTER_ROLE_TEMPLATE_BINDING:"management.cattle.io.clusterroletemplatebinding",FEATURE:"management.cattle.io.feature",KONTAINER_DRIVER:"management.cattle.io.kontainerdriver",MULTI_CLUSTER_APP:"management.cattle.io.multiclusterapp",NODE:"management.cattle.io.node",NODE_DRIVER:"management.cattle.io.nodedriver",NODE_POOL:"management.cattle.io.nodepool",NODE_TEMPLATE:"management.cattle.io.nodetemplate",PROJECT:"management.cattle.io.project",PROJECT_ROLE_TEMPLATE_BINDING:"management.cattle.io.projectroletemplatebinding",ROLE_TEMPLATE:"management.cattle.io.roletemplate",SETTING:"management.cattle.io.setting",USER:"management.cattle.io.user",TOKEN:"management.cattle.io.token",GLOBAL_ROLE:"management.cattle.io.globalrole",GLOBAL_ROLE_BINDING:"management.cattle.io.globalrolebinding",PSA:"management.cattle.io.podsecurityadmissionconfigurationtemplate",MANAGED_CHART:"management.cattle.io.managedchart",USER_NOTIFICATION:"management.cattle.io.rancherusernotification",GLOBAL_DNS_PROVIDER:"management.cattle.io.globaldnsprovider",RKE_TEMPLATE:"management.cattle.io.clustertemplate",RKE_TEMPLATE_REVISION:"management.cattle.io.clustertemplaterevision",CLUSTER_PROXY_CONFIG:"management.cattle.io.clusterproxyconfig"},zd={CAPI_CLUSTER:"cluster.x-k8s.io.cluster",MACHINE_DEPLOYMENT:"cluster.x-k8s.io.machinedeployment",MACHINE_SET:"cluster.x-k8s.io.machineset",MACHINE:"cluster.x-k8s.io.machine",RANCHER_CLUSTER:"provisioning.cattle.io.cluster",MACHINE_CONFIG_GROUP:"rke-machine-config.cattle.io"},Wd={VERSION_RANCHER:"server-version",VERSION_CLI:"cli-version",VERSION_MACHINE:"machine-version",VERSION_HELM:"helm-version",CLI_URL:{DARWIN:"cli-url-darwin",WINDOWS:"cli-url-windows",LINUX:"cli-url-linux"},API_HOST:"api-host",CA_CERTS:"cacerts",HIDE_LOCAL_CLUSTER:"hide-local-cluster",AUTH_TOKEN_MAX_TTL_MINUTES:"auth-token-max-ttl-minutes",KUBECONFIG_GENERATE_TOKEN:"kubeconfig-generate-token",KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES:"kubeconfig-default-token-ttl-minutes",ENGINE_URL:"engine-install-url",ENGINE_ISO_URL:"engine-iso-url",FIRST_LOGIN:"first-login",INGRESS_IP_DOMAIN:"ingress-ip-domain",SERVER_URL:"server-url",RKE_METADATA_CONFIG:"rke-metadata-config",EULA_AGREED:"eula-agreed",AUTH_USER_INFO_MAX_AGE_SECONDS:"auth-user-info-max-age-seconds",AUTH_USER_SESSION_TTL_MINUTES:"auth-user-session-ttl-minutes",AUTH_USER_INFO_RESYNC_CRON:"auth-user-info-resync-cron",AUTH_LOCAL_VALIDATE_DESC:"auth-password-requirements-description",PASSWORD_MIN_LENGTH:"password-min-length",CLUSTER_TEMPLATE_ENFORCEMENT:"cluster-template-enforcement",UI_INDEX:"ui-index",UI_DASHBOARD_INDEX:"ui-dashboard-index",UI_DASHBOARD_HARVESTER_LEGACY_PLUGIN:"ui-dashboard-harvester-legacy-plugin",UI_OFFLINE_PREFERRED:"ui-offline-preferred",SYSTEM_DEFAULT_REGISTRY:"system-default-registry",UI_ISSUES:"ui-issues",PL:"ui-pl",PL_RANCHER_VALUE:"rancher",SUPPORTED:"has-support",BANNERS:"ui-banners",ISSUES:"ui-issues",BRAND:"ui-brand",LOGO_LIGHT:"ui-logo-light",LOGO_DARK:"ui-logo-dark",BANNER_LIGHT:"ui-banner-light",BANNER_DARK:"ui-banner-dark",LOGIN_BACKGROUND_LIGHT:"ui-login-background-light",LOGIN_BACKGROUND_DARK:"ui-login-background-dark",PRIMARY_COLOR:"ui-primary-color",LINK_COLOR:"ui-link-color",COMMUNITY_LINKS:"ui-community-links",FAVICON:"ui-favicon",UI_PERFORMANCE:"ui-performance",UI_CUSTOM_LINKS:"ui-custom-links",UI_SUPPORTED_K8S_VERSIONS:"ui-k8s-supported-versions-range",THEME:"ui-theme",SYSTEM_NAMESPACES:"system-namespaces",CLUSTER_AGENT_DEFAULT_AFFINITY:"cluster-agent-default-affinity",FLEET_AGENT_DEFAULT_AFFINITY:"fleet-agent-default-affinity",ADD_EXTENSION_REPOS_BANNER_DISPLAY:"display-add-extension-repos-banner",AGENT_TLS_MODE:"agent-tls-mode",USER_RETENTION_CRON:"user-retention-cron",USER_RETENTION_DRY_RUN:"user-retention-dry-run",USER_LAST_LOGIN_DEFAULT:"user-last-login-default",DISABLE_INACTIVE_USER_AFTER:"disable-inactive-user-after",DELETE_INACTIVE_USER_AFTER:"delete-inactive-user-after",K3S_UPGRADER_UNINSTALL_CONCURRENCY:"k3s-based-upgrader-uninstall-concurrency"};Wd.CA_CERTS,Wd.ENGINE_URL,Wd.ENGINE_ISO_URL,Wd.PASSWORD_MIN_LENGTH,Wd.INGRESS_IP_DOMAIN,Wd.AUTH_USER_INFO_MAX_AGE_SECONDS,Wd.AUTH_USER_SESSION_TTL_MINUTES,Wd.AUTH_TOKEN_MAX_TTL_MINUTES,Wd.KUBECONFIG_GENERATE_TOKEN,Wd.KUBECONFIG_DEFAULT_TOKEN_TTL_MINUTES,Wd.AUTH_USER_INFO_RESYNC_CRON,Wd.SERVER_URL,Wd.RKE_METADATA_CONFIG,Wd.SYSTEM_DEFAULT_REGISTRY,Wd.UI_INDEX,Wd.UI_DASHBOARD_INDEX,Wd.UI_OFFLINE_PREFERRED,Wd.BRAND,Wd.CLUSTER_TEMPLATE_ENFORCEMENT,Wd.HIDE_LOCAL_CLUSTER,Wd.AGENT_TLS_MODE,Wd.K3S_UPGRADER_UNINSTALL_CONCURRENCY,zd.RANCHER_CLUSTER,Ud.CLUSTER;r(4364);const qd={};const Hd=function(e,t,n={}){const r=!0===n.parseJSON,o=!0===n.asCookie,a=!1!==n.asUserPreference,i=n.options,s=n.inheritFrom;return qd[e]={def:t,options:i,parseJSON:r,asCookie:o,asUserPreference:a,inheritFrom:s,mangleRead:n.mangleRead,mangleWrite:n.mangleWrite},e},Kd=!0,Gd=!0,Xd=(Hd("cluster",""),Hd("last-namespace",""),Hd("ns-by-cluster",{},{parseJSON:Kd}),Hd("workspace",""),Hd("open-groups",["cluster","policy","rbac","serviceDiscovery","storage","workload"],{parseJSON:Kd}),Hd("fav-type",[],{parseJSON:Kd}),Hd("pinned-clusters",[],{parseJSON:Kd}),Hd("group-by","namespace"),Hd("diff","unified",{options:["unified","split"]}),Hd("theme","auto",{options:["light","auto","dark"],asCookie:Gd,parseJSON:Kd,mangleRead:e=>e.replace(/^ui-/,""),mangleWrite:e=>`ui-${e}`}),Hd("pcs","",{asCookie:Gd,asUserPreference:!1}),Hd("locale","en-us",{asCookie:Gd}),Hd("keymap","sublime",{options:["sublime","emacs","vim"]}),Hd("per-page",100,{options:[10,25,50,100],parseJSON:Kd})),Yd=(Hd("logs-wrap",!0,{parseJSON:Kd}),Hd("logs-time",!0,{parseJSON:Kd}),Hd("logs-range","30 minutes",{parseJSON:Kd}),Hd("hide-repos",[],{parseJSON:Kd}),Hd("hide-desc",[],{parseJSON:Kd}),Hd("hide-sensitive",!0,{options:[!0,!1],parseJSON:Kd}),Hd("show-pre-release",!1,{options:[!1,!0],parseJSON:Kd}),Hd("chart-mode","featured",{parseJSON:Kd}),Hd("date-format","ddd, MMM D YYYY",{options:["ddd, MMM D YYYY","ddd, D MMM YYYY","D/M/YYYY","M/D/YYYY","YYYY-MM-DD"]}),Hd("time-format","h:mm:ss a",{options:["h:mm:ss a","HH:mm:ss"]}),Hd("time-zone","local"),Hd("dev",!1,{parseJSON:Kd})),Jd=(Hd("view-in-api",!1,{parseJSON:Kd,inheritFrom:Yd}),Hd("all-namespaces",!1,{parseJSON:Kd,inheritFrom:Yd}),Hd("theme-shortcut",!1,{parseJSON:Kd,inheritFrom:Yd}),Hd("last-visited","home",{parseJSON:Kd}),Hd("seen-whatsnew","",{parseJSON:Kd}),Hd("read-whatsnew","",{parseJSON:Kd}),Hd("after-login-route","home",{parseJSON:Kd}),Hd("home-page-cards",{},{parseJSON:Kd}),Hd("plugin-developer",!1,{parseJSON:Kd,inheritFrom:Yd}),"rke1"),Qd="rke2";Hd("provisioner",Qd,{options:[Jd,Qd]}),Hd("scale-pool-prompt",null,{parseJSON:Kd});var Zd={computed:{totalRows(){return this.externalPaginationEnabled?this.externalPaginationResult?.count||0:this.filteredRows.length},indexFrom(){return Math.max(0,1+this.perPage*(this.page-1))},indexTo(){return Math.min(this.totalRows,this.indexFrom+this.perPage-1)},totalPages(){return Math.ceil(this.totalRows/this.perPage)},showPaging(){if(!this.paging)return!1;const e=this.totalPages>1;return(this.altLoading||!this.loading)&&e},pagingDisplay(){const e={...this.pagingParams||{},count:this.totalRows,pages:this.totalPages,from:this.indexFrom,to:this.indexTo};return this.$store.getters["i18n/t"](this.pagingLabel,e)},pagedRows(){return this.externalPaginationEnabled?this.rows:this.paging?this.filteredRows.slice(this.indexFrom-1,this.indexTo):this.filteredRows}},data(){const e=this.getPerPage();return{page:1,perPage:e}},watch:{pagedRows(){const e=this.indexFrom,t=this.totalRows;this.totalPages>0&&this.page>1&&e>t&&this.setPage(this.totalPages)},page(){this.debouncedPaginationChanged()},perPage(){this.debouncedPaginationChanged()}},methods:{getPerPage(){let e=this.rowsPerPage||0;return e<=0&&(e=parseInt(this.$store.getters["prefs/get"](Xd),10)||0),e<=0&&(e=10),e},setPage(e){this.page!==e&&(this.page=e)},goToPage(e){let t;switch(e){case"first":t=1;break;case"prev":t=Math.max(1,this.page-1);break;case"next":t=Math.min(this.totalPages,this.page+1);break;case"last":t=this.totalPages;break}this.setPage(t)},getPageByRow(e,t=e=>e){const n=this.filteredRows.map(t).indexOf(e);return-1===n?null:Math.ceil(n/this.perPage)}}},ep={computed:{selectedGroupOption(){return this.groupOptions?.find((e=>e.value===this.group))},groupedRows(){const e=this.groupBy,t=this.groupRef||this.selectedGroupOption?.groupLabelKey||e;if(!e)return[{key:"default",ref:"default",rows:this.pagedRows}];const n=[],r={};for(const o of this.pagedRows){const a=Ml(o,e)||"",i=Ml(o,t);let s=r[a];s?s.rows.push(o):(s={key:a,ref:i,rows:[o]},r[a]=s,n.push(s))}return n}}};const tp="inline-block";var np={data(){return{bulkActionsClass:"bulk",bulkActionClass:"bulk-action",bulkActionsDropdownClass:"bulk-actions-dropdown",bulkActionAvailabilityClass:"action-availability",hiddenActions:[],updateHiddenBulkActions:Cc()(this.protectedUpdateHiddenBulkActions,10)}},beforeUnmount(){window.removeEventListener("resize",this.onWindowResize)},mounted(){window.addEventListener("resize",this.onWindowResize),this.updateHiddenBulkActions()},watch:{selectedRows(){this.updateHiddenBulkActions()},keyedAvailableActions(){this.updateHiddenBulkActions()}},computed:{availableActions(){return this.bulkActionsForSelection.filter((e=>!e.external))},keyedAvailableActions(){return this.availableActions.map((e=>e.action))},selectedRowsText(){return this.selectedRows.length?this.t("sortableTable.actionAvailability.selected",{actionable:this.selectedRows.length}):null},actionTooltip(){if(!this.selectedRows.length||!this.actionOfInterest)return null;const e=this.selectedRows.filter(this.canRunBulkActionOfInterest).length;return e===this.selectedRows.length?null:this.t("sortableTable.actionAvailability.some",{actionable:e,total:this.selectedRows.length})}},methods:{onWindowResize(){this.updateHiddenBulkActions(),this.onScroll()},protectedUpdateHiddenBulkActions(){if(!this.$refs.container)return;const e=this.$refs.container.querySelector(`.${this.bulkActionsClass}`),t=this.$refs.container.querySelector(`.${this.bulkActionsDropdownClass}`);if(!e||!t)return;const n=e.offsetWidth,r=this.$refs.container.querySelectorAll(`.${this.bulkActionClass}`),o=Array.from(r||[]),a=this.$refs.container.querySelector(`.${this.bulkActionAvailabilityClass}`);let i=0;this.selectedRowsText&&(a?(a.style.display=tp,i=a.offsetWidth):a.style.display="none;"),this.hiddenActions=[];let s=0,l=!1,c=n-i;for(let u=0;u=c)if(l){const t=e.attributes.getNamedItem("id").value;this.hiddenActions.push(this.availableActions.find((e=>e.action===t))),e.style.display="none"}else t.style.display=tp,u=-1,s=0,l=!0,c=n-t.offsetWidth-i}l||(t.style.display="none")}}};const rp=bd;var op={props:{group:{type:String,default:()=>""},groupOptions:{type:Array,default:()=>[]},hasAdvancedFiltering:{type:Boolean,default:!1},advFilterHideLabelsAsCols:{type:Boolean,default:!1},advFilterPreventFilteringLabels:{type:Boolean,default:!1}},data(){return{columnOptions:[],colOptionsWatcher:null,advancedFilteringVisibility:!1,advancedFilteringValues:[],advFilterSearchTerm:null,advFilterSelectedProp:rp,advFilterSelectedLabel:vd,column:null}},mounted(){this.hasAdvancedFiltering&&this.updateColsOptions()},watch:{advancedFilteringValues(){this.watcherUpdateLiveAndDelayed(!0,!1)},advancedFilteringVisibility(e){e?(window.addEventListener("click",this.onClickOutside),this.updateColsOptions()):window.removeEventListener("click",this.onClickOutside)}},computed:{advFilterSelectOptions(){return this.columnOptions.filter((e=>e.isFilter&&!e.preventFiltering))},advGroupOptions(){return this.groupOptions.map((e=>({label:this.t(e.tooltipKey),value:e.value})))}},methods:{handleColsVisibilyAndFiltering(e){const t=e;return this.columnOptions.forEach((e=>{if(e.isTableOption){const n=t.findIndex((t=>t.name===e.name));-1!==n?(t[n].isColVisible=e.isColVisible,t[n].isFilter=e.isFilter):t.push(e)}})),t},setColsOptions(){let e=[];const t=[],n=[],r=this.headers.slice().filter((e=>!e.maxPageSize||e.maxPageSize&&e.maxPageSize>=this.perPage));return r.forEach((e=>{const t=e.name,r=e.labelKey?this.t(`${e.labelKey}`):e.label,o=!(Object.keys(e).includes("search")&&!e.search);let a=e.sort;const i=e.valueProp||e.value;let s=null,l=!0;if(e.sort&&i?("string"===typeof e.sort&&(a=e.sort.includes(":")?[e.sort.split(":")[0]]:[e.sort]),s=a.includes(i)?JSON.stringify([i]):JSON.stringify(a.concat([i]))):s=i?JSON.stringify([i]):null,this.columnOptions?.length){const e=this.columnOptions.find((e=>e.name===t&&e.label===r));e&&(l=e.isColVisible)}n.push({name:t,label:r,value:s,isFilter:o,isTableOption:!0,isColVisible:l})})),this.rows.length&&this.rows.forEach((e=>{e.metadata?.labels&&Object.keys(e.metadata?.labels).length&&Object.keys(e.metadata?.labels).forEach((e=>{const n={name:e,label:e,value:`metadata.labels.${e}`,isFilter:!0,isTableOption:!0,isColVisible:!1,isLabel:!0,preventFiltering:this.advFilterPreventFilteringLabels,preventColToggle:this.advFilterHideLabelsAsCols};if(this.columnOptions?.length){const t=this.columnOptions.find((t=>t.name===e&&t.label===e));t&&(n.isColVisible=t.isColVisible)}t.filter((t=>t.label===e)).length||t.push(n)}))})),e=n.concat(t),e.length&&e.unshift({name:vd,label:vd,value:bd,isFilter:!0,isTableOption:!1}),e},addAdvancedFilter(){this.advFilterSelectedProp&&this.advFilterSearchTerm&&(this.advancedFilteringValues.push({prop:this.advFilterSelectedProp,value:this.advFilterSearchTerm,label:this.advFilterSelectedLabel}),this.eventualSearchQuery=this.advancedFilteringValues,this.advancedFilteringVisibility=!1,this.advFilterSelectedProp=rp,this.advFilterSelectedLabel=vd,this.advFilterSearchTerm=null)},clearAllAdvancedFilters(){this.advancedFilteringValues=[],this.eventualSearchQuery=this.advancedFilteringValues,this.advancedFilteringVisibility=!1,this.advFilterSelectedProp=rp,this.advFilterSelectedLabel=vd,this.advFilterSearchTerm=null},clearAdvancedFilter(e){this.advancedFilteringValues.splice(e,1),this.eventualSearchQuery=this.advancedFilteringValues},onClickOutside(e){const t=this.$refs["advanced-filter-group"];t&&!t.contains(e.target)&&(this.advancedFilteringVisibility=!1)},updateColsOptions(){this.columnOptions=this.setColsOptions()},changeColVisibility(e){const t=this.columnOptions.findIndex((t=>t.label===e.label));-1!==t&&(this.columnOptions[t].isColVisible=e.value)}}};const ap={},ip=e=>((0,a.pushScopeId)("data-v-eb3e6c46"),e=e(),(0,a.popScopeId)(),e),sp=ip((()=>(0,a.createElementVNode)("i",{class:"icon icon-actions"},null,-1))),lp=[sp];var cp=(0,a.defineComponent)({__name:"ButtonMultiAction",props:{borderless:{type:Boolean},invisible:{type:Boolean}},emits:["click"],setup(e){const t=e,n=(0,a.computed)((()=>({borderless:t?.borderless,invisible:t?.invisible})));return(e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)("button",{type:"button",class:(0,a.normalizeClass)(["btn btn-sm role-multi-action actions",(0,a.unref)(n)]),onClick:t[0]||(t[0]=t=>e.$emit("click",t))},lp,2))}});r(4920);const up=(0,w.A)(cp,[["__scopeId","data-v-eb3e6c46"]]);var dp=up,pp=r(4364),fp={name:"SortableTable",emits:["clickedActionButton","pagination-changed","group-value-change","selection","rowClick"],components:{THead:gd,Checkbox:rc,AsyncButton:mc,ActionDropdown:_c,LabeledSelect:fd,ButtonMultiAction:dp},mixins:[wd,Pd,Zd,ep,cu,np,op],props:{headers:{type:Array,required:!0},rows:{type:Array,required:!0},keyField:{type:String,default:"_key"},loading:{type:Boolean,required:!1},altLoading:{type:Boolean,required:!1},groupBy:{type:String,default:null},groupRef:{type:String,default:null},groupSort:{type:Array,default:null},defaultSortBy:{type:String,default:null},tableActions:{type:Boolean,default:!0},rowActions:{type:Boolean,default:!0},mangleActionResources:{type:Function,default:null},rowActionsWidth:{type:Number,default:40},search:{type:Boolean,default:!0},extraSearchFields:{type:Array,default:null},subRows:{type:Boolean,default:!1},subRowsDescription:{type:Boolean,default:!0},subExpandable:{type:Boolean,default:!1},subExpandColumn:{type:Boolean,default:!1},subSearch:{type:String,default:null},subFields:{type:Array,default:null},topDivider:{type:Boolean,default:!0},bodyDividers:{type:Boolean,default:!1},overflowX:{type:Boolean,default:!1},overflowY:{type:Boolean,default:!1},paging:{type:Boolean,default:!1},pagingLabel:{type:String,default:"sortableTable.paging.generic"},pagingParams:{type:Object,default:null},rowsPerPage:{type:Number,default:null},noRowsKey:{type:String,default:"sortableTable.noRows"},showNoRows:{type:Boolean,default:!0},noDataKey:{type:String,default:"sortableTable.noData"},showHeaders:{type:Boolean,default:!0},sortGenerationFn:{type:Function,default:null},sortGeneration:{type:String,default:null},mandatorySort:{type:Array,default:null},getCustomDetailLink:{type:Function,default:null},componentTestid:{type:String,default:"sortable-table"},useQueryParamsForSimpleFiltering:{type:Boolean,default:!1},forceUpdateLiveAndDelayed:{type:Number,default:0},externalPaginationEnabled:{type:Boolean,default:!1},externalPaginationResult:{type:Object,default:null},manualRefreshButtonSize:{type:String,default:""}},data(){let e="",t="";return!this.hasAdvancedFiltering&&this.useQueryParamsForSimpleFiltering&&this.$route.query?.q&&(e=this.$route.query?.q,t=this.$route.query?.q),{refreshButtonPhase:cc.WAITING,expanded:{},searchQuery:e,eventualSearchQuery:t,subMatches:null,actionOfInterest:null,loadingDelay:!1,debouncedPaginationChanged:null,isLoading:!1}},mounted(){this._loadingDelayTimer=setTimeout((()=>{this.loadingDelay=!0}),200);const e=document.querySelector("main");this._onScroll=this.onScroll.bind(this),e?.addEventListener("scroll",this._onScroll),this.debouncedPaginationChanged()},beforeUnmount(){clearTimeout(this._scrollTimer),clearTimeout(this._loadingDelayTimer),clearTimeout(this._altLoadingDelayTimer),clearTimeout(this._liveColumnsTimer),clearTimeout(this._delayedColumnsTimer),clearTimeout(this.manualRefreshTimer);const e=document.querySelector("main");e?.removeEventListener("scroll",this._onScroll)},watch:{eventualSearchQuery:Cc()((function(e){if(this.searchQuery=e,!this.hasAdvancedFiltering&&this.useQueryParamsForSimpleFiltering){const t={name:this.$route.name,params:{...this.$route.params},query:{...this.$route.query,q:e}};!e&&this.$route.query?.q&&(t.query={}),this.$router.replace(t)}}),200),descending(e,t){this.watcherUpdateLiveAndDelayed(e,t)},searchQuery(e,t){this.watcherUpdateLiveAndDelayed(e,t)},sortFields(e,t){this.watcherUpdateLiveAndDelayed(e,t)},groupBy(e,t){this.watcherUpdateLiveAndDelayed(e,t)},namespaces(e,t){this.watcherUpdateLiveAndDelayed(e,t)},page(e,t){this.watcherUpdateLiveAndDelayed(e,t)},forceUpdateLiveAndDelayed(e,t){this.watcherUpdateLiveAndDelayed(e,t)},initalLoad:{handler(e){e&&(this._didinit=!0,this.$nextTick((()=>this.updateLiveAndDelayed())))},immediate:!0},manualRefreshLoadingFinished:{handler(e,t){this.refreshButtonPhase=e?cc.ACTION:cc.WAITING,e&&e!==t&&this.$nextTick((()=>this.updateLiveAndDelayed()))},immediate:!0},loading:{handler(e,t){this.refreshButtonPhase=e?cc.WAITING:cc.ACTION,this.altLoading?e?this._altLoadingDelayTimer=setTimeout((()=>{this.isLoading=!0}),200):(clearTimeout(this._altLoadingDelayTimer),this.isLoading=!1):this.isLoading=e},immediate:!0}},created(){this.debouncedRefreshTableData=Cc()(this.refreshTableData,500),this.debouncedPaginationChanged=Cc()(this.paginationChanged,50)},computed:{...js({isTooManyItemsToAutoUpdate:"resource-fetch/isTooManyItemsToAutoUpdate"}),...js({isManualRefreshLoading:"resource-fetch/manualRefreshIsLoading"}),namespaces(){return this.$store.getters["activeNamespaceCache"]},initalLoad(){return!(this.isLoading||this._didinit||!this.rows?.length)},manualRefreshLoadingFinished(){const e=!(this.isLoading||!this._didinit||!this.rows?.length||this.isManualRefreshLoading);return this.refreshButtonPhase=!e||this.loading?cc.WAITING:cc.ACTION,e},fullColspan(){let e=0;for(let t=0;t!e.maxPageSize||e.maxPageSize&&e.maxPageSize>=this.perPage));if(this.groupBy){const t=e.find((e=>e.name===this.groupBy));t&&Ol(e,t)}const t=e.find((e=>!e.width));if(!t){const t=e.find((e=>e.canBeVariable));if(t){const n=$l(t);delete n.width,e.splice(e.indexOf(t),1,n)}}if(this.hasAdvancedFiltering){const t=this.handleColsVisibilyAndFiltering(e);return t}return e},dt(){const e={check:"Select: ",actions:"Actions: "};return this.columns.forEach((t=>{e[t.name]=`${t.label||t.name}:`})),e},classObject(){return{"top-divider":this.topDivider,"body-dividers":this.bodyDividers,"overflow-y":this.overflowY,"overflow-x":this.overflowX,"alt-loading":this.altLoading&&this.isLoading}},hasLiveColumns(){const e=this.columns.find((e=>e.formatter?.startsWith("Live")||e.liveUpdates));return!!e},hasDelayedColumns(){const e=this.columns.find((e=>e.delayLoading));return!!e},columnFormmatterIDs(){const e={};return this.columns.forEach((t=>{t.formatter&&(e[t.formatter]=el(t.formatter))})),e},displayRows(){const e=[],t=this.columnFormmatterIDs;return this.groupedRows.forEach((n=>{const r={grp:n,key:n.key,ref:n.ref,rows:[]};e.push(r),n.rows.forEach((e=>{const n={row:e,key:this.get(e,this.keyField),showSubRow:this.showSubRow(e,this.keyField),canRunBulkActionOfInterest:this.canRunBulkActionOfInterest(e),columns:[]};r.rows.push(n),this.columns.forEach((r=>{const o=r.delayLoading?void 0:this.valueFor(e,r,r.isLabel);let i,s=o,l=!1;if(Array.isArray(o)&&(s=o.join(", ")),r.formatter)if(ap[r.formatter])i=ap[r.formatter],l=!0;else{const e=this.$plugin?.getDynamic("formatters",r.formatter);e&&(i=(0,a.defineAsyncComponent)(e),l=!0)}n.columns.push({col:r,value:o,formatted:s,component:i,needRef:l,delayed:r.delayLoading,live:r.formatter?.startsWith("Live")||r.liveUpdates,label:this.labelFor(r),dasherize:t[r.formatter]||""})}))}))})),e}},methods:{refreshTableData(){this.$store.dispatch("resource-fetch/doManualRefresh")},get:Ml,dasherize:el,onScroll(){(this.hasLiveColumns||this.hasDelayedColumns)&&(clearTimeout(this._liveColumnsTimer),clearTimeout(this._scrollTimer),clearTimeout(this._delayedColumnsTimer),this._scrollTimer=setTimeout((()=>{this.updateLiveColumns(),this.updateDelayedColumns()}),300))},watcherUpdateLiveAndDelayed(e,t){e!==t&&this.$nextTick((()=>this.updateLiveAndDelayed()))},updateLiveAndDelayed(){this.hasLiveColumns&&this.updateLiveColumns(),this.hasDelayedColumns&&this.updateDelayedColumns()},updateDelayedColumns(){if(clearTimeout(this._delayedColumnsTimer),!this.$refs.column||0===this.pagedRows.length)return;const e=this.$refs.column.filter((e=>e.startDelayedLoading&&!e.__delayedLoading)),t=(window.innerHeight||document.documentElement.clientHeight)+100;let n=0;for(let r=0;r=0&&a<=t&&(o.startDelayedLoading(!0),o.__delayedLoading=!0,n++,4===n))return void(this._delayedColumnsTimer=setTimeout(this.updateDelayedColumns,100))}},updateLiveColumns(){if(clearTimeout(this._liveColumnsTimer),!this.$refs.column||!this.hasLiveColumns||0===this.pagedRows.length)return;const e=window.innerHeight||document.documentElement.clientHeight,t=this.$refs.column.filter((e=>!!e.liveUpdate)),n=Ms()();let r=Number.MAX_SAFE_INTEGER;for(let o=0;o=0&&i<=e){const e=a.liveUpdate(n);ethis.updateLiveColumns()),1e3*r)},labelFor(e){return e.labelKey?this.t(e.labelKey,void 0,!0):e.label?e.label:Fs(e.name)},valueFor(e,t,n){if("function"===typeof t.value)return t.value(e);if(n)return e.metadata?.labels&&e.metadata?.labels[t.label]?e.metadata?.labels[t.label]:"";const r=t.value||t.name;if(!r)return pp.error("No path has been defined for this column, unable to get value of cell",t),"";const o=Ml(e,r);return null===o||void 0===o?"":o},isExpanded(e){const t=e[this.keyField];return!!this.expanded[t]},toggleExpand(e){const t=e[this.keyField],n=!this.expanded[t];return this.expanded[t]=n,this.expanded={...this.expanded},n},setBulkActionOfInterest(e){this.actionOfInterest=e},canRunBulkActionOfInterest(e){if(!this.actionOfInterest||Vs()(e?.availableActions))return!1;const t=e.availableActions?.find((e=>e.action===this.actionOfInterest.action));return t?.enabled},focusSearch(){this.$refs.searchQuery&&(this.$refs.searchQuery.focus(),this.$refs.searchQuery.select())},nearestCheckbox(){return document.activeElement.closest("tr.main-row")?.querySelector(".checkbox-custom")},focusAdjacent(e=!0){const t=Array.from(this.$el.querySelectorAll(".checkbox-custom")),n=this.nearestCheckbox();let r=-1;return r=n?t.indexOf(n)+(e?1:-1):e?1:t.length-1,r<1?(r=1,null):r>=t.length?(r=t.length-1,null):t[r]?(t[r].focus(),t[r]):void 0},focusNext:Ec()((function(e,t=!1){const n=this.focusAdjacent(!0),r=au(n,"tr");r?.classList.contains("row-selected")||this.keySelectRow(r,t)}),50),focusPrevious:Ec()((function(e,t=!1){const n=this.focusAdjacent(!1),r=au(n,"tr");r?.classList.contains("row-selected")||this.keySelectRow(r,t)}),50),showSubRow(e,t){const n=this.subRows&&(!this.subExpandable||this.expanded[Ml(e,t)]),r=this.subRowsDescription&&e.stateDescription;return n||r},handleActionButtonClick(e,t){this.$emit("clickedActionButton",{event:t,targetElement:this.$refs[`actionButton${e}`][0]})},paginationChanged(){this.externalPaginationEnabled&&this.$emit("pagination-changed",{page:this.page,perPage:this.perPage,filter:{searchFields:this.searchFields,searchQuery:this.searchQuery},sort:this.sortFields,descending:this.descending})}}};r(150),r(5392);const hp=(0,w.A)(fp,[["render",Pi],["__scopeId","data-v-7eea7627"]]);var mp=hp;function gp(e){const t=`; ${document.cookie}`,n=t.split(`; ${e}=`);if(2===n.length)return n.pop().split(";").shift()}function bp(){if("auto"==gp("R_THEME")){if("dark"==gp("R_PCS"))return!0;if("light"==gp("R_PCS"))return!1}return"dark"==gp("R_THEME")}var vp=(0,a.defineComponent)({layout:"plain",components:{SortableTable:mp,DashboardButton:ua,BadgeState:Ca,ClusterActions:wa,ClusterState:Ta,FontAwesomeIcon:ea},setup(){return{faTriangleExclamation:sa,faGear:aa}},data(){return{dashboardName:"CloudCasa Dashboard",tableHeaders:[{name:"id",label:"Cluster",value:"name",width:"30%",sort:["id"]},{name:"installState",label:"State",value:"installState",width:"15%",sort:["installState"]},{name:"lastUpdated",label:"Last Updated",value:"lastUpdated",width:"20%",sort:["lastUpdated"]},{name:"spacing",label:" ",width:"10%"},{name:"additionalText",label:" ",width:"10%"},{name:"install",label:" ",width:"15%"}],mainDashboardLink:"",parsedClusterData:[],cloudCasaApiKey:"",loadingClusters:!1}},computed:{isDarkTheme(){return bp()}},async mounted(){let e=await v(this.$store);this.mainDashboardLink="https://"+e.replace("api/v1/","")+"dashboard",this.loadingClusters=!0;const t=await this.$store.dispatch("management/findAll",{type:p});0!=t.length?this.cloudCasaApiKey=t[0].spec.apiToken:this.$store.dispatch("growl/error",{title:"Invalid API Key",message:"Make sure your CloudCasa API Key is set."},{root:!0}),this.parsedClusterData=[];let n=await this.getClustersFromRancher(),r=await this.getCloudCasaClusterData();for(let o=0;o{"AMDS_CLUSTER_ID"==t.name&&(e.cloudCasaId=t.value)}))}if(e=this.parseNewCluster(e,r,t.data[n]),3==e.installState)break}this.parsedClusterData.push(e)}this.loadingClusters=!1},methods:{async getClustersFromRancher(){return await this.$store.dispatch("management/findAll",{type:Ud.CLUSTER})},async getClusterServicesFromRancher(e){return await this.$store.dispatch("cluster/request",{url:"/k8s/clusters/"+e+"/v1/services"})},async getCloudCasaClusterData(){let e=await b(this.$store),t=await v(this.$store),n={Accept:"application/json","Content-Type":"application/json","x-api-auth-header":`Bearer ${e}`},r="GET",o=u+t+"kubeclusters";const a=await this.$store.dispatch("management/request",{url:o,method:r,headers:n,redirectUnauthorized:!1},{root:!0});return a},setInstallState(e,t){t.installState=e},parseNewCluster(e,t,n){let r=t._items.findIndex((function(t){return t._id==e.cloudCasaId}));return-1==r?"cloudcasa-io"==n.metadata.namespace&&(e.installState=4):(e.lastUpdated=t._items[r]._updated,e.serviceStatus=n.metadata.state.name,"cloudcasa-io"==n.metadata.namespace?e.installState=3:e.installState=1),e},routeToConfiguratorPage(){this.$router.push("/"+d+"/configurator")}}});r(3689);const yp=(0,w.A)(vp,[["render",K],["__scopeId","data-v-4d35778f"]]);var wp=yp,xp=(0,a.defineComponent)({layout:"plain",name:"cluster-list-page",components:{ClusterListView:wp}});const _p=(0,w.A)(xp,[["render",k]]);var kp=_p;const Ep=e=>((0,a.pushScopeId)("data-v-520926a8"),e=e(),(0,a.popScopeId)(),e),Sp={class:"center-all"},Cp={class:"max-width"},Ap={class:"flex-box"},Op={class:"flex-item"},Tp={key:0,style:{width:"250px"},src:E},Np={key:1,style:{width:"250px"},src:S},Bp=Ep((()=>(0,a.createElementVNode)("h1",null,"Welcome to the CloudCasa Extension!",-1))),jp=Ep((()=>(0,a.createElementVNode)("h3",null,[(0,a.createTextVNode)("In order to get started you will need a CloudCasa API Key. To set that up follow "),(0,a.createElementVNode)("a",{href:"https://docs.cloudcasa.io/help/apikeys.html",target:"_Blank"}," this guide "),(0,a.createTextVNode)(". ")],-1))),Dp=Ep((()=>(0,a.createElementVNode)("div",{class:"m-25"},null,-1))),Pp=Ep((()=>(0,a.createElementVNode)("h1",null,"Documentation & Help",-1))),Rp=Ep((()=>(0,a.createElementVNode)("a",{href:"https://docs.cloudcasa.io/help/rancher-installation.html",target:"_Blank"}," Rancher Extension CloudCasa Installation Guide ",-1))),Ip=Ep((()=>(0,a.createElementVNode)("div",{class:"m-25"},null,-1))),Lp=Ep((()=>(0,a.createElementVNode)("a",{href:"https://docs.cloudcasa.io/help/rancher.html",target:"_Blank"}," Rancher Extension CloudCasa User Guide ",-1))),Mp=Ep((()=>(0,a.createElementVNode)("div",{class:"m-25"},null,-1))),$p=Ep((()=>(0,a.createElementVNode)("a",{href:"https://docs.cloudcasa.io/help/",target:"_Blank"}," CloudCasa Help ",-1))),Vp={class:"flex-item"},Fp=Ep((()=>(0,a.createElementVNode)("div",{class:"m-50"},null,-1))),Up=Ep((()=>(0,a.createElementVNode)("div",{class:"m-35"},null,-1))),zp=Ep((()=>(0,a.createElementVNode)("div",{class:"m-50"},null,-1))),Wp=["disabled"];function qp(e,t,n,r,o,i){const s=(0,a.resolveComponent)("FontAwesomeIcon"),l=(0,a.resolveComponent)("Banner"),c=(0,a.resolveComponent)("SimpleBox"),u=(0,a.resolveComponent)("LabeledInput");return(0,a.openBlock)(),(0,a.createElementBlock)("div",Sp,[(0,a.createElementVNode)("div",Cp,[this.doesAPiKeyExist?((0,a.openBlock)(),(0,a.createElementBlock)("a",{key:0,onClick:t[0]||(t[0]=e=>this.routeToMainPage()),target:"_Blank",class:"btn role-primary back-button",label:"Cluster List"},[(0,a.createVNode)(s,{icon:e.faArrowLeft},null,8,["icon"]),(0,a.createTextVNode)(" Back To Cluster List ")])):(0,a.createCommentVNode)("",!0),(0,a.createVNode)(l,{color:"warning",label:"This Rancher Extension can be installed and managed by anyone with admin access. Please ensure that only trusted administrators are granted access, and regularly monitor the extension's usage and settings for unauthorized changes."}),(0,a.createElementVNode)("div",Ap,[(0,a.createElementVNode)("div",Op,[(0,a.createVNode)(c,{class:"simplebox-centering",style:{"text-align":"center"}},{default:(0,a.withCtx)((()=>[this.isDarkTheme?((0,a.openBlock)(),(0,a.createElementBlock)("img",Tp)):(0,a.createCommentVNode)("",!0),this.isDarkTheme?(0,a.createCommentVNode)("",!0):((0,a.openBlock)(),(0,a.createElementBlock)("img",Np)),Bp,jp,Dp,Pp,Rp,Ip,Lp,Mp,$p])),_:1})]),(0,a.createElementVNode)("div",Vp,[(0,a.createVNode)(c,{class:"simplebox-centering"},{default:(0,a.withCtx)((()=>[(0,a.createVNode)(u,{subLabel:"The default api endpoint is 'home.cloudcasa.io/api/v1/'. For private CloudCasa instances replace the default api endpoint.",class:"key-input",type:"text",value:e.cloudCasaApiEndpoint,"onUpdate:value":t[1]||(t[1]=t=>e.cloudCasaApiEndpoint=t),required:""},{label:(0,a.withCtx)((()=>[(0,a.createTextVNode)("CloudCasa API Endpoint")])),_:1},8,["value"]),Fp,(0,a.createVNode)(u,{class:"key-input",type:"text",status:this.isCloudCasaApiKeyValid?"":"error",subLabel:this.isCloudCasaApiKeyValid?"":"Ensure the API Key is in the correct format.",value:e.cloudCasaApiKey,"onUpdate:value":t[2]||(t[2]=t=>e.cloudCasaApiKey=t),onInput:e.validateCloudCasaApiKeyInput,required:""},{label:(0,a.withCtx)((()=>[(0,a.createTextVNode)("CloudCasa API Key")])),_:1},8,["status","subLabel","value","onInput"]),Up,(0,a.createVNode)(u,{subLabel:"This value will be combined with the cluster name to create a cluster entry in CloudCasa. This field is optional.",class:"key-input",type:"text",value:e.clusterPrefix,"onUpdate:value":t[3]||(t[3]=t=>e.clusterPrefix=t),required:""},{label:(0,a.withCtx)((()=>[(0,a.createTextVNode)("Cluster Prefix")])),_:1},8,["value"]),zp,(0,a.createElementVNode)("button",{class:"btn role-primary btn-save-api-key",onClick:t[4]||(t[4]=t=>e.saveApiInformation()),disabled:!this.isCloudCasaApiKeyValid}," Save API Configuration ",8,Wp)])),_:1})])])])])}const Hp=e=>((0,a.pushScopeId)("data-v-5c473dc6"),e=e(),(0,a.popScopeId)(),e),Kp={key:0,class:"banner__icon","data-testid":"banner-icon"},Gp={key:1},Xp={key:2},Yp=Hp((()=>(0,a.createElementVNode)("i",{"data-testid":"banner-close",class:"icon icon-close closer-icon"},null,-1))),Jp=[Yp];function Qp(e,t,n,r,o,i){const s=(0,a.resolveComponent)("t"),l=(0,a.resolveDirective)("clean-html");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:(0,a.normalizeClass)(["banner",{[e.color]:!0}])},[e.icon?((0,a.openBlock)(),(0,a.createElementBlock)("div",Kp,[(0,a.createElementVNode)("i",{class:(0,a.normalizeClass)(["icon icon-2x",e.icon])},null,2)])):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)(["banner__content",{closable:e.closable,stacked:e.stacked,icon:e.icon}]),"data-testid":"banner-content"},[(0,a.renderSlot)(e.$slots,"default",{},(()=>[e.labelKey?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,k:e.labelKey,raw:!0},null,8,["k"])):e.messageLabel?((0,a.openBlock)(),(0,a.createElementBlock)("span",Gp,(0,a.toDisplayString)(e.messageLabel),1)):(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("span",Xp,null,512)),[[l,e.nlToBr(e.label)]])]),!0),e.closable?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,class:"banner__content__closer",onClick:t[0]||(t[0]=t=>e.$emit("close"))},Jp)):(0,a.createCommentVNode)("",!0)],2)],2)}function Zp(e,t,n){return(t=ef(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ef(e){var t=tf(e,"string");return"symbol"==typeof t?t:t+""}function tf(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}class nf extends Error{constructor(e){super(e),this.name=nf.NAME}}Zp(nf,"NAME","ClusterNotFoundError");class rf extends Error{constructor(e,t){super(e),this.url=t,this.name=rf.NAME}}Zp(rf,"NAME","RedirectToError");Error;function of(e){let t;if("string"===typeof e)t=e;else if(e&&"object"===typeof e)if(e.message){if(t=e.message,"string"===typeof t)try{const e=JSON.parse(t).data;if(e)return e}catch{}e.detail&&(t?t+=` (${e.detail})`:t=e.detail)}else e.detail?t=e.detail:e.url&&(t=`from ${e.url}`);return t||(t=JSON.stringify(e)),t}var af=(0,a.defineComponent)({props:{color:{type:String,default:"secondary"},label:{type:[String,Error,Object],default:null},labelKey:{type:String,default:null},icon:{type:String,default:null},closable:{type:Boolean,default:!1},stacked:{type:Boolean,default:!1}},emits:["close"],computed:{messageLabel(){return"string"!==typeof this.label?of(this.label):void 0}},methods:{nlToBr:tl}});r(6821);const sf=(0,w.A)(af,[["render",Qp],["__scopeId","data-v-5c473dc6"]]);var lf=sf;const cf=e=>((0,a.pushScopeId)("data-v-48821e48"),e=e(),(0,a.popScopeId)(),e),uf={key:0,class:"simple-box","data-testid":"simple-box-container"},df={key:0,class:"top"},pf={key:0,"data-testid":"simple-box-title"},ff=cf((()=>(0,a.createElementVNode)("i",{class:"icon icon-close"},null,-1))),hf=[ff],mf={class:"content"};function gf(e,t,n,r,o,i){return e.shown?((0,a.openBlock)(),(0,a.createElementBlock)("div",uf,[n.title||n.canClose||e.$slots.title?((0,a.openBlock)(),(0,a.createElementBlock)("div",df,[(0,a.renderSlot)(e.$slots,"title",{},(()=>[n.title?((0,a.openBlock)(),(0,a.createElementBlock)("h2",pf,(0,a.toDisplayString)(n.title),1)):(0,a.createCommentVNode)("",!0)]),!0),n.canClose||e.pref?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,class:"close-button","data-testid":"simple-box-close",onClick:t[0]||(t[0]=e=>i.closeBox(e))},hf)):(0,a.createCommentVNode)("",!0)])):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",mf,[(0,a.renderSlot)(e.$slots,"default",{},void 0,!0)])])):(0,a.createCommentVNode)("",!0)}var bf={props:{pref:{type:String,default:null},prefKey:{type:String,default:null}},computed:{shown(){let e=!0;if(this.pref){const t=this.$store.getters["prefs/get"](this.pref);e=this.prefKey?!t[this.prefKey]:!t}return e}},methods:{async hide(){if(this.pref){let e=this.$store.getters["prefs/get"](this.pref);this.prefKey&&((!0===e||!1===e||e.length>0)&&(e={}),e[this.prefKey]=!0),await this.$store.dispatch("prefs/set",{key:this.pref,value:e})}}}},vf={name:"SimpleBox",emits:["close"],mixins:[bf],props:{title:{type:String,default:null},canClose:{type:Boolean,default:!1}},methods:{closeBox(e){this.hide(),this.$emit("close",e)}}};r(2578),r(7968);const yf=(0,w.A)(vf,[["render",gf],["__scopeId","data-v-48821e48"]]);var wf=yf;const xf={key:0},_f={key:2,class:"required"},kf=["maxlength","disabled","type","value","placeholder","data-lpignore"],Ef={key:2,class:"sub-label"},Sf={key:0},Cf={key:1};function Af(e,t,n,r,o,i){const s=(0,a.resolveComponent)("t"),l=(0,a.resolveComponent)("TextAreaAutoGrow"),c=(0,a.resolveComponent)("LabeledTooltip"),u=(0,a.resolveDirective)("clean-html");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:(0,a.normalizeClass)({"labeled-input":!0,focused:e.focused,[e.mode]:!0,disabled:e.isDisabled,[e.status]:e.status,suffix:e.hasSuffix,"v-popper--has-tooltip":e.hasTooltip,"compact-input":e.isCompact,hideArrows:e.hideArrows,[e.className]:!0})},[(0,a.renderSlot)(e.$slots,"label",{},(()=>[e.hasLabel?((0,a.openBlock)(),(0,a.createElementBlock)("label",xf,[e.labelKey?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,k:e.labelKey},null,8,["k"])):e.label?((0,a.openBlock)(),(0,a.createElementBlock)(a.Fragment,{key:1},[(0,a.createTextVNode)((0,a.toDisplayString)(e.label),1)],64)):(0,a.createCommentVNode)("",!0),e.requiredField?((0,a.openBlock)(),(0,a.createElementBlock)("span",_f,"*")):(0,a.createCommentVNode)("",!0)])):(0,a.createCommentVNode)("",!0)]),!0),(0,a.renderSlot)(e.$slots,"prefix",{},void 0,!0),(0,a.renderSlot)(e.$slots,"field",{},(()=>["multiline"===e.type||"multiline-password"===e.type?((0,a.openBlock)(),(0,a.createBlock)(l,(0,a.mergeProps)({key:0,ref:"value"},e.$attrs,{maxlength:e._maxlength,disabled:e.isDisabled,value:e.value||"",placeholder:e._placeholder,autocapitalize:"off",class:{conceal:"multiline-password"===e.type},"onUpdate:value":e.onInput,onFocus:e.onFocus,onBlur:e.onBlur}),null,16,["maxlength","disabled","value","placeholder","class","onUpdate:value","onFocus","onBlur"])):((0,a.openBlock)(),(0,a.createElementBlock)("input",(0,a.mergeProps)({key:1,ref:"value",class:{"no-label":!e.hasLabel}},e.$attrs,{maxlength:e._maxlength,disabled:e.isDisabled,type:"cron"===e.type?"text":e.type,value:e.value,placeholder:e._placeholder,autocomplete:"off",autocapitalize:"off","data-lpignore":e.ignorePasswordManagers,onInput:t[0]||(t[0]=(...t)=>e.onInput&&e.onInput(...t)),onFocus:t[1]||(t[1]=(...t)=>e.onFocus&&e.onFocus(...t)),onBlur:t[2]||(t[2]=(...t)=>e.onBlur&&e.onBlur(...t)),onChange:t[3]||(t[3]=(...t)=>e.onChange&&e.onChange(...t))}),null,16,kf))]),!0),(0,a.renderSlot)(e.$slots,"suffix",{},void 0,!0),e.hasTooltip&&!e.focused?((0,a.openBlock)(),(0,a.createBlock)(c,{key:0,hover:e.hoverTooltip,value:e.tooltipValue,status:e.status},null,8,["hover","value","status"])):(0,a.createCommentVNode)("",!0),e.validationMessage?((0,a.openBlock)(),(0,a.createBlock)(c,{key:1,hover:e.hoverTooltip,value:e.validationMessage},null,8,["hover","value"])):(0,a.createCommentVNode)("",!0),e.cronHint||e.subLabel?((0,a.openBlock)(),(0,a.createElementBlock)("div",Ef,[e.cronHint?((0,a.openBlock)(),(0,a.createElementBlock)("div",Sf,(0,a.toDisplayString)(e.cronHint),1)):(0,a.createCommentVNode)("",!0),e.subLabel?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("div",Cf,null,512)),[[u,e.subLabel]]):(0,a.createCommentVNode)("",!0)])):(0,a.createCommentVNode)("",!0)],2)}const Of=["value","data-testid","disabled","placeholder","spellcheck"];function Tf(e,t,n,r,o,i){return(0,a.openBlock)(),(0,a.createElementBlock)("textarea",(0,a.mergeProps)({ref:"ta",value:e.value,"data-testid":e.$attrs["data-testid"]?e.$attrs["data-testid"]:"text-area-auto-grow",disabled:e.isDisabled,style:e.style,placeholder:e.placeholder,class:[e.className,"no-resize no-ease"]},e.$attrs,{spellcheck:e.spellcheck,onPaste:t[0]||(t[0]=t=>e.$emit("paste",t)),onInput:t[1]||(t[1]=t=>e.onInput(t)),onFocus:t[2]||(t[2]=t=>e.$emit("focus",t)),onBlur:t[3]||(t[3]=t=>e.$emit("blur",t))}),null,16,Of)}const Nf={queueResize(){}};var Bf=(0,a.defineComponent)({inheritAttrs:!1,props:{value:{type:String,required:!0},class:{type:[String,Array,Object],default:""},mode:{type:String,default:Jl},minHeight:{type:Number,default:25},maxHeight:{type:Number,default:200},placeholder:{type:String,default:""},spellcheck:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1}},emits:["update:value","paste","focus","blur"],setup(){const e=(0,a.inject)("queueResize",Nf.queueResize);return{queueResize:e}},data(){return{curHeight:this.minHeight,overflow:"hidden"}},computed:{isDisabled(){return this.disabled||this.mode===Yl},style(){return`height: ${this.curHeight}px; overflow: ${this.overflow};`},className(){return this.class}},watch:{$attrs:{deep:!0,handler(){this.queueResize()}}},created(){this.queueResize=(0,sd.debounce)(this.autoSize,100)},mounted(){this.$refs.ta.style.height=`${this.curHeight}px`,this.$nextTick((()=>{this.autoSize()}))},methods:{onInput(e){const t=e?.target?.value;this.$emit("update:value",t),this.queueResize()},focus(){(this.$refs?.ta).focus()},autoSize(){const e=this.$refs.ta;if(!e)return;e.style.height="1px";const t=parseInt(getComputedStyle(e).getPropertyValue("borderTopWidth"),10)||0+parseInt(getComputedStyle(e).getPropertyValue("borderBottomWidth"),10)||0,n=Math.max(this.minHeight,Math.min(e.scrollHeight+t,this.maxHeight));e.style.overflowY=e.scrollHeight>n?"auto":"hidden",e.style.height=`${n}px`,this.curHeight=n}}});const jf=(0,w.A)(Bf,[["render",Tf]]);var Df=jf,Pf=r(7021),Rf=r.n(Pf),If=r(3369);const Lf={tooltipKey:{type:String,default:null},placeholder:{type:[String,Number],default:""},placeholderKey:{type:String,default:null},label:{type:String,default:null},labelKey:{type:String,default:null},value:{type:[String,Number,Object],default:""},mode:{type:String,default:Jl},rules:{default:()=>[],type:Array,validator:e=>e.every((e=>["function"].includes(typeof e)))},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},requireDirty:{default:!0,type:Boolean}},Mf=((0,a.defineEmits)(["update:validation"]),(e,t)=>{const n=(0,a.ref)(e.mode===Yl||!!`${e.value}`),r=(0,a.ref)(!1),o=(0,a.ref)(null),i=(0,a.computed)((()=>e.required||e.rules?.some((e=>"required"===e?.name)))),s=(0,a.computed)((()=>e.mode===Yl)),l=(0,a.computed)((()=>e.disabled||s.value)),c=(0,a.computed)((()=>{const n=e.rules.find((e=>"required"===e?.name)),a=[],i=e.value;if(n&&o.value&&!r.value){const e=n(i);if(e)return t("update:validation",!1),e}for(const t of e.rules){const e=t(i);e&&"required"!==t.name&&a.push(e)}return a.length>0&&(o.value||r.value||!e.requireDirty)?(t("update:validation",!1),a.join(", ")):void t("update:validation",!0)})),u=()=>{n.value=!0,r.value=!0},d=()=>{r.value=!1,e.value||(n.value=!1),o.value=Date.now()};return{raised:n,focused:r,blurred:o,onFocusLabeled:u,onBlurLabeled:d,isDisabled:l,validationMessage:c,requiredField:i}}),$f=e=>{const t=(0,a.computed)((()=>null!==e.compact&&void 0!==e.compact?!!e.compact:!(e.label||e.labelKey)));return{isCompact:t}},Vf={onInput(){}};var Ff=(0,a.defineComponent)({components:{LabeledTooltip:rd,TextAreaAutoGrow:Df},inheritAttrs:!1,props:{...Lf,type:{type:String,default:"text"},status:{type:String,default:null},subLabel:{type:String,default:null},tooltip:{default:null,type:[String,Object]},hoverTooltip:{type:Boolean,default:!0},ignorePasswordManagers:{default:!1,type:Boolean},maxlength:{type:Number,default:null},hideArrows:{type:Boolean,default:!1},delay:{type:Number,default:0},class:{type:String,default:""}},emits:["change","update:value","blur","update:validation"],setup(e,{emit:t}){const{focused:n,onFocusLabeled:r,onBlurLabeled:o,isDisabled:i,validationMessage:s,requiredField:l}=Mf(e,t),{isCompact:c}=$f(e),u=(0,a.inject)("onInput",Vf.onInput);return{focused:n,onFocusLabeled:r,onBlurLabeled:o,onInput:u,isDisabled:i,validationMessage:s,requiredField:l,isCompact:c}},data(){return{updated:!1,validationErrors:""}},computed:{hasLabel(){return!this.isCompact&&(!!this.label||!!this.labelKey||!!this.$slots.label)},hasTooltip(){return!!this.tooltip||!!this.tooltipKey},tooltipValue(){if(this.hasTooltip)return this.tooltipKey?this.t(this.tooltipKey):this.tooltip},hasSuffix(){return!!this.$slots.suffix},cronHint(){if("cron"===this.type&&this.value){if(!(0,If.isValidCron)(this.value,{alias:!0,allowBlankDay:!0,allowSevenAsSunday:!0}))return this.t("generic.invalidCron");try{const e=Rf().toString(this.value||"",{verbose:!0});return e}catch($v){return this.t("generic.invalidCron")}}},_placeholder(){return this.placeholder?this.placeholder.toString():this.placeholderKey?this.t(this.placeholderKey):""},_maxlength(){if("text"===this.type&&this.maxlength)return this.maxlength},className(){return this.class}},created(){this.onInput=this.delay?(0,sd.debounce)(this.delayInput,this.delay):this.delayInput},methods:{focus(){const e=this.$refs.value;e&&e.focus()},select(){const e=this.$refs.value;e&&e.select()},onChange(e){this.$emit("change",e)},delayInput(e){const t="string"===typeof e?e:e?.target?.value;this.$emit("update:value",t)},onFocus(){this.onFocusLabeled()},onBlur(e){this.$emit("blur",e),this.onBlurLabeled()},escapeHtml:zs}});r(5559),r(8837);const Uf=(0,w.A)(Ff,[["render",Af],["__scopeId","data-v-40193f43"]]);var zf=Uf,Wf=(0,a.defineComponent)({layout:"plain",name:"configurator-page",components:{FontAwesomeIcon:ea,Banner:lf,SimpleBox:wf,LabeledInput:zf},setup(){return{faArrowLeft:oa}},data(){return{clusterPrefix:"",cloudCasaApiEndpoint:"home.cloudcasa.io/api/v1/",cloudCasaApiKey:"",isCloudCasaApiKeyValid:!1,doesAPiKeyExist:!1}},computed:{isDarkTheme(){return bp()}},async mounted(){await this.findCloudCasaApiKey().catch((function(e){}));const e=await this.findCrd();e.length>0&&(this.clusterPrefix=e[0].spec.clusterPrefix,this.cloudCasaApiEndpoint=e[0].spec.apiEndpoint)},methods:{async findCloudCasaApiKey(){const e=await b(this.$store);this.doesAPiKeyExist=void 0!==e},async findCrd(){return await this.$store.dispatch("management/findAll",{type:p}).catch((function(e){}))},async findExistingConfig(){let e;const t=await this.findCrd();if(0==t.length){const t={metadata:{name:p,namespace:"default"},spec:{clusterPrefix:this.clusterPrefix.toLowerCase(),apiEndpoint:this.cloudCasaApiEndpoint,apiToken:this.cloudCasaApiKey},type:p};e=await this.$store.dispatch("management/create",t)}else e=t[0],e.spec.clusterPrefix=this.clusterPrefix.toLowerCase(),e.spec.apiToken=this.cloudCasaApiKey,e.spec.apiEndpoint=this.cloudCasaApiEndpoint;return e},async saveApiInformation(){let e=await this.ensureCloudCasaNodeDriver(this.cloudCasaApiEndpoint),t=(await this.ensuretGlobalWhitelist(e,this.cloudCasaApiEndpoint),{Accept:"application/json","Content-Type":"application/json","x-api-auth-header":`Bearer ${this.cloudCasaApiKey}`}),n="GET",r=u+this.cloudCasaApiEndpoint+"kubeclusters";this.$store.dispatch("management/request",{url:r,method:n,headers:t,redirectUnauthorized:!1},{root:!0}).then(async function(){let e=await this.findExistingConfig();e.save().then((e=>{this.$router.push("/"+d+"/dashboard")})).catch(function(e){this.$store.dispatch("growl/error",{title:"Invalid API Key",message:"Please ensure you have copied the CloudCasa API Key into \n the input box below"},{root:!0})}.bind(this))}.bind(this)).catch(function(e){this.$store.dispatch("growl/error",{title:"Invalid API Key",message:"Please ensure you have copied the CloudCasa API Key into \n the input box below"},{root:!0})}.bind(this))},async ensuretGlobalWhitelist(e,t){const n=await this.$store.dispatch("management/findAll",{type:Ud.SETTING}),r=n.find((e=>e.value===t));if(void 0!=r)return!0;try{return await e.whitelistDomains.push(t),!0}catch(o){return!1}return!0},async ensureCloudCasaNodeDriver(e){const t=await this.$store.dispatch("rancher/findAll",{type:"nodeDriver"},{root:!0}).catch((function(e){})),n=t.find((e=>this.isCloudCasaDriverName(e.name)))||await this.newNodeDriver();if(n.whitelistDomains||(n.whitelistDomains=[]),n.whitelistDomains.find((t=>t===e)))return!0;n.state="active",n.url="https://"+e,n.whitelistDomains.push(e.split("/")[0]),n.whitelistDomains.push("api.cloudcasa.io");try{return await n.save()}catch(r){return!1}},async newNodeDriver(){const e={name:this.name,type:"nodeDriver"};return await this.$store.dispatch("rancher/create",e)},isCloudCasaDriverName(e){return e===this.name},routeToMainPage(){this.$router.push("/"+d+"/dashboard")},validateCloudCasaApiKeyInput(){setTimeout((()=>{const e=/^[a-zA-Z0-9-_]+$/;e.test(this.cloudCasaApiKey)?this.cloudCasaApiKey.length<100||this.cloudCasaApiKey.length>255?this.isCloudCasaApiKeyValid=!1:this.isCloudCasaApiKeyValid=!0:this.isCloudCasaApiKeyValid=!1}),1e3)}}});r(900);const qf=(0,w.A)(Wf,[["render",qp],["__scopeId","data-v-520926a8"]]);var Hf=qf;const Kf={class:"main-spacing"},Gf=(0,a.createElementVNode)("div",{class:"m-20"},null,-1);function Xf(e,t,n,r,o,i){const s=(0,a.resolveComponent)("ClusterDetailedView");return(0,a.openBlock)(),(0,a.createElementBlock)("div",Kf,[Gf,(0,a.createVNode)(s)])}const Yf=e=>((0,a.pushScopeId)("data-v-b69f15ec"),e=e(),(0,a.popScopeId)(),e),Jf={class:"center-all"},Qf={class:"max-width"},Zf=Yf((()=>(0,a.createElementVNode)("div",{style:{display:"inline-block"}},null,-1))),eh=Yf((()=>(0,a.createElementVNode)("div",{class:"m-25"},null,-1))),th={class:"header"},nh={class:"section sub-header"},rh={class:"section actions"},oh={key:0},ah={key:1},ih={key:0,class:"custom-badge green"},sh={key:1,class:"custom-badge red"},lh=Yf((()=>(0,a.createElementVNode)("h1",{class:"cluster-header"},"Cluster Metrics (Last 7 Days)",-1))),ch=Yf((()=>(0,a.createElementVNode)("div",{class:"m-5"},null,-1))),uh=Yf((()=>(0,a.createElementVNode)("div",{class:"m-20"},null,-1))),dh={key:2},ph={key:3};function fh(e,t,n,r,o,i){const s=(0,a.resolveComponent)("FontAwesomeIcon"),l=(0,a.resolveComponent)("DashboardButton"),c=(0,a.resolveComponent)("CoverageCards"),u=(0,a.resolveComponent)("JobsTable");return(0,a.openBlock)(),(0,a.createElementBlock)("div",Jf,[(0,a.createElementVNode)("div",Qf,[(0,a.createElementVNode)("a",{onClick:t[0]||(t[0]=e=>this.routeToMainPage()),target:"_Blank",class:"btn role-primary",label:"Cluster List"},[(0,a.createVNode)(s,{icon:r.faArrowLeft},null,8,["icon"]),(0,a.createTextVNode)(" Back To Cluster List ")]),Zf,eh,(0,a.createElementVNode)("div",th,[(0,a.createElementVNode)("div",nh,[(0,a.createElementVNode)("h1",null,(0,a.toDisplayString)(this.clusterName)+" (ID: "+(0,a.toDisplayString)(this.cloudCasaClusterId)+")",1)]),(0,a.createElementVNode)("div",rh,[(0,a.createElementVNode)("a",(0,a.mergeProps)({onClick:t[1]||(t[1]=e=>this.refreshData()),class:"btn role-primary",label:"Refresh Data"},{disabled:!this.dataRefreshed||null}),[this.dataRefreshed?((0,a.openBlock)(),(0,a.createElementBlock)("div",oh,[(0,a.createVNode)(s,{icon:r.faRefresh},null,8,["icon"]),(0,a.createTextVNode)(" Refresh Data ")])):(0,a.createCommentVNode)("",!0),this.dataRefreshed?(0,a.createCommentVNode)("",!0):((0,a.openBlock)(),(0,a.createElementBlock)("div",ah,[(0,a.createVNode)(s,{icon:r.faRefresh,spin:""},null,8,["icon"]),(0,a.createTextVNode)(" Refresh Data ")]))],16),(0,a.createVNode)(l,{dashboardName:this.dashboardName,dashboardLink:this.mainDashboardLink},null,8,["dashboardName","dashboardLink"])])]),3===this.installState?((0,a.openBlock)(),(0,a.createElementBlock)("div",ih," Connection Established ")):(0,a.createCommentVNode)("",!0),4===this.installState?((0,a.openBlock)(),(0,a.createElementBlock)("div",sh," Not Connected ")):(0,a.createCommentVNode)("",!0),lh,ch,(0,a.createVNode)(c,{clusterCloudCasaData:this.clusterCloudCasaData},null,8,["clusterCloudCasaData"]),uh,"Loading..."!=this.cloudCasaClusterId?((0,a.openBlock)(),(0,a.createElementBlock)("div",dh,[(0,a.createVNode)(u,{ref:"jobsTable",cloudCasaClusterId:this.cloudCasaClusterId},null,8,["cloudCasaClusterId"])])):((0,a.openBlock)(),(0,a.createElementBlock)("div",ph," Loading Jobs... "))])])}const hh=["href"],mh=["href"],gh=["href"],bh=["href"],vh=["href"],yh=["href"],wh=["href"];function xh(e,t,n,r,o,i){const s=(0,a.resolveComponent)("LastThreeRuns"),l=(0,a.resolveComponent)("CloudcasaActions"),c=(0,a.resolveComponent)("FontAwesomeIcon"),u=(0,a.resolveComponent)("SortableTable"),d=(0,a.resolveComponent)("Tab"),p=(0,a.resolveComponent)("Tabbed");return(0,a.openBlock)(),(0,a.createBlock)(p,null,{default:(0,a.withCtx)((()=>[(0,a.createVNode)(d,{name:"Backups",label:e.Backups,weight:10},{default:(0,a.withCtx)((()=>[(0,a.createVNode)(u,{paging:"",rows:this.getBackupData,headers:this.tableBackupHeaders,search:!1,"table-actions":!1,"row-actions":!1,rowsPerPage:10},{"cell:lastThreeRuns":(0,a.withCtx)((({row:e})=>[(0,a.createVNode)(s,{jobs:e.lastThreeRuns},null,8,["jobs"])])),"cell:actionsDropdownButton":(0,a.withCtx)((({row:e})=>[(0,a.createVNode)(l,{backupId:e.id,copyDef:e.copyDef,etag:e.etag,pause:e.pause},null,8,["backupId","copyDef","etag","pause"])])),"cell:detailsButton":(0,a.withCtx)((({row:e})=>[(0,a.createElementVNode)("a",{href:this.getBackupsLink(e.id),target:"_Blank",class:"btn role-secondary",label:"Open CloudCasa"},[(0,a.createTextVNode)(" Details "),(0,a.createVNode)(c,{icon:r.faArrowUpRightFromSquare},null,8,["icon"])],8,hh)])),_:1},8,["rows","headers"])])),_:1},8,["label"]),(0,a.createVNode)(d,{name:"Restores",label:e.Restores,weight:9},{default:(0,a.withCtx)((()=>[(0,a.createVNode)(u,{paging:"",rows:this.restoresTableData,headers:this.restoresTableHeaders,search:!1,"table-actions":!1,"row-actions":!1,rowsPerPage:10},{"cell:name":(0,a.withCtx)((({row:e})=>[(0,a.createElementVNode)("a",{href:e.restoreLink,target:"_Blank"},(0,a.toDisplayString)(e.name),9,mh)])),"cell:detailsButton":(0,a.withCtx)((({row:e})=>[(0,a.createElementVNode)("a",{href:this.getRestoresLink(e.id),target:"_Blank",class:"btn role-secondary",label:"Open CloudCasa"},[(0,a.createTextVNode)(" Details "),(0,a.createVNode)(c,{icon:r.faArrowUpRightFromSquare},null,8,["icon"])],8,gh)])),_:1},8,["rows","headers"])])),_:1},8,["label"]),(0,a.createVNode)(d,{name:"Migration",label:e.Migration,weight:8},{default:(0,a.withCtx)((()=>[(0,a.createVNode)(u,{paging:"",rows:this.getMigrationData,headers:this.tableHeaders,search:!1,"table-actions":!1,"row-actions":!1,rowsPerPage:10},{"cell:lastThreeRuns":(0,a.withCtx)((({row:e})=>[(0,a.createVNode)(s,{jobs:e.lastThreeRuns},null,8,["jobs"])])),"cell:detailsButton":(0,a.withCtx)((({row:e})=>[(0,a.createElementVNode)("a",{href:this.getMigrationsLink(e.id),target:"_Blank",class:"btn role-secondary",label:"Open CloudCasa"},[(0,a.createTextVNode)(" Details "),(0,a.createVNode)(c,{icon:r.faArrowUpRightFromSquare},null,8,["icon"])],8,bh)])),_:1},8,["rows","headers"])])),_:1},8,["label"]),(0,a.createVNode)(d,{name:"Replication",label:e.Replication,weight:7},{default:(0,a.withCtx)((()=>[(0,a.createVNode)(u,{paging:"",rows:this.getReplicationData,headers:this.tableHeaders,search:!1,"table-actions":!1,"row-actions":!1,rowsPerPage:10},{"cell:lastThreeRuns":(0,a.withCtx)((({row:e})=>[(0,a.createVNode)(s,{jobs:e.lastThreeRuns},null,8,["jobs"])])),"cell:detailsButton":(0,a.withCtx)((({row:t})=>[(0,a.createElementVNode)("a",{href:e.dashboardLink,target:"_Blank",class:"btn role-secondary",label:"Open CloudCasa"},[(0,a.createTextVNode)(" Details "),(0,a.createVNode)(c,{icon:r.faArrowUpRightFromSquare},null,8,["icon"])],8,vh)])),_:1},8,["rows","headers"])])),_:1},8,["label"]),(0,a.createVNode)(d,{name:"Recovery Points",label:e.RecoveryPoints,weight:6},{default:(0,a.withCtx)((()=>[(0,a.createVNode)(u,{paging:"",rows:this.recoveryPointsTableData,headers:this.recoveryPointsTableHeaders,search:!1,"table-actions":!1,"row-actions":!1,rowsPerPage:10},{"cell:detailsButton":(0,a.withCtx)((({row:e})=>[(0,a.createElementVNode)("a",{href:this.getRecoveryLink(e.id),target:"_Blank",class:"btn role-secondary",label:"Open CloudCasa"},[(0,a.createTextVNode)(" Details "),(0,a.createVNode)(c,{icon:r.faArrowUpRightFromSquare},null,8,["icon"])],8,yh)])),_:1},8,["rows","headers"])])),_:1},8,["label"]),(0,a.createVNode)(d,{name:"Activity",label:e.Activity,weight:5},{default:(0,a.withCtx)((()=>[(0,a.createVNode)(u,{paging:"",rows:this.activityTableData,headers:this.activityTableHeaders,search:!1,"table-actions":!1,"row-actions":!1,rowsPerPage:10},{"cell:detailsButton":(0,a.withCtx)((({row:e})=>[(0,a.createElementVNode)("a",{href:this.getActivityLink(e.id),target:"_Blank",class:"btn role-secondary",label:"Open CloudCasa"},[(0,a.createTextVNode)(" Details "),(0,a.createVNode)(c,{icon:r.faArrowUpRightFromSquare},null,8,["icon"])],8,wh)])),_:1},8,["rows","headers"])])),_:1},8,["label"])])),_:1})}const _h=(0,a.createElementVNode)("template",null,[(0,a.createTextVNode)(" Actions ")],-1);function kh(e,t,n,r,o,i){const s=(0,a.resolveComponent)("ButtonDropdown");return(0,a.openBlock)(),(0,a.createBlock)(s,{buttonLabel:this.buttonLabel,dropdownOptions:this.getDropdownOptions,size:"sm",selectable:e.selectable,onClickAction:t[0]||(t[0]=e=>i.routeDropdownClick(e))},{default:(0,a.withCtx)((()=>[_h])),_:1},8,["buttonLabel","dropdownOptions","selectable"])}const Eh=["onClick"];function Sh(e,t,n,r,o,i){const s=(0,a.resolveComponent)("v-select");return(0,a.openBlock)(),(0,a.createBlock)(s,(0,a.mergeProps)({ref:"button-dropdown",class:["button-dropdown btn",{disabled:n.disabled,focused:o.focused}]},e.$attrs,{"append-to-body":!0,"calculate-position":i.withPopper,searchable:!1,clearable:!1,"close-on-select":n.closeOnSelect,filterable:!1,modelValue:n.buttonLabel,options:n.dropdownOptions,"map-keydown":e.mappedKeys,"get-option-key":e=>n.optionKey?i.get(e,n.optionKey):i.getOptionLabel(e),"get-option-label":e=>i.getOptionLabel(e),selectable:n.selectable,"onSearch:blur":i.onBlur,"onSearch:focus":i.onFocus,"onUpdate:modelValue":t[1]||(t[1]=t=>e.$emit("click-action",t))}),(0,a.createSlots)({"no-options":(0,a.withCtx)((()=>[(0,a.renderSlot)(e.$slots,"no-options",{},void 0,!0)])),"selected-option":(0,a.withCtx)((e=>[(0,a.createElementVNode)("button",{tabindex:"-1",type:"button",class:"dropdown-button-two btn","data-testid":"dropdown-button",onClick:t=>i.ddButtonAction(e),onFocus:t[0]||(t[0]=(...e)=>i.focusSearch&&i.focusSearch(...e))},(0,a.toDisplayString)(e.label),41,Eh)])),_:2},[(0,a.renderList)(e.$slots,((t,n)=>({name:n,fn:(0,a.withCtx)((t=>["selected-option"!==n&&"function"===typeof e.$slots[n]?(0,a.renderSlot)(e.$slots,n,(0,a.normalizeProps)((0,a.mergeProps)({key:0},t)),void 0,!0):(0,a.createCommentVNode)("",!0)]))})))]),1040,["class","calculate-position","close-on-select","modelValue","options","map-keydown","get-option-key","get-option-label","selectable","onSearch:blur","onSearch:focus"])}function Ch(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Ah(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function Oh(e){var t=Ah(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Th(e){var t=Ah(e).Element;return e instanceof t||e instanceof Element}function Nh(e){var t=Ah(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Bh(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jh(e){return e!==Ah(e)&&Nh(e)?Bh(e):Oh(e)}function Dh(e){return e?(e.nodeName||"").toLowerCase():null}function Ph(e){return(Th(e)?e.ownerDocument:e.document).documentElement}function Rh(e){return Ch(Ph(e)).left+Oh(e).scrollLeft}function Ih(e){return Ah(e).getComputedStyle(e)}function Lh(e){var t=Ih(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Mh(e,t,n){void 0===n&&(n=!1);var r=Ph(t),o=Ch(e),a=Nh(t),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(a||!a&&!n)&&(("body"!==Dh(t)||Lh(r))&&(i=jh(t)),Nh(t)?(s=Ch(t),s.x+=t.clientLeft,s.y+=t.clientTop):r&&(s.x=Rh(r))),{x:o.left+i.scrollLeft-s.x,y:o.top+i.scrollTop-s.y,width:o.width,height:o.height}}function $h(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function Vh(e){return"html"===Dh(e)?e:e.assignedSlot||e.parentNode||e.host||Ph(e)}function Fh(e){return["html","body","#document"].indexOf(Dh(e))>=0?e.ownerDocument.body:Nh(e)&&Lh(e)?e:Fh(Vh(e))}function Uh(e,t){void 0===t&&(t=[]);var n=Fh(e),r="body"===Dh(n),o=Ah(n),a=r?[o].concat(o.visualViewport||[],Lh(n)?n:[]):n,i=t.concat(a);return r?i:i.concat(Uh(Vh(a)))}function zh(e){return["table","td","th"].indexOf(Dh(e))>=0}function Wh(e){if(!Nh(e)||"fixed"===Ih(e).position)return null;var t=e.offsetParent;if(t){var n=Ph(t);if("body"===Dh(t)&&"static"===Ih(t).position&&"static"!==Ih(n).position)return n}return t}function qh(e){var t=Vh(e);while(Nh(t)&&["html","body"].indexOf(Dh(t))<0){var n=Ih(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}function Hh(e){var t=Ah(e),n=Wh(e);while(n&&zh(n)&&"static"===Ih(n).position)n=Wh(n);return n&&"body"===Dh(n)&&"static"===Ih(n).position?t:n||qh(e)||t}var Kh="top",Gh="bottom",Xh="right",Yh="left",Jh="auto",Qh=[Kh,Gh,Xh,Yh],Zh="start",em="end",tm="clippingParents",nm="viewport",rm="popper",om="reference",am=Qh.reduce((function(e,t){return e.concat([t+"-"+Zh,t+"-"+em])}),[]),im=[].concat(Qh,[Jh]).reduce((function(e,t){return e.concat([t,t+"-"+Zh,t+"-"+em])}),[]),sm="beforeRead",lm="read",cm="afterRead",um="beforeMain",dm="main",pm="afterMain",fm="beforeWrite",hm="write",mm="afterWrite",gm=[sm,lm,cm,um,dm,pm,fm,hm,mm];function bm(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name);var a=[].concat(e.requires||[],e.requiresIfExists||[]);a.forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function vm(e){var t=bm(e);return gm.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}function ym(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}function wm(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var xm={placement:"bottom",modifiers:[],strategy:"absolute"};function _m(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Nm(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Am(o):null,i=o?Om(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case Kh:t={x:s,y:n.y-r.height};break;case Gh:t={x:s,y:n.y+n.height};break;case Xh:t={x:n.x+n.width,y:l};break;case Yh:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?Tm(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Zh:t[c]=Math.floor(t[c])-Math.floor(n[u]/2-r[u]/2);break;case em:t[c]=Math.floor(t[c])+Math.ceil(n[u]/2-r[u]/2);break;default:}}return t}function Bm(e){var t=e.state,n=e.name;t.modifiersData[n]=Nm({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var jm={name:"popperOffsets",enabled:!0,phase:"read",fn:Bm,data:{}},Dm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Pm(e){var t=e.x,n=e.y,r=window,o=r.devicePixelRatio||1;return{x:Math.round(t*o)/o||0,y:Math.round(n*o)/o||0}}function Rm(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.offsets,i=e.position,s=e.gpuAcceleration,l=e.adaptive,c=Pm(a),u=c.x,d=c.y,p=a.hasOwnProperty("x"),f=a.hasOwnProperty("y"),h=Yh,m=Kh,g=window;if(l){var b=Hh(n);b===Ah(n)&&(b=Ph(n)),o===Kh&&(m=Gh,d-=b.clientHeight-r.height,d*=s?1:-1),o===Yh&&(h=Xh,u-=b.clientWidth-r.width,u*=s?1:-1)}var v,y=Object.assign({position:i},l&&Dm);return s?Object.assign(Object.assign({},y),{},(v={},v[m]=f?"0":"",v[h]=p?"0":"",v.transform=(g.devicePixelRatio||1)<2?"translate("+u+"px, "+d+"px)":"translate3d("+u+"px, "+d+"px, 0)",v)):Object.assign(Object.assign({},y),{},(t={},t[m]=f?d+"px":"",t[h]=p?u+"px":"",t.transform="",t))}function Im(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,s={placement:Am(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),Rm(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),Rm(Object.assign(Object.assign({},s),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})}var Lm={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Im,data:{}};function Mm(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Nh(o)&&Dh(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))}function $m(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),i=a.reduce((function(e,t){return e[t]="",e}),{});Nh(r)&&Dh(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}}var Vm={name:"applyStyles",enabled:!0,phase:"write",fn:Mm,effect:$m,requires:["computeStyles"]};function Fm(e,t,n){var r=Am(e),o=[Yh,Kh].indexOf(r)>=0?-1:1,a="function"===typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[Yh,Xh].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}function Um(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=im.reduce((function(e,n){return e[n]=Fm(n,t.rects,a),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}var zm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Um},Wm={left:"right",right:"left",bottom:"top",top:"bottom"};function qm(e){return e.replace(/left|right|bottom|top/g,(function(e){return Wm[e]}))}var Hm={start:"end",end:"start"};function Km(e){return e.replace(/start|end/g,(function(e){return Hm[e]}))}function Gm(e){var t=Ah(e),n=Ph(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,s=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:o,height:a,x:i+Rh(e),y:s}}function Xm(e){var t=Ph(e),n=Oh(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),i=-n.scrollLeft+Rh(e),s=-n.scrollTop;return"rtl"===Ih(r||t).direction&&(i+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:i,y:s}}function Ym(e,t){var n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Jm(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Qm(e){var t=Ch(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Zm(e,t){return t===nm?Jm(Gm(e)):Nh(t)?Qm(t):Jm(Xm(Ph(e)))}function eg(e){var t=Uh(Vh(e)),n=["absolute","fixed"].indexOf(Ih(e).position)>=0,r=n&&Nh(e)?Hh(e):e;return Th(r)?t.filter((function(e){return Th(e)&&Ym(e,r)&&"body"!==Dh(e)})):[]}function tg(e,t,n){var r="clippingParents"===t?eg(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=Zm(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),Zm(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function ng(){return{top:0,right:0,bottom:0,left:0}}function rg(e){return Object.assign(Object.assign({},ng()),e)}function og(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ag(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,i=void 0===a?tm:a,s=n.rootBoundary,l=void 0===s?nm:s,c=n.elementContext,u=void 0===c?rm:c,d=n.altBoundary,p=void 0!==d&&d,f=n.padding,h=void 0===f?0:f,m=rg("number"!==typeof h?h:og(h,Qh)),g=u===rm?om:rm,b=e.elements.reference,v=e.rects.popper,y=e.elements[p?g:u],w=tg(Th(y)?y:y.contextElement||Ph(e.elements.popper),i,l),x=Ch(b),_=Nm({reference:x,element:v,strategy:"absolute",placement:o}),k=Jm(Object.assign(Object.assign({},v),_)),E=u===rm?k:x,S={top:w.top-E.top+m.top,bottom:E.bottom-w.bottom+m.bottom,left:w.left-E.left+m.left,right:E.right-w.right+m.right},C=e.modifiersData.offset;if(u===rm&&C){var A=C[o];Object.keys(S).forEach((function(e){var t=[Xh,Gh].indexOf(e)>=0?1:-1,n=[Kh,Gh].indexOf(e)>=0?"y":"x";S[e]+=A[n]*t}))}return S}function ig(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?im:l,u=Om(r),d=u?s?am:am.filter((function(e){return Om(e)===u})):Qh,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=ag(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Am(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}function sg(e){if(Am(e)===Jh)return[];var t=qm(e);return[Km(e),t,Km(t)]}function lg(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,b=Am(g),v=b===g,y=l||(v||!h?[qm(g)]:sg(g)),w=[g].concat(y).reduce((function(e,n){return e.concat(Am(n)===Jh?ig(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,_=t.rects.popper,k=new Map,E=!0,S=w[0],C=0;C=0,B=N?"width":"height",j=ag(t,{placement:A,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),D=N?T?Xh:Yh:T?Gh:Kh;x[B]>_[B]&&(D=qm(D));var P=qm(D),R=[];if(a&&R.push(j[O]<=0),s&&R.push(j[D]<=0,j[P]<=0),R.every((function(e){return e}))){S=A,E=!1;break}k.set(A,R)}if(E)for(var I=h?3:1,L=function(e){var t=w.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},M=I;M>0;M--){var $=L(M);if("break"===$)break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}}var cg={name:"flip",enabled:!0,phase:"main",fn:lg,requiresIfExists:["offset"],data:{_skip:!1}};function ug(e){return"x"===e?"y":"x"}function dg(e,t,n){return Math.max(e,Math.min(t,n))}function pg(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=ag(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Am(t.placement),v=Om(t.placement),y=!v,w=Tm(b),x=ug(w),_=t.modifiersData.popperOffsets,k=t.rects.reference,E=t.rects.popper,S="function"===typeof m?m(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):m,C={x:0,y:0};if(_){if(a){var A="y"===w?Kh:Yh,O="y"===w?Gh:Xh,T="y"===w?"height":"width",N=_[w],B=_[w]+g[A],j=_[w]-g[O],D=f?-E[T]/2:0,P=v===Zh?k[T]:E[T],R=v===Zh?-E[T]:-k[T],I=t.elements.arrow,L=f&&I?$h(I):{width:0,height:0},M=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ng(),$=M[A],V=M[O],F=dg(0,k[T],L[T]),U=y?k[T]/2-D-F-$-S:P-F-$-S,z=y?-k[T]/2+D+F+V+S:R+F+V+S,W=t.elements.arrow&&Hh(t.elements.arrow),q=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,H=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,K=_[w]+U-H-q,G=_[w]+z-H,X=dg(f?Math.min(B,K):B,N,f?Math.max(j,G):j);_[w]=X,C[w]=X-N}if(s){var Y="x"===w?Kh:Yh,J="x"===w?Gh:Xh,Q=_[x],Z=Q+g[Y],ee=Q-g[J],te=dg(Z,Q,ee);_[x]=te,C[x]=te-Q}t.modifiersData[r]=C}}var fg={name:"preventOverflow",enabled:!0,phase:"main",fn:pg,requiresIfExists:["offset"]};function hg(e){var t,n=e.state,r=e.name,o=n.elements.arrow,a=n.modifiersData.popperOffsets,i=Am(n.placement),s=Tm(i),l=[Yh,Xh].indexOf(i)>=0,c=l?"height":"width";if(o&&a){var u=n.modifiersData[r+"#persistent"].padding,d=$h(o),p="y"===s?Kh:Yh,f="y"===s?Gh:Xh,h=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],g=Hh(o),b=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,y=u[p],w=b-d[c]-u[f],x=b/2-d[c]/2+v,_=dg(y,x,w),k=s;n.modifiersData[r]=(t={},t[k]=_,t.centerOffset=_-x,t)}}function mg(e){var t=e.state,n=e.options,r=e.name,o=n.element,a=void 0===o?"[data-popper-arrow]":o,i=n.padding,s=void 0===i?0:i;null!=a&&("string"!==typeof a||(a=t.elements.popper.querySelector(a),a))&&Ym(t.elements.popper,a)&&(t.elements.arrow=a,t.modifiersData[r+"#persistent"]={padding:rg("number"!==typeof s?s:og(s,Qh))})}var gg={name:"arrow",enabled:!0,phase:"main",fn:hg,effect:mg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function bg(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function vg(e){return[Kh,Xh,Gh,Yh].some((function(t){return e[t]>=0}))}function yg(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ag(t,{elementContext:"reference"}),s=ag(t,{altBoundary:!0}),l=bg(i,r),c=bg(s,o,a),u=vg(l),d=vg(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":u,"data-popper-escaped":d})}var wg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:yg},xg=[Cm,jm,Lm,Vm,zm,cg,fg,gg,wg],_g=km({defaultModifiers:xg}),kg=r(8138),Eg=r.n(kg),Sg={emits:["dd-button-action","click-action"],mixins:[od],props:{buttonLabel:{default:"",type:String},closeOnSelect:{default:!0,type:Boolean},disabled:{default:!1,type:Boolean},dropdownOptions:{default:()=>[],type:Array},optionKey:{default:null,type:String},optionLabel:{default:"label",type:String},size:{default:null,type:String},value:{default:null,type:String},placement:{default:"bottom-start",type:String},selectable:{default:e=>!e||!e.disabled&&"group"!==e.kind&&"divider"!==e.kind&&!e.loading,type:Function}},data(){return{focused:!1}},methods:{withPopper(e,t,{width:n}){const r=t.$refs.search.clientWidth,o=e.clientWidth;e.style.width=oa.destroy()},ddButtonAction(e){this.focusSearch(),this.$emit("dd-button-action",e)},getOptionLabel(e){return Eg()(e)?e:this.$attrs["get-option-label"]?this.$attrs["get-option-label"](e):Ml(e,this.optionLabel)?this.localizedLabel?this.$store.getters["i18n/t"](Ml(e,this.optionLabel)):Ml(e,this.optionLabel):e},onFocus(){return this.onFocusLabeled()},onFocusLabeled(){this.focused=!0},onBlur(){return this.onBlurLabeled()},onBlurLabeled(){this.focused=!1},focusSearch(){this.$nextTick((()=>{const e=this.$refs["button-dropdown"].searchEl;e&&e.focus()}))},get:Ml}};r(9722);const Cg=(0,w.A)(Sg,[["render",Sh],["__scopeId","data-v-2ab9ff7a"]]);var Ag=Cg,Og={layout:"plain",name:"cloud-casa-actions",props:{backupId:String,copyDef:String,etag:String,pause:Boolean},components:{ButtonDropdown:Ag},data(){return{buttonLabel:"Actions",localPause:this.pause,localEtag:this.etag,mainDashboardLink:""}},async mounted(){let e=await v(this.$store);this.mainDashboardLink=e.replace("api/v1/","")},computed:{getDropdownOptions(){return this.localPause?["Start Backup","Resume Backup","Restore","Edit"]:["Start Backup","Pause Backup","Restore","Edit"]}},methods:{routeDropdownClick(e){switch(e){case"Start Backup":this.startBackup();break;case"Pause Backup":this.resumePauseBackup();break;case"Resume Backup":this.resumePauseBackup();break;case"Restore":this.restoreLinkTo();break;case"Edit":this.editLinkTo();break;default:this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"Invalid action option."},{root:!0})}},async startBackup(){let e=await h(this.$store);return e.method="POST",e.url=e.url+"kubeoffloads/"+this.copyDef+"/action/run",e.data={retention:{retainDays:7},runBackup:!1},await this.$store.dispatch("management/request",e,{root:!0}).then(function(){this.$store.dispatch("growl/success",{title:"Backup Started",message:"A backup has been successfully started."},{root:!0})}.bind(this)).catch(function(e){this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"Failed to start backup job."},{root:!0})}.bind(this))},async resumePauseBackup(e){let t=await h(this.$store);return t.method="PATCH",t.url=t.url+"kubebackups/"+this.backupId,t.data={pause:!this.localPause},t.headers["If-Match"]=this.localEtag,await this.$store.dispatch("management/request",t,{root:!0}).then(function(e){let t="";t=this.localPause?"resumed":"paused",this.localPause=!this.localPause,this.localEtag=e._etag,this.$store.dispatch("growl/success",{title:"Backup Started",message:`A backup has been successfully ${t}.`},{root:!0})}.bind(this)).catch(function(e){this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"Failed to pause the backup policy"},{root:!0})}.bind(this))},restoreLinkTo(){window.open("https://"+this.mainDashboardLink+"clusters/backups/"+this.backupId+"/recovery-points","_blank")},editLinkTo(){window.open("https://"+this.mainDashboardLink+"clusters/backups/"+this.backupId+"/activity","_blank")}}};const Tg=(0,w.A)(Og,[["render",kh]]);var Ng=Tg;const Bg=["title"],jg=["title"],Dg=["title"],Pg={key:3,class:"status-dot empty-dot",title:"Job has not occured"};function Rg(e,t,n,r,o,i){return(0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(i.getJobs,((e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:t},["COMPLETED"==e.state?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,class:"status-dot green-dot",title:e.message},null,8,Bg)):"SKIPPED"==e.state||"PENDING"==e.state||"RUNNING"==e.state||"PARTIAL"==e.state?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:1,class:"status-dot yellow-dot",title:e.message},null,8,jg)):"FAILED"==e.state?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:2,class:"status-dot red-dot",title:e.message},null,8,Dg)):((0,a.openBlock)(),(0,a.createElementBlock)("div",Pg))])))),128)}var Ig={layout:"plain",name:"job-status-view",props:{jobs:Array},computed:{getJobs(){let e=new Array;if(void 0==this.jobs)return e.push(new Object,new Object,new Object),e;for(let t=0;t<3;t++)void 0==this.jobs[t]?e.push(new Object):e.push(this.jobs[t]);return e}}};r(7356);const Lg=(0,w.A)(Ig,[["render",Rg],["__scopeId","data-v-57a344e8"]]);var Mg=Lg;const $g=e=>((0,a.pushScopeId)("data-v-a9868d4a"),e=e(),(0,a.popScopeId)(),e),Vg=["id","data-testid"],Fg=["data-testid","aria-controls","aria-selected","onClick"],Ug={key:0,class:"tab-badge"},zg={key:1,class:"conditions-alert-icon icon-error"},Wg={key:0,class:"tab disabled"},qg={key:1,class:"tab-list-footer"},Hg=$g((()=>(0,a.createElementVNode)("i",{class:"icon icon-plus"},null,-1))),Kg=[Hg],Gg=["disabled"],Xg=$g((()=>(0,a.createElementVNode)("i",{class:"icon icon-minus"},null,-1))),Yg=[Xg];function Jg(e,t,n,r,o,i){const s=(0,a.resolveComponent)("Tab"),l=(0,a.resolveDirective)("clean-tooltip");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:(0,a.normalizeClass)({"side-tabs":!!n.sideTabs,"tabs-only":n.tabsOnly}),"data-testid":"tabbed"},[i.hideTabs?(0,a.createCommentVNode)("",!0):((0,a.openBlock)(),(0,a.createElementBlock)("ul",{key:0,ref:"tablist",role:"tablist",class:(0,a.normalizeClass)(["tabs",{clearfix:!n.sideTabs,vertical:n.sideTabs,horizontal:!n.sideTabs}]),tabindex:"0","data-testid":"tabbed-block",onKeydown:[t[3]||(t[3]=(0,a.withKeys)((0,a.withModifiers)((e=>i.selectNext(1)),["prevent"]),["right"])),t[4]||(t[4]=(0,a.withKeys)((0,a.withModifiers)((e=>i.selectNext(-1)),["prevent"]),["left"])),t[5]||(t[5]=(0,a.withKeys)((0,a.withModifiers)((e=>i.selectNext(1)),["prevent"]),["down"])),t[6]||(t[6]=(0,a.withKeys)((0,a.withModifiers)((e=>i.selectNext(-1)),["prevent"]),["up"]))]},[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(i.sortedTabs,(t=>((0,a.openBlock)(),(0,a.createElementBlock)("li",{id:t.name,key:t.name,"data-testid":t.name,class:(0,a.normalizeClass)({tab:!0,active:t.active,disabled:t.disabled,error:t.error}),role:"presentation"},[(0,a.createElementVNode)("a",{"data-testid":`btn-${t.name}`,"aria-controls":"#"+t.name,"aria-selected":t.active,role:"tab",onClick:(0,a.withModifiers)((e=>i.select(t.name,e)),["prevent"])},[(0,a.createElementVNode)("span",null,(0,a.toDisplayString)(t.labelDisplay),1),t.badge?((0,a.openBlock)(),(0,a.createElementBlock)("span",Ug,(0,a.toDisplayString)(t.badge),1)):(0,a.createCommentVNode)("",!0),i.hasIcon(t)?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("i",zg,null,512)),[[l,e.t("validation.tab")]]):(0,a.createCommentVNode)("",!0)],8,Fg)],10,Vg)))),128)),n.sideTabs&&!i.sortedTabs.length?((0,a.openBlock)(),(0,a.createElementBlock)("li",Wg,[(0,a.createElementVNode)("a",{href:"#",onClick:t[0]||(t[0]=(0,a.withModifiers)((()=>{}),["prevent"]))},"(None)")])):(0,a.createCommentVNode)("",!0),n.sideTabs&&n.showTabsAddRemove?((0,a.openBlock)(),(0,a.createElementBlock)("ul",qg,[(0,a.createElementVNode)("li",null,[(0,a.createElementVNode)("button",{type:"button",class:"btn bg-transparent","data-testid":"tab-list-add",onClick:t[1]||(t[1]=(...e)=>i.tabAddClicked&&i.tabAddClicked(...e))},Kg),(0,a.createElementVNode)("button",{type:"button",class:"btn bg-transparent",disabled:!i.sortedTabs.length,"data-testid":"tab-list-remove",onClick:t[2]||(t[2]=(...e)=>i.tabRemoveClicked&&i.tabRemoveClicked(...e))},Yg,8,Gg)])])):(0,a.createCommentVNode)("",!0),(0,a.renderSlot)(e.$slots,"tab-row-extras",{},void 0,!0)],34)),(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)({"tab-container":!!o.tabs.length||!!n.sideTabs,"no-content":n.noContent,"tab-container--flat":!!n.flat})},[(0,a.renderSlot)(e.$slots,"default",{},void 0,!0),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(o.extensionTabs,((e,t)=>((0,a.openBlock)(),(0,a.createBlock)(s,{key:`${e.name}${t}`,name:e.name,label:e.label,"label-key":e.labelKey,weight:e.weight,tooltip:e.tooltip,"show-header":e.showHeader,"display-alert-icon":e.displayAlertIcon,error:e.error,badge:e.badge},{default:(0,a.withCtx)((()=>[((0,a.openBlock)(),(0,a.createBlock)((0,a.resolveDynamicComponent)(e.component)))])),_:2},1032,["name","label","label-key","weight","tooltip","show-header","display-alert-icon","error","badge"])))),128))],2)],2)}var Qg,Zg,eb,tb,nb,rb,ob=r(3981),ab=r.n(ob),ib=r(2154),sb=r.n(ib);(function(e){e["ACTION"]="Action",e["TAB"]="Tab",e["PANEL"]="Panel",e["CARD"]="Card",e["TABLE_COL"]="TableColumn"})(Qg||(Qg={})),function(e){e["HEADER"]="header-action",e["TABLE"]="table-action"}(Zg||(Zg={})),function(e){e["DETAILS_MASTHEAD"]="details-masthead",e["DETAIL_TOP"]="detail-top",e["RESOURCE_LIST"]="resource-list"}(eb||(eb={})),function(e){e["RESOURCE_DETAIL"]="tab",e["CLUSTER_CREATE_RKE2"]="cluster-create-rke2"}(tb||(tb={})),function(e){e["CLUSTER_DASHBOARD_CARD"]="cluster-dashboard-card"}(nb||(nb={})),function(e){e["RESOURCE"]="resource-list"}(rb||(rb={}));r(4364);function lb(e){let t=e.params?.product;if(!t){const n=e.name?.match(/^c-cluster-([^-]+)/);n&&(t=n[1])}return t||(t=cb(e,"product")),t}function cb(e,t){if(e?.meta){const n=Array.isArray(e.meta)?e.meta:[e.meta];for(let e=0;e{if(fb(r,e.locationConfig,a||{})){if(t===Qg.CARD)n===nb.CLUSTER_DASHBOARD_CARD&&e.labelKey&&(s[l].label=o.t(e.labelKey));else if(t===Qg.ACTION&&(n===Zg.TABLE&&(e.labelKey&&(s[l].label=o.t(e.labelKey)),s[l].bulkable=s[l].multiple||s[l].bulkable,s[l].action||(s[l].action=`custom-table-action-${Xs(10).toLowerCase()}`)),n===Zg.HEADER&&e.shortcut))if("string"===typeof e.shortcut)s[l].shortcutLabel=()=>Yc?`(⌘-${e.shortcut.toUpperCase()})`:`(Ctrl-${e.shortcut.toUpperCase()})`,s[l].shortcutKey={windows:["ctrl",e.shortcut],mac:["meta",e.shortcut]};else if("object"===typeof e.shortcut&&!Array.isArray(e.shortcut)&&null!==e.shortcut){s[l].shortcutKey=e.shortcut;const t=Yc?s[l].shortcut.mac:s[l].shortcut.windows?s[l].shortcut.windows:[];let n="";t.forEach(((e,r)=>{r`(${n})`}i.push(s[l])}}))}return i}(function(e){e["_CONFIG"]="config",e["_CREATE"]="create",e["_DETAIL"]="detail",e["_EDIT"]="edit",e["_LIST"]="list"})(ub||(ub={}));const mb=["id","aria-hidden"],gb={key:0,class:"tab-header"},bb={key:0,class:"icon icon-info icon-lg"};function vb(e,t,n,r,o,i){const s=(0,a.resolveDirective)("clean-tooltip");return(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("section",{id:n.name,"aria-hidden":!o.active,role:"tabpanel"},[i.shouldShowHeader?((0,a.openBlock)(),(0,a.createElementBlock)("div",gb,[(0,a.createElementVNode)("h2",null,[(0,a.createTextVNode)((0,a.toDisplayString)(i.labelDisplay)+" ",1),n.tooltip?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("i",bb,null,512)),[[s,n.tooltip]]):(0,a.createCommentVNode)("",!0)]),(0,a.renderSlot)(e.$slots,"tab-header-right",{},void 0,!0)])):(0,a.createCommentVNode)("",!0),(0,a.renderSlot)(e.$slots,"default",(0,a.normalizeProps)((0,a.guardReactiveProps)({active:o.active})),void 0,!0)],8,mb)),[[a.vShow,o.active]])}var yb={inject:["addTab","removeTab","sideTabs"],emits:["active"],props:{label:{default:null,type:String},labelKey:{default:null,type:String},name:{required:!0,type:String},tooltip:{default:null,type:[String,Object]},weight:{default:0,required:!1,type:Number},showHeader:{type:Boolean,default:null},displayAlertIcon:{type:Boolean,default:null},error:{type:Boolean,default:!1},badge:{default:0,required:!1,type:Number}},data(){return{active:null}},computed:{labelDisplay(){return this.labelKey?this.$store.getters["i18n/t"](this.labelKey):this.label?this.label:this.name},shouldShowHeader(){return null!==this.showHeader?this.showHeader:this.sideTabs||!1}},watch:{active(e){e&&this.$emit("active")}},mounted(){this.addTab(this)},beforeUnmount(){this.removeTab(this)}};r(4e3);const wb=(0,w.A)(yb,[["render",vb],["__scopeId","data-v-6f6df00a"]]);var xb=wb,_b={name:"Tabbed",components:{Tab:xb},emits:["changed","addTab","removeTab"],props:{defaultTab:{type:String,default:null},sideTabs:{type:Boolean,default:!1},hideSingleTab:{type:Boolean,default:!1},showTabsAddRemove:{type:Boolean,default:!1},scrollOnChange:{type:Boolean,default:!1},useHash:{type:Boolean,default:!0},noContent:{type:Boolean,default:!1},flat:{type:Boolean,default:!1},tabsOnly:{type:Boolean,default:!1}},provide(){const e=this.tabs;return{sideTabs:this.sideTabs,addTab(t){const n=Rl(e,"name",t.name);n&&Ol(e,n),Tl(e,t)},removeTab(t){Ol(e,t)}}},data(){const e=hb(this,Qg.TAB,tb.RESOURCE_DETAIL,this.$route,this,this.extensionParams)||[],t=e.map((e=>({...e,active:!1})));return{tabs:[...t],extensionTabs:t,activeTabName:null}},computed:{sortedTabs(){return jd(this.tabs,["weight:desc","labelDisplay","name"])},hideTabs(){return this.hideSingleTab&&1===this.sortedTabs.length}},watch:{sortedTabs(e){const{defaultTab:t,useHash:n}=this,r=e.find((e=>e.active)),o=n?this.$route.hash:void 0,a=n?o.slice(1):void 0,i=e.find((e=>e.name===a&&!e.active)),s=ab()(e)||null;Vs()(r)?n&&!Vs()(i)?this.select(i.name):Vs()(t)||Vs()(e.find((e=>e.name===t)))?s?.name&&this.select(s.name):this.select(t):n&&r?.name===a&&this.select(r.name)}},mounted(){this.useHash&&window.addEventListener("hashchange",this.hashChange)},unmounted(){this.useHash&&window.removeEventListener("hashchange",this.hashChange)},methods:{hasIcon(e){return e.displayAlertIcon||e.error&&!e.active},hashChange(){if(!this.scrollOnChange){const e=document.getElementsByTagName("main")[0];e&&(e.scrollTop=0)}this.select(this.$route.hash)},find(e){return this.sortedTabs.find((t=>t.name===e))},select(e){const{sortedTabs:t}=this,n=this.find(e),r=`#${e}`;if(n&&!n.disabled){if(this.useHash){const e=this.$router.currentRoute._value,t=e.hash;if(this.useHash&&t!==r){const t={...e};t.hash=r,this.$router.replace(t)}}for(const e of t)e.active=e.name===n.name;this.$emit("changed",{tab:n,selectedName:n.name}),this.activeTabName=n.name}},selectNext(e){const{sortedTabs:t}=this,n=t.findIndex((e=>e.active)),r=a(n,e,t.length),o=t[r].name;function a(e,t,n){const r=e+t;return r>=n?0:r<=0?n-1:r}this.select(o),this.$nextTick((()=>{this.$refs.tablist.focus()}))},tabAddClicked(){const e=sb()(this.tabs,(e=>e.active));this.$emit("addTab",e)},tabRemoveClicked(){const e=sb()(this.tabs,(e=>e.active));this.$emit("removeTab",e)}}};r(9495);const kb=(0,w.A)(_b,[["render",Jg],["__scopeId","data-v-a9868d4a"]]);var Eb=kb,Sb={layout:"plain",name:"detailed-cluster-tabbed-table",expose:["getAllClusterDetailData"],components:{CloudcasaActions:Ng,FontAwesomeIcon:ea,LastThreeRuns:Mg,SortableTable:mp,Tabbed:Eb,Tab:xb},setup(){return{faArrowUpRightFromSquare:ra}},props:{cloudCasaClusterId:String},data(){return{tableBackupHeaders:[{name:"name",label:"Name",value:"name",width:"25%"},{name:"policy",label:"Policy",value:"policy",width:"15%"},{name:"lastRunTime",label:"Last Run Time",value:"lastRunTime",width:"20%",sort:["lastRunTime"]},{name:"lastThreeRuns",label:"Last 3 Runs",value:"lastThreeRuns",width:"10%"},{name:"spacing",label:" ",width:"20%"},{name:"actionsDropdownButton",label:" ",width:"5%"},{name:"detailsButton",label:" ",width:"5%"}],tableData:[],tableHeaders:[{name:"name",label:"Name",value:"name",width:"25%"},{name:"policy",label:"Policy",value:"policy",width:"15%"},{name:"lastRunTime",label:"Last Run Time",value:"lastRunTime",width:"20%",sort:["lastRunTime"]},{name:"lastThreeRuns",label:"Last 3 Runs",value:"lastThreeRuns",width:"10%"},{name:"spacing",label:" ",width:"20%"},{name:"additionalText",label:" ",width:"7%"},{name:"detailsButton",label:" ",width:"3%"}],restoresTableData:[],restoresTableHeaders:[{name:"name",label:"Restore Name",value:"name",width:"35%"},{name:"lastRunTime",label:"Last Run Time",value:"lastRunTime",width:"20%",sort:["lastRunTime"]},{name:"spacing",label:" ",width:"35%"},{name:"additionalText",label:" ",width:"7%"},{name:"detailsButton",label:" ",width:"3%"}],recoveryPointsTableData:[],recoveryPointsTableHeaders:[{name:"name",label:"Job",value:"name",width:"20%"},{name:"location",label:"Location",value:"location",width:"10%"},{name:"starttime",label:"Start Time",value:"startTime",width:"10%",sort:["starttime"]},{name:"pvs",label:"PVs",value:"pvs",width:"5%"},{name:"expires",label:"Expires",value:"expires",width:"10%"},{name:"size",label:"Size",value:"size",width:"10%"},{name:"type",label:"Type",value:"type",width:"10%"},{name:"spacing",label:" ",width:"20%"},{name:"detailsButton",label:" ",width:"5%"}],activityTableData:[],activityTableHeaders:[{name:"name",label:"Job",value:"name",width:"35%"},{name:"type",label:"Type",value:"type",width:"10%"},{name:"message",label:"Message",value:"message",width:"10%"},{name:"starttime",label:"Start Time",value:"startTime",width:"10%",sort:["starttime"]},{name:"status",label:"Status",value:"status",width:"10%"},{name:"duration",label:"Duration",value:"duration",width:"10%"},{name:"spacing",label:" ",width:"10%"},{name:"detailsButton",label:" ",width:"5%"}],mainDashboardLink:""}},async mounted(){let e=await v(this.$store);this.mainDashboardLink="https://"+e.replace("api/v1/",""),await this.getAllClusterDetailData()},computed:{getBackupData(){return this.tableData.filter((e=>"backup"==e.type))},getMigrationData(){return this.tableData.filter((e=>"migration"==e.type))},getReplicationData(){return this.tableData.filter((e=>"replication"==e.type))}},methods:{async getAllClusterDetailData(){this.tableData=[],this.restoresTableData=[],this.activityTableData=[],this.recoveryPointsTableData=[];await this.getCloudCasaRestoresData(this.cloudCasaClusterId),await this.getCloudCasaBackupData(this.cloudCasaClusterId),await this.getCloudCasaMigrationData(this.cloudCasaClusterId),await this.getCloudCasaReplicationData(this.cloudCasaClusterId),await this.getCloudCasaRecoveryPointsData(this.cloudCasaClusterId),await this.getCloudCasaActivityData(this.cloudCasaClusterId)},getBackupsLink(e){return this.mainDashboardLink+"clusters/backups/"+e+"/activity"},getRestoresLink(e){return this.mainDashboardLink+"clusters/restores/"+e+"/activity"},getMigrationsLink(e){return this.mainDashboardLink+"clusters/migrations/"+e+"/activity"},getReplicationsLink(e){return this.mainDashboardLink+"clusters/replications/"+e+"/activity"},getRecoveryLink(e){return this.mainDashboardLink+"clusters/overview/"+this.cloudCasaClusterId+"/recovery-points"},getActivityLink(e){return this.mainDashboardLink+"clusters/overview/"+this.cloudCasaClusterId+"/activity(sidebar:job/"+e+")"},async getCloudCasaRestoresData(){let e=await h(this.$store);e.method="GET",e.url=e.url+`kuberestores?sort=-_updated&embedded={\n "cluster": 1,"backup_inst": 1, "backup_inst.cluster": 1}&where={\n "migrationdef":{"$exists": false},"$or":[{"cluster":"${this.cloudCasaClusterId}"},\n {"source_cluster":"${this.cloudCasaClusterId}"}]\n }`;const t=await this.$store.dispatch("management/request",e,{root:!0}).catch(function(e){this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"Unable to fetch restore data."},{root:!0})}.bind(this));for(let n=0;n((0,a.pushScopeId)("data-v-2a7fb7b2"),e=e(),(0,a.popScopeId)(),e),Tb={class:"card-container"},Nb={class:"card"},Bb=Ob((()=>(0,a.createElementVNode)("h1",null,"Backup Job Success",-1))),jb=Ob((()=>(0,a.createElementVNode)("br",null,null,-1))),Db={class:"card-data-container"},Pb={class:"card-percentage"},Rb={class:"light-gray"},Ib={class:"card-points"},Lb={class:"light-gray"},Mb=Ob((()=>(0,a.createElementVNode)("br",null,null,-1))),$b=Ob((()=>(0,a.createElementVNode)("br",null,null,-1))),Vb={class:"card"},Fb=Ob((()=>(0,a.createElementVNode)("h1",null,"PV Backup Coverage",-1))),Ub=Ob((()=>(0,a.createElementVNode)("br",null,null,-1))),zb={class:"card-data-container"},Wb={class:"card-percentage"},qb={class:"light-gray"},Hb={class:"card-points"},Kb={class:"light-gray"},Gb=Ob((()=>(0,a.createElementVNode)("br",null,null,-1))),Xb=Ob((()=>(0,a.createElementVNode)("br",null,null,-1))),Yb={class:"card"},Jb=Ob((()=>(0,a.createElementVNode)("h1",null,"PV Snapshot Coverage",-1))),Qb=Ob((()=>(0,a.createElementVNode)("br",null,null,-1))),Zb={class:"card-data-container"},ev={class:"card-percentage"},tv={class:"light-gray"},nv={class:"card-points"},rv={class:"light-gray"},ov=Ob((()=>(0,a.createElementVNode)("br",null,null,-1))),av=Ob((()=>(0,a.createElementVNode)("br",null,null,-1)));function iv(e,t,n,r,o,i){const s=(0,a.resolveComponent)("PercentageBar");return(0,a.openBlock)(),(0,a.createElementBlock)("div",Tb,[(0,a.createElementVNode)("div",Nb,[Bb,jb,(0,a.createElementVNode)("div",Db,[(0,a.createElementVNode)("div",Pb,[(0,a.createElementVNode)("h4",Rb,(0,a.toDisplayString)(i.jobSuccess.percentage)+"%",1)]),(0,a.createElementVNode)("div",Ib,[(0,a.createElementVNode)("h4",Lb,(0,a.toDisplayString)(i.jobSuccess.complete)+"/"+(0,a.toDisplayString)(i.jobSuccess.total),1)]),Mb]),$b,(0,a.createVNode)(s,{modelValue:this.jobSuccess.percentage,"preferred-direction":"MORE"},null,8,["modelValue"])]),(0,a.createElementVNode)("div",Vb,[Fb,Ub,(0,a.createElementVNode)("div",zb,[(0,a.createElementVNode)("div",Wb,[(0,a.createElementVNode)("h4",qb,(0,a.toDisplayString)(i.pvBackupCoverage.percentage)+"%",1)]),(0,a.createElementVNode)("div",Hb,[(0,a.createElementVNode)("h4",Kb,(0,a.toDisplayString)(i.pvBackupCoverage.complete)+"/"+(0,a.toDisplayString)(i.pvBackupCoverage.total),1)]),Gb]),Xb,(0,a.createVNode)(s,{modelValue:this.pvBackupCoverage.percentage,"preferred-direction":"MORE"},null,8,["modelValue"])]),(0,a.createElementVNode)("div",Yb,[Jb,Qb,(0,a.createElementVNode)("div",Zb,[(0,a.createElementVNode)("div",ev,[(0,a.createElementVNode)("h4",tv,(0,a.toDisplayString)(i.pvSnapshotCoverage.percentage)+"%",1)]),(0,a.createElementVNode)("div",nv,[(0,a.createElementVNode)("h4",rv,(0,a.toDisplayString)(i.pvSnapshotCoverage.complete)+"/"+(0,a.toDisplayString)(i.pvSnapshotCoverage.total),1)]),ov]),av,(0,a.createVNode)(s,{modelValue:this.pvSnapshotCoverage.percentage,"preferred-direction":"MORE"},null,8,["modelValue"])])])}const sv={class:"percentage-bar"},lv={key:0,class:"ml-5 percentage-value"};function cv(e,t,n,r,o,i){const s=(0,a.resolveComponent)("Bar");return(0,a.openBlock)(),(0,a.createElementBlock)("span",sv,[(0,a.createVNode)(s,{percentage:n.modelValue,"primary-color":i.primaryColor,slices:n.slices},null,8,["percentage","primary-color","slices"]),n.showPercentage?((0,a.openBlock)(),(0,a.createElementBlock)("span",lv,(0,a.toDisplayString)(i.formattedPercentage),1)):(0,a.createCommentVNode)("",!0)])}function uv(e,t,n,r,o,i){return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:"bar",style:(0,a.normalizeStyle)(i.barStyle)},[(0,a.createElementVNode)("div",{class:"indicator",style:(0,a.normalizeStyle)(i.indicatorStyle)},null,4),((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(i.sliceStyles,((e,t)=>((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:t,class:"slice",style:(0,a.normalizeStyle)(e)},null,4)))),128))],4)}var dv={props:{percentage:{type:Number,required:!0},primaryColor:{type:String,default:"--primary"},secondaryColor:{type:String,default:"--border"},slices:{type:Array,default:()=>[]}},computed:{indicatorStyle(){return{width:`${this.percentage}%`,backgroundColor:`var(${this.primaryColor})`}},barStyle(){return{backgroundColor:`var(${this.secondaryColor})`}},sliceStyles(){return this.slices.map((e=>({left:`${e}%`,visibility:e=0}},preferredDirection:{type:String,default:hv.LESS},showPercentage:{type:Boolean,default:!1},colorStops:{type:Object,default:null},slices:{type:Array,default:()=>[]}},computed:{primaryColor(){const e=this.preferredDirection===hv.LESS;if(this.colorStops){const t=Object.keys(this.colorStops).sort();if(e){let e=t.length-1;while(this.modelValuet[e])e++;return this.colorStops[t[e]]}}const t=e?80:20,n=e?this.modelValue:t,r=e?t:this.modelValue;return n<=r?"--primary":"--error"},formattedPercentage(){return Ys(this.modelValue)}}};r(738);const gv=(0,w.A)(mv,[["render",cv],["__scopeId","data-v-4ade54a6"]]);var bv=gv,vv={layout:"plain",name:"coverage-card-component",components:{PercentageBar:bv},props:{clusterCloudCasaData:Object},computed:{jobSuccess(){return void 0!=this.clusterCloudCasaData?{total:this.clusterCloudCasaData.metrics.total_num_backup_jobs,complete:this.clusterCloudCasaData.metrics.total_num_successful_backup_jobs,percentage:this.clusterCloudCasaData.metrics.backup_job_success_percentage}:{total:0,complete:0,percentage:0}},pvBackupCoverage(){return void 0!=this.clusterCloudCasaData?{total:this.clusterCloudCasaData.metrics.total_num_pvcs,complete:this.clusterCloudCasaData.metrics.total_num_offload_pvcs,percentage:this.clusterCloudCasaData.metrics.eligible_pvc_offload_coverage_percentage}:{total:0,complete:0,percentage:0}},pvSnapshotCoverage(){return void 0!=this.clusterCloudCasaData?{total:this.clusterCloudCasaData.metrics.total_num_pvcs,complete:this.clusterCloudCasaData.metrics.total_num_snapshot_pvcs,percentage:this.clusterCloudCasaData.metrics.eligible_pvc_snapshot_coverage_percentage}:{total:0,complete:0,percentage:0}}}};r(3543);const yv=(0,w.A)(vv,[["render",iv],["__scopeId","data-v-2a7fb7b2"]]);var wv=yv;(0,a.ref)(0);var xv={layout:"plain",name:"detailed-cluster-view",components:{FontAwesomeIcon:ea,DashboardButton:ua,JobsTable:Ab,CoverageCards:wv,SortableTable:mp,Tabbed:Eb,Tab:xb},setup(){return{faArrowLeft:oa,faRefresh:na}},data(){return{dashboardName:"CloudCasa Cluster Dashboard",cluster:null,ccid:null,clusterServices:null,clusterCloudCasaData:null,mainDashboardLink:"",dataRefreshed:!0}},async mounted(){let e=await v(this.$store);this.mainDashboardLink="https://"+e.replace("api/v1/","")+"overview/"+this.cloudCasaClusterId+"/backups",this.cluster=await this.getCluster(this.clusterId),void 0!=this.cluster&&(this.clusterServices=await this.getClusterServicesData(this.cluster.spec.displayName),await this.getCloudCasaData(this.clusterId))},computed:{installState(){let e=-1;return null!=this.clusterCloudCasaData&&void 0!=this.cluster&&this.clusterCloudCasaData._id==this.cloudCasaClusterId&&(e=0),-1!=e?3:4},clusterName(){if(void 0!=this.cluster)return this.cluster.spec.displayName},clusterId(){return this.$route.params.cluster},cloudCasaClusterId(){return this.$route.params.ccid}},methods:{async refreshData(){this.dataRefreshed=!1;let e=[];e.push(this.getCloudCasaData()),e.push(this.$refs.jobsTable.getAllClusterDetailData()),Promise.all(e).then(function(){this.$store.dispatch("growl/success",{title:"Success",message:"Cluster Metrics and table data are refreshed!"},{root:!0}),this.dataRefreshed=!0}.bind(this)).catch(function(e){this.$store.dispatch("growl/error",{title:"Error",message:"Something went wrong refreshing the data, refresh the page."},{root:!0}),this.dataRefreshed=!0}.bind(this))},async getCluster(e){return await this.$store.dispatch("management/find",{type:Ud.CLUSTER,id:e})},async getClusterServicesData(e){return await this.$store.dispatch("cluster/request",{url:"/k8s/clusters/"+this.clusterId+"/v1/services"})},async getCloudCasaData(e){let t=await h(this.$store);if(void 0!=t.headers)return t.method="GET",t.url=t.url+`kubeclusters/${this.cloudCasaClusterId}?metrics={"days": 7}&embedded={\n "backup_provider.user_objectstore": 1\n }`,await this.$store.dispatch("management/request",t,{root:!0}).then(function(e){this.clusterCloudCasaData=e}.bind(this)).catch(function(e){this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"Unable to fetch connection data, ensure your API Key \n is correct."},{root:!0})}.bind(this));this.$store.dispatch("growl/error",{title:"Something Went Wrong",message:"Unable to fetch an API Key, try reconfiguring the \n extension."},{root:!0})},routeToMainPage(){this.$router.push("/"+d+"/dashboard")}}};r(6436);const _v=(0,w.A)(xv,[["render",fh],["__scopeId","data-v-b69f15ec"]]);var kv=_v,Ev={layout:"plain",name:"detailed-cluster",components:{ClusterDetailedView:kv},data(){return{clusterId:null,cluster:null,cloudCasaLink:null,clusterCloudCasaData:null,clusterUITabs:[{name:"Backups",id:"backups"},{name:"Restores",id:"restores"},{name:"Migration",id:"migration"},{name:"Replication",id:"replication"},{name:"Recovery Points",id:"recovery-points"},{name:"Activity",id:"activity"}]}}};const Sv=(0,w.A)(Ev,[["render",Xf]]);var Cv=Sv;const Av="_",Ov="CloudCasa",Tv=[{name:`${Ov}`,path:`/${Ov}`,component:_,meta:{product:Ov,pkg:Ov,cluster:Av}},{name:`${Ov}-c-dashboard`,path:`/${Ov}/dashboard`,component:kp,meta:{product:Ov,pkg:Ov,cluster:Av}},{name:`${Ov}-c-configurator`,path:`/${Ov}/configurator`,component:Hf,meta:{product:Ov,pkg:Ov,cluster:Av}},{name:`${Ov}-c-cluster`,path:`/${Ov}/c/:cluster/:ccid`,component:Cv,meta:{product:Ov,pkg:Ov,cluster:Av}}];var Nv=Tv,Bv={clusterPrefix:e=>e.clusterPrefix,apiEndpoint:e=>e.apiEndpoint,apiToken:e=>e.apiToken},jv={setClusterPrefix(e,t){e.clusterPrefix=t},setApiToken(e,t){e.apiToken=t},setApiName(e,t){e.apiEndpoint=t}},Dv={setClusterPrefix:({commit:e},t)=>{e("clusterPrefix",t)},setApiToken:({commit:e},t)=>{e("setApiToken",t)},setApiEndpoint:({commit:e},t)=>{e("setApiToken",t)}};const Pv=e=>({state:()=>({clusterPrefix:e.clusterPrefix,apiEndpoint:e.apiEndpoint,apiToken:e.apiToken}),getters:{...Bv},mutations:{...jv},actions:{...Dv}}),Rv={namespace:"cloudcasa"};var Iv={specifics:Pv({clusterPrefix:"",apiEndpoint:"",apiToken:""}),config:Rv};function Lv(e){n(e),e.metadata=r(5949),e.addProduct(r(3100)),e.addRoutes(Nv),e.addDashboardStore(Iv.config.namespace,Iv.specifics,Iv.config)}var Mv=Lv}(),o}()})); //# sourceMappingURL=cloud-casa-extension-1.0.1.umd.min.js.map