(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9b6b26c6","chunk-2f74af70","chunk-f14523dc","chunk-2f74af70","chunk-f14523dc","chunk-5a02b6e6","chunk-5a02b6e6","chunk-5a02b6e6","chunk-79be8553"],{"169a":function(t,e,i){"use strict";i("368e");var s=i("480e"),a=i("4ad4"),n=i("b848"),o=i("75eb"),r=i("e707"),l=i("e4d3"),h=i("21be"),c=i("a293"),d=i("58df"),u=i("d9bd"),f=i("80d2");const p=Object(d["a"])(n["a"],o["a"],r["a"],l["a"],h["a"],a["a"]);e["a"]=p.extend({name:"v-dialog",directives:{ClickOutside:c["a"]},props:{dark:Boolean,disabled:Boolean,fullscreen:Boolean,light:Boolean,maxWidth:[String,Number],noClickAnimation:Boolean,origin:{type:String,default:"center center"},persistent:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,transition:{type:[String,Boolean],default:"dialog-transition"},width:[String,Number]},data(){return{activatedBy:null,animate:!1,animateTimeout:-1,stackMinZIndex:200,previousActiveElement:null}},computed:{classes(){return{[("v-dialog "+this.contentClass).trim()]:!0,"v-dialog--active":this.isActive,"v-dialog--persistent":this.persistent,"v-dialog--fullscreen":this.fullscreen,"v-dialog--scrollable":this.scrollable,"v-dialog--animated":this.animate}},contentClasses(){return{"v-dialog__content":!0,"v-dialog__content--active":this.isActive}},hasActivator(){return Boolean(!!this.$slots.activator||!!this.$scopedSlots.activator)}},watch:{isActive(t){var e;t?(this.show(),this.hideScroll()):(this.removeOverlay(),this.unbind(),null===(e=this.previousActiveElement)||void 0===e||e.focus())},fullscreen(t){this.isActive&&(t?(this.hideScroll(),this.removeOverlay(!1)):(this.showScroll(),this.genOverlay()))}},created(){this.$attrs.hasOwnProperty("full-width")&&Object(u["e"])("full-width",this)},beforeMount(){this.$nextTick(()=>{this.isBooted=this.isActive,this.isActive&&this.show()})},beforeDestroy(){"undefined"!==typeof window&&this.unbind()},methods:{animateClick(){this.animate=!1,this.$nextTick(()=>{this.animate=!0,window.clearTimeout(this.animateTimeout),this.animateTimeout=window.setTimeout(()=>this.animate=!1,150)})},closeConditional(t){const e=t.target;return!(this._isDestroyed||!this.isActive||this.$refs.content.contains(e)||this.overlay&&e&&!this.overlay.$el.contains(e))&&this.activeZIndex>=this.getMaxZIndex()},hideScroll(){this.fullscreen?document.documentElement.classList.add("overflow-y-hidden"):r["a"].options.methods.hideScroll.call(this)},show(){!this.fullscreen&&!this.hideOverlay&&this.genOverlay(),this.$nextTick(()=>{this.$nextTick(()=>{var t,e;(null===(t=this.$refs.dialog)||void 0===t?void 0:t.contains(document.activeElement))||(this.previousActiveElement=document.activeElement,null===(e=this.$refs.dialog)||void 0===e||e.focus()),this.bind()})})},bind(){window.addEventListener("focusin",this.onFocusin)},unbind(){window.removeEventListener("focusin",this.onFocusin)},onClickOutside(t){this.$emit("click:outside",t),this.persistent?this.noClickAnimation||this.animateClick():this.isActive=!1},onKeydown(t){if(t.keyCode===f["y"].esc&&!this.getOpenDependents().length)if(this.persistent)this.noClickAnimation||this.animateClick();else{this.isActive=!1;const t=this.getActivator();this.$nextTick(()=>t&&t.focus())}this.$emit("keydown",t)},onFocusin(t){if(!t||!this.retainFocus)return;const e=t.target;if(e&&this.$refs.dialog&&![document,this.$refs.dialog].includes(e)&&!this.$refs.dialog.contains(e)&&this.activeZIndex>=this.getMaxZIndex()&&!this.getOpenDependentElements().some(t=>t.contains(e))){const t=this.$refs.dialog.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])'),e=[...t].find(t=>!t.hasAttribute("disabled")&&!t.matches('[tabindex="-1"]'));e&&e.focus()}},genContent(){return this.showLazyContent(()=>[this.$createElement(s["a"],{props:{root:!0,light:this.light,dark:this.dark}},[this.$createElement("div",{class:this.contentClasses,attrs:{role:"dialog","aria-modal":this.hideOverlay?void 0:"true",...this.getScopeIdAttrs()},on:{keydown:this.onKeydown},style:{zIndex:this.activeZIndex},ref:"content"},[this.genTransition()])])])},genTransition(){const t=this.genInnerContent();return this.transition?this.$createElement("transition",{props:{name:this.transition,origin:this.origin,appear:!0}},[t]):t},genInnerContent(){const t={class:this.classes,attrs:{tabindex:this.isActive?0:void 0},ref:"dialog",directives:[{name:"click-outside",value:{handler:this.onClickOutside,closeConditional:this.closeConditional,include:this.getOpenDependentElements}},{name:"show",value:this.isActive}],style:{transformOrigin:this.origin}};return this.fullscreen||(t.style={...t.style,maxWidth:Object(f["h"])(this.maxWidth),width:Object(f["h"])(this.width)}),this.$createElement("div",t,this.getContentSlot())}},render(t){return t("div",{staticClass:"v-dialog__container",class:{"v-dialog__container--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},[this.genActivator(),this.genContent()])}})},"16b7":function(t,e,i){"use strict";var s=i("a026");e["a"]=s["default"].extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:()=>({openTimeout:void 0,closeTimeout:void 0}),methods:{clearDelay(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay(t,e){this.clearDelay();const i=parseInt(this[t+"Delay"],10);this[t+"Timeout"]=setTimeout(e||(()=>{this.isActive={open:!0,close:!1}[t]}),i)}}})},"16bb":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-container",{style:t.activeStyle,attrs:{fluid:"","fill-height":""}},[i("v-dialog",{attrs:{"max-width":"650",scrollable:""},model:{value:t.paramDialog,callback:function(e){t.paramDialog=e},expression:"paramDialog"}},[t.paramDialog?i("DigitalSignageParamDialog",{attrs:{settings:t.settings,widget:t.widget,blacklist:["number003","number004"]},on:{"close-dialog":function(){t.$emit("get-data"),t.paramDialog=!1}}}):t._e()],1),t._v(" "),i("v-row",["bar"!==t.getParam("type001",null,t.widget)?i("v-col",{staticClass:"flex flex-column",attrs:{align:"center",justify:"center"}},[i("h1",{style:t.headerStyle},[t._v("\n        "+t._s(t.header)+"\n        "),t.editMode?i("v-btn",{staticClass:"mb-2",attrs:{color:"white",fab:"","x-small":""},on:{click:function(e){return t.editParams(["text001"],t.widget)}}},[i("v-icon",[t._v("edit")])],1):t._e()],1),t._v(" "),i("ApexCharts",{attrs:{options:t.chartOptions,series:t.chartSeries,height:t.chartHeight,width:t.chartWidth}})],1):i("v-col",{attrs:{justify:"center",align:"center"}},[i("h1",{style:t.headerStyle},[t._v("\n        "+t._s(t.header)+"\n        "),t.editMode?i("v-btn",{staticClass:"mb-2",attrs:{color:"white",fab:"","x-small":""},on:{click:function(e){return t.editParams(["text001"],t.widget)}}},[i("v-icon",[t._v("edit")])],1):t._e()],1),t._v(" "),i("v-slide-group",{attrs:{mandatory:"","show-arrows":""},model:{value:t.dayIndex,callback:function(e){t.dayIndex=e},expression:"dayIndex"}},t._l(t.days,(function(e,s){return i("v-slide-item",{key:s+1,scopedSlots:t._u([{key:"default",fn:function(s){var a=s.active,n=s.toggle;return[i("v-btn",{staticClass:"mx-2",attrs:{depressed:"",rounded:"","input-value":a},on:{click:n}},[t._v("\n            "+t._s(e.substr(0,3))+"\n          ")])]}}],null,!0)})})),1),t._v(" "),i("v-sparkline",{staticClass:"my-5",attrs:{value:t.values,labels:t.labels,gradient:[this.getParam("color003",null,this.widget)],padding:t.padding,"line-width":t.barWidth,type:t.type,"auto-line-width":t.autoLineWidth,smooth:t.smooth},scopedSlots:t._u([{key:"label",fn:function(e){return[t._v(" "+t._s(e.value)+" ")]}}])})],1)],1),t._v(" "),[[i("v-fab-transition",[t.editMode?i("v-btn",{staticClass:"ma-1 mr-16",attrs:{fab:"",dark:"",fixed:"",top:"",right:""},on:{click:function(e){return t.editParams(["type001","color001","color002","color003","number001","number002","number003","number004","number005","number006"],t.widget)}}},[i("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var s=e.on;return[i("v-icon",t._g({},s),[t._v("palette")])]}}],null,!1,2957636371)},[t._v(" "),i("span",[t._v("Edit chart type and colors")])])],1):t._e()],1)],t._v(" "),i("v-fab-transition",[t.isAdmin?i("v-btn",{staticClass:"ma-1",attrs:{fab:"",dark:"",fixed:"",top:"",right:""},on:{click:function(e){t.editMode=!t.editMode}}},[i("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var s=e.on;return[i("v-icon",t._g({attrs:{color:t.editMode?"primary":"white"}},s),[t._v("edit")])]}}],null,!1,3223163640)},[t._v(" "),i("span",[t._v("Toggle edit")])])],1):t._e()],1)]],2)},a=[],n=i("5530"),o=i("1da1"),r=(i("96cf"),i("d3b7"),i("3ca3"),i("ddb0"),i("caad"),i("2532"),i("159b"),i("b0c0"),i("b64b"),i("e9c4"),i("c740"),i("4e827"),i("2f62")),l=i("fcf4"),h=i("1321"),c=i.n(h),d=i("17c7"),u=i("c37f"),f=i("401e"),p={name:"WeeklyTrend",mixins:[d["a"],u["a"]],components:{ApexCharts:c.a,DigitalSignageParamDialog:function(){return Promise.all([i.e("chunk-3dee552e"),i.e("chunk-6cdd8577"),i.e("chunk-2d0be65d")]).then(i.bind(null,"295e"))}},props:{widget:{type:Object},widgetData:{type:Object}},data:function(){return{editMode:!1,paramDialog:!1,settings:[],chartWidth:1800,chartHeight:800,dayIndex:1,days:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],radius:0,padding:0,smooth:4,type:"bar",autoLineWidth:!1}},created:function(){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!localStorage.getItem(f["x"].TOKEN)){e.next=4;break}return e.next=3,t.$store.dispatch("user/getUser");case 3:t.$store.commit("auth/authSuccess",{username:localStorage.getItem(f["x"].USERNAME),token:localStorage.getItem(f["x"].TOKEN)});case 4:t.dayIndex=(new Date).getDay()-1;case 5:case"end":return e.stop()}}),e)})))()},computed:Object(n["a"])(Object(n["a"])(Object(n["a"])({},Object(r["b"])("user",{USER:"USER"})),Object(r["b"])({BREAKPOINTS:"BREAKPOINTS"})),{},{barWidth:function(){var t=9,e=this.getParam("number006",null,this.widget),i=this.getParam("number005",null,this.widget),s=e-i,a=86400;return s<=a/3?18:s<=a/2?14:t},isAdmin:function(){var t,e;return(null===(t=this.USER)||void 0===t||null===(t=t.roles)||void 0===t?void 0:t.includes("ADMIN"))||(null===(e=this.USER)||void 0===e||null===(e=e.roles)||void 0===e?void 0:e.includes("CLIENT_ADMIN"))},activeStyle:function(){return"background-color: ".concat(this.getParam("color002",null,this.widget))},headerStyle:function(){return{color:this.getParam("color001",null,this.widget)}},chartSeries:function(){return this.widgetData&&this.widgetData.value?this.widget.configuration&&"vertical"!=this.widget.configuration.type001?this.horizontalData(this.widgetData):this.calendarData(this.widgetData):[]},chartOptions:function(){var t,e,i,s,a=this.getMinValue(this.widgetData),n=this.getMaxValue(this.widgetData),o=null!==(t=this.widget.configuration)&&void 0!==t&&t.number003?null===(e=this.widget.configuration)||void 0===e?void 0:e.number003:50,r=null!==(i=this.widget.configuration)&&void 0!==i&&i.number004?null===(s=this.widget.configuration)||void 0===s?void 0:s.number004:75;return{chart:{height:this.chartHeight,type:"heatmap",toolbar:{show:!1},animations:{enabled:!1}},legend:{show:!1},plotOptions:{heatmap:{shadeIntensity:.5,radius:0,useFillColorAsStroke:!1,colorScale:{ranges:[{from:a-1,to:o,color:"#4CAF50",name:"low"},{from:o+1,to:r,color:"#FFC107",name:"medium"},{from:r+1,to:n+1,color:l["a"]["red"].lighten1,name:"high"}]}}},dataLabels:{enabled:!1},stroke:{width:1},xaxis:{position:this.xaxisPosition},responsive:[{breakpoint:this.BREAKPOINTS.XL,options:{chart:{height:this.chartHeight,width:this.chartWidth}}},{breakpoint:1528,options:{chart:{height:600,width:1e3}}},{breakpoint:this.BREAKPOINTS.LG,options:{chart:{height:500,width:800}}},{breakpoint:this.BREAKPOINTS.MD,options:{chart:{height:500,width:500}}},{breakpoint:this.BREAKPOINTS.SM,options:{chart:{height:500,width:300}}}]}},header:function(){return this.getParam("text001",null,this.widget)},defaultParams:function(){return this.digitalSignageLayouts[1].params},xaxisPosition:function(){return"vertical"==this.getParam("type001",null,this.widget)?"top":"bottom"},hasValues:function(){var t;return this.values.forEach((function(e){e&&(t=!0)})),t},values:function(){var t,e=this,i=[];return null!==(t=this.widgetData)&&void 0!==t&&t.value&&this.widgetData.value.forEach((function(t){t.name==e.days[e.dayIndex]&&t.data.forEach((function(t){e.isValidTime(t.x,[e.getParam("number005",null,e.widget),e.getParam("number006",null,e.widget)])&&i.push(t.y)}))})),i},labels:function(){var t,e=this,i=[];return null!==(t=this.widgetData)&&void 0!==t&&t.value&&this.widgetData.value.forEach((function(t){t.name==e.days[e.dayIndex]&&t.data.forEach((function(t){e.isValidTime(t.x,[e.getParam("number005",null,e.widget),e.getParam("number006",null,e.widget)])&&i.push(t.x)}))})),i}}),methods:{getMinValue:function(t){var e;return t.value&&t.value.forEach((function(t){t.data.forEach((function(t){void 0==e&&(e=t.y),t.y<e&&(e=t.y)}))})),e},getMaxValue:function(t){var e;return t.value&&t.value.forEach((function(t){t.data.forEach((function(t){void 0==e&&(e=t.y),t.y>e&&(e=t.y)}))})),e},getParam:function(t,e,i){var s,a=JSON.parse(JSON.stringify(this.defaultParams));return a.forEach((function(a){var n={};t==a.key&&(e&&e.ignoreDefault||(n=a),i.configuration&&Object.keys(i.configuration).forEach((function(e){e==t&&i.configuration[e]&&(n.value=i.configuration[e])})),s=n)})),s.value},editParams:function(t,e){var i=this.getParamSettings(t,e);this.settings=i,this.paramDialog=!0},getParamSettings:function(t,e){var i=[],s=JSON.parse(JSON.stringify(this.defaultParams));return t.forEach((function(t){s.forEach((function(s){var a={};t==s.key&&(a=s,e.configuration&&Object.keys(e.configuration).forEach((function(i){i==t&&(a.value=e.configuration[i])})),i.push(a))}))})),i},horizontalData:function(t){var e=this;return t.value.forEach((function(t){var i=[];t.data.forEach((function(t){e.isValidTime(t.x,[e.getParam("number005",null,e.widget),e.getParam("number006",null,e.widget)])&&i.push(t)})),t.data=i})),t.value},calendarData:function(t){var e=this,i={};t.value.forEach((function(t){t.data.forEach((function(e){i[e.x]||(i[e.x]={name:e.x,data:[]}),i[e.x].data.findIndex((function(e){return e.name==t.name}))<0&&i[e.x].data.push({x:t.name,y:e.y})}))}));var s=[];return Object.keys(i).forEach((function(t){e.isValidTime(t,[e.getParam("number005",null,e.widget),e.getParam("number006",null,e.widget)])&&s.push({name:"".concat(t,":00"),data:i[t].data})})),s.sort((function(t,e){return e.name.localeCompare(t.name)}))}}},v=p,m=i("2877"),g=i("6544"),b=i.n(g),y=i("8336"),w=i("62ad"),x=i("a523"),O=i("169a"),$=i("0789"),k=i("132d"),A=i("0fd9"),S=i("7efd"),E=i("9dbe"),D=i("7f2e"),T=i("3a2f"),C=Object(m["a"])(v,s,a,!1,null,null,null);e["default"]=C.exports;b()(C,{VBtn:y["a"],VCol:w["a"],VContainer:x["a"],VDialog:O["a"],VFabTransition:$["c"],VIcon:k["a"],VRow:A["a"],VSlideGroup:S["b"],VSlideItem:E["a"],VSparkline:D["a"],VTooltip:T["a"]})},"21be":function(t,e,i){"use strict";var s=i("a026"),a=i("80d2");e["a"]=s["default"].extend().extend({name:"stackable",data(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex(){if("undefined"===typeof window)return 0;const t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:Object(a["u"])(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex(t=[]){const e=this.$el,i=[this.stackMinZIndex,Object(a["u"])(e)],s=[...document.getElementsByClassName("v-menu__content--active"),...document.getElementsByClassName("v-dialog__content--active")];for(let n=0;n<s.length;n++)t.includes(s[n])||i.push(Object(a["u"])(s[n]));return Math.max(...i)}}})},"368e":function(t,e,i){},"3a2f":function(t,e,i){"use strict";i("9734");var s=i("4ad4"),a=i("a9ad"),n=i("16b7"),o=i("b848"),r=i("f573"),l=i("80d2"),h=i("d9bd"),c=i("58df");e["a"]=Object(c["a"])(a["a"],n["a"],o["a"],r["a"]).extend({name:"v-tooltip",props:{closeDelay:{type:[Number,String],default:0},disabled:Boolean,openDelay:{type:[Number,String],default:0},openOnHover:{type:Boolean,default:!0},openOnFocus:{type:Boolean,default:!0},tag:{type:String,default:"span"},transition:String},data:()=>({calculatedMinWidth:0,closeDependents:!1}),computed:{calculatedLeft(){const{activator:t,content:e}=this.dimensions,i=!this.bottom&&!this.left&&!this.top&&!this.right,s=!1!==this.attach?t.offsetLeft:t.left;let a=0;return this.top||this.bottom||i?a=s+t.width/2-e.width/2:(this.left||this.right)&&(a=s+(this.right?t.width:-e.width)+(this.right?10:-10)),this.nudgeLeft&&(a-=parseInt(this.nudgeLeft)),this.nudgeRight&&(a+=parseInt(this.nudgeRight)),this.calcXOverflow(a,this.dimensions.content.width)+"px"},calculatedTop(){const{activator:t,content:e}=this.dimensions,i=!1!==this.attach?t.offsetTop:t.top;let s=0;return this.top||this.bottom?s=i+(this.bottom?t.height:-e.height)+(this.bottom?10:-10):(this.left||this.right)&&(s=i+t.height/2-e.height/2),this.nudgeTop&&(s-=parseInt(this.nudgeTop)),this.nudgeBottom&&(s+=parseInt(this.nudgeBottom)),!1===this.attach&&(s+=this.pageYOffset),this.calcYOverflow(s)+"px"},classes(){return{"v-tooltip--top":this.top,"v-tooltip--right":this.right,"v-tooltip--bottom":this.bottom,"v-tooltip--left":this.left,"v-tooltip--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},computedTransition(){return this.transition?this.transition:this.isActive?"scale-transition":"fade-transition"},offsetY(){return this.top||this.bottom},offsetX(){return this.left||this.right},styles(){return{left:this.calculatedLeft,maxWidth:Object(l["h"])(this.maxWidth),minWidth:Object(l["h"])(this.minWidth),top:this.calculatedTop,zIndex:this.zIndex||this.activeZIndex}}},beforeMount(){this.$nextTick(()=>{this.value&&this.callActivate()})},mounted(){"v-slot"===Object(l["t"])(this,"activator",!0)&&Object(h["b"])("v-tooltip's activator slot must be bound, try '<template #activator=\"data\"><v-btn v-on=\"data.on>'",this)},methods:{activate(){this.updateDimensions(),requestAnimationFrame(this.startTransition)},deactivate(){this.runDelay("close")},genActivatorListeners(){const t=s["a"].options.methods.genActivatorListeners.call(this);return this.openOnFocus&&(t.focus=t=>{this.getActivator(t),this.runDelay("open")},t.blur=t=>{this.getActivator(t),this.runDelay("close")}),t.keydown=t=>{t.keyCode===l["y"].esc&&(this.getActivator(t),this.runDelay("close"))},t},genActivatorAttributes(){return{"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genTransition(){const t=this.genContent();return this.computedTransition?this.$createElement("transition",{props:{name:this.computedTransition}},[t]):t},genContent(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-tooltip__content",class:{[this.contentClass]:!0,menuable__content__active:this.isActive,"v-tooltip__content--fixed":this.activatorFixed},style:this.styles,attrs:this.getScopeIdAttrs(),directives:[{name:"show",value:this.isContentActive}],ref:"content"}),this.getContentSlot())}},render(t){return t(this.tag,{staticClass:"v-tooltip",class:this.classes},[this.showLazyContent(()=>[this.genTransition()]),this.genActivator()])}})},"480e":function(t,e,i){"use strict";var s=i("7560");e["a"]=s["a"].extend({name:"v-theme-provider",props:{root:Boolean},computed:{isDark(){return this.root?this.rootIsDark:s["a"].options.computed.isDark.call(this)}},render(){return this.$slots.default&&this.$slots.default.find(t=>!t.isComment&&" "!==t.text)}})},"4ad4":function(t,e,i){"use strict";var s=i("16b7"),a=i("f2e7"),n=i("58df"),o=i("80d2"),r=i("d9bd");const l=Object(n["a"])(s["a"],a["a"]);e["a"]=l.extend({name:"activatable",props:{activator:{default:null,validator:t=>["string","object"].includes(typeof t)},disabled:Boolean,internalActivator:Boolean,openOnClick:{type:Boolean,default:!0},openOnHover:Boolean,openOnFocus:Boolean},data:()=>({activatorElement:null,activatorNode:[],events:["click","mouseenter","mouseleave","focus"],listeners:{}}),watch:{activator:"resetActivator",openOnFocus:"resetActivator",openOnHover:"resetActivator"},mounted(){const t=Object(o["t"])(this,"activator",!0);t&&["v-slot","normal"].includes(t)&&Object(r["b"])('The activator slot must be bound, try \'<template v-slot:activator="{ on }"><v-btn v-on="on">\'',this),this.addActivatorEvents()},beforeDestroy(){this.removeActivatorEvents()},methods:{addActivatorEvents(){if(!this.activator||this.disabled||!this.getActivator())return;this.listeners=this.genActivatorListeners();const t=Object.keys(this.listeners);for(const e of t)this.getActivator().addEventListener(e,this.listeners[e])},genActivator(){const t=Object(o["s"])(this,"activator",Object.assign(this.getValueProxy(),{on:this.genActivatorListeners(),attrs:this.genActivatorAttributes()}))||[];return this.activatorNode=t,t},genActivatorAttributes(){return{role:this.openOnClick&&!this.openOnHover?"button":void 0,"aria-haspopup":!0,"aria-expanded":String(this.isActive)}},genActivatorListeners(){if(this.disabled)return{};const t={};return this.openOnHover?(t.mouseenter=t=>{this.getActivator(t),this.runDelay("open")},t.mouseleave=t=>{this.getActivator(t),this.runDelay("close")}):this.openOnClick&&(t.click=t=>{const e=this.getActivator(t);e&&e.focus(),t.stopPropagation(),this.isActive=!this.isActive}),this.openOnFocus&&(t.focus=t=>{this.getActivator(t),t.stopPropagation(),this.isActive=!this.isActive}),t},getActivator(t){if(this.activatorElement)return this.activatorElement;let e=null;if(this.activator){const t=this.internalActivator?this.$el:document;e="string"===typeof this.activator?t.querySelector(this.activator):this.activator.$el?this.activator.$el:this.activator}else if(1===this.activatorNode.length||this.activatorNode.length&&!t){const t=this.activatorNode[0].componentInstance;e=t&&t.$options.mixins&&t.$options.mixins.some(t=>t.options&&["activatable","menuable"].includes(t.options.name))?t.getActivator():this.activatorNode[0].elm}else t&&(e=t.currentTarget||t.target);return this.activatorElement=(null===e||void 0===e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,this.activatorElement},getContentSlot(){return Object(o["s"])(this,"default",this.getValueProxy(),!0)},getValueProxy(){const t=this;return{get value(){return t.isActive},set value(e){t.isActive=e}}},removeActivatorEvents(){if(!this.activator||!this.activatorElement)return;const t=Object.keys(this.listeners);for(const e of t)this.activatorElement.removeEventListener(e,this.listeners[e]);this.listeners={}},resetActivator(){this.removeActivatorEvents(),this.activatorElement=null,this.getActivator(),this.addActivatorEvents()}}})},"608c":function(t,e,i){},"75eb":function(t,e,i){"use strict";var s=i("9d65"),a=i("80d2"),n=i("58df"),o=i("d9bd");function r(t){const e=typeof t;return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}function l(t){t.forEach(t=>{t.elm&&t.elm.parentNode&&t.elm.parentNode.removeChild(t.elm)})}e["a"]=Object(n["a"])(s["a"]).extend({name:"detachable",props:{attach:{default:!1,validator:r},contentClass:{type:String,default:""}},data:()=>({activatorNode:null,hasDetached:!1}),watch:{attach(){this.hasDetached=!1,this.initDetach()},hasContent(){this.$nextTick(this.initDetach)}},beforeMount(){this.$nextTick(()=>{if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];t.forEach(t=>{if(!t.elm)return;if(!this.$el.parentNode)return;const e=this.$el===this.$el.parentNode.firstChild?this.$el:this.$el.nextSibling;this.$el.parentNode.insertBefore(t.elm,e)})}})},mounted(){this.hasContent&&this.initDetach()},deactivated(){this.isActive=!1},beforeDestroy(){this.$refs.content&&this.$refs.content.parentNode&&this.$refs.content.parentNode.removeChild(this.$refs.content)},destroyed(){if(this.activatorNode){const t=Array.isArray(this.activatorNode)?this.activatorNode:[this.activatorNode];if(this.$el.isConnected){const e=new MutationObserver(i=>{i.some(t=>Array.from(t.removedNodes).includes(this.$el))&&(e.disconnect(),l(t))});e.observe(this.$el.parentNode,{subtree:!1,childList:!0})}else l(t)}},methods:{getScopeIdAttrs(){const t=Object(a["p"])(this.$vnode,"context.$options._scopeId");return t&&{[t]:""}},initDetach(){if(this._isDestroyed||!this.$refs.content||this.hasDetached||""===this.attach||!0===this.attach||"attach"===this.attach)return;let t;t=!1===this.attach?document.querySelector("[data-app]"):"string"===typeof this.attach?document.querySelector(this.attach):this.attach,t?(t.appendChild(this.$refs.content),this.hasDetached=!0):Object(o["c"])("Unable to locate target "+(this.attach||"[data-app]"),this)}}})},"7efd":function(t,e,i){"use strict";i.d(e,"a",(function(){return p}));i("608c");var s=i("9d26"),a=i("0789"),n=i("604c"),o=i("e4cd"),r=i("dc22"),l=i("c3f0"),h=i("58df"),c=i("80d2");function d(t){const e=.501,i=Math.abs(t);return Math.sign(t)*(i/((1/e-2)*(1-i)+1))}function u(t,e,i,s){const a=t.clientWidth,n=i?e.content-t.offsetLeft-a:t.offsetLeft;i&&(s=-s);const o=e.wrapper+s,r=a+n,l=.4*a;return n<=s?s=Math.max(n-l,0):o<=r&&(s=Math.min(s-(o-r-l),e.content-e.wrapper)),i?-s:s}function f(t,e,i){const{offsetLeft:s,clientWidth:a}=t;if(i){const t=e.content-s-a/2-e.wrapper/2;return-Math.min(e.content-e.wrapper,Math.max(0,t))}{const t=s+a/2-e.wrapper/2;return Math.min(e.content-e.wrapper,Math.max(0,t))}}const p=Object(h["a"])(n["a"],o["a"]).extend({name:"base-slide-group",directives:{Resize:r["a"],Touch:l["a"]},props:{activeClass:{type:String,default:"v-slide-item--active"},centerActive:Boolean,nextIcon:{type:String,default:"$next"},prevIcon:{type:String,default:"$prev"},showArrows:{type:[Boolean,String],validator:t=>"boolean"===typeof t||["always","desktop","mobile"].includes(t)}},data:()=>({isOverflowing:!1,resizeTimeout:0,startX:0,isSwipingHorizontal:!1,isSwiping:!1,scrollOffset:0,widths:{content:0,wrapper:0}}),computed:{canTouch(){return"undefined"!==typeof window},__cachedNext(){return this.genTransition("next")},__cachedPrev(){return this.genTransition("prev")},classes(){return{...n["a"].options.computed.classes.call(this),"v-slide-group":!0,"v-slide-group--has-affixes":this.hasAffixes,"v-slide-group--is-overflowing":this.isOverflowing}},hasAffixes(){switch(this.showArrows){case"always":return!0;case"desktop":return!this.isMobile;case!0:return this.isOverflowing||Math.abs(this.scrollOffset)>0;case"mobile":return this.isMobile||this.isOverflowing||Math.abs(this.scrollOffset)>0;default:return!this.isMobile&&(this.isOverflowing||Math.abs(this.scrollOffset)>0)}},hasNext(){if(!this.hasAffixes)return!1;const{content:t,wrapper:e}=this.widths;return t>Math.abs(this.scrollOffset)+e},hasPrev(){return this.hasAffixes&&0!==this.scrollOffset}},watch:{internalValue:"setWidths",isOverflowing:"setWidths",scrollOffset(t){this.$vuetify.rtl&&(t=-t);let e=t<=0?d(-t):t>this.widths.content-this.widths.wrapper?-(this.widths.content-this.widths.wrapper)+d(this.widths.content-this.widths.wrapper-t):-t;this.$vuetify.rtl&&(e=-e),this.$refs.content.style.transform=`translateX(${e}px)`}},mounted(){if("undefined"!==typeof ResizeObserver){const t=new ResizeObserver(()=>{this.onResize()});t.observe(this.$el),t.observe(this.$refs.content),this.$on("hook:destroyed",()=>{t.disconnect()})}else{let t=0;this.$on("hook:beforeUpdate",()=>{var e;t=((null===(e=this.$refs.content)||void 0===e?void 0:e.children)||[]).length}),this.$on("hook:updated",()=>{var e;t!==((null===(e=this.$refs.content)||void 0===e?void 0:e.children)||[]).length&&this.setWidths()})}},methods:{onScroll(){this.$refs.wrapper.scrollLeft=0},onFocusin(t){if(this.isOverflowing)for(const e of Object(c["g"])(t))for(const t of this.items)if(t.$el===e)return void(this.scrollOffset=u(t.$el,this.widths,this.$vuetify.rtl,this.scrollOffset))},genNext(){const t=this.$scopedSlots.next?this.$scopedSlots.next({}):this.$slots.next||this.__cachedNext;return this.$createElement("div",{staticClass:"v-slide-group__next",class:{"v-slide-group__next--disabled":!this.hasNext},on:{click:()=>this.onAffixClick("next")},key:"next"},[t])},genContent(){return this.$createElement("div",{staticClass:"v-slide-group__content",ref:"content",on:{focusin:this.onFocusin}},this.$slots.default)},genData(){return{class:this.classes,directives:[{name:"resize",value:this.onResize}]}},genIcon(t){let e=t;this.$vuetify.rtl&&"prev"===t?e="next":this.$vuetify.rtl&&"next"===t&&(e="prev");const i=`${t[0].toUpperCase()}${t.slice(1)}`,a=this["has"+i];return this.showArrows||a?this.$createElement(s["a"],{props:{disabled:!a}},this[e+"Icon"]):null},genPrev(){const t=this.$scopedSlots.prev?this.$scopedSlots.prev({}):this.$slots.prev||this.__cachedPrev;return this.$createElement("div",{staticClass:"v-slide-group__prev",class:{"v-slide-group__prev--disabled":!this.hasPrev},on:{click:()=>this.onAffixClick("prev")},key:"prev"},[t])},genTransition(t){return this.$createElement(a["d"],[this.genIcon(t)])},genWrapper(){return this.$createElement("div",{staticClass:"v-slide-group__wrapper",directives:[{name:"touch",value:{start:t=>this.overflowCheck(t,this.onTouchStart),move:t=>this.overflowCheck(t,this.onTouchMove),end:t=>this.overflowCheck(t,this.onTouchEnd)}}],ref:"wrapper",on:{scroll:this.onScroll}},[this.genContent()])},calculateNewOffset(t,e,i,s){const a=i?-1:1,n=a*s+("prev"===t?-1:1)*e.wrapper;return a*Math.max(Math.min(n,e.content-e.wrapper),0)},onAffixClick(t){this.$emit("click:"+t),this.scrollTo(t)},onResize(){this._isDestroyed||this.setWidths()},onTouchStart(t){const{content:e}=this.$refs;this.startX=this.scrollOffset+t.touchstartX,e.style.setProperty("transition","none"),e.style.setProperty("willChange","transform")},onTouchMove(t){if(this.canTouch){if(!this.isSwiping){const e=t.touchmoveX-t.touchstartX,i=t.touchmoveY-t.touchstartY;this.isSwipingHorizontal=Math.abs(e)>Math.abs(i),this.isSwiping=!0}this.isSwipingHorizontal&&(this.scrollOffset=this.startX-t.touchmoveX,document.documentElement.style.overflowY="hidden")}},onTouchEnd(){if(!this.canTouch)return;const{content:t,wrapper:e}=this.$refs,i=t.clientWidth-e.clientWidth;t.style.setProperty("transition",null),t.style.setProperty("willChange",null),this.$vuetify.rtl?this.scrollOffset>0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset<=-i&&(this.scrollOffset=-i):this.scrollOffset<0||!this.isOverflowing?this.scrollOffset=0:this.scrollOffset>=i&&(this.scrollOffset=i),this.isSwiping=!1,document.documentElement.style.removeProperty("overflow-y")},overflowCheck(t,e){t.stopPropagation(),this.isOverflowing&&e(t)},scrollIntoView(){if(!this.selectedItem&&this.items.length){const t=this.items[this.items.length-1].$el.getBoundingClientRect(),e=this.$refs.wrapper.getBoundingClientRect();(this.$vuetify.rtl&&e.right<t.right||!this.$vuetify.rtl&&e.left>t.left)&&this.scrollTo("prev")}this.selectedItem&&(0===this.selectedIndex||!this.centerActive&&!this.isOverflowing?this.scrollOffset=0:this.centerActive?this.scrollOffset=f(this.selectedItem.$el,this.widths,this.$vuetify.rtl):this.isOverflowing&&(this.scrollOffset=u(this.selectedItem.$el,this.widths,this.$vuetify.rtl,this.scrollOffset)))},scrollTo(t){this.scrollOffset=this.calculateNewOffset(t,{content:this.$refs.content?this.$refs.content.clientWidth:0,wrapper:this.$refs.wrapper?this.$refs.wrapper.clientWidth:0},this.$vuetify.rtl,this.scrollOffset)},setWidths(){window.requestAnimationFrame(()=>{if(this._isDestroyed)return;const{content:t,wrapper:e}=this.$refs;this.widths={content:t?t.clientWidth:0,wrapper:e?e.clientWidth:0},this.isOverflowing=this.widths.wrapper+1<this.widths.content,this.scrollIntoView()})}},render(t){return t("div",this.genData(),[this.genPrev(),this.genWrapper(),this.genNext()])}});e["b"]=p.extend({name:"v-slide-group",provide(){return{slideGroup:this}}})},"7f2e":function(t,e,i){"use strict";var s=i("a9ad"),a=i("58df");function n(t,e){const{minX:i,maxX:s,minY:a,maxY:n}=e,o=t.length,r=Math.max(...t),l=Math.min(...t),h=(s-i)/(o-1),c=(n-a)/(r-l||1);return t.map((t,e)=>({x:i+e*h,y:n-(t-l)*c,value:t}))}function o(t,e){const{minX:i,maxX:s,minY:a,maxY:n}=e,o=t.length;let r=Math.max(...t),l=Math.min(...t);l>0&&(l=0),r<0&&(r=0);const h=s/o,c=(n-a)/(r-l||1),d=n-Math.abs(l*c);return t.map((t,e)=>{const s=Math.abs(c*t);return{x:i+e*h,y:d-s+ +(t<0)*s,height:s,value:t}})}function r(t){return parseInt(t,10)}function l(t,e,i){return r(t.x+i.x)===r(2*e.x)&&r(t.y+i.y)===r(2*e.y)}function h(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function c(t,e,i){const s={x:t.x-e.x,y:t.y-e.y},a=Math.sqrt(s.x*s.x+s.y*s.y),n={x:s.x/a,y:s.y/a};return{x:e.x+n.x*i,y:e.y+n.y*i}}function d(t,e,i=!1,s=75){const a=t.shift(),n=t[t.length-1];return(i?`M${a.x} ${s-a.x+2} L${a.x} ${a.y}`:`M${a.x} ${a.y}`)+t.map((i,s)=>{const n=t[s+1],o=t[s-1]||a,r=n&&l(n,i,o);if(!n||r)return`L${i.x} ${i.y}`;const d=Math.min(h(o,i),h(n,i)),u=d/2<e,f=u?d/2:e,p=c(o,i,f),v=c(n,i,f);return`L${p.x} ${p.y}S${i.x} ${i.y} ${v.x} ${v.y}`}).join("")+(i?`L${n.x} ${s-a.x+2} Z`:"")}e["a"]=Object(a["a"])(s["a"]).extend({name:"VSparkline",inheritAttrs:!1,props:{autoDraw:Boolean,autoDrawDuration:{type:Number,default:2e3},autoDrawEasing:{type:String,default:"ease"},autoLineWidth:{type:Boolean,default:!1},color:{type:String,default:"primary"},fill:{type:Boolean,default:!1},gradient:{type:Array,default:()=>[]},gradientDirection:{type:String,validator:t=>["top","bottom","left","right"].includes(t),default:"top"},height:{type:[String,Number],default:75},labels:{type:Array,default:()=>[]},labelSize:{type:[Number,String],default:7},lineWidth:{type:[String,Number],default:4},padding:{type:[String,Number],default:8},showLabels:Boolean,smooth:{type:[Boolean,Number,String],default:!1},type:{type:String,default:"trend",validator:t=>["trend","bar"].includes(t)},value:{type:Array,default:()=>[]},width:{type:[Number,String],default:300}},data:()=>({lastLength:0}),computed:{parsedPadding(){return Number(this.padding)},parsedWidth(){return Number(this.width)},parsedHeight(){return parseInt(this.height,10)},parsedLabelSize(){return parseInt(this.labelSize,10)||7},totalHeight(){let t=this.parsedHeight;return this.hasLabels&&(t+=1.5*parseInt(this.labelSize,10)),t},totalWidth(){let t=this.parsedWidth;return"bar"===this.type&&(t=Math.max(this.value.length*this._lineWidth,t)),t},totalValues(){return this.value.length},_lineWidth(){if(this.autoLineWidth&&"trend"!==this.type){const t=this.parsedPadding*(this.totalValues+1);return(this.parsedWidth-t)/this.totalValues}return parseFloat(this.lineWidth)||4},boundary(){if("bar"===this.type)return{minX:0,maxX:this.totalWidth,minY:0,maxY:this.parsedHeight};const t=this.parsedPadding;return{minX:t,maxX:this.totalWidth-t,minY:t,maxY:this.parsedHeight-t}},hasLabels(){return Boolean(this.showLabels||this.labels.length>0||this.$scopedSlots.label)},parsedLabels(){const t=[],e=this._values,i=e.length;for(let s=0;t.length<i;s++){const i=e[s];let a=this.labels[s];a||(a="object"===typeof i?i.value:i),t.push({x:i.x,value:String(a)})}return t},normalizedValues(){return this.value.map(t=>"number"===typeof t?t:t.value)},_values(){return"trend"===this.type?n(this.normalizedValues,this.boundary):o(this.normalizedValues,this.boundary)},textY(){let t=this.parsedHeight;return"trend"===this.type&&(t-=4),t},_radius(){return!0===this.smooth?8:Number(this.smooth)}},watch:{value:{immediate:!0,handler(){this.$nextTick(()=>{if(!this.autoDraw||"bar"===this.type||!this.$refs.path)return;const t=this.$refs.path,e=t.getTotalLength();this.fill?(t.style.transformOrigin="bottom center",t.style.transition="none",t.style.transform="scaleY(0)",t.getBoundingClientRect(),t.style.transition=`transform ${this.autoDrawDuration}ms ${this.autoDrawEasing}`,t.style.transform="scaleY(1)"):(t.style.transition="none",t.style.strokeDasharray=e+" "+e,t.style.strokeDashoffset=Math.abs(e-(this.lastLength||0)).toString(),t.getBoundingClientRect(),t.style.transition=`stroke-dashoffset ${this.autoDrawDuration}ms ${this.autoDrawEasing}`,t.style.strokeDashoffset="0"),this.lastLength=e})}}},methods:{genGradient(){const t=this.gradientDirection,e=this.gradient.slice();e.length||e.push("");const i=Math.max(e.length-1,1),s=e.reverse().map((t,e)=>this.$createElement("stop",{attrs:{offset:e/i,"stop-color":t||"currentColor"}}));return this.$createElement("defs",[this.$createElement("linearGradient",{attrs:{id:this._uid,gradientUnits:"userSpaceOnUse",x1:"left"===t?"100%":"0",y1:"top"===t?"100%":"0",x2:"right"===t?"100%":"0",y2:"bottom"===t?"100%":"0"}},s)])},genG(t){return this.$createElement("g",{style:{fontSize:"8",textAnchor:"middle",dominantBaseline:"mathematical",fill:"currentColor"}},t)},genPath(){const t=n(this.normalizedValues,this.boundary);return this.$createElement("path",{attrs:{d:d(t,this._radius,this.fill,this.parsedHeight),fill:this.fill?`url(#${this._uid})`:"none",stroke:this.fill?"none":`url(#${this._uid})`},ref:"path"})},genLabels(t){const e=this.parsedLabels.map((e,i)=>this.$createElement("text",{attrs:{x:e.x+t+this._lineWidth/2,y:this.textY+.75*this.parsedLabelSize,"font-size":Number(this.labelSize)||7}},[this.genLabel(e,i)]));return this.genG(e)},genLabel(t,e){return this.$scopedSlots.label?this.$scopedSlots.label({index:e,value:t.value}):t.value},genBars(){if(!this.value||this.totalValues<2)return;const t=o(this.normalizedValues,this.boundary),e=(Math.abs(t[0].x-t[1].x)-this._lineWidth)/2;return this.$createElement("svg",{attrs:{display:"block",viewBox:`0 0 ${this.totalWidth} ${this.totalHeight}`}},[this.genGradient(),this.genClipPath(t,e,this._lineWidth,"sparkline-bar-"+this._uid),this.hasLabels?this.genLabels(e):void 0,this.$createElement("g",{attrs:{"clip-path":`url(#sparkline-bar-${this._uid}-clip)`,fill:`url(#${this._uid})`}},[this.$createElement("rect",{attrs:{x:0,y:0,width:this.totalWidth,height:this.height}})])])},genClipPath(t,e,i,s){const a="number"===typeof this.smooth?this.smooth:this.smooth?2:0;return this.$createElement("clipPath",{attrs:{id:s+"-clip"}},t.map(t=>this.$createElement("rect",{attrs:{x:t.x+e,y:t.y,width:i,height:t.height,rx:a,ry:a}},[this.autoDraw?this.$createElement("animate",{attrs:{attributeName:"height",from:0,to:t.height,dur:this.autoDrawDuration+"ms",fill:"freeze"}}):void 0])))},genTrend(){return this.$createElement("svg",this.setTextColor(this.color,{attrs:{...this.$attrs,display:"block","stroke-width":this._lineWidth||1,viewBox:`0 0 ${this.width} ${this.totalHeight}`}}),[this.genGradient(),this.hasLabels&&this.genLabels(-this._lineWidth/2),this.genPath()])}},render(t){if(!(this.totalValues<2))return"trend"===this.type?this.genTrend():this.genBars()}})},9734:function(t,e,i){},"9dbe":function(t,e,i){"use strict";var s=i("4e82"),a=i("58df"),n=i("d9bd"),o=i("a026");const r=o["default"].extend({props:{activeClass:String,value:{required:!1}},data:()=>({isActive:!1}),methods:{toggle(){this.isActive=!this.isActive}},render(){if(!this.$scopedSlots.default)return Object(n["c"])("v-item is missing a default scopedSlot",this),null;let t;return this.$scopedSlots.default&&(t=this.$scopedSlots.default({active:this.isActive,toggle:this.toggle})),Array.isArray(t)&&1===t.length&&(t=t[0]),t&&!Array.isArray(t)&&t.tag?(t.data=this._b(t.data||{},t.tag,{class:{[this.activeClass]:this.isActive}}),t):(Object(n["c"])("v-item should only contain a single element",this),t)}});Object(a["a"])(r,Object(s["a"])("itemGroup","v-item","v-item-group")).extend({name:"v-item"}),e["a"]=Object(a["a"])(r,Object(s["a"])("slideGroup")).extend({name:"v-slide-item"})},c37f:function(t,e,i){"use strict";e["a"]={data:function(){return{digitalSignageLayouts:[{widgetType:"occupancy",name:"Occupancy DS Layout #01",type:"occupancy001",params:[{type:"text",value:"Welcome in!",label:"Welcome text",key:"text001"},{type:"text",value:"Area is full!",label:"Stop text",key:"text002"},{type:"text",value:"People inside:",label:"Current occupancy text",key:"text003"},{type:"text",value:"Max limit:",label:"Max occupancy text",key:"text004"},{type:"text",value:"Fidera Flow occupancy counter",label:"Information text",key:"text005"},{type:"color",label:"Positive background color",value:"#4cb489",key:"color001"},{type:"color",label:"Negative background color",value:"#c0482d",key:"color002"},{type:"color",label:"Positive text color",value:"#ffffff",key:"color003"},{type:"color",label:"Negative text color",value:"#ffffff",key:"color004"},{type:"url",value:"./fidera.png",label:"Logo URL",key:"url001"}]},{widgetType:"trend",name:"Weekly Trend DS Layout #01",type:"trend001",params:[{type:"text",value:"Weekly Trend",label:"Header text",key:"text001"},{type:"number",value:0,label:"Heatmap range min value",key:"number001"},{type:"number",value:100,label:"Heatmap range max value",key:"number002"},{type:"number",value:50,label:"Warning value",key:"number003"},{type:"number",value:75,label:"Alert value",key:"number004"},{type:"number",value:0,label:"Time min",key:"number005"},{type:"number",value:86400,label:"Time max",key:"number006"},{type:"color",label:"Header text color",value:"#000000",key:"color001"},{type:"color",label:"Background color",value:"#EDEDED",key:"color002"},{type:"color",label:"Bar color",value:"#000000",key:"color003"},{type:"type",label:"Chart type",value:"vertical",items:[{id:"bar",label:"Bar"},{id:"horizontal",label:"Horizontal style heatmap"},{id:"vertical",label:"Calendar style heatmap"}],key:"type001"}]}]}}}},c740:function(t,e,i){"use strict";var s=i("23e7"),a=i("b727").findIndex,n=i("44d2"),o=i("ae40"),r="findIndex",l=!0,h=o(r);r in[]&&Array(1)[r]((function(){l=!1})),s({target:"Array",proto:!0,forced:l||!h},{findIndex:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n(r)},e4d3:function(t,e,i){"use strict";var s=i("a026");e["a"]=s["default"].extend({name:"returnable",props:{returnValue:null},data:()=>({isActive:!1,originalValue:null}),watch:{isActive(t){t?this.originalValue=this.returnValue:this.$emit("update:return-value",this.originalValue)}},methods:{save(t){this.originalValue=t,setTimeout(()=>{this.isActive=!1})}}})},f573:function(t,e,i){"use strict";var s=i("21be"),a=i("fe6c"),n=i("4ad4"),o=i("75eb"),r=i("58df"),l=i("80d2");const h=Object(r["a"])(s["a"],Object(a["b"])(["top","right","bottom","left","absolute"]),n["a"],o["a"]);e["a"]=h.extend().extend({name:"menuable",props:{allowOverflow:Boolean,light:Boolean,dark:Boolean,maxWidth:{type:[Number,String],default:"auto"},minWidth:[Number,String],nudgeBottom:{type:[Number,String],default:0},nudgeLeft:{type:[Number,String],default:0},nudgeRight:{type:[Number,String],default:0},nudgeTop:{type:[Number,String],default:0},nudgeWidth:{type:[Number,String],default:0},offsetOverflow:Boolean,positionX:{type:Number,default:null},positionY:{type:Number,default:null},zIndex:{type:[Number,String],default:null}},data:()=>({activatorNode:[],absoluteX:0,absoluteY:0,activatedBy:null,activatorFixed:!1,dimensions:{activator:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0,offsetLeft:0},content:{top:0,left:0,bottom:0,right:0,width:0,height:0,offsetTop:0,scrollHeight:0}},relativeYOffset:0,hasJustFocused:!1,hasWindow:!1,inputActivator:!1,isContentActive:!1,pageWidth:0,pageYOffset:0,stackClass:"v-menu__content--active",stackMinZIndex:6}),computed:{computedLeft(){const t=this.dimensions.activator,e=this.dimensions.content,i=(!1!==this.attach?t.offsetLeft:t.left)||0,s=Math.max(t.width,e.width);let a=0;if(a+=i,(this.left||this.$vuetify.rtl&&!this.right)&&(a-=s-t.width),this.offsetX){const e=isNaN(Number(this.maxWidth))?t.width:Math.min(t.width,Number(this.maxWidth));a+=this.left?-e:t.width}return this.nudgeLeft&&(a-=parseInt(this.nudgeLeft)),this.nudgeRight&&(a+=parseInt(this.nudgeRight)),a},computedTop(){const t=this.dimensions.activator,e=this.dimensions.content;let i=0;return this.top&&(i+=t.height-e.height),!1!==this.attach?i+=t.offsetTop:i+=t.top+this.pageYOffset,this.offsetY&&(i+=this.top?-t.height:t.height),this.nudgeTop&&(i-=parseInt(this.nudgeTop)),this.nudgeBottom&&(i+=parseInt(this.nudgeBottom)),i},hasActivator(){return!!this.$slots.activator||!!this.$scopedSlots.activator||!!this.activator||!!this.inputActivator},absoluteYOffset(){return this.pageYOffset-this.relativeYOffset}},watch:{disabled(t){t&&this.callDeactivate()},isActive(t){this.disabled||(t?this.callActivate():this.callDeactivate())},positionX:"updateDimensions",positionY:"updateDimensions"},beforeMount(){this.hasWindow="undefined"!==typeof window,this.hasWindow&&window.addEventListener("resize",this.updateDimensions,!1)},beforeDestroy(){this.hasWindow&&window.removeEventListener("resize",this.updateDimensions,!1)},methods:{absolutePosition(){return{offsetTop:this.positionY||this.absoluteY,offsetLeft:this.positionX||this.absoluteX,scrollHeight:0,top:this.positionY||this.absoluteY,bottom:this.positionY||this.absoluteY,left:this.positionX||this.absoluteX,right:this.positionX||this.absoluteX,height:0,width:0}},activate(){},calcLeft(t){return Object(l["h"])(!1!==this.attach?this.computedLeft:this.calcXOverflow(this.computedLeft,t))},calcTop(){return Object(l["h"])(!1!==this.attach?this.computedTop:this.calcYOverflow(this.computedTop))},calcXOverflow(t,e){const i=t+e-this.pageWidth+12;return t=(!this.left||this.right)&&i>0?Math.max(t-i,0):Math.max(t,12),t+this.getOffsetLeft()},calcYOverflow(t){const e=this.getInnerHeight(),i=this.absoluteYOffset+e,s=this.dimensions.activator,a=this.dimensions.content.height,n=t+a,o=i<n;return o&&this.offsetOverflow&&s.top>a?t=this.pageYOffset+(s.top-a):o&&!this.allowOverflow?t=i-a-12:t<this.absoluteYOffset&&!this.allowOverflow&&(t=this.absoluteYOffset+12),t<12?12:t},callActivate(){this.hasWindow&&this.activate()},callDeactivate(){this.isContentActive=!1,this.deactivate()},checkForPageYOffset(){this.hasWindow&&(this.pageYOffset=this.activatorFixed?0:this.getOffsetTop())},checkActivatorFixed(){if(!1!==this.attach)return void(this.activatorFixed=!1);let t=this.getActivator();while(t){if("fixed"===window.getComputedStyle(t).position)return void(this.activatorFixed=!0);t=t.offsetParent}this.activatorFixed=!1},deactivate(){},genActivatorListeners(){const t=n["a"].options.methods.genActivatorListeners.call(this),e=t.click;return e&&(t.click=t=>{this.openOnClick&&e&&e(t),this.absoluteX=t.clientX,this.absoluteY=t.clientY}),t},getInnerHeight(){return this.hasWindow?window.innerHeight||document.documentElement.clientHeight:0},getOffsetLeft(){return this.hasWindow?window.pageXOffset||document.documentElement.scrollLeft:0},getOffsetTop(){return this.hasWindow?window.pageYOffset||document.documentElement.scrollTop:0},getRoundedBoundedClientRect(t){const e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),bottom:Math.round(e.bottom),right:Math.round(e.right),width:Math.round(e.width),height:Math.round(e.height)}},measure(t){if(!t||!this.hasWindow)return null;const e=this.getRoundedBoundedClientRect(t);if(!1!==this.attach){const i=window.getComputedStyle(t);e.left=parseInt(i.marginLeft),e.top=parseInt(i.marginTop)}return e},sneakPeek(t){requestAnimationFrame(()=>{const e=this.$refs.content;e&&"none"===e.style.display?(e.style.display="inline-block",t(),e.style.display="none"):t()})},startTransition(){return new Promise(t=>requestAnimationFrame(()=>{this.isContentActive=this.hasJustFocused=this.isActive,t()}))},updateDimensions(){this.hasWindow="undefined"!==typeof window,this.checkActivatorFixed(),this.checkForPageYOffset(),this.pageWidth=document.documentElement.clientWidth;const t={activator:{...this.dimensions.activator},content:{...this.dimensions.content}};if(!this.hasActivator||this.absolute)t.activator=this.absolutePosition();else{const e=this.getActivator();if(!e)return;t.activator=this.measure(e),t.activator.offsetLeft=e.offsetLeft,!1!==this.attach?t.activator.offsetTop=e.offsetTop:t.activator.offsetTop=0}this.sneakPeek(()=>{if(this.$refs.content){if(this.$refs.content.offsetParent){const e=this.getRoundedBoundedClientRect(this.$refs.content.offsetParent);this.relativeYOffset=window.pageYOffset+e.top,t.activator.top-=this.relativeYOffset,t.activator.left-=window.pageXOffset+e.left}t.content=this.measure(this.$refs.content)}this.dimensions=t})}}})}}]);